@sc-360-v2/storefront-cms-library 0.4.99 → 0.5.1
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/add-existing-form.scss +66 -66
- package/dist/amount-estimator.scss +1083 -1083
- package/dist/animation-control.scss +23 -23
- package/dist/badge.scss +388 -388
- package/dist/brand.scss +93 -93
- package/dist/breadcrumbs.scss +802 -802
- package/dist/builder.js +1 -1
- package/dist/bulk-variant-picker copy.scss +1121 -1121
- package/dist/bundleDetails copy.scss +1431 -1431
- package/dist/button copy.scss +271 -271
- package/dist/buy-for-tab-container.scss +90 -90
- package/dist/buy-for-tabs-container-item.scss +80 -80
- package/dist/cart-products-sidebar.scss +211 -211
- package/dist/cart-wrapper.scss +127 -127
- package/dist/cartGrouping.scss +89 -89
- package/dist/category.scss +73 -73
- package/dist/categoryDetails.scss +61 -61
- package/dist/categoryWidget.scss +34 -34
- package/dist/checkbox-radio.scss +124 -124
- package/dist/code-temp.scss +58 -58
- package/dist/common-element.scss +35 -35
- package/dist/confirmationModal.scss +139 -139
- package/dist/custom-fonts.scss +100 -100
- package/dist/embed-temp.scss +72 -72
- package/dist/embroider-preview-element.scss +94 -94
- package/dist/embroider-template-1.scss +482 -482
- package/dist/emtpy-templates.scss +165 -165
- package/dist/faq.scss +564 -564
- package/dist/fb-dropdown.scss +125 -125
- package/dist/filter-results.scss +323 -323
- package/dist/flex-text-editor.scss +271 -271
- package/dist/form-zindex-module.scss +24 -24
- package/dist/global-styles.scss +86 -86
- package/dist/grid.scss +119 -119
- package/dist/hotspot.scss +397 -397
- package/dist/icon-library.scss +74 -74
- package/dist/image-for-product.scss +21 -21
- package/dist/item-stock.scss +87 -87
- package/dist/layouter-pro.scss +88 -88
- package/dist/light-box-v2.scss +105 -105
- package/dist/lightbox.scss +78 -78
- package/dist/line.scss +166 -166
- package/dist/loader.scss +37 -37
- package/dist/marchandiserSets.scss +60 -60
- package/dist/mega-menu-container.scss +99 -99
- package/dist/menu-item.scss +19 -19
- package/dist/menu.scss +162 -162
- package/dist/my-wishlist.scss +17 -17
- package/dist/option-bar.scss +845 -845
- package/dist/order-processing.scss +61 -61
- package/dist/order-status.scss +46 -16
- package/dist/overflow-module.scss +63 -63
- package/dist/past-orders.scss +975 -975
- package/dist/payment-methods.scss +289 -289
- package/dist/pickup-locations.scss +1167 -1167
- package/dist/position-module.scss +95 -95
- package/dist/prefix-list.scss +86 -86
- package/dist/product-actions copy.scss +2765 -2765
- package/dist/product-customizations.scss +149 -149
- package/dist/product-image copy.scss +787 -787
- package/dist/product-inventory.scss +1378 -1378
- package/dist/product-promotions.scss +2759 -2759
- package/dist/product.scss +97 -97
- package/dist/productDetails.scss +70 -70
- package/dist/quota-details.scss +263 -263
- package/dist/quotes.scss +737 -737
- package/dist/repeater copy.scss +635 -635
- package/dist/responsive-behaviour.scss +29 -29
- package/dist/rfqs.scss +736 -736
- package/dist/search-results-heading.scss +279 -279
- package/dist/shareCartSideBar.scss +254 -254
- package/dist/shipping-estimator.scss +41 -41
- package/dist/simple-list.scss +259 -259
- package/dist/social.scss +276 -276
- package/dist/sort.scss +89 -89
- package/dist/stack.scss +129 -129
- package/dist/static-text.scss +52 -52
- package/dist/stockStatus.scss +64 -64
- package/dist/store-locations.scss +1398 -1398
- package/dist/sub-category.scss +74 -74
- package/dist/submit-quote.scss +275 -275
- package/dist/tab-container-item.scss +80 -80
- package/dist/tab-container.scss +89 -89
- package/dist/tab-v2.scss +583 -583
- package/dist/table-common.scss +506 -506
- package/dist/table.scss +685 -685
- package/dist/tabs.scss +395 -395
- package/dist/text-temp-v2.scss +139 -139
- package/dist/text-temp.scss +109 -109
- package/dist/toaster.scss +350 -350
- package/dist/toggle-button.scss +32 -32
- package/dist/transform-properties-module.scss +20 -20
- package/dist/types/builder/tools/element-edit/addOrder.d.ts +13 -1
- package/dist/types/builder/tools/element-edit/orderStatus.d.ts +190 -15
- package/dist/user-elements copy.scss +1437 -1437
- package/dist/video.scss +476 -476
- package/dist/widget.scss +148 -148
- package/dist/wishlist-overlay.scss +48 -48
- package/package.json +1 -1
package/dist/toggle-button.scss
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
.toggle__button {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 36px;
|
|
4
|
-
height: 20px;
|
|
5
|
-
background-color: #d0d5dd;
|
|
6
|
-
border-radius: 12px;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
|
|
9
|
-
.toggle__slider {
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 2px;
|
|
12
|
-
left: 2px;
|
|
13
|
-
transform: translateY(0%);
|
|
14
|
-
width: 16px;
|
|
15
|
-
height: 16px;
|
|
16
|
-
background-color: #fff;
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
transition: transform 0.3s ease;
|
|
19
|
-
fill: var(--_base-white);
|
|
20
|
-
filter: drop-shadow(0px 1px 2px rgba(16, 24, 40, 0.06))
|
|
21
|
-
drop-shadow(0px 1px 3px rgba(16, 24, 40, 0.1));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.toggle__active {
|
|
25
|
-
background: #132067;
|
|
26
|
-
|
|
27
|
-
.toggle__slider {
|
|
28
|
-
top: 2px;
|
|
29
|
-
transform: translateX(16px);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
.toggle__button {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 36px;
|
|
4
|
+
height: 20px;
|
|
5
|
+
background-color: #d0d5dd;
|
|
6
|
+
border-radius: 12px;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
|
|
9
|
+
.toggle__slider {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 2px;
|
|
12
|
+
left: 2px;
|
|
13
|
+
transform: translateY(0%);
|
|
14
|
+
width: 16px;
|
|
15
|
+
height: 16px;
|
|
16
|
+
background-color: #fff;
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
transition: transform 0.3s ease;
|
|
19
|
+
fill: var(--_base-white);
|
|
20
|
+
filter: drop-shadow(0px 1px 2px rgba(16, 24, 40, 0.06))
|
|
21
|
+
drop-shadow(0px 1px 3px rgba(16, 24, 40, 0.1));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.toggle__active {
|
|
25
|
+
background: #132067;
|
|
26
|
+
|
|
27
|
+
.toggle__slider {
|
|
28
|
+
top: 2px;
|
|
29
|
+
transform: translateX(16px);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
@use "./prefix-list.scss" as *;
|
|
4
|
-
$editorBodySelector: '[data-iframe-body="true"]';
|
|
5
|
-
$sectionWrapper: '[data-div-type="cms-section-wrapper"]';
|
|
6
|
-
$le: '[data-element-type="lightboxv2"]';
|
|
7
|
-
$elementSelector: '[data-div-type="element"]';
|
|
8
|
-
$gridSelector: '[data-div-type="grid"]';
|
|
9
|
-
$var: "--_sf-transform-pr-vl";
|
|
10
|
-
|
|
11
|
-
@mixin FlexElementTransformProps() {
|
|
12
|
-
&:not(#{$editorBodySelector}) {
|
|
13
|
-
:is(#{$sectionWrapper} *, #{$le} *) {
|
|
14
|
-
&:is(#{$gridSelector}, #{$elementSelector}) {
|
|
15
|
-
@include FlexUpdatedPrefixCSSVariable($var, false, transform, none);
|
|
16
|
-
transform: var(#{$var}, none);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
@use "./prefix-list.scss" as *;
|
|
4
|
+
$editorBodySelector: '[data-iframe-body="true"]';
|
|
5
|
+
$sectionWrapper: '[data-div-type="cms-section-wrapper"]';
|
|
6
|
+
$le: '[data-element-type="lightboxv2"]';
|
|
7
|
+
$elementSelector: '[data-div-type="element"]';
|
|
8
|
+
$gridSelector: '[data-div-type="grid"]';
|
|
9
|
+
$var: "--_sf-transform-pr-vl";
|
|
10
|
+
|
|
11
|
+
@mixin FlexElementTransformProps() {
|
|
12
|
+
&:not(#{$editorBodySelector}) {
|
|
13
|
+
:is(#{$sectionWrapper} *, #{$le} *) {
|
|
14
|
+
&:is(#{$gridSelector}, #{$elementSelector}) {
|
|
15
|
+
@include FlexUpdatedPrefixCSSVariable($var, false, transform, none);
|
|
16
|
+
transform: var(#{$var}, none);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -12,6 +12,12 @@ export interface AddOrderLayoutInterface {
|
|
|
12
12
|
alignment: CMSIBCommonInterface;
|
|
13
13
|
buttonType: CMSIBCommonInterface;
|
|
14
14
|
linkTo: CMSIBCommonInterface;
|
|
15
|
+
showQuickOrderPad: CMSIBCommonInterface;
|
|
16
|
+
showBulkOrderPad: CMSIBCommonInterface;
|
|
17
|
+
showEmployeeBulkOrderPad: CMSIBCommonInterface;
|
|
18
|
+
showBuyFor: CMSIBCommonInterface;
|
|
19
|
+
showBuyAs: CMSIBCommonInterface;
|
|
20
|
+
showImports: CMSIBCommonInterface;
|
|
15
21
|
}
|
|
16
22
|
export interface selfDesignInterface {
|
|
17
23
|
selectorKey: string;
|
|
@@ -23,6 +29,12 @@ export declare enum AddOrderSelectorKeysEnum {
|
|
|
23
29
|
DEFAULT_STATE = "default",
|
|
24
30
|
LAYOUT = "layout",
|
|
25
31
|
DESIGN = "design",
|
|
26
|
-
DATA_CONNECTOR = "dataConnector"
|
|
32
|
+
DATA_CONNECTOR = "dataConnector",
|
|
33
|
+
SHOW_QUICK_ORDER_PAD = "showQuickOrderPad",
|
|
34
|
+
SHOW_BULK_ORDER_PAD = "showBulkOrderPad",
|
|
35
|
+
SHOW_EMPLOYEE_BULK_ORDER_PAD = "showEmployeeBulkOrderPad",
|
|
36
|
+
SHOW_BUY_FOR = "showBuyFor",
|
|
37
|
+
SHOW_BUY_AS = "showBuyAs",
|
|
38
|
+
SHOW_IMPORTS = "showImports"
|
|
27
39
|
}
|
|
28
40
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<AddOrderLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
@@ -513,29 +513,204 @@ export declare const getDefaultData: () => {
|
|
|
513
513
|
};
|
|
514
514
|
breakUpDetails: {
|
|
515
515
|
padding: any;
|
|
516
|
-
|
|
517
|
-
value:
|
|
518
|
-
unit: CMSCSSUnitTypesEnums;
|
|
516
|
+
themeDesc: {
|
|
517
|
+
value: string;
|
|
519
518
|
property: string;
|
|
520
519
|
propertyType: CMSElementEditTypes;
|
|
521
520
|
};
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
521
|
+
fontDesc: {
|
|
522
|
+
value: string;
|
|
523
|
+
property: string;
|
|
524
|
+
propertyType: CMSElementEditTypes;
|
|
525
|
+
parentRef: string;
|
|
526
|
+
};
|
|
527
|
+
fontSizeDesc: {
|
|
528
|
+
value: number;
|
|
529
|
+
unit: number;
|
|
530
|
+
property: string;
|
|
531
|
+
propertyType: CMSElementEditTypes;
|
|
532
|
+
parentRef: string;
|
|
533
|
+
};
|
|
534
|
+
textColorDesc: {
|
|
535
|
+
value: {
|
|
536
|
+
hex: string;
|
|
537
|
+
rgb: {
|
|
538
|
+
r: string;
|
|
539
|
+
g: string;
|
|
540
|
+
b: string;
|
|
541
|
+
a: number;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
property: string;
|
|
545
|
+
propertyType: CMSElementEditTypes;
|
|
546
|
+
parentRef: string;
|
|
547
|
+
};
|
|
548
|
+
textHighlightDesc: {
|
|
549
|
+
value: {
|
|
550
|
+
hex: string;
|
|
551
|
+
rgb: {
|
|
552
|
+
r: string;
|
|
553
|
+
g: string;
|
|
554
|
+
b: string;
|
|
555
|
+
a: number;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
property: string;
|
|
559
|
+
propertyType: CMSElementEditTypes;
|
|
560
|
+
};
|
|
561
|
+
boldDesc: {
|
|
562
|
+
value: string;
|
|
563
|
+
property: string;
|
|
564
|
+
propertyType: CMSElementEditTypes;
|
|
565
|
+
parentRef: string;
|
|
566
|
+
};
|
|
567
|
+
italicDesc: {
|
|
568
|
+
value: string;
|
|
569
|
+
property: string;
|
|
570
|
+
propertyType: CMSElementEditTypes;
|
|
571
|
+
parentRef: string;
|
|
572
|
+
};
|
|
573
|
+
linethroughDesc: {
|
|
574
|
+
value: string;
|
|
575
|
+
property: string;
|
|
576
|
+
propertyType: CMSElementEditTypes;
|
|
577
|
+
parentRef: string;
|
|
578
|
+
};
|
|
579
|
+
underlineDesc: {
|
|
580
|
+
value: string;
|
|
581
|
+
property: string;
|
|
582
|
+
propertyType: CMSElementEditTypes;
|
|
583
|
+
parentRef: string;
|
|
584
|
+
};
|
|
585
|
+
textAlignDesc: {
|
|
586
|
+
value: string;
|
|
587
|
+
property: string;
|
|
588
|
+
propertyType: CMSElementEditTypes;
|
|
589
|
+
parentRef: string;
|
|
590
|
+
};
|
|
591
|
+
characterSpacingDesc: {
|
|
592
|
+
value: number;
|
|
593
|
+
unit: number;
|
|
594
|
+
property: string;
|
|
595
|
+
propertyType: CMSElementEditTypes;
|
|
596
|
+
parentRef: string;
|
|
597
|
+
};
|
|
598
|
+
lineHeightDesc: {
|
|
599
|
+
value: number;
|
|
600
|
+
unit: number;
|
|
601
|
+
property: string;
|
|
602
|
+
propertyType: CMSElementEditTypes;
|
|
603
|
+
parentRef: string;
|
|
604
|
+
};
|
|
605
|
+
paragraphSpacingDesc: {
|
|
606
|
+
value: number;
|
|
607
|
+
unit: number;
|
|
608
|
+
property: string;
|
|
609
|
+
propertyType: CMSElementEditTypes;
|
|
610
|
+
parentRef: string;
|
|
611
|
+
};
|
|
612
|
+
theme: {
|
|
613
|
+
value: string;
|
|
614
|
+
property: string;
|
|
615
|
+
propertyType: CMSElementEditTypes;
|
|
616
|
+
};
|
|
617
|
+
font: {
|
|
618
|
+
value: string;
|
|
619
|
+
property: string;
|
|
620
|
+
propertyType: CMSElementEditTypes;
|
|
621
|
+
parentRef: string;
|
|
622
|
+
};
|
|
623
|
+
fontSize: {
|
|
624
|
+
value: number;
|
|
625
|
+
unit: number;
|
|
626
|
+
property: string;
|
|
627
|
+
propertyType: CMSElementEditTypes;
|
|
628
|
+
parentRef: string;
|
|
629
|
+
};
|
|
630
|
+
textColor: {
|
|
631
|
+
value: {
|
|
632
|
+
hex: string;
|
|
633
|
+
rgb: {
|
|
634
|
+
r: string;
|
|
635
|
+
g: string;
|
|
636
|
+
b: string;
|
|
637
|
+
a: number;
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
property: string;
|
|
641
|
+
propertyType: CMSElementEditTypes;
|
|
642
|
+
parentRef: string;
|
|
643
|
+
};
|
|
644
|
+
textHighlight: {
|
|
645
|
+
value: {
|
|
646
|
+
hex: string;
|
|
647
|
+
rgb: {
|
|
648
|
+
r: string;
|
|
649
|
+
g: string;
|
|
650
|
+
b: string;
|
|
651
|
+
a: number;
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
property: string;
|
|
655
|
+
propertyType: CMSElementEditTypes;
|
|
656
|
+
};
|
|
657
|
+
bold: {
|
|
658
|
+
value: string;
|
|
659
|
+
property: string;
|
|
660
|
+
propertyType: CMSElementEditTypes;
|
|
661
|
+
parentRef: string;
|
|
662
|
+
};
|
|
663
|
+
italic: {
|
|
664
|
+
value: string;
|
|
665
|
+
property: string;
|
|
666
|
+
propertyType: CMSElementEditTypes;
|
|
667
|
+
parentRef: string;
|
|
668
|
+
};
|
|
669
|
+
linethrough: {
|
|
670
|
+
value: string;
|
|
671
|
+
property: string;
|
|
672
|
+
propertyType: CMSElementEditTypes;
|
|
673
|
+
parentRef: string;
|
|
674
|
+
};
|
|
675
|
+
underline: {
|
|
676
|
+
value: string;
|
|
677
|
+
property: string;
|
|
678
|
+
propertyType: CMSElementEditTypes;
|
|
679
|
+
parentRef: string;
|
|
680
|
+
};
|
|
681
|
+
textAlign: {
|
|
682
|
+
value: string;
|
|
683
|
+
property: string;
|
|
684
|
+
propertyType: CMSElementEditTypes;
|
|
685
|
+
parentRef: string;
|
|
686
|
+
};
|
|
687
|
+
characterSpacing: {
|
|
688
|
+
value: number;
|
|
689
|
+
unit: number;
|
|
690
|
+
property: string;
|
|
691
|
+
propertyType: CMSElementEditTypes;
|
|
692
|
+
parentRef: string;
|
|
693
|
+
};
|
|
694
|
+
lineHeight: {
|
|
695
|
+
value: number;
|
|
696
|
+
unit: number;
|
|
697
|
+
property: string;
|
|
698
|
+
propertyType: CMSElementEditTypes;
|
|
699
|
+
parentRef: string;
|
|
700
|
+
};
|
|
701
|
+
paragraphSpacing: {
|
|
702
|
+
value: number;
|
|
703
|
+
unit: number;
|
|
704
|
+
property: string;
|
|
705
|
+
propertyType: CMSElementEditTypes;
|
|
706
|
+
parentRef: string;
|
|
707
|
+
};
|
|
534
708
|
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
535
709
|
borderColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
536
710
|
borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
|
|
537
711
|
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
538
712
|
showBorder: import("../../interfaces/global").CMSIBCommonInterface;
|
|
713
|
+
backgroundColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
539
714
|
showShadow: import("../../interfaces/global").CMSIBCommonInterface;
|
|
540
715
|
shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
541
716
|
blur: import("../../interfaces/global").CMSIBSizeInterface;
|