@assure-one/design-system 1.41.2 → 1.43.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/brand-scope-BOKu4iOc.d.ts +262 -0
- package/dist/{chunk-UAPQ7VTS.js → chunk-LUWPEBXZ.js} +283 -178
- package/dist/chunk-LUWPEBXZ.js.map +1 -0
- package/dist/{chunk-AF3QYJ24.js → chunk-TBDTXAFH.js} +6 -4
- package/dist/chunk-TBDTXAFH.js.map +1 -0
- package/dist/{chunk-JKNHNNNY.js → chunk-TYXT5C2B.js} +95 -11
- package/dist/chunk-TYXT5C2B.js.map +1 -0
- package/dist/{chunk-XN7OBLQR.js → chunk-XJKCKBHI.js} +20 -16
- package/dist/chunk-XJKCKBHI.js.map +1 -0
- package/dist/css/components.css +1 -1
- package/dist/css/tokens.css +4 -4
- package/dist/{data-table-view-ep8al7P9.d.ts → data-table-view-BWhKeUiw.d.ts} +186 -2
- package/dist/{design-system-provider-CfD2g2lY.d.ts → design-system-provider-Coe2S3Lh.d.ts} +1 -1
- package/dist/icons/index.d.ts +5 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +290 -455
- package/dist/index.js +636 -250
- package/dist/index.js.map +1 -1
- package/dist/legacy/index.d.ts +11 -4
- package/dist/legacy/index.js +3 -3
- package/dist/next/index.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/dist/suite/index.d.ts +14 -3
- package/dist/suite/index.js +3 -3
- package/dist/{types-Coqw8iaS.d.ts → types-DlqmlVyZ.d.ts} +11 -1
- package/docs/components.md +11 -8
- package/docs/components.registry.json +89 -22
- package/package.json +1 -1
- package/dist/brand-scope-BOHId6BY.d.ts +0 -58
- package/dist/chunk-AF3QYJ24.js.map +0 -1
- package/dist/chunk-JKNHNNNY.js.map +0 -1
- package/dist/chunk-UAPQ7VTS.js.map +0 -1
- package/dist/chunk-XN7OBLQR.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -11,34 +11,35 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
11
11
|
import { VariantProps } from 'class-variance-authority';
|
|
12
12
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
13
13
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
14
|
-
import {
|
|
15
|
-
export {
|
|
14
|
+
import { c as AvatarSlot, d as FileUploadSlot, I as InputSlot, N as NumberInputSlot, P as PhoneFieldSlot, e as SearchInputSlot, f as ThemeDensity, g as TextareaSlot, h as BadgeSize, i as BadgeShape, j as DataTableSlot, k as TableProps } from './data-table-view-BWhKeUiw.js';
|
|
15
|
+
export { l as AlertDialogSlot, m as Badge, n as BadgeAppearance, o as BadgeAppearanceInput, p as BadgeLegacyVariant, B as BadgeProps, q as BadgeSlot, r as BadgeVariant, s as BadgeVariantsProps, t as ButtonSlot, C as CardSlot, u as CheckboxSlot, v as ChipSlot, w as CodeSlot, x as ComboboxSlot, y as CommandSlot, z as ContextMenuSlot, E as DataTable, G as DataTableBody, H as DataTableBodyProps, J as DataTableCell, K as DataTableCellDue, L as DataTableCellDueProps, O as DataTableCellId, Q as DataTableCellMono, R as DataTableCellName, U as DataTableCellProps, V as DataTableCheckbox, W as DataTableCheckboxProps, X as DataTableHead, Y as DataTableHeadProps, Z as DataTableHeader, _ as DataTableHeaderProps, $ as DataTableProps, a0 as DataTableResultsCount, a1 as DataTableResultsCountProps, a2 as DataTableRow, a3 as DataTableRowProps, a4 as DataTableSearch, a5 as DataTableSearchProps, a6 as DataTableSpacer, a7 as DataTableSpacerProps, a8 as DataTableToolbar, a9 as DataTableToolbarProps, aa as DataTableView, ab as DataTableViewColumn, ac as DataTableViewFilter, ad as DataTableViewProps, ae as DataTableViewSelection, af as DataTableViewSort, ag as DialogSlot, ah as DropdownMenuSlot, ai as EmptyValue, aj as FieldSlot, ak as FieldsetSlot, al as FileChip, am as FileChipProps, F as FileKind, an as HeadingSlot, ao as IconButtonSlot, ap as InlineSlot, aq as KbdSlot, ar as LabelSlot, as as LinkButtonSlot, at as PaginationSlot, au as PopoverSlot, av as PressableSlot, aw as RadioGroupSlot, ax as SERVICE_TONES, ay as Select, az as SelectClassNames, aA as SelectContent, aB as SelectContentProps, aC as SelectGroup, aD as SelectItem, aE as SelectLabel, aF as SelectOption, aG as SelectProps, aH as SelectRoot, aI as SelectScrollDownButton, aJ as SelectScrollUpButton, aK as SelectSeparator, S as SelectSize, aL as SelectSlot, aM as SelectTrigger, aN as SelectTriggerProps, aO as SelectValue, a as ServiceTone, aP as SheetSlot, aQ as ShellSlot, aR as SideDrawerSlot, aS as SidebarBrandSwitcherSlot, aT as SidebarSlot, aU as SortDirection, aV as StackSlot, aW as StatusBadgeSlot, aX as SurfaceSlot, aY as SwitchSlot, aZ as Table, a_ as TableBody, a$ as TableBodyProps, b0 as TableCaption, b1 as TableCaptionProps, b2 as TableCell, b3 as TableCellAlign, b4 as TableCellCommonProps, b5 as TableCellProps, b6 as TableFooter, b7 as TableFooterProps, b8 as TableHead, b9 as TableHeadProps, ba as TableHeader, bb as TableHeaderProps, bc as TableHeaderStyle, bd as TableRow, be as TableRowData, bf as TableRowProps, bg as TableSlot, bh as TableSortDirection, bi as TableStickyEdge, bj as TableTone, bk as TextSlot, bl as ThemeBrand, bm as ThemeDirection, bn as ThemeScheme, bo as ThemeScope, bp as ThemeScopeProps, bq as ThemeScopeValue, br as ToastSlot, bs as TooltipSlot, bt as badgeVariants, bu as resolveBadgeAppearance, bv as serviceToneLabel, bw as serviceToneStyle } from './data-table-view-BWhKeUiw.js';
|
|
16
16
|
import { DayPickerProps } from 'react-day-picker';
|
|
17
17
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
18
|
+
import { C as ComboboxSize, O as Option, c as ComboboxMultipleProps, d as ComboboxProps } from './brand-scope-BOKu4iOc.js';
|
|
19
|
+
export { e as BrandScope, f as BrandScopeProps, g as BrandScopeProvider, h as Combobox, i as ComboboxBaseProps, j as ComboboxClassNames, k as ComboboxOptionState, l as ComboboxSelectionControls, m as ComboboxSingleProps, D as DEFAULT_COMBOBOX_MESSAGES, n as OptionAccessors, o as brandScope, u as useBrandScope } from './brand-scope-BOKu4iOc.js';
|
|
18
20
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
19
|
-
import {
|
|
20
|
-
export { D as DsMessageNamespace, a as DsMessages, b as DsMessagesOverride, T as TableMessages } from './types-
|
|
21
|
+
import { d as CommandPaletteMessages, e as ConfirmMessages, f as CopyButtonMessages, E as ErrorStateMessages, F as FileUploadMessages, K as KeyboardShortcutsMessages, P as PaginationMessages, g as PhoneFieldMessages, h as SearchInputMessages, i as TableDensityMessages, j as ToastMessages, k as FieldMessages, l as TableStatesMessages, m as DataTableMessages } from './types-DlqmlVyZ.js';
|
|
22
|
+
export { C as ComboboxMessages, D as DsMessageNamespace, a as DsMessages, b as DsMessagesOverride, S as SelectMessages, T as TableMessages } from './types-DlqmlVyZ.js';
|
|
21
23
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
22
24
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
23
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
24
26
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
25
|
-
export { AlertCircleIcon, AlertTriangleIcon, AlertTriangleSolidIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightSmallIcon, ArrowUpIcon, ArrowUpRightIcon, AtSignIcon, BanIcon, BarChartIcon, BellIcon, BoldIcon, BrainIcon, BriefcaseIcon, Building2Icon, BuildingIcon, CalculatorIcon, CalendarIcon, CameraIcon, ChatBubbleIcon, CheckCheckIcon, CheckCircle2Icon, CheckCircleSolidIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleDotIcon, CircleIcon, ClipboardCheckIcon, ClockIcon, CloseIcon, CommandIcon, CopyIcon, CornerDownLeftIcon, CreditCardIcon, DocumentIcon, DollarSignIcon, DownloadIcon, ExternalLinkIcon, ExtractIcon, EyeIcon, EyeOffIcon, FileChartColumnIcon, FileIcon, FileReturnIcon, FileTextIcon, FilterIcon, FlagIcon, FolderClosedIcon, FolderDownIcon, FolderOpenIcon, FolderPlusIcon, FolderUpIcon, GlobeIcon, GoogleBrandIcon, GraduationCapIcon, GripHorizontalIcon, GripVerticalIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconComponent, IconDefinition, IconProps, IconSize, InboxIcon, InfoCircleSolidIcon, InfoIcon, ItalicIcon, KanbanIcon, KeyIcon, LandmarkIcon, LayersIcon, LayoutDashboardIcon, LayoutGridIcon, LayoutListIcon, LightningIcon, Link2Icon, LinkIcon, ListChecksIcon, ListIcon, ListOrderedIcon, LoaderIcon, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, MailIcon, MapPinIcon, MaximizeIcon, MenuIcon, MessageCircleIcon, MessageCircleMoreIcon, MessageCircleWarningIcon, MicIcon, MicrosoftBrandIcon, MinimizeIcon, MinusIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointer2Icon, MoveIcon, PaletteIcon, PanelLeftCloseIcon, PanelLeftIcon, PanelRightCloseIcon, PanelRightIcon, PaperclipIcon, PauseIcon, PenSignIcon, PenToolIcon, PencilIcon, PhoneIcon, PlayIcon, PlusIcon, ReceiptIcon, RefreshCwIcon, ReplyIcon, RotateCcwIcon, SaveIcon, SearchIcon, SendIcon, SettingsIcon, ShieldIcon, SigmaIcon, SlashIcon, SmartphoneIcon, SparkleIcon, SparklesIcon, SquarePlayIcon, StarIcon, StopIcon, StrikethroughIcon, SunIcon, TableIcon, TagIcon, TeamIcon, ThumbsDownIcon, ThumbsUpIcon, TimerIcon, Trash2Icon, TrashIcon, TrashSolidIcon, TrendingDownIcon, TrendingUpIcon, TypeIcon, UnderlineIcon, UploadIcon, UserCircleIcon, UserIcon, UsersIcon, VideoIcon, Volume2Icon, VolumeXIcon, WorkflowIcon, XCircleSolidIcon, XIcon, ZoomInIcon, ZoomOutIcon, createIcon } from './icons/index.js';
|
|
27
|
+
export { AlertCircleIcon, AlertTriangleIcon, AlertTriangleSolidIcon, ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightSmallIcon, ArrowUpIcon, ArrowUpRightIcon, AtSignIcon, BanIcon, BarChartIcon, BellIcon, BoldIcon, BrainIcon, BriefcaseIcon, Building2Icon, BuildingIcon, CalculatorIcon, CalendarIcon, CameraIcon, ChatBubbleIcon, CheckCheckIcon, CheckCircle2Icon, CheckCircleSolidIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleDotIcon, CircleIcon, ClipboardCheckIcon, ClockIcon, CloseIcon, CommandIcon, CopyIcon, CornerDownLeftIcon, CreditCardIcon, DocumentIcon, DollarSignIcon, DownloadIcon, ExternalLinkIcon, ExtractIcon, EyeIcon, EyeOffIcon, FileChartColumnIcon, FileIcon, FileReturnIcon, FileTextIcon, FilterIcon, FlagIcon, FolderClosedIcon, FolderDownIcon, FolderOpenIcon, FolderPlusIcon, FolderUpIcon, GlobeIcon, GoogleBrandIcon, GraduationCapIcon, GripHorizontalIcon, GripVerticalIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconComponent, IconDefinition, IconProps, IconSize, InboxIcon, InfoCircleSolidIcon, InfoIcon, ItalicIcon, KanbanIcon, KeyIcon, LandmarkIcon, LayersIcon, LayoutDashboardIcon, LayoutGridIcon, LayoutListIcon, LightningIcon, Link2Icon, LinkIcon, ListChecksIcon, ListIcon, ListOrderedIcon, LoaderIcon, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, MailIcon, MapPinIcon, MaximizeIcon, MenuIcon, MessageCircleIcon, MessageCircleMoreIcon, MessageCircleWarningIcon, MicIcon, MicrosoftBrandIcon, MinimizeIcon, MinusIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointer2Icon, MoveIcon, PaletteIcon, PanelLeftCloseIcon, PanelLeftIcon, PanelRightCloseIcon, PanelRightIcon, PaperclipIcon, PauseIcon, PenSignIcon, PenToolIcon, PencilIcon, PhoneIcon, PlayIcon, PlusIcon, ReceiptIcon, RefreshCwIcon, ReplyIcon, RotateCcwIcon, Rows4Icon, RowsIcon, SaveIcon, SearchIcon, SendIcon, SettingsIcon, ShieldIcon, SigmaIcon, SlashIcon, SmartphoneIcon, SparkleIcon, SparklesIcon, SquarePlayIcon, StarIcon, StopIcon, StrikethroughIcon, SunIcon, TableIcon, TagIcon, TeamIcon, ThumbsDownIcon, ThumbsUpIcon, TimerIcon, Trash2Icon, TrashIcon, TrashSolidIcon, TrendingDownIcon, TrendingUpIcon, TypeIcon, UnderlineIcon, UploadIcon, UserCircleIcon, UserIcon, UsersIcon, VideoIcon, Volume2Icon, VolumeXIcon, WorkflowIcon, XCircleSolidIcon, XIcon, ZoomInIcon, ZoomOutIcon, createIcon } from './icons/index.js';
|
|
26
28
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
27
29
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
28
30
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
29
31
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
30
32
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
31
|
-
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
32
33
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
33
34
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
34
35
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
35
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
36
36
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
37
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
37
38
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
38
39
|
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
39
|
-
export { a as DesignSystemProvider, D as DesignSystemProviderProps, b as DsDirection, I as ImageComponent, c as ImageComponentProps, L as LinkComponent, d as LinkComponentProps, T as TooltipDefaults, u as useDsMessages } from './design-system-provider-
|
|
40
|
+
export { a as DesignSystemProvider, D as DesignSystemProviderProps, b as DsDirection, I as ImageComponent, c as ImageComponentProps, L as LinkComponent, d as LinkComponentProps, T as TooltipDefaults, u as useDsMessages } from './design-system-provider-Coe2S3Lh.js';
|
|
40
41
|
import { ClassValue } from 'clsx';
|
|
41
|
-
|
|
42
|
+
import '@radix-ui/react-select';
|
|
42
43
|
import './brand-theme-ZYM867Jz.js';
|
|
43
44
|
|
|
44
45
|
type AccordionProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;
|
|
@@ -153,14 +154,16 @@ declare function resolveButtonStyle({ variant, intent, }: {
|
|
|
153
154
|
* The size names the recipe knows (W3-05, ADR-013): the shared control scale
|
|
154
155
|
* `xs · sm · md · lg · xl` (`ControlSize`) and the square icon-only steps `icon-xs` / `icon-sm` / `icon` (C-BTN-SIZE-ICON).
|
|
155
156
|
*
|
|
156
|
-
* `
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
* `
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
157
|
+
* D5 (W2-05, W3-05): `md` and `lg` now read the shared scale like every
|
|
158
|
+
* other row — `--control-height-md` (36px, was 40) and `--control-height-lg`
|
|
159
|
+
* (40px, was 48), with padding/label size/glyph from the matching
|
|
160
|
+
* `--control-*-{md,lg}` tokens instead of Tailwind's `px-4 text-sm` /
|
|
161
|
+
* `px-6 text-base`. A Button next to an Input/Select at the same `size` is
|
|
162
|
+
* now the same outer height. The old pixels stay defined as
|
|
163
|
+
* `--button-height-md` / `--button-height-lg` (unused by this recipe now,
|
|
164
|
+
* kept per the additive-tokens rule) in case anything else still reads them.
|
|
165
|
+
* `sm` (32px) already agreed with the scale's `sm` step, so it already read
|
|
166
|
+
* the shared row like `xs`/`xl`.
|
|
164
167
|
*/
|
|
165
168
|
type ButtonSize = ControlSize | ButtonIconSize;
|
|
166
169
|
/**
|
|
@@ -434,8 +437,8 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, But
|
|
|
434
437
|
intent?: ButtonIntent | ButtonIntentAlias;
|
|
435
438
|
/**
|
|
436
439
|
* The shared control scale `xs · sm · md · lg · xl` (ADR-013). Default `md`
|
|
437
|
-
* (
|
|
438
|
-
* `icon
|
|
440
|
+
* (36px, D5 — was 40px). The icon-only squares `icon-xs` · `icon-sm` ·
|
|
441
|
+
* `icon` are deprecated in favour of `IconButton`
|
|
439
442
|
* ({@link ButtonIconSize}).
|
|
440
443
|
*/
|
|
441
444
|
size?: ButtonSize;
|
|
@@ -1057,6 +1060,14 @@ interface DatePickerProps {
|
|
|
1057
1060
|
captionLayout?: CalendarCaptionLayout | undefined;
|
|
1058
1061
|
/** Extra classes for the visible text input (merged last). */
|
|
1059
1062
|
inputClassName?: string | undefined;
|
|
1063
|
+
/**
|
|
1064
|
+
* Height, padding, text and the calendar-glyph size from the shared
|
|
1065
|
+
* control scale (A1, ADR-013). Omitted, the input keeps its legacy 36px
|
|
1066
|
+
* row byte for byte; `md` is the same pixels from the tokens.
|
|
1067
|
+
*
|
|
1068
|
+
* @experimental
|
|
1069
|
+
*/
|
|
1070
|
+
size?: ControlSize | undefined;
|
|
1060
1071
|
}
|
|
1061
1072
|
|
|
1062
1073
|
declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -1107,6 +1118,14 @@ interface DateRangePickerProps {
|
|
|
1107
1118
|
"aria-label"?: string | undefined;
|
|
1108
1119
|
/** Month caption style. Default `"dropdown"` (Month + Year selects). */
|
|
1109
1120
|
captionLayout?: CalendarCaptionLayout | undefined;
|
|
1121
|
+
/**
|
|
1122
|
+
* Height, padding, text and the calendar-glyph size from the shared
|
|
1123
|
+
* control scale (A1, ADR-013). Omitted, the trigger keeps its legacy 36px
|
|
1124
|
+
* row byte for byte; `md` is the same pixels from the tokens.
|
|
1125
|
+
*
|
|
1126
|
+
* @experimental
|
|
1127
|
+
*/
|
|
1128
|
+
size?: ControlSize | undefined;
|
|
1110
1129
|
}
|
|
1111
1130
|
declare const DateRangePicker: React$1.ForwardRefExoticComponent<DateRangePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1112
1131
|
|
|
@@ -1813,12 +1832,13 @@ type InputSizeAlias = "compact" | "default" | "comfortable";
|
|
|
1813
1832
|
* `xs · sm · md · lg · xl` (`ControlSize`) and the 1.31 aliases.
|
|
1814
1833
|
*
|
|
1815
1834
|
* `sm` and `md` are today's pixels *and* the scale's steps (32 / 36px), so
|
|
1816
|
-
* they read `--control-height-{sm,md}` and follow the density scope. `lg`
|
|
1817
|
-
* the A1 mismatch recorded in `baselines/size-geometry.json` (44px where
|
|
1818
|
-
* scale says 40)
|
|
1819
|
-
* `--
|
|
1820
|
-
*
|
|
1821
|
-
*
|
|
1835
|
+
* they read `--control-height-{sm,md}` and follow the density scope. `lg`
|
|
1836
|
+
* was the A1 mismatch recorded in `baselines/size-geometry.json` (44px where
|
|
1837
|
+
* the scale says 40) — resolved by decision D5 (W2-05): `lg` now reads
|
|
1838
|
+
* `--control-height-lg` (40px) like every other row, on both the `size` path
|
|
1839
|
+
* and the deprecated `inputSize` alias (same pixels, as the deprecation
|
|
1840
|
+
* message always promised). `xs` and `xl` read the shared rows in full.
|
|
1841
|
+
* Padding and text stay on Tailwind's steps.
|
|
1822
1842
|
*
|
|
1823
1843
|
* @experimental
|
|
1824
1844
|
*/
|
|
@@ -2468,10 +2488,18 @@ declare function CountryFlag({ iso }: {
|
|
|
2468
2488
|
* @deprecated Use `PhoneField` (its country picker is a `Combobox`). Removed
|
|
2469
2489
|
* in 3.0.
|
|
2470
2490
|
*/
|
|
2471
|
-
declare function CountrySelect({ value, onChange, disabled, }: {
|
|
2491
|
+
declare function CountrySelect({ value, onChange, disabled, size, }: {
|
|
2472
2492
|
value: string;
|
|
2473
2493
|
onChange: (iso: string) => void;
|
|
2474
2494
|
disabled?: boolean | undefined;
|
|
2495
|
+
/**
|
|
2496
|
+
* Height, width, padding, text and the chevron size from the shared
|
|
2497
|
+
* control scale (A1, ADR-013). Omitted, the trigger keeps its legacy 36px
|
|
2498
|
+
* row byte for byte; `md` is the same pixels from the tokens.
|
|
2499
|
+
*
|
|
2500
|
+
* @experimental
|
|
2501
|
+
*/
|
|
2502
|
+
size?: ControlSize | undefined;
|
|
2475
2503
|
}): react_jsx_runtime.JSX.Element;
|
|
2476
2504
|
/**
|
|
2477
2505
|
* @deprecated Use `PhoneField`: one E.164 `value` / `onValueChange`, Field
|
|
@@ -2568,7 +2596,7 @@ declare const Pressable: React$1.ForwardRefExoticComponent<PressableProps & Reac
|
|
|
2568
2596
|
* Bar COUNT carries the level (1/2/3 rising bars); color reinforces it on an
|
|
2569
2597
|
* escalating cool→warm ramp via `--color-priority-*` tokens (blue → violet →
|
|
2570
2598
|
* amber → red), so the glyph reads the same in light and dark. `none` is three
|
|
2571
|
-
* muted dashes; `urgent` is a filled danger-red square with
|
|
2599
|
+
* muted dashes; `urgent` is a filled danger-red square with an on-danger exclamation (white on the light theme, near-black on the dark theme's lighter red).
|
|
2572
2600
|
* Inactive bars drop to 25% opacity of the same hue.
|
|
2573
2601
|
*/
|
|
2574
2602
|
type Priority = "none" | "low" | "medium" | "high" | "urgent";
|
|
@@ -2851,9 +2879,10 @@ type SearchInputVariants = Omit<SearchInputVariantsOptions, "class" | "className
|
|
|
2851
2879
|
*
|
|
2852
2880
|
* Against the cva it replaces (W4-03 mapping, PR #199) the set of classes
|
|
2853
2881
|
* gains the chrome's `aria-[invalid=true]` rows — inert until a caller sets
|
|
2854
|
-
* `aria-invalid`
|
|
2855
|
-
* `
|
|
2856
|
-
*
|
|
2882
|
+
* `aria-invalid`. `size` and the deprecated `inputSize` now read the same
|
|
2883
|
+
* table (`SEARCH_INPUT_SIZE_ROWS`, D5, W2-05): the two parallel size
|
|
2884
|
+
* tables this recipe used to carry (one token-driven, one raw Tailwind steps
|
|
2885
|
+
* for `inputSize`) are one. Server-safe.
|
|
2857
2886
|
*
|
|
2858
2887
|
* @experimental
|
|
2859
2888
|
*/
|
|
@@ -2992,6 +3021,14 @@ interface SearchSelectProps {
|
|
|
2992
3021
|
"aria-describedby"?: string;
|
|
2993
3022
|
/** The input's id, so a `<label htmlFor>` can point at it (W4-12). */
|
|
2994
3023
|
id?: string;
|
|
3024
|
+
/**
|
|
3025
|
+
* Height, padding, font and glyph size from the shared control scale (A1,
|
|
3026
|
+
* ADR-013), forwarded to the underlying `Combobox`. Default `md` — today's
|
|
3027
|
+
* frozen 36px row, byte for byte.
|
|
3028
|
+
*
|
|
3029
|
+
* @experimental
|
|
3030
|
+
*/
|
|
3031
|
+
size?: ComboboxSize | undefined;
|
|
2995
3032
|
}
|
|
2996
3033
|
/**
|
|
2997
3034
|
* @deprecated Use `Combobox` (single: `value` / `onValueChange` with `null` for
|
|
@@ -3000,7 +3037,7 @@ interface SearchSelectProps {
|
|
|
3000
3037
|
* 3.0 (compatibility registry C-SEARCHSELECT); codemod CM-08 rewrites call
|
|
3001
3038
|
* sites and flags the ones a human must look at.
|
|
3002
3039
|
*/
|
|
3003
|
-
declare function SearchSelect({ options, selected: selectedProp, onSelect: onSelectProp, onRemove: onRemoveProp, value, onValueChange, onCreate, placeholder: placeholderProp, className, disabled, groupFilter, pinnedGroups, closeOnSelect: closeOnSelectProp, showGroupCounts, onCreateNew, createNewLabel: createNewLabelProp, descriptionVariant, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, id, }: SearchSelectProps): react_jsx_runtime.JSX.Element;
|
|
3040
|
+
declare function SearchSelect({ options, selected: selectedProp, onSelect: onSelectProp, onRemove: onRemoveProp, value, onValueChange, onCreate, placeholder: placeholderProp, className, disabled, groupFilter, pinnedGroups, closeOnSelect: closeOnSelectProp, showGroupCounts, onCreateNew, createNewLabel: createNewLabelProp, descriptionVariant, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, id, size, }: SearchSelectProps): react_jsx_runtime.JSX.Element;
|
|
3004
3041
|
declare namespace SearchSelect {
|
|
3005
3042
|
var displayName: string;
|
|
3006
3043
|
}
|
|
@@ -3040,189 +3077,6 @@ interface SegmentedProgressProps extends Omit<React.HTMLAttributes<HTMLDivElemen
|
|
|
3040
3077
|
}
|
|
3041
3078
|
declare const SegmentedProgress: React$1.ForwardRefExoticComponent<SegmentedProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3042
3079
|
|
|
3043
|
-
declare const SelectRoot: React$1.FC<SelectPrimitive.SelectProps>;
|
|
3044
|
-
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3045
|
-
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
3046
|
-
/**
|
|
3047
|
-
* The Select sizes: the shared control scale, nothing else (A1, ADR-013).
|
|
3048
|
-
*
|
|
3049
|
-
* @experimental
|
|
3050
|
-
*/
|
|
3051
|
-
type SelectSize = ControlSize;
|
|
3052
|
-
/**
|
|
3053
|
-
* The parts a `classNames` entry can reach on the options-driven `Select`,
|
|
3054
|
-
* keyed by the anatomy (ADR-008 decision 4). `value` is a span of ours
|
|
3055
|
-
* around Radix's value (Radix's own span drops `className`), rendered only
|
|
3056
|
-
* when `classNames.value` or `clearable` asks for it, so a legacy call keeps
|
|
3057
|
-
* the `SelectTrigger > span` structure C-DOM-10 freezes.
|
|
3058
|
-
*
|
|
3059
|
-
* @experimental
|
|
3060
|
-
*/
|
|
3061
|
-
type SelectClassNames = Partial<Record<SelectSlot, string>>;
|
|
3062
|
-
|
|
3063
|
-
/**
|
|
3064
|
-
* Props of `SelectTrigger`: Radix's trigger props plus the control-scale
|
|
3065
|
-
* `size` and a class for the chevron.
|
|
3066
|
-
*
|
|
3067
|
-
* @experimental `size` and `classNames`
|
|
3068
|
-
*/
|
|
3069
|
-
interface SelectTriggerProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> {
|
|
3070
|
-
/**
|
|
3071
|
-
* Height, horizontal padding, label size, gap and glyph size from the shared
|
|
3072
|
-
* control scale (A1). Omitted, the trigger keeps its legacy geometry (36px,
|
|
3073
|
-
* the same pixels as `md`).
|
|
3074
|
-
*/
|
|
3075
|
-
size?: SelectSize | null | undefined;
|
|
3076
|
-
/**
|
|
3077
|
-
* Classes for the trigger's parts: the chevron `icon`, and `value` — a span
|
|
3078
|
-
* of ours around `children`, rendered only when `value` is passed (so the
|
|
3079
|
-
* default keeps the `SelectTrigger > span` structure C-DOM-10 freezes).
|
|
3080
|
-
* Replaces `[&>span]` overrides on the trigger.
|
|
3081
|
-
*/
|
|
3082
|
-
classNames?: Pick<SelectClassNames, "icon" | "value"> | undefined;
|
|
3083
|
-
}
|
|
3084
|
-
declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3085
|
-
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3086
|
-
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3087
|
-
/**
|
|
3088
|
-
* Props of `SelectContent`: Radix's content props plus a class for the
|
|
3089
|
-
* viewport (C-DOM-19's `[data-radix-select-viewport]` selector replacement).
|
|
3090
|
-
*
|
|
3091
|
-
* @experimental `classNames`
|
|
3092
|
-
*/
|
|
3093
|
-
interface SelectContentProps extends React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Content> {
|
|
3094
|
-
/** Classes for the parts the content renders itself: the scrolling `viewport`. */
|
|
3095
|
-
classNames?: Pick<SelectClassNames, "viewport"> | undefined;
|
|
3096
|
-
}
|
|
3097
|
-
declare const SelectContent: React$1.ForwardRefExoticComponent<SelectContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3098
|
-
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3099
|
-
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3100
|
-
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3101
|
-
/**
|
|
3102
|
-
* SelectOption shape — preserved verbatim from the legacy Select:
|
|
3103
|
-
* { value, label, disabled?, labelSuffix? }
|
|
3104
|
-
*/
|
|
3105
|
-
interface SelectOption {
|
|
3106
|
-
value: string;
|
|
3107
|
-
label: string;
|
|
3108
|
-
disabled?: boolean | undefined;
|
|
3109
|
-
labelSuffix?: React$1.ReactNode;
|
|
3110
|
-
}
|
|
3111
|
-
interface SelectProps {
|
|
3112
|
-
/** Option list. Required to preserve legacy API. */
|
|
3113
|
-
options: SelectOption[];
|
|
3114
|
-
/**
|
|
3115
|
-
* Controlled value. `null` is "nothing selected" (target architecture §32);
|
|
3116
|
-
* `""` means the same and stays accepted through 2.x (C-SELECT-EMPTY).
|
|
3117
|
-
*/
|
|
3118
|
-
value?: string | null | undefined;
|
|
3119
|
-
/** Uncontrolled initial value; restored on form reset. `null` = nothing selected. */
|
|
3120
|
-
defaultValue?: string | null | undefined;
|
|
3121
|
-
/**
|
|
3122
|
-
* Called with the picked option's value, and with `""` when the selection
|
|
3123
|
-
* is cleared (`clearable`) — the signature every existing handler already
|
|
3124
|
-
* has. Reporting `null` is a 3.0 change (C-SELECT-EMPTY).
|
|
3125
|
-
*/
|
|
3126
|
-
onValueChange?: ((value: string) => void) | undefined;
|
|
3127
|
-
placeholder?: string | undefined;
|
|
3128
|
-
disabled?: boolean | undefined;
|
|
3129
|
-
/**
|
|
3130
|
-
* Submit the value under this name through the form the trigger sits in
|
|
3131
|
-
* (or `form`). Inside a `<Field name>` the field's name applies.
|
|
3132
|
-
*/
|
|
3133
|
-
name?: string | undefined;
|
|
3134
|
-
/**
|
|
3135
|
-
* Block native submission while nothing is selected; the trigger carries
|
|
3136
|
-
* `aria-required`. Inside a `<Field required>` the field's flag applies.
|
|
3137
|
-
*/
|
|
3138
|
-
required?: boolean | undefined;
|
|
3139
|
-
/**
|
|
3140
|
-
* The `id` of the form to submit with when the trigger is rendered outside
|
|
3141
|
-
* it — inside a portalled Dialog or Sheet (ADR-006).
|
|
3142
|
-
*
|
|
3143
|
-
* @experimental
|
|
3144
|
-
*/
|
|
3145
|
-
form?: string | undefined;
|
|
3146
|
-
/**
|
|
3147
|
-
* The trigger's `id`; inside a `<Field>` the field's control id applies.
|
|
3148
|
-
*
|
|
3149
|
-
* @experimental
|
|
3150
|
-
*/
|
|
3151
|
-
id?: string | undefined;
|
|
3152
|
-
/**
|
|
3153
|
-
* The control scale (A1, ADR-013): `xs` 28 · `sm` 32 · `md` 36 · `lg` 40 ·
|
|
3154
|
-
* `xl` 48. Omitted, the trigger keeps its legacy 36px row; a `<Field size>`
|
|
3155
|
-
* supplies it.
|
|
3156
|
-
*
|
|
3157
|
-
* @experimental
|
|
3158
|
-
*/
|
|
3159
|
-
size?: SelectSize | undefined;
|
|
3160
|
-
/**
|
|
3161
|
-
* Show a clear button beside the chevron while a value is selected. Clearing
|
|
3162
|
-
* reports `""` through `onValueChange` and focuses the trigger. Renders the
|
|
3163
|
-
* `root` part (`data-slot="select"`) around the trigger — `className` lands
|
|
3164
|
-
* on that wrapper then, `classNames.trigger` on the trigger.
|
|
3165
|
-
*
|
|
3166
|
-
* @experimental
|
|
3167
|
-
*/
|
|
3168
|
-
clearable?: boolean | undefined;
|
|
3169
|
-
/**
|
|
3170
|
-
* The outermost element's class: the trigger, or the `root` wrapper when
|
|
3171
|
-
* `clearable`.
|
|
3172
|
-
*/
|
|
3173
|
-
className?: string | undefined;
|
|
3174
|
-
/**
|
|
3175
|
-
* One class per part (ADR-008 decision 4): `trigger`, `value`, `icon`
|
|
3176
|
-
* (chevron), `content`, `viewport`, `item`, `clear`, `root`. Each part's
|
|
3177
|
-
* class comes after the design system's own and before `className`.
|
|
3178
|
-
* `value` wraps Radix's value span in one of ours (see `SelectClassNames`).
|
|
3179
|
-
*
|
|
3180
|
-
* @experimental
|
|
3181
|
-
*/
|
|
3182
|
-
classNames?: SelectClassNames | undefined;
|
|
3183
|
-
/** Overrides of the copy the select renders (English defaults until W5-20). */
|
|
3184
|
-
messages?: Partial<SelectMessages> | undefined;
|
|
3185
|
-
/**
|
|
3186
|
-
* @deprecated Use `classNames.trigger` (C-CLASSNAME-PROPS, codemod CM-11).
|
|
3187
|
-
* Removed in 3.0.
|
|
3188
|
-
*/
|
|
3189
|
-
triggerClassName?: string | undefined;
|
|
3190
|
-
/**
|
|
3191
|
-
* @deprecated Use `classNames.content` (C-CLASSNAME-PROPS, codemod CM-11).
|
|
3192
|
-
* Removed in 3.0.
|
|
3193
|
-
*/
|
|
3194
|
-
contentClassName?: string | undefined;
|
|
3195
|
-
/** aria-invalid + danger styling on trigger. Inside a `<Field invalid>` the field's flag applies. */
|
|
3196
|
-
"aria-invalid"?: boolean | undefined;
|
|
3197
|
-
/**
|
|
3198
|
-
* aria-label fallback when there is no visible label. Inside a `<Field>`
|
|
3199
|
-
* with a `Label` the trigger is named by the label instead.
|
|
3200
|
-
*/
|
|
3201
|
-
"aria-label"?: string | undefined;
|
|
3202
|
-
/** Explicit `aria-labelledby`; wins over the surrounding `Field`. */
|
|
3203
|
-
"aria-labelledby"?: string | undefined;
|
|
3204
|
-
/** Explicit `aria-describedby`; appended after the field's description and error. */
|
|
3205
|
-
"aria-describedby"?: string | undefined;
|
|
3206
|
-
}
|
|
3207
|
-
/**
|
|
3208
|
-
* Convenience `Select` — preserved options-driven API.
|
|
3209
|
-
*
|
|
3210
|
-
* For full composition, import the lower-level slots:
|
|
3211
|
-
* <SelectRoot>
|
|
3212
|
-
* <SelectTrigger><SelectValue /></SelectTrigger>
|
|
3213
|
-
* <SelectContent>
|
|
3214
|
-
* <SelectGroup>
|
|
3215
|
-
* <SelectLabel>Label</SelectLabel>
|
|
3216
|
-
* <SelectItem value="…">…</SelectItem>
|
|
3217
|
-
* </SelectGroup>
|
|
3218
|
-
* </SelectContent>
|
|
3219
|
-
* </SelectRoot>
|
|
3220
|
-
*/
|
|
3221
|
-
declare function Select({ options, value: valueProp, defaultValue: defaultValueProp, onValueChange, placeholder: placeholderProp, disabled: disabledProp, name: nameProp, required: requiredProp, form, id: idProp, size: sizeProp, clearable, className, classNames, messages, triggerClassName, contentClassName, "aria-invalid": ariaInvalid, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
3222
|
-
declare namespace Select {
|
|
3223
|
-
var displayName: string;
|
|
3224
|
-
}
|
|
3225
|
-
|
|
3226
3080
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3227
3081
|
|
|
3228
3082
|
/**
|
|
@@ -3867,10 +3721,77 @@ interface SwitchProps extends Omit<React$1.ComponentPropsWithoutRef<typeof Switc
|
|
|
3867
3721
|
}
|
|
3868
3722
|
declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3869
3723
|
|
|
3724
|
+
declare const itemVariants: (props?: ({
|
|
3725
|
+
variant?: "outline" | "default" | "segmented" | null | undefined;
|
|
3726
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3727
|
+
/** The toggle-group sizes: the shared control scale (A1). */
|
|
3728
|
+
type ToggleGroupSize = ControlSize;
|
|
3729
|
+
/**
|
|
3730
|
+
* The item's look: bare (`default`), with a border (`outline`), or the
|
|
3731
|
+
* selected item as a raised thumb over a quiet track (`segmented`) — pair
|
|
3732
|
+
* `variant="segmented"` on the group (the track) with the same on each item
|
|
3733
|
+
* (the thumb), same shape as `TabsList`/`TabsTrigger`.
|
|
3734
|
+
*/
|
|
3735
|
+
type ToggleGroupVariant = NonNullable<VariantProps<typeof itemVariants>["variant"]>;
|
|
3736
|
+
type RadixRootProps = React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root>;
|
|
3737
|
+
/** The props every group shares, whatever its `type`. */
|
|
3738
|
+
interface ToggleGroupFormProps extends VariantProps<typeof itemVariants> {
|
|
3739
|
+
/** Outer height from the shared control scale (A1). Omitted: today's geometry. */
|
|
3740
|
+
size?: ToggleGroupSize | undefined;
|
|
3741
|
+
/** The form field name. Without it the group does not take part in a form. */
|
|
3742
|
+
name?: string | undefined;
|
|
3743
|
+
/** `id` of the form to submit with when the group is rendered outside it. */
|
|
3744
|
+
form?: string | undefined;
|
|
3745
|
+
/** Block native submission while nothing is pressed. */
|
|
3746
|
+
required?: boolean | undefined;
|
|
3747
|
+
/**
|
|
3748
|
+
* The group is in error: `aria-invalid` and `data-invalid`. Implied by the
|
|
3749
|
+
* surrounding `Field`'s `invalid` or a mounted `FieldError`.
|
|
3750
|
+
*/
|
|
3751
|
+
invalid?: boolean | undefined;
|
|
3752
|
+
/**
|
|
3753
|
+
* Single groups only: submit `name=""` while nothing is pressed (`true`,
|
|
3754
|
+
* the default and what a Select does) or omit the entry (`false`).
|
|
3755
|
+
*/
|
|
3756
|
+
submitEmpty?: boolean | undefined;
|
|
3757
|
+
}
|
|
3758
|
+
type ToggleGroupProps = RadixRootProps & ToggleGroupFormProps;
|
|
3759
|
+
declare const ToggleGroup: React$1.ForwardRefExoticComponent<ToggleGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3760
|
+
interface ToggleGroupItemProps extends React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>, VariantProps<typeof itemVariants> {
|
|
3761
|
+
}
|
|
3762
|
+
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3763
|
+
|
|
3764
|
+
interface TableDensityToggleProps {
|
|
3765
|
+
value: ThemeDensity;
|
|
3766
|
+
onValueChange: (next: ThemeDensity) => void;
|
|
3767
|
+
/** Height on the shared control scale (A1). Default `"sm"`. */
|
|
3768
|
+
size?: ToggleGroupSize | undefined;
|
|
3769
|
+
/** Copy for this toggle; prop > provider > English default (W5-20). */
|
|
3770
|
+
messages?: Partial<TableDensityMessages> | undefined;
|
|
3771
|
+
/** The group's accessible name. Default: `messages.label` ("Row density"). */
|
|
3772
|
+
"aria-label"?: string | undefined;
|
|
3773
|
+
/** An external label naming the group instead of `aria-label`. */
|
|
3774
|
+
"aria-labelledby"?: string | undefined;
|
|
3775
|
+
className?: string | undefined;
|
|
3776
|
+
}
|
|
3777
|
+
/**
|
|
3778
|
+
* A `ToggleGroup type="single"` preset of exactly two icon items for a
|
|
3779
|
+
* table's own toolbar — "Detailed" (comfortable) and "Compact" — meant to
|
|
3780
|
+
* pair with `useTableDensity` and `<Table density>`.
|
|
3781
|
+
*
|
|
3782
|
+
* @experimental
|
|
3783
|
+
*/
|
|
3784
|
+
declare const TableDensityToggle: React$1.ForwardRefExoticComponent<TableDensityToggleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3785
|
+
|
|
3870
3786
|
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3871
|
-
|
|
3787
|
+
/** `TabsList`'s own look: the flush underline row (default), or a segmented track. */
|
|
3788
|
+
type TabsListVariant = "default" | "segmented";
|
|
3789
|
+
interface TabsListProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List> {
|
|
3790
|
+
variant?: TabsListVariant | undefined;
|
|
3791
|
+
}
|
|
3792
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3872
3793
|
declare const triggerVariants: (props?: ({
|
|
3873
|
-
variant?: "pill" | "underline" | null | undefined;
|
|
3794
|
+
variant?: "pill" | "underline" | "segmented" | null | undefined;
|
|
3874
3795
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3875
3796
|
interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof triggerVariants> {
|
|
3876
3797
|
}
|
|
@@ -4021,41 +3942,6 @@ interface ToastProviderProps {
|
|
|
4021
3942
|
}
|
|
4022
3943
|
declare function ToastProvider({ children, messages: messagesProp }: ToastProviderProps): react_jsx_runtime.JSX.Element;
|
|
4023
3944
|
|
|
4024
|
-
declare const itemVariants: (props?: ({
|
|
4025
|
-
variant?: "outline" | "default" | null | undefined;
|
|
4026
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4027
|
-
/** The toggle-group sizes: the shared control scale (A1). */
|
|
4028
|
-
type ToggleGroupSize = ControlSize;
|
|
4029
|
-
/** The item's look: bare (`default`) or with a border (`outline`). */
|
|
4030
|
-
type ToggleGroupVariant = NonNullable<VariantProps<typeof itemVariants>["variant"]>;
|
|
4031
|
-
type RadixRootProps = React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root>;
|
|
4032
|
-
/** The props every group shares, whatever its `type`. */
|
|
4033
|
-
interface ToggleGroupFormProps extends VariantProps<typeof itemVariants> {
|
|
4034
|
-
/** Outer height from the shared control scale (A1). Omitted: today's geometry. */
|
|
4035
|
-
size?: ToggleGroupSize | undefined;
|
|
4036
|
-
/** The form field name. Without it the group does not take part in a form. */
|
|
4037
|
-
name?: string | undefined;
|
|
4038
|
-
/** `id` of the form to submit with when the group is rendered outside it. */
|
|
4039
|
-
form?: string | undefined;
|
|
4040
|
-
/** Block native submission while nothing is pressed. */
|
|
4041
|
-
required?: boolean | undefined;
|
|
4042
|
-
/**
|
|
4043
|
-
* The group is in error: `aria-invalid` and `data-invalid`. Implied by the
|
|
4044
|
-
* surrounding `Field`'s `invalid` or a mounted `FieldError`.
|
|
4045
|
-
*/
|
|
4046
|
-
invalid?: boolean | undefined;
|
|
4047
|
-
/**
|
|
4048
|
-
* Single groups only: submit `name=""` while nothing is pressed (`true`,
|
|
4049
|
-
* the default and what a Select does) or omit the entry (`false`).
|
|
4050
|
-
*/
|
|
4051
|
-
submitEmpty?: boolean | undefined;
|
|
4052
|
-
}
|
|
4053
|
-
type ToggleGroupProps = RadixRootProps & ToggleGroupFormProps;
|
|
4054
|
-
declare const ToggleGroup: React$1.ForwardRefExoticComponent<ToggleGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4055
|
-
interface ToggleGroupItemProps extends React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>, VariantProps<typeof itemVariants> {
|
|
4056
|
-
}
|
|
4057
|
-
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
4058
|
-
|
|
4059
3945
|
/** `inline`: one `<code>` in running text. `block`: `<pre><code>`, keeps whitespace, scrolls. */
|
|
4060
3946
|
type CodeVariant = "inline" | "block";
|
|
4061
3947
|
interface CodeProps extends React.HTMLAttributes<HTMLElement> {
|
|
@@ -4844,67 +4730,6 @@ type FieldsetLegendProps = HTMLAttributes<HTMLLegendElement>;
|
|
|
4844
4730
|
*/
|
|
4845
4731
|
declare const FieldsetLegend: React$1.ForwardRefExoticComponent<FieldsetLegendProps & React$1.RefAttributes<HTMLLegendElement>>;
|
|
4846
4732
|
|
|
4847
|
-
/**
|
|
4848
|
-
* L1a behaviour primitive (private). Not exported from the package.
|
|
4849
|
-
*
|
|
4850
|
-
* The canonical option model of every list-shaped control (W4-09; target
|
|
4851
|
-
* architecture §32): `Select`, the coming `Combobox` (W4-10) and its
|
|
4852
|
-
* `MultiSelect` preset (W4-11), the `SearchSelect` adapter (W4-12) and the
|
|
4853
|
-
* `PeoplePicker` pattern all read one shape, in place of the six that ship
|
|
4854
|
-
* today (`{value,label}`, `{id,label,group…}`, `{id,label,email}`,
|
|
4855
|
-
* `{id,fullName}`, `{key,label,dot}`, `string[]`).
|
|
4856
|
-
*
|
|
4857
|
-
* Two halves:
|
|
4858
|
-
*
|
|
4859
|
-
* - {@link Option} and its accessors: what a row *is*. Consumers with domain
|
|
4860
|
-
* objects pass {@link OptionAccessors} (`getOptionValue`/`getOptionLabel`)
|
|
4861
|
-
* instead of remapping, and {@link toOptions} normalises everything — a
|
|
4862
|
-
* `string[]`, domain objects, `Option`s — into one array the list renders.
|
|
4863
|
-
* - The selection helpers: what a control's *value* is, discriminated by
|
|
4864
|
-
* `multiple` (single `TValue | null`, multi `TValue[]`; §32 "Value"). `""`
|
|
4865
|
-
* keeps meaning empty in 2.x (§32 "Compat"), so {@link normalizeSingleValue}
|
|
4866
|
-
* folds it to `null` at the boundary.
|
|
4867
|
-
*
|
|
4868
|
-
* No React, no client directive, no DOM: plain functions over plain data, so
|
|
4869
|
-
* the same module serves a Server Component, a test and the keyboard helper.
|
|
4870
|
-
*/
|
|
4871
|
-
/**
|
|
4872
|
-
* One row of a list-shaped control.
|
|
4873
|
-
*
|
|
4874
|
-
* `value` is never `""`: emptiness is `value === null` on the control, not a
|
|
4875
|
-
* sentinel row (§32). `label` is the string typeahead, filtering and the
|
|
4876
|
-
* accessible name read; `description` and `icon` are rendered, never searched.
|
|
4877
|
-
* `keywords` widen the match without showing. `meta` carries consumer data
|
|
4878
|
-
* through to `renderOption` / `onValueChange` details untouched.
|
|
4879
|
-
*
|
|
4880
|
-
* @experimental
|
|
4881
|
-
*/
|
|
4882
|
-
interface Option<TValue extends string = string, TMeta = unknown> {
|
|
4883
|
-
value: TValue;
|
|
4884
|
-
label: string;
|
|
4885
|
-
description?: ReactNode;
|
|
4886
|
-
/** Leading visual: icon, avatar, flag, colour swatch. */
|
|
4887
|
-
icon?: ReactNode;
|
|
4888
|
-
disabled?: boolean;
|
|
4889
|
-
group?: string | undefined;
|
|
4890
|
-
keywords?: readonly string[] | undefined;
|
|
4891
|
-
meta?: TMeta;
|
|
4892
|
-
}
|
|
4893
|
-
/**
|
|
4894
|
-
* How a list reads a consumer's own item type. Only `getOptionValue` and
|
|
4895
|
-
* `getOptionLabel` are required: an item with no `disabled`/`group`/`keywords`
|
|
4896
|
-
* accessor is enabled, ungrouped and matched on its label alone.
|
|
4897
|
-
*
|
|
4898
|
-
* @experimental
|
|
4899
|
-
*/
|
|
4900
|
-
interface OptionAccessors<TItem, TValue extends string = string> {
|
|
4901
|
-
getOptionValue: (item: TItem) => TValue;
|
|
4902
|
-
getOptionLabel: (item: TItem) => string;
|
|
4903
|
-
getOptionDisabled?: ((item: TItem) => boolean) | undefined;
|
|
4904
|
-
getOptionGroup?: ((item: TItem) => string | undefined) | undefined;
|
|
4905
|
-
getOptionKeywords?: ((item: TItem) => readonly string[] | undefined) | undefined;
|
|
4906
|
-
}
|
|
4907
|
-
|
|
4908
4733
|
/**
|
|
4909
4734
|
* `useDataTable<TRow>()` (W6-04/W6-05; target architecture §35.2) — the
|
|
4910
4735
|
* headless controller behind every data table.
|
|
@@ -5230,146 +5055,6 @@ declare function nextSortDirection(current: DataTableSortDirection | null): Data
|
|
|
5230
5055
|
*/
|
|
5231
5056
|
declare function useDataTable<TRow>(options: UseDataTableOptions<TRow>): DataTableController<TRow>;
|
|
5232
5057
|
|
|
5233
|
-
/** The English defaults (the `combobox` namespace of the catalogue). */
|
|
5234
|
-
declare const DEFAULT_COMBOBOX_MESSAGES: ComboboxMessages;
|
|
5235
|
-
/** The sizes a combobox offers: the shared control scale (A1). @experimental */
|
|
5236
|
-
type ComboboxSize = ControlSize;
|
|
5237
|
-
/** What `renderOption` is told about the row it renders. @experimental */
|
|
5238
|
-
interface ComboboxOptionState {
|
|
5239
|
-
selected: boolean;
|
|
5240
|
-
highlighted: boolean;
|
|
5241
|
-
disabled: boolean;
|
|
5242
|
-
}
|
|
5243
|
-
/**
|
|
5244
|
-
* Class overrides per part, for the consumer who must restyle one slot
|
|
5245
|
-
* without reaching into the DOM.
|
|
5246
|
-
*
|
|
5247
|
-
* @experimental
|
|
5248
|
-
*/
|
|
5249
|
-
interface ComboboxClassNames {
|
|
5250
|
-
root?: string;
|
|
5251
|
-
control?: string;
|
|
5252
|
-
input?: string;
|
|
5253
|
-
chip?: string;
|
|
5254
|
-
content?: string;
|
|
5255
|
-
list?: string;
|
|
5256
|
-
item?: string;
|
|
5257
|
-
}
|
|
5258
|
-
/** @experimental */
|
|
5259
|
-
interface ComboboxBaseProps<TItem, TValue extends string> extends Partial<OptionAccessors<TItem, TValue>> {
|
|
5260
|
-
/** The rows: `Option`s, strings, or domain objects read through the accessors. */
|
|
5261
|
-
options: readonly TItem[];
|
|
5262
|
-
id?: string | undefined;
|
|
5263
|
-
/** The form field name. Without it nothing is submitted. */
|
|
5264
|
-
name?: string | undefined;
|
|
5265
|
-
/** The `id` of the form to submit with when the control is rendered outside it. */
|
|
5266
|
-
form?: string | undefined;
|
|
5267
|
-
required?: boolean | undefined;
|
|
5268
|
-
disabled?: boolean | undefined;
|
|
5269
|
-
readOnly?: boolean | undefined;
|
|
5270
|
-
invalid?: boolean | undefined;
|
|
5271
|
-
/** The accessible name of a combobox outside a `Field`. */
|
|
5272
|
-
"aria-label"?: string | undefined;
|
|
5273
|
-
"aria-labelledby"?: string | undefined;
|
|
5274
|
-
"aria-describedby"?: string | undefined;
|
|
5275
|
-
placeholder?: string | undefined;
|
|
5276
|
-
/** Outer height from the shared control scale. Default `md` (36px). */
|
|
5277
|
-
size?: ComboboxSize | undefined;
|
|
5278
|
-
/** A leading glyph inside the control, decorative. */
|
|
5279
|
-
icon?: ReactNode | undefined;
|
|
5280
|
-
/** Show a clear button while a value is set. Default `true`. */
|
|
5281
|
-
clearable?: boolean | undefined;
|
|
5282
|
-
/** Open the list when the input receives focus. Default `false`. */
|
|
5283
|
-
openOnFocus?: boolean | undefined;
|
|
5284
|
-
/** Whether the list surface flips to stay in the viewport. Default `true`. */
|
|
5285
|
-
avoidCollisions?: boolean | undefined;
|
|
5286
|
-
open?: boolean | undefined;
|
|
5287
|
-
defaultOpen?: boolean | undefined;
|
|
5288
|
-
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
5289
|
-
/** The typed query (controlled). */
|
|
5290
|
-
search?: string | undefined;
|
|
5291
|
-
defaultSearch?: string | undefined;
|
|
5292
|
-
/** Called with every query the user types (an async source fetches here). */
|
|
5293
|
-
onSearchChange?: ((query: string) => void) | undefined;
|
|
5294
|
-
/**
|
|
5295
|
-
* Filter `options` by the query (`true`, the default). `false` when the
|
|
5296
|
-
* consumer filters — the options are already the answer to the query.
|
|
5297
|
-
*/
|
|
5298
|
-
shouldFilter?: boolean | undefined;
|
|
5299
|
-
/** An async source is fetching: a spinner in the control, `loadingState` in the list. */
|
|
5300
|
-
loading?: boolean | undefined;
|
|
5301
|
-
emptyState?: ReactNode | undefined;
|
|
5302
|
-
loadingState?: ReactNode | undefined;
|
|
5303
|
-
/** Rendered above the list, inside the popover. */
|
|
5304
|
-
header?: ReactNode | undefined;
|
|
5305
|
-
/** Rendered below the list, inside the popover. */
|
|
5306
|
-
footer?: ReactNode | undefined;
|
|
5307
|
-
/** Offer a "Create …" row for a query that matches no option exactly. */
|
|
5308
|
-
onCreate?: ((query: string) => void) | undefined;
|
|
5309
|
-
/** Replaces the content of a row. */
|
|
5310
|
-
renderOption?: ((option: Option<TValue, unknown>, state: ComboboxOptionState) => ReactNode) | undefined;
|
|
5311
|
-
messages?: Partial<ComboboxMessages> | undefined;
|
|
5312
|
-
className?: string | undefined;
|
|
5313
|
-
classNames?: ComboboxClassNames | undefined;
|
|
5314
|
-
/** The input element. */
|
|
5315
|
-
ref?: React$1.Ref<HTMLInputElement> | undefined;
|
|
5316
|
-
}
|
|
5317
|
-
/** @experimental */
|
|
5318
|
-
interface ComboboxSingleProps<TItem, TValue extends string> extends ComboboxBaseProps<TItem, TValue> {
|
|
5319
|
-
multiple?: false | undefined;
|
|
5320
|
-
/** The picked value, or `null`. `""` means empty (2.x compat). */
|
|
5321
|
-
value?: TValue | "" | null | undefined;
|
|
5322
|
-
defaultValue?: TValue | "" | null | undefined;
|
|
5323
|
-
onValueChange?: ((value: TValue | null, details: {
|
|
5324
|
-
option: Option<TValue, unknown> | null;
|
|
5325
|
-
}) => void) | undefined;
|
|
5326
|
-
/** Replaces the closed control's text for the picked option. */
|
|
5327
|
-
renderValue?: ((option: Option<TValue, unknown>) => ReactNode) | undefined;
|
|
5328
|
-
/** Close the list after a pick. Default `true`. */
|
|
5329
|
-
closeOnSelect?: boolean | undefined;
|
|
5330
|
-
}
|
|
5331
|
-
/** What `renderValue` receives in `multiple` mode besides the picked options. @experimental */
|
|
5332
|
-
interface ComboboxSelectionControls<TValue extends string> {
|
|
5333
|
-
/** Removes one value from the selection. */
|
|
5334
|
-
remove: (value: TValue) => void;
|
|
5335
|
-
}
|
|
5336
|
-
/** @experimental */
|
|
5337
|
-
interface ComboboxMultipleProps<TItem, TValue extends string> extends ComboboxBaseProps<TItem, TValue> {
|
|
5338
|
-
multiple: true;
|
|
5339
|
-
/** The picked values, in pick order. Empty strings are dropped. */
|
|
5340
|
-
value?: readonly (TValue | "")[] | undefined;
|
|
5341
|
-
defaultValue?: readonly (TValue | "")[] | undefined;
|
|
5342
|
-
onValueChange?: ((value: TValue[], details: {
|
|
5343
|
-
option: Option<TValue, unknown> | null;
|
|
5344
|
-
}) => void) | undefined;
|
|
5345
|
-
/**
|
|
5346
|
-
* Replaces the chips inside the control: called with the picked options
|
|
5347
|
-
* and `remove`. Return `null` to render nothing there.
|
|
5348
|
-
*/
|
|
5349
|
-
renderValue?: ((options: Option<TValue, unknown>[], controls: ComboboxSelectionControls<TValue>) => ReactNode) | undefined;
|
|
5350
|
-
/** Close the list after a pick. Default `false`: keep picking. */
|
|
5351
|
-
closeOnSelect?: boolean | undefined;
|
|
5352
|
-
/** Drop picked rows from the list (the chips already show them). Default `false`. */
|
|
5353
|
-
hideSelected?: boolean | undefined;
|
|
5354
|
-
}
|
|
5355
|
-
/**
|
|
5356
|
-
* The props, discriminated by `multiple` (target architecture §32 "Value"):
|
|
5357
|
-
* a single pick is `TValue | null`, a multi pick is `TValue[]`.
|
|
5358
|
-
*
|
|
5359
|
-
* @experimental
|
|
5360
|
-
*/
|
|
5361
|
-
type ComboboxProps<TItem = Option, TValue extends string = string> = ComboboxSingleProps<TItem, TValue> | ComboboxMultipleProps<TItem, TValue>;
|
|
5362
|
-
/**
|
|
5363
|
-
* The searchable pick: one input, a portalled listbox, the option model.
|
|
5364
|
-
* See the module comment.
|
|
5365
|
-
*
|
|
5366
|
-
* @experimental
|
|
5367
|
-
*/
|
|
5368
|
-
declare function Combobox<TItem = Option, TValue extends string = string>(props: ComboboxProps<TItem, TValue>): react_jsx_runtime.JSX.Element;
|
|
5369
|
-
declare namespace Combobox {
|
|
5370
|
-
var displayName: string;
|
|
5371
|
-
}
|
|
5372
|
-
|
|
5373
5058
|
/** @experimental */
|
|
5374
5059
|
type MultiSelectProps<TItem = Option, TValue extends string = string> = Omit<ComboboxMultipleProps<TItem, TValue>, "multiple">;
|
|
5375
5060
|
/**
|
|
@@ -5474,7 +5159,10 @@ interface SegmentedControlProps<TValue extends string = string> {
|
|
|
5474
5159
|
*/
|
|
5475
5160
|
"aria-label"?: string;
|
|
5476
5161
|
"aria-labelledby"?: string;
|
|
5477
|
-
/**
|
|
5162
|
+
/**
|
|
5163
|
+
* Segment look, as on `ToggleGroup`: `default` (default), `outline`, or
|
|
5164
|
+
* `segmented` (a raised thumb over a quiet track).
|
|
5165
|
+
*/
|
|
5478
5166
|
variant?: ToggleGroupVariant;
|
|
5479
5167
|
/** Height on the shared control scale (A1). Omitted: `ToggleGroup`'s geometry. */
|
|
5480
5168
|
size?: ToggleGroupSize;
|
|
@@ -5635,8 +5323,16 @@ interface SidebarProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
5635
5323
|
* with a soft shadow (modern SaaS pattern). Nav rows get larger
|
|
5636
5324
|
* hit areas and a pill active state. Exposed as `data-variant` so
|
|
5637
5325
|
* descendant atoms restyle via `group-data-[variant=floating]`.
|
|
5326
|
+
* - `"flush"` — the polished row anatomy every consumer was hand-
|
|
5327
|
+
* assembling on top of `"floating"` (32px rows on the control
|
|
5328
|
+
* radius, brighter icons, a subtle active fill plus a 2px edge
|
|
5329
|
+
* indicator, an overline section label), rendered on a flush
|
|
5330
|
+
* full-height column instead of a detached card. An overlay
|
|
5331
|
+
* scrollbar shows only while the nav scrolls, and a hairline
|
|
5332
|
+
* appears under the brand row once the list has scrolled — both
|
|
5333
|
+
* built in, no consumer wiring required.
|
|
5638
5334
|
*/
|
|
5639
|
-
variant?: "classic" | "floating";
|
|
5335
|
+
variant?: "classic" | "floating" | "flush";
|
|
5640
5336
|
/**
|
|
5641
5337
|
* Whether hovering the collapsed rail transiently expands it.
|
|
5642
5338
|
*
|
|
@@ -5818,6 +5514,110 @@ declare namespace SidebarDrawer {
|
|
|
5818
5514
|
var displayName: string;
|
|
5819
5515
|
}
|
|
5820
5516
|
|
|
5517
|
+
/** How an item's `href` is compared against `currentPath` (default `"prefix"`). @experimental */
|
|
5518
|
+
type AppSidebarMatch = "prefix" | "exact";
|
|
5519
|
+
/** One row of an `AppSidebar` nav. @experimental */
|
|
5520
|
+
interface AppSidebarItem {
|
|
5521
|
+
/** Stable id — React key and the exclusivity/active bookkeeping. */
|
|
5522
|
+
id: string;
|
|
5523
|
+
label: React$1.ReactNode;
|
|
5524
|
+
href: string;
|
|
5525
|
+
icon?: React$1.ReactNode;
|
|
5526
|
+
badge?: React$1.ReactNode;
|
|
5527
|
+
badgeTone?: SidebarLinkBadgeVariants["tone"];
|
|
5528
|
+
/**
|
|
5529
|
+
* How `href` is matched against `currentPath`. `"prefix"` (default) also
|
|
5530
|
+
* matches any path nested under it (`/clients` matches `/clients/42`);
|
|
5531
|
+
* `"exact"` matches only the identical path. Set `"exact"` for an item
|
|
5532
|
+
* whose href is a path-segment prefix of a sibling's (e.g. `/` itself).
|
|
5533
|
+
*/
|
|
5534
|
+
match?: AppSidebarMatch;
|
|
5535
|
+
/** Renders as a `SidebarLinkGroup`: the row keeps its own `href` and gains a disclosure. */
|
|
5536
|
+
children?: AppSidebarItem[];
|
|
5537
|
+
/**
|
|
5538
|
+
* Extra props merged onto the rendered link (`data-tour`, `target`,
|
|
5539
|
+
* a router's own `prefetch`/`scroll` flags, …). Passed through verbatim —
|
|
5540
|
+
* `AppSidebar` does not interpret them.
|
|
5541
|
+
*/
|
|
5542
|
+
linkProps?: Record<string, unknown>;
|
|
5543
|
+
}
|
|
5544
|
+
/** One labelled group of items. @experimental */
|
|
5545
|
+
interface AppSidebarSection {
|
|
5546
|
+
/** Stable id — React key. */
|
|
5547
|
+
id: string;
|
|
5548
|
+
label?: React$1.ReactNode;
|
|
5549
|
+
/** Trailing slot beside the label (an "add" icon button, a count, …). */
|
|
5550
|
+
headerActions?: React$1.ReactNode;
|
|
5551
|
+
items: AppSidebarItem[];
|
|
5552
|
+
}
|
|
5553
|
+
/** Per-part classes (W2-17 pattern). @experimental */
|
|
5554
|
+
interface AppSidebarClassNames {
|
|
5555
|
+
/** The `<Sidebar>` root — same element `className` styles. */
|
|
5556
|
+
root?: string;
|
|
5557
|
+
/** Each `<SidebarSection>`. */
|
|
5558
|
+
section?: string;
|
|
5559
|
+
/** The footer card wrapping `user`. */
|
|
5560
|
+
footer?: string;
|
|
5561
|
+
}
|
|
5562
|
+
/** Props shared by `AppSidebar` and `AppSidebarNav`. @experimental */
|
|
5563
|
+
interface AppSidebarNavProps {
|
|
5564
|
+
sections: AppSidebarSection[];
|
|
5565
|
+
/** The app's current path. Drives active-item and group-open resolution. */
|
|
5566
|
+
currentPath: string;
|
|
5567
|
+
/** Class for each `<SidebarSection>`. */
|
|
5568
|
+
sectionClassName?: string;
|
|
5569
|
+
/**
|
|
5570
|
+
* Whether the enclosing `Sidebar` collapses to a rail. Only used to decide
|
|
5571
|
+
* when a row's native `title` is redundant with `SidebarLink`'s own
|
|
5572
|
+
* tooltip (collapsed rail, no peek) — pass the same value given to
|
|
5573
|
+
* `AppSidebar`/`Sidebar`. Default `false`, matching `Sidebar`'s own.
|
|
5574
|
+
*/
|
|
5575
|
+
collapsible?: boolean | undefined;
|
|
5576
|
+
}
|
|
5577
|
+
/**
|
|
5578
|
+
* The nav alone — `sections` rendered as `SidebarSection`/`SidebarLink`/
|
|
5579
|
+
* `SidebarLinkGroup`, with no `Sidebar` root, brand or footer. Drop it
|
|
5580
|
+
* inside a `SidebarDrawer` to render the same config on mobile:
|
|
5581
|
+
*
|
|
5582
|
+
* ```tsx
|
|
5583
|
+
* <SidebarDrawer>
|
|
5584
|
+
* <SidebarBrand>…</SidebarBrand>
|
|
5585
|
+
* <AppSidebarNav sections={sections} currentPath={pathname} />
|
|
5586
|
+
* <SidebarFooter><SidebarUser name="…" /></SidebarFooter>
|
|
5587
|
+
* </SidebarDrawer>
|
|
5588
|
+
* ```
|
|
5589
|
+
*
|
|
5590
|
+
* @experimental
|
|
5591
|
+
*/
|
|
5592
|
+
declare function AppSidebarNav({ sections, currentPath, sectionClassName, collapsible, }: AppSidebarNavProps): react_jsx_runtime.JSX.Element;
|
|
5593
|
+
declare namespace AppSidebarNav {
|
|
5594
|
+
var displayName: string;
|
|
5595
|
+
}
|
|
5596
|
+
interface AppSidebarProps extends Omit<SidebarProps, "children" | "variant">, AppSidebarNavProps {
|
|
5597
|
+
/** A `SidebarBrand` or `SidebarBrandSwitcher` element. */
|
|
5598
|
+
brand?: React$1.ReactNode;
|
|
5599
|
+
/** Rendered above the user card, inside the footer. */
|
|
5600
|
+
footer?: React$1.ReactNode;
|
|
5601
|
+
/** Rendered in a polished footer card (28px avatar, hairline top border). */
|
|
5602
|
+
user?: SidebarUserProps;
|
|
5603
|
+
/**
|
|
5604
|
+
* Visual treatment, as on `Sidebar`. Defaults to `"flush"` — the row
|
|
5605
|
+
* anatomy this composite is built to show off.
|
|
5606
|
+
*/
|
|
5607
|
+
variant?: SidebarProps["variant"];
|
|
5608
|
+
classNames?: AppSidebarClassNames;
|
|
5609
|
+
}
|
|
5610
|
+
/**
|
|
5611
|
+
* A complete app nav — brand, sections, footer — assembled from `sections`
|
|
5612
|
+
* data instead of hand-nested `SidebarSection`/`SidebarLink` JSX. Renders
|
|
5613
|
+
* only `Sidebar` parts: nothing here is a new primitive, so `collapsible`,
|
|
5614
|
+
* `peek`, rail behavior, tooltips and the flush row anatomy all come from
|
|
5615
|
+
* `Sidebar` unchanged.
|
|
5616
|
+
*
|
|
5617
|
+
* @experimental
|
|
5618
|
+
*/
|
|
5619
|
+
declare const AppSidebar: React$1.ForwardRefExoticComponent<AppSidebarProps & React$1.RefAttributes<HTMLElement>>;
|
|
5620
|
+
|
|
5821
5621
|
/**
|
|
5822
5622
|
* AppHeader — sticky 56px-tall top bar mounted inside `<Main>`, above
|
|
5823
5623
|
* `<Content>`.
|
|
@@ -6911,4 +6711,39 @@ declare function getAssetBasePath(): string;
|
|
|
6911
6711
|
/** Resolve a root-relative design system asset against the configured base. */
|
|
6912
6712
|
declare function assetPath(path: string): string;
|
|
6913
6713
|
|
|
6914
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActivityDotVariant, ActivityEventItem, type ActivityEventItemProps, ActivityItem, type ActivityItemProps, ActivityList, type ActivityListProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AppHeader, AppHeaderActions, type AppHeaderActionsProps, AppHeaderBreadcrumb, type AppHeaderBreadcrumbProps, type AppHeaderProps, AppHeaderSearch, type AppHeaderSearchProps, AppHeaderTitle, type AppHeaderTitleProps, AreaChart, type AreaChartProps, type AreaPoint, AspectRatio, AttachmentChip, type AttachmentChipProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarGroupSize, type AvatarProps, AvatarSlot, BadgeShape, BadgeSize, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, BulkActionBar, BulkActionBarAction, type BulkActionBarActionProps, type BulkActionBarProps, BulkActionBarSeparator, type BulkActionBarVariant, Button, type ButtonEmphasis, type ButtonIconProps, type ButtonIconSize, type ButtonIntent, type ButtonIntentAlias, type ButtonLegacyVariant, type ButtonLook, type ButtonProps, type ButtonSize, type ButtonStyle, type ButtonVariant, type ButtonVariantsProps, COUNTRY_CODES, Calendar, type CalendarBaseProps, type CalendarCaptionLayout, type CalendarHighlight, type CalendarHighlightColor, type CalendarProps, type CalendarRange, type CalendarRangeProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, type CardTitleProps, type CardVariants, type CellValue, Checkbox, type CheckboxChecked, type CheckboxProps, Chip, type ChipIntent, type ChipProps, type ChipSize, type ChipStyle, type ChipVariant, Code, type CodeProps, type CodeVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, type ComboboxBaseProps, type ComboboxClassNames, ComboboxMessages, type ComboboxMultipleProps, type ComboboxOptionState, type ComboboxProps, type ComboboxSelectionControls, type ComboboxSingleProps, type ComboboxSize, type CommandItem, CommandPalette, CommandPaletteMessages, ConfirmActionButton, type ConfirmActionButtonProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmFn, ConfirmHost, type ConfirmHostProps, type ConfirmInitialFocus, type ConfirmIntent, ConfirmMessages, type ConfirmOptions, type ConfirmPresentation, type ConfirmResult, Content$1 as Content, type ContentProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ControlSize, CopyButton, type CountryCode, CountryFlag, CountrySelect, DATE_DISPLAY_PLACEHOLDER, DEFAULT_COMBOBOX_MESSAGES, DEFAULT_PHONE_FIELD_MESSAGES, DangerAction, type DangerActionProps, DataItem, type DataTableAccessor, type DataTableAriaSort, type DataTableColumn, type DataTableColumnVisibilityApi, type DataTableColumnVisibilityState, type DataTableController, type DataTableFilterDefinition, type DataTableFilterValue, type DataTableFiltersApi, type DataTableFiltersState, DataTablePagination, type DataTablePaginationApi, type DataTablePaginationProps, type DataTablePaginationState, DataTablePattern, type DataTablePatternBulkActionsProps, type DataTablePatternColumnsMenuProps, type DataTablePatternContentProps, type DataTablePatternEmptyProps, type DataTablePatternErrorProps, type DataTablePatternFiltersProps, type DataTablePatternLoadingProps, type DataTablePatternPaginationProps, type DataTablePatternProps, type DataTablePatternSearchProps, type DataTablePatternToolbarProps, type DataTableRowModel, type DataTableSearchApi, type DataTableSelectionApi, type DataTableSelectionState, DataTableSlot, type DataTableSortDirection, type DataTableSortValue, type DataTableSortingApi, type DataTableSortingState, type DataTableState, type DatePattern, DatePicker, type DatePickerProps, type DateRangeNames, DateRangePicker, type DateRangePickerProps, type DateRangeValue, DetailGrid, type DetailGridProps, DetailMain, type DetailMainProps, DetailSpine, DetailSpineHeader, type DetailSpineHeaderProps, type DetailSpineProps, DetailSpineSection, type DetailSpineSectionProps, DetailSpineStats, type DetailSpineStatsProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, type DialogMessages, DialogOverlay, DialogPortal, type DialogPresentation, type DialogSize, DialogTitle, DialogTrigger, DismissibleChip, DisplayMenu, type DisplayMenuOption, type DisplayMenuProps, type DisplayMenuSection, DonutChart, type DonutChartProps, type DonutSegment, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateAlign, type EmptyStateProps, type EmptyStateSize, ErrorState, ErrorStateMessages, type ErrorStateProps, type ErrorStateSize, Eyebrow, type EyebrowProps, Field, FieldControl, type FieldControlProps, type FieldControlWiring, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldMessages, type FieldOrientation, type FieldProps, Fieldset, FieldsetLegend, type FieldsetLegendProps, type FieldsetProps, FileTypeBadge, type FileTypeBadgeProps, type FileTypeTone, FileUpload, FileUploadMessages, type FileUploadProps, FileUploadSlot, type FileUploadVariant, FilterChip, type FilterChipProps, type FolderNode, FolderTree, type FolderTreeProps, FormError, FormSection, FormSuccess, Heading, type HeadingLevel, type HeadingProps, type HeadingSize, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardPadding, HoverCardPortal, HoverCardTrigger, type HoverCardWidth, ICON_TILE_TONE_TO_INTENT, IconAction, type IconActionProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonTooltipSide, IconTile, type IconTileIntent, type IconTileProps, type IconTileSize, type IconTileSuiteTone, type IconTileTone, type IconTileVariantProps, InfoHint, type InfoHintPresentation, type InfoHintProps, Inline, type InlineProps, Input, type InputProps$1 as InputProps, type InputSize, type InputSizeAlias, InputSlot, type InputVariant, type InputVariants, type InputVariantsOptions, Intent, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanProps, Kbd, type KbdGlyph, KbdHint, type KbdHintProps, type KbdProps, type KbdVariant, type KeyboardShortcut, type KeyboardShortcutSection, KeyboardShortcutsDialog, type KeyboardShortcutsDialogProps, KeyboardShortcutsMessages, KpiCard, type KpiCardProps, type KpiDelta, Label, type LayoutAlign, type LayoutBreakpoint, type LayoutGap, type LayoutJustify, LinkAction, type LinkActionProps, LinkButton, type LinkButtonProps$1 as LinkButtonProps, LoadingRows, Main, type MainProps, MasterDetailLayout, type MasterDetailLayoutProps, MessageBubble, MessageBubbleAction, type MessageBubbleActionProps, type MessageBubbleProps, MessageBubbleTombstone, type MessageBubbleTombstoneProps, MessageComposer, type MessageComposerProps, MetadataGrid, MultiFilterPill, MultiSelect, MultiSelectField, type MultiSelectProps, MutedSpec, type MutedSpecProps, NotificationFilter, type NotificationFilterProps, type NotificationFilterValue, NotificationItem, type NotificationItemProps, NotificationList, type NotificationListProps, NotificationPanel, NotificationPanelFooter, type NotificationPanelFooterProps, NotificationPanelHeader, type NotificationPanelHeaderProps, type NotificationPanelProps, NumberInput, type NumberInputProps, NumberInputSlot, Numeric, type NumericProps, OTPInput, type OTPInputProps, type OnlyStatuses, type Option, type OptionAccessors, PROGRESS_LEGACY_TO_INTENT, PageHeader, type PageHeaderProps, PageHeaderSep, type PageHeaderSepProps, PageHeaderSpec, type PageHeaderSpecProps, Pagination, PaginationMessages, type PaginationProps, PdfPreview, type PdfPreviewProps, PeoplePicker, type PeoplePickerMultipleProps, type PeoplePickerProps, type PeoplePickerSingleProps, type Person, PhoneCountryInput, PhoneField, type PhoneFieldChangeDetails, PhoneFieldMessages, type PhoneFieldProps, PhoneFieldSlot, PhoneInput, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverPadding, PopoverPortal, PopoverTrigger, type PopoverWidth, Pressable, type PressableProps, PrimaryAction, type PrimaryActionProps, type Priority, PriorityIcon, type PriorityIconProps, ProgressBar, type ProgressBarProps, type ProgressBarVariant, type ProgressBarVariantProps, type ProgressIntent, type ProgressLegacyColour, ProgressRing, type ProgressRingProps, type ProgressRingVariant, type ProgressRingVariantProps, type PromptFn, type PromptOptions, QuestionnairePanel, type QuestionnairePanelGroup, type QuestionnairePanelProps, type QuestionnairePanelSection, type QuestionnairePanelStatus, type QuickReplyChip, RadioGroup, type RadioGroupAppearance, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RankedBar, RankedBars, type RankedBarsProps, type Responsive, ResponsiveDialog, type ResponsiveDialogProps, RouteTransition, type RouteTransitionProps, SPINNER_TONE_TO_INTENT, STATUS_DOT_TONE_TO_INTENT, ScrollArea, ScrollBar, SearchInput, SearchInputMessages, type SearchInputProps, type SearchInputSize, SearchInputSlot, type SearchInputVariants, type SearchInputVariantsOptions, SearchSelect, type SearchSelectOption, type SearchSelectProps, SecondaryAction, type SecondaryActionProps, SectionCard, type SectionCardProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SegmentedProgress, type SegmentedProgressProps, type SegmentedServiceTone, type SegmentedTone, Select, type SelectClassNames, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectMessages, type SelectOption, type SelectProps, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, type SelectSize, SelectSlot, SelectTrigger, type SelectTriggerProps, SelectValue, SelectableKpiCard, type SelectableKpiCardProps, Separator, Sheet, SheetBody, type SheetBodyProps, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, type SheetMessages, SheetOverlay, SheetPortal, type SheetSide, type SheetSize, SheetTitle, SheetTrigger, type SheetWidth, Shell, type ShellProps, SideDrawer, Sidebar, SidebarBrand, type SidebarBrandProps, SidebarBrandText, type SidebarBrandTextProps, SidebarDrawer, type SidebarDrawerProps, SidebarFooter, type SidebarFooterProps, SidebarLink, SidebarLinkAction, type SidebarLinkActionProps, SidebarLinkBadge, type SidebarLinkBadgeProps, type SidebarLinkBadgeVariants, SidebarLinkGroup, type SidebarLinkGroupProps, SidebarLinkLabel, type SidebarLinkLabelProps, type SidebarLinkProps, SidebarPinButton, type SidebarPinButtonProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarSection, type SidebarSectionProps, type SidebarState, SidebarTrigger, type SidebarTriggerProps, SidebarUser, type SidebarUserProps, Skeleton, SkeletonCircle, SkeletonText, Slider, type SliderProps, type SliderSize, Spinner, type SpinnerIntent, type SpinnerProps, type SpinnerSize, type SpinnerTone, type SpinnerVariantProps, SpreadsheetPreview, type SpreadsheetPreviewProps, Stack, type StackDirection, type StackProps, StackedBarChart, type StackedBarChartProps, type StackedBarDatum, type StackedBarSeries, StarRating, type StarRatingProps, StatusBadge, type StatusBadgeProps, StatusDot, type StatusDotIntent, type StatusDotProps, type StatusDotSize, type StatusDotTone, type StatusDotVariantProps, StatusIcon, type StatusIconProps, type StatusMap, type StatusPresentation, type StatusState, type Step, Stepper, type StepperProps, StickyActionBar, type StickyActionBarProps, StickyStack, StickyStackLayer, type StickyStackLayerMode, type StickyStackLayerProps, type StickyStackProps, StickyStackSectionHeader, type StickyStackSectionHeaderProps, StickyStackSticky, type StickyStackStickyProps, SubmitButton, SuiteProgress, type SuiteProgressFillVariantProps, type SuiteProgressProps, type SuiteProgressSize, type SuiteProgressSuiteTone, type SuiteProgressTone, Surface, type SurfaceElevation, type SurfacePadding, type SurfaceProps, type SurfaceRadius, Switch, type SwitchProps, type SwitchSize, TableEmpty, type TableEmptyProps, TableError, type TableErrorProps, TableLoading, type TableLoadingProps, TableProps, type TableStateProps, TableStatesMessages, Tabs, TabsContent, TabsList, TabsTrigger, Text, type TextColor, type TextProps, type TextSize, type TextWeight, Textarea, type TextareaProps, type TextareaSize, TextareaSlot, type TextareaVariant, type TextareaVariants, type TextareaVariantsOptions, type ToastAction, type ToastContextValue, ToastMessages, type ToastOptions, ToastProvider, type ToastVariant, ToggleGroup, type ToggleGroupFormProps, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleGroupSize, type ToggleGroupVariant, Toolbar, type ToolbarProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipMaxWidth, TooltipPortal, type TooltipProps, TooltipProvider, TooltipTrigger, type UseDataTableOptions, type UseFieldControlProps, Variant, VisuallyHidden, YEAR_DISPLAY_PLACEHOLDER, alertVariants, applyMask, applyYearMask, assetPath, attachmentChipVariants, buttonVariants, cardVariants, chipVariants, cn, compareSortValues, dateToIso, defineStatusMap, displayToIso, fileTypeBadgeVariants, fileTypeFromName, filterChipVariants, getAssetBasePath, getFlagEmoji, iconButtonVariants, resolveIconTileVariants as iconTileVariants, inputVariants, isoToDate, isoToDisplay, isoToYear, labelVariants, nextSortDirection, parsePhoneForEditing, progressBarVariants, progressRingVariants, resolveButtonStyle, resolveChipStyle, searchInputVariants, setAssetBasePath, sidebarLinkBadgeVariants, spinnerVariants, starRatingVariants, statusDotVariants, suiteProgressFillVariants, textareaVariants, useConfirm, useDataTable, useFieldControl, usePrompt, useSidebarPeekLock, useSidebarState, useToast, yearToIso };
|
|
6714
|
+
/** {@link useTableDensity} options. @experimental */
|
|
6715
|
+
interface UseTableDensityOptions {
|
|
6716
|
+
/** Persist the choice to `localStorage` under this key. Omitted: in-memory only. */
|
|
6717
|
+
storageKey?: string | undefined;
|
|
6718
|
+
/** The density before a stored value (if any) is read. Default `"comfortable"`. */
|
|
6719
|
+
defaultDensity?: ThemeDensity | undefined;
|
|
6720
|
+
}
|
|
6721
|
+
/** {@link useTableDensity}'s return value. @experimental */
|
|
6722
|
+
interface UseTableDensityResult {
|
|
6723
|
+
density: ThemeDensity;
|
|
6724
|
+
setDensity: (next: ThemeDensity) => void;
|
|
6725
|
+
}
|
|
6726
|
+
/**
|
|
6727
|
+
* The row density a `<Table density>` / `<TableDensityToggle>` pair shares
|
|
6728
|
+
* (target architecture §35, table density).
|
|
6729
|
+
*
|
|
6730
|
+
* SSR-safe by construction: the server and the client's first render both
|
|
6731
|
+
* use `defaultDensity` (a lazy `useState` initializer would read
|
|
6732
|
+
* `localStorage` before hydration and produce a mismatch), and a stored,
|
|
6733
|
+
* non-default value is applied one render later via `useEffect` — the same
|
|
6734
|
+
* pattern `SidebarProvider`'s `storageKey` uses. The trade-off is a one-frame
|
|
6735
|
+
* flash from `defaultDensity` to the stored value; a consumer that cannot
|
|
6736
|
+
* tolerate it should read its own cookie/server value and pass it as
|
|
6737
|
+
* `defaultDensity` instead of `storageKey`.
|
|
6738
|
+
*
|
|
6739
|
+
* ```tsx
|
|
6740
|
+
* const { density, setDensity } = useTableDensity({ storageKey: "clients-table-density" });
|
|
6741
|
+
* <TableDensityToggle value={density} onValueChange={setDensity} />
|
|
6742
|
+
* <Table density={density}>…</Table>
|
|
6743
|
+
* ```
|
|
6744
|
+
*
|
|
6745
|
+
* @experimental
|
|
6746
|
+
*/
|
|
6747
|
+
declare function useTableDensity(options?: UseTableDensityOptions): UseTableDensityResult;
|
|
6748
|
+
|
|
6749
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActivityDotVariant, ActivityEventItem, type ActivityEventItemProps, ActivityItem, type ActivityItemProps, ActivityList, type ActivityListProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AppHeader, AppHeaderActions, type AppHeaderActionsProps, AppHeaderBreadcrumb, type AppHeaderBreadcrumbProps, type AppHeaderProps, AppHeaderSearch, type AppHeaderSearchProps, AppHeaderTitle, type AppHeaderTitleProps, AppSidebar, type AppSidebarClassNames, type AppSidebarItem, type AppSidebarMatch, AppSidebarNav, type AppSidebarNavProps, type AppSidebarProps, type AppSidebarSection, AreaChart, type AreaChartProps, type AreaPoint, AspectRatio, AttachmentChip, type AttachmentChipProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarGroupSize, type AvatarProps, AvatarSlot, BadgeShape, BadgeSize, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, BulkActionBar, BulkActionBarAction, type BulkActionBarActionProps, type BulkActionBarProps, BulkActionBarSeparator, type BulkActionBarVariant, Button, type ButtonEmphasis, type ButtonIconProps, type ButtonIconSize, type ButtonIntent, type ButtonIntentAlias, type ButtonLegacyVariant, type ButtonLook, type ButtonProps, type ButtonSize, type ButtonStyle, type ButtonVariant, type ButtonVariantsProps, COUNTRY_CODES, Calendar, type CalendarBaseProps, type CalendarCaptionLayout, type CalendarHighlight, type CalendarHighlightColor, type CalendarProps, type CalendarRange, type CalendarRangeProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, type CardTitleProps, type CardVariants, type CellValue, Checkbox, type CheckboxChecked, type CheckboxProps, Chip, type ChipIntent, type ChipProps, type ChipSize, type ChipStyle, type ChipVariant, Code, type CodeProps, type CodeVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, ComboboxMultipleProps, ComboboxProps, ComboboxSize, type CommandItem, CommandPalette, CommandPaletteMessages, ConfirmActionButton, type ConfirmActionButtonProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmFn, ConfirmHost, type ConfirmHostProps, type ConfirmInitialFocus, type ConfirmIntent, ConfirmMessages, type ConfirmOptions, type ConfirmPresentation, type ConfirmResult, Content$1 as Content, type ContentProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ControlSize, CopyButton, type CountryCode, CountryFlag, CountrySelect, DATE_DISPLAY_PLACEHOLDER, DEFAULT_PHONE_FIELD_MESSAGES, DangerAction, type DangerActionProps, DataItem, type DataTableAccessor, type DataTableAriaSort, type DataTableColumn, type DataTableColumnVisibilityApi, type DataTableColumnVisibilityState, type DataTableController, type DataTableFilterDefinition, type DataTableFilterValue, type DataTableFiltersApi, type DataTableFiltersState, DataTablePagination, type DataTablePaginationApi, type DataTablePaginationProps, type DataTablePaginationState, DataTablePattern, type DataTablePatternBulkActionsProps, type DataTablePatternColumnsMenuProps, type DataTablePatternContentProps, type DataTablePatternEmptyProps, type DataTablePatternErrorProps, type DataTablePatternFiltersProps, type DataTablePatternLoadingProps, type DataTablePatternPaginationProps, type DataTablePatternProps, type DataTablePatternSearchProps, type DataTablePatternToolbarProps, type DataTableRowModel, type DataTableSearchApi, type DataTableSelectionApi, type DataTableSelectionState, DataTableSlot, type DataTableSortDirection, type DataTableSortValue, type DataTableSortingApi, type DataTableSortingState, type DataTableState, type DatePattern, DatePicker, type DatePickerProps, type DateRangeNames, DateRangePicker, type DateRangePickerProps, type DateRangeValue, DetailGrid, type DetailGridProps, DetailMain, type DetailMainProps, DetailSpine, DetailSpineHeader, type DetailSpineHeaderProps, type DetailSpineProps, DetailSpineSection, type DetailSpineSectionProps, DetailSpineStats, type DetailSpineStatsProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogHeight, type DialogMessages, DialogOverlay, DialogPortal, type DialogPresentation, type DialogSize, DialogTitle, DialogTrigger, DismissibleChip, DisplayMenu, type DisplayMenuOption, type DisplayMenuProps, type DisplayMenuSection, DonutChart, type DonutChartProps, type DonutSegment, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateAlign, type EmptyStateProps, type EmptyStateSize, ErrorState, ErrorStateMessages, type ErrorStateProps, type ErrorStateSize, Eyebrow, type EyebrowProps, Field, FieldControl, type FieldControlProps, type FieldControlWiring, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldMessages, type FieldOrientation, type FieldProps, Fieldset, FieldsetLegend, type FieldsetLegendProps, type FieldsetProps, FileTypeBadge, type FileTypeBadgeProps, type FileTypeTone, FileUpload, FileUploadMessages, type FileUploadProps, FileUploadSlot, type FileUploadVariant, FilterChip, type FilterChipProps, type FolderNode, FolderTree, type FolderTreeProps, FormError, FormSection, FormSuccess, Heading, type HeadingLevel, type HeadingProps, type HeadingSize, HoverCard, HoverCardContent, type HoverCardContentProps, type HoverCardPadding, HoverCardPortal, HoverCardTrigger, type HoverCardWidth, ICON_TILE_TONE_TO_INTENT, IconAction, type IconActionProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonTooltipSide, IconTile, type IconTileIntent, type IconTileProps, type IconTileSize, type IconTileSuiteTone, type IconTileTone, type IconTileVariantProps, InfoHint, type InfoHintPresentation, type InfoHintProps, Inline, type InlineProps, Input, type InputProps$1 as InputProps, type InputSize, type InputSizeAlias, InputSlot, type InputVariant, type InputVariants, type InputVariantsOptions, Intent, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanProps, Kbd, type KbdGlyph, KbdHint, type KbdHintProps, type KbdProps, type KbdVariant, type KeyboardShortcut, type KeyboardShortcutSection, KeyboardShortcutsDialog, type KeyboardShortcutsDialogProps, KeyboardShortcutsMessages, KpiCard, type KpiCardProps, type KpiDelta, Label, type LayoutAlign, type LayoutBreakpoint, type LayoutGap, type LayoutJustify, LinkAction, type LinkActionProps, LinkButton, type LinkButtonProps$1 as LinkButtonProps, LoadingRows, Main, type MainProps, MasterDetailLayout, type MasterDetailLayoutProps, MessageBubble, MessageBubbleAction, type MessageBubbleActionProps, type MessageBubbleProps, MessageBubbleTombstone, type MessageBubbleTombstoneProps, MessageComposer, type MessageComposerProps, MetadataGrid, MultiFilterPill, MultiSelect, MultiSelectField, type MultiSelectProps, MutedSpec, type MutedSpecProps, NotificationFilter, type NotificationFilterProps, type NotificationFilterValue, NotificationItem, type NotificationItemProps, NotificationList, type NotificationListProps, NotificationPanel, NotificationPanelFooter, type NotificationPanelFooterProps, NotificationPanelHeader, type NotificationPanelHeaderProps, type NotificationPanelProps, NumberInput, type NumberInputProps, NumberInputSlot, Numeric, type NumericProps, OTPInput, type OTPInputProps, type OnlyStatuses, Option, PROGRESS_LEGACY_TO_INTENT, PageHeader, type PageHeaderProps, PageHeaderSep, type PageHeaderSepProps, PageHeaderSpec, type PageHeaderSpecProps, Pagination, PaginationMessages, type PaginationProps, PdfPreview, type PdfPreviewProps, PeoplePicker, type PeoplePickerMultipleProps, type PeoplePickerProps, type PeoplePickerSingleProps, type Person, PhoneCountryInput, PhoneField, type PhoneFieldChangeDetails, PhoneFieldMessages, type PhoneFieldProps, PhoneFieldSlot, PhoneInput, Popover, PopoverAnchor, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverPadding, PopoverPortal, PopoverTrigger, type PopoverWidth, Pressable, type PressableProps, PrimaryAction, type PrimaryActionProps, type Priority, PriorityIcon, type PriorityIconProps, ProgressBar, type ProgressBarProps, type ProgressBarVariant, type ProgressBarVariantProps, type ProgressIntent, type ProgressLegacyColour, ProgressRing, type ProgressRingProps, type ProgressRingVariant, type ProgressRingVariantProps, type PromptFn, type PromptOptions, QuestionnairePanel, type QuestionnairePanelGroup, type QuestionnairePanelProps, type QuestionnairePanelSection, type QuestionnairePanelStatus, type QuickReplyChip, RadioGroup, type RadioGroupAppearance, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RankedBar, RankedBars, type RankedBarsProps, type Responsive, ResponsiveDialog, type ResponsiveDialogProps, RouteTransition, type RouteTransitionProps, SPINNER_TONE_TO_INTENT, STATUS_DOT_TONE_TO_INTENT, ScrollArea, ScrollBar, SearchInput, SearchInputMessages, type SearchInputProps, type SearchInputSize, SearchInputSlot, type SearchInputVariants, type SearchInputVariantsOptions, SearchSelect, type SearchSelectOption, type SearchSelectProps, SecondaryAction, type SecondaryActionProps, SectionCard, type SectionCardProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SegmentedProgress, type SegmentedProgressProps, type SegmentedServiceTone, type SegmentedTone, SelectableKpiCard, type SelectableKpiCardProps, Separator, Sheet, SheetBody, type SheetBodyProps, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, type SheetMessages, SheetOverlay, SheetPortal, type SheetSide, type SheetSize, SheetTitle, SheetTrigger, type SheetWidth, Shell, type ShellProps, SideDrawer, Sidebar, SidebarBrand, type SidebarBrandProps, SidebarBrandText, type SidebarBrandTextProps, SidebarDrawer, type SidebarDrawerProps, SidebarFooter, type SidebarFooterProps, SidebarLink, SidebarLinkAction, type SidebarLinkActionProps, SidebarLinkBadge, type SidebarLinkBadgeProps, type SidebarLinkBadgeVariants, SidebarLinkGroup, type SidebarLinkGroupProps, SidebarLinkLabel, type SidebarLinkLabelProps, type SidebarLinkProps, SidebarPinButton, type SidebarPinButtonProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarSection, type SidebarSectionProps, type SidebarState, SidebarTrigger, type SidebarTriggerProps, SidebarUser, type SidebarUserProps, Skeleton, SkeletonCircle, SkeletonText, Slider, type SliderProps, type SliderSize, Spinner, type SpinnerIntent, type SpinnerProps, type SpinnerSize, type SpinnerTone, type SpinnerVariantProps, SpreadsheetPreview, type SpreadsheetPreviewProps, Stack, type StackDirection, type StackProps, StackedBarChart, type StackedBarChartProps, type StackedBarDatum, type StackedBarSeries, StarRating, type StarRatingProps, StatusBadge, type StatusBadgeProps, StatusDot, type StatusDotIntent, type StatusDotProps, type StatusDotSize, type StatusDotTone, type StatusDotVariantProps, StatusIcon, type StatusIconProps, type StatusMap, type StatusPresentation, type StatusState, type Step, Stepper, type StepperProps, StickyActionBar, type StickyActionBarProps, StickyStack, StickyStackLayer, type StickyStackLayerMode, type StickyStackLayerProps, type StickyStackProps, StickyStackSectionHeader, type StickyStackSectionHeaderProps, StickyStackSticky, type StickyStackStickyProps, SubmitButton, SuiteProgress, type SuiteProgressFillVariantProps, type SuiteProgressProps, type SuiteProgressSize, type SuiteProgressSuiteTone, type SuiteProgressTone, Surface, type SurfaceElevation, type SurfacePadding, type SurfaceProps, type SurfaceRadius, Switch, type SwitchProps, type SwitchSize, TableDensityMessages, TableDensityToggle, type TableDensityToggleProps, TableEmpty, type TableEmptyProps, TableError, type TableErrorProps, TableLoading, type TableLoadingProps, TableProps, type TableStateProps, TableStatesMessages, Tabs, TabsContent, TabsList, type TabsListVariant, TabsTrigger, Text, type TextColor, type TextProps, type TextSize, type TextWeight, Textarea, type TextareaProps, type TextareaSize, TextareaSlot, type TextareaVariant, type TextareaVariants, type TextareaVariantsOptions, ThemeDensity, type ToastAction, type ToastContextValue, ToastMessages, type ToastOptions, ToastProvider, type ToastVariant, ToggleGroup, type ToggleGroupFormProps, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleGroupSize, type ToggleGroupVariant, Toolbar, type ToolbarProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipMaxWidth, TooltipPortal, type TooltipProps, TooltipProvider, TooltipTrigger, type UseDataTableOptions, type UseFieldControlProps, type UseTableDensityOptions, type UseTableDensityResult, Variant, VisuallyHidden, YEAR_DISPLAY_PLACEHOLDER, alertVariants, applyMask, applyYearMask, assetPath, attachmentChipVariants, buttonVariants, cardVariants, chipVariants, cn, compareSortValues, dateToIso, defineStatusMap, displayToIso, fileTypeBadgeVariants, fileTypeFromName, filterChipVariants, getAssetBasePath, getFlagEmoji, iconButtonVariants, resolveIconTileVariants as iconTileVariants, inputVariants, isoToDate, isoToDisplay, isoToYear, labelVariants, nextSortDirection, parsePhoneForEditing, progressBarVariants, progressRingVariants, resolveButtonStyle, resolveChipStyle, searchInputVariants, setAssetBasePath, sidebarLinkBadgeVariants, spinnerVariants, starRatingVariants, statusDotVariants, suiteProgressFillVariants, textareaVariants, useConfirm, useDataTable, useFieldControl, usePrompt, useSidebarPeekLock, useSidebarState, useTableDensity, useToast, yearToIso };
|