@myunisoft/design-system 1.3.4-tmp1 → 1.4.0

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.
@@ -24,6 +24,10 @@ export type AutocompleteBaseProps<T = OptionType> = {
24
24
  selectAllHidden?: boolean;
25
25
  selectAllLabel?: string;
26
26
  allSelectedLabel?: string;
27
+ /**
28
+ * @deprecated Use disabled instead
29
+ */
30
+ isDisabled?: boolean;
27
31
  expandSelectedTagsOnEdition?: false;
28
32
  InputProps?: StandardInputProps;
29
33
  onIsSearchingChange?: (isOpen: boolean) => void;
@@ -0,0 +1,3 @@
1
+ import type { TreeItemProps } from '@mui/x-tree-view-pro';
2
+ declare const SkeletonTreeItem: ({ itemId, children, ...rest }: TreeItemProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default SkeletonTreeItem;
@@ -6,6 +6,7 @@ declare const LabelInputSlot: import("react").ForwardRefExoticComponent<InputHTM
6
6
  isEditing?: boolean;
7
7
  onTemporarySectionValidation?: (label: string) => void;
8
8
  onTemporarySectionCancel?: () => void;
9
+ onItemLabelChange?: (itemId: string, newLabel: string) => void;
9
10
  apiRef?: RichTreeViewProApiRef;
10
11
  onEditingEnd?: () => void;
11
12
  } & import("react").RefAttributes<HTMLInputElement>>;
@@ -41,10 +41,16 @@ export type TreeviewProps<T> = {
41
41
  defaultExpandedItems: string[];
42
42
  checkboxSelection?: boolean;
43
43
  onItemSelect?: (itemId: string | null) => void;
44
+ loading?: boolean;
44
45
  } & CustomTreeviewItemProps<T>;
45
46
  export type TreeviewItemProps<T> = {
46
47
  itemId: string;
47
48
  label?: React.ReactNode;
48
49
  children?: React.ReactNode;
49
50
  } & CustomTreeviewItemProps<T>;
51
+ export type SkeletonItem = {
52
+ id: string;
53
+ label: string;
54
+ children?: SkeletonItem[];
55
+ };
50
56
  export {};