@clidey/ux 0.20.0 → 0.20.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.
- package/dist/index.d.ts +12 -0
- package/dist/index.js +505 -458
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -431,6 +431,18 @@ export declare function SidebarTrigger({ className, onClick, ...props }: React_2
|
|
|
431
431
|
|
|
432
432
|
export declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
433
433
|
|
|
434
|
+
export declare const Spinner: ({ className, variant, size }: SpinnerProps) => JSX.Element;
|
|
435
|
+
|
|
436
|
+
declare interface SpinnerProps extends React_2.HTMLAttributes<HTMLDivElement>, Omit<VariantProps<typeof spinnerVariants>, 'size'> {
|
|
437
|
+
className?: string;
|
|
438
|
+
size?: VariantProps<typeof spinnerVariants>['size'] | number;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
declare const spinnerVariants: (props?: ({
|
|
442
|
+
variant?: "default" | "secondary" | "destructive" | "primary" | "muted" | null | undefined;
|
|
443
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
444
|
+
} & ClassProp) | undefined) => string;
|
|
445
|
+
|
|
434
446
|
export declare function StackList({ children, separatorClassName, }: StackListProps): JSX.Element;
|
|
435
447
|
|
|
436
448
|
export declare function StackListItem({ item, children, keyClassName, valueClassName, rowClassName, itemClassName, }: StackListItemProps): JSX.Element;
|