@wix/ditto-codegen-public 1.0.217 → 1.0.218

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 (31) hide show
  1. package/dist/examples-apps/react-builder/component.tsx +117 -0
  2. package/dist/examples-apps/react-builder/components/Badge.tsx +14 -0
  3. package/dist/examples-apps/react-builder/components/Button.tsx +31 -0
  4. package/dist/examples-apps/react-builder/components/Counter.tsx +14 -0
  5. package/dist/examples-apps/react-builder/components/FeaturedImage.tsx +31 -0
  6. package/dist/examples-apps/react-builder/components/SocialLinks.tsx +61 -0
  7. package/dist/examples-apps/react-builder/components/Subtitle.tsx +11 -0
  8. package/dist/examples-apps/react-builder/components/Tags.tsx +25 -0
  9. package/dist/examples-apps/react-builder/components/Title.tsx +11 -0
  10. package/dist/examples-apps/react-builder/components/index.ts +8 -0
  11. package/dist/examples-apps/react-builder/manifest.json +325 -0
  12. package/dist/examples-apps/react-builder/style.css +197 -0
  13. package/dist/examples-apps/react-builder/types.ts +68 -0
  14. package/dist/out.js +615 -61
  15. package/dist/wix-cli-templates/src/site/components/my-component/component.tsx +6 -3
  16. package/dist/wix-cli-templates/src/site/components/my-component/manifest.json +14 -0
  17. package/dist/wix-cli-templates/src/site/components/my-component/styles.module.css +1 -1
  18. package/package.json +2 -2
  19. package/dist/examples-apps/inventory-countdown/.nvmrc +0 -1
  20. package/dist/examples-apps/inventory-countdown/README.md +0 -21
  21. package/dist/examples-apps/inventory-countdown/package-lock.json +0 -7457
  22. package/dist/examples-apps/inventory-countdown/package.json +0 -33
  23. package/dist/examples-apps/inventory-countdown/src/assets/stock-counter/site-plugin-logo.svg +0 -27
  24. package/dist/examples-apps/inventory-countdown/src/env.d.ts +0 -4
  25. package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/consts.ts +0 -1
  26. package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/panel.tsx +0 -81
  27. package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/plugin.json +0 -24
  28. package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/plugin.module.css +0 -4
  29. package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/plugin.tsx +0 -132
  30. package/dist/examples-apps/inventory-countdown/tsconfig.json +0 -8
  31. package/dist/examples-apps/inventory-countdown/wix.config.json +0 -5
@@ -1,9 +1,10 @@
1
+ import React from 'react';
1
2
  import type { FC } from 'react';
2
3
  import s from './styles.module.css';
3
4
 
4
5
  interface Props {
5
- className: string;
6
6
  id: string;
7
+ className: string;
7
8
  text?: string;
8
9
  }
9
10
 
@@ -11,10 +12,12 @@ const Button: FC<Props> = (props) => {
11
12
  return (
12
13
  <div className={props.className} id={props.id}>
13
14
  <button className={`btn ${s.btn}`}>
14
- <span className={s.text}>{props.text ?? '[Default] Click Me HMR'}</span>
15
+ <span className={`text ${s.text}`}>
16
+ {props.text ?? '[Default] Click Me'}
17
+ </span>
15
18
  </button>
16
19
  </div>
17
20
  );
18
21
  };
19
22
 
20
- export default Button;
23
+ export default Button;
@@ -0,0 +1,14 @@
1
+ {
2
+ "editorElement": {
3
+ "data": {
4
+ "text": {
5
+ "dataType": "text",
6
+ "defaultValue": "Text",
7
+ "displayName": "Text",
8
+ "text": {}
9
+ }
10
+ },
11
+ "displayName": "Button",
12
+ "selector": ".button"
13
+ }
14
+ }
@@ -14,4 +14,4 @@
14
14
  .text {
15
15
  color: #333;
16
16
  font-size: 14px;
17
- }
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.217",
3
+ "version": "1.0.218",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -24,5 +24,5 @@
24
24
  "@wix/ditto-codegen": "1.0.0",
25
25
  "esbuild": "^0.27.2"
26
26
  },
27
- "falconPackageHash": "ee709af2d9cdbc1d2db63ad54b1d73df8bff4429eac27c0a4c14fd0a"
27
+ "falconPackageHash": "c5a8faa24f2e9d23ad8d477946d427b16424bd87e29ef10ffaab7eac"
28
28
  }
@@ -1 +0,0 @@
1
- 22.10.0
@@ -1,21 +0,0 @@
1
- # inventory-countdown
2
-
3
- This project was bootstrapped with [Create Wix App](https://www.npmjs.com/package/@wix/create-app).
4
- Read more about it in the [Wix CLI for Apps
5
- documentation](https://dev.wix.com/docs/build-apps/developer-tools/cli/get-started/about-the-wix-cli-for-apps).
6
-
7
- ## Setup 🔧
8
-
9
- ##### Install dependencies:
10
-
11
- ```console
12
- npm install
13
- ```
14
-
15
- ## Available Scripts
16
-
17
- In the project directory, you can run:
18
-
19
- ```console
20
- npm run dev
21
- ```