@alfadocs/ui-kit 1.54.1 → 1.54.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.
Files changed (154) hide show
  1. package/dist/_chunks/{address-fields-1pD-8hML.js → address-fields-BaClzQLM.js} +5 -5
  2. package/dist/_chunks/{anamnesis-summary-rows-BMjSBqhS.js → anamnesis-summary-rows-Brru7JrH.js} +3 -3
  3. package/dist/_chunks/{balance-badge-cell-BDX1Krdv.js → balance-badge-cell-C5hmahoB.js} +2 -2
  4. package/dist/_chunks/{bishop-score-CGAVpIWL.js → bishop-score-BzvVol-u.js} +2 -2
  5. package/dist/_chunks/{bmi-calculator-g_wjo4nq.js → bmi-calculator-CDmQk0b5.js} +2 -2
  6. package/dist/_chunks/{booking-BN7TXe27.js → booking-BGY3LUi8.js} +5 -5
  7. package/dist/_chunks/{calendar-workspace-BbZIx2PT.js → calendar-workspace-BJPhMb2c.js} +8 -8
  8. package/dist/_chunks/{city-input-DyxVWSRQ.js → city-input-BL5WsGJ3.js} +2 -2
  9. package/dist/_chunks/{cycle-calculator-CwDEdmda.js → cycle-calculator-LjsQd9Gl.js} +2 -2
  10. package/dist/_chunks/{data-table-DeUoJzNn.js → data-table-BErtJzaT.js} +2 -2
  11. package/dist/_chunks/{data-table-tabs-BfEmXvUk.js → data-table-tabs-D5nFZKxg.js} +2 -2
  12. package/dist/_chunks/{due-date-calculator-_0Dz_d7n.js → due-date-calculator-mDvGKmRV.js} +2 -2
  13. package/dist/_chunks/{email-input-Cmeo4zdT.js → email-input-DQixfopu.js} +2 -2
  14. package/dist/_chunks/error-page-C15GfNEj.js +312 -0
  15. package/dist/_chunks/{error-page-illustration-QGJAvuFB.js → error-page-illustration-bFti0VEc.js} +73 -56
  16. package/dist/_chunks/{face-scheme-pZgT26gB.js → face-scheme-Doodi6A6.js} +2 -2
  17. package/dist/_chunks/{fetal-weight-CbE61Uyk.js → fetal-weight-DBgEaMoJ.js} +2 -2
  18. package/dist/_chunks/{file-manager-DdsAd4TQ.js → file-manager-BDNSnr7f.js} +3 -3
  19. package/dist/_chunks/{forgot-password-form-DVVOBEGj.js → forgot-password-form-Duu3pZDU.js} +3 -3
  20. package/dist/_chunks/{form-field-D9WfDpYB.js → form-field-Db0liyI8.js} +72 -63
  21. package/dist/_chunks/{gestational-age-calculator-BMkoLJGR.js → gestational-age-calculator-BVBz_5dm.js} +2 -2
  22. package/dist/_chunks/{hcg-doubling-BtW2pBJX.js → hcg-doubling-BECrAUu3.js} +2 -2
  23. package/dist/_chunks/{help-me-write-templates-Cy-iO5AU.js → help-me-write-templates-B4Y8dBv1.js} +3 -3
  24. package/dist/_chunks/{icon-picker-CSViTQL9.js → icon-picker-JZzs1ol_.js} +2 -2
  25. package/dist/_chunks/{kit-extensions-Kca1tkfP.js → kit-extensions-GQHKTLWI.js} +6 -6
  26. package/dist/_chunks/{login-dev-card-C7wo-Hv1.js → login-dev-card-DletSsX3.js} +5 -5
  27. package/dist/_chunks/{notes-panel-BPb-2ZnJ.js → notes-panel-DWJY3WV8.js} +2 -2
  28. package/dist/_chunks/{password-input-B7pQTk7l.js → password-input-6Yl6x1IO.js} +2 -2
  29. package/dist/_chunks/{patient-details-BP9r_lNS.js → patient-details-D7QlsGK1.js} +2 -2
  30. package/dist/_chunks/{patient-field-row-BK9JjbzA.js → patient-field-row-Dr-ndtG8.js} +5 -5
  31. package/dist/_chunks/{patient-summary-card-DGbRLzF1.js → patient-summary-card-A3WhxFwp.js} +2 -2
  32. package/dist/_chunks/{postal-code-input-BmbqjkfD.js → postal-code-input-lCk8me6K.js} +2 -2
  33. package/dist/_chunks/{pregnancy-dating-DV3o2PPl.js → pregnancy-dating-BEmsMys4.js} +2 -2
  34. package/dist/_chunks/{pregnancy-weight-gain-BLjWgtS9.js → pregnancy-weight-gain-DMVPvM3a.js} +2 -2
  35. package/dist/_chunks/{radiograph-panel.agent-C4j6eoQn.js → radiograph-panel.agent-rS3Tegx6.js} +2 -2
  36. package/dist/_chunks/{registration-form-CBDeXzlk.js → registration-form-Lz9iKrKo.js} +246 -235
  37. package/dist/_chunks/{rich-text-editor-CCCSEPlG.js → rich-text-editor-DmnWavgl.js} +2 -2
  38. package/dist/_chunks/{search-bar-D695TCDH.js → search-bar-ORcfuK9A.js} +2 -2
  39. package/dist/_chunks/{search-input-Tl-RkS5x.js → search-input-6SoR2Rf4.js} +2 -2
  40. package/dist/_chunks/{task-editor-Dl27rI3J.js → task-editor-i-juLk76.js} +3 -3
  41. package/dist/_chunks/{text-input-lZ2-t-p2.js → text-input-rzLEKhRU.js} +145 -97
  42. package/dist/_chunks/{transcript-panel-CLgtyVbR.js → transcript-panel-jOCW4Ycl.js} +2 -2
  43. package/dist/_chunks/{unit-converter-CXNr5P4J.js → unit-converter-Bvhj9r3m.js} +2 -2
  44. package/dist/_chunks/{use-appointment-details-read-BEbLseXW.js → use-appointment-details-read-B6dBBgDa.js} +3 -3
  45. package/dist/_chunks/{widget-picker-BCbwD5Z1.js → widget-picker-Ck8HTsil.js} +2 -2
  46. package/dist/agent-catalog.json +5 -1
  47. package/dist/components/address-fields/index.js +1 -1
  48. package/dist/components/appointment-details-panel/index.js +1 -1
  49. package/dist/components/bishop-score/index.js +1 -1
  50. package/dist/components/bmi-calculator/index.js +1 -1
  51. package/dist/components/booking/index.js +1 -1
  52. package/dist/components/city-input/index.js +1 -1
  53. package/dist/components/cycle-calculator/index.js +1 -1
  54. package/dist/components/data-table/index.js +1 -1
  55. package/dist/components/data-table-tabs/index.js +1 -1
  56. package/dist/components/due-date-calculator/index.js +1 -1
  57. package/dist/components/email-input/index.js +1 -1
  58. package/dist/components/face-scheme/index.js +1 -1
  59. package/dist/components/fetal-weight/index.js +1 -1
  60. package/dist/components/file-manager/index.js +1 -1
  61. package/dist/components/form-field/form-field-context.d.ts +5 -0
  62. package/dist/components/form-field/index.js +1 -1
  63. package/dist/components/gestational-age-calculator/index.js +1 -1
  64. package/dist/components/hcg-doubling/index.js +1 -1
  65. package/dist/components/icon-picker/index.js +1 -1
  66. package/dist/components/notes-panel/index.js +1 -1
  67. package/dist/components/password-input/index.js +1 -1
  68. package/dist/components/patient-details/index.js +1 -1
  69. package/dist/components/patient-summary-card/index.js +1 -1
  70. package/dist/components/patient-table/index.js +1 -1
  71. package/dist/components/postal-code-input/index.js +1 -1
  72. package/dist/components/pregnancy-dating/index.js +1 -1
  73. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  74. package/dist/components/radiograph-panel/index.js +1 -1
  75. package/dist/components/rich-text-editor/index.js +2 -2
  76. package/dist/components/search-bar/index.js +1 -1
  77. package/dist/components/search-input/index.js +1 -1
  78. package/dist/components/task-editor/index.js +1 -1
  79. package/dist/components/text-input/index.js +1 -1
  80. package/dist/components/text-input/text-input.d.ts +13 -0
  81. package/dist/components/transcript-panel/index.js +1 -1
  82. package/dist/components/unit-converter/index.js +1 -1
  83. package/dist/components/widget-picker/index.js +1 -1
  84. package/dist/hooks/use-field-match.d.ts +3 -2
  85. package/dist/i18n/locales/ar.d.ts +4 -0
  86. package/dist/i18n/locales/ar.js +4 -0
  87. package/dist/i18n/locales/de.d.ts +4 -0
  88. package/dist/i18n/locales/de.js +4 -0
  89. package/dist/i18n/locales/el.d.ts +4 -0
  90. package/dist/i18n/locales/el.js +4 -0
  91. package/dist/i18n/locales/en.d.ts +4 -0
  92. package/dist/i18n/locales/en.js +4 -0
  93. package/dist/i18n/locales/es.d.ts +4 -0
  94. package/dist/i18n/locales/es.js +4 -0
  95. package/dist/i18n/locales/fr.d.ts +4 -0
  96. package/dist/i18n/locales/fr.js +4 -0
  97. package/dist/i18n/locales/hi.d.ts +4 -0
  98. package/dist/i18n/locales/hi.js +4 -0
  99. package/dist/i18n/locales/it.d.ts +4 -0
  100. package/dist/i18n/locales/it.js +4 -0
  101. package/dist/i18n/locales/ja.d.ts +4 -0
  102. package/dist/i18n/locales/ja.js +4 -0
  103. package/dist/i18n/locales/nl.d.ts +4 -0
  104. package/dist/i18n/locales/nl.js +4 -0
  105. package/dist/i18n/locales/pl.d.ts +4 -0
  106. package/dist/i18n/locales/pl.js +4 -0
  107. package/dist/i18n/locales/pt.d.ts +4 -0
  108. package/dist/i18n/locales/pt.js +4 -0
  109. package/dist/i18n/locales/ro.d.ts +4 -0
  110. package/dist/i18n/locales/ro.js +4 -0
  111. package/dist/i18n/locales/ru.d.ts +4 -0
  112. package/dist/i18n/locales/ru.js +4 -0
  113. package/dist/i18n/locales/sq.d.ts +4 -0
  114. package/dist/i18n/locales/sq.js +4 -0
  115. package/dist/i18n/locales/sv.d.ts +4 -0
  116. package/dist/i18n/locales/sv.js +4 -0
  117. package/dist/i18n/locales/tr.d.ts +4 -0
  118. package/dist/i18n/locales/tr.js +4 -0
  119. package/dist/i18n/locales/zh.d.ts +4 -0
  120. package/dist/i18n/locales/zh.js +4 -0
  121. package/dist/index.js +167 -165
  122. package/dist/locales/ar.json +4 -0
  123. package/dist/locales/de.json +4 -0
  124. package/dist/locales/el.json +4 -0
  125. package/dist/locales/en.json +4 -0
  126. package/dist/locales/es.json +4 -0
  127. package/dist/locales/fr.json +4 -0
  128. package/dist/locales/hi.json +4 -0
  129. package/dist/locales/it.json +4 -0
  130. package/dist/locales/ja.json +4 -0
  131. package/dist/locales/nl.json +4 -0
  132. package/dist/locales/pl.json +4 -0
  133. package/dist/locales/pt.json +4 -0
  134. package/dist/locales/ro.json +4 -0
  135. package/dist/locales/ru.json +4 -0
  136. package/dist/locales/sq.json +4 -0
  137. package/dist/locales/sv.json +4 -0
  138. package/dist/locales/tr.json +4 -0
  139. package/dist/locales/zh.json +4 -0
  140. package/dist/patterns/anamnesis/index.js +1 -1
  141. package/dist/patterns/calendar/index.js +1 -1
  142. package/dist/patterns/error-page/error-page-illustration.d.ts +3 -1
  143. package/dist/patterns/error-page/error-page.d.ts +34 -2
  144. package/dist/patterns/error-page/index.d.ts +2 -1
  145. package/dist/patterns/error-page/index.js +7 -5
  146. package/dist/patterns/forgot-password-form/index.js +1 -1
  147. package/dist/patterns/help-me-write-templates/index.js +1 -1
  148. package/dist/patterns/login-form/index.js +1 -1
  149. package/dist/patterns/registration-form/index.d.ts +1 -1
  150. package/dist/patterns/registration-form/index.js +1 -1
  151. package/dist/patterns/registration-form/registration-form.d.ts +16 -0
  152. package/dist/tokens.css +1 -1
  153. package/package.json +1 -1
  154. package/dist/_chunks/error-page-CKFJlekz.js +0 -275
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "1.54.1",
3
+ "version": "1.54.3",
4
4
  "type": "module",
