@sc-360-v2/storefront-cms-library 0.3.29 → 0.3.31
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/animation-control.scss +23 -0
- package/dist/builder.js +1 -1
- package/dist/bulk-order-pad.scss +73 -13
- package/dist/cart-details.scss +573 -287
- package/dist/cart-summary.scss +102 -73
- package/dist/cartAttributes.scss +3 -0
- package/dist/cartDropdownOverlay.scss +11 -7
- package/dist/checkout.scss +1069 -944
- package/dist/contact-us.scss +3 -0
- package/dist/dropdownTemplate.scss +24 -3
- package/dist/employee-bulk-order.scss +36 -5
- package/dist/empty-states.scss +52 -0
- package/dist/fb-dropdown.scss +6 -2
- package/dist/form-preview.scss +24 -1
- package/dist/form-zindex-module.scss +25 -0
- package/dist/functions.scss +72 -2
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/light-box-v2.scss +1 -1
- package/dist/modal.scss +96 -37
- package/dist/position-module.scss +74 -0
- package/dist/prefix-list.scss +55 -0
- package/dist/quick-order-pad.scss +49 -10
- package/dist/responsive-behaviour.scss +21 -0
- package/dist/section.scss +13 -9
- package/dist/shareCartSideBar.scss +17 -8
- package/dist/submit-quote.scss +115 -52
- package/dist/types/builder/elements/loader/index.d.ts +27 -0
- package/dist/types/builder/enums/index.d.ts +1 -0
- package/dist/types/builder/index.d.ts +2 -1
- package/dist/types/builder/interfaces/global.d.ts +13 -0
- package/dist/types/builder/tools/element-edit/amountEstimator.d.ts +441 -0
- package/dist/types/builder/tools/element-edit/buttonInstance.d.ts +364 -0
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +2 -2
- package/dist/types/builder/tools/element-edit/checkout.d.ts +8 -0
- package/dist/types/builder/tools/element-edit/common.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/countdown.d.ts +384 -44
- package/dist/types/builder/tools/element-edit/dummy.d.ts +0 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/loader.d.ts +28 -0
- package/dist/types/builder/tools/element-edit/productActions.d.ts +390 -43
- package/dist/types/builder/tools/element-edit/quickLinks.d.ts +192 -22
- package/dist/types/builder/tools/element-edit/repeater.d.ts +439 -1
- package/dist/types/builder/tools/element-edit/table.d.ts +0 -1
- package/dist/types/builder/tools/element-edit/typographyInstance.d.ts +981 -0
- package/dist/types/builder/tools/element-edit/video.d.ts +192 -22
- package/dist/types/global/types.d.ts +2 -0
- package/dist/widget.scss +1 -0
- package/package.json +1 -1
package/dist/contact-us.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "sass:list";
|
|
3
|
+
@use "./form-zindex-module.scss" as *;
|
|
3
4
|
|
|
4
5
|
[data-div-type="element"] {
|
|
5
6
|
&[data-element-type="contactUs"],
|
|
@@ -22,6 +23,8 @@
|
|
|
22
23
|
// justify-content: center;
|
|
23
24
|
// width: 100%;
|
|
24
25
|
// height: 100%;
|
|
26
|
+
|
|
27
|
+
@include FlexFormZindexModuleStyles();
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
& form {
|
|
@@ -85,7 +85,16 @@
|
|
|
85
85
|
.readonly-input,
|
|
86
86
|
.dropdown__clear__icon,
|
|
87
87
|
.dropdown__icon {
|
|
88
|
+
.icon {
|
|
89
|
+
display: flex;
|
|
90
|
+
}
|
|
88
91
|
cursor: pointer;
|
|
92
|
+
.icon svg {
|
|
93
|
+
vertical-align: middle;
|
|
94
|
+
}
|
|
95
|
+
.icon.down svg {
|
|
96
|
+
transform: rotate(180deg);
|
|
97
|
+
}
|
|
89
98
|
}
|
|
90
99
|
.dropdown__clear__icon {
|
|
91
100
|
position: absolute;
|
|
@@ -94,7 +103,7 @@
|
|
|
94
103
|
.dropdown-menu {
|
|
95
104
|
position: absolute;
|
|
96
105
|
width: 100%;
|
|
97
|
-
top:
|
|
106
|
+
top: 40px;
|
|
98
107
|
left: 0px;
|
|
99
108
|
right: 24px;
|
|
100
109
|
background: white;
|
|
@@ -105,7 +114,6 @@
|
|
|
105
114
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
106
115
|
z-index: 10;
|
|
107
116
|
min-width: 240px;
|
|
108
|
-
min-height: 300px;
|
|
109
117
|
max-height: 300px;
|
|
110
118
|
|
|
111
119
|
.dropdown-opt {
|
|
@@ -227,13 +235,20 @@
|
|
|
227
235
|
.dropdown-with-input-section.full-width {
|
|
228
236
|
width: auto;
|
|
229
237
|
.dropdown-input-section {
|
|
230
|
-
width: 100
|
|
238
|
+
width: 100%;
|
|
239
|
+
border-radius: 6px;
|
|
240
|
+
|
|
241
|
+
&:focus-within {
|
|
242
|
+
border: 1px solid var(--_primary-300);
|
|
243
|
+
outline: 2px solid var(--_primary-50);
|
|
244
|
+
}
|
|
231
245
|
}
|
|
232
246
|
}
|
|
233
247
|
|
|
234
248
|
.icon_with_label_section {
|
|
235
249
|
display: flex;
|
|
236
250
|
gap: 4px;
|
|
251
|
+
align-items: center;
|
|
237
252
|
cursor: pointer;
|
|
238
253
|
.label_elm {
|
|
239
254
|
color: var(--_primary-400);
|
|
@@ -247,3 +262,9 @@
|
|
|
247
262
|
text-overflow: ellipsis;
|
|
248
263
|
white-space: nowrap;
|
|
249
264
|
}
|
|
265
|
+
.no_data_found {
|
|
266
|
+
position: absolute;
|
|
267
|
+
top: 50%;
|
|
268
|
+
left: 50%;
|
|
269
|
+
transform: translate(-50%, -50%);
|
|
270
|
+
}
|
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-self: end;
|
|
4
4
|
gap: 10px;
|
|
5
|
-
.single_payment_action {
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
gap: 6px;
|
|
9
|
-
}
|
|
10
5
|
.svg_icon {
|
|
11
6
|
display: flex;
|
|
12
7
|
align-items: center;
|
|
@@ -452,6 +447,14 @@
|
|
|
452
447
|
right: -8px;
|
|
453
448
|
}
|
|
454
449
|
}
|
|
450
|
+
.single_checkout_sec {
|
|
451
|
+
gap: 12px;
|
|
452
|
+
.single_addres_sec,
|
|
453
|
+
.single_payment_sec {
|
|
454
|
+
color: #243dc6;
|
|
455
|
+
cursor: pointer;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
455
458
|
.action_item {
|
|
456
459
|
cursor: pointer;
|
|
457
460
|
}
|
|
@@ -545,3 +548,31 @@
|
|
|
545
548
|
font-size: 14px;
|
|
546
549
|
}
|
|
547
550
|
}
|
|
551
|
+
.overlay_body {
|
|
552
|
+
position: absolute;
|
|
553
|
+
top: 100%;
|
|
554
|
+
width: 168px;
|
|
555
|
+
background: #fff;
|
|
556
|
+
padding: 12px;
|
|
557
|
+
/* border: 1px solid gray; */
|
|
558
|
+
border-radius: 4px;
|
|
559
|
+
box-shadow: 0 0 24px 0 #00000010;
|
|
560
|
+
display: grid;
|
|
561
|
+
gap: 8px;
|
|
562
|
+
width: 227px;
|
|
563
|
+
right: 0px;
|
|
564
|
+
.overlay_body_opt {
|
|
565
|
+
display: flex;
|
|
566
|
+
gap: 12px;
|
|
567
|
+
height: 50px;
|
|
568
|
+
width: 100%;
|
|
569
|
+
align-items: center;
|
|
570
|
+
justify-content: space-between;
|
|
571
|
+
padding: 8px;
|
|
572
|
+
.overlay_body_opt_tittle {
|
|
573
|
+
display: flex;
|
|
574
|
+
align-items: center;
|
|
575
|
+
gap: 3px;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.empty_template {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
height: 100%;
|
|
7
|
+
|
|
8
|
+
h3 {
|
|
9
|
+
font-size: 16px;
|
|
10
|
+
color: var(--_gray-900);
|
|
11
|
+
font-weight: 600;
|
|
12
|
+
margin-bottom: 10px;
|
|
13
|
+
}
|
|
14
|
+
p {
|
|
15
|
+
font-size: 12px;
|
|
16
|
+
color: var(--_gray-600);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.bulk_order_pad_empty_msg_container {
|
|
21
|
+
display: flex;
|
|
22
|
+
width: 100%;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
gap: 6px;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
flex: 1 1 auto;
|
|
28
|
+
width: 100%;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
align-items: center;
|
|
33
|
+
img {
|
|
34
|
+
max-width: 100px;
|
|
35
|
+
max-height: 100px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.bulk_order_pad_empty_msg {
|
|
39
|
+
font-family: "Lato";
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
font-size: 24px;
|
|
42
|
+
color: var(--_gray-900);
|
|
43
|
+
line-height: 32px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.bulk_order_pad_support_msg {
|
|
47
|
+
font-family: "Lato";
|
|
48
|
+
font-size: 14px;
|
|
49
|
+
line-height: 20px;
|
|
50
|
+
color: var(--_gray-900);
|
|
51
|
+
}
|
|
52
|
+
}
|
package/dist/fb-dropdown.scss
CHANGED
|
@@ -77,8 +77,11 @@
|
|
|
77
77
|
|
|
78
78
|
ul {
|
|
79
79
|
list-style: none;
|
|
80
|
-
padding: 4px
|
|
80
|
+
padding: 4px;
|
|
81
81
|
margin: 0;
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
gap: 2px;
|
|
82
85
|
|
|
83
86
|
li {
|
|
84
87
|
padding: 0;
|
|
@@ -93,6 +96,7 @@
|
|
|
93
96
|
color: var(--_gray-700);
|
|
94
97
|
cursor: pointer;
|
|
95
98
|
transition: background 0.2s;
|
|
99
|
+
border-radius: 4px;
|
|
96
100
|
|
|
97
101
|
input[type="checkbox"] {
|
|
98
102
|
margin: 0;
|
|
@@ -105,7 +109,7 @@
|
|
|
105
109
|
}
|
|
106
110
|
|
|
107
111
|
&.selected {
|
|
108
|
-
background-color: var(--_primary-
|
|
112
|
+
background-color: var(--_primary-25);
|
|
109
113
|
color: var(--_primary-700);
|
|
110
114
|
font-weight: 500;
|
|
111
115
|
}
|
package/dist/form-preview.scss
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/**************************************************************
|
|
5
5
|
* Preview Form Styles
|
|
6
6
|
**************************************************************/
|
|
7
|
+
|
|
7
8
|
.new-form-template {
|
|
8
9
|
display: flex;
|
|
9
10
|
flex-direction: column;
|
|
@@ -53,6 +54,10 @@
|
|
|
53
54
|
|
|
54
55
|
.fb_field {
|
|
55
56
|
width: 100%;
|
|
57
|
+
.cnf_checkbox {
|
|
58
|
+
display: flex;
|
|
59
|
+
gap: 8px;
|
|
60
|
+
}
|
|
56
61
|
|
|
57
62
|
.toggle_input {
|
|
58
63
|
display: flex;
|
|
@@ -203,7 +208,7 @@
|
|
|
203
208
|
display: flex;
|
|
204
209
|
flex-direction: column;
|
|
205
210
|
// align-items: center;
|
|
206
|
-
gap: 8px;
|
|
211
|
+
// gap: 8px;
|
|
207
212
|
}
|
|
208
213
|
input[type="checkbox"] {
|
|
209
214
|
width: 20px !important;
|
|
@@ -240,3 +245,21 @@
|
|
|
240
245
|
opacity: 0.6;
|
|
241
246
|
}
|
|
242
247
|
}
|
|
248
|
+
|
|
249
|
+
.react-datepicker__month {
|
|
250
|
+
background-color: var(--_base-white);
|
|
251
|
+
margin: 0px;
|
|
252
|
+
border: 1px solid var(--_gray-200);
|
|
253
|
+
border-top: 0;
|
|
254
|
+
margin: 0px !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.react-datepicker__header:not(.react-datepicker__header--has-time-select) {
|
|
258
|
+
padding: 25px 10px 15px 20px;
|
|
259
|
+
}
|
|
260
|
+
.react-datepicker__day-names {
|
|
261
|
+
padding-top: 5px;
|
|
262
|
+
}
|
|
263
|
+
.react-datepicker__header {
|
|
264
|
+
padding: 25px 10px 15px 20px;
|
|
265
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
|
|
4
|
+
$cls: ".react-grid-item";
|
|
5
|
+
$commonCls: ".grid-item";
|
|
6
|
+
|
|
7
|
+
$hazZindexList: (
|
|
8
|
+
".input.time" : "input:focus",
|
|
9
|
+
".input.datetime-local" : "input:focus",
|
|
10
|
+
".input.date" : "input:focus",
|
|
11
|
+
".select.select": ".open.fb_dropdown_panel"
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
@mixin FlexFormZindexModuleStyles(){
|
|
15
|
+
#{$cls}{
|
|
16
|
+
|
|
17
|
+
@each $key, $value in $hazZindexList{
|
|
18
|
+
&:has(#{$value}){
|
|
19
|
+
&:has(#{$commonCls}#{$key}){
|
|
20
|
+
z-index: 2;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/dist/functions.scss
CHANGED
|
@@ -195,12 +195,82 @@ $breakPointsV2: (
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
@function prepareMediaVariable($full-var) {
|
|
198
|
+
@function prepareMediaVariable($full-var, $common: inherit) {
|
|
199
199
|
$prefix: "--_ctm-";
|
|
200
200
|
$core-name: str-slice($full-var, str-length($prefix) + 1); // removes --_ctm-
|
|
201
201
|
|
|
202
|
-
$default-var: var(#{$full-var});
|
|
202
|
+
$default-var: var(#{$full-var}, #{$common});
|
|
203
203
|
$tab-var: var(#{$prefix}tab-#{$core-name}, #{$default-var});
|
|
204
204
|
$mob-var: var(#{$prefix}mob-#{$core-name}, #{$tab-var});
|
|
205
205
|
@return $mob-var;
|
|
206
206
|
}
|
|
207
|
+
|
|
208
|
+
@mixin flexBorderRotationWithDashed($clr, $gap, $height) {
|
|
209
|
+
--_clr-border: #{$clr};
|
|
210
|
+
--_cid-page-cpn-box-br-width: #{$gap};
|
|
211
|
+
--_cid-box-self-border-height: #{$height};
|
|
212
|
+
--_self-border-width: var(--_cid-page-cpn-box-br-width);
|
|
213
|
+
--_self-border-gap: calc(var(--_cid-page-cpn-box-br-width) * 2);
|
|
214
|
+
--_self-border-height: var(--_cid-box-self-border-height);
|
|
215
|
+
background-image:
|
|
216
|
+
repeating-linear-gradient(
|
|
217
|
+
0deg,
|
|
218
|
+
var(--_clr-border),
|
|
219
|
+
var(--_clr-border) var(--_self-border-width),
|
|
220
|
+
transparent var(--_self-border-width),
|
|
221
|
+
transparent var(--_self-border-gap)
|
|
222
|
+
),
|
|
223
|
+
repeating-linear-gradient(
|
|
224
|
+
90deg,
|
|
225
|
+
var(--_clr-border),
|
|
226
|
+
var(--_clr-border) var(--_self-border-width),
|
|
227
|
+
transparent var(--_self-border-width),
|
|
228
|
+
transparent var(--_self-border-gap)
|
|
229
|
+
),
|
|
230
|
+
repeating-linear-gradient(
|
|
231
|
+
180deg,
|
|
232
|
+
var(--_clr-border),
|
|
233
|
+
var(--_clr-border) var(--_self-border-width),
|
|
234
|
+
transparent var(--_self-border-width),
|
|
235
|
+
transparent var(--_self-border-gap)
|
|
236
|
+
),
|
|
237
|
+
repeating-linear-gradient(
|
|
238
|
+
270deg,
|
|
239
|
+
var(--_clr-border),
|
|
240
|
+
var(--_clr-border) var(--_self-border-width),
|
|
241
|
+
transparent var(--_self-border-width),
|
|
242
|
+
transparent var(--_self-border-gap)
|
|
243
|
+
);
|
|
244
|
+
|
|
245
|
+
background-size:
|
|
246
|
+
var(--_self-border-height) calc(100% + var(--_self-border-gap)),
|
|
247
|
+
calc(100% + var(--_self-border-gap)) var(--_self-border-height),
|
|
248
|
+
var(--_self-border-height) calc(100% + var(--_self-border-gap)),
|
|
249
|
+
calc(100% + var(--_self-border-gap)) var(--_self-border-height);
|
|
250
|
+
|
|
251
|
+
background-repeat: no-repeat;
|
|
252
|
+
background-position:
|
|
253
|
+
0 0,
|
|
254
|
+
0 0,
|
|
255
|
+
100% 0,
|
|
256
|
+
0 100%;
|
|
257
|
+
|
|
258
|
+
animation: boxBorderAnimation 1s infinite linear;
|
|
259
|
+
|
|
260
|
+
@keyframes boxBorderAnimation {
|
|
261
|
+
0% {
|
|
262
|
+
background-position:
|
|
263
|
+
0 0,
|
|
264
|
+
calc(#{$gap} * -2) 0,
|
|
265
|
+
100% calc(#{$gap} * -2),
|
|
266
|
+
0 100%;
|
|
267
|
+
}
|
|
268
|
+
100% {
|
|
269
|
+
background-position:
|
|
270
|
+
0 calc(#{$gap} * -2),
|
|
271
|
+
0 0,
|
|
272
|
+
100% 0,
|
|
273
|
+
calc(#{$gap} * -2) 100%;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|