@rescui/select 0.15.1-RUI-280-Update-select-component-separate-components-e772abaa1.56 → 0.15.1-RUI-280-Update-select-component-downshift-2f40ef205.67
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/index.css.js +12 -12
- package/lib/constants.d.ts +0 -1
- package/lib/constants.js +1 -2
- package/lib/hooks/use-a11y.d.ts +29 -0
- package/lib/hooks/use-a11y.js +53 -0
- package/lib/hooks/use-backward-compatible-id.d.ts +4 -0
- package/lib/hooks/use-backward-compatible-id.js +14 -0
- package/lib/hooks/use-focus.d.ts +10 -0
- package/lib/hooks/use-focus.js +17 -0
- package/lib/hooks/use-hover.d.ts +10 -0
- package/lib/hooks/use-hover.js +17 -0
- package/lib/hooks/use-label-focus.d.ts +1 -3
- package/lib/hooks/use-label-focus.js +3 -9
- package/lib/hooks/use-multi-handlers.d.ts +11 -0
- package/lib/hooks/use-multi-handlers.js +48 -0
- package/lib/hooks/use-options.d.ts +13 -0
- package/lib/hooks/use-options.js +89 -0
- package/lib/index.css +423 -1195
- package/lib/multiselect.d.ts +3 -29
- package/lib/multiselect.js +250 -180
- package/lib/native-select.js +75 -48
- package/lib/parts/hidden-select.d.ts +13 -0
- package/lib/parts/hidden-select.js +45 -0
- package/lib/parts/icons.js +2 -8
- package/lib/parts/list-box.d.ts +7 -15
- package/lib/parts/list-box.js +50 -82
- package/lib/parts/multi-trigger.d.ts +5 -4
- package/lib/parts/multi-trigger.js +27 -15
- package/lib/public-api.p.css +368 -126
- package/lib/public-api.pcss +368 -126
- package/lib/select-basic.d.ts +2 -2
- package/lib/select-basic.js +160 -103
- package/lib/select-searchable.d.ts +2 -2
- package/lib/select-searchable.js +205 -127
- package/lib/select.d.ts +1 -1
- package/lib/select.js +38 -31
- package/lib/styles/common.p.module.css.js +28 -24
- package/lib/styles/form-trigger.p.module.css.js +12 -12
- package/lib/styles/list-box.p.module.css.js +11 -13
- package/lib/types.d.ts +26 -27
- package/lib/utils/get-real-items-cnt.d.ts +2 -2
- package/lib/utils/get-real-items-cnt.js +8 -10
- package/lib/utils/item-to-string.d.ts +2 -0
- package/lib/utils/item-to-string.js +7 -0
- package/lib/utils/merge-props.d.ts +29 -0
- package/lib/utils/merge-props.js +106 -0
- package/package.json +11 -23
- package/lib/hooks/use-css-context-transfer.d.ts +0 -14
- package/lib/hooks/use-css-context-transfer.js +0 -40
- package/lib/hooks/use-multi-option-serialization.d.ts +0 -10
- package/lib/hooks/use-multi-option-serialization.js +0 -82
- package/lib/hooks/use-observable-force-rerender.d.ts +0 -2
- package/lib/hooks/use-observable-force-rerender.js +0 -16
- package/lib/hooks/use-option-serialization.d.ts +0 -10
- package/lib/hooks/use-option-serialization.js +0 -59
- package/lib/parts/native-select-trigger.d.ts +0 -18
- package/lib/parts/native-select-trigger.js +0 -54
- package/lib/parts/popover.d.ts +0 -12
- package/lib/parts/popover.js +0 -64
- package/lib/parts/popup-content.d.ts +0 -19
- package/lib/parts/popup-content.js +0 -76
- package/lib/styles/native-select-trigger.p.module.css.js +0 -17
- package/lib/styles/native-select.p.module.css.js +0 -9
- package/lib/styles/popover.p.module.css.js +0 -10
- package/lib/utils/convert-options.d.ts +0 -3
- package/lib/utils/convert-options.js +0 -52
- package/lib/utils/convert-placement.d.ts +0 -3
- package/lib/utils/convert-placement.js +0 -22
- package/lib/utils/css-vars-utils.d.ts +0 -3
- package/lib/utils/css-vars-utils.js +0 -20
package/lib/public-api.pcss
CHANGED
|
@@ -120,6 +120,41 @@
|
|
|
120
120
|
var(
|
|
121
121
|
--rs-color-average,
|
|
122
122
|
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.7)
|
|
123
|
+
)
|
|
124
|
+
);
|
|
125
|
+
--_rs-typography-text-auto-offset:8px;
|
|
126
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
127
|
+
--_rs-typography-list-li-compact-left-offset:15px;
|
|
128
|
+
--_rs-typography-list-li-default-left-offset:19px;
|
|
129
|
+
--_rs-typography-list-li-margin-top-from-text:8px;
|
|
130
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
131
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
132
|
+
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
133
|
+
}
|
|
134
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
135
|
+
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
136
|
+
--_rs-typography-text-transform:initial;
|
|
137
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
138
|
+
--_rs-typography-font-family:var(
|
|
139
|
+
--rs-font-family-ui,
|
|
140
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
141
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
142
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
143
|
+
);
|
|
144
|
+
--_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
|
|
145
|
+
--_rs-typography-font-weight:var(
|
|
146
|
+
--rs-font-weight-regular,
|
|
147
|
+
400
|
|
148
|
+
);
|
|
149
|
+
--_rs-typography-line-height:var(
|
|
150
|
+
--rs-text-3-line-height,
|
|
151
|
+
20px
|
|
152
|
+
);
|
|
153
|
+
--_rs-typography-base-color:var(
|
|
154
|
+
--_rs-typography-hardness-color,
|
|
155
|
+
var(
|
|
156
|
+
--rs-color-average,
|
|
157
|
+
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.7)
|
|
123
158
|
)
|
|
124
159
|
);
|
|
125
160
|
--_rs-typography-text-auto-offset:8px;
|
|
@@ -337,6 +372,49 @@
|
|
|
337
372
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
338
373
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
339
374
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
375
|
+
}
|
|
376
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
377
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
378
|
+
--_rs-typography-text-transform:initial;
|
|
379
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
380
|
+
--_rs-typography-font-family:var(
|
|
381
|
+
--rs-font-family-ui,
|
|
382
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
383
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
384
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
385
|
+
);
|
|
386
|
+
--_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
|
|
387
|
+
--_rs-typography-font-weight:var(
|
|
388
|
+
--rs-font-weight-regular,
|
|
389
|
+
400
|
|
390
|
+
);
|
|
391
|
+
--_rs-typography-line-height:var(
|
|
392
|
+
--rs-text-2-line-height,
|
|
393
|
+
24px
|
|
394
|
+
);
|
|
395
|
+
--_rs-typography-base-color:var(
|
|
396
|
+
--_rs-typography-hardness-color,
|
|
397
|
+
var(
|
|
398
|
+
--rs-color-average,
|
|
399
|
+
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.7)
|
|
400
|
+
)
|
|
401
|
+
);
|
|
402
|
+
--_rs-typography-text-auto-offset:16px;
|
|
403
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
404
|
+
--_rs-typography-list-li-compact-left-offset:18px;
|
|
405
|
+
--_rs-typography-list-li-default-left-offset:24px;
|
|
406
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
407
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
408
|
+
16px
|
|
409
|
+
);
|
|
410
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
411
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
412
|
+
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
413
|
+
}
|
|
414
|
+
@media screen and (max-width: 640px){
|
|
415
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
416
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
417
|
+
}
|
|
340
418
|
}
|
|
341
419
|
& [data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__label']{
|
|
342
420
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
@@ -570,6 +648,49 @@
|
|
|
570
648
|
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
571
649
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
572
650
|
}
|
|
651
|
+
}
|
|
652
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
653
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
654
|
+
--_rs-typography-text-transform:initial;
|
|
655
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
656
|
+
--_rs-typography-font-family:var(
|
|
657
|
+
--rs-font-family-ui,
|
|
658
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
659
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
660
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
661
|
+
);
|
|
662
|
+
--_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
|
|
663
|
+
--_rs-typography-font-weight:var(
|
|
664
|
+
--rs-font-weight-regular,
|
|
665
|
+
400
|
|
666
|
+
);
|
|
667
|
+
--_rs-typography-line-height:var(
|
|
668
|
+
--rs-text-2-line-height,
|
|
669
|
+
24px
|
|
670
|
+
);
|
|
671
|
+
--_rs-typography-base-color:var(
|
|
672
|
+
--_rs-typography-hardness-color,
|
|
673
|
+
var(
|
|
674
|
+
--rs-color-average,
|
|
675
|
+
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.7)
|
|
676
|
+
)
|
|
677
|
+
);
|
|
678
|
+
--_rs-typography-text-auto-offset:16px;
|
|
679
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
680
|
+
--_rs-typography-list-li-compact-left-offset:18px;
|
|
681
|
+
--_rs-typography-list-li-default-left-offset:24px;
|
|
682
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
683
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
684
|
+
16px
|
|
685
|
+
);
|
|
686
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
687
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
688
|
+
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
689
|
+
}
|
|
690
|
+
@media screen and (max-width: 640px){
|
|
691
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
692
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
693
|
+
}
|
|
573
694
|
}
|
|
574
695
|
& [data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__label']{
|
|
575
696
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
@@ -769,6 +890,41 @@
|
|
|
769
890
|
var(
|
|
770
891
|
--rs-color-average,
|
|
771
892
|
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.7)
|
|
893
|
+
)
|
|
894
|
+
);
|
|
895
|
+
--_rs-typography-text-auto-offset:8px;
|
|
896
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
897
|
+
--_rs-typography-list-li-compact-left-offset:15px;
|
|
898
|
+
--_rs-typography-list-li-default-left-offset:19px;
|
|
899
|
+
--_rs-typography-list-li-margin-top-from-text:8px;
|
|
900
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
901
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
902
|
+
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
903
|
+
}
|
|
904
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
905
|
+
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
906
|
+
--_rs-typography-text-transform:initial;
|
|
907
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
908
|
+
--_rs-typography-font-family:var(
|
|
909
|
+
--rs-font-family-ui,
|
|
910
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
911
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
912
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
913
|
+
);
|
|
914
|
+
--_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
|
|
915
|
+
--_rs-typography-font-weight:var(
|
|
916
|
+
--rs-font-weight-regular,
|
|
917
|
+
400
|
|
918
|
+
);
|
|
919
|
+
--_rs-typography-line-height:var(
|
|
920
|
+
--rs-text-3-line-height,
|
|
921
|
+
20px
|
|
922
|
+
);
|
|
923
|
+
--_rs-typography-base-color:var(
|
|
924
|
+
--_rs-typography-hardness-color,
|
|
925
|
+
var(
|
|
926
|
+
--rs-color-average,
|
|
927
|
+
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.7)
|
|
772
928
|
)
|
|
773
929
|
);
|
|
774
930
|
--_rs-typography-text-auto-offset:8px;
|
|
@@ -986,6 +1142,49 @@
|
|
|
986
1142
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
987
1143
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
988
1144
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1145
|
+
}
|
|
1146
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
1147
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
1148
|
+
--_rs-typography-text-transform:initial;
|
|
1149
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
1150
|
+
--_rs-typography-font-family:var(
|
|
1151
|
+
--rs-font-family-ui,
|
|
1152
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1153
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1154
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1155
|
+
);
|
|
1156
|
+
--_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
|
|
1157
|
+
--_rs-typography-font-weight:var(
|
|
1158
|
+
--rs-font-weight-regular,
|
|
1159
|
+
400
|
|
1160
|
+
);
|
|
1161
|
+
--_rs-typography-line-height:var(
|
|
1162
|
+
--rs-text-2-line-height,
|
|
1163
|
+
24px
|
|
1164
|
+
);
|
|
1165
|
+
--_rs-typography-base-color:var(
|
|
1166
|
+
--_rs-typography-hardness-color,
|
|
1167
|
+
var(
|
|
1168
|
+
--rs-color-average,
|
|
1169
|
+
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.7)
|
|
1170
|
+
)
|
|
1171
|
+
);
|
|
1172
|
+
--_rs-typography-text-auto-offset:16px;
|
|
1173
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
1174
|
+
--_rs-typography-list-li-compact-left-offset:18px;
|
|
1175
|
+
--_rs-typography-list-li-default-left-offset:24px;
|
|
1176
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
1177
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
1178
|
+
16px
|
|
1179
|
+
);
|
|
1180
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
1181
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1182
|
+
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1183
|
+
}
|
|
1184
|
+
@media screen and (max-width: 640px){
|
|
1185
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
1186
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
1187
|
+
}
|
|
989
1188
|
}
|
|
990
1189
|
& [data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__label']{
|
|
991
1190
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
@@ -1219,6 +1418,49 @@
|
|
|
1219
1418
|
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
1220
1419
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
1221
1420
|
}
|
|
1421
|
+
}
|
|
1422
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
1423
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
1424
|
+
--_rs-typography-text-transform:initial;
|
|
1425
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
1426
|
+
--_rs-typography-font-family:var(
|
|
1427
|
+
--rs-font-family-ui,
|
|
1428
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1429
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1430
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1431
|
+
);
|
|
1432
|
+
--_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
|
|
1433
|
+
--_rs-typography-font-weight:var(
|
|
1434
|
+
--rs-font-weight-regular,
|
|
1435
|
+
400
|
|
1436
|
+
);
|
|
1437
|
+
--_rs-typography-line-height:var(
|
|
1438
|
+
--rs-text-2-line-height,
|
|
1439
|
+
24px
|
|
1440
|
+
);
|
|
1441
|
+
--_rs-typography-base-color:var(
|
|
1442
|
+
--_rs-typography-hardness-color,
|
|
1443
|
+
var(
|
|
1444
|
+
--rs-color-average,
|
|
1445
|
+
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.7)
|
|
1446
|
+
)
|
|
1447
|
+
);
|
|
1448
|
+
--_rs-typography-text-auto-offset:16px;
|
|
1449
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
1450
|
+
--_rs-typography-list-li-compact-left-offset:18px;
|
|
1451
|
+
--_rs-typography-list-li-default-left-offset:24px;
|
|
1452
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
1453
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
1454
|
+
16px
|
|
1455
|
+
);
|
|
1456
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
1457
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1458
|
+
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1459
|
+
}
|
|
1460
|
+
@media screen and (max-width: 640px){
|
|
1461
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
1462
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
1463
|
+
}
|
|
1222
1464
|
}
|
|
1223
1465
|
& [data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__label']{
|
|
1224
1466
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
@@ -1297,7 +1539,17 @@
|
|
|
1297
1539
|
}
|
|
1298
1540
|
}
|
|
1299
1541
|
@define-mixin rs-native-select-size-s{
|
|
1300
|
-
|
|
1542
|
+
&[class]{
|
|
1543
|
+
--_rs-select-size:s;
|
|
1544
|
+
--_rs-select-observable-size:1px;
|
|
1545
|
+
--_rs-select-trigger-horizontal-padding:8px;
|
|
1546
|
+
--_rs-select-trigger-vertical-padding:6px;
|
|
1547
|
+
--_rs-select-trigger-tag-vertical-padding:4px;
|
|
1548
|
+
--_rs-select-trigger-height:32px;
|
|
1549
|
+
--_rs-select-trigger-tag-right-offset:4px;
|
|
1550
|
+
--_rs-select-trigger-tag-top-offset:4px;
|
|
1551
|
+
--_rs-select-trigger-icon-offset:8px;
|
|
1552
|
+
--_rs-select-trigger-icon-size:20px;
|
|
1301
1553
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
1302
1554
|
--_rs-typography-text-transform:initial;
|
|
1303
1555
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1332,17 +1584,14 @@
|
|
|
1332
1584
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1333
1585
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1334
1586
|
}
|
|
1335
|
-
|
|
1336
|
-
--_rs-
|
|
1337
|
-
--_rs-
|
|
1338
|
-
--_rs-
|
|
1339
|
-
--_rs-
|
|
1340
|
-
|
|
1341
|
-
--_rs-
|
|
1342
|
-
--_rs-
|
|
1343
|
-
--_rs-select-trigger-tag-top-offset:4px;
|
|
1344
|
-
--_rs-select-trigger-icon-offset:8px;
|
|
1345
|
-
--_rs-select-trigger-icon-size:20px;
|
|
1587
|
+
&[class] [data-rs-internal='select-trigger__tag']:not(html){
|
|
1588
|
+
--_rs-tag-vertical-padding:2px;
|
|
1589
|
+
--_rs-tag-base-horizontal-padding:8px;
|
|
1590
|
+
--_rs-tag-uppercase-horizontal-padding:var(
|
|
1591
|
+
--_rs-tag-base-horizontal-padding
|
|
1592
|
+
);
|
|
1593
|
+
--_rs-tag-icon-size:16px;
|
|
1594
|
+
--_rs-tag-border-radius:4px;
|
|
1346
1595
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
1347
1596
|
--_rs-typography-text-transform:initial;
|
|
1348
1597
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1377,14 +1626,17 @@
|
|
|
1377
1626
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1378
1627
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1379
1628
|
}
|
|
1380
|
-
&
|
|
1381
|
-
--_rs-tag-vertical-padding:2px;
|
|
1382
|
-
--_rs-tag-
|
|
1383
|
-
--_rs-tag-
|
|
1384
|
-
--_rs-tag-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1629
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
1630
|
+
--_rs-tag-removable-vertical-padding:2px;
|
|
1631
|
+
--_rs-tag-removable-left-padding:8px;
|
|
1632
|
+
--_rs-tag-removable-border-radius:4px;
|
|
1633
|
+
--_rs-tag-removable-close-part-size:24px;
|
|
1634
|
+
--_rs-tag-removable-custom-icon-size:16px;
|
|
1635
|
+
}
|
|
1636
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html) [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
1637
|
+
--_rs-icons-height:16px;
|
|
1638
|
+
}
|
|
1639
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
1388
1640
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
1389
1641
|
--_rs-typography-text-transform:initial;
|
|
1390
1642
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1419,17 +1671,7 @@
|
|
|
1419
1671
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1420
1672
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1421
1673
|
}
|
|
1422
|
-
&
|
|
1423
|
-
--_rs-tag-removable-vertical-padding:2px;
|
|
1424
|
-
--_rs-tag-removable-left-padding:8px;
|
|
1425
|
-
--_rs-tag-removable-border-radius:4px;
|
|
1426
|
-
--_rs-tag-removable-close-part-size:24px;
|
|
1427
|
-
--_rs-tag-removable-custom-icon-size:16px;
|
|
1428
|
-
}
|
|
1429
|
-
& [data-rs-internal="select-native-trigger"] [data-rs-internal='select-trigger__removable-tag']:not(html) [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
1430
|
-
--_rs-icons-height:16px;
|
|
1431
|
-
}
|
|
1432
|
-
& [data-rs-internal="select-native-trigger"] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
1674
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
1433
1675
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
1434
1676
|
--_rs-typography-text-transform:initial;
|
|
1435
1677
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1533,50 +1775,7 @@
|
|
|
1533
1775
|
}
|
|
1534
1776
|
}
|
|
1535
1777
|
@define-mixin rs-native-select-size-m{
|
|
1536
|
-
|
|
1537
|
-
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
1538
|
-
--_rs-typography-text-transform:initial;
|
|
1539
|
-
--_rs-typography-font-variant-numeric:initial;
|
|
1540
|
-
--_rs-typography-font-family:var(
|
|
1541
|
-
--rs-font-family-ui,
|
|
1542
|
-
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1543
|
-
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1544
|
-
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1545
|
-
);
|
|
1546
|
-
--_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
|
|
1547
|
-
--_rs-typography-font-weight:var(
|
|
1548
|
-
--rs-font-weight-regular,
|
|
1549
|
-
400
|
|
1550
|
-
);
|
|
1551
|
-
--_rs-typography-line-height:var(
|
|
1552
|
-
--rs-text-2-line-height,
|
|
1553
|
-
24px
|
|
1554
|
-
);
|
|
1555
|
-
--_rs-typography-base-color:var(
|
|
1556
|
-
--_rs-typography-hardness-color,
|
|
1557
|
-
var(
|
|
1558
|
-
--rs-color-average,
|
|
1559
|
-
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.7)
|
|
1560
|
-
)
|
|
1561
|
-
);
|
|
1562
|
-
--_rs-typography-text-auto-offset:16px;
|
|
1563
|
-
--_rs-typography-ul-bullet-offset:2px;
|
|
1564
|
-
--_rs-typography-list-li-compact-left-offset:18px;
|
|
1565
|
-
--_rs-typography-list-li-default-left-offset:24px;
|
|
1566
|
-
--_rs-typography-list-li-margin-top-from-text:var(
|
|
1567
|
-
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
1568
|
-
16px
|
|
1569
|
-
);
|
|
1570
|
-
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
1571
|
-
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1572
|
-
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1573
|
-
}
|
|
1574
|
-
@media screen and (max-width: 640px){
|
|
1575
|
-
&[class] [data-rs-internal='select-native__select']{
|
|
1576
|
-
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
1577
|
-
}
|
|
1578
|
-
}
|
|
1579
|
-
& [data-rs-internal="select-native-trigger"]{
|
|
1778
|
+
&[class]{
|
|
1580
1779
|
--_rs-select-size:m;
|
|
1581
1780
|
--_rs-select-observable-size:2px;
|
|
1582
1781
|
--_rs-select-trigger-horizontal-padding:8px;
|
|
@@ -1625,11 +1824,11 @@
|
|
|
1625
1824
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1626
1825
|
}
|
|
1627
1826
|
@media screen and (max-width: 640px){
|
|
1628
|
-
&
|
|
1827
|
+
&[class]{
|
|
1629
1828
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
1630
1829
|
}
|
|
1631
1830
|
}
|
|
1632
|
-
&
|
|
1831
|
+
&[class] [data-rs-internal='select-trigger__tag']:not(html){
|
|
1633
1832
|
--_rs-tag-vertical-padding:4px;
|
|
1634
1833
|
--_rs-tag-base-horizontal-padding:8px;
|
|
1635
1834
|
--_rs-tag-uppercase-horizontal-padding:10px;
|
|
@@ -1669,17 +1868,17 @@
|
|
|
1669
1868
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1670
1869
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1671
1870
|
}
|
|
1672
|
-
&
|
|
1871
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
1673
1872
|
--_rs-tag-removable-vertical-padding:4px;
|
|
1674
1873
|
--_rs-tag-removable-left-padding:8px;
|
|
1675
1874
|
--_rs-tag-removable-border-radius:4px;
|
|
1676
1875
|
--_rs-tag-removable-close-part-size:28px;
|
|
1677
1876
|
--_rs-tag-removable-custom-icon-size:20px;
|
|
1678
1877
|
}
|
|
1679
|
-
&
|
|
1878
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html) [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
1680
1879
|
--_rs-icons-height:20px;
|
|
1681
1880
|
}
|
|
1682
|
-
&
|
|
1881
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
1683
1882
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
1684
1883
|
--_rs-typography-text-transform:initial;
|
|
1685
1884
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1714,7 +1913,7 @@
|
|
|
1714
1913
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1715
1914
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1716
1915
|
}
|
|
1717
|
-
&
|
|
1916
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
1718
1917
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
1719
1918
|
--_rs-typography-text-transform:initial;
|
|
1720
1919
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1753,45 +1952,11 @@
|
|
|
1753
1952
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1754
1953
|
}
|
|
1755
1954
|
@media screen and (max-width: 640px){
|
|
1756
|
-
&
|
|
1955
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
1757
1956
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
1758
1957
|
}
|
|
1759
1958
|
}
|
|
1760
|
-
& [data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-
|
|
1761
|
-
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
1762
|
-
--_rs-typography-text-transform:initial;
|
|
1763
|
-
--_rs-typography-font-variant-numeric:initial;
|
|
1764
|
-
--_rs-typography-font-family:var(
|
|
1765
|
-
--rs-font-family-ui,
|
|
1766
|
-
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
1767
|
-
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
1768
|
-
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
1769
|
-
);
|
|
1770
|
-
--_rs-typography-font-size:var(--rs-h4-font-size, 16px);
|
|
1771
|
-
--_rs-typography-font-weight:var(
|
|
1772
|
-
--rs-font-weight-semi-bold,
|
|
1773
|
-
600
|
|
1774
|
-
);
|
|
1775
|
-
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
1776
|
-
--_rs-typography-base-color:var(
|
|
1777
|
-
--_rs-typography-heading-hardness-color,
|
|
1778
|
-
var(
|
|
1779
|
-
--rs-color-hard,
|
|
1780
|
-
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))
|
|
1781
|
-
)
|
|
1782
|
-
);
|
|
1783
|
-
--_rs-typography-text-auto-offset:0;
|
|
1784
|
-
--_rs-typography-ul-bullet-offset:initial;
|
|
1785
|
-
--_rs-typography-list-li-compact-left-offset:initial;
|
|
1786
|
-
--_rs-typography-list-li-default-left-offset:initial;
|
|
1787
|
-
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
1788
|
-
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
1789
|
-
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
1790
|
-
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
1791
|
-
}
|
|
1792
|
-
}
|
|
1793
|
-
@define-mixin rs-native-select-size-l{
|
|
1794
|
-
&[class] [data-rs-internal='select-native__select']{
|
|
1959
|
+
& [data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__label']{
|
|
1795
1960
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
1796
1961
|
--_rs-typography-text-transform:initial;
|
|
1797
1962
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1830,11 +1995,45 @@
|
|
|
1830
1995
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1831
1996
|
}
|
|
1832
1997
|
@media screen and (max-width: 640px){
|
|
1833
|
-
&[
|
|
1998
|
+
& [data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__label']{
|
|
1834
1999
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
1835
2000
|
}
|
|
1836
2001
|
}
|
|
1837
|
-
|
|
2002
|
+
& [data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__bold-label']{
|
|
2003
|
+
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
2004
|
+
--_rs-typography-text-transform:initial;
|
|
2005
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
2006
|
+
--_rs-typography-font-family:var(
|
|
2007
|
+
--rs-font-family-ui,
|
|
2008
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
2009
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
2010
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
2011
|
+
);
|
|
2012
|
+
--_rs-typography-font-size:var(--rs-h4-font-size, 16px);
|
|
2013
|
+
--_rs-typography-font-weight:var(
|
|
2014
|
+
--rs-font-weight-semi-bold,
|
|
2015
|
+
600
|
|
2016
|
+
);
|
|
2017
|
+
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
2018
|
+
--_rs-typography-base-color:var(
|
|
2019
|
+
--_rs-typography-heading-hardness-color,
|
|
2020
|
+
var(
|
|
2021
|
+
--rs-color-hard,
|
|
2022
|
+
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))
|
|
2023
|
+
)
|
|
2024
|
+
);
|
|
2025
|
+
--_rs-typography-text-auto-offset:0;
|
|
2026
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
2027
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
2028
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
2029
|
+
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
2030
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
2031
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
2032
|
+
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
@define-mixin rs-native-select-size-l{
|
|
2036
|
+
&[class]{
|
|
1838
2037
|
--_rs-select-size:l;
|
|
1839
2038
|
--_rs-select-observable-size:3px;
|
|
1840
2039
|
--_rs-select-trigger-horizontal-padding:16px;
|
|
@@ -1883,11 +2082,11 @@
|
|
|
1883
2082
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1884
2083
|
}
|
|
1885
2084
|
@media screen and (max-width: 640px){
|
|
1886
|
-
&
|
|
2085
|
+
&[class]{
|
|
1887
2086
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
1888
2087
|
}
|
|
1889
2088
|
}
|
|
1890
|
-
&
|
|
2089
|
+
&[class] [data-rs-internal='select-trigger__tag']:not(html){
|
|
1891
2090
|
--_rs-tag-vertical-padding:6px;
|
|
1892
2091
|
--_rs-tag-base-horizontal-padding:12px;
|
|
1893
2092
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -1933,21 +2132,21 @@
|
|
|
1933
2132
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1934
2133
|
}
|
|
1935
2134
|
@media screen and (max-width: 640px){
|
|
1936
|
-
&
|
|
2135
|
+
&[class] [data-rs-internal='select-trigger__tag']:not(html){
|
|
1937
2136
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
1938
2137
|
}
|
|
1939
2138
|
}
|
|
1940
|
-
&
|
|
2139
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
1941
2140
|
--_rs-tag-removable-vertical-padding:6px;
|
|
1942
2141
|
--_rs-tag-removable-left-padding:12px;
|
|
1943
2142
|
--_rs-tag-removable-border-radius:6px;
|
|
1944
2143
|
--_rs-tag-removable-close-part-size:36px;
|
|
1945
2144
|
--_rs-tag-removable-custom-icon-size:24px;
|
|
1946
2145
|
}
|
|
1947
|
-
&
|
|
2146
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html) [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
1948
2147
|
--_rs-icons-height:24px;
|
|
1949
2148
|
}
|
|
1950
|
-
&
|
|
2149
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
1951
2150
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
1952
2151
|
--_rs-typography-text-transform:initial;
|
|
1953
2152
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -1986,9 +2185,52 @@
|
|
|
1986
2185
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
1987
2186
|
}
|
|
1988
2187
|
@media screen and (max-width: 640px){
|
|
1989
|
-
&
|
|
2188
|
+
&[class] [data-rs-internal='select-trigger__removable-tag']:not(html){
|
|
1990
2189
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
1991
2190
|
}
|
|
2191
|
+
}
|
|
2192
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
2193
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
2194
|
+
--_rs-typography-text-transform:initial;
|
|
2195
|
+
--_rs-typography-font-variant-numeric:initial;
|
|
2196
|
+
--_rs-typography-font-family:var(
|
|
2197
|
+
--rs-font-family-ui,
|
|
2198
|
+
var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
|
|
2199
|
+
BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
|
|
2200
|
+
'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
|
|
2201
|
+
);
|
|
2202
|
+
--_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
|
|
2203
|
+
--_rs-typography-font-weight:var(
|
|
2204
|
+
--rs-font-weight-regular,
|
|
2205
|
+
400
|
|
2206
|
+
);
|
|
2207
|
+
--_rs-typography-line-height:var(
|
|
2208
|
+
--rs-text-2-line-height,
|
|
2209
|
+
24px
|
|
2210
|
+
);
|
|
2211
|
+
--_rs-typography-base-color:var(
|
|
2212
|
+
--_rs-typography-hardness-color,
|
|
2213
|
+
var(
|
|
2214
|
+
--rs-color-average,
|
|
2215
|
+
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.7)
|
|
2216
|
+
)
|
|
2217
|
+
);
|
|
2218
|
+
--_rs-typography-text-auto-offset:16px;
|
|
2219
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
2220
|
+
--_rs-typography-list-li-compact-left-offset:18px;
|
|
2221
|
+
--_rs-typography-list-li-default-left-offset:24px;
|
|
2222
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
2223
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
2224
|
+
16px
|
|
2225
|
+
);
|
|
2226
|
+
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
2227
|
+
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
2228
|
+
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
2229
|
+
}
|
|
2230
|
+
@media screen and (max-width: 640px){
|
|
2231
|
+
&[class] [data-rs-internal='select-native__select']{
|
|
2232
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
2233
|
+
}
|
|
1992
2234
|
}
|
|
1993
2235
|
& [data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__label']{
|
|
1994
2236
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
package/lib/select-basic.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
export declare function SelectBasic
|
|
2
|
+
import { InnerSingleComponentProps } from './types';
|
|
3
|
+
export declare function SelectBasic({ options, value: selectedItem, onChange, error, label, note, size, mode, theme, placement, boldLabel, reserveErrorLine, maxVisibleItems, isClearable, isLoading, isDisabled, name, noOptionsMessage, className, id, style, placeholder, ...rest }: InnerSingleComponentProps): JSX.Element;
|