@sc-360-v2/storefront-cms-library 0.5.5 → 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.
@@ -10,19 +10,21 @@
10
10
  // }
11
11
  .sc-phone-input-wrapper {
12
12
  .sc-phone-chevron {
13
- display: none;
13
+ display: inline-flex;
14
+ width: 12px;
15
+ height: 12px;
14
16
  font-size: 0;
15
- margin-top: -4px;
16
- &::after {
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: 2px solid var(--_gray-400);
22
- border-bottom: 2px solid var(--_gray-400);
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: 4px;
48
- padding: 0 8px;
49
+ gap: 6px;
50
+ padding: 0 10px;
49
51
  border: none;
50
52
  background: transparent;
51
53
  cursor: pointer;
52
54
  height: 100%;
53
- // border-right: 1px solid var(--_primary-300);
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: 10px;
91
- color: var(--_gray-500, #667085);
92
- line-height: 1;
75
+ font-size: 0;
76
+ line-height: 0;
93
77
  }
94
78
 
95
79
  .sc-phone-dial-code {
96
- padding: 0 30px 0 0px;
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.5.05",
3
+ "version": "0.5.06",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {