@medway-ui/core 1.16.12 → 1.16.14
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 +22 -22
- package/dist/index.d.ts +22 -22
- 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,20 +236,11 @@ 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
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
iconRight?: ReactNode;
|
|
228
|
-
iconLeft?: ReactNode;
|
|
229
|
-
badge?: number | string;
|
|
230
|
-
loading?: boolean;
|
|
231
|
-
alert?: string;
|
|
239
|
+
interface ProgressProps extends ComponentProps<typeof Progress$1.Root> {
|
|
240
|
+
indicatorClassName?: string;
|
|
241
|
+
label?: string;
|
|
232
242
|
}
|
|
233
|
-
declare
|
|
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;
|
|
243
|
+
declare function Progress({ className, indicatorClassName, label, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
238
244
|
|
|
239
245
|
interface ProgressCircleProps extends ComponentProps<"div"> {
|
|
240
246
|
value: number | string;
|
|
@@ -248,12 +254,6 @@ interface ProgressCircleProps extends ComponentProps<"div"> {
|
|
|
248
254
|
}
|
|
249
255
|
declare function ProgressCircle({ className, indicatorClassName, trackClassName, valueClassName, label, labelClassName, value, size, strokeWidth, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
250
256
|
|
|
251
|
-
interface ProgressProps extends ComponentProps<typeof Progress$1.Root> {
|
|
252
|
-
indicatorClassName?: string;
|
|
253
|
-
label?: string;
|
|
254
|
-
}
|
|
255
|
-
declare function Progress({ className, indicatorClassName, label, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
256
|
-
|
|
257
257
|
interface CardWeekProps extends ComponentProps<"div"> {
|
|
258
258
|
done?: boolean;
|
|
259
259
|
postponed?: boolean;
|
|
@@ -274,7 +274,7 @@ declare function CardWeekTitle({ className, ...props }: ComponentProps<"div">):
|
|
|
274
274
|
declare function CardWeekDescription({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
275
275
|
declare function CardWeekTags({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
276
276
|
declare function CardWeekProgressCircle({ className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
277
|
-
declare function CardWeekProgress({ className, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
277
|
+
declare function CardWeekProgress({ className, value, indicatorClassName, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
278
278
|
declare function CardWeekFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
279
279
|
declare function CardWeekContent({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
280
280
|
declare function CardWeekText({ className, children, isTime, ...props }: CardWeekTextProps): react_jsx_runtime.JSX.Element;
|
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,20 +236,11 @@ 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
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
iconRight?: ReactNode;
|
|
228
|
-
iconLeft?: ReactNode;
|
|
229
|
-
badge?: number | string;
|
|
230
|
-
loading?: boolean;
|
|
231
|
-
alert?: string;
|
|
239
|
+
interface ProgressProps extends ComponentProps<typeof Progress$1.Root> {
|
|
240
|
+
indicatorClassName?: string;
|
|
241
|
+
label?: string;
|
|
232
242
|
}
|
|
233
|
-
declare
|
|
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;
|
|
243
|
+
declare function Progress({ className, indicatorClassName, label, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
238
244
|
|
|
239
245
|
interface ProgressCircleProps extends ComponentProps<"div"> {
|
|
240
246
|
value: number | string;
|
|
@@ -248,12 +254,6 @@ interface ProgressCircleProps extends ComponentProps<"div"> {
|
|
|
248
254
|
}
|
|
249
255
|
declare function ProgressCircle({ className, indicatorClassName, trackClassName, valueClassName, label, labelClassName, value, size, strokeWidth, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
250
256
|
|
|
251
|
-
interface ProgressProps extends ComponentProps<typeof Progress$1.Root> {
|
|
252
|
-
indicatorClassName?: string;
|
|
253
|
-
label?: string;
|
|
254
|
-
}
|
|
255
|
-
declare function Progress({ className, indicatorClassName, label, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
256
|
-
|
|
257
257
|
interface CardWeekProps extends ComponentProps<"div"> {
|
|
258
258
|
done?: boolean;
|
|
259
259
|
postponed?: boolean;
|
|
@@ -274,7 +274,7 @@ declare function CardWeekTitle({ className, ...props }: ComponentProps<"div">):
|
|
|
274
274
|
declare function CardWeekDescription({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
275
275
|
declare function CardWeekTags({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
276
276
|
declare function CardWeekProgressCircle({ className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
277
|
-
declare function CardWeekProgress({ className, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
277
|
+
declare function CardWeekProgress({ className, value, indicatorClassName, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
278
278
|
declare function CardWeekFooter({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
279
279
|
declare function CardWeekContent({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
280
280
|
declare function CardWeekText({ className, children, isTime, ...props }: CardWeekTextProps): react_jsx_runtime.JSX.Element;
|