@sc-360-v2/storefront-cms-library 0.5.3 → 0.5.6
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/icons-builder.js +1 -0
- package/dist/icons-website.js +1 -0
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/phone-input.scss +18 -33
- package/dist/types/builder/tools/element-edit/product-image.d.ts +1 -0
- package/dist/types/icons/builder-icons.d.ts +8 -0
- package/dist/types/icons/common-icons.d.ts +7 -0
- package/dist/types/icons/svg-icons.d.ts +7 -2
- package/dist/types/icons/updated-icons.d.ts +2 -9
- package/dist/types/icons/website-icons.d.ts +8 -0
- package/dist/uploadMedia.js +1 -1
- package/package.json +9 -1
package/dist/phone-input.scss
CHANGED
|
@@ -10,19 +10,21 @@
|
|
|
10
10
|
// }
|
|
11
11
|
.sc-phone-input-wrapper {
|
|
12
12
|
.sc-phone-chevron {
|
|
13
|
-
display:
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
width: 12px;
|
|
15
|
+
height: 12px;
|
|
14
16
|
font-size: 0;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
line-height: 0;
|
|
18
|
+
margin-left: 2px;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
&::before {
|
|
17
22
|
content: "";
|
|
18
|
-
display: inline-block;
|
|
19
23
|
width: 6px;
|
|
20
24
|
height: 6px;
|
|
21
|
-
border-right:
|
|
22
|
-
border-bottom:
|
|
23
|
-
transform: rotate(45deg);
|
|
24
|
-
margin-left: 4px;
|
|
25
|
-
vertical-align: middle;
|
|
25
|
+
border-right: 1.5px solid var(--_gray-500, #667085);
|
|
26
|
+
border-bottom: 1.5px solid var(--_gray-500, #667085);
|
|
27
|
+
transform: rotate(45deg) translateY(-1px);
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
}
|
|
@@ -44,32 +46,15 @@
|
|
|
44
46
|
.sc-phone-country-btn {
|
|
45
47
|
display: flex;
|
|
46
48
|
align-items: center;
|
|
47
|
-
gap:
|
|
48
|
-
padding: 0
|
|
49
|
+
gap: 6px;
|
|
50
|
+
padding: 0 10px;
|
|
49
51
|
border: none;
|
|
50
52
|
background: transparent;
|
|
51
53
|
cursor: pointer;
|
|
52
54
|
height: 100%;
|
|
53
|
-
|
|
55
|
+
border-right: none;
|
|
54
56
|
flex-shrink: 0;
|
|
55
57
|
|
|
56
|
-
position: relative;
|
|
57
|
-
|
|
58
|
-
&::after {
|
|
59
|
-
content: "";
|
|
60
|
-
display: inline-block;
|
|
61
|
-
width: 6px;
|
|
62
|
-
height: 6px;
|
|
63
|
-
border-right: 1.5px solid var(--_gray-500);
|
|
64
|
-
border-bottom: 1.5px solid var(--_gray-500);
|
|
65
|
-
transform: rotate(45deg);
|
|
66
|
-
margin-left: 4px;
|
|
67
|
-
vertical-align: middle;
|
|
68
|
-
top: 13px;
|
|
69
|
-
right: -48px;
|
|
70
|
-
position: absolute;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
58
|
&:disabled {
|
|
74
59
|
cursor: not-allowed;
|
|
75
60
|
opacity: 0.6;
|
|
@@ -87,17 +72,17 @@
|
|
|
87
72
|
}
|
|
88
73
|
|
|
89
74
|
.sc-phone-chevron {
|
|
90
|
-
font-size:
|
|
91
|
-
|
|
92
|
-
line-height: 1;
|
|
75
|
+
font-size: 0;
|
|
76
|
+
line-height: 0;
|
|
93
77
|
}
|
|
94
78
|
|
|
95
79
|
.sc-phone-dial-code {
|
|
96
|
-
padding:
|
|
80
|
+
padding: 10px;
|
|
97
81
|
font-size: 14px;
|
|
98
82
|
color: var(--_gray-700, #344054);
|
|
99
83
|
white-space: nowrap;
|
|
100
84
|
flex-shrink: 0;
|
|
85
|
+
min-width: 36px;
|
|
101
86
|
}
|
|
102
87
|
|
|
103
88
|
input[type="tel"].sc-phone-input {
|
|
@@ -19,6 +19,7 @@ interface selfLayoutInterface {
|
|
|
19
19
|
setItemsPerRow: CMSIBCommonInterface;
|
|
20
20
|
sliderDisplayScrollbar: CMSIBCommonInterface;
|
|
21
21
|
autoplay: CMSIBCommonInterface;
|
|
22
|
+
zoomEnable: CMSIBCommonInterface;
|
|
22
23
|
autoplayStyle: CMSIBCommonInterface;
|
|
23
24
|
autoplayDuration: CMSIBSizeInterface;
|
|
24
25
|
sliderSpeed: CMSIBSizeInterface;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* SVG getter — looks up an icon by name from the builder icon set.
|
|
2
3
|
*
|
|
3
|
-
*
|
|
4
|
+
* Historically this file held its own inline SVGLibrary, duplicating many
|
|
5
|
+
* icons that also lived in updated-icons.ts. Those have all been merged into
|
|
6
|
+
* builder-icons.ts now, so this is just a thin wrapper.
|
|
7
|
+
*
|
|
8
|
+
* @param {string} type - Icon name (must exist in builder-icons.ts SVGLibrary).
|
|
4
9
|
*/
|
|
5
|
-
export default function SVG(type: string,
|
|
10
|
+
export default function SVG(type: string, _size?: string, _color?: string): string;
|