@platned/ui 0.7.0 → 0.8.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/dist/index.cjs +1343 -974
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +287 -30
- package/dist/index.d.ts +287 -30
- package/dist/index.js +1637 -1261
- package/dist/index.js.map +1 -1
- package/dist/sidebar.cjs +73 -1
- package/dist/sidebar.cjs.map +1 -1
- package/dist/sidebar.js +87 -14
- package/dist/sidebar.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, HTMLAttributes, LabelHTMLAttributes, TextareaHTMLAttributes, RefObject, ReactElement, Ref, AnchorHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, Component, ErrorInfo } from 'react';
|
|
2
|
+
import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, HTMLAttributes, LabelHTMLAttributes, TextareaHTMLAttributes, ChangeEventHandler, RefObject, ReactElement, Ref, AnchorHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, Component, ErrorInfo } from 'react';
|
|
3
3
|
import { ClassValue } from 'clsx';
|
|
4
4
|
import { Column, Table as Table$1, ColumnDef, RowData, SortingState, ColumnFiltersState, PaginationState, VisibilityState, RowSelectionState, TableOptions } from '@tanstack/react-table';
|
|
5
5
|
export { CellContext, ColumnDef, ColumnFiltersState, Column as DataTableColumn, Table as DataTableInstance, HeaderContext, PaginationState, Row, RowSelectionState, SortingState, VisibilityState, createColumnHelper } from '@tanstack/react-table';
|
|
@@ -339,22 +339,54 @@ interface SelectProps extends SelectControlProps {
|
|
|
339
339
|
*/
|
|
340
340
|
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
|
|
341
341
|
|
|
342
|
-
interface DatePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
342
|
+
interface DatePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue'> {
|
|
343
343
|
label?: string;
|
|
344
344
|
description?: string;
|
|
345
345
|
/** Red border + message shown below the control. Also sets `aria-invalid`. */
|
|
346
346
|
error?: string;
|
|
347
347
|
hint?: string;
|
|
348
348
|
size?: InputSize;
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
349
|
+
/** The selected date as an ISO `YYYY-MM-DD` string, `''` for none. Controlled. */
|
|
350
|
+
value?: string;
|
|
351
|
+
/** Initial ISO date when uncontrolled. */
|
|
352
|
+
defaultValue?: string;
|
|
353
|
+
/**
|
|
354
|
+
* Called with a real change event from the underlying date input, so
|
|
355
|
+
* `onChange={(e) => set(e.target.value)}` keeps working; `e.target.value` is the ISO date.
|
|
356
|
+
*/
|
|
357
|
+
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
358
|
+
/** The new ISO date. New in 0.7.1; an alternative to reading `onChange`'s event. */
|
|
359
|
+
onValueChange?: (value: string) => void;
|
|
360
|
+
/** Shown when there is no date. Default "Pick a date". */
|
|
361
|
+
placeholder?: string;
|
|
362
|
+
/** BCP 47 tag for the shown date and the calendar. Default: the browser's. */
|
|
363
|
+
locale?: string;
|
|
364
|
+
/** 0 = Sunday, 1 = Monday. Default `1`. */
|
|
365
|
+
weekStartsOn?: 0 | 1;
|
|
366
|
+
/** `dropdown` (default) puts month and year selects in the calendar header. */
|
|
367
|
+
captionLayout?: 'label' | 'dropdown';
|
|
368
|
+
/** First year in the year select. Default `min`'s year, else 100 years ago. */
|
|
369
|
+
startYear?: number;
|
|
370
|
+
/** Last year in the year select. Default `max`'s year, else 10 years ahead. */
|
|
371
|
+
endYear?: number;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* A date field that opens the library's `Calendar` in a `Popover`, the shape of shadcn/ui's
|
|
375
|
+
* Date Picker. Rebuilt in 0.7.1: through 0.7.0 it was a native `<input type="date">`, whose
|
|
376
|
+
* picker is the browser's own and differs in Chromium, Firefox and Safari (Firefox draws its
|
|
377
|
+
* own button inside the field and cannot be restyled), so it never matched `Calendar`.
|
|
378
|
+
*
|
|
379
|
+
* - The trigger is a `role="combobox"` button with `aria-haspopup="dialog"`, named by the label
|
|
380
|
+
* and then the date ("Start date 22 Oct 2026"); unlike a plain button, that role carries the
|
|
381
|
+
* `aria-required` and `aria-invalid` that `Field` supplies.
|
|
382
|
+
* - Opening moves focus into the calendar grid, on the selected date or today. Picking a date
|
|
383
|
+
* closes the popover and returns focus to the trigger; Escape closes it without a change.
|
|
384
|
+
* - The month and year selects (`captionLayout="dropdown"`, the default) reach a far-away date
|
|
385
|
+
* in two choices instead of a PageUp per month.
|
|
386
|
+
* - A real, invisible `<input type="date">` keeps the old contract: it carries `name`, `value`,
|
|
387
|
+
* `min`, `max` and `required` for forms and native validation, the forwarded ref points at
|
|
388
|
+
* it, and `onChange` receives its genuine change event. When validation focuses it, focus is
|
|
389
|
+
* handed to the trigger.
|
|
358
390
|
*/
|
|
359
391
|
declare const DatePicker: react.ForwardRefExoticComponent<DatePickerProps & react.RefAttributes<HTMLInputElement>>;
|
|
360
392
|
|
|
@@ -462,8 +494,20 @@ interface ToggleProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onC
|
|
|
462
494
|
*/
|
|
463
495
|
declare const Toggle: react.ForwardRefExoticComponent<ToggleProps & react.RefAttributes<HTMLButtonElement>>;
|
|
464
496
|
type ToggleGroupType = 'single' | 'multiple';
|
|
497
|
+
/** One toggle as data. New in 0.8.0. */
|
|
498
|
+
interface ToggleGroupOption {
|
|
499
|
+
value: string;
|
|
500
|
+
/** Text or an icon. */
|
|
501
|
+
label: ReactNode;
|
|
502
|
+
/** Required when `label` is an icon: there is no visible text to name the toggle. */
|
|
503
|
+
'aria-label'?: string;
|
|
504
|
+
disabled?: boolean;
|
|
505
|
+
}
|
|
465
506
|
interface ToggleGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
466
|
-
|
|
507
|
+
/** The parts: `ToggleGroupItem`s. Omit when passing `options`. */
|
|
508
|
+
children?: ReactNode;
|
|
509
|
+
/** The toggles as data, each rendered as a `ToggleGroupItem`. New in 0.8.0. Use it or `children`. */
|
|
510
|
+
options?: readonly ToggleGroupOption[];
|
|
467
511
|
/** `single` behaves like a radio group; `multiple` like a set of checkboxes. */
|
|
468
512
|
type?: ToggleGroupType;
|
|
469
513
|
value?: string | string[];
|
|
@@ -487,7 +531,7 @@ interface ToggleGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChang
|
|
|
487
531
|
* `ToggleGroup type="single"` allows none or one — the deselectable case a radio group
|
|
488
532
|
* cannot express.
|
|
489
533
|
*/
|
|
490
|
-
declare function ToggleGroup({ children, type, value: valueProp, defaultValue, onValueChange, label, disabled, orientation, className, ...rest }: ToggleGroupProps): react.JSX.Element;
|
|
534
|
+
declare function ToggleGroup({ children, options, type, value: valueProp, defaultValue, onValueChange, label, disabled, orientation, className, ...rest }: ToggleGroupProps): react.JSX.Element;
|
|
491
535
|
interface ToggleGroupItemProps extends Omit<ToggleProps, 'pressed' | 'defaultPressed'> {
|
|
492
536
|
value: string;
|
|
493
537
|
}
|
|
@@ -1035,8 +1079,18 @@ interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'siz
|
|
|
1035
1079
|
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
|
|
1036
1080
|
|
|
1037
1081
|
type RadioGroupOrientation = 'vertical' | 'horizontal';
|
|
1082
|
+
/** One radio as data: the `Radio` props it renders with. New in 0.8.0. */
|
|
1083
|
+
interface RadioGroupOption {
|
|
1084
|
+
value: string;
|
|
1085
|
+
label: ReactNode;
|
|
1086
|
+
description?: ReactNode;
|
|
1087
|
+
disabled?: boolean;
|
|
1088
|
+
}
|
|
1038
1089
|
interface RadioGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
1039
|
-
|
|
1090
|
+
/** The parts: `Radio`s. Omit when passing `options`. */
|
|
1091
|
+
children?: ReactNode;
|
|
1092
|
+
/** The radios as data, each rendered as a `Radio`. New in 0.8.0. Use it or `children`. */
|
|
1093
|
+
options?: readonly RadioGroupOption[];
|
|
1040
1094
|
value?: string;
|
|
1041
1095
|
defaultValue?: string;
|
|
1042
1096
|
onValueChange?: (value: string) => void;
|
|
@@ -1076,7 +1130,13 @@ declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttri
|
|
|
1076
1130
|
/** Matches `MultiSelectCard`'s sizes, so the single- and multi-select cards line up. */
|
|
1077
1131
|
type RadioCardsSize = 'default' | 'sm';
|
|
1078
1132
|
interface RadioCardsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
|
|
1079
|
-
|
|
1133
|
+
/** The parts: `RadioCardsItem`s. Omit when passing `options`. */
|
|
1134
|
+
children?: ReactNode;
|
|
1135
|
+
/**
|
|
1136
|
+
* The cards as data, each rendered as a `RadioCardsItem` (so `title`, not `label`). New in
|
|
1137
|
+
* 0.8.0. Use it or `children`, not both.
|
|
1138
|
+
*/
|
|
1139
|
+
options?: readonly RadioCardsItemProps[];
|
|
1080
1140
|
value?: string;
|
|
1081
1141
|
defaultValue?: string;
|
|
1082
1142
|
onValueChange?: (value: string) => void;
|
|
@@ -1113,7 +1173,13 @@ interface RadioCardsItemProps {
|
|
|
1113
1173
|
declare const RadioCardsItem: react.ForwardRefExoticComponent<RadioCardsItemProps & react.RefAttributes<HTMLInputElement>>;
|
|
1114
1174
|
|
|
1115
1175
|
interface CheckboxGroupProps {
|
|
1116
|
-
|
|
1176
|
+
/** The parts: `CheckboxGroupItem`s. Omit when passing `options`. */
|
|
1177
|
+
children?: ReactNode;
|
|
1178
|
+
/**
|
|
1179
|
+
* The checkboxes as data, each rendered as a `CheckboxGroupItem`. New in 0.8.0. Use it or
|
|
1180
|
+
* `children`, not both.
|
|
1181
|
+
*/
|
|
1182
|
+
options?: readonly CheckboxGroupItemProps[];
|
|
1117
1183
|
/** The group's visible name, rendered as the fieldset's `<legend>`. */
|
|
1118
1184
|
legend: ReactNode;
|
|
1119
1185
|
/** Checked values. Controlled; omit and pass `defaultValue` for uncontrolled. */
|
|
@@ -1253,6 +1319,17 @@ interface CalendarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'>
|
|
|
1253
1319
|
locale?: string;
|
|
1254
1320
|
/** Names the grid. Default `Calendar`. */
|
|
1255
1321
|
label?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* `label` (default) shows the month as text between the arrows. `dropdown` replaces it with
|
|
1324
|
+
* month and year selects, for dates far from today (a date of birth, a start date years ago),
|
|
1325
|
+
* which would otherwise take a dozen PageUp presses a year to reach. Same name and behaviour
|
|
1326
|
+
* as shadcn/react-day-picker's `captionLayout="dropdown"`. New in 0.7.1.
|
|
1327
|
+
*/
|
|
1328
|
+
captionLayout?: 'label' | 'dropdown';
|
|
1329
|
+
/** First year in the year select. Default `min`'s year, else 100 years ago. */
|
|
1330
|
+
startYear?: number;
|
|
1331
|
+
/** Last year in the year select. Default `max`'s year, else 10 years ahead. */
|
|
1332
|
+
endYear?: number;
|
|
1256
1333
|
}
|
|
1257
1334
|
/**
|
|
1258
1335
|
* Month grid. Matches Figma's `Calendar`, `Calendar Button`
|
|
@@ -1270,11 +1347,12 @@ interface CalendarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'>
|
|
|
1270
1347
|
* 42 individually tabbable buttons takes 42 presses to get past.
|
|
1271
1348
|
* - **Arrows cross month boundaries.** Pressing Left on the 1st moves to the previous
|
|
1272
1349
|
* month's last day and pages the view, rather than dead-ending.
|
|
1273
|
-
* - **PageUp/PageDown** move by month, **
|
|
1350
|
+
* - **PageUp/PageDown** move by month, **Shift+PageUp/PageDown** by year, **Home/End** to the
|
|
1351
|
+
* start/end of the week.
|
|
1274
1352
|
* - Each day's accessible name is the full date, not the number — "14" tells a screen
|
|
1275
1353
|
* reader user nothing.
|
|
1276
1354
|
*/
|
|
1277
|
-
declare function Calendar({ mode, value, range, onSelect, onRangeChange, defaultMonth, min, max, isDateDisabled, weekStartsOn, locale, label, className, ...rest }: CalendarProps): react.JSX.Element;
|
|
1355
|
+
declare function Calendar({ mode, value, range, onSelect, onRangeChange, defaultMonth, min, max, isDateDisabled, weekStartsOn, locale, label, captionLayout, startYear, endYear, className, ...rest }: CalendarProps): react.JSX.Element;
|
|
1278
1356
|
|
|
1279
1357
|
type InputGroupAlign = 'inline-start' | 'inline-end' | 'block-start' | 'block-end';
|
|
1280
1358
|
interface InputGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -1547,6 +1625,8 @@ interface PopoverContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1547
1625
|
label?: string;
|
|
1548
1626
|
/** Where to portal the panel. Defaults to the enclosing dialog, else `document.body`. */
|
|
1549
1627
|
container?: HTMLElement | null;
|
|
1628
|
+
/** Radix's open auto-focus hook: `preventDefault()` and focus something else, e.g. a calendar's selected day. */
|
|
1629
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
1550
1630
|
}
|
|
1551
1631
|
declare const PopoverContent: react.ForwardRefExoticComponent<PopoverContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
1552
1632
|
/** Closes the enclosing popover, e.g. an "Apply" or "Cancel" button. New in 0.7.0. */
|
|
@@ -1657,9 +1737,77 @@ interface MenuSubTriggerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1657
1737
|
interface MenuSubContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
1658
1738
|
children: ReactNode;
|
|
1659
1739
|
}
|
|
1740
|
+
interface MenuItemDefBase {
|
|
1741
|
+
/** Stable key. */
|
|
1742
|
+
id: string;
|
|
1743
|
+
/** Leave the entry out, e.g. `hidden: !can('delete')`. Separators left dangling are dropped. */
|
|
1744
|
+
hidden?: boolean;
|
|
1745
|
+
}
|
|
1746
|
+
/**
|
|
1747
|
+
* One menu entry as data: the same shape for `DropdownMenu`, `ContextMenu` and `Menubar`.
|
|
1748
|
+
* Each `type` renders through the matching part, so the keyboard contract and styling are the
|
|
1749
|
+
* parts' own. Omit `type` for a plain action.
|
|
1750
|
+
*/
|
|
1751
|
+
type MenuItemDef = (MenuItemDefBase & {
|
|
1752
|
+
type?: 'item';
|
|
1753
|
+
label: ReactNode;
|
|
1754
|
+
onSelect?: (event: Event) => void;
|
|
1755
|
+
tone?: MenuItemTone;
|
|
1756
|
+
disabled?: boolean;
|
|
1757
|
+
icon?: ReactNode;
|
|
1758
|
+
description?: ReactNode;
|
|
1759
|
+
shortcut?: ReactNode;
|
|
1760
|
+
textValue?: string;
|
|
1761
|
+
}) | (MenuItemDefBase & {
|
|
1762
|
+
type: 'checkbox';
|
|
1763
|
+
label: ReactNode;
|
|
1764
|
+
checked: boolean;
|
|
1765
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
1766
|
+
disabled?: boolean;
|
|
1767
|
+
shortcut?: ReactNode;
|
|
1768
|
+
textValue?: string;
|
|
1769
|
+
}) | (MenuItemDefBase & {
|
|
1770
|
+
type: 'radio';
|
|
1771
|
+
value?: string;
|
|
1772
|
+
onValueChange?: (value: string) => void;
|
|
1773
|
+
options: {
|
|
1774
|
+
value: string;
|
|
1775
|
+
label: ReactNode;
|
|
1776
|
+
disabled?: boolean;
|
|
1777
|
+
}[];
|
|
1778
|
+
}) | (MenuItemDefBase & {
|
|
1779
|
+
type: 'group';
|
|
1780
|
+
label?: string;
|
|
1781
|
+
items: MenuItemDef[];
|
|
1782
|
+
}) | (MenuItemDefBase & {
|
|
1783
|
+
type: 'submenu';
|
|
1784
|
+
label: ReactNode;
|
|
1785
|
+
icon?: ReactNode;
|
|
1786
|
+
disabled?: boolean;
|
|
1787
|
+
items: MenuItemDef[];
|
|
1788
|
+
}) | (MenuItemDefBase & {
|
|
1789
|
+
type: 'label';
|
|
1790
|
+
label: ReactNode;
|
|
1791
|
+
}) | (MenuItemDefBase & {
|
|
1792
|
+
type: 'separator';
|
|
1793
|
+
})
|
|
1794
|
+
/** Escape hatch: render a part yourself, e.g. an item with `asChild` around a router link. */
|
|
1795
|
+
| (MenuItemDefBase & {
|
|
1796
|
+
type: 'custom';
|
|
1797
|
+
render: () => ReactNode;
|
|
1798
|
+
});
|
|
1660
1799
|
|
|
1661
1800
|
interface ContextMenuProps {
|
|
1801
|
+
/**
|
|
1802
|
+
* The parts (`ContextMenuTrigger`, `ContextMenuContent`), or, with `items`, the area that
|
|
1803
|
+
* responds to right-click.
|
|
1804
|
+
*/
|
|
1662
1805
|
children: ReactNode;
|
|
1806
|
+
/**
|
|
1807
|
+
* The menu as data. New in 0.8.0. `children` then becomes the right-click area, wrapped in a
|
|
1808
|
+
* `ContextMenuTrigger` for you. The same `MenuItemDef` shape as `DropdownMenu` and `Menubar`.
|
|
1809
|
+
*/
|
|
1810
|
+
items?: readonly MenuItemDef[];
|
|
1663
1811
|
open?: boolean;
|
|
1664
1812
|
defaultOpen?: boolean;
|
|
1665
1813
|
onOpenChange?: (open: boolean) => void;
|
|
@@ -1680,7 +1828,7 @@ interface ContextMenuProps {
|
|
|
1680
1828
|
* Radix ContextMenu has no `open` prop (it is opened by the pointer only), so a controlled
|
|
1681
1829
|
* `open={false}` closes it, but `open={true}` cannot open it without a position.
|
|
1682
1830
|
*/
|
|
1683
|
-
declare function ContextMenu({ children, open: openProp, defaultOpen, onOpenChange }: ContextMenuProps): react.JSX.Element;
|
|
1831
|
+
declare function ContextMenu({ children, items, open: openProp, defaultOpen, onOpenChange }: ContextMenuProps): react.JSX.Element;
|
|
1684
1832
|
interface ContextMenuTriggerProps extends HTMLAttributes<HTMLDivElement> {
|
|
1685
1833
|
children: ReactNode;
|
|
1686
1834
|
disabled?: boolean;
|
|
@@ -1698,6 +1846,10 @@ interface ContextMenuContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1698
1846
|
container?: HTMLElement | null;
|
|
1699
1847
|
}
|
|
1700
1848
|
declare const ContextMenuContent: react.ForwardRefExoticComponent<ContextMenuContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
1849
|
+
/** Renders `MenuItemDef[]` inside your own `ContextMenuContent`. New in 0.8.0. */
|
|
1850
|
+
declare const ContextMenuItems: ({ items }: {
|
|
1851
|
+
items: readonly MenuItemDef[];
|
|
1852
|
+
}) => react.JSX.Element;
|
|
1701
1853
|
declare const ContextMenuItem: react.ForwardRefExoticComponent<MenuItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
1702
1854
|
declare const ContextMenuCheckboxItem: react.ForwardRefExoticComponent<MenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
1703
1855
|
declare const ContextMenuRadioGroup: ({ children, value, onValueChange }: MenuRadioGroupProps) => react.JSX.Element;
|
|
@@ -1710,8 +1862,22 @@ declare const ContextMenuSub: ({ children, open, defaultOpen, onOpenChange }: Me
|
|
|
1710
1862
|
declare const ContextMenuSubTrigger: react.ForwardRefExoticComponent<MenuSubTriggerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1711
1863
|
declare const ContextMenuSubContent: react.ForwardRefExoticComponent<MenuSubContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
1712
1864
|
|
|
1865
|
+
/** One menu of a data-driven `Menubar`. New in 0.8.0. */
|
|
1866
|
+
interface MenubarMenuDef {
|
|
1867
|
+
/** Identifies the menu within the bar; what `value` / `onValueChange` report. */
|
|
1868
|
+
value: string;
|
|
1869
|
+
label: ReactNode;
|
|
1870
|
+
items: readonly MenuItemDef[];
|
|
1871
|
+
hidden?: boolean;
|
|
1872
|
+
}
|
|
1713
1873
|
interface MenubarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'dir' | 'defaultValue'> {
|
|
1714
|
-
|
|
1874
|
+
/** The parts: `MenubarMenu`s. Omit when passing `menus`. */
|
|
1875
|
+
children?: ReactNode;
|
|
1876
|
+
/**
|
|
1877
|
+
* The bar as data: a trigger and its items per menu, rendered through the parts. New in 0.8.0.
|
|
1878
|
+
* Use it or `children`, not both.
|
|
1879
|
+
*/
|
|
1880
|
+
menus?: readonly MenubarMenuDef[];
|
|
1715
1881
|
/** Reading direction, which flips Left/Right along the bar. */
|
|
1716
1882
|
dir?: 'ltr' | 'rtl';
|
|
1717
1883
|
/** Accessible name for the bar, e.g. "Editor". Required: a menubar is a landmark-like group. */
|
|
@@ -1746,6 +1912,10 @@ interface MenubarContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1746
1912
|
container?: HTMLElement | null;
|
|
1747
1913
|
}
|
|
1748
1914
|
declare const MenubarContent: react.ForwardRefExoticComponent<MenubarContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
1915
|
+
/** Renders `MenuItemDef[]` inside your own `MenubarContent`. New in 0.8.0. */
|
|
1916
|
+
declare const MenubarItems: ({ items }: {
|
|
1917
|
+
items: readonly MenuItemDef[];
|
|
1918
|
+
}) => react.JSX.Element;
|
|
1749
1919
|
declare const MenubarItem: react.ForwardRefExoticComponent<MenuItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
1750
1920
|
declare const MenubarCheckboxItem: react.ForwardRefExoticComponent<MenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
1751
1921
|
declare const MenubarRadioGroup: ({ children, value, onValueChange }: MenuRadioGroupProps) => react.JSX.Element;
|
|
@@ -1959,7 +2129,20 @@ declare function NoteConfirmModal({ open, ...rest }: NoteConfirmModalProps): rea
|
|
|
1959
2129
|
* - **Non-modal by default.** The page behind stays readable and interactive.
|
|
1960
2130
|
*/
|
|
1961
2131
|
interface DropdownMenuProps {
|
|
1962
|
-
|
|
2132
|
+
/** The parts: `DropdownMenuTrigger` and `DropdownMenuContent`. Omit when passing `items`. */
|
|
2133
|
+
children?: ReactNode;
|
|
2134
|
+
/**
|
|
2135
|
+
* The menu as data, rendered through the parts. New in 0.8.0. Use it or `children`, not both.
|
|
2136
|
+
* The same `MenuItemDef` shape as `ContextMenu` and `Menubar`.
|
|
2137
|
+
*/
|
|
2138
|
+
items?: readonly MenuItemDef[];
|
|
2139
|
+
/** With `items`: the element that opens the menu. Default the `⋯` icon button. */
|
|
2140
|
+
trigger?: ReactNode;
|
|
2141
|
+
/** With `items` and the default trigger: its accessible name. Default "Open menu". */
|
|
2142
|
+
label?: string;
|
|
2143
|
+
/** With `items`: where the panel opens. Defaults as `DropdownMenuContent`. */
|
|
2144
|
+
side?: FloatingSide;
|
|
2145
|
+
align?: FloatingAlign;
|
|
1963
2146
|
/** Controlled open state. Omit for uncontrolled. */
|
|
1964
2147
|
open?: boolean;
|
|
1965
2148
|
defaultOpen?: boolean;
|
|
@@ -1970,7 +2153,7 @@ interface DropdownMenuProps {
|
|
|
1970
2153
|
*/
|
|
1971
2154
|
modal?: boolean;
|
|
1972
2155
|
}
|
|
1973
|
-
declare function DropdownMenu({ children, open: openProp, defaultOpen, onOpenChange, modal, }: DropdownMenuProps): react.JSX.Element;
|
|
2156
|
+
declare function DropdownMenu({ children, items, trigger, label, side, align, open: openProp, defaultOpen, onOpenChange, modal, }: DropdownMenuProps): react.JSX.Element;
|
|
1974
2157
|
interface DropdownMenuTriggerProps extends HTMLAttributes<HTMLButtonElement> {
|
|
1975
2158
|
children?: ReactNode;
|
|
1976
2159
|
/** Render the child element instead of the default overflow button. */
|
|
@@ -1990,6 +2173,10 @@ interface DropdownMenuContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1990
2173
|
onCloseAutoFocus?: (event: Event) => void;
|
|
1991
2174
|
}
|
|
1992
2175
|
declare const DropdownMenuContent: react.ForwardRefExoticComponent<DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
2176
|
+
/** Renders `MenuItemDef[]` inside your own `DropdownMenuContent`. New in 0.8.0. */
|
|
2177
|
+
declare const DropdownMenuItems: ({ items }: {
|
|
2178
|
+
items: readonly MenuItemDef[];
|
|
2179
|
+
}) => react.JSX.Element;
|
|
1993
2180
|
declare const DropdownMenuItem: react.ForwardRefExoticComponent<MenuItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
1994
2181
|
declare const DropdownMenuCheckboxItem: react.ForwardRefExoticComponent<MenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
1995
2182
|
declare const DropdownMenuRadioGroup: ({ children, value, onValueChange }: MenuRadioGroupProps) => react.JSX.Element;
|
|
@@ -2366,8 +2553,23 @@ interface CardFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
2366
2553
|
declare function CardFooter({ children, size, divider, align, className, ...rest }: CardFooterProps): react.JSX.Element;
|
|
2367
2554
|
|
|
2368
2555
|
type AccordionType = 'single' | 'multiple';
|
|
2556
|
+
/** One section as data. New in 0.8.0. */
|
|
2557
|
+
interface AccordionItemDef {
|
|
2558
|
+
value: string;
|
|
2559
|
+
/** The trigger text. */
|
|
2560
|
+
label: ReactNode;
|
|
2561
|
+
content: ReactNode;
|
|
2562
|
+
disabled?: boolean;
|
|
2563
|
+
hidden?: boolean;
|
|
2564
|
+
}
|
|
2369
2565
|
interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue' | 'dir'> {
|
|
2370
|
-
|
|
2566
|
+
/** The parts: `AccordionItem`s. Omit when passing `items`. */
|
|
2567
|
+
children?: ReactNode;
|
|
2568
|
+
/**
|
|
2569
|
+
* The sections as data, each rendered as an `AccordionItem` with its trigger and content.
|
|
2570
|
+
* New in 0.8.0. Use it or `children`, not both.
|
|
2571
|
+
*/
|
|
2572
|
+
items?: readonly AccordionItemDef[];
|
|
2371
2573
|
/** `single` closes the open item when another opens. Default `single`. */
|
|
2372
2574
|
type?: AccordionType;
|
|
2373
2575
|
/** Open item value(s) — a string for `single`, an array for `multiple`. */
|
|
@@ -3042,8 +3244,34 @@ interface KbdProps extends HTMLAttributes<HTMLElement> {
|
|
|
3042
3244
|
*/
|
|
3043
3245
|
declare const Kbd: react.ForwardRefExoticComponent<KbdProps & react.RefAttributes<HTMLElement>>;
|
|
3044
3246
|
|
|
3247
|
+
/** One crumb as data. New in 0.8.0. */
|
|
3248
|
+
interface BreadcrumbItemDef {
|
|
3249
|
+
label: ReactNode;
|
|
3250
|
+
/** Omit on the current page. */
|
|
3251
|
+
href?: string;
|
|
3252
|
+
/** Stable key. Default the position, which suits a static trail. */
|
|
3253
|
+
id?: string;
|
|
3254
|
+
/** Default: the last crumb is the current page. */
|
|
3255
|
+
current?: boolean;
|
|
3256
|
+
}
|
|
3045
3257
|
interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
|
|
3046
|
-
|
|
3258
|
+
/** The parts: `BreadcrumbItem`s. Omit when passing `items`. */
|
|
3259
|
+
children?: ReactNode;
|
|
3260
|
+
/**
|
|
3261
|
+
* The trail as data, root first, rendered as `BreadcrumbItem`s. New in 0.8.0. The last crumb
|
|
3262
|
+
* is the current page unless an item says otherwise. Use it or `children`, not both.
|
|
3263
|
+
*/
|
|
3264
|
+
items?: readonly BreadcrumbItemDef[];
|
|
3265
|
+
/**
|
|
3266
|
+
* With `items`: render each link yourself, e.g. a router `Link`. It becomes the crumb through
|
|
3267
|
+
* `asChild`, so it gets the crumb styling. Default a plain `<a href>`.
|
|
3268
|
+
*/
|
|
3269
|
+
renderLink?: (item: BreadcrumbItemDef) => ReactElement;
|
|
3270
|
+
/**
|
|
3271
|
+
* With `items`: collapse the middle of a longer trail into `BreadcrumbEllipsis`, keeping the
|
|
3272
|
+
* root and the last `maxItems - 1` crumbs (MUI's `maxItems`). Default: never collapse.
|
|
3273
|
+
*/
|
|
3274
|
+
maxItems?: number;
|
|
3047
3275
|
/** Names the landmark. Default `Breadcrumb`. */
|
|
3048
3276
|
label?: string;
|
|
3049
3277
|
}
|
|
@@ -3945,10 +4173,15 @@ interface FileRowProps {
|
|
|
3945
4173
|
fileType?: string;
|
|
3946
4174
|
/** Custom leading node — overrides `fileType`. */
|
|
3947
4175
|
leading?: ReactNode;
|
|
3948
|
-
/** The canonical action. Renders a
|
|
4176
|
+
/** The canonical action. Renders a download icon button. */
|
|
3949
4177
|
onDownload?: () => void;
|
|
4178
|
+
/** Tooltip, and the start of the button's name ("Download report.pdf"). Default "Download". */
|
|
3950
4179
|
downloadLabel?: string;
|
|
3951
|
-
/**
|
|
4180
|
+
/** Renders a remove icon button after download. New in 0.8.0. */
|
|
4181
|
+
onRemove?: () => void;
|
|
4182
|
+
/** Tooltip, and the start of the button's name ("Remove report.pdf"). Default "Remove". */
|
|
4183
|
+
removeLabel?: string;
|
|
4184
|
+
/** Anything else on the right, after the built-in actions — a `DropdownMenu`, review buttons. */
|
|
3952
4185
|
actions?: ReactNode;
|
|
3953
4186
|
className?: string;
|
|
3954
4187
|
}
|
|
@@ -3958,8 +4191,14 @@ interface FileRowProps {
|
|
|
3958
4191
|
* This strip was hardcoded inline inside both `DocumentRow` and
|
|
3959
4192
|
* `DocumentChecklistRow`. Nothing about it is document-specific — it is the same row
|
|
3960
4193
|
* for a generated export, an invoice or an evidence attachment.
|
|
4194
|
+
*
|
|
4195
|
+
* Download and remove are same-size subtle icon buttons (24px, with a larger touch hit area),
|
|
4196
|
+
* the way upload and attachment lists do it (Ant Design's Upload list, Gmail, Drive). Through
|
|
4197
|
+
* 0.7.1 download was a bare text link and remove was whatever `Button` the caller passed, so
|
|
4198
|
+
* the two never matched. Each is named with the file ("Download report.pdf") so a list of files
|
|
4199
|
+
* does not read as a column of identical buttons, and shows its short label as a tooltip.
|
|
3961
4200
|
*/
|
|
3962
|
-
declare function FileRow({ name, detail, fileType, leading, onDownload, downloadLabel, actions, className, }: FileRowProps): react.JSX.Element;
|
|
4201
|
+
declare function FileRow({ name, detail, fileType, leading, onDownload, downloadLabel, onRemove, removeLabel, actions, className, }: FileRowProps): react.JSX.Element;
|
|
3963
4202
|
|
|
3964
4203
|
type ScoredRowAlign = 'center' | 'end';
|
|
3965
4204
|
/** 8 / 12 / 20 / 48px — the four gaps the source mockups actually used. */
|
|
@@ -4325,6 +4564,12 @@ interface TableProps extends HTMLAttributes<HTMLTableElement> {
|
|
|
4325
4564
|
density?: TableDensity;
|
|
4326
4565
|
/** Equal-width columns driven by `<colgroup>`, matching `DataTable`. Default `false`. */
|
|
4327
4566
|
fixed?: boolean;
|
|
4567
|
+
/**
|
|
4568
|
+
* Cap the height (px number or CSS length) and scroll the body inside it. Pair with
|
|
4569
|
+
* `<TableHead sticky>` to keep the header row in view. The wrapper becomes a focusable region
|
|
4570
|
+
* named by `label`, so the keyboard can scroll it. New in 0.7.1.
|
|
4571
|
+
*/
|
|
4572
|
+
maxHeight?: number | string;
|
|
4328
4573
|
}
|
|
4329
4574
|
declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLTableElement>>;
|
|
4330
4575
|
interface TableCaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
|
|
@@ -4479,7 +4724,12 @@ interface TableCellProgressProps {
|
|
|
4479
4724
|
size?: TableCellSize;
|
|
4480
4725
|
className?: string;
|
|
4481
4726
|
}
|
|
4482
|
-
/**
|
|
4727
|
+
/**
|
|
4728
|
+
* Mini progress bar with its percentage at the end. The bar fills whatever width the cell gives
|
|
4729
|
+
* it, as shadcn's Progress (`w-full`), Ant Design's line Progress and MUI's LinearProgress do:
|
|
4730
|
+
* through 0.7.0 it was a fixed 48 / 64px, which left most of a wide column, or of a card field in
|
|
4731
|
+
* the responsive layout, empty. `size` now sets the bar's thickness (4 / 6px).
|
|
4732
|
+
*/
|
|
4483
4733
|
declare function TableCellProgress({ percent, tone, size, className, }: TableCellProgressProps): react.JSX.Element;
|
|
4484
4734
|
|
|
4485
4735
|
type DataTableColumnAlign = 'start' | 'center' | 'end';
|
|
@@ -4627,6 +4877,13 @@ interface DataTableProps<TData, TValue = unknown> {
|
|
|
4627
4877
|
responsive?: boolean | {
|
|
4628
4878
|
breakpoint?: number;
|
|
4629
4879
|
};
|
|
4880
|
+
/**
|
|
4881
|
+
* Cap the table's height (px number or any CSS length) and scroll the body inside it, with the
|
|
4882
|
+
* header row pinned. Works with horizontal scrolling and sticky columns, and caps the card list
|
|
4883
|
+
* in the responsive layout. The pattern of MUI's `TableContainer` + `stickyHeader` and Ant
|
|
4884
|
+
* Design's `scroll.y`. New in 0.7.1.
|
|
4885
|
+
*/
|
|
4886
|
+
maxHeight?: number | string;
|
|
4630
4887
|
manual?: DataTableManual;
|
|
4631
4888
|
/** Controlled state. Any key you pass is controlled; the rest stay internal. */
|
|
4632
4889
|
state?: Partial<DataTableState>;
|
|
@@ -4662,7 +4919,7 @@ interface DataTableProps<TData, TValue = unknown> {
|
|
|
4662
4919
|
* while loading, a polite announcement of the result count after a search, keyboard row
|
|
4663
4920
|
* activation, and named selection checkboxes.
|
|
4664
4921
|
*/
|
|
4665
|
-
declare function DataTable<TData, TValue = unknown>({ columns, data, getRowId, label, caption, searchable, columnVisibility: showColumnMenu, pagination: paginated, pageSize, pageSizeOptions, enableRowSelection, onSelectionChange, getRowLabel, onRowClick, getRowHref, renderRowLink, getRowTone, getRowDimmed, loading, loadingRows, error, onRetry, empty, toolbar, footer, density, align, responsive, manual, state, onSortingChange, onGlobalFilterChange, onColumnFiltersChange, onPaginationChange, onColumnVisibilityChange, onRowSelectionChange, tableOptions, className, }: DataTableProps<TData, TValue>): react.JSX.Element;
|
|
4922
|
+
declare function DataTable<TData, TValue = unknown>({ columns, data, getRowId, label, caption, searchable, columnVisibility: showColumnMenu, pagination: paginated, pageSize, pageSizeOptions, enableRowSelection, onSelectionChange, getRowLabel, onRowClick, getRowHref, renderRowLink, getRowTone, getRowDimmed, loading, loadingRows, error, onRetry, empty, toolbar, footer, density, align, responsive, maxHeight, manual, state, onSortingChange, onGlobalFilterChange, onColumnFiltersChange, onPaginationChange, onColumnVisibilityChange, onRowSelectionChange, tableOptions, className, }: DataTableProps<TData, TValue>): react.JSX.Element;
|
|
4666
4923
|
|
|
4667
4924
|
/**
|
|
4668
4925
|
* Tracks an element's rendered content-box width. New in 0.7.0, from SCIC.
|
|
@@ -4947,4 +5204,4 @@ declare function ChatBubble({ sender, children, failed, className }: ChatBubbleP
|
|
|
4947
5204
|
* with `relative`. */
|
|
4948
5205
|
declare function AuroraBackdrop(): react.JSX.Element;
|
|
4949
5206
|
|
|
4950
|
-
export { AIChatBar, type AIChatBarProps, AISuggestionChip, type AISuggestionChipProps, AccessibleIcon, type AccessibleIconProps, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, AiAvatar, type AiAvatarProps, AspectRatio, type AspectRatioProps, AuroraBackdrop, Avatar, AvatarBlock, type AvatarBlockProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSpacing, type AvatarImageProps, type AvatarInitialProps, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BarChartSeries, type BarChartSize, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupAlign, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupVariant, type ButtonProps, type ButtonSize, type ButtonVariant, CHART_SEQUENCE, CHART_TONE, CHART_TRACK, COL_SPAN, COL_SPAN_BY_TIER, COUNTRY_CODES, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, type CardActionProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterAlign, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, type CardRadius, type CardSize, CardTitle, type CardTitleProps, type CardTone, Carousel, CarouselControls, type CarouselControlsProps, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselViewport, type CarouselViewportProps, ChartLegend, type ChartLegendItem, type ChartLegendOrientation, type ChartLegendProps, type ChartTone, ChatBubble, type ChatBubbleProps, type ChatBubbleSender, CheckIndicator, type CheckIndicatorProps, type CheckIndicatorStatus, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, type CheckedGroup, CheckedGroupList, type CheckedGroupListColumns, type CheckedGroupListProps, ChecklistRow, type ChecklistRowProps, type ChecklistRowState, type ColSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, type ColumnMobileRole, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandItem, type CommandProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, type ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTriggerProps, ControlSizeProvider, type ControlSizeProviderProps, CopyButton, type CopyButtonProps, CountBadge, type CountBadgeProps, CountrySelect, type CountrySelectProps, type CreateSelectColumnOptions, DEFAULT_SCORE_THRESHOLDS, DataTable, type DataTableAlign, type DataTableColumnAlign, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableDensity, type DataTableManual, DataTablePagination, type DataTablePaginationProps, type DataTableProps, type DataTableRowLinkProps, type DataTableSearchOptions, type DataTableState, DataTableViewOptions, type DataTableViewOptionsProps, DatePicker, type DatePickerProps, type DateRange, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DetailGrid, type DetailGridColumns, type DetailGridProps, DetailItem, type DetailItemLayout, type DetailItemProps, type DetailItemSpan, DonutChart, type DonutChartProps, type DonutChartSize, type DonutSegment, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterAlign, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, type DrawerSide, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type MenuCheckboxItemProps as DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type MenuGroupProps as DropdownMenuGroupProps, DropdownMenuItem, type MenuItemProps as DropdownMenuItemProps, type MenuItemTone as DropdownMenuItemTone, DropdownMenuLabel, type MenuLabelProps as DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type MenuRadioGroupProps as DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type MenuRadioItemProps as DropdownMenuRadioItemProps, DropdownMenuSeparator, type MenuSeparatorProps as DropdownMenuSeparatorProps, DropdownMenuShortcut, type MenuShortcutProps as DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type MenuSubContentProps as DropdownMenuSubContentProps, type MenuSubProps as DropdownMenuSubProps, DropdownMenuSubTrigger, type MenuSubTriggerProps as DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmailText, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateVariant, EntityIconBadge, type EntityIconBadgeProps, type EntityIconBadgeSize, type EntityIconBadgeTone, ErrorBoundary, type ErrorBoundaryProps, EyebrowLabel, type EyebrowLabelProps, type EyebrowLabelVariant, FOCUS_RING, FOCUS_RING_INSET, Field, type FieldContextValue, FieldDescription, FieldError, FieldGroup, type FieldGroupProps, FieldHint, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldOrientation, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, type FieldTextProps, FileDropZone, type FileDropZoneProps, FileRow, type FileRowProps, FilterBar, type FilterBarProps, type FilterBarSize, Flex, type FlexAlign, type FlexDirection, type FlexJustify, type FlexProps, FormCard, FormCardFooter, type FormCardFooterProps, FormCardHeader, type FormCardHeaderProps, type FullscreenStacking, FullscreenSurface, type FullscreenSurfaceProps, GRID_TIERS, Grid, type GridBreakpoint, type GridColumnCount, type GridProps, type GridTier, HEIGHT_CLASS, HEIGHT_PX, Heading, HoverCard, type HoverCardProps, IconButton, type IconButtonProps, type IconButtonVariant, IconTextRow, type IconTextRowProps, InlineAlert, type InlineAlertProps, type InlineAlertTone, Input, InputControl, type InputControlProps, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAlign, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputOTP, type InputOTPMode, type InputOTPProps, type InputProps, type InputSize, Kbd, type KbdProps, type KbdSize, Label, type LabelProps, LegendDot, type LegendDotProps, type LegendDotShape, type LegendDotSize, ListRow, type ListRowDensity, type ListRowDivider, type ListRowProps, Menubar, MenubarCheckboxItem, MenubarContent, type MenubarContentProps, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type MenubarTriggerProps, MiniBarChart, type MiniBarChartOrientation, type MiniBarChartProps, type MiniBarChartSize, Modal, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterAlign, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, type ModalTone, ModalTrigger, type ModalTriggerProps, MultiSelectCard, type MultiSelectCardProps, type MultiSelectCardSize, NavItem, type NavItemProps, type NavItemSize, type NavItemVariant, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, type NavigationMenuOrientation, type NavigationMenuProps, type NavigationMenuVariant, NoteConfirmModal, type NoteConfirmModalProps, NumberedList, type NumberedListGap, type NumberedListItem, type NumberedListProps, OVERLAY_SCRIM, PageHeading, type PageHeadingProps, type PageHeadingSize, PageToolbar, type PageToolbarProps, type PageToolbarSize, Pagination, PaginationBar, type PaginationBarProps, type PaginationProps, type PaginationType, PasswordInput, type PasswordInputProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, ProgressBar, type ProgressBarProps, type ProgressBarSize, type ProgressBarTone, type QuickAction, QuickActionsBar, type QuickActionsBarProps, Quote, ROLE_COMBO_OPTIONS, RadialGauge, type RadialGaugeProps, type RadialGaugeSize, Radio, RadioCards, RadioCardsItem, type RadioCardsItemProps, type RadioCardsProps, type RadioCardsSize, RadioGroup, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, Resizable, type ResizableDirection, ResizableHandle, type ResizableHandleProps, ResizablePanel, type ResizablePanelProps, type ResizableProps, RoleBadge, type RoleBadgeProps, type RoleBadgeTone, RoleComboBox, type RoleComboBoxProps, type RoleOption, SCROLLBAR_CLASSES, SELECT_COLUMN_ID, type ScoreDirection, type ScoreRampTone, type ScoreThresholds, type ScoreTone, ScoreValue, type ScoreValueProps, type ScoreValueSize, type ScoreValueTone, type ScoreValueWeight, ScoredRow, type ScoredRowAlign, type ScoredRowGap, type ScoredRowProps, Scrim, type ScrimProps, ScrollArea, type ScrollAreaAxis, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, type SectionSize, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectControl, type SelectControlProps, type SelectOption, type SelectOptionGroup, type SelectProps, Separator, type SeparatorOrientation, type SeparatorProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Slot, type SlotProps, type SpaceToken, Sparkline, type SparklineProps, type SparklineSize, type SparklineVariant, Spinner, type SpinnerProps, type SpinnerSize, StatNumber, type StatNumberProps, type StatNumberSize, type StatNumberWeight, StatTile, type StatTileProps, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, StatusChip, type StatusChipProps, StatusDot, type StatusDotProps, type StatusDotTone, type StatusTone, type StepItem, type StepStatus, Stepper, type StepperProps, type StepperSize, StepsList, type StepsListProps, Subheading, Subtitle, Switch, type SwitchProps, type SwitchSize, TIER_COLS, TIER_MIN_PX, type TabItem, Table, TableBody, TableCaption, type TableCaptionProps, TableCell, TableCellBadge, type TableCellBadgeProps, TableCellLeadText, type TableCellLeadTextProps, TableCellProgress, type TableCellProgressProps, type TableCellProps, type TableCellSize, TableCellText, type TableCellTextProps, type TableDensity, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, type TableRowTone, type TableSortDirection, Tabs, type TabsActivation, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, TabsPanel, type TabsPanelProps, type TabsProps, type TabsRootProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, TagInput, type TagInputParseResult, type TagInputProps, TagPill, type TagPillProps, type TagPillTone, Text, TextCode, TextEmphasis, TextLink, type TextLinkProps, TextList, type TextListDensity, TextListItem, type TextListItemProps, type TextListProps, type TextListVariant, type TextProps, TextSmall, TextStrong, TextTiny, type TextTone, Textarea, TextareaControl, type TextareaControlProps, type TextareaProps, TileGrid, type TileGridBreakpoint, type TileGridColumns, type TileGridProps, TimeZoneSelect, type TimeZoneSelectProps, TitleHero, TitlePage, type ToastOptions, type ToastRecord, type ToastTone, Toaster, type ToasterPosition, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleGroupType, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipProps, TrailChip, type TrailChipProps, type TreeItemState, TreeView, type TreeViewProps, type TreeViewSize, type TrendDirection, TrendLabel, type TrendLabelProps, type TrendLabelSize, type TrendLabelWeight, TypingIndicator, type TypingIndicatorProps, type UseFilePicker, type UseFilePickerOptions, type UseWidthTierOptions, type UseWidthTierResult, type UserAccountStatus, UserStatusPill, type UserStatusPillProps, VisuallyHidden, type VisuallyHiddenProps, WidgetFooter, type WidgetFooterProps, WidgetGrid, WidgetGridItem, type WidgetGridItemProps, type WidgetGridProps, WidgetGridRow, type WidgetGridRowProps, WidgetHeader, type WidgetHeaderEyebrowVariant, type WidgetHeaderProps, type WidgetHeight, WidgetTitle, type WidgetTitleProps, type WidgetTitleSize, cn, colsFor, composeRefs, countryOptions, createSelectColumn, currentZoneName, formatFileSize, getScoreTone, nextTier, paginationRange, quantizeWidth, resolveChartColor, slotWidthPx, tabId, tabPanelId, tierForWidth, timeZoneOffset, timeZoneOptions, useControlSize, useElementWidth, useFieldContext, useFieldControl, useFilePicker, useOverlayDismiss, usePortalContainer, useToast, useWidthTier };
|
|
5207
|
+
export { AIChatBar, type AIChatBarProps, AISuggestionChip, type AISuggestionChipProps, AccessibleIcon, type AccessibleIconProps, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemDef, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, AiAvatar, type AiAvatarProps, AspectRatio, type AspectRatioProps, AuroraBackdrop, Avatar, AvatarBlock, type AvatarBlockProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSpacing, type AvatarImageProps, type AvatarInitialProps, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BarChartSeries, type BarChartSize, Blockquote, type BlockquoteProps, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemDef, type BreadcrumbItemProps, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupAlign, type ButtonGroupItem, type ButtonGroupProps, type ButtonGroupVariant, type ButtonProps, type ButtonSize, type ButtonVariant, CHART_SEQUENCE, CHART_TONE, CHART_TRACK, COL_SPAN, COL_SPAN_BY_TIER, COUNTRY_CODES, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, type CardActionProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterAlign, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, type CardRadius, type CardSize, CardTitle, type CardTitleProps, type CardTone, Carousel, CarouselControls, type CarouselControlsProps, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselViewport, type CarouselViewportProps, ChartLegend, type ChartLegendItem, type ChartLegendOrientation, type ChartLegendProps, type ChartTone, ChatBubble, type ChatBubbleProps, type ChatBubbleSender, CheckIndicator, type CheckIndicatorProps, type CheckIndicatorStatus, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, type CheckedGroup, CheckedGroupList, type CheckedGroupListColumns, type CheckedGroupListProps, ChecklistRow, type ChecklistRowProps, type ChecklistRowState, type ColSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, type ColumnMobileRole, Combobox, type ComboboxOption, type ComboboxProps, Command, type CommandItem, type CommandProps, ConfirmDialog, type ConfirmDialogProps, Container, type ContainerProps, type ContainerSize, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuItems, ContextMenuLabel, type ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTriggerProps, ControlSizeProvider, type ControlSizeProviderProps, CopyButton, type CopyButtonProps, CountBadge, type CountBadgeProps, CountrySelect, type CountrySelectProps, type CreateSelectColumnOptions, DEFAULT_SCORE_THRESHOLDS, DataTable, type DataTableAlign, type DataTableColumnAlign, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableDensity, type DataTableManual, DataTablePagination, type DataTablePaginationProps, type DataTableProps, type DataTableRowLinkProps, type DataTableSearchOptions, type DataTableState, DataTableViewOptions, type DataTableViewOptionsProps, DatePicker, type DatePickerProps, type DateRange, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DetailGrid, type DetailGridColumns, type DetailGridProps, DetailItem, type DetailItemLayout, type DetailItemProps, type DetailItemSpan, DonutChart, type DonutChartProps, type DonutChartSize, type DonutSegment, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterAlign, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, type DrawerSide, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type MenuCheckboxItemProps as DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type MenuGroupProps as DropdownMenuGroupProps, DropdownMenuItem, type MenuItemProps as DropdownMenuItemProps, type MenuItemTone as DropdownMenuItemTone, DropdownMenuItems, DropdownMenuLabel, type MenuLabelProps as DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type MenuRadioGroupProps as DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type MenuRadioItemProps as DropdownMenuRadioItemProps, DropdownMenuSeparator, type MenuSeparatorProps as DropdownMenuSeparatorProps, DropdownMenuShortcut, type MenuShortcutProps as DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type MenuSubContentProps as DropdownMenuSubContentProps, type MenuSubProps as DropdownMenuSubProps, DropdownMenuSubTrigger, type MenuSubTriggerProps as DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmailText, EmptyState, type EmptyStateProps, type EmptyStateSize, type EmptyStateVariant, EntityIconBadge, type EntityIconBadgeProps, type EntityIconBadgeSize, type EntityIconBadgeTone, ErrorBoundary, type ErrorBoundaryProps, EyebrowLabel, type EyebrowLabelProps, type EyebrowLabelVariant, FOCUS_RING, FOCUS_RING_INSET, Field, type FieldContextValue, FieldDescription, FieldError, FieldGroup, type FieldGroupProps, FieldHint, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldOrientation, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, type FieldTextProps, FileDropZone, type FileDropZoneProps, FileRow, type FileRowProps, FilterBar, type FilterBarProps, type FilterBarSize, Flex, type FlexAlign, type FlexDirection, type FlexJustify, type FlexProps, FormCard, FormCardFooter, type FormCardFooterProps, FormCardHeader, type FormCardHeaderProps, type FullscreenStacking, FullscreenSurface, type FullscreenSurfaceProps, GRID_TIERS, Grid, type GridBreakpoint, type GridColumnCount, type GridProps, type GridTier, HEIGHT_CLASS, HEIGHT_PX, Heading, HoverCard, type HoverCardProps, IconButton, type IconButtonProps, type IconButtonVariant, IconTextRow, type IconTextRowProps, InlineAlert, type InlineAlertProps, type InlineAlertTone, Input, InputControl, type InputControlProps, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupAlign, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputOTP, type InputOTPMode, type InputOTPProps, type InputProps, type InputSize, Kbd, type KbdProps, type KbdSize, Label, type LabelProps, LegendDot, type LegendDotProps, type LegendDotShape, type LegendDotSize, ListRow, type ListRowDensity, type ListRowDivider, type ListRowProps, type MenuItemDef, Menubar, MenubarCheckboxItem, MenubarContent, type MenubarContentProps, MenubarGroup, MenubarItem, MenubarItems, MenubarLabel, MenubarMenu, type MenubarMenuDef, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type MenubarTriggerProps, MiniBarChart, type MiniBarChartOrientation, type MiniBarChartProps, type MiniBarChartSize, Modal, ModalBody, type ModalBodyProps, ModalClose, type ModalCloseProps, ModalDescription, type ModalDescriptionProps, ModalFooter, type ModalFooterAlign, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalSize, ModalTitle, type ModalTitleProps, type ModalTone, ModalTrigger, type ModalTriggerProps, MultiSelectCard, type MultiSelectCardProps, type MultiSelectCardSize, NavItem, type NavItemProps, type NavItemSize, type NavItemVariant, NavigationMenu, NavigationMenuItem, type NavigationMenuItemProps, type NavigationMenuOrientation, type NavigationMenuProps, type NavigationMenuVariant, NoteConfirmModal, type NoteConfirmModalProps, NumberedList, type NumberedListGap, type NumberedListItem, type NumberedListProps, OVERLAY_SCRIM, PageHeading, type PageHeadingProps, type PageHeadingSize, PageToolbar, type PageToolbarProps, type PageToolbarSize, Pagination, PaginationBar, type PaginationBarProps, type PaginationProps, type PaginationType, PasswordInput, type PasswordInputProps, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, ProgressBar, type ProgressBarProps, type ProgressBarSize, type ProgressBarTone, type QuickAction, QuickActionsBar, type QuickActionsBarProps, Quote, ROLE_COMBO_OPTIONS, RadialGauge, type RadialGaugeProps, type RadialGaugeSize, Radio, RadioCards, RadioCardsItem, type RadioCardsItemProps, type RadioCardsProps, type RadioCardsSize, RadioGroup, type RadioGroupOption, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, Resizable, type ResizableDirection, ResizableHandle, type ResizableHandleProps, ResizablePanel, type ResizablePanelProps, type ResizableProps, RoleBadge, type RoleBadgeProps, type RoleBadgeTone, RoleComboBox, type RoleComboBoxProps, type RoleOption, SCROLLBAR_CLASSES, SELECT_COLUMN_ID, type ScoreDirection, type ScoreRampTone, type ScoreThresholds, type ScoreTone, ScoreValue, type ScoreValueProps, type ScoreValueSize, type ScoreValueTone, type ScoreValueWeight, ScoredRow, type ScoredRowAlign, type ScoredRowGap, type ScoredRowProps, Scrim, type ScrimProps, ScrollArea, type ScrollAreaAxis, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, type SectionSize, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectControl, type SelectControlProps, type SelectOption, type SelectOptionGroup, type SelectProps, Separator, type SeparatorOrientation, type SeparatorProps, Skeleton, type SkeletonProps, type SkeletonShape, Slider, type SliderProps, Slot, type SlotProps, type SpaceToken, Sparkline, type SparklineProps, type SparklineSize, type SparklineVariant, Spinner, type SpinnerProps, type SpinnerSize, StatNumber, type StatNumberProps, type StatNumberSize, type StatNumberWeight, StatTile, type StatTileProps, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, StatusChip, type StatusChipProps, StatusDot, type StatusDotProps, type StatusDotTone, type StatusTone, type StepItem, type StepStatus, Stepper, type StepperProps, type StepperSize, StepsList, type StepsListProps, Subheading, Subtitle, Switch, type SwitchProps, type SwitchSize, TIER_COLS, TIER_MIN_PX, type TabItem, Table, TableBody, TableCaption, type TableCaptionProps, TableCell, TableCellBadge, type TableCellBadgeProps, TableCellLeadText, type TableCellLeadTextProps, TableCellProgress, type TableCellProgressProps, type TableCellProps, type TableCellSize, TableCellText, type TableCellTextProps, type TableDensity, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, type TableRowTone, type TableSortDirection, Tabs, type TabsActivation, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, TabsPanel, type TabsPanelProps, type TabsProps, type TabsRootProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, TagInput, type TagInputParseResult, type TagInputProps, TagPill, type TagPillProps, type TagPillTone, Text, TextCode, TextEmphasis, TextLink, type TextLinkProps, TextList, type TextListDensity, TextListItem, type TextListItemProps, type TextListProps, type TextListVariant, type TextProps, TextSmall, TextStrong, TextTiny, type TextTone, Textarea, TextareaControl, type TextareaControlProps, type TextareaProps, TileGrid, type TileGridBreakpoint, type TileGridColumns, type TileGridProps, TimeZoneSelect, type TimeZoneSelectProps, TitleHero, TitlePage, type ToastOptions, type ToastRecord, type ToastTone, Toaster, type ToasterPosition, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupOption, type ToggleGroupProps, type ToggleGroupType, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, type TooltipProps, TrailChip, type TrailChipProps, type TreeItemState, TreeView, type TreeViewProps, type TreeViewSize, type TrendDirection, TrendLabel, type TrendLabelProps, type TrendLabelSize, type TrendLabelWeight, TypingIndicator, type TypingIndicatorProps, type UseFilePicker, type UseFilePickerOptions, type UseWidthTierOptions, type UseWidthTierResult, type UserAccountStatus, UserStatusPill, type UserStatusPillProps, VisuallyHidden, type VisuallyHiddenProps, WidgetFooter, type WidgetFooterProps, WidgetGrid, WidgetGridItem, type WidgetGridItemProps, type WidgetGridProps, WidgetGridRow, type WidgetGridRowProps, WidgetHeader, type WidgetHeaderEyebrowVariant, type WidgetHeaderProps, type WidgetHeight, WidgetTitle, type WidgetTitleProps, type WidgetTitleSize, cn, colsFor, composeRefs, countryOptions, createSelectColumn, currentZoneName, formatFileSize, getScoreTone, nextTier, paginationRange, quantizeWidth, resolveChartColor, slotWidthPx, tabId, tabPanelId, tierForWidth, timeZoneOffset, timeZoneOptions, useControlSize, useElementWidth, useFieldContext, useFieldControl, useFilePicker, useOverlayDismiss, usePortalContainer, useToast, useWidthTier };
|