@rescui/select 0.15.1-RUI-280-Update-select-component-downshift-2f40ef205.67 → 0.15.2-RUI-291-Update-next-js-to-the-latest-version-8f54dec0a.66

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.
Files changed (59) hide show
  1. package/lib/_virtual/index.css.js +12 -12
  2. package/lib/common-prop-types.d.ts +29 -30
  3. package/lib/constants.d.ts +6 -6
  4. package/lib/hooks/use-a11y.d.ts +30 -29
  5. package/lib/hooks/use-a11y.js +10 -7
  6. package/lib/hooks/use-actual-size-from-css.d.ts +10 -0
  7. package/lib/hooks/use-actual-size-from-css.js +27 -0
  8. package/lib/hooks/use-focus.d.ts +10 -10
  9. package/lib/hooks/use-hover.d.ts +10 -10
  10. package/lib/hooks/use-label-focus.d.ts +9 -9
  11. package/lib/hooks/use-multi-handlers.d.ts +11 -11
  12. package/lib/hooks/use-multi-handlers.js +6 -10
  13. package/lib/hooks/use-options.d.ts +13 -13
  14. package/lib/hooks/use-options.js +7 -6
  15. package/lib/hooks/use-primary-contrast-css-var-transfer.d.ts +11 -0
  16. package/lib/hooks/use-primary-contrast-css-var-transfer.js +29 -0
  17. package/lib/hooks/use-safe-id.d.ts +6 -0
  18. package/lib/hooks/use-safe-id.js +15 -0
  19. package/lib/index.css +965 -932
  20. package/lib/index.d.ts +4 -4
  21. package/lib/multiselect.d.ts +3 -3
  22. package/lib/multiselect.js +34 -37
  23. package/lib/native-select.d.ts +4 -4
  24. package/lib/native-select.js +10 -13
  25. package/lib/parts/foldable.d.ts +34 -33
  26. package/lib/parts/form-trigger-wrapper.d.ts +34 -34
  27. package/lib/parts/hidden-select.d.ts +13 -13
  28. package/lib/parts/icons.d.ts +17 -17
  29. package/lib/parts/list-box.d.ts +13 -11
  30. package/lib/parts/list-box.js +12 -8
  31. package/lib/parts/multi-trigger.d.ts +12 -12
  32. package/lib/parts/multi-trigger.js +2 -6
  33. package/lib/parts/native-select-options-with-groups.d.ts +8 -8
  34. package/lib/parts/popup-content.d.ts +20 -0
  35. package/lib/parts/popup-content.js +68 -0
  36. package/lib/select-basic.d.ts +3 -3
  37. package/lib/select-basic.js +25 -24
  38. package/lib/select-searchable.d.ts +3 -3
  39. package/lib/select-searchable.js +22 -27
  40. package/lib/select.d.ts +28 -28
  41. package/lib/styles/common.p.module.css.js +29 -28
  42. package/lib/styles/form-trigger.p.module.css.js +12 -12
  43. package/lib/styles/list-box.p.module.css.js +13 -11
  44. package/lib/types.d.ts +202 -197
  45. package/lib/utils/calculate-max-height-by-items.d.ts +13 -13
  46. package/lib/utils/calculate-max-height-by-items.js +11 -11
  47. package/lib/utils/get-empty-message.d.ts +6 -6
  48. package/lib/utils/get-option-value.d.ts +2 -2
  49. package/lib/utils/get-real-items-cnt.d.ts +2 -2
  50. package/lib/utils/get-text-from-nodes.d.ts +2 -2
  51. package/lib/utils/get-text-from-nodes.js +1 -3
  52. package/lib/utils/is-option-a-group.d.ts +2 -2
  53. package/lib/utils/item-to-string.d.ts +2 -2
  54. package/lib/utils/merge-props.d.ts +19 -29
  55. package/lib/utils/merge-props.js +70 -72
  56. package/lib/utils/throttle.d.ts +1 -1
  57. package/package.json +8 -8
  58. package/lib/hooks/use-backward-compatible-id.d.ts +0 -4
  59. package/lib/hooks/use-backward-compatible-id.js +0 -14
