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,233 @@
1
+ "use client";
2
+ //#region src/lib/components/LocaleProvider/ru-ru.ts
3
+ var e = {
4
+ alert: { close: "Закрыть" },
5
+ approvalCard: {
6
+ title: "Требуется согласование",
7
+ approve: "Согласовать",
8
+ deny: "Отклонить"
9
+ },
10
+ asyncSection: {
11
+ loading: "Загрузка…",
12
+ error: "Что-то пошло не так",
13
+ retry: "Повторить"
14
+ },
15
+ avatarGroup: { more: "+{count}" },
16
+ calendar: {
17
+ previousMonth: "Предыдущий месяц",
18
+ nextMonth: "Следующий месяц",
19
+ today: "Сегодня",
20
+ selectMonth: "Выбрать месяц",
21
+ selectQuarter: "Выбрать квартал",
22
+ selectYear: "Выбрать год",
23
+ previousYear: "Предыдущий год",
24
+ nextYear: "Следующий год",
25
+ previousDecade: "Предыдущее десятилетие",
26
+ nextDecade: "Следующее десятилетие",
27
+ weekNumber: "Нед."
28
+ },
29
+ cascader: { expand: "Развернуть" },
30
+ combobox: {
31
+ create: "Создать «{query}»",
32
+ noResults: "Ничего не найдено"
33
+ },
34
+ command: { noResults: "Ничего не найдено" },
35
+ sidebar: {
36
+ toggle: "Показать или скрыть боковую панель",
37
+ expand: "Развернуть боковую панель",
38
+ collapse: "Свернуть боковую панель"
39
+ },
40
+ tour: {
41
+ next: "Далее",
42
+ back: "Назад",
43
+ done: "Готово",
44
+ skip: "Пропустить",
45
+ stepOf: "Шаг {current} из {total}"
46
+ },
47
+ backToTop: { label: "Наверх" },
48
+ banner: { close: "Закрыть" },
49
+ breadcrumb: { label: "Навигационная цепочка" },
50
+ carousel: {
51
+ label: "Карусель",
52
+ previousSlide: "Предыдущий слайд",
53
+ nextSlide: "Следующий слайд",
54
+ goToSlide: "Перейти к слайду {index}"
55
+ },
56
+ chat: {
57
+ newMessages: "Новые сообщения",
58
+ stopGeneration: "Остановить генерацию",
59
+ copy: "Копировать"
60
+ },
61
+ chatInput: {
62
+ placeholder: "Введите сообщение...",
63
+ send: "Отправить"
64
+ },
65
+ chatMessage: {
66
+ sending: "Отправка...",
67
+ sent: "Отправлено",
68
+ failedToSend: "Не удалось отправить"
69
+ },
70
+ chip: { remove: "Удалить" },
71
+ colorPicker: {
72
+ pickColor: "Выбрать цвет",
73
+ hexColor: "Цвет в формате HEX"
74
+ },
75
+ confirmDialog: {
76
+ confirm: "Подтвердить",
77
+ cancel: "Отмена"
78
+ },
79
+ dateRangePicker: {
80
+ startDate: "Дата начала",
81
+ endDate: "Дата окончания",
82
+ presetToday: "Сегодня",
83
+ presetYesterday: "Вчера",
84
+ presetLast7Days: "Последние 7 дней",
85
+ presetLast30Days: "Последние 30 дней",
86
+ presetThisMonth: "Этот месяц",
87
+ presetLastMonth: "Прошлый месяц"
88
+ },
89
+ datepicker: { time: "Время" },
90
+ dataTable: {
91
+ selectAll: "Выбрать все строки",
92
+ filterPlaceholder: "Фильтр"
93
+ },
94
+ diffViewer: { header: "Diff" },
95
+ empty: { description: "Нет данных" },
96
+ ellipsis: {
97
+ expand: "Показать ещё",
98
+ collapse: "Свернуть"
99
+ },
100
+ fileInput: { label: "Выбрать файл" },
101
+ filePreview: {
102
+ remove: "Удалить",
103
+ retry: "Повторить",
104
+ uploading: "Загрузка",
105
+ uploaded: "Загружено",
106
+ error: "Не удалось загрузить"
107
+ },
108
+ image: {
109
+ zoomIn: "Увеличить",
110
+ zoomOut: "Уменьшить",
111
+ reset: "Сбросить",
112
+ rotate: "Повернуть",
113
+ close: "Закрыть"
114
+ },
115
+ inlineEdit: { placeholder: "Нажмите, чтобы изменить" },
116
+ inlineCompletion: { hint: "Доступно автодополнение. Нажмите Tab, чтобы принять, и Esc, чтобы отклонить." },
117
+ jsonView: {
118
+ copy: "Копировать",
119
+ more: "Ещё {count}"
120
+ },
121
+ logViewer: {
122
+ all: "Все",
123
+ noLogs: "Нет записей"
124
+ },
125
+ mentions: {
126
+ label: "Предложения",
127
+ noMatch: "Совпадений нет"
128
+ },
129
+ modelPicker: { label: "Модель" },
130
+ numberInput: {
131
+ decrease: "Уменьшить",
132
+ increase: "Увеличить"
133
+ },
134
+ otpInput: { digitLabel: "Цифра {index} из {total}" },
135
+ pagination: {
136
+ previous: "Предыдущая",
137
+ next: "Следующая"
138
+ },
139
+ passwordInput: {
140
+ label: "Пароль",
141
+ show: "Показать пароль",
142
+ hide: "Скрыть пароль"
143
+ },
144
+ progress: { label: "Прогресс" },
145
+ promptInput: {
146
+ label: "Запрос",
147
+ removeTag: "Удалить {tag}",
148
+ noMatch: "Совпадений нет",
149
+ loading: "Загрузка…"
150
+ },
151
+ rating: {
152
+ star: "{count} звезда",
153
+ stars: "{count} звёзд"
154
+ },
155
+ signature: {
156
+ clear: "Очистить",
157
+ undo: "Отменить",
158
+ unsupported: "Подпись не поддерживается в этом браузере."
159
+ },
160
+ select: {
161
+ placeholder: "Выберите…",
162
+ listboxLabel: "Варианты",
163
+ clear: "Очистить",
164
+ searchLabel: "Поиск по вариантам",
165
+ searchPlaceholder: "Поиск…",
166
+ noMatch: "Совпадений нет",
167
+ loading: "Загрузка вариантов…",
168
+ moreTags: "+{count}"
169
+ },
170
+ spinner: { loading: "Загрузка" },
171
+ sources: {
172
+ label: "Источники",
173
+ expand: "Показать отрывок",
174
+ collapse: "Скрыть отрывок"
175
+ },
176
+ tag: { remove: "Удалить" },
177
+ tagGroup: { remove: "Удалить" },
178
+ tagInput: {
179
+ placeholder: "Добавить тег",
180
+ removeTag: "Удалить {tag}",
181
+ tagCount: "{count} тегов",
182
+ tagCountSingular: "{count} тег"
183
+ },
184
+ thinkingIndicator: { text: "Размышление" },
185
+ toast: {
186
+ loading: "Загрузка…",
187
+ success: "Успешно",
188
+ error: "Что-то пошло не так",
189
+ close: "Закрыть"
190
+ },
191
+ tokenCounter: { label: "Токены" },
192
+ toolCallCard: {
193
+ pending: "Ожидание",
194
+ running: "Выполнение...",
195
+ done: "Готово",
196
+ error: "Ошибка",
197
+ inputLabel: "Входные данные",
198
+ outputLabel: "Выходные данные"
199
+ },
200
+ transfer: {
201
+ source: "Источник ({count})",
202
+ target: "Цель ({count})",
203
+ moveToTarget: ">",
204
+ moveToSource: "<"
205
+ },
206
+ tree: {
207
+ expand: "Развернуть",
208
+ collapse: "Свернуть",
209
+ loadError: "Не удалось загрузить",
210
+ retry: "Повторить",
211
+ noMatch: "Совпадений нет"
212
+ },
213
+ treeSelect: {
214
+ placeholder: "Выберите…",
215
+ searchLabel: "Поиск по узлам",
216
+ searchPlaceholder: "Поиск…",
217
+ clear: "Очистить",
218
+ moreTags: "+{count}"
219
+ },
220
+ upload: {
221
+ hint: "Перетащите файлы сюда или нажмите для загрузки",
222
+ clickHint: "Нажмите, чтобы выбрать файлы",
223
+ label: "Загрузить файлы",
224
+ retry: "Повторить загрузку",
225
+ cancel: "Отменить загрузку",
226
+ remove: "Удалить файл",
227
+ uploading: "Загрузка",
228
+ success: "Загружено",
229
+ error: "Не удалось загрузить"
230
+ }
231
+ };
232
+ //#endregion
233
+ export { e as ruRU };
@@ -93,6 +93,10 @@ var e = {
93
93
  },
