zaravand-ui 4.3.2 → 4.4.1

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.
@@ -1,6 +1,6 @@
1
1
  declare const sheetOverlayVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
2
2
  declare const sheetContentVariants: (props?: ({
3
- side?: "top" | "right" | "bottom" | "left" | null | undefined;
3
+ side?: "bottom" | "left" | "right" | "top" | null | undefined;
4
4
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
5
  declare const sheetCloseVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
6
6
  declare const sheetHeaderVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
@@ -179,6 +179,16 @@ export interface TableProps {
179
179
  onCellSelectChange?: TableCellSelectChangeHandler;
180
180
  getRowId?: TableRowIdResolver;
181
181
  showNumberRow?: boolean;
182
+ /**
183
+ * Arbitrary content (any ReactNode) rendered in the table's toolbar area,
184
+ * available in both schema-driven and custom-children (`children`) usage.
185
+ * Always kept at the same height as the search input / action buttons.
186
+ * Placement depends on what else is in the toolbar:
187
+ * - search input present: rendered in its own row above the search/actions row.
188
+ * - no search input but action buttons present: rendered in the search input's slot.
189
+ * - neither search nor action buttons present: rendered alone, above the table.
190
+ */
191
+ toolbarExtra?: React.ReactNode;
182
192
  /**
183
193
  * When true, renders a vertical border between columns.
184
194
  */
@@ -11,8 +11,8 @@ export declare const tableBodyVariants: (props?: import("class-variance-authorit
11
11
  export declare const tableFooterVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
12
12
  export declare const tableRowVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
13
13
  export declare const tableHeadVariants: (props?: ({
14
- align?: "center" | "end" | "start" | null | undefined;
14
+ align?: "end" | "start" | "center" | null | undefined;
15
15
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
16
  export declare const tableCellVariants: (props?: ({
17
- align?: "center" | "end" | "start" | null | undefined;
17
+ align?: "end" | "start" | "center" | null | undefined;
18
18
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;