@mechane-ai/elements 0.41.0 → 0.42.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 (65) hide show
  1. package/README.md +40 -9
  2. package/bin/catalog.d.mts +17 -0
  3. package/bin/mechane-elements-catalog.mjs +60 -0
  4. package/dist/agent.js +1 -1
  5. package/dist/ai.js +23 -23
  6. package/dist/catalog.json +1896 -0
  7. package/dist/{categorical-values-DnGR_pQx.js → categorical-values-B6lGI7BH.js} +3 -3
  8. package/dist/{chart-frame-BsyI1Zc8.js → chart-frame-D0enjyj9.js} +1 -1
  9. package/dist/{chart-input-r4S3-QCT.js → chart-input-D4_Awave.js} +2 -2
  10. package/dist/{chart-navigation-D7OkLdSx.js → chart-navigation-D4-pdgpj.js} +12 -1
  11. package/dist/charts/cartesian.js +263 -243
  12. package/dist/charts/distribution.js +4 -4
  13. package/dist/charts/graph.js +4 -4
  14. package/dist/charts/hierarchy.js +4 -4
  15. package/dist/charts/matrix.js +4 -4
  16. package/dist/charts/timeline.js +3 -3
  17. package/dist/charts.js +2 -2
  18. package/dist/{code-block-C4K1sM9O.js → code-block-Cpfr7B6a.js} +1 -1
  19. package/dist/collections.js +475 -354
  20. package/dist/content/code.js +1 -1
  21. package/dist/content/diff.js +3 -3
  22. package/dist/content/link.js +1 -1
  23. package/dist/content/markdown.js +2 -2
  24. package/dist/content/tree.js +2 -2
  25. package/dist/{content-link-CBDqSvgP.js → content-link-CGeFFb9F.js} +1 -1
  26. package/dist/content.js +1 -1
  27. package/dist/feedback.js +1 -1
  28. package/dist/forms/dates.js +11 -11
  29. package/dist/{forms-I-WMHTkr.js → forms-DeU0Tiv3.js} +6 -2
  30. package/dist/forms.js +3 -3
  31. package/dist/index.js +1 -1
  32. package/dist/layout.js +275 -249
  33. package/dist/mechane-elements-catalog.mjs +4 -0
  34. package/dist/navigation.js +2 -2
  35. package/dist/packages/charts/src/chart-inspection.d.ts +1 -0
  36. package/dist/packages/charts/src/chart-navigation.d.ts +2 -0
  37. package/dist/packages/charts/src/chart-surface.d.ts +2 -0
  38. package/dist/packages/collections/src/collection-controls.d.ts +2 -1
  39. package/dist/packages/collections/src/data-table.d.ts +12 -8
  40. package/dist/packages/collections/src/index.d.ts +1 -0
  41. package/dist/packages/collections/src/table-results.d.ts +26 -0
  42. package/dist/packages/core/src/actions.d.ts +6 -0
  43. package/dist/packages/core/src/index.d.ts +1 -1
  44. package/dist/packages/forms/src/form-status.d.ts +7 -0
  45. package/dist/packages/forms/src/forms.d.ts +3 -1
  46. package/dist/packages/forms/src/index.d.ts +2 -0
  47. package/dist/packages/foundations/src/agent/index.d.ts +2 -2
  48. package/dist/packages/layout/src/page-context.d.ts +4 -0
  49. package/dist/packages/navigation/src/index.d.ts +1 -0
  50. package/dist/packages/navigation/src/route-link.d.ts +2 -0
  51. package/dist/{pierre-diff-DJ3oOfPX.js → pierre-diff-B3tD3-6z.js} +1 -1
  52. package/dist/{src-D2OHco8V.js → src-Bk7M67zy.js} +3 -3
  53. package/dist/{src-DfOAlAd2.js → src-BpvnBWrF.js} +1 -1
  54. package/dist/{src-CQQvXi7a.js → src-DBNncL7_.js} +70 -50
  55. package/dist/{src-s3tWwnN4.js → src-DcW_gMX8.js} +178 -168
  56. package/dist/{src-CNV1ewzb.js → src-gqEebHEa.js} +319 -285
  57. package/package.json +9 -2
  58. package/recipes/consequential-form.tsx +132 -0
  59. package/recipes/searchable-collection.tsx +106 -0
  60. package/recipes/sectioned-report.tsx +58 -0
  61. package/recipes/tabbed-workspace.tsx +84 -0
  62. package/skills/extend-elements/SKILL.md +28 -0
  63. package/skills/use-elements/SKILL.md +36 -0
  64. package/skills/{elements-presentation/SKILL.md → use-elements/references/reports.md} +0 -6
  65. package/skills/{elements-workspace/SKILL.md → use-elements/references/workspace.md} +0 -6
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import catalog from './catalog.json' with { type: 'json' };
3
+ import { runCatalog } from '../bin/mechane-elements-catalog.mjs';
4
+ runCatalog(catalog);
@@ -1,3 +1,3 @@
1
1
  import { n as e, t } from "./navigation-CveMIuXI.js";
