@agenticindiedev/ui 0.3.6 → 0.3.8
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/README.md +6 -4
- package/dist/index.cjs +15 -15
- package/dist/index.d.ts +7 -2
- package/dist/index.js +2800 -2792
- package/dist/styles.css +7 -0
- package/dist/themes/dark.scss +11 -1
- package/dist/themes/light.scss +11 -1
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -187,7 +187,7 @@ export declare const checkboxVariants: (props?: ({
|
|
|
187
187
|
*/
|
|
188
188
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
189
189
|
|
|
190
|
-
export declare function DataTable<TData, TValue>({ columns, data, searchable, searchPlaceholder, pagination, className, }: DataTableProps_2<TData, TValue>): JSX.Element;
|
|
190
|
+
export declare function DataTable<TData, TValue>({ columns, data, searchable, searchPlaceholder, pagination, className, isLoading, skeletonRows, }: DataTableProps_2<TData, TValue>): JSX.Element;
|
|
191
191
|
|
|
192
192
|
export declare interface DataTableProps<TData, TValue> {
|
|
193
193
|
columns: ColumnDef<TData, TValue>[];
|
|
@@ -205,6 +205,8 @@ declare interface DataTableProps_2<TData, TValue> {
|
|
|
205
205
|
searchPlaceholder?: string;
|
|
206
206
|
pagination?: boolean;
|
|
207
207
|
className?: string;
|
|
208
|
+
isLoading?: boolean;
|
|
209
|
+
skeletonRows?: number;
|
|
208
210
|
}
|
|
209
211
|
|
|
210
212
|
export declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
|
|
@@ -488,6 +490,7 @@ export declare interface SelectProps extends React.ComponentPropsWithoutRef<type
|
|
|
488
490
|
placeholder?: string;
|
|
489
491
|
error?: boolean;
|
|
490
492
|
errorMessage?: string;
|
|
493
|
+
isLoading?: boolean;
|
|
491
494
|
}
|
|
492
495
|
|
|
493
496
|
export declare const selectVariants: (props?: ({
|
|
@@ -562,9 +565,11 @@ export declare interface TableRowProps extends React.HTMLAttributes<HTMLTableRow
|
|
|
562
565
|
|
|
563
566
|
export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
564
567
|
|
|
565
|
-
export declare const TabsContent: React_2.ForwardRefExoticComponent<
|
|
568
|
+
export declare const TabsContent: React_2.ForwardRefExoticComponent<TabsContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
566
569
|
|
|
567
570
|
export declare interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content> {
|
|
571
|
+
isLoading?: boolean;
|
|
572
|
+
skeleton?: React.ReactNode;
|
|
568
573
|
}
|
|
569
574
|
|
|
570
575
|
export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|