@sc-360-v2/storefront-cms-library 0.3.46 → 0.3.47

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.
@@ -0,0 +1,296 @@
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+
4
+ // typography
5
+
6
+ .flx-thm-typ-h1 {
7
+ // padding-inline: var(--_sf-cd-gp);
8
+ color: var(--_thm-ty-h1-tt-cr);
9
+ font-family: var(--_thm-ty-h1-ft-fy), sans-serif;
10
+ font-size: var(--_thm-ty-h1-ft-se);
11
+ font-weight: var(--_thm-ty-h1-bd);
12
+ font-style: var(--_thm-ty-h1-ic);
13
+ text-align: var(--_thm-ty-h1-tt-an);
14
+ letter-spacing: var(--_thm-ty-h1-cr-sg);
15
+ line-height: var(--_thm-ty-h1-le-ht);
16
+ text-decoration: var(--_thm-ty-h1-ue);
17
+ }
18
+
19
+ .flx-thm-typ-h2 {
20
+ // padding-inline: var(--_sf-cd-gp);
21
+ color: var(--_thm-ty-h2-tt-cr);
22
+ font-family: var(--_thm-ty-h2-ft-fy), sans-serif;
23
+ font-size: var(--_thm-ty-h2-ft-se);
24
+ font-weight: var(--_thm-ty-h2-bd);
25
+ font-style: var(--_thm-ty-h2-ic);
26
+ text-align: var(--_thm-ty-h2-tt-an);
27
+ letter-spacing: var(--_thm-ty-h2-cr-sg);
28
+ line-height: var(--_thm-ty-h2-le-ht);
29
+ text-decoration: var(--_thm-ty-h2-ue);
30
+ }
31
+ .flx-thm-typ-h3 {
32
+ // padding-inline: var(--_sf-cd-gp);
33
+ color: var(--_thm-ty-h3-tt-cr);
34
+ font-family: var(--_thm-ty-h3-ft-fy), sans-serif;
35
+ font-size: var(--_thm-ty-h3-ft-se);
36
+ font-weight: var(--_thm-ty-h3-bd);
37
+ font-style: var(--_thm-ty-h3-ic);
38
+ text-align: var(--_thm-ty-h3-tt-an);
39
+ letter-spacing: var(--_thm-ty-h3-cr-sg);
40
+ line-height: var(--_thm-ty-h3-le-ht);
41
+ text-decoration: var(--_thm-ty-h3-ue);
42
+ }
43
+ .flx-thm-typ-h4 {
44
+ // padding-inline: var(--_sf-cd-gp);
45
+ color: var(--_thm-ty-h4-tt-cr);
46
+ font-family: var(--_thm-ty-h4-ft-fy), sans-serif;
47
+ font-size: var(--_thm-ty-h4-ft-se);
48
+ font-weight: var(--_thm-ty-h4-bd);
49
+ font-style: var(--_thm-ty-h4-ic);
50
+ text-align: var(--_thm-ty-h4-tt-an);
51
+ letter-spacing: var(--_thm-ty-h4-cr-sg);
52
+ line-height: var(--_thm-ty-h4-le-ht);
53
+ text-decoration: var(--_thm-ty-h4-ue);
54
+ }
55
+ .flx-thm-typ-h6 {
56
+ // padding-inline: var(--_sf-cd-gp);
57
+ color: var(--_thm-ty-h6-tt-cr);
58
+ font-family: var(--_thm-ty-h6-ft-fy), sans-serif;
59
+ font-size: var(--_thm-ty-h6-ft-se);
60
+ font-weight: var(--_thm-ty-h6-bd);
61
+ font-style: var(--_thm-ty-h6-ic);
62
+ text-align: var(--_thm-ty-h6-tt-an);
63
+ letter-spacing: var(--_thm-ty-h6-cr-sg);
64
+ line-height: var(--_thm-ty-h6-le-ht);
65
+ text-decoration: var(--_thm-ty-h6-ue);
66
+ }
67
+
68
+ .flx-thm-typ-h5 {
69
+ // padding-inline: var(--_sf-cd-gp);
70
+ color: var(--_thm-ty-h5-tt-cr);
71
+ font-family: var(--_thm-ty-h5-ft-fy), sans-serif;
72
+ font-size: var(--_thm-ty-h5-ft-se);
73
+ font-weight: var(--_thm-ty-h5-bd);
74
+ font-style: var(--_thm-ty-h5-ic);
75
+ text-align: var(--_thm-ty-h5-tt-an);
76
+ letter-spacing: var(--_thm-ty-h5-cr-sg);
77
+ line-height: var(--_thm-ty-h5-le-ht);
78
+ text-decoration: var(--_thm-ty-h5-ue);
79
+ }
80
+
81
+ .flx-thm-typ-p1 {
82
+ // padding-inline: var(--_sf-cd-gp);
83
+ color: var(--_thm-ty-p1-tt-cr);
84
+ font-family: var(--_thm-ty-p1-ft-fy), sans-serif;
85
+ font-size: var(--_thm-ty-p1-ft-se);
86
+ font-weight: var(--_thm-ty-p1-bd);
87
+ font-style: var(--_thm-ty-p1-ic);
88
+ text-align: var(--_thm-ty-p1-tt-an);
89
+ letter-spacing: var(--_thm-ty-p1-cr-sg);
90
+ line-height: var(--_thm-ty-p1-le-ht);
91
+ text-decoration: var(--_thm-ty-p1-ue);
92
+ }
93
+ .flx-thm-typ-p2 {
94
+ // padding-inline: var(--_sf-cd-gp);
95
+ color: var(--_thm-ty-p2-tt-cr);
96
+ font-family: var(--_thm-ty-p2-ft-fy), sans-serif;
97
+ font-size: var(--_thm-ty-p2-ft-se);
98
+ font-weight: var(--_thm-ty-p2-bd);
99
+ font-style: var(--_thm-ty-p2-ic);
100
+ text-align: var(--_thm-ty-p2-tt-an);
101
+ letter-spacing: var(--_thm-ty-p2-cr-sg);
102
+ line-height: var(--_thm-ty-p2-le-ht);
103
+ text-decoration: var(--_thm-ty-p2-ue);
104
+ }
105
+
106
+ .flx-thm-typ-p3 {
107
+ // padding-inline: var(--_sf-cd-gp);
108
+ color: var(--_thm-ty-p3-tt-cr);
109
+ font-family: var(--_thm-ty-p3-ft-fy), sans-serif;
110
+ font-size: var(--_thm-ty-p3-ft-se);
111
+ font-weight: var(--_thm-ty-p3-bd);
112
+ // font-style: var(--_thm-ty-p3-ic);
113
+ text-align: var(--_thm-ty-p3-tt-an);
114
+ letter-spacing: var(--_thm-ty-p3-cr-sg);
115
+ line-height: var(--_thm-ty-p3-le-ht);
116
+ text-decoration: var(--_thm-ty-p3-ue);
117
+ }
118
+
119
+ // buttons
120
+ .flx-thm-btn-primary {
121
+ &:hover {
122
+ --_sf-hr-bd-cr: var(--_thm-py-bs-hr-se-bd-cr);
123
+ --_sf-hr-br-cr: var(--_thm-py-bs-hr-se-br-cr);
124
+ --_sf-hr-br-se: var(--_thm-py-bs-hr-se-br-se);
125
+ --_sf-hr-br-wh: var(--_thm-py-bs-hr-se-br-wh);
126
+ --_sf-hr-br-rs: var(--_thm-py-bs-hr-se-br-rs);
127
+
128
+ // for shadow
129
+ --_sf-hr-sw-ae: var(--_thm-py-bs-hr-se-ae);
130
+ --_sf-hr-sw-br: var(--_thm-py-bs-hr-se-br);
131
+ --_sf-hr-sw-cr: var(--_thm-py-bs-hr-se-sw-cr);
132
+
133
+ // for font
134
+ --_sf-hr-cr: var(--_thm-py-bs-hr-se-tt-cr);
135
+ --_sf-hr-ft-fy: var(--_thm-py-bs-hr-se-ft);
136
+ --_sf-hr-ft-se: var(--_thm-py-bs-hr-se-ft-se);
137
+ --_sf-hr-ft-wt: var(--_thm-py-bs-hr-se-bd);
138
+ --_sf-hr-ft-se-ic: var(--_thm-py-bs-hr-se-ic);
139
+ --_sf-hr-tt-an: var(--_thm-py-bs-hr-se-tt-an);
140
+ --_sf-hr-cr-sg: var(--_thm-py-bs-hr-se-cr-sg);
141
+ --_sf-hr-le-ht: var(--_thm-py-bs-hr-se-le-ht);
142
+
143
+ --_sf-hr-in-se: var(--_thm-py-bs-hr-se-in-se);
144
+ --_sf-hr-in-c1: var(--_thm-py-bs-hr-se-in-cr);
145
+ --_sf-hr-ue: var(--_thm-py-bs-hr-se-ue);
146
+ }
147
+
148
+ background-color: var(--_sf-hr-bd-cr, var(--_thm-py-bs-dt-se-bd-cr));
149
+ gap: var(--_thm-py-bs-in-ad-tt-sg);
150
+ display: flex;
151
+ flex-direction: row;
152
+ align-items: center;
153
+ justify-content: var(--_sf-hr-tt-an, var(--_thm-py-bs-dt-se-tt-an));
154
+
155
+ border-radius: var(--_sf-hr-br-rs, var(--_thm-py-bs-dt-se-br-rs));
156
+
157
+ box-shadow: var(--_sf-hr-sw-ae, var(--_thm-py-bs-dt-se-sw-ae))
158
+ var(--_sf-hr-sw-br, var(--_thm-py-bs-dt-se-sw-br))
159
+ var(--_sf-hr-sw-sd, var(--_thm-py-bs-dt-se-sw-sd))
160
+ var(--_sf-hr-sw-cr, var(--_thm-py-bs-dt-se-sw-cr));
161
+
162
+ &[data-show-border="true"] {
163
+ border-color: var(--_sf-hr-br-cr, var(--_thm-py-bs-dt-se-br-cr));
164
+ border-style: var(--_sf-hr-br-se, var(--_thm-py-bs-dt-se-br-se));
165
+ border-width: var(--_sf-hr-br-wh, var(--_thm-py-bs-dt-se-br-wh));
166
+ }
167
+
168
+ // .txt {
169
+ // display: flex;
170
+ // color: var(--_sf-hr-cr, var(--_thm-py-bs-dt-se-cr));
171
+ // font-family: var(--_sf-hr-ft-fy, var(--_thm-py-bs-dt-se-ft-fy)), sans-serif;
172
+ // font-size: var(--_sf-hr-ft-se, var(--_thm-py-bs-dt-se-ft-se));
173
+ // font-weight: var(--_sf-hr-ft-wt, var(--_thm-py-bs-dt-se-ft-wt));
174
+ // font-style: var(--_sf-hr-ft-se-ic, var(--_thm-py-bs-dt-se-ft-se-ic));
175
+ // text-align: var(--_sf-hr-tt-an, var(--_thm-py-bs-dt-se-tt-an));
176
+ // letter-spacing: var(--_sf-hr-cr-sg, var(--_thm-py-bs-dt-se-cr-sg));
177
+ // line-height: var(--_sf-hr-le-ht, var(--_thm-py-bs-dt-se-le-ht));
178
+ // text-decoration: var(--_sf-hr-ue, var(--_thm-py-bs-dt-se-ue));
179
+ // }
180
+
181
+ color: var(--_sf-hr-cr, var(--_thm-py-bs-dt-se-tt-cr));
182
+ font-family: var(--_sf-hr-ft-fy, var(--_thm-py-bs-dt-se-ft)), sans-serif;
183
+ font-size: var(--_sf-hr-ft-se, var(--_thm-py-bs-dt-se-ft-se));
184
+ font-weight: var(--_sf-hr-ft-wt, var(--_thm-py-bs-dt-se-bd));
185
+ font-style: var(--_sf-hr-ft-se-ic, var(--_thm-py-bs-dt-se-ic));
186
+ text-align: var(--_sf-hr-tt-an, var(--_thm-py-bs-dt-se-tt-an));
187
+ letter-spacing: var(--_sf-hr-cr-sg, var(--_thm-py-bs-dt-se-cr-sg));
188
+ line-height: var(--_sf-hr-le-ht, var(--_thm-py-bs-dt-se-le-ht));
189
+ text-decoration: var(--_sf-hr-ue, var(--_thm-py-bs-dt-se-ue));
190
+
191
+ .icon {
192
+ display: var(--_hover-show-icon, var(--_show-icon, flex));
193
+ svg {
194
+ width: var(--_sf-hr-in-se, var(--_thm-py-bs-dt-se-in-se));
195
+ height: var(--_sf-hr-in-se, var(--_thm-py-bs-dt-se-in-se));
196
+
197
+ path {
198
+ stroke: var(--_sf-hr-in-c1, var(--_thm-py-bs-dt-se-in-c1));
199
+ }
200
+ }
201
+ }
202
+
203
+ [data-element-style="Text"] {
204
+ display: inline-block;
205
+ width: 100%;
206
+ }
207
+ }
208
+
209
+ .flx-thm-btn-secondary {
210
+ &:hover {
211
+ --_sf-hr-bd-cr: var(--_thm-sy-bs-hr-se-bd-cr);
212
+ --_sf-hr-br-cr: var(--_thm-sy-bs-hr-se-br-cr);
213
+ --_sf-hr-br-se: var(--_thm-sy-bs-hr-se-br-se);
214
+ --_sf-hr-br-wh: var(--_thm-sy-bs-hr-se-br-wh);
215
+ --_sf-hr-br-rs: var(--_thm-sy-bs-hr-se-br-rs);
216
+
217
+ // for shadow
218
+ --_sf-hr-sw-ae: var(--_thm-sy-bs-hr-se-ae);
219
+ --_sf-hr-sw-br: var(--_thm-sy-bs-hr-se-br);
220
+ --_sf-hr-sw-cr: var(--_thm-sy-bs-hr-se-sw-cr);
221
+
222
+ // for font
223
+ --_sf-hr-cr: var(--_thm-sy-bs-hr-se-tt-cr);
224
+ --_sf-hr-ft-fy: var(--_thm-sy-bs-hr-se-ft);
225
+ --_sf-hr-ft-se: var(--_thm-sy-bs-hr-se-ft-se);
226
+ --_sf-hr-ft-wt: var(--_thm-sy-bs-hr-se-bd);
227
+ --_sf-hr-ft-se-ic: var(--_thm-sy-bs-hr-se-ic);
228
+ --_sf-hr-tt-an: var(--_thm-sy-bs-hr-se-tt-an);
229
+ --_sf-hr-cr-sg: var(--_thm-sy-bs-hr-se-cr-sg);
230
+ --_sf-hr-le-ht: var(--_thm-sy-bs-hr-se-le-ht);
231
+
232
+ --_sf-hr-in-se: var(--_thm-sy-bs-hr-se-in-se);
233
+ --_sf-hr-in-c1: var(--_thm-sy-bs-hr-se-in-cr);
234
+ --_sf-hr-ue: var(--_thm-sy-bs-hr-se-ue);
235
+ }
236
+
237
+ background-color: var(--_sf-hr-bd-cr, var(--_thm-sy-bs-dt-se-bd-cr));
238
+
239
+ display: flex;
240
+ flex-direction: row;
241
+ align-items: center;
242
+ justify-content: var(--_sf-hr-tt-an, var(--_thm-sy-bs-dt-se-tt-an));
243
+ gap: var(--_thm-sy-bs-in-ad-tt-sg);
244
+ border-radius: var(--_sf-hr-br-rs, var(--_thm-sy-bs-dt-se-br-rs));
245
+
246
+ box-shadow: var(--_sf-hr-sw-ae, var(--_thm-sy-bs-dt-se-sw-ae))
247
+ var(--_sf-hr-sw-br, var(--_thm-sy-bs-dt-se-sw-br))
248
+ var(--_sf-hr-sw-sd, var(--_thm-sy-bs-dt-se-sw-sd))
249
+ var(--_sf-hr-sw-cr, var(--_thm-sy-bs-dt-se-sw-cr));
250
+
251
+ &[data-show-border="true"] {
252
+ border-color: var(--_sf-hr-br-cr, var(--_thm-sy-bs-dt-se-br-cr));
253
+ border-style: var(--_sf-hr-br-se, var(--_thm-sy-bs-dt-se-br-se));
254
+ border-width: var(--_sf-hr-br-wh, var(--_thm-sy-bs-dt-se-br-wh));
255
+ }
256
+
257
+ // .txt {
258
+ // display: flex;
259
+ // color: var(--_sf-hr-cr, var(--_thm-sy-bs-dt-se-cr));
260
+ // font-family: var(--_sf-hr-ft-fy, var(--_thm-sy-bs-dt-se-ft-fy)), sans-serif;
261
+ // font-size: var(--_sf-hr-ft-se, var(--_thm-sy-bs-dt-se-ft-se));
262
+ // font-weight: var(--_sf-hr-ft-wt, var(--_thm-sy-bs-dt-se-ft-wt));
263
+ // font-style: var(--_sf-hr-ft-se-ic, var(--_thm-sy-bs-dt-se-ft-se-ic));
264
+ // text-align: var(--_sf-hr-tt-an, var(--_thm-sy-bs-dt-se-tt-an));
265
+ // letter-spacing: var(--_sf-hr-cr-sg, var(--_thm-sy-bs-dt-se-cr-sg));
266
+ // line-height: var(--_sf-hr-le-ht, var(--_thm-sy-bs-dt-se-le-ht));
267
+ // text-decoration: var(--_sf-hr-ue, var(--_thm-sy-bs-dt-se-ue));
268
+ // }
269
+
270
+ color: var(--_sf-hr-cr, var(--_thm-sy-bs-dt-se-tt-cr));
271
+ font-family: var(--_sf-hr-ft-fy, var(--_thm-sy-bs-dt-se-ft)), sans-serif;
272
+ font-size: var(--_sf-hr-ft-se, var(--_thm-sy-bs-dt-se-ft-se));
273
+ font-weight: var(--_sf-hr-ft-wt, var(--_thm-sy-bs-dt-se-bd));
274
+ font-style: var(--_sf-hr-ft-se-ic, var(--_thm-sy-bs-dt-se-ic));
275
+ text-align: var(--_sf-hr-tt-an, var(--_thm-sy-bs-dt-se-tt-an));
276
+ letter-spacing: var(--_sf-hr-cr-sg, var(--_thm-sy-bs-dt-se-cr-sg));
277
+ line-height: var(--_sf-hr-le-ht, var(--_thm-sy-bs-dt-se-le-ht));
278
+ text-decoration: var(--_sf-hr-ue, var(--_thm-sy-bs-dt-se-ue));
279
+
280
+ .icon {
281
+ display: var(--_hover-show-icon, var(--_show-icon, flex));
282
+ svg {
283
+ width: var(--_sf-hr-in-se, var(--_thm-sy-bs-dt-se-in-se));
284
+ height: var(--_sf-hr-in-se, var(--_thm-sy-bs-dt-se-in-se));
285
+
286
+ path {
287
+ stroke: var(--_sf-hr-in-c1, var(--_thm-sy-bs-dt-se-in-c1));
288
+ }
289
+ }
290
+ }
291
+
292
+ [data-element-style="Text"] {
293
+ display: inline-block;
294
+ width: 100%;
295
+ }
296
+ }
@@ -16,7 +16,8 @@ export declare enum SelectorKeysEnum {
16
16
  ALLOCATION = "allocation",
17
17
  ALLOCATION_CARD = "allocationCard",
18
18
  DIVIDER = "divider",
19
- QUOTA_DETAILS = "quotaDetails"
19
+ QUOTA_DETAILS = "quotaDetails",
20
+ DEFAULT_STATE = "defaultState"
20
21
  }
21
22
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
22
23
  export {};
@@ -41,6 +41,10 @@ export declare const getDefaultData: () => {
41
41
  value: string;
42
42
  propertyType: CMSElementEditTypes;
43
43
  };
44
+ rememberMeType: {
45
+ value: string;
46
+ propertyType: CMSElementEditTypes;
47
+ };
44
48
  };
45
49
  design: {
46
50
  selectorKey: cartAttributesSelectorKeysEnum;
package/dist/widget.scss CHANGED
@@ -117,7 +117,7 @@
117
117
  @use "./cartAttributes.scss";
118
118
  @use "./language-selector.scss";
119
119
  @use "./loader.scss";
120
- @use "./empty-states.scss";
121
- @use "./review-cart.scss";
122
120
  @use "./add-products-tab.scss";
121
+ @use "./quota-details.scss";
122
+ @use "./theme-classes.scss";
123
123
  @use "./shipping-payments.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.3.46",
3
+ "version": "0.3.47",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {