@medway-ui/core 1.16.12 → 1.16.13
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 +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -29,6 +29,21 @@ interface AlertButtonProps extends ComponentProps<"button">, VariantProps<typeof
|
|
|
29
29
|
}
|
|
30
30
|
declare function AlertButton({ className, variant, ...props }: AlertButtonProps): react_jsx_runtime.JSX.Element;
|
|
31
31
|
|
|
32
|
+
interface ButtonProps extends ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
33
|
+
asChild?: boolean;
|
|
34
|
+
containerClassName?: string;
|
|
35
|
+
iconRight?: ReactNode;
|
|
36
|
+
iconLeft?: ReactNode;
|
|
37
|
+
badge?: number | string;
|
|
38
|
+
loading?: boolean;
|
|
39
|
+
alert?: string;
|
|
40
|
+
}
|
|
41
|
+
declare const buttonVariants: (props?: ({
|
|
42
|
+
variant?: "regular" | "emphasis" | "success" | "warning" | "error" | "regular-soft" | "regular-basic" | "emphasis-soft" | "emphasis-basic" | "error-soft" | "error-basic" | "warning-soft" | "warning-basic" | "success-soft" | "success-basic" | "outlined" | "gradient" | "medbrain" | null | undefined;
|
|
43
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
44
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
45
|
+
declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
46
|
+
|
|
32
47
|
interface AlertDialogContentProps extends ComponentProps<typeof AlertDialog$1.Content> {
|
|
33
48
|
overlayClassName?: string;
|
|
34
49
|
}
|
|
@@ -41,8 +56,8 @@ declare function AlertDialogHeader({ className, ...props }: ComponentProps<"div"
|
|
|
41
56
|
declare function AlertDialogFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
42
57
|
declare function AlertDialogTitle({ className, ...props }: ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
43
58
|
declare function AlertDialogDescription({ className, ...props }: ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
44
|
-
declare function AlertDialogAction({ className, ...props }: ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime.JSX.Element;
|
|
45
|
-
declare function AlertDialogCancel({ className, ...props }: ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime.JSX.Element;
|
|
59
|
+
declare function AlertDialogAction({ className, variant, size, ...props }: ComponentProps<typeof AlertDialog$1.Action> & VariantProps<typeof buttonVariants>): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare function AlertDialogCancel({ className, variant, size, ...props }: ComponentProps<typeof AlertDialog$1.Cancel> & VariantProps<typeof buttonVariants>): react_jsx_runtime.JSX.Element;
|
|
46
61
|
|
|
47
62
|
/**
|
|
48
63
|
* Command component - Forked from cmdk (https://github.com/pacocoursey/cmdk)
|
|
@@ -221,21 +236,6 @@ declare function BreadcrumbPage({ className, ...props }: ComponentProps<"span">)
|
|
|
221
236
|
declare function BreadcrumbSeparator({ children, className, ...props }: ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
222
237
|
declare function BreadcrumbEllipsis({ className, ...props }: ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
223
238
|
|
|
224
|
-
interface ButtonProps extends ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
225
|
-
asChild?: boolean;
|
|
226
|
-
containerClassName?: string;
|
|
227
|
-
iconRight?: ReactNode;
|
|
228
|
-
iconLeft?: ReactNode;
|
|
229
|
-
badge?: number | string;
|
|
230
|
-
loading?: boolean;
|
|
231
|
-
alert?: string;
|
|
232
|
-
}
|
|
233
|
-
declare const buttonVariants: (props?: ({
|
|
234
|
-
variant?: "regular" | "emphasis" | "success" | "warning" | "error" | "regular-soft" | "regular-basic" | "emphasis-soft" | "emphasis-basic" | "error-soft" | "error-basic" | "warning-soft" | "warning-basic" | "success-soft" | "success-basic" | "outlined" | "gradient" | "medbrain" | null | undefined;
|
|
235
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
236
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
237
|
-
declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
238
|
-
|
|
239
239
|
interface ProgressCircleProps extends ComponentProps<"div"> {
|
|
240
240
|
value: number | string;
|
|
241
241
|
size?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,21 @@ interface AlertButtonProps extends ComponentProps<"button">, VariantProps<typeof
|
|
|
29
29
|
}
|
|
30
30
|
declare function AlertButton({ className, variant, ...props }: AlertButtonProps): react_jsx_runtime.JSX.Element;
|
|
31
31
|
|
|
32
|
+
interface ButtonProps extends ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
33
|
+
asChild?: boolean;
|
|
34
|
+
containerClassName?: string;
|
|
35
|
+
iconRight?: ReactNode;
|
|
36
|
+
iconLeft?: ReactNode;
|
|
37
|
+
badge?: number | string;
|
|
38
|
+
loading?: boolean;
|
|
39
|
+
alert?: string;
|
|
40
|
+
}
|
|
41
|
+
declare const buttonVariants: (props?: ({
|
|
42
|
+
variant?: "regular" | "emphasis" | "success" | "warning" | "error" | "regular-soft" | "regular-basic" | "emphasis-soft" | "emphasis-basic" | "error-soft" | "error-basic" | "warning-soft" | "warning-basic" | "success-soft" | "success-basic" | "outlined" | "gradient" | "medbrain" | null | undefined;
|
|
43
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
44
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
45
|
+
declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
46
|
+
|
|
32
47
|
interface AlertDialogContentProps extends ComponentProps<typeof AlertDialog$1.Content> {
|
|
33
48
|
overlayClassName?: string;
|
|
34
49
|
}
|
|
@@ -41,8 +56,8 @@ declare function AlertDialogHeader({ className, ...props }: ComponentProps<"div"
|
|
|
41
56
|
declare function AlertDialogFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
42
57
|
declare function AlertDialogTitle({ className, ...props }: ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
43
58
|
declare function AlertDialogDescription({ className, ...props }: ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
44
|
-
declare function AlertDialogAction({ className, ...props }: ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime.JSX.Element;
|
|
45
|
-
declare function AlertDialogCancel({ className, ...props }: ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime.JSX.Element;
|
|
59
|
+
declare function AlertDialogAction({ className, variant, size, ...props }: ComponentProps<typeof AlertDialog$1.Action> & VariantProps<typeof buttonVariants>): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare function AlertDialogCancel({ className, variant, size, ...props }: ComponentProps<typeof AlertDialog$1.Cancel> & VariantProps<typeof buttonVariants>): react_jsx_runtime.JSX.Element;
|
|
46
61
|
|
|
47
62
|
/**
|
|
48
63
|
* Command component - Forked from cmdk (https://github.com/pacocoursey/cmdk)
|
|
@@ -221,21 +236,6 @@ declare function BreadcrumbPage({ className, ...props }: ComponentProps<"span">)
|
|
|
221
236
|
declare function BreadcrumbSeparator({ children, className, ...props }: ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
222
237
|
declare function BreadcrumbEllipsis({ className, ...props }: ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
223
238
|
|
|
224
|
-
interface ButtonProps extends ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
225
|
-
asChild?: boolean;
|
|
226
|
-
containerClassName?: string;
|
|
227
|
-
iconRight?: ReactNode;
|
|
228
|
-
iconLeft?: ReactNode;
|
|
229
|
-
badge?: number | string;
|
|
230
|
-
loading?: boolean;
|
|
231
|
-
alert?: string;
|
|
232
|
-
}
|
|
233
|
-
declare const buttonVariants: (props?: ({
|
|
234
|
-
variant?: "regular" | "emphasis" | "success" | "warning" | "error" | "regular-soft" | "regular-basic" | "emphasis-soft" | "emphasis-basic" | "error-soft" | "error-basic" | "warning-soft" | "warning-basic" | "success-soft" | "success-basic" | "outlined" | "gradient" | "medbrain" | null | undefined;
|
|
235
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
236
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
237
|
-
declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
238
|
-
|
|
239
239
|
interface ProgressCircleProps extends ComponentProps<"div"> {
|
|
240
240
|
value: number | string;
|
|
241
241
|
size?: number;
|