@rescui/radio-button 0.3.1 → 0.4.1

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/lib/index.css CHANGED
@@ -1,8 +1,9 @@
1
- ._main_hc77gb_3{
1
+ ._main_qnmvzg_3{
2
2
  display:inline-block;
3
+
3
4
  vertical-align:middle;
4
5
  }
5
- ._errorMessage_hc77gb_8{
6
+ ._errorMessage_qnmvzg_9{
6
7
  letter-spacing:0.0045em;
7
8
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
8
9
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
@@ -11,20 +12,21 @@
11
12
  line-height:20px;
12
13
  line-height:var(--rs-text-3-line-height, 20px);
13
14
  }
14
- ._rs-reset-letter-spacing_hc77gb_1 ._errorMessage_hc77gb_8{
15
+ ._rs-reset-letter-spacing_qnmvzg_1 ._errorMessage_qnmvzg_9{
15
16
  letter-spacing:normal;
16
17
  }
17
- ._errorMessage_hc77gb_8 {
18
+ ._errorMessage_qnmvzg_9 {
18
19
 
19
20
  margin-bottom:8px;
20
21
 
21
22
  color:#F45C4A;
22
23
  }
23
- ._input_hc77gb_16{
24
+ ._input_qnmvzg_17{
24
25
  position:absolute;
25
26
  -webkit-appearance:none;
26
27
  -moz-appearance:none;
27
28
  appearance:none;
29
+
28
30
  z-index:-1;
29
31
 
30
32
  opacity:0;
@@ -33,256 +35,211 @@
33
35
 
34
36
  border:0;
35
37
  }
36
- ._icon_hc77gb_28{
37
- display:inline-block;
38
+ ._icon_qnmvzg_30{
38
39
  position:relative;
39
40
 
41
+ display:inline-block;
42
+
40
43
  -webkit-box-sizing:border-box;
41
44
 
42
45
  box-sizing:border-box;
43
46
 
47
+ border-width:1px;
48
+ border-style:solid;
49
+
44
50
  border-radius:50%;
45
51
  }
46
- ._enabled_hc77gb_36 ._icon_hc77gb_28{
52
+ ._enabled_qnmvzg_42 ._icon_qnmvzg_30{
47
53
  cursor:pointer;
48
54
  }
49
- ._icon_hc77gb_28::before{
50
- content:'';
51
- display:block;
52
- position:absolute;
53
- width:calc(100% - 2px);
54
- height:calc(100% - 2px);
55
- top:50%;
56
- left:50%;
57
- -webkit-transform:translate(-50%, -50%);
58
- transform:translate(-50%, -50%);
59
- border-radius:50%;
55
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46 ._icon_qnmvzg_30,
56
+ ._themeLight_qnmvzg_46._rock_qnmvzg_47 ._icon_qnmvzg_30{
57
+ border-color:#A3A3A4;
58
+
59
+ background-color:#FFFFFF;
60
+ }
61
+ ._themeLight_qnmvzg_46 ._input_qnmvzg_17:disabled + ._icon_qnmvzg_30,
62
+ ._themeLight_qnmvzg_46 ._input_qnmvzg_17:checked:disabled + ._icon_qnmvzg_30{
63
+ border-color:#BABABB;
64
+
65
+ background-color:#F4F4F4;
66
+ }
67
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46 ._icon_qnmvzg_30,
68
+ ._themeDark_qnmvzg_60._rock_qnmvzg_47 ._icon_qnmvzg_30{
69
+ border-color:#A3A3A4;
70
+
71
+ background-color:#303033;
60
72
  }
61
- ._themeLight_hc77gb_52._classic_hc77gb_52 ._icon_hc77gb_28,
62
- ._themeLight_hc77gb_52._rock_hc77gb_53 ._icon_hc77gb_28{
63
- background-color:rgba(25,25,28,0.4);
73
+ label:hover ._themeDark_qnmvzg_60._enabled_qnmvzg_42 > ._icon_qnmvzg_30,
74
+ ._themeDark_qnmvzg_60._enabled_qnmvzg_42:hover > ._icon_qnmvzg_30{
75
+ background-color:#474749;
64
76
  }
65
- ._themeLight_hc77gb_52._classic_hc77gb_52 ._icon_hc77gb_28::before, ._themeLight_hc77gb_52._rock_hc77gb_53 ._icon_hc77gb_28::before{
66
- background-color:#FFFFFF;
67
- }
68
- ._themeDark_hc77gb_61._classic_hc77gb_52 ._icon_hc77gb_28,
69
- ._themeDark_hc77gb_61._rock_hc77gb_53 ._icon_hc77gb_28{
70
- background-color:rgba(255,255,255,0.4);
77
+ ._themeDark_qnmvzg_60 ._input_qnmvzg_17:disabled + ._icon_qnmvzg_30,
78
+ ._themeDark_qnmvzg_60 ._input_qnmvzg_17:checked:disabled + ._icon_qnmvzg_30{
79
+ border-color:#5E5E60;
80
+
81
+ background-color:#303033;
71
82
  }
72
- ._themeDark_hc77gb_61._classic_hc77gb_52 ._icon_hc77gb_28::before, ._themeDark_hc77gb_61._rock_hc77gb_53 ._icon_hc77gb_28::before{
73
- background-color:#303033;
74
- }
75
- ._sizeS_hc77gb_70 ._icon_hc77gb_28{
83
+ ._sizeS_qnmvzg_79 ._icon_qnmvzg_30{
76
84
  width:14px;
77
85
  height:14px;
78
86
  margin:3px;
79
87
  }
80
- ._sizeM_hc77gb_76 ._icon_hc77gb_28{
88
+ ._sizeM_qnmvzg_85 ._icon_qnmvzg_30{
81
89
  width:18px;
82
90
  height:18px;
83
91
  margin:3px;
84
92
  }
85
- ._sizeL_hc77gb_82 ._icon_hc77gb_28{
93
+ ._sizeL_qnmvzg_91 ._icon_qnmvzg_30{
86
94
  width:20px;
87
95
  height:20px;
88
96
  margin:4px;
89
97
  }
90
- ._error_hc77gb_8 ._icon_hc77gb_28{
98
+ ._error_qnmvzg_9 ._icon_qnmvzg_30{
91
99
  border-color:#F45C4A !important;
92
100
  }
93
- ._sizeS_hc77gb_70{
101
+ ._sizeS_qnmvzg_79{
94
102
  width:20px;
95
103
  height:20px;
96
104
  }
97
- ._sizeS_hc77gb_70._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28::before,
98
- ._sizeS_hc77gb_70._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28::before,
99
- ._sizeS_hc77gb_70 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28::before{
100
- width:calc(100% - 10px);
101
- height:calc(100% - 10px);
105
+ ._sizeS_qnmvzg_79._enabled_qnmvzg_42 ._input_qnmvzg_17:active + ._icon_qnmvzg_30,
106
+ ._sizeS_qnmvzg_79._enabled_qnmvzg_42 ._input_qnmvzg_17:checked + ._icon_qnmvzg_30,
107
+ ._sizeS_qnmvzg_79 ._input_qnmvzg_17:checked:disabled + ._icon_qnmvzg_30{
108
+ border-width:5px;
102
109
  }
103
- ._sizeM_hc77gb_76{
110
+ ._sizeM_qnmvzg_85{
104
111
  width:24px;
105
112
  height:24px;
106
113
  }
107
- ._sizeM_hc77gb_76._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28::before,
108
- ._sizeM_hc77gb_76._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28::before,
109
- ._sizeM_hc77gb_76 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28::before{
110
- width:calc(100% - 12px);
111
- height:calc(100% - 12px);
114
+ ._sizeM_qnmvzg_85._enabled_qnmvzg_42 ._input_qnmvzg_17:active + ._icon_qnmvzg_30,
115
+ ._sizeM_qnmvzg_85._enabled_qnmvzg_42 ._input_qnmvzg_17:checked + ._icon_qnmvzg_30,
116
+ ._sizeM_qnmvzg_85 ._input_qnmvzg_17:checked:disabled + ._icon_qnmvzg_30{
117
+ border-width:6px;
112
118
  }
113
- ._sizeL_hc77gb_82{
119
+ ._sizeL_qnmvzg_91{
114
120
  width:28px;
115
121
  height:28px;
116
122
  }
117
- ._sizeL_hc77gb_82._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28::before,
118
- ._sizeL_hc77gb_82._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28::before,
119
- ._sizeL_hc77gb_82 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28::before{
120
- width:calc(100% - 12px);
121
- height:calc(100% - 12px);
122
- }
123
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28,
124
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28{
125
- background-color:#6B57FF;
126
- background-color:var(--rs-color-primary-light-theme, #6B57FF);
127
- }
128
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28::before, ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28::before{
129
- background-color:#FFFFFF;
130
- }
131
- ._themeLight_hc77gb_52._classic_hc77gb_52 ._input_hc77gb_16:disabled + ._icon_hc77gb_28{
132
- background-color:rgba(25,25,28,0.2);
133
- }
134
- ._themeLight_hc77gb_52._classic_hc77gb_52 ._input_hc77gb_16:disabled + ._icon_hc77gb_28::before{
135
- background-color:#F4F4F4;
136
- }
137
- ._themeLight_hc77gb_52._classic_hc77gb_52 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28{
138
- background-color:rgba(25,25,28,0.2);
139
- }
140
- ._themeLight_hc77gb_52._classic_hc77gb_52 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28::before{
141
- background-color:rgba(255,255,255,0.5);
142
- }
143
- label:hover ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36 > ._icon_hc77gb_28::before,
144
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36:hover > ._icon_hc77gb_28::before{
145
- background-color:#474749;
146
- }
147
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28,
148
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28{
149
- background-color:#8473FF;
150
- background-color:var(--rs-color-primary-dark-theme, #8473FF);
151
- }
152
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28::before, ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28::before{
153
- background-color:#FFFFFF;
154
- }
155
- ._themeDark_hc77gb_61._classic_hc77gb_52 ._input_hc77gb_16:disabled + ._icon_hc77gb_28{
156
- background-color:rgba(255,255,255,0.2);
157
- }
158
- ._themeDark_hc77gb_61._classic_hc77gb_52 ._input_hc77gb_16:disabled + ._icon_hc77gb_28::before{
159
- background-color:#19191C;
160
- }
161
- ._themeDark_hc77gb_61._classic_hc77gb_52 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28{
162
- background-color:rgba(255,255,255,0.2);
163
- }
164
- ._themeDark_hc77gb_61._classic_hc77gb_52 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28::before{
165
- background-color:rgba(25,25,28,0.5);
166
- }
167
- label:hover ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeS_hc77gb_70 > ._icon_hc77gb_28,
168
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeS_hc77gb_70:hover > ._icon_hc77gb_28,
169
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeS_hc77gb_70 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
170
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeS_hc77gb_70 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28,
171
- label:hover ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeM_hc77gb_76 > ._icon_hc77gb_28,
172
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeM_hc77gb_76:hover > ._icon_hc77gb_28,
173
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeM_hc77gb_76 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
174
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeM_hc77gb_76 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28{
175
- -webkit-box-shadow:0 0 0 3px #e1ddff;
176
- -webkit-box-shadow:0 0 0 3px var(--rs-color-primary-fog-light-theme, #e1ddff);
177
- box-shadow:0 0 0 3px #e1ddff;
178
- box-shadow:0 0 0 3px var(--rs-color-primary-fog-light-theme, #e1ddff);
179
- }
180
- label:hover ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeS_hc77gb_70 > ._icon_hc77gb_28,
181
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeS_hc77gb_70:hover > ._icon_hc77gb_28,
182
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeS_hc77gb_70 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
183
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeS_hc77gb_70 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28,
184
- label:hover ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeM_hc77gb_76 > ._icon_hc77gb_28,
185
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeM_hc77gb_76:hover > ._icon_hc77gb_28,
186
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeM_hc77gb_76 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
187
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeM_hc77gb_76 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28{
188
- -webkit-box-shadow:0 0 0 3px #2e2b49;
189
- -webkit-box-shadow:0 0 0 3px var(--rs-color-primary-fog-dark-theme, #2e2b49);
190
- box-shadow:0 0 0 3px #2e2b49;
191
- box-shadow:0 0 0 3px var(--rs-color-primary-fog-dark-theme, #2e2b49);
192
- }
193
- label:hover ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeL_hc77gb_82 > ._icon_hc77gb_28,
194
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeL_hc77gb_82:hover > ._icon_hc77gb_28,
195
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeL_hc77gb_82 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
196
- ._themeLight_hc77gb_52._classic_hc77gb_52._enabled_hc77gb_36._sizeL_hc77gb_82 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28{
197
- -webkit-box-shadow:0 0 0 4px #e1ddff;
198
- -webkit-box-shadow:0 0 0 4px var(--rs-color-primary-fog-light-theme, #e1ddff);
199
- box-shadow:0 0 0 4px #e1ddff;
200
- box-shadow:0 0 0 4px var(--rs-color-primary-fog-light-theme, #e1ddff);
201
- }
202
- label:hover ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeL_hc77gb_82 > ._icon_hc77gb_28,
203
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeL_hc77gb_82:hover > ._icon_hc77gb_28,
204
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeL_hc77gb_82 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
205
- ._themeDark_hc77gb_61._classic_hc77gb_52._enabled_hc77gb_36._sizeL_hc77gb_82 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28{
206
- -webkit-box-shadow:0 0 0 4px #2e2b49;
207
- -webkit-box-shadow:0 0 0 4px var(--rs-color-primary-fog-dark-theme, #2e2b49);
208
- box-shadow:0 0 0 4px #2e2b49;
209
- box-shadow:0 0 0 4px var(--rs-color-primary-fog-dark-theme, #2e2b49);
210
- }
211
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28,
212
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28{
213
- background-color:#19191C;
214
- }
215
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28::before, ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28::before{
216
- background-color:#FFFFFF;
217
- }
218
- ._themeLight_hc77gb_52._rock_hc77gb_53 ._input_hc77gb_16:disabled + ._icon_hc77gb_28{
219
- background-color:rgba(25,25,28,0.2);
220
- }
221
- ._themeLight_hc77gb_52._rock_hc77gb_53 ._input_hc77gb_16:disabled + ._icon_hc77gb_28::before{
222
- background-color:#F4F4F4;
223
- }
224
- ._themeLight_hc77gb_52._rock_hc77gb_53 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28{
225
- background-color:rgba(25,25,28,0.2);
226
- }
227
- ._themeLight_hc77gb_52._rock_hc77gb_53 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28::before{
228
- background-color:rgba(255,255,255,0.5);
229
- }
230
- label:hover ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36 > ._icon_hc77gb_28::before,
231
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36:hover > ._icon_hc77gb_28::before{
232
- background-color:#474749;
123
+ ._sizeL_qnmvzg_91._enabled_qnmvzg_42 ._input_qnmvzg_17:active + ._icon_qnmvzg_30,
124
+ ._sizeL_qnmvzg_91._enabled_qnmvzg_42 ._input_qnmvzg_17:checked + ._icon_qnmvzg_30,
125
+ ._sizeL_qnmvzg_91 ._input_qnmvzg_17:checked:disabled + ._icon_qnmvzg_30{
126
+ border-width:6px;
127
+ }
128
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42 ._input_qnmvzg_17:active + ._icon_qnmvzg_30,
129
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42 ._input_qnmvzg_17:checked + ._icon_qnmvzg_30{
130
+ border-color:#6B57FF;
131
+ border-color:var(--rs-color-primary-light-theme, #6B57FF);
132
+
133
+ background-color:#FFFFFF;
233
134
  }
234
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28,
235
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28{
135
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42 ._input_qnmvzg_17:active + ._icon_qnmvzg_30,
136
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42 ._input_qnmvzg_17:checked + ._icon_qnmvzg_30{
137
+ border-color:#8473FF;
138
+ border-color:var(--rs-color-primary-dark-theme, #8473FF);
139
+
236
140
  background-color:#FFFFFF;
237
141
  }
238
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36 ._input_hc77gb_16:active + ._icon_hc77gb_28::before, ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36 ._input_hc77gb_16:checked + ._icon_hc77gb_28::before{
239
- background-color:#19191C;
240
- }
241
- ._themeDark_hc77gb_61._rock_hc77gb_53 ._input_hc77gb_16:disabled + ._icon_hc77gb_28{
242
- background-color:rgba(255,255,255,0.2);
142
+ label:hover ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeS_qnmvzg_79 > ._icon_qnmvzg_30,
143
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeS_qnmvzg_79:hover > ._icon_qnmvzg_30,
144
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeS_qnmvzg_79 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30,
145
+ label:hover ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeM_qnmvzg_85 > ._icon_qnmvzg_30,
146
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeM_qnmvzg_85:hover > ._icon_qnmvzg_30,
147
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeM_qnmvzg_85 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30{
148
+ -webkit-box-shadow:0 0 0 3px rgba(107, 87, 255,0.2);
149
+ -webkit-box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-light-theme, rgba(107, 87, 255,0.2));
150
+ box-shadow:0 0 0 3px rgba(107, 87, 255,0.2);
151
+ box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-light-theme, rgba(107, 87, 255,0.2));
152
+ }
153
+ label:hover ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeS_qnmvzg_79 > ._icon_qnmvzg_30,
154
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeS_qnmvzg_79:hover > ._icon_qnmvzg_30,
155
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeS_qnmvzg_79 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30,
156
+ label:hover ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeM_qnmvzg_85 > ._icon_qnmvzg_30,
157
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeM_qnmvzg_85:hover > ._icon_qnmvzg_30,
158
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeM_qnmvzg_85 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30{
159
+ -webkit-box-shadow:0 0 0 3px rgba(132, 115, 255,0.3);
160
+ -webkit-box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-dark-theme, rgba(132, 115, 255,0.3));
161
+ box-shadow:0 0 0 3px rgba(132, 115, 255,0.3);
162
+ box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-dark-theme, rgba(132, 115, 255,0.3));
163
+ }
164
+ label:hover ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeL_qnmvzg_91 > ._icon_qnmvzg_30,
165
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeL_qnmvzg_91:hover > ._icon_qnmvzg_30,
166
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeL_qnmvzg_91 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30{
167
+ -webkit-box-shadow:0 0 0 4px rgba(107, 87, 255,0.2);
168
+ -webkit-box-shadow:0 0 0 4px var(--rs-color-primary-t-fog-light-theme, rgba(107, 87, 255,0.2));
169
+ box-shadow:0 0 0 4px rgba(107, 87, 255,0.2);
170
+ box-shadow:0 0 0 4px var(--rs-color-primary-t-fog-light-theme, rgba(107, 87, 255,0.2));
171
+ }
172
+ label:hover ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeL_qnmvzg_91 > ._icon_qnmvzg_30,
173
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeL_qnmvzg_91:hover > ._icon_qnmvzg_30,
174
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeL_qnmvzg_91 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30{
175
+ -webkit-box-shadow:0 0 0 4px rgba(132, 115, 255,0.3);
176
+ -webkit-box-shadow:0 0 0 4px var(--rs-color-primary-t-fog-dark-theme, rgba(132, 115, 255,0.3));
177
+ box-shadow:0 0 0 4px rgba(132, 115, 255,0.3);
178
+ box-shadow:0 0 0 4px var(--rs-color-primary-t-fog-dark-theme, rgba(132, 115, 255,0.3));
179
+ }
180
+ ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42 ._input_qnmvzg_17:active + ._icon_qnmvzg_30,
181
+ ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42 ._input_qnmvzg_17:checked + ._icon_qnmvzg_30{
182
+ border-color:#19191C;
183
+
184
+ background-color:#FFFFFF;
243
185
  }
244
- ._themeDark_hc77gb_61._rock_hc77gb_53 ._input_hc77gb_16:disabled + ._icon_hc77gb_28::before{
245
- background-color:#19191C;
246
- }
247
- ._themeDark_hc77gb_61._rock_hc77gb_53 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28{
248
- background-color:rgba(255,255,255,0.2);
186
+ ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42 ._input_qnmvzg_17:active + ._icon_qnmvzg_30,
187
+ ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42 ._input_qnmvzg_17:checked + ._icon_qnmvzg_30{
188
+ border-color:#FFFFFF;
189
+
190
+ background-color:#19191C;
249
191
  }
250
- ._themeDark_hc77gb_61._rock_hc77gb_53 ._input_hc77gb_16:checked:disabled + ._icon_hc77gb_28::before{
251
- background-color:rgba(25,25,28,0.5);
252
- }
253
- label:hover ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeS_hc77gb_70 > ._icon_hc77gb_28,
254
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeS_hc77gb_70:hover > ._icon_hc77gb_28,
255
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeS_hc77gb_70 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
256
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeS_hc77gb_70 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28,
257
- label:hover ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeM_hc77gb_76 > ._icon_hc77gb_28,
258
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeM_hc77gb_76:hover > ._icon_hc77gb_28,
259
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeM_hc77gb_76 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
260
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeM_hc77gb_76 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28{
192
+ label:hover ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeS_qnmvzg_79 > ._icon_qnmvzg_30,
193
+ ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeS_qnmvzg_79:hover > ._icon_qnmvzg_30,
194
+ ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeS_qnmvzg_79 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30,
195
+ label:hover ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeM_qnmvzg_85 > ._icon_qnmvzg_30,
196
+ ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeM_qnmvzg_85:hover > ._icon_qnmvzg_30,
197
+ ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeM_qnmvzg_85 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30{
261
198
  -webkit-box-shadow:0 0 0 3px rgba(25,25,28,0.1);
262
199
  box-shadow:0 0 0 3px rgba(25,25,28,0.1);
263
200
  }
264
- label:hover ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeS_hc77gb_70 > ._icon_hc77gb_28,
265
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeS_hc77gb_70:hover > ._icon_hc77gb_28,
266
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeS_hc77gb_70 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
267
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeS_hc77gb_70 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28,
268
- label:hover ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeM_hc77gb_76 > ._icon_hc77gb_28,
269
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeM_hc77gb_76:hover > ._icon_hc77gb_28,
270
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeM_hc77gb_76 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
271
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeM_hc77gb_76 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28{
201
+ label:hover ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeS_qnmvzg_79 > ._icon_qnmvzg_30,
202
+ ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeS_qnmvzg_79:hover > ._icon_qnmvzg_30,
203
+ ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeS_qnmvzg_79 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30,
204
+ label:hover ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeM_qnmvzg_85 > ._icon_qnmvzg_30,
205
+ ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeM_qnmvzg_85:hover > ._icon_qnmvzg_30,
206
+ ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeM_qnmvzg_85 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30{
272
207
  -webkit-box-shadow:0 0 0 3px rgba(255,255,255,0.1);
273
208
  box-shadow:0 0 0 3px rgba(255,255,255,0.1);
274
209
  }
275
- label:hover ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeL_hc77gb_82 > ._icon_hc77gb_28,
276
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeL_hc77gb_82:hover > ._icon_hc77gb_28,
277
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeL_hc77gb_82 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
278
- ._themeLight_hc77gb_52._rock_hc77gb_53._enabled_hc77gb_36._sizeL_hc77gb_82 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28{
210
+ label:hover ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeL_qnmvzg_91 > ._icon_qnmvzg_30,
211
+ ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeL_qnmvzg_91:hover > ._icon_qnmvzg_30,
212
+ ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeL_qnmvzg_91 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30{
279
213
  -webkit-box-shadow:0 0 0 4px rgba(25,25,28,0.1);
280
214
  box-shadow:0 0 0 4px rgba(25,25,28,0.1);
281
215
  }
282
- label:hover ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeL_hc77gb_82 > ._icon_hc77gb_28,
283
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeL_hc77gb_82:hover > ._icon_hc77gb_28,
284
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeL_hc77gb_82 ._input_hc77gb_16:focus[data-focus-method='key'] + ._icon_hc77gb_28,
285
- ._themeDark_hc77gb_61._rock_hc77gb_53._enabled_hc77gb_36._sizeL_hc77gb_82 ._input_hc77gb_16:active:not(:checked) + ._icon_hc77gb_28{
216
+ label:hover ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeL_qnmvzg_91 > ._icon_qnmvzg_30,
217
+ ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeL_qnmvzg_91:hover > ._icon_qnmvzg_30,
218
+ ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeL_qnmvzg_91 ._input_qnmvzg_17:active:not(:checked) + ._icon_qnmvzg_30{
286
219
  -webkit-box-shadow:0 0 0 4px rgba(255,255,255,0.1);
287
220
  box-shadow:0 0 0 4px rgba(255,255,255,0.1);
288
221
  }
222
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeS_qnmvzg_79 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30, ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeM_qnmvzg_85 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30, ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeS_qnmvzg_79 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30, ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeM_qnmvzg_85 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30{
223
+ -webkit-box-shadow:0 0 0 1px #E8E8E8, 0 0 0 3px rgba(107, 87, 255, 0.8);
224
+ -webkit-box-shadow:0 0 0 1px #E8E8E8, 0 0 0 3px var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8));
225
+ box-shadow:0 0 0 1px #E8E8E8, 0 0 0 3px rgba(107, 87, 255, 0.8);
226
+ box-shadow:0 0 0 1px #E8E8E8, 0 0 0 3px var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8));
227
+ }
228
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeS_qnmvzg_79 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30, ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeM_qnmvzg_85 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30, ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeS_qnmvzg_79 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30, ._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeM_qnmvzg_85 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30{
229
+ -webkit-box-shadow:0 0 0 1px #303033, 0 0 0 3px rgba(132, 115, 255,0.8);
230
+ -webkit-box-shadow:0 0 0 1px #303033, 0 0 0 3px var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8));
231
+ box-shadow:0 0 0 1px #303033, 0 0 0 3px rgba(132, 115, 255,0.8);
232
+ box-shadow:0 0 0 1px #303033, 0 0 0 3px var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8));
233
+ }
234
+ ._themeLight_qnmvzg_46._classic_qnmvzg_46._enabled_qnmvzg_42._sizeL_qnmvzg_91 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30, ._themeLight_qnmvzg_46._rock_qnmvzg_47._enabled_qnmvzg_42._sizeL_qnmvzg_91 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30{
235
+ -webkit-box-shadow:0 0 0 1px #E8E8E8, 0 0 0 4px rgba(107, 87, 255, 0.8);
236
+ -webkit-box-shadow:0 0 0 1px #E8E8E8, 0 0 0 4px var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8));
237
+ box-shadow:0 0 0 1px #E8E8E8, 0 0 0 4px rgba(107, 87, 255, 0.8);
238
+ box-shadow:0 0 0 1px #E8E8E8, 0 0 0 4px var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8));
239
+ }
240
+ ._themeDark_qnmvzg_60._classic_qnmvzg_46._enabled_qnmvzg_42._sizeL_qnmvzg_91 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30,._themeDark_qnmvzg_60._rock_qnmvzg_47._enabled_qnmvzg_42._sizeL_qnmvzg_91 ._input_qnmvzg_17:focus[data-focus-method='key'] + ._icon_qnmvzg_30{
241
+ -webkit-box-shadow:0 0 0 1px #303033, 0 0 0 4px rgba(132, 115, 255,0.8);
242
+ -webkit-box-shadow:0 0 0 1px #303033, 0 0 0 4px var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8));
243
+ box-shadow:0 0 0 1px #303033, 0 0 0 4px rgba(132, 115, 255,0.8);
244
+ box-shadow:0 0 0 1px #303033, 0 0 0 4px var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8));
245
+ }
@@ -23,4 +23,8 @@ export interface RadioButtonManagerProps {
23
23
  /** Name of the each radio button in the list */
24
24
  name?: string;
25
25
  }
26
- export declare const RadioButtonManager: React.FC<RadioButtonManagerProps>;
26
+ declare type TRadioButtonManager = React.FC<RadioButtonManagerProps> & {
27
+ idCounter: number;
28
+ };
29
+ export declare const RadioButtonManager: TRadioButtonManager;
30
+ export {};
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
2
2
  import "core-js/modules/es.function.name.js";
3
- import React, { useState, useCallback } from 'react';
3
+ import React, { useState, useRef, useCallback } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { useTheme } from '@rescui/ui-contexts';
6
6
  import RadioContext from './radio-group-context.js';
@@ -13,7 +13,7 @@ var RadioButtonManager = function RadioButtonManager(_ref) {
13
13
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
14
14
  _ref$error = _ref.error,
15
15
  error = _ref$error === void 0 ? false : _ref$error,
16
- name = _ref.name,
16
+ nameFromProps = _ref.name,
17
17
  onChange = _ref.onChange,
18
18
  _ref$size = _ref.size,
19
19
  size = _ref$size === void 0 ? 'm' : _ref$size,
@@ -26,8 +26,16 @@ var RadioButtonManager = function RadioButtonManager(_ref) {
26
26
  var _useState = useState(isControlled ? valueFromProps : defaultValue),
27
27
  _useState2 = _slicedToArray(_useState, 2),
28
28
  value = _useState2[0],
29
- setValue = _useState2[1];
29
+ setValue = _useState2[1]; // set unique id to the component on mount without rerender
30
30
 
31
+
32
+ var nameId = useRef(null);
33
+
34
+ if (nameId.current === null) {
35
+ nameId.current = RadioButtonManager.idCounter++;
36
+ }
37
+
38
+ var name = nameFromProps !== null && nameFromProps !== void 0 ? nameFromProps : "_placeholder-radio-name-".concat(nameId.current);
31
39
  var handleSetValue = useCallback(function (val) {
32
40
  setValue(val);
33
41
 
@@ -49,6 +57,7 @@ var RadioButtonManager = function RadioButtonManager(_ref) {
49
57
  }, children);
50
58
  };
51
59
 
60
+ RadioButtonManager.idCounter = 0;
52
61
  RadioButtonManager.propTypes = {
53
62
  children: PropTypes.node,
54
63
  defaultValue: PropTypes.string,
@@ -1,17 +1,17 @@
1
1
  var styles = {
2
- "main": "_main_hc77gb_3",
3
- "errorMessage": "_errorMessage_hc77gb_8",
4
- "rs-reset-letter-spacing": "_rs-reset-letter-spacing_hc77gb_1",
5
- "input": "_input_hc77gb_16",
6
- "icon": "_icon_hc77gb_28",
7
- "enabled": "_enabled_hc77gb_36",
8
- "themeLight": "_themeLight_hc77gb_52",
9
- "classic": "_classic_hc77gb_52",
10
- "rock": "_rock_hc77gb_53",
11
- "themeDark": "_themeDark_hc77gb_61",
12
- "sizeS": "_sizeS_hc77gb_70",
13
- "sizeM": "_sizeM_hc77gb_76",
14
- "sizeL": "_sizeL_hc77gb_82",
15
- "error": "_error_hc77gb_8"
2
+ "main": "_main_qnmvzg_3",
3
+ "errorMessage": "_errorMessage_qnmvzg_9",
4
+ "rs-reset-letter-spacing": "_rs-reset-letter-spacing_qnmvzg_1",
5
+ "input": "_input_qnmvzg_17",
6
+ "icon": "_icon_qnmvzg_30",
7
+ "enabled": "_enabled_qnmvzg_42",
8
+ "themeLight": "_themeLight_qnmvzg_46",
9
+ "classic": "_classic_qnmvzg_46",
10
+ "rock": "_rock_qnmvzg_47",
11
+ "themeDark": "_themeDark_qnmvzg_60",
12
+ "sizeS": "_sizeS_qnmvzg_79",
13
+ "sizeM": "_sizeM_qnmvzg_85",
14
+ "sizeL": "_sizeL_qnmvzg_91",
15
+ "error": "_error_qnmvzg_9"
16
16
  };
17
17
  export default styles;
@@ -26,6 +26,7 @@ var RadioButton = /*#__PURE__*/React.forwardRef(function RadioButton(_ref, ref)
26
26
  tag: 'label',
27
27
  disabled: disabled,
28
28
  className: className,
29
+ tabIndex: null,
29
30
  icon: /*#__PURE__*/React.createElement(RadioButtonControl, _objectSpread({
30
31
  ref: ref,
31
32
  disabled: disabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/radio-button",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@babel/runtime-corejs3": "^7.14.0",
18
- "@rescui/menu": "^0.4.0",
18
+ "@rescui/menu": "^0.5.1",
19
19
  "classnames": "^2.2.6",
20
20
  "core-js": "^3.9.1"
21
21
  },
@@ -25,12 +25,12 @@
25
25
  "react": ">=16.8.0 <18"
26
26
  },
27
27
  "devDependencies": {
28
- "@rescui/colors": "^0.1.0",
29
- "@rescui/scripts": "^0.1.4",
30
- "@rescui/typography": "^0.7.0"
28
+ "@rescui/colors": "^0.1.1",
29
+ "@rescui/scripts": "^0.1.5",
30
+ "@rescui/typography": "^0.7.1"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rescui-scripts build"
34
34
  },
35
- "gitHead": "90715a8ea8c558b23c243bc092be4ded23e4192c"
35
+ "gitHead": "10cf86a6c4c4b678c0b94c03c56c6d33214f03e8"
36
36
  }