@myunisoft/design-system 1.2.6 → 1.2.9-rev157
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/DataGrid/components/toolbar/ActionsMenu/index.d.ts +19 -0
- package/dist/components/DataGrid/components/toolbar/CustomGridToolbar.d.ts +4 -1
- package/dist/components/DocumentComposer/LoadingSkeleton.d.ts +2 -0
- package/dist/components/DocumentComposer/NoSectionsPlaceholder/index.d.ts +4 -0
- package/dist/components/DocumentComposer/Treeview/CustomTreeItem.d.ts +2 -1
- package/dist/components/DocumentComposer/Treeview/hooks/useTreeItemMenu.d.ts +2 -0
- package/dist/components/DocumentComposer/Treeview/slots/LabelInputSlot.d.ts +11 -5
- package/dist/components/DocumentComposer/Treeview/slots/LabelSlot.d.ts +3 -0
- package/dist/components/DocumentComposer/Treeview/types.d.ts +25 -15
- package/dist/components/DocumentComposer/hooks/useSectionsMap.d.ts +5 -0
- package/dist/components/DocumentComposer/hooks/useTemporarySection.d.ts +25 -0
- package/dist/components/DocumentComposer/index.d.ts +3 -3
- package/dist/components/DocumentComposer/types.d.ts +26 -8
- package/dist/components/DocumentComposer/utils/getSectionMenuItems.d.ts +14 -0
- package/dist/components/DocumentComposer/utils/sectionHelpers.d.ts +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- package/package.json +14 -10
- package/dist/components/DataGrid/DataGrid.d.ts +0 -3
- package/dist/components/DataGrid/hooks/useSizing.d.ts +0 -5
- package/dist/components/DataGrid/hooks/useSizing.test.d.ts +0 -1
- package/dist/components/DocumentComposer/EmptySummary/index.d.ts +0 -4
- package/dist/components/DocumentComposer/Treeview/icons/index.d.ts +0 -1
- package/dist/components/DocumentComposer/hooks/useDocumentComposer.d.ts +0 -17
- package/dist/components/DocumentComposer/icons/index.d.ts +0 -8
- package/dist/components/Modal/components/ModalVariantIcon.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myunisoft/design-system",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9-rev157",
|
|
4
4
|
"description": "Design System of MyUnisoft",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -35,9 +35,13 @@
|
|
|
35
35
|
"@babel/runtime": "7.20.6",
|
|
36
36
|
"@emotion/react": "11.14.0",
|
|
37
37
|
"@emotion/styled": "11.14.1",
|
|
38
|
-
"@mui/
|
|
39
|
-
"@mui/
|
|
40
|
-
"@mui
|
|
38
|
+
"@mui/x-license": "8.17.0",
|
|
39
|
+
"@mui/x-tree-view-pro": "8.17.0",
|
|
40
|
+
"@myunisoft/mui-symbols-material-w300-esm": "0.7.3",
|
|
41
|
+
"@myunisoft/mui-symbols-material-w400-esm": "0.7.3",
|
|
42
|
+
"@mui/material": "7.3.6",
|
|
43
|
+
"@mui/utils": "7.3.6",
|
|
44
|
+
"@mui/x-data-grid-pro": "7.29.9",
|
|
41
45
|
"@testing-library/dom": "10.1.0",
|
|
42
46
|
"autosuggest-highlight": "3.3.4",
|
|
43
47
|
"classnames": "2.3.2",
|
|
@@ -51,9 +55,9 @@
|
|
|
51
55
|
"numeral": "2.0.6",
|
|
52
56
|
"pretty-bytes": "6.0.0",
|
|
53
57
|
"prop-types": "15.8.1",
|
|
54
|
-
"react": "19.
|
|
58
|
+
"react": "19.2.1",
|
|
55
59
|
"react-color": "2.19.3",
|
|
56
|
-
"react-dom": "19.
|
|
60
|
+
"react-dom": "19.2.1",
|
|
57
61
|
"react-draft-wysiwyg": "1.15.0",
|
|
58
62
|
"react-draggable": "4.4.6",
|
|
59
63
|
"react-dropzone": "14.2.3",
|
|
@@ -68,7 +72,7 @@
|
|
|
68
72
|
},
|
|
69
73
|
"resolutions": {
|
|
70
74
|
"cheerio": "<1.0.0",
|
|
71
|
-
"@mui/material": "7.
|
|
75
|
+
"@mui/material": "7.3.6",
|
|
72
76
|
"@babel/core": "7.26.0"
|
|
73
77
|
},
|
|
74
78
|
"devDependencies": {
|
|
@@ -110,8 +114,8 @@
|
|
|
110
114
|
"webpack": "5.75.0"
|
|
111
115
|
},
|
|
112
116
|
"peerDependencies": {
|
|
113
|
-
"@mui/material": "7.
|
|
114
|
-
"react": "19.
|
|
115
|
-
"react-dom": "19.
|
|
117
|
+
"@mui/material": "7.3.6",
|
|
118
|
+
"react": "19.2.1",
|
|
119
|
+
"react-dom": "19.2.1"
|
|
116
120
|
}
|
|
117
121
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DragHandleIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { RichTreeViewProApiRef } from '@mui/x-tree-view-pro';
|
|
2
|
-
import type { ItemPositionParams } from '../Treeview/types';
|
|
3
|
-
import type { DocumentComposerCallbacks, DocumentComposerSummaryItem } from '../types';
|
|
4
|
-
type HookDocumentComposerProps = {
|
|
5
|
-
summary?: DocumentComposerSummaryItem[];
|
|
6
|
-
} & DocumentComposerCallbacks;
|
|
7
|
-
export declare const useDocumentComposer: ({ summary, onSummaryItemVisibilityChange, onSummaryItemDelete }: HookDocumentComposerProps) => {
|
|
8
|
-
summaryItemsMap: Map<string, DocumentComposerSummaryItem>;
|
|
9
|
-
getSummaryItemMenu: (item: DocumentComposerSummaryItem, apiRef?: RichTreeViewProApiRef) => import("react").ReactNode[];
|
|
10
|
-
hasSummaryItemMenu: (_item: DocumentComposerSummaryItem) => boolean;
|
|
11
|
-
getSummaryItemById: (itemId: string) => DocumentComposerSummaryItem | null;
|
|
12
|
-
getSummaryItemIcon: (item: DocumentComposerSummaryItem) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
-
isSummaryItemSection: (item: DocumentComposerSummaryItem) => boolean;
|
|
14
|
-
canMoveSummaryItemToNewPosition: (params: ItemPositionParams) => boolean;
|
|
15
|
-
handleOnSummaryItemVisibilityChange: (itemId: string, visible: boolean) => void;
|
|
16
|
-
};
|
|
17
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const TableIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export declare const RenameIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const DeleteIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const CreateIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const AddIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const VisibilityOffIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const VisibilityOnIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const EmptyAnnexIcon: () => import("react/jsx-runtime").JSX.Element;
|