@@ -0,0 +1,68 @@
1
+ import React, { useEffect } from 'react';
2
+ import { Dropdown } from '@rescui/dropdown';
3
+ import { useActualSizeFromCss } from '../hooks/use-actual-size-from-css.js';
4
+ import { usePrimaryContrastCssVarTransfer } from '../hooks/use-primary-contrast-css-var-transfer.js';
5
+ import styles from '../styles/common.p.module.css.js';
6
+ import { ListBox } from './list-box.js'; // eslint-disable-next-line complexity
7
+
8
+ const PopupContent = _ref => {
9
+ let {
10
+ theme,
11
+ listBoxState,
12
+ triggerRef,
13
+ dropdownRef,
14
+ listBoxItems,
15
+ placement,
16
+ size: sizeFromProps,
17
+ mode,
18
+ emptyListMessage,
19
+ maxVisibleItems,
20
+ trigger,
21
+ isOpen,
22
+ dropdownUpdateDeps = []
23
+ } = _ref;
24
+ const {
25
+ size,
26
+ observableRef
27
+ } = useActualSizeFromCss({
28
+ sizeFromProps,
29
+ triggerRef
30
+ });
31
+ const {
32
+ isPrimaryContrast
33
+ } = usePrimaryContrastCssVarTransfer({
34
+ isOpen,
35
+ triggerRef
36
+ });
37
+ useEffect(() => {
38
+ if (dropdownRef.current) {
39
+ dropdownRef.current.scheduleUpdate();
40
+ } // eslint-disable-next-line react-hooks/exhaustive-deps
41
+
42
+ }, [listBoxItems, size, ...dropdownUpdateDeps]);
43
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
44
+ ref: observableRef,
45
+ className: styles.observable
46
+ }), /*#__PURE__*/React.createElement(Dropdown, {
47
+ theme: theme,
48
+ ref: dropdownRef,
49
+ placement: placement,
50
+ maxWidth: "trigger",
51
+ minWidth: "trigger",
52
+ leastMaxHeight: 999999,
53
+ isOpen: isOpen,
54
+ cancelCloseAnimation: true,
55
+ disableFocusLock: true,
56
+ trigger: trigger
57
+ }, /*#__PURE__*/React.createElement(ListBox, {
58
+ state: listBoxState,
59
+ size: size,
60
+ mode: mode,
61
+ maxVisibleItems: maxVisibleItems,
62
+ emptyListMessage: emptyListMessage,
63
+ items: listBoxItems,
64
+ isPrimaryContrast: isPrimaryContrast
65
+ })));
66
+ };
67
+
68
+ export { PopupContent };
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
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;
1
+ import React from 'react';
2
+ import type { 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): React.JSX.Element;
@@ -1,15 +1,14 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { Dropdown } from '@rescui/dropdown';
4
3
  import { useSelect } from 'downshift';
5
4
  import scrollIntoView from 'scroll-into-view-if-needed';
6
5
  import { useLabelFocus } from './hooks/use-label-focus.js';
7
6
  import { useOptions } from './hooks/use-options.js';
8
7
  import { useA11y } from './hooks/use-a11y.js';
9
- import { ListBox } from './parts/list-box.js';
10
8
  import { Icons } from './parts/icons.js';
11
9
  import { HiddenSelect } from './parts/hidden-select.js';
12
10
  import { FormTriggerWrapper } from './parts/form-trigger-wrapper.js';
11
+ import { PopupContent } from './parts/popup-content.js';
13
12
  import { getEmptyMessage } from './utils/get-empty-message.js';
14
13
  import { mergeProps } from './utils/merge-props.js';
15
14
  import { itemToString } from './utils/item-to-string.js';
@@ -61,7 +60,8 @@ function SelectBasic(_ref) {
61
60
  } = useA11y({
62
61
  prefix: 'select',
63
62
  error,
64
- description: note
63
+ description: note,
64
+ isDisabled
65
65
  });
