@alfadocs/ui-kit 0.15.1 → 0.17.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 (32) hide show
  1. package/dist/_chunks/benefit-card-DXmrAyfn.js +219 -0
  2. package/dist/_chunks/copy-field-BCHAZ8QV.js +298 -0
  3. package/dist/_chunks/{navigation-menu-Bav1d_wA.js → navigation-menu-DdufF-_4.js} +18 -18
  4. package/dist/_chunks/{pagination-OQBlnb1H.js → pagination-F1ei4khE.js} +180 -158
  5. package/dist/_chunks/public-header.agent-sDi9N9su.js +562 -0
  6. package/dist/agent-catalog.json +51 -1
  7. package/dist/components/benefit-card/benefit-card.d.ts +35 -0
  8. package/dist/components/benefit-card/index.d.ts +3 -0
  9. package/dist/components/benefit-card/index.js +5 -0
  10. package/dist/components/card/card.d.ts +1 -1
  11. package/dist/components/copy-field/copy-field.agent.d.ts +16 -0
  12. package/dist/components/copy-field/copy-field.d.ts +50 -0
  13. package/dist/components/copy-field/index.d.ts +5 -0
  14. package/dist/components/copy-field/index.js +6 -0
  15. package/dist/components/index.d.ts +2 -0
  16. package/dist/components/navigation-menu/index.js +1 -1
  17. package/dist/components/pagination/index.js +1 -1
  18. package/dist/components/public-header/index.d.ts +1 -1
  19. package/dist/components/public-header/index.js +1 -1
  20. package/dist/components/public-header/public-header.d.ts +36 -1
  21. package/dist/components/stat/stat.d.ts +1 -1
  22. package/dist/hooks/use-controllable-state.d.ts +10 -0
  23. package/dist/hooks/use-copy-to-clipboard.d.ts +45 -0
  24. package/dist/i18n/config.js +21 -0
  25. package/dist/i18n/resources.d.ts +21 -0
  26. package/dist/index.js +458 -453
  27. package/dist/locales/de.json +7 -0
  28. package/dist/locales/en.json +7 -0
  29. package/dist/locales/it.json +7 -0
  30. package/dist/tokens.css +1 -1
  31. package/package.json +9 -1
  32. package/dist/_chunks/public-header.agent-ZLBAQ30j.js +0 -242
@@ -1,14 +1,32 @@
1
- import { jsxs as f, jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as g, useState as D, useEffect as z, useCallback as A, useMemo as C, useRef as _, useId as ee } from "react";
1
+ import { jsxs as h, jsx as t } from "react/jsx-runtime";
2
+ import { useState as Z, useRef as z, useEffect as y, useCallback as k, forwardRef as u, useMemo as _, useId as D } from "react";
3
3
  import * as m from "@radix-ui/react-select";
4
- import { c as se } from "./index-D2ZczOXr.js";
4
+ import { c as ee } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as x } from "react-i18next";
6
- import { u as ae } from "./registry-C9nwlNyL.js";
7
- import { E as ie } from "./ellipsis-rgGdiK_9.js";
6
+ import { u as se } from "./registry-C9nwlNyL.js";
7
+ import { E as ae } from "./ellipsis-rgGdiK_9.js";
8
8
  import { C as F } from "./chevron-right-BrpYejk0.js";
