@sc-360-v2/storefront-cms-library 0.1.95 → 0.1.97
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/amount-estimator.scss +6 -0
- package/dist/builder.js +1 -1
- package/dist/bulk-variant-picker.scss +47 -143
- package/dist/container.scss +9 -0
- package/dist/editor-core.scss +97 -8
- package/dist/functions.js +1 -1
- package/dist/gallery-slider-temp.scss +8 -8
- package/dist/globals.scss +94 -94
- package/dist/grid.scss +20 -2
- package/dist/image-temp.scss +1 -1
- package/dist/payment-methods.scss +6 -1
- package/dist/pickup-locations.scss +6 -0
- package/dist/product-actions.scss +26 -2
- package/dist/product-basic-elements.scss +37 -6
- package/dist/product-highlights.scss +6 -0
- package/dist/product-image.scss +6 -1
- package/dist/product-inventory.scss +12 -3
- package/dist/product-price.scss +28 -24
- package/dist/product-promotions.scss +6 -0
- package/dist/product.scss +17 -3
- package/dist/productDetails.scss +28 -0
- package/dist/quantity-selector.scss +6 -0
- package/dist/repeater-item.scss +1 -0
- package/dist/repeater.scss +14 -7
- package/dist/section.scss +16 -0
- package/dist/shipping-estimator.scss +6 -0
- package/dist/stack.scss +1 -0
- package/dist/store-locations.scss +6 -0
- package/dist/types/builder/tools/element-edit/volumePricing.d.ts +166 -14
- package/dist/types/helper/helper-functions.d.ts +1 -0
- package/dist/uom-selector.scss +6 -0
- package/dist/variable.scss +9 -1
- package/dist/variant-picker.scss +48 -143
- package/dist/volume-pricing.scss +6 -1
- package/dist/widget.scss +1 -0
- package/package.json +1 -1
package/dist/variant-picker.scss
CHANGED
|
@@ -24,6 +24,12 @@
|
|
|
24
24
|
&[data-show-shadow="false"] {
|
|
25
25
|
--_show-shadow: none;
|
|
26
26
|
}
|
|
27
|
+
.text-element {
|
|
28
|
+
background: #6d96e4;
|
|
29
|
+
padding: 10px;
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
color: rgba(75, 69, 70, 1);
|
|
32
|
+
}
|
|
27
33
|
.variant__container {
|
|
28
34
|
display: flex;
|
|
29
35
|
flex-direction: column;
|
|
@@ -296,171 +302,70 @@
|
|
|
296
302
|
}
|
|
297
303
|
}
|
|
298
304
|
//Dropdown
|
|
299
|
-
.
|
|
305
|
+
.est__dropdown__main {
|
|
300
306
|
position: relative;
|
|
301
|
-
|
|
302
|
-
|
|
307
|
+
width: 100%;
|
|
308
|
+
margin-top: 10px;
|
|
303
309
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
background-color: transparent;
|
|
310
|
-
}
|
|
310
|
+
label {
|
|
311
|
+
font-size: 14px;
|
|
312
|
+
color: var(--_gray-700);
|
|
313
|
+
margin-bottom: 8px;
|
|
314
|
+
display: block;
|
|
311
315
|
}
|
|
312
316
|
|
|
313
|
-
.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
font-weight: 500;
|
|
318
|
-
color: var(--_gray-900);
|
|
319
|
-
&::placeholder {
|
|
320
|
-
color: var(--_gray-500);
|
|
321
|
-
}
|
|
322
|
-
.selected__text {
|
|
323
|
-
margin-top: -2px;
|
|
324
|
-
}
|
|
325
|
-
&.updated__values {
|
|
326
|
-
background-color: var();
|
|
327
|
-
}
|
|
328
|
-
}
|
|
317
|
+
.est__dropdown {
|
|
318
|
+
cursor: pointer;
|
|
319
|
+
position: relative;
|
|
320
|
+
color: var(--_gray-700);
|
|
329
321
|
|
|
330
|
-
.dropdown__header {
|
|
331
322
|
border-radius: 6px;
|
|
332
|
-
border: 1px solid var(--_gray-300);
|
|
333
|
-
height: 40px;
|
|
334
|
-
// line-height: 40px;
|
|
335
323
|
background-color: #fff;
|
|
336
|
-
padding: 0 8px 0 14px;
|
|
337
324
|
display: flex;
|
|
338
|
-
align-items: center;
|
|
339
325
|
justify-content: space-between;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
&.remove__radius {
|
|
345
|
-
border-radius: 0;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
&.pl__0 {
|
|
349
|
-
padding-left: 0px;
|
|
350
|
-
}
|
|
351
|
-
&.primary__btn {
|
|
352
|
-
background-color: var(--_primary-500);
|
|
353
|
-
color: var(--_base-white);
|
|
354
|
-
.selected__value {
|
|
355
|
-
color: var(--_base-white);
|
|
356
|
-
}
|
|
357
|
-
svg {
|
|
358
|
-
width: var(--_width-20);
|
|
359
|
-
height: var(--height-20);
|
|
360
|
-
path {
|
|
361
|
-
stroke: var(--_base-white);
|
|
362
|
-
}
|
|
363
|
-
}
|
|
326
|
+
align-items: center;
|
|
327
|
+
width: 100%;
|
|
328
|
+
.value__selected {
|
|
329
|
+
width: 100%;
|
|
364
330
|
}
|
|
365
331
|
|
|
366
|
-
.
|
|
367
|
-
|
|
368
|
-
margin-top: var(--_mt-3);
|
|
369
|
-
margin-left: -3px;
|
|
370
|
-
margin-top: 2px;
|
|
371
|
-
&[data-attr="chevron-down"] {
|
|
372
|
-
margin-top: -3px;
|
|
373
|
-
svg {
|
|
374
|
-
width: var(--_width-18);
|
|
375
|
-
height: var(--height-18);
|
|
376
|
-
path {
|
|
377
|
-
stroke: var(--_gray-700);
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
svg {
|
|
382
|
-
width: var(--_width-20);
|
|
383
|
-
height: var(--_height-20);
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
.close__btn {
|
|
387
|
-
svg {
|
|
388
|
-
width: var(--_width-18);
|
|
389
|
-
height: var(--_height-18);
|
|
390
|
-
}
|
|
332
|
+
&.open .list {
|
|
333
|
+
display: flex;
|
|
391
334
|
}
|
|
392
|
-
}
|
|
393
335
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
gap: var(--_ctm-lt-dn-dy-se-dn-os-sg);
|
|
409
|
-
// box-shadow:
|
|
410
|
-
// 0px 4px 6px -2px rgba(16, 24, 40, 0.03),
|
|
411
|
-
// 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
|
|
412
|
-
padding: var(--_ctm-lt-dn-dy-se-dn-os-pg);
|
|
413
|
-
max-height: 200px;
|
|
414
|
-
overflow-y: auto;
|
|
415
|
-
.no__content {
|
|
416
|
-
padding: 10px;
|
|
417
|
-
text-align: center;
|
|
418
|
-
}
|
|
419
|
-
.dropdown__option {
|
|
420
|
-
padding: var(--_ctm-lt-dn-dy-se-dn-lt-im-pg);
|
|
421
|
-
border-bottom: 1px solid var(--_gray-200);
|
|
422
|
-
display: var(--_d-flex);
|
|
423
|
-
justify-content: var(--_justify-between);
|
|
424
|
-
background-color: var(--_base-white);
|
|
425
|
-
gap: var(--_ctm-lt-dn-dy-se-dn-lt-im-sg);
|
|
426
|
-
&[data-list="true"] {
|
|
427
|
-
pointer-events: none;
|
|
428
|
-
opacity: 0.3;
|
|
429
|
-
// border: 1px solid red;
|
|
430
|
-
}
|
|
431
|
-
span {
|
|
432
|
-
display: inline-block;
|
|
433
|
-
@include restrictToLinesShow(1);
|
|
434
|
-
white-space: normal;
|
|
435
|
-
text-overflow: ellipsis;
|
|
436
|
-
// width: 140px;
|
|
437
|
-
button {
|
|
438
|
-
display: var(--_d-flex);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
336
|
+
.list {
|
|
337
|
+
display: none;
|
|
338
|
+
flex-direction: column;
|
|
339
|
+
border: 1px solid var(--_gray-200);
|
|
340
|
+
border-radius: 6px;
|
|
341
|
+
position: absolute;
|
|
342
|
+
top: 100%;
|
|
343
|
+
left: 0;
|
|
344
|
+
width: 100%;
|
|
345
|
+
background-color: #fff;
|
|
346
|
+
border-radius: 4px;
|
|
347
|
+
z-index: var(--_higher-zIndex);
|
|
348
|
+
max-height: 200px;
|
|
349
|
+
overflow-y: auto;
|
|
441
350
|
|
|
442
|
-
|
|
443
|
-
|
|
351
|
+
&.top {
|
|
352
|
+
bottom: 100%;
|
|
353
|
+
top: auto;
|
|
444
354
|
}
|
|
445
355
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
// font-weight: medium;
|
|
356
|
+
.list__option {
|
|
357
|
+
padding: 12px;
|
|
358
|
+
cursor: pointer;
|
|
450
359
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
}
|
|
360
|
+
&:hover {
|
|
361
|
+
background-color: var(--_primary-25);
|
|
362
|
+
color: var(--_primary-400);
|
|
455
363
|
}
|
|
456
364
|
}
|
|
457
|
-
|
|
458
|
-
&:last-child {
|
|
459
|
-
border-bottom: none;
|
|
460
|
-
}
|
|
461
365
|
}
|
|
462
366
|
}
|
|
463
367
|
}
|
|
368
|
+
|
|
464
369
|
// variant dropdown selection
|
|
465
370
|
.var__drop__selection {
|
|
466
371
|
display: flex;
|
package/dist/volume-pricing.scss
CHANGED
|
@@ -24,7 +24,12 @@
|
|
|
24
24
|
&[data-show-shadow="false"] {
|
|
25
25
|
--_show-shadow: none;
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
.text-element {
|
|
28
|
+
background: #6d96e4;
|
|
29
|
+
padding: 10px;
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
color: rgba(75, 69, 70, 1);
|
|
32
|
+
}
|
|
28
33
|
.volume__container {
|
|
29
34
|
padding: var(--_ctm-lt-pg);
|
|
30
35
|
.stack {
|
package/dist/widget.scss
CHANGED