@builder.io/mitosis 0.0.96 → 0.0.97

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.
Files changed (43) hide show
  1. package/dist/src/generators/angular.js +3 -2
  2. package/dist/src/generators/builder.js +3 -3
  3. package/dist/src/generators/lit/generate.js +2 -5
  4. package/dist/src/generators/marko/generate.js +2 -2
  5. package/dist/src/generators/mitosis.js +2 -2
  6. package/dist/src/generators/qwik/component-generator.js +34 -17
  7. package/dist/src/generators/qwik/component.js +17 -6
  8. package/dist/src/generators/qwik/directives.d.ts +0 -8
  9. package/dist/src/generators/qwik/directives.js +35 -7
  10. package/dist/src/generators/qwik/helpers/state.d.ts +5 -1
  11. package/dist/src/generators/qwik/helpers/state.js +5 -10
  12. package/dist/src/generators/qwik/jsx.d.ts +2 -1
  13. package/dist/src/generators/qwik/jsx.js +21 -11
  14. package/dist/src/generators/qwik/src-generator.d.ts +1 -1
  15. package/dist/src/generators/qwik/src-generator.js +2 -2
  16. package/dist/src/generators/react/blocks.js +10 -2
  17. package/dist/src/generators/react/generator.js +3 -3
  18. package/dist/src/generators/solid/index.js +3 -2
  19. package/dist/src/generators/solid/state/helpers.js +20 -25
  20. package/dist/src/generators/stencil/generate.js +2 -5
  21. package/dist/src/generators/svelte/svelte.js +6 -3
  22. package/dist/src/generators/swift-ui.js +2 -2
  23. package/dist/src/generators/template.js +2 -5
  24. package/dist/src/generators/vue/compositionApi.js +2 -2
  25. package/dist/src/generators/vue/helpers.js +30 -47
  26. package/dist/src/generators/vue/optionsApi.js +2 -2
  27. package/dist/src/generators/vue/types.d.ts +1 -0
  28. package/dist/src/generators/vue/vue.js +10 -4
  29. package/dist/src/helpers/dedent.d.ts +1 -0
  30. package/dist/src/helpers/dedent.js +87 -0
  31. package/dist/src/helpers/is-root-text-node.d.ts +1 -1
  32. package/dist/src/helpers/plugins/process-code.d.ts +1 -1
  33. package/dist/src/helpers/plugins/process-code.js +1 -0
  34. package/dist/src/helpers/replace-identifiers.d.ts +2 -0
  35. package/dist/src/helpers/replace-identifiers.js +9 -1
  36. package/dist/src/helpers/strip-state-and-props-refs.js +2 -2
  37. package/dist/src/helpers/styles/collect-css.js +15 -6
  38. package/dist/src/helpers/styles/helpers.d.ts +1 -1
  39. package/dist/src/helpers/styles/helpers.js +10 -3
  40. package/dist/src/parsers/builder/builder.js +41 -38
  41. package/dist/tsconfig.build.tsbuildinfo +1 -1
  42. package/jsx-runtime.d.ts +2 -0
  43. package/package.json +2 -2
package/jsx-runtime.d.ts CHANGED
@@ -1566,6 +1566,7 @@ export declare namespace JSX {
1566
1566
  FitToViewBoxSVGAttributes,
1567
1567
  ZoomAndPanSVGAttributes,
1568
1568
  Pick<PresentationSVGAttributes, 'display' | 'visibility'> {
1569
+ xmlns?: string;
1569
1570
  version?: string;
1570
1571
  'base-profile'?: string;
1571
1572
  x?: number | string;
@@ -1652,6 +1653,7 @@ export declare namespace JSX {
1652
1653
  y?: number | string;
1653
1654
  width?: number | string;
1654
1655
  height?: number | string;
1656
+ fill?: number | string;
1655
1657
  }
1656
1658
 
1657
1659
  interface ViewSVGAttributes<T>
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.96",
25
+ "version": "0.0.97",
26
26
  "homepage": "https://github.com/BuilderIO/mitosis",
27
27
  "main": "./dist/src/index.js",
28
28
  "exports": {
@@ -74,7 +74,6 @@
74
74
  "axios-cache-adapter": "^2.5.0",
75
75
  "coffeescript": "^2.7.0",
76
76
  "csstype": "^3.0.4",
77
- "dedent": "^0.7.0",
78
77
  "fp-ts": "^2.11.10",
79
78
  "globby": "^11.0.2",
80
79
  "hash-sum": "^2.0.0",
@@ -86,6 +85,7 @@
86
85
  "module": "^1.2.5",
87
86
  "object-hash": "^2.0.3",
88
87
  "postcss-load-config": "^4.0.1",
88
+ "prettier": ">=2.0.0 <3.0.0",
89
89
  "prettier-plugin-marko": "^1.2.2",
90
90
  "prettier-plugin-organize-imports": "2.3.4",
91
91
  "prettier-plugin-svelte": "^2.10.0",