@itcase/ui 1.1.13 → 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.
|
@@ -7749,19 +7749,21 @@ SelectMultiValueRemove.__docgenInfo = {
|
|
|
7749
7749
|
|
|
7750
7750
|
const SelectNoOptions = props => {
|
|
7751
7751
|
const {
|
|
7752
|
+
inputValue,
|
|
7752
7753
|
optionFill,
|
|
7753
7754
|
optionBorder,
|
|
7754
7755
|
optionBorderType,
|
|
7755
7756
|
noOptionsTextSize,
|
|
7756
7757
|
noOptionsTextColor,
|
|
7757
|
-
noOptionsText
|
|
7758
|
+
noOptionsText,
|
|
7759
|
+
noOptionsSearchText
|
|
7758
7760
|
} = props.selectProps;
|
|
7759
7761
|
return /*#__PURE__*/React__namespace.default.createElement(Select$1.components.NoOptionsMessage, Object.assign({}, props, {
|
|
7760
7762
|
className: clsx__default.default(optionFill, optionBorder, optionBorderType)
|
|
7761
7763
|
}), /*#__PURE__*/React__namespace.default.createElement(Text.Text, {
|
|
7762
7764
|
size: noOptionsTextSize,
|
|
7763
7765
|
textColor: noOptionsTextColor
|
|
7764
|
-
}, noOptionsText));
|
|
7766
|
+
}, inputValue && noOptionsSearchText ? noOptionsSearchText : noOptionsText));
|
|
7765
7767
|
};
|
|
7766
7768
|
SelectNoOptions.propTypes = {
|
|
7767
7769
|
selectProps: PropTypes__default.default.shape({
|
|
@@ -8112,6 +8114,7 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
|
|
|
8112
8114
|
loadingMessage,
|
|
8113
8115
|
menuItemSize,
|
|
8114
8116
|
noOptionsText,
|
|
8117
|
+
noOptionsSearchText,
|
|
8115
8118
|
openMenuOnClick,
|
|
8116
8119
|
options,
|
|
8117
8120
|
optionBefore,
|
|
@@ -8124,7 +8127,8 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
|
|
|
8124
8127
|
set,
|
|
8125
8128
|
showBadge,
|
|
8126
8129
|
value,
|
|
8127
|
-
onChange
|
|
8130
|
+
onChange,
|
|
8131
|
+
onInputChange
|
|
8128
8132
|
} = props;
|
|
8129
8133
|
const defaultRef = React.useRef(null);
|
|
8130
8134
|
const selectRef = ref || defaultRef;
|
|
@@ -8324,6 +8328,7 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
|
|
|
8324
8328
|
noOptionBorder: optionBorderClass,
|
|
8325
8329
|
noOptionBorderType: optionBorderTypeClass,
|
|
8326
8330
|
noOptionsFill: optionFillClass,
|
|
8331
|
+
noOptionsSearchText: noOptionsSearchText,
|
|
8327
8332
|
noOptionsText: noOptionsText || selectAppearanceItem.noOptionsText,
|
|
8328
8333
|
noOptionsTextColor: noOptionsTextColorClass || selectAppearanceItem.noOptionsTextColor,
|
|
8329
8334
|
noOptionsTextSize: noOptionsTextSizeClass || selectAppearanceItem.noOptionsTextSize,
|
|
@@ -8348,7 +8353,8 @@ const SelectContainer = /*#__PURE__*/React__namespace.default.forwardRef(functio
|
|
|
8348
8353
|
showDivider: showDivider,
|
|
8349
8354
|
styles: clearStyle,
|
|
8350
8355
|
value: value,
|
|
8351
|
-
onChange: onChange
|
|
8356
|
+
onChange: onChange,
|
|
8357
|
+
onInputChange: onInputChange
|
|
8352
8358
|
});
|
|
8353
8359
|
});
|
|
8354
8360
|
SelectContainer.propTypes = {
|
|
@@ -7723,19 +7723,21 @@ SelectMultiValueRemove.__docgenInfo = {
|
|
|
7723
7723
|
|
|
7724
7724
|
const SelectNoOptions = props => {
|
|
7725
7725
|
const {
|
|
7726
|
+
inputValue,
|
|
7726
7727
|
optionFill,
|
|
7727
7728
|
optionBorder,
|
|
7728
7729
|
optionBorderType,
|
|
7729
7730
|
noOptionsTextSize,
|
|
7730
7731
|
noOptionsTextColor,
|
|
7731
|
-
noOptionsText
|
|
7732
|
+
noOptionsText,
|
|
7733
|
+
noOptionsSearchText
|
|
7732
7734
|
} = props.selectProps;
|
|
7733
7735
|
return /*#__PURE__*/React__default.createElement(components$1.NoOptionsMessage, Object.assign({}, props, {
|
|
7734
7736
|
className: clsx(optionFill, optionBorder, optionBorderType)
|
|
7735
7737
|
}), /*#__PURE__*/React__default.createElement(Text, {
|
|
7736
7738
|
size: noOptionsTextSize,
|
|
7737
7739
|
textColor: noOptionsTextColor
|
|
7738
|
-
}, noOptionsText));
|
|
7740
|
+
}, inputValue && noOptionsSearchText ? noOptionsSearchText : noOptionsText));
|
|
7739
7741
|
};
|
|
7740
7742
|
SelectNoOptions.propTypes = {
|
|
7741
7743
|
selectProps: PropTypes.shape({
|
|
@@ -8086,6 +8088,7 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
|
|
|
8086
8088
|
loadingMessage,
|
|
8087
8089
|
menuItemSize,
|
|
8088
8090
|
noOptionsText,
|
|
8091
|
+
noOptionsSearchText,
|
|
8089
8092
|
openMenuOnClick,
|
|
8090
8093
|
options,
|
|
8091
8094
|
optionBefore,
|
|
@@ -8098,7 +8101,8 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
|
|
|
8098
8101
|
set,
|
|
8099
8102
|
showBadge,
|
|
8100
8103
|
value,
|
|
8101
|
-
onChange
|
|
8104
|
+
onChange,
|
|
8105
|
+
onInputChange
|
|
8102
8106
|
} = props;
|
|
8103
8107
|
const defaultRef = useRef(null);
|
|
8104
8108
|
const selectRef = ref || defaultRef;
|
|
@@ -8298,6 +8302,7 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
|
|
|
8298
8302
|
noOptionBorder: optionBorderClass,
|
|
8299
8303
|
noOptionBorderType: optionBorderTypeClass,
|
|
8300
8304
|
noOptionsFill: optionFillClass,
|
|
8305
|
+
noOptionsSearchText: noOptionsSearchText,
|
|
8301
8306
|
noOptionsText: noOptionsText || selectAppearanceItem.noOptionsText,
|
|
8302
8307
|
noOptionsTextColor: noOptionsTextColorClass || selectAppearanceItem.noOptionsTextColor,
|
|
8303
8308
|
noOptionsTextSize: noOptionsTextSizeClass || selectAppearanceItem.noOptionsTextSize,
|
|
@@ -8322,7 +8327,8 @@ const SelectContainer = /*#__PURE__*/React__default.forwardRef(function SelectCo
|
|
|
8322
8327
|
showDivider: showDivider,
|
|
8323
8328
|
styles: clearStyle,
|
|
8324
8329
|
value: value,
|
|
8325
|
-
onChange: onChange
|
|
8330
|
+
onChange: onChange,
|
|
8331
|
+
onInputChange: onInputChange
|
|
8326
8332
|
});
|
|
8327
8333
|
});
|
|
8328
8334
|
SelectContainer.propTypes = {
|