@lightspeed/crane 3.3.0 → 3.4.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 +33 -0
- package/UPGRADE.md +14 -0
- package/dist/cli.mjs +45 -61
- package/package.json +3 -2
- package/template/layouts/catalog/example-catalog/settings/design.ts +229 -1
- package/template/layouts/catalog/example-catalog/settings/layout.ts +1 -0
- package/template/layouts/catalog/example-catalog/settings/translations.ts +285 -1
- package/template/layouts/category/example-category/Main.vue +2 -1
- package/template/layouts/category/example-category/settings/design.ts +229 -1
- package/template/layouts/category/example-category/settings/layout.ts +1 -0
- package/template/layouts/category/example-category/settings/translations.ts +285 -1
- package/template/layouts/product/example-product/Main.vue +2 -1
- package/template/layouts/product/example-product/settings/layout.ts +1 -0
- package/template/preview/assets/close.svg +3 -0
- package/template/preview/assets/crane-logo.svg +16 -0
- package/template/preview/sections/preview.html +99 -1
- package/template/preview/shared/preview.ts +6 -4
- package/template/preview/vite.config.js +1 -0
- package/template/reference/sections/intro-slider/settings/translations.ts +1 -0
- package/template/sections/example-section/component/image/Image.vue +4 -3
- package/template/footers/example-footer/entity/color.ts +0 -4
- package/template/reference/sections/featured-products/entity/color.ts +0 -4
- package/template/reference/sections/intro-slider/entity/color.ts +0 -4
- package/template/reference/sections/trending-categories/entity/color.ts +0 -4
- package/template/sections/example-section/entity/color.ts +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.4.1 - 2026-05-11
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Added extension install banner in preview page with link to Chrome Web Store.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Use `OverlayType` instead of the redundant `ColorType` in the example section.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @lightspeed/crane-api@2.3.1
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Validate malformed global design references during build.
|
|
18
|
+
- Fix preview block config stale manifest issue
|
|
19
|
+
|
|
20
|
+
## 3.4.0 - 2026-04-28
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Add layout support for custom layouts
|
|
25
|
+
- Add storefront design setting to catalog and category custom layouts.
|
|
26
|
+
- Storefront product layout icons
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- Disable footer navigation by default in custom layouts
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- Exclude custom.ts when running init --template from a dot-directory path (e.g. npx cache under ~/.npm/\_npx).
|
|
35
|
+
|
|
3
36
|
## 3.3.0 - 2026-04-20
|
|
4
37
|
|
|
5
38
|
### Added
|
package/UPGRADE.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Upgrades
|
|
2
2
|
|
|
3
|
+
## 3.3.0 to 3.4.0
|
|
4
|
+
|
|
5
|
+
### Custom layouts support for storefront layouts
|
|
6
|
+
|
|
7
|
+
Custom storefront layouts now support custom layout variants defined in `layout.ts` file. To upgrade, create a `layout.ts` file that default-exports an empty array inside each custom layout's settings folder:
|
|
8
|
+
|
|
9
|
+
**Create `layout.ts` at `layouts/<page>/<layoutId>/settings/layout.ts`:**
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
export default [];
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
> **Note:** The file can be empty initially, but later you will need to populate layout variants the same way you do for sections.
|
|
16
|
+
|
|
3
17
|
## 3.2.1 to 3.3.0
|
|
4
18
|
|
|
5
19
|
### Custom layout settings support
|