@rescui/select 0.12.5 → 0.13.1-RUI-270-Update-select-options-label-types-b99bd91c.3

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
- "icon": "_icon_hncml0_4",
3
- "sizeXS": "_sizeXS_hncml0_14",
4
- "sizeS": "_sizeS_hncml0_18",
5
- "sizeM": "_sizeM_hncml0_22",
6
- "sizeL": "_sizeL_hncml0_26",
7
- "light": "_light_hncml0_30",
8
- "dark": "_dark_hncml0_34",
9
- "allVariants": "_allVariants_hncml0_48",
10
- "variant16": "_variant16_hncml0_53",
11
- "variant20": "_variant20_hncml0_54",
12
- "variant24": "_variant24_hncml0_55",
13
- "variant28": "_variant28_hncml0_58"
2
+ "icon": "_icon_rvlot9_4",
3
+ "sizeXS": "_sizeXS_rvlot9_14",
4
+ "sizeS": "_sizeS_rvlot9_18",
5
+ "sizeM": "_sizeM_rvlot9_22",
6
+ "sizeL": "_sizeL_rvlot9_26",
7
+ "light": "_light_rvlot9_30",
8
+ "dark": "_dark_rvlot9_34",
9
+ "allVariants": "_allVariants_rvlot9_48",
10
+ "variant16": "_variant16_rvlot9_53",
11
+ "variant20": "_variant20_rvlot9_54",
12
+ "variant24": "_variant24_rvlot9_55",
13
+ "variant28": "_variant28_rvlot9_58"
14
14
  };
15
15
  export { styles as default };
@@ -1,12 +1,12 @@
1
1
  import PropTypes from 'prop-types';
2
2
  export declare const optionType: PropTypes.Requireable<PropTypes.InferProps<{
3
- label: PropTypes.Validator<string>;
3
+ label: PropTypes.Validator<PropTypes.ReactNodeLike>;
4
4
  value: PropTypes.Requireable<string>;
5
5
  }>>;
6
6
  export declare const optionsGroupType: PropTypes.Requireable<PropTypes.InferProps<{
7
- label: PropTypes.Requireable<string>;
7
+ label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
8
8
  options: PropTypes.Requireable<PropTypes.InferProps<{
9
- label: PropTypes.Validator<string>;
9
+ label: PropTypes.Validator<PropTypes.ReactNodeLike>;
10
10
  value: PropTypes.Requireable<string>;
11
11
  }>[]>;
12
12
  }>>;
@@ -19,7 +19,7 @@ export declare const nativeOptionsGroupType: PropTypes.Requireable<PropTypes.Inf
19
19
  label: PropTypes.Requireable<string>;
20
20
  disabled: PropTypes.Requireable<boolean>;
21
21
  options: PropTypes.Requireable<PropTypes.InferProps<{
22
- label: PropTypes.Validator<string>;
22
+ label: PropTypes.Validator<PropTypes.ReactNodeLike>;
23
23
  value: PropTypes.Requireable<string>;
24
24
  }>[]>;
25
25
  }>>;
@@ -1,10 +1,10 @@
1
1
  import PropTypes from 'prop-types';
2
2
  const optionType = PropTypes.shape({
3
- label: PropTypes.string.isRequired,
3
+ label: PropTypes.node.isRequired,
4
4
  value: PropTypes.string
5
5
  });
6
6
  const optionsGroupType = PropTypes.shape({
7
- label: PropTypes.string,
7
+ label: PropTypes.node,
8
8
  options: PropTypes.arrayOf(optionType)
9
9
  });
10
10
  const nativeOptionType = PropTypes.shape({