@codapet/design-system 0.1.2 → 0.1.5
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 +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +23 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -99,7 +99,7 @@ declare const buttonVariants: (props?: ({
|
|
|
99
99
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
100
100
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
101
101
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
102
|
-
declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<
|
|
102
|
+
declare function Button({ className, variant, size, asChild, ...props }: React$1.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
103
103
|
asChild?: boolean;
|
|
104
104
|
}): react_jsx_runtime.JSX.Element;
|
|
105
105
|
|
|
@@ -392,7 +392,7 @@ declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"di
|
|
|
392
392
|
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
393
393
|
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
394
394
|
|
|
395
|
-
declare function Input({ className, type, ...props }: React$1.ComponentProps<
|
|
395
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<'input'>): react_jsx_runtime.JSX.Element;
|
|
396
396
|
|
|
397
397
|
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
398
398
|
|
package/dist/index.mjs
CHANGED
|
@@ -142,7 +142,7 @@ import { Slot } from "@radix-ui/react-slot";
|
|
|
142
142
|
import { cva as cva2 } from "class-variance-authority";
|
|
143
143
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
144
144
|
var buttonVariants = cva2(
|
|
145
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
145
|
+
"cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
146
146
|
{
|
|
147
147
|
variants: {
|
|
148
148
|
variant: {
|