@true-engineering/true-react-common-ui-kit 1.8.1 → 1.9.0
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/helpers/utils.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +793 -54
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +765 -25
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +3 -3
- package/src/components/Button/Button.tsx +1 -1
- package/src/components/FiltersPane/FilterSelect/locales.ts +1 -1
- package/src/components/FiltersPane/locales.ts +1 -1
- package/src/components/MultiSelectList/locales.ts +1 -1
- package/src/components/Select/Select.tsx +3 -3
- package/src/helpers/utils.ts +4 -2
- package/src/hooks/use-theme.ts +1 -1
- package/src/hooks/use-tweak-styles.ts +1 -1
package/dist/helpers/utils.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { IDataAttributes } from '../types';
|
|
|
2
2
|
import { HTMLAttributes, KeyboardEvent, MouseEvent } from 'react';
|
|
3
3
|
export declare const transformToKebab: (string: string) => string;
|
|
4
4
|
export declare const hasExactParent: (element: Element, parent: Element) => boolean;
|
|
5
|
-
export declare const getParentNode: (element: Element | ShadowRoot) => Element;
|
|
5
|
+
export declare const getParentNode: (element: Element | ShadowRoot | Document) => Element;
|
|
6
6
|
export declare const getStyleComputedProperty: (element: Element) => Partial<CSSStyleDeclaration>;
|
|
7
7
|
export declare const getScrollParent: (element: Element | Document) => Element;
|
|
8
8
|
export declare const isElementOffScreen: (element: HTMLElement, input?: HTMLElement) => boolean;
|