ui-arreya-components 0.0.7 → 0.0.9
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/package.json +1 -1
- package/src/components/ui/input.tsx +1 -1
- package/src/index.css +8 -0
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ const Input = React.forwardRef<HTMLInputElement, React.ComponentProps<"input">>(
|
|
|
8
8
|
<input
|
|
9
9
|
type={type}
|
|
10
10
|
className={cn(
|
|
11
|
-
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-
|
|
11
|
+
"flex h-9 w-full rounded-md border focus:border-[--primary] border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
12
12
|
className
|
|
13
13
|
)}
|
|
14
14
|
ref={ref}
|
package/src/index.css
CHANGED
|
@@ -2377,6 +2377,10 @@ h1, h2, h3, h4 {
|
|
|
2377
2377
|
background-color: hsl(var(--sidebar-border));
|
|
2378
2378
|
}
|
|
2379
2379
|
|
|
2380
|
+
.focus\:border-\[--primary\]:focus{
|
|
2381
|
+
border-color: var(--primary);
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2380
2384
|
.focus\:bg-accent:focus{
|
|
2381
2385
|
background-color: var(--accent);
|
|
2382
2386
|
}
|
|
@@ -2451,6 +2455,10 @@ h1, h2, h3, h4 {
|
|
|
2451
2455
|
--tw-ring-offset-color: var(--background);
|
|
2452
2456
|
}
|
|
2453
2457
|
|
|
2458
|
+
.active\:border-\[--primary\]:active{
|
|
2459
|
+
border-color: var(--primary);
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2454
2462
|
.active\:bg-sidebar-accent:active{
|
|
2455
2463
|
background-color: hsl(var(--sidebar-accent));
|
|
2456
2464
|
}
|