@cnc-ti/layout-basic 8.3.24 → 8.3.27
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.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -20,6 +20,8 @@ declare const buttonVariants: (props?: ({
|
|
|
20
20
|
interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
21
21
|
asChild?: boolean;
|
|
22
22
|
isLoading?: boolean;
|
|
23
|
+
variant?: "default" | "confirm" | "create" | "secondary" | "danger" | "outline" | null | undefined;
|
|
24
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
23
25
|
}
|
|
24
26
|
declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
25
27
|
|
|
@@ -430,7 +432,7 @@ interface ComboboxProps {
|
|
|
430
432
|
placeholder?: string;
|
|
431
433
|
command?: {
|
|
432
434
|
placeholder?: string;
|
|
433
|
-
emptyMessage?:
|
|
435
|
+
emptyMessage?: React$1.ReactNode;
|
|
434
436
|
};
|
|
435
437
|
onChange?: (value: string) => void;
|
|
436
438
|
value?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ declare const buttonVariants: (props?: ({
|
|
|
20
20
|
interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
21
21
|
asChild?: boolean;
|
|
22
22
|
isLoading?: boolean;
|
|
23
|
+
variant?: "default" | "confirm" | "create" | "secondary" | "danger" | "outline" | null | undefined;
|
|
24
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
23
25
|
}
|
|
24
26
|
declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
25
27
|
|
|
@@ -430,7 +432,7 @@ interface ComboboxProps {
|
|
|
430
432
|
placeholder?: string;
|
|
431
433
|
command?: {
|
|
432
434
|
placeholder?: string;
|
|
433
|
-
emptyMessage?:
|
|
435
|
+
emptyMessage?: React$1.ReactNode;
|
|
434
436
|
};
|
|
435
437
|
onChange?: (value: string) => void;
|
|
436
438
|
value?: string;
|