banhatten-ui 0.1.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.
@@ -0,0 +1,340 @@
1
+ {
2
+ "brand": {
3
+ "neutral-950": "#000000",
4
+ "neutral-900": "#131826",
5
+ "neutral-800": "#1f242e",
6
+ "neutral-700": "#3a424d",
7
+ "neutral-600": "#4e5663",
8
+ "neutral-500": "#686e7d",
9
+ "neutral-400": "#9fa5b2",
10
+ "neutral-300": "#d1d5de",
11
+ "neutral-200": "#e9ebf0",
12
+ "neutral-100": "#f1f3f7",
13
+ "neutral-50": "#f9fafc",
14
+ "neutral-25": "#ffffff",
15
+ "primary-950": "#172554",
16
+ "primary-900": "#1e3a8a",
17
+ "primary-800": "#1e40af",
18
+ "primary-700": "#1d4ed8",
19
+ "primary-600": "#2563eb",
20
+ "primary-500": "#3b82f6",
21
+ "primary-400": "#73affa",
22
+ "primary-300": "#93c5fd",
23
+ "primary-200": "#bfdbfe",
24
+ "primary-100": "#dbeafe",
25
+ "primary-50": "#eff6ff",
26
+ "success-950": "#022c22",
27
+ "success-900": "#064e3b",
28
+ "success-800": "#065f46",
29
+ "success-700": "#047857",
30
+ "success-600": "#059669",
31
+ "success-500": "#10b981",
32
+ "success-400": "#34d399",
33
+ "success-300": "#6ee7b7",
34
+ "success-200": "#a7f3d0",
35
+ "success-100": "#d1fae5",
36
+ "success-50": "#ecfdf5",
37
+ "warning-950": "#413406",
38
+ "warning-900": "#735912",
39
+ "warning-800": "#86660e",
40
+ "warning-700": "#a27607",
41
+ "warning-600": "#c89704",
42
+ "warning-500": "#eab308",
43
+ "warning-400": "#facc15",
44
+ "warning-300": "#fde047",
45
+ "warning-200": "#fef08a",
46
+ "warning-100": "#fef3c7",
47
+ "warning-50": "#fefce8",
48
+ "danger-950": "#450a0a",
49
+ "danger-900": "#7f1d1d",
50
+ "danger-800": "#991b1b",
51
+ "danger-700": "#b91c1c",
52
+ "danger-600": "#dc2626",
53
+ "danger-500": "#ef4444",
54
+ "danger-400": "#f87171",
55
+ "danger-300": "#fca5a5",
56
+ "danger-200": "#fecaca",
57
+ "danger-100": "#fee2e2",
58
+ "danger-50": "#fef2f2",
59
+ "info-950": "#172554",
60
+ "info-900": "#1e3a8a",
61
+ "info-800": "#1e40af",
62
+ "info-700": "#1d4ed8",
63
+ "info-600": "#2563eb",
64
+ "info-500": "#3b82f6",
65
+ "info-400": "#60a5fa",
66
+ "info-300": "#93c5fd",
67
+ "info-200": "#bfdbfe",
68
+ "info-100": "#dbeafe",
69
+ "info-50": "#eff6ff",
70
+ "sky-950": "#082f49",
71
+ "sky-900": "#0c4a6e",
72
+ "sky-800": "#075985",
73
+ "sky-700": "#0369a1",
74
+ "sky-600": "#0284c7",
75
+ "sky-500": "#0ea5e9",
76
+ "sky-400": "#38bdf8",
77
+ "sky-300": "#7dd3fc",
78
+ "sky-200": "#bae6fd",
79
+ "sky-100": "#e0f2fe",
80
+ "sky-50": "#f0f9ff",
81
+ "teal-950": "#042f2e",
82
+ "teal-900": "#134e4a",
83
+ "teal-800": "#115e59",
84
+ "teal-700": "#0f766e",
85
+ "teal-600": "#0d9488",
86
+ "teal-500": "#14b8a6",
87
+ "teal-400": "#2dd4bf",
88
+ "teal-300": "#5eead4",
89
+ "teal-200": "#99f6e4",
90
+ "teal-100": "#ccfbf1",
91
+ "teal-50": "#f0fdfa",
92
+ "lime-950": "#1a2e05",
93
+ "lime-900": "#365314",
94
+ "lime-800": "#3f6212",
95
+ "lime-700": "#4d7c0f",
96
+ "lime-600": "#65a30d",
97
+ "lime-500": "#84cc16",
98
+ "lime-400": "#a3e635",
99
+ "lime-300": "#bef264",
100
+ "lime-200": "#d9f99d",
101
+ "lime-100": "#ecfccb",
102
+ "lime-50": "#f7fee7",
103
+ "indigo-950": "#1e1b4b",
104
+ "indigo-900": "#312e81",
105
+ "indigo-800": "#3730a3",
106
+ "indigo-700": "#4338ca",
107
+ "indigo-600": "#4f46e5",
108
+ "indigo-500": "#6366f1",
109
+ "indigo-400": "#818cf8",
110
+ "indigo-300": "#a5b4fc",
111
+ "indigo-200": "#c7d2fe",
112
+ "indigo-100": "#e0e7ff",
113
+ "indigo-50": "#eef2ff",
114
+ "purple-950": "#3b0764",
115
+ "purple-900": "#581c87",
116
+ "purple-800": "#6b21a8",
117
+ "purple-700": "#7e22ce",
118
+ "purple-600": "#9333ea",
119
+ "purple-500": "#a855f7",
120
+ "purple-400": "#c084fc",
121
+ "purple-300": "#d8b4fe",
122
+ "purple-200": "#e9d5ff",
123
+ "purple-100": "#f3e8ff",
124
+ "purple-50": "#faf5ff",
125
+ "fuchsia-950": "#4a044e",
126
+ "fuchsia-900": "#701a75",
127
+ "fuchsia-800": "#86198f",
128
+ "fuchsia-700": "#a21caf",
129
+ "fuchsia-600": "#c026d3",
130
+ "fuchsia-500": "#d946ef",
131
+ "fuchsia-400": "#e879f9",
132
+ "fuchsia-300": "#f0abfc",
133
+ "fuchsia-200": "#f5d0fe",
134
+ "fuchsia-100": "#fae8ff",
135
+ "fuchsia-50": "#fdf4ff",
136
+ "pink-950": "#500724",
137
+ "pink-900": "#831843",
138
+ "pink-800": "#9d174d",
139
+ "pink-700": "#be185d",
140
+ "pink-600": "#db2777",
141
+ "pink-500": "#ec4899",
142
+ "pink-400": "#f472b6",
143
+ "pink-300": "#f9a8d4",
144
+ "pink-200": "#fbcfe8",
145
+ "pink-100": "#fce7f3",
146
+ "pink-50": "#fdf2f8",
147
+ "rose-950": "#4c0519",
148
+ "rose-900": "#881337",
149
+ "rose-800": "#9f1239",
150
+ "rose-700": "#be123c",
151
+ "rose-600": "#e11d48",
152
+ "rose-500": "#f43f5e",
153
+ "rose-400": "#fb7185",
154
+ "rose-300": "#fda4af",
155
+ "rose-200": "#fecdd3",
156
+ "rose-100": "#ffe4e6",
157
+ "rose-50": "#fff1f2",
158
+ "yellow-950": "#413406",
159
+ "yellow-900": "#735912",
160
+ "yellow-800": "#86660e",
161
+ "yellow-700": "#a27607",
162
+ "yellow-600": "#c89704",
163
+ "yellow-500": "#eab308",
164
+ "yellow-400": "#facc15",
165
+ "yellow-300": "#fde047",
166
+ "yellow-200": "#fef08a",
167
+ "yellow-100": "#fef3c7",
168
+ "yellow-50": "#fefce8"
169
+ },
170
+ "alias": {
171
+ "bg-primary": "{brand.neutral-25}",
172
+ "bg-primary-alt": "{brand.neutral-25}",
173
+ "bg-primary-inverse": "{brand.neutral-900}",
174
+ "bg-secondary": "{brand.neutral-50}",
175
+ "bg-secondary-alt": "{brand.neutral-50}",
176
+ "bg-secondary-subtle": "{brand.neutral-50}",
177
+ "bg-secondary-inverse": "{brand.neutral-800}",
178
+ "bg-tertiary": "{brand.neutral-100}",
179
+ "bg-quarterary": "{brand.neutral-200}",
180
+ "bg-inactive": "{brand.neutral-100}",
181
+ "bg-inactive-subtle": "{brand.neutral-50}",
182
+ "bg-always-light": "{brand.neutral-25}",
183
+ "bg-always-dark": "#191b21",
184
+ "bg-on-overlay": "{brand.neutral-25}",
185
+ "bg-overlay": "#8c8d90",
186
+ "highlight": "{brand.neutral-25}",
187
+ "highlight-hover": "rgba(0, 0, 0, 0.04)",
188
+ "highlight-pressed": "#ededed",
189
+ "highlight-inactive": "#f5f5f5",
190
+ "highlight-active": "#e8e8e8",
191
+ "bg-brand": "{brand.primary-600}",
192
+ "bg-brand-hover": "{brand.primary-700}",
193
+ "bg-brand-secondary": "{brand.primary-100}",
194
+ "bg-brand-tertiary": "{brand.primary-50}",
195
+ "bg-brand-tertiary-hover": "{brand.primary-100}",
196
+ "bg-brand-strong": "{brand.primary-800}",
197
+ "bg-success": "{brand.success-600}",
198
+ "bg-success-secondary": "{brand.success-100}",
199
+ "bg-success-tertiary": "{brand.success-50}",
200
+ "bg-danger": "{brand.danger-600}",
201
+ "bg-danger-hover": "{brand.danger-700}",
202
+ "bg-danger-secondary": "{brand.danger-100}",
203
+ "bg-danger-tertiary": "{brand.danger-50}",
204
+ "bg-danger-strong": "{brand.danger-800}",
205
+ "bg-warning": "{brand.warning-600}",
206
+ "bg-warning-secondary": "{brand.warning-100}",
207
+ "bg-warning-tertiary": "{brand.warning-50}",
208
+ "bg-info": "{brand.sky-600}",
209
+ "bg-info-secondary": "{brand.sky-100}",
210
+ "bg-info-tertiary": "{brand.sky-50}",
211
+ "border-default": "{brand.neutral-200}",
212
+ "border-secondary": "{brand.neutral-100}",
213
+ "border-strong": "{brand.neutral-300}",
214
+ "border-subtract": "{brand.neutral-25}",
215
+ "border-inactive": "{brand.neutral-300}",
216
+ "border-inactive-subtle": "{brand.neutral-200}",
217
+ "border-focused": "#d3e0fb",
218
+ "border-focused-danger": "#fac7c7",
219
+ "border-brand": "{brand.primary-600}",
220
+ "border-brand-secondary": "{brand.primary-300}",
221
+ "border-brand-tertiary": "{brand.primary-50}",
222
+ "border-success": "{brand.success-600}",
223
+ "border-success-secondary": "{brand.success-300}",
224
+ "border-success-tertiary": "{brand.success-50}",
225
+ "border-danger": "{brand.danger-600}",
226
+ "border-danger-secondary": "{brand.danger-300}",
227
+ "border-danger-tertiary": "{brand.danger-50}",
228
+ "border-warning": "{brand.warning-600}",
229
+ "border-warning-secondary": "{brand.warning-300}",
230
+ "border-warning-tertiary": "{brand.warning-50}",
231
+ "border-info": "{brand.sky-600}",
232
+ "border-info-subtle": "{brand.sky-300}",
233
+ "icon-primary": "{brand.neutral-800}",
234
+ "icon-primary-inverse": "{brand.neutral-25}",
235
+ "icon-secondary": "{brand.neutral-600}",
236
+ "icon-secondary-hover": "{brand.neutral-700}",
237
+ "icon-secondary-inverse": "{brand.neutral-400}",
238
+ "icon-tertiary": "{brand.neutral-500}",
239
+ "icon-tertiary-hover": "{brand.neutral-600}",
240
+ "icon-inactive": "{brand.neutral-400}",
241
+ "icon-inactive-subtle": "{brand.neutral-300}",
242
+ "icon-on-color": "{brand.neutral-25}",
243
+ "icon-on-color-inverse": "{brand.neutral-700}",
244
+ "icon-brand": "{brand.primary-600}",
245
+ "icon-brand-secondary": "{brand.primary-500}",
246
+ "icon-success": "{brand.success-600}",
247
+ "icon-success-secondary": "{brand.success-500}",
248
+ "icon-success-strong": "{brand.success-800}",
249
+ "icon-danger": "{brand.danger-600}",
250
+ "icon-danger-secondary": "{brand.danger-500}",
251
+ "icon-danger-strong": "{brand.danger-800}",
252
+ "icon-warning": "{brand.warning-600}",
253
+ "icon-warning-secondary": "{brand.warning-500}",
254
+ "icon-warning-strong": "{brand.warning-800}",
255
+ "icon-info": "{brand.sky-600}",
256
+ "icon-info-secondary": "{brand.sky-500}",
257
+ "icon-info-strong": "{brand.sky-800}",
258
+ "text-primary": "{brand.neutral-800}",
259
+ "text-primary-inverse": "{brand.neutral-25}",
260
+ "text-secondary": "{brand.neutral-600}",
261
+ "text-secondary-hover": "{brand.neutral-700}",
262
+ "text-secondary-inverse": "{brand.neutral-400}",
263
+ "text-tertiary": "{brand.neutral-500}",
264
+ "text-tertiary-hover": "{brand.neutral-600}",
265
+ "text-inactive": "{brand.neutral-500}",
266
+ "text-inactive-subtle": "{brand.neutral-400}",
267
+ "text-placeholder": "{brand.neutral-500}",
268
+ "text-on-color": "{brand.neutral-25}",
269
+ "text-on-color-inverse": "{brand.neutral-700}",
270
+ "text-brand": "{brand.primary-600}",
271
+ "text-brand-strong": "{brand.primary-800}",
272
+ "text-success": "{brand.success-600}",
273
+ "text-success-strong": "{brand.success-800}",
274
+ "text-danger": "{brand.danger-600}",
275
+ "text-danger-strong": "{brand.danger-800}",
276
+ "text-error": "{brand.danger-600}",
277
+ "text-warning": "{brand.warning-600}",
278
+ "text-warning-strong": "{brand.warning-800}",
279
+ "text-info": "{brand.sky-800}",
280
+ "text-info-strong": "{brand.sky-800}",
281
+ "component-input-bg": "{brand.neutral-25}",
282
+ "component-input-bg-hover": "{brand.neutral-50}",
283
+ "component-button-brand-bg": "{brand.primary-600}",
284
+ "component-button-brand-bg-hover": "{brand.primary-700}",
285
+ "component-button-secondary-bg": "{brand.neutral-25}",
286
+ "component-button-secondary-bg-hover": "{brand.neutral-100}",
287
+ "component-button-secondary-fg": "{brand.neutral-800}",
288
+ "component-button-secondary-fg-hover": "{brand.neutral-800}",
289
+ "component-button-danger-bg": "{brand.danger-600}",
290
+ "component-button-danger-bg-hover": "{brand.danger-700}",
291
+ "component-button-tertiary-bg-hover": "{brand.neutral-100}",
292
+ "component-button-tertiary-color-fg": "{brand.neutral-800}",
293
+ "component-button-tertiary-color-fg-hover": "{brand.neutral-800}",
294
+ "component-button-link-color-fg": "{brand.primary-700}",
295
+ "component-button-link-color-fg-hover": "{brand.primary-800}",
296
+ "component-toggle-brand-bg": "{brand.primary-600}",
297
+ "component-toggle-brand-bg-hover": "{brand.primary-700}"
298
+ },
299
+ "shadow": {
300
+ "xs": "0px 1px 2px 0px rgba(15, 17, 20, 0.06)",
301
+ "sm": "0px 1px 3px 0px rgba(15, 17, 20, 0.10)",
302
+ "md": "0px 1.75px 4px -1px rgba(15, 17, 20, 0.10)",
303
+ "lg": "0px 10px 16px -3px rgba(15, 17, 20, 0.06), 0px 4px 6px -2px rgba(15, 17, 20, 0.04)",
304
+ "xl": "0px 20px 25px -5px rgba(15, 17, 20, 0.08), 0px 10px 10px -5px rgba(15, 17, 20, 0.06)",
305
+ "2xl": "0px 25px 50px -12px rgba(15, 17, 20, 0.20)",
306
+ "flat": "0px 1px 0px 0px rgba(228, 228, 231, 1.0)",
307
+ "inner": "inset 0px 2px 4px 0px rgba(15, 17, 20, 0.08)"
308
+ },
309
+ "radius": {
310
+ "none": "0px",
311
+ "xxs": "2px",
312
+ "xs": "4px",
313
+ "sm": "8px",
314
+ "md": "12px",
315
+ "lg": "16px",
316
+ "xl": "20px",
317
+ "2xl": "28px",
318
+ "full": "9999px"
319
+ },
320
+ "spacing": {
321
+ "none": "0px",
322
+ "xxs": "0.125rem",
323
+ "xs": "0.25rem",
324
+ "sm": "0.5rem",
325
+ "md": "0.75rem",
326
+ "lg": "1rem",
327
+ "xl": "1.25rem",
328
+ "2xl": "1.5rem",
329
+ "3xl": "1.75rem",
330
+ "4xl": "2rem",
331
+ "5xl": "2.5rem",
332
+ "6xl": "3rem",
333
+ "7xl": "4rem",
334
+ "8xl": "5rem",
335
+ "9xl": "6rem",
336
+ "10xl": "8rem",
337
+ "11xl": "10rem",
338
+ "12xl": "12rem"
339
+ }
340
+ }
package/package.json ADDED
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "banhatten-ui",
3
+ "version": "0.1.0",
4
+ "description": "Banhatten Design System - React component library with token-based theming",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./lib/utils": {
15
+ "types": "./dist/lib/utils.d.ts",
16
+ "import": "./dist/lib/utils.mjs",
17
+ "require": "./dist/lib/utils.js"
18
+ },
19
+ "./tokens": "./dist/tokens/tokens.json",
20
+ "./tokens/tailwind.config": {
21
+ "types": "./dist/tokens/tailwind.config.d.ts",
22
+ "import": "./dist/tokens/tailwind.config.mjs",
23
+ "require": "./dist/tokens/tailwind.config.js"
24
+ }
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "README.md"
29
+ ],
30
+ "scripts": {
31
+ "build": "tsup"
32
+ },
33
+ "keywords": [
34
+ "react",
35
+ "components",
36
+ "ui",
37
+ "design-system",
38
+ "tailwind",
39
+ "typescript"
40
+ ],
41
+ "author": "",
42
+ "license": "ISC",
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/khaaledashraaf/banhatten-ds.git",
46
+ "directory": "packages/ui"
47
+ },
48
+ "bugs": {
49
+ "url": "https://github.com/khaaledashraaf/banhatten-ds/issues"
50
+ },
51
+ "homepage": "https://github.com/khaaledashraaf/banhatten-ds#readme",
52
+ "dependencies": {
53
+ "@radix-ui/react-slot": "^1.2.4",
54
+ "@radix-ui/react-tooltip": "^1.2.4",
55
+ "class-variance-authority": "^0.7.1",
56
+ "clsx": "^2.1.1",
57
+ "lucide-react": "^0.563.0",
58
+ "material-symbols": "^0.40.2",
59
+ "tailwind-merge": "^3.4.0"
60
+ },
61
+ "peerDependencies": {
62
+ "react": "^19.0.0",
63
+ "react-dom": "^19.0.0"
64
+ },
65
+ "devDependencies": {
66
+ "@types/react": "^19.0.0",
67
+ "@types/react-dom": "^19.2.3",
68
+ "tailwindcss": "^4.0.0",
69
+ "typescript": "^5.0.0"
70
+ }
71
+ }