@wix/ditto-codegen-public 1.0.274 → 1.0.276
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/out.js +5 -5
- package/package.json +2 -2
- package/dist/examples-apps/ai-chatbot/.nvmrc +0 -1
- package/dist/examples-apps/ai-chatbot/README.md +0 -21
- package/dist/examples-apps/ai-chatbot/package-lock.json +0 -7266
- package/dist/examples-apps/ai-chatbot/package.json +0 -35
- package/dist/examples-apps/ai-chatbot/src/dashboard/pages/product/ProductChat.module.css +0 -3
- package/dist/examples-apps/ai-chatbot/src/dashboard/pages/product/ProductChat.tsx +0 -108
- package/dist/examples-apps/ai-chatbot/src/dashboard/pages/product/page.tsx +0 -100
- package/dist/examples-apps/ai-chatbot/src/dashboard/withProviders.tsx +0 -15
- package/dist/examples-apps/ai-chatbot/src/env.d.ts +0 -4
- package/dist/examples-apps/ai-chatbot/src/types.ts +0 -4
- package/dist/examples-apps/ai-chatbot/tsconfig.json +0 -8
- package/dist/examples-apps/ai-chatbot/wix.config.json +0 -5
- package/dist/examples-apps/contact-created-logger/package-lock.json +0 -15102
- package/dist/examples-apps/contact-created-logger/package.json +0 -37
- package/dist/examples-apps/contact-created-logger/src/backend/events/contact-created-logger/event.ts +0 -56
- package/dist/examples-apps/contact-created-logger/tsconfig.json +0 -5
- package/dist/examples-apps/contact-created-logger/wix.config.json +0 -4
- package/dist/examples-apps/coupon-popup/README.md +0 -13
- package/dist/examples-apps/coupon-popup/package.json +0 -43
- package/dist/examples-apps/coupon-popup/src/extensions.ts +0 -12
- package/dist/examples-apps/coupon-popup/src/index.ts +0 -2
- package/dist/examples-apps/coupon-popup/src/site/embedded-scripts/cart-coupon-popup/embedded.html +0 -562
- package/dist/examples-apps/coupon-popup/src/site/embedded-scripts/cart-coupon-popup/extensions.ts +0 -8
- package/dist/examples-apps/coupon-popup/tsconfig.json +0 -10
- package/dist/examples-apps/coupon-popup/wix.config.json +0 -4
- package/dist/examples-apps/custom-element/countdown-widget/components/ColorPickerField.tsx +0 -27
- package/dist/examples-apps/custom-element/countdown-widget/components/FontPickerField.tsx +0 -34
- package/dist/examples-apps/custom-element/countdown-widget/components/Separator.tsx +0 -10
- package/dist/examples-apps/custom-element/countdown-widget/components/TimeBlock.tsx +0 -23
- package/dist/examples-apps/custom-element/countdown-widget/extensions.ts +0 -18
- package/dist/examples-apps/custom-element/countdown-widget/panel.tsx +0 -146
- package/dist/examples-apps/custom-element/countdown-widget/styles.ts +0 -73
- package/dist/examples-apps/custom-element/countdown-widget/utils.ts +0 -46
- package/dist/examples-apps/custom-element/countdown-widget/widget.tsx +0 -97
- package/dist/examples-apps/product-created-logger/package-lock.json +0 -15102
- package/dist/examples-apps/product-created-logger/package.json +0 -37
- package/dist/examples-apps/product-created-logger/src/backend/events/product-created-logger/event.ts +0 -66
- package/dist/examples-apps/product-created-logger/tsconfig.json +0 -5
- package/dist/examples-apps/product-created-logger/wix.config.json +0 -4
- package/dist/examples-apps/react-builder/component.tsx +0 -123
- package/dist/examples-apps/react-builder/components/Badge.tsx +0 -14
- package/dist/examples-apps/react-builder/components/Button.tsx +0 -31
- package/dist/examples-apps/react-builder/components/Counter.tsx +0 -14
- package/dist/examples-apps/react-builder/components/FeaturedImage.tsx +0 -31
- package/dist/examples-apps/react-builder/components/SocialLinks.tsx +0 -61
- package/dist/examples-apps/react-builder/components/Subtitle.tsx +0 -11
- package/dist/examples-apps/react-builder/components/Tags.tsx +0 -25
- package/dist/examples-apps/react-builder/components/Title.tsx +0 -11
- package/dist/examples-apps/react-builder/components/index.ts +0 -8
- package/dist/examples-apps/react-builder/manifest.json +0 -345
- package/dist/examples-apps/react-builder/style.css +0 -197
- package/dist/examples-apps/react-builder/types.ts +0 -70
- package/dist/examples-apps/spis-examples/.nvmrc +0 -1
- package/dist/examples-apps/spis-examples/README.md +0 -21
- package/dist/examples-apps/spis-examples/package-lock.json +0 -6903
- package/dist/examples-apps/spis-examples/package.json +0 -32
- package/dist/examples-apps/spis-examples/src/backend/service-plugins/ecom-additional-fees/additional-fees/plugin.ts +0 -66
- package/dist/examples-apps/spis-examples/src/backend/service-plugins/ecom-discount-triggers/discount-triggers/plugin.ts +0 -42
- package/dist/examples-apps/spis-examples/src/backend/service-plugins/ecom-gift-cards/gift-cards/plugin.ts +0 -38
- package/dist/examples-apps/spis-examples/src/backend/service-plugins/ecom-shipping-rates/shipping-rates/plugin.ts +0 -34
- package/dist/examples-apps/spis-examples/src/backend/service-plugins/ecom-validations/validations/plugin.ts +0 -24
- package/dist/examples-apps/spis-examples/src/env.d.ts +0 -4
- package/dist/examples-apps/spis-examples/tsconfig.json +0 -8
- package/dist/examples-apps/spis-examples/wix.config.json +0 -5
- package/dist/examples-apps/survey-manager/README.md +0 -21
- package/dist/examples-apps/survey-manager/package-lock.json +0 -14252
- package/dist/examples-apps/survey-manager/package.json +0 -36
- package/dist/examples-apps/survey-manager/src/dashboard/pages/apis.ts +0 -116
- package/dist/examples-apps/survey-manager/src/dashboard/pages/components/PageLoader.tsx +0 -23
- package/dist/examples-apps/survey-manager/src/dashboard/pages/components/QuestionModal.tsx +0 -84
- package/dist/examples-apps/survey-manager/src/dashboard/pages/components/QuestionsTable.tsx +0 -139
- package/dist/examples-apps/survey-manager/src/dashboard/pages/components/SurveyPageLayout.tsx +0 -99
- package/dist/examples-apps/survey-manager/src/dashboard/pages/components/SurveyStats.tsx +0 -50
- package/dist/examples-apps/survey-manager/src/dashboard/pages/page.tsx +0 -171
- package/dist/examples-apps/survey-manager/src/dashboard/pages/types.ts +0 -28
- package/dist/examples-apps/survey-manager/tsconfig.json +0 -8
- package/dist/examples-apps/survey-manager/wix.config.json +0 -4
- package/dist/opencode-tools/wds-lookup.ts +0 -134
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"installation": {
|
|
3
|
-
"staticContainer": "HOMEPAGE",
|
|
4
|
-
"initialSize": {
|
|
5
|
-
"width": {
|
|
6
|
-
"sizingType": "pixels",
|
|
7
|
-
"pixels": 400
|
|
8
|
-
},
|
|
9
|
-
"height": {
|
|
10
|
-
"sizingType": "stretched"
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"editorElement": {
|
|
15
|
-
"selector": ".perfect-example",
|
|
16
|
-
"displayName": "Perfect Example",
|
|
17
|
-
"archetype": "Container",
|
|
18
|
-
"interactions": {
|
|
19
|
-
"triggers": ["viewEnter", "pageVisible", "animationEnd", "viewProgress", "pointerMove"],
|
|
20
|
-
"effectGroups": ["UNKNOWN_EFFECT_GROUP"]
|
|
21
|
-
},
|
|
22
|
-
"layout": {
|
|
23
|
-
"resizeDirection": "horizontalAndVertical",
|
|
24
|
-
"contentResizeDirection": "vertical",
|
|
25
|
-
"disableStretching": false,
|
|
26
|
-
"disablePositioning": false
|
|
27
|
-
},
|
|
28
|
-
"data": {
|
|
29
|
-
"direction": {
|
|
30
|
-
"dataType": "direction",
|
|
31
|
-
"displayName": "Text Direction"
|
|
32
|
-
},
|
|
33
|
-
"scheduledDate": {
|
|
34
|
-
"dataType": "localDate",
|
|
35
|
-
"displayName": "Scheduled Date"
|
|
36
|
-
},
|
|
37
|
-
"scheduledTime": {
|
|
38
|
-
"dataType": "localTime",
|
|
39
|
-
"displayName": "Scheduled Time"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"cssProperties": {
|
|
43
|
-
"backgroundColor": {
|
|
44
|
-
"displayName": "Background",
|
|
45
|
-
"defaultValue": "#ff6b6b"
|
|
46
|
-
},
|
|
47
|
-
"padding": {
|
|
48
|
-
"displayName": "Padding",
|
|
49
|
-
"defaultValue": "40px"
|
|
50
|
-
},
|
|
51
|
-
"borderRadius": {
|
|
52
|
-
"displayName": "Border Radius",
|
|
53
|
-
"defaultValue": "0"
|
|
54
|
-
},
|
|
55
|
-
"border": {
|
|
56
|
-
"displayName": "Border",
|
|
57
|
-
"defaultValue": "none"
|
|
58
|
-
},
|
|
59
|
-
"gap": {
|
|
60
|
-
"displayName": "Gap",
|
|
61
|
-
"defaultValue": "20px"
|
|
62
|
-
},
|
|
63
|
-
"boxShadow": {
|
|
64
|
-
"displayName": "Shadow",
|
|
65
|
-
"defaultValue": "none"
|
|
66
|
-
},
|
|
67
|
-
"opacity": {
|
|
68
|
-
"displayName": "Opacity",
|
|
69
|
-
"defaultValue": "1"
|
|
70
|
-
},
|
|
71
|
-
"display": {
|
|
72
|
-
"displayName": "Display",
|
|
73
|
-
"defaultValue": "flex",
|
|
74
|
-
"display": {
|
|
75
|
-
"displayValues": ["none", "flex", "block"]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"flexDirection": {
|
|
79
|
-
"displayName": "Direction",
|
|
80
|
-
"defaultValue": "column"
|
|
81
|
-
},
|
|
82
|
-
"alignItems": {
|
|
83
|
-
"displayName": "Align Items",
|
|
84
|
-
"defaultValue": "center"
|
|
85
|
-
},
|
|
86
|
-
"justifyContent": {
|
|
87
|
-
"displayName": "Justify",
|
|
88
|
-
"defaultValue": "center"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"elements": {
|
|
92
|
-
"badge": {
|
|
93
|
-
"elementType": "inlineElement",
|
|
94
|
-
"inlineElement": {
|
|
95
|
-
"selector": ".perfect-example__badge",
|
|
96
|
-
"displayName": "Badge",
|
|
97
|
-
"archetype": "Text",
|
|
98
|
-
"data": {
|
|
99
|
-
"badgeText": {
|
|
100
|
-
"dataType": "text",
|
|
101
|
-
"displayName": "Badge Text",
|
|
102
|
-
"text": { "maxLength": 30 }
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"cssProperties": {
|
|
106
|
-
"backgroundColor": { "displayName": "Background", "defaultValue": "#ffffff" },
|
|
107
|
-
"color": { "displayName": "Color", "defaultValue": "#ff6b6b" },
|
|
108
|
-
"font": { "displayName": "Font", "defaultValue": "normal normal 600 12px/1.3em wix-madefor-display-v2" },
|
|
109
|
-
"padding": { "displayName": "Padding", "defaultValue": "4px 12px" },
|
|
110
|
-
"borderRadius": { "displayName": "Radius", "defaultValue": "20px" },
|
|
111
|
-
"textTransform": { "displayName": "Transform", "defaultValue": "uppercase" },
|
|
112
|
-
"letterSpacing": { "displayName": "Spacing", "defaultValue": "0.05em" },
|
|
113
|
-
"display": {
|
|
114
|
-
"displayName": "Display",
|
|
115
|
-
"defaultValue": "inline-block",
|
|
116
|
-
"display": { "displayValues": ["none", "inline_block"] }
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"behaviors": { "selectable": true, "removable": true }
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"title": {
|
|
123
|
-
"elementType": "inlineElement",
|
|
124
|
-
"inlineElement": {
|
|
125
|
-
"selector": ".perfect-example__title",
|
|
126
|
-
"displayName": "Title",
|
|
127
|
-
"archetype": "Text",
|
|
128
|
-
"data": {
|
|
129
|
-
"titleText": {
|
|
130
|
-
"dataType": "text",
|
|
131
|
-
"displayName": "Title Text",
|
|
132
|
-
"text": { "maxLength": 100 }
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"cssProperties": {
|
|
136
|
-
"color": { "displayName": "Color", "defaultValue": "#ffffff" },
|
|
137
|
-
"font": { "displayName": "Font", "defaultValue": "normal normal 700 48px/1.2em wix-madefor-display-v2" },
|
|
138
|
-
"textAlign": { "displayName": "Align", "defaultValue": "center" },
|
|
139
|
-
"textShadow": { "displayName": "Shadow", "defaultValue": "none" },
|
|
140
|
-
"width": { "displayName": "Width", "defaultValue": "100%" },
|
|
141
|
-
"display": {
|
|
142
|
-
"displayName": "Display",
|
|
143
|
-
"defaultValue": "block",
|
|
144
|
-
"display": { "displayValues": ["none", "block"] }
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"behaviors": { "selectable": true, "removable": true }
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"subtitle": {
|
|
151
|
-
"elementType": "inlineElement",
|
|
152
|
-
"inlineElement": {
|
|
153
|
-
"selector": ".perfect-example__subtitle",
|
|
154
|
-
"displayName": "Subtitle",
|
|
155
|
-
"archetype": "Text",
|
|
156
|
-
"data": {
|
|
157
|
-
"subtitleText": {
|
|
158
|
-
"dataType": "text",
|
|
159
|
-
"displayName": "Subtitle Text",
|
|
160
|
-
"text": { "maxLength": 200 }
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"cssProperties": {
|
|
164
|
-
"color": { "displayName": "Color", "defaultValue": "rgba(255, 255, 255, 0.9)" },
|
|
165
|
-
"font": { "displayName": "Font", "defaultValue": "normal normal 400 18px/1.5em wix-madefor-display-v2" },
|
|
166
|
-
"textAlign": { "displayName": "Align", "defaultValue": "center" },
|
|
167
|
-
"width": { "displayName": "Width", "defaultValue": "100%" },
|
|
168
|
-
"opacity": { "displayName": "Opacity", "defaultValue": "0.9" },
|
|
169
|
-
"display": {
|
|
170
|
-
"displayName": "Display",
|
|
171
|
-
"defaultValue": "block",
|
|
172
|
-
"display": { "displayValues": ["none", "block"] }
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"behaviors": { "selectable": true, "removable": true }
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"tags": {
|
|
179
|
-
"elementType": "inlineElement",
|
|
180
|
-
"inlineElement": {
|
|
181
|
-
"selector": ".perfect-example__tags",
|
|
182
|
-
"displayName": "Tags",
|
|
183
|
-
"archetype": "Container",
|
|
184
|
-
"data": {
|
|
185
|
-
"tagsText": {
|
|
186
|
-
"dataType": "text",
|
|
187
|
-
"displayName": "Tags (comma separated)",
|
|
188
|
-
"text": { "maxLength": 200 }
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
"cssProperties": {
|
|
192
|
-
"gap": { "displayName": "Gap", "defaultValue": "8px" },
|
|
193
|
-
"width": { "displayName": "Width", "defaultValue": "auto" },
|
|
194
|
-
"display": {
|
|
195
|
-
"displayName": "Display",
|
|
196
|
-
"defaultValue": "flex",
|
|
197
|
-
"display": { "displayValues": ["none", "flex"] }
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
"behaviors": { "selectable": true, "removable": true }
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
"counter": {
|
|
204
|
-
"elementType": "inlineElement",
|
|
205
|
-
"inlineElement": {
|
|
206
|
-
"selector": ".perfect-example__counter",
|
|
207
|
-
"displayName": "Counter",
|
|
208
|
-
"archetype": "Text",
|
|
209
|
-
"data": {
|
|
210
|
-
"counterValue": {
|
|
211
|
-
"dataType": "number",
|
|
212
|
-
"displayName": "Count",
|
|
213
|
-
"number": { "minimum": 0, "maximum": 9999 }
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"cssProperties": {
|
|
217
|
-
"color": { "displayName": "Color", "defaultValue": "#ffffff" },
|
|
218
|
-
"font": { "displayName": "Font", "defaultValue": "normal normal 700 36px/1.2em wix-madefor-display-v2" },
|
|
219
|
-
"display": {
|
|
220
|
-
"displayName": "Display",
|
|
221
|
-
"defaultValue": "flex",
|
|
222
|
-
"display": { "displayValues": ["none", "flex"] }
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"behaviors": { "selectable": true, "removable": true }
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
"button": {
|
|
229
|
-
"elementType": "inlineElement",
|
|
230
|
-
"inlineElement": {
|
|
231
|
-
"selector": ".perfect-example__button",
|
|
232
|
-
"displayName": "Button",
|
|
233
|
-
"archetype": "Button",
|
|
234
|
-
"data": {
|
|
235
|
-
"buttonText": {
|
|
236
|
-
"dataType": "text",
|
|
237
|
-
"displayName": "Button Text",
|
|
238
|
-
"text": { "maxLength": 50 }
|
|
239
|
-
},
|
|
240
|
-
"buttonLink": {
|
|
241
|
-
"dataType": "link",
|
|
242
|
-
"displayName": "Button Link",
|
|
243
|
-
"link": {
|
|
244
|
-
"linkTypes": ["externalLink", "pageLink", "anchorLink", "emailLink", "phoneLink"]
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
"buttonDisabled": {
|
|
248
|
-
"dataType": "booleanValue",
|
|
249
|
-
"displayName": "Disabled"
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
"cssProperties": {
|
|
253
|
-
"backgroundColor": { "displayName": "Background", "defaultValue": "#ffffff" },
|
|
254
|
-
"color": { "displayName": "Text Color", "defaultValue": "#ff6b6b" },
|
|
255
|
-
"font": { "displayName": "Font", "defaultValue": "normal normal 600 16px/1.4em wix-madefor-display-v2" },
|
|
256
|
-
"padding": { "displayName": "Padding", "defaultValue": "12px 32px" },
|
|
257
|
-
"borderRadius": { "displayName": "Radius", "defaultValue": "50px" },
|
|
258
|
-
"border": { "displayName": "Border", "defaultValue": "none" },
|
|
259
|
-
"boxShadow": { "displayName": "Shadow", "defaultValue": "0 4px 15px rgba(0, 0, 0, 0.2)" },
|
|
260
|
-
"opacity": { "displayName": "Opacity", "defaultValue": "1" },
|
|
261
|
-
"display": {
|
|
262
|
-
"displayName": "Display",
|
|
263
|
-
"defaultValue": "inline-flex",
|
|
264
|
-
"display": { "displayValues": ["none", "inline_flex"] }
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
"behaviors": { "selectable": true, "removable": true }
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
"featuredImage": {
|
|
271
|
-
"elementType": "inlineElement",
|
|
272
|
-
"inlineElement": {
|
|
273
|
-
"selector": ".perfect-example__image",
|
|
274
|
-
"displayName": "Featured Image",
|
|
275
|
-
"archetype": "Image",
|
|
276
|
-
"data": {
|
|
277
|
-
"image": {
|
|
278
|
-
"dataType": "image",
|
|
279
|
-
"displayName": "Image"
|
|
280
|
-
},
|
|
281
|
-
"imageAlt": {
|
|
282
|
-
"dataType": "text",
|
|
283
|
-
"displayName": "Alt Text",
|
|
284
|
-
"text": { "maxLength": 100 }
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
"cssProperties": {
|
|
288
|
-
"borderRadius": { "displayName": "Radius", "defaultValue": "12px" },
|
|
289
|
-
"width": { "displayName": "Width", "defaultValue": "100%" },
|
|
290
|
-
"height": { "displayName": "Height", "defaultValue": "auto" },
|
|
291
|
-
"boxShadow": { "displayName": "Shadow", "defaultValue": "0 10px 40px rgba(0, 0, 0, 0.3)" },
|
|
292
|
-
"objectFit": { "displayName": "Fit", "defaultValue": "cover" },
|
|
293
|
-
"opacity": { "displayName": "Opacity", "defaultValue": "1" },
|
|
294
|
-
"display": {
|
|
295
|
-
"displayName": "Display",
|
|
296
|
-
"defaultValue": "block",
|
|
297
|
-
"display": { "displayValues": ["none", "block"] }
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
"behaviors": { "selectable": true, "removable": true }
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
"socialLinks": {
|
|
304
|
-
"elementType": "inlineElement",
|
|
305
|
-
"inlineElement": {
|
|
306
|
-
"selector": ".perfect-example__social",
|
|
307
|
-
"displayName": "Social Links",
|
|
308
|
-
"archetype": "Social",
|
|
309
|
-
"data": {
|
|
310
|
-
"facebookUrl": {
|
|
311
|
-
"dataType": "webUrl",
|
|
312
|
-
"displayName": "Facebook URL"
|
|
313
|
-
},
|
|
314
|
-
"twitterUrl": {
|
|
315
|
-
"dataType": "webUrl",
|
|
316
|
-
"displayName": "Twitter URL"
|
|
317
|
-
},
|
|
318
|
-
"instagramUrl": {
|
|
319
|
-
"dataType": "webUrl",
|
|
320
|
-
"displayName": "Instagram URL"
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"cssProperties": {
|
|
324
|
-
"gap": { "displayName": "Gap", "defaultValue": "16px" },
|
|
325
|
-
"display": {
|
|
326
|
-
"displayName": "Display",
|
|
327
|
-
"defaultValue": "flex",
|
|
328
|
-
"display": { "displayValues": ["none", "flex"] }
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
"behaviors": { "selectable": true, "removable": true }
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
"actions": {
|
|
336
|
-
"editContent": {
|
|
337
|
-
"displayName": "Edit Content",
|
|
338
|
-
"execution": {
|
|
339
|
-
"actionType": "data",
|
|
340
|
-
"data": { "dataItemKey": "titleText" }
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
}
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
.perfect-example {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
width: 100%;
|
|
4
|
-
min-height: 400px;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
gap: 20px;
|
|
10
|
-
padding: 40px;
|
|
11
|
-
background-color: #ff6b6b;
|
|
12
|
-
text-align: center;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.perfect-example *,
|
|
16
|
-
.perfect-example *::before,
|
|
17
|
-
.perfect-example *::after {
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.perfect-example__badge {
|
|
22
|
-
display: inline-block;
|
|
23
|
-
padding: 4px 12px;
|
|
24
|
-
background-color: #ffffff;
|
|
25
|
-
color: #ff6b6b;
|
|
26
|
-
font: normal normal 600 12px/1.3em wix-madefor-display-v2;
|
|
27
|
-
text-transform: uppercase;
|
|
28
|
-
letter-spacing: 0.05em;
|
|
29
|
-
border-radius: 20px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
.perfect-example__title {
|
|
34
|
-
margin: 0;
|
|
35
|
-
color: #ffffff;
|
|
36
|
-
font: normal normal 700 48px/1.2em wix-madefor-display-v2;
|
|
37
|
-
text-align: center;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
.perfect-example__subtitle {
|
|
42
|
-
margin: 0;
|
|
43
|
-
color: rgba(255, 255, 255, 0.9);
|
|
44
|
-
font: normal normal 400 18px/1.5em wix-madefor-display-v2;
|
|
45
|
-
text-align: center;
|
|
46
|
-
max-width: 600px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
.perfect-example__tags {
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-wrap: wrap;
|
|
53
|
-
justify-content: center;
|
|
54
|
-
gap: 8px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.perfect-example__tag {
|
|
58
|
-
display: inline-block;
|
|
59
|
-
padding: 6px 14px;
|
|
60
|
-
background-color: rgba(255, 255, 255, 0.15);
|
|
61
|
-
color: #ffffff;
|
|
62
|
-
font: normal normal 500 13px/1.3em wix-madefor-display-v2;
|
|
63
|
-
border-radius: 16px;
|
|
64
|
-
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.perfect-example__counter {
|
|
68
|
-
display: flex;
|
|
69
|
-
flex-direction: column;
|
|
70
|
-
align-items: center;
|
|
71
|
-
gap: 4px;
|
|
72
|
-
color: #ffffff;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.perfect-example__counter-value {
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.perfect-example__counter-label {
|
|
79
|
-
font: normal normal 400 14px/1.4em wix-madefor-display-v2;
|
|
80
|
-
opacity: 0.8;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.perfect-example__buttons {
|
|
84
|
-
display: flex;
|
|
85
|
-
flex-wrap: wrap;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
gap: 12px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.perfect-example__button {
|
|
91
|
-
display: inline-flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
justify-content: center;
|
|
94
|
-
padding: 12px 32px;
|
|
95
|
-
background-color: #ffffff;
|
|
96
|
-
color: #ff6b6b;
|
|
97
|
-
font: normal normal 600 16px/1.4em wix-madefor-display-v2;
|
|
98
|
-
text-decoration: none;
|
|
99
|
-
border: none;
|
|
100
|
-
border-radius: 50px;
|
|
101
|
-
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
102
|
-
cursor: pointer;
|
|
103
|
-
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.perfect-example__button:hover {
|
|
107
|
-
transform: translateY(-2px);
|
|
108
|
-
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
.perfect-example__image-wrapper {
|
|
113
|
-
width: 100%;
|
|
114
|
-
max-width: 400px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.perfect-example__image {
|
|
118
|
-
width: 100%;
|
|
119
|
-
height: auto;
|
|
120
|
-
border-radius: 12px;
|
|
121
|
-
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
|
|
122
|
-
object-fit: cover;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.perfect-example__image--placeholder {
|
|
126
|
-
display: flex;
|
|
127
|
-
flex-direction: column;
|
|
128
|
-
align-items: center;
|
|
129
|
-
justify-content: center;
|
|
130
|
-
gap: 8px;
|
|
131
|
-
min-height: 200px;
|
|
132
|
-
background: rgba(255, 255, 255, 0.15);
|
|
133
|
-
color: rgba(255, 255, 255, 0.7);
|
|
134
|
-
font: normal normal 500 14px/1.4em wix-madefor-display-v2;
|
|
135
|
-
border: 2px dashed rgba(255, 255, 255, 0.3);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.perfect-example__social {
|
|
139
|
-
display: flex;
|
|
140
|
-
gap: 16px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.perfect-example__social-link {
|
|
144
|
-
display: flex;
|
|
145
|
-
align-items: center;
|
|
146
|
-
justify-content: center;
|
|
147
|
-
width: 40px;
|
|
148
|
-
height: 40px;
|
|
149
|
-
background-color: rgba(255, 255, 255, 0.15);
|
|
150
|
-
color: #ffffff;
|
|
151
|
-
border-radius: 50%;
|
|
152
|
-
text-decoration: none;
|
|
153
|
-
transition: background-color 0.2s ease, transform 0.2s ease;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.perfect-example__social-link:hover {
|
|
157
|
-
background-color: rgba(255, 255, 255, 0.25);
|
|
158
|
-
transform: scale(1.1);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
@media (max-width: 768px) {
|
|
162
|
-
.perfect-example {
|
|
163
|
-
padding: 30px 20px;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.perfect-example__title {
|
|
167
|
-
font-size: 36px;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.perfect-example__subtitle {
|
|
171
|
-
font-size: 16px;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.perfect-example__buttons {
|
|
175
|
-
flex-direction: column;
|
|
176
|
-
width: 100%;
|
|
177
|
-
max-width: 280px;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.perfect-example__button {
|
|
181
|
-
width: 100%;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.perfect-example[dir="rtl"] {
|
|
186
|
-
direction: rtl;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
@media (prefers-reduced-motion: reduce) {
|
|
190
|
-
.perfect-example *,
|
|
191
|
-
.perfect-example *::before,
|
|
192
|
-
.perfect-example *::after {
|
|
193
|
-
animation-duration: 0.01ms !important;
|
|
194
|
-
animation-iteration-count: 1 !important;
|
|
195
|
-
transition-duration: 0.01ms !important;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
export type Text = string;
|
|
2
|
-
export type RichText = string;
|
|
3
|
-
export type NumberType = number;
|
|
4
|
-
export type BooleanValue = boolean;
|
|
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]
|
|
8
|
-
export type Direction = 'rtl' | 'ltr' | 'auto';
|
|
9
|
-
|
|
10
|
-
export type Link = {
|
|
11
|
-
href: string;
|
|
12
|
-
target?: string;
|
|
13
|
-
rel?: string;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export type Image = {
|
|
17
|
-
uri: string;
|
|
18
|
-
url: string;
|
|
19
|
-
name?: string;
|
|
20
|
-
alt?: string;
|
|
21
|
-
width?: number;
|
|
22
|
-
height?: number;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export interface Wix {
|
|
26
|
-
elementsRemovalState?: Record<string, 'REMOVED'>;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface BadgeProps {
|
|
30
|
-
badgeText?: Text;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface TitleProps {
|
|
34
|
-
titleText?: Text;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface SubtitleProps {
|
|
38
|
-
subtitleText?: Text;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface DescriptionProps {
|
|
42
|
-
descriptionContent?: RichText;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export interface TagsProps {
|
|
46
|
-
tagsText?: Text;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface CounterProps {
|
|
50
|
-
counterValue?: NumberType;
|
|
51
|
-
counterLabel?: Text;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface ButtonProps {
|
|
55
|
-
buttonText?: Text;
|
|
56
|
-
buttonLink?: Link;
|
|
57
|
-
buttonDisabled?: BooleanValue;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
export interface FeaturedImageProps {
|
|
62
|
-
image?: Image;
|
|
63
|
-
imageAlt?: Text;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export interface SocialLinksProps {
|
|
67
|
-
facebookUrl?: WebUrl;
|
|
68
|
-
twitterUrl?: WebUrl;
|
|
69
|
-
instagramUrl?: WebUrl;
|
|
70
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
22.10.0
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# spis-examples
|
|
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
|
-
```
|