@mechane-ai/elements 0.4.1 → 0.5.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 (46) hide show
  1. package/README.md +38 -29
  2. package/dist/ai.js +6 -6
  3. package/dist/assets/stylex.css +92 -0
  4. package/dist/{categorical-values-cMX7Mykq.js → categorical-values-BfAEQUd0.js} +1 -1
  5. package/dist/{chart-input-qnM44oen.js → chart-input--VSrlMl-.js} +1 -1
  6. package/dist/charts/cartesian.js +49 -49
  7. package/dist/charts/distribution.js +1 -1
  8. package/dist/charts/graph.js +1 -1
  9. package/dist/charts/hierarchy.js +2 -2
  10. package/dist/charts/matrix.js +1 -1
  11. package/dist/collections.js +439 -214
  12. package/dist/content/diff.js +13 -11
  13. package/dist/content/markdown.js +151 -80
  14. package/dist/content/tree.js +1 -1
  15. package/dist/csp.js +1 -0
  16. package/dist/feedback.js +1 -1
  17. package/dist/forms.js +1 -1
  18. package/dist/layout.js +210 -136
  19. package/dist/navigation/commands.js +1 -1
  20. package/dist/navigation.js +36 -11
  21. package/dist/packages/collections/src/collection-scroll.d.ts +19 -0
  22. package/dist/packages/collections/src/data-table.d.ts +20 -3
  23. package/dist/packages/collections/src/index.d.ts +3 -1
  24. package/dist/packages/collections/src/use-end-reached.d.ts +9 -0
  25. package/dist/packages/content/src/markdown/index.d.ts +2 -0
  26. package/dist/packages/content/src/markdown/markdown-options.d.ts +2 -0
  27. package/dist/packages/content/src/markdown/markdown-preview.d.ts +5 -0
  28. package/dist/packages/content/src/markdown/markdown.d.ts +4 -1
  29. package/dist/packages/feedback/src/async-region.d.ts +17 -0
  30. package/dist/packages/feedback/src/index.d.ts +2 -0
  31. package/dist/packages/feedback/src/skeleton.d.ts +4 -3
  32. package/dist/packages/forms/src/index.d.ts +2 -0
  33. package/dist/packages/forms/src/settings-section.d.ts +7 -0
  34. package/dist/packages/foundations/src/csp/index.d.ts +2 -0
  35. package/dist/packages/layout/src/app-shell.d.ts +2 -1
  36. package/dist/packages/layout/src/frame.stylex.d.ts +2 -0
  37. package/dist/packages/layout/src/index.d.ts +2 -0
  38. package/dist/packages/layout/src/record-page.d.ts +42 -0
  39. package/dist/packages/layout/src/sidebar.d.ts +1 -0
  40. package/dist/packages/navigation/src/index.d.ts +2 -0
  41. package/dist/packages/navigation/src/page-navigation.d.ts +14 -0
  42. package/dist/{pierre-tree-qZVvI5c1.js → pierre-tree-LY7PGy-7.js} +1 -1
  43. package/dist/src-CbJTK9oP.js +360 -0
  44. package/dist/{src-CvpS9XIR.js → src-CjnbzSgq.js} +353 -336
  45. package/package.json +5 -1
  46. package/dist/src-BfvOOeA3.js +0 -272
