@rescui/radio-button 0.7.2-RUI-201-Support-css-modules-in-typography-f33bc767.25 → 0.7.2-RUI-201-Support-css-modules-in-typography-6efea65f.26
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 +30 -36
- package/lib/parts/radio-button.p.module.css.js +14 -14
- package/package.json +5 -5
package/lib/index.css
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
.
|
|
1
|
+
._themeLight_1d737ar_8{
|
|
2
2
|
--rs-theme-dark:0;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._themeDark_1d737ar_11{
|
|
5
5
|
--rs-theme-dark:1;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._sizeS_1d737ar_15{
|
|
8
8
|
--_rs-radio-button-size:20px;
|
|
9
9
|
--_rs-radio-button-box-shadow-size:3px;
|
|
10
10
|
--_rs-radio-button-active-icon-border-width:5px;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
._sizeM_1d737ar_18{
|
|
13
13
|
--_rs-radio-button-size:24px;
|
|
14
14
|
--_rs-radio-button-box-shadow-size:3px;
|
|
15
15
|
--_rs-radio-button-active-icon-border-width:6px;
|
|
16
16
|
}
|
|
17
|
-
.
|
|
17
|
+
._sizeL_1d737ar_21{
|
|
18
18
|
--_rs-radio-button-size:28px;
|
|
19
19
|
--_rs-radio-button-box-shadow-size:4px;
|
|
20
20
|
--_rs-radio-button-active-icon-border-width:6px;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
._classic_1d737ar_25{
|
|
23
23
|
--_rs-radio-button-active-icon-border-color:var(--_rs-color-primary);
|
|
24
24
|
--_rs-radio-button-active-icon-background-color:#FFFFFF;
|
|
25
25
|
--_rs-radio-button-active-icon-hover-box-shadow-color:var(--_rs-color-primary-t-fog);
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
._rock_1d737ar_28{
|
|
28
28
|
--_rs-radio-button-active-icon-border-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
29
29
|
--_rs-radio-button-active-icon-background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
30
30
|
--_rs-radio-button-active-icon-hover-box-shadow-color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.1);
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
._main_1d737ar_32{
|
|
33
33
|
--_rs-theme-dark:var(
|
|
34
34
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
35
35
|
var(--rs-theme-dark, 0)
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
40
40
|
}
|
|
41
41
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
42
|
-
.
|
|
42
|
+
._main_1d737ar_32{
|
|
43
43
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
44
44
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
45
45
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
51
|
-
.
|
|
51
|
+
._main_1d737ar_32{
|
|
52
52
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
53
53
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
54
54
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
.
|
|
59
|
+
._main_1d737ar_32 {
|
|
60
60
|
|
|
61
61
|
display:inline-block;
|
|
62
62
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
|
|
66
66
|
vertical-align:middle;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
._errorMessage_1d737ar_44{
|
|
69
69
|
letter-spacing:var(
|
|
70
70
|
--rs-text-base-letter-spacing,
|
|
71
71
|
var(--_rs-typography-letter-spacing)
|
|
@@ -78,12 +78,6 @@
|
|
|
78
78
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
79
79
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
80
80
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
81
|
-
}
|
|
82
|
-
._errorMessage_jl4c87_44 > p:not(:nth-child(1)),
|
|
83
|
-
._errorMessage_jl4c87_44 > pre:not(:nth-child(1)){
|
|
84
|
-
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
85
|
-
}
|
|
86
|
-
._errorMessage_jl4c87_44 {
|
|
87
81
|
--_rs-typography-letter-spacing:0.0045em;
|
|
88
82
|
--_rs-typography-text-transform:initial;
|
|
89
83
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -121,7 +115,7 @@
|
|
|
121
115
|
|
|
122
116
|
color:#F45C4A;
|
|
123
117
|
}
|
|
124
|
-
.
|
|
118
|
+
._input_1d737ar_53{
|
|
125
119
|
position:absolute;
|
|
126
120
|
-webkit-appearance:none;
|
|
127
121
|
-moz-appearance:none;
|
|
@@ -135,7 +129,7 @@
|
|
|
135
129
|
|
|
136
130
|
border:0;
|
|
137
131
|
}
|
|
138
|
-
.
|
|
132
|
+
._icon_1d737ar_66{
|
|
139
133
|
position:relative;
|
|
140
134
|
|
|
141
135
|
display:inline-block;
|
|
@@ -154,16 +148,16 @@
|
|
|
154
148
|
|
|
155
149
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*204));
|
|
156
150
|
}
|
|
157
|
-
.
|
|
151
|
+
._enabled_1d737ar_87 ._icon_1d737ar_66{
|
|
158
152
|
cursor:pointer;
|
|
159
153
|
}
|
|
160
|
-
.
|
|
161
|
-
label:hover .
|
|
154
|
+
._enabled_1d737ar_87:hover > ._icon_1d737ar_66,
|
|
155
|
+
label:hover ._enabled_1d737ar_87 > ._icon_1d737ar_66{
|
|
162
156
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*182));
|
|
163
157
|
}
|
|
164
|
-
.
|
|
165
|
-
.
|
|
166
|
-
.
|
|
158
|
+
._disabled_1d737ar_96 ._icon_1d737ar_66._icon_1d737ar_66,
|
|
159
|
+
._input_1d737ar_53:disabled + ._icon_1d737ar_66._icon_1d737ar_66,
|
|
160
|
+
._input_1d737ar_53:checked:disabled + ._icon_1d737ar_66{
|
|
167
161
|
border-color:rgb(calc(186 - var(--_rs-theme-dark-coefficient, 0)*92), calc(186 - var(--_rs-theme-dark-coefficient, 0)*92), calc(187 - var(--_rs-theme-dark-coefficient, 0)*91));
|
|
168
162
|
|
|
169
163
|
cursor:not-allowed;
|
|
@@ -171,27 +165,27 @@
|
|
|
171
165
|
|
|
172
166
|
background-color:rgb(calc(244 - var(--_rs-theme-dark-coefficient, 0)*196), calc(244 - var(--_rs-theme-dark-coefficient, 0)*196), calc(244 - var(--_rs-theme-dark-coefficient, 0)*193));
|
|
173
167
|
}
|
|
174
|
-
.
|
|
175
|
-
.
|
|
168
|
+
._enabled_1d737ar_87 ._input_1d737ar_53:active + ._icon_1d737ar_66,
|
|
169
|
+
._enabled_1d737ar_87 ._input_1d737ar_53:checked + ._icon_1d737ar_66{
|
|
176
170
|
border-color:var(--_rs-radio-button-active-icon-border-color);
|
|
177
171
|
|
|
178
172
|
background-color:var(--_rs-radio-button-active-icon-background-color);
|
|
179
173
|
}
|
|
180
|
-
.
|
|
181
|
-
.
|
|
182
|
-
.
|
|
174
|
+
._enabled_1d737ar_87 ._input_1d737ar_53:active + ._icon_1d737ar_66,
|
|
175
|
+
._enabled_1d737ar_87 ._input_1d737ar_53:checked + ._icon_1d737ar_66,
|
|
176
|
+
._main_1d737ar_32 ._input_1d737ar_53:checked:disabled + ._icon_1d737ar_66{
|
|
183
177
|
border-width:var(--_rs-radio-button-active-icon-border-width);
|
|
184
178
|
}
|
|
185
|
-
.
|
|
179
|
+
._error_1d737ar_44 ._icon_1d737ar_66._icon_1d737ar_66._icon_1d737ar_66{
|
|
186
180
|
border-color:#F45C4A;
|
|
187
181
|
}
|
|
188
|
-
.
|
|
189
|
-
label:hover .
|
|
190
|
-
.
|
|
182
|
+
._enabled_1d737ar_87:hover > ._icon_1d737ar_66._icon_1d737ar_66,
|
|
183
|
+
label:hover ._enabled_1d737ar_87 > ._icon_1d737ar_66._icon_1d737ar_66,
|
|
184
|
+
._enabled_1d737ar_87 ._input_1d737ar_53:active:not(:checked) + ._icon_1d737ar_66{
|
|
191
185
|
-webkit-box-shadow:0 0 0 var(--_rs-radio-button-box-shadow-size) var(--_rs-radio-button-active-icon-hover-box-shadow-color);
|
|
192
186
|
box-shadow:0 0 0 var(--_rs-radio-button-box-shadow-size) var(--_rs-radio-button-active-icon-hover-box-shadow-color);
|
|
193
187
|
}
|
|
194
|
-
.
|
|
188
|
+
._enabled_1d737ar_87 ._input_1d737ar_53:focus[data-focus-method='key'] + ._icon_1d737ar_66{
|
|
195
189
|
-webkit-box-shadow:0 0 0 1px rgb(calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*181)), 0 0 0 var(--_rs-radio-button-box-shadow-size) var(--_rs-color-primary-t-dim);
|
|
196
190
|
box-shadow:0 0 0 1px rgb(calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*181)), 0 0 0 var(--_rs-radio-button-box-shadow-size) var(--_rs-color-primary-t-dim);
|
|
197
191
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"classic": "
|
|
8
|
-
"rock": "
|
|
9
|
-
"main": "
|
|
10
|
-
"errorMessage": "
|
|
11
|
-
"input": "
|
|
12
|
-
"icon": "
|
|
13
|
-
"enabled": "
|
|
14
|
-
"disabled": "
|
|
15
|
-
"error": "
|
|
2
|
+
"themeLight": "_themeLight_1d737ar_8",
|
|
3
|
+
"themeDark": "_themeDark_1d737ar_11",
|
|
4
|
+
"sizeS": "_sizeS_1d737ar_15",
|
|
5
|
+
"sizeM": "_sizeM_1d737ar_18",
|
|
6
|
+
"sizeL": "_sizeL_1d737ar_21",
|
|
7
|
+
"classic": "_classic_1d737ar_25",
|
|
8
|
+
"rock": "_rock_1d737ar_28",
|
|
9
|
+
"main": "_main_1d737ar_32",
|
|
10
|
+
"errorMessage": "_errorMessage_1d737ar_44",
|
|
11
|
+
"input": "_input_1d737ar_53",
|
|
12
|
+
"icon": "_icon_1d737ar_66",
|
|
13
|
+
"enabled": "_enabled_1d737ar_87",
|
|
14
|
+
"disabled": "_disabled_1d737ar_96",
|
|
15
|
+
"error": "_error_1d737ar_44"
|
|
16
16
|
};
|
|
17
17
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/radio-button",
|
|
3
|
-
"version": "0.7.2-RUI-201-Support-css-modules-in-typography-
|
|
3
|
+
"version": "0.7.2-RUI-201-Support-css-modules-in-typography-6efea65f.26+6efea65f",
|
|
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.10.2-RUI-201-Support-css-modules-in-typography-
|
|
18
|
+
"@rescui/menu": "0.10.2-RUI-201-Support-css-modules-in-typography-6efea65f.26+6efea65f",
|
|
19
19
|
"classnames": "^2.2.6",
|
|
20
20
|
"core-js": "^3.9.1"
|
|
21
21
|
},
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/colors": "0.2.1-RUI-201-Support-css-modules-in-typography-
|
|
28
|
+
"@rescui/colors": "0.2.1-RUI-201-Support-css-modules-in-typography-6efea65f.28+6efea65f",
|
|
29
29
|
"@rescui/scripts": "0.3.1",
|
|
30
|
-
"@rescui/typography": "0.16.2-RUI-201-Support-css-modules-in-typography-
|
|
30
|
+
"@rescui/typography": "0.16.2-RUI-201-Support-css-modules-in-typography-6efea65f.26+6efea65f"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
34
34
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
35
35
|
},
|
|
36
36
|
"nx": {},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "6efea65fdcd5dea2f275be4be0e30ee7eb6ad136"
|
|
38
38
|
}
|