66
66
  const {
67
67
  isOpen,
@@ -74,6 +74,7 @@ function SelectBasic(_ref) {
74
74
  } = useSelect({
75
75
  items: flattenedOptions,
76
76
  itemToString,
77
+ itemToKey: getOptionValue,
77
78
  id: baseId,
78
79
  selectedItem,
79
80
  // defining our scroll behavior because on the first menu render the hook
@@ -89,7 +90,7 @@ function SelectBasic(_ref) {
89
90
  let {
90
91
  selectedItem: newSelectedItem
91
92
  } = _ref2;
92
- onChange === null || onChange === void 0 || onChange(newSelectedItem);
93
+ onChange?.(newSelectedItem);
93
94
  },
94
95
 
95
96
  isItemDisabled(item) {
@@ -105,7 +106,13 @@ function SelectBasic(_ref) {
105
106
  const triggerProps = getToggleButtonProps({
106
107
  ref: triggerRef,
107
108
  onKeyDown: event => {
108
- // backspace and backspace removing the last selected item (when popup is closed)
109
+ // prevent default behavior of Downshift when pressing Ctrl
110
+ if (event.ctrlKey || event.metaKey) {
111
+ event.preventDownshiftDefault = true;
112
+ return;
113
+ } // backspace and backspace removing the last selected item (when popup is closed)
114
+
115
+
109
116
  if (isClearable && !isOpen && (event.key === 'Backspace' || event.key === 'Delete')) {
110
117
  reset();
111
118
  }
@@ -127,7 +134,6 @@ function SelectBasic(_ref) {
127
134
  });
128
135
  const listBoxState = {
129
136
  selectedMap,
130
- selectionMode: 'single',
131
137
  highlightedIndex,
132
138
  getItemProps,
133
139
  menuProps
@@ -149,16 +155,18 @@ function SelectBasic(_ref) {
149
155
  value: selectedItem,
150
156
  isMultiple: false,
151
157
  options: flattenedOptions
152
- }), /*#__PURE__*/React.createElement(Dropdown, {
153
- mode: mode,
158
+ }), /*#__PURE__*/React.createElement(PopupContent, {
154
159
  theme: theme,
155
- ref: dropdownRef,
160
+ size: size,
161
+ mode: mode,
162
+ dropdownRef: dropdownRef,
163
+ triggerRef: triggerRef,
156
164
  placement: placement,
157
- maxWidth: "trigger",
158
- minWidth: "trigger",
159
165
  isOpen: isOpen,
160
- cancelCloseAnimation: true,
161
- disableFocusLock: true,
166
+ listBoxState: listBoxState,
167
+ maxVisibleItems: maxVisibleItems,
168
+ emptyListMessage: emptyListMessage,
169
+ listBoxItems: listBoxItems,
162
170
  trigger: _ref3 => {
163
171
  let {
164
172
  ref: triggerRefForDropdown
@@ -172,32 +180,25 @@ function SelectBasic(_ref) {
172
180
  triggerProps, labelFocusForTriggerProps, {
173
181
  ref: triggerRefForDropdown
174
182
  }),
183
+ tabIndex: isDisabled ? undefined : 0,
175
184
  className: styles.trigger,
176
185
  "data-test": "select__trigger"
177
186
  }, /*#__PURE__*/React.createElement("span", {
178
187
  className: cn(styles.triggerText, !hasValue && styles.labelNotSelected),
179
188
  "data-test": "select__trigger_content"
180
- }, (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.label) ?? placeholder), /*#__PURE__*/React.createElement(Icons, {
189
+ }, selectedItem?.label ?? placeholder), /*#__PURE__*/React.createElement(Icons, {
181
190
  isLoading: isLoading,
182
191
  canHaveClearIcon: isClearable && !isDisabled && hasValue,
183
192
  onClear: () => {
184
- var _triggerRef$current;
185
-
186
193
  reset();
187
- (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 || _triggerRef$current.focus({
194
+ triggerRef.current?.focus({
188
195
  focusVisible: false
189
196
  });
190
197
  },
191
198
  triggerId: triggerProps.id
192
199
  })));
193
200
  }
194
- }, /*#__PURE__*/React.createElement(ListBox, {
195
- state: listBoxState,
196
- size: size,
197
- maxVisibleItems: maxVisibleItems,
198
- emptyListMessage: emptyListMessage,
199
- items: listBoxItems
200
- })));
201
+ }));
201
202
  }
202
203
 
203
204
  export { SelectBasic };
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- import { InnerSingleComponentProps } from './types';
3
- export declare function SelectSearchable({ 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;
1
+ import React from 'react';
2
+ import { InnerSingleComponentProps } from './types';
3
+ export declare function SelectSearchable({ 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): React.JSX.Element;
@@ -1,14 +1,13 @@
1
1
  import React, { useRef } from 'react';
2
- import { Dropdown } from '@rescui/dropdown';
3
2
  import { useCombobox } from 'downshift';
4
3
  import scrollIntoView from 'scroll-into-view-if-needed';
5
4
  import { useLabelFocus } from './hooks/use-label-focus.js';
6
5
  import { useOptions } from './hooks/use-options.js';
7
6
  import { useA11y } from './hooks/use-a11y.js';
8
- import { ListBox } from './parts/list-box.js';
9
7
  import { Icons } from './parts/icons.js';
10
8
  import { HiddenSelect } from './parts/hidden-select.js';
11
9
  import { FormTriggerWrapper } from './parts/form-trigger-wrapper.js';
10
+ import { PopupContent } from './parts/popup-content.js';
12
11
  import { getEmptyMessage } from './utils/get-empty-message.js';
13
12
  import { mergeProps } from './utils/merge-props.js';
14
13
  import { itemToString } from './utils/item-to-string.js';
@@ -48,7 +47,8 @@ function SelectSearchable(_ref) {
48
47
  const {
49
48
  flattenedOptions,
50
49
  listBoxItems,
51
- setFilterString
50
+ setFilterString,
51
+ filterString
52
52
  } = useOptions(options);
53
53
  const isListBoxEmpty = getRealItemsCnt(listBoxItems) === 0;
54
54
  const hasValue = Boolean(selectedItem);
@@ -63,7 +63,8 @@ function SelectSearchable(_ref) {
63
63
  prefix: 'select',
64
64
  error,
65
65
  description: note,
66
- fieldRef: inputRef
66
+ fieldRef: inputRef,
67
+ isDisabled
67
68
  });
68
69
  const {
69
70
  isOpen,
@@ -90,6 +91,7 @@ function SelectSearchable(_ref) {
90
91
  items: flattenedOptions,
91
92
  id: baseId,
92
93
  itemToString,
94
+ itemToKey: getOptionValue,
93
95
  selectedItem,
94
96
  // defining our scroll behavior because on the first menu render the hook
95
97
  // doesn't know menuRef and use page as the scroll boundary
@@ -104,7 +106,7 @@ function SelectSearchable(_ref) {
104
106
  let {
105
107
  selectedItem: newSelectedItem
106
108
  } = _ref3;
107
- onChange === null || onChange === void 0 || onChange(newSelectedItem);
109
+ onChange?.(newSelectedItem);
108
110
  },
109
111
 
110
112
  isItemDisabled(item) {
@@ -163,12 +165,11 @@ function SelectSearchable(_ref) {
163
165
  } = useLabelFocus();
164
166
  const emptyListMessage = getEmptyMessage({
165
167
  isLoading,
166
- isNothingFound: false,
168
+ isNothingFound: filterString.length > 0,
167
169
  noOptionsMessage
168
170
  });
169
171
  const listBoxState = {
170
172
  selectedMap,
171
- selectionMode: 'single',
172
173
  highlightedIndex,
173
174
  getItemProps,
174
175
  menuProps
@@ -190,16 +191,18 @@ function SelectSearchable(_ref) {
190
191
  value: selectedItem,
191
192
  isMultiple: false,
192
193
  options: flattenedOptions
193
- }), /*#__PURE__*/React.createElement(Dropdown, {
194
- mode: mode,
194
+ }), /*#__PURE__*/React.createElement(PopupContent, {
195
195
  theme: theme,
196
- ref: dropdownRef,
196
+ size: size,
197
+ mode: mode,
198
+ dropdownRef: dropdownRef,
199
+ triggerRef: inputRef,
197
200
  placement: placement,
198
- maxWidth: "trigger",
199
- minWidth: "trigger",
200
201
  isOpen: isOpen,
201
- cancelCloseAnimation: true,
202
- disableFocusLock: true,
202
+ listBoxState: listBoxState,
203
+ maxVisibleItems: maxVisibleItems,
204
+ emptyListMessage: emptyListMessage,
205
+ listBoxItems: listBoxItems,
203
206
  trigger: _ref5 => {
204
207
  let {
205
208
  ref: triggerRefForDropdown
@@ -211,6 +214,7 @@ function SelectSearchable(_ref) {
211
214
  }, /*#__PURE__*/React.createElement("input", { ...rest,
212
215
  ...mergeProps(fieldProps, // aria-invalid & aria-describedby, rest are overridden by inputProps,
213
216
  inputProps, labelFocusForTriggerProps),
217
+ disabled: isDisabled ? true : undefined,
214
218
  className: styles.searchInput,
215
219
  placeholder: placeholder,
216
220
  "data-test": "select__trigger_input"
@@ -219,32 +223,23 @@ function SelectSearchable(_ref) {
219
223
  ...mergeProps(getToggleButtonProps(), {
220
224
  ref: triggerRefForDropdown,
221
225
  onFocus: () => {
222
- var _inputRef$current;
223
-
224
- (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
226
+ inputRef.current?.focus();
225
227
  }
226
228
  }),
229
+ tabIndex: undefined,
227
230
  className: styles.trigger,
228
231
  "data-test": "select__trigger"
229
232
  }, /*#__PURE__*/React.createElement(Icons, {
230
233
  isLoading: isLoading,
231
234
  canHaveClearIcon: isClearable && !isDisabled && hasValue,
232
235
  onClear: () => {
233
- var _inputRef$current2;
234
-
235
236
  reset();
236
- (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.focus();
237
+ inputRef.current?.focus();
237
238
  },
238
239
  triggerId: inputProps.id
239
240
  })));
240
241
  }
241
- }, /*#__PURE__*/React.createElement(ListBox, {
242
- state: listBoxState,
243
- size: size,
244
- maxVisibleItems: maxVisibleItems,
245
- emptyListMessage: emptyListMessage,
246
- items: listBoxItems
247
- })));
242
+ }));
248
243
  }
249
244
 
250
245
  export { SelectSearchable };
package/lib/select.d.ts CHANGED
@@ -1,28 +1,28 @@
1
- import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import type { SelectProps, SelectOption, SelectOptionOrGroup } from './types';
4
- export declare const Select: {
5
- ({ options, size, mode, theme: themeFromProps, className, style, value, onChange, placeholder, isClearable, isLoading, isDisabled, isSearchable, noOptionsMessage, error, placement, boldLabel, reserveErrorLine, note, maxVisibleItems, id, ...restProps }: SelectProps): JSX.Element;
6
- propTypes: {
7
- className: PropTypes.Requireable<string>;
8
- style: PropTypes.Requireable<object>;
9
- options: PropTypes.Validator<SelectOptionOrGroup[]>;
10
- value: PropTypes.Validator<SelectOption>;
11
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
12
- size: PropTypes.Requireable<string>;
13
- mode: PropTypes.Requireable<string>;
14
- theme: PropTypes.Requireable<string>;
15
- placeholder: PropTypes.Requireable<string>;
16
- isClearable: PropTypes.Requireable<boolean>;
17
- isSearchable: PropTypes.Requireable<boolean>;
18
- isDisabled: PropTypes.Requireable<boolean>;
19
- isLoading: PropTypes.Requireable<boolean>;
20
- error: React.Validator<React.ReactNode>;
21
- label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
22
- id: PropTypes.Requireable<string>;
23
- note: PropTypes.Requireable<PropTypes.ReactNodeLike>;
24
- noOptionsMessage: React.Validator<import("./types").NoOptionsMessage>;
25
- placement: PropTypes.Requireable<string>;
26
- name: PropTypes.Requireable<string>;
27
- };
28
- };
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import type { SelectProps, SelectOption, SelectOptionOrGroup } from './types';
4
+ export declare const Select: {
5
+ ({ options, size, mode, theme: themeFromProps, className, style, value, onChange, placeholder, isClearable, isLoading, isDisabled, isSearchable, noOptionsMessage, error, placement, boldLabel, reserveErrorLine, note, maxVisibleItems, id, ...restProps }: SelectProps): React.JSX.Element;
6
+ propTypes: {
7
+ className: PropTypes.Requireable<string>;
8
+ style: PropTypes.Requireable<object>;
9
+ options: PropTypes.Validator<SelectOptionOrGroup[]>;
10
+ value: PropTypes.Validator<SelectOption>;
11
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
12
+ size: PropTypes.Requireable<string>;
13
+ mode: PropTypes.Requireable<string>;
14
+ theme: PropTypes.Requireable<string>;
15
+ placeholder: PropTypes.Requireable<string>;
16
+ isClearable: PropTypes.Requireable<boolean>;
17
+ isSearchable: PropTypes.Requireable<boolean>;
18
+ isDisabled: PropTypes.Requireable<boolean>;
19
+ isLoading: PropTypes.Requireable<boolean>;
20
+ error: any;
21
+ label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
22
+ id: PropTypes.Requireable<string>;
23
+ note: PropTypes.Requireable<PropTypes.ReactNodeLike>;
24
+ noOptionsMessage: PropTypes.Validator<import("./types").NoOptionsMessage>;
25
+ placement: PropTypes.Requireable<string>;
26
+ name: PropTypes.Requireable<string>;
27
+ };
28
+ };
@@ -1,31 +1,32 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_buyj66_6",
3
- "themeDark": "_themeDark_buyj66_9",
4
- "sizeS": "_sizeS_buyj66_13",
5
- "sizeM": "_sizeM_buyj66_16",
6
- "sizeL": "_sizeL_buyj66_19",
7
- "classic": "_classic_buyj66_23",
8
- "rock": "_rock_buyj66_26",
9
- "root": "_root_buyj66_30",
10
- "trigger": "_trigger_buyj66_36",
11
- "error": "_error_buyj66_70",
12
- "enabled": "_enabled_buyj66_75",
13
- "disabled": "_disabled_buyj66_79",
14
- "searchable": "_searchable_buyj66_92",
15
- "canBeMultiline": "_canBeMultiline_buyj66_119",
16
- "triggerContainer": "_triggerContainer_buyj66_123",
17
- "triggerText": "_triggerText_buyj66_127",
18
- "searchInput": "_searchInput_buyj66_128",
19
- "labelNotSelected": "_labelNotSelected_buyj66_159",
20
- "multi": "_multi_buyj66_213",
21
- "tagsContainer": "_tagsContainer_buyj66_230",
22
- "tag": "_tag_buyj66_230",
23
- "filledTag": "_filledTag_buyj66_252",
24
- "iconsWrapper": "_iconsWrapper_buyj66_260",
25
- "toggle": "_toggle_buyj66_278",
26
- "icon": "_icon_buyj66_260",
27
- "clearIcon": "_clearIcon_buyj66_352",
28
- "visuallyHidden": "_visuallyHidden_buyj66_412",
29
- "select": "_select_buyj66_429"
2
+ "themeLight": "_themeLight_nnwwbc_6",
3
+ "themeDark": "_themeDark_nnwwbc_9",
4
+ "sizeS": "_sizeS_nnwwbc_13",
5
+ "sizeM": "_sizeM_nnwwbc_16",
6
+ "sizeL": "_sizeL_nnwwbc_19",
7
+ "classic": "_classic_nnwwbc_23",
8
+ "rock": "_rock_nnwwbc_26",
9
+ "root": "_root_nnwwbc_30",
10
+ "triggerContainer": "_triggerContainer_nnwwbc_36",
11
+ "disabled": "_disabled_nnwwbc_41",
12
+ "trigger": "_trigger_nnwwbc_36",
13
+ "error": "_error_nnwwbc_78",
14
+ "enabled": "_enabled_nnwwbc_83",
15
+ "searchable": "_searchable_nnwwbc_98",
16
+ "canBeMultiline": "_canBeMultiline_nnwwbc_125",
17
+ "triggerText": "_triggerText_nnwwbc_129",
18
+ "searchInput": "_searchInput_nnwwbc_130",
19
+ "labelNotSelected": "_labelNotSelected_nnwwbc_161",
20
+ "multi": "_multi_nnwwbc_217",
21
+ "tagsContainer": "_tagsContainer_nnwwbc_234",
22
+ "tag": "_tag_nnwwbc_234",
23
+ "filledTag": "_filledTag_nnwwbc_256",
24
+ "iconsWrapper": "_iconsWrapper_nnwwbc_264",
25
+ "toggle": "_toggle_nnwwbc_282",
26
+ "icon": "_icon_nnwwbc_264",
27
+ "clearIcon": "_clearIcon_nnwwbc_356",
28
+ "visuallyHidden": "_visuallyHidden_nnwwbc_416",
29
+ "select": "_select_nnwwbc_433",
30
+ "observable": "_observable_nnwwbc_455"
30
31
  };
31
32
  export { styles as default };
@@ -1,15 +1,15 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_lyv0k_6",
3
- "themeDark": "_themeDark_lyv0k_9",
4
- "sizeS": "_sizeS_lyv0k_13",
5
- "sizeM": "_sizeM_lyv0k_16",
6
- "sizeL": "_sizeL_lyv0k_19",
7
- "main": "_main_lyv0k_23",
8
- "label": "_label_lyv0k_27",
9
- "disabled": "_disabled_lyv0k_33",
10
- "footer": "_footer_lyv0k_38",
11
- "errorMessage": "_errorMessage_lyv0k_45",
12
- "error": "_error_lyv0k_45",
13
- "note": "_note_lyv0k_54"
2
+ "themeLight": "_themeLight_1ujhkhk_6",
3
+ "themeDark": "_themeDark_1ujhkhk_9",
4
+ "sizeS": "_sizeS_1ujhkhk_13",
5
+ "sizeM": "_sizeM_1ujhkhk_16",
6
+ "sizeL": "_sizeL_1ujhkhk_19",
7
+ "main": "_main_1ujhkhk_23",
8
+ "label": "_label_1ujhkhk_27",
9
+ "disabled": "_disabled_1ujhkhk_33",
10
+ "footer": "_footer_1ujhkhk_38",
11
+ "errorMessage": "_errorMessage_1ujhkhk_45",
12
+ "error": "_error_1ujhkhk_45",
13
+ "note": "_note_1ujhkhk_54"
14
14
  };
15
15
  export { styles as default };
@@ -1,14 +1,16 @@
1
1
  var styles = {
2
- "sizeS": "_sizeS_tuv1by_6",
3
- "sizeM": "_sizeM_tuv1by_9",
4
- "sizeL": "_sizeL_tuv1by_12",
5
- "listBox": "_listBox_tuv1by_16",
6
- "item": "_item_tuv1by_30",
7
- "selected": "_selected_tuv1by_76",
8
- "disabled": "_disabled_tuv1by_87",
9
- "checkIcon": "_checkIcon_tuv1by_94",
10
- "visible": "_visible_tuv1by_101",
11
- "divider": "_divider_tuv1by_108",
12
- "groupHeader": "_groupHeader_tuv1by_122"
2
+ "sizeS": "_sizeS_1hyzjwq_6",
3
+ "sizeM": "_sizeM_1hyzjwq_9",
4
+ "sizeL": "_sizeL_1hyzjwq_12",
5
+ "classic": "_classic_1hyzjwq_16",
6
+ "rock": "_rock_1hyzjwq_19",
7
+ "listBox": "_listBox_1hyzjwq_23",
8
+ "item": "_item_1hyzjwq_39",
9
+ "selected": "_selected_1hyzjwq_77",
10
+ "disabled": "_disabled_1hyzjwq_91",
11
+ "checkIcon": "_checkIcon_1hyzjwq_98",
12
+ "visible": "_visible_1hyzjwq_105",
13
+ "divider": "_divider_1hyzjwq_112",
14
+ "groupHeader": "_groupHeader_1hyzjwq_126"
13
15
  };
14
16
  export { styles as default };