@sc-360-v2/storefront-cms-library 0.5.43 → 0.5.45
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/faq.scss +46 -0
- package/dist/fb-dropdown.scss +135 -125
- package/dist/form-preview.scss +28 -3
- package/dist/hotspot.scss +375 -109
- package/dist/map.scss +55 -4
- package/dist/profile.scss +210 -174
- package/dist/quick-links.scss +39 -6
- package/dist/rfqs.scss +822 -736
- package/dist/search.scss +236 -1
- package/dist/types/builder/tools/element-edit/createForm.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/faq.d.ts +8 -1
- package/dist/types/builder/tools/element-edit/imageHotspot.d.ts +16 -5
- package/dist/types/builder/tools/element-edit/profile.d.ts +7 -1
- package/dist/types/builder/tools/element-edit/quickLinks.d.ts +6 -0
- package/dist/types/builder/tools/element-edit/rfqs.d.ts +45 -1
- package/dist/types/builder/tools/element-edit/search.d.ts +20 -1
- package/dist/types/builder/tools/element-edit/uomSelector.d.ts +5 -0
- package/dist/types/upload-media/types.d.ts +2 -1
- package/dist/uom-selector.scss +60 -2
- package/dist/uploadMedia.js +1 -1
- package/dist/volume-pricing.scss +0 -1
- package/package.json +1 -1
package/dist/faq.scss
CHANGED
|
@@ -299,6 +299,29 @@
|
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
+
.accordion-items {
|
|
303
|
+
display: flex;
|
|
304
|
+
gap: 8px;
|
|
305
|
+
.icon {
|
|
306
|
+
display: var(--_hover-show-icon, var(--_show-icon, flex));
|
|
307
|
+
svg {
|
|
308
|
+
width: var(
|
|
309
|
+
--_ctm-mob-dn-io-in-in-se,
|
|
310
|
+
var(--_ctm-tab-dn-io-in-in-se, var(--_ctm-dn-io-in-in-se))
|
|
311
|
+
);
|
|
312
|
+
height: var(
|
|
313
|
+
--_ctm-mob-dn-io-in-in-se,
|
|
314
|
+
var(--_ctm-tab-dn-io-in-in-se, var(--_ctm-dn-io-in-in-se))
|
|
315
|
+
);
|
|
316
|
+
path {
|
|
317
|
+
stroke: var(
|
|
318
|
+
--_ctm-mob-dn-io-in-in-c1,
|
|
319
|
+
var(--_ctm-tab-dn-io-in-in-c1, var(--_ctm-dn-io-in-in-c1))
|
|
320
|
+
);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
302
325
|
}
|
|
303
326
|
.accordion-description {
|
|
304
327
|
display: none;
|
|
@@ -461,6 +484,29 @@
|
|
|
461
484
|
}
|
|
462
485
|
}
|
|
463
486
|
}
|
|
487
|
+
.accordion-items {
|
|
488
|
+
display: flex;
|
|
489
|
+
gap: 8px;
|
|
490
|
+
.icon {
|
|
491
|
+
display: var(--_hover-show-icon, var(--_show-icon, flex));
|
|
492
|
+
svg {
|
|
493
|
+
width: var(
|
|
494
|
+
--_ctm-mob-dn-io-in-in-se,
|
|
495
|
+
var(--_ctm-tab-dn-io-in-in-se, var(--_ctm-dn-io-in-in-se))
|
|
496
|
+
);
|
|
497
|
+
height: var(
|
|
498
|
+
--_ctm-mob-dn-io-in-in-se,
|
|
499
|
+
var(--_ctm-tab-dn-io-in-in-se, var(--_ctm-dn-io-in-in-se))
|
|
500
|
+
);
|
|
501
|
+
path {
|
|
502
|
+
stroke: var(
|
|
503
|
+
--_ctm-mob-dn-io-in-in-c1,
|
|
504
|
+
var(--_ctm-tab-dn-io-in-in-c1, var(--_ctm-dn-io-in-in-c1))
|
|
505
|
+
);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
464
510
|
}
|
|
465
511
|
.accordion-description {
|
|
466
512
|
display: block;
|
package/dist/fb-dropdown.scss
CHANGED
|
@@ -1,125 +1,135 @@
|
|
|
1
|
-
.
|
|
2
|
-
position:
|
|
3
|
-
|
|
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
|
-
margin:
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
-
}
|
|
1
|
+
.react-grid-item {
|
|
2
|
+
position: inherit !important;
|
|
3
|
+
transform: inherit !important;
|
|
4
|
+
width: 100% !important;
|
|
5
|
+
height: fit-content !important;
|
|
6
|
+
padding-bottom: 16px !important;
|
|
7
|
+
.grid-item {
|
|
8
|
+
margin-bottom: 0px !important;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
.fb_dropdown_main {
|
|
12
|
+
position: relative;
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fb_dropdown_label {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 40px;
|
|
19
|
+
border: 1px solid var(--_gray-300);
|
|
20
|
+
border-radius: 6px;
|
|
21
|
+
background: var(--_base-white);
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
padding: 0 12px;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
transition: border 0.2s ease;
|
|
28
|
+
|
|
29
|
+
&:focus,
|
|
30
|
+
&:focus-within {
|
|
31
|
+
border-color: var(--_primary-300);
|
|
32
|
+
box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
|
|
33
|
+
outline: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.disabled {
|
|
37
|
+
cursor: not-allowed;
|
|
38
|
+
background: var(--_gray-100);
|
|
39
|
+
color: var(--_gray-400);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.fb_dropdown_text {
|
|
43
|
+
color: var(--_gray-800);
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
text-overflow: ellipsis;
|
|
47
|
+
max-width: 90%;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.fb_dropdown_icon {
|
|
51
|
+
display: flex;
|
|
52
|
+
transition: transform 300ms ease;
|
|
53
|
+
|
|
54
|
+
svg {
|
|
55
|
+
width: 16px;
|
|
56
|
+
height: 16px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.open {
|
|
60
|
+
transform: rotate(180deg);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.fb_dropdown_panel {
|
|
66
|
+
position: absolute;
|
|
67
|
+
width: 100%;
|
|
68
|
+
background-color: var(--_base-white);
|
|
69
|
+
border: 1px solid var(--_gray-300);
|
|
70
|
+
border-radius: 6px;
|
|
71
|
+
margin-top: 4px;
|
|
72
|
+
z-index: 10;
|
|
73
|
+
max-height: 200px;
|
|
74
|
+
overflow-y: auto;
|
|
75
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
76
|
+
|
|
77
|
+
&.drop-up {
|
|
78
|
+
bottom: 44px;
|
|
79
|
+
top: auto;
|
|
80
|
+
margin-top: 0;
|
|
81
|
+
margin-bottom: 4px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.drop-down {
|
|
85
|
+
top: 100%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
ul {
|
|
89
|
+
list-style: none;
|
|
90
|
+
padding: 4px;
|
|
91
|
+
margin: 0;
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
gap: 2px;
|
|
95
|
+
|
|
96
|
+
li {
|
|
97
|
+
padding: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.dropdown_option {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
gap: 8px;
|
|
104
|
+
padding: 8px 12px;
|
|
105
|
+
font-size: 14px;
|
|
106
|
+
color: var(--_gray-700);
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
transition: background 0.2s;
|
|
109
|
+
border-radius: 4px;
|
|
110
|
+
|
|
111
|
+
input[type="checkbox"] {
|
|
112
|
+
margin: 0;
|
|
113
|
+
pointer-events: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&:hover {
|
|
117
|
+
background-color: var(--_primary-50);
|
|
118
|
+
color: var(--_primary-500);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&.selected {
|
|
122
|
+
background-color: var(--_primary-25);
|
|
123
|
+
color: var(--_primary-700);
|
|
124
|
+
font-weight: 500;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.empty-options {
|
|
131
|
+
padding: 10px 12px;
|
|
132
|
+
color: var(--_gray-500);
|
|
133
|
+
font-size: 14px;
|
|
134
|
+
text-align: center;
|
|
135
|
+
}
|
package/dist/form-preview.scss
CHANGED
|
@@ -12,11 +12,36 @@
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
justify-content: center;
|
|
14
14
|
padding: 20px;
|
|
15
|
-
height: 100%;
|
|
15
|
+
// height: 100%;
|
|
16
16
|
width: 100%;
|
|
17
|
-
border-radius: 5px;
|
|
18
17
|
text-align: center;
|
|
19
|
-
background-color:
|
|
18
|
+
background-color: var(
|
|
19
|
+
--_ctm-mob-dn-fm-cr-bd-cr,
|
|
20
|
+
var(--_ctm-tab-dn-fm-cr-bd-cr, var(--_ctm-dn-fm-cr-bd-cr))
|
|
21
|
+
);
|
|
22
|
+
border-color: var(
|
|
23
|
+
--_ctm-mob-dn-fm-cr-br-cr,
|
|
24
|
+
var(--_ctm-tab-dn-fm-cr-br-cr, var(--_ctm-dn-fm-cr-br-cr))
|
|
25
|
+
);
|
|
26
|
+
border-style: var(
|
|
27
|
+
--_ctm-mob-dn-fm-cr-br-se,
|
|
28
|
+
var(--_ctm-tab-dn-fm-cr-br-se, var(--_ctm-dn-fm-cr-br-se))
|
|
29
|
+
);
|
|
30
|
+
border-width: var(
|
|
31
|
+
--_ctm-mob-dn-fm-cr-br-wh,
|
|
32
|
+
var(--_ctm-tab-dn-fm-cr-br-wh, var(--_ctm-dn-fm-cr-br-wh))
|
|
33
|
+
);
|
|
34
|
+
border-radius: var(
|
|
35
|
+
--_ctm-mob-dn-fm-cr-br-rs,
|
|
36
|
+
var(--_ctm-tab-dn-fm-cr-br-rs, var(--_ctm-dn-fm-cr-br-rs))
|
|
37
|
+
);
|
|
38
|
+
box-shadow: var(
|
|
39
|
+
--_ctm-mob-dn-fm-cr-sw-ae,
|
|
40
|
+
var(--_ctm-tab-dn-fm-cr-sw-ae, var(--_ctm-dn-fm-cr-sw-ae))
|
|
41
|
+
)
|
|
42
|
+
var(--_ctm-mob-dn-fm-cr-sw-br, var(--_ctm-tab-dn-fm-cr-sw-br, var(--_ctm-dn-fm-cr-sw-br)))
|
|
43
|
+
var(--_ctm-mob-dn-fm-cr-sw-sd, var(--_ctm-tab-dn-fm-cr-sw-sd, var(--_ctm-dn-fm-cr-sw-sd)))
|
|
44
|
+
var(--_ctm-mob-dn-fm-cr-sw-cr, var(--_ctm-tab-dn-fm-cr-sw-cr, var(--_ctm-dn-fm-cr-sw-cr)));
|
|
20
45
|
|
|
21
46
|
.icon-container {
|
|
22
47
|
margin-bottom: 10px;
|