@true-engineering/true-react-common-ui-kit 4.0.0-alpha38 → 4.0.0-alpha39
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.
- package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.d.ts +2 -1
- package/dist/true-react-common-ui-kit.js +3 -2
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +3 -2
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +4 -3
- package/src/components/FiltersPane/FiltersPane.stories.tsx +4 -0
- package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.tsx +3 -0
|
@@ -16,5 +16,6 @@ export interface IFiltersPaneSearchProps<Value> extends ICommonProps<IFiltersPan
|
|
|
16
16
|
hasClearSelectButton?: boolean;
|
|
17
17
|
isDisabled?: boolean;
|
|
18
18
|
isSelectSearchEnabled?: boolean;
|
|
19
|
+
isAutoSized?: boolean;
|
|
19
20
|
}
|
|
20
|
-
export declare function FiltersPaneSearch<Value>({ value, fields, field, onChange, localeKey, locale, getValueId, getValueView, getValueString, hasClearSelectButton, isDisabled, isSelectSearchEnabled, maxLength, data, tweakStyles, testId, }: IFiltersPaneSearchProps<Value>): JSX.Element;
|
|
21
|
+
export declare function FiltersPaneSearch<Value>({ value, fields, field, onChange, localeKey, locale, getValueId, getValueView, getValueString, hasClearSelectButton, isDisabled, isSelectSearchEnabled, isAutoSized, maxLength, data, tweakStyles, testId, }: IFiltersPaneSearchProps<Value>): JSX.Element;
|
|
@@ -18337,7 +18337,7 @@ function _unsupported_iterable_to_array$8(o, minLen) {
|
|
|
18337
18337
|
return _array_like_to_array$8(o, minLen);
|
|
18338
18338
|
}
|
|
18339
18339
|
function FiltersPaneSearch(param) {
|
|
18340
|
-
var value = param.value, _param_fields = param.fields, fields = _param_fields === void 0 ? [] : _param_fields, field = param.field, onChange = param.onChange, localeKey = param.localeKey, locale = param.locale, getValueId = param.getValueId, getValueView = param.getValueView, getValueString = param.getValueString, hasClearSelectButton = param.hasClearSelectButton, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isSelectSearchEnabled = param.isSelectSearchEnabled, isSelectSearchEnabled = _param_isSelectSearchEnabled === void 0 ? true : _param_isSelectSearchEnabled, maxLength = param.maxLength, data = param.data, tweakStyles = param.tweakStyles, testId = param.testId;
|
|
18340
|
+
var value = param.value, _param_fields = param.fields, fields = _param_fields === void 0 ? [] : _param_fields, field = param.field, onChange = param.onChange, localeKey = param.localeKey, locale = param.locale, getValueId = param.getValueId, getValueView = param.getValueView, getValueString = param.getValueString, hasClearSelectButton = param.hasClearSelectButton, _param_isDisabled = param.isDisabled, isDisabled = _param_isDisabled === void 0 ? false : _param_isDisabled, _param_isSelectSearchEnabled = param.isSelectSearchEnabled, isSelectSearchEnabled = _param_isSelectSearchEnabled === void 0 ? true : _param_isSelectSearchEnabled, _param_isAutoSized = param.isAutoSized, isAutoSized = _param_isAutoSized === void 0 ? false : _param_isAutoSized, maxLength = param.maxLength, data = param.data, tweakStyles = param.tweakStyles, testId = param.testId;
|
|
18341
18341
|
var classes = useStyles$q({
|
|
18342
18342
|
theme: tweakStyles
|
|
18343
18343
|
});
|
|
@@ -18397,7 +18397,8 @@ function FiltersPaneSearch(param) {
|
|
|
18397
18397
|
},
|
|
18398
18398
|
testId: getTestId(testId, "input"),
|
|
18399
18399
|
maxLength,
|
|
18400
|
-
isDisabled
|
|
18400
|
+
isDisabled,
|
|
18401
|
+
isAutoSized
|
|
18401
18402
|
}),
|
|
18402
18403
|
/* @__PURE__ */ jsxs("div", {
|
|
18403
18404
|
className: classes.selectWrapper,
|