@rescui/select 0.11.8 → 0.11.9-RUI-226-Update-card-cn-6e43cc89.60

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_1bpsm1t_3",
3
- "sizeM": "_sizeM_1bpsm1t_6",
4
- "sizeL": "_sizeL_1bpsm1t_9",
5
- "menu": "_menu_1bpsm1t_13",
6
- "menuSizeS": "_menuSizeS_1bpsm1t_26",
7
- "menuSizeM": "_menuSizeM_1bpsm1t_30",
8
- "menuSizeL": "_menuSizeL_1bpsm1t_34",
9
- "withGroupsLabel": "_withGroupsLabel_1bpsm1t_40",
10
- "lastOption": "_lastOption_1bpsm1t_39",
11
- "divider": "_divider_1bpsm1t_45",
12
- "checkIcon": "_checkIcon_1bpsm1t_51",
13
- "observable": "_observable_1bpsm1t_56"
2
+ "sizeS": "_sizeS_vvka4z_3",
3
+ "sizeM": "_sizeM_vvka4z_6",
4
+ "sizeL": "_sizeL_vvka4z_9",
5
+ "menu": "_menu_vvka4z_13",
6
+ "menuSizeS": "_menuSizeS_vvka4z_26",
7
+ "menuSizeM": "_menuSizeM_vvka4z_30",
8
+ "menuSizeL": "_menuSizeL_vvka4z_34",
9
+ "withGroupsLabel": "_withGroupsLabel_vvka4z_40",
10
+ "lastOption": "_lastOption_vvka4z_39",
11
+ "divider": "_divider_vvka4z_45",
12
+ "checkIcon": "_checkIcon_vvka4z_51",
13
+ "observable": "_observable_vvka4z_56"
14
14
  };
15
15
  export { styles as default };
@@ -56,7 +56,8 @@ const FormTriggerWrapper = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
56
56
  "data-rs-internal": 'select-form-trigger-wrapper__error-message'
57
57
  }, /*#__PURE__*/React.createElement(WarningIcon, {
58
58
  className: styles.errorIcon,
59
- "data-rs-internal": 'select-form-trigger-wrapper__error-icon'
59
+ "data-rs-internal": 'select-form-trigger-wrapper__error-icon',
60
+ "data-render-all-sizes": true
60
61
  }), /*#__PURE__*/React.createElement("span", null, error)), note && /*#__PURE__*/React.createElement("div", {
61
62
  className: styles.note,
62
63
  "data-rs-internal": 'select-form-trigger-wrapper__note'
@@ -1,13 +1,13 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_pzvxfo_7",
3
- "themeDark": "_themeDark_pzvxfo_10",
4
- "sizeS": "_sizeS_pzvxfo_14",
5
- "sizeM": "_sizeM_pzvxfo_17",
6
- "sizeL": "_sizeL_pzvxfo_20",
7
- "main": "_main_pzvxfo_24",
8
- "label": "_label_pzvxfo_28",
9
- "errorMessage": "_errorMessage_pzvxfo_34",
10
- "errorIcon": "_errorIcon_pzvxfo_45",
11
- "note": "_note_pzvxfo_50"
2
+ "themeLight": "_themeLight_bn5t9y_7",
3
+ "themeDark": "_themeDark_bn5t9y_10",
4
+ "sizeS": "_sizeS_bn5t9y_14",
5
+ "sizeM": "_sizeM_bn5t9y_17",
6
+ "sizeL": "_sizeL_bn5t9y_20",
7
+ "main": "_main_bn5t9y_24",
8
+ "label": "_label_bn5t9y_28",
9
+ "errorMessage": "_errorMessage_bn5t9y_34",
10
+ "errorIcon": "_errorIcon_bn5t9y_45",
11
+ "note": "_note_bn5t9y_50"
12
12
  };
13
13
  export { styles as default };
@@ -36,7 +36,8 @@ const Option = _ref => {
36
36
  const isItemSelected = Boolean(selected && selected.length && selected.some(s => value === getOptionValue(s)));
37
37
  const isHighlighted = isIndexMatchCursor(cursorIndex, index);
38
38
  const icon = isSingleLine && isItemSelected ? /*#__PURE__*/React.createElement(CheckIcon, {
39
- className: styles.checkIcon
39
+ className: styles.checkIcon,
40
+ "data-render-all-sizes": true
40
41
  }) : null;
41
42
  return /*#__PURE__*/React.createElement(MenuItem, {
42
43
  selected: isItemSelected,
@@ -1,9 +1,9 @@
1
1
  var styles = {
2
- "sizeS": "_sizeS_c1oqaa_6",
3
- "sizeM": "_sizeM_c1oqaa_9",
4
- "sizeL": "_sizeL_c1oqaa_12",
5
- "main": "_main_c1oqaa_16",
6
- "wrapper": "_wrapper_c1oqaa_20",
7
- "select": "_select_c1oqaa_24"
2
+ "sizeS": "_sizeS_v2to2o_6",
3
+ "sizeM": "_sizeM_v2to2o_9",
4
+ "sizeL": "_sizeL_v2to2o_12",
5
+ "main": "_main_v2to2o_16",
6
+ "wrapper": "_wrapper_v2to2o_20",
7
+ "select": "_select_v2to2o_24"
8
8
  };
9
9
  export { styles as default };
@@ -1,6 +1,6 @@
1
1
  import React, { useRef, useState } from 'react';
2
- import PropTypes from 'prop-types';
3
2
  import cn from 'classnames';
3
+ import PropTypes from 'prop-types';
4
4
  import { RemovableTag, Tag, presets } from '@rescui/tag';
5
5
  import { useThemeWithUndefined } from '@rescui/ui-contexts';
6
6
  import DownIcon from '../_virtual/down.js';
@@ -115,7 +115,8 @@ const SelectTrigger = /*#__PURE__*/React.memo(props => {
115
115
  selected: selected
116
116
  }), /*#__PURE__*/React.createElement(DownIcon, {
117
117
  className: styles.toggle,
118
- "data-test": "down-icon"
118
+ "data-test": "down-icon",
119
+ "data-render-all-sizes": true
119
120
  })));
120
121
  });
