@spiffcommerce/core 26.12.0 → 26.13.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 +6 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +48 -48
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +356 -312
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
14
14
|
- `Fixed` for any bug fixes.
|
|
15
15
|
- `Security` in case of vulnerabilities.
|
|
16
16
|
|
|
17
|
+
## [26.13.0] - 27-02-2025
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- The selectVariant method of ColorOptionGlobalPropertyHandle objects now has an optional `channel` parameter for color channels.
|
|
22
|
+
|
|
17
23
|
## [26.12.0] - 26-02-2025
|
|
18
24
|
|
|
19
25
|
### Changed
|
package/dist/index.d.ts
CHANGED
|
@@ -1446,7 +1446,7 @@ declare class OptionGlobalPropertyHandle extends GlobalPropertyHandle {
|
|
|
1446
1446
|
* Select a given variant on the option for all shared steps.
|
|
1447
1447
|
* @param variant The variant to select.
|
|
1448
1448
|
*/
|
|
1449
|
-
selectVariant(variant: Variant): Promise<void>;
|
|
1449
|
+
selectVariant(variant: Variant, channel?: number): Promise<void>;
|
|
1450
1450
|
applyGlobalState(targetExperiences?: WorkflowExperience[]): Promise<void>;
|
|
1451
1451
|
private applyVariantSelection;
|
|
1452
1452
|
}
|
|
@@ -1461,7 +1461,7 @@ declare class ColorOptionGlobalPropertyHandle extends OptionGlobalPropertyHandle
|
|
|
1461
1461
|
* Select a given variant on the option for all shared steps.
|
|
1462
1462
|
* @param variant The variant to select.
|
|
1463
1463
|
*/
|
|
1464
|
-
selectVariant(variant: Variant): Promise<void>;
|
|
1464
|
+
selectVariant(variant: Variant, channel?: number): Promise<void>;
|
|
1465
1465
|
applyGlobalState(targetExperiences?: WorkflowExperience[]): Promise<void>;
|
|
1466
1466
|
private applyColorVariant;
|
|
1467
1467
|
/**
|