@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.
- package/dist/examples-apps/react-builder/component.tsx +117 -0
- package/dist/examples-apps/react-builder/components/Badge.tsx +14 -0
- package/dist/examples-apps/react-builder/components/Button.tsx +31 -0
- package/dist/examples-apps/react-builder/components/Counter.tsx +14 -0
- package/dist/examples-apps/react-builder/components/FeaturedImage.tsx +31 -0
- package/dist/examples-apps/react-builder/components/SocialLinks.tsx +61 -0
- package/dist/examples-apps/react-builder/components/Subtitle.tsx +11 -0
- package/dist/examples-apps/react-builder/components/Tags.tsx +25 -0
- package/dist/examples-apps/react-builder/components/Title.tsx +11 -0
- package/dist/examples-apps/react-builder/components/index.ts +8 -0
- package/dist/examples-apps/react-builder/manifest.json +325 -0
- package/dist/examples-apps/react-builder/style.css +197 -0
- package/dist/examples-apps/react-builder/types.ts +68 -0
- package/dist/out.js +615 -61
- package/dist/wix-cli-templates/src/site/components/my-component/component.tsx +6 -3
- package/dist/wix-cli-templates/src/site/components/my-component/manifest.json +14 -0
- package/dist/wix-cli-templates/src/site/components/my-component/styles.module.css +1 -1
- package/package.json +2 -2
- package/dist/examples-apps/inventory-countdown/.nvmrc +0 -1
- package/dist/examples-apps/inventory-countdown/README.md +0 -21
- package/dist/examples-apps/inventory-countdown/package-lock.json +0 -7457
- package/dist/examples-apps/inventory-countdown/package.json +0 -33
- package/dist/examples-apps/inventory-countdown/src/assets/stock-counter/site-plugin-logo.svg +0 -27
- package/dist/examples-apps/inventory-countdown/src/env.d.ts +0 -4
- package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/consts.ts +0 -1
- package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/panel.tsx +0 -81
- package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/plugin.json +0 -24
- package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/plugin.module.css +0 -4
- package/dist/examples-apps/inventory-countdown/src/site/plugins/custom-elements/stock-counter/plugin.tsx +0 -132
- package/dist/examples-apps/inventory-countdown/tsconfig.json +0 -8
- 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={
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ditto-codegen-public",
|
|
3
|
-
"version": "1.0.
|
|
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": "
|
|
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
|
-
```
|