@shifl-inc/ui 0.2.0 → 0.3.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.
@@ -19,7 +19,7 @@ export declare function useGridActionMenu(): {
19
19
  left: number;
20
20
  } | null;
21
21
  }>;
22
- openMenu: (rowIndex: number, triggerElement: HTMLElement) => void;
22
+ openMenu: (rowIndex: number, triggerElement: HTMLElement, menuWidth?: number) => void;
23
23
  closeMenu: () => void;
24
24
  isMenuOpen: (rowIndex: number) => boolean;
25
25
  };
@@ -37,6 +37,7 @@ export declare function useGridColumns(initialColumns: NormalizedGridColumn[]):
37
37
  icon?: string | (() => unknown) | undefined;
38
38
  width?: string | undefined;
39
39
  } | undefined;
40
+ align?: "left" | "center" | "right" | undefined;
40
41
  }[], NormalizedGridColumn[] | {
41
42
  frozen: boolean;
42
43
  visible: boolean;
@@ -74,6 +75,7 @@ export declare function useGridColumns(initialColumns: NormalizedGridColumn[]):
74
75
  icon?: string | (() => unknown) | undefined;
75
76
  width?: string | undefined;
76
77
  } | undefined;
78
+ align?: "left" | "center" | "right" | undefined;
77
79
  }[]>;
78
80
  visibleColumns: import('vue').ComputedRef<{
79
81
  frozen: boolean;
@@ -112,6 +114,7 @@ export declare function useGridColumns(initialColumns: NormalizedGridColumn[]):
112
114
  icon?: string | (() => unknown) | undefined;
113
115
  width?: string | undefined;
114
116
  } | undefined;
117
+ align?: "left" | "center" | "right" | undefined;
115
118
  }[]>;
116
119
  toggleColumnVisibility: (key: string) => void;
117
120
  setAllVisible: (visible: boolean) => void;