121
122
  SelectTrigger.displayName = 'SelectTrigger';
@@ -218,7 +219,8 @@ const ClearOrLoading = _ref3 => {
218
219
  pointerEvents: 'none'
219
220
  },
220
221
  className: styles.icon,
221
- "data-test": "loading-icon"
222
+ "data-test": "loading-icon",
223
+ "data-render-all-sizes": true
222
224
  });
223
225
  } else if (isClearable && !isDisabled && !isSelectedEmpty(selected)) {
224
226
  return /*#__PURE__*/React.createElement("button", {
@@ -229,7 +231,9 @@ const ClearOrLoading = _ref3 => {
229
231
  e.stopPropagation();
230
232
  onClearClick();
231
233
  }
232
- }, /*#__PURE__*/React.createElement(CloseIcon, null));
234
+ }, /*#__PURE__*/React.createElement(CloseIcon, {
235
+ "data-render-all-sizes": true
236
+ }));
233
237
  } else {
234
238
  return null;
235
239
  }
@@ -1,30 +1,30 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_u9jp7y_27",
3
- "themeDark": "_themeDark_u9jp7y_30",
4
- "sizeS": "_sizeS_u9jp7y_34",
5
- "sizeM": "_sizeM_u9jp7y_37",
6
- "sizeL": "_sizeL_u9jp7y_40",
7
- "classic": "_classic_u9jp7y_44",
8
- "rock": "_rock_u9jp7y_47",
9
- "main": "_main_u9jp7y_51",
10
- "open": "_open_u9jp7y_73",
11
- "focused": "_focused_u9jp7y_77",
12
- "searchFocused": "_searchFocused_u9jp7y_78",
13
- "error": "_error_u9jp7y_80",
14
- "searchKeyFocused": "_searchKeyFocused_u9jp7y_85",
15
- "enabled": "_enabled_u9jp7y_89",
16
- "disabled": "_disabled_u9jp7y_95",
17
- "isMulti": "_isMulti_u9jp7y_125",
18
- "iconsWrapper": "_iconsWrapper_u9jp7y_143",
19
- "labelWrapper": "_labelWrapper_u9jp7y_168",
20
- "label": "_label_u9jp7y_168",
21
- "labelNotSelected": "_labelNotSelected_u9jp7y_218",
22
- "searchInput": "_searchInput_u9jp7y_231",
23
- "multi": "_multi_u9jp7y_271",
24
- "tagsContainer": "_tagsContainer_u9jp7y_291",
25
- "tag": "_tag_u9jp7y_291",
26
- "toggle": "_toggle_u9jp7y_313",
27
- "icon": "_icon_u9jp7y_143",
28
- "clearIcon": "_clearIcon_u9jp7y_380"
2
+ "themeLight": "_themeLight_v48skc_27",
3
+ "themeDark": "_themeDark_v48skc_30",
4
+ "sizeS": "_sizeS_v48skc_34",
5
+ "sizeM": "_sizeM_v48skc_37",
6
+ "sizeL": "_sizeL_v48skc_40",
7
+ "classic": "_classic_v48skc_44",
8
+ "rock": "_rock_v48skc_47",
9
+ "main": "_main_v48skc_51",
10
+ "open": "_open_v48skc_73",
11
+ "focused": "_focused_v48skc_77",
12
+ "searchFocused": "_searchFocused_v48skc_78",
13
+ "error": "_error_v48skc_80",
14
+ "searchKeyFocused": "_searchKeyFocused_v48skc_85",
15
+ "enabled": "_enabled_v48skc_89",
16
+ "disabled": "_disabled_v48skc_95",
17
+ "isMulti": "_isMulti_v48skc_125",
18
+ "iconsWrapper": "_iconsWrapper_v48skc_143",
19
+ "labelWrapper": "_labelWrapper_v48skc_168",
20
+ "label": "_label_v48skc_168",
21
+ "labelNotSelected": "_labelNotSelected_v48skc_218",
22
+ "searchInput": "_searchInput_v48skc_231",
23
+ "multi": "_multi_v48skc_271",
24
+ "tagsContainer": "_tagsContainer_v48skc_291",
25
+ "tag": "_tag_v48skc_291",
26
+ "toggle": "_toggle_v48skc_313",
27
+ "icon": "_icon_v48skc_143",
28
+ "clearIcon": "_clearIcon_v48skc_380"
29
29
  };
30
30
  export { styles as default };