9
- import { C as te } from "./chevron-left-CX1jqD2M.js";
10
- import { C as ne, a as re } from "./chevrons-right-d9MwesPG.js";
11
- import { C as de } from "./check-DPdL_Sm7.js";
9
+ import { C as ie } from "./chevron-left-CX1jqD2M.js";
10
+ import { C as te, a as ne } from "./chevrons-right-d9MwesPG.js";
11
+ import { C as re } from "./check-DPdL_Sm7.js";
12
+ function de({
13
+ value: e,
14
+ defaultValue: a,
15
+ onChange: i
16
+ }) {
17
+ const s = e !== void 0, [d, r] = Z(a), n = z(i);
18
+ y(() => {
19
+ n.current = i;
20
+ }, [i]);
21
+ const p = s ? e : d, v = k(
22
+ (o) => {
23
+ var b;
24
+ s || r(o), (b = n.current) == null || b.call(n, o);
25
+ },
26
+ [s]
27
+ );
28
+ return [p, v];
29
+ }
12
30
  const oe = {
13
31
  id: "pagination",
14
32
  capabilities: ["paginate", "range_navigate"],
@@ -69,7 +87,7 @@ const oe = {
69
87
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
70
88
  "ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
71
89
  "ds:aria-disabled:cursor-not-allowed ds:aria-disabled:opacity-50"
72
- ].join(" "), j = se(le, {
90
+ ].join(" "), P = ee(le, {
73
91
  variants: {
74
92
  size: {
75
93
  sm: "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)] ds:text-[length:var(--font-size-sm)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
@@ -83,160 +101,164 @@ const oe = {
83
101
  },
84
102
  defaultVariants: { size: "md", active: !1 }
85
103
  });
86
- function y(e, a) {
87
- const t = [];
88
- for (let s = e; s <= a; s++) t.push(s);
89
- return t;
104
+ function w(e, a) {
105
+ const i = [];
106
+ for (let s = e; s <= a; s++) i.push(s);
107
+ return i;
90
108
  }
91
- function ce(e, a, t = 1, s = 1) {
109
+ function ce(e, a, i = 1, s = 1) {
92
110
  if (a <= 0) return [];
93
- if (t = Math.max(0, t), s = Math.max(1, s), s * 2 + t * 2 + 3 >= a) return y(1, a);
94
- const r = y(1, s), n = y(a - s + 1, a), u = Math.max(
111
+ if (i = Math.max(0, i), s = Math.max(1, s), s * 2 + i * 2 + 3 >= a) return w(1, a);
112
+ const r = w(1, s), n = w(a - s + 1, a), p = Math.max(
95
113
  Math.min(
96
- e - t,
97
- a - s - t * 2 - 1
114
+ e - i,
115
+ a - s - i * 2 - 1
98
116
  ),
99
117
  s + 2
100
- ), h = Math.min(
101
- Math.max(e + t, s + t * 2 + 2),
118
+ ), v = Math.min(
119
+ Math.max(e + i, s + i * 2 + 2),
102
120
  n[0] - 2
103
- ), l = [...r];
104
- return u > s + 2 ? l.push("ellipsis-start") : s + 1 < a - s && l.push(s + 1), l.push(...y(u, h)), h < a - s - 1 ? l.push("ellipsis-end") : a - s > s && l.push(a - s), l.push(...n), l;
121
+ ), o = [...r];
122
+ return p > s + 2 ? o.push("ellipsis-start") : s + 1 < a - s && o.push(s + 1), o.push(...w(p, v)), v < a - s - 1 ? o.push("ellipsis-end") : a - s > s && o.push(a - s), o.push(...n), o;
105
123
  }
106
- const me = g(
124
+ const me = u(
107
125
  ({
108
126
  totalPages: e,
109
127
  page: a,
110
- defaultPage: t = 1,
128
+ defaultPage: i = 1,
111
129
  onPageChange: s,
112
- siblingCount: o = 1,
130
+ siblingCount: d = 1,
113
131
  boundaryCount: r = 1,
114
132
  size: n = "md",
115
- showEndpoints: u = !1,
116
- align: h = "center",
117
- pageSize: l,
118
- useLocaleDigits: T = !1,
119
- locale: M,
120
- className: J,
121
- id: P,
122
- ...K
123
- }, O) => {
124
- const { t: R, i18n: S } = x(), b = a !== void 0, [Q, W] = D(t), c = b ? a : Q;
125
- z(() => {
126
- b && t !== 1 && console.warn(
133
+ showEndpoints: p = !1,
134
+ align: v = "center",
135
+ pageSize: o,
136
+ useLocaleDigits: b = !1,
137
+ locale: R,
138
+ className: K,
139
+ id: j,
140
+ ...O
141
+ }, Q) => {
142
+ const { t: S, i18n: C } = x(), [U, E] = de({
143
+ value: a,
144
+ defaultValue: i,
145
+ onChange: s
146
+ }), c = U ?? i;
147
+ y(() => {
148
+ a !== void 0 && i !== 1 && console.warn(
127
149
  "[Pagination] Both `page` and `defaultPage` were supplied. The `page` prop wins; remove `defaultPage` for controlled usage."
128
150
  );
129
- }, [b, t]);
130
- const p = A(
131
- (d) => {
132
- const w = Math.min(Math.max(d, 1), Math.max(1, e));
133
- b || W(w), s == null || s(w);
151
+ }, [a, i]);
152
+ const g = k(
153
+ (l) => {
154
+ const I = Math.min(Math.max(l, 1), Math.max(1, e));
155
+ E(I);
134
156
  },
135
- [b, s, e]
136
- ), E = A(
137
- (d) => {
138
- if (!T) return String(d);
157
+ [E, e]
158
+ ), V = k(
159
+ (l) => {
160
+ if (!b) return String(l);
139
161
  try {
140
- return new Intl.NumberFormat(M ?? S.language).format(d);
162
+ return new Intl.NumberFormat(R ?? C.language).format(l);
141
163
  } catch {
142
- return String(d);
164
+ return String(l);
143
165
  }
144
166
  },
145
- [S.language, M, T]
146
- ), X = C(
147
- () => ce(c, e, o, r),
148
- [c, e, o, r]
149
- ), B = c <= 1, L = c >= e, N = _(c);
150
- z(() => {
167
+ [C.language, R, b]
168
+ ), W = _(
169
+ () => ce(c, e, d, r),
170
+ [c, e, d, r]
171
+ ), B = c <= 1, L = c >= e, N = z(c);
172
+ y(() => {
151
173
  N.current = c;
152
174
  }, [c]);
153
- const V = _(e);
154
- z(() => {
155
- V.current = e;
175
+ const A = z(e);
176
+ y(() => {
177
+ A.current = e;
156
178
  }, [e]);
157
- const Y = C(
179
+ const X = _(
158
180
  () => ({
159
181
  getCurrentPage: () => N.current,
160
- getTotalPages: () => V.current,
161
- goToPage: (d) => p(d),
162
- next: () => p(N.current + 1),
163
- previous: () => p(N.current - 1)
182
+ getTotalPages: () => A.current,
183
+ goToPage: (l) => g(l),
184
+ next: () => g(N.current + 1),
185
+ previous: () => g(N.current - 1)
164
186
  }),
165
- [p]
187
+ [g]
166
188
  );
167
- ae(oe, Y, P);
168
- const Z = h === "start" ? "ds:justify-start" : h === "end" ? "ds:justify-end" : "ds:justify-center";
169
- return /* @__PURE__ */ f(
189
+ se(oe, X, j);
190
+ const Y = v === "start" ? "ds:justify-start" : v === "end" ? "ds:justify-end" : "ds:justify-center";
191
+ return /* @__PURE__ */ h(
170
192
  "nav",
171
193
  {
172
- ref: O,
173
- "aria-label": R("navigation.pagination.label"),
174
- id: P,
194
+ ref: Q,
195
+ "aria-label": S("navigation.pagination.label"),
196
+ id: j,
175
197
  "data-component": "pagination",
176
- "data-component-id": P,
198
+ "data-component-id": j,
177
199
  className: [
178
200
  "ds:flex ds:items-center",
179
- Z,
201
+ Y,
180
202
  "ds:gap-[var(--spacing-sm)]",
181
203
  "ds:flex-wrap",
182
- J ?? ""
204
+ K ?? ""
183
205
  ].filter(Boolean).join(" "),
184
- ...K,
206
+ ...O,
185
207
  children: [
186
- /* @__PURE__ */ f(H, { size: n, children: [
187
- u ? /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
188
- I,
208
+ /* @__PURE__ */ h(H, { size: n, children: [
209
+ p ? /* @__PURE__ */ t(f, { children: /* @__PURE__ */ t(
210
+ T,
189
211
  {
190
212
  type: "first",
191
213
  size: n,
192
214
  disabled: B,
193
- onClick: () => p(1)
215
+ onClick: () => g(1)
194
216
  }
195
217
  ) }) : null,
196
- /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
197
- U,
218
+ /* @__PURE__ */ t(f, { children: /* @__PURE__ */ t(
219
+ q,
198
220
  {
199
221
  size: n,
200
222
  disabled: B,
201
- onClick: () => p(c - 1)
223
+ onClick: () => g(c - 1)
202
224
  }
203
225
  ) }),
204
- X.map((d, w) => d === "ellipsis-start" || d === "ellipsis-end" ? /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(G, {}) }, `e-${w}`) : /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
226
+ W.map((l, I) => l === "ellipsis-start" || l === "ellipsis-end" ? /* @__PURE__ */ t(f, { children: /* @__PURE__ */ t(J, {}) }, `e-${I}`) : /* @__PURE__ */ t(f, { children: /* @__PURE__ */ t(
205
227
  $,
206
228
  {
207
229
  size: n,
208
- isActive: d === c,
209
- "aria-label": R("navigation.pagination.pageN", { n: d }),
210
- onClick: () => p(d),
211
- children: E(d)
230
+ isActive: l === c,
231
+ "aria-label": S("navigation.pagination.pageN", { n: l }),
232
+ onClick: () => g(l),
233
+ children: V(l)
212
234
  }
213
- ) }, `p-${d}`)),
214
- /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
215
- q,
235
+ ) }, `p-${l}`)),
236
+ /* @__PURE__ */ t(f, { children: /* @__PURE__ */ t(
237
+ G,
216
238
  {
217
239
  size: n,
218
240
  disabled: L,
219
- onClick: () => p(c + 1)
241
+ onClick: () => g(c + 1)
220
242
  }
221
243
  ) }),
222
- u ? /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
223
- I,
244
+ p ? /* @__PURE__ */ t(f, { children: /* @__PURE__ */ t(
245
+ T,
224
246
  {
225
247
  type: "last",
226
248
  size: n,
227
249
  disabled: L,
228
- onClick: () => p(e)
250
+ onClick: () => g(e)
229
251
  }
230
252
  ) }) : null
231
253
  ] }),
232
- l ? /* @__PURE__ */ i(
254
+ o ? /* @__PURE__ */ t(
233
255
  ve,
234
256
  {
235
257
  size: n,
236
- value: l.value,
237
- options: l.options ?? [10, 25, 50, 100],
238
- onChange: l.onChange,
239
- formatNumber: E
258
+ value: o.value,
259
+ options: o.options ?? [10, 25, 50, 100],
260
+ onChange: o.onChange,
261
+ formatNumber: V
240
262
  }
241
263
  ) : null
242
264
  ]
@@ -245,8 +267,8 @@ const me = g(
245
267
  }
246
268
  );
247
269
  me.displayName = "Pagination";
248
- const H = g(
249
- ({ children: e, className: a, ...t }, s) => /* @__PURE__ */ i(
270
+ const H = u(
271
+ ({ children: e, className: a, ...i }, s) => /* @__PURE__ */ t(
250
272
  "ul",
251
273
  {
252
274
  ref: s,
@@ -257,38 +279,38 @@ const H = g(
257
279
  "ds:list-none",
258
280
  a ?? ""
259
281
  ].filter(Boolean).join(" "),
260
- ...t,
282
+ ...i,
261
283
  children: e
262
284
  }
263
285
  )
264
286
  );
265
287
  H.displayName = "PaginationList";
266
- const v = g(
267
- ({ children: e, className: a, ...t }, s) => /* @__PURE__ */ i("li", { ref: s, className: a, ...t, children: e })
288
+ const f = u(
289
+ ({ children: e, className: a, ...i }, s) => /* @__PURE__ */ t("li", { ref: s, className: a, ...i, children: e })
268
290
  );
269
- v.displayName = "PaginationItem";
270
- const $ = g(
271
- ({ isActive: e = !1, size: a = "md", className: t, children: s, ...o }, r) => /* @__PURE__ */ i(
291
+ f.displayName = "PaginationItem";
292
+ const $ = u(
293
+ ({ isActive: e = !1, size: a = "md", className: i, children: s, ...d }, r) => /* @__PURE__ */ t(
272
294
  "button",
273
295
  {
274
296
  ref: r,
275
297
  type: "button",
276
298
  "aria-current": e ? "page" : void 0,
277
- className: j({
299
+ className: P({
278
300
  size: a,
279
301
  active: e,
280
- className: t
302
+ className: i
281
303
  }),
282
- ...o,
304
+ ...d,
283
305
  children: s
284
306
  }
285
307
  )
286
308
  );
287
309
  $.displayName = "PaginationLink";
288
- const k = "ds:size-4 ds:rtl:-scale-x-100", U = g(
289
- ({ size: e = "md", disabled: a, onClick: t }, s) => {
290
- const { t: o } = x(), r = o("navigation.pagination.previous");
291
- return /* @__PURE__ */ i(
310
+ const M = "ds:size-4 ds:rtl:-scale-x-100", q = u(
311
+ ({ size: e = "md", disabled: a, onClick: i }, s) => {
312
+ const { t: d } = x(), r = d("navigation.pagination.previous");
313
+ return /* @__PURE__ */ t(
292
314
  "button",
293
315
  {
294
316
  ref: s,
@@ -296,18 +318,18 @@ const k = "ds:size-4 ds:rtl:-scale-x-100", U = g(
296
318
  "aria-label": r,
297
319
  "aria-disabled": a || void 0,
298
320
  disabled: a,
299
- onClick: t,
300
- className: j({ size: e }),
301
- children: /* @__PURE__ */ i(te, { "aria-hidden": "true", className: k })
321
+ onClick: i,
322
+ className: P({ size: e }),
323
+ children: /* @__PURE__ */ t(ie, { "aria-hidden": "true", className: M })
302
324
  }
303
325
  );
304
326
  }
305
327
  );
306
- U.displayName = "PaginationPrevious";
307
- const q = g(
308
- ({ size: e = "md", disabled: a, onClick: t }, s) => {
309
- const { t: o } = x(), r = o("navigation.pagination.next");
310
- return /* @__PURE__ */ i(
328
+ q.displayName = "PaginationPrevious";
329
+ const G = u(
330
+ ({ size: e = "md", disabled: a, onClick: i }, s) => {
331
+ const { t: d } = x(), r = d("navigation.pagination.next");
332
+ return /* @__PURE__ */ t(
311
333
  "button",
312
334
  {
313
335
  ref: s,
@@ -315,38 +337,38 @@ const q = g(
315
337
  "aria-label": r,
316
338
  "aria-disabled": a || void 0,
317
339
  disabled: a,
318
- onClick: t,
319
- className: j({ size: e }),
320
- children: /* @__PURE__ */ i(F, { "aria-hidden": "true", className: k })
340
+ onClick: i,
341
+ className: P({ size: e }),
342
+ children: /* @__PURE__ */ t(F, { "aria-hidden": "true", className: M })
321
343
  }
322
344
  );
323
345
  }
324
346
  );
325
- q.displayName = "PaginationNext";
326
- const I = g(
327
- ({ type: e, size: a = "md", disabled: t, onClick: s }, o) => {
328
- const { t: r } = x(), n = r(e === "first" ? "navigation.pagination.first" : "navigation.pagination.last"), u = e === "first" ? ne : re;
329
- return /* @__PURE__ */ i(
347
+ G.displayName = "PaginationNext";
348
+ const T = u(
349
+ ({ type: e, size: a = "md", disabled: i, onClick: s }, d) => {
350
+ const { t: r } = x(), n = r(e === "first" ? "navigation.pagination.first" : "navigation.pagination.last"), p = e === "first" ? te : ne;
351
+ return /* @__PURE__ */ t(
330
352
  "button",
331
353
  {
332
- ref: o,
354
+ ref: d,
333
355
  type: "button",
334
356
  "aria-label": n,
335
- "aria-disabled": t || void 0,
336
- disabled: t,
357
+ "aria-disabled": i || void 0,
358
+ disabled: i,
337
359
  onClick: s,
338
- className: j({ size: a }),
339
- children: /* @__PURE__ */ i(u, { "aria-hidden": "true", className: k })
360
+ className: P({ size: a }),
361
+ children: /* @__PURE__ */ t(p, { "aria-hidden": "true", className: M })
340
362
  }
341
363
  );
342
364
  }
343
365
  );
344
- I.displayName = "PaginationEndpoint";
345
- const G = g(
346
- ({ className: e, ...a }, t) => /* @__PURE__ */ i(
366
+ T.displayName = "PaginationEndpoint";
367
+ const J = u(
368
+ ({ className: e, ...a }, i) => /* @__PURE__ */ t(
347
369
  "span",
348
370
  {
349
- ref: t,
371
+ ref: i,
350
372
  "aria-hidden": "true",
351
373
  role: "presentation",
352
374
  className: [
@@ -356,11 +378,11 @@ const G = g(
356
378
  e ?? ""
357
379
  ].filter(Boolean).join(" "),
358
380
  ...a,
359
- children: /* @__PURE__ */ i(ie, { "aria-hidden": "true", className: "ds:size-4" })
381
+ children: /* @__PURE__ */ t(ae, { "aria-hidden": "true", className: "ds:size-4" })
360
382
  }
361
383
  )
362
384
  );
363
- G.displayName = "PaginationEllipsis";
385
+ J.displayName = "PaginationEllipsis";
364
386
  const pe = [
365
387
  "ds:inline-flex ds:items-center ds:justify-between ds:gap-[var(--spacing-xs)]",
366
388
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[var(--border)] ds:bg-[var(--background)]",
@@ -388,33 +410,33 @@ const pe = [
388
410
  function ve({
389
411
  value: e,
390
412
  options: a,
391
- onChange: t,
413
+ onChange: i,
392
414
  formatNumber: s
393
415
  }) {
394
- const { t: o } = x(), r = ee();
395
- return /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
396
- /* @__PURE__ */ i(
416
+ const { t: d } = x(), r = D();
417
+ return /* @__PURE__ */ h("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
418
+ /* @__PURE__ */ t(
397
419
  "span",
398
420
  {
399
421
  id: r,
400
422
  className: "type-label ds:text-[var(--muted-foreground)]",
401
- children: o("navigation.pagination.rowsPerPage")
423
+ children: d("navigation.pagination.rowsPerPage")
402
424
  }
403
425
  ),
404
- /* @__PURE__ */ f(
426
+ /* @__PURE__ */ h(
405
427
  m.Root,
406
428
  {
407
429
  value: String(e),
408
- onValueChange: (n) => t(Number(n)),
430
+ onValueChange: (n) => i(Number(n)),
409
431
  children: [
410
- /* @__PURE__ */ f(
432
+ /* @__PURE__ */ h(
411
433
  m.Trigger,
412
434
  {
413
435
  "aria-labelledby": r,
414
436
  className: pe,
415
437
  children: [
416
- /* @__PURE__ */ i(m.Value, {}),
417
- /* @__PURE__ */ i(m.Icon, { asChild: !0, children: /* @__PURE__ */ i(
438
+ /* @__PURE__ */ t(m.Value, {}),
439
+ /* @__PURE__ */ t(m.Icon, { asChild: !0, children: /* @__PURE__ */ t(
418
440
  F,
419
441
  {
420
442
  "aria-hidden": "true",
@@ -424,19 +446,19 @@ function ve({
424
446
  ]
425
447
  }
426
448
  ),
427
- /* @__PURE__ */ i(m.Portal, { children: /* @__PURE__ */ i(
449
+ /* @__PURE__ */ t(m.Portal, { children: /* @__PURE__ */ t(
428
450
  m.Content,
429
451
  {
430
452
  className: ge,
431
453
  position: "popper",
432
- children: /* @__PURE__ */ i(m.Viewport, { className: "ds:p-[var(--spacing-xs)]", children: a.map((n) => /* @__PURE__ */ f(
454
+ children: /* @__PURE__ */ t(m.Viewport, { className: "ds:p-[var(--spacing-xs)]", children: a.map((n) => /* @__PURE__ */ h(
433
455
  m.Item,
434
456
  {
435
457
  value: String(n),
436
458
  className: ue,
437
459
  children: [
438
- /* @__PURE__ */ i(m.ItemIndicator, { className: "ds:absolute ds:inline-flex ds:items-center ds:justify-center ds:start-[var(--spacing-sm)]", children: /* @__PURE__ */ i(de, { "aria-hidden": "true", className: "ds:size-3.5" }) }),
439
- /* @__PURE__ */ i(m.ItemText, { children: s(n) })
460
+ /* @__PURE__ */ t(m.ItemIndicator, { className: "ds:absolute ds:inline-flex ds:items-center ds:justify-center ds:start-[var(--spacing-sm)]", children: /* @__PURE__ */ t(re, { "aria-hidden": "true", className: "ds:size-3.5" }) }),
461
+ /* @__PURE__ */ t(m.ItemText, { children: s(n) })
440
462
  ]
441
463
  },
442
464
  n
@@ -450,13 +472,13 @@ function ve({
450
472
  }
451
473
  export {
452
474
  me as P,
453
- G as a,
454
- v as b,
475
+ J as a,
476
+ f as b,
455
477
  $ as c,
456
478
  H as d,
457
- q as e,
458
- U as f,
479
+ G as e,
480
+ q as f,
459
481
  ce as g,
460
482
  oe as p
461
483
  };
462
- //# sourceMappingURL=pagination-OQBlnb1H.js.map
484
+ //# sourceMappingURL=pagination-F1ei4khE.js.map