@medway-ui/core 1.11.1 → 1.11.2
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 +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -215,13 +215,14 @@ declare function DropdownMenuSubContent({ className, ...props }: React$1.Compone
|
|
|
215
215
|
|
|
216
216
|
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
217
217
|
|
|
218
|
+
interface LabelProps extends React$1.ComponentProps<typeof Label$1.Root>, VariantProps<typeof labelVariants> {
|
|
219
|
+
block?: boolean;
|
|
220
|
+
}
|
|
218
221
|
declare const labelVariants: (props?: ({
|
|
219
222
|
variant?: "regular" | null | undefined;
|
|
220
223
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
221
224
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
declare function Label({ className, variant, size, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
225
|
+
declare function Label({ className, variant, size, block, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
225
226
|
|
|
226
227
|
interface LoadingProps {
|
|
227
228
|
size?: number;
|
|
@@ -493,13 +494,14 @@ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...p
|
|
|
493
494
|
declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
494
495
|
|
|
495
496
|
declare const switchVariants: (props?: ({
|
|
497
|
+
variant?: "regular" | null | undefined;
|
|
496
498
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
497
499
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
498
500
|
interface SwitchProps extends React$1.ComponentProps<typeof Switch$1.Root>, VariantProps<typeof switchVariants> {
|
|
499
501
|
checkedIcon?: React$1.ReactNode;
|
|
500
502
|
uncheckedIcon?: React$1.ReactNode;
|
|
501
503
|
}
|
|
502
|
-
declare function Switch({ className, size, checkedIcon, uncheckedIcon, checked, defaultChecked, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
504
|
+
declare function Switch({ className, size, variant, checkedIcon, uncheckedIcon, checked, defaultChecked, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
503
505
|
|
|
504
506
|
interface SwitcherProps {
|
|
505
507
|
children: React$1.ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -215,13 +215,14 @@ declare function DropdownMenuSubContent({ className, ...props }: React$1.Compone
|
|
|
215
215
|
|
|
216
216
|
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
217
217
|
|
|
218
|
+
interface LabelProps extends React$1.ComponentProps<typeof Label$1.Root>, VariantProps<typeof labelVariants> {
|
|
219
|
+
block?: boolean;
|
|
220
|
+
}
|
|
218
221
|
declare const labelVariants: (props?: ({
|
|
219
222
|
variant?: "regular" | null | undefined;
|
|
220
223
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
221
224
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
declare function Label({ className, variant, size, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
225
|
+
declare function Label({ className, variant, size, block, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
225
226
|
|
|
226
227
|
interface LoadingProps {
|
|
227
228
|
size?: number;
|
|
@@ -493,13 +494,14 @@ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...p
|
|
|
493
494
|
declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
494
495
|
|
|
495
496
|
declare const switchVariants: (props?: ({
|
|
497
|
+
variant?: "regular" | null | undefined;
|
|
496
498
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
497
499
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
498
500
|
interface SwitchProps extends React$1.ComponentProps<typeof Switch$1.Root>, VariantProps<typeof switchVariants> {
|
|
499
501
|
checkedIcon?: React$1.ReactNode;
|
|
500
502
|
uncheckedIcon?: React$1.ReactNode;
|
|
501
503
|
}
|
|
502
|
-
declare function Switch({ className, size, checkedIcon, uncheckedIcon, checked, defaultChecked, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
504
|
+
declare function Switch({ className, size, variant, checkedIcon, uncheckedIcon, checked, defaultChecked, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
503
505
|
|
|
504
506
|
interface SwitcherProps {
|
|
505
507
|
children: React$1.ReactNode;
|