@assure-one/design-system 1.42.0 → 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-B7w3-y9E.d.ts → brand-scope-BOKu4iOc.d.ts} +1 -1
- package/dist/{chunk-YMRSFVW7.js → chunk-LUWPEBXZ.js} +283 -180
- 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-H53VF62B.js → chunk-TYXT5C2B.js} +92 -10
- package/dist/chunk-TYXT5C2B.js.map +1 -0
- package/dist/{chunk-M2HMZ2RW.js → chunk-XJKCKBHI.js} +11 -11
- package/dist/chunk-XJKCKBHI.js.map +1 -0
- package/dist/css/components.css +1 -1
- package/dist/{data-table-view-BN3GgNdp.d.ts → data-table-view-BWhKeUiw.d.ts} +2 -2
- package/dist/{design-system-provider-CrBRFQjR.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 +232 -50
- package/dist/index.js +516 -227
- package/dist/index.js.map +1 -1
- package/dist/legacy/index.d.ts +3 -3
- 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 +3 -3
- package/dist/suite/index.js +3 -3
- package/dist/{types-aBQCboFH.d.ts → types-DlqmlVyZ.d.ts} +11 -1
- package/docs/components.md +6 -3
- package/docs/components.registry.json +84 -17
- package/package.json +1 -1
- package/dist/chunk-AF3QYJ24.js.map +0 -1
- package/dist/chunk-H53VF62B.js.map +0 -1
- package/dist/chunk-M2HMZ2RW.js.map +0 -1
- package/dist/chunk-YMRSFVW7.js.map +0 -1
|
@@ -3,7 +3,7 @@ import { ReactNode, CSSProperties } from 'react';
|
|
|
3
3
|
import { V as Variant, I as Intent, C as ControlSize, S as Shape } from './vocab-DornLJbW.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
6
|
-
import { S as SelectMessages, T as TableMessages } from './types-
|
|
6
|
+
import { S as SelectMessages, T as TableMessages } from './types-DlqmlVyZ.js';
|
|
7
7
|
import { a as BrandTheme } from './brand-theme-ZYM867Jz.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1313,4 +1313,4 @@ declare function MoneyCell({ value }: {
|
|
|
1313
1313
|
value?: number | null;
|
|
1314
1314
|
}): react_jsx_runtime.JSX.Element;
|
|
1315
1315
|
|
|
1316
|
-
export {
|
|
1316
|
+
export { type DataTableProps as $, Assignee as A, type BadgeProps as B, type CardSlot as C, Dash as D, DataTable as E, type FileKind as F, DataTableBody as G, type DataTableBodyProps as H, type InputSlot as I, DataTableCell as J, DataTableCellDue as K, type DataTableCellDueProps as L, MoneyCell as M, type NumberInputSlot as N, DataTableCellId as O, type PhoneFieldSlot as P, DataTableCellMono as Q, DataTableCellName as R, type SelectSize as S, TagsCell as T, type DataTableCellProps as U, DataTableCheckbox as V, type DataTableCheckboxProps as W, DataTableHead as X, type DataTableHeadProps as Y, DataTableHeader as Z, type DataTableHeaderProps as _, type ServiceTone as a, type TableBodyProps as a$, DataTableResultsCount as a0, type DataTableResultsCountProps as a1, DataTableRow as a2, type DataTableRowProps as a3, DataTableSearch as a4, type DataTableSearchProps as a5, DataTableSpacer as a6, type DataTableSpacerProps as a7, DataTableToolbar as a8, type DataTableToolbarProps as a9, SelectContent as aA, type SelectContentProps as aB, SelectGroup as aC, SelectItem as aD, SelectLabel as aE, type SelectOption as aF, type SelectProps as aG, SelectRoot as aH, SelectScrollDownButton as aI, SelectScrollUpButton as aJ, SelectSeparator as aK, type SelectSlot as aL, SelectTrigger as aM, type SelectTriggerProps as aN, SelectValue as aO, type SheetSlot as aP, type ShellSlot as aQ, type SideDrawerSlot as aR, type SidebarBrandSwitcherSlot as aS, type SidebarSlot as aT, type SortDirection as aU, type StackSlot as aV, type StatusBadgeSlot as aW, type SurfaceSlot as aX, type SwitchSlot as aY, Table as aZ, TableBody as a_, DataTableView as aa, type DataTableViewColumn as ab, type DataTableViewFilter as ac, type DataTableViewProps as ad, type DataTableViewSelection as ae, type DataTableViewSort as af, type DialogSlot as ag, type DropdownMenuSlot as ah, EmptyValue as ai, type FieldSlot as aj, type FieldsetSlot as ak, FileChip as al, type FileChipProps as am, type HeadingSlot as an, type IconButtonSlot as ao, type InlineSlot as ap, type KbdSlot as aq, type LabelSlot as ar, type LinkButtonSlot as as, type PaginationSlot as at, type PopoverSlot as au, type PressableSlot as av, type RadioGroupSlot as aw, SERVICE_TONES as ax, Select as ay, type SelectClassNames as az, StagePill as b, TableCaption as b0, type TableCaptionProps as b1, TableCell as b2, type TableCellAlign as b3, type TableCellCommonProps as b4, type TableCellProps as b5, TableFooter as b6, type TableFooterProps as b7, TableHead as b8, type TableHeadProps as b9, TableHeader as ba, type TableHeaderProps as bb, type TableHeaderStyle as bc, TableRow as bd, type TableRowData as be, type TableRowProps as bf, type TableSlot as bg, type TableSortDirection as bh, type TableStickyEdge as bi, type TableTone as bj, type TextSlot as bk, type ThemeBrand as bl, type ThemeDirection as bm, type ThemeScheme as bn, ThemeScope as bo, type ThemeScopeProps as bp, type ThemeScopeValue as bq, type ToastSlot as br, type TooltipSlot as bs, badgeVariants as bt, resolveBadgeAppearance as bu, serviceToneLabel as bv, serviceToneStyle as bw, type AvatarSlot as c, type FileUploadSlot as d, type SearchInputSlot as e, type ThemeDensity as f, type TextareaSlot as g, type BadgeSize as h, type BadgeShape as i, type DataTableSlot as j, type TableProps as k, type AlertDialogSlot as l, Badge as m, type BadgeAppearance as n, type BadgeAppearanceInput as o, type BadgeLegacyVariant as p, type BadgeSlot as q, type BadgeVariant as r, type BadgeVariantsProps as s, type ButtonSlot as t, type CheckboxSlot as u, type ChipSlot as v, type CodeSlot as w, type ComboboxSlot as x, type CommandSlot as y, type ContextMenuSlot as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ComponentType, AnchorHTMLAttributes, Ref, ReactNode, ImgHTMLAttributes } from 'react';
|
|
3
|
-
import { D as DsMessageNamespace, a as DsMessages, b as DsMessagesOverride } from './types-
|
|
3
|
+
import { D as DsMessageNamespace, a as DsMessages, b as DsMessagesOverride } from './types-DlqmlVyZ.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* L0 foundation (W5-21, ADR-010). The adapters through which the design
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -394,6 +394,10 @@ declare const ReplyIcon: IconComponent;
|
|
|
394
394
|
|
|
395
395
|
declare const RotateCcwIcon: IconComponent;
|
|
396
396
|
|
|
397
|
+
declare const Rows4Icon: IconComponent;
|
|
398
|
+
|
|
399
|
+
declare const RowsIcon: IconComponent;
|
|
400
|
+
|
|
397
401
|
declare const SaveIcon: IconComponent;
|
|
398
402
|
|
|
399
403
|
declare const SearchIcon: IconComponent;
|
|
@@ -487,4 +491,4 @@ declare const ZoomInIcon: IconComponent;
|
|
|
487
491
|
|
|
488
492
|
declare const ZoomOutIcon: IconComponent;
|
|
489
493
|
|
|
490
|
-
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, type IconComponent, type IconDefinition, type IconProps, type 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 };
|
|
494
|
+
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, type IconComponent, type IconDefinition, type IconProps, type 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 };
|
package/dist/icons/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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, 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 '../chunk-
|
|
1
|
+
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, 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 '../chunk-TBDTXAFH.js';
|
|
2
2
|
import '../chunk-YRHRVOLV.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -11,20 +11,20 @@ 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 { c as AvatarSlot, d as FileUploadSlot, I as InputSlot, N as NumberInputSlot, P as PhoneFieldSlot, e as SearchInputSlot, f as
|
|
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-
|
|
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-
|
|
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';
|
|
20
20
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
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
|
|
22
|
-
export { C as ComboboxMessages, D as DsMessageNamespace, a as DsMessages, b as DsMessagesOverride, S as SelectMessages, 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';
|
|
23
23
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
24
24
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
25
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
26
26
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
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, 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';
|
|
28
28
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
29
29
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
30
30
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
@@ -33,11 +33,11 @@ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
|
33
33
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
34
34
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
35
35
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
36
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
37
36
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
37
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
38
38
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
39
39
|
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
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-
|
|
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';
|
|
41
41
|
import { ClassValue } from 'clsx';
|
|
42
42
|
import '@radix-ui/react-select';
|
|
43
43
|
import './brand-theme-ZYM867Jz.js';
|
|
@@ -2596,7 +2596,7 @@ declare const Pressable: React$1.ForwardRefExoticComponent<PressableProps & Reac
|
|
|
2596
2596
|
* Bar COUNT carries the level (1/2/3 rising bars); color reinforces it on an
|
|
2597
2597
|
* escalating cool→warm ramp via `--color-priority-*` tokens (blue → violet →
|
|
2598
2598
|
* amber → red), so the glyph reads the same in light and dark. `none` is three
|
|
2599
|
-
* 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).
|
|
2600
2600
|
* Inactive bars drop to 25% opacity of the same hue.
|
|
2601
2601
|
*/
|
|
2602
2602
|
type Priority = "none" | "low" | "medium" | "high" | "urgent";
|
|
@@ -3721,10 +3721,77 @@ interface SwitchProps extends Omit<React$1.ComponentPropsWithoutRef<typeof Switc
|
|
|
3721
3721
|
}
|
|
3722
3722
|
declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3723
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
|
+
|
|
3724
3786
|
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3725
|
-
|
|
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>>;
|
|
3726
3793
|
declare const triggerVariants: (props?: ({
|
|
3727
|
-
variant?: "pill" | "underline" | null | undefined;
|
|
3794
|
+
variant?: "pill" | "underline" | "segmented" | null | undefined;
|
|
3728
3795
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3729
3796
|
interface TabsTriggerProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, VariantProps<typeof triggerVariants> {
|
|
3730
3797
|
}
|
|
@@ -3875,41 +3942,6 @@ interface ToastProviderProps {
|
|
|
3875
3942
|
}
|
|
3876
3943
|
declare function ToastProvider({ children, messages: messagesProp }: ToastProviderProps): react_jsx_runtime.JSX.Element;
|
|
3877
3944
|
|
|
3878
|
-
declare const itemVariants: (props?: ({
|
|
3879
|
-
variant?: "outline" | "default" | null | undefined;
|
|
3880
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3881
|
-
/** The toggle-group sizes: the shared control scale (A1). */
|
|
3882
|
-
type ToggleGroupSize = ControlSize;
|
|
3883
|
-
/** The item's look: bare (`default`) or with a border (`outline`). */
|
|
3884
|
-
type ToggleGroupVariant = NonNullable<VariantProps<typeof itemVariants>["variant"]>;
|
|
3885
|
-
type RadixRootProps = React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root>;
|
|
3886
|
-
/** The props every group shares, whatever its `type`. */
|
|
3887
|
-
interface ToggleGroupFormProps extends VariantProps<typeof itemVariants> {
|
|
3888
|
-
/** Outer height from the shared control scale (A1). Omitted: today's geometry. */
|
|
3889
|
-
size?: ToggleGroupSize | undefined;
|
|
3890
|
-
/** The form field name. Without it the group does not take part in a form. */
|
|
3891
|
-
name?: string | undefined;
|
|
3892
|
-
/** `id` of the form to submit with when the group is rendered outside it. */
|
|
3893
|
-
form?: string | undefined;
|
|
3894
|
-
/** Block native submission while nothing is pressed. */
|
|
3895
|
-
required?: boolean | undefined;
|
|
3896
|
-
/**
|
|
3897
|
-
* The group is in error: `aria-invalid` and `data-invalid`. Implied by the
|
|
3898
|
-
* surrounding `Field`'s `invalid` or a mounted `FieldError`.
|
|
3899
|
-
*/
|
|
3900
|
-
invalid?: boolean | undefined;
|
|
3901
|
-
/**
|
|
3902
|
-
* Single groups only: submit `name=""` while nothing is pressed (`true`,
|
|
3903
|
-
* the default and what a Select does) or omit the entry (`false`).
|
|
3904
|
-
*/
|
|
3905
|
-
submitEmpty?: boolean | undefined;
|
|
3906
|
-
}
|
|
3907
|
-
type ToggleGroupProps = RadixRootProps & ToggleGroupFormProps;
|
|
3908
|
-
declare const ToggleGroup: React$1.ForwardRefExoticComponent<ToggleGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3909
|
-
interface ToggleGroupItemProps extends React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>, VariantProps<typeof itemVariants> {
|
|
3910
|
-
}
|
|
3911
|
-
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3912
|
-
|
|
3913
3945
|
/** `inline`: one `<code>` in running text. `block`: `<pre><code>`, keeps whitespace, scrolls. */
|
|
3914
3946
|
type CodeVariant = "inline" | "block";
|
|
3915
3947
|
interface CodeProps extends React.HTMLAttributes<HTMLElement> {
|
|
@@ -5127,7 +5159,10 @@ interface SegmentedControlProps<TValue extends string = string> {
|
|
|
5127
5159
|
*/
|
|
5128
5160
|
"aria-label"?: string;
|
|
5129
5161
|
"aria-labelledby"?: string;
|
|
5130
|
-
/**
|
|
5162
|
+
/**
|
|
5163
|
+
* Segment look, as on `ToggleGroup`: `default` (default), `outline`, or
|
|
5164
|
+
* `segmented` (a raised thumb over a quiet track).
|
|
5165
|
+
*/
|
|
5131
5166
|
variant?: ToggleGroupVariant;
|
|
5132
5167
|
/** Height on the shared control scale (A1). Omitted: `ToggleGroup`'s geometry. */
|
|
5133
5168
|
size?: ToggleGroupSize;
|
|
@@ -5288,8 +5323,16 @@ interface SidebarProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
5288
5323
|
* with a soft shadow (modern SaaS pattern). Nav rows get larger
|
|
5289
5324
|
* hit areas and a pill active state. Exposed as `data-variant` so
|
|
5290
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.
|
|
5291
5334
|
*/
|
|
5292
|
-
variant?: "classic" | "floating";
|
|
5335
|
+
variant?: "classic" | "floating" | "flush";
|
|
5293
5336
|
/**
|
|
5294
5337
|
* Whether hovering the collapsed rail transiently expands it.
|
|
5295
5338
|
*
|
|
@@ -5471,6 +5514,110 @@ declare namespace SidebarDrawer {
|
|
|
5471
5514
|
var displayName: string;
|
|
5472
5515
|
}
|
|
5473
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
|
+
|
|
5474
5621
|
/**
|
|
5475
5622
|
* AppHeader — sticky 56px-tall top bar mounted inside `<Main>`, above
|
|
5476
5623
|
* `<Content>`.
|
|
@@ -6564,4 +6711,39 @@ declare function getAssetBasePath(): string;
|
|
|
6564
6711
|
/** Resolve a root-relative design system asset against the configured base. */
|
|
6565
6712
|
declare function assetPath(path: string): string;
|
|
6566
6713
|
|
|
6567
|
-
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, 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, 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 };
|