@lightspeed/crane 1.4.0 → 1.4.2

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 CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.4.2 - 2025-11-04
4
+
5
+ ### Added
6
+
7
+ - Implement fetching of local section content via Chrome extension.
8
+
9
+ ### Fixed
10
+
11
+ - Fix static JSON asset files during 'build' command.
12
+
13
+ ### Removed
14
+
15
+ - Remove text font size restriction during the 'build' command.
16
+
17
+ ## 1.4.1 - 2025-10-23
18
+
19
+ ### Added
20
+
21
+ - Add support for extended ISO 639-1 language codes in the format of [ISO 639-1]\_[ISO 3166-1].
22
+ - Add `showcaseOverrides` support to custom header/footer inside multipage templates.
23
+
24
+ ### Changed
25
+
26
+ - Update version of several dependencies.
27
+
3
28
  ## 1.4.0 - 2025-10-06
4
29
 
5
30
  ### Changed
@@ -19,7 +44,7 @@
19
44
 
20
45
  ### Changed
21
46
 
22
- - Update folder structure of generated reference custom templates.
47
+ - Update folder structure of generated reference custom templates.
23
48
  - Update version of 'eslint' dependency.
24
49
 
25
50
  ### Fixed
@@ -87,7 +112,7 @@
87
112
 
88
113
  ### Fixed
89
114
 
90
- - Fix the validation flow for template section showcase overrides.
115
+ - Fix the validation flow for template section showcase overrides.
91
116
 
92
117
  ## 1.2.3 - 2025-05-15
93
118
 
@@ -107,7 +132,7 @@ _If you are upgrading: please see [UPGRADE.md](UPGRADE.md)._
107
132
 
108
133
  - **Storefront (experimental):** add multipage support for Custom Templates.
109
134
  - Add image validation for custom section and template configuration files during the 'build' command.
110
- - Provide icon URL for 'Made With' component through the external content.
135
+ - Provide icon URL for 'Made With' component through the external content.
111
136
 
112
137
  ### Changed
113
138
 
@@ -151,7 +176,7 @@ _If you are upgrading: please see [UPGRADE.md](UPGRADE.md)._
151
176
  ### Fixed
152
177
 
153
178
  - Fix 'shared' folder generation while creating sections, headers and footers.
154
- - Fix section showcase validation during the 'build' execution in case of empty content and design configurations.
179
+ - Fix section showcase validation during the 'build' execution in case of empty content and design configurations.
155
180
  - Fix validation rules around newly generated section, header and footer.
156
181
  - Fix the external content usage of the 'Language Selector' component in headers and footers.
157
182
 
package/dist/app.d.mts CHANGED
@@ -152,16 +152,16 @@ declare function useMenuElementContent<CONTENT>(elementName: keyof CONTENT): {
152
152
  items: {
153
153
  performAction: (() => void) | undefined;
154
154
  id: string;
155
- title?: string | undefined;
156
- type?: ActionLinkType | undefined;
157
- link?: string | undefined;
158
- email?: string | undefined;
159
- phone?: string | undefined;
160
- tileIdForScroll?: string | undefined;
161
- pageIdForNavigate?: string | undefined;
162
- showStoreCategories?: boolean | undefined;
163
- isSubmenuOpened?: boolean | undefined;
164
- categoryId?: number | undefined;
155
+ title?: string;
156
+ type?: ActionLinkType;
157
+ link?: string;
158
+ email?: string;
159
+ phone?: string;
160
+ tileIdForScroll?: string;
161
+ pageIdForNavigate?: string;
162
+ showStoreCategories?: boolean;
163
+ isSubmenuOpened?: boolean;
164
+ categoryId?: number;
165
165
  }[];
166
166
  };
167
167
 
@@ -170,16 +170,16 @@ declare function useNavigationMenuElementContent<CONTENT>(): {
170
170
  items: {
171
171
  performAction: (() => void) | undefined;
172
172
  id: string;
173
- title?: string | undefined;
174
- type?: ActionLinkType | undefined;
175
- link?: string | undefined;
176
- email?: string | undefined;
177
- phone?: string | undefined;
178
- tileIdForScroll?: string | undefined;
179
- pageIdForNavigate?: string | undefined;
180
- showStoreCategories?: boolean | undefined;
181
- isSubmenuOpened?: boolean | undefined;
182
- categoryId?: number | undefined;
173
+ title?: string;
174
+ type?: ActionLinkType;
175
+ link?: string;
176
+ email?: string;
177
+ phone?: string;
178
+ tileIdForScroll?: string;
179
+ pageIdForNavigate?: string;
180
+ showStoreCategories?: boolean;
181
+ isSubmenuOpened?: boolean;
182
+ categoryId?: number;
183
183
  }[];
184
184
  };
185
185
 
