@sc-360-v2/storefront-cms-library 0.5.52 → 0.5.54
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 +442 -467
- package/dist/allocations-quota-details.scss +451 -0
- package/dist/allocations.scss +284 -13
- package/dist/builder.js +1 -1
- package/dist/cart-summary.scss +237 -854
- package/dist/faq.scss +48 -5
- package/dist/hotspot.scss +1 -1
- package/dist/icon-list.scss +19 -1
- package/dist/image-temp.scss +15 -2
- package/dist/language-selector.scss +99 -33
- package/dist/login.scss +49 -9
- package/dist/my-templates.scss +11 -2
- package/dist/my-wishlist.scss +27 -17
- package/dist/order-status.scss +228 -136
- package/dist/profile.scss +44 -19
- package/dist/quota-details.scss +111 -11
- package/dist/repeater-item.scss +34 -22
- package/dist/request-for-quotes.scss +15 -1
- package/dist/types/builder/tools/element-edit/allocationDetails.d.ts +17 -1
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +187 -0
- package/dist/types/builder/tools/element-edit/icon-list.d.ts +22 -0
- package/dist/types/builder/tools/element-edit/iconLibrary.d.ts +7 -1
- package/dist/types/builder/tools/element-edit/imageHotspot.d.ts +0 -1
- package/dist/types/builder/tools/element-edit/language-menu.d.ts +0 -15
- package/dist/types/builder/tools/element-edit/orderStatus.d.ts +320 -187
- package/dist/types/builder/tools/element-edit/userElements.d.ts +197 -7
- package/dist/user-elements.scss +259 -221
- package/package.json +1 -1
package/dist/profile.scss
CHANGED
|
@@ -74,10 +74,6 @@
|
|
|
74
74
|
--_sf-hr-bd-cr,
|
|
75
75
|
var(--_ctm-mob-dn-pe-wt-bd-cr, var(--_ctm-tab-dn-pe-wt-bd-cr, var(--_ctm-dn-pe-wt-bd-cr)))
|
|
76
76
|
);
|
|
77
|
-
border-radius: var(
|
|
78
|
-
--_sf-hr-br-br,
|
|
79
|
-
var(--_ctm-mob-dn-pe-wt-br-rs, var(--_ctm-tab-dn-pe-wt-br-rs, var(--_ctm-dn-pe-wt-br-rs)))
|
|
80
|
-
);
|
|
81
77
|
box-shadow: var(
|
|
82
78
|
--_show-shadow,
|
|
83
79
|
var(--_ctm-mob-dn-pe-wt-sw-ae, var(--_ctm-tab-dn-pe-wt-sw-ae, var(--_ctm-dn-pe-wt-sw-ae)))
|
|
@@ -85,6 +81,10 @@
|
|
|
85
81
|
var(--_ctm-mob-dn-pe-wt-sw-sd, var(--_ctm-tab-dn-pe-wt-sw-sd, var(--_ctm-dn-pe-wt-sw-sd)))
|
|
86
82
|
var(--_ctm-mob-dn-pe-wt-sw-cr, var(--_ctm-tab-dn-pe-wt-sw-cr, var(--_ctm-dn-pe-wt-sw-cr)))
|
|
87
83
|
);
|
|
84
|
+
border-radius: var(
|
|
85
|
+
--_sf-hr-br-br,
|
|
86
|
+
var(--_ctm-mob-dn-pe-wt-br-rs, var(--_ctm-tab-dn-pe-wt-br-rs, var(--_ctm-dn-pe-wt-br-rs)))
|
|
87
|
+
);
|
|
88
88
|
.profile__section {
|
|
89
89
|
position: relative;
|
|
90
90
|
cursor: pointer;
|
|
@@ -320,6 +320,8 @@
|
|
|
320
320
|
padding: prepareMediaVariable(--_ctm-dn-dn-is-cr-pg);
|
|
321
321
|
z-index: 100000;
|
|
322
322
|
overflow: hidden;
|
|
323
|
+
max-height: 200px;
|
|
324
|
+
overflow-y: auto;
|
|
323
325
|
&[data-show-items-container-border="true"] {
|
|
324
326
|
border-color: prepareMediaVariable(--_ctm-dn-dn-is-cr-br-cr);
|
|
325
327
|
border-style: prepareMediaVariable(--_ctm-dn-dn-is-cr-br-se);
|
|
@@ -347,16 +349,18 @@
|
|
|
347
349
|
--_ctm-mob-dn-dn-is-dt-se-bd-cr,
|
|
348
350
|
var(--_ctm-tab-dn-dn-is-dt-se-bd-cr, var(--_ctm-dn-dn-is-dt-se-bd-cr))
|
|
349
351
|
);
|
|
352
|
+
|
|
350
353
|
.icon {
|
|
354
|
+
display: flex;
|
|
355
|
+
align-items: center;
|
|
356
|
+
align-self: prepareMediaVariable(--_ctm-dn-dn-is-dt-se-vl-at);
|
|
357
|
+
|
|
351
358
|
svg {
|
|
352
|
-
width: prepareMediaVariable(--_ctm-dn-dn-is-
|
|
353
|
-
height: prepareMediaVariable(--_ctm-dn-dn-is-
|
|
359
|
+
width: prepareMediaVariable(--_ctm-dn-dn-is-dt-se-in-se);
|
|
360
|
+
height: prepareMediaVariable(--_ctm-dn-dn-is-dt-se-in-se);
|
|
354
361
|
|
|
355
362
|
path {
|
|
356
|
-
stroke:
|
|
357
|
-
--_ctm-mob-dn-dn-is-cr-in-c1,
|
|
358
|
-
var(--_ctm-tab-dn-ed-in-cr, var(--_ctm-dn-dn-is-cr-in-c1))
|
|
359
|
-
);
|
|
363
|
+
stroke: prepareMediaVariable(--_ctm-dn-dn-is-dt-se-in-c1);
|
|
360
364
|
}
|
|
361
365
|
}
|
|
362
366
|
}
|
|
@@ -365,6 +369,7 @@
|
|
|
365
369
|
// color: #1f2937;
|
|
366
370
|
display: flex;
|
|
367
371
|
align-items: center;
|
|
372
|
+
gap: prepareMediaVariable(--_ctm-dn-dn-is-dt-se-in-gp);
|
|
368
373
|
// transition: background 0.2s;
|
|
369
374
|
cursor: pointer;
|
|
370
375
|
&[data-dropdown-items-default-border="true"] {
|
|
@@ -389,10 +394,6 @@
|
|
|
389
394
|
var(--_ctm-tab-dn-dn-is-dt-se-br-wh, var(--_ctm-dn-dn-is-dt-se-br-wh))
|
|
390
395
|
)
|
|
391
396
|
);
|
|
392
|
-
gap: var(
|
|
393
|
-
--_ctm-mob-dn-dn-is-cr-in-gp,
|
|
394
|
-
var(--_ctm-tab-dn-dn-is-cr-in-gp, var(--_ctm-dn-dn-is-cr-in-gp))
|
|
395
|
-
);
|
|
396
397
|
}
|
|
397
398
|
&[data-dropdown-items-default-shadow="true"] {
|
|
398
399
|
box-shadow: var(
|
|
@@ -615,13 +616,37 @@
|
|
|
615
616
|
--_ctm-mob-dn-dn-is-hr-se-ue,
|
|
616
617
|
var(--_ctm-tab-dn-dn-is-hr-se-ue, var(--_ctm-dn-dn-is-hr-se-ue))
|
|
617
618
|
);
|
|
618
|
-
}
|
|
619
619
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
620
|
+
// Hover icon styling falls back to the default state so an item that was
|
|
621
|
+
// never given a hover icon design does not jump on hover.
|
|
622
|
+
gap: prepareMediaVariable(--_ctm-dn-dn-is-hr-se-in-gp, var(--_ctm-dn-dn-is-dt-se-in-gp));
|
|
623
|
+
|
|
624
|
+
.icon {
|
|
625
|
+
align-self: prepareMediaVariable(
|
|
626
|
+
--_ctm-dn-dn-is-hr-se-vl-at,
|
|
627
|
+
var(--_ctm-dn-dn-is-dt-se-vl-at)
|
|
628
|
+
);
|
|
629
|
+
|
|
630
|
+
svg {
|
|
631
|
+
width: prepareMediaVariable(
|
|
632
|
+
--_ctm-dn-dn-is-hr-se-in-se,
|
|
633
|
+
var(--_ctm-dn-dn-is-dt-se-in-se)
|
|
634
|
+
);
|
|
635
|
+
height: prepareMediaVariable(
|
|
636
|
+
--_ctm-dn-dn-is-hr-se-in-se,
|
|
637
|
+
var(--_ctm-dn-dn-is-dt-se-in-se)
|
|
638
|
+
);
|
|
639
|
+
|
|
640
|
+
path {
|
|
641
|
+
stroke: prepareMediaVariable(
|
|
642
|
+
--_ctm-dn-dn-is-hr-se-in-c1,
|
|
643
|
+
var(--_ctm-dn-dn-is-dt-se-in-c1)
|
|
644
|
+
);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
624
648
|
}
|
|
649
|
+
|
|
625
650
|
a {
|
|
626
651
|
display: block;
|
|
627
652
|
}
|
package/dist/quota-details.scss
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
@use "sass:map";
|
|
1
|
+
@use "sass:map";
|
|
2
2
|
@use "sass:list";
|
|
3
|
+
@use "./functions.scss" as *;
|
|
4
|
+
|
|
5
|
+
$overflowSelector: ".flex__overflow";
|
|
3
6
|
|
|
4
7
|
[data-div-type="element"] {
|
|
5
8
|
&[data-element-type="quotaDetails"] {
|
|
@@ -10,12 +13,17 @@
|
|
|
10
13
|
// width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
|
|
11
14
|
// width: 50%;
|
|
12
15
|
// width: var(--_sf-nw-wh, var(--_tst-lt-wh));
|
|
13
|
-
//
|
|
14
|
-
//
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
// Reads the percentage the left/right resize handles write, same as FAQ. Without
|
|
17
|
+
// this the handles (and the Layout > Width input) drag a value nothing consumes.
|
|
18
|
+
width: var(
|
|
19
|
+
--_sf-el-wh-st-mx,
|
|
20
|
+
calc(
|
|
21
|
+
1% * var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl)))
|
|
22
|
+
)
|
|
23
|
+
);
|
|
24
|
+
// Floor for the width above: the two items plus their icons stop reading as a row
|
|
25
|
+
// below this, and dragging past it only produced a squeezed, wrapped box.
|
|
26
|
+
min-width: 300px !important;
|
|
19
27
|
margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
|
|
20
28
|
// aspect-ratio: 1 / var(--_sf-aspect-ratio);
|
|
21
29
|
|
|
@@ -133,6 +141,10 @@
|
|
|
133
141
|
display: flex;
|
|
134
142
|
align-items: center;
|
|
135
143
|
gap: 4px;
|
|
144
|
+
// Flex items default to min-width:auto, so they refuse to shrink below
|
|
145
|
+
// their text width. Narrowing the element used to push this row outside
|
|
146
|
+
// the element box instead of reflowing it inside.
|
|
147
|
+
min-width: 0;
|
|
136
148
|
|
|
137
149
|
.svg_icon {
|
|
138
150
|
display: flex;
|
|
@@ -141,7 +153,10 @@
|
|
|
141
153
|
.quota__left {
|
|
142
154
|
.count {
|
|
143
155
|
// padding-inline: var(--_sf-cd-gp);
|
|
144
|
-
white-space: nowrap
|
|
156
|
+
// No `white-space: nowrap` here: it stopped the text reflowing when the
|
|
157
|
+
// element is narrowed, and it would also defeat the line clamp below,
|
|
158
|
+
// which needs the text to wrap before it can restrict it to N lines.
|
|
159
|
+
min-width: 0;
|
|
145
160
|
color: var(
|
|
146
161
|
--_ctm-mob-dn-qa-lt-cr,
|
|
147
162
|
var(--_ctm-tab-dn-qa-lt-cr, var(--_ctm-dn-qa-lt-cr))
|
|
@@ -178,10 +193,29 @@
|
|
|
178
193
|
--_ctm-mob-dn-qa-lt-ue,
|
|
179
194
|
var(--_ctm-tab-dn-qa-lt-ue, var(--_ctm-dn-qa-lt-ue))
|
|
180
195
|
);
|
|
196
|
+
text-transform: var(
|
|
197
|
+
--_ctm-mob-dn-qa-lt-tt-tm,
|
|
198
|
+
var(--_ctm-tab-dn-qa-lt-tt-tm, var(--_ctm-dn-qa-lt-tt-tm, none))
|
|
199
|
+
);
|
|
200
|
+
word-wrap: var(
|
|
201
|
+
--_ctm-mob-dn-qa-lt-wd-wp,
|
|
202
|
+
var(--_ctm-tab-dn-qa-lt-wd-wp, var(--_ctm-dn-qa-lt-wd-wp, normal))
|
|
203
|
+
);
|
|
204
|
+
word-break: var(
|
|
205
|
+
--_ctm-mob-dn-qa-lt-wd-bk,
|
|
206
|
+
var(--_ctm-tab-dn-qa-lt-wd-bk, var(--_ctm-dn-qa-lt-wd-bk, normal))
|
|
207
|
+
);
|
|
208
|
+
|
|
209
|
+
&#{$overflowSelector} {
|
|
210
|
+
@include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
|
|
211
|
+
}
|
|
181
212
|
}
|
|
182
213
|
.label {
|
|
183
214
|
// padding-inline: var(--_sf-cd-gp);
|
|
184
|
-
white-space: nowrap
|
|
215
|
+
// No `white-space: nowrap` here: it stopped the text reflowing when the
|
|
216
|
+
// element is narrowed, and it would also defeat the line clamp below,
|
|
217
|
+
// which needs the text to wrap before it can restrict it to N lines.
|
|
218
|
+
min-width: 0;
|
|
185
219
|
color: var(
|
|
186
220
|
--_ctm-mob-dn-qa-lt-cr-dc-dc,
|
|
187
221
|
var(--_ctm-tab-dn-qa-lt-cr-dc, var(--_ctm-dn-qa-lt-cr-dc))
|
|
@@ -218,6 +252,22 @@
|
|
|
218
252
|
--_ctm-mob-dn-qa-lt-ue-dc,
|
|
219
253
|
var(--_ctm-tab-dn-qa-lt-ue-dc, var(--_ctm-dn-qa-lt-ue-dc))
|
|
220
254
|
);
|
|
255
|
+
text-transform: var(
|
|
256
|
+
--_ctm-mob-dn-qa-lt-tt-tm-dc,
|
|
257
|
+
var(--_ctm-tab-dn-qa-lt-tt-tm-dc, var(--_ctm-dn-qa-lt-tt-tm-dc, none))
|
|
258
|
+
);
|
|
259
|
+
word-wrap: var(
|
|
260
|
+
--_ctm-mob-dn-qa-lt-wd-wp-dc,
|
|
261
|
+
var(--_ctm-tab-dn-qa-lt-wd-wp-dc, var(--_ctm-dn-qa-lt-wd-wp-dc, normal))
|
|
262
|
+
);
|
|
263
|
+
word-break: var(
|
|
264
|
+
--_ctm-mob-dn-qa-lt-wd-bk-dc,
|
|
265
|
+
var(--_ctm-tab-dn-qa-lt-wd-bk-dc, var(--_ctm-dn-qa-lt-wd-bk-dc, normal))
|
|
266
|
+
);
|
|
267
|
+
|
|
268
|
+
&#{$overflowSelector} {
|
|
269
|
+
@include restrictToLinesShow(#{var(--_sf-line-clamp-desc, 1)});
|
|
270
|
+
}
|
|
221
271
|
}
|
|
222
272
|
.icon {
|
|
223
273
|
display: var(--_sf-show-icon-ff, flex);
|
|
@@ -235,6 +285,12 @@
|
|
|
235
285
|
--_ctm-mob-dn-qa-lt-in-c1,
|
|
236
286
|
var(--_ctm-tab-dn-qa-lt-in-c1, var(--_ctm-dn-qa-lt-in-c1))
|
|
237
287
|
);
|
|
288
|
+
// Overrides the stroke-width presentation attribute baked into the
|
|
289
|
+
// icon markup; 1 keeps the icon as authored when nothing is set.
|
|
290
|
+
stroke-width: var(
|
|
291
|
+
--_ctm-mob-dn-qa-lt-se-wh,
|
|
292
|
+
var(--_ctm-tab-dn-qa-lt-se-wh, var(--_ctm-dn-qa-lt-se-wh, 1))
|
|
293
|
+
);
|
|
238
294
|
}
|
|
239
295
|
}
|
|
240
296
|
}
|
|
@@ -242,7 +298,10 @@
|
|
|
242
298
|
.days__left {
|
|
243
299
|
.count {
|
|
244
300
|
// padding-inline: var(--_sf-cd-gp);
|
|
245
|
-
white-space: nowrap
|
|
301
|
+
// No `white-space: nowrap` here: it stopped the text reflowing when the
|
|
302
|
+
// element is narrowed, and it would also defeat the line clamp below,
|
|
303
|
+
// which needs the text to wrap before it can restrict it to N lines.
|
|
304
|
+
min-width: 0;
|
|
246
305
|
color: var(
|
|
247
306
|
--_ctm-mob-dn-ds-lt-cr,
|
|
248
307
|
var(--_ctm-tab-dn-ds-lt-cr, var(--_ctm-dn-ds-lt-cr))
|
|
@@ -279,10 +338,29 @@
|
|
|
279
338
|
--_ctm-mob-dn-ds-lt-ue,
|
|
280
339
|
var(--_ctm-tab-dn-ds-lt-ue, var(--_ctm-dn-ds-lt-ue))
|
|
281
340
|
);
|
|
341
|
+
text-transform: var(
|
|
342
|
+
--_ctm-mob-dn-ds-lt-tt-tm,
|
|
343
|
+
var(--_ctm-tab-dn-ds-lt-tt-tm, var(--_ctm-dn-ds-lt-tt-tm, none))
|
|
344
|
+
);
|
|
345
|
+
word-wrap: var(
|
|
346
|
+
--_ctm-mob-dn-ds-lt-wd-wp,
|
|
347
|
+
var(--_ctm-tab-dn-ds-lt-wd-wp, var(--_ctm-dn-ds-lt-wd-wp, normal))
|
|
348
|
+
);
|
|
349
|
+
word-break: var(
|
|
350
|
+
--_ctm-mob-dn-ds-lt-wd-bk,
|
|
351
|
+
var(--_ctm-tab-dn-ds-lt-wd-bk, var(--_ctm-dn-ds-lt-wd-bk, normal))
|
|
352
|
+
);
|
|
353
|
+
|
|
354
|
+
&#{$overflowSelector} {
|
|
355
|
+
@include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
|
|
356
|
+
}
|
|
282
357
|
}
|
|
283
358
|
.label {
|
|
284
359
|
// padding-inline: var(--_sf-cd-gp);
|
|
285
|
-
white-space: nowrap
|
|
360
|
+
// No `white-space: nowrap` here: it stopped the text reflowing when the
|
|
361
|
+
// element is narrowed, and it would also defeat the line clamp below,
|
|
362
|
+
// which needs the text to wrap before it can restrict it to N lines.
|
|
363
|
+
min-width: 0;
|
|
286
364
|
color: var(
|
|
287
365
|
--_ctm-mob-dn-ds-lt-cr-dc-dc,
|
|
288
366
|
var(--_ctm-tab-dn-ds-lt-cr-dc, var(--_ctm-dn-ds-lt-cr-dc))
|
|
@@ -319,6 +397,22 @@
|
|
|
319
397
|
--_ctm-mob-dn-ds-lt-ue-dc,
|
|
320
398
|
var(--_ctm-tab-dn-ds-lt-ue-dc, var(--_ctm-dn-ds-lt-ue-dc))
|
|
321
399
|
);
|
|
400
|
+
text-transform: var(
|
|
401
|
+
--_ctm-mob-dn-ds-lt-tt-tm-dc,
|
|
402
|
+
var(--_ctm-tab-dn-ds-lt-tt-tm-dc, var(--_ctm-dn-ds-lt-tt-tm-dc, none))
|
|
403
|
+
);
|
|
404
|
+
word-wrap: var(
|
|
405
|
+
--_ctm-mob-dn-ds-lt-wd-wp-dc,
|
|
406
|
+
var(--_ctm-tab-dn-ds-lt-wd-wp-dc, var(--_ctm-dn-ds-lt-wd-wp-dc, normal))
|
|
407
|
+
);
|
|
408
|
+
word-break: var(
|
|
409
|
+
--_ctm-mob-dn-ds-lt-wd-bk-dc,
|
|
410
|
+
var(--_ctm-tab-dn-ds-lt-wd-bk-dc, var(--_ctm-dn-ds-lt-wd-bk-dc, normal))
|
|
411
|
+
);
|
|
412
|
+
|
|
413
|
+
&#{$overflowSelector} {
|
|
414
|
+
@include restrictToLinesShow(#{var(--_sf-line-clamp-desc, 1)});
|
|
415
|
+
}
|
|
322
416
|
}
|
|
323
417
|
.icon {
|
|
324
418
|
display: var(--_sf-show-icon-ff, flex);
|
|
@@ -336,6 +430,12 @@
|
|
|
336
430
|
--_ctm-mob-dn-ds-lt-in-c1,
|
|
337
431
|
var(--_ctm-tab-dn-ds-lt-in-c1, var(--_ctm-dn-ds-lt-in-c1))
|
|
338
432
|
);
|
|
433
|
+
// Overrides the stroke-width presentation attribute baked into the
|
|
434
|
+
// icon markup; 1 keeps the icon as authored when nothing is set.
|
|
435
|
+
stroke-width: var(
|
|
436
|
+
--_ctm-mob-dn-ds-lt-se-wh,
|
|
437
|
+
var(--_ctm-tab-dn-ds-lt-se-wh, var(--_ctm-dn-ds-lt-se-wh, 1))
|
|
438
|
+
);
|
|
339
439
|
}
|
|
340
440
|
}
|
|
341
441
|
}
|
package/dist/repeater-item.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "sass:map";
|
|
1
|
+
@use "sass:map";
|
|
2
2
|
@use "sass:list";
|
|
3
3
|
@use "./functions.scss" as *;
|
|
4
4
|
|
|
@@ -18,6 +18,13 @@
|
|
|
18
18
|
// inline `min-height: 0px` on the element needs !important to be overridden
|
|
19
19
|
min-height: prepareMediaVariable(--_ctm-repe-lt-mn-ht, 100px) !important;
|
|
20
20
|
|
|
21
|
+
// The item's own Show Shadow switch, which reaches the stylesheet as
|
|
22
|
+
// `data-show-shadow` (RepeaterItem surfaces it — it is a control, so it is not
|
|
23
|
+
// part of the BUILDER attributes that get spread onto the element).
|
|
24
|
+
&[data-show-shadow="false"] {
|
|
25
|
+
--_sf-repe-show-shadow: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
21
28
|
& > div {
|
|
22
29
|
&.wrapper {
|
|
23
30
|
width: 100%;
|
|
@@ -66,30 +73,35 @@
|
|
|
66
73
|
--_ctm-mob-repe-dn-br-wh,
|
|
67
74
|
var(--_ctm-tab-repe-dn-br-wh, var(--_ctm-repe-dn-br-wh))
|
|
68
75
|
);
|
|
76
|
+
// The four shadow variables read `repe-se-*`, but the design section is
|
|
77
|
+
// `design`, so the builder writes `repe-dn-*` (see default-templates.ts). No
|
|
78
|
+
// `repe-se-*` variable is ever defined, which made the whole var() chain
|
|
79
|
+
// invalid at computed-value time and resolved box-shadow to its initial `none`.
|
|
80
|
+
//
|
|
81
|
+
// The gate is `--_sf-repe-show-shadow`, not the shared `--_show-shadow`: the
|
|
82
|
+
// parent Repeater sets that on its own root when its shadow is switched off, and
|
|
83
|
+
// custom properties inherit, so items lost their shadow whenever the repeater's
|
|
84
|
+
// was off. A name of its own keeps the two switches independent. The hover
|
|
85
|
+
// variables that used to head this chain are gone with it — this element has no
|
|
86
|
+
// hover state, so nothing set them and they carried the same leak risk.
|
|
87
|
+
//
|
|
88
|
+
// Per-part fallbacks match repeater.scss: without them a single unset part would
|
|
89
|
+
// invalidate the whole declaration again.
|
|
69
90
|
box-shadow: var(
|
|
70
|
-
--
|
|
71
|
-
var(
|
|
72
|
-
|
|
91
|
+
--_sf-repe-show-shadow,
|
|
92
|
+
var(--_ctm-mob-repe-dn-sw-ae, var(--_ctm-tab-repe-dn-sw-ae, var(--_ctm-repe-dn-sw-ae, 0)))
|
|
93
|
+
var(
|
|
94
|
+
--_ctm-mob-repe-dn-sw-br,
|
|
95
|
+
var(--_ctm-tab-repe-dn-sw-br, var(--_ctm-repe-dn-sw-br, 0))
|
|
96
|
+
)
|
|
97
|
+
var(
|
|
98
|
+
--_ctm-mob-repe-dn-sw-sd,
|
|
99
|
+
var(--_ctm-tab-repe-dn-sw-sd, var(--_ctm-repe-dn-sw-sd, 0))
|
|
100
|
+
)
|
|
73
101
|
var(
|
|
74
|
-
--
|
|
75
|
-
var(
|
|
76
|
-
--_ctm-mob-repe-se-sw-ae,
|
|
77
|
-
var(--_ctm-tab-repe-se-sw-ae, var(--_ctm-repe-se-sw-ae))
|
|
78
|
-
)
|
|
79
|
-
var(
|
|
80
|
-
--_ctm-mob-repe-se-sw-br,
|
|
81
|
-
var(--_ctm-tab-repe-se-sw-br, var(--_ctm-repe-se-sw-br))
|
|
82
|
-
)
|
|
83
|
-
var(
|
|
84
|
-
--_ctm-mob-repe-se-sw-sd,
|
|
85
|
-
var(--_ctm-tab-repe-se-sw-sd, var(--_ctm-repe-se-sw-sd))
|
|
86
|
-
)
|
|
87
|
-
var(
|
|
88
|
-
--_ctm-mob-repe-se-sw-cr,
|
|
89
|
-
var(--_ctm-tab-repe-se-sw-cr, var(--_ctm-repe-se-sw-cr))
|
|
90
|
-
)
|
|
102
|
+
--_ctm-mob-repe-dn-sw-cr,
|
|
103
|
+
var(--_ctm-tab-repe-dn-sw-cr, var(--_ctm-repe-dn-sw-cr, transparent))
|
|
91
104
|
)
|
|
92
|
-
)
|
|
93
105
|
);
|
|
94
106
|
}
|
|
95
107
|
&:is([data-background-type="color"] > *).wrapper {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "sass:map";
|
|
1
|
+
@use "sass:map";
|
|
2
2
|
@use "sass:list";
|
|
3
3
|
@import "./functions.scss";
|
|
4
4
|
$defaultValues: (
|
|
@@ -11,6 +11,20 @@ $defaultValues: (
|
|
|
11
11
|
[data-div-type="element"] {
|
|
12
12
|
&[data-element-type="requestForQuote"] {
|
|
13
13
|
margin: 0;
|
|
14
|
+
// Reads the percentage the right resize handle writes, same as My Templates and
|
|
15
|
+
// My Wishlist. Without it the handle drags a value nothing consumes.
|
|
16
|
+
width: var(
|
|
17
|
+
--_sf-el-wh-st-mx,
|
|
18
|
+
calc(
|
|
19
|
+
1% * var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl)))
|
|
20
|
+
)
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
& > .wrapper {
|
|
24
|
+
// Layout > Padding. The element declares it but nothing read it back — the rule
|
|
25
|
+
// below was commented out and named a variable (`--_lt-pg`) that never existed.
|
|
26
|
+
padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
|
|
27
|
+
}
|
|
14
28
|
// width: var(--_lt-wh);
|
|
15
29
|
// height: var(--_lt-ht);
|
|
16
30
|
// margin: var(--_lt-mn);
|
|
@@ -12,6 +12,15 @@ interface selfLayoutInterface {
|
|
|
12
12
|
value: AlignItemsValue;
|
|
13
13
|
};
|
|
14
14
|
allocationItemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & any;
|
|
15
|
+
allocationsView: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
16
|
+
value: string;
|
|
17
|
+
};
|
|
18
|
+
showAllocationTabs: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
19
|
+
value: boolean;
|
|
20
|
+
};
|
|
21
|
+
showProfileTabs: Pick<CMSIBCommonInterface, "property"> & {
|
|
22
|
+
value: boolean;
|
|
23
|
+
} & any;
|
|
15
24
|
}
|
|
16
25
|
interface selfDesignInterface {
|
|
17
26
|
selectorKey: string;
|
|
@@ -30,7 +39,14 @@ export declare enum SelectorKeysEnum {
|
|
|
30
39
|
GRID_VIEW_CONTROL_STYLE = "gridViewControlStyle",
|
|
31
40
|
BUTTON = "button",
|
|
32
41
|
SELECTED_STATE = "selectedState",
|
|
33
|
-
|
|
42
|
+
HOVER_STATE = "hoverState",
|
|
43
|
+
LAYOUT_STYLE = "layoutStyle",
|
|
44
|
+
SIDEBAR_DESIGN = "sidebarDesign",
|
|
45
|
+
SIDEBAR_CONTAINER = "sidebarContainer",
|
|
46
|
+
SIDEBAR_HEADING = "sidebarHeading",
|
|
47
|
+
PROFILE_ROW = "profileRow",
|
|
48
|
+
PROFILE_TREE_ICON = "profileTreeIcon",
|
|
49
|
+
ALLOCATION_ROW = "allocationRow"
|
|
34
50
|
}
|
|
35
51
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
36
52
|
export {};
|