@sc-360-v2/storefront-cms-library 0.4.78 → 0.4.80
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-order.scss +377 -377
- package/dist/builder.js +1 -1
- package/dist/bulk-order-pad.scss +20 -7
- package/dist/buyForPopup.scss +14 -3
- package/dist/checkout.scss +7 -0
- package/dist/default-dropdown.scss +259 -240
- package/dist/dropdownTemplate.scss +24 -17
- package/dist/form-preview.scss +328 -290
- package/dist/language-selector.scss +2 -2
- package/dist/menu-v2.scss +3 -3
- package/dist/modal.scss +2 -2
- package/dist/multi-select-dropdown.scss +293 -282
- package/dist/order-status.scss +28 -7
- package/dist/phone-input.scss +167 -0
- package/dist/quick-order-pad.scss +15 -1
- package/dist/request-for-quotes.scss +827 -746
- package/dist/types/builder/tools/element-edit/orderStatus.d.ts +39 -0
- package/dist/user-elements.scss +27 -0
- package/package.json +1 -1
package/dist/form-preview.scss
CHANGED
|
@@ -1,290 +1,328 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
@use "./fb-dropdown.scss";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
border-top-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
border-bottom-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
.
|
|
289
|
-
|
|
290
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
@use "./fb-dropdown.scss";
|
|
4
|
+
@use "./phone-input.scss";
|
|
5
|
+
/**************************************************************
|
|
6
|
+
* Preview Form Styles
|
|
7
|
+
**************************************************************/
|
|
8
|
+
|
|
9
|
+
.new-form-template {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
padding: 20px;
|
|
15
|
+
height: 100%;
|
|
16
|
+
width: 100%;
|
|
17
|
+
border-radius: 5px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
background-color: #ffffff;
|
|
20
|
+
|
|
21
|
+
.icon-container {
|
|
22
|
+
margin-bottom: 10px;
|
|
23
|
+
|
|
24
|
+
svg {
|
|
25
|
+
width: 50px;
|
|
26
|
+
height: 50px;
|
|
27
|
+
color: #666;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.title {
|
|
32
|
+
font-size: 1.2em;
|
|
33
|
+
color: #8b4513;
|
|
34
|
+
margin-bottom: 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.description {
|
|
38
|
+
font-size: 0.9em;
|
|
39
|
+
color: #777;
|
|
40
|
+
line-height: 1.4;
|
|
41
|
+
}
|
|
42
|
+
.spinner {
|
|
43
|
+
animation: spin 1s linear infinite;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes spin {
|
|
47
|
+
0% {
|
|
48
|
+
transform: rotate(0deg);
|
|
49
|
+
}
|
|
50
|
+
100% {
|
|
51
|
+
transform: rotate(360deg);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.fb_field {
|
|
57
|
+
width: 100%;
|
|
58
|
+
.cnf_checkbox {
|
|
59
|
+
display: flex;
|
|
60
|
+
gap: 8px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.input__error {
|
|
64
|
+
border: 1px solid var(--_error-300) !important;
|
|
65
|
+
|
|
66
|
+
&:focus {
|
|
67
|
+
outline: 2px solid var(--_error-100) !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
box-shadow: 0px 0px 0px 4px var(--_error-100);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.error_styles {
|
|
74
|
+
span {
|
|
75
|
+
svg {
|
|
76
|
+
width: 14px;
|
|
77
|
+
height: 14px;
|
|
78
|
+
path {
|
|
79
|
+
stroke: var(--_error-500);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.toggle_input {
|
|
86
|
+
display: flex;
|
|
87
|
+
svg {
|
|
88
|
+
width: 18px;
|
|
89
|
+
height: 18px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
.editor {
|
|
93
|
+
padding-inline: 0px !important;
|
|
94
|
+
.fr-toolbar.fr-top {
|
|
95
|
+
border-top-left-radius: 6px;
|
|
96
|
+
border-top-right-radius: 6px;
|
|
97
|
+
}
|
|
98
|
+
.fr-second-toolbar {
|
|
99
|
+
border-bottom-left-radius: 6px;
|
|
100
|
+
border-bottom-right-radius: 6px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.date_picker_container {
|
|
105
|
+
position: relative;
|
|
106
|
+
|
|
107
|
+
.svg_icon {
|
|
108
|
+
position: absolute;
|
|
109
|
+
left: 8px;
|
|
110
|
+
top: 9px;
|
|
111
|
+
z-index: 1;
|
|
112
|
+
display: flex;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.react-datepicker-wrapper {
|
|
116
|
+
display: block;
|
|
117
|
+
|
|
118
|
+
.react-datepicker__input-container {
|
|
119
|
+
input {
|
|
120
|
+
padding-left: 32px !important;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.react-datepicker-wrapper {
|
|
127
|
+
display: block;
|
|
128
|
+
}
|
|
129
|
+
input:not([type="checkbox"][type="radio"]),
|
|
130
|
+
select {
|
|
131
|
+
border: 1px solid var(--_primary-300);
|
|
132
|
+
border-radius: 6px;
|
|
133
|
+
padding-inline: 12px;
|
|
134
|
+
width: 100%;
|
|
135
|
+
height: 38px;
|
|
136
|
+
&:focus {
|
|
137
|
+
outline: 2px solid var(--_primary-100);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
input[type="tel"] {
|
|
141
|
+
border-top-left-radius: 0px !important;
|
|
142
|
+
border-bottom-left-radius: 0px !important;
|
|
143
|
+
border-left: 0 !important;
|
|
144
|
+
background-color: var(--_base-white);
|
|
145
|
+
height: 38px;
|
|
146
|
+
}
|
|
147
|
+
textarea {
|
|
148
|
+
width: 100%;
|
|
149
|
+
resize: vertical;
|
|
150
|
+
border-radius: 6px;
|
|
151
|
+
background-color: var(--_base-white);
|
|
152
|
+
border: 1px solid var(--_gray-300);
|
|
153
|
+
padding: 12px;
|
|
154
|
+
}
|
|
155
|
+
.error_styles {
|
|
156
|
+
min-height: 20px;
|
|
157
|
+
}
|
|
158
|
+
.label_with_radio {
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
gap: 4px;
|
|
162
|
+
label {
|
|
163
|
+
margin-right: 12px;
|
|
164
|
+
display: flex;
|
|
165
|
+
align-items: center;
|
|
166
|
+
gap: 12px;
|
|
167
|
+
text-wrap: nowrap;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.custom-input {
|
|
172
|
+
display: inline-flex;
|
|
173
|
+
align-items: center;
|
|
174
|
+
gap: 0.5rem;
|
|
175
|
+
font-size: 16px;
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
user-select: none;
|
|
178
|
+
flex-wrap: wrap;
|
|
179
|
+
|
|
180
|
+
input {
|
|
181
|
+
display: none;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.custom-mark {
|
|
185
|
+
width: 20px;
|
|
186
|
+
height: 20px;
|
|
187
|
+
background-color: var(--_base-white);
|
|
188
|
+
border: 2px solid var(--_gray-400);
|
|
189
|
+
margin: 0px 4px;
|
|
190
|
+
position: relative;
|
|
191
|
+
transition: all 0.2s ease;
|
|
192
|
+
|
|
193
|
+
&::after {
|
|
194
|
+
content: "";
|
|
195
|
+
position: absolute;
|
|
196
|
+
opacity: 0;
|
|
197
|
+
transition: opacity 0.2s ease;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&.checkbox {
|
|
202
|
+
.custom-mark {
|
|
203
|
+
border-radius: 4px;
|
|
204
|
+
|
|
205
|
+
&::after {
|
|
206
|
+
left: 6px;
|
|
207
|
+
top: 2px;
|
|
208
|
+
width: 5px;
|
|
209
|
+
height: 10px;
|
|
210
|
+
border: solid #fff;
|
|
211
|
+
border-width: 0 2px 2px 0;
|
|
212
|
+
transform: rotate(45deg);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
input:checked + .custom-mark {
|
|
217
|
+
background-color: var(--_primary-400);
|
|
218
|
+
border-color: var(--_primary-400);
|
|
219
|
+
|
|
220
|
+
&::after {
|
|
221
|
+
opacity: 1;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&.radio {
|
|
227
|
+
.custom-mark {
|
|
228
|
+
border-radius: 50%;
|
|
229
|
+
|
|
230
|
+
&::after {
|
|
231
|
+
top: 50%;
|
|
232
|
+
left: 50%;
|
|
233
|
+
width: 10px;
|
|
234
|
+
height: 10px;
|
|
235
|
+
background-color: var(--_base-white);
|
|
236
|
+
border-radius: 50%;
|
|
237
|
+
transform: translate(-50%, -50%);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
input:checked + .custom-mark {
|
|
242
|
+
background-color: var(--_primary-400);
|
|
243
|
+
border-color: var(--_primary-400);
|
|
244
|
+
|
|
245
|
+
&::after {
|
|
246
|
+
opacity: 1;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
.label_styles {
|
|
252
|
+
display: block;
|
|
253
|
+
margin-bottom: 4px;
|
|
254
|
+
}
|
|
255
|
+
&:has(input[type="checkbox"]) {
|
|
256
|
+
display: flex;
|
|
257
|
+
flex-direction: column;
|
|
258
|
+
// align-items: center;
|
|
259
|
+
// gap: 8px;
|
|
260
|
+
}
|
|
261
|
+
input[type="checkbox"] {
|
|
262
|
+
width: 20px !important;
|
|
263
|
+
height: 20px !important;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
.fb_file_upload {
|
|
267
|
+
label {
|
|
268
|
+
display: block;
|
|
269
|
+
margin-bottom: 6px;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
.fb_btn {
|
|
273
|
+
height: 38px;
|
|
274
|
+
text-align: center;
|
|
275
|
+
border-radius: 6px;
|
|
276
|
+
background-color: var(--_primary-400);
|
|
277
|
+
color: var(--_base-white);
|
|
278
|
+
width: 100%;
|
|
279
|
+
padding-inline: 16px;
|
|
280
|
+
cursor: pointer;
|
|
281
|
+
transition: opacity 0.2s ease;
|
|
282
|
+
|
|
283
|
+
&:disabled,
|
|
284
|
+
&[disabled] {
|
|
285
|
+
background-color: var(--_primary-400);
|
|
286
|
+
color: var(--_base-white);
|
|
287
|
+
cursor: not-allowed;
|
|
288
|
+
opacity: 0.6;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.react-datepicker-popper {
|
|
293
|
+
z-index: 9999 !important;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.react-grid-item:has(.react-datepicker-popper) {
|
|
297
|
+
z-index: 2 !important;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.react-grid-item:has(.sc-phone-dropdown) {
|
|
301
|
+
z-index: 2 !important;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.react-datepicker__month {
|
|
305
|
+
background-color: var(--_base-white);
|
|
306
|
+
margin: 0px;
|
|
307
|
+
border: 1px solid var(--_gray-200);
|
|
308
|
+
border-top: 0;
|
|
309
|
+
margin: 0px !important;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.react-datepicker__header:not(.react-datepicker__header--has-time-select) {
|
|
313
|
+
// padding: 25px 10px 15px 20px;
|
|
314
|
+
// display: flex;
|
|
315
|
+
// justify-content: center;
|
|
316
|
+
// align-items: center;
|
|
317
|
+
// height: 67px;
|
|
318
|
+
}
|
|
319
|
+
.react-datepicker__day-names {
|
|
320
|
+
padding-top: 5px;
|
|
321
|
+
}
|
|
322
|
+
.react-datepicker__header {
|
|
323
|
+
// padding: 25px 10px 15px 20px;
|
|
324
|
+
display: flex;
|
|
325
|
+
justify-content: center;
|
|
326
|
+
align-items: center;
|
|
327
|
+
height: 67px;
|
|
328
|
+
}
|
|
@@ -687,11 +687,11 @@
|
|
|
687
687
|
// }
|
|
688
688
|
}
|
|
689
689
|
&.show__panel {
|
|
690
|
-
animation: slideUp 0.4s ease-in-out;
|
|
690
|
+
animation: slideUp 0.4s ease-in-out forwards;
|
|
691
691
|
}
|
|
692
692
|
|
|
693
693
|
&.hide__panel {
|
|
694
|
-
animation: slideDown 0.4s ease-in-out;
|
|
694
|
+
animation: slideDown 0.4s ease-in-out forwards;
|
|
695
695
|
pointer-events: none;
|
|
696
696
|
}
|
|
697
697
|
}
|
package/dist/menu-v2.scss
CHANGED
|
@@ -15,13 +15,13 @@ $hamburgerActive: "[data-hamburger-active='true']";
|
|
|
15
15
|
|
|
16
16
|
$wrapperData: (
|
|
17
17
|
start: (
|
|
18
|
-
left: prepareMediaVariable(--_ctm-
|
|
18
|
+
left: prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-x, 0px),
|
|
19
19
|
),
|
|
20
20
|
end: (
|
|
21
|
-
right: prepareMediaVariable(--_ctm-
|
|
21
|
+
right: prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-x, 0px),
|
|
22
22
|
),
|
|
23
23
|
center: (
|
|
24
|
-
left: calc(50% + #{prepareMediaVariable(--_ctm-
|
|
24
|
+
left: calc(50% + #{prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-x, 0px)}),
|
|
25
25
|
transform: translateX(-50%),
|
|
26
26
|
),
|
|
27
27
|
);
|
package/dist/modal.scss
CHANGED
|
@@ -439,7 +439,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
439
439
|
|
|
440
440
|
.modalV2-main {
|
|
441
441
|
position: fixed;
|
|
442
|
-
z-index:
|
|
442
|
+
z-index: $z-index-modal;
|
|
443
443
|
inset: 0;
|
|
444
444
|
background: rgba(0, 0, 0, 0.4);
|
|
445
445
|
|
|
@@ -2059,7 +2059,7 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
2059
2059
|
|
|
2060
2060
|
.footer-actions {
|
|
2061
2061
|
display: flex;
|
|
2062
|
-
gap:
|
|
2062
|
+
gap: 12px;
|
|
2063
2063
|
|
|
2064
2064
|
.cancel-btn {
|
|
2065
2065
|
// border-radius: $radius;
|