@sc-360-v2/storefront-cms-library 0.1.4 → 0.1.6

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.
Files changed (45) hide show
  1. package/dist/builder.js +1 -1
  2. package/dist/button.scss +75 -34
  3. package/dist/code-temp.scss +58 -0
  4. package/dist/container.scss +17 -0
  5. package/dist/countdown.scss +378 -0
  6. package/dist/editor-core.scss +312 -0
  7. package/dist/embed-temp.scss +58 -0
  8. package/dist/faq.scss +242 -0
  9. package/dist/functions.scss +133 -0
  10. package/dist/gallery-slider-temp.scss +410 -0
  11. package/dist/grid.scss +34 -0
  12. package/dist/hotspot.scss +250 -0
  13. package/dist/image-temp.scss +75 -0
  14. package/dist/map.scss +280 -0
  15. package/dist/pickup-locations.scss +180 -0
  16. package/dist/product-actions.scss +180 -0
  17. package/dist/product-inventory.scss +180 -0
  18. package/dist/product-price.scss +61 -0
  19. package/dist/scroll.scss +157 -0
  20. package/dist/section.scss +60 -0
  21. package/dist/social.scss +166 -0
  22. package/dist/store-locations.scss +180 -0
  23. package/dist/table.scss +373 -0
  24. package/dist/text-temp.scss +58 -0
  25. package/dist/types/builder/elements/amount-estimator/index.d.ts +26 -0
  26. package/dist/types/builder/elements/paymentMethods/index.d.ts +26 -0
  27. package/dist/types/builder/elements/product-promotions/index.d.ts +26 -0
  28. package/dist/types/builder/elements/productHighlights/index.d.ts +26 -0
  29. package/dist/types/builder/elements/quantity-selector/index.d.ts +26 -0
  30. package/dist/types/builder/elements/shippingEstimator/index.d.ts +26 -0
  31. package/dist/types/builder/enums/index.d.ts +2 -1
  32. package/dist/types/builder/index.d.ts +7 -1
  33. package/dist/types/builder/tools/element-edit/amountEstimator.d.ts +40 -0
  34. package/dist/types/builder/tools/element-edit/common.d.ts +3 -0
  35. package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +12 -2
  36. package/dist/types/builder/tools/element-edit/index.d.ts +7 -1
  37. package/dist/types/builder/tools/element-edit/paymentMethods.d.ts +37 -0
  38. package/dist/types/builder/tools/element-edit/productHighlights.d.ts +24 -0
  39. package/dist/types/builder/tools/element-edit/productPromotions.d.ts +39 -0
  40. package/dist/types/builder/tools/element-edit/quantitySelector.d.ts +17 -0
  41. package/dist/types/builder/tools/element-edit/shippingEstimator.d.ts +14 -0
  42. package/dist/video.scss +199 -0
  43. package/dist/volume-pricing.scss +28 -0
  44. package/dist/widget.scss +23 -1
  45. package/package.json +1 -1
@@ -30,12 +30,20 @@ export interface selfDesignInterface {
30
30
  spread: CMSIBCommonInterface;
31
31
  angle: CMSIBCommonInterface;
32
32
  borderRadius: CMSIBCommonInterface;
33
+ [key: string]: any;
33
34
  };
