@sc-360-v2/storefront-cms-library 0.4.76 → 0.4.78
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/allocationDetails.scss +18 -0
- package/dist/builder.js +1 -1
- package/dist/bulk-order-pad.scss +6 -0
- package/dist/bulk-variant-picker.scss +402 -142
- package/dist/bundle.scss +190 -163
- package/dist/bundleDetails.scss +415 -346
- package/dist/cart-summary.scss +0 -1
- package/dist/cart.scss +5 -0
- package/dist/gallery-slider-temp.scss +3 -0
- package/dist/layouter.scss +4 -16
- package/dist/menu-v2.scss +4 -0
- package/dist/product-image.scss +3 -0
- package/dist/quick-order-pad.scss +596 -0
- package/dist/repeater.scss +4 -16
- package/dist/scroll.scss +224 -222
- package/dist/types/builder/tools/element-edit/bulkVariantPicker.d.ts +0 -13
- package/dist/types/builder/tools/element-edit/bundle.d.ts +5 -0
- package/dist/types/builder/tools/element-edit/bundleDetails.d.ts +90 -1
- package/dist/types/builder/tools/element-edit/cart.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +7 -0
- package/dist/types/builder/tools/element-edit/mega-menu.d.ts +4 -1
- package/dist/types/builder/tools/element-edit/menu_v2.d.ts +4 -1
- package/dist/types/builder/tools/element-edit/product-image.d.ts +7 -0
- package/dist/types/builder/tools/element-edit/scroll.d.ts +0 -42
- package/dist/types/builder/tools/element-edit/userElements.d.ts +19 -7
- package/dist/types/builder/tools/element-edit/variantPicker.d.ts +0 -12
- package/dist/types/global/types.d.ts +1 -0
- package/dist/user-elements.scss +52 -31
- package/dist/variant-picker.scss +404 -179
- package/package.json +1 -1
package/dist/scroll.scss
CHANGED
|
@@ -1,222 +1,224 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
width: var(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
var(--_ctm-mob-dn-sl-cr-sw-
|
|
32
|
-
var(--_ctm-mob-dn-sl-cr-sw-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
var(--_ctm-mob-dn-sl-cr-sw-
|
|
123
|
-
var(--_ctm-mob-dn-sl-cr-sw-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
@use "./functions.scss" as *;
|
|
4
|
+
|
|
5
|
+
$max-items: 20;
|
|
6
|
+
|
|
7
|
+
[data-div-type="element"] {
|
|
8
|
+
&[data-element-type="scroll"] {
|
|
9
|
+
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
10
|
+
width: var(
|
|
11
|
+
--_sf-el-wh-st-mx,
|
|
12
|
+
calc(
|
|
13
|
+
1% * var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl)))
|
|
14
|
+
)
|
|
15
|
+
);
|
|
16
|
+
margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
|
|
17
|
+
aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
18
|
+
|
|
19
|
+
& > .wrapper {
|
|
20
|
+
width: var(--_ctm-mob-lt-wh, var(--_ctm-tab-lt-wh, var(--_ctm-lt-wh)));
|
|
21
|
+
height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
22
|
+
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
white-space: nowrap;
|
|
25
|
+
|
|
26
|
+
&[data-widget-shadow="true"] {
|
|
27
|
+
box-shadow: var(
|
|
28
|
+
--_ctm-mob-dn-sl-cr-sw-ae,
|
|
29
|
+
var(--_ctm-tab-dn-sl-cr-sw-ae, var(--_ctm-dn-sl-cr-sw-ae))
|
|
30
|
+
)
|
|
31
|
+
var(--_ctm-mob-dn-sl-cr-sw-br, var(--_ctm-tab-dn-sl-cr-sw-br, var(--_ctm-dn-sl-cr-sw-br)))
|
|
32
|
+
var(--_ctm-mob-dn-sl-cr-sw-sd, var(--_ctm-tab-dn-sl-cr-sw-sd, var(--_ctm-dn-sl-cr-sw-sd)))
|
|
33
|
+
var(--_ctm-mob-dn-sl-cr-sw-cr, var(--_ctm-tab-dn-sl-cr-sw-cr, var(--_ctm-dn-sl-cr-sw-cr)));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// .scroll__container {
|
|
37
|
+
@for $i from 1 through $max-items {
|
|
38
|
+
.scroll-item[data-index="i#{$i}"] {
|
|
39
|
+
color: prepareMediaVariable(
|
|
40
|
+
--_ctm-dn-i#{$i}-cr,
|
|
41
|
+
#{prepareMediaVariable(--_ctm-dn-i1-cr)}
|
|
42
|
+
);
|
|
43
|
+
font-family: prepareMediaVariable(
|
|
44
|
+
--_ctm-dn-i#{$i}-ft-fy,
|
|
45
|
+
#{prepareMediaVariable(--_ctm-dn-i1-ft-fy)}
|
|
46
|
+
);
|
|
47
|
+
font-size: prepareMediaVariable(
|
|
48
|
+
--_ctm-dn-i#{$i}-ft-se,
|
|
49
|
+
#{prepareMediaVariable(--_ctm-dn-i1-ft-se)}
|
|
50
|
+
);
|
|
51
|
+
font-weight: prepareMediaVariable(
|
|
52
|
+
--_ctm-dn-i#{$i}-ft-wt,
|
|
53
|
+
#{prepareMediaVariable(--_ctm-dn-i1-ft-wt)}
|
|
54
|
+
);
|
|
55
|
+
font-style: prepareMediaVariable(
|
|
56
|
+
--_ctm-dn-i#{$i}-ft-se-ic,
|
|
57
|
+
#{prepareMediaVariable(--_ctm-dn-i1-ft-se-ic)}
|
|
58
|
+
);
|
|
59
|
+
text-align: prepareMediaVariable(
|
|
60
|
+
--_ctm-dn-i#{$i}-tt-an,
|
|
61
|
+
#{prepareMediaVariable(--_ctm-dn-i1-tt-an)}
|
|
62
|
+
);
|
|
63
|
+
letter-spacing: prepareMediaVariable(
|
|
64
|
+
--_ctm-dn-i#{$i}-lr-sg,
|
|
65
|
+
#{prepareMediaVariable(--_ctm-dn-i1-lr-sg)}
|
|
66
|
+
);
|
|
67
|
+
line-height: prepareMediaVariable(
|
|
68
|
+
--_ctm-dn-i#{$i}-le-ht,
|
|
69
|
+
#{prepareMediaVariable(--_ctm-dn-i1-le-ht)}
|
|
70
|
+
);
|
|
71
|
+
text-decoration: prepareMediaVariable(
|
|
72
|
+
--_ctm-dn-i#{$i}-ue,
|
|
73
|
+
#{prepareMediaVariable(--_ctm-dn-i1-ue)}
|
|
74
|
+
);
|
|
75
|
+
margin-left: prepareMediaVariable(
|
|
76
|
+
--_ctm-dn-i#{$i}-lr-sg,
|
|
77
|
+
#{prepareMediaVariable(--_ctm-dn-i1-lr-sg)}
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&[data-pause-on-hover="true"] .scrolling {
|
|
83
|
+
&:hover {
|
|
84
|
+
animation-play-state: paused;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&[data-scroll-direction="leftToRight"] .scrolling {
|
|
89
|
+
animation-direction: normal;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&[data-scroll-direction="rightToLeft"] .scrolling {
|
|
93
|
+
animation-direction: reverse;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&[data-scroll-speed="0.5x"] .scrolling {
|
|
97
|
+
animation-duration: 40s;
|
|
98
|
+
}
|
|
99
|
+
&[data-scroll-speed="1x"] .scrolling {
|
|
100
|
+
animation-duration: 20s;
|
|
101
|
+
}
|
|
102
|
+
&[data-scroll-speed="2x"] .scrolling {
|
|
103
|
+
animation-duration: 10s;
|
|
104
|
+
}
|
|
105
|
+
&[data-scroll-speed="4x"] .scrolling {
|
|
106
|
+
animation-duration: 5s;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&[data-repeat-elements="true"] .scrolling {
|
|
110
|
+
animation-iteration-count: infinite;
|
|
111
|
+
}
|
|
112
|
+
&[data-repeat-elements="false"] .scrolling {
|
|
113
|
+
animation-iteration-count: 1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&[data-widget-shadow="true"] .scroll__container {
|
|
118
|
+
box-shadow: var(
|
|
119
|
+
--_ctm-mob-dn-sl-cr-sw-ae,
|
|
120
|
+
var(--_ctm-tab-dn-sl-cr-sw-ae, var(--_ctm-dn-sl-cr-sw-ae))
|
|
121
|
+
)
|
|
122
|
+
var(--_ctm-mob-dn-sl-cr-sw-br, var(--_ctm-tab-dn-sl-cr-sw-br, var(--_ctm-dn-sl-cr-sw-br)))
|
|
123
|
+
var(--_ctm-mob-dn-sl-cr-sw-sd, var(--_ctm-tab-dn-sl-cr-sw-sd, var(--_ctm-dn-sl-cr-sw-sd)))
|
|
124
|
+
var(--_ctm-mob-dn-sl-cr-sw-cr, var(--_ctm-tab-dn-sl-cr-sw-cr, var(--_ctm-dn-sl-cr-sw-cr)));
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&[data-widget-shadow="false"] .scroll__container {
|
|
128
|
+
box-shadow: none;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&[data-widget-border="true"] {
|
|
132
|
+
.scroll__container {
|
|
133
|
+
border-color: var(
|
|
134
|
+
--_ctm-mob-dn-sl-cr-br-cr,
|
|
135
|
+
var(--_ctm-tab-dn-sl-cr-br-cr, var(--_ctm-dn-sl-cr-br-cr))
|
|
136
|
+
);
|
|
137
|
+
border-style: var(
|
|
138
|
+
--_ctm-mob-dn-sl-cr-br-se,
|
|
139
|
+
var(--_ctm-tab-dn-sl-cr-br-se, var(--_ctm-dn-sl-cr-br-se))
|
|
140
|
+
);
|
|
141
|
+
border-width: var(
|
|
142
|
+
--_ctm-mob-dn-sl-cr-br-wh,
|
|
143
|
+
var(--_ctm-tab-dn-sl-cr-br-wh, var(--_ctm-dn-sl-cr-br-wh))
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.scroll__container {
|
|
149
|
+
width: 100%;
|
|
150
|
+
height: 100%;
|
|
151
|
+
overflow: hidden;
|
|
152
|
+
white-space: nowrap;
|
|
153
|
+
display: flex;
|
|
154
|
+
justify-content: flex-start;
|
|
155
|
+
align-items: center;
|
|
156
|
+
background-color: var(
|
|
157
|
+
--_ctm-mob-dn-sl-cr-bd-cr,
|
|
158
|
+
var(--_ctm-tab-dn-sl-cr-bd-cr, var(--_ctm-dn-sl-cr-bd-cr))
|
|
159
|
+
);
|
|
160
|
+
padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
|
|
161
|
+
border-radius: var(
|
|
162
|
+
--_ctm-mob-dn-sl-cr-br-rs,
|
|
163
|
+
var(--_ctm-tab-dn-sl-cr-br-rs, var(--_ctm-dn-sl-cr-br-rs))
|
|
164
|
+
);
|
|
165
|
+
|
|
166
|
+
.scrolling {
|
|
167
|
+
display: flex;
|
|
168
|
+
flex-direction: row;
|
|
169
|
+
justify-content: flex-start;
|
|
170
|
+
align-items: center;
|
|
171
|
+
flex-shrink: 0;
|
|
172
|
+
gap: var(--_ctm-mob-lt-im-sg, var(--_ctm-tab-lt-im-sg, var(--_ctm-lt-im-sg)));
|
|
173
|
+
padding-right: 10px;
|
|
174
|
+
animation-name: marquee;
|
|
175
|
+
animation-timing-function: linear;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.divider {
|
|
179
|
+
background-color: var(
|
|
180
|
+
--_ctm-mob-dn-dr-se-bd-cr,
|
|
181
|
+
var(--_ctm-tab-dn-dr-se-bd-cr, var(--_ctm-dn-dr-se-bd-cr))
|
|
182
|
+
);
|
|
183
|
+
padding: 3px;
|
|
184
|
+
font-size: var(
|
|
185
|
+
--_ctm-mob-dn-dr-se-se,
|
|
186
|
+
var(--_ctm-tab-dn-dr-se-se, var(--_ctm-dn-dr-se-se))
|
|
187
|
+
);
|
|
188
|
+
color: var(
|
|
189
|
+
--_ctm-mob-dn-dr-se-dr-cr,
|
|
190
|
+
var(--_ctm-tab-dn-dr-se-dr-cr, var(--_ctm-dn-dr-se-dr-cr))
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.icon {
|
|
195
|
+
background-color: var(
|
|
196
|
+
--_ctm-mob-dn-dr-se-bd-cr,
|
|
197
|
+
var(--_ctm-tab-dn-dr-se-bd-cr, var(--_ctm-dn-dr-se-bd-cr))
|
|
198
|
+
);
|
|
199
|
+
padding: 3px;
|
|
200
|
+
|
|
201
|
+
svg {
|
|
202
|
+
width: var(--_ctm-mob-dn-dr-se-se, var(--_ctm-tab-dn-dr-se-se, var(--_ctm-dn-dr-se-se)));
|
|
203
|
+
height: var(--_ctm-mob-dn-dr-se-se, var(--_ctm-tab-dn-dr-se-se, var(--_ctm-dn-dr-se-se)));
|
|
204
|
+
|
|
205
|
+
path {
|
|
206
|
+
stroke: var(
|
|
207
|
+
--_ctm-mob-dn-dr-se-dr-cr,
|
|
208
|
+
var(--_ctm-tab-dn-dr-se-dr-cr, var(--_ctm-dn-dr-se-dr-cr))
|
|
209
|
+
);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@keyframes marquee {
|
|
215
|
+
0% {
|
|
216
|
+
transform: translateX(0);
|
|
217
|
+
}
|
|
218
|
+
100% {
|
|
219
|
+
transform: translateX(var(--_marquee-tx, -50%));
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -34,18 +34,6 @@ interface selfLayoutInterface {
|
|
|
34
34
|
itemContentAlignment: CMSIBCommonInterface;
|
|
35
35
|
overflowDirection: CMSIBCommonInterface;
|
|
36
36
|
};
|
|
37
|
-
dropdownDisplayStyle: {
|
|
38
|
-
selectorKey: string;
|
|
39
|
-
dropdownOptionsSpacing: CMSIBCommonInterface;
|
|
40
|
-
dropdownOptionsPadding: CMSIBCommonInterface;
|
|
41
|
-
dropdownStyle: CMSIBCommonInterface;
|
|
42
|
-
optionAndListSpacing: CMSIBCommonInterface;
|
|
43
|
-
dropdownListItemSpacing: CMSIBCommonInterface;
|
|
44
|
-
dropdownListItemPadding: CMSIBCommonInterface;
|
|
45
|
-
dividerBetweenListItems: CMSIBCommonInterface;
|
|
46
|
-
maxItemsToDisplay: CMSIBCommonInterface;
|
|
47
|
-
overflowItems: CMSIBCommonInterface;
|
|
48
|
-
};
|
|
49
37
|
groupedOptionsDisplayStyle: {
|
|
50
38
|
selectorKey: string;
|
|
51
39
|
groupsDisplayStyle: CMSIBCommonInterface;
|
|
@@ -98,7 +86,6 @@ export declare enum SelectorKeysEnum {
|
|
|
98
86
|
DESIGN = "design",
|
|
99
87
|
SWATFH_TYPE_DISPLAY_STYLE = "swatchTypeDisplayStyle",
|
|
100
88
|
SINGLE_SELECT_DISPLAY_STYLE = "singleSelectDisplayStyle",
|
|
101
|
-
DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle",
|
|
102
89
|
GROUPED_OPTION_DISPLAY_STYLE = "groupedOptionsDisplayStyle",
|
|
103
90
|
MATRIX_DISPLAY_STYLE = "matrixDisplayStyle",
|
|
104
91
|
GROUPED_MATRIX_DISPLAY_STYLE = "groupedMatrixDisplayStyle",
|
|
@@ -240,6 +240,11 @@ export declare const getDefaultData: () => {
|
|
|
240
240
|
selectorKey: SelectorKeysEnum;
|
|
241
241
|
};
|
|
242
242
|
productNameDesign: {
|
|
243
|
+
textTransform: {
|
|
244
|
+
value: string;
|
|
245
|
+
property: string;
|
|
246
|
+
propertyType: CMSElementEditTypes;
|
|
247
|
+
};
|
|
243
248
|
textOverflow: {
|
|
244
249
|
value: boolean;
|
|
245
250
|
property: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CMSElementEditTypes } from "../../enums";
|
|
1
|
+
import { CMSCSSUnitTypesEnums, CMSElementEditTypes } from "../../enums";
|
|
2
2
|
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
3
3
|
import { CMSElementEditPopupInterface } from "./common";
|
|
4
4
|
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
@@ -12,6 +12,10 @@ export declare enum SelectorKeysEnum {
|
|
|
12
12
|
SELECTED_STATE = "selectedState",
|
|
13
13
|
HOVER_STATE = "hoverState",
|
|
14
14
|
BUNDLE_DETAILS_HEADER_DESIGN = "bundleDetailsHeaderDesign",
|
|
15
|
+
HEADER = "header",
|
|
16
|
+
BODY = "body",
|
|
17
|
+
ADD_TO_CART = "addToCart",
|
|
18
|
+
BUNDLE_DETAILS_LAYOUT_DESIGN = "bundleDetailsLayoutDesign",
|
|
15
19
|
BUNDLE_NAME_DESIGN = "bundleNameDesign",
|
|
16
20
|
BUNDLE_DESCRIPTION_DESIGN = "bundleDescriptionDesign",
|
|
17
21
|
CATEGORY_SLIDER_CARD_DESIGN = "categorySliderCardDesign",
|
|
@@ -60,6 +64,75 @@ export declare const getDefaultData: () => {
|
|
|
60
64
|
};
|
|
61
65
|
design: {
|
|
62
66
|
selectorKey: SelectorKeysEnum;
|
|
67
|
+
bundleDetailsLayoutDesign: {
|
|
68
|
+
selectorKey: SelectorKeysEnum;
|
|
69
|
+
header: {
|
|
70
|
+
selectorKey: SelectorKeysEnum;
|
|
71
|
+
padding: any;
|
|
72
|
+
itemGap: {
|
|
73
|
+
value: number;
|
|
74
|
+
unit?: string | number | undefined;
|
|
75
|
+
property?: any;
|
|
76
|
+
propertyType?: any;
|
|
77
|
+
isReadOnly?: boolean | undefined;
|
|
78
|
+
parentRef?: string | undefined;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
body: {
|
|
82
|
+
selectorKey: SelectorKeysEnum;
|
|
83
|
+
padding: any;
|
|
84
|
+
itemGap: {
|
|
85
|
+
value: number;
|
|
86
|
+
unit?: string | number | undefined;
|
|
87
|
+
property?: any;
|
|
88
|
+
propertyType?: any;
|
|
89
|
+
isReadOnly?: boolean | undefined;
|
|
90
|
+
parentRef?: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
dividerColor: {
|
|
93
|
+
value: {
|
|
94
|
+
hex: string;
|
|
95
|
+
rgb: {
|
|
96
|
+
r: string;
|
|
97
|
+
g: string;
|
|
98
|
+
b: string;
|
|
99
|
+
a: number;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
property: string;
|
|
103
|
+
propertyType?: any;
|
|
104
|
+
isReadOnly?: boolean | undefined;
|
|
105
|
+
parentRef?: string | undefined;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
addToCart: {
|
|
109
|
+
selectorKey: SelectorKeysEnum;
|
|
110
|
+
padding: any;
|
|
111
|
+
itemGap: {
|
|
112
|
+
value: number;
|
|
113
|
+
unit?: string | number | undefined;
|
|
114
|
+
property?: any;
|
|
115
|
+
propertyType?: any;
|
|
116
|
+
isReadOnly?: boolean | undefined;
|
|
117
|
+
parentRef?: string | undefined;
|
|
118
|
+
};
|
|
119
|
+
backgroundColor: {
|
|
120
|
+
value: {
|
|
121
|
+
hex: string;
|
|
122
|
+
rgb: {
|
|
123
|
+
r: string;
|
|
124
|
+
g: string;
|
|
125
|
+
b: string;
|
|
126
|
+
a: number;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
property?: any;
|
|
130
|
+
propertyType?: any;
|
|
131
|
+
isReadOnly?: boolean | undefined;
|
|
132
|
+
parentRef?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
63
136
|
bundleDetailsHeaderDesign: {
|
|
64
137
|
selectorKey: SelectorKeysEnum;
|
|
65
138
|
bundleNameDesign: {
|
|
@@ -327,6 +400,22 @@ export declare const getDefaultData: () => {
|
|
|
327
400
|
productPanelDesign: {
|
|
328
401
|
selectorKey: SelectorKeysEnum;
|
|
329
402
|
productNameDesign: {
|
|
403
|
+
textTransform: {
|
|
404
|
+
value: string;
|
|
405
|
+
property: string;
|
|
406
|
+
propertyType: CMSElementEditTypes;
|
|
407
|
+
};
|
|
408
|
+
textOverflow: {
|
|
409
|
+
value: boolean;
|
|
410
|
+
property: string;
|
|
411
|
+
propertyType: CMSElementEditTypes;
|
|
412
|
+
};
|
|
413
|
+
numberOfDisplayedLines: {
|
|
414
|
+
unit: CMSCSSUnitTypesEnums;
|
|
415
|
+
value: number;
|
|
416
|
+
property: string;
|
|
417
|
+
propertyType: CMSElementEditTypes;
|
|
418
|
+
};
|
|
330
419
|
theme: CMSIBCommonInterface;
|
|
331
420
|
font: CMSIBCommonInterface;
|
|
332
421
|
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
|
|
1
|
+
import { CMSIBCommonInterface, CMSIBSizeInterface, CSSPaddingValues } from "../../interfaces/global";
|
|
2
2
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
3
|
interface selfLayoutInterface {
|
|
4
4
|
selectorKey: string;
|
|
@@ -27,6 +27,7 @@ export interface selfDesignInterface {
|
|
|
27
27
|
iconColor: CMSIBCommonInterface;
|
|
28
28
|
icon: CMSIBCommonInterface;
|
|
29
29
|
strokeWidth?: CMSIBCommonInterface | any;
|
|
30
|
+
iconPosition?: CSSPaddingValues;
|
|
30
31
|
};
|
|
31
32
|
miniCartText: {
|
|
32
33
|
selectorKey: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AlignItemsValue, JustifyContentValue } from "../../../../components/global/types";
|
|
1
2
|
import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
|
|
2
3
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
4
|
interface selfLayoutInterface {
|
|
@@ -28,6 +29,12 @@ interface selfLayoutInterface {
|
|
|
28
29
|
sliderAndThumbnailGap: CMSIBSizeInterface;
|
|
29
30
|
thumbnailFitOptions: CMSIBCommonInterface;
|
|
30
31
|
thumbnailObjectPosition: CMSIBCommonInterface;
|
|
32
|
+
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
33
|
+
value: JustifyContentValue;
|
|
34
|
+
};
|
|
35
|
+
alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
36
|
+
value: AlignItemsValue;
|
|
37
|
+
};
|
|
31
38
|
}
|
|
32
39
|
export interface selfDesignInterface {
|
|
33
40
|
selectorKey: string;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
|
|
2
|
-
import { AlignItemsValue, JustifyContentValue, StackDirectionType } from "../../../global/types";
|
|
2
|
+
import { AlignItemsValue, JustifyContentValue, StackDirectionType, SubMenuEntranceType } from "../../../global/types";
|
|
3
3
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
4
4
|
interface selfLayoutInterface {
|
|
5
5
|
selectorKey: string;
|
|
6
6
|
direction: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
7
7
|
value: StackDirectionType;
|
|
8
8
|
};
|
|
9
|
+
submenuTrigger: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
10
|
+
value: SubMenuEntranceType;
|
|
11
|
+
};
|
|
9
12
|
itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
10
13
|
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
11
14
|
value: JustifyContentValue;
|