@lightspeed/crane 2.0.0 → 2.0.1
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/CHANGELOG.md +18 -0
- package/dist/cli.mjs +15 -15
- package/package.json +3 -3
- package/template/footers/example-footer/client.ts +1 -0
- package/template/footers/example-footer/server.ts +1 -0
- package/template/headers/example-header/client.ts +1 -0
- package/template/headers/example-header/server.ts +1 -0
- package/template/layouts/catalog/example-catalog/slots/custom-bottom-bar/client.ts +1 -0
- package/template/layouts/catalog/example-catalog/slots/custom-bottom-bar/server.ts +1 -0
- package/template/preview/shared/api-routes.ts +170 -4
- package/template/preview/shared/preview.ts +20 -2
- package/template/preview/shared/utils.ts +3 -2
- package/template/preview/ssr-server.ts +3 -2
- package/template/preview/vite.config.js +4 -2
- package/template/reference/sections/featured-products/client.ts +1 -0
- package/template/reference/sections/featured-products/server.ts +1 -0
- package/template/reference/sections/intro-slider/client.ts +1 -0
- package/template/reference/sections/intro-slider/server.ts +1 -0
- package/template/reference/sections/tag-lines/client.ts +1 -0
- package/template/reference/sections/tag-lines/composables/highlighted-text-image-list.ts +2 -1
- package/template/reference/sections/tag-lines/server.ts +1 -0
- package/template/reference/sections/trending-categories/client.ts +1 -0
- package/template/reference/sections/trending-categories/server.ts +1 -0
- package/template/reference/shared/utils/styles.ts +1 -0
- package/template/sections/example-section/client.ts +1 -0
- package/template/sections/example-section/server.ts +1 -0
- package/template/sections/example-section/showcases/1.ts +2 -22
- package/template/sections/example-section/showcases/2.ts +2 -22
- package/template/sections/example-section/showcases/3.ts +2 -22
- package/template/sections/example-section/showcases/translations.ts +4 -142
|
@@ -11,8 +11,6 @@ export default {
|
|
|
11
11
|
'$label.showcase_1.image_text_4.text': 'Trending footwear',
|
|
12
12
|
'$label.showcase_1.image_link_1.text': '/products',
|
|
13
13
|
|
|
14
|
-
'$label.card_button_title': 'Card button',
|
|
15
|
-
|
|
16
14
|
'$label.showcase_2.blockName': 'Reference Section — Apparel',
|
|
17
15
|
'$label.showcase_2.section_title.text': 'Trending collections',
|
|
18
16
|
'$label.showcase_2.image_text_1.text': 'New t-shirts collection',
|
|
@@ -33,53 +31,9 @@ export default {
|
|
|
33
31
|
'$label.showcase_2.info.text': 'Showcase 2: This is area for useful tips regarding custom section usage',
|
|
34
32
|
'$label.showcase_3.info.text': 'Showcase 3: This is info section where you can provide some useful tips regarding custom section usage',
|
|
35
33
|
'$label.showcase_1.info.button.title': 'Showcase 1: Learn',
|
|
36
|
-
'$label.showcase_2.info.button.title': 'Showcase 2: More',
|
|
37
34
|
'$label.showcase_3.info.button.title': 'Showcase 3: More',
|
|
38
|
-
|
|
39
|
-
'$label.showcase_1.button.label': 'Content.ts: Button',
|
|
40
35
|
'$label.showcase_1.button.defaults.title': 'Button Title',
|
|
41
|
-
'$label.showcase_1.toggle.label': 'Toggle',
|
|
42
|
-
'$label.showcase_1.toggle.description': 'Enable or disable this feature using the toggle switch',
|
|
43
|
-
|
|
44
|
-
'$label.showcase_1.selectbox.placeholder': 'Select an option',
|
|
45
|
-
'$label.showcase_1.selectbox.label': 'Content.ts: Selectbox',
|
|
46
|
-
'$label.showcase_1.selectbox.description': 'Content.ts:Select an option from the dropdown to customize your settings',
|
|
47
|
-
'$label.showcase_1.selectbox.one.label': 'One label',
|
|
48
|
-
'$label.showcase_1.selectbox.two.label': 'Two label',
|
|
49
|
-
|
|
50
|
-
'$label.showcase_1.info.label': 'Content.ts: Info',
|
|
51
|
-
'$label.showcase_1.info.description': 'Content.ts: This is info section where you can provide some useful tips regarding custom section usage',
|
|
52
|
-
'$label.showcase_1.info.button.label': 'Content.ts: Learn more',
|
|
53
|
-
|
|
54
|
-
'$label.showcase_2.button.label': 'Content.ts: Button',
|
|
55
36
|
'$label.showcase_2.button.defaults.title': 'Button Title',
|
|
56
|
-
'$label.showcase_2.toggle.label': 'Toggle',
|
|
57
|
-
'$label.showcase_2.toggle.description': 'Enable or disable this feature using the toggle switch',
|
|
58
|
-
|
|
59
|
-
'$label.showcase_2.selectbox.placeholder': 'Select an option',
|
|
60
|
-
'$label.showcase_2.selectbox.label': 'Content.ts: Selectbox',
|
|
61
|
-
'$label.showcase_2.selectbox.description': 'Content.ts:Select an option from the dropdown to customize your settings',
|
|
62
|
-
'$label.showcase_2.selectbox.one.label': 'One label',
|
|
63
|
-
'$label.showcase_2.selectbox.two.label': 'Two label',
|
|
64
|
-
|
|
65
|
-
'$label.showcase_2.info.label': 'Content.ts: Info',
|
|
66
|
-
'$label.showcase_2.info.description': 'Content.ts: This is info section where you can provide some useful tips regarding custom section usage',
|
|
67
|
-
'$label.showcase_2.info.button.label': 'Content.ts: Learn more',
|
|
68
|
-
|
|
69
|
-
'$label.showcase_3.button.label': 'Content.ts: Button',
|
|
70
|
-
'$label.showcase_3.button.defaults.title': 'Button Title',
|
|
71
|
-
'$label.showcase_3.toggle.label': 'Toggle',
|
|
72
|
-
'$label.showcase_3.toggle.description': 'Enable or disable this feature using the toggle switch',
|
|
73
|
-
|
|
74
|
-
'$label.showcase_3.selectbox.placeholder': 'Select an option',
|
|
75
|
-
'$label.showcase_3.selectbox.label': 'Content.ts: Selectbox',
|
|
76
|
-
'$label.showcase_3.selectbox.description': 'Content.ts:Select an option from the dropdown to customize your settings',
|
|
77
|
-
'$label.showcase_3.selectbox.one.label': 'One label',
|
|
78
|
-
'$label.showcase_3.selectbox.two.label': 'Two label',
|
|
79
|
-
|
|
80
|
-
'$label.showcase_3.info.label': 'Content.ts: Info',
|
|
81
|
-
'$label.showcase_3.info.description': 'Content.ts: This is info section where you can provide some useful tips regarding custom section usage',
|
|
82
|
-
'$label.showcase_3.info.button.label': 'Content.ts: Learn more',
|
|
83
37
|
},
|
|
84
38
|
|
|
85
39
|
nl: {
|
|
@@ -113,55 +67,9 @@ export default {
|
|
|
113
67
|
'$label.showcase_1.info.text': 'Dit is het informatiedeel waar je enkele nuttige tips kunt geven over het gebruik van aangepaste secties',
|
|
114
68
|
'$label.showcase_2.info.text': 'Hier is een gebied voor nuttige tips over het gebruik van aangepaste secties',
|
|
115
69
|
'$label.showcase_1.info.button.title': 'Leren',
|
|
116
|
-
'$label.
|
|
117
|
-
|
|
118
|
-
'$label.showcase_1.button.label': 'Content.ts: Knop',
|
|
70
|
+
'$label.showcase_3.info.button.title': 'Meer',
|
|
119
71
|
'$label.showcase_1.button.defaults.title': 'Knoptitel',
|
|
120
|
-
'$label.showcase_1.toggle.label': 'Schakelaar',
|
|
121
|
-
'$label.showcase_1.toggle.description': 'Schakel deze functie in of uit met de schakelaar',
|
|
122
|
-
|
|
123
|
-
'$label.showcase_1.selectbox.placeholder': 'Selecteer een optie',
|
|
124
|
-
'$label.showcase_1.selectbox.label': 'Content.ts: Selectievak',
|
|
125
|
-
'$label.showcase_1.selectbox.description': 'Content.ts:Selecteer een optie uit de dropdown om uw instellingen aan te passen',
|
|
126
|
-
'$label.showcase_1.selectbox.one.label': 'Eén label',
|
|
127
|
-
'$label.showcase_1.selectbox.two.label': 'Twee label',
|
|
128
|
-
|
|
129
|
-
'$label.showcase_1.info.label': 'Content.ts: Info',
|
|
130
|
-
'$label.showcase_1.info.description': 'Content.ts: Dit is een informatiedeel waar je enkele nuttige tips '
|
|
131
|
-
+ 'kunt geven over het gebruik van aangepaste secties',
|
|
132
|
-
'$label.showcase_1.info.button.label': 'Content.ts: Meer informatie',
|
|
133
|
-
|
|
134
|
-
'$label.showcase_2.button.label': 'Content.ts: Knop',
|
|
135
72
|
'$label.showcase_2.button.defaults.title': 'Knoptitel',
|
|
136
|
-
'$label.showcase_2.toggle.label': 'Schakelaar',
|
|
137
|
-
'$label.showcase_2.toggle.description': 'Schakel deze functie in of uit met de schakelaar',
|
|
138
|
-
|
|
139
|
-
'$label.showcase_2.selectbox.placeholder': 'Selecteer een optie',
|
|
140
|
-
'$label.showcase_2.selectbox.label': 'Content.ts: Selectievak',
|
|
141
|
-
'$label.showcase_2.selectbox.description': 'Content.ts:Selecteer een optie uit de dropdown om uw instellingen aan te passen',
|
|
142
|
-
'$label.showcase_2.selectbox.one.label': 'Eén label',
|
|
143
|
-
'$label.showcase_2.selectbox.two.label': 'Twee label',
|
|
144
|
-
|
|
145
|
-
'$label.showcase_2.info.label': 'Content.ts: Info',
|
|
146
|
-
'$label.showcase_2.info.description': 'Content.ts: Dit is een informatiedeel waar je enkele '
|
|
147
|
-
+ 'nuttige tips kunt geven over het gebruik van aangepaste secties',
|
|
148
|
-
'$label.showcase_2.info.button.label': 'Content.ts: Meer informatie',
|
|
149
|
-
|
|
150
|
-
'$label.showcase_3.button.label': 'Content.ts: Knop',
|
|
151
|
-
'$label.showcase_3.button.defaults.title': 'Knoptitel',
|
|
152
|
-
'$label.showcase_3.toggle.label': 'Schakelaar',
|
|
153
|
-
'$label.showcase_3.toggle.description': 'Schakel deze functie in of uit met de schakelaar',
|
|
154
|
-
|
|
155
|
-
'$label.showcase_3.selectbox.placeholder': 'Selecteer een optie',
|
|
156
|
-
'$label.showcase_3.selectbox.label': 'Content.ts: Selectievak',
|
|
157
|
-
'$label.showcase_3.selectbox.description': 'Content.ts:Selecteer een optie uit de dropdown om uw instellingen aan te passen',
|
|
158
|
-
'$label.showcase_3.selectbox.one.label': 'Eén label',
|
|
159
|
-
'$label.showcase_3.selectbox.two.label': 'Twee label',
|
|
160
|
-
|
|
161
|
-
'$label.showcase_3.info.label': 'Content.ts: Info',
|
|
162
|
-
'$label.showcase_3.info.description': 'Content.ts: Dit is een informatiedeel waar je enkele nuttige tips '
|
|
163
|
-
+ 'kunt geven over het gebruik van aangepaste secties',
|
|
164
|
-
'$label.showcase_3.info.button.label': 'Content.ts: Meer informatie',
|
|
165
73
|
},
|
|
166
74
|
|
|
167
75
|
fr: {
|
|
@@ -176,8 +84,6 @@ export default {
|
|
|
176
84
|
'$label.showcase_1.image_text_4.text': 'Chaussures tendance',
|
|
177
85
|
'$label.showcase_1.image_link_1.text': '/products',
|
|
178
86
|
|
|
179
|
-
'$label.card_button_title': 'Bouton de carte',
|
|
180
|
-
|
|
181
87
|
'$label.showcase_2.blockName': 'Section de référence — Vêtements',
|
|
182
88
|
'$label.showcase_2.section_title.text': 'Collections tendance',
|
|
183
89
|
'$label.showcase_2.image_text_1.text': 'Nouvelle collection de t-shirts',
|
|
@@ -197,55 +103,11 @@ export default {
|
|
|
197
103
|
'$label.showcase_1.info.text': 'Showcase 1: Ceci est une section d\'information où vous pouvez fournir des conseils utiles sur '
|
|
198
104
|
+ 'l\'utilisation de la section personnalisée',
|
|
199
105
|
'$label.showcase_2.info.text': 'Showcase 2: Ceci est une zone pour des conseils utiles sur l\'utilisation de la section personnalisée',
|
|
106
|
+
'$label.showcase_3.info.text': 'Showcase 3: Ceci est une section d\'information où vous pouvez fournir des conseils utiles sur '
|
|
107
|
+
+ 'l\'utilisation de la section personnalisée',
|
|
200
108
|
'$label.showcase_1.info.button.title': 'Showcase 1: Apprendre',
|
|
201
|
-
'$label.
|
|
202
|
-
|
|
203
|
-
'$label.showcase_1.button.label': 'Content.ts: Bouton',
|
|
109
|
+
'$label.showcase_3.info.button.title': 'Showcase 3: Plus',
|
|
204
110
|
'$label.showcase_1.button.defaults.title': 'Titre du bouton',
|
|
205
|
-
'$label.showcase_1.toggle.label': 'Basculer',
|
|
206
|
-
'$label.showcase_1.toggle.description': 'Activez ou désactivez cette fonctionnalité à l\'aide de l\'interrupteur',
|
|
207
|
-
|
|
208
|
-
'$label.showcase_1.selectbox.placeholder': 'Sélectionnez une option',
|
|
209
|
-
'$label.showcase_1.selectbox.label': 'Content.ts: Boîte de sélection',
|
|
210
|
-
'$label.showcase_1.selectbox.description': 'Content.ts:Sélectionnez une option dans le menu déroulant pour personnaliser vos paramètres',
|
|
211
|
-
'$label.showcase_1.selectbox.one.label': 'Un label',
|
|
212
|
-
'$label.showcase_1.selectbox.two.label': 'Deux label',
|
|
213
|
-
|
|
214
|
-
'$label.showcase_1.info.label': 'Content.ts: Info',
|
|
215
|
-
'$label.showcase_1.info.description': 'Content.ts: Ceci est une section d\'information où vous pouvez '
|
|
216
|
-
+ 'fournir des conseils utiles sur l\'utilisation de la section personnalisée',
|
|
217
|
-
'$label.showcase_1.info.button.label': 'Content.ts: En savoir plus',
|
|
218
|
-
|
|
219
|
-
'$label.showcase_2.button.label': 'Content.ts: Bouton',
|
|
220
111
|
'$label.showcase_2.button.defaults.title': 'Titre du bouton',
|
|
221
|
-
'$label.showcase_2.toggle.label': 'Basculer',
|
|
222
|
-
'$label.showcase_2.toggle.description': 'Activez ou désactivez cette fonctionnalité à l\'aide de l\'interrupteur',
|
|
223
|
-
|
|
224
|
-
'$label.showcase_2.selectbox.placeholder': 'Sélectionnez une option',
|
|
225
|
-
'$label.showcase_2.selectbox.label': 'Content.ts: Boîte de sélection',
|
|
226
|
-
'$label.showcase_2.selectbox.description': 'Content.ts:Sélectionnez une option dans le menu déroulant pour personnaliser vos paramètres',
|
|
227
|
-
'$label.showcase_2.selectbox.one.label': 'Un label',
|
|
228
|
-
'$label.showcase_2.selectbox.two.label': 'Deux label',
|
|
229
|
-
|
|
230
|
-
'$label.showcase_2.info.label': 'Content.ts: Info',
|
|
231
|
-
'$label.showcase_2.info.description': 'Content.ts: Ceci est une section d\'information où vous pouvez fournir '
|
|
232
|
-
+ 'des conseils utiles sur l\'utilisation de la section personnalisée',
|
|
233
|
-
'$label.showcase_2.info.button.label': 'Content.ts: En savoir plus',
|
|
234
|
-
|
|
235
|
-
'$label.showcase_3.button.label': 'Content.ts: Bouton',
|
|
236
|
-
'$label.showcase_3.button.defaults.title': 'Titre du bouton',
|
|
237
|
-
'$label.showcase_3.toggle.label': 'Basculer',
|
|
238
|
-
'$label.showcase_3.toggle.description': 'Activez ou désactivez cette fonctionnalité à l\'aide de l\'interrupteur',
|
|
239
|
-
|
|
240
|
-
'$label.showcase_3.selectbox.placeholder': 'Sélectionnez une option',
|
|
241
|
-
'$label.showcase_3.selectbox.label': 'Content.ts: Boîte de sélection',
|
|
242
|
-
'$label.showcase_3.selectbox.description': 'Content.ts:Sélectionnez une option dans le menu déroulant pour personnaliser vos paramètres',
|
|
243
|
-
'$label.showcase_3.selectbox.one.label': 'Un label',
|
|
244
|
-
'$label.showcase_3.selectbox.two.label': 'Deux label',
|
|
245
|
-
|
|
246
|
-
'$label.showcase_3.info.label': 'Content.ts: Info',
|
|
247
|
-
'$label.showcase_3.info.description': 'Content.ts: Ceci est une section d\'information où vous pouvez fournir '
|
|
248
|
-
+ 'des conseils utiles sur l\'utilisation de la section personnalisée',
|
|
249
|
-
'$label.showcase_3.info.button.label': 'Content.ts: En savoir plus',
|
|
250
112
|
},
|
|
251
113
|
} as const;
|