@yuva-devlab/ui 1.1.0 → 1.3.0

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.
Files changed (85) hide show
  1. package/dist/common.css +158 -0
  2. package/dist/components/accordion/accordion.css +49 -0
  3. package/dist/components/alert/alert.css +63 -0
  4. package/dist/components/alert/alert.mdx +26 -0
  5. package/dist/components/alert-dialog/alert-dialog.css +84 -0
  6. package/dist/components/avatar/avatar.css +26 -0
  7. package/dist/components/avatar/avatar.mdx +18 -0
  8. package/dist/components/badge/badge.css +76 -0
  9. package/dist/components/badge/badge.mdx +24 -0
  10. package/dist/components/breadcrumb/breadcrumb.css +63 -0
  11. package/dist/components/button/button.css +106 -0
  12. package/dist/components/button/button.mdx +40 -0
  13. package/dist/components/card/card.css +30 -0
  14. package/dist/components/card/card.mdx +18 -0
  15. package/dist/components/carousel/carousel.css +67 -0
  16. package/dist/components/chart/chart.css +38 -0
  17. package/dist/components/checkbox/checkbox.css +27 -0
  18. package/dist/components/checkbox/checkbox.mdx +22 -0
  19. package/dist/components/command/command.css +125 -0
  20. package/dist/components/context-menu/context-menu.css +19 -0
  21. package/dist/components/date-picker/date-picker.css +30 -0
  22. package/dist/components/dialog/dialog.css +145 -0
  23. package/dist/components/dialog/dialog.mdx +18 -0
  24. package/dist/components/drawer/drawer.css +64 -0
  25. package/dist/components/dropdown-menu/dropdown-menu.css +82 -0
  26. package/dist/components/form/form.css +17 -0
  27. package/dist/components/hover-card/hover-card.css +23 -0
  28. package/dist/components/input/input.css +89 -0
  29. package/dist/components/input/input.mdx +30 -0
  30. package/dist/components/input-otp/input-otp.css +70 -0
  31. package/dist/components/label/label.css +9 -0
  32. package/dist/components/loading-state/loading-state.css +26 -0
  33. package/dist/components/menubar/menubar.css +36 -0
  34. package/dist/components/navigation-menu/navigation-menu.css +137 -0
  35. package/dist/components/pagination/pagination.css +43 -0
  36. package/dist/components/panel/panel.css +24 -0
  37. package/dist/components/popover/popover.css +17 -0
  38. package/dist/components/progress/progress.css +15 -0
  39. package/dist/components/progress/progress.mdx +18 -0
  40. package/dist/components/radio-group/radio-group.css +37 -0
  41. package/dist/components/resizable/resizable.css +67 -0
  42. package/dist/components/scroll-area/scroll-area.css +32 -0
  43. package/dist/components/searchable-select/searchable-select.css +128 -0
  44. package/dist/components/select/select.css +97 -0
  45. package/dist/components/select/select.mdx +18 -0
  46. package/dist/components/separator/separator.css +14 -0
  47. package/dist/components/sheet/sheet.css +83 -0
  48. package/dist/components/sidebar/sidebar.css +18 -0
  49. package/dist/components/skeleton/skeleton.css +5 -0
  50. package/dist/components/skeleton/skeleton.mdx +18 -0
  51. package/dist/components/slider/slider.css +37 -0
  52. package/dist/components/sonner/sonner.css +25 -0
  53. package/dist/components/sonner/sonner.mdx +22 -0
  54. package/dist/components/status-badge/status-badge.css +53 -0
  55. package/dist/components/status-badge/status-badge.mdx +24 -0
  56. package/dist/components/status-chip/status-chip.css +44 -0
  57. package/dist/components/switch/switch.css +45 -0
  58. package/dist/components/switch/switch.mdx +22 -0
  59. package/dist/components/table/table.css +46 -0
  60. package/dist/components/table/table.mdx +18 -0
  61. package/dist/components/tabs/tabs.css +46 -0
  62. package/dist/components/tabs/tabs.mdx +18 -0
  63. package/dist/components/textarea/textarea.css +30 -0
  64. package/dist/components/toggle/toggle.css +91 -0
  65. package/dist/components/tooltip/tooltip.css +17 -0
  66. package/dist/components.css +2618 -0
  67. package/dist/index.cjs +1447 -1836
  68. package/dist/index.cjs.map +1 -1
  69. package/dist/index.d.cts +1819 -202
  70. package/dist/index.d.ts +1819 -202
  71. package/dist/index.js +1442 -1837
  72. package/dist/index.js.map +1 -1
  73. package/dist/preset.css +6 -157
  74. package/dist/root.css +1 -0
  75. package/dist/styles/common.css +158 -0
  76. package/dist/styles/components.css +2618 -0
  77. package/dist/styles/preset.css +6 -157
  78. package/dist/styles/root.css +1 -0
  79. package/dist/styles/styles.css +17 -5
  80. package/dist/styles/themes/finai.css +1 -114
  81. package/dist/styles/themes/orchestrai.css +1 -75
  82. package/dist/styles.css +17 -5
  83. package/dist/themes/finai.css +1 -114
  84. package/dist/themes/orchestrai.css +1 -75
  85. package/package.json +11 -5
