@sc-360-v2/storefront-cms-library 0.5.44 → 0.5.45
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/builder.js +1 -1
- package/dist/fb-dropdown.scss +135 -125
- package/dist/hotspot.scss +375 -109
- package/dist/types/builder/tools/element-edit/createForm.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/faq.d.ts +8 -1
- package/dist/types/builder/tools/element-edit/imageHotspot.d.ts +16 -5
- package/dist/types/builder/tools/element-edit/profile.d.ts +3 -12
- package/dist/types/builder/tools/element-edit/uomSelector.d.ts +5 -0
- package/dist/types/upload-media/types.d.ts +2 -1
- package/dist/uom-selector.scss +60 -2
- package/dist/uploadMedia.js +1 -1
- package/dist/volume-pricing.scss +0 -1
- package/package.json +1 -1
|
@@ -81,8 +81,13 @@ export interface selfDesignInterface {
|
|
|
81
81
|
angle: CMSIBCommonInterface;
|
|
82
82
|
spread: CMSIBCommonInterface;
|
|
83
83
|
blur: CMSIBCommonInterface;
|
|
84
|
+
itemGap: CMSIBCommonInterface;
|
|
84
85
|
};
|
|
85
|
-
|
|
86
|
+
tooltipTextWrapper: {
|
|
87
|
+
selectorKey: string;
|
|
88
|
+
itemGap: CMSIBCommonInterface;
|
|
89
|
+
};
|
|
90
|
+
tooltipText: {
|
|
86
91
|
selectorKey: string;
|
|
87
92
|
font: CMSIBCommonInterface;
|
|
88
93
|
fontSize: CMSIBCommonInterface;
|
|
@@ -107,13 +112,15 @@ export interface selfDesignInterface {
|
|
|
107
112
|
cardLayout: controlInterface;
|
|
108
113
|
productCardStyle: controlInterface;
|
|
109
114
|
};
|
|
110
|
-
|
|
115
|
+
tooltipImage: {
|
|
111
116
|
selectorKey: string;
|
|
112
117
|
cropRatio: CMSIBCommonInterface;
|
|
113
118
|
zoomImage: CMSIBCommonInterface;
|
|
114
119
|
flip: CMSIBCommonInterface;
|
|
115
120
|
rotate: CMSIBCommonInterface;
|
|
116
121
|
backgroundColor: CMSIBCommonInterface;
|
|
122
|
+
imageHeight: CMSIBCommonInterface;
|
|
123
|
+
imageWidth: CMSIBCommonInterface;
|
|
117
124
|
exposure: CMSIBCommonInterface;
|
|
118
125
|
contrast: CMSIBCommonInterface;
|
|
119
126
|
saturation: CMSIBCommonInterface;
|
|
@@ -147,9 +154,13 @@ export declare enum SelectorKeysEnum {
|
|
|
147
154
|
HOTSPOT_IMAGE_STYLE = "hotSpotStyle",
|
|
148
155
|
HOTSPOT_STYLE = "hotspotStyle",
|
|
149
156
|
TOOL_TIP_DESIGN = "tooltipDesign",
|
|
150
|
-
|
|
157
|
+
TOOL_TIP_TEXT_WRAPPER = "tooltipTextWrapper",
|
|
158
|
+
TOOL_TIP_TEXT = "tooltipText",
|
|
151
159
|
TOOL_TIP_PRODUCT_DESIGN = "tooltipProductDesign",
|
|
152
|
-
|
|
160
|
+
TOOL_TIP_IMAGE = "tooltipImage",
|
|
161
|
+
TOOL_TIP_BUTTON = "tooltipButton",
|
|
162
|
+
DEFAULT_STATE = "defaultState",
|
|
163
|
+
HOVER_STATE = "hoverState"
|
|
153
164
|
}
|
|
154
|
-
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
165
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface & any>;
|
|
155
166
|
export {};
|
|
@@ -50,6 +50,9 @@ export interface selfDesignInterface {
|
|
|
50
50
|
dropdownItemsContainer: {
|
|
51
51
|
selectorKey: string;
|
|
52
52
|
[key: string]: any;
|
|
53
|
+
showIcon?: CMSIBCommonInterface;
|
|
54
|
+
iconColor?: CMSIBCommonInterface;
|
|
55
|
+
iconSize?: CMSIBCommonInterface;
|
|
53
56
|
};
|
|
54
57
|
profileWidget: {
|
|
55
58
|
selectorKey: string;
|
|
@@ -106,17 +109,6 @@ export interface selfDesignInterface {
|
|
|
106
109
|
selectorKey: string;
|
|
107
110
|
[key: string]: any;
|
|
108
111
|
};
|
|
109
|
-
icon: {
|
|
110
|
-
selectorKey: string;
|
|
111
|
-
defaultState: {
|
|
112
|
-
selectorKey: string;
|
|
113
|
-
[key: string]: any;
|
|
114
|
-
};
|
|
115
|
-
hoverState: {
|
|
116
|
-
selectorKey: string;
|
|
117
|
-
[key: string]: any;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
112
|
}
|
|
121
113
|
export declare enum profileSelectorKeysEnum {
|
|
122
114
|
LAYOUT = "layout",
|
|
@@ -133,7 +125,6 @@ export declare enum profileSelectorKeysEnum {
|
|
|
133
125
|
DROPDOWN_CONTAINER_STYLE = "dropdownContainerStyle",
|
|
134
126
|
EXPAND_ICON = "expandIcon",
|
|
135
127
|
COLLAPSE_ICON = "collapseIcon",
|
|
136
|
-
ICON = "icon",
|
|
137
128
|
DEFAULT_STATE = "defaultState",
|
|
138
129
|
HOVER_STATE = "hoverState"
|
|
139
130
|
}
|
|
@@ -33,6 +33,10 @@ interface selfDesignInterface {
|
|
|
33
33
|
selectorKey: string;
|
|
34
34
|
[key: string]: any;
|
|
35
35
|
};
|
|
36
|
+
label: {
|
|
37
|
+
selectorKey: string;
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
36
40
|
uomTitleStyle: {
|
|
37
41
|
selectorKey: string;
|
|
38
42
|
[key: string]: any;
|
|
@@ -128,6 +132,7 @@ export declare enum SelectorKeysEnum {
|
|
|
128
132
|
CONTENT = "content",
|
|
129
133
|
DESIGN = "design",
|
|
130
134
|
DATA_CONNECTOR = "dataConnector",
|
|
135
|
+
LABEL = "label",
|
|
131
136
|
ITEM_STYLE = "itemStyle",
|
|
132
137
|
UOM_TITLE_STYLE = "uomTitleStyle",
|
|
133
138
|
UOM_CONVERSION_STYLE = "uomConversionStyle",
|
|
@@ -99,7 +99,7 @@ export interface UploadMediaLabels {
|
|
|
99
99
|
maxResolutionError: string;
|
|
100
100
|
resolutionRangeError: string;
|
|
101
101
|
}
|
|
102
|
-
export type UploadMediaType = "images" | "image" | "doc" | "all";
|
|
102
|
+
export type UploadMediaType = "images" | "image" | "video" | "doc" | "all";
|
|
103
103
|
export interface UploadMediaProps {
|
|
104
104
|
api: UploadMediaAPI;
|
|
105
105
|
onUploadComplete: (images: UploadResult[]) => void;
|
|
@@ -166,6 +166,7 @@ export interface UploadFileInfo {
|
|
|
166
166
|
width: number;
|
|
167
167
|
height: number;
|
|
168
168
|
} | null;
|
|
169
|
+
thumbnailUrl?: string;
|
|
169
170
|
}
|
|
170
171
|
export interface SelectedAsset {
|
|
171
172
|
id: string;
|
package/dist/uom-selector.scss
CHANGED
|
@@ -75,8 +75,66 @@
|
|
|
75
75
|
margin-bottom: 6px;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
.meta_text_element {
|
|
79
|
+
display: block;
|
|
80
|
+
background-color: var(
|
|
81
|
+
--_ctm-mob-dn-ll-bd-cr,
|
|
82
|
+
var(--_ctm-tab-dn-ll-bd-cr, var(--_ctm-dn-ll-bd-cr))
|
|
83
|
+
);
|
|
84
|
+
color: var(--_ctm-mob-dn-ll-cr, var(--_ctm-tab-dn-ll-cr, var(--_ctm-dn-ll-cr)));
|
|
85
|
+
font-family: var(
|
|
86
|
+
--_ctm-mob-dn-ll-ft-fy,
|
|
87
|
+
var(--_ctm-tab-dn-ll-ft-fy, var(--_ctm-dn-ll-ft-fy))
|
|
88
|
+
);
|
|
89
|
+
font-size: var(--_ctm-mob-dn-ll-ft-se, var(--_ctm-tab-dn-ll-ft-se, var(--_ctm-dn-ll-ft-se)));
|
|
90
|
+
font-weight: var(
|
|
91
|
+
--_ctm-mob-dn-ll-ft-wt,
|
|
92
|
+
var(--_ctm-tab-dn-ll-ft-wt, var(--_ctm-dn-ll-ft-wt))
|
|
93
|
+
);
|
|
94
|
+
font-style: var(
|
|
95
|
+
--_ctm-mob-dn-ll-ft-se-ic,
|
|
96
|
+
var(--_ctm-tab-dn-ll-ft-se-ic, var(--_ctm-dn-ll-ft-se-ic))
|
|
97
|
+
);
|
|
98
|
+
text-align: var(--_ctm-mob-dn-ll-tt-an, var(--_ctm-tab-dn-ll-tt-an, var(--_ctm-dn-ll-tt-an)));
|
|
99
|
+
letter-spacing: var(
|
|
100
|
+
--_ctm-mob-dn-ll-lr-sg,
|
|
101
|
+
var(--_ctm-tab-dn-ll-lr-sg, var(--_ctm-dn-ll-lr-sg))
|
|
102
|
+
);
|
|
103
|
+
line-height: var(
|
|
104
|
+
--_ctm-mob-dn-ll-le-ht,
|
|
105
|
+
var(--_ctm-tab-dn-ll-le-ht, var(--_ctm-dn-ll-le-ht))
|
|
106
|
+
);
|
|
107
|
+
text-decoration: var(--_ctm-mob-dn-ll-ue, var(--_ctm-tab-dn-ll-ue, var(--_ctm-dn-ll-ue)));
|
|
108
|
+
|
|
109
|
+
border-color: var(
|
|
110
|
+
--_show-border,
|
|
111
|
+
var(--_ctm-mob-dn-ll-br-cr, var(--_ctm-tab-dn-ll-br-cr, var(--_ctm-dn-ll-br-cr)))
|
|
112
|
+
);
|
|
113
|
+
border-style: var(
|
|
114
|
+
--_show-border,
|
|
115
|
+
var(--_ctm-mob-dn-ll-br-se, var(--_ctm-tab-dn-ll-br-se, var(--_ctm-dn-ll-br-se)))
|
|
116
|
+
);
|
|
117
|
+
border-width: var(
|
|
118
|
+
--_show-border,
|
|
119
|
+
var(--_ctm-mob-dn-ll-br-wh, var(--_ctm-tab-dn-ll-br-wh, var(--_ctm-dn-ll-br-wh)))
|
|
120
|
+
);
|
|
121
|
+
border-radius: var(
|
|
122
|
+
--_ctm-mob-dn-ll-br-rs,
|
|
123
|
+
var(--_ctm-tab-dn-ll-br-rs, var(--_ctm-dn-ll-br-rs))
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
box-shadow: var(
|
|
127
|
+
--_show-shadow,
|
|
128
|
+
var(--_ctm-mob-dn-ll-sw-ae, var(--_ctm-tab-dn-ll-sw-ae, var(--_ctm-dn-ll-sw-ae)))
|
|
129
|
+
var(--_ctm-mob-dn-ll-sw-br, var(--_ctm-tab-dn-ll-sw-br, var(--_ctm-dn-ll-sw-br)))
|
|
130
|
+
var(--_ctm-mob-dn-ll-sw-sd, var(--_ctm-tab-dn-ll-sw-sd, var(--_ctm-dn-ll-sw-sd)))
|
|
131
|
+
var(--_ctm-mob-dn-ll-sw-cr, var(--_ctm-tab-dn-ll-sw-cr, var(--_ctm-dn-ll-sw-cr)))
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
padding: var(--_ctm-mob-dn-ll-pg, var(--_ctm-tab-dn-ll-pg, var(--_ctm-dn-ll-pg)));
|
|
135
|
+
}
|
|
136
|
+
|
|
78
137
|
.uom__selector {
|
|
79
|
-
padding: 10px;
|
|
80
138
|
width: 100%;
|
|
81
139
|
// height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
82
140
|
.uom__container {
|
|
@@ -748,7 +806,7 @@
|
|
|
748
806
|
flex-wrap: nowrap;
|
|
749
807
|
// overflow-x: auto;
|
|
750
808
|
.item {
|
|
751
|
-
min-width:
|
|
809
|
+
min-width: 3uom__selector0px;
|
|
752
810
|
}
|
|
753
811
|
}
|
|
754
812
|
&[data-overflow-items="None"] {
|