@oliasoft-open-source/react-ui-library 4.20.3 → 4.20.4-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/dist/index.d.ts +2 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1566,6 +1566,7 @@ export declare interface ITreeProps {
|
|
|
1566
1566
|
collapse: default_2.ReactNode;
|
|
1567
1567
|
};
|
|
1568
1568
|
allowParentReassignment?: boolean;
|
|
1569
|
+
stickyHeader?: boolean;
|
|
1569
1570
|
}
|
|
1570
1571
|
|
|
1571
1572
|
declare interface IUnitConfigItem {
|
|
@@ -1872,7 +1873,7 @@ export declare const Tooltip: ({ children, text, error, placement, possiblePlace
|
|
|
1872
1873
|
|
|
1873
1874
|
export declare const TopBar: ({ title, appSwitcher, content, contentRight, warning, height, fixedPosition, }: ITopBarProps) => JSX_2.Element;
|
|
1874
1875
|
|
|
1875
|
-
export declare const Tree: ({ list, draggable, onListReorder, onChangeOpen, testId, isInitialOpen, treeRef, itemHasChild, onItemToggle, icons, allowParentReassignment, }: ITreeProps) => JSX_2.Element;
|
|
1876
|
+
export declare const Tree: ({ list, draggable, onListReorder, onChangeOpen, testId, isInitialOpen, treeRef, itemHasChild, onItemToggle, icons, allowParentReassignment, stickyHeader, }: ITreeProps) => JSX_2.Element;
|
|
1876
1877
|
|
|
1877
1878
|
export declare enum TriggerType {
|
|
1878
1879
|
TEXT = "Text",
|
package/dist/index.js
CHANGED
|
@@ -66104,7 +66104,8 @@ const Tree = ({
|
|
|
66104
66104
|
itemHasChild,
|
|
66105
66105
|
onItemToggle,
|
|
66106
66106
|
icons: icons2,
|
|
66107
|
-
allowParentReassignment
|
|
66107
|
+
allowParentReassignment,
|
|
66108
|
+
stickyHeader: stickyHeader2
|
|
66108
66109
|
}) => {
|
|
66109
66110
|
var _a2;
|
|
66110
66111
|
const handleOpen = (id2) => {
|
|
@@ -66186,7 +66187,14 @@ const Tree = ({
|
|
|
66186
66187
|
})
|
|
66187
66188
|
);
|
|
66188
66189
|
return /* @__PURE__ */ jsxs("div", { "data-testid": testId, children: [
|
|
66189
|
-
list2.name && !list2.noHeader && /* @__PURE__ */ jsx(
|
|
66190
|
+
list2.name && !list2.noHeader && /* @__PURE__ */ jsx(
|
|
66191
|
+
ListHeading,
|
|
66192
|
+
{
|
|
66193
|
+
name: list2.name,
|
|
66194
|
+
actions: list2.actions,
|
|
66195
|
+
stickyHeader: stickyHeader2
|
|
66196
|
+
}
|
|
66197
|
+
),
|
|
66190
66198
|
/* @__PURE__ */ jsx("div", { className: listStyles.list, children: /* @__PURE__ */ jsx(
|
|
66191
66199
|
DndProvider,
|
|
66192
66200
|
{
|