@wix/ditto-codegen-public 1.0.238 → 1.0.239
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.
|
@@ -18,6 +18,8 @@ import type {
|
|
|
18
18
|
NumberType,
|
|
19
19
|
BooleanValue,
|
|
20
20
|
WebUrl,
|
|
21
|
+
LocalDate,
|
|
22
|
+
LocalTime,
|
|
21
23
|
Link,
|
|
22
24
|
Image,
|
|
23
25
|
Direction,
|
|
@@ -29,6 +31,8 @@ interface PerfectExampleProps {
|
|
|
29
31
|
id: string;
|
|
30
32
|
wix?: Wix;
|
|
31
33
|
direction?: Direction;
|
|
34
|
+
scheduledDate?: LocalDate;
|
|
35
|
+
scheduledTime?: LocalTime;
|
|
32
36
|
elementProps?: {
|
|
33
37
|
badge?: {
|
|
34
38
|
badgeText?: Text;
|
|
@@ -68,6 +72,8 @@ const PerfectExample: React.FC<PerfectExampleProps> = ({
|
|
|
68
72
|
id,
|
|
69
73
|
wix,
|
|
70
74
|
direction,
|
|
75
|
+
scheduledDate,
|
|
76
|
+
scheduledTime,
|
|
71
77
|
elementProps,
|
|
72
78
|
}) => {
|
|
73
79
|
const rm = wix?.elementsRemovalState || {};
|
|
@@ -29,6 +29,14 @@
|
|
|
29
29
|
"direction": {
|
|
30
30
|
"dataType": "direction",
|
|
31
31
|
"displayName": "Text Direction"
|
|
32
|
+
},
|
|
33
|
+
"scheduledDate": {
|
|
34
|
+
"dataType": "localDate",
|
|
35
|
+
"displayName": "Scheduled Date"
|
|
36
|
+
},
|
|
37
|
+
"scheduledTime": {
|
|
38
|
+
"dataType": "localTime",
|
|
39
|
+
"displayName": "Scheduled Time"
|
|
32
40
|
}
|
|
33
41
|
},
|
|
34
42
|
"cssProperties": {
|
|
@@ -3,6 +3,8 @@ export type RichText = string;
|
|
|
3
3
|
export type NumberType = number;
|
|
4
4
|
export type BooleanValue = boolean;
|
|
5
5
|
export type WebUrl = string;
|
|
6
|
+
export type LocalDate = string; // ISO-8601 format: YYYY-MM-DD
|
|
7
|
+
export type LocalTime = string; // ISO-8601 format: hh:mm[:ss][.sss]
|
|
6
8
|
export type Direction = 'rtl' | 'ltr' | 'auto';
|
|
7
9
|
|
|
8
10
|
export type Link = {
|
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.239",
|
|
4
4
|
"description": "AI-powered Wix CLI app generator - standalone executable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node build.mjs",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"@wix/ditto-codegen": "1.0.0",
|
|
29
29
|
"esbuild": "^0.27.2"
|
|
30
30
|
},
|
|
31
|
-
"falconPackageHash": "
|
|
31
|
+
"falconPackageHash": "f9765f590866c0234e1622e9b5b81996c3a49939a32da279dc327944"
|
|
32
32
|
}
|