@builder.io/mitosis 0.0.93 → 0.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/generators/builder.js +0 -1
- package/dist/src/generators/context/qwik.js +1 -1
- package/dist/src/generators/mitosis.js +2 -1
- package/dist/src/generators/qwik/component-generator.js +80 -163
- package/dist/src/generators/qwik/component.js +3 -3
- package/dist/src/generators/qwik/{add-prevent-default.d.ts → helpers/add-prevent-default.d.ts} +1 -1
- package/dist/src/generators/qwik/{add-prevent-default.js → helpers/add-prevent-default.js} +1 -1
- package/dist/src/generators/qwik/helpers/convert-method-to-function.d.ts +2 -0
- package/dist/src/generators/qwik/{convert-method-to-function.js → helpers/convert-method-to-function.js} +0 -1
- package/dist/src/generators/qwik/helpers/handlers.d.ts +3 -0
- package/dist/src/generators/qwik/{handlers.js → helpers/handlers.js} +3 -4
- package/dist/src/generators/qwik/helpers/state.d.ts +27 -0
- package/dist/src/generators/qwik/helpers/state.js +116 -0
- package/dist/src/generators/qwik/{styles.d.ts → helpers/styles.d.ts} +2 -2
- package/dist/src/generators/qwik/{styles.js → helpers/styles.js} +1 -1
- package/dist/src/generators/qwik/jsx.d.ts +1 -1
- package/dist/src/generators/qwik/jsx.js +3 -1
- package/dist/src/generators/qwik/src-generator.d.ts +0 -4
- package/dist/src/generators/qwik/src-generator.js +8 -13
- package/dist/src/generators/react/generator.js +2 -1
- package/dist/src/generators/{react-native.d.ts → react-native/index.d.ts} +3 -3
- package/dist/src/generators/{react-native.js → react-native/index.js} +46 -35
- package/dist/src/generators/react-native/sanitize-react-native-block-styles.d.ts +3 -0
- package/dist/src/generators/react-native/sanitize-react-native-block-styles.js +63 -0
- package/dist/src/generators/solid/index.js +4 -1
- package/dist/src/generators/svelte/svelte.js +13 -1
- package/dist/src/generators/vue/helpers.js +1 -1
- package/dist/src/helpers/babel-transform.d.ts +3 -3
- package/dist/src/helpers/babel-transform.js +42 -26
- package/dist/src/helpers/is-root-text-node.d.ts +4 -0
- package/dist/src/helpers/is-root-text-node.js +12 -0
- package/dist/src/helpers/map-refs.js +2 -26
- package/dist/src/helpers/parsers.js +11 -5
- package/dist/src/helpers/patterns.d.ts +1 -0
- package/dist/src/helpers/patterns.js +3 -1
- package/dist/src/helpers/plugins/process-code.d.ts +1 -1
- package/dist/src/helpers/plugins/process-code.js +9 -9
- package/dist/src/helpers/render-imports.js +1 -0
- package/dist/src/parsers/jsx/component-types.d.ts +2 -2
- package/dist/src/parsers/jsx/component-types.js +7 -16
- package/dist/src/parsers/jsx/index.d.ts +1 -1
- package/dist/src/parsers/jsx/index.js +3 -16
- package/dist/src/parsers/jsx/jsx.js +17 -22
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/src/generators/qwik/convert-method-to-function.d.ts +0 -1
- package/dist/src/generators/qwik/handlers.d.ts +0 -4
- /package/dist/src/generators/qwik/{stable-inject.d.ts → helpers/stable-inject.d.ts} +0 -0
- /package/dist/src/generators/qwik/{stable-inject.js → helpers/stable-inject.js} +0 -0
- /package/dist/src/generators/qwik/{stable-serialize.d.ts → helpers/stable-serialize.d.ts} +0 -0
- /package/dist/src/generators/qwik/{stable-serialize.js → helpers/stable-serialize.js} +0 -0
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"name": "Builder.io",
|
|
23
23
|
"url": "https://www.builder.io"
|
|
24
24
|
},
|
|
25
|
-
"version": "0.0.
|
|
25
|
+
"version": "0.0.95",
|
|
26
26
|
"homepage": "https://github.com/BuilderIO/mitosis",
|
|
27
27
|
"main": "./dist/src/index.js",
|
|
28
28
|
"exports": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@babel/generator": "^7.14.3",
|
|
64
64
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
65
65
|
"@babel/plugin-syntax-decorators": "^7.12.1",
|
|
66
|
-
"@babel/plugin-syntax-
|
|
66
|
+
"@babel/plugin-syntax-typescript": "^7.20.0",
|
|
67
67
|
"@babel/plugin-transform-react-jsx": "^7.13.12",
|
|
68
68
|
"@babel/preset-typescript": "^7.13.0",
|
|
69
69
|
"@builder.io/react": "^1.1.50",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"postcss-load-config": "^4.0.1",
|
|
89
89
|
"prettier-plugin-marko": "^1.2.2",
|
|
90
90
|
"prettier-plugin-organize-imports": "2.3.4",
|
|
91
|
-
"prettier-plugin-svelte": "^2.
|
|
91
|
+
"prettier-plugin-svelte": "^2.10.0",
|
|
92
92
|
"sass": "^1.56.1",
|
|
93
93
|
"svelte": "^3.30.0",
|
|
94
94
|
"svelte-preprocess": "^4.10.7",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function convertMethodToFunction(code: string, properties: Record<string, 'method' | 'getter'>, lexicalArgs: string[]): string;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { MitosisNode } from '../../types/mitosis-node';
|
|
2
|
-
import { File } from './src-generator';
|
|
3
|
-
export declare function extractJSBlock(binding: any): string | null;
|
|
4
|
-
export declare function renderHandlers(file: File, componentName: string, children: MitosisNode[]): Map<string, string>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|