@builder.io/mitosis-cli 0.0.34 → 0.0.36

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.
@@ -1,19 +0,0 @@
1
- {
2
- "name": "@headlessapp.store/rebuy",
3
- "version": "0.0.1",
4
- "scripts": {
5
- "build": "mitosis build"
6
- },
7
- "exports": {
8
- "./react/*": "./dist/react/src/*.js",
9
- "./vue/*": "./dist/vue/src/*.js",
10
- "./svelte/*": "./dist/svelte/src/*.js",
11
- "./angular/*": "./dist/angular/src/*.js",
12
- "./html/*": "./dist/html/src/*.js",
13
- "./solid/*": "./dist/solid/src/*.js"
14
- },
15
- "dependencies": {
16
- "@builder.io/mitosis-cli": "0.0.1",
17
- "@builder.io/mitosis": "0.0.44-18"
18
- }
19
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var mitosis_1 = require("@builder.io/mitosis");
4
- function MyComponent(props) {
5
- var state = (0, mitosis_1.useStore)({
6
- name: 'Steve',
7
- });
8
- return (<div>
9
- <mitosis_1.Show when={props.showInput}>
10
- <input css={{ color: 'red' }} value={state.name} onChange={function (event) { return (state.name = event.target.value); }}/>
11
- </mitosis_1.Show>
12
- Hello! I can run in React, Vue, Solid, or Liquid!
13
- </div>);
14
- }
15
- exports.default = MyComponent;
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXktY29tcG9uZW50LmxpdGUuanN4Iiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL3RlbXBsYXRlcy9saWJyYXJ5LXNpbXBsZS9zcmMvY29tcG9uZW50cy9teS1jb21wb25lbnQubGl0ZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwrQ0FBcUQ7QUFNckQsU0FBd0IsV0FBVyxDQUFDLEtBQWM7SUFDaEQsSUFBTSxLQUFLLEdBQUcsSUFBQSxrQkFBUSxFQUFDO1FBQ3JCLElBQUksRUFBRSxPQUFPO0tBQ2QsQ0FBQyxDQUFDO0lBRUgsT0FBTyxDQUNMLENBQUMsR0FBRyxDQUNGO01BQUEsQ0FBQyxjQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLFNBQVMsQ0FBQyxDQUMxQjtRQUFBLENBQUMsS0FBSyxDQUNKLEdBQUcsQ0FBQyxDQUFDLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxDQUFDLENBQ3RCLEtBQUssQ0FBQyxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQUMsQ0FDbEIsUUFBUSxDQUFDLENBQUMsVUFBQyxLQUFLLElBQUssT0FBQSxDQUFDLEtBQUssQ0FBQyxJQUFJLEdBQUcsS0FBSyxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsRUFBakMsQ0FBaUMsQ0FBQyxFQUUzRDtNQUFBLEVBQUUsY0FBSSxDQUNOOztJQUNGLEVBQUUsR0FBRyxDQUFDLENBQ1AsQ0FBQztBQUNKLENBQUM7QUFqQkQsOEJBaUJDIn0=
@@ -1,24 +0,0 @@
1
- import { useStore, Show } from '@builder.io/mitosis';
2
-
3
- type MyProps = {
4
- showInput?: boolean;
5
- };
6
-
7
- export default function MyComponent(props: MyProps) {
8
- const state = useStore({
9
- name: 'Steve',
10
- });
11
-
12
- return (
13
- <div>
14
- <Show when={props.showInput}>
15
- <input
16
- css={{ color: 'red' }}
17
- value={state.name}
18
- onChange={(event) => (state.name = event.target.value)}
19
- />
20
- </Show>
21
- Hello! I can run in React, Vue, Solid, or Liquid!
22
- </div>
23
- );
24
- }
@@ -1,2 +0,0 @@
1
- // TODO: get the exports alias working here so this is just `import '@builder.io/mitosis/jsx'
2
- import '@builder.io/mitosis/dist/src/jsx-types';
@@ -1,9 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.RecommendedProducts = void 0;
7
- var my_component_lite_1 = require("./components/my-component.lite");
8
- Object.defineProperty(exports, "RecommendedProducts", { enumerable: true, get: function () { return __importDefault(my_component_lite_1).default; } });
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdGVtcGxhdGVzL2xpYnJhcnktc2ltcGxlL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxvRUFBZ0Y7QUFBdkUseUlBQUEsT0FBTyxPQUF1QiJ9
@@ -1 +0,0 @@
1
- export { default as RecommendedProducts } from './components/my-component.lite';
@@ -1,7 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "strict": true,
4
- "jsx": "preserve"
5
- },
6
- "include": ["src"]
7
- }
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- files: 'src/**',
3
- targets: [
4
- 'react',
5
- 'vue',
6
- 'html',
7
- 'svelte',
8
- 'solid',
9
- 'angular',
10
- 'builder',
11
- 'webcomponents'
12
- ]
13
- }
@@ -1,7 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "strict": true,
4
- "jsx": "preserve"
5
- },
6
- "include": ["src"]
7
- }
@@ -1,5 +0,0 @@
1
- declare type MyProps = {
2
- showInput?: boolean;
3
- };
4
- export default function MyComponent(props: MyProps): import("@builder.io/mitosis/jsx-runtime").JSX.Element;
5
- export {};
@@ -1 +0,0 @@
1
- export { default as RecommendedProducts } from './components/my-component.lite';