@itcase/ui 1.1.11 → 1.1.14

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.
@@ -31,7 +31,7 @@ export interface ICellProps extends TypeStyleAttributes {
31
31
  titleTag?: ElementType;
32
32
  titleTextColor?: textColorPropsType;
33
33
  titleTextSize?: textSizePropsType;
34
- titleTextTruncate?: string;
34
+ titleTextTruncate?: boolean;
35
35
  titleTextWeight?: textWeightPropsType;
36
36
  titleTextWrap?: textWrapPropsType;
37
37
  value?: string;
@@ -53,17 +53,38 @@ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
53
53
  var Select__default = /*#__PURE__*/_interopDefault(Select$1);
54
54
  var clsx__default = /*#__PURE__*/_interopDefault(clsx);
55
55
 
56
- const SelectClearIndicator = props => {
56
+ // For use memo need to check "ClearIndicator" props
57
+ // const SelectClearIndicator = React.memo(
58
+ function SelectClearIndicator(props) {
59
+ const {
60
+ children
61
+ } = props;
57
62
  const {
58
63
  clearIcon,
59
64
  clearIconFill
60
65
  } = props.selectProps;
61
66
  return /*#__PURE__*/React__namespace.default.createElement(Select$1.components.ClearIndicator, props, clearIcon ? /*#__PURE__*/React__namespace.default.createElement(Icon.Icon, {
62
- SvgImage: clearIcon,
63
- iconFill: clearIconFill
64
- }) : props.children);
65
- };
67
+ iconFill: clearIconFill,
68
+ SvgImage: clearIcon
69
+ }) : children);
70
+ }
71
+ // ,
72
+ // function arePropsEqual(oldProps, newProps) {
73
+ // const oldClearIcon = oldProps.selectProps.clearIcon
74
+ // const oldClearIconFill = oldProps.selectProps.clearIconFill
75
+
76
+ // const newClearIcon = newProps.selectProps.clearIcon
77
+ // const newClearIconFill = newProps.selectProps.clearIconFill
78
+
79
+ // const isClearIconSame = oldClearIcon === newClearIcon
80
+ // const isClearIconFillSame = oldClearIconFill === newClearIconFill
81
+
82
+ // return isClearIconSame && isClearIconFillSame
83
+ // },
84
+ // )
85
+
66
86
  SelectClearIndicator.propTypes = {
87
+ children: PropTypes__default.default.any,
67
88
  selectProps: PropTypes__default.default.shape({
68
89
  clearIcon: PropTypes__default.default.string,
69
90
  clearIconFill: PropTypes__default.default.string
@@ -74,6 +95,13 @@ SelectClearIndicator.__docgenInfo = {
74
95
  "methods": [],
75
96
  "displayName": "SelectClearIndicator",
76
97
  "props": {
98
+ "children": {
99
+ "description": "",
100
+ "type": {
101
+ "name": "any"
102
+ },
103
+ "required": false
104
+ },
77
105
  "selectProps": {
78
106
  "description": "",
79
107
  "type": {
@@ -7390,7 +7418,12 @@ SelectControl.__docgenInfo = {
7390
7418
  }
7391
7419
  };
7392
7420
 
7393
- const SelectDropdownIndicator = props => {
7421
+ // For use memo need to check "DropdownIndicator" props
7422
+ // const SelectDropdownIndicator = React.memo(
7423
+ function SelectDropdownIndicator(props) {
7424
+ const {
7425
+ children
7426
+ } = props;
7394
7427
  const {
7395
7428
  dropdownFillHover,
7396
7429
  dropdownIcon,
@@ -7398,13 +7431,40 @@ const SelectDropdownIndicator = props => {
7398
7431
  dropdownIconShape
7399
7432
  } = props.selectProps;
7400
7433
  return /*#__PURE__*/React__namespace.default.createElement(Select$1.components.DropdownIndicator, props, dropdownIcon ? /*#__PURE__*/React__namespace.default.createElement(Icon.Icon, {
7401
- SvgImage: dropdownIcon,
7402
- iconFill: dropdownIconFill,
7403
7434
  fillHover: dropdownFillHover,
7404
- shape: dropdownIconShape
7405
- }) : props.children);
7406
- };
7435
+ iconFill: dropdownIconFill,
7436
+ shape: dropdownIconShape,
7437
+ SvgImage: dropdownIcon
7438
+ }) : children);
7439
+ }
7440
+ // ,
7441
+ // function arePropsEqual(oldProps, newProps) {
7442
+ // const oldDropdownFillHover = oldProps.selectProps.dropdownFillHover
7443
+ // const oldDropdownIcon = oldProps.selectProps.dropdownIcon
7444
+ // const oldDropdownIconFill = oldProps.selectProps.dropdownIconFill
7445
+ // const oldDropdownIconShape = oldProps.selectProps.dropdownIconShape
7446
+
7447
+ // const newDropdownFillHover = newProps.selectProps.dropdownFillHover
7448
+ // const newDropdownIcon = newProps.selectProps.dropdownIcon
7449
+ // const newDropdownIconFill = newProps.selectProps.dropdownIconFill
7450
+ // const newDropdownIconShape = newProps.selectProps.dropdownIconShape
7451
+
7452
+ // const isDropdownFillHoverSame = oldDropdownFillHover === newDropdownFillHover
7453
+ // const isDropdownIconSame = oldDropdownIcon === newDropdownIcon
7454
+ // const isDropdownIconFillSame = oldDropdownIconFill === newDropdownIconFill
7455
+ // const isDropdownIconShapeSame = oldDropdownIconShape === newDropdownIconShape
7456
+
7457
+ // return (
7458
+ // isDropdownFillHoverSame &&
7459
+ // isDropdownIconSame &&
7460
+ // isDropdownIconFillSame &&
7461
+ // isDropdownIconShapeSame
7462
+ // )
7463
+ // },
7464
+ // )
7465
+
7407
7466
  SelectDropdownIndicator.propTypes = {
7467
+ children: PropTypes__default.default.any,
7408
7468
  selectProps: PropTypes__default.default.shape({
7409
7469
  // "dropdownIcon" is SvgImage(file.svg)
7410
7470
  dropdownFillHover: PropTypes__default.default.string,
@@ -7418,6 +7478,13 @@ SelectDropdownIndicator.__docgenInfo = {
7418
7478
  "methods": [],
7419
7479
  "displayName": "SelectDropdownIndicator",
7420
7480
  "props": {
7481
+ "children": {
7482
+ "description": "",
7483
+ "type": {
7484
+ "name": "any"
7485
+ },
7486
+ "required": false
7487
+ },
7421
7488
  "selectProps": {
7422
7489
  "description": "",
7423
7490
  "type": {
@@ -7562,6 +7629,19 @@ SelectInput.__docgenInfo = {
7562
7629
  }
7563
7630
  };
7564
7631
 
7632
+ const SelectLoadingIndicator = props => {
7633
+ const {
7634
+ loadingIndicator
7635
+ } = props.selectProps;
7636
+ // Original indicator
7637
+ // <components.LoadingIndicator {...props}>
7638
+ // </components.LoadingIndicator>
7639
+ return loadingIndicator;
7640
+ };
7641
+ SelectLoadingIndicator.propTypes = {
7642
+ selectProps: PropTypes__default.default.shape({})
7643
+ };
7644
+
7565
7645
  const SelectMenu = props => {
7566
7646
  const {
7567
7647
  elevation,
@@ -7669,19 +7749,21 @@ SelectMultiValueRemove.__docgenInfo = {
7669
7749
 
7670
7750
  const SelectNoOptions = props => {
7671
7751
  const {
7752
+ inputValue,
7672
7753
  optionFill,
7673
7754
  optionBorder,
7674
7755
  optionBorderType,
7675
7756
  noOptionsTextSize,
7676
7757
  noOptionsTextColor,
7677
- noOptionsText
7758
+ noOptionsText,
7759
+ noOptionsSearchText
7678
7760
  } = props.selectProps;
7679
7761
  return /*#__PURE__*/React__namespace.default.createElement(Select$1.components.NoOptionsMessage, Object.assign({}, props, {
7680
7762
  className: clsx__default.default(optionFill, optionBorder, optionBorderType)
7681
7763
  }), /*#__PURE__*/React__namespace.default.createElement(Text.Text, {
7682
7764
  size: noOptionsTextSize,
7683
7765
  textColor: noOptionsTextColor
7684
- }, noOptionsText));
7766
+ }, inputValue && noOptionsSearchText ? noOptionsSearchText : noOptionsText));
7685
7767
  };
7686
7768
  SelectNoOptions.propTypes = {
7687
7769
  selectProps: PropTypes__default.default.shape({
@@ -8026,10 +8108,13 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8026
8108
  isClearable,
8027
8109
  isCreatable,
8028
8110
  isDisabled,
8111
+ isLoading,
8029
8112
  isMulti,
8030
8113
  isSearchable,
8114
+ loadingMessage,
8031
8115
  menuItemSize,
8032
8116
  noOptionsText,
8117
+ noOptionsSearchText,
8033
8118
  openMenuOnClick,
8034
8119
  options,
8035
8120
  optionBefore,
@@ -8042,10 +8127,17 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8042
8127
  set,
8043
8128
  showBadge,
8044
8129
  value,
8045
- onChange
8130
+ onChange,
8131
+ onInputChange
8046
8132
  } = props;
8047
8133
  const defaultRef = React.useRef(null);
8048
8134
  const selectRef = ref || defaultRef;
8135
+
8136
+ // React-select wai function as "loadingMessage" property
8137
+ const getLoadingMessage = React.useCallback(params => {
8138
+ // const { inputValue } = params
8139
+ return loadingMessage;
8140
+ }, [loadingMessage]);
8049
8141
  const borderColorClass = useDeviceTargetClass.useDeviceTargetClass(props, {
8050
8142
  prefix: 'border-color_',
8051
8143
  propsKey: 'borderColor'
@@ -8189,7 +8281,8 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8189
8281
  Placeholder: SelectPlaceholder,
8190
8282
  ValueContainer: SelectValueContainer,
8191
8283
  NoOptionsMessage: SelectNoOptions,
8192
- GroupHeading: SelectGroupHeading
8284
+ GroupHeading: SelectGroupHeading,
8285
+ LoadingIndicator: SelectLoadingIndicator
8193
8286
  },
8194
8287
  defaultValue: initialValue,
8195
8288
  dividerDirection: dividerDirection,
@@ -8219,8 +8312,10 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8219
8312
  inputTextSize: inputTextSizeClass || selectAppearanceItem.inputTextSize,
8220
8313
  isClearable: isClearable,
8221
8314
  isDisabled: isDisabled,
8315
+ isLoading: isLoading,
8222
8316
  isMulti: isMulti,
8223
8317
  isSearchable: isSearchable,
8318
+ loadingMessage: getLoadingMessage,
8224
8319
  menuAfter: menuAfter,
8225
8320
  menuBefore: menuBefore,
8226
8321
  menuItemSize: menuItemSize,
@@ -8233,6 +8328,7 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8233
8328
  noOptionBorder: optionBorderClass,
8234
8329
  noOptionBorderType: optionBorderTypeClass,
8235
8330
  noOptionsFill: optionFillClass,
8331
+ noOptionsSearchText: noOptionsSearchText,
8236
8332
  noOptionsText: noOptionsText || selectAppearanceItem.noOptionsText,
8237
8333
  noOptionsTextColor: noOptionsTextColorClass || selectAppearanceItem.noOptionsTextColor,
8238
8334
  noOptionsTextSize: noOptionsTextSizeClass || selectAppearanceItem.noOptionsTextSize,
@@ -8257,7 +8353,8 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
8257
8353
  showDivider: showDivider,
8258
8354
  styles: clearStyle,
8259
8355
  value: value,
8260
- onChange: onChange
8356
+ onChange: onChange,
8357
+ onInputChange: onInputChange
8261
8358
  });
8262
8359
  });
8263
8360
  SelectContainer.propTypes = {
@@ -47,7 +47,7 @@ export interface ITextProps extends ITextThemeColor, TypeStyleAttributes {
47
47
  textAlign?: textAlignPropsType;
48
48
  textColor?: textColorPropsType;
49
49
  textStyle?: textStylePropsType;
50
- textTruncate?: string;
50
+ textTruncate?: boolean;
51
51
  textWeight?: textWeightPropsType;
52
52
  textWrap?: textWrapPropsType;
53
53
  width?: widthPropsType;
@@ -31,7 +31,7 @@ export interface ICellProps extends TypeStyleAttributes {
31
31
  titleTag?: ElementType;
32
32
  titleTextColor?: textColorPropsType;
33
33
  titleTextSize?: textSizePropsType;
34
- titleTextTruncate?: string;
34
+ titleTextTruncate?: boolean;
35
35
  titleTextWeight?: textWeightPropsType;
36
36
  titleTextWrap?: textWrapPropsType;
37
37
  value?: string;
@@ -27,17 +27,38 @@ import '../Tooltip-CcwyN7PD.js';
27
27
  import '../Title-BUN57fWw.js';
28
28
  import 'lodash/castArray';
29
29
 
30
- const SelectClearIndicator = props => {
30
+ // For use memo need to check "ClearIndicator" props
31
+ // const SelectClearIndicator = React.memo(
32
+ function SelectClearIndicator(props) {
33
+ const {
34
+ children
35
+ } = props;
31
36
  const {
32
37
  clearIcon,
33
38
  clearIconFill
34
39
  } = props.selectProps;
35
40
  return /*#__PURE__*/React__default.createElement(components$1.ClearIndicator, props, clearIcon ? /*#__PURE__*/React__default.createElement(Icon, {
36
- SvgImage: clearIcon,
37
- iconFill: clearIconFill
38
- }) : props.children);
39
- };
41
+ iconFill: clearIconFill,
42
+ SvgImage: clearIcon
43
+ }) : children);
44
+ }
45
+ // ,
46
+ // function arePropsEqual(oldProps, newProps) {
47
+ // const oldClearIcon = oldProps.selectProps.clearIcon
48
+ // const oldClearIconFill = oldProps.selectProps.clearIconFill
49
+
50
+ // const newClearIcon = newProps.selectProps.clearIcon
51
+ // const newClearIconFill = newProps.selectProps.clearIconFill
52
+
53
+ // const isClearIconSame = oldClearIcon === newClearIcon
54
+ // const isClearIconFillSame = oldClearIconFill === newClearIconFill
55
+
56
+ // return isClearIconSame && isClearIconFillSame
57
+ // },
58
+ // )
59
+
40
60
  SelectClearIndicator.propTypes = {
61
+ children: PropTypes.any,
41
62
  selectProps: PropTypes.shape({
42
63
  clearIcon: PropTypes.string,
43
64
  clearIconFill: PropTypes.string
@@ -48,6 +69,13 @@ SelectClearIndicator.__docgenInfo = {
48
69
  "methods": [],
49
70
  "displayName": "SelectClearIndicator",
50
71
  "props": {
72
+ "children": {
73
+ "description": "",
74
+ "type": {
75
+ "name": "any"
76
+ },
77
+ "required": false
78
+ },
51
79
  "selectProps": {
52
80
  "description": "",
53
81
  "type": {
@@ -7364,7 +7392,12 @@ SelectControl.__docgenInfo = {
7364
7392
  }
7365
7393
  };
7366
7394
 
7367
- const SelectDropdownIndicator = props => {
7395
+ // For use memo need to check "DropdownIndicator" props
7396
+ // const SelectDropdownIndicator = React.memo(
7397
+ function SelectDropdownIndicator(props) {
7398
+ const {
7399
+ children
7400
+ } = props;
7368
7401
  const {
7369
7402
  dropdownFillHover,
7370
7403
  dropdownIcon,
@@ -7372,13 +7405,40 @@ const SelectDropdownIndicator = props => {
7372
7405
  dropdownIconShape
7373
7406
  } = props.selectProps;
7374
7407
  return /*#__PURE__*/React__default.createElement(components$1.DropdownIndicator, props, dropdownIcon ? /*#__PURE__*/React__default.createElement(Icon, {
7375
- SvgImage: dropdownIcon,
7376
- iconFill: dropdownIconFill,
7377
7408
  fillHover: dropdownFillHover,
7378
- shape: dropdownIconShape
7379
- }) : props.children);
7380
- };
7409
+ iconFill: dropdownIconFill,
7410
+ shape: dropdownIconShape,
7411
+ SvgImage: dropdownIcon
7412
+ }) : children);
7413
+ }
7414
+ // ,
7415
+ // function arePropsEqual(oldProps, newProps) {
7416
+ // const oldDropdownFillHover = oldProps.selectProps.dropdownFillHover
7417
+ // const oldDropdownIcon = oldProps.selectProps.dropdownIcon
7418
+ // const oldDropdownIconFill = oldProps.selectProps.dropdownIconFill
7419
+ // const oldDropdownIconShape = oldProps.selectProps.dropdownIconShape
7420
+
7421
+ // const newDropdownFillHover = newProps.selectProps.dropdownFillHover
7422
+ // const newDropdownIcon = newProps.selectProps.dropdownIcon
7423
+ // const newDropdownIconFill = newProps.selectProps.dropdownIconFill
7424
+ // const newDropdownIconShape = newProps.selectProps.dropdownIconShape
7425
+
7426
+ // const isDropdownFillHoverSame = oldDropdownFillHover === newDropdownFillHover
7427
+ // const isDropdownIconSame = oldDropdownIcon === newDropdownIcon
7428
+ // const isDropdownIconFillSame = oldDropdownIconFill === newDropdownIconFill
7429
+ // const isDropdownIconShapeSame = oldDropdownIconShape === newDropdownIconShape
7430
+
7431
+ // return (
7432
+ // isDropdownFillHoverSame &&
7433
+ // isDropdownIconSame &&
7434
+ // isDropdownIconFillSame &&
7435
+ // isDropdownIconShapeSame
7436
+ // )
7437
+ // },
7438
+ // )
7439
+
7381
7440
  SelectDropdownIndicator.propTypes = {
7441
+ children: PropTypes.any,
7382
7442
  selectProps: PropTypes.shape({
7383
7443
  // "dropdownIcon" is SvgImage(file.svg)
7384
7444
  dropdownFillHover: PropTypes.string,
@@ -7392,6 +7452,13 @@ SelectDropdownIndicator.__docgenInfo = {
7392
7452
  "methods": [],
7393
7453
  "displayName": "SelectDropdownIndicator",
7394
7454
  "props": {
7455
+ "children": {
7456
+ "description": "",
7457
+ "type": {
7458
+ "name": "any"
7459
+ },
7460
+ "required": false
7461
+ },
7395
7462
  "selectProps": {
7396
7463
  "description": "",
7397
7464
  "type": {
@@ -7536,6 +7603,19 @@ SelectInput.__docgenInfo = {
7536
7603
  }
7537
7604
  };
7538
7605
 
7606
+ const SelectLoadingIndicator = props => {
7607
+ const {
7608
+ loadingIndicator
7609
+ } = props.selectProps;
7610
+ // Original indicator
7611
+ // <components.LoadingIndicator {...props}>
7612
+ // </components.LoadingIndicator>
7613
+ return loadingIndicator;
7614
+ };
7615
+ SelectLoadingIndicator.propTypes = {
7616
+ selectProps: PropTypes.shape({})
7617
+ };
7618
+
7539
7619
  const SelectMenu = props => {
7540
7620
  const {
7541
7621
  elevation,
@@ -7643,19 +7723,21 @@ SelectMultiValueRemove.__docgenInfo = {
7643
7723
 
7644
7724
  const SelectNoOptions = props => {
7645
7725
  const {
7726
+ inputValue,
7646
7727
  optionFill,
7647
7728
  optionBorder,
7648
7729
  optionBorderType,
7649
7730
  noOptionsTextSize,
7650
7731
  noOptionsTextColor,
7651
- noOptionsText
7732
+ noOptionsText,
7733
+ noOptionsSearchText
7652
7734
  } = props.selectProps;
7653
7735
  return /*#__PURE__*/React__default.createElement(components$1.NoOptionsMessage, Object.assign({}, props, {
7654
7736
  className: clsx(optionFill, optionBorder, optionBorderType)
7655
7737
  }), /*#__PURE__*/React__default.createElement(Text, {
7656
7738
  size: noOptionsTextSize,
7657
7739
  textColor: noOptionsTextColor
7658
- }, noOptionsText));
7740
+ }, inputValue && noOptionsSearchText ? noOptionsSearchText : noOptionsText));
7659
7741
  };
7660
7742
  SelectNoOptions.propTypes = {
7661
7743
  selectProps: PropTypes.shape({
@@ -8000,10 +8082,13 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
8000
8082
  isClearable,
8001
8083
  isCreatable,
8002
8084
  isDisabled,
8085
+ isLoading,
8003
8086
  isMulti,
8004
8087
  isSearchable,
8088
+ loadingMessage,
8005
8089
  menuItemSize,
8006
8090
  noOptionsText,
8091
+ noOptionsSearchText,
8007
8092
  openMenuOnClick,
8008
8093
  options,
8009
8094
  optionBefore,
@@ -8016,10 +8101,17 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
8016
8101
  set,
8017
8102
  showBadge,
8018
8103
  value,
8019
- onChange
8104
+ onChange,
8105
+ onInputChange
8020
8106
  } = props;
8021
8107
  const defaultRef = useRef(null);
8022
8108
  const selectRef = ref || defaultRef;
8109
+
8110
+ // React-select wai function as "loadingMessage" property
8111
+ const getLoadingMessage = useCallback(params => {
8112
+ // const { inputValue } = params
8113
+ return loadingMessage;
8114
+ }, [loadingMessage]);
8023
8115
  const borderColorClass = useDeviceTargetClass(props, {
8024
8116
  prefix: 'border-color_',
8025
8117
  propsKey: 'borderColor'
@@ -8163,7 +8255,8 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
8163
8255
  Placeholder: SelectPlaceholder,
8164
8256
  ValueContainer: SelectValueContainer,
8165
8257
  NoOptionsMessage: SelectNoOptions,
8166
- GroupHeading: SelectGroupHeading
8258
+ GroupHeading: SelectGroupHeading,
8259
+ LoadingIndicator: SelectLoadingIndicator
8167
8260
  },
8168
8261
  defaultValue: initialValue,
8169
8262
  dividerDirection: dividerDirection,
@@ -8193,8 +8286,10 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
8193
8286
  inputTextSize: inputTextSizeClass || selectAppearanceItem.inputTextSize,
8194
8287
  isClearable: isClearable,
8195
8288
  isDisabled: isDisabled,
8289
+ isLoading: isLoading,
8196
8290
  isMulti: isMulti,
8197
8291
  isSearchable: isSearchable,
8292
+ loadingMessage: getLoadingMessage,
8198
8293
  menuAfter: menuAfter,
8199
8294
  menuBefore: menuBefore,
8200
8295
  menuItemSize: menuItemSize,
@@ -8207,6 +8302,7 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
8207
8302
  noOptionBorder: optionBorderClass,
8208
8303
  noOptionBorderType: optionBorderTypeClass,
8209
8304
  noOptionsFill: optionFillClass,
8305
+ noOptionsSearchText: noOptionsSearchText,
8210
8306
  noOptionsText: noOptionsText || selectAppearanceItem.noOptionsText,
8211
8307
  noOptionsTextColor: noOptionsTextColorClass || selectAppearanceItem.noOptionsTextColor,
8212
8308
  noOptionsTextSize: noOptionsTextSizeClass || selectAppearanceItem.noOptionsTextSize,
@@ -8231,7 +8327,8 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
8231
8327
  showDivider: showDivider,
8232
8328
  styles: clearStyle,
8233
8329
  value: value,
8234
- onChange: onChange
8330
+ onChange: onChange,
8331
+ onInputChange: onInputChange
8235
8332
  });
8236
8333
  });
8237
8334
  SelectContainer.propTypes = {
@@ -47,7 +47,7 @@ export interface ITextProps extends ITextThemeColor, TypeStyleAttributes {
47
47
  textAlign?: textAlignPropsType;
48
48
  textColor?: textColorPropsType;
49
49
  textStyle?: textStylePropsType;
50
- textTruncate?: string;
50
+ textTruncate?: boolean;
51
51
  textWeight?: textWeightPropsType;
52
52
  textWrap?: textWrapPropsType;
53
53
  width?: widthPropsType;
@@ -57,14 +57,14 @@
57
57
  }
58
58
  .dropdown {
59
59
  &_state_close {
60
- opacity: 0;
61
60
  visibility: hidden;
61
+ opacity: 0%;
62
62
  }
63
63
  }
64
64
  .dropdown {
65
65
  &&_state_open {
66
- opacity: 1;
67
66
  visibility: visible;
67
+ opacity: 100%;
68
68
  }
69
69
  }
70
70
  .dropdown {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.1.11",
3
+ "version": "1.1.14",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",