cortena-ui 1.2.0 → 1.3.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.
package/README.md CHANGED
@@ -26,6 +26,40 @@ Consuming it: `../../CONSUMING.md`, section "cortena-ui".
26
26
  check in light, dark and system-dark; add an entry with every variant and
27
27
  size when adding a component.
28
28
 
29
+ ## Charts in tests
30
+
31
+ Both chart engines size themselves from the parent box, and under jsdom every
32
+ element measures 0×0. A page test that renders a screen containing a `<Chart>`
33
+ therefore gets an empty `<div>`: no `<svg>`, no bars, nothing to assert. Two
34
+ ways out, in order of preference.
35
+
36
+ **1. `testMode`, when the test is about the page.** It gives the drawing area a
37
+ 600×300 floor, so the chart draws and the page renders as a whole:
38
+
39
+ ```tsx
40
+ <Chart type="bar" data={rows} testMode={import.meta.env.MODE === "test"} />
41
+ ```
42
+
43
+ It is a floor, not a fixed size — a parent that does give the chart 900px still
44
+ gets 900px — so the same prop is harmless in a browser or screenshot test. A
45
+ screen that composes charts internally can take the flag as a prop and pass it
46
+ down, or read it once from the app's own test flag.
47
+
48
+ **2. Mock the module, when the test is about everything except the chart.**
49
+ Cheaper and faster, and the right choice when the assertion is "the dashboard
50
+ renders" rather than "the chart drew". Mock `cortena-ui`'s `Chart` to a stub
51
+ that echoes what it was handed:
52
+
53
+ ```tsx
54
+ vi.mock("cortena-ui", async (importOriginal) => ({
55
+ ...(await importOriginal<typeof import("cortena-ui")>()),
56
+ Chart: (props: { type: string }) => <div data-testid="chart" data-type={props.type} />,
57
+ }));
58
+ ```
59
+
60
+ Neither substitutes for the real check: whether a chart *looks* right is
61
+ settled in the guide and in this package's browser tests, not in a page test.
62
+
29
63
  ## A2UI: the vocabulary agents draw with
30
64
 
31
65
  `src/a2ui/` is Layer 1 of `cortena-docs/cortenaUI&Design/05-agent-ui.md`: an
