haze-ui 1.28.0 → 1.29.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 (83) hide show
  1. package/README.md +81 -33
  2. package/dist/components/Chart/chart-elements.js +108 -47
  3. package/dist/components/CountUp/CountUp.js +45 -0
  4. package/dist/components/CountUp/index.js +3 -0
  5. package/dist/components/Ellipsis/Ellipsis.js +53 -0
  6. package/dist/components/Ellipsis/index.js +3 -0
  7. package/dist/components/LocaleProvider/ar-sa.js +233 -0
  8. package/dist/components/LocaleProvider/de-de.js +233 -0
  9. package/dist/components/LocaleProvider/es-es.js +233 -0
  10. package/dist/components/LocaleProvider/fr-fr.js +233 -0
  11. package/dist/components/LocaleProvider/index.js +10 -2
  12. package/dist/components/LocaleProvider/it-it.js +233 -0
  13. package/dist/components/LocaleProvider/ja-jp.js +11 -0
  14. package/dist/components/LocaleProvider/ko-kr.js +233 -0
  15. package/dist/components/LocaleProvider/locale.js +11 -0
  16. package/dist/components/LocaleProvider/pt-br.js +233 -0
  17. package/dist/components/LocaleProvider/ru-ru.js +233 -0
  18. package/dist/components/LocaleProvider/zh-cn.js +11 -0
  19. package/dist/components/QRCode/QRCode.js +43 -0
  20. package/dist/components/QRCode/index.js +3 -0
  21. package/dist/components/Result/Result.js +229 -0
  22. package/dist/components/Result/index.js +3 -0
  23. package/dist/components/TreeSelect/TreeSelect.js +230 -0
  24. package/dist/components/TreeSelect/index.js +3 -0
  25. package/dist/components/Typography/Typography.js +39 -12
  26. package/dist/css/count-up.css +2 -0
  27. package/dist/css/ellipsis.css +2 -0
  28. package/dist/css/qr-code.css +2 -0
  29. package/dist/css/result.css +2 -0
  30. package/dist/css/tokens.css +3 -1
  31. package/dist/css/tree-select.css +3 -0
  32. package/dist/css/typography.css +1 -1
  33. package/dist/css-manifest.json +19 -0
  34. package/dist/design-tokens/dark.json +355 -0
  35. package/dist/design-tokens/light.json +355 -0
  36. package/dist/haze-ui.css +10 -2
  37. package/dist/index.js +233 -218
  38. package/dist/mcp-docs.json +9383 -0
  39. package/dist/registry.json +132 -30
  40. package/dist/tokens/brands.js +21 -0
  41. package/dist/tokens/density.js +6 -0
  42. package/dist/tokens/index.js +6 -5
  43. package/dist/tokens/palette.js +63 -55
  44. package/dist/types/components/Chart/Chart.d.ts +15 -11
  45. package/dist/types/components/Chart/chart-elements.d.ts +15 -7
  46. package/dist/types/components/CountUp/CountUp.d.ts +20 -0
  47. package/dist/types/components/CountUp/index.d.ts +2 -0
  48. package/dist/types/components/Ellipsis/Ellipsis.d.ts +19 -0
  49. package/dist/types/components/Ellipsis/index.d.ts +2 -0
  50. package/dist/types/components/LocaleProvider/ar-sa.d.ts +22 -0
  51. package/dist/types/components/LocaleProvider/de-de.d.ts +15 -0
  52. package/dist/types/components/LocaleProvider/es-es.d.ts +15 -0
  53. package/dist/types/components/LocaleProvider/fr-fr.d.ts +15 -0
  54. package/dist/types/components/LocaleProvider/index.d.ts +8 -0
  55. package/dist/types/components/LocaleProvider/it-it.d.ts +15 -0
  56. package/dist/types/components/LocaleProvider/ko-kr.d.ts +15 -0
  57. package/dist/types/components/LocaleProvider/locale.d.ts +11 -0
  58. package/dist/types/components/LocaleProvider/pt-br.d.ts +16 -0
  59. package/dist/types/components/LocaleProvider/ru-ru.d.ts +15 -0
  60. package/dist/types/components/QRCode/QRCode.d.ts +33 -0
  61. package/dist/types/components/QRCode/index.d.ts +2 -0
  62. package/dist/types/components/Result/Result.d.ts +16 -0
  63. package/dist/types/components/Result/index.d.ts +2 -0
  64. package/dist/types/components/TagGroup/SortableTagGroup.d.ts +3 -2
  65. package/dist/types/components/TagGroup/TagGroup.d.ts +1 -1
  66. package/dist/types/components/TagInput/SortableTagInput.d.ts +2 -3
  67. package/dist/types/components/TagInput/SortableTagInputCore.d.ts +3 -3
  68. package/dist/types/components/TreeSelect/TreeSelect.d.ts +93 -0
  69. package/dist/types/components/TreeSelect/index.d.ts +2 -0
  70. package/dist/types/components/Typography/Typography.d.ts +12 -3
  71. package/dist/types/components/Typography/index.d.ts +1 -1
  72. package/dist/types/index.d.ts +15 -2
  73. package/dist/types/tokens/brands.d.ts +28 -0
  74. package/dist/types/tokens/density.d.ts +3 -0
  75. package/dist/types/tokens/index.d.ts +1 -0
  76. package/dist/types/tokens/palette.d.ts +38 -1
  77. package/dist/types/tokens/spacing.d.ts +13 -0
  78. package/dist/types/utils/sortable-shared.d.ts +4 -4
  79. package/mcp/index.mjs +64 -0
  80. package/mcp/server.mjs +89 -0
  81. package/mcp/server.test.mjs +281 -0
  82. package/mcp/tools.mjs +240 -0
  83. package/package.json +61 -43
@@ -0,0 +1,355 @@
1
+ {
2
+ "$schema": "https://tr.designtokens.org/format/",
3
+ "haze": {
4
+ "color": {
5
+ "primary": {
6
+ "$type": "color",
7
+ "$value": "oklch(0.673 0.174 258.5)",
8
+ "$description": "Primary"
9
+ },
10
+ "primary-hover": {
11
+ "$type": "color",
12
+ "$value": "oklch(0.723 0.145 258.5)",
13
+ "$description": "Primary Hover"
14
+ },
15
+ "primary-active": {
16
+ "$type": "color",
17
+ "$value": "oklch(0.763 0.122 258.5)",
18
+ "$description": "Primary Active"
19
+ },
20
+ "primary-subtle": {
21
+ "$type": "color",
22
+ "$value": "oklch(0.260 0.061 258.5)",
23
+ "$description": "Primary Subtle"
24
+ },
25
+ "bg": {
26
+ "$type": "color",
27
+ "$value": "oklch(0.182 0.000 0.0)",
28
+ "$description": "Background"
29
+ },
30
+ "bg-subtle": {
31
+ "$type": "color",
32
+ "$value": "oklch(0.235 0.000 0.0)",
33
+ "$description": "Background Subtle"
34
+ },
35
+ "bg-muted": {
36
+ "$type": "color",
37
+ "$value": "oklch(0.285 0.000 0.0)",
38
+ "$description": "Background Muted"
39
+ },
40
+ "text": {
41
+ "$type": "color",
42
+ "$value": "oklch(0.931 0.000 0.0)",
43
+ "$description": "Text"
44
+ },
45
+ "text-secondary": {
46
+ "$type": "color",
47
+ "$value": "oklch(0.757 0.000 0.0)",
48
+ "$description": "Text Secondary"
49
+ },
50
+ "text-muted": {
51
+ "$type": "color",
52
+ "$value": "oklch(0.559 0.000 0.0)",
53
+ "$description": "Text Muted"
54
+ },
55
+ "text-inverse": {
56
+ "$type": "color",
57
+ "$value": "oklch(0.218 0.000 0.0)",
58
+ "$description": "Text Inverse"
59
+ },
60
+ "border": {
61
+ "$type": "color",
62
+ "$value": "oklch(0.321 0.000 0.0)",
63
+ "$description": "Border"
64
+ },
65
+ "border-hover": {
66
+ "$type": "color",
67
+ "$value": "oklch(0.401 0.000 0.0)",
68
+ "$description": "Border Hover"
69
+ },
70
+ "success": {
71
+ "$type": "color",
72
+ "$value": "oklch(0.723 0.192 149.6)",
73
+ "$description": "Success"
74
+ },
75
+ "success-hover": {
76
+ "$type": "color",
77
+ "$value": "oklch(0.773 0.192 149.6)",
78
+ "$description": "Success Hover"
79
+ },
80
+ "success-active": {
81
+ "$type": "color",
82
+ "$value": "oklch(0.813 0.192 149.6)",
83
+ "$description": "Success Active"
84
+ },
85
+ "success-subtle": {
86
+ "$type": "color",
87
+ "$value": "oklch(0.260 0.067 149.6)",
88
+ "$description": "Success Subtle"
89
+ },
90
+ "warning": {
91
+ "$type": "color",
92
+ "$value": "oklch(0.837 0.164 84.4)",
93
+ "$description": "Warning"
94
+ },
95
+ "warning-hover": {
96
+ "$type": "color",
97
+ "$value": "oklch(0.887 0.121 84.4)",
98
+ "$description": "Warning Hover"
99
+ },
100
+ "warning-active": {
101
+ "$type": "color",
102
+ "$value": "oklch(0.927 0.077 84.4)",
103
+ "$description": "Warning Active"
104
+ },
105
+ "warning-subtle": {
106
+ "$type": "color",
107
+ "$value": "oklch(0.260 0.053 84.4)",
108
+ "$description": "Warning Subtle"
109
+ },
110
+ "danger": {
111
+ "$type": "color",
112
+ "$value": "oklch(0.637 0.208 25.3)",
113
+ "$description": "Danger"
114
+ },
115
+ "danger-hover": {
116
+ "$type": "color",
117
+ "$value": "oklch(0.687 0.202 25.3)",
118
+ "$description": "Danger Hover"
119
+ },
120
+ "danger-active": {
121
+ "$type": "color",
122
+ "$value": "oklch(0.727 0.169 25.3)",
123
+ "$description": "Danger Active"
124
+ },
125
+ "danger-subtle": {
126
+ "$type": "color",
127
+ "$value": "oklch(0.260 0.073 25.3)",
128
+ "$description": "Danger Subtle"
129
+ },
130
+ "info": {
131
+ "$type": "color",
132
+ "$value": "oklch(0.623 0.188 259.8)",
133
+ "$description": "Info"
134
+ },
135
+ "info-hover": {
136
+ "$type": "color",
137
+ "$value": "oklch(0.673 0.173 259.8)",
138
+ "$description": "Info Hover"
139
+ },
140
+ "info-active": {
141
+ "$type": "color",
142
+ "$value": "oklch(0.713 0.150 259.8)",
143
+ "$description": "Info Active"
144
+ },
145
+ "info-subtle": {
146
+ "$type": "color",
147
+ "$value": "oklch(0.260 0.066 259.8)",
148
+ "$description": "Info Subtle"
149
+ },
150
+ "focus-ring": {
151
+ "$type": "color",
152
+ "$value": "oklch(0.673 0.174 258.5 / 0.400)",
153
+ "$description": "Focus Ring"
154
+ }
155
+ },
156
+ "typography": {
157
+ "font-sans": {
158
+ "$type": "fontFamily",
159
+ "$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
160
+ "$description": "Font Sans"
161
+ },
162
+ "font-mono": {
163
+ "$type": "fontFamily",
164
+ "$value": "'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', Menlo, Consolas, monospace",
165
+ "$description": "Font Mono"
166
+ },
167
+ "text-xs": {
168
+ "$type": "dimension",
169
+ "$value": "12px",
170
+ "$description": "Text XS"
171
+ },
172
+ "text-sm": {
173
+ "$type": "dimension",
174
+ "$value": "14px",
175
+ "$description": "Text SM"
176
+ },
177
+ "text-base": {
178
+ "$type": "dimension",
179
+ "$value": "16px",
180
+ "$description": "Text Base"
181
+ },
182
+ "text-lg": {
183
+ "$type": "dimension",
184
+ "$value": "18px",
185
+ "$description": "Text LG"
186
+ },
187
+ "text-xl": {
188
+ "$type": "dimension",
189
+ "$value": "20px",
190
+ "$description": "Text XL"
191
+ },
192
+ "text-2xl": {
193
+ "$type": "dimension",
194
+ "$value": "24px",
195
+ "$description": "Text 2XL"
196
+ },
197
+ "text-3xl": {
198
+ "$type": "dimension",
199
+ "$value": "30px",
200
+ "$description": "Text 3XL"
201
+ },
202
+ "leading-tight": {
203
+ "$type": "number",
204
+ "$value": "1.25",
205
+ "$description": "Leading Tight"
206
+ },
207
+ "leading-normal": {
208
+ "$type": "number",
209
+ "$value": "1.5",
210
+ "$description": "Leading Normal"
211
+ },
212
+ "leading-relaxed": {
213
+ "$type": "number",
214
+ "$value": "1.75",
215
+ "$description": "Leading Relaxed"
216
+ },
217
+ "weight-normal": {
218
+ "$type": "number",
219
+ "$value": "400",
220
+ "$description": "Weight Normal"
221
+ },
222
+ "weight-medium": {
223
+ "$type": "number",
224
+ "$value": "500",
225
+ "$description": "Weight Medium"
226
+ },
227
+ "weight-semibold": {
228
+ "$type": "number",
229
+ "$value": "600",
230
+ "$description": "Weight Semibold"
231
+ },
232
+ "weight-bold": {
233
+ "$type": "number",
234
+ "$value": "700",
235
+ "$description": "Weight Bold"
236
+ }
237
+ },
238
+ "spacing": {
239
+ "space-0": {
240
+ "$type": "dimension",
241
+ "$value": "0",
242
+ "$description": "Space 0"
243
+ },
244
+ "space-1": {
245
+ "$type": "dimension",
246
+ "$value": "4px",
247
+ "$description": "Space 1"
248
+ },
249
+ "space-2": {
250
+ "$type": "dimension",
251
+ "$value": "8px",
252
+ "$description": "Space 2"
253
+ },
254
+ "space-3": {
255
+ "$type": "dimension",
256
+ "$value": "12px",
257
+ "$description": "Space 3"
258
+ },
259
+ "space-4": {
260
+ "$type": "dimension",
261
+ "$value": "16px",
262
+ "$description": "Space 4"
263
+ },
264
+ "space-5": {
265
+ "$type": "dimension",
266
+ "$value": "20px",
267
+ "$description": "Space 5"
268
+ },
269
+ "space-6": {
270
+ "$type": "dimension",
271
+ "$value": "24px",
272
+ "$description": "Space 6"
273
+ },
274
+ "space-8": {
275
+ "$type": "dimension",
276
+ "$value": "32px",
277
+ "$description": "Space 8"
278
+ },
279
+ "space-10": {
280
+ "$type": "dimension",
281
+ "$value": "40px",
282
+ "$description": "Space 10"
283
+ },
284
+ "space-12": {
285
+ "$type": "dimension",
286
+ "$value": "48px",
287
+ "$description": "Space 12"
288
+ },
289
+ "space-16": {
290
+ "$type": "dimension",
291
+ "$value": "64px",
292
+ "$description": "Space 16"
293
+ }
294
+ },
295
+ "radius": {
296
+ "none": {
297
+ "$type": "dimension",
298
+ "$value": "0",
299
+ "$description": "Radius None"
300
+ },
301
+ "sm": {
302
+ "$type": "dimension",
303
+ "$value": "4px",
304
+ "$description": "Radius SM"
305
+ },
306
+ "md": {
307
+ "$type": "dimension",
308
+ "$value": "6px",
309
+ "$description": "Radius MD"
310
+ },
311
+ "lg": {
312
+ "$type": "dimension",
313
+ "$value": "8px",
314
+ "$description": "Radius LG"
315
+ },
316
+ "xl": {
317
+ "$type": "dimension",
318
+ "$value": "12px",
319
+ "$description": "Radius XL"
320
+ },
321
+ "2xl": {
322
+ "$type": "dimension",
323
+ "$value": "16px",
324
+ "$description": "Radius 2XL"
325
+ },
326
+ "full": {
327
+ "$type": "dimension",
328
+ "$value": "9999px",
329
+ "$description": "Radius Full"
330
+ }
331
+ },
332
+ "shadow": {
333
+ "sm": {
334
+ "$type": "shadow",
335
+ "$value": "0 1px 2px rgba(0, 0, 0, 0.05)",
336
+ "$description": "Shadow SM"
337
+ },
338
+ "md": {
339
+ "$type": "shadow",
340
+ "$value": "0 4px 6px rgba(0, 0, 0, 0.07)",
341
+ "$description": "Shadow MD"
342
+ },
343
+ "lg": {
344
+ "$type": "shadow",
345
+ "$value": "0 10px 15px rgba(0, 0, 0, 0.1)",
346
+ "$description": "Shadow LG"
347
+ },
348
+ "xl": {
349
+ "$type": "shadow",
350
+ "$value": "0 20px 25px rgba(0, 0, 0, 0.1)",
351
+ "$description": "Shadow XL"
352
+ }
353
+ }
354
+ }
355
+ }