@myunisoft/design-system 1.2.5-rev157.1 → 1.2.5-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myunisoft/design-system",
3
- "version": "1.2.5-rev157.1",
3
+ "version": "1.2.5-rev157.2",
4
4
  "description": "Design System of MyUnisoft",
5
5
  "main": "dist/index.js",
6
6
  "source": "src/index.ts",
@@ -118,4 +118,4 @@
118
118
  "react": "19.2.1",
119
119
  "react-dom": "19.2.1"
120
120
  }
121
- }
121
+ }
@@ -1,4 +0,0 @@
1
- declare const EmptySummary: ({ emptySummaryLabel }: {
2
- emptySummaryLabel?: string | React.ReactNode;
3
- }) => import("react/jsx-runtime").JSX.Element;
4
- export default EmptySummary;
@@ -1,14 +0,0 @@
1
- import type { ItemPositionParams } from '../Treeview/types';
2
- import type { DocumentComposerSummaryItem } from '../types';
3
- type UseDragValidationParams = {
4
- getItemById: (itemId: string) => DocumentComposerSummaryItem | null;
5
- };
6
- /**
7
- * Business rule: Items can only be moved within their current parent
8
- * or into their siblings' children. Moving items to a completely
9
- * different branch is disabled to maintain document structure integrity.
10
- */
11
- export declare const useDragValidation: ({ getItemById }: UseDragValidationParams) => {
12
- canMoveItemToNewPosition: (params: ItemPositionParams) => boolean;
13
- };
14
- export {};
@@ -1,5 +0,0 @@
1
- import type { DocumentComposerSummaryItem } from '../types';
2
- export declare const useSummaryItemsMap: (summary: DocumentComposerSummaryItem[] | undefined) => {
3
- itemsMap: Map<string, DocumentComposerSummaryItem>;
4
- getItemById: (itemId: string) => DocumentComposerSummaryItem | null;
5
- };
@@ -1,9 +0,0 @@
1
- import type { ScheduleMenuAction } from '../Treeview/types';
2
- import type { DocumentComposerSummaryItem } from '../types';
3
- type MenuItemCallbacks = {
4
- onRename: (itemId: string) => void;
5
- onDelete: (itemId: string) => void;
6
- onCreateSubsection: (parentId: string) => void;
7
- };
8
- export declare const getSummaryItemMenuItems: (item: DocumentComposerSummaryItem, callbacks: MenuItemCallbacks, scheduleMenuAction: ScheduleMenuAction) => React.ReactNode[];
9
- export {};
@@ -1,12 +0,0 @@
1
- import type { DocumentComposerSummaryItem } from '../types';
2
- export declare const getAllExpandableItemIds: (items: DocumentComposerSummaryItem[]) => string[];
3
- export declare const getAllTreeItemsFlat: (items: DocumentComposerSummaryItem[]) => DocumentComposerSummaryItem[];
4
- export declare const isSummaryItemSection: (item: DocumentComposerSummaryItem) => boolean;
5
- export declare const hasSummaryItemMenu: (_item: DocumentComposerSummaryItem) => boolean;
6
- export declare const isSummaryItemVisible: (item: DocumentComposerSummaryItem) => boolean;
7
- export declare const getItemChildren: (item: DocumentComposerSummaryItem) => DocumentComposerSummaryItem[] | undefined;
8
- export declare const getItemId: (item: DocumentComposerSummaryItem) => string;
9
- export declare const getItemLabel: (item: DocumentComposerSummaryItem) => string;
10
- export declare const isItemEditable: (_item: DocumentComposerSummaryItem) => boolean;
11
- export declare const isItemReorderable: (_itemId: string) => boolean;
12
- export declare const getSummaryItemIcon: (item: DocumentComposerSummaryItem) => import("react/jsx-runtime").JSX.Element | null;