@lightspeed/crane-api 2.4.0-rc.0 → 2.4.1-rc.0
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 +13 -1
- package/dist/index.d.mts +1863 -144
- package/dist/index.d.ts +1863 -144
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 2.4.
|
|
3
|
+
## 2.4.1 - 2026-06-04
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Support ContentEditorDefaultsUnion class for content editor in un-nested deck settings
|
|
8
|
+
|
|
9
|
+
## 2.4.0 - 2026-06-03
|
|
4
10
|
|
|
5
11
|
### Added
|
|
6
12
|
|
|
7
13
|
- add composables `useCurrentLanguage`, `useBackgroundStyle`, `useButtonStyles` and utilities `createTextStyle`, `getColorHex`, `isColorDark`, `getContrastTextColor`, `getBackgroundStyle`
|
|
8
14
|
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Fix Product/category selector composables incorrect handling of the migration case, where a section was saved before the schema declared the selector. `useProductSelectorElementContent` now defaults `selectionType` to `ALL` (not `MANUAL`) when no content is saved for the slot, and both selector composables compute `hasContent` from the resolved item list so empty-state checks reflect what is actually rendered. Legacy single-product (`{product: {id}}`) and pre-`selectionType` (`{products: {productIds: [...]}}`) shapes continue to behave as `MANUAL`.
|
|
18
|
+
- Support nested DECK defaults in showcase configuration; validate nested deck card setting keys recursively.
|
|
19
|
+
- Add visible to transformed text, image, and logo design default types.
|
|
20
|
+
|
|
9
21
|
## 2.3.2 - 2026-05-21
|
|
10
22
|
|
|
11
23
|
### Added
|