@yuva-devlab/ui 1.0.0 → 1.0.1
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.cjs +18 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +18 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -428,7 +428,7 @@ var import_react_slot = require("@radix-ui/react-slot");
|
|
|
428
428
|
var import_class_variance_authority = require("class-variance-authority");
|
|
429
429
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
430
430
|
var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
431
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-
|
|
431
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
432
432
|
{
|
|
433
433
|
variants: {
|
|
434
434
|
variant: {
|
|
@@ -714,7 +714,10 @@ var BreadcrumbLink = React8.forwardRef(({ asChild, className, ...props }, ref) =
|
|
|
714
714
|
Comp,
|
|
715
715
|
{
|
|
716
716
|
ref,
|
|
717
|
-
className: cn(
|
|
717
|
+
className: cn(
|
|
718
|
+
"cursor-pointer transition-colors hover:text-foreground",
|
|
719
|
+
className
|
|
720
|
+
),
|
|
718
721
|
...props
|
|
719
722
|
}
|
|
720
723
|
);
|
|
@@ -1430,7 +1433,7 @@ var Checkbox = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
1430
1433
|
{
|
|
1431
1434
|
ref,
|
|
1432
1435
|
className: cn(
|
|
1433
|
-
"grid place-content-center peer shrink-0 rounded-sm border border-primary shadow cursor-pointer focus-visible:outline-none focus-visible:ring-
|
|
1436
|
+
"grid place-content-center peer shrink-0 rounded-sm border border-primary shadow cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground size-4",
|
|
1434
1437
|
className
|
|
1435
1438
|
),
|
|
1436
1439
|
...props,
|
|
@@ -1490,7 +1493,7 @@ var DialogContent = React14.forwardRef(({ className, children, ...props }, ref)
|
|
|
1490
1493
|
...props,
|
|
1491
1494
|
children: [
|
|
1492
1495
|
children,
|
|
1493
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background cursor-pointer transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-
|
|
1496
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background cursor-pointer transition-opacity hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
1494
1497
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react6.X, { className: "size-4" }),
|
|
1495
1498
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "sr-only", children: "Close" })
|
|
1496
1499
|
] })
|
|
@@ -1891,7 +1894,7 @@ var DropdownMenuSubTrigger = React18.forwardRef(({ className, inset, children, .
|
|
|
1891
1894
|
{
|
|
1892
1895
|
ref,
|
|
1893
1896
|
className: cn(
|
|
1894
|
-
"flex cursor-
|
|
1897
|
+
"flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
1895
1898
|
inset && "pl-8",
|
|
1896
1899
|
className
|
|
1897
1900
|
),
|
|
@@ -1934,7 +1937,7 @@ var DropdownMenuItem = React18.forwardRef(({ className, inset, ...props }, ref)
|
|
|
1934
1937
|
{
|
|
1935
1938
|
ref,
|
|
1936
1939
|
className: cn(
|
|
1937
|
-
"relative flex cursor-
|
|
1940
|
+
"relative flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
1938
1941
|
inset && "pl-8",
|
|
1939
1942
|
className
|
|
1940
1943
|
),
|
|
@@ -1947,7 +1950,7 @@ var DropdownMenuCheckboxItem = React18.forwardRef(({ className, children, ...pro
|
|
|
1947
1950
|
{
|
|
1948
1951
|
ref,
|
|
1949
1952
|
className: cn(
|
|
1950
|
-
"relative flex cursor-
|
|
1953
|
+
"relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
1951
1954
|
className
|
|
1952
1955
|
),
|
|
1953
1956
|
...props,
|
|
@@ -1963,7 +1966,7 @@ var DropdownMenuRadioItem = React18.forwardRef(({ className, children, ...props
|
|
|
1963
1966
|
{
|
|
1964
1967
|
ref,
|
|
1965
1968
|
className: cn(
|
|
1966
|
-
"relative flex cursor-
|
|
1969
|
+
"relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
1967
1970
|
className
|
|
1968
1971
|
),
|
|
1969
1972
|
...props,
|
|
@@ -2209,7 +2212,7 @@ var Input = React23.forwardRef(
|
|
|
2209
2212
|
{
|
|
2210
2213
|
type,
|
|
2211
2214
|
className: cn(
|
|
2212
|
-
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:
|
|
2215
|
+
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:font-medium file:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
2213
2216
|
className
|
|
2214
2217
|
),
|
|
2215
2218
|
ref,
|
|
@@ -2757,7 +2760,7 @@ var SelectTrigger = React31.forwardRef(({ className, children, ...props }, ref)
|
|
|
2757
2760
|
{
|
|
2758
2761
|
ref,
|
|
2759
2762
|
className: cn(
|
|
2760
|
-
"flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background cursor-pointer data-placeholder:text-muted-foreground focus:outline-none focus:ring-
|
|
2763
|
+
"flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background cursor-pointer data-placeholder:text-muted-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:opacity-50 [&>span]:line-clamp-1",
|
|
2761
2764
|
className
|
|
2762
2765
|
),
|
|
2763
2766
|
...props,
|
|
@@ -2800,7 +2803,7 @@ var SelectContent = React31.forwardRef(({ className, children, position = "poppe
|
|
|
2800
2803
|
ref,
|
|
2801
2804
|
className: cn(
|
|
2802
2805
|
"relative z-50 max-h-(--radix-select-content-available-height) min-w-32 overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-select-content-transform-origin)",
|
|
2803
|
-
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1
|
|
2806
|
+
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1",
|
|
2804
2807
|
className
|
|
2805
2808
|
),
|
|
2806
2809
|
position,
|
|
@@ -2836,7 +2839,7 @@ var SelectItem = React31.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
2836
2839
|
{
|
|
2837
2840
|
ref,
|
|
2838
2841
|
className: cn(
|
|
2839
|
-
"relative flex w-full cursor-
|
|
2842
|
+
"relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
2840
2843
|
className
|
|
2841
2844
|
),
|
|
2842
2845
|
...props,
|
|
@@ -3771,7 +3774,7 @@ var TabsTrigger = React39.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3771
3774
|
{
|
|
3772
3775
|
ref,
|
|
3773
3776
|
className: cn(
|
|
3774
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background cursor-pointer transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
3777
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background cursor-pointer transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
|
|
3775
3778
|
className
|
|
3776
3779
|
),
|
|
3777
3780
|
...props
|
|
@@ -3783,7 +3786,7 @@ var TabsContent = React39.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
3783
3786
|
{
|
|
3784
3787
|
ref,
|
|
3785
3788
|
className: cn(
|
|
3786
|
-
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
3789
|
+
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",
|
|
3787
3790
|
className
|
|
3788
3791
|
),
|
|
3789
3792
|
...props
|
|
@@ -3799,7 +3802,7 @@ var Textarea = React40.forwardRef(({ className, ...props }, ref) => {
|
|
|
3799
3802
|
"textarea",
|
|
3800
3803
|
{
|
|
3801
3804
|
className: cn(
|
|
3802
|
-
"flex min-h-15 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-
|
|
3805
|
+
"flex min-h-15 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
3803
3806
|
className
|
|
3804
3807
|
),
|
|
3805
3808
|
ref,
|