94
94
  diffViewer: { header: "差异" },
95
95
  empty: { description: "暂无数据" },
96
+ ellipsis: {
97
+ expand: "展开",
98
+ collapse: "收起"
99
+ },
96
100
  fileInput: { label: "选择文件" },
97
101
  filePreview: {
98
102
  remove: "移除",
@@ -206,6 +210,13 @@ var e = {
206
210
  retry: "重试",
207
211
  noMatch: "无匹配项"
208
212
  },
213
+ treeSelect: {
214
+ placeholder: "请选择",
215
+ searchLabel: "搜索节点",
216
+ searchPlaceholder: "搜索…",
217
+ clear: "清除",
218
+ moreTags: "+{count}"
219
+ },
209
220
  upload: {
210
221
  hint: "将文件拖拽到此处,或点击上传",
211
222
  clickHint: "点击浏览文件",
@@ -0,0 +1,43 @@
1
+
2
+ "use client";
3
+ import { classnames as e } from "../../utils/classnames.js";
4
+ /* empty css */
5
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
6
+ import { useMemo as r } from "react";
7
+ import { create as i } from "qrcode";
8
+ //#region src/lib/components/QRCode/QRCode.tsx
9
+ var a = "haze-QRCode__wrapper", o = "haze-QRCode__borderedStyle";
10
+ function s(e) {
11
+ let t = "";
12
+ for (let n = 0; n < e.size; n += 1) for (let r = 0; r < e.size; r += 1) e.get(n, r) && (t += `M${r} ${n}h1v1z`);
13
+ return t;
14
+ }
15
+ function c({ value: c, size: l = 128, level: u = "M", bordered: d = !0, modulesColor: f = "var(--haze-color-text)", bgColor: p = "var(--haze-color-bg)", className: m, ...h }) {
16
+ let g = r(() => i(c, { errorCorrectionLevel: u }).modules, [c, u]), _ = r(() => s(g), [g]);
17
+ return /* @__PURE__ */ t("div", {
18
+ ...h,
19
+ className: e([
20
+ a,
21
+ d && o,
22
+ m
23
+ ]),
24
+ children: n("svg", {
25
+ width: l,
26
+ height: l,
27
+ viewBox: `0 0 ${g.size} ${g.size}`,
28
+ shapeRendering: "crispEdges",
29
+ role: "img",
30
+ "aria-label": c,
31
+ children: [/* @__PURE__ */ t("rect", {
32
+ width: g.size,
33
+ height: g.size,
34
+ fill: p
35
+ }), /* @__PURE__ */ t("path", {
36
+ d: _,
37
+ fill: f
38
+ })]
39
+ })
40
+ });
41
+ }
42
+ //#endregion
43
+ export { c as default };
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import e from "./QRCode.js";
3
+ export { e as QRCode };
@@ -0,0 +1,229 @@
1
+
2
+ "use client";
3
+ import { classnames as e } from "../../utils/classnames.js";
4
+ /* empty css */
5
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
6
+ //#region src/lib/components/Result/Result.tsx
7
+ var r = "haze-Result__base", i = "haze-Result__iconStyle", a = "haze-Result__titleStyle", o = "haze-Result__subTitleStyle", s = "haze-Result__extraStyle", c = {
8
+ success: /* @__PURE__ */ n("svg", {
9
+ width: "64",
10
+ height: "64",
11
+ viewBox: "0 0 64 64",
12
+ fill: "none",
13
+ "aria-hidden": "true",
14
+ xmlns: "http://www.w3.org/2000/svg",
15
+ children: [/* @__PURE__ */ t("circle", {
16
+ cx: "32",
17
+ cy: "32",
18
+ r: "26",
19
+ stroke: "var(--haze-color-success)",
20
+ strokeWidth: "3"
21
+ }), /* @__PURE__ */ t("path", {
22
+ d: "M21 32.5l8 8 14-16",
23
+ stroke: "var(--haze-color-success)",
24
+ strokeWidth: "3",
25
+ strokeLinecap: "round",
26
+ strokeLinejoin: "round"
27
+ })]
28
+ }),
29
+ error: /* @__PURE__ */ n("svg", {
30
+ width: "64",
31
+ height: "64",
32
+ viewBox: "0 0 64 64",
33
+ fill: "none",
34
+ "aria-hidden": "true",
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ children: [/* @__PURE__ */ t("circle", {
37
+ cx: "32",
38
+ cy: "32",
39
+ r: "26",
40
+ stroke: "var(--haze-color-danger)",
41
+ strokeWidth: "3"
42
+ }), /* @__PURE__ */ t("path", {
43
+ d: "M24 24l16 16M40 24l-16 16",
44
+ stroke: "var(--haze-color-danger)",
45
+ strokeWidth: "3",
46
+ strokeLinecap: "round"
47
+ })]
48
+ }),
49
+ info: /* @__PURE__ */ n("svg", {
50
+ width: "64",
51
+ height: "64",
52
+ viewBox: "0 0 64 64",
53
+ fill: "none",
54
+ "aria-hidden": "true",
55
+ xmlns: "http://www.w3.org/2000/svg",
56
+ children: [
57
+ /* @__PURE__ */ t("circle", {
58
+ cx: "32",
59
+ cy: "32",
60
+ r: "26",
61
+ stroke: "var(--haze-color-info)",
62
+ strokeWidth: "3"
63
+ }),
64
+ /* @__PURE__ */ t("path", {
65
+ d: "M32 30v14",
66
+ stroke: "var(--haze-color-info)",
67
+ strokeWidth: "3",
68
+ strokeLinecap: "round"
69
+ }),
70
+ /* @__PURE__ */ t("circle", {
71
+ cx: "32",
72
+ cy: "21.5",
73
+ r: "2.75",
74
+ fill: "var(--haze-color-info)"
75
+ })
76
+ ]
77
+ }),
78
+ warning: /* @__PURE__ */ n("svg", {
79
+ width: "64",
80
+ height: "64",
81
+ viewBox: "0 0 64 64",
82
+ fill: "none",
83
+ "aria-hidden": "true",
84
+ xmlns: "http://www.w3.org/2000/svg",
85
+ children: [
86
+ /* @__PURE__ */ t("path", {
87
+ d: "M32 10l24 42H8Z",
88
+ stroke: "var(--haze-color-warning)",
89
+ strokeWidth: "3",
90
+ strokeLinejoin: "round"
91
+ }),
92
+ /* @__PURE__ */ t("path", {
93
+ d: "M32 26v11",
94
+ stroke: "var(--haze-color-warning)",
95
+ strokeWidth: "3",
96
+ strokeLinecap: "round"
97
+ }),
98
+ /* @__PURE__ */ t("circle", {
99
+ cx: "32",
100
+ cy: "45.5",
101
+ r: "2.75",
102
+ fill: "var(--haze-color-warning)"
103
+ })
104
+ ]
105
+ }),
106
+ 403: /* @__PURE__ */ n("svg", {
107
+ width: "64",
108
+ height: "64",
109
+ viewBox: "0 0 64 64",
110
+ fill: "none",
111
+ "aria-hidden": "true",
112
+ xmlns: "http://www.w3.org/2000/svg",
113
+ children: [
114
+ /* @__PURE__ */ t("text", {
115
+ x: "32",
116
+ y: "46",
117
+ textAnchor: "middle",
118
+ fontSize: "22",
119
+ fontWeight: "600",
120
+ fill: "var(--haze-color-text-secondary)",
121
+ children: "403"
122
+ }),
123
+ /* @__PURE__ */ t("path", {
124
+ d: "M47 13v-3a4 4 0 0 1 8 0v3",
125
+ stroke: "var(--haze-color-primary)",
126
+ strokeWidth: "2.5",
127
+ fill: "none"
128
+ }),
129
+ /* @__PURE__ */ t("rect", {
130
+ x: "44.5",
131
+ y: "13",
132
+ width: "13",
133
+ height: "10",
134
+ rx: "2.5",
135
+ fill: "var(--haze-color-primary)"
136
+ }),
137
+ /* @__PURE__ */ t("circle", {
138
+ cx: "12",
139
+ cy: "52",
140
+ r: "2.5",
141
+ fill: "var(--haze-color-primary)"
142
+ })
143
+ ]
144
+ }),
145
+ 404: /* @__PURE__ */ n("svg", {
146
+ width: "64",
147
+ height: "64",
148
+ viewBox: "0 0 64 64",
149
+ fill: "none",
150
+ "aria-hidden": "true",
151
+ xmlns: "http://www.w3.org/2000/svg",
152
+ children: [
153
+ /* @__PURE__ */ t("text", {
154
+ x: "32",
155
+ y: "46",
156
+ textAnchor: "middle",
157
+ fontSize: "22",
158
+ fontWeight: "600",
159
+ fill: "var(--haze-color-text-secondary)",
160
+ children: "404"
161
+ }),
162
+ /* @__PURE__ */ t("circle", {
163
+ cx: "47",
164
+ cy: "14",
165
+ r: "7",
166
+ stroke: "var(--haze-color-primary)",
167
+ strokeWidth: "2.5"
168
+ }),
169
+ /* @__PURE__ */ t("path", {
170
+ d: "M42 19l-5 5",
171
+ stroke: "var(--haze-color-primary)",
172
+ strokeWidth: "2.5",
173
+ strokeLinecap: "round"
174
+ }),
175
+ /* @__PURE__ */ t("path", {
176
+ d: "M10 50h10",
177
+ stroke: "var(--haze-color-primary)",
178
+ strokeWidth: "2.5",
179
+ strokeLinecap: "round"
180
+ })
181
+ ]
182
+ }),
183
+ 500: /* @__PURE__ */ n("svg", {
184
+ width: "64",
185
+ height: "64",
186
+ viewBox: "0 0 64 64",
187
+ fill: "none",
188
+ "aria-hidden": "true",
189
+ xmlns: "http://www.w3.org/2000/svg",
190
+ children: [/* @__PURE__ */ t("text", {
191
+ x: "32",
192
+ y: "50",
193
+ textAnchor: "middle",
194
+ fontSize: "22",
195
+ fontWeight: "600",
196
+ fill: "var(--haze-color-text-secondary)",
197
+ children: "500"
198
+ }), /* @__PURE__ */ t("path", {
199
+ d: "M32 4L23 18h6l-3 10 12-14h-7l3-8z",
200
+ fill: "var(--haze-color-primary)"
201
+ })]
202
+ })
203
+ };
204
+ function l({ status: l = "info", icon: u, title: d, subTitle: f, extra: p, className: m, ...h }) {
205
+ return /* @__PURE__ */ n("div", {
206
+ ...h,
207
+ className: e([r, m]),
208
+ children: [
209
+ /* @__PURE__ */ t("div", {
210
+ className: e([i]),
211
+ children: u ?? c[l]
212
+ }),
213
+ d != null && /* @__PURE__ */ t("div", {
214
+ className: e([a]),
215
+ children: d
216
+ }),
217
+ f != null && /* @__PURE__ */ t("div", {
218
+ className: e([o]),
219
+ children: f
220
+ }),
221
+ p != null && /* @__PURE__ */ t("div", {
222
+ className: e([s]),
223
+ children: p
224
+ })
225
+ ]
226
+ });
227
+ }
228
+ //#endregion
229
+ export { l as default };
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import e from "./Result.js";
3
+ export { e as Result };