@codapet/design-system 0.1.6 → 0.1.7

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 CHANGED
@@ -277,7 +277,7 @@ declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCard
277
277
  declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
278
278
  declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
279
279
 
280
- declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
280
+ declare function Input({ className, type, ...props }: React$1.ComponentProps<'input'>): react_jsx_runtime.JSX.Element;
281
281
 
282
282
  declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
283
283
  containerClassName?: string;
package/dist/index.mjs CHANGED
@@ -142,21 +142,21 @@ 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
- "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",
145
+ "cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-semibold 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: {
149
- default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
149
+ default: "bg-primary text-primary-foreground shadow-xs hover:bg-brand-dark",
150
150
  destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
151
- outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
152
- secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
153
- ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
151
+ outline: "text-zinc-800 border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
152
+ secondary: "bg-brand-subtle text-brand-vibrant hover:bg-brand-light border border-brand-light",
153
+ ghost: "text-zinc-800 hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
154
154
  link: "text-primary underline-offset-4 hover:underline"
155
155
  },
156
156
  size: {
157
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
158
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
159
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
157
+ default: "h-10 px-4 py-2 has-[>svg]:px-3 text-lg",
158
+ sm: "h-9 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5 text-base",
159
+ lg: "h-12 rounded-md px-6 has-[>svg]:px-4 text-lg",
160
160
  icon: "size-9"
161
161
  }
162
162
  },
@@ -2275,7 +2275,7 @@ function Input({ className, type, ...props }) {
2275
2275
  type,
2276
2276
  "data-slot": "input",
2277
2277
  className: cn(
2278
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
2278
+ "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-12 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
2279
2279
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
2280
2280
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
2281
2281
  className