@lightspeed/crane 1.3.1 → 1.3.3
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 +22 -0
- package/dist/app.d.mts +9 -9
- package/dist/app.d.ts +9 -9
- package/dist/cli.mjs +7 -7
- package/package.json +3 -3
- package/template/_gitignore +1 -0
- package/template/preview/sections/preview.html +2 -0
- package/template/preview/vite.config.js +49 -7
- package/template/reference/templates/reference-template-apparel/configuration.ts +22 -0
- package/template/reference/templates/reference-template-apparel/pages/catalog.ts +10 -0
- package/template/reference/templates/reference-template-apparel/pages/category.ts +10 -0
- package/template/reference/templates/reference-template-apparel/pages/home.ts +24 -0
- package/template/reference/templates/reference-template-apparel/pages/product.ts +10 -0
- package/template/reference/templates/reference-template-bike/configuration.ts +22 -0
- package/template/reference/templates/reference-template-bike/pages/catalog.ts +10 -0
- package/template/reference/templates/reference-template-bike/pages/category.ts +10 -0
- package/template/reference/templates/reference-template-bike/pages/home.ts +24 -0
- package/template/reference/templates/reference-template-bike/pages/product.ts +10 -0
- package/template/reference/templates/reference-template-apparel.ts +0 -44
- package/template/reference/templates/reference-template-bike.ts +0 -44
- package/template/templates/assets/template_cover_image.png +0 -0
- package/template/templates/template.ts +0 -198
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.3.3 - 2025-09-23
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Add support for Local Preview analytics tracking.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Update folder structure of generated reference custom templates.
|
|
12
|
+
- Update version of 'eslint' dependency.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Fix Local Preview for Windows operating systems.
|
|
17
|
+
- Fix Local Preview warning message during 'deploy' command execution.
|
|
18
|
+
|
|
19
|
+
## 1.3.2 - 2025-09-10
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Increase server file size threshold to 500 KiB in the 'build' flow.
|
|
24
|
+
|
|
3
25
|
## 1.3.1 - 2025-09-09
|
|
4
26
|
|
|
5
27
|
### Added
|
package/dist/app.d.mts
CHANGED
|
@@ -204,6 +204,15 @@ 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
|
+
hasContent: boolean;
|
|
211
|
+
lowResolutionMobileImage: string;
|
|
212
|
+
highResolutionMobileImage: string;
|
|
213
|
+
lowResolutionDesktopImage: string;
|
|
214
|
+
highResolutionDesktopImage: string;
|
|
215
|
+
} | {
|
|
207
216
|
title: string | undefined;
|
|
208
217
|
type: ActionLinkType | undefined;
|
|
209
218
|
link: string | undefined;
|
|
@@ -215,18 +224,9 @@ declare function getReactiveRef(card: Card | undefined, editorType: EditorTypes,
|
|
|
215
224
|
hasTitle: boolean;
|
|
216
225
|
hasLink: boolean;
|
|
217
226
|
performAction: (() => void) | undefined;
|
|
218
|
-
} | {
|
|
219
|
-
hasContent: boolean;
|
|
220
|
-
value: string | undefined;
|
|
221
227
|
} | {
|
|
222
228
|
hasContent: boolean;
|
|
223
229
|
value: boolean | undefined;
|
|
224
|
-
} | {
|
|
225
|
-
hasContent: boolean;
|
|
226
|
-
lowResolutionMobileImage: string;
|
|
227
|
-
highResolutionMobileImage: string;
|
|
228
|
-
lowResolutionDesktopImage: string;
|
|
229
|
-
highResolutionDesktopImage: string;
|
|
230
230
|
} | undefined;
|
|
231
231
|
|
|
232
232
|
declare function useLogoElementContent<CONTENT>(): {
|
package/dist/app.d.ts
CHANGED
|
@@ -204,6 +204,15 @@ 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
|
+
hasContent: boolean;
|
|
211
|
+
lowResolutionMobileImage: string;
|
|
212
|
+
highResolutionMobileImage: string;
|
|
213
|
+
lowResolutionDesktopImage: string;
|
|
214
|
+
highResolutionDesktopImage: string;
|
|
215
|
+
} | {
|
|
207
216
|
title: string | undefined;
|
|
208
217
|
type: ActionLinkType | undefined;
|
|
209
218
|
link: string | undefined;
|
|
@@ -215,18 +224,9 @@ declare function getReactiveRef(card: Card | undefined, editorType: EditorTypes,
|
|
|
215
224
|
hasTitle: boolean;
|
|
216
225
|
hasLink: boolean;
|
|
217
226
|
performAction: (() => void) | undefined;
|
|
218
|
-
} | {
|
|
219
|
-
hasContent: boolean;
|
|
220
|
-
value: string | undefined;
|
|
221
227
|
} | {
|
|
222
228
|
hasContent: boolean;
|
|
223
229
|
value: boolean | undefined;
|
|
224
|
-
} | {
|
|
225
|
-
hasContent: boolean;
|
|
226
|
-
lowResolutionMobileImage: string;
|
|
227
|
-
highResolutionMobileImage: string;
|
|
228
|
-
lowResolutionDesktopImage: string;
|
|
229
|
-
highResolutionDesktopImage: string;
|
|
230
230
|
} | undefined;
|
|
231
231
|
|
|
232
232
|
declare function useLogoElementContent<CONTENT>(): {
|