@sc-360-v2/storefront-cms-library 0.2.62 → 0.2.63
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/README.md +12 -12
- package/dist/builder.js +1 -1
- package/dist/form-preview.scss +112 -0
- package/dist/globals.scss +94 -94
- package/dist/login.scss +496 -504
- package/dist/types/builder/elements/category-details/index.d.ts +2 -0
- package/dist/types/builder/elements/code/index.d.ts +2 -0
- package/dist/types/builder/elements/common.d.ts +2 -0
- package/dist/types/builder/elements/container/index.d.ts +2 -0
- package/dist/types/builder/elements/embed/index.d.ts +2 -0
- package/dist/types/builder/elements/grid/index.d.ts +2 -0
- package/dist/types/builder/elements/layouter/index.d.ts +2 -0
- package/dist/types/builder/elements/layouter-item/index.d.ts +2 -0
- package/dist/types/builder/elements/light-box-v2/index.d.ts +2 -0
- package/dist/types/builder/elements/lightbox/index.d.ts +2 -0
- package/dist/types/builder/elements/productDetails/index.d.ts +2 -0
- package/dist/types/builder/elements/repeater/index.d.ts +4 -0
- package/dist/types/builder/elements/section/index.d.ts +1 -0
- package/dist/types/builder/elements/stack/index.d.ts +2 -0
- package/dist/types/builder/enums/index.d.ts +20 -0
- package/dist/types/builder/tools/element-edit/contactUs.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/productOptions.d.ts +15 -1
- package/dist/types/builder/tools/element-edit/repeater.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/search.d.ts +2 -1
- package/dist/widget.scss +1 -0
- package/package.json +1 -1
|
@@ -40,6 +40,8 @@ export interface RepeaterElementInterface {
|
|
|
40
40
|
childIds: any[];
|
|
41
41
|
previewImage?: string;
|
|
42
42
|
isMaximized?: boolean;
|
|
43
|
+
parentKey?: any;
|
|
44
|
+
childIdsV2?: any[];
|
|
43
45
|
}
|
|
44
46
|
export interface RepeaterItemElementAttributes {
|
|
45
47
|
id?: string | number;
|
|
@@ -55,6 +57,8 @@ export interface RepeaterItemElementAttributes {
|
|
|
55
57
|
children: any;
|
|
56
58
|
childIds: any[];
|
|
57
59
|
previewImage?: string;
|
|
60
|
+
parentKey?: any;
|
|
61
|
+
childIdsV2?: any[];
|
|
58
62
|
}
|
|
59
63
|
export interface CMSRepeaterChildrenContainer {
|
|
60
64
|
[key: string]: RepeaterItemElementAttributes;
|
|
@@ -168,6 +168,20 @@ export declare enum CMSStackDisplayTypeEnum {
|
|
|
168
168
|
HORIZONTAL = "horizontal",
|
|
169
169
|
VERTICAL = "vertical"
|
|
170
170
|
}
|
|
171
|
+
export declare enum FontWeightEnum {
|
|
172
|
+
THIN = 100,
|
|
173
|
+
EXTRA_LIGHT = 200,
|
|
174
|
+
LIGHT = 300,
|
|
175
|
+
REGULAR = 400,
|
|
176
|
+
MEDIUM = 500,
|
|
177
|
+
SEMI_BOLD = 600,
|
|
178
|
+
BOLD_NUMERIC = "bold",
|
|
179
|
+
EXTRA_BOLD = 800,
|
|
180
|
+
BLACK = 900,
|
|
181
|
+
NORMAL = "normal",
|
|
182
|
+
BOLDER = "bolder",
|
|
183
|
+
LIGHTER = "lighter"
|
|
184
|
+
}
|
|
171
185
|
export declare const CMSElementsListEnum: {
|
|
172
186
|
BUTTON: string;
|
|
173
187
|
BUTTON_THEME: string;
|
|
@@ -255,8 +269,10 @@ export declare const CMSElementsListEnum: {
|
|
|
255
269
|
CONTACTUS: string;
|
|
256
270
|
LOGIN: string;
|
|
257
271
|
RESET_PASSWORD: string;
|
|
272
|
+
FORGOT_PASSWORD: string;
|
|
258
273
|
BREADCRUMBS: string;
|
|
259
274
|
ICON_LIBRARY: string;
|
|
275
|
+
FORM_PREVIEW: string;
|
|
260
276
|
};
|
|
261
277
|
export declare enum CMSResponsiveModeEnums {
|
|
262
278
|
DESKTOP = "desktop",
|
|
@@ -312,3 +328,7 @@ export declare enum CMSCustomEventsListEnums {
|
|
|
312
328
|
UOMSELECTOR = "uomSelectorV1",
|
|
313
329
|
TEXTELEMENTCODEVIEW = "textElementCodeView"
|
|
314
330
|
}
|
|
331
|
+
export declare enum FlexAppVersionEnums {
|
|
332
|
+
NESTEDJSON = 1,
|
|
333
|
+
FLATJSON = 2
|
|
334
|
+
}
|
|
@@ -19,6 +19,7 @@ interface selfLayoutInterface {
|
|
|
19
19
|
optionItemPadding: CMSIBCommonInterface;
|
|
20
20
|
swatchMaxItemsToDisplay: CMSIBCommonInterface;
|
|
21
21
|
swatchOverflowItems: CMSIBCommonInterface;
|
|
22
|
+
swatchImageType: CMSIBCommonInterface;
|
|
22
23
|
singleSelectDisplayValues: CMSIBCommonInterface;
|
|
23
24
|
singleSelectItemSpacing: CMSIBCommonInterface;
|
|
24
25
|
singleSelectItemPadding: CMSIBCommonInterface;
|
|
@@ -31,6 +32,18 @@ interface selfLayoutInterface {
|
|
|
31
32
|
swatchDropdownListItemSpacing: CMSIBCommonInterface;
|
|
32
33
|
swatchDropdownListItemPadding: CMSIBCommonInterface;
|
|
33
34
|
swatchDividerBetweenLIstItems: CMSIBCommonInterface;
|
|
35
|
+
dropdownDisplayStyle: {
|
|
36
|
+
selectorKey: string;
|
|
37
|
+
dropdownOptionsSpacing: CMSIBCommonInterface;
|
|
38
|
+
dropdownOptionsPadding: CMSIBCommonInterface;
|
|
39
|
+
dropdownStyle: CMSIBCommonInterface;
|
|
40
|
+
optionAndListSpacing: CMSIBCommonInterface;
|
|
41
|
+
dropdownListItemSpacing: CMSIBCommonInterface;
|
|
42
|
+
dropdownListItemPadding: CMSIBCommonInterface;
|
|
43
|
+
dividerBetweenListItems: CMSIBCommonInterface;
|
|
44
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
45
|
+
overflowItems: CMSIBCommonInterface;
|
|
46
|
+
};
|
|
34
47
|
}
|
|
35
48
|
export interface selfDesignInterface {
|
|
36
49
|
selectorKey: string;
|
|
@@ -63,7 +76,8 @@ export declare enum SelectorKeysEnum {
|
|
|
63
76
|
DEFAULT_STATE = "default",
|
|
64
77
|
SELECTED_STATE = "selected",
|
|
65
78
|
SWATCH_OPTION_VALUE_STYLE = "swatchOptionValueStyle",
|
|
66
|
-
SINGLE_OPTION_VALUE_STYLE = "singleOptionValueStyle"
|
|
79
|
+
SINGLE_OPTION_VALUE_STYLE = "singleOptionValueStyle",
|
|
80
|
+
DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle"
|
|
67
81
|
}
|
|
68
82
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
69
83
|
export {};
|
|
@@ -46,6 +46,7 @@ interface selfLayoutInterface {
|
|
|
46
46
|
autoplayDuration: CMSIBSizeInterface;
|
|
47
47
|
stopOnMouseEnter: CMSIBCommonInterface;
|
|
48
48
|
stopOnInteraction: CMSIBCommonInterface;
|
|
49
|
+
displayAds: CMSIBCommonInterface;
|
|
49
50
|
}
|
|
50
51
|
export interface selfDesignInterface {
|
|
51
52
|
selectorKey: string;
|
|
@@ -53,7 +54,8 @@ export interface selfDesignInterface {
|
|
|
53
54
|
export declare enum selfSelectorKeysEnum {
|
|
54
55
|
LAYOUT = "layout",
|
|
55
56
|
DESIGN = "design",
|
|
56
|
-
DATA_CONNECTOR = "dataConnector"
|
|
57
|
+
DATA_CONNECTOR = "dataConnector",
|
|
58
|
+
CONTENT = "content"
|
|
57
59
|
}
|
|
58
60
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
59
61
|
export {};
|
|
@@ -50,7 +50,8 @@ export declare enum searchSelectorKeysEnum {
|
|
|
50
50
|
SEARCHBAR = "searchBar",
|
|
51
51
|
PLACEHOLDER_TEXT = "placeholderText",
|
|
52
52
|
SEARCH_ICON = "searchIcon",
|
|
53
|
-
MINI_CART_TEXT = "miniSearchText"
|
|
53
|
+
MINI_CART_TEXT = "miniSearchText",
|
|
54
|
+
DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle"
|
|
54
55
|
}
|
|
55
56
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
56
57
|
export {};
|
package/dist/widget.scss
CHANGED