@@ -1,37 +1,38 @@
1
- import { c as e, v as t, y as n } from "./src-CbYaLvhD.js";
2
- import { n as r } from "./src-CvpS9XIR.js";
3
- import { r as i } from "./src-CfDf8TY8.js";
4
- import { mergeProps as a } from "@base-ui/react/merge-props";
5
- import * as o from "@stylexjs/stylex";
6
- import { Fragment as s, useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
7
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
8
- import { ArrowDown as m, ArrowUp as h, ArrowUpDown as g, ChevronLeft as _, ChevronRight as v, Columns3 as y, X as b } from "lucide-react";
9
- import { createColumnHelper as x, tableFeatures as S, useTable as C } from "@tanstack/react-table";
10
- import { defaultRangeExtractor as w, useVirtualizer as T } from "@tanstack/react-virtual";
1
+ import { c as e, f as t, i as n, v as r, y as i } from "./src-CbYaLvhD.js";
2
+ import { r as a } from "./src-CjnbzSgq.js";
3
+ import { r as o } from "./src-CfDf8TY8.js";
4
+ import { t as s } from "./accessibility-C-aIZ1Yx.js";
5
+ import { mergeProps as c } from "@base-ui/react/merge-props";
6
+ import * as l from "@stylexjs/stylex";
7
+ import { Fragment as ee, useEffect as u, useLayoutEffect as te, useMemo as d, useRef as f, useState as p } from "react";
8
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
9
+ import { ArrowDown as ne, ArrowUp as re, ArrowUpDown as ie, ChevronLeft as g, ChevronRight as _, Columns3 as v, X as y } from "lucide-react";
10
+ import { createColumnHelper as ae, tableFeatures as b, useTable as x } from "@tanstack/react-table";
11
+ import { defaultRangeExtractor as S, useVirtualizer as oe } from "@tanstack/react-virtual";
11
12
  // packages/collections/src/collection-controls.tsx
12
- function E({ label: e, children: t, actions: n }) {
13
- return /* @__PURE__ */ p("div", {
13
+ function C({ label: e, children: t, actions: n }) {
14
+ return /* @__PURE__ */ h("div", {
14
15
  role: "group",
15
16
  "aria-label": e,
16
17
  className: "x78zum5 x6s0dn4 x1a02dak x1hnptsi x1m92p3w xn9t2bk xso031l x1q0q8m5 x1qndepd",
17
- children: [t, n !== void 0 && /* @__PURE__ */ f("div", {
18
+ children: [t, n !== void 0 && /* @__PURE__ */ m("div", {
18
19
  className: "x78zum5 x6s0dn4 x1a02dak x1hnptsi xvc5jky",
19
20
  children: n
20
21
  })]
21
22
  });
22
23
  }
23
- function D({ filters: e, onRemove: t, label: r = "Applied filters" }) {
24
- return /* @__PURE__ */ f("div", {
24
+ function w({ filters: e, onRemove: t, label: n = "Applied filters" }) {
25
+ return /* @__PURE__ */ m("div", {
25
26
  role: "group",
26
- "aria-label": r,
27
+ "aria-label": n,
27
28
  className: "x78zum5 x6s0dn4 x1a02dak x1hnptsi",
28
- children: e.map((e) => /* @__PURE__ */ p("span", {
29
+ children: e.map((e) => /* @__PURE__ */ h("span", {
29
30
  className: "x3nfvp2 x6s0dn4 xunmzkg xyibt8p xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xeuugli x193iq5w xj0a0fe xpvm0e4 xbixft x1hz01jw xtqrqnz",
30
- children: [e.label, /* @__PURE__ */ f(n, {
31
+ children: [e.label, /* @__PURE__ */ m(i, {
31
32
  "aria-label": `Remove ${e.label}`,
32
33
  variant: "ghost",
33
34
  onClick: () => t(e.id),
34
- children: /* @__PURE__ */ f(b, {
35
+ children: /* @__PURE__ */ m(y, {
35
36
  size: 14,
36
37
  "aria-hidden": "true"
37
38
  })
@@ -39,54 +40,54 @@ function D({ filters: e, onRemove: t, label: r = "Applied filters" }) {
39
40
  }, e.id))
40
41
  });
41
42
  }
42
- function O({ columns: e, onVisibilityChange: n, label: a = "Columns" }) {
43
- return /* @__PURE__ */ p(i.Root, { children: [/* @__PURE__ */ p(i.Trigger, {
44
- render: /* @__PURE__ */ f(t, {
43
+ function T({ columns: e, onVisibilityChange: t, label: n = "Columns" }) {
44
+ return /* @__PURE__ */ h(o.Root, { children: [/* @__PURE__ */ h(o.Trigger, {
45
+ render: /* @__PURE__ */ m(r, {
45
46
  variant: "outline",
46
47
  size: "md"
47
48
  }),
48
- children: [/* @__PURE__ */ f(y, {
49
+ children: [/* @__PURE__ */ m(v, {
49
50
  size: 16,
50
51
  "aria-hidden": "true"
51
- }), a]
52
- }), /* @__PURE__ */ f(i.Portal, { children: /* @__PURE__ */ f(i.Positioner, {
52
+ }), n]
53
+ }), /* @__PURE__ */ m(o.Portal, { children: /* @__PURE__ */ m(o.Positioner, {
53
54
  align: "end",
54
- children: /* @__PURE__ */ f(i.Popup, {
55
- "aria-label": a,
56
- children: /* @__PURE__ */ f("div", {
55
+ children: /* @__PURE__ */ m(o.Popup, {
56
+ "aria-label": n,
57
+ children: /* @__PURE__ */ m("div", {
57
58
  className: "xrvj5dj x1n8ia3y xfb3i0g",
58
- children: e.map((e) => /* @__PURE__ */ p("label", {
59
+ children: e.map((e) => /* @__PURE__ */ h("label", {
59
60
  className: "x78zum5 x6s0dn4 x1hnptsi xbixft xtqrqnz x1hz01jw",
60
- children: [/* @__PURE__ */ f(r.Root, {
61
+ children: [/* @__PURE__ */ m(a.Root, {
61
62
  checked: e.visible,
62
- onCheckedChange: (t) => n(e.id, t),
63
+ onCheckedChange: (n) => t(e.id, n),
63
64
  disabled: e.required,
64
- children: /* @__PURE__ */ f(r.Indicator, {})
65
+ children: /* @__PURE__ */ m(a.Indicator, {})
65
66
  }), e.label]
66
67
  }, e.id))
67
68
  })
68
69
  })
69
70
  }) })] });
70
71
  }
71
- function k({ description: n, previous: r, next: i }) {
72
- return /* @__PURE__ */ p("nav", {
72
+ function E({ description: t, previous: n, next: i }) {
73
+ return /* @__PURE__ */ h("nav", {
73
74
  "aria-label": "Pagination",
74
75
  className: "x78zum5 x6s0dn4 x1qughib x1a02dak xaml1ju",
75
- children: [/* @__PURE__ */ f(e, { children: n }), /* @__PURE__ */ p("div", {
76
+ children: [/* @__PURE__ */ m(e, { children: t }), /* @__PURE__ */ h("div", {
76
77
  className: "x78zum5 x6s0dn4 x1a02dak x1hnptsi xvc5jky",
77
- children: [/* @__PURE__ */ p(t, {
78
+ children: [/* @__PURE__ */ h(r, {
78
79
  variant: "outline",
79
- disabled: r.disabled,
80
- onClick: r.onClick,
81
- children: [/* @__PURE__ */ f(_, {
80
+ disabled: n.disabled,
81
+ onClick: n.onClick,
82
+ children: [/* @__PURE__ */ m(g, {
82
83
  size: 16,
83
84
  "aria-hidden": "true"
84
85
  }), "Previous"]
85
- }), /* @__PURE__ */ p(t, {
86
+ }), /* @__PURE__ */ h(r, {
86
87
  variant: "outline",
87
88
  disabled: i.disabled,
88
89
  onClick: i.onClick,
89
- children: ["Next", /* @__PURE__ */ f(v, {
90
+ children: ["Next", /* @__PURE__ */ m(_, {
90
91
  size: 16,
91
92
  "aria-hidden": "true"
92
93
  })]
@@ -94,12 +95,39 @@ function k({ description: n, previous: r, next: i }) {
94
95
  })]
95
96
  });
96
97
  }
98
+ // packages/collections/src/use-end-reached.ts
99
+ function D({ end: e, viewport: t, onEndReached: n, content: r }) {
100
+ u(() => {
101
+ if (n === void 0 || e.current === null) return;
102
+ let r = new IntersectionObserver((e) => {
103
+ e.some((e) => e.isIntersecting) && n();
104
+ }, { root: t?.current ?? null });
105
+ return r.observe(e.current), () => r.disconnect();
106
+ }, [
107
+ e,
108
+ t,
109
+ n,
110
+ r
111
+ ]);
112
+ }
97
113
  // packages/collections/src/data-table.tsx
98
- var A = S({}), j = {
114
+ var se = b({}), O = "a, button, input, select, textarea, label, summary, [role=\"button\"], [role=\"link\"], [role=\"switch\"], [role=\"checkbox\"], [role=\"radio\"], [role=\"combobox\"], [role=\"slider\"], [role=\"spinbutton\"], [role=\"textbox\"], [role=\"tab\"], [role^=\"menuitem\"], [contenteditable]:not([contenteditable=\"false\"]), [tabindex]:not([tabindex=\"-1\"])", k = /* @__PURE__ */ new Map([["ArrowUp", -1], ["ArrowDown", 1]]), A = {
99
115
  kmVPX3: "x1717udv",
100
116
  kMzoRj: "xc342km",
101
117
  $$css: !0
102
- }, M = {
118
+ }, j = {
119
+ frame: {
120
+ k7Eaqz: "xeuugli",
121
+ $$css: !0
122
+ },
123
+ content: { $$css: !0 },
124
+ fillFrame: {
125
+ k1xSpc: "x78zum5",
126
+ kXwgrk: "xdt5ytf",
127
+ kUk6DE: "x98rzlu",
128
+ kAzted: "x2lwn1j",
129
+ $$css: !0
130
+ },
103
131
  viewport: {
104
132
  k7Eaqz: "xeuugli",
105
133
  kVQacm: "xysyzu8",
@@ -110,10 +138,45 @@ var A = S({}), j = {
110
138
  kiEn40: "x1bqaal",
111
139
  $$css: !0
112
140
  },
141
+ fillViewport: {
142
+ kUk6DE: "x98rzlu",
143
+ kAzted: "x2lwn1j",
144
+ $$css: !0
145
+ },
113
146
  virtual: (e) => [{
114
147
  kskxy: e == null ? e : "x1jols5v",
115
148
  $$css: !0
116
149
  }, { "--x-maxHeight": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }],
150
+ table: {
151
+ kzqmXN: "xh8yej3",
152
+ kLvRdT: "x1mwwwfo",
153
+ kMv6JI: "x1hz01jw",
154
+ kGuDYH: "xtqrqnz",
155
+ kLWn49: "x1778rvt",
156
+ kcqcaj: "xss6m8b",
157
+ k9WMMc: "xdpxx8g",
158
+ kMwMTN: "xbixft",
159
+ kWkggS: "xpvm0e4",
160
+ $$css: !0
161
+ },
162
+ fixed: {
163
+ kPzzVL: "x140o2bo",
164
+ $$css: !0
165
+ },
166
+ minimumWidth: (e, t) => [{
167
+ k7Eaqz: (e == null ? e : "x7w7ha4 ") + (t == null ? t : "xzw3fdc"),
168
+ $$css: !0
169
+ }, {
170
+ "--x-1utbgw4": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e),
171
+ "--x-1omz25w": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(t)
172
+ }],
173
+ caption: {
174
+ k9WMMc: "xdpxx8g",
175
+ kmVPX3: "x1c8xbx5",
176
+ kMwMTN: "x153jb6y",
177
+ kGuDYH: "xy8obcc",
178
+ $$css: !0
179
+ },
117
180
  header: {
118
181
  kVAEAm: "x7wzq59",
119
182
  k87sOh: "x13vifvy",
@@ -155,198 +218,360 @@ var A = S({}), j = {
155
218
  "--x-width": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e),
156
219
  "--x-minWidth": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e)
157
220
  }],
221
+ secondary: {
222
+ k1xSpc: "xazwdyr",
223
+ $$css: !0
224
+ },
225
+ truncated: {
226
+ kVQacm: "xb3r6kr",
227
+ khDVqt: "xuxw1ft",
228
+ kg5iWk: "xlyipyv",
229
+ $$css: !0
230
+ },
158
231
  spacer: (e) => [
159
- j,
232
+ A,
160
233
  {
161
234
  kZKoxP: e == null ? e : "x16ye13r",
162
235
  $$css: !0
163
236
  },
164
237
  { "--x-height": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }
165
238
  ]
166
- }, N = {
167
- start: M.start,
168
- end: M.end
239
+ }, M = {
240
+ start: j.start,
241
+ end: j.end
242
+ }, ce = {
243
+ content: j.content,
244
+ fill: j.fillFrame
245
+ }, le = {
246
+ content: j.content,
247
+ fill: j.fillViewport
169
248
  };
170
- function P({ rows: e, columns: t, getRowId: n, caption: i, empty: a, sort: _, onSortChange: v, selectedIds: y, onSelectionChange: b, selectionLabel: S, window: E, footer: D }) {
171
- let O = l(() => {
172
- let e = x();
249
+ function N({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: o, onSortChange: c, selectedIds: g, onSelectionChange: _, selectionLabel: v, rowAction: y, activeRowId: b, hideCaption: C = !1, hideHeaders: w = !1, window: T, endContent: E, onEndReached: A, footer: N }) {
250
+ let F = d(() => {
251
+ let e = ae();
173
252
  return e.columns(t.map((t) => e.display({
174
253
  id: t.id,
175
254
  header: t.label
176
255
  })));
177
- }, [t]), k = C({
178
- features: A,
179
- columns: O,
256
+ }, [t]), I = x({
257
+ features: se,
258
+ columns: F,
180
259
  data: e,
181
260
  getRowId: n
182
- }), j = u(null), P = u(null), F = u(null), [I, L] = d(0), [R, z] = d(), B = e.findIndex((e) => n(e) === R);
183
- c(() => {
184
- let e = P.current, t = F.current;
185
- if (E === void 0 || e === null || t === null) return;
186
- let n = new ResizeObserver(() => L(e.offsetHeight + t.offsetHeight));
261
+ }), L = f(null), R = f(null), z = f(null), B = f(null), [V, H] = p(0), [U, W] = p(), G = f(void 0), K = e.findIndex((e) => n(e) === U), de = t.findIndex((e) => e.secondary !== !0), q = typeof T?.height == "string" ? T.height : "content";
262
+ D({
263
+ end: R,
264
+ onEndReached: T === void 0 ? A : void 0,
265
+ content: e.length
266
+ }), u(() => {
267
+ let e = z.current, t = B.current;
268
+ if (T === void 0 || e === null || t === null) return;
269
+ let n = new ResizeObserver(() => H(e.offsetHeight + t.offsetHeight));
187
270
  return n.observe(e), n.observe(t), () => n.disconnect();
188
- }, [E]);
189
- let V = T({
271
+ }, [
272
+ T,
273
+ C,
274
+ w
275
+ ]);
276
+ let J = oe({
190
277
  count: e.length,
191
- enabled: E !== void 0,
192
- getScrollElement: () => j.current,
278
+ enabled: T !== void 0,
279
+ getScrollElement: () => L.current,
193
280
  getItemKey: (t) => {
194
281
  let r = e[t];
195
282
  if (r === void 0) throw RangeError("The virtual row is outside the supplied table page.");
196
283
  return n(r);
197
284
  },
198
- estimateSize: () => E?.estimatedRowHeight ?? 44,
199
- scrollMargin: I,
200
- scrollPaddingStart: I,
285
+ estimateSize: () => T?.estimatedRowHeight ?? 44,
286
+ scrollMargin: V,
287
+ scrollPaddingStart: V,
201
288
  overscan: 6,
202
289
  rangeExtractor: (t) => {
203
- let n = w(t);
204
- return B === -1 ? n : [.../* @__PURE__ */ new Set([
290
+ let n = S(t);
291
+ return K === -1 ? n : [.../* @__PURE__ */ new Set([
205
292
  ...n,
206
- B - 1,
207
- B,
208
- B + 1
293
+ K - 1,
294
+ K,
295
+ K + 1
209
296
  ])].filter((t) => t >= 0 && t < e.length).toSorted((e, t) => e - t);
210
297
  }
211
- }), H = E === void 0 ? k.getRowModel().rows.map((e, t) => ({
298
+ }), Y = T === void 0 ? I.getRowModel().rows.map((e, t) => ({
212
299
  row: e,
213
300
  index: t,
214
301
  gap: 0
215
- })) : V.getVirtualItems().flatMap((e, t, n) => {
216
- let r = k.getRowModel().rows[e.index];
302
+ })) : J.getVirtualItems().flatMap((e, t, n) => {
303
+ let r = I.getRowModel().rows[e.index];
217
304
  return r === void 0 ? [] : [{
218
305
  row: r,
219
306
  index: e.index,
220
- gap: e.start - (n[t - 1]?.end ?? I)
307
+ gap: e.start - (n[t - 1]?.end ?? V)
221
308
  }];
222
- }), U = t.length + (y === void 0 ? 0 : 1), W = V.getTotalSize() - (V.getVirtualItems().at(-1)?.end ?? I) + I;
223
- return /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("div", {
224
- ref: j,
225
- role: "region",
226
- "aria-label": i,
227
- tabIndex: 0,
228
- ...o.props(M.viewport, E !== void 0 && M.virtual(E.height)),
229
- children: /* @__PURE__ */ p("table", {
230
- "aria-rowcount": E === void 0 ? void 0 : e.length + 1,
231
- className: "xh8yej3 x1mwwwfo x1hz01jw xtqrqnz x1778rvt xss6m8b xdpxx8g xbixft xpvm0e4",
232
- children: [
233
- /* @__PURE__ */ f("caption", {
234
- ref: P,
235
- className: "xdpxx8g x1c8xbx5 x153jb6y xy8obcc",
236
- children: i
237
- }),
238
- /* @__PURE__ */ f("thead", {
239
- ref: F,
240
- children: /* @__PURE__ */ p("tr", { children: [y !== void 0 && /* @__PURE__ */ f("th", {
241
- scope: "col",
242
- className: "x7wzq59 x13vifvy x1vjfegm xc9qbxq xt970qd xso031l x1q0q8m5 x1qndepd x153jb6y xpvm0e4 xo1l8bm xy8obcc xuxw1ft x187nhsf xeuugli x1m92p3w",
243
- children: "Select"
244
- }), t.map((e) => {
245
- let t = _?.columnId === e.id ? _.direction : void 0;
246
- return /* @__PURE__ */ f("th", {
309
+ }), X = T !== void 0 && (e.length === 0 || J.range?.endIndex === e.length - 1);
310
+ u(() => {
311
+ X && A?.();
312
+ }, [
313
+ X,
314
+ A,
315
+ e.length
316
+ ]), te(() => {
317
+ if (G.current === void 0) return;
318
+ let e = Array.from(L.current?.querySelectorAll("[data-row-id]") ?? []).find((e) => e.dataset.rowId === G.current)?.querySelector("[data-row-action]");
319
+ e != null && (e.focus({ preventScroll: T !== void 0 }), G.current = void 0);
320
+ });
321
+ function fe(t, r) {
322
+ let i = t.metaKey || t.ctrlKey, a = t.altKey || t.shiftKey;
323
+ if (i || a) return;
324
+ let o = k.get(t.key);
325
+ if (o === void 0) return;
326
+ t.preventDefault();
327
+ let s = r + o, c = e[s];
328
+ c !== void 0 && (G.current = n(c), W(G.current), T !== void 0 && J.scrollToIndex(s, { align: "auto" }));
329
+ }
330
+ let Z = t.length + (g === void 0 ? 0 : 1), Q = g === void 0 ? 0 : 44, pe = t.reduce((e, t) => e + (t.width ?? 160), Q), me = t.filter((e) => e.secondary !== !0).reduce((e, t) => e + (t.width ?? 160), Q), $ = J.getTotalSize() - (J.getVirtualItems().at(-1)?.end ?? V) + V;
331
+ return /* @__PURE__ */ h("div", {
332
+ ...l.props(j.frame, ce[q]),
333
+ children: [/* @__PURE__ */ h("div", {
334
+ ref: L,
335
+ role: "region",
336
+ "aria-label": r,
337
+ tabIndex: 0,
338
+ ...l.props(j.viewport, le[q], typeof T?.height == "number" && j.virtual(T.height)),
339
+ children: [/* @__PURE__ */ h("table", {
340
+ "aria-rowcount": T === void 0 ? void 0 : Math.max(1, e.length) + 1,
341
+ ...l.props(j.table, t.some((e) => e.truncate === !0) && j.fixed, j.minimumWidth(pe, me)),
342
+ children: [
343
+ /* @__PURE__ */ m("caption", {
344
+ ref: z,
345
+ ...l.props(j.caption, C && s.hidden),
346
+ children: r
347
+ }),
348
+ /* @__PURE__ */ h("colgroup", { children: [g !== void 0 && /* @__PURE__ */ m("col", { className: "x187nhsf xeuugli x1m92p3w" }), t.map((e) => /* @__PURE__ */ m("col", { ...l.props(e.width !== void 0 && j.width(e.width), e.secondary === !0 && j.secondary) }, e.id))] }),
349
+ /* @__PURE__ */ m("thead", {
350
+ ref: B,
351
+ ...l.props(w && s.hidden),
352
+ children: /* @__PURE__ */ h("tr", { children: [g !== void 0 && /* @__PURE__ */ m("th", {
247
353
  scope: "col",
248
- "aria-sort": t,
249
- ...o.props(M.header, N[e.align ?? "start"], e.width !== void 0 && M.width(e.width)),
250
- children: e.sortable === !0 && v !== void 0 ? /* @__PURE__ */ p("button", {
251
- type: "button",
252
- className: "x3nfvp2 x6s0dn4 x1hnptsi x1uey4wk xwu7q15 x1717udv xc342km x1heor9g xjbqb8w xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t x1ypdohk x1mkgjtd x13qnu6 x9v5kkp x19rmrnh x7s97pk",
253
- onClick: () => {
254
- v(t === "ascending" ? {
255
- columnId: e.id,
256
- direction: "descending"
257
- } : t === "descending" ? void 0 : {
258
- columnId: e.id,
259
- direction: "ascending"
260
- });
261
- },
262
- children: [e.label, f(t === "ascending" ? h : t === "descending" ? m : g, {
263
- size: 14,
264
- "aria-hidden": "true"
265
- })]
266
- }) : e.label
267
- }, e.id);
268
- })] })
269
- }),
270
- /* @__PURE__ */ p("tbody", {
271
- onBlur: (e) => {
272
- e.currentTarget.contains(e.relatedTarget) || z(void 0);
273
- },
274
- children: [
275
- H.map(({ row: e, index: n, gap: i }) => /* @__PURE__ */ p(s, { children: [i > 0 && /* @__PURE__ */ f("tr", {
276
- "aria-hidden": "true",
277
- children: /* @__PURE__ */ f("td", {
278
- colSpan: U,
279
- ...o.props(M.spacer(i))
280
- })
281
- }), /* @__PURE__ */ p("tr", {
282
- "data-index": n,
283
- "aria-rowindex": E === void 0 ? void 0 : n + 2,
284
- ref: E === void 0 ? void 0 : V.measureElement,
285
- onFocus: () => z(e.id),
286
- ...{
287
- 0: { className: "x14o62y9 x178xt8z x13fuv20 xhjagg4 xzro8vx" },
288
- 1: { className: "x14o62y9 x178xt8z x13fuv20 xhjagg4 xzro8vx x1r8u7ye" }
289
- }[y?.has(e.id) === !0 | 0],
290
- children: [y !== void 0 && /* @__PURE__ */ f("td", {
291
- className: "xn9t2bk xxymvpz xj0a0fe x187nhsf xeuugli x1m92p3w",
292
- children: /* @__PURE__ */ f(r.Root, {
293
- "aria-label": S(e.original),
294
- checked: y.has(e.id),
295
- onCheckedChange: (t) => {
296
- let n = new Set(y);
297
- t ? n.add(e.id) : n.delete(e.id), b(n);
354
+ className: "x7wzq59 x13vifvy x1vjfegm xc9qbxq xt970qd xso031l x1q0q8m5 x1qndepd x153jb6y xpvm0e4 xo1l8bm xy8obcc xuxw1ft x187nhsf xeuugli x1m92p3w",
355
+ children: "Select"
356
+ }), t.map((e) => {
357
+ let t = o?.columnId === e.id ? o.direction : void 0;
358
+ return /* @__PURE__ */ m("th", {
359
+ scope: "col",
360
+ "aria-sort": t,
361
+ ...l.props(j.header, M[e.align ?? "start"], e.width !== void 0 && j.width(e.width), e.secondary === !0 && j.secondary),
362
+ children: e.sortable === !0 && c !== void 0 ? /* @__PURE__ */ h("button", {
363
+ type: "button",
364
+ className: "x3nfvp2 x6s0dn4 x1hnptsi x1uey4wk xwu7q15 x1717udv xc342km x1heor9g xjbqb8w xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t x1ypdohk x1mkgjtd x13qnu6 x9v5kkp x19rmrnh x7s97pk",
365
+ onClick: () => {
366
+ c(t === "ascending" ? {
367
+ columnId: e.id,
368
+ direction: "descending"
369
+ } : t === "descending" ? void 0 : {
370
+ columnId: e.id,
371
+ direction: "ascending"
372
+ });
298
373
  },
299
- children: /* @__PURE__ */ f(r.Indicator, {})
374
+ children: [e.label, m(t === "ascending" ? re : t === "descending" ? ne : ie, {
375
+ size: 14,
376
+ "aria-hidden": "true"
377
+ })]
378
+ }) : e.label
379
+ }, e.id);
380
+ })] })
381
+ }),
382
+ /* @__PURE__ */ h("tbody", {
383
+ onBlur: (e) => {
384
+ e.currentTarget.contains(e.relatedTarget) || W(void 0);
385
+ },
386
+ children: [
387
+ Y.map(({ row: e, index: n, gap: r }) => /* @__PURE__ */ h(ee, { children: [r > 0 && /* @__PURE__ */ m("tr", {
388
+ "aria-hidden": "true",
389
+ children: /* @__PURE__ */ m("td", {
390
+ colSpan: Z,
391
+ ...l.props(j.spacer(r))
300
392
  })
301
- }), t.map((t) => /* @__PURE__ */ f("td", {
302
- ...o.props(M.cell, N[t.align ?? "start"], t.width !== void 0 && M.width(t.width)),
303
- children: t.cell(e.original)
304
- }, t.id))]
305
- })] }, e.id)),
306
- E !== void 0 && W > 0 && /* @__PURE__ */ f("tr", {
307
- "aria-hidden": "true",
308
- children: /* @__PURE__ */ f("td", {
309
- colSpan: U,
310
- ...o.props(M.spacer(W))
311
- })
312
- }),
313
- e.length === 0 && /* @__PURE__ */ f("tr", { children: /* @__PURE__ */ f("td", {
314
- colSpan: U,
315
- className: "x1ttojsm x2b8uid x153jb6y",
316
- children: a
317
- }) })
318
- ]
319
- })
320
- ]
321
- })
322
- }), D !== void 0 && /* @__PURE__ */ f("div", {
323
- className: "x1c8xbx5 x178xt8z x13fuv20 xhjagg4",
324
- children: D
325
- })] });
393
+ }), /* @__PURE__ */ h("tr", {
394
+ "data-index": n,
395
+ "data-row-id": e.id,
396
+ "aria-rowindex": T === void 0 ? void 0 : n + 2,
397
+ ref: T === void 0 ? void 0 : J.measureElement,
398
+ onFocus: () => W(e.id),
399
+ onClick: (e) => {
400
+ if (y === void 0 || !P(e) || e.target instanceof Element && e.target.closest(O) !== null) return;
401
+ let t = e.currentTarget.querySelector("[data-row-action]");
402
+ t?.focus({ preventScroll: !0 }), t?.click();
403
+ },
404
+ ...{
405
+ 0: { className: "x14o62y9 x17kqdoe x178xt8z x13fuv20 xhjagg4 xzro8vx" },
406
+ 2: { className: "x14o62y9 x17kqdoe x178xt8z x13fuv20 xhjagg4 xzro8vx x1ypdohk" },
407
+ 1: { className: "x14o62y9 x17kqdoe x178xt8z x13fuv20 xhjagg4 xzro8vx x1r8u7ye" },
408
+ 3: { className: "x14o62y9 x17kqdoe x178xt8z x13fuv20 xhjagg4 xzro8vx x1ypdohk x1r8u7ye" }
409
+ }[(y !== void 0) << 1 | (g?.has(e.id) === !0 || b === e.id)],
410
+ children: [g !== void 0 && /* @__PURE__ */ m("td", {
411
+ className: "xn9t2bk xxymvpz xj0a0fe x187nhsf xeuugli x1m92p3w",
412
+ children: /* @__PURE__ */ m(a.Root, {
413
+ "aria-label": v(e.original),
414
+ checked: g.has(e.id),
415
+ onCheckedChange: (t) => {
416
+ let n = new Set(g);
417
+ t ? n.add(e.id) : n.delete(e.id), _(n);
418
+ },
419
+ children: /* @__PURE__ */ m(a.Indicator, {})
420
+ })
421
+ }), t.map((t, r) => /* @__PURE__ */ m("td", {
422
+ ...l.props(j.cell, M[t.align ?? "start"], t.width !== void 0 && j.width(t.width), t.secondary === !0 && j.secondary, t.truncate === !0 && j.truncated),
423
+ children: y !== void 0 && r === de ? /* @__PURE__ */ m(ue, {
424
+ row: e.original,
425
+ action: y,
426
+ active: b === e.id,
427
+ onKeyDown: (e) => fe(e, n),
428
+ children: /* @__PURE__ */ m("span", {
429
+ ...{
430
+ 0: { className: "x1lliihq xeuugli x193iq5w" },
431
+ 1: { className: "x1lliihq xeuugli x193iq5w xb3r6kr xuxw1ft xlyipyv" }
432
+ }[t.truncate === !0 | 0],
433
+ children: t.cell(e.original)
434
+ })
435
+ }) : /* @__PURE__ */ m("span", {
436
+ ...{
437
+ 0: { className: "x1lliihq xeuugli x193iq5w" },
438
+ 1: { className: "x1lliihq xeuugli x193iq5w xb3r6kr xuxw1ft xlyipyv" }
439
+ }[t.truncate === !0 | 0],
440
+ children: t.cell(e.original)
441
+ })
442
+ }, t.id))]
443
+ })] }, e.id)),
444
+ T !== void 0 && $ > 0 && /* @__PURE__ */ m("tr", {
445
+ "aria-hidden": "true",
446
+ children: /* @__PURE__ */ m("td", {
447
+ colSpan: Z,
448
+ ...l.props(j.spacer($))
449
+ })
450
+ }),
451
+ e.length === 0 && /* @__PURE__ */ m("tr", { children: /* @__PURE__ */ m("td", {
452
+ colSpan: Z,
453
+ className: "x1ttojsm x2b8uid x153jb6y",
454
+ children: i
455
+ }) })
456
+ ]
457
+ })
458
+ ]
459
+ }), /* @__PURE__ */ m("div", {
460
+ ref: R,
461
+ ...{
462
+ 0: {},
463
+ 1: { className: "xid9utz x1c8xbx5" }
464
+ }[E !== void 0 | 0],
465
+ children: E
466
+ })]
467
+ }), N !== void 0 && /* @__PURE__ */ m("div", {
468
+ className: "x1c8xbx5 x178xt8z x13fuv20 xhjagg4",
469
+ children: N
470
+ })]
471
+ });
472
+ }
473
+ function P(e) {
474
+ if (e.defaultPrevented || e.button !== 0) return !1;
475
+ let t = e.metaKey || e.ctrlKey, n = e.altKey || e.shiftKey;
476
+ return t || n ? !1 : e.detail === 0 || e.currentTarget.ownerDocument.getSelection()?.isCollapsed !== !1;
477
+ }
478
+ function ue({ row: e, action: t, active: n, children: r, onKeyDown: i }) {
479
+ return t.href === void 0 ? /* @__PURE__ */ m("button", {
480
+ type: "button",
481
+ "aria-label": t.label?.(e),
482
+ "aria-pressed": n,
483
+ "data-row-action": !0,
484
+ onKeyDown: i,
485
+ onClick: (n) => {
486
+ P(n) && t.onActivate(e);
487
+ },
488
+ className: "x1rh3ycu x1hx0egp x1lliihq xh8yej3 xaeotn9 xwu7q15 x1717udv xc342km x1cum3z5 x1heor9g xjbqb8w xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t x16tdsg8 x1hl2dhg x1ypdohk x13qnu6 x9v5kkp x19rmrnh x7s97pk",
489
+ children: r
490
+ }) : /* @__PURE__ */ m("a", {
491
+ href: t.href(e),
492
+ "aria-label": t.label?.(e),
493
+ "data-row-action": !0,
494
+ onKeyDown: i,
495
+ onClick: (n) => {
496
+ t.onActivate !== void 0 && P(n) && (n.preventDefault(), t.onActivate(e));
497
+ },
498
+ className: "x1rh3ycu x1hx0egp x1lliihq xh8yej3 xaeotn9 xwu7q15 x1717udv xc342km x1cum3z5 x1heor9g xjbqb8w xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t x16tdsg8 x1hl2dhg x1ypdohk x13qnu6 x9v5kkp x19rmrnh x7s97pk",
499
+ children: r
500
+ });
501
+ }
502
+ // packages/collections/src/collection-scroll.tsx
503
+ function F(e) {
504
+ switch (e.status) {
505
+ case "loading": return /* @__PURE__ */ m("span", {
506
+ role: "status",
507
+ children: e.message ?? "Loading…"
508
+ });
509
+ case "complete": return /* @__PURE__ */ m(n, { children: e.message ?? "End of results" });
510
+ case "ready": return /* @__PURE__ */ m(r, {
511
+ onClick: e.onLoadMore,
512
+ children: e.message ?? "Load more"
513
+ });
514
+ case "error": return /* @__PURE__ */ h(t, {
515
+ role: "status",
516
+ children: [/* @__PURE__ */ m(n, { children: e.message ?? "More records could not be loaded." }), /* @__PURE__ */ m(r, {
517
+ onClick: e.onLoadMore,
518
+ children: "Retry"
519
+ })]
520
+ });
521
+ }
522
+ }
523
+ function I({ children: e, endContent: t, onEndReached: n, fill: r = !1, endPosition: i = "end" }) {
524
+ let a = f(null), o = f(null);
525
+ D({
526
+ end: o,
527
+ viewport: r ? a : void 0,
528
+ onEndReached: n,
529
+ content: e
530
+ });
531
+ let s = /* @__PURE__ */ m("div", {
532
+ ref: o,
533
+ ...{
534
+ 0: {},
535
+ 1: { className: "xid9utz x1c8xbx5 x153jb6y xy8obcc x2b8uid" }
536
+ }[t !== void 0 | 0],
537
+ children: t
538
+ });
539
+ return /* @__PURE__ */ h("div", {
540
+ ref: a,
541
+ ...{
542
+ 0: {},
543
+ 1: { className: "x98rzlu x2lwn1j x1odjw0f x1e4zzel" }
544
+ }[!!r | 0],
545
+ children: [
546
+ i === "start" && s,
547
+ e,
548
+ i === "end" && s
549
+ ]
550
+ });
326
551
  }
327
552
  // packages/collections/src/inspector.tsx
328
- function F({ master: e, detail: t, label: n, ...r }) {
329
- return /* @__PURE__ */ p("div", {
330
- ...a({ className: "xrvj5dj x1mkdm3x xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr" }, r),
331
- children: [/* @__PURE__ */ f("div", {
553
+ function L({ master: e, detail: t, label: n, ...r }) {
554
+ return /* @__PURE__ */ h("div", {
555
+ ...c({ className: "xrvj5dj x1mkdm3x xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xpvm0e4 xb3r6kr" }, r),
556
+ children: [/* @__PURE__ */ m("div", {
332
557
  className: "xeuugli",
333
558
  children: e
334
- }), /* @__PURE__ */ f("aside", {
559
+ }), /* @__PURE__ */ m("aside", {
335
560
  "aria-label": n,
336
561
  className: "xeuugli x1jvlu93 xpvm0e4 x178xt8z x13fuv20 xhjagg4",
337
562
  children: t
338
563
  })]
339
564
  });
340
565
  }
341
- function I({ items: e, ...t }) {
342
- return /* @__PURE__ */ f("dl", {
343
- ...a({ className: "x1ghz6dp xrvj5dj x10i657a x1i3977y xuytk5h x1hz01jw xvmahel xtqrqnz x1778rvt" }, t),
344
- children: e.map(({ label: e, value: t }) => /* @__PURE__ */ p("div", {
566
+ function R({ items: e, ...t }) {
567
+ return /* @__PURE__ */ m("dl", {
568
+ ...c({ className: "x1ghz6dp xrvj5dj x10i657a x1i3977y xuytk5h x1hz01jw xvmahel xtqrqnz x1778rvt" }, t),
569
+ children: e.map(({ label: e, value: t }) => /* @__PURE__ */ h("div", {
345
570
  className: "xjp7ctv",
346
- children: [/* @__PURE__ */ f("dt", {
571
+ children: [/* @__PURE__ */ m("dt", {
347
572
  className: "x153jb6y",
348
573
  children: e
349
- }), /* @__PURE__ */ f("dd", {
574
+ }), /* @__PURE__ */ m("dd", {
350
575
  className: "x1ghz6dp xbixft xj0a0fe xss6m8b",
351
576
  children: t
352
577
  })]
@@ -354,36 +579,36 @@ function I({ items: e, ...t }) {
354
579
  });
355
580
  }
356
581
  // packages/collections/src/list-footer.tsx
357
- function L({ children: e, actions: t, ...n }) {
358
- return /* @__PURE__ */ p("div", {
359
- ...a({ className: "x78zum5 x6s0dn4 x1qughib x1a02dak x1n8ia3y x1qokhjc x1m92p3w x178xt8z x13fuv20 xhjagg4 x153jb6y x1hz01jw xvmahel xtqrqnz x1778rvt" }, n),
360
- children: [/* @__PURE__ */ f("div", { children: e }), t != null && /* @__PURE__ */ f("div", {
582
+ function z({ children: e, actions: t, ...n }) {
583
+ return /* @__PURE__ */ h("div", {
584
+ ...c({ className: "x78zum5 x6s0dn4 x1qughib x1a02dak x1n8ia3y x1qokhjc x1m92p3w x178xt8z x13fuv20 xhjagg4 x153jb6y x1hz01jw xvmahel xtqrqnz x1778rvt" }, n),
585
+ children: [/* @__PURE__ */ m("div", { children: e }), t != null && /* @__PURE__ */ m("div", {
361
586
  className: "x78zum5 x6s0dn4 x1hnptsi",
362
587
  children: t
363
588
  })]
364
589
  });
365
590
  }
366
591
  // packages/collections/src/metrics.tsx
367
- function R(e) {
368
- return /* @__PURE__ */ f("dl", { ...a({ className: "x78zum5 x1a02dak xpb3s3w x1i3977y x1ghz6dp" }, e) });
592
+ function B(e) {
593
+ return /* @__PURE__ */ m("dl", { ...c({ className: "x78zum5 x1a02dak xpb3s3w x1i3977y x1ghz6dp" }, e) });
369
594
  }
370
- function z({ label: e, value: t, ...n }) {
371
- return /* @__PURE__ */ p("div", {
372
- ...a({ className: "x3nfvp2 x1pha0wt xunmzkg xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt" }, n),
373
- children: [/* @__PURE__ */ f("dt", {
595
+ function V({ label: e, value: t, ...n }) {
596
+ return /* @__PURE__ */ h("div", {
597
+ ...c({ className: "x3nfvp2 x1pha0wt xunmzkg xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt" }, n),
598
+ children: [/* @__PURE__ */ m("dt", {
374
599
  className: "x153jb6y x9ek82g",
375
600
  children: e
376
- }), /* @__PURE__ */ f("dd", {
601
+ }), /* @__PURE__ */ m("dd", {
377
602
  className: "x1ghz6dp xbixft xk50ysn xss6m8b",
378
603
  children: t
379
604
  })]
380
605
  });
381
606
  }
382
607
  // packages/collections/src/table.tsx
383
- var B = {
608
+ var H = {
384
609
  kzqmXN: "x5lhr3w",
385
610
  $$css: !0
386
- }, V = {
611
+ }, U = {
387
612
  secondary: {
388
613
  k1xSpc: "x1n9xxwz xazwdyr",
389
614
  $$css: !0
@@ -392,7 +617,7 @@ var B = {
392
617
  kzqmXN: "x2ipgtl",
393
618
  $$css: !0
394
619
  },
395
- column: (e) => [B, { "--x-width": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(`${e}%`) }],
620
+ column: (e) => [H, { "--x-width": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(`${e}%`) }],
396
621
  th: {
397
622
  kVAEAm: "x1n2onr6",
398
623
  kZKoxP: "xc9qbxq",
@@ -422,45 +647,45 @@ var B = {
422
647
  $$css: !0
423
648
  }
424
649
  };
425
- function H({ headers: e, children: t, label: n, ...r }) {
650
+ function W({ headers: e, children: t, label: n, ...r }) {
426
651
  let i = e.findLastIndex((e) => typeof e == "string" || e.secondary !== !0);
427
- return /* @__PURE__ */ f("div", {
652
+ return /* @__PURE__ */ m("div", {
428
653
  role: "region",
429
654
  "aria-label": n,
430
655
  tabIndex: 0,
431
656
  className: "xeuugli xh8yej3 xw2csxc x13qnu6 x9v5kkp x19rmrnh x1bqaal",
432
- children: /* @__PURE__ */ p("table", {
433
- ...a({ "aria-label": n }, {
657
+ children: /* @__PURE__ */ h("table", {
658
+ ...c({ "aria-label": n }, {
434
659
  0: { className: "xh8yej3 x1mwwwfo xpvm0e4 x1hz01jw xvmahel xtqrqnz x1778rvt xdpxx8g" },
435
660
  1: { className: "xh8yej3 x1mwwwfo xpvm0e4 x1hz01jw xvmahel xtqrqnz x1778rvt xdpxx8g x140o2bo" }
436
661
  }[!!e.some((e) => typeof e != "string") | 0], r),
437
- children: [/* @__PURE__ */ f("thead", { children: /* @__PURE__ */ f("tr", { children: e.map((t, n) => /* @__PURE__ */ f("th", {
662
+ children: [/* @__PURE__ */ m("thead", { children: /* @__PURE__ */ m("tr", { children: e.map((t, n) => /* @__PURE__ */ m("th", {
438
663
  scope: "col",
439
- ...o.props(V.th, typeof t != "string" && V.column(t.width), typeof t != "string" && V.compactWidth, typeof t != "string" && t.secondary === !0 && V.secondary, n === e.length - 1 && V.lastHeader, n === i && V.lastPrimaryHeader),
664
+ ...l.props(U.th, typeof t != "string" && U.column(t.width), typeof t != "string" && U.compactWidth, typeof t != "string" && t.secondary === !0 && U.secondary, n === e.length - 1 && U.lastHeader, n === i && U.lastPrimaryHeader),
440
665
  children: typeof t == "string" ? t : t.label
441
- }, typeof t == "string" ? t : t.label)) }) }), /* @__PURE__ */ f("tbody", { children: t })]
666
+ }, typeof t == "string" ? t : t.label)) }) }), /* @__PURE__ */ m("tbody", { children: t })]
442
667
  })
443
668
  });
444
669
  }
445
- function U({ children: e, secondary: t = !1, mobileLabel: n, ...r }) {
446
- return /* @__PURE__ */ p("td", {
447
- ...a({
670
+ function G({ children: e, secondary: t = !1, mobileLabel: n, ...r }) {
671
+ return /* @__PURE__ */ h("td", {
672
+ ...c({
448
673
  0: { className: "x14o62y9 x9f619 x1t0vds8 x1m92p3w xbixft xxymvpz xuxw1ft xss6m8b xb3r6kr xlyipyv" },
449
674
  1: { className: "x14o62y9 x9f619 x1t0vds8 x1m92p3w xbixft xxymvpz xuxw1ft xss6m8b xb3r6kr xlyipyv x1n9xxwz xazwdyr" }
450
675
  }[!!t | 0], r),
451
- children: [e, n !== void 0 && /* @__PURE__ */ f("small", {
676
+ children: [e, n !== void 0 && /* @__PURE__ */ m("small", {
452
677
  className: "x1s85apg xacuhyv x153jb6y xy8obcc xas2l8k xb3r6kr xlyipyv",
453
678
  children: n
454
679
  })]
455
680
  });
456
681
  }
457
682
  // packages/collections/src/timestamp.tsx
458
- function W({ dateTime: e, label: t, title: n }) {
459
- return /* @__PURE__ */ f("time", {
683
+ function K({ dateTime: e, label: t, title: n }) {
684
+ return /* @__PURE__ */ m("time", {
460
685
  dateTime: e,
461
686
  title: n,
462
687
  className: "x1hz01jw xy8obcc xas2l8k x153jb6y xss6m8b",
463
688
  children: t
464
689
  });
465
690
  }
466
- export { U as Cell, k as CollectionPagination, E as CollectionToolbar, O as ColumnControls, P as DataTable, I as Details, D as FilterChips, F as Inspector, L as ListFooter, z as Metric, R as MetricGrid, H as Table, W as Timestamp };
691
+ export { G as Cell, F as CollectionEnd, E as CollectionPagination, I as CollectionScroll, C as CollectionToolbar, T as ColumnControls, N as DataTable, R as Details, w as FilterChips, L as Inspector, z as ListFooter, V as Metric, B as MetricGrid, W as Table, K as Timestamp };