@myunisoft/design-system 1.2.2-rev157 → 1.2.2-rev157-2
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.
|
@@ -30,6 +30,7 @@ export type TreeviewProps<T> = {
|
|
|
30
30
|
onItemLabelChange?: (itemId: string, newLabel: string) => void;
|
|
31
31
|
checkboxSelection?: boolean;
|
|
32
32
|
multiSelect?: boolean;
|
|
33
|
+
defaultExpandedItems?: string[];
|
|
33
34
|
} & CustomTreeviewItemProps<T>;
|
|
34
35
|
export type TreeviewItemProps<T> = {
|
|
35
36
|
itemId: string;
|
|
@@ -2,5 +2,5 @@ import type { DocumentComposerCallbacks, DocumentComposerCustomProps, DocumentCo
|
|
|
2
2
|
type DocumentComposerProps = {
|
|
3
3
|
summary?: DocumentComposerSummaryItem[];
|
|
4
4
|
} & DocumentComposerCallbacks & DocumentComposerCustomProps;
|
|
5
|
-
declare const DocumentComposer: ({ summary, onSummaryItemOrderChange, onSummaryItemLabelChange, onSummaryItemDelete, onSummaryItemVisibilityChange, emptySummaryLabel }: DocumentComposerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const DocumentComposer: ({ summary, onSummaryItemOrderChange, onSummaryItemLabelChange, onSummaryItemDelete, onSummaryItemVisibilityChange, emptySummaryLabel, isLoading }: DocumentComposerProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default DocumentComposer;
|
|
@@ -12,6 +12,8 @@ export type ItemDisplayOrder = {
|
|
|
12
12
|
};
|
|
13
13
|
export type DocumentComposerCustomProps = {
|
|
14
14
|
emptySummaryLabel?: string | React.ReactNode;
|
|
15
|
+
/** Show a loading state that blocks the summary */
|
|
16
|
+
isLoading?: boolean;
|
|
15
17
|
};
|
|
16
18
|
export type DocumentComposerCallbacks = {
|
|
17
19
|
onSummaryItemOrderChange?: (params: ItemPositionParams) => void;
|