ui-arreya-components 0.0.14 → 0.0.16

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-arreya-components",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "type": "module",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -66,9 +66,10 @@ export function Header({ title, breadcrumbItems = [], showHomeLink = true, class
66
66
  </Breadcrumb>
67
67
  )}
68
68
 
69
- {title && <h1 className="text-2xl font-bold tracking-tight">{title}</h1>}
70
-
71
- {children}
69
+ <div className="flex items-center justify-between">
70
+ {title && <h1 className="text-2xl font-bold tracking-tight">{title}</h1>}
71
+ {children && <div className="flex items-center">{children}</div>}
72
+ </div>
72
73
  </div>
73
74
  </header>
74
75
  )
@@ -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-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
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
@@ -2501,6 +2501,10 @@ h1, h2, h3, h4 {
2501
2501
  background-color: hsl(var(--sidebar-border));
2502
2502
  }
2503
2503
 
2504
+ .focus\:border-\[--primary\]:focus{
2505
+ border-color: var(--primary);
2506
+ }
2507
+
2504
2508
  .focus\:bg-accent:focus{
2505
2509
  background-color: var(--accent);
2506
2510
  }
@@ -2575,6 +2579,10 @@ h1, h2, h3, h4 {
2575
2579
  --tw-ring-offset-color: var(--background);
2576
2580
  }
2577
2581
 
2582
+ .active\:border-\[--primary\]:active{
2583
+ border-color: var(--primary);
2584
+ }
2585
+
2578
2586
  .active\:bg-sidebar-accent:active{
2579
2587
  background-color: hsl(var(--sidebar-accent));
2580
2588
  }