@true-engineering/true-react-common-ui-kit 1.5.0 → 1.5.1
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/FilterMultiSelect/FilterMultiSelect.d.ts +1 -0
- package/dist/components/FiltersPane/FilterValueView/FilterValueView.d.ts +1 -0
- package/dist/components/FiltersPane/FiltersPane.d.ts +1 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts +1 -0
- package/dist/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +5 -1
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +5 -1
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Select/Select.tsx +8 -1
- package/src/types.ts +106 -106
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { IFilterWrapperProps } from '../FilterWrapper';
|
|
2
3
|
export declare function FilterValueView<Values, Key extends keyof Values>({ locale, localeKey, filter, value, }: Omit<IFilterWrapperProps<Values, Key>, 'onChange' | 'filtersPaneRef'>): JSX.Element;
|
|
@@ -171,7 +171,7 @@ export declare class ScrollIntoViewIfNeeded extends PureComponent<IScrollIntoVie
|
|
|
171
171
|
'aria-colindex'?: number | undefined;
|
|
172
172
|
'aria-colspan'?: number | undefined;
|
|
173
173
|
'aria-controls'?: string | undefined;
|
|
174
|
-
'aria-current'?: boolean | "
|
|
174
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "date" | "step" | "location" | undefined;
|
|
175
175
|
'aria-describedby'?: string | undefined;
|
|
176
176
|
'aria-details'?: string | undefined;
|
|
177
177
|
'aria-disabled'?: (boolean | "false" | "true") | undefined;
|
|
@@ -7711,6 +7711,10 @@ function Select(_param) {
|
|
|
7711
7711
|
handleListOpen();
|
|
7712
7712
|
};
|
|
7713
7713
|
var handleBlur = function(event) {
|
|
7714
|
+
if (isListOpen && !isOpen) {
|
|
7715
|
+
handleListClose(event);
|
|
7716
|
+
return;
|
|
7717
|
+
}
|
|
7714
7718
|
if (!isNotEmpty(event.relatedTarget) || !isNotEmpty(list.current)) {
|
|
7715
7719
|
return;
|
|
7716
7720
|
}
|
|
@@ -7955,7 +7959,7 @@ function Select(_param) {
|
|
|
7955
7959
|
event.preventDefault();
|
|
7956
7960
|
},
|
|
7957
7961
|
onClick: onArrowClick,
|
|
7958
|
-
className: clsx(classes.arrow,
|
|
7962
|
+
className: clsx(classes.arrow, isOpen && classes.activeArrow),
|
|
7959
7963
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
7960
7964
|
type: dropdownIcon
|
|
7961
7965
|
})
|