@@ -1,159 +1,8 @@
1
1
  /**
2
- * Yuva DevLab Design System — Tailwind CSS 4 Preset Bridge
3
- *
4
- * Maps standard design tokens and CSS custom properties to Tailwind utility classes.
5
- * Can be consumed by downstream applications via:
6
- * `@import "@yuva-devlab/ui/preset.css";`
2
+ * @file src/styles/preset.css
3
+ * @description Backward compatibility bridge for @yuva-devlab/ui.
4
+ * Directs downstream Tailwind 4 consumers to @yuva-devlab/tokens/preset.css
5
+ * and imports UI component styles.
7
6
  */
8
-
9
- @theme inline {
10
- /* ── Radii Mappings ──────────────────────────────────────────────────────── */
11
- --radius-sm: calc(var(--radius, 0.5rem) - 4px);
12
- --radius-md: calc(var(--radius, 0.5rem) - 2px);
13
- --radius-lg: var(--radius, 0.5rem);
14
- --radius-xl: calc(var(--radius, 0.5rem) + 4px);
15
- --radius-2xl: calc(var(--radius, 0.5rem) + 8px);
16
- --radius-3xl: calc(var(--radius, 0.5rem) + 12px);
17
- --radius-4xl: calc(var(--radius, 0.5rem) + 16px);
18
-
19
- /* ── Semantic Color Tokens ────────────────────────────────────────────────── */
20
- --color-background: var(--background);
21
- --color-foreground: var(--foreground);
22
- --color-card: var(--card);
23
- --color-card-foreground: var(--card-foreground);
24
- --color-popover: var(--popover);
25
- --color-popover-foreground: var(--popover-foreground);
26
- --color-primary: var(--primary);
27
- --color-primary-foreground: var(--primary-foreground);
28
- --color-secondary: var(--secondary);
29
- --color-secondary-foreground: var(--secondary-foreground);
30
- --color-muted: var(--muted);
31
- --color-muted-foreground: var(--muted-foreground);
32
- --color-accent: var(--accent);
33
- --color-accent-foreground: var(--accent-foreground);
34
- --color-destructive: var(--destructive);
35
- --color-destructive-foreground: var(--destructive-foreground);
36
- --color-border: var(--border);
37
- --color-input: var(--input);
38
- --color-ring: var(--ring);
39
-
40
- /* ── Contextual System Colors ────────────────────────────────────────────── */
41
- --color-warning: var(--warning);
42
- --color-warning-foreground: var(--warning-foreground);
43
- --color-overlay: var(--overlay);
44
-
45
- /* ── Navigation & Sidebar ────────────────────────────────────────────────── */
46
- --color-sidebar: var(--sidebar);
47
- --color-sidebar-foreground: var(--sidebar-foreground);
48
- --color-sidebar-primary: var(--sidebar-primary);
49
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
50
- --color-sidebar-accent: var(--sidebar-accent);
51
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
52
- --color-sidebar-border: var(--sidebar-border);
53
- --color-sidebar-ring: var(--sidebar-ring);
54
-
55
- /* ── Visual Data Telemetry (Charts) ──────────────────────────────────────── */
56
- --color-chart-1: var(--chart-1);
57
- --color-chart-2: var(--chart-2);
58
- --color-chart-3: var(--chart-3);
59
- --color-chart-4: var(--chart-4);
60
- --color-chart-5: var(--chart-5);
61
-
62
- /* ── Component Control Dimensions ────────────────────────────────────────── */
63
- --height-control-xs: var(--control-height-xs, 1.75rem);
64
- --height-control-sm: var(--control-height-sm, 2rem);
65
- --height-control-md: var(--control-height-md, 2.25rem);
66
- --height-control-lg: var(--control-height-lg, 2.5rem);
67
- --height-control-xl: var(--control-height-xl, 3rem);
68
-
69
- /* ── Icon Sizing Tokens ──────────────────────────────────────────────────── */
70
- --size-icon-xs: var(--icon-xs, 0.875rem);
71
- --size-icon-sm: var(--icon-sm, 1rem);
72
- --size-icon-md: var(--icon-md, 1.25rem);
73
- --size-icon-lg: var(--icon-lg, 1.5rem);
74
- --size-icon-xl: var(--icon-xl, 2rem);
75
- }
76
-
77
- /* ── Cybernetic Grid & Graph Topologies ────────────────────────────────────── */
78
- @utility execution-grid {
79
- background-image:
80
- linear-gradient(var(--border) 1px, transparent 1px),
81
- linear-gradient(90deg, var(--border) 1px, transparent 1px);
82
- background-size: 36px 36px;
83
- mask-image: linear-gradient(to bottom, black, transparent 72%);
84
- }
85
-
86
- @utility topology-grid {
87
- background-image: radial-gradient(
88
- circle at center,
89
- var(--border) 1px,
90
- transparent 1px
91
- );
92
- background-size: 18px 18px;
93
- mask-image: linear-gradient(
94
- 90deg,
95
- transparent,
96
- black 15%,
97
- black 85%,
98
- transparent
99
- );
100
- }
101
-
102
- /* ── Live Agent Telemetry Animations ───────────────────────────────────────── */
103
- @utility animate-agent-pulse {
104
- animation: agent-pulse 1.8s ease-in-out infinite;
105
- }
106
-
107
- @utility animate-signal-travel {
108
- animation: signal-travel 1.5s linear infinite;
109
- }
110
-
111
- @utility animate-progress-flow {
112
- animation: progress-flow 1.8s ease-in-out infinite;
113
- }
114
-
115
- @utility runner-enter {
116
- animation: runner-enter 260ms ease-out both;
117
- }
118
-
119
- @keyframes agent-pulse {
120
- 0%,
121
- 100% {
122
- opacity: 0.55;
123
- transform: scale(0.9);
124
- }
125
- 50% {
126
- opacity: 1;
127
- transform: scale(1.15);
128
- }
129
- }
130
-
131
- @keyframes signal-travel {
132
- from {
133
- left: 0;
134
- }
135
- to {
136
- left: calc(100% - 0.5rem);
137
- }
138
- }
139
-
140
- @keyframes progress-flow {
141
- 0%,
142
- 100% {
143
- opacity: 0.55;
144
- }
145
- 50% {
146
- opacity: 1;
147
- }
148
- }
149
-
150
- @keyframes runner-enter {
151
- from {
152
- opacity: 0;
153
- transform: translateY(6px);
154
- }
155
- to {
156
- opacity: 1;
157
- transform: translateY(0);
158
- }
159
- }
7
+ @import "@yuva-devlab/tokens/preset.css";
8
+ @import "./styles.css";
@@ -0,0 +1 @@
1
+ @import "@yuva-devlab/tokens/root.css";
@@ -1,6 +1,18 @@
1
- @import "tailwindcss";
2
- @import "./preset.css";
1
+ /**
2
+ * @file src/styles/styles.css
3
+ * @description Master stylesheet for @yuva-devlab/ui.
4
+ * Architecture: Tokens (@yuva-devlab/tokens) -> Common Primitives -> Component Styles.
5
+ * Zero Tailwind dependency. Pure CSS with scoped dl-* classes.
6
+ */
3
7
 
