@sc-360-v2/storefront-cms-library 0.3.5 → 0.3.8
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/builder.js +1 -1
- package/dist/builder.js.LICENSE.txt +1 -1
- package/dist/bulk-order-pad.scss +13 -8
- package/dist/button copy.scss +2 -1
- package/dist/checkout.scss +141 -16
- package/dist/common-element.scss +6 -0
- package/dist/confirmationModal.scss +79 -0
- package/dist/dropdownTemplate.scss +71 -8
- package/dist/employee-bulk-order.scss +547 -0
- package/dist/fb-dropdown.scss +124 -0
- package/dist/filter-results.scss +324 -0
- package/dist/filters.scss +1324 -31
- package/dist/form-preview.scss +163 -108
- package/dist/functions.js +1 -1
- package/dist/globals.scss +6 -0
- package/dist/icon-list.scss +11 -11
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layouter-pro-item.scss +6 -0
- package/dist/layouter-pro.scss +30 -2
- package/dist/menu-v2.scss +5 -2
- package/dist/modal.scss +13 -6
- package/dist/past-orders.scss +770 -26
- package/dist/product-actions.scss +254 -393
- package/dist/product-basic-elements.scss +12 -12
- package/dist/product-options.scss +73 -46
- package/dist/quotes.scss +1 -0
- package/dist/repeater.scss +5 -2
- package/dist/text-temp-v2.scss +2 -2
- package/dist/toggle-button.scss +32 -0
- package/dist/types/builder/constants/data-connectors.d.ts +55 -0
- package/dist/types/builder/elements/form-builder/index.d.ts +15 -0
- package/dist/types/builder/elements/product-sizechart/index.d.ts +26 -0
- package/dist/types/builder/elements/user-elements/index.d.ts +30 -0
- package/dist/types/builder/enums/data-connectors.d.ts +21 -0
- package/dist/types/builder/enums/index.d.ts +5 -1
- package/dist/types/builder/index.d.ts +4 -1
- package/dist/types/builder/tools/element-edit/common.d.ts +8 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/layouter-pro-item.d.ts +14 -1
- package/dist/types/builder/tools/element-edit/layouterPro.d.ts +9 -2
- package/dist/types/builder/tools/element-edit/pastOrders.d.ts +61 -1
- package/dist/types/builder/tools/element-edit/productActions.d.ts +100 -1
- package/dist/types/builder/tools/element-edit/productSizeChart.d.ts +98 -0
- package/dist/types/builder/tools/element-edit/profile.d.ts +26 -2
- package/dist/types/builder/tools/element-edit/quantitySelector.d.ts +16 -2
- package/dist/types/builder/tools/element-edit/userElements.d.ts +555 -0
- package/dist/types/global/types.d.ts +2 -1
- package/dist/user-elements.scss +1375 -0
- package/dist/variant-picker.scss +132 -84
- package/dist/widget.scss +5 -0
- package/package.json +5 -1
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
// width: 100%;
|
|
14
14
|
// background: var(--_ctm-repe-dn-bd-cr);
|
|
15
|
+
width: prepareMediaVariable(--_ctm-layout-lt-wh);
|
|
15
16
|
|
|
16
17
|
& > div {
|
|
17
18
|
&.wrapper {
|
|
@@ -32,6 +33,11 @@
|
|
|
32
33
|
border-style: prepareMediaVariable(--_ctm-layout-dn-br-se);
|
|
33
34
|
border-width: prepareMediaVariable(--_ctm-layout-dn-br-wh);
|
|
34
35
|
}
|
|
36
|
+
|
|
37
|
+
display: var(--_d-flex) !important;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
gap: prepareMediaVariable(--_ctm-layout-lt-im-gp);
|
|
40
|
+
align-items: prepareMediaVariable(--_ctm-layout-lt-jy-ct);
|
|
35
41
|
}
|
|
36
42
|
}
|
|
37
43
|
}
|
package/dist/layouter-pro.scss
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
$childItemSelector: '[data-element-type="layouter-pro-item"]';
|
|
5
5
|
$flex: "flx";
|
|
6
6
|
$grid: "grd";
|
|
7
|
+
$flexRow: "rw";
|
|
8
|
+
$flexRowReverse: "rw-rv";
|
|
9
|
+
$flexColumn: "cln";
|
|
10
|
+
$flexColumnReverse: "cln-rv";
|
|
7
11
|
[data-div-type="element"] {
|
|
8
12
|
&[data-element-type="layouter-pro"] {
|
|
9
13
|
// width: var(--_sf-con-nw-wh);
|
|
@@ -31,15 +35,39 @@ $grid: "grd";
|
|
|
31
35
|
&.wrapper {
|
|
32
36
|
width: 100%;
|
|
33
37
|
min-height: prepareMediaVariable(--_ctm-layou-lt-mn-ht);
|
|
34
|
-
gap: prepareMediaVariable(--_ctm-layou-lt-
|
|
38
|
+
column-gap: prepareMediaVariable(--_ctm-layou-lt-cn-gp);
|
|
39
|
+
row-gap: prepareMediaVariable(--_ctm-layou-lt-rw-gp);
|
|
35
40
|
|
|
36
41
|
&:is(.#{$flex} > *) {
|
|
37
42
|
display: var(--_d-flex) !important;
|
|
43
|
+
flex-wrap: prepareMediaVariable(--_ctm-layou-lt-fx-wp);
|
|
44
|
+
overflow: prepareMediaVariable(--_ctm-layou-lt-fx-ow);
|
|
45
|
+
|
|
46
|
+
&.#{$flexRow} {
|
|
47
|
+
flex-direction: row;
|
|
48
|
+
align-items: prepareMediaVariable(--_ctm-layou-lt-an-is);
|
|
49
|
+
justify-content: prepareMediaVariable(--_ctm-layou-lt-jy-ct);
|
|
50
|
+
}
|
|
51
|
+
&.#{$flexRowReverse} {
|
|
52
|
+
flex-direction: row-reverse;
|
|
53
|
+
align-items: prepareMediaVariable(--_ctm-layou-lt-an-is);
|
|
54
|
+
justify-content: prepareMediaVariable(--_ctm-layou-lt-jy-ct);
|
|
55
|
+
}
|
|
56
|
+
&.#{$flexColumn} {
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
justify-content: prepareMediaVariable(--_ctm-layou-lt-an-is);
|
|
59
|
+
align-items: prepareMediaVariable(--_ctm-layou-lt-jy-ct);
|
|
60
|
+
}
|
|
61
|
+
&.#{$flexColumnReverse} {
|
|
62
|
+
flex-direction: column-reverse;
|
|
63
|
+
justify-content: prepareMediaVariable(--_ctm-layou-lt-an-is);
|
|
64
|
+
align-items: prepareMediaVariable(--_ctm-layou-lt-jy-ct);
|
|
65
|
+
}
|
|
38
66
|
}
|
|
39
67
|
|
|
40
68
|
& > div {
|
|
41
69
|
&#{$childItemSelector} {
|
|
42
|
-
width: 100%;
|
|
70
|
+
// width: 100%;
|
|
43
71
|
}
|
|
44
72
|
}
|
|
45
73
|
// grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
|
package/dist/menu-v2.scss
CHANGED
|
@@ -248,7 +248,8 @@ $defaultValues: (
|
|
|
248
248
|
gap: prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-gp);
|
|
249
249
|
& > span {
|
|
250
250
|
display: var(--_d-flex);
|
|
251
|
-
font-family:
|
|
251
|
+
font-family:
|
|
252
|
+
var(
|
|
252
253
|
--_sf-it-at-ff,
|
|
253
254
|
var(--_sf-it-hr-ff, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ft-fy)})
|
|
254
255
|
),
|
|
@@ -322,6 +323,7 @@ $defaultValues: (
|
|
|
322
323
|
width: calc(100% + #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-wh)});
|
|
323
324
|
top: calc(100% + #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-y)});
|
|
324
325
|
transform: translateX(-50%);
|
|
326
|
+
z-index: 2;
|
|
325
327
|
}
|
|
326
328
|
&:is(#{$vtl} *) {
|
|
327
329
|
width: 100%;
|
|
@@ -555,7 +557,8 @@ $defaultValues: (
|
|
|
555
557
|
display: var(--_d-flex);
|
|
556
558
|
|
|
557
559
|
&#{$subMenuItemText} {
|
|
558
|
-
font-family:
|
|
560
|
+
font-family:
|
|
561
|
+
var(
|
|
559
562
|
--_sf-it-at-ff,
|
|
560
563
|
var(
|
|
561
564
|
--_sf-it-hr-ff,
|
package/dist/modal.scss
CHANGED
|
@@ -191,6 +191,8 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
191
191
|
|
|
192
192
|
.modalV2-main {
|
|
193
193
|
.modalV2-wrapper {
|
|
194
|
+
min-height: 50%;
|
|
195
|
+
overflow: hidden !important;
|
|
194
196
|
position: fixed;
|
|
195
197
|
left: 50%;
|
|
196
198
|
transition:
|
|
@@ -198,7 +200,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
198
200
|
transform 0.4s ease-in-out;
|
|
199
201
|
background: $white;
|
|
200
202
|
border-radius: $radius-lg;
|
|
201
|
-
padding: 0px 20px;
|
|
203
|
+
// padding: 0px 20px;
|
|
202
204
|
width: 850px;
|
|
203
205
|
font-family: $font-base;
|
|
204
206
|
box-shadow: $shadow-md;
|
|
@@ -207,15 +209,17 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
207
209
|
overflow: scroll;
|
|
208
210
|
display: flex;
|
|
209
211
|
flex-direction: column;
|
|
210
|
-
|
|
212
|
+
.modal-body {
|
|
213
|
+
height: calc(100% - 61px);
|
|
214
|
+
}
|
|
211
215
|
&.fullscreen {
|
|
212
216
|
transition:
|
|
213
217
|
all 0.5s ease-in-out,
|
|
214
218
|
transform 0.5s ease-in-out;
|
|
215
219
|
top: 50%;
|
|
216
220
|
left: 50%;
|
|
217
|
-
width:
|
|
218
|
-
height:
|
|
221
|
+
width: 99vw;
|
|
222
|
+
height: 98vh;
|
|
219
223
|
border-radius: $radius-lg;
|
|
220
224
|
transform: translate(-50%, -50%);
|
|
221
225
|
box-shadow: none;
|
|
@@ -245,6 +249,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
245
249
|
&.bottom {
|
|
246
250
|
bottom: 5%;
|
|
247
251
|
transform: translate(-50%, 0%);
|
|
252
|
+
height: 100%;
|
|
248
253
|
}
|
|
249
254
|
|
|
250
255
|
.top-bar {
|
|
@@ -252,12 +257,14 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
252
257
|
top: 0;
|
|
253
258
|
background: $white;
|
|
254
259
|
z-index: 1;
|
|
255
|
-
padding
|
|
260
|
+
padding: 0 16px;
|
|
261
|
+
border-bottom: 1px solid #d0d5dd;
|
|
256
262
|
.title-bar {
|
|
257
263
|
display: flex;
|
|
258
264
|
justify-content: space-between;
|
|
259
265
|
align-items: center;
|
|
260
|
-
padding: 15px 0px;
|
|
266
|
+
// padding: 15px 0px;
|
|
267
|
+
height: 60px;
|
|
261
268
|
|
|
262
269
|
.left-col {
|
|
263
270
|
display: flex;
|