@semcore/select 3.1.4 → 3.1.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/CHANGELOG.md +2 -182
- package/LICENSE +21 -0
- package/lib/cjs/InputSearch.js +7 -7
- package/lib/cjs/Select.js +8 -8
- package/lib/es6/InputSearch.js +7 -7
- package/lib/es6/Select.js +8 -8
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,29 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [3.1.
|
|
5
|
+
## [3.1.6] - 2022-10-06
|
|
6
6
|
|
|
7
7
|
### Changed
|
|
8
8
|
|
|
9
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.
|
|
10
|
-
|
|
11
|
-
## [3.1.3] - 2022-09-29
|
|
12
|
-
|
|
13
|
-
### Changed
|
|
14
|
-
|
|
15
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.20 ~> 3.0.21], `@semcore/icon` [2.30.4 ~> 2.31.0]).
|
|
16
|
-
|
|
17
|
-
## [3.1.2] - 2022-09-21
|
|
18
|
-
|
|
19
|
-
### Changed
|
|
20
|
-
|
|
21
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.19 ~> 3.0.20], `@semcore/icon` [2.30.3 ~> 2.30.4]).
|
|
22
|
-
|
|
23
|
-
## [3.1.1] - 2022-09-21
|
|
24
|
-
|
|
25
|
-
### Changed
|
|
26
|
-
|
|
27
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.18 ~> 3.0.19], `@semcore/icon` [2.30.2 ~> 2.30.3]).
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.23 ~> 3.0.24], `@semcore/icon` [2.32.2 ~> 2.33.0]).
|
|
28
10
|
|
|
29
11
|
## [3.1.0] - 2022-09-25
|
|
30
12
|
|
|
@@ -38,84 +20,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
38
20
|
|
|
39
21
|
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.17 ~> 3.0.18]).
|
|
40
22
|
|
|
41
|
-
## [3.0.24] - 2022-08-30
|
|
42
|
-
|
|
43
|
-
### Changed
|
|
44
|
-
|
|
45
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.37.0 ~> 3.37.1], `@semcore/base-trigger` [3.0.16 ~> 3.0.17], `@semcore/icon` [2.30.1 ~> 2.30.2], `@semcore/dropdown-menu` [3.0.11 ~> 3.0.12], `@semcore/input` [3.0.14 ~> 3.0.15], `@semcore/checkbox` [6.0.10 ~> 6.0.11], `@semcore/flex-box` [4.5.10 ~> 4.5.11], `@semcore/divider` [3.0.8 ~> 3.0.9]).
|
|
46
|
-
|
|
47
|
-
## [3.0.23] - 2022-08-23
|
|
48
|
-
|
|
49
|
-
### Changed
|
|
50
|
-
|
|
51
|
-
- Version patch update due to children dependencies update (`@semcore/input` [3.0.13 ~> 3.0.14]).
|
|
52
|
-
|
|
53
|
-
## [3.0.22] - 2022-08-18
|
|
54
|
-
|
|
55
|
-
### Changed
|
|
56
|
-
|
|
57
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.15 ~> 3.0.16], `@semcore/icon` [2.30.0 ~> 2.30.1]).
|
|
58
|
-
|
|
59
|
-
## [3.0.21] - 2022-08-18
|
|
60
|
-
|
|
61
|
-
### Changed
|
|
62
|
-
|
|
63
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.14 ~> 3.0.15], `@semcore/icon` [2.29.5 ~> 2.30.0]).
|
|
64
|
-
|
|
65
|
-
## [3.0.20] - 2022-08-18
|
|
66
|
-
|
|
67
|
-
### Changed
|
|
68
|
-
|
|
69
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.36.0 ~> 3.37.0], `@semcore/base-trigger` [3.0.13 ~> 3.0.14], `@semcore/icon` [2.29.4 ~> 2.29.5], `@semcore/dropdown-menu` [3.0.10 ~> 3.0.11], `@semcore/input` [3.0.12 ~> 3.0.13], `@semcore/checkbox` [6.0.9 ~> 6.0.10], `@semcore/flex-box` [4.5.9 ~> 4.5.10], `@semcore/divider` [3.0.7 ~> 3.0.8]).
|
|
70
|
-
|
|
71
|
-
## [3.0.19] - 2022-08-11
|
|
72
|
-
|
|
73
|
-
### Changed
|
|
74
|
-
|
|
75
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.35.1 ~> 3.36.0], `@semcore/base-trigger` [3.0.12 ~> 3.0.13], `@semcore/icon` [2.29.3 ~> 2.29.4], `@semcore/dropdown-menu` [3.0.9 ~> 3.0.10], `@semcore/input` [3.0.11 ~> 3.0.12], `@semcore/checkbox` [6.0.8 ~> 6.0.9], `@semcore/flex-box` [4.5.8 ~> 4.5.9], `@semcore/divider` [3.0.6 ~> 3.0.7]).
|
|
76
|
-
|
|
77
|
-
## [3.0.18] - 2022-08-01
|
|
78
|
-
|
|
79
|
-
### Changed
|
|
80
|
-
|
|
81
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.35.0 ~> 3.35.1], `@semcore/base-trigger` [3.0.11 ~> 3.0.12], `@semcore/icon` [2.29.2 ~> 2.29.3], `@semcore/dropdown-menu` [3.0.8 ~> 3.0.9], `@semcore/input` [3.0.10 ~> 3.0.11], `@semcore/checkbox` [6.0.7 ~> 6.0.8], `@semcore/flex-box` [4.5.7 ~> 4.5.8], `@semcore/divider` [3.0.5 ~> 3.0.6]).
|
|
82
|
-
|
|
83
|
-
## [3.0.17] - 2022-07-25
|
|
84
|
-
|
|
85
|
-
### Changed
|
|
86
|
-
|
|
87
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.10 ~> 3.0.11], `@semcore/icon` [2.29.1 ~> 2.29.2]).
|
|
88
|
-
|
|
89
|
-
## [3.0.16] - 2022-07-25
|
|
90
|
-
|
|
91
|
-
### Changed
|
|
92
|
-
|
|
93
|
-
- Version patch update due to children dependencies update (`@semcore/input` [3.0.9 ~> 3.0.10]).
|
|
94
|
-
|
|
95
|
-
## [3.0.15] - 2022-07-22
|
|
96
|
-
|
|
97
|
-
### Changed
|
|
98
|
-
|
|
99
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.34.0 ~> 3.35.0], `@semcore/base-trigger` [3.0.9 ~> 3.0.10], `@semcore/icon` [2.29.0 ~> 2.29.1], `@semcore/dropdown-menu` [3.0.7 ~> 3.0.8], `@semcore/input` [3.0.8 ~> 3.0.9], `@semcore/checkbox` [6.0.6 ~> 6.0.7], `@semcore/flex-box` [4.5.6 ~> 4.5.7], `@semcore/divider` [3.0.4 ~> 3.0.5]).
|
|
100
|
-
|
|
101
|
-
## [3.0.14] - 2022-07-21
|
|
102
|
-
|
|
103
|
-
### Changed
|
|
104
|
-
|
|
105
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.8 ~> 3.0.9], `@semcore/icon` [2.28.0 ~> 2.29.0]).
|
|
106
|
-
|
|
107
|
-
## [3.0.13] - 2022-07-18
|
|
108
|
-
|
|
109
|
-
### Changed
|
|
110
|
-
|
|
111
|
-
- Version patch update due to children dependencies update (`@semcore/dropdown-menu` [3.0.6 ~> 3.0.7]).
|
|
112
|
-
|
|
113
|
-
## [3.0.12] - 2022-07-14
|
|
114
|
-
|
|
115
|
-
### Changed
|
|
116
|
-
|
|
117
|
-
- Version patch update due to children dependencies update (`@semcore/input` [3.0.7 ~> 3.0.8]).
|
|
118
|
-
|
|
119
23
|
## [3.0.11] - 2022-07-13
|
|
120
24
|
|
|
121
25
|
### Fixed
|
|
@@ -128,42 +32,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
128
32
|
|
|
129
33
|
- Version patch update due to children dependencies update (`@semcore/dropdown-menu` [3.0.5 ~> 3.0.6]).
|
|
130
34
|
|
|
131
|
-
## [3.0.9] - 2022-07-07
|
|
132
|
-
|
|
133
|
-
### Changed
|
|
134
|
-
|
|
135
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.33.0 ~> 3.34.0], `@semcore/base-trigger` [3.0.6 ~> 3.0.7], `@semcore/icon` [2.27.0 ~> 2.28.0], `@semcore/dropdown-menu` [3.0.4 ~> 3.0.5], `@semcore/input` [3.0.5 ~> 3.0.6], `@semcore/checkbox` [6.0.5 ~> 6.0.6], `@semcore/flex-box` [4.5.5 ~> 4.5.6], `@semcore/divider` [3.0.3 ~> 3.0.4]).
|
|
136
|
-
|
|
137
|
-
## [3.0.8] - 2022-06-02
|
|
138
|
-
|
|
139
|
-
### Changed
|
|
140
|
-
|
|
141
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.2 ~> 3.33.0], `@semcore/base-trigger` [3.0.5 ~> 3.0.6], `@semcore/icon` [2.26.1 ~> 2.27.0], `@semcore/dropdown-menu` [3.0.3 ~> 3.0.4], `@semcore/input` [3.0.4 ~> 3.0.5], `@semcore/checkbox` [6.0.4 ~> 6.0.5], `@semcore/flex-box` [4.5.4 ~> 4.5.5], `@semcore/divider` [3.0.2 ~> 3.0.3]).
|
|
142
|
-
|
|
143
|
-
## [3.0.7] - 2022-05-31
|
|
144
|
-
|
|
145
|
-
### Changed
|
|
146
|
-
|
|
147
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/base-trigger` [3.0.4 ~> 3.0.5], `@semcore/icon` [2.26.0 ~> 2.26.1], `@semcore/dropdown-menu` [3.0.2 ~> 3.0.3], `@semcore/input` [3.0.3 ~> 3.0.4], `@semcore/checkbox` [6.0.3 ~> 6.0.4], `@semcore/flex-box` [4.5.3 ~> 4.5.4], `@semcore/divider` [3.0.1 ~> 3.0.2]).
|
|
148
|
-
|
|
149
|
-
## [3.0.6] - 2022-05-31
|
|
150
|
-
|
|
151
|
-
### Changed
|
|
152
|
-
|
|
153
|
-
- Version patch update due to children dependencies update (`@semcore/checkbox` [6.0.2 ~> 6.0.3]).
|
|
154
|
-
|
|
155
|
-
## [3.0.5] - 2022-05-23
|
|
156
|
-
|
|
157
|
-
### Changed
|
|
158
|
-
|
|
159
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.3 ~> 3.0.4], `@semcore/icon` [2.25.1 ~> 2.26.0], `@semcore/input` [3.0.2 ~> 3.0.3]).
|
|
160
|
-
|
|
161
|
-
## [3.0.4] - 2022-05-19
|
|
162
|
-
|
|
163
|
-
### Changed
|
|
164
|
-
|
|
165
|
-
- Version patch update due to children dependencies update (`@semcore/dropdown-menu` [3.0.1 ~> 3.0.2]).
|
|
166
|
-
|
|
167
35
|
## [3.0.3] - 2022-05-19
|
|
168
36
|
|
|
169
37
|
### Fixed
|
|
@@ -176,12 +44,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
176
44
|
|
|
177
45
|
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.1 ~> 3.0.2], `@semcore/checkbox` [6.0.0 ~> 6.0.1]).
|
|
178
46
|
|
|
179
|
-
## [3.0.1] - 2022-05-18
|
|
180
|
-
|
|
181
|
-
### Changed
|
|
182
|
-
|
|
183
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.0 ~> 3.0.1], `@semcore/icon` [2.24.0 ~> 2.25.0], `@semcore/input` [3.0.0 ~> 3.0.1]).
|
|
184
|
-
|
|
185
47
|
## [3.0.0] - 2022-05-17
|
|
186
48
|
|
|
187
49
|
### BREAK
|
|
@@ -198,48 +60,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
198
60
|
|
|
199
61
|
- Version patch update due to children dependencies update (`@semcore/base-trigger` [2.6.4 ~> 2.6.5], `@semcore/icon` [2.21.0 ~> 2.24.0]).
|
|
200
62
|
|
|
201
|
-
## [2.7.11] - 2022-04-28
|
|
202
|
-
|
|
203
|
-
### Changed
|
|
204
|
-
|
|
205
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [2.6.3 ~> 2.6.4], `@semcore/icon` [2.20.0 ~> 2.21.0]).
|
|
206
|
-
|
|
207
|
-
## [2.7.10] - 2022-04-25
|
|
208
|
-
|
|
209
|
-
### Changed
|
|
210
|
-
|
|
211
|
-
- Version patch update due to children dependencies update (`@semcore/dropdown-menu` [2.3.11 ~> 2.3.12]).
|
|
212
|
-
|
|
213
|
-
## [2.7.9] - 2022-04-21
|
|
214
|
-
|
|
215
|
-
### Changed
|
|
216
|
-
|
|
217
|
-
- Version patch update due to children dependencies update (`@semcore/dropdown-menu` [2.3.10 ~> 2.3.11]).
|
|
218
|
-
|
|
219
|
-
## [2.7.8] - 2022-03-21
|
|
220
|
-
|
|
221
|
-
### Changed
|
|
222
|
-
|
|
223
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [2.6.2 ~> 2.6.3], `@semcore/icon` [2.19.4 ~> 2.20.0]).
|
|
224
|
-
|
|
225
|
-
## [2.7.7] - 2022-03-14
|
|
226
|
-
|
|
227
|
-
### Changed
|
|
228
|
-
|
|
229
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.31.2 ~> 3.31.2], `@semcore/base-trigger` [2.6.1 ~> 2.6.2], `@semcore/icon` [2.19.3 ~> 2.19.4], `@semcore/dropdown-menu` [2.3.9 ~> 2.3.10], `@semcore/input` [2.2.4 ~> 2.2.5], `@semcore/checkbox` [5.2.6 ~> 5.2.7], `@semcore/flex-box` [4.5.0 ~> 4.5.1], `@semcore/divider` [2.2.4 ~> 2.2.5]).
|
|
230
|
-
|
|
231
|
-
## [2.7.6] - 2022-03-10
|
|
232
|
-
|
|
233
|
-
### Changed
|
|
234
|
-
|
|
235
|
-
- Version patch update due to children dependencies update (`@semcore/dropdown-menu` [2.3.8 ~> 2.3.9]).
|
|
236
|
-
|
|
237
|
-
## [2.7.5] - 2022-03-05
|
|
238
|
-
|
|
239
|
-
### Changed
|
|
240
|
-
|
|
241
|
-
- Version patch update due to children dependencies update (`@semcore/base-trigger` [2.6.0 ~> 2.6.1]).
|
|
242
|
-
|
|
243
63
|
## [2.7.2] - 2022-02-24
|
|
244
64
|
|
|
245
65
|
### Added
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright ©, 2022, Semrush Inc. (written by Roman Lysov, Sergey Kobets, Mikhail Karachev, Julia Mnizhek, Elena Krasnopolskaia, Mikhail Sereniti).
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/lib/cjs/InputSearch.js
CHANGED
|
@@ -52,16 +52,16 @@ var style = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".
|
|
55
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SInputSearch_1mpap_gg_._size_m_1mpap_gg_ {\n height: 32px;\n}\n\n.___SClose_1mpap_gg_.__hide_1mpap_gg_ {\n visibility: hidden;\n}\n\n/* Style for Input */\n\n.___SOutline_1mpap_gg_ {\n top: -1px;\n left: -1px;\n width: 100%;\n border-radius: 6px 6px 0 0;\n}\n"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "1mpap_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
|
59
59
|
, {
|
|
60
|
-
"__SInputSearch": "
|
|
61
|
-
"_size_m": "
|
|
62
|
-
"__SClose": "
|
|
63
|
-
"_hide": "
|
|
64
|
-
"__SOutline": "
|
|
60
|
+
"__SInputSearch": "___SInputSearch_1mpap_gg_",
|
|
61
|
+
"_size_m": "_size_m_1mpap_gg_",
|
|
62
|
+
"__SClose": "___SClose_1mpap_gg_",
|
|
63
|
+
"_hide": "__hide_1mpap_gg_",
|
|
64
|
+
"__SOutline": "___SOutline_1mpap_gg_"
|
|
65
65
|
});
|
|
66
66
|
var MAP_SIZE_TO_ICON = {
|
|
67
67
|
m: [_m["default"], _m2["default"]],
|
package/lib/cjs/Select.js
CHANGED
|
@@ -78,17 +78,17 @@ var style = (
|
|
|
78
78
|
/*__reshadow_css_start__*/
|
|
79
79
|
_core.sstyled.insert(
|
|
80
80
|
/*__inner_css_start__*/
|
|
81
|
-
".
|
|
81
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SOptionCheckbox_cc7qj_gg_ {\n margin-top: 2px;\n margin-right: 8px;\n margin-bottom: auto;\n position: relative;\n flex-shrink: 0\n}\n\n.___SOptionCheckbox_cc7qj_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: #fff;\n border: 1px solid;\n border-radius: 4px;\n border-color: #c4c7cf;\n }\n\n.___SOptionCheckbox_cc7qj_gg_ {\n\n width: 16px;\n height: 16px\n}\n\n.___SOptionCheckbox_cc7qj_gg_::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin: 0 2px;\n background-repeat: no-repeat;\n background-position: center center;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEwIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04LjI1IDFMNCA1LjI1TDEuNzUgMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==');\n }\n\n.___SOptionCheckbox_cc7qj_gg_._size_l_cc7qj_gg_ {\n width: 20px;\n height: 20px\n}\n\n.___SOptionCheckbox_cc7qj_gg_._size_l_cc7qj_gg_::after {\n background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMSAxLjVMNC43NSA3Ljc1TDEgNCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==');\n }\n\n.___SOptionCheckbox_cc7qj_gg_.__checked_cc7qj_gg_:before {\n background-color: #008ff8;\n border-color: #008ff8;\n}\n\n.___SOptionCheckbox_cc7qj_gg_.__theme_cc7qj_gg_:before {\n border-color: var(--theme_cc7qj);\n}\n\n.___SOptionCheckbox_cc7qj_gg_.__theme_cc7qj_gg_.__checked_cc7qj_gg_:before {\n background-color: var(--theme_cc7qj);\n border-color: var(--theme_cc7qj);\n}\n\n.___SOptionCheckbox_cc7qj_gg_.__selected_cc7qj_gg_ {\n background-color: rgba(196, 229, 254, 0.7)\n}\n\n.___SOptionCheckbox_cc7qj_gg_.__selected_cc7qj_gg_:hover {\n background-color: rgba(196, 229, 254, 0.7);\n }\n"
|
|
82
82
|
/*__inner_css_end__*/
|
|
83
|
-
, "
|
|
83
|
+
, "cc7qj_gg_")
|
|
84
84
|
/*__reshadow_css_end__*/
|
|
85
85
|
, {
|
|
86
|
-
"__SOptionCheckbox": "
|
|
87
|
-
"_size_l": "
|
|
88
|
-
"_checked": "
|
|
89
|
-
"_theme": "
|
|
90
|
-
"--theme": "--
|
|
91
|
-
"_selected": "
|
|
86
|
+
"__SOptionCheckbox": "___SOptionCheckbox_cc7qj_gg_",
|
|
87
|
+
"_size_l": "_size_l_cc7qj_gg_",
|
|
88
|
+
"_checked": "__checked_cc7qj_gg_",
|
|
89
|
+
"_theme": "__theme_cc7qj_gg_",
|
|
90
|
+
"--theme": "--theme_cc7qj",
|
|
91
|
+
"_selected": "__selected_cc7qj_gg_"
|
|
92
92
|
});
|
|
93
93
|
|
|
94
94
|
function isSelectedOption(value, valueOption) {
|
package/lib/es6/InputSearch.js
CHANGED
|
@@ -28,16 +28,16 @@ var style = (
|
|
|
28
28
|
/*__reshadow_css_start__*/
|
|
29
29
|
_sstyled.insert(
|
|
30
30
|
/*__inner_css_start__*/
|
|
31
|
-
".
|
|
31
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SInputSearch_1mpap_gg_._size_m_1mpap_gg_ {\n height: 32px;\n}\n\n.___SClose_1mpap_gg_.__hide_1mpap_gg_ {\n visibility: hidden;\n}\n\n/* Style for Input */\n\n.___SOutline_1mpap_gg_ {\n top: -1px;\n left: -1px;\n width: 100%;\n border-radius: 6px 6px 0 0;\n}\n"
|
|
32
32
|
/*__inner_css_end__*/
|
|
33
|
-
, "
|
|
33
|
+
, "1mpap_gg_")
|
|
34
34
|
/*__reshadow_css_end__*/
|
|
35
35
|
, {
|
|
36
|
-
"__SInputSearch": "
|
|
37
|
-
"_size_m": "
|
|
38
|
-
"__SClose": "
|
|
39
|
-
"_hide": "
|
|
40
|
-
"__SOutline": "
|
|
36
|
+
"__SInputSearch": "___SInputSearch_1mpap_gg_",
|
|
37
|
+
"_size_m": "_size_m_1mpap_gg_",
|
|
38
|
+
"__SClose": "___SClose_1mpap_gg_",
|
|
39
|
+
"_hide": "__hide_1mpap_gg_",
|
|
40
|
+
"__SOutline": "___SOutline_1mpap_gg_"
|
|
41
41
|
});
|
|
42
42
|
var MAP_SIZE_TO_ICON = {
|
|
43
43
|
m: [SearchM, CloseM],
|
package/lib/es6/Select.js
CHANGED
|
@@ -44,17 +44,17 @@ var style = (
|
|
|
44
44
|
/*__reshadow_css_start__*/
|
|
45
45
|
_sstyled.insert(
|
|
46
46
|
/*__inner_css_start__*/
|
|
47
|
-
".
|
|
47
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SOptionCheckbox_cc7qj_gg_ {\n margin-top: 2px;\n margin-right: 8px;\n margin-bottom: auto;\n position: relative;\n flex-shrink: 0\n}\n\n.___SOptionCheckbox_cc7qj_gg_::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: #fff;\n border: 1px solid;\n border-radius: 4px;\n border-color: #c4c7cf;\n }\n\n.___SOptionCheckbox_cc7qj_gg_ {\n\n width: 16px;\n height: 16px\n}\n\n.___SOptionCheckbox_cc7qj_gg_::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin: 0 2px;\n background-repeat: no-repeat;\n background-position: center center;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEwIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04LjI1IDFMNCA1LjI1TDEuNzUgMyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==');\n }\n\n.___SOptionCheckbox_cc7qj_gg_._size_l_cc7qj_gg_ {\n width: 20px;\n height: 20px\n}\n\n.___SOptionCheckbox_cc7qj_gg_._size_l_cc7qj_gg_::after {\n background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMSAxLjVMNC43NSA3Ljc1TDEgNCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==');\n }\n\n.___SOptionCheckbox_cc7qj_gg_.__checked_cc7qj_gg_:before {\n background-color: #008ff8;\n border-color: #008ff8;\n}\n\n.___SOptionCheckbox_cc7qj_gg_.__theme_cc7qj_gg_:before {\n border-color: var(--theme_cc7qj);\n}\n\n.___SOptionCheckbox_cc7qj_gg_.__theme_cc7qj_gg_.__checked_cc7qj_gg_:before {\n background-color: var(--theme_cc7qj);\n border-color: var(--theme_cc7qj);\n}\n\n.___SOptionCheckbox_cc7qj_gg_.__selected_cc7qj_gg_ {\n background-color: rgba(196, 229, 254, 0.7)\n}\n\n.___SOptionCheckbox_cc7qj_gg_.__selected_cc7qj_gg_:hover {\n background-color: rgba(196, 229, 254, 0.7);\n }\n"
|
|
48
48
|
/*__inner_css_end__*/
|
|
49
|
-
, "
|
|
49
|
+
, "cc7qj_gg_")
|
|
50
50
|
/*__reshadow_css_end__*/
|
|
51
51
|
, {
|
|
52
|
-
"__SOptionCheckbox": "
|
|
53
|
-
"_size_l": "
|
|
54
|
-
"_checked": "
|
|
55
|
-
"_theme": "
|
|
56
|
-
"--theme": "--
|
|
57
|
-
"_selected": "
|
|
52
|
+
"__SOptionCheckbox": "___SOptionCheckbox_cc7qj_gg_",
|
|
53
|
+
"_size_l": "_size_l_cc7qj_gg_",
|
|
54
|
+
"_checked": "__checked_cc7qj_gg_",
|
|
55
|
+
"_theme": "__theme_cc7qj_gg_",
|
|
56
|
+
"--theme": "--theme_cc7qj",
|
|
57
|
+
"_selected": "__selected_cc7qj_gg_"
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
function isSelectedOption(value, valueOption) {
|
package/package.json
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/select",
|
|
3
3
|
"description": "Semrush Select Component",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.6",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
8
8
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "pnpm semcore-builder --source=js",
|
|
12
|
-
"test": "jest"
|
|
13
|
-
},
|
|
14
10
|
"dependencies": {
|
|
15
11
|
"@semcore/base-trigger": "^3.0.0",
|
|
16
12
|
"@semcore/checkbox": "^6",
|
|
@@ -39,5 +35,9 @@
|
|
|
39
35
|
"@guidepup/playwright": "0.6.1",
|
|
40
36
|
"@playwright/test": "1.25.1",
|
|
41
37
|
"@semcore/jest-preset-ui": "1.0.0"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "pnpm semcore-builder --source=js",
|
|
41
|
+
"test": "jest"
|
|
42
42
|
}
|
|
43
|
-
}
|
|
43
|
+
}
|