2
- import { a as n, i as r, n as i, r as a, t as o } from "./src-CQQvXi7a.js";
3
- export { t as Breadcrumb, o as ContentTabs, e as Kbd, r as PageNavigation, n as PageNavigationPlaceholder, a as SkipLink, i as Tabs };
2
+ import { a as n, i as r, n as i, o as a, r as o, t as s } from "./src-DBNncL7_.js";
3
+ export { t as Breadcrumb, s as ContentTabs, e as Kbd, r as PageNavigation, n as PageNavigationPlaceholder, a as RouteLink, o as SkipLink, i as Tabs };
@@ -22,5 +22,6 @@ export declare function ChartInspectionTitle({ title, detail, }: {
22
22
  readonly title: string;
23
23
  readonly detail: string | undefined;
24
24
  }): ReactNode;
25
+ export declare function inspectionReadout({ label, summary, rows, notes, }: Pick<ChartInspectionProps, 'label' | 'summary' | 'rows' | 'notes'>): string | undefined;
25
26
  export declare function ChartInspection({ id, label, summary, legend, layoutLegend, rows, x, width, offset, source, notes, hasSeriesSummary, }: ChartInspectionProps): ReactNode;
26
27
  export {};
@@ -15,6 +15,8 @@ export declare function useChartNavigation({ title, items, selection }: ChartNav
15
15
  items: readonly ChartNavigationItem[];
16
16
  cursor: string | undefined;
17
17
  inspected: string | undefined;
18
+ readout: string | undefined;
19
+ selected: string | undefined;
18
20
  allowVerticalNavigation: true;
19
21
  onInspect: (itemId: string) => void;
20
22
  onDismiss: () => void;
@@ -8,6 +8,8 @@ export type ChartControls = {
8
8
  readonly items: ReadonlyArray<ChartItem>;
9
9
  readonly cursor: string | undefined;
10
10
  readonly inspected: string | undefined;
11
+ readonly readout: string | undefined;
12
+ readonly selected?: string | undefined;
11
13
  readonly allowVerticalNavigation?: boolean;
12
14
  readonly onInspect: (id: string) => void;
13
15
  readonly onDismiss: () => void;
@@ -29,6 +29,7 @@ export type DisplayOptionsProps = {
29
29
  };
30
30
  export declare function DisplayOptions({ options, onChange, onReset, label, }: DisplayOptionsProps): ReactNode;
31
31
  export type CollectionPaginationProps = {
32
+ readonly label?: string;
32
33
  readonly description: string;
33
34
  readonly previous: {
34
35
  readonly disabled: boolean;
@@ -39,4 +40,4 @@ export type CollectionPaginationProps = {
39
40
  readonly onClick: () => void;
40
41
  };
41
42
  };
42
- export declare function CollectionPagination({ description, previous, next }: CollectionPaginationProps): ReactNode;
43
+ export declare function CollectionPagination({ label, description, previous, next }: CollectionPaginationProps): ReactNode;
@@ -1,5 +1,7 @@
1
1
  import type { ComponentProps, ReactNode } from 'react';
2
- import type { TableQuery } from './table-query.tsx';
2
+ import type { CollectionPaginationProps } from './collection-controls.tsx';
3
+ import type { LocalTableQuery, TableQuery } from './table-query.tsx';
4
+ import type { DataTableSort, TableResultStatus } from './table-results.tsx';
3
5
  type RowSizing = 'fixed' | 'content';
4
6
  export type DataTableColumnRole = 'primary' | 'text' | 'status' | 'number' | 'timestamp' | 'actions';
5
7
  export type DataTableColumnLayout = {
@@ -34,10 +36,7 @@ export type DataTableTextPlaceholderProps = {
34
36
  };
35
37
  export declare function DataTableText({ children, secondary, leading, trailing }: DataTableTextProps): ReactNode;
36
38
  export declare function DataTableTextPlaceholder({ leading, isSecondary }: DataTableTextPlaceholderProps): ReactNode;
37
- export type DataTableSort = {
38
- readonly columnId: string;
39
- readonly direction: 'ascending' | 'descending';
40
- };
39
+ export type { DataTableSort } from './table-results.tsx';
41
40
  export type DataTableWindow = {
42
41
  readonly height: number | 'fill';
43
42
  readonly estimatedRowHeight?: number;
@@ -90,9 +89,14 @@ type TableRowsProps<Row> = SortProperties<Row> & OptionalSelection<Row> & {
90
89
  readonly endContent?: ReactNode;
91
90
  readonly onEndReached?: () => void;
92
91
  readonly footer?: ReactNode;
92
+ readonly pagination?: CollectionPaginationProps;
93
+ readonly resultStatus?: TableResultStatus;
93
94
  };
94
- export type DataTableProps<Row> = TableRowsProps<Row> & {
95
+ export type DataTableProps<Row> = TableRowsProps<Row> & ({
95
96
  readonly query: TableQuery<Row>;
96
- };
97
+ readonly onEndReached?: never;
98
+ readonly pagination?: never;
99
+ } | {
100
+ readonly query: Exclude<TableQuery<Row>, LocalTableQuery<Row>>;
101
+ });
97
102
  export declare function DataTable<Row extends object>({ query, ...table }: DataTableProps<Row>): ReactNode;
98
- export {};
@@ -15,6 +15,7 @@ export { Timeline } from './timeline.tsx';
15
15
  export type { TimelineProps, TimelineItemProps } from './timeline.tsx';
16
16
  export { useCollectionControls } from './use-collection-controls.tsx';
17
17
  export type { CollectionSearch } from './query-controls.tsx';
18
+ export type { TableResultStatus } from './table-results.tsx';
18
19
  export type { CollectionControlsProps } from './use-collection-controls.tsx';
19
20
  export { CollectionFilters } from './collection-filters.tsx';
20
21
  export type { CollectionFilter, FilterOption } from './collection-filters.tsx';
@@ -0,0 +1,26 @@
1
+ import type { PartProps } from '@ui-sdk/react/primitive';
2
+ import type { ComponentType } from 'react';
3
+ import type { CollectionPaginationProps } from './collection-controls.tsx';
4
+ export type DataTableSort = {
5
+ readonly columnId: string;
6
+ readonly direction: 'ascending' | 'descending';
7
+ };
8
+ export type TableResultStatus = 'ready' | 'pending' | 'failed';
9
+ type ResultOptions = {
10
+ readonly status: TableResultStatus;
11
+ readonly sort: DataTableSort | undefined;
12
+ readonly pagination: CollectionPaginationProps | undefined;
13
+ readonly captionElement: {
14
+ readonly current: HTMLTableCaptionElement | null;
15
+ };
16
+ readonly isPlaceholder: boolean;
17
+ };
18
+ export declare const TableResultCaption: ComponentType<Omit<PartProps<'caption'>, 'id'> & ResultOptions>;
19
+ type RecordOptions = {
20
+ readonly recordId: string;
21
+ readonly collection: string;
22
+ };
23
+ type RecordTrigger<Tag extends 'a' | 'button'> = ComponentType<Omit<PartProps<Tag>, 'id'> & RecordOptions>;
24
+ export declare const RecordLink: RecordTrigger<'a'>;
25
+ export declare const RecordButton: RecordTrigger<'button'>;
26
+ export {};
@@ -38,4 +38,10 @@ export declare function IconButton({ children, ...props }: IconButtonProps): Rea
38
38
  export declare function TextButton({ tone, density, isPending, pendingLabel, children, className, style, xstyle, onClick, disabled, ...props }: SharedButtonProps): ReactNode;
39
39
  export declare function TextLink({ xstyle, ...props }: TextLinkProps): ReactNode;
40
40
  export declare function IconLink({ children, density, xstyle, render, ref, ...props }: IconLinkProps): ReactNode;
41
+ type ConfirmProps = Pick<ButtonProps, 'disabled' | 'isPending' | 'pendingLabel' | 'tone'> & {
42
+ readonly children: string;
43
+ readonly confirmation: string;
44
+ readonly onClick: NonNullable<ButtonProps['onClick']>;
45
+ };
46
+ export declare function ConfirmButton({ confirmation, onClick, tone, ...props }: ConfirmProps): ReactNode;
41
47
  export {};
@@ -1,5 +1,5 @@
1
1
  export type { ControlDensity } from '../../foundations/src/control-density.ts';
2
- export { Button, IconButton, IconLink, TextButton, TextLink } from './actions.tsx';
2
+ export { Button, ConfirmButton, IconButton, IconLink, TextButton, TextLink } from './actions.tsx';
3
3
  export type { AvatarProps } from './avatar.tsx';
4
4
  export { Avatar } from './avatar.tsx';
5
5
  export type { AgentAvatarShape } from './agent-avatar-glyphs.tsx';
@@ -0,0 +1,7 @@
1
+ import type { ReactNode } from 'react';
2
+ export type FormStatusProps = {
3
+ readonly status: 'pending' | 'error' | 'success';
4
+ /** The public result shown to the user. */
5
+ readonly message: string;
6
+ };
7
+ export declare function FormStatus({ status, message }: FormStatusProps): ReactNode;
@@ -5,6 +5,8 @@ import type { TextValueProperties } from '../../foundations/src/control-state.ts
5
5
  import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
6
6
  import type { TextareaAppearance } from './field-styles.ts';
7
7
  type FieldRootProps = ComponentProps<typeof SdkField> & {
8
+ /** Hide this whole field, including its label, description and validation messages, from the agent. */
9
+ readonly isSensitive?: boolean;
8
10
  readonly xstyle?: PlacementStyle;
9
11
  };
10
12
  type FieldLabelProps = ComponentProps<typeof SdkFieldLabel>;
@@ -23,7 +25,7 @@ type TextareaProps = TextControlProps<'textarea'> & {
23
25
  readonly shouldGrow?: boolean;
24
26
  readonly appearance?: TextareaAppearance;
25
27
  };
26
- declare function FieldRoot({ className, style, xstyle, ...props }: FieldRootProps): ReactNode;
28
+ declare function FieldRoot({ className, style, xstyle, isSensitive, ...props }: FieldRootProps): ReactNode;
27
29
  declare function FieldLabel({ className, style, ...props }: FieldLabelProps): ReactNode;
28
30
  declare function FieldDescription({ className, style, ...props }: FieldDescriptionProps): ReactNode;
29
31
  declare function FieldError({ className, style, ...props }: FieldErrorProps): ReactNode;
@@ -4,6 +4,8 @@ export { AgentAvatarPicker } from './agent-avatar-picker.tsx';
4
4
  export { FilePicker, Fieldset, InputGroup, NumberField, Slider } from './form-controls.tsx';
5
5
  export type { FormActionsProps } from './form-actions.tsx';
6
6
  export { FormActions } from './form-actions.tsx';
7
+ export { FormStatus } from './form-status.tsx';
8
+ export type { FormStatusProps } from './form-status.tsx';
7
9
  export { Field, Input, Textarea } from './forms.tsx';
8
10
  export { Select } from './select.tsx';
9
11
  export type { SelectControlProps, SelectOption } from './select-control.tsx';
@@ -1,2 +1,2 @@
1
- export { createAgent } from '@ui-sdk/react/agent';
2
- export type { AgentAction, AgentComponent, AgentStep } from '@ui-sdk/react/agent';
1
+ export { agentTools, createAgent, registerTools } from '@ui-sdk/react/agent';
2
+ export type { AgentAction, AgentChange, AgentComponent, AgentStep, ObservedChange } from '@ui-sdk/react/agent';
@@ -0,0 +1,4 @@
1
+ import type { PartProps } from '@ui-sdk/react/primitive';
2
+ import type { ComponentType } from 'react';
3
+ export declare const PageTitle: ComponentType<Omit<PartProps<'h1'>, 'id'>>;
4
+ export declare const ReadingSection: ComponentType<Omit<PartProps<'section'>, 'id'>>;
@@ -1,6 +1,7 @@
1
1
  export { Kbd, Breadcrumb } from './navigation.tsx';
2
2
  export type { PageNavigationItem, PageNavigationProps, PageNavigationPlaceholderProps } from './page-navigation.tsx';
3
3
  export { PageNavigation, PageNavigationPlaceholder } from './page-navigation.tsx';
4
+ export { RouteLink } from './route-link.tsx';
4
5
  export { SkipLink } from './skip-link.tsx';
5
6
  export { Tabs } from './tabs.tsx';
6
7
  export { ContentTabs } from './content-tabs.tsx';
@@ -0,0 +1,2 @@
1
+ import type { ComponentProps, ReactNode } from 'react';
2
+ export declare function RouteLink(props: ComponentProps<'a'>): ReactNode;
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./use-scroll-tab-index-Dxpdh4W7.js";
2
- import { n as t, r as n } from "./code-block-C4K1sM9O.js";
2
+ import { n as t, r as n } from "./code-block-Cpfr7B6a.js";
3
3
  import { t as r } from "./viewer-styles-DsFYri4K.js";
4
4
  import * as i from "@stylexjs/stylex";
5
5
  import { useCallback as a, useState as o } from "react";
@@ -1,8 +1,8 @@
1
- import { D as e, _ as t, v as n, w as r } from "./src-s3tWwnN4.js";
1
+ import { O as e, _ as t, v as n, w as r } from "./src-DcW_gMX8.js";
2
2
  import { t as i } from "./use-scroll-tab-index-Dxpdh4W7.js";
3
3
  import { t as a } from "./viewer-styles-DsFYri4K.js";
4
- import { t as o } from "./code-block-C4K1sM9O.js";
5
- import { t as s } from "./content-link-CBDqSvgP.js";
4
+ import { t as o } from "./code-block-Cpfr7B6a.js";
5
+ import { t as s } from "./content-link-CGeFFb9F.js";
6
6
  import * as c from "@stylexjs/stylex";
7
7
  import { useCallback as l, useEffect as u, useLayoutEffect as d, useRef as f, useState as p } from "react";
8
8
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { i as e, s as t } from "./src-s3tWwnN4.js";
1
+ import { i as e, s as t } from "./src-DcW_gMX8.js";
2
2
  import { a as n, n as r, r as i, t as a } from "./control-styles-D3q_Qyxi.js";
3
3
  import { i as o, n as s, r as c } from "./tokens.stylex-dF5CACEJ.js";
4
4
  import { t as l } from "./accessibility-P89UG9-r.js";
@@ -1,11 +1,31 @@
1
1
  import { t as e } from "./header-styles-COxCYFZx.js";
2
2
  import * as t from "@stylexjs/stylex";
3
- import { mergeProps as n } from "@ui-sdk/react/primitive";
4
- import { Children as r, useState as i } from "react";
5
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
6
- import { Tabs as s, TabsList as c, TabsPanel as l, TabsTab as u } from "@ui-sdk/react/tabs";
3
+ import { createParts as n, mergeProps as r } from "@ui-sdk/react/primitive";
4
+ import { Children as i, useState as a } from "react";
5
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
+ import { definePrimitive as c } from "@ui-sdk/core";
7
+ import { Tabs as l, TabsList as u, TabsPanel as d, TabsTab as f } from "@ui-sdk/react/tabs";
8
+ // packages/navigation/src/route-link.tsx
9
+ function p({ current: e }) {
10
+ return { current: e ?? null };
11
+ }
12
+ var m = c({
13
+ name: "navigation-link",
14
+ options: { current: "value" },
15
+ state: p,
16
+ sync: p,
17
+ controlled: ["current"],
18
+ api: () => ({}),
19
+ slots: (e) => ({ root: e({}) })
20
+ }), h = n(m, { root: "a" });
21
+ function g(e) {
22
+ return e.href === void 0 ? /* @__PURE__ */ o("a", { ...e }) : /* @__PURE__ */ o(h.Root, {
23
+ current: e["aria-current"],
24
+ render: /* @__PURE__ */ o("a", { ...e })
25
+ });
26
+ }
7
27
  // packages/navigation/src/tab-styles.ts
8
- var d = {
28
+ var _ = {
9
29
  list: {
10
30
  k1xSpc: "x78zum5",
11
31
  kOIVth: "xxhr3t",
@@ -71,7 +91,7 @@ var d = {
71
91
  kiEn40: "x1bqaal",
72
92
  $$css: !0
73
93
  }
74
- }, f = {
94
+ }, v = {
75
95
  navigation: {
76
96
  kt9PQ7: "x1qhh985",
77
97
  kUk6DE: "x12lumcd",
@@ -90,93 +110,93 @@ var d = {
90
110
  $$css: !0
91
111
  }
92
112
  };
93
- function p({ items: n, actions: i }) {
94
- return /* @__PURE__ */ o("div", {
113
+ function y({ items: n, actions: r }) {
114
+ return /* @__PURE__ */ s("div", {
95
115
  "aria-hidden": !0,
96
116
  inert: !0,
97
117
  className: "x78zum5 x1a02dak x1qjc9v5 xeuugli x2lah0s xso031l x1q0q8m5 x1qndepd",
98
- children: [/* @__PURE__ */ a("div", {
99
- ...t.props(d.list, f.navigation),
100
- children: n.map((e) => /* @__PURE__ */ a("span", {
101
- ...t.props(d.item),
118
+ children: [/* @__PURE__ */ o("div", {
119
+ ...t.props(_.list, v.navigation),
120
+ children: n.map((e) => /* @__PURE__ */ o("span", {
121
+ ...t.props(_.item),
102
122
  children: e.label
103
123
  }, e.id))
104
- }), r.toArray(i).length > 0 && /* @__PURE__ */ a("div", {
105
- ...t.props(e.row, f.actions),
106
- children: i
124
+ }), i.toArray(r).length > 0 && /* @__PURE__ */ o("div", {
125
+ ...t.props(e.row, v.actions),
126
+ children: r
107
127
  })]
108
128
  });
109
129
  }
110
- function m({ items: n, selectedId: i, onNavigate: s, label: c = "Page sections", actions: l }) {
111
- return /* @__PURE__ */ o("div", {
130
+ function b({ items: n, selectedId: r, onNavigate: a, label: c = "Page sections", actions: l }) {
131
+ return /* @__PURE__ */ s("div", {
112
132
  className: "x78zum5 x1a02dak x1qjc9v5 xeuugli x2lah0s xso031l x1q0q8m5 x1qndepd",
113
- children: [/* @__PURE__ */ a("nav", {
133
+ children: [/* @__PURE__ */ o("nav", {
114
134
  "aria-label": c,
115
- ...t.props(d.list, f.navigation),
116
- children: n.map((e) => /* @__PURE__ */ a("a", {
135
+ ...t.props(_.list, v.navigation),
136
+ children: n.map((e) => /* @__PURE__ */ o(g, {
117
137
  href: e.href,
118
- "aria-current": e.id === i ? "page" : void 0,
119
- ...t.props(d.item),
138
+ "aria-current": e.id === r ? "page" : void 0,
139
+ ...t.props(_.item),
120
140
  onClick: (t) => {
121
- if (s === void 0 || t.defaultPrevented || t.button !== 0) return;
141
+ if (a === void 0 || t.defaultPrevented || t.button !== 0) return;
122
142
  let n = t.metaKey || t.ctrlKey, r = t.shiftKey || t.altKey;
123
- n || r || (t.preventDefault(), s(e));
143
+ n || r || (t.preventDefault(), a(e));
124
144
  },
125
145
  children: e.label
126
146
  }, e.id))
127
- }), r.toArray(l).length > 0 && /* @__PURE__ */ a("div", {
128
- ...t.props(e.row, f.actions),
147
+ }), i.toArray(l).length > 0 && /* @__PURE__ */ o("div", {
148
+ ...t.props(e.row, v.actions),
129
149
  children: l
130
150
  })]
131
151
  });
132
152
  }
133
153
  // packages/navigation/src/skip-link.tsx
134
- function h(e) {
135
- return /* @__PURE__ */ a("a", { ...n({ className: "xixxii4 x1ridm32 x12hha37 x1b4oyad x174j0rr x1mvvolr x9f619 xvv7f4i xj0a0fe x1ok0vyi xpvm0e4 xbixft x1hz01jw xk4h15q xtqrqnz x1778rvt xvmahel xujl8zx x1wfrlr2 x1tkds87 x1de710j x1gnsi0 x1cm8ssg" }, e) });
154
+ function x(e) {
155
+ return /* @__PURE__ */ o("a", { ...r({ className: "xixxii4 x1ridm32 x12hha37 x1b4oyad x174j0rr x1mvvolr x9f619 xvv7f4i xj0a0fe x1ok0vyi xpvm0e4 xbixft x1hz01jw xk4h15q xtqrqnz x1778rvt xvmahel xujl8zx x1wfrlr2 x1tkds87 x1de710j x1gnsi0 x1cm8ssg" }, e) });
136
156
  }
137
157
  // packages/navigation/src/tabs.tsx
138
- function g(e) {
139
- return /* @__PURE__ */ a(s, { ...n({ className: "x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel xeuugli xsg5m96 x7bu0ch x18eqmq0" }, e) });
158
+ function S(e) {
159
+ return /* @__PURE__ */ o(l, { ...r({ className: "x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel xeuugli xsg5m96 x7bu0ch x18eqmq0" }, e) });
140
160
  }
141
- function _(e) {
142
- return /* @__PURE__ */ a(c, { ...n(t.props(d.list), e) });
161
+ function C(e) {
162
+ return /* @__PURE__ */ o(u, { ...r(t.props(_.list), e) });
143
163
  }
144
- function v({ value: e, ...r }) {
145
- return /* @__PURE__ */ a(u, {
164
+ function w({ value: e, ...n }) {
165
+ return /* @__PURE__ */ o(f, {
146
166
  value: e,
147
- ...n(t.props(d.item), r)
167
+ ...r(t.props(_.item), n)
148
168
  });
149
169
  }
150
- function y({ value: e, ...t }) {
151
- return /* @__PURE__ */ a(l, {
170
+ function T({ value: e, ...t }) {
171
+ return /* @__PURE__ */ o(d, {
152
172
  value: e,
153
- ...n({ className: "x1o3kwql xeuugli x1k57tk5 xcqfl4l xwqq6z6 x13qnu6 x9v5kkp x19rmrnh x7s97pk" }, t)
173
+ ...r({ className: "x1o3kwql xeuugli x1k57tk5 xcqfl4l xwqq6z6 x13qnu6 x9v5kkp x19rmrnh x7s97pk" }, t)
154
174
  });
155
175
  }
156
- var b = {
157
- Root: g,
158
- List: _,
159
- Tab: v,
160
- Panel: y
176
+ var E = {
177
+ Root: S,
178
+ List: C,
179
+ Tab: w,
180
+ Panel: T
161
181
  };
162
182
  // packages/navigation/src/content-tabs.tsx
163
- function x(e) {
164
- let [t, n] = i(e.defaultSelectedId ?? e.items[0]?.id), r = e.items.find((e) => e.id === t) ?? e.items[0];
165
- return /* @__PURE__ */ o(b.Root, {
183
+ function D(e) {
184
+ let [t, n] = a(e.defaultSelectedId ?? e.items[0]?.id), r = e.items.find((e) => e.id === t) ?? e.items[0];
185
+ return /* @__PURE__ */ s(E.Root, {
166
186
  value: r?.id ?? null,
167
187
  onValueChange: (e) => n(e ?? void 0),
168
188
  className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
169
- children: [/* @__PURE__ */ a(b.List, {
189
+ children: [/* @__PURE__ */ o(E.List, {
170
190
  "aria-label": e.label,
171
- children: e.items.map((e) => /* @__PURE__ */ a(b.Tab, {
191
+ children: e.items.map((e) => /* @__PURE__ */ o(E.Tab, {
172
192
  value: e.id,
173
193
  children: e.label
174
194
  }, e.id))
175
- }), r !== void 0 && /* @__PURE__ */ a(b.Panel, {
195
+ }), r !== void 0 && /* @__PURE__ */ o(E.Panel, {
176
196
  value: r.id,
177
197
  className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j x1odjw0f xexx8yu",
178
198
  children: r.content
179
199
  }, r.id)]
180
200
  });
181
201
  }
182
- export { p as a, m as i, b as n, h as r, x as t };
202
+ export { y as a, b as i, E as n, g as o, x as r, D as t };