4
- /* ── Brand Scoped Themes ─────────────────────────────────────────────────── */
5
- @import "./themes/finai.css";
6
- @import "./themes/orchestrai.css";
8
+ /* ── 0. Establish Layer Precedence (utilities > dl-components > dl-base) ─── */
9
+ @layer dl-base, dl-components, utilities;
10
+
11
+ /* ── 1. Design Tokens & Theme Baseline ───────────────────────────────────── */
12
+ @import "@yuva-devlab/tokens/styles.css";
13
+
14
+ /* ── 2. Common Animations & Primitives ───────────────────────────────────── */
15
+ @import "./common.css";
16
+
17
+ /* ── 3. Modular Scoped Component Styles ─────────────────────────────────── */
18
+ @import "./components.css";
@@ -1,114 +1 @@
1
- /**
2
- * FinAI Theme Preset — Emerald / Forest Green Palette
3
- * Modern OKLCH color spaces optimized for trust, clarity, and financial wellness.
4
- */
5
-
6
- :root,
7
- [data-brand="finai"],
8
- [data-theme="finai"] {
9
- --radius: 0.75rem;
10
- --background: oklch(0.985 0.001 247);
11
- --foreground: oklch(0.21 0.02 260);
12
- --card: oklch(1 0 0);
13
- --card-foreground: oklch(0.21 0.02 260);
14
- --popover: oklch(1 0 0);
15
- --popover-foreground: oklch(0.21 0.02 260);
16
- --primary: oklch(0.63 0.14 156);
17
- --primary-foreground: oklch(0.99 0.005 150);
18
- --secondary: oklch(0.965 0.003 260);
19
- --secondary-foreground: oklch(0.21 0.02 260);
20
- --muted: oklch(0.965 0.003 260);
21
- --muted-foreground: oklch(0.52 0.015 260);
22
- --accent: oklch(0.95 0.03 156);
23
- --accent-foreground: oklch(0.35 0.09 156);
24
- --destructive: oklch(0.6 0.22 25);
25
- --destructive-foreground: oklch(0.99 0.005 0);
26
- --warning: oklch(0.75 0.14 80);
27
- --warning-foreground: oklch(0.2 0.02 80);
28
- --border: oklch(0.92 0.005 260);
29
- --input: oklch(0.92 0.005 260);
30
- --ring: oklch(0.63 0.14 156);
31
- --sidebar: oklch(1 0 0);
32
- --sidebar-foreground: oklch(0.21 0.02 260);
33
- --sidebar-primary: oklch(0.63 0.14 156);
34
- --sidebar-primary-foreground: oklch(0.99 0.005 150);
35
- --sidebar-accent: oklch(0.95 0.03 156);
36
- --sidebar-accent-foreground: oklch(0.35 0.09 156);
37
- --sidebar-border: oklch(0.93 0.005 260);
38
- --sidebar-ring: oklch(0.63 0.14 156);
39
- --chart-1: oklch(0.63 0.14 156);
40
- --chart-2: oklch(0.55 0.02 260);
41
- --chart-3: oklch(0.75 0.04 156);
42
- --chart-4: oklch(0.7 0.15 60);
43
- --chart-5: oklch(0.6 0.18 25);
44
-
45
- /* ── Sizing, Spacing & Layout Tokens ───────────────────────────────────── */
46
- --control-height-xs: 1.75rem;
47
- --control-height-sm: 2rem;
48
- --control-height-md: 2.375rem;
49
- --control-height-lg: 2.75rem;
50
- --control-height-xl: 3.25rem;
51
-
52
- --icon-xs: 0.75rem;
53
- --icon-sm: 0.875rem;
54
- --icon-md: 1rem;
55
- --icon-lg: 1.25rem;
56
- --icon-xl: 1.5rem;
57
-
58
- --space-1: 0.25rem;
59
- --space-2: 0.5rem;
60
- --space-3: 0.75rem;
61
- --space-4: 1rem;
62
- --space-5: 1.25rem;
63
- --space-6: 1.5rem;
64
- --space-8: 2rem;
65
- --space-10: 2.5rem;
66
-
67
- --card-padding: var(--space-5);
68
- --dialog-padding: var(--space-6);
69
- --form-field-gap: var(--space-4);
70
- --section-gap: var(--space-6);
71
- --table-row-padding-x: var(--space-6);
72
- --table-row-padding-y: var(--space-4);
73
- }
74
-
75
- .dark,
76
- [data-theme="dark"],
77
- [data-theme="finai-dark"],
78
- [data-brand="finai"].dark,
79
- [data-brand="finai"][data-theme="dark"] {
80
- --background: oklch(0.16 0.015 260);
81
- --foreground: oklch(0.97 0.003 260);
82
- --card: oklch(0.2 0.015 260);
83
- --card-foreground: oklch(0.97 0.003 260);
84
- --popover: oklch(0.2 0.015 260);
85
- --popover-foreground: oklch(0.97 0.003 260);
86
- --primary: oklch(0.7 0.15 156);
87
- --primary-foreground: oklch(0.15 0.02 260);
88
- --secondary: oklch(0.25 0.015 260);
89
- --secondary-foreground: oklch(0.97 0.003 260);
90
- --muted: oklch(0.25 0.015 260);
91
- --muted-foreground: oklch(0.7 0.01 260);
92
- --accent: oklch(0.3 0.05 156);
93
- --accent-foreground: oklch(0.9 0.08 156);
94
- --destructive: oklch(0.65 0.2 25);
95
- --destructive-foreground: oklch(0.97 0.003 0);
96
- --warning: oklch(0.75 0.14 80);
97
- --warning-foreground: oklch(0.15 0.02 80);
98
- --border: oklch(1 0 0 / 8%);
99
- --input: oklch(1 0 0 / 12%);
100
- --ring: oklch(0.7 0.15 156);
101
- --sidebar: oklch(0.18 0.015 260);
102
- --sidebar-foreground: oklch(0.97 0.003 260);
103
- --sidebar-primary: oklch(0.7 0.15 156);
104
- --sidebar-primary-foreground: oklch(0.15 0.02 260);
105
- --sidebar-accent: oklch(0.26 0.03 156);
106
- --sidebar-accent-foreground: oklch(0.97 0.003 260);
107
- --sidebar-border: oklch(1 0 0 / 8%);
108
- --sidebar-ring: oklch(0.7 0.15 156);
109
- --chart-1: oklch(0.7 0.15 156);
110
- --chart-2: oklch(0.6 0.02 260);
111
- --chart-3: oklch(0.8 0.04 156);
112
- --chart-4: oklch(0.75 0.15 60);
113
- --chart-5: oklch(0.65 0.2 25);
114
- }
1
+ @import "@yuva-devlab/tokens/themes/finai.css";
@@ -1,75 +1 @@
1
- /**
2
- * OrchestrAI Theme Preset — Terminal Moss & Deep Slate Cybernetic Palette
3
- * Modern OKLCH color spaces optimized for high-density agent telemetry and execution logs.
4
- */
5
-
6
- [data-brand="orchestrai"],
7
- [data-theme="orchestrai"],
8
- [data-brand="orchestrai"].dark,
9
- [data-brand="orchestrai"][data-theme="dark"] {
10
- --radius: 0.5rem;
11
- --background: oklch(0.195 0.005 120);
12
- --foreground: oklch(0.93 0.012 112);
13
- --card: oklch(0.235 0.008 120);
14
- --card-foreground: oklch(0.93 0.012 112);
15
- --popover: oklch(0.235 0.008 120);
16
- --popover-foreground: oklch(0.93 0.012 112);
17
- --primary: oklch(0.77 0.12 120);
18
- --primary-foreground: oklch(0.195 0.005 120);
19
- --secondary: oklch(0.285 0.008 120);
20
- --secondary-foreground: oklch(0.91 0.01 112);
21
- --muted: oklch(0.31 0.008 120);
22
- --muted-foreground: oklch(0.67 0.015 112);
23
- --accent: oklch(0.34 0.025 120);
24
- --accent-foreground: oklch(0.9 0.015 112);
25
- --destructive: oklch(0.61 0.2 27);
26
- --destructive-foreground: oklch(0.96 0.01 90);
27
- --warning: oklch(0.72 0.13 78);
28
- --warning-foreground: oklch(0.2 0.015 78);
29
- --border: oklch(0.36 0.009 120);
30
- --input: oklch(0.36 0.009 120);
31
- --ring: oklch(0.77 0.12 120);
32
- --sidebar: oklch(0.215 0.006 120);
33
- --sidebar-foreground: oklch(0.89 0.012 112);
34
- --sidebar-primary: oklch(0.77 0.12 120);
35
- --sidebar-primary-foreground: oklch(0.195 0.005 120);
36
- --sidebar-accent: oklch(0.28 0.02 120);
37
- --sidebar-accent-foreground: oklch(0.93 0.012 112);
38
- --sidebar-border: oklch(0.32 0.008 120);
39
- --sidebar-ring: oklch(0.77 0.12 120);
40
- --overlay: oklch(0.11 0.004 120);
41
- --chart-1: oklch(0.77 0.12 120);
42
- --chart-2: oklch(0.65 0.1 190);
43
- --chart-3: oklch(0.7 0.13 78);
44
- --chart-4: oklch(0.62 0.16 310);
45
- --chart-5: oklch(0.72 0.12 40);
46
-
47
- /* ── Sizing, Spacing & Layout Tokens ───────────────────────────────────── */
48
- --control-height-xs: 1.75rem;
49
- --control-height-sm: 2rem;
50
- --control-height-md: 2.25rem;
51
- --control-height-lg: 2.5rem;
52
- --control-height-xl: 3rem;
53
-
54
- --icon-xs: 0.875rem;
55
- --icon-sm: 1rem;
56
- --icon-md: 1.25rem;
57
- --icon-lg: 1.5rem;
58
- --icon-xl: 2rem;
59
-
60
- --space-1: 0.25rem;
61
- --space-2: 0.5rem;
62
- --space-3: 0.75rem;
63
- --space-4: 1rem;
64
- --space-5: 1.25rem;
65
- --space-6: 1.5rem;
66
- --space-8: 2rem;
67
- --space-10: 2.5rem;
68
-
69
- --card-padding: var(--space-4);
70
- --dialog-padding: var(--space-5);
71
- --form-field-gap: var(--space-3);
72
- --section-gap: var(--space-5);
73
- --table-row-padding-x: var(--space-4);
74
- --table-row-padding-y: var(--space-3);
75
- }
1
+ @import "@yuva-devlab/tokens/themes/orchestrai.css";
package/dist/styles.css CHANGED
@@ -1,6 +1,18 @@
1
- @import "tailwindcss";
2
- @import "./preset.css";
1
+ /**
2
+ * @file src/styles/styles.css
3
+ * @description Master stylesheet for @yuva-devlab/ui.
4
+ * Architecture: Tokens (@yuva-devlab/tokens) -> Common Primitives -> Component Styles.
5
+ * Zero Tailwind dependency. Pure CSS with scoped dl-* classes.
6
+ */
3
7
 
