@rescui/select 0.10.4 → 0.11.0

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.
@@ -1,15 +1,15 @@
1
1
  var styles = {
2
- "sizeS": "_sizeS_yc4obr_3",
3
- "sizeM": "_sizeM_yc4obr_6",
4
- "sizeL": "_sizeL_yc4obr_9",
5
- "menu": "_menu_yc4obr_13",
6
- "menuSizeS": "_menuSizeS_yc4obr_26",
7
- "menuSizeM": "_menuSizeM_yc4obr_30",
8
- "menuSizeL": "_menuSizeL_yc4obr_34",
9
- "withGroupsLabel": "_withGroupsLabel_yc4obr_40",
10
- "lastOption": "_lastOption_yc4obr_39",
11
- "divider": "_divider_yc4obr_45",
12
- "checkIcon": "_checkIcon_yc4obr_51",
13
- "observable": "_observable_yc4obr_56"
2
+ "sizeS": "_sizeS_1e17oz3_3",
3
+ "sizeM": "_sizeM_1e17oz3_6",
4
+ "sizeL": "_sizeL_1e17oz3_9",
5
+ "menu": "_menu_1e17oz3_13",
6
+ "menuSizeS": "_menuSizeS_1e17oz3_26",
7
+ "menuSizeM": "_menuSizeM_1e17oz3_30",
8
+ "menuSizeL": "_menuSizeL_1e17oz3_34",
9
+ "withGroupsLabel": "_withGroupsLabel_1e17oz3_40",
10
+ "lastOption": "_lastOption_1e17oz3_39",
11
+ "divider": "_divider_1e17oz3_45",
12
+ "checkIcon": "_checkIcon_1e17oz3_51",
13
+ "observable": "_observable_1e17oz3_56"
14
14
  };
15
15
  export { styles as default };
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { useThemeWithUndefined } from '@rescui/ui-contexts';
4
+ import WarningIcon from '../_virtual/warning.js';
4
5
  import styles from './form-trigger.p.module.css.js';
5
6
  var SIZE_STYLES = {
6
7
  l: styles.sizeL,
@@ -49,7 +50,10 @@ var FormTriggerWrapper = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
49
50
  }, children), error && /*#__PURE__*/React.createElement("div", {
50
51
  className: styles.errorMessage,
51
52
  "data-rs-internal": 'select-form-trigger-wrapper__error-message'
52
- }, error), note && /*#__PURE__*/React.createElement("div", {
53
+ }, /*#__PURE__*/React.createElement(WarningIcon, {
54
+ className: styles.errorIcon,
55
+ "data-rs-internal": 'select-form-trigger-wrapper__error-icon'
56
+ }), /*#__PURE__*/React.createElement("span", null, error)), note && /*#__PURE__*/React.createElement("div", {
53
57
  className: styles.note,
54
58
  "data-rs-internal": 'select-form-trigger-wrapper__note'
55
59
  }, note));
@@ -1,12 +1,13 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_9ry7kt_7",
3
- "themeDark": "_themeDark_9ry7kt_10",
4
- "sizeS": "_sizeS_9ry7kt_14",
5
- "sizeM": "_sizeM_9ry7kt_17",
6
- "sizeL": "_sizeL_9ry7kt_20",
7
- "main": "_main_9ry7kt_24",
8
- "label": "_label_9ry7kt_28",
9
- "errorMessage": "_errorMessage_9ry7kt_36",
10
- "note": "_note_9ry7kt_43"
2
+ "themeLight": "_themeLight_dkvabu_7",
3
+ "themeDark": "_themeDark_dkvabu_10",
4
+ "sizeS": "_sizeS_dkvabu_14",
5
+ "sizeM": "_sizeM_dkvabu_17",
6
+ "sizeL": "_sizeL_dkvabu_20",
7
+ "main": "_main_dkvabu_24",
8
+ "label": "_label_dkvabu_28",
9
+ "errorMessage": "_errorMessage_dkvabu_36",
10
+ "errorIcon": "_errorIcon_dkvabu_47",
11
+ "note": "_note_dkvabu_52"
11
12
  };
12
13
  export { styles as default };
@@ -23,10 +23,10 @@ import React, { useState, useRef, useEffect, useMemo, useCallback } from 'react'
23
23
  import PropTypes from 'prop-types';
24
24
  import cn from 'classnames';
25
25
  import scrollIntoView from 'scroll-into-view-if-needed';
26
- import { CheckIcon } from '@rescui/icons';
27
26
  import { Dropdown } from '@rescui/dropdown';
28
27
  import { Menu, MenuItem, Divider, GroupHeader } from '@rescui/menu';
29
28
  import { useThemeWithUndefined } from '@rescui/ui-contexts';
29
+ import CheckIcon from '../_virtual/check.js';
30
30
  import { useStrongMemo, getDefaultCursorIndex, isGroupsEmpty, getOptionValue, getMovedCursorIndex, shouldOpenSelect, isIndexMatchCursor, withoutGroupsLabel, getPlainOptionsFromGroups, getEmptyMessage, OptionGroupTypes, convertToOptionGroupsIfNeeded, calculateMaxHeight } from '../utils.js';
31
31
  import { optionType, optionsGroupType, noOptionsMessageType } from '../common-prop-types.js';
32
32
  import { ARROW_DOWN, ARROW_UP, ENTER, SPACE, TAB, ESCAPE, BACKSPACE } from '../key-codes.js';
