Skip to content

Commit

Permalink
Merge branch 'main' into feat-e2e-stencil
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Nov 1, 2024
2 parents 8036f74 + 17f4289 commit 6c0277d
Show file tree
Hide file tree
Showing 59 changed files with 2,123 additions and 905 deletions.
21 changes: 21 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @builder.io/mitosis-cli

## 0.5.15

### Patch Changes

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

## 0.5.14

### Patch Changes

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

## 0.5.13

### Patch Changes

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

## 0.5.12

### 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.12",
"version": "0.5.15",
"description": "mitosis CLI",
"types": "build/types/types.d.ts",
"bin": {
Expand Down
18 changes: 18 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log

## 0.5.15

### Patch Changes

- a0ad5ab: [Builder]: Fix: use scope.rename to rename identifiers in For loop

## 0.5.14

### Patch Changes

- 39af4d6: [Builder] Fix: do not rename vars within For that are shadowing the loop's index

## 0.5.13

### Patch Changes

- c7d2f8c: [All] fix: support async event handlers

## 0.5.12

### 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.12",
"version": "0.5.15",
"homepage": "https://github.com/BuilderIO/mitosis",
"main": "./dist/src/index.js",
"exports": {
Expand Down
8 changes: 4 additions & 4 deletions packages/core/src/__tests__/__snapshots__/alpine.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ exports[`Alpine.js > jsx > Javascript Test > BasicRef 1`] = `
exports[`Alpine.js > jsx > Javascript Test > BasicRefAssignment 1`] = `
"<div x-data=\\"myBasicRefAssignmentComponent()\\">
<button x-on:click=\\"handlerClick(evt)\\">Click</button>
<button x-on:click=\\"await handlerClick(evt)\\">Click</button>
</div>
<script>
document.addEventListener(\\"alpine:init\\", () => {
Expand Down Expand Up @@ -1312,7 +1312,7 @@ exports[`Alpine.js > jsx > Javascript Test > Stamped.io 1`] = `
></textarea>
<button
class=\\"button\\"
x-on:click=\\"$event.preventDefault();
x-on:click=\\"ev.preventDefault();
showReviewPrompt = false\\"
>
Submit
Expand Down Expand Up @@ -3309,7 +3309,7 @@ exports[`Alpine.js > jsx > Typescript Test > BasicRef 1`] = `
exports[`Alpine.js > jsx > Typescript Test > BasicRefAssignment 1`] = `
"<div x-data=\\"myBasicRefAssignmentComponent()\\">
<button x-on:click=\\"handlerClick(evt)\\">Click</button>
<button x-on:click=\\"await handlerClick(evt)\\">Click</button>
</div>
<script>
document.addEventListener(\\"alpine:init\\", () => {
Expand Down Expand Up @@ -4217,7 +4217,7 @@ exports[`Alpine.js > jsx > Typescript Test > Stamped.io 1`] = `
></textarea>
<button
class=\\"button\\"
x-on:click=\\"$event.preventDefault();
x-on:click=\\"ev.preventDefault();
showReviewPrompt = false\\"
>
Submit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ import { Component } from \\"@angular/core\\";
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down Expand Up @@ -7799,7 +7799,7 @@ export interface Props {
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ import { Component } from \\"@angular/core\\";
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down Expand Up @@ -7930,7 +7930,7 @@ export interface Props {
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ import { Component } from \\"@angular/core\\";
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down Expand Up @@ -2724,8 +2724,8 @@ export default class SmileReviews {
snakeCaseValue() {
return snakeCase(\\"testThis\\");
}
node_0_button = (event) => {
event.preventDefault();
node_0_button = (ev) => {
ev.preventDefault();
this.showReviewPrompt = false;
};
trackByReview0(index, review) {
Expand Down Expand Up @@ -8067,7 +8067,7 @@ export interface Props {
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down Expand Up @@ -10269,8 +10269,8 @@ export default class SmileReviews {
snakeCaseValue() {
return snakeCase(\\"testThis\\");
}
node_0_button = (event) => {
event.preventDefault();
node_0_button = (ev) => {
ev.preventDefault();
this.showReviewPrompt = false;
};
trackByReview0(index, review) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ import { Component } from \\"@angular/core\\";
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
})
export default class MyBasicRefAssignmentComponent {
Expand Down Expand Up @@ -6966,7 +6966,7 @@ export interface Props {
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
})
export default class MyBasicRefAssignmentComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ import { Component } from \\"@angular/core\\";
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down Expand Up @@ -1312,7 +1312,7 @@ import { CommonModule } from \\"@angular/common\\";
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down Expand Up @@ -14632,7 +14632,7 @@ export interface Props {
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down Expand Up @@ -14672,7 +14672,7 @@ export interface Props {
@Component({
selector: \\"my-basic-ref-assignment-component\\",
template: \`
<div><button (click)=\\"handlerClick($event)\\">Click</button></div>
<div><button (click)=\\"await handlerClick($event)\\">Click</button></div>
\`,
styles: [
\`
Expand Down
Loading

0 comments on commit 6c0277d

Please sign in to comment.