@ikas/bp-storefront 1.4.0-beta.223 → 1.4.0-beta.225
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.
|
@@ -26,6 +26,11 @@ export declare function initBaseStore(pageType: IkasThemePageType): void;
|
|
|
26
26
|
* metadata translations is used when available; otherwise the visitor stays on the current path
|
|
27
27
|
* (with the current routing prefix swapped for the new one). Query string and hash are preserved.
|
|
28
28
|
*
|
|
29
|
+
* Which one: `setLocalization` backs a country/region picker (`baseStore.localeOptions`, one entry per country;
|
|
30
|
+
* the routing it leads to sets the language and the currency together). `setLanguage` backs a language-only picker
|
|
31
|
+
* (`baseStore.languageOptions`, one entry per routing). Both only switch the routing, so a header needs one of
|
|
32
|
+
* them, not both side by side.
|
|
33
|
+
*
|
|
29
34
|
* @ai-category BaseStore, Store
|
|
30
35
|
*
|
|
31
36
|
* @param baseStore - The base store instance (used to read the current page type for slug
|
|
@@ -64,6 +69,9 @@ export declare function setLocalization(baseStore: BaseStore, localeOption: Ikas
|
|
|
64
69
|
* current path (with the current routing prefix swapped for the new one). Query string and
|
|
65
70
|
* hash are preserved.
|
|
66
71
|
*
|
|
72
|
+
* Which one: see `setLocalization` — a language-only picker uses this, a country/region picker (language and
|
|
73
|
+
* currency together) uses `setLocalization`; a header needs one of them, not both.
|
|
74
|
+
*
|
|
67
75
|
* @ai-category BaseStore, Store
|
|
68
76
|
*
|
|
69
77
|
* @param baseStore - The base store instance (used to read the current page type for slug
|
|
@@ -38,7 +38,6 @@ export declare function IkasComponentRenderer({ id: baseId, components, style, c
|
|
|
38
38
|
};
|
|
39
39
|
style: {
|
|
40
40
|
cssText?: string | null;
|
|
41
|
-
[Symbol.iterator]?: string | number | null | undefined;
|
|
42
41
|
length?: string | number | null | undefined;
|
|
43
42
|
filter?: string | number | null | undefined;
|
|
44
43
|
fill?: string | number | null | undefined;
|
|
@@ -49,7 +49,6 @@ export declare function PayWithIkas({ product, quantity, className, style }: Pay
|
|
|
49
49
|
className: string | undefined;
|
|
50
50
|
style: {
|
|
51
51
|
cssText?: string | null;
|
|
52
|
-
[Symbol.iterator]?: string | number | null | undefined;
|
|
53
52
|
clipPath?: string | number | null | undefined;
|
|
54
53
|
filter?: string | number | null | undefined;
|
|
55
54
|
marker?: string | number | null | undefined;
|