@oliasoft-open-source/react-ui-library 5.10.0 → 5.11.1-beta-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/README.md +1 -0
- package/dist/global.css +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +372 -250
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -82,6 +82,8 @@ export declare const CheckBox: ({ noMargin, dataix, isInTable, tabIndex, checked
|
|
|
82
82
|
|
|
83
83
|
export declare const Chevron: ({ expanded }: IChevronProps) => JSX_2.Element;
|
|
84
84
|
|
|
85
|
+
export declare const Collapse: ({ children, expanded }: ICollapseProps) => JSX_2.Element;
|
|
86
|
+
|
|
85
87
|
export declare enum Color {
|
|
86
88
|
DANGER = "danger",
|
|
87
89
|
RED = "red",
|
|
@@ -323,6 +325,11 @@ export declare interface IChevronProps {
|
|
|
323
325
|
expanded: boolean;
|
|
324
326
|
}
|
|
325
327
|
|
|
328
|
+
export declare interface ICollapseProps {
|
|
329
|
+
children: default_2.ReactNode;
|
|
330
|
+
expanded: boolean;
|
|
331
|
+
}
|
|
332
|
+
|
|
326
333
|
/**
|
|
327
334
|
* Icon wrapper component to support different icon formats:
|
|
328
335
|
* - string names (default recommendation)
|
|
@@ -1752,6 +1759,7 @@ export declare interface ITreeProps {
|
|
|
1752
1759
|
onChangeOpen?: (id: TStringOrNumber[]) => void;
|
|
1753
1760
|
testId?: string;
|
|
1754
1761
|
isInitialOpen?: boolean | Array<string> | Array<number>;
|
|
1762
|
+
autoOpenActiveItems?: boolean;
|
|
1755
1763
|
treeRef?: RefObject<any>;
|
|
1756
1764
|
itemHasChild?: (node: NodeModel<any>) => boolean;
|
|
1757
1765
|
onItemToggle?: (node: NodeModel<any>, isOpen: boolean) => void;
|
|
@@ -2156,7 +2164,7 @@ declare const TRANSLATION_FALLBACK: {
|
|
|
2156
2164
|
unknown: string;
|
|
2157
2165
|
};
|
|
2158
2166
|
|
|
2159
|
-
export declare const Tree: ({ list, draggable, onListReorder, onChangeOpen, testId, isInitialOpen, treeRef, itemHasChild, onItemToggle, icons, allowParentReassignment, stickyHeader, height, }: ITreeProps) => JSX_2.Element;
|
|
2167
|
+
export declare const Tree: ({ list, draggable, onListReorder, onChangeOpen, testId, isInitialOpen, autoOpenActiveItems, treeRef: treeRefProp, itemHasChild, onItemToggle, icons, allowParentReassignment, stickyHeader, height, }: ITreeProps) => JSX_2.Element;
|
|
2160
2168
|
|
|
2161
2169
|
export declare enum TriggerType {
|
|
2162
2170
|
TEXT = "Text",
|