@hai3/uikit 0.1.0-alpha.1 → 0.1.0-alpha.3

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": "@hai3/uikit",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0-alpha.3",
4
4
  "description": "HAI3 UI Kit - Reusable React components built on shadcn/ui",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -52,21 +52,36 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@hai3/uikit-contracts": "*",
55
+ "@radix-ui/react-accordion": "^1.2.2",
56
+ "@radix-ui/react-aspect-ratio": "^1.1.8",
55
57
  "@radix-ui/react-avatar": "^1.1.10",
58
+ "@radix-ui/react-checkbox": "^1.3.3",
59
+ "@radix-ui/react-collapsible": "^1.1.3",
60
+ "@radix-ui/react-context-menu": "^2.2.6",
56
61
  "@radix-ui/react-dialog": "^1.1.15",
57
62
  "@radix-ui/react-dropdown-menu": "^2.1.16",
63
+ "@radix-ui/react-hover-card": "^1.1.4",
64
+ "@radix-ui/react-menubar": "^1.1.16",
58
65
  "@radix-ui/react-navigation-menu": "^1.2.14",
66
+ "@radix-ui/react-popover": "^1.1.4",
59
67
  "@radix-ui/react-progress": "^1.1.1",
68
+ "@radix-ui/react-scroll-area": "^1.2.10",
60
69
  "@radix-ui/react-select": "^2.2.6",
70
+ "@radix-ui/react-separator": "^1.1.8",
61
71
  "@radix-ui/react-slider": "^1.2.2",
62
72
  "@radix-ui/react-slot": "^1.2.3",
63
73
  "@radix-ui/react-switch": "^1.2.6",
74
+ "@radix-ui/react-tabs": "^1.1.13",
64
75
  "@radix-ui/react-tooltip": "^1.1.5",
65
76
  "class-variance-authority": "^0.7.1",
66
77
  "clsx": "^2.1.1",
78
+ "embla-carousel-react": "^8.0.0",
67
79
  "lodash": "^4.17.21",
68
80
  "lucide-react": "^0.344.0",
69
- "tailwind-merge": "^2.6.0"
81
+ "react-resizable-panels": "^3.0.6",
82
+ "recharts": "^2.15.0",
83
+ "tailwind-merge": "^2.6.0",
84
+ "vaul": "^1.1.2"
70
85
  },
71
86
  "peerDependencies": {
72
87
  "@hai3/uikit-contracts": "*",
@@ -5,7 +5,7 @@
5
5
  * Maps to shadcn CSS variable naming convention
6
6
  */
7
7
 
8
- import type { Theme } from './themeTypes';
8
+ import type { Theme } from '@hai3/uikit-contracts';
9
9
 
10
10
  /**
11
11
  * Normalize color value for CSS variable
@@ -68,6 +68,13 @@ export const applyTheme = (theme: Theme, themeName?: string): void => {
68
68
  root.style.setProperty('--success', hslToVar(theme.colors.success));
69
69
  root.style.setProperty('--info', hslToVar(theme.colors.info));
70
70
 
71
+ // Apply chart colors (OKLCH format - pass as-is)
72
+ root.style.setProperty('--chart-1', theme.colors.chart[1]);
73
+ root.style.setProperty('--chart-2', theme.colors.chart[2]);
74
+ root.style.setProperty('--chart-3', theme.colors.chart[3]);
75
+ root.style.setProperty('--chart-4', theme.colors.chart[4]);
76
+ root.style.setProperty('--chart-5', theme.colors.chart[5]);
77
+
71
78
  // Apply left menu colors
72
79
  root.style.setProperty('--left-menu', hslToVar(theme.colors.mainMenu.DEFAULT));
73
80
  root.style.setProperty('--left-menu-foreground', hslToVar(theme.colors.mainMenu.foreground));
@@ -1,114 +0,0 @@
1
- /**
2
- * Theme type definitions for HAI3
3
- */
4
-
5
- export interface Theme {
6
- name: string;
7
- colors: {
8
- primary: string;
9
- secondary: string;
10
- accent: string;
11
- background: string;
12
- foreground: string;
13
- muted: string;
14
- border: string;
15
- error: string;
16
- warning: string;
17
- success: string;
18
- info: string;
19
- mainMenu: {
20
- DEFAULT: string;
21
- foreground: string;
22
- hover: string;
23
- selected: string;
24
- border: string;
25
- };
26
- chat: {
27
- leftMenu: {
28
- DEFAULT: string;
29
- foreground: string;
30
- hover: string;
31
- selected: string;
32
- border: string;
33
- };
34
- message: {
35
- user: {
36
- background: string;
37
- foreground: string;
38
- };
39
- assistant: {
40
- background: string;
41
- foreground: string;
42
- };
43
- };
44
- input: {
45
- background: string;
46
- foreground: string;
47
- border: string;
48
- };
49
- codeBlock: {
50
- background: string;
51
- foreground: string;
52
- border: string;
53
- headerBackground: string;
54
- };
55
- };
56
- };
57
- spacing: {
58
- xs: string;
59
- sm: string;
60
- md: string;
61
- lg: string;
62
- xl: string;
63
- '2xl': string;
64
- '3xl': string;
65
- };
66
- typography: {
67
- fontFamily: {
68
- sans: string[];
69
- mono: string[];
70
- };
71
- fontSize: {
72
- xs: string;
73
- sm: string;
74
- base: string;
75
- lg: string;
76
- xl: string;
77
- '2xl': string;
78
- '3xl': string;
79
- '4xl': string;
80
- '5xl': string;
81
- };
82
- fontWeight: {
83
- normal: string;
84
- medium: string;
85
- semibold: string;
86
- bold: string;
87
- };
88
- lineHeight: {
89
- tight: string;
90
- normal: string;
91
- relaxed: string;
92
- };
93
- };
94
- borderRadius: {
95
- none: string;
96
- sm: string;
97
- md: string;
98
- lg: string;
99
- xl: string;
100
- full: string;
101
- };
102
- shadows: {
103
- sm: string;
104
- md: string;
105
- lg: string;
106
- xl: string;
107
- };
108
- transitions: {
109
- fast: string;
110
- base: string;
111
- slow: string;
112
- slower: string;
113
- };
114
- }