package/dist/index.d.ts CHANGED
@@ -294,7 +294,10 @@ export declare function readAction(value: unknown): {
294
294
  * (the Nivo line shape the webchat emits). `ChartRow[]` is also accepted.
295
295
  * - **pie**, **donut**, **funnel**: `ChartSlice[]` — `[{ id, label?, value }]`.
296
296
  * - **scatter** (alias `scatterplot`): `ChartSeries[]` — one series per group.
297
- * - **heatmap**: `ChartSeries[]` — Nivo heatmap shape, `[{ id: row, data: [{ x: column, y: value }] }]`.
297
+ * - **heatmap**: `ChartSeries[]` — Nivo heatmap shape, `[{ id: row, data: [{ x: column, y: value }] }]` —
298
+ * or `ChartMatrix`, the categorical form a correlation / confusion matrix
299
+ * already has: `{ rows, columns, values }` with `values[r][c]` at
300
+ * `rows[r] × columns[c]`.
298
301
  * - **calendar**: `ChartDay[]` — `[{ day: "2026-01-31", value }]`; `from`/`to`
299
302
  * default to the data's range.
300
303
  * - **treemap**, **sunburst**: `ChartTree` — Nivo tree, `{ id, children?: [...], value? }`
@@ -322,6 +325,17 @@ interface ChartSlice {
322
325
  label?: string;
323
326
  value: number;
324
327
  }
328
+ /**
329
+ * A categorical matrix: `values[r][c]` is the cell at `rows[r]` × `columns[c]`.
330
+ * The shape a correlation matrix, a confusion matrix or a day × hour grid is
331
+ * already in, so it needs no pivot at the call site. Short rows are padded
332
+ * with `null` (drawn as the empty colour) rather than treated as zero.
333
+ */
334
+ interface ChartMatrix {
335
+ rows: string[];
336
+ columns: string[];
337
+ values: Array<Array<number | null | undefined>>;
338
+ }
325
339
  /** One day of a calendar heatmap. */
326
340
  interface ChartDay {
327
341
  day: string;
@@ -336,7 +350,7 @@ interface ChartTree {
336
350
  [key: string]: unknown;
337
351
  }
338
352
  /** The data type accepted for each chart type. */
339
- type ChartDataFor<T extends ChartType> = T extends "bar" | "radar" ? ChartRow[] | ChartSeries[] : T extends "line" | "area" ? ChartSeries[] | ChartRow[] : T extends "pie" | "donut" | "funnel" ? ChartSlice[] : T extends "scatter" | "scatterplot" | "heatmap" ? ChartSeries[] : T extends "calendar" ? ChartDay[] : T extends "treemap" | "sunburst" ? ChartTree : never;
353
+ type ChartDataFor<T extends ChartType> = T extends "bar" | "radar" ? ChartRow[] | ChartSeries[] : T extends "line" | "area" ? ChartSeries[] | ChartRow[] : T extends "pie" | "donut" | "funnel" ? ChartSlice[] : T extends "heatmap" ? ChartSeries[] | ChartMatrix : T extends "scatter" | "scatterplot" ? ChartSeries[] : T extends "calendar" ? ChartDay[] : T extends "treemap" | "sunburst" ? ChartTree : never;
340
354
  /**
341
355
  * Per-series presentation, keyed by series id (the `keys` of a row chart, the
342
356
  * `id` of a series or slice). Colours default to `var(--ds-viz-1..n)` in key
@@ -382,6 +396,19 @@ interface ChartContainerProps extends Omit<React$1.ComponentProps<"div">, "child
382
396
  * `responsive={false}`.
383
397
  */
384
398
  responsive?: boolean;
399
+ /**
400
+ * Give the drawing area a floor of 600×300 so it draws where the layout
401
+ * gives it none.
402
+ *
403
+ * Both engines size themselves from the parent box. Under jsdom nothing has
404
+ * layout — every element measures 0×0 — so a page test that renders a screen
405
+ * containing a Chart gets an empty `<div>` and can assert nothing about it.
406
+ * `testMode` sets `min-width` / `min-height` on the container and hands the
407
+ * same floor to Recharts' ResponsiveContainer, so the chart draws at
408
+ * 600×300. It is a floor, not a fixed size: a parent that *does* give the
409
+ * chart 900px still gets 900px, so a screenshot test is unaffected.
410
+ */
411
+ testMode?: boolean;
385
412
  children: React$1.ReactNode;
386
413
  }
387
414
  /**
@@ -392,7 +419,7 @@ interface ChartContainerProps extends Omit<React$1.ComponentProps<"div">, "child
392
419
  * cursor classes from tokens with a caption-sm floor for text, so a custom
393
420
  * chart composed inside it needs no local colours or fonts.
394
421
  */
395
- declare function ChartContainer({ config, height, responsive, className, style, children, ...props }: ChartContainerProps): React$1.JSX.Element;
422
+ declare function ChartContainer({ config, height, responsive, testMode, className, style, children, ...props }: ChartContainerProps): React$1.JSX.Element;
396
423
  /** "No data" placeholder; rendered by Chart when the data is empty. */
397
424
  declare function ChartEmpty({ children, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
398
425
  /** Error placeholder; rendered by Chart for an `error` prop or a failed Nivo chunk. */
@@ -474,6 +501,14 @@ interface ChartProps<T extends ChartType = ChartType> extends Omit<ChartContaine
474
501
  * Colours, fonts, axes, grid, tooltip, legend and the empty, loading and
475
502
  * error states all come from cortena-design tokens; a consumer passes data
476
503
  * and, optionally, a `config` of labels.
504
+ *
505
+ * `heatmap` takes either the Nivo series shape or a categorical
506
+ * {@link ChartMatrix} — `{ rows, columns, values }` — for the correlation and
507
+ * confusion matrices that are already in that form.
508
+ *
509
+ * `testMode` gives the drawing area a 600×300 floor so a chart still draws
510
+ * where the layout gives it no size; see {@link ChartContainerProps.testMode}
511
+ * and README.md, "Charts in tests".
477
512
  */
478
513
  declare function Chart<T extends ChartType>({ type, data, config, renderer, indexBy, keys, stacked, scale, legend, grid, tooltip, valueFormatter, from, to, loading, error, emptyMessage, className, height, ...props }: ChartProps<T>): React$1.JSX.Element;
479
514
  //#endregion
@@ -959,12 +994,22 @@ interface DataTableViewProps<Row extends RowData> {
959
994
  /** Error to show above the table, in addition to the server source's. */
960
995
  error?: string | Error | null;
961
996
  onRowClick?: (row: Row, event: React$1.MouseEvent<HTMLTableRowElement>) => void;
997
+ /**
998
+ * The row a detail pane is currently showing, matched against the row id
999
+ * (`getRowId`, the row index when that is not set). It gets `data-active`
1000
+ * and the `--ds-primary-soft` tint, independent of checkbox selection — a
1001
+ * master/detail list highlights one row without selecting it, and a table
1002
+ * with both can show a selected set and one open row at once.
1003
+ */
1004
+ activeRowId?: string | null;
1005
+ /** Extra classes per row, e.g. to dim rows the app considers stale. */
1006
+ rowClassName?: (row: Row) => string | undefined;
962
1007
  }
963
1008
  type DataTableProps<Row extends RowData> = DataTableViewProps<Row> & ({
964
1009
  instance: DataTableInstance<Row>;
965
1010
  } | UseDataTableOptions<Row>);
966
1011
  declare function DataTable<Row extends RowData>(props: DataTableProps<Row>): React$1.JSX.Element;
967
- declare function DataTableView<Row extends RowData>({ instance, className, maxHeight, virtualize, rowHeight, stickyHeader, density, renderSubComponent, toolbar, bulkActions, toolbarActions, searchPlaceholder, emptyState, emptyMessage, pageSizeOptions, enableExport, exportFileName, loading, error, onRowClick }: DataTableViewProps<Row> & {
1012
+ declare function DataTableView<Row extends RowData>({ instance, className, maxHeight, virtualize, rowHeight, stickyHeader, density, renderSubComponent, toolbar, bulkActions, toolbarActions, searchPlaceholder, emptyState, emptyMessage, pageSizeOptions, enableExport, exportFileName, loading, error, onRowClick, activeRowId, rowClassName }: DataTableViewProps<Row> & {
968
1013
  instance: DataTableInstance<Row>;
969
1014
  }): React$1.JSX.Element;
970
1015
  //#endregion
@@ -1281,13 +1326,8 @@ declare function AccordionTrigger({ className, children, ...props }: Accordion$1
1281
1326
  declare function AccordionContent({ className, children, ...props }: Accordion$1.Panel.Props): import("react").JSX.Element;
1282
1327
  //#endregion
1283
1328
  //#region src/components/alert.d.ts
1284
- /**
1285
- * Alert — an inline callout. Tinted variants use the `-soft` fill for the
1286
- * background and the tone colour for the border and icon; the body text stays
1287
- * on the foreground token so it reads in both themes.
1288
- */
1289
1329
  declare const alertVariants: (props?: ({
1290
- variant?: "default" | "success" | "warn" | "danger" | "info" | null | undefined;
1330
+ variant?: "default" | "success" | "warn" | "destructive" | "danger" | "info" | null | undefined;
1291
1331
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1292
1332
  interface AlertProps extends React$1.ComponentProps<"div">, VariantProps<typeof alertVariants> {}
1293
1333
  declare function Alert({ className, variant, ...props }: AlertProps): React$1.JSX.Element;
@@ -1310,17 +1350,98 @@ declare function AvatarImage({ className, ...props }: Avatar$1.Image.Props): imp
1310
1350
  declare function AvatarFallback({ className, ...props }: Avatar$1.Fallback.Props): import("react").JSX.Element;
1311
1351
  //#endregion
1312
1352
  //#region src/components/badge.d.ts
1313
- /**
1314
- * Badge — the mono, uppercase status label. Each tone pairs a `-soft` fill
1315
- * with its foreground token; `warn`, `danger` and `secondary` are aliases kept
1316
- * for cortenaweb call sites.
1317
- */
1318
1353
  declare const badgeVariants: (props?: ({
1319
- variant?: "default" | "success" | "warning" | "warn" | "danger" | "destructive" | "info" | "neutral" | "secondary" | "outline" | null | undefined;
1354
+ variant?: "default" | "success" | "warn" | "destructive" | "danger" | "info" | "warning" | "neutral" | "secondary" | "outline" | null | undefined;
1320
1355
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1321
1356
  interface BadgeProps extends React$1.ComponentProps<"span">, VariantProps<typeof badgeVariants> {}
1322
1357
  declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
1323
1358
  //#endregion
1359
+ //#region src/lib/render.d.ts
1360
+ /**
1361
+ * The `render` prop for the components that are plain markup rather than Base
1362
+ * UI primitives (Card, SectionCard, ButtonLink, BreadcrumbLink).
1363
+ *
1364
+ * Base UI parts take their own `render` and need nothing from here. The rest
1365
+ * are a `<div>` or an `<a>` this package writes itself, and a consumer
1366
+ * sometimes needs a different element under the same styling: a Card that is
1367
+ * the page's `<aside>` landmark, or a link that is the router's `<Link>`.
1368
+ * Passing an element rather than a component keeps the call site readable and
1369
+ * lets the caller set props on it (`render={<Link to="/x" />}`).
1370
+ *
1371
+ * `props` wins over the passed element's own props, so the `className` and
1372
+ * handlers a component computed are not silently dropped, while the element's
1373
+ * own props (`href`, `to`, `aria-labelledby`) come through untouched. What a
1374
+ * component lets a *caller* override is decided by the order it builds `props`
1375
+ * in, not here. Children are `children`, falling back to the element's.
1376
+ */
1377
+ type RenderProp = React$1.ReactElement<Record<string, unknown>>;
1378
+ //#endregion
1379
+ //#region src/components/breadcrumb.d.ts
1380
+ /**
1381
+ * Breadcrumb — the trail above a page title.
1382
+ *
1383
+ * A `<nav aria-label="Breadcrumb">` around an ordered list, which is what
1384
+ * assistive technology expects: the list order is the hierarchy, so a screen
1385
+ * reader announces "list, 4 items" and reads the path in order. Separators are
1386
+ * decorative list items, not text inside the links, so a link's accessible
1387
+ * name is the crumb and nothing else.
1388
+ *
1389
+ * The last crumb is `BreadcrumbPage`, not a link: it is the page you are on,
1390
+ * so it carries `aria-current="page"` and is not focusable. Everything before
1391
+ * it is a `BreadcrumbLink`.
1392
+ *
1393
+ * ```tsx
1394
+ * <Breadcrumb>
1395
+ * <BreadcrumbList>
1396
+ * <BreadcrumbItem>
1397
+ * <BreadcrumbLink href="/">Home</BreadcrumbLink>
1398
+ * </BreadcrumbItem>
1399
+ * <BreadcrumbSeparator />
1400
+ * <BreadcrumbItem>
1401
+ * <BreadcrumbEllipsis />
1402
+ * </BreadcrumbItem>
1403
+ * <BreadcrumbSeparator />
1404
+ * <BreadcrumbItem>
1405
+ * <BreadcrumbPage>Invoice 4021</BreadcrumbPage>
1406
+ * </BreadcrumbItem>
1407
+ * </BreadcrumbList>
1408
+ * </Breadcrumb>
1409
+ * ```
1410
+ *
1411
+ * **Router links.** `BreadcrumbLink` renders an `<a>` by default. Pass
1412
+ * `render` with the router's link component and the class name, `href` and
1413
+ * handlers are merged onto it, the same contract as `ButtonLink`:
1414
+ * `render={<NextLink href="/projects" />}` or
1415
+ * `render={<Link to="/projects" />}`. This is deliberately not Base UI's
1416
+ * `render` — a breadcrumb is markup, not a Base UI primitive — but it takes
1417
+ * the same shape so there is one thing to remember.
1418
+ */
1419
+ declare function Breadcrumb({ className, ...props }: React$1.ComponentProps<"nav">): React$1.JSX.Element;
1420
+ declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): React$1.JSX.Element;
1421
+ declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
1422
+ interface BreadcrumbLinkProps extends React$1.ComponentProps<"a"> {
1423
+ /** Replace the rendered `<a>` with a router link; props are merged onto it. */
1424
+ render?: RenderProp;
1425
+ }
1426
+ declare function BreadcrumbLink({ className, render, children, ...props }: BreadcrumbLinkProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
1427
+ /**
1428
+ * The current page: the last crumb, which is not a link.
1429
+ *
1430
+ * A plain `<span aria-current="page">`, deliberately not `role="link"` with
1431
+ * `aria-disabled` — a disabled link that cannot be focused is a fiction, and
1432
+ * it makes `getByRole("link")` return a crumb that navigates nowhere. With a
1433
+ * span, the roles in the trail are exactly the crumbs you can travel to.
1434
+ */
1435
+ declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
1436
+ /** Decorative divider between two crumbs; a chevron unless children replace it. */
1437
+ declare function BreadcrumbSeparator({ className, children, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
1438
+ /**
1439
+ * Stands in for the crumbs a long trail collapses; put it inside a
1440
+ * BreadcrumbItem. The glyph is hidden and the label is not: an ellipsis that
1441
+ * announces nothing leaves a screen-reader user with a gap in the path.
1442
+ */
1443
+ declare function BreadcrumbEllipsis({ className, children, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
1444
+ //#endregion
1324
1445
  //#region src/components/button.d.ts
1325
1446
  /**
1326
1447
  * Button.
@@ -1333,7 +1454,7 @@ declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JS
1333
1454
  * rendered element, which is Base UI's equivalent.
1334
1455
  */
1335
1456
  declare const buttonVariants: (props?: ({
1336
- variant?: "destructive" | "secondary" | "outline" | "primary" | "ghost" | "soft" | "link" | null | undefined;
1457
+ variant?: "link" | "destructive" | "secondary" | "outline" | "primary" | "ghost" | "soft" | null | undefined;
1337
1458
  size?: "sm" | "md" | "lg" | "icon" | "icon-sm" | null | undefined;
1338
1459
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1339
1460
  interface ButtonProps extends React$1.ComponentProps<typeof Button$1>, VariantProps<typeof buttonVariants> {}
@@ -1356,10 +1477,10 @@ declare function Button({ className, variant, size, ...props }: ButtonProps): Re
1356
1477
  interface ButtonLinkProps extends Omit<React$1.ComponentProps<"a">, "children">, Pick<ButtonProps, "variant" | "size"> {
1357
1478
  children?: React$1.ReactNode;
1358
1479
  /** Replace the rendered `<a>` with a router link; props are merged onto it. */
1359
- render?: React$1.ReactElement<Record<string, unknown>>;
1480
+ render?: RenderProp;
1360
1481
  disabled?: boolean;
1361
1482
  }
1362
- declare function ButtonLink({ className, variant, size, render, disabled, children, ...props }: ButtonLinkProps): React$1.JSX.Element;
1483
+ declare function ButtonLink({ className, variant, size, render, disabled, children, ...props }: ButtonLinkProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
1363
1484
  //#endregion
1364
1485
  //#region src/components/calendar.d.ts
1365
1486
  /**
@@ -1390,8 +1511,21 @@ interface CardProps extends React$1.ComponentProps<"div"> {
1390
1511
  hover?: boolean;
1391
1512
  /** Draw the border in the ring colour, for a selected or highlighted card. */
1392
1513
  accent?: boolean;
1514
+ /**
1515
+ * Replace the rendered `<div>` with another element, so a card can *be* the
1516
+ * landmark rather than sit inside a wrapper that is one:
1517
+ * `render={<aside />}` for a sidebar panel, `render={<section />}` (with an
1518
+ * `aria-labelledby` pointing at its title) for a labelled region,
1519
+ * `render={<article />}` for a self-contained item in a feed. Props set on
1520
+ * the passed element come through; the card's own styling wins.
1521
+ */
1522
+ render?: RenderProp;
1393
1523
  }
1394
- declare function Card({ className, hover, accent, ...props }: CardProps): React$1.JSX.Element;
1524
+ /**
1525
+ * Card — the bordered surface everything else sits on. `render` changes the
1526
+ * element without changing the look, which is how a card becomes a landmark.
1527
+ */
1528
+ declare function Card({ className, hover, accent, render, children, ...props }: CardProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
1395
1529
  declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
1396
1530
  declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
1397
1531
  declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
@@ -1722,6 +1856,10 @@ interface DropzoneProps extends Omit<React$1.ComponentProps<"div">, "children" |
1722
1856
  /** Most files accepted per drop; `0` means unlimited. */
1723
1857
  maxFiles?: number;
1724
1858
  disabled?: boolean;
1859
+ /** Do not open the file dialog on click; for a zone that wraps clickable content. @default false */
1860
+ noClick?: boolean;
1861
+ /** Do not open the file dialog on Enter or Space; pair with `noClick`. @default false */
1862
+ noKeyboard?: boolean;
1725
1863
  /** Primary line of the default body. */
1726
1864
  label?: React$1.ReactNode;
1727
1865
  /** Muted second line of the default body; derived from `accept` and `maxSize` when omitted. */
@@ -1729,7 +1867,7 @@ interface DropzoneProps extends Omit<React$1.ComponentProps<"div">, "children" |
1729
1867
  /** Replace the default body. A function receives react-dropzone's state. */
1730
1868
  children?: React$1.ReactNode | ((state: DropzoneState) => React$1.ReactNode);
1731
1869
  }
1732
- declare function Dropzone({ onFiles, onReject, accept, multiple, maxSize, maxFiles, disabled, label, hint, children, className, ref, ...props }: DropzoneProps): React$1.JSX.Element;
1870
+ declare function Dropzone({ onFiles, onReject, accept, multiple, maxSize, maxFiles, disabled, noClick, noKeyboard, label, hint, children, className, ref, ...props }: DropzoneProps): React$1.JSX.Element;
1733
1871
  interface FileListProps extends Omit<React$1.ComponentProps<"ul">, "children"> {
1734
1872
  files: readonly File[];
1735
1873
  /** Called with the file and its index when its remove button is pressed; the button is hidden when omitted. */
@@ -1796,7 +1934,7 @@ declare function ErrorBanner({ message, onDismiss, onRetry, className, ...props
1796
1934
  * list) it renders whenever the list has a message.
1797
1935
  */
1798
1936
  declare const fieldVariants: (props?: ({
1799
- orientation?: "vertical" | "horizontal" | null | undefined;
1937
+ orientation?: "horizontal" | "vertical" | null | undefined;
1800
1938
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1801
1939
  interface FieldProps extends React$1.ComponentProps<typeof Field$1.Root>, VariantProps<typeof fieldVariants> {}
1802
1940
  declare function Field({ className, orientation, invalid, ...props }: FieldProps): React$1.JSX.Element;
@@ -2063,6 +2201,10 @@ interface SectionCardProps extends Omit<CardProps, "title"> {
2063
2201
  * SectionCard — a Card with a header row (title, description, actions), a
2064
2202
  * body and an optional footer. It composes the Card parts rather than
2065
2203
  * restyling them, so a SectionCard and a hand-built Card look identical.
2204
+ *
2205
+ * `render` is Card's and reaches the outer element, so a section card can be
2206
+ * the landmark it is named after: `render={<section aria-labelledby={id} />}`
2207
+ * with the same `id` on the title, or `render={<aside />}` for a side panel.
2066
2208
  */
2067
2209
  declare function SectionCard({ title, description, actions, footer, flush, bodyClassName, children, ...props }: SectionCardProps): React$1.JSX.Element;
2068
2210
  //#endregion
@@ -2104,8 +2246,33 @@ declare function Segmented<T extends string = string>({ className, value, onValu
2104
2246
  * - `onValueChange` receives `(value, eventDetails)`.
2105
2247
  * - `SelectContent` defaults to the dropdown layout; pass
2106
2248
  * `alignItemWithTrigger` for Base UI's native-like overlay of the selected item.
2249
+ *
2250
+ * ## Typing the value
2251
+ *
2252
+ * `null` is the cleared / placeholder state, so `onValueChange` always hands
2253
+ * back `Value | null`, never bare `Value`. Name the value type on the element
2254
+ * to keep that union at `string | null` instead of letting inference widen it:
2255
+ *
2256
+ * ```tsx
2257
+ * const [status, setStatus] = useState("");
2258
+ *
2259
+ * <Select<string>
2260
+ * // "" is not a value any item carries; `|| null` is the placeholder state,
2261
+ * // which is what makes SelectValue fall back to its `placeholder`.
2262
+ * value={status || null}
2263
+ * onValueChange={(next) => setStatus(next ?? "")} // next: string | null
2264
+ * >
2265
+ * ```
2266
+ *
2267
+ * Without the explicit `<string>` the type argument is inferred from `value`,
2268
+ * so a `string | null` value widens `Value` and the handler's parameter turns
2269
+ * into `string | null | null`. Multi-select narrows too:
2270
+ * `<Select<string, true> multiple>` hands back `string[]`, never `null`.
2271
+ *
2272
+ * `SelectProps` is the same props type, for a wrapper that forwards them.
2107
2273
  */
2108
- declare function Select<Value, Multiple extends boolean | undefined = false>(props: Select$1.Root.Props<Value, Multiple>): import("react").JSX.Element;
2274
+ type SelectProps<Value = string, Multiple extends boolean | undefined = false> = Select$1.Root.Props<Value, Multiple>;
2275
+ declare function Select<Value, Multiple extends boolean | undefined = false>(props: SelectProps<Value, Multiple>): import("react").JSX.Element;
2109
2276
  declare function SelectGroup({ className, ...props }: Select$1.Group.Props): import("react").JSX.Element;
2110
2277
  declare function SelectValue({ className, ...props }: Select$1.Value.Props): import("react").JSX.Element;
2111
2278
  interface SelectTriggerProps extends Select$1.Trigger.Props {
@@ -2137,15 +2304,15 @@ interface SeparatorProps extends React$1.ComponentProps<typeof Separator$1> {
2137
2304
  declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): React$1.JSX.Element;
2138
2305
  //#endregion
2139
2306
  //#region src/components/sheet.d.ts
2140
- /**
2141
- * Sheet: a Dialog whose Popup is anchored to one edge of the viewport.
2142
- *
2143
- * Same Base UI parts as Dialog (Root, Trigger, Portal, Backdrop, Popup, Title,
2144
- * Description, Close); only the Popup's placement differs, chosen by `side`.
2145
- * `SheetContent` composes Portal + Backdrop + Popup so consumers keep writing
2146
- * `<SheetContent side="right">…</SheetContent>`.
2147
- */
2148
- declare function Sheet(props: Dialog$1.Root.Props): React$1.JSX.Element;
2307
+ interface SheetProps extends Dialog$1.Root.Props {
2308
+ /**
2309
+ * `true` (default) traps focus, locks page scroll and draws a backdrop.
2310
+ * `false` draws no backdrop and traps nothing, for a panel read alongside
2311
+ * the app. `"trap-focus"` keeps focus in but leaves the page scrollable.
2312
+ */
2313
+ modal?: boolean | "trap-focus";
2314
+ }
2315
+ declare function Sheet({ modal, ...props }: SheetProps): React$1.JSX.Element;
2149
2316
  declare function SheetTrigger(props: Dialog$1.Trigger.Props): React$1.JSX.Element;
2150
2317
  declare function SheetClose(props: Dialog$1.Close.Props): React$1.JSX.Element;
2151
2318
  declare function SheetPortal(props: Dialog$1.Portal.Props): React$1.JSX.Element;
@@ -2174,20 +2341,6 @@ declare function SheetDescription({ className, ...props }: Dialog$1.Description.
2174
2341
  declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
2175
2342
  //#endregion
2176
2343
  //#region src/components/sortable-list.d.ts
2177
- /**
2178
- * SortableList.
2179
- *
2180
- * A reorderable list over dnd-kit: `DndContext` + `SortableContext` around one
2181
- * `useSortable` item per entry. The list owns nothing — it calls `onReorder`
2182
- * with the next array and the consumer stores it. Pointer and keyboard sensors
2183
- * are wired (Space picks up, arrows move, Space drops, Escape cancels) and a
2184
- * `DragOverlay` paints the lifted copy with `--ds-shadow-lg` while the item
2185
- * left behind dims and takes the ring colour.
2186
- *
2187
- * By default the whole row is the drag activator. Pass `handle` to restrict
2188
- * dragging to a `<SortableHandle>` (or any element given `handleProps`) so
2189
- * buttons and inputs inside a row stay clickable.
2190
- */
2191
2344
  /** Spread onto the element that should start a drag. */
2192
2345
  interface SortableHandleProps extends Partial<DraggableAttributes> {
2193
2346
  ref: (element: HTMLElement | null) => void;
@@ -2202,17 +2355,39 @@ interface SortableRenderState {
2202
2355
  /** True for the item being dragged (and for the overlay copy). */
2203
2356
  isDragging: boolean;
2204
2357
  }
2358
+ /** What moved where, passed to `onReorder` alongside the reordered array. */
2359
+ interface SortableReorderDetails {
2360
+ /** Index the item came from, in the array as it was passed in. */
2361
+ from: number;
2362
+ /** Index it landed on. */
2363
+ to: number;
2364
+ /** Id of the item that moved (`getId` of the dragged item). */
2365
+ activeId: UniqueIdentifier;
2366
+ /** Id of the item it was dropped onto. */
2367
+ overId: UniqueIdentifier;
2368
+ }
2205
2369
  interface SortableListProps<T> extends Omit<React$1.ComponentProps<"ul">, "children"> {
2206
2370
  items: readonly T[];
2207
2371
  /** Stable id per item; must be unique within the list. */
2208
2372
  getId: (item: T) => UniqueIdentifier;
2209
- /** Called with the reordered array after a successful drop. */
2210
- onReorder: (next: T[]) => void;
2373
+ /**
2374
+ * Called with the reordered array after a successful drop, and with the move
2375
+ * itself — `{ from, to, activeId, overId }` — for a server that persists a
2376
+ * position rather than the whole list.
2377
+ */
2378
+ onReorder: (next: T[], details: SortableReorderDetails) => void;
2211
2379
  renderItem: (item: T, state: SortableRenderState) => React$1.ReactNode;
2212
2380
  /** Layout axis; also selects the sorting strategy. */
2213
2381
  orientation?: "vertical" | "horizontal";
2214
2382
  /** Only a `<SortableHandle>` (or an element given `handleProps`) starts a drag. */
2215
2383
  handle?: boolean;
2384
+ /**
2385
+ * Let a finger scroll the page over the rows. Defaults to `handle`: `true`
2386
+ * in handle mode, `false` in whole-row mode, which is what each already did.
2387
+ * `true` on a whole-row list drops `touch-none` and uses a TouchSensor with
2388
+ * delay activation, so a swipe scrolls and a held press drags.
2389
+ */
2390
+ touchScroll?: boolean;
2216
2391
  /** Disables every sensor and hides the handles. */
2217
2392
  disabled?: boolean;
2218
2393
  /** Class name for each item wrapper. */
@@ -2224,21 +2399,41 @@ interface SortableListProps<T> extends Omit<React$1.ComponentProps<"ul">, "child
2224
2399
  * `renderItem`. Hidden (kept in layout) when the list is disabled.
2225
2400
  */
2226
2401
  declare function SortableHandle({ className, children, ...props }: React$1.ComponentProps<"button">): React$1.JSX.Element;
2227
- declare function SortableList<T>({ items, getId, onReorder, renderItem, orientation, handle, disabled, itemClassName: itemClass, className, ...props }: SortableListProps<T>): React$1.JSX.Element;
2402
+ declare function SortableList<T>({ items, getId, onReorder, renderItem, orientation, handle, disabled, touchScroll, itemClassName: itemClass, className, ...props }: SortableListProps<T>): React$1.JSX.Element;
2228
2403
  //#endregion
2229
2404
  //#region src/components/spinner.d.ts
2230
2405
  interface SpinnerProps extends React$1.ComponentProps<"span"> {
2231
2406
  /** Diameter in px. Defaults to 16. */
2232
2407
  size?: number;
2408
+ /**
2409
+ * `inverse` for a spinner on a filled surface — inside a primary or
2410
+ * destructive Button, on a toast, on any `-foreground` pairing. The default
2411
+ * ring is `--ds-border` with a `--ds-primary` leading edge, which all but
2412
+ * disappears on a primary fill; `inverse` draws both from
2413
+ * `--ds-primary-foreground` instead.
2414
+ */
2415
+ tone?: "default" | "inverse";
2233
2416
  }
2234
2417
  /**
2235
- * Spinner — a ring with a primary-coloured leading edge. Announces itself as
2418
+ * Spinner — a ring with a coloured leading edge. Announces itself as
2236
2419
  * `role="status"` with a "Loading" label; pass `aria-label` to override.
2420
+ *
2421
+ * ```tsx
2422
+ * <Button disabled>
2423
+ * <Spinner tone="inverse" /> Saving…
2424
+ * </Button>
2425
+ * ```
2237
2426
  */
2238
- declare function Spinner({ className, size, style, ...props }: SpinnerProps): React$1.JSX.Element;
2427
+ declare function Spinner({ className, size, tone, style, ...props }: SpinnerProps): React$1.JSX.Element;
2239
2428
  //#endregion
2240
2429
  //#region src/components/status-dot.d.ts
2241
- type StatusDotTone = "accent" | "success" | "warning" | "danger" | "info" | "neutral";
2430
+ /**
2431
+ * The error tone is `destructive`, the same spelling Button, Alert and Badge
2432
+ * use. `danger` is a deprecated alias of it and paints the same.
2433
+ */
2434
+ type StatusDotTone = "accent" | "success" | "warning" | "destructive" |
2435
+ /** @deprecated Use `destructive`; this alias paints the same. */
2436
+ "danger" | "info" | "neutral";
2242
2437
  interface StatusDotProps extends Omit<React$1.ComponentProps<"span">, "children"> {
2243
2438
  tone?: StatusDotTone;
2244
2439
  /** Adds a pinging halo behind the dot for "currently active" states. */
@@ -2323,7 +2518,7 @@ declare function Textarea({ className, autoGrow, onChange, ref, ...props }: Text
2323
2518
  * `toastManager` to `Toaster` when you need to fire toasts outside React.
2324
2519
  */
2325
2520
  declare const toastVariants: (props?: ({
2326
- variant?: "default" | "success" | "warning" | "destructive" | null | undefined;
2521
+ variant?: "default" | "success" | "destructive" | "warning" | null | undefined;
2327
2522
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2328
2523
  /** The Base UI toast manager: `{ toasts, add, close, update, promise }`. */
2329
2524
  declare const useToast: typeof Toast$1.useToastManager;
@@ -2480,5 +2675,5 @@ export declare function themeFromBackground(background: unknown): ResolvedCorten
2480
2675
  export declare function themeFromMessage(data: unknown): CortenaTheme | null;
2481
2676
  export declare function useCortenaTheme(options?: UseCortenaThemeOptions): UseCortenaThemeResult;
2482
2677
  //#endregion
2483
- export { type A2UIAction, type A2UIActionSpec, type A2UIBeginRendering, type A2UICatalogue, type A2UICatalogueDoc, type A2UICatalogueEntry, type A2UIChildList, type A2UIChildren, type A2UIColumn, type A2UIComponentDoc, type A2UIComponentSpec, type A2UICreateSurface, type A2UIDataBinding, type A2UIDeleteSurface, type A2UIExample, type A2UIFoldResult, type A2UIGroup, type A2UIMessage, type A2UIMessageInput, type A2UINodeInfo, type A2UIPropertyValue, type A2UIRendererProps, type A2UIResolvedAction, type A2UIRow, type A2UISurface, type A2UITableSource, type A2UIUpdateComponents, type A2UIUpdateDataModel, type A2UIView, type A2UIViewProps, type Accept, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertIcon, type AlertProps, AlertTitle, Area, AreaChart, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Bar, BarChart, Button, ButtonLink, type ButtonLinkProps, type ButtonProps, Calendar, CalendarDayButton, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, CartesianGrid, Cell, Chart, type ChartConfig, ChartContainer, type ChartContainerProps, type ChartDataFor, type ChartDay, ChartEmpty, type ChartEngine, ChartError, ChartLegend, ChartLegendContent, type ChartLegendContentProps, ChartLoading, type ChartPoint, type ChartProps, type ChartRenderer, type ChartRow, type ChartScale, type ChartScales, type ChartSeries, type ChartSlice, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTree, type ChartType, Checkbox, type CheckboxProps, Chip, type ChipProps, type ClientSource, type CodeRendererProps, Combobox, ComboboxChip, type ComboboxChipProps, ComboboxChips, type ComboboxChipsProps, ComboboxClear, ComboboxCollection, ComboboxContent, type ComboboxContentProps, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, type ComboboxInputProps, ComboboxItem, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandLoading, CommandSeparator, CommandShortcut, ComposedChart, type CortenaTheme, type CortenaThemeMessage, type DataSource, DataTable, type DataTableCell, type DataTableColumn, type DataTableColumnDef, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableColumnMeta, type DataTableEditable, type DataTableEditingCell, DataTableExportMenu, type DataTableExportMenuProps, DataTableFacetedFilter, type DataTableFacetedFilterOption, type DataTableFacetedFilterProps, type DataTableFeatures, type DataTableInstance, DataTablePagination, type DataTablePaginationMode, type DataTablePaginationProps, type DataTableProps, type DataTableRow, type DataTableState, type DataTableTable, DataTableToolbar, type DataTableToolbarProps, DataTableView, DataTableViewOptions, type DataTableViewOptionsProps, type DataTableViewProps, DateField, type DateFieldProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, Dropzone, type DropzoneProps, type DropzoneState, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ExportCell, type ExportSheet, Field, FieldContent, FieldControl, type FieldControlProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorItem, type FieldErrorProps, FieldGroup, FieldLabel, type FieldLabelProps, type FieldProps, Fieldset, FieldsetLegend, type FieldsetLegendProps, type FieldsetProps, FileList, type FileListProps, type FileRejection, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, Funnel, FunnelChart, Input, type InputProps, type JsonSchema, Kbd, Label, LabelList, type LabelProps, Line, LineChart, LoadingSkeleton, type LoadingSkeletonPreset, type LoadingSkeletonProps, Markdown, type Components as MarkdownComponents, type MarkdownProps, type NivoTheme, PageHeader, type PageHeaderProps, Pie, PieChart, PolarAngleAxis, PolarGrid, PolarRadiusAxis, Popover, PopoverClose, PopoverContent, type PopoverContentProps, PopoverDescription, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, type ProgressProps, ProgressTrack, ProgressValue, Radar, RadarChart, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RechartsLegend, RechartsTooltip, ReferenceLine, type ResolvedCortenaTheme, ResponsiveContainer, Scatter, ScatterChart, ScrollArea, type ScrollAreaProps, ScrollBar, SectionCard, type SectionCardProps, Segmented, type SegmentedOption, type SegmentedProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, type ServerSource, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, SortableHandle, type SortableHandleProps, SortableList, type SortableListProps, type SortableRenderState, Spinner, type SpinnerProps, StatusDot, type StatusDotProps, type StatusDotTone, type SubmitHandler, Switch, type SwitchProps, type TableQuery, type TableResult, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast, type ToastProps, Toaster, type ToasterProps, Toolbar, ToolbarEnd, type ToolbarProps, ToolbarSeparator, ToolbarStart, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, type UseCortenaThemeOptions, type UseCortenaThemeResult, type UseDataTableOptions, type UseFormFieldReturn, type UseFormReturn, XAxis, YAxis, alertVariants, arrayMove, badgeVariants, buttonVariants, chipVariants, fieldVariants, formatDateDefault, formatDateISO, formatDateLong, formatDateShort, formatFileSize, formatRelative, inputClassName, labelVariants, markdownSanitizeSchema, parseDateDefault, parseDateISO, sheetVariants, textareaClassName, toastVariants, useComboboxFilter, useForm, useFormField, useToast, zodResolver };
2678
+ export { type A2UIAction, type A2UIActionSpec, type A2UIBeginRendering, type A2UICatalogue, type A2UICatalogueDoc, type A2UICatalogueEntry, type A2UIChildList, type A2UIChildren, type A2UIColumn, type A2UIComponentDoc, type A2UIComponentSpec, type A2UICreateSurface, type A2UIDataBinding, type A2UIDeleteSurface, type A2UIExample, type A2UIFoldResult, type A2UIGroup, type A2UIMessage, type A2UIMessageInput, type A2UINodeInfo, type A2UIPropertyValue, type A2UIRendererProps, type A2UIResolvedAction, type A2UIRow, type A2UISurface, type A2UITableSource, type A2UIUpdateComponents, type A2UIUpdateDataModel, type A2UIView, type A2UIViewProps, type Accept, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertIcon, type AlertProps, AlertTitle, Area, AreaChart, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Bar, BarChart, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonLink, type ButtonLinkProps, type ButtonProps, Calendar, CalendarDayButton, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, CartesianGrid, Cell, Chart, type ChartConfig, ChartContainer, type ChartContainerProps, type ChartDataFor, type ChartDay, ChartEmpty, type ChartEngine, ChartError, ChartLegend, ChartLegendContent, type ChartLegendContentProps, ChartLoading, type ChartMatrix, type ChartPoint, type ChartProps, type ChartRenderer, type ChartRow, type ChartScale, type ChartScales, type ChartSeries, type ChartSlice, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTree, type ChartType, Checkbox, type CheckboxProps, Chip, type ChipProps, type ClientSource, type CodeRendererProps, Combobox, ComboboxChip, type ComboboxChipProps, ComboboxChips, type ComboboxChipsProps, ComboboxClear, ComboboxCollection, ComboboxContent, type ComboboxContentProps, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, type ComboboxInputProps, ComboboxItem, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, type CommandItemProps, CommandList, CommandLoading, CommandSeparator, CommandShortcut, ComposedChart, type CortenaTheme, type CortenaThemeMessage, type DataSource, DataTable, type DataTableCell, type DataTableColumn, type DataTableColumnDef, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableColumnMeta, type DataTableEditable, type DataTableEditingCell, DataTableExportMenu, type DataTableExportMenuProps, DataTableFacetedFilter, type DataTableFacetedFilterOption, type DataTableFacetedFilterProps, type DataTableFeatures, type DataTableInstance, DataTablePagination, type DataTablePaginationMode, type DataTablePaginationProps, type DataTableProps, type DataTableRow, type DataTableState, type DataTableTable, DataTableToolbar, type DataTableToolbarProps, DataTableView, DataTableViewOptions, type DataTableViewOptionsProps, type DataTableViewProps, DateField, type DateFieldProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, Dropzone, type DropzoneProps, type DropzoneState, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ExportCell, type ExportSheet, Field, FieldContent, FieldControl, type FieldControlProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorItem, type FieldErrorProps, FieldGroup, FieldLabel, type FieldLabelProps, type FieldProps, Fieldset, FieldsetLegend, type FieldsetLegendProps, type FieldsetProps, FileList, type FileListProps, type FileRejection, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, Funnel, FunnelChart, Input, type InputProps, type JsonSchema, Kbd, Label, LabelList, type LabelProps, Line, LineChart, LoadingSkeleton, type LoadingSkeletonPreset, type LoadingSkeletonProps, Markdown, type Components as MarkdownComponents, type MarkdownProps, type NivoTheme, PageHeader, type PageHeaderProps, Pie, PieChart, PolarAngleAxis, PolarGrid, PolarRadiusAxis, Popover, PopoverClose, PopoverContent, type PopoverContentProps, PopoverDescription, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, type ProgressProps, ProgressTrack, ProgressValue, Radar, RadarChart, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RechartsLegend, RechartsTooltip, ReferenceLine, type ResolvedCortenaTheme, ResponsiveContainer, Scatter, ScatterChart, ScrollArea, type ScrollAreaProps, ScrollBar, SectionCard, type SectionCardProps, Segmented, type SegmentedOption, type SegmentedProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, type SelectProps, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, type ServerSource, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, type SheetProps, SheetTitle, SheetTrigger, Skeleton, SortableHandle, type SortableHandleProps, SortableList, type SortableListProps, type SortableRenderState, type SortableReorderDetails, Spinner, type SpinnerProps, StatusDot, type StatusDotProps, type StatusDotTone, type SubmitHandler, Switch, type SwitchProps, type TableQuery, type TableResult, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast, type ToastProps, Toaster, type ToasterProps, Toolbar, ToolbarEnd, type ToolbarProps, ToolbarSeparator, ToolbarStart, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, type UseCortenaThemeOptions, type UseCortenaThemeResult, type UseDataTableOptions, type UseFormFieldReturn, type UseFormReturn, XAxis, YAxis, alertVariants, arrayMove, badgeVariants, buttonVariants, chipVariants, fieldVariants, formatDateDefault, formatDateISO, formatDateLong, formatDateShort, formatFileSize, formatRelative, inputClassName, labelVariants, markdownSanitizeSchema, parseDateDefault, parseDateISO, sheetVariants, textareaClassName, toastVariants, useComboboxFilter, useForm, useFormField, useToast, zodResolver };
2484
2679
  //# sourceMappingURL=index.d.ts.map