ui-arreya-components 0.0.8 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-arreya-components",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -2,7 +2,7 @@ import type { Meta, StoryObj } from "@storybook/react"
2
2
  import { Header } from "./header"
3
3
 
4
4
  const meta: Meta<typeof Header> = {
5
- title: "Feature/Header",
5
+ title: "Components/Header",
6
6
  component: Header,
7
7
  parameters: {
8
8
  layout: "fullscreen",
@@ -26,7 +26,7 @@ interface HeaderProps {
26
26
  export function Header({ title, breadcrumbItems = [], showHomeLink = true, className = "", children }: HeaderProps) {
27
27
  return (
28
28
  <header className={`border-b pb-4 ${className}`}>
29
- <div className="container mx-auto p-4">
29
+ <div className="container mx-auto px-4">
30
30
  {(breadcrumbItems.length > 0 || showHomeLink) && (
31
31
  <Breadcrumb className="mb-2">
32
32
  <BreadcrumbList>
@@ -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
@@ -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
  }
package/src/index.ts CHANGED
@@ -48,7 +48,4 @@ export {
48
48
  } from './components/ui/breadcrumb';
49
49
  export {
50
50
  Header
51
- } from './components/feature/header';
52
- export {
53
- Input
54
- } from './components/ui/input';
51
+ } from './components/feature/header'