@@ -204,14 +204,14 @@ declare function useDeckElementContent<CONTENT>(elementName: keyof CONTENT): {
204
204
  getReactiveRef: typeof getReactiveRef;
205
205
  };
206
206
  declare function getReactiveRef(card: Card | undefined, editorType: EditorTypes, contentElementName: string): {
207
- hasContent: boolean;
208
- value: string | undefined;
209
- } | {
210
207
  hasContent: boolean;
211
208
  lowResolutionMobileImage: string;
212
209
  highResolutionMobileImage: string;
213
210
  lowResolutionDesktopImage: string;
214
211
  highResolutionDesktopImage: string;
212
+ } | {
213
+ hasContent: boolean;
214
+ value: string | undefined;
215
215
  } | {
216
216
  hasContent: boolean;
217
217
  value: boolean | undefined;
@@ -314,7 +314,7 @@ interface VueClientAppExtensions {
314
314
  declare function createVueClientApp<C, D>(appComponent: Component, extensions?: VueClientAppExtensions): {
315
315
  init: () => {
316
316
  mount: <S extends AppBaseState<C, D>>(rootContainer: string, state: S) => void;
317
- update: <S_1 extends AppBaseState<C, D>>(state: S_1) => void;
317
+ update: <S extends AppBaseState<C, D>>(state: S) => void;
318
318
  unmount: () => void;
319
319
  };
320
320
  };
package/dist/app.d.ts CHANGED
@@ -152,16 +152,16 @@ declare function useMenuElementContent<CONTENT>(elementName: keyof CONTENT): {
152
152
  items: {
153
153
  performAction: (() => void) | undefined;
154
154
  id: string;
155
- title?: string | undefined;
156
- type?: ActionLinkType | undefined;
157
- link?: string | undefined;
158
- email?: string | undefined;
159
- phone?: string | undefined;
160
- tileIdForScroll?: string | undefined;
161
- pageIdForNavigate?: string | undefined;
162
- showStoreCategories?: boolean | undefined;
163
- isSubmenuOpened?: boolean | undefined;
164
- categoryId?: number | undefined;
155
+ title?: string;
156
+ type?: ActionLinkType;
157
+ link?: string;
158
+ email?: string;
159
+ phone?: string;
160
+ tileIdForScroll?: string;
161
+ pageIdForNavigate?: string;
162
+ showStoreCategories?: boolean;
163
+ isSubmenuOpened?: boolean;
164
+ categoryId?: number;
165
165
  }[];
166
166
  };
167
167
 
@@ -170,16 +170,16 @@ declare function useNavigationMenuElementContent<CONTENT>(): {
170
170
  items: {
171
171
  performAction: (() => void) | undefined;
172
172
  id: string;
173
- title?: string | undefined;
174
- type?: ActionLinkType | undefined;
175
- link?: string | undefined;
176
- email?: string | undefined;
177
- phone?: string | undefined;
178
- tileIdForScroll?: string | undefined;
179
- pageIdForNavigate?: string | undefined;
180
- showStoreCategories?: boolean | undefined;
181
- isSubmenuOpened?: boolean | undefined;
182
- categoryId?: number | undefined;
173
+ title?: string;
174
+ type?: ActionLinkType;
175
+ link?: string;
176
+ email?: string;
177
+ phone?: string;
178
+ tileIdForScroll?: string;
179
+ pageIdForNavigate?: string;
180
+ showStoreCategories?: boolean;
181
+ isSubmenuOpened?: boolean;
182
+ categoryId?: number;
183
183
  }[];
184
184
  };
185
185
 
@@ -204,14 +204,14 @@ declare function useDeckElementContent<CONTENT>(elementName: keyof CONTENT): {
204
204
  getReactiveRef: typeof getReactiveRef;
205
205
  };
206
206
  declare function getReactiveRef(card: Card | undefined, editorType: EditorTypes, contentElementName: string): {
207
- hasContent: boolean;
208
- value: string | undefined;
209
- } | {
210
207
  hasContent: boolean;
211
208
  lowResolutionMobileImage: string;
212
209
  highResolutionMobileImage: string;
213
210
  lowResolutionDesktopImage: string;
214
211
  highResolutionDesktopImage: string;
212
+ } | {
213
+ hasContent: boolean;
214
+ value: string | undefined;
215
215
  } | {
216
216
  hasContent: boolean;
217
217
  value: boolean | undefined;
@@ -314,7 +314,7 @@ interface VueClientAppExtensions {
314
314
  declare function createVueClientApp<C, D>(appComponent: Component, extensions?: VueClientAppExtensions): {
315
315
  init: () => {
316
316
  mount: <S extends AppBaseState<C, D>>(rootContainer: string, state: S) => void;
317
- update: <S_1 extends AppBaseState<C, D>>(state: S_1) => void;
317
+ update: <S extends AppBaseState<C, D>>(state: S) => void;
318
318
  unmount: () => void;
319
319
  };
320
320
  };