@webdevarif/dashui 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.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ function cn(...inputs) {
|
|
|
13
13
|
// src/components/primitives/button.tsx
|
|
14
14
|
import { jsx } from "react/jsx-runtime";
|
|
15
15
|
var buttonVariants = cva(
|
|
16
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded-
|
|
16
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-[var(--form-radius,8px)] text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
17
17
|
{
|
|
18
18
|
variants: {
|
|
19
19
|
variant: {
|
|
@@ -25,10 +25,10 @@ var buttonVariants = cva(
|
|
|
25
25
|
link: "text-primary underline-offset-4 hover:underline"
|
|
26
26
|
},
|
|
27
27
|
size: {
|
|
28
|
-
default: "h-
|
|
29
|
-
sm: "h-9
|
|
30
|
-
lg: "h-11
|
|
31
|
-
icon: "h-
|
|
28
|
+
default: "h-[var(--form-height,40px)] px-4 py-2",
|
|
29
|
+
sm: "h-9 px-3",
|
|
30
|
+
lg: "h-11 px-8",
|
|
31
|
+
icon: "h-[var(--form-height,40px)] w-[var(--form-height,40px)]"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
defaultVariants: {
|
|
@@ -397,7 +397,7 @@ var Input = React6.forwardRef(
|
|
|
397
397
|
{
|
|
398
398
|
type,
|
|
399
399
|
className: cn(
|
|
400
|
-
"flex h-
|
|
400
|
+
"flex h-[var(--form-height,40px)] w-full rounded-[var(--form-radius,8px)] border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
401
401
|
error && "border-destructive focus-visible:ring-destructive",
|
|
402
402
|
className
|
|
403
403
|
),
|
|
@@ -461,7 +461,7 @@ var SelectTrigger = React9.forwardRef(({ className, children, ...props }, ref) =
|
|
|
461
461
|
{
|
|
462
462
|
ref,
|
|
463
463
|
className: cn(
|
|
464
|
-
"flex h-
|
|
464
|
+
"flex h-[var(--form-height,40px)] w-full items-center justify-between rounded-[var(--form-radius,8px)] border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
|
|
465
465
|
className
|
|
466
466
|
),
|
|
467
467
|
...props,
|