@sc-360-v2/storefront-cms-library 0.3.2 → 0.3.4
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/dist/breadcrumbs.scss +6 -0
- package/dist/builder.js +1 -1
- package/dist/bundleDetails.scss +45 -20
- package/dist/button copy.scss +275 -0
- package/dist/button.scss +73 -196
- package/dist/checkout.scss +1 -2
- package/dist/dropdownTemplate.scss +11 -0
- package/dist/icon-library.scss +13 -21
- package/dist/layouter-pro-item.scss +38 -0
- package/dist/layouter-pro.scss +50 -0
- package/dist/menu-v2.scss +6 -1
- package/dist/product-actions copy.scss +2783 -0
- package/dist/product-actions.scss +1912 -2640
- package/dist/product-options.scss +335 -228
- package/dist/stack.scss +2 -2
- package/dist/types/builder/tools/element-edit/common.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/filters.d.ts +2 -2
- package/dist/types/builder/tools/element-edit/layouterPro.d.ts +5 -11
- package/dist/types/builder/tools/element-edit/productActions.d.ts +3 -2
- package/dist/types/builder/tools/element-edit/productOptions.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/variantPicker.d.ts +2 -0
- package/dist/types/global/types.d.ts +1 -0
- package/dist/uom-selector.scss +2 -0
- package/dist/variant-picker.scss +556 -849
- package/dist/widget.scss +2 -0
- package/package.json +1 -1
package/dist/stack.scss
CHANGED
|
@@ -34,7 +34,7 @@ body {
|
|
|
34
34
|
// min-width: var(--_sf-sta-nw-wh) !important;
|
|
35
35
|
// min-height: var(--_ctm-sta-lt-ht, 100px) !important;
|
|
36
36
|
min-width: 100px;
|
|
37
|
-
min-height: 100px;
|
|
37
|
+
// min-height: 100px;
|
|
38
38
|
margin: prepareMediaVariable(--_ctm-sta-lt-mn);
|
|
39
39
|
// display: var(--_d-grid);
|
|
40
40
|
background-color: prepareMediaVariable(--_ctm-sta-dn-bd-cr);
|
|
@@ -77,7 +77,7 @@ body {
|
|
|
77
77
|
min-height: 10px;
|
|
78
78
|
}
|
|
79
79
|
&.dnhsc {
|
|
80
|
-
min-height:
|
|
80
|
+
min-height: 25px;
|
|
81
81
|
}
|
|
82
82
|
// height: var(--_ctm-sta-lt-ht, 100px);
|
|
83
83
|
// width: var(--_sf-sta-nw-wh, auto);
|
|
@@ -6,6 +6,7 @@ export interface CMSElementEditPopupLayoutInterface {
|
|
|
6
6
|
[key: string]: CMSIBSizeInterface | any;
|
|
7
7
|
};
|
|
8
8
|
height?: CMSIBSizeInterface;
|
|
9
|
+
minHeight?: CMSIBSizeInterface;
|
|
9
10
|
margin?: CSSPaddingValues;
|
|
10
11
|
padding?: CSSPaddingValues;
|
|
11
12
|
overflowContent?: CMSIBCommonInterface;
|
|
@@ -39,7 +39,7 @@ interface selfDesignInterface {
|
|
|
39
39
|
selectorKey: string;
|
|
40
40
|
[key: string]: any;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
clearAllText: {
|
|
43
43
|
selectorKey: string;
|
|
44
44
|
[key: string]: any;
|
|
45
45
|
};
|
|
@@ -70,7 +70,7 @@ export declare enum SelectorKeysEnum {
|
|
|
70
70
|
CHECKBOX_STYLE = "checkboxStyle",
|
|
71
71
|
CHECKBOX_DEFAULT_STATE = "checkboxDefaultState",
|
|
72
72
|
CHECKBOX_HOVER_STATE = "checkboxHoverState",
|
|
73
|
-
CLEAR_ALL_BUTTON = "
|
|
73
|
+
CLEAR_ALL_BUTTON = "clearAllText",
|
|
74
74
|
CHIP_BUTTON = "chipButton",
|
|
75
75
|
CLEAR_ALL_BUTTON_DEFAULT_STATE = "clearAllButtonDefaultState",
|
|
76
76
|
CLEAR_ALL_BUTTON_HOVER_STATE = "clearAllButtonHoverState",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { AlignItemsValue, JustifyContentValue,
|
|
2
|
-
import { CMSCSSUnitTypesEnums } from "../../enums";
|
|
1
|
+
import { AlignItemsValue, FlexDirectionValue, JustifyContentValue, LayouterProDisplayStyleType } from "../../../../components/global/types";
|
|
3
2
|
import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
|
|
4
3
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
5
4
|
interface selfLayoutInterface {
|
|
6
5
|
selectorKey: string;
|
|
7
6
|
displayStyle: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
8
|
-
value:
|
|
7
|
+
value: LayouterProDisplayStyleType;
|
|
8
|
+
};
|
|
9
|
+
direction?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
10
|
+
value: FlexDirectionValue;
|
|
9
11
|
};
|
|
10
12
|
itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
11
13
|
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
@@ -18,14 +20,6 @@ interface selfLayoutInterface {
|
|
|
18
20
|
isShow: boolean;
|
|
19
21
|
value: string | number | any;
|
|
20
22
|
};
|
|
21
|
-
minColumnWidth: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
22
|
-
value: string | number | any;
|
|
23
|
-
unit: CMSCSSUnitTypesEnums;
|
|
24
|
-
};
|
|
25
|
-
minRowHeight: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
26
|
-
value: string | number | any;
|
|
27
|
-
unit: CMSCSSUnitTypesEnums;
|
|
28
|
-
};
|
|
29
23
|
}
|
|
30
24
|
export interface selfDesignInterface {
|
|
31
25
|
selectorKey: string;
|
|
@@ -16,11 +16,12 @@ export interface ButtonLayoutInterface {
|
|
|
16
16
|
showCompareListAs: CMSIBCommonInterface;
|
|
17
17
|
addToQuote: CMSIBCommonInterface;
|
|
18
18
|
addToOrderTemplate: CMSIBCommonInterface;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
notifyMe: CMSIBCommonInterface;
|
|
20
|
+
download: CMSIBCommonInterface;
|
|
21
21
|
displayStyle: CMSIBCommonInterface;
|
|
22
22
|
itemSpacing: CMSIBCommonInterface;
|
|
23
23
|
maxItemsToDisplay: CMSIBCommonInterface;
|
|
24
|
+
noOfItemsToShow: CMSIBCommonInterface;
|
|
24
25
|
overflowItems: CMSIBCommonInterface;
|
|
25
26
|
openItemsIn: CMSIBCommonInterface;
|
|
26
27
|
addToCartMetaData: CMSIBCommonInterface;
|
|
@@ -77,7 +77,8 @@ export declare enum SelectorKeysEnum {
|
|
|
77
77
|
SELECTED_STATE = "selected",
|
|
78
78
|
SWATCH_OPTION_VALUE_STYLE = "swatchOptionValueStyle",
|
|
79
79
|
SINGLE_OPTION_VALUE_STYLE = "singleOptionValueStyle",
|
|
80
|
-
DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle"
|
|
80
|
+
DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle",
|
|
81
|
+
OPTION_TITLE = "optionTitle"
|
|
81
82
|
}
|
|
82
83
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
83
84
|
export {};
|
|
@@ -21,6 +21,7 @@ interface selfLayoutInterface {
|
|
|
21
21
|
maxItemsToDisplay: CMSIBCommonInterface;
|
|
22
22
|
overflowItems: CMSIBCommonInterface;
|
|
23
23
|
swatchImageType: CMSIBCommonInterface;
|
|
24
|
+
itemSize: CMSIBCommonInterface;
|
|
24
25
|
};
|
|
25
26
|
singleSelectDisplayStyle: {
|
|
26
27
|
selectorKey: string;
|
|
@@ -33,6 +34,7 @@ interface selfLayoutInterface {
|
|
|
33
34
|
itemsPerRow: CMSIBCommonInterface;
|
|
34
35
|
itemContentAlignment: CMSIBCommonInterface;
|
|
35
36
|
overflowDirection: CMSIBCommonInterface;
|
|
37
|
+
itemSize: CMSIBCommonInterface;
|
|
36
38
|
};
|
|
37
39
|
dropdownDisplayStyle: {
|
|
38
40
|
selectorKey: string;
|
|
@@ -41,6 +41,7 @@ export type RepeaterSliderControlTypes = "Arrows & Dots" | "Arrows" | "Dots" | "
|
|
|
41
41
|
export type DeviceVisibilityByOptionsType = "HTML" | "CSS" | "NONE";
|
|
42
42
|
export type CustomEventCallback<T = any> = (data: T) => void;
|
|
43
43
|
export type LayouterDisplayStyleType = "rows" | "columns" | "slider" | "grid";
|
|
44
|
+
export type LayouterProDisplayStyleType = "flex-box" | "grid";
|
|
44
45
|
export type SpotlightDisplayStyleType = "carousel" | "slider";
|
|
45
46
|
export type SpotlightSectionType = "single" | "multi";
|
|
46
47
|
export type SpotlightLineDisplayType = "solid" | "dots";
|
package/dist/uom-selector.scss
CHANGED
|
@@ -75,6 +75,8 @@
|
|
|
75
75
|
height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
76
76
|
.uom__container {
|
|
77
77
|
padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
|
|
78
|
+
height: 100%;
|
|
79
|
+
width: 100%;
|
|
78
80
|
// border: 1px solid rgba(75, 69, 70, 1);
|
|
79
81
|
// border-radius: 20px;
|
|
80
82
|
.stack {
|