@@ -1,9 +1,9 @@
1
1
  var styles = {
2
- "sizeS": "_sizeS_177d88i_6",
3
- "sizeM": "_sizeM_177d88i_9",
4
- "sizeL": "_sizeL_177d88i_12",
5
- "main": "_main_177d88i_16",
6
- "wrapper": "_wrapper_177d88i_20",
7
- "select": "_select_177d88i_24"
2
+ "sizeS": "_sizeS_vb3hmi_6",
3
+ "sizeM": "_sizeM_vb3hmi_9",
4
+ "sizeL": "_sizeL_vb3hmi_12",
5
+ "main": "_main_vb3hmi_16",
6
+ "wrapper": "_wrapper_vb3hmi_20",
7
+ "select": "_select_vb3hmi_24"
8
8
  };
9
9
  export { styles as default };
@@ -20,7 +20,9 @@ import PropTypes from 'prop-types';
20
20
  import cn from 'classnames';
21
21
  import { RemovableTag, Tag, presets } from '@rescui/tag';
22
22
  import { useThemeWithUndefined } from '@rescui/ui-contexts';
23
- import { DownIcon, LoadingIcon, CloseIcon } from '@rescui/icons';
23
+ import DownIcon from '../_virtual/down.js';
24
+ import CloseIcon from '../_virtual/close.js';
25
+ import LoadingIcon from '../_virtual/loading.js';
24
26
  import { optionType } from '../common-prop-types.js';
25
27
  import { reverseTheme } from '../utils.js';
26
28
  import Foldable from './foldable.js';
@@ -1,30 +1,30 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_1hhw4x4_27",
3
- "themeDark": "_themeDark_1hhw4x4_30",
4
- "sizeS": "_sizeS_1hhw4x4_34",
5
- "sizeM": "_sizeM_1hhw4x4_37",
6
- "sizeL": "_sizeL_1hhw4x4_40",
7
- "classic": "_classic_1hhw4x4_44",
8
- "rock": "_rock_1hhw4x4_47",
9
- "main": "_main_1hhw4x4_51",
10
- "open": "_open_1hhw4x4_73",
11
- "focused": "_focused_1hhw4x4_77",
12
- "searchFocused": "_searchFocused_1hhw4x4_78",
13
- "error": "_error_1hhw4x4_80",
14
- "searchKeyFocused": "_searchKeyFocused_1hhw4x4_85",
15
- "enabled": "_enabled_1hhw4x4_89",
16
- "disabled": "_disabled_1hhw4x4_95",
17
- "isMulti": "_isMulti_1hhw4x4_125",
18
- "iconsWrapper": "_iconsWrapper_1hhw4x4_143",
19
- "labelWrapper": "_labelWrapper_1hhw4x4_168",
20
- "label": "_label_1hhw4x4_168",
21
- "labelNotSelected": "_labelNotSelected_1hhw4x4_218",
22
- "searchInput": "_searchInput_1hhw4x4_231",
23
- "multi": "_multi_1hhw4x4_271",
24
- "tagsContainer": "_tagsContainer_1hhw4x4_291",
25
- "tag": "_tag_1hhw4x4_291",
26
- "toggle": "_toggle_1hhw4x4_313",
27
- "icon": "_icon_1hhw4x4_143",
28
- "clearIcon": "_clearIcon_1hhw4x4_380"
2
+ "themeLight": "_themeLight_as7fmo_27",
3
+ "themeDark": "_themeDark_as7fmo_30",
4
+ "sizeS": "_sizeS_as7fmo_34",
5
+ "sizeM": "_sizeM_as7fmo_37",
6
+ "sizeL": "_sizeL_as7fmo_40",
7
+ "classic": "_classic_as7fmo_44",
8
+ "rock": "_rock_as7fmo_47",
9
+ "main": "_main_as7fmo_51",
10
+ "open": "_open_as7fmo_73",
11
+ "focused": "_focused_as7fmo_77",
12
+ "searchFocused": "_searchFocused_as7fmo_78",
13
+ "error": "_error_as7fmo_80",
14
+ "searchKeyFocused": "_searchKeyFocused_as7fmo_85",
15
+ "enabled": "_enabled_as7fmo_89",
16
+ "disabled": "_disabled_as7fmo_95",
17
+ "isMulti": "_isMulti_as7fmo_125",
18
+ "iconsWrapper": "_iconsWrapper_as7fmo_143",
19
+ "labelWrapper": "_labelWrapper_as7fmo_168",
20
+ "label": "_label_as7fmo_168",
21
+ "labelNotSelected": "_labelNotSelected_as7fmo_218",
22
+ "searchInput": "_searchInput_as7fmo_231",
23
+ "multi": "_multi_as7fmo_271",
24
+ "tagsContainer": "_tagsContainer_as7fmo_291",
25
+ "tag": "_tag_as7fmo_291",
26
+ "toggle": "_toggle_as7fmo_313",
27
+ "icon": "_icon_as7fmo_143",
28
+ "clearIcon": "_clearIcon_as7fmo_380"
29
29
  };
30
30
  export { styles as default };
@@ -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-message'],
10
- &[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
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-message'],
244
- &[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
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-message'],
486
- &[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
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-wrapper__error-message'],
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-message'],
746
- &[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
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-message'],
980
- &[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
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-message'],
1222
- &[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
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-wrapper__error-message'],
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-message'],
1512
- &[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
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-message'],
1781
- &[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
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-message'],
2058
- &[data-rs-internal="select-form-trigger-wrapper"] [data-rs-internal='select-form-trigger-wrapper__note']{
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-wrapper__error-message'],
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
  }