Skip to content

Commit

Permalink
Merge branch 'main' into allow-arrow-function-expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefowler authored Feb 10, 2025
2 parents 3d8d5cd + 9b084f3 commit df90c9e
Show file tree
Hide file tree
Showing 11 changed files with 552 additions and 10 deletions.
28 changes: 28 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @builder.io/mitosis-cli

## 0.5.35

### Patch Changes

- Updated dependencies [b6a01ab]
- @builder.io/[email protected]

## 0.5.34

### Patch Changes

- Updated dependencies [cf666ff]
- @builder.io/[email protected]

## 0.5.33

### Patch Changes

- Updated dependencies [50976fa]
- @builder.io/[email protected]

## 0.5.32

### Patch Changes

- Updated dependencies [a38e5bb]
- @builder.io/[email protected]

## 0.5.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/mitosis-cli",
"version": "0.5.31",
"version": "0.5.35",
"description": "mitosis CLI",
"types": "build/types/types.d.ts",
"bin": {
Expand Down
24 changes: 24 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Change Log

## 0.5.35

### Patch Changes

- b6a01ab: Fix: properly handle innerHTML properties in react codegen

## 0.5.34

### Patch Changes

- cf666ff: check for null string

## 0.5.33

### Patch Changes

- 50976fa: parseJsx accounts for JSX fragments when generating slots

## 0.5.32

### Patch Changes

- a38e5bb: Builder: dynamic styles are mapped to bindings when generating

## 0.5.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"name": "Builder.io",
"url": "https://www.builder.io"
},
"version": "0.5.31",
"version": "0.5.35",
"homepage": "https://github.com/BuilderIO/mitosis",
"main": "./dist/src/index.js",
"exports": {
Expand Down
33 changes: 33 additions & 0 deletions packages/core/src/__tests__/__snapshots__/builder.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3530,6 +3530,39 @@ exports[`Builder > Text with bindings 3`] = `
}
`;
exports[`Builder > Valid Custom Code 1`] = `
"<template>
<div><div innerHTML='<svg width=\\"200\\" height=\\"200\\"></svg>'></div></div>
</template>
<script>
import { defineComponent } from \\"vue\\";
export default defineComponent({
name: \\"my-component\\",
});
</script>"
`;
exports[`Builder > Valid Custom Code 2`] = `
"import * as React from \\"react\\";
function MyComponent(props) {
return (
<div>
<div
dangerouslySetInnerHTML={{
__html: \\"<svg width=&quot;200&quot; height=&quot;200&quot;></svg>\\",
}}
/>
</div>
);
}
export default MyComponent;
"
`;
exports[`Builder > async bindings 1`] = `
{
"data": {
Expand Down
Loading

0 comments on commit df90c9e

Please sign in to comment.