4
- /* ── Brand Scoped Themes ─────────────────────────────────────────────────── */
5
- @import "./themes/finai.css";
6
- @import "./themes/orchestrai.css";
8
+ /* ── 0. Establish Layer Precedence (utilities > dl-components > dl-base) ─── */
9
+ @layer dl-base, dl-components, utilities;
10
+
11
+ /* ── 1. Design Tokens & Theme Baseline ───────────────────────────────────── */
12
+ @import "@yuva-devlab/tokens/styles.css";
13
+
14
+ /* ── 2. Common Animations & Primitives ───────────────────────────────────── */
15
+ @import "./common.css";
16
+
17
+ /* ── 3. Modular Scoped Component Styles ─────────────────────────────────── */
18
+ @import "./components.css";
@@ -1,114 +1 @@
1
- /**
2
- * FinAI Theme Preset — Emerald / Forest Green Palette
3
- * Modern OKLCH color spaces optimized for trust, clarity, and financial wellness.
4
- */
5
-
6
- :root,
7
- [data-brand="finai"],
8
- [data-theme="finai"] {
9
- --radius: 0.75rem;
10
- --background: oklch(0.985 0.001 247);
11
- --foreground: oklch(0.21 0.02 260);
12
- --card: oklch(1 0 0);
13
- --card-foreground: oklch(0.21 0.02 260);
14
- --popover: oklch(1 0 0);
15
- --popover-foreground: oklch(0.21 0.02 260);
16
- --primary: oklch(0.63 0.14 156);
17
- --primary-foreground: oklch(0.99 0.005 150);
18
- --secondary: oklch(0.965 0.003 260);
19
- --secondary-foreground: oklch(0.21 0.02 260);
20
- --muted: oklch(0.965 0.003 260);
21
- --muted-foreground: oklch(0.52 0.015 260);
22
- --accent: oklch(0.95 0.03 156);
23
- --accent-foreground: oklch(0.35 0.09 156);
24
- --destructive: oklch(0.6 0.22 25);
25
- --destructive-foreground: oklch(0.99 0.005 0);
26
- --warning: oklch(0.75 0.14 80);
27
- --warning-foreground: oklch(0.2 0.02 80);
28
- --border: oklch(0.92 0.005 260);
29
- --input: oklch(0.92 0.005 260);
30
- --ring: oklch(0.63 0.14 156);
31
- --sidebar: oklch(1 0 0);
32
- --sidebar-foreground: oklch(0.21 0.02 260);
33
- --sidebar-primary: oklch(0.63 0.14 156);
34
- --sidebar-primary-foreground: oklch(0.99 0.005 150);
35
- --sidebar-accent: oklch(0.95 0.03 156);
36
- --sidebar-accent-foreground: oklch(0.35 0.09 156);
37
- --sidebar-border: oklch(0.93 0.005 260);
38
- --sidebar-ring: oklch(0.63 0.14 156);
39
- --chart-1: oklch(0.63 0.14 156);
40
- --chart-2: oklch(0.55 0.02 260);
41
- --chart-3: oklch(0.75 0.04 156);
42
- --chart-4: oklch(0.7 0.15 60);
43
- --chart-5: oklch(0.6 0.18 25);
44
-
45
- /* ── Sizing, Spacing & Layout Tokens ───────────────────────────────────── */
46
- --control-height-xs: 1.75rem;
47
- --control-height-sm: 2rem;
48
- --control-height-md: 2.375rem;
49
- --control-height-lg: 2.75rem;
50
- --control-height-xl: 3.25rem;
51
-
52
- --icon-xs: 0.75rem;
53
- --icon-sm: 0.875rem;
54
- --icon-md: 1rem;
55
- --icon-lg: 1.25rem;
56
- --icon-xl: 1.5rem;
57
-
58
- --space-1: 0.25rem;
59
- --space-2: 0.5rem;
60
- --space-3: 0.75rem;
61
- --space-4: 1rem;
62
- --space-5: 1.25rem;
63
- --space-6: 1.5rem;
64
- --space-8: 2rem;
65
- --space-10: 2.5rem;
66
-
67
- --card-padding: var(--space-5);
68
- --dialog-padding: var(--space-6);
69
- --form-field-gap: var(--space-4);
70
- --section-gap: var(--space-6);
71
- --table-row-padding-x: var(--space-6);
72
- --table-row-padding-y: var(--space-4);
73
- }
74
-
75
- .dark,
76
- [data-theme="dark"],
77
- [data-theme="finai-dark"],
78
- [data-brand="finai"].dark,
79
- [data-brand="finai"][data-theme="dark"] {
80
- --background: oklch(0.16 0.015 260);
81
- --foreground: oklch(0.97 0.003 260);
82
- --card: oklch(0.2 0.015 260);
83
- --card-foreground: oklch(0.97 0.003 260);
84
- --popover: oklch(0.2 0.015 260);
85
- --popover-foreground: oklch(0.97 0.003 260);
86
- --primary: oklch(0.7 0.15 156);
87
- --primary-foreground: oklch(0.15 0.02 260);
88
- --secondary: oklch(0.25 0.015 260);
89
- --secondary-foreground: oklch(0.97 0.003 260);
90
- --muted: oklch(0.25 0.015 260);
91
- --muted-foreground: oklch(0.7 0.01 260);
92
- --accent: oklch(0.3 0.05 156);
93
- --accent-foreground: oklch(0.9 0.08 156);
94
- --destructive: oklch(0.65 0.2 25);
95
- --destructive-foreground: oklch(0.97 0.003 0);
96
- --warning: oklch(0.75 0.14 80);
97
- --warning-foreground: oklch(0.15 0.02 80);
98
- --border: oklch(1 0 0 / 8%);
99
- --input: oklch(1 0 0 / 12%);
100
- --ring: oklch(0.7 0.15 156);
101
- --sidebar: oklch(0.18 0.015 260);
102
- --sidebar-foreground: oklch(0.97 0.003 260);
103
- --sidebar-primary: oklch(0.7 0.15 156);
104
- --sidebar-primary-foreground: oklch(0.15 0.02 260);
105
- --sidebar-accent: oklch(0.26 0.03 156);
106
- --sidebar-accent-foreground: oklch(0.97 0.003 260);
107
- --sidebar-border: oklch(1 0 0 / 8%);
108
- --sidebar-ring: oklch(0.7 0.15 156);
109
- --chart-1: oklch(0.7 0.15 156);
110
- --chart-2: oklch(0.6 0.02 260);
111
- --chart-3: oklch(0.8 0.04 156);
112
- --chart-4: oklch(0.75 0.15 60);
113
- --chart-5: oklch(0.65 0.2 25);
114
- }
1
+ @import "@yuva-devlab/tokens/themes/finai.css";
@@ -1,75 +1 @@
1
- /**
2
- * OrchestrAI Theme Preset — Terminal Moss & Deep Slate Cybernetic Palette
3
- * Modern OKLCH color spaces optimized for high-density agent telemetry and execution logs.
4
- */
5
-
6
- [data-brand="orchestrai"],
7
- [data-theme="orchestrai"],
8
- [data-brand="orchestrai"].dark,
9
- [data-brand="orchestrai"][data-theme="dark"] {
10
- --radius: 0.5rem;
11
- --background: oklch(0.195 0.005 120);
12
- --foreground: oklch(0.93 0.012 112);
13
- --card: oklch(0.235 0.008 120);
14
- --card-foreground: oklch(0.93 0.012 112);
15
- --popover: oklch(0.235 0.008 120);
16
- --popover-foreground: oklch(0.93 0.012 112);
17
- --primary: oklch(0.77 0.12 120);
18
- --primary-foreground: oklch(0.195 0.005 120);
19
- --secondary: oklch(0.285 0.008 120);
20
- --secondary-foreground: oklch(0.91 0.01 112);
21
- --muted: oklch(0.31 0.008 120);
22
- --muted-foreground: oklch(0.67 0.015 112);
23
- --accent: oklch(0.34 0.025 120);
24
- --accent-foreground: oklch(0.9 0.015 112);
25
- --destructive: oklch(0.61 0.2 27);
26
- --destructive-foreground: oklch(0.96 0.01 90);
27
- --warning: oklch(0.72 0.13 78);
28
- --warning-foreground: oklch(0.2 0.015 78);
29
- --border: oklch(0.36 0.009 120);
30
- --input: oklch(0.36 0.009 120);
31
- --ring: oklch(0.77 0.12 120);
32
- --sidebar: oklch(0.215 0.006 120);
33
- --sidebar-foreground: oklch(0.89 0.012 112);
34
- --sidebar-primary: oklch(0.77 0.12 120);
35
- --sidebar-primary-foreground: oklch(0.195 0.005 120);
36
- --sidebar-accent: oklch(0.28 0.02 120);
37
- --sidebar-accent-foreground: oklch(0.93 0.012 112);
38
- --sidebar-border: oklch(0.32 0.008 120);
39
- --sidebar-ring: oklch(0.77 0.12 120);
40
- --overlay: oklch(0.11 0.004 120);
41
- --chart-1: oklch(0.77 0.12 120);
42
- --chart-2: oklch(0.65 0.1 190);
43
- --chart-3: oklch(0.7 0.13 78);
44
- --chart-4: oklch(0.62 0.16 310);
45
- --chart-5: oklch(0.72 0.12 40);
46
-
47
- /* ── Sizing, Spacing & Layout Tokens ───────────────────────────────────── */
48
- --control-height-xs: 1.75rem;
49
- --control-height-sm: 2rem;
50
- --control-height-md: 2.25rem;
51
- --control-height-lg: 2.5rem;
52
- --control-height-xl: 3rem;
53
-
54
- --icon-xs: 0.875rem;
55
- --icon-sm: 1rem;
56
- --icon-md: 1.25rem;
57
- --icon-lg: 1.5rem;
58
- --icon-xl: 2rem;
59
-
60
- --space-1: 0.25rem;
61
- --space-2: 0.5rem;
62
- --space-3: 0.75rem;
63
- --space-4: 1rem;
64
- --space-5: 1.25rem;
65
- --space-6: 1.5rem;
66
- --space-8: 2rem;
67
- --space-10: 2.5rem;
68
-
69
- --card-padding: var(--space-4);
70
- --dialog-padding: var(--space-5);
71
- --form-field-gap: var(--space-3);
72
- --section-gap: var(--space-5);
73
- --table-row-padding-x: var(--space-4);
74
- --table-row-padding-y: var(--space-3);
75
- }
1
+ @import "@yuva-devlab/tokens/themes/orchestrai.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuva-devlab/ui",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -22,7 +22,11 @@
22
22
  "./preset.css": "./dist/preset.css",
