@rescui/select 0.10.4 → 0.11.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/_virtual/check.js +37 -0
- package/lib/_virtual/close.js +37 -0
- package/lib/_virtual/down.js +37 -0
- package/lib/_virtual/index.css.js +10 -0
- package/lib/_virtual/loading.js +45 -0
- package/lib/_virtual/warning.js +37 -0
- package/lib/index.css +325 -174
- package/lib/parts/common-select.p.module.css.js +12 -12
- package/lib/parts/form-trigger-wrapper.js +5 -1
- package/lib/parts/form-trigger.p.module.css.js +10 -9
- package/lib/parts/multiselect.js +1 -1
- package/lib/parts/native-select.p.module.css.js +6 -6
- package/lib/parts/trigger.js +3 -1
- package/lib/parts/trigger.p.module.css.js +27 -27
- package/lib/public-api.p.css +291 -24
- package/lib/public-api.pcss +291 -24
- package/package.json +9 -10
package/lib/public-api.pcss
CHANGED
|
@@ -6,8 +6,38 @@
|
|
|
6
6
|
&[data-rs-internal="select-form-trigger-wrapper"]{
|
|
7
7
|
--_rs-select-form-trigger-wrapper-parts-offset:4px;
|
|
8
8
|
}
|
|
9
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-
|
|
10
|
-
|
|
9
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-icon']:not(html){
|
|
10
|
+
--_rs-icons-height:20px;
|
|
11
|
+
}
|
|
12
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-message']{
|
|
13
|
+
--_rs-typography-letter-spacing:normal;
|
|
14
|
+
--_rs-typography-text-transform:initial;
|
|
15
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
16
|
+
--_rs-typography-font-family:var(
|
|
17
|
+
--rs-font-family-ui,
|
|
18
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
19
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
20
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
21
|
+
);
|
|
22
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
23
|
+
--_rs-typography-font-weight:var(
|
|
24
|
+
--rs-font-weight-semi-bold,
|
|
25
|
+
600
|
|
26
|
+
);
|
|
27
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
28
|
+
--_rs-typography-base-color:var(
|
|
29
|
+
--rs-color-hard,
|
|
30
|
+
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))
|
|
31
|
+
);
|
|
32
|
+
--_rs-typography-text-auto-offset:0;
|
|
33
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
34
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
35
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
36
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
37
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
38
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
39
|
+
}
|
|
40
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
11
41
|
--_rs-typography-letter-spacing:0.0045em;
|
|
12
42
|
--_rs-typography-text-transform:initial;
|
|
13
43
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -240,8 +270,38 @@
|
|
|
240
270
|
&[data-rs-internal="select-form-trigger-wrapper"]{
|
|
241
271
|
--_rs-select-form-trigger-wrapper-parts-offset:8px;
|
|
242
272
|
}
|
|
243
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-
|
|
244
|
-
|
|
273
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-icon']:not(html){
|
|
274
|
+
--_rs-icons-height:20px;
|
|
275
|
+
}
|
|
276
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-message']{
|
|
277
|
+
--_rs-typography-letter-spacing:normal;
|
|
278
|
+
--_rs-typography-text-transform:initial;
|
|
279
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
280
|
+
--_rs-typography-font-family:var(
|
|
281
|
+
--rs-font-family-ui,
|
|
282
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
283
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
284
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
285
|
+
);
|
|
286
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
287
|
+
--_rs-typography-font-weight:var(
|
|
288
|
+
--rs-font-weight-semi-bold,
|
|
289
|
+
600
|
|
290
|
+
);
|
|
291
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
292
|
+
--_rs-typography-base-color:var(
|
|
293
|
+
--rs-color-hard,
|
|
294
|
+
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))
|
|
295
|
+
);
|
|
296
|
+
--_rs-typography-text-auto-offset:0;
|
|
297
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
298
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
299
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
300
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
301
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
302
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
303
|
+
}
|
|
304
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
245
305
|
--_rs-typography-letter-spacing:0.0045em;
|
|
246
306
|
--_rs-typography-text-transform:initial;
|
|
247
307
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -482,8 +542,38 @@
|
|
|
482
542
|
&[data-rs-internal="select-form-trigger-wrapper"]{
|
|
483
543
|
--_rs-select-form-trigger-wrapper-parts-offset:8px;
|
|
484
544
|
}
|
|
485
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-
|
|
486
|
-
|
|
545
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-icon']:not(html){
|
|
546
|
+
--_rs-icons-height:24px;
|
|
547
|
+
}
|
|
548
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-message']{
|
|
549
|
+
--_rs-typography-letter-spacing:normal;
|
|
550
|
+
--_rs-typography-text-transform:initial;
|
|
551
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
552
|
+
--_rs-typography-font-family:var(
|
|
553
|
+
--rs-font-family-ui,
|
|
554
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
555
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
556
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
557
|
+
);
|
|
558
|
+
--_rs-typography-font-size:var(--rs-h4-font-size, 16px);
|
|
559
|
+
--_rs-typography-font-weight:var(
|
|
560
|
+
--rs-font-weight-semi-bold,
|
|
561
|
+
600
|
|
562
|
+
);
|
|
563
|
+
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
564
|
+
--_rs-typography-base-color:var(
|
|
565
|
+
--rs-color-hard,
|
|
566
|
+
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))
|
|
567
|
+
);
|
|
568
|
+
--_rs-typography-text-auto-offset:0;
|
|
569
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
570
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
571
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
572
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
573
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
574
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
575
|
+
}
|
|
576
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
487
577
|
--_rs-typography-letter-spacing:0.0015em;
|
|
488
578
|
--_rs-typography-text-transform:initial;
|
|
489
579
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -518,8 +608,7 @@
|
|
|
518
608
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
519
609
|
}
|
|
520
610
|
@media screen and (max-width: 640px){
|
|
521
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-
|
|
522
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
611
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
523
612
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
524
613
|
}
|
|
525
614
|
}
|
|
@@ -742,8 +831,38 @@
|
|
|
742
831
|
&[data-rs-internal="select-form-trigger-wrapper"]{
|
|
743
832
|
--_rs-select-form-trigger-wrapper-parts-offset:4px;
|
|
744
833
|
}
|
|
745
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-
|
|
746
|
-
|
|
834
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-icon']:not(html){
|
|
835
|
+
--_rs-icons-height:20px;
|
|
836
|
+
}
|
|
837
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-message']{
|
|
838
|
+
--_rs-typography-letter-spacing:normal;
|
|
839
|
+
--_rs-typography-text-transform:initial;
|
|
840
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
841
|
+
--_rs-typography-font-family:var(
|
|
842
|
+
--rs-font-family-ui,
|
|
843
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
844
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
845
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
846
|
+
);
|
|
847
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
848
|
+
--_rs-typography-font-weight:var(
|
|
849
|
+
--rs-font-weight-semi-bold,
|
|
850
|
+
600
|
|
851
|
+
);
|
|
852
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
853
|
+
--_rs-typography-base-color:var(
|
|
854
|
+
--rs-color-hard,
|
|
855
|
+
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))
|
|
856
|
+
);
|
|
857
|
+
--_rs-typography-text-auto-offset:0;
|
|
858
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
859
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
860
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
861
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
862
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
863
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
864
|
+
}
|
|
865
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
747
866
|
--_rs-typography-letter-spacing:0.0045em;
|
|
748
867
|
--_rs-typography-text-transform:initial;
|
|
749
868
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -976,8 +1095,38 @@
|
|
|
976
1095
|
&[data-rs-internal="select-form-trigger-wrapper"]{
|
|
977
1096
|
--_rs-select-form-trigger-wrapper-parts-offset:8px;
|
|
978
1097
|
}
|
|
979
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-
|
|
980
|
-
|
|
1098
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-icon']:not(html){
|
|
1099
|
+
--_rs-icons-height:20px;
|
|
1100
|
+
}
|
|
1101
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-message']{
|
|
1102
|
+
--_rs-typography-letter-spacing:normal;
|
|
1103
|
+
--_rs-typography-text-transform:initial;
|
|
1104
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
1105
|
+
--_rs-typography-font-family:var(
|
|
1106
|
+
--rs-font-family-ui,
|
|
1107
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1108
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1109
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1110
|
+
);
|
|
1111
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
1112
|
+
--_rs-typography-font-weight:var(
|
|
1113
|
+
--rs-font-weight-semi-bold,
|
|
1114
|
+
600
|
|
1115
|
+
);
|
|
1116
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
1117
|
+
--_rs-typography-base-color:var(
|
|
1118
|
+
--rs-color-hard,
|
|
1119
|
+
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))
|
|
1120
|
+
);
|
|
1121
|
+
--_rs-typography-text-auto-offset:0;
|
|
1122
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
1123
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
1124
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
1125
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
1126
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1127
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
1128
|
+
}
|
|
1129
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
981
1130
|
--_rs-typography-letter-spacing:0.0045em;
|
|
982
1131
|
--_rs-typography-text-transform:initial;
|
|
983
1132
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1218,8 +1367,38 @@
|
|
|
1218
1367
|
&[data-rs-internal="select-form-trigger-wrapper"]{
|
|
1219
1368
|
--_rs-select-form-trigger-wrapper-parts-offset:8px;
|
|
1220
1369
|
}
|
|
1221
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-
|
|
1222
|
-
|
|
1370
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-icon']:not(html){
|
|
1371
|
+
--_rs-icons-height:24px;
|
|
1372
|
+
}
|
|
1373
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-message']{
|
|
1374
|
+
--_rs-typography-letter-spacing:normal;
|
|
1375
|
+
--_rs-typography-text-transform:initial;
|
|
1376
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
1377
|
+
--_rs-typography-font-family:var(
|
|
1378
|
+
--rs-font-family-ui,
|
|
1379
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1380
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1381
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1382
|
+
);
|
|
1383
|
+
--_rs-typography-font-size:var(--rs-h4-font-size, 16px);
|
|
1384
|
+
--_rs-typography-font-weight:var(
|
|
1385
|
+
--rs-font-weight-semi-bold,
|
|
1386
|
+
600
|
|
1387
|
+
);
|
|
1388
|
+
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
1389
|
+
--_rs-typography-base-color:var(
|
|
1390
|
+
--rs-color-hard,
|
|
1391
|
+
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))
|
|
1392
|
+
);
|
|
1393
|
+
--_rs-typography-text-auto-offset:0;
|
|
1394
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
1395
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
1396
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
1397
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
1398
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1399
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
1400
|
+
}
|
|
1401
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
1223
1402
|
--_rs-typography-letter-spacing:0.0015em;
|
|
1224
1403
|
--_rs-typography-text-transform:initial;
|
|
1225
1404
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1254,8 +1433,7 @@
|
|
|
1254
1433
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1255
1434
|
}
|
|
1256
1435
|
@media screen and (max-width: 640px){
|
|
1257
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-
|
|
1258
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
1436
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
1259
1437
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
1260
1438
|
}
|
|
1261
1439
|
}
|
|
@@ -1508,8 +1686,38 @@
|
|
|
1508
1686
|
&[data-rs-internal="select-form-trigger-wrapper"]{
|
|
1509
1687
|
--_rs-select-form-trigger-wrapper-parts-offset:4px;
|
|
1510
1688
|
}
|
|
1511
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-
|
|
1512
|
-
|
|
1689
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-icon']:not(html){
|
|
1690
|
+
--_rs-icons-height:20px;
|
|
1691
|
+
}
|
|
1692
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-message']{
|
|
1693
|
+
--_rs-typography-letter-spacing:normal;
|
|
1694
|
+
--_rs-typography-text-transform:initial;
|
|
1695
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
1696
|
+
--_rs-typography-font-family:var(
|
|
1697
|
+
--rs-font-family-ui,
|
|
1698
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1699
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1700
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1701
|
+
);
|
|
1702
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
1703
|
+
--_rs-typography-font-weight:var(
|
|
1704
|
+
--rs-font-weight-semi-bold,
|
|
1705
|
+
600
|
|
1706
|
+
);
|
|
1707
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
1708
|
+
--_rs-typography-base-color:var(
|
|
1709
|
+
--rs-color-hard,
|
|
1710
|
+
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))
|
|
1711
|
+
);
|
|
1712
|
+
--_rs-typography-text-auto-offset:0;
|
|
1713
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
1714
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
1715
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
1716
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
1717
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1718
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
1719
|
+
}
|
|
1720
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
1513
1721
|
--_rs-typography-letter-spacing:0.0045em;
|
|
1514
1722
|
--_rs-typography-text-transform:initial;
|
|
1515
1723
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1777,8 +1985,38 @@
|
|
|
1777
1985
|
&[data-rs-internal="select-form-trigger-wrapper"]{
|
|
1778
1986
|
--_rs-select-form-trigger-wrapper-parts-offset:8px;
|
|
1779
1987
|
}
|
|
1780
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-
|
|
1781
|
-
|
|
1988
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-icon']:not(html){
|
|
1989
|
+
--_rs-icons-height:20px;
|
|
1990
|
+
}
|
|
1991
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-message']{
|
|
1992
|
+
--_rs-typography-letter-spacing:normal;
|
|
1993
|
+
--_rs-typography-text-transform:initial;
|
|
1994
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
1995
|
+
--_rs-typography-font-family:var(
|
|
1996
|
+
--rs-font-family-ui,
|
|
1997
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1998
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1999
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
2000
|
+
);
|
|
2001
|
+
--_rs-typography-font-size:var(--rs-h5-font-size, 13px);
|
|
2002
|
+
--_rs-typography-font-weight:var(
|
|
2003
|
+
--rs-font-weight-semi-bold,
|
|
2004
|
+
600
|
|
2005
|
+
);
|
|
2006
|
+
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
2007
|
+
--_rs-typography-base-color:var(
|
|
2008
|
+
--rs-color-hard,
|
|
2009
|
+
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))
|
|
2010
|
+
);
|
|
2011
|
+
--_rs-typography-text-auto-offset:0;
|
|
2012
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
2013
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
2014
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
2015
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
2016
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
2017
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
2018
|
+
}
|
|
2019
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
1782
2020
|
--_rs-typography-letter-spacing:0.0045em;
|
|
1783
2021
|
--_rs-typography-text-transform:initial;
|
|
1784
2022
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -2054,8 +2292,38 @@
|
|
|
2054
2292
|
&[data-rs-internal="select-form-trigger-wrapper"]{
|
|
2055
2293
|
--_rs-select-form-trigger-wrapper-parts-offset:8px;
|
|
2056
2294
|
}
|
|
2057
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-
|
|
2058
|
-
|
|
2295
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-icon']:not(html){
|
|
2296
|
+
--_rs-icons-height:24px;
|
|
2297
|
+
}
|
|
2298
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__error-message']{
|
|
2299
|
+
--_rs-typography-letter-spacing:normal;
|
|
2300
|
+
--_rs-typography-text-transform:initial;
|
|
2301
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
2302
|
+
--_rs-typography-font-family:var(
|
|
2303
|
+
--rs-font-family-ui,
|
|
2304
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
2305
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
2306
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
2307
|
+
);
|
|
2308
|
+
--_rs-typography-font-size:var(--rs-h4-font-size, 16px);
|
|
2309
|
+
--_rs-typography-font-weight:var(
|
|
2310
|
+
--rs-font-weight-semi-bold,
|
|
2311
|
+
600
|
|
2312
|
+
);
|
|
2313
|
+
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
2314
|
+
--_rs-typography-base-color:var(
|
|
2315
|
+
--rs-color-hard,
|
|
2316
|
+
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))
|
|
2317
|
+
);
|
|
2318
|
+
--_rs-typography-text-auto-offset:0;
|
|
2319
|
+
--_rs-typography-ul-list-li-padding-left:initial;
|
|
2320
|
+
--_rs-typography-ol-list-li-padding-left:initial;
|
|
2321
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
2322
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
2323
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
2324
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
2325
|
+
}
|
|
2326
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
2059
2327
|
--_rs-typography-letter-spacing:0.0015em;
|
|
2060
2328
|
--_rs-typography-text-transform:initial;
|
|
2061
2329
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -2090,8 +2358,7 @@
|
|
|
2090
2358
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
2091
2359
|
}
|
|
2092
2360
|
@media screen and (max-width: 640px){
|
|
2093
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-
|
|
2094
|
-
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
2361
|
+
&[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
|
|
2095
2362
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
2096
2363
|
}
|
|
2097
2364
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/select",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -15,11 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
18
|
-
"@rescui/dropdown": "^0.7.
|
|
19
|
-
"@rescui/
|
|
20
|
-
"@rescui/
|
|
21
|
-
"@rescui/
|
|
22
|
-
"@rescui/use-resize-observer": "^0.2.1",
|
|
18
|
+
"@rescui/dropdown": "^0.7.5",
|
|
19
|
+
"@rescui/menu": "^0.10.5",
|
|
20
|
+
"@rescui/tag": "^0.10.5",
|
|
21
|
+
"@rescui/use-resize-observer": "^0.2.3",
|
|
23
22
|
"classnames": "^2.2.6",
|
|
24
23
|
"core-js": "^3.9.1",
|
|
25
24
|
"scroll-into-view-if-needed": "2.2.20"
|
|
@@ -30,9 +29,9 @@
|
|
|
30
29
|
"react": ">=16.8.0 <19"
|
|
31
30
|
},
|
|
32
31
|
"devDependencies": {
|
|
33
|
-
"@rescui/colors": "^0.2.
|
|
34
|
-
"@rescui/scripts": "^0.3.
|
|
35
|
-
"@rescui/typography": "^0.
|
|
32
|
+
"@rescui/colors": "^0.2.3",
|
|
33
|
+
"@rescui/scripts": "^0.3.3",
|
|
34
|
+
"@rescui/typography": "^0.17.0",
|
|
36
35
|
"@rescui/visual-regression": "^0.1.2",
|
|
37
36
|
"sniffr": "^1.2.0"
|
|
38
37
|
},
|
|
@@ -41,5 +40,5 @@
|
|
|
41
40
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
42
41
|
},
|
|
43
42
|
"nx": {},
|
|
44
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "b422496bacb5df4a601008c646abfb08cebe461c"
|
|
45
44
|
}
|