5
5
  "description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
6
6
  "license": "BUSL-1.1",
@@ -1,275 +0,0 @@
1
- import { jsx as r, jsxs as x } from "react/jsx-runtime";
2
- import { forwardRef as H, useMemo as K, useState as R, useEffect as _, useRef as C } from "react";
3
- import { useTranslation as Q } from "react-i18next";
4
- import { c as W } from "./index-D2ZczOXr.js";
5
- import { B as T } from "./button-CYPx2xFq.js";
6
- import { L as J } from "./logo-CuaqxTGK.js";
7
- import { i as X } from "./safe-href-5dbsfbQn.js";
8
- import { E as Z } from "./error-page-illustration-QGJAvuFB.js";
9
- import { loadLocale as ee, LOCALES_WITH_BUNDLES as re } from "../i18n/config.js";
10
- import { R as oe } from "./rotate-ccw-BBQnIVTr.js";
11
- import { L as te } from "./log-in-OQUEoGhX.js";
12
- import { c as D } from "./createLucideIcon-DhHxpK9K.js";
13
- /**
14
- * @license lucide-react v1.22.0 - ISC
15
- *
16
- * This source code is licensed under the ISC license.
17
- * See the LICENSE file in the root directory of this source tree.
18
- */
19
- const ae = [
20
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
21
- ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
22
- ["path", { d: "M12 17h.01", key: "p32p05" }]
23
- ], ne = D("circle-question-mark", ae);
24
- /**
25
- * @license lucide-react v1.22.0 - ISC
26
- *
27
- * This source code is licensed under the ISC license.
28
- * See the LICENSE file in the root directory of this source tree.
29
- */
30
- const se = [
31
- ["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
32
- [
33
- "path",
34
- {
35
- d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
36
- key: "r6nss1"
37
- }
38
- ]
39
- ], ie = D("house", se), de = [
40
- 400,
41
- 401,
42
- 403,
43
- 404,
44
- 405,
45
- 410,
46
- 419,
47
- 429,
48
- 500,
49
- 502,
50
- 503,
51
- 504,
52
- "offline",
53
- "maintenance"
54
- ], I = {
55
- 400: { key: "badRequest", mood: "jumbled", primary: "home" },
56
- 401: { key: "unauthorised", mood: "locked", primary: "login" },
57
- 403: { key: "forbidden", mood: "roped", primary: "home" },
58
- 404: { key: "notFound", mood: "lost", primary: "home" },
59
- 405: { key: "methodNotAllowed", mood: "wrong-way", primary: "home" },
60
- 410: { key: "gone", mood: "vanished", primary: "home" },
61
- 419: { key: "expired", mood: "asleep", primary: "login" },
62
- 429: { key: "tooManyRequests", mood: "melt", primary: "retry" },
63
- 500: { key: "serverError", mood: "patched", primary: "retry" },
64
- 502: { key: "badGateway", mood: "unplugged", primary: "retry" },
65
- 503: { key: "maintenance", mood: "rebuild", primary: "retry" },
66
- 504: { key: "timeout", mood: "snail", primary: "retry" },
67
- offline: { key: "offline", mood: "adrift", primary: "retry" },
68
- maintenance: { key: "maintenance", mood: "rebuild", primary: "retry" },
69
- generic: { key: "generic", mood: "puzzled", primary: "home" }
70
- };
71
- function ce(e) {
72
- return de.includes(e) ? I[e] : I.generic;
73
- }
74
- const le = "alfadocs-ui.locale", me = "it", ue = (e) => {
75
- if (!e) return;
76
- const o = e.toLowerCase().replaceAll("_", "-").split("-")[0], t = o === "cn" ? "zh" : o;
77
- return re.includes(t) ? t : void 0;
78
- }, pe = () => {
79
- try {
80
- return window.localStorage.getItem(le);
81
- } catch {
82
- return null;
83
- }
84
- };
85
- function ye(e = {}) {
86
- var p;
87
- const o = typeof window < "u", t = e.saved !== void 0 ? e.saved : o ? pe() : null, i = e.browser ?? (o && typeof navigator < "u" ? (p = navigator.languages) != null && p.length ? navigator.languages : [navigator.language] : []), u = e.document ?? (typeof document < "u" ? document.documentElement.lang : ""), f = [
88
- e.locale,
89
- t,
90
- ...i,
91
- e.hostLocaleIsDefault ? void 0 : u
92
- ];
93
- for (const h of f) {
94
- const y = ue(h);
95
- if (y) return y;
96
- }
97
- return me;
98
- }
99
- const z = (e, o) => ee(e, o), ge = W(
100
- "ds:flex ds:flex-col ds:items-center ds:justify-center ds:bg-[var(--background)] ds:text-[var(--foreground)] ds:px-[var(--spacing-md)] ds:py-[var(--spacing-2xl)]",
101
- {
102
- variants: {
103
- layout: {
104
- /** Fills the viewport: the whole page is the error. */
105
- page: "ds:min-h-screen",
106
- /** Fills its container, under the host's own header. */
107
- embedded: "ds:[min-block-size:100%]"
108
- }
109
- },
110
- defaultVariants: { layout: "page" }
111
- }
112
- ), fe = /* @__PURE__ */ new Set(["ar"]), he = 1500;
113
- function ve(e, o) {
114
- const t = e instanceof Date ? e : new Date(e);
115
- if (Number.isNaN(t.getTime())) return;
116
- const i = /* @__PURE__ */ new Date(), u = i.toDateString() === t.toDateString() ? {} : {
117
- day: "numeric",
118
- month: "short",
119
- ...i.getFullYear() === t.getFullYear() ? {} : { year: "numeric" }
120
- };
121
- return new Intl.DateTimeFormat(o === "en" ? "en-GB" : o, {
122
- ...u,
123
- hour: "2-digit",
124
- minute: "2-digit"
125
- }).format(t);
126
- }
127
- const B = (e, o) => !!e.getResource(o, "ui", "errorPage"), ke = (e) => X(e) ? e : "#", be = H(
128
- ({
129
- status: e,
130
- homeHref: o = "/",
131
- loginHref: t,
132
- supportHref: i,
133
- onRetry: u,
134
- requestId: f,
135
- backAt: p,
136
- locale: h,
137
- hostLocaleIsDefault: y = !1,
138
- title: M,
139
- message: F,
140
- showLogo: G = !0,
141
- as: j = "main",
142
- focusHeading: N = !0,
143
- layout: O,
144
- className: $,
145
- ...U
146
- }, V) => {
147
- const { i18n: l } = Q("ui"), d = K(
148
- () => ye({ locale: h, hostLocaleIsDefault: y }),
149
- [h, y]
150
- ), [n, v] = R(
151
- () => B(l, d) ? d : null
152
- ), [, Y] = R(0);
153
- _(() => {
154
- let a = !0;
155
- const k = B(l, d);
156
- v(k ? d : null);
157
- const b = () => a && Y((g) => g + 1);
158
- z("en", l).then(b).catch(() => {
159
- });
160
- const L = k ? void 0 : setTimeout(
161
- () => a && v((g) => g ?? "en"),
162
- he
163
- );
164
- return z(d, l).then(() => {
165
- a && (v(d), b());
166
- }).catch(() => a && v((g) => g ?? "en")), () => {
167
- a = !1, clearTimeout(L);
168
- };
169
- }, [l, d]);
170
- const s = l.getFixedT(
171
- n && n !== "en" ? [n, "en"] : "en",
172
- "ui"
173
- ), c = ce(e), P = c.key === "maintenance" && p ? ve(p, n ?? "en") : void 0, S = C(null), A = C(!1);
174
- _(() => {
175
- var a;
176
- !n || !N || A.current || (A.current = !0, (a = S.current) == null || a.focus({ preventScroll: !0 }));
177
- }, [n, N]);
178
- const q = u ?? (() => window.location.reload()), w = c.primary === "login" && !t ? "retry" : c.primary, E = (a, k, b, L) => /* @__PURE__ */ r(
179
- T,
180
- {
181
- intent: L,
182
- size: "lg",
183
- flipIconInRtl: a === "login",
184
- asChild: !0,
185
- startIcon: b,
186
- "data-action": a,
187
- children: /* @__PURE__ */ r("a", { href: ke(k), children: s(`errorPage.actions.${a}`) })
188
- },
189
- a
190
- ), m = [];
191
- return w === "retry" ? m.push(
192
- /* @__PURE__ */ r(
193
- T,
194
- {
195
- intent: "primary",
196
- size: "lg",
197
- startIcon: /* @__PURE__ */ r(oe, { "aria-hidden": "true" }),
198
- onClick: q,
199
- "data-action": "retry",
200
- children: s("errorPage.actions.retry")
201
- },
202
- "retry"
203
- )
204
- ) : w === "login" && t && m.push(
205
- E("login", t, /* @__PURE__ */ r(te, { "aria-hidden": "true" }), "primary")
206
- ), e !== "offline" && c.key !== "maintenance" && m.push(
207
- E(
208
- "home",
209
- o,
210
- /* @__PURE__ */ r(ie, { "aria-hidden": "true" }),
211
- w === "home" ? "primary" : "secondary"
212
- )
213
- ), i && m.push(
214
- E(
215
- "support",
216
- i,
217
- /* @__PURE__ */ r(ne, { "aria-hidden": "true" }),
218
- "ghost"
219
- )
220
- ), /* @__PURE__ */ r(
221
- j,
222
- {
223
- ref: V,
224
- "data-component": "error-page",
225
- "data-status": String(e),
226
- lang: n ?? void 0,
227
- "aria-busy": n ? void 0 : !0,
228
- dir: n && fe.has(n) ? "rtl" : "ltr",
229
- className: ge({ layout: O, className: $ }),
230
- ...U,
231
- children: /* @__PURE__ */ x(
232
- "div",
233
- {
234
- className: n ? "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center ds:[max-inline-size:32rem]" : "ds:invisible",
235
- children: [
236
- /* @__PURE__ */ r(Z, { mood: c.mood }),
237
- /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
238
- /* @__PURE__ */ x(
239
- "h1",
240
- {
241
- ref: S,
242
- tabIndex: -1,
243
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:outline-none",
244
- children: [
245
- typeof e == "number" && /* @__PURE__ */ r("span", { className: "type-label ds:text-[var(--muted-foreground)]", children: s("errorPage.statusLabel", { status: e }) }),
246
- /* @__PURE__ */ r("span", { className: "type-title-page", children: M ?? s(`errorPage.status.${c.key}.title`) })
247
- ]
248
- }
249
- ),
250
- /* @__PURE__ */ r("p", { className: "type-body ds:text-[var(--muted-foreground)]", children: F ?? s(`errorPage.status.${c.key}.message`) }),
251
- P && /* @__PURE__ */ r("p", { className: "type-body ds:font-semibold", children: s("errorPage.backAt", { time: P }) })
252
- ] }),
253
- m.length > 0 && /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-[var(--spacing-sm)]", children: m }),
254
- f && /* @__PURE__ */ x("p", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: [
255
- s("errorPage.reference", { id: f }),
256
- /* @__PURE__ */ r("br", {}),
257
- s("errorPage.referenceHint")
258
- ] }),
259
- G && /* @__PURE__ */ r(J, { decorative: !0, size: "sm", className: "ds:opacity-70" })
260
- ]
261
- }
262
- )
263
- }
264
- );
265
- }
266
- );
267
- be.displayName = "ErrorPage";
268
- export {
269
- me as E,
270
- de as a,
271
- be as b,
272
- ce as e,
273
- ye as r
274
- };
275
- //# sourceMappingURL=error-page-CKFJlekz.js.map