23
23
  "./themes/finai.css": "./dist/themes/finai.css",
24
24
  "./themes/orchestrai.css": "./dist/themes/orchestrai.css",
25
- "./package.json": "./package.json"
25
+ "./package.json": "./package.json",
26
+ "./root.css": "./dist/root.css",
27
+ "./common.css": "./dist/common.css",
28
+ "./components/*": "./dist/components/*",
29
+ "./components.css": "./dist/components.css"
26
30
  },
27
31
  "files": [
28
32
  "dist"
@@ -65,12 +69,13 @@
65
69
  "react-hook-form": "^7.71.2",
66
70
  "react-resizable-panels": "^4.6.5",
67
71
  "recharts": "^2.15.4",
68
- "sonner": "^2.0.7",
69
72
  "tailwind-merge": "^3.5.0",
70
73
  "vaul": "^1.1.2",
71
- "zod": "^3.25.76"
74
+ "zod": "^3.25.76",
75
+ "@yuva-devlab/tokens": "1.1.0"
72
76
  },
73
77
  "devDependencies": {
78
+ "@storybook/react": "^8.6.14",
74
79
  "@types/react": "^19.2.6",
75
80
  "@types/react-dom": "^19.2.6",
76
81
  "react": "^19.2.0",
@@ -80,7 +85,8 @@
80
85
  },
81
86
  "peerDependencies": {
82
87
  "react": "^19.0.0",
83
- "react-dom": "^19.0.0"
88
+ "react-dom": "^19.0.0",
89
+ "sonner": "^2.0.0"
84
90
  },
85
91
  "scripts": {
86
92
  "build": "tsup",