34
- galleryLayout: {
35
+ galleryWidgetLayout: {
35
36
  selectorKey: string;
36
37
  galleryTextAndItemAlignment: CMSIBCommonInterface;
37
38
  galleryTextAndItemSpacing: CMSIBCommonInterface;
38
39
  galleryTitleAndDescriptionSpacing: CMSIBCommonInterface;
40
+ [key: string]: any;
41
+ };
42
+ galleryWidgetTextContainerDesign: {
43
+ [key: string]: any;
44
+ };
45
+ galleryWidgetTextContainerLayout: {
46
+ [key: string]: any;
39
47
  };
40
48
  itemStyle: {
41
49
  selectorKey: string;
@@ -76,7 +84,9 @@ export declare enum SelectorKeysEnum {
76
84
  ITEM_STYLE = "item-style",
77
85
  PAGINATION_ARROWS = "pagination-arrows",
78
86
  PAGINATION_DOTS = "pagination-dots",
79
- PAGINATION_LINE = "pagination-lines"
87
+ PAGINATION_LINE = "pagination-lines",
88
+ MAP_WIDGET_TEXT_CONTAINER_DESIGN = "galleryWidgetTextContainerDesign",
89
+ MAP_WIDGET_TEXT_CONTAINER_LAYOUT = "galleryWidgetTextContainerLayout"
80
90
  }
81
91
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
82
92
  export {};
@@ -25,4 +25,10 @@ import * as volumePricing from "./volumePricing";
25
25
  import * as pickupLocations from "./pickupLocations";
26
26
  import * as storeLocations from "./storeLocations";
27
27
  import * as productInventory from "./productInventory";
28
- export { section, grid, common, image, button, slideShowLayouter, tabs, video, table, gallerySlider, social, faq, code, text, embed, buttonV2, scroll, countdown, imageHotspot, map, container, price, productActions, volumePricing, pickupLocations, storeLocations, productInventory, };
28
+ import * as paymentMethods from "./paymentMethods";
29
+ import * as productHighlights from "./productHighlights";
30
+ import * as shippingEstimator from "./shippingEstimator";
31
+ import * as productPromotions from "./productPromotions";
32
+ import * as amountEstimator from "./amountEstimator";
33
+ import * as quantitySelector from "./quantitySelector";
34
+ export { section, grid, common, image, button, slideShowLayouter, tabs, video, table, gallerySlider, social, faq, code, text, embed, buttonV2, scroll, countdown, imageHotspot, map, container, price, productActions, volumePricing, pickupLocations, storeLocations, productInventory, paymentMethods, productHighlights, shippingEstimator, productPromotions, amountEstimator, quantitySelector, };
@@ -0,0 +1,37 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ displayStyle: CMSIBCommonInterface;
6
+ dividerBetweenItems: CMSIBCommonInterface;
7
+ itemSpacing: CMSIBCommonInterface;
8
+ itemPadding: CMSIBCommonInterface;
9
+ ItemContentAlignment: CMSIBCommonInterface;
10
+ overflowItems: CMSIBCommonInterface;
11
+ maxItemsToDisplay: CMSIBCommonInterface;
12
+ header: CMSIBCommonInterface;
13
+ headerHeight: CMSIBCommonInterface;
14
+ rowHeight: CMSIBCommonInterface;
15
+ headerDivider: CMSIBCommonInterface;
16
+ rowDivider: CMSIBCommonInterface;
17
+ columnDivider: CMSIBCommonInterface;
18
+ alternativeRowColors: CMSIBCommonInterface;
19
+ headerCellPadding: CMSIBCommonInterface;
20
+ rowCellPadding: CMSIBCommonInterface;
21
+ contentAlignment: CMSIBCommonInterface;
22
+ rowsPerPage: CMSIBCommonInterface;
23
+ overflowControl: CMSIBCommonInterface;
24
+ paginationType: CMSIBCommonInterface;
25
+ paginationAliginment: CMSIBCommonInterface;
26
+ displayResults: CMSIBCommonInterface;
27
+ }
28
+ interface selfDesignInterface {
29
+ selectorKey: string;
30
+ }
31
+ export declare enum PaymentMethodSelectorKeysEnum {
32
+ LAYOUT = "layout",
33
+ CONTENT = "content",
34
+ DESIGN = "design"
35
+ }
36
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
37
+ export {};
@@ -0,0 +1,24 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ displayStyle: CMSIBCommonInterface;
6
+ dividerBetweenItems: CMSIBCommonInterface;
7
+ itemSpacing: CMSIBCommonInterface;
8
+ itemPadding: CMSIBCommonInterface;
9
+ ItemContentAlignment: CMSIBCommonInterface;
10
+ overflowItems: CMSIBCommonInterface;
11
+ maxItemsToDisplay: CMSIBCommonInterface;
12
+ imageBehavior: CMSIBCommonInterface;
13
+ itemsPerRow: CMSIBCommonInterface;
14
+ }
15
+ interface selfDesignInterface {
16
+ selectorKey: string;
17
+ }
18
+ export declare enum ProductHighlightsSelectorKeysEnum {
19
+ LAYOUT = "layout",
20
+ CONTENT = "content",
21
+ DESIGN = "design"
22
+ }
23
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
24
+ export {};
@@ -0,0 +1,39 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ displayStyle: CMSIBCommonInterface;
6
+ dividerBetweenItems: CMSIBCommonInterface;
7
+ itemSpacing: CMSIBCommonInterface;
8
+ itemPadding: CMSIBCommonInterface;
9
+ ItemContentAlignment: CMSIBCommonInterface;
10
+ overflowItems: CMSIBCommonInterface;
11
+ maxItemsToDisplay: CMSIBCommonInterface;
12
+ header: CMSIBCommonInterface;
13
+ headerHeight: CMSIBCommonInterface;
14
+ rowHeight: CMSIBCommonInterface;
15
+ headerDivider: CMSIBCommonInterface;
16
+ rowDivider: CMSIBCommonInterface;
17
+ columnDivider: CMSIBCommonInterface;
18
+ alternativeRowColors: CMSIBCommonInterface;
19
+ headerCellPadding: CMSIBCommonInterface;
20
+ rowCellPadding: CMSIBCommonInterface;
21
+ contentAlignment: CMSIBCommonInterface;
22
+ rowsPerPage: CMSIBCommonInterface;
23
+ overflowControl: CMSIBCommonInterface;
24
+ paginationType: CMSIBCommonInterface;
25
+ paginationAliginment: CMSIBCommonInterface;
26
+ displayResults: CMSIBCommonInterface;
27
+ imageBehavior: CMSIBCommonInterface;
28
+ itemsPerRow: CMSIBCommonInterface;
29
+ }
30
+ interface selfDesignInterface {
31
+ selectorKey: string;
32
+ }
33
+ export declare enum ProductPromotionsSelectorKeysEnum {
34
+ LAYOUT = "layout",
35
+ CONTENT = "content",
36
+ DESIGN = "design"
37
+ }
38
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
39
+ export {};
@@ -0,0 +1,17 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ displayStyle: CMSIBCommonInterface;
6
+ displayMinQtyToPurchase: CMSIBCommonInterface;
7
+ }
8
+ interface selfDesignInterface {
9
+ selectorKey: string;
10
+ }
11
+ export declare enum QuantitySelectorSelectorKeysEnum {
12
+ LAYOUT = "layout",
13
+ CONTENT = "content",
14
+ DESIGN = "design"
15
+ }
16
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
17
+ export {};
@@ -0,0 +1,14 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ interface selfLayoutInterface {
3
+ selectorKey: string;
4
+ }
5
+ interface selfDesignInterface {
6
+ selectorKey: string;
7
+ }
8
+ export declare enum ShippingEstimatorSelectorKeysEnum {
9
+ LAYOUT = "layout",
10
+ CONTENT = "content",
11
+ DESIGN = "design"
12
+ }
13
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
14
+ export {};
@@ -0,0 +1,199 @@
1
+ [data-div-type="element"] {
2
+ &[data-element-type="video"] {
3
+ width: var(--_sf-nw-wh, var(--_tst-lt-wh));
4
+ margin: var(--_ctm-lt-mn, --_tst-lt-mn);
5
+ // aspect-ratio: 1 / var(--_sf-aspect-ratio);
6
+ --_aspect-ratio: calc(
7
+ 1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
8
+ );
9
+
10
+ & > .wrapper {
11
+ // width: 100%;
12
+ // height: 100%;
13
+ position: relative;
14
+ }
15
+
16
+ &[data-text-position="top"] {
17
+ .video__container {
18
+ flex-direction: column;
19
+ }
20
+ }
21
+ &[data-text-position="bottom"] {
22
+ .video__container {
23
+ flex-direction: column-reverse;
24
+ }
25
+ }
26
+ &[data-text-position="left"] {
27
+ .video__container {
28
+ flex-direction: row;
29
+ }
30
+ &[data-widget-alignment="top"] {
31
+ .video__container {
32
+ align-items: flex-start;
33
+ }
34
+ }
35
+ &[data-widget-alignment="center"] {
36
+ .video__container {
37
+ align-items: center;
38
+ }
39
+ }
40
+ &[data-widget-alignment="bottom"] {
41
+ .video__container {
42
+ align-items: flex-end;
43
+ }
44
+ }
45
+ }
46
+ &[data-text-position="right"] {
47
+ .video__container {
48
+ flex-direction: row-reverse;
49
+ }
50
+ &[data-widget-alignment="top"] {
51
+ .video__container {
52
+ align-items: flex-start;
53
+ }
54
+ }
55
+ &[data-widget-alignment="center"] {
56
+ .video__container {
57
+ align-items: center;
58
+ }
59
+ }
60
+ &[data-widget-alignment="bottom"] {
61
+ .video__container {
62
+ align-items: flex-end;
63
+ }
64
+ }
65
+ }
66
+
67
+ &[data-widget-border="true"] {
68
+ .video__container {
69
+ border-color: var(--_ctm-dn-vo-wt-dn-br-cr, var(--_tst-dn-vo-wt-dn-br-cr));
70
+ border-style: var(--_ctm-dn-vo-wt-dn-br-se, var(--_tst-dn-vo-wt-dn-br-se));
71
+ border-width: var(--_ctm-dn-vo-wt-dn-br-wh, var(--_tst-dn-vo-wt-dn-br-wh));
72
+ }
73
+ }
74
+
75
+ &[data-widget-shadow="false"] {
76
+ --_show-shadow: none;
77
+ }
78
+
79
+ &[data-content-border="true"] {
80
+ .video__content {
81
+ border-color: var(--_ctm-dn-vo-tt-cr-dn-br-cr, var(--_tst-dn-vo-tt-cr-dn-br-cr));
82
+ border-style: var(--_ctm-dn-vo-tt-cr-dn-br-se, var(--_tst-dn-vo-tt-cr-dn-br-se));
83
+ border-width: var(--_ctm-dn-vo-tt-cr-dn-br-wh, var(--_tst-dn-vo-tt-cr-dn-br-wh));
84
+ }
85
+ }
86
+
87
+ &[data-content-shadow="false"] {
88
+ --_show-text-content-shadow: none;
89
+ }
90
+ &[data-icon-background-shape="circle"] {
91
+ .video__icon {
92
+ border-radius: 50%;
93
+ }
94
+ }
95
+ &[data-icon-background-shape="rectange"] {
96
+ .video__icon {
97
+ border-radius: 6px;
98
+ }
99
+ }
100
+
101
+ .video__container {
102
+ display: flex;
103
+ gap: var(--_ctm-dn-vo-wt-lt-wt-tt-ad-im-sg, var(--_tst-dn-vo-wt-lt-wt-tt-ad-im-sg));
104
+ padding: var(--_ctm-lt-pg, var(--_tst-lt-pg));
105
+ background-color: var(--_ctm-dn-vo-wt-dn-bd-cr, var(--_tst-dn-vo-wt-dn-bd-cr));
106
+ padding: var(--_ctm-lt-pg, var(--_tst-lt-pg));
107
+ flex-direction: var(--_sf-fd-bn);
108
+ align-items: center;
109
+ justify-content: var(--_sf-jc, center);
110
+ box-shadow: var(
111
+ --_show-shadow,
112
+ var(--_ctm-dn-vo-wt-dn-sw-ae, var(--_tst-dn-vo-tt-cr-dn-sw-ae))
113
+ var(--_ctm-dn-vo-wt-dn-sw-br, var(--_tst-vo-se-sw-br))
114
+ var(--_ctm-dn-vo-wt-dn-sw-sd, var(--_tst-vo-se-sw-sd))
115
+ var(--_ctm-dn-vo-wt-dn-sw-cr, var(--_tst-dn-vo-tt-cr-dn-sw-cr))
116
+ );
117
+ width: 100%;
118
+ height: auto;
119
+
120
+ border-radius: var(--_ctm-dn-vo-wt-dn-br-rs, var(--_tst-dn-vo-wt-dn-br-rs));
121
+
122
+ .video__content {
123
+ display: flex;
124
+ flex-direction: column;
125
+ padding: var(--_ctm-dn-vo-tt-lt-tt-vl-pg, var(--_ctm-dn-vo-tt-lt-tt-vl-pg))
126
+ var(--_ctm-dn-vo-tt-lt-tt-hl-pg, var(--_tst-dn-vo-tt-lt-tt-hl-pg));
127
+ gap: var(--_ctm-dn-vo-tt-lt-te-ad-dn-sg, var(--_tst-dn-vo-tt-lt-te-ad-dn-sg));
128
+ background-color: var(--_ctm-dn-vo-tt-cr-dn-bd-cr, var(--_tst-dn-vo-tt-cr-dn-bd-cr));
129
+ border-radius: var(--_ctm-dn-vo-tt-cr-dn-br-rs, var(--_tst-dn-vo-tt-cr-dn-br-rs));
130
+ box-shadow: var(
131
+ --_show-text-content-shadow,
132
+ var(--_ctm-dn-vo-tt-cr-dn-sw-ae, var(--_tst-dn-vo-tt-cr-dn-sw-ae))
133
+ var(--_ctm-dn-vo-tt-cr-dn-sw-br, var(--_tst-vo-se-sw-br))
134
+ var(--_ctm-dn-vo-tt-cr-dn-sw-sd, var(--_tst-vo-se-sw-sd))
135
+ var(--_ctm-dn-vo-tt-cr-dn-sw-cr, var(--_tst-dn-vo-tt-cr-dn-sw-cr))
136
+ );
137
+ h3 {
138
+ color: var(--_ctm-dn-vo-wt-dn-cr, var(--_tst-dn-vo-wt-dn-cr));
139
+ font-family: var(--_ctm-dn-vo-wt-dn-ft-fy, var(--_tst-dn-vo-wt-dn-ft-fy)), sans-serif;
140
+ font-size: var(--_ctm-dn-vo-wt-dn-ft-se, var(--_tst-dn-vo-wt-dn-ft-se));
141
+ font-weight: var(--_ctm-dn-vo-wt-dn-ft-wt, var(--_tst-dn-vo-wt-dn-ft-wt));
142
+ font-style: var(--_ctm-dn-vo-wt-dn-ft-se-ic, var(--_tst-dn-vo-wt-dn-ft-se-ic));
143
+ text-align: var(--_ctm-dn-vo-wt-dn-tt-an, var(--_tst-dn-vo-wt-dn-tt-an));
144
+ letter-spacing: var(--_ctm-dn-vo-wt-dn-lr-sg, var(--_tst-dn-vo-wt-dn-lr-sg));
145
+ line-height: var(--_ctm-dn-vo-wt-dn-le-ht, var(--_tst-dn-vo-wt-dn-le-ht));
146
+ text-decoration: var(--_ctm-dn-vo-wt-dn-ue);
147
+ }
148
+ p {
149
+ color: var(--_ctm-dn-vo-wt-dn-cr-dc, var(--_tst-dn-vo-wt-dn-cr-dc));
150
+ font-family: var(--_ctm-dn-vo-wt-dn-ft-fy-dc, var(--_tst-dn-vo-wt-dn-ft-fy-dc)),
151
+ sans-serif;
152
+ font-size: var(--_ctm-dn-vo-wt-dn-ft-se-dc, var(--_tst-dn-vo-wt-dn-ft-se-dc));
153
+ font-weight: var(--_ctm-dn-vo-wt-dn-ft-wt-dc, var(--_tst-dn-vo-wt-dn-ft-wt-dc));
154
+ font-style: var(--_ctm-dn-vo-wt-dn-ft-se-ic-dc, var(--_tst-dn-vo-wt-dn-ft-se-ic-dc));
155
+ text-align: var(--_ctm-dn-vo-wt-dn-tt-an-dc, var(--_tst-dn-vo-wt-dn-tt-an-dc));
156
+ letter-spacing: var(--_ctm-dn-vo-wt-dn-lr-sg-dc, var(--_tst-dn-vo-wt-dn-lr-sg-dc));
157
+ line-height: var(--_ctm-dn-vo-wt-dn-le-ht-dc, var(--_tst-dn-vo-wt-dn-le-ht-dc));
158
+ text-decoration: var(--_ctm-dn-vo-wt-dn-ue-dc);
159
+ }
160
+ }
161
+
162
+ .video__data {
163
+ video {
164
+ max-width: 100%;
165
+ width: 100%;
166
+ }
167
+ }
168
+ .video__thumbnail {
169
+ position: relative;
170
+ .placeholder__img {
171
+ max-width: 100%;
172
+ // position: absolute;
173
+ // left: 0;
174
+ // top: 0;
175
+ }
176
+
177
+ .video__icon {
178
+ cursor: pointer;
179
+ position: absolute;
180
+ top: 50%;
181
+ left: 50%;
182
+ transform: translate(-50%, -50%);
183
+ background-color: var(--_ctm-dn-py-pe-bd-cr, var(--_tst-dn-py-pe-bd-cr));
184
+ padding: 5%;
185
+ width: var(--_ctm-dn-py-pe-se + 40);
186
+ height: var(--_ctm-dn-py-pe-se + 40);
187
+
188
+ svg {
189
+ width: var(--_ctm-dn-py-pe-se, var(--_tst-dn-py-pe-se));
190
+ height: var(--_ctm-dn-py-pe-se, var(--_tst-dn-py-pe-se));
191
+ path {
192
+ stroke: var(--_ctm-dn-py-pe-in-c1, var(--_tst-dn-py-pe-in-c1));
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+ }
199
+ }
@@ -0,0 +1,28 @@
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+
4
+ [data-div-type="element"] {
5
+ &[data-element-type="volumePricing"] {
6
+ // width: var(--_lt-wh);
7
+ // height: var(--_lt-ht);
8
+ // margin: var(--_lt-mn);
9
+ // padding: var(--_lt-pg);
10
+ // width: var(--_ctm-lt-wh, var(--_tst-lt-wh));
11
+ width: var(--_sf-nw-wh, var(--_tst-lt-wh));
12
+ margin: var(--_ctm-lt-mn, --_tst-lt-mn);
13
+ // height: var(--_ctm-lt-ht, var(--_tst-lt-ht));
14
+ // height: ;
15
+ aspect-ratio: 1 / var(--_sf-aspect-ratio);
16
+ --_aspect-ratio: calc(
17
+ 1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
18
+ );
19
+
20
+ & > .wrapper {
21
+ width: 100%;
22
+ // height: 100%;
23
+ }
24
+ &[data-show-shadow="false"] {
25
+ --_show-shadow: none;
26
+ }
27
+ }
28
+ }
package/dist/widget.scss CHANGED
@@ -1 +1,23 @@
1
-
1
+ @import "./section.scss";
2
+ @import "./grid.scss";
3
+ @import "./container.scss";
4
+ @import "./video.scss";
5
+ @import "./social.scss";
6
+ @import "./faq.scss";
7
+ @import "./table.scss";
8
+ @import "./button.scss";
9
+ @import "./code-temp.scss";
10
+ @import "./embed-temp.scss";
11
+ @import "./text-temp.scss";
12
+ @import "./image-temp.scss";
13
+ @import "./gallery-slider-temp.scss";
14
+ @import "./scroll.scss";
15
+ @import "./countdown.scss";
16
+ @import "./hotspot.scss";
17
+ @import "./map.scss";
18
+ @import "./product-price.scss";
19
+ @import "./product-actions.scss";
20
+ @import "./volume-pricing.scss";
21
+ @import "./product-inventory.scss";
22
+ @import "./store-locations.scss";
23
+ @import "./pickup-locations.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {