@assure-one/design-system 1.41.1 → 1.41.2
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/{chunk-KUSY7BLL.js → chunk-AF3QYJ24.js} +3 -3
- package/dist/{chunk-KUSY7BLL.js.map → chunk-AF3QYJ24.js.map} +1 -1
- package/dist/{chunk-XV2VSEA5.js → chunk-JKNHNNNY.js} +11 -9
- package/dist/chunk-JKNHNNNY.js.map +1 -0
- package/dist/{chunk-PTI4B2OI.js → chunk-UAPQ7VTS.js} +19 -17
- package/dist/chunk-UAPQ7VTS.js.map +1 -0
- package/dist/{chunk-NBI7E3VT.js → chunk-XN7OBLQR.js} +234 -214
- package/dist/chunk-XN7OBLQR.js.map +1 -0
- package/dist/{chunk-X76J4QSJ.js → chunk-YRHRVOLV.js} +4 -4
- package/dist/{chunk-X76J4QSJ.js.map → chunk-YRHRVOLV.js.map} +1 -1
- package/dist/css/components.css +1 -1
- package/dist/css/tokens.css +4 -4
- package/dist/icons/index.d.ts +1 -1
- package/dist/icons/index.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +123 -107
- package/dist/index.js.map +1 -1
- package/dist/legacy/index.js +4 -4
- package/dist/{reference-BkDbrPIB.d.ts → reference-B5azRUoi.d.ts} +4 -4
- package/dist/styles.css +1 -1
- package/dist/suite/index.js +4 -4
- package/dist/tokens/index.d.ts +1 -1
- package/dist/tokens/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-NBI7E3VT.js.map +0 -1
- package/dist/chunk-PTI4B2OI.js.map +0 -1
- package/dist/chunk-XV2VSEA5.js.map +0 -1
package/dist/css/tokens.css
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
--ds-color-content-secondary: #38383b;
|
|
18
18
|
--ds-color-content-muted: #5f5f64;
|
|
19
19
|
--ds-color-content-subtle: #6b6b70;
|
|
20
|
-
--ds-color-content-faint: #
|
|
20
|
+
--ds-color-content-faint: #8e8e94;
|
|
21
21
|
--ds-color-border: #e4e7ef;
|
|
22
22
|
--ds-color-border-subtle: #eef0f5;
|
|
23
23
|
--ds-color-border-strong: #d3d8e3;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
--ds-color-feedback-danger-solid-fg: #ffffff;
|
|
96
96
|
--ds-color-feedback-success-solid-fg: #ffffff;
|
|
97
97
|
--ds-selection-fg: var(--ds-color-action-accent-fg);
|
|
98
|
-
--ds-color-content-disabled: #
|
|
98
|
+
--ds-color-content-disabled: #8b8b8f;
|
|
99
99
|
--ds-color-state-disabled-bg: #f1f2f6;
|
|
100
100
|
--ds-color-state-hover: rgba(16, 20, 36, 0.04);
|
|
101
101
|
--ds-color-state-active: rgba(16, 20, 36, 0.07);
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
--ds-color-feedback-danger-border: #ecc5c5;
|
|
144
144
|
--ds-color-priority-low: #3366d6;
|
|
145
145
|
--ds-color-priority-medium: #7642d6;
|
|
146
|
-
--ds-color-priority-high: #
|
|
146
|
+
--ds-color-priority-high: #d57f0a;
|
|
147
147
|
--ds-color-priority-urgent: var(--ds-color-feedback-danger-fg);
|
|
148
148
|
--ds-focus-ring-color: color-mix(in srgb, var(--ds-color-action-brand-bg) 24%, transparent);
|
|
149
149
|
--ds-focus-ring-border: var(--ds-ref-brand-pro-fg);
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
--ds-motion-duration-spatial: var(--ds-ref-duration-slow);
|
|
199
199
|
--ds-motion-duration-deliberate: var(--ds-ref-duration-slower);
|
|
200
200
|
--ds-motion-ease-enter: var(--ds-ref-ease-enter);
|
|
201
|
-
--ds-motion-ease-exit: var(--ds-ref-ease-
|
|
201
|
+
--ds-motion-ease-exit: var(--ds-ref-ease-exit);
|
|
202
202
|
--ds-motion-ease-move: var(--ds-ref-ease-standard);
|
|
203
203
|
--ds-layout-shell-sidebar-width: 200px;
|
|
204
204
|
--ds-layout-shell-sidebar-rail-width: 56px;
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as ControlSize } from '../vocab-DornLJbW.js';
|
|
2
|
-
import { i as iconSizes } from '../reference-
|
|
2
|
+
import { i as iconSizes } from '../reference-B5azRUoi.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import '../system-DfJIVBlJ.js';
|
|
5
5
|
|
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-
|
|
2
|
-
import '../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, 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-AF3QYJ24.js';
|
|
2
|
+
import '../chunk-YRHRVOLV.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ColorName, R as ReferenceTokens, c as colors, r as radii, a as reference, s as shadows, d as spacing, e as surfaces, t as typography } from './reference-
|
|
1
|
+
export { C as ColorName, R as ReferenceTokens, c as colors, r as radii, a as reference, s as shadows, d as spacing, e as surfaces, t as typography } from './reference-B5azRUoi.js';
|
|
2
2
|
export { S as SystemTokens, s as systemTokens } from './system-DfJIVBlJ.js';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import { ReactNode, InputHTMLAttributes, HTMLAttributes, RefCallback, ReactElement, FieldsetHTMLAttributes } from 'react';
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useFormReset, badgeVariants, DataTableBody, DataTableRow, DataTableCell, Badge, Pagination, TableBody, TableRow, TableCell, Table, TableHeader, TableHead, ToggleGroup, ToggleGroupItem } from './chunk-
|
|
3
|
-
export { Badge, DataTable, DataTableBody, DataTableCell, DataTableCellDue, DataTableCellId, DataTableCellMono, DataTableCellName, DataTableCheckbox, DataTableHead, DataTableHeader, DataTablePagination, DataTableResultsCount, DataTableRow, DataTableSearch, DataTableSpacer, DataTableToolbar, DataTableView, EmptyValue, PROGRESS_LEGACY_TO_INTENT, Pagination, ProgressBar, ProgressRing, SERVICE_TONES, STATUS_DOT_TONE_TO_INTENT, SegmentedProgress, StatusDot, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, ToggleGroup, ToggleGroupItem, badgeVariants, compareSortValues, nextSortDirection, progressBarVariants, progressRingVariants, resolveBadgeAppearance, serviceToneLabel, serviceToneStyle, statusDotVariants, useDataTable } from './chunk-
|
|
4
|
-
import { Collapsible, CollapsibleTrigger, CollapsibleContent, PlainLink, Combobox, CmdkCompatContext, Sheet, SheetContent, SheetTitle } from './chunk-
|
|
5
|
-
export { BrandScope, BrandScopeProvider, Chip, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, DEFAULT_COMBOBOX_MESSAGES, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarBrand, SidebarBrandText, SidebarDrawer, SidebarFooter, SidebarLink, SidebarLinkAction, SidebarLinkBadge, SidebarLinkGroup, SidebarLinkLabel, SidebarPinButton, SidebarProvider, SidebarSection, SidebarTrigger, SidebarUser, assetPath, brandScope, chipVariants, getAssetBasePath, resolveChipStyle, setAssetBasePath, sidebarLinkBadgeVariants, useBrandScope, useSidebarPeekLock, useSidebarState } from './chunk-
|
|
6
|
-
import { withPortalContainer, Backdrop, alertDialogAnatomy, OverlaySurface, OverlayTitle, OverlayDescription,
|
|
7
|
-
export { Avatar, Button, Checkbox, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FileChip, FileUpload, IconButton, Input, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, Pressable, SPINNER_TONE_TO_INTENT, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Spinner, Textarea, ThemeScope, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, buttonVariants, iconButtonVariants, inputVariants, resolveButtonStyle, spinnerVariants, textareaVariants, useDsMessages, useFieldControl } from './chunk-
|
|
8
|
-
import { cn, ChevronDownIcon, EyeIcon, DownloadIcon, ChevronRightIcon, CheckIcon, CircleIcon, CopyIcon, CalendarIcon, XIcon, AlertTriangleIcon, ArrowRightIcon, ArrowLeftIcon, FileTextIcon, ZoomOutIcon, ZoomInIcon, TrendingUpIcon, TrendingDownIcon, SearchIcon, TableIcon, StarIcon, ListChecksIcon, CheckCircleSolidIcon, HelpCircleIcon, UserIcon, SendIcon, SettingsIcon, ChevronLeftIcon, FolderOpenIcon, FolderClosedIcon, MinusIcon, AlertCircleIcon, CheckCircle2Icon, PlusIcon, LoaderIcon, InfoCircleSolidIcon, AlertTriangleSolidIcon, XCircleSolidIcon, RotateCcwIcon, InfoIcon, CommandIcon } from './chunk-
|
|
9
|
-
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, cn, createIcon } from './chunk-
|
|
2
|
+
import { useFormReset, badgeVariants, DataTableBody, DataTableRow, DataTableCell, Badge, Pagination, TableBody, TableRow, TableCell, Table, TableHeader, TableHead, ToggleGroup, ToggleGroupItem } from './chunk-UAPQ7VTS.js';
|
|
3
|
+
export { Badge, DataTable, DataTableBody, DataTableCell, DataTableCellDue, DataTableCellId, DataTableCellMono, DataTableCellName, DataTableCheckbox, DataTableHead, DataTableHeader, DataTablePagination, DataTableResultsCount, DataTableRow, DataTableSearch, DataTableSpacer, DataTableToolbar, DataTableView, EmptyValue, PROGRESS_LEGACY_TO_INTENT, Pagination, ProgressBar, ProgressRing, SERVICE_TONES, STATUS_DOT_TONE_TO_INTENT, SegmentedProgress, StatusDot, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, ToggleGroup, ToggleGroupItem, badgeVariants, compareSortValues, nextSortDirection, progressBarVariants, progressRingVariants, resolveBadgeAppearance, serviceToneLabel, serviceToneStyle, statusDotVariants, useDataTable } from './chunk-UAPQ7VTS.js';
|
|
4
|
+
import { Collapsible, CollapsibleTrigger, CollapsibleContent, PlainLink, Combobox, CmdkCompatContext, Sheet, SheetContent, SheetTitle } from './chunk-JKNHNNNY.js';
|
|
5
|
+
export { BrandScope, BrandScopeProvider, Chip, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, DEFAULT_COMBOBOX_MESSAGES, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarBrand, SidebarBrandText, SidebarDrawer, SidebarFooter, SidebarLink, SidebarLinkAction, SidebarLinkBadge, SidebarLinkGroup, SidebarLinkLabel, SidebarPinButton, SidebarProvider, SidebarSection, SidebarTrigger, SidebarUser, assetPath, brandScope, chipVariants, getAssetBasePath, resolveChipStyle, setAssetBasePath, sidebarLinkBadgeVariants, useBrandScope, useSidebarPeekLock, useSidebarState } from './chunk-JKNHNNNY.js';
|
|
6
|
+
import { withPortalContainer, Backdrop, alertDialogAnatomy, OverlaySurface, OverlayTitle, OverlayDescription, Button, slot, useDsMessages, useLinkComponent, surfaceAnatomy, stateAttributes, cardAnatomy, ModalPortal, kbdAnatomy, FieldContext, fieldAnatomy, useFieldContext, MENU_SUB_TRIGGER_CHEVRON, menuSubTriggerClasses, MENU_INSET, contextMenuAnatomy, presence, menuItemClasses, MENU_ITEM_DANGER, MENU_INDICATOR_WELL, MENU_CHECK_GLYPH, menuIndicatorItemClasses, MENU_RADIO_GLYPH, menuLabelClasses, menuSeparatorClasses, useFieldControl, useMergedRefs, joinIds, Popover, PopoverTrigger, PopoverContent, FormBridge, dialogAnatomy, DismissButton, DEFAULT_OVERLAY_MESSAGES, DISMISS_GLYPH_CLASSES, OverlayBody, headingAnatomy, deprecate, floatingSurfaceClasses, FLOATING_PADDING, FLOATING_WIDTH, labelAnatomy, warnLegacyButtonProps, resolveButtonIcons, buttonVariants, INERT_CLASSES, DISABLED_LOOK_CLASSES, inertHandlers, INERT_ATTRIBUTES, linkButtonAnatomy, useControllableState, controlChrome, mergeRefs, numberInputAnatomy, EN_MESSAGES, phoneFieldAnatomy, Input, useFieldsetContext, radioGroupAnatomy, microInteractions, CONTROL_LABEL_TEXT, searchInputAnatomy, IconButton, codeAnatomy, Slot, textAnatomy, stackAnatomy, inlineAnatomy, statusBadgeAnatomy, Tooltip, TooltipTrigger, TooltipContent, useFieldsetState, FieldsetContext, fieldsetAnatomy, useFieldsetLegend, shellAnatomy, Avatar, dataTableAnatomy, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuCheckboxItem, useId as useId$1, partId, errorOnce, isLabelable, Spinner, Select, Checkbox, FIELD_PARTS, SelectRoot, SelectTrigger, SelectValue, SelectContent, SelectItem, OverlayHeader, OverlayFooter, commandAnatomy, menuShortcutClasses, useFormReset as useFormReset$1, sideDrawerAnatomy, Portal, toastAnatomy, useExitPresence, TooltipProvider, TOOLTIP_DEFAULT_DELAY_MS, DesignSystemContext, PortalContainerContext, ModalRoot, ModalOverlay, ModalContent, ModalTitle, ModalDescription } from './chunk-XN7OBLQR.js';
|
|
7
|
+
export { Avatar, Button, Checkbox, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FileChip, FileUpload, IconButton, Input, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, Pressable, SPINNER_TONE_TO_INTENT, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Spinner, Textarea, ThemeScope, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, buttonVariants, iconButtonVariants, inputVariants, resolveButtonStyle, spinnerVariants, textareaVariants, useDsMessages, useFieldControl } from './chunk-XN7OBLQR.js';
|
|
8
|
+
import { cn, ChevronDownIcon, EyeIcon, DownloadIcon, ChevronRightIcon, CheckIcon, CircleIcon, CopyIcon, CalendarIcon, XIcon, AlertTriangleIcon, ArrowRightIcon, ArrowLeftIcon, FileTextIcon, ZoomOutIcon, ZoomInIcon, TrendingUpIcon, TrendingDownIcon, SearchIcon, TableIcon, StarIcon, ListChecksIcon, CheckCircleSolidIcon, HelpCircleIcon, UserIcon, SendIcon, SettingsIcon, ChevronLeftIcon, FolderOpenIcon, FolderClosedIcon, MinusIcon, AlertCircleIcon, CheckCircle2Icon, PlusIcon, LoaderIcon, InfoCircleSolidIcon, AlertTriangleSolidIcon, XCircleSolidIcon, RotateCcwIcon, InfoIcon, CommandIcon } from './chunk-AF3QYJ24.js';
|
|
9
|
+
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, cn, createIcon } from './chunk-AF3QYJ24.js';
|
|
10
10
|
export { systemTokens } from './chunk-CPOGSNXS.js';
|
|
11
11
|
import './chunk-EUHGZA6Q.js';
|
|
12
|
-
export { colors, radii, reference, shadows, spacing, surfaces, typography } from './chunk-
|
|
12
|
+
export { colors, radii, reference, shadows, spacing, surfaces, typography } from './chunk-YRHRVOLV.js';
|
|
13
13
|
import * as React28 from 'react';
|
|
14
14
|
import { forwardRef, useId, useRef, useState, useEffect, createContext, useCallback, useMemo, useImperativeHandle, Children, isValidElement, cloneElement, useSyncExternalStore, useContext } from 'react';
|
|
15
15
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
@@ -143,49 +143,33 @@ var AlertDialogDescription = React28.forwardRef((props, ref) => /* @__PURE__ */
|
|
|
143
143
|
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
144
144
|
var EMPHASES = /* @__PURE__ */ new Set(["solid", "soft", "outline", "ghost", "link"]);
|
|
145
145
|
var isEmphasis = (word) => EMPHASES.has(word);
|
|
146
|
-
var
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
// An emphasis alone keeps the action's meaning (`danger`); a
|
|
162
|
-
// legacy word alone carries its own intent (`primary` → brand).
|
|
163
|
-
intent: intent ?? (variant === void 0 || isEmphasis(variant) ? "danger" : void 0),
|
|
164
|
-
size: "md"
|
|
165
|
-
}),
|
|
166
|
-
className
|
|
167
|
-
),
|
|
168
|
-
...props
|
|
169
|
-
}
|
|
170
|
-
));
|
|
146
|
+
var LEGACY_ACTION_HOVER = "ds:hover:bg-destructive/90";
|
|
147
|
+
var AlertDialogAction = React28.forwardRef(({ variant, intent, className, ...props }, ref) => {
|
|
148
|
+
const legacy = variant === void 0 && intent === void 0;
|
|
149
|
+
const resolvedIntent = intent ?? (variant === void 0 || isEmphasis(variant) ? "danger" : void 0);
|
|
150
|
+
return /* @__PURE__ */ jsx(AlertDialogPrimitive.Action, { ref, asChild: true, ...slot(alertDialogAnatomy, "action"), children: /* @__PURE__ */ jsx(
|
|
151
|
+
Button,
|
|
152
|
+
{
|
|
153
|
+
variant: variant ?? "solid",
|
|
154
|
+
...resolvedIntent !== void 0 ? { intent: resolvedIntent } : {},
|
|
155
|
+
size: "md",
|
|
156
|
+
className: cn(legacy && LEGACY_ACTION_HOVER, className),
|
|
157
|
+
...props
|
|
158
|
+
}
|
|
159
|
+
) });
|
|
160
|
+
});
|
|
171
161
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
172
|
-
var
|
|
173
|
-
|
|
162
|
+
var LEGACY_CANCEL_HOVER = "ds:hover:border-rule-strong ds:hover:text-fg";
|
|
163
|
+
var AlertDialogCancel = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Cancel, { ref, asChild: true, ...slot(alertDialogAnatomy, "cancel"), children: /* @__PURE__ */ jsx(
|
|
164
|
+
Button,
|
|
174
165
|
{
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
className: cn(
|
|
178
|
-
"ds:rounded-btn ds:border-rule-strong ds:bg-surface ds:inline-flex ds:h-10 ds:items-center ds:justify-center ds:border ds:px-4 ds:text-sm ds:font-medium ds:whitespace-nowrap",
|
|
179
|
-
"ds:text-fg-2 ds:transition-colors ds:duration-[var(--duration-fast)] ds:ease-[var(--ease-out-quart)] ds:motion-reduce:transition-none",
|
|
180
|
-
"ds:hover:bg-surface-hover ds:hover:text-fg",
|
|
181
|
-
"ds:focus-visible:[box-shadow:var(--shadow-focus-ring)] ds:focus-visible:outline-none",
|
|
182
|
-
"ds:disabled:bg-bg-disabled ds:disabled:text-fg-disabled ds:disabled:pointer-events-none ds:disabled:cursor-not-allowed",
|
|
183
|
-
className
|
|
184
|
-
),
|
|
166
|
+
variant: "outline",
|
|
167
|
+
size: "md",
|
|
168
|
+
className: cn(LEGACY_CANCEL_HOVER, className),
|
|
185
169
|
...props,
|
|
186
170
|
children: children ?? "Cancel"
|
|
187
171
|
}
|
|
188
|
-
));
|
|
172
|
+
) }));
|
|
189
173
|
AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
|
|
190
174
|
var alertVariants = cva(
|
|
191
175
|
cn(
|
|
@@ -358,12 +342,12 @@ var AreaChart = forwardRef(function AreaChart2({ data, height = 140, formatValue
|
|
|
358
342
|
style: { left: `${pts[hover][0] / width * 100}%` },
|
|
359
343
|
children: [
|
|
360
344
|
/* @__PURE__ */ jsx("span", { className: "ds:block ds:text-xs ds:font-semibold ds:tabular-nums", children: formatValue(data[hover].value) }),
|
|
361
|
-
/* @__PURE__ */ jsx("span", { className: "ds:block ds:text-
|
|
345
|
+
/* @__PURE__ */ jsx("span", { className: "ds:block ds:text-(length:--text-micro) ds:opacity-70", children: data[hover].label })
|
|
362
346
|
]
|
|
363
347
|
}
|
|
364
348
|
)
|
|
365
349
|
] }),
|
|
366
|
-
showAxis && /* @__PURE__ */ jsx("div", { className: "ds:text-fg-4 ds:mt-1.5 ds:flex ds:justify-between ds:text-
|
|
350
|
+
showAxis && /* @__PURE__ */ jsx("div", { className: "ds:text-fg-4 ds:mt-1.5 ds:flex ds:justify-between ds:text-(length:--text-caption) ds:tabular-nums", children: data.map((d) => /* @__PURE__ */ jsx("span", { children: d.label }, d.label)) })
|
|
367
351
|
] });
|
|
368
352
|
});
|
|
369
353
|
AreaChart.displayName = "AreaChart";
|
|
@@ -387,8 +371,9 @@ var fileTypeBadgeVariants = cva(
|
|
|
387
371
|
{
|
|
388
372
|
variants: {
|
|
389
373
|
size: {
|
|
374
|
+
// 9px: off-scale, no type role — left literal (VN/D1-track decision).
|
|
390
375
|
sm: "ds:size-8 ds:rounded-btn ds:text-[9px]",
|
|
391
|
-
md: "ds:size-10 ds:rounded-card ds:text-
|
|
376
|
+
md: "ds:size-10 ds:rounded-card ds:text-(length:--text-micro)"
|
|
392
377
|
}
|
|
393
378
|
},
|
|
394
379
|
defaultVariants: {
|
|
@@ -1185,15 +1170,18 @@ function Calendar({
|
|
|
1185
1170
|
root: "ds:p-3 ds:min-w-[280px]",
|
|
1186
1171
|
months: "ds:flex ds:flex-col ds:gap-4",
|
|
1187
1172
|
...CALENDAR_CAPTION_CLASSNAMES,
|
|
1188
|
-
month_caption: cn(
|
|
1173
|
+
month_caption: cn(
|
|
1174
|
+
CALENDAR_CAPTION_CLASSNAMES.month_caption,
|
|
1175
|
+
"ds:text-(length:--control-font-size-md)"
|
|
1176
|
+
),
|
|
1189
1177
|
month_grid: "ds:w-full ds:border-collapse",
|
|
1190
1178
|
weekdays: "ds:flex",
|
|
1191
|
-
weekday: "ds:flex-1 ds:text-center ds:text-
|
|
1179
|
+
weekday: "ds:flex-1 ds:text-center ds:text-(length:--text-overline) ds:font-medium ds:uppercase ds:tracking-wide ds:text-fg-4 ds:pb-1",
|
|
1192
1180
|
weeks: "",
|
|
1193
1181
|
week: "ds:flex ds:w-full ds:mt-1",
|
|
1194
1182
|
day: "ds:flex-1 ds:text-center ds:relative ds:p-0",
|
|
1195
1183
|
day_button: cn(
|
|
1196
|
-
"ds:inline-flex ds:size-8 ds:w-full ds:items-center ds:justify-center ds:rounded-input ds:font-mono ds:tabular-nums ds:text-
|
|
1184
|
+
"ds:inline-flex ds:size-8 ds:w-full ds:items-center ds:justify-center ds:rounded-input ds:font-mono ds:tabular-nums ds:text-(length:--control-font-size-md) ds:text-fg",
|
|
1197
1185
|
"ds:transition-colors ds:duration-[var(--duration-instant)] ds:motion-reduce:transition-none",
|
|
1198
1186
|
"ds:hover:bg-surface-hover",
|
|
1199
1187
|
"ds:focus-visible:outline-none ds:focus-visible:[box-shadow:var(--shadow-focus-ring)]",
|
|
@@ -1608,7 +1596,7 @@ function CommandPalette({
|
|
|
1608
1596
|
{
|
|
1609
1597
|
className: cn(
|
|
1610
1598
|
"ds:[&_[cmdk-group-heading]]:px-4 ds:[&_[cmdk-group-heading]]:py-1.5",
|
|
1611
|
-
"ds:[&_[cmdk-group-heading]]:font-mono ds:[&_[cmdk-group-heading]]:text-
|
|
1599
|
+
"ds:[&_[cmdk-group-heading]]:font-mono ds:[&_[cmdk-group-heading]]:text-(length:--text-overline)",
|
|
1612
1600
|
"ds:[&_[cmdk-group-heading]]:tracking-[0.14em] ds:[&_[cmdk-group-heading]]:uppercase",
|
|
1613
1601
|
"ds:[&_[cmdk-group-heading]]:text-fg-3"
|
|
1614
1602
|
),
|
|
@@ -2130,7 +2118,11 @@ var ContextMenuLabel = React28.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2130
2118
|
{
|
|
2131
2119
|
ref,
|
|
2132
2120
|
...slot(contextMenuAnatomy, "label"),
|
|
2133
|
-
className: cn(
|
|
2121
|
+
className: cn(
|
|
2122
|
+
menuLabelClasses(PALETTE, "ds:text-(length:--text-overline)"),
|
|
2123
|
+
inset && MENU_INSET,
|
|
2124
|
+
className
|
|
2125
|
+
),
|
|
2134
2126
|
...props
|
|
2135
2127
|
}
|
|
2136
2128
|
));
|
|
@@ -2145,7 +2137,13 @@ var ContextMenuSeparator = React28.forwardRef(({ className, ...props }, ref) =>
|
|
|
2145
2137
|
}
|
|
2146
2138
|
));
|
|
2147
2139
|
ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;
|
|
2148
|
-
var ContextMenuShortcut = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
2140
|
+
var ContextMenuShortcut = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
2141
|
+
"span",
|
|
2142
|
+
{
|
|
2143
|
+
className: cn(menuShortcutClasses(PALETTE, "ds:text-(length:--text-code)"), className),
|
|
2144
|
+
...props
|
|
2145
|
+
}
|
|
2146
|
+
);
|
|
2149
2147
|
ContextMenuShortcut.displayName = "ContextMenuShortcut";
|
|
2150
2148
|
var CopyButton = forwardRef(function CopyButton2({ value, feedbackDuration = 2e3, messages: messagesProp, className, children, ...props }, ref) {
|
|
2151
2149
|
const messages = useDsMessages("copyButton", messagesProp);
|
|
@@ -2207,10 +2205,10 @@ function YearGrid({ selected, onSelect, minYear, maxYear, formatLabel, autoFocus
|
|
|
2207
2205
|
"ds:focus-visible:outline-none ds:focus-visible:[box-shadow:var(--shadow-focus-ring)]",
|
|
2208
2206
|
"ds:disabled:text-fg-disabled ds:disabled:pointer-events-none ds:disabled:cursor-not-allowed"
|
|
2209
2207
|
),
|
|
2210
|
-
children: /* @__PURE__ */ jsx(ChevronLeftIcon, { className: "ds:text-fg-3 ds:size-
|
|
2208
|
+
children: /* @__PURE__ */ jsx(ChevronLeftIcon, { className: "ds:text-fg-3 ds:size-(--control-icon-md)", "aria-hidden": "true" })
|
|
2211
2209
|
}
|
|
2212
2210
|
),
|
|
2213
|
-
/* @__PURE__ */ jsxs("span", { className: "ds:font-display ds:text-fg ds:text-
|
|
2211
|
+
/* @__PURE__ */ jsxs("span", { className: "ds:font-display ds:text-fg ds:text-(length:--control-font-size-md) ds:font-medium ds:tabular-nums", children: [
|
|
2214
2212
|
startYear,
|
|
2215
2213
|
" \u2013 ",
|
|
2216
2214
|
startYear + 11
|
|
@@ -2229,7 +2227,7 @@ function YearGrid({ selected, onSelect, minYear, maxYear, formatLabel, autoFocus
|
|
|
2229
2227
|
"ds:focus-visible:outline-none ds:focus-visible:[box-shadow:var(--shadow-focus-ring)]",
|
|
2230
2228
|
"ds:disabled:text-fg-disabled ds:disabled:pointer-events-none ds:disabled:cursor-not-allowed"
|
|
2231
2229
|
),
|
|
2232
|
-
children: /* @__PURE__ */ jsx(ChevronRightIcon, { className: "ds:text-fg-3 ds:size-
|
|
2230
|
+
children: /* @__PURE__ */ jsx(ChevronRightIcon, { className: "ds:text-fg-3 ds:size-(--control-icon-md)", "aria-hidden": "true" })
|
|
2233
2231
|
}
|
|
2234
2232
|
)
|
|
2235
2233
|
] }),
|
|
@@ -2248,7 +2246,7 @@ function YearGrid({ selected, onSelect, minYear, maxYear, formatLabel, autoFocus
|
|
|
2248
2246
|
"aria-pressed": isSelected,
|
|
2249
2247
|
"aria-current": isToday ? "date" : void 0,
|
|
2250
2248
|
className: cn(
|
|
2251
|
-
"ds:rounded-input ds:font-mono ds:text-
|
|
2249
|
+
"ds:rounded-input ds:font-mono ds:text-(length:--control-font-size-md) ds:tabular-nums",
|
|
2252
2250
|
"ds:inline-flex ds:h-10 ds:items-center ds:justify-center",
|
|
2253
2251
|
"ds:transition-colors ds:duration-[var(--duration-instant)] ds:motion-reduce:transition-none",
|
|
2254
2252
|
"ds:hover:bg-surface-hover",
|
|
@@ -2419,7 +2417,7 @@ var DatePicker = forwardRef(function DatePicker2({
|
|
|
2419
2417
|
const minYear = min ? Number(isoToYear(min)) : void 0;
|
|
2420
2418
|
const maxYear = max ? Number(isoToYear(max)) : void 0;
|
|
2421
2419
|
return /* @__PURE__ */ jsxs("div", { className: cn("ds:w-full", className), children: [
|
|
2422
|
-
label && /* @__PURE__ */ jsxs("label", { htmlFor: id, className: "ds:text-fg ds:mb-1.5 ds:block ds:text-
|
|
2420
|
+
label && /* @__PURE__ */ jsxs("label", { htmlFor: id, className: "ds:text-fg ds:mb-1.5 ds:block ds:text-(length:--control-font-size-md) ds:leading-none ds:font-medium", children: [
|
|
2423
2421
|
label,
|
|
2424
2422
|
wiring.required && /* @__PURE__ */ jsx("span", { className: "ds:text-danger-fg ds:ml-0.5", "aria-hidden": "true", children: "*" })
|
|
2425
2423
|
] }),
|
|
@@ -2445,7 +2443,7 @@ var DatePicker = forwardRef(function DatePicker2({
|
|
|
2445
2443
|
"aria-labelledby": wiring["aria-labelledby"],
|
|
2446
2444
|
"aria-label": ariaLabel,
|
|
2447
2445
|
className: cn(
|
|
2448
|
-
"ds:rounded-input ds:bg-surface ds:text-fg ds:flex ds:h-9 ds:w-full ds:border ds:font-mono ds:text-
|
|
2446
|
+
"ds:rounded-input ds:bg-surface ds:text-fg ds:flex ds:h-9 ds:w-full ds:border ds:font-mono ds:text-(length:--control-font-size-md) ds:tabular-nums",
|
|
2449
2447
|
"ds:border-field-border ds:py-2",
|
|
2450
2448
|
iconPosition === "left" ? "ds:pl-10 ds:pr-3" : "ds:pl-3 ds:pr-10",
|
|
2451
2449
|
"ds:transition-[color,background-color,border-color,box-shadow] ds:duration-[var(--duration-fast)] ds:ease-[var(--ease-out-quart)]",
|
|
@@ -2479,7 +2477,7 @@ var DatePicker = forwardRef(function DatePicker2({
|
|
|
2479
2477
|
"ds:focus-visible:[box-shadow:var(--shadow-focus-ring)] ds:focus-visible:outline-none",
|
|
2480
2478
|
"ds:disabled:text-fg-disabled ds:disabled:cursor-not-allowed ds:disabled:hover:bg-transparent"
|
|
2481
2479
|
),
|
|
2482
|
-
children: /* @__PURE__ */ jsx(CalendarIcon, { className: "ds:size-
|
|
2480
|
+
children: /* @__PURE__ */ jsx(CalendarIcon, { className: "ds:size-(--control-icon-md)", "aria-hidden": "true" })
|
|
2483
2481
|
}
|
|
2484
2482
|
) }),
|
|
2485
2483
|
/* @__PURE__ */ jsx(
|
|
@@ -2647,7 +2645,7 @@ var DateRangePicker = forwardRef(
|
|
|
2647
2645
|
const iconNode = /* @__PURE__ */ jsx(
|
|
2648
2646
|
CalendarIcon,
|
|
2649
2647
|
{
|
|
2650
|
-
className: cn("ds:size-
|
|
2648
|
+
className: cn("ds:size-(--control-icon-md) ds:shrink-0", isDisabled ? "ds:text-fg-disabled" : "ds:text-fg-3"),
|
|
2651
2649
|
"aria-hidden": "true"
|
|
2652
2650
|
}
|
|
2653
2651
|
);
|
|
@@ -2663,7 +2661,7 @@ var DateRangePicker = forwardRef(
|
|
|
2663
2661
|
{
|
|
2664
2662
|
id: labelId,
|
|
2665
2663
|
htmlFor: id,
|
|
2666
|
-
className: "ds:text-fg ds:mb-1.5 ds:block ds:text-
|
|
2664
|
+
className: "ds:text-fg ds:mb-1.5 ds:block ds:text-(length:--control-font-size-md) ds:leading-none ds:font-medium",
|
|
2667
2665
|
children: [
|
|
2668
2666
|
label,
|
|
2669
2667
|
isRequired && /* @__PURE__ */ jsx("span", { className: "ds:text-danger-fg ds:ml-0.5", "aria-hidden": "true", children: "*" })
|
|
@@ -2685,7 +2683,7 @@ var DateRangePicker = forwardRef(
|
|
|
2685
2683
|
"aria-haspopup": "dialog",
|
|
2686
2684
|
"aria-expanded": open,
|
|
2687
2685
|
className: cn(
|
|
2688
|
-
"ds:rounded-input ds:bg-surface ds:flex ds:h-9 ds:w-full ds:cursor-pointer ds:items-center ds:border ds:font-mono ds:text-
|
|
2686
|
+
"ds:rounded-input ds:bg-surface ds:flex ds:h-9 ds:w-full ds:cursor-pointer ds:items-center ds:border ds:font-mono ds:text-(length:--control-font-size-md) ds:tabular-nums",
|
|
2689
2687
|
"ds:border-field-border ds:px-3 ds:py-2 ds:gap-2",
|
|
2690
2688
|
"ds:transition-[color,background-color,border-color,box-shadow] ds:duration-[var(--duration-fast)] ds:ease-[var(--ease-out-quart)]",
|
|
2691
2689
|
"ds:motion-reduce:transition-none",
|
|
@@ -2913,7 +2911,7 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
|
2913
2911
|
var chipVariants2 = cva(
|
|
2914
2912
|
cn(
|
|
2915
2913
|
"ds:inline-flex ds:items-center ds:gap-1 ds:rounded-full ds:px-2.5 ds:py-1",
|
|
2916
|
-
"ds:text-
|
|
2914
|
+
"ds:text-(length:--text-helper) ds:font-medium",
|
|
2917
2915
|
"ds:transition-colors ds:duration-[var(--duration-fast)] ds:ease-[var(--ease-out-quart)]",
|
|
2918
2916
|
"ds:motion-reduce:transition-none",
|
|
2919
2917
|
"ds:focus-visible:outline-none ds:focus-visible:[box-shadow:var(--shadow-focus-ring)]"
|
|
@@ -3598,7 +3596,7 @@ function KeyboardShortcutsDialog({
|
|
|
3598
3596
|
{
|
|
3599
3597
|
className: cn(
|
|
3600
3598
|
"ds:mb-2.5 ds:inline-flex ds:items-center ds:gap-1.5",
|
|
3601
|
-
"ds:text-fg-3 ds:font-mono ds:text-
|
|
3599
|
+
"ds:text-fg-3 ds:font-mono ds:text-(length:--text-overline) ds:tracking-[0.14em] ds:uppercase"
|
|
3602
3600
|
),
|
|
3603
3601
|
children: [
|
|
3604
3602
|
section.icon,
|
|
@@ -3613,7 +3611,7 @@ function KeyboardShortcutsDialog({
|
|
|
3613
3611
|
children: [
|
|
3614
3612
|
/* @__PURE__ */ jsx("span", { className: "ds:text-fg ds:text-sm", children: shortcut.description }),
|
|
3615
3613
|
/* @__PURE__ */ jsx("div", { className: "ds:flex ds:shrink-0 ds:items-center ds:gap-1", children: shortcut.keys.map((key, i) => /* @__PURE__ */ jsxs(React28.Fragment, { children: [
|
|
3616
|
-
i > 0 && /* @__PURE__ */ jsx("span", { className: "ds:text-fg-4 ds:mx-0.5 ds:text-
|
|
3614
|
+
i > 0 && /* @__PURE__ */ jsx("span", { className: "ds:text-fg-4 ds:mx-0.5 ds:text-(length:--text-caption)", children: messages.then }),
|
|
3617
3615
|
/* @__PURE__ */ jsx(Kbd, { children: key })
|
|
3618
3616
|
] }, i)) })
|
|
3619
3617
|
]
|
|
@@ -3621,7 +3619,7 @@ function KeyboardShortcutsDialog({
|
|
|
3621
3619
|
shortcut.description
|
|
3622
3620
|
)) })
|
|
3623
3621
|
] }, section.title)) }) }),
|
|
3624
|
-
/* @__PURE__ */ jsx("div", { className: "ds:border-rule ds:bg-bg-2/40 ds:border-t ds:px-5 ds:py-3", children: /* @__PURE__ */ jsxs("p", { className: "ds:text-fg-3 ds:text-
|
|
3622
|
+
/* @__PURE__ */ jsx("div", { className: "ds:border-rule ds:bg-bg-2/40 ds:border-t ds:px-5 ds:py-3", children: /* @__PURE__ */ jsxs("p", { className: "ds:text-fg-3 ds:text-(length:--text-caption)", children: [
|
|
3625
3623
|
messages.hintPrefix,
|
|
3626
3624
|
" ",
|
|
3627
3625
|
/* @__PURE__ */ jsx(Kbd, { children: hotkey ?? "?" }),
|
|
@@ -3631,7 +3629,7 @@ function KeyboardShortcutsDialog({
|
|
|
3631
3629
|
] }) });
|
|
3632
3630
|
}
|
|
3633
3631
|
var labelVariants = cva(
|
|
3634
|
-
"ds:text-
|
|
3632
|
+
"ds:text-(length:--text-label) ds:font-medium ds:leading-none ds:text-fg ds:select-none ds:peer-disabled:cursor-not-allowed ds:peer-disabled:text-fg-disabled ds:has-[+input:disabled]:text-fg-disabled"
|
|
3635
3633
|
);
|
|
3636
3634
|
var Label2 = React28.forwardRef(
|
|
3637
3635
|
function Label3({ children, required, className, id, htmlFor, onClick, ...props }, ref) {
|
|
@@ -3940,9 +3938,9 @@ var MasterDetailLayout = forwardRef(
|
|
|
3940
3938
|
);
|
|
3941
3939
|
MasterDetailLayout.displayName = "MasterDetailLayout";
|
|
3942
3940
|
var TRIGGER_SIZE = {
|
|
3943
|
-
sm: "ds:h-
|
|
3944
|
-
md: "ds:h-
|
|
3945
|
-
lg: "ds:h-
|
|
3941
|
+
sm: "ds:h-(--multi-filter-pill-height-sm) ds:gap-1.5 ds:px-2.5 ds:text-(length:--control-font-size-md)",
|
|
3942
|
+
md: "ds:h-(--multi-filter-pill-height-md) ds:gap-2 ds:px-3 ds:text-sm",
|
|
3943
|
+
lg: "ds:h-(--multi-filter-pill-height-lg) ds:gap-2 ds:px-3.5 ds:text-base"
|
|
3946
3944
|
};
|
|
3947
3945
|
function MultiFilterPill({
|
|
3948
3946
|
label,
|
|
@@ -4040,7 +4038,7 @@ function MultiFilterPill({
|
|
|
4040
4038
|
"aria-selected": isSelected,
|
|
4041
4039
|
onClick: () => onToggle(opt.key),
|
|
4042
4040
|
className: cn(
|
|
4043
|
-
"ds:rounded-pill ds:flex ds:w-full ds:cursor-default ds:items-center ds:gap-2 ds:px-2 ds:py-1.5 ds:text-
|
|
4041
|
+
"ds:rounded-pill ds:flex ds:w-full ds:cursor-default ds:items-center ds:gap-2 ds:px-2 ds:py-1.5 ds:text-(length:--control-font-size-md) ds:outline-none ds:select-none",
|
|
4044
4042
|
"ds:text-fg-2 ds:transition-colors ds:duration-[var(--duration-fast)] ds:ease-[var(--ease-out-quart)]",
|
|
4045
4043
|
"ds:motion-reduce:transition-none",
|
|
4046
4044
|
"ds:hover:bg-surface-hover ds:hover:text-fg",
|
|
@@ -4080,7 +4078,7 @@ function MultiFilterPill({
|
|
|
4080
4078
|
type: "button",
|
|
4081
4079
|
onClick: onClear,
|
|
4082
4080
|
className: cn(
|
|
4083
|
-
"ds:rounded-pill ds:flex ds:w-full ds:items-center ds:justify-center ds:px-2 ds:py-1.5 ds:text-
|
|
4081
|
+
"ds:rounded-pill ds:flex ds:w-full ds:items-center ds:justify-center ds:px-2 ds:py-1.5 ds:text-(length:--text-helper) ds:outline-none",
|
|
4084
4082
|
"ds:text-fg-3 ds:transition-colors ds:duration-[var(--duration-fast)] ds:ease-[var(--ease-out-quart)]",
|
|
4085
4083
|
"ds:motion-reduce:transition-none",
|
|
4086
4084
|
"ds:hover:bg-surface-hover ds:hover:text-fg",
|
|
@@ -4125,7 +4123,7 @@ function MultiSelectField({
|
|
|
4125
4123
|
"div",
|
|
4126
4124
|
{
|
|
4127
4125
|
id: `${groupId}-label`,
|
|
4128
|
-
className: "ds:text-fg ds:mb-1.5 ds:block ds:text-
|
|
4126
|
+
className: "ds:text-fg ds:mb-1.5 ds:block ds:text-(length:--control-font-size-md) ds:leading-none ds:font-medium",
|
|
4129
4127
|
children: label
|
|
4130
4128
|
}
|
|
4131
4129
|
),
|
|
@@ -5329,7 +5327,8 @@ PhoneInput.displayName = "PhoneInput";
|
|
|
5329
5327
|
function CountryFlag2({ iso }) {
|
|
5330
5328
|
const flags = useCountryFlags();
|
|
5331
5329
|
const Flag = flags?.[iso];
|
|
5332
|
-
if (flags !== null && !Flag)
|
|
5330
|
+
if (flags !== null && !Flag)
|
|
5331
|
+
return /* @__PURE__ */ jsx("span", { className: "ds:text-(length:--text-micro) ds:font-mono", children: iso });
|
|
5333
5332
|
const Tag = Flag ?? "span";
|
|
5334
5333
|
return /* @__PURE__ */ jsx(
|
|
5335
5334
|
Tag,
|
|
@@ -5403,20 +5402,34 @@ function CountrySelect({
|
|
|
5403
5402
|
if (e.key !== "Escape") e.stopPropagation();
|
|
5404
5403
|
},
|
|
5405
5404
|
children: [
|
|
5406
|
-
/* @__PURE__ */ jsx("div", { className: "ds:rounded-t-card ds:border-b ds:border-rule ds:px-3 ds:py-2.5", children: /* @__PURE__ */ jsxs(
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5405
|
+
/* @__PURE__ */ jsx("div", { className: "ds:rounded-t-card ds:border-b ds:border-rule ds:px-3 ds:py-2.5", children: /* @__PURE__ */ jsxs(
|
|
5406
|
+
"div",
|
|
5407
|
+
{
|
|
5408
|
+
className: cn(
|
|
5409
|
+
"ds:rounded-input ds:flex ds:items-center ds:gap-2 ds:border ds:border-field-border ds:bg-surface ds:px-2.5",
|
|
5410
|
+
// The visible input here suppresses its own outline
|
|
5411
|
+
// (`ds:focus:outline-none` below); this wrapper carries the
|
|
5412
|
+
// ring instead, the same `focus-within` field-halo pattern
|
|
5413
|
+
// `CONTROL_FRAME` uses in combobox.tsx — this search field had
|
|
5414
|
+
// no focus indicator at all before (W-polish-2, control-states).
|
|
5415
|
+
"ds:focus-within:[border-color:var(--focus-ring-border)] ds:focus-within:[box-shadow:var(--shadow-focus-ring-field)]"
|
|
5416
|
+
),
|
|
5417
|
+
children: [
|
|
5418
|
+
/* @__PURE__ */ jsx(SearchIcon, { className: "ds:size-3.5 ds:shrink-0 ds:text-fg-3", "aria-hidden": "true" }),
|
|
5419
|
+
/* @__PURE__ */ jsx(
|
|
5420
|
+
"input",
|
|
5421
|
+
{
|
|
5422
|
+
ref: searchRef,
|
|
5423
|
+
value: search,
|
|
5424
|
+
onChange: (e) => setSearch(e.target.value),
|
|
5425
|
+
onKeyDown: (e) => e.stopPropagation(),
|
|
5426
|
+
placeholder: messages.searchCountries,
|
|
5427
|
+
className: "ds:h-8 ds:flex-1 ds:bg-transparent ds:text-xs ds:text-fg ds:placeholder:text-fg-3 ds:focus:outline-none"
|
|
5428
|
+
}
|
|
5429
|
+
)
|
|
5430
|
+
]
|
|
5431
|
+
}
|
|
5432
|
+
) }),
|
|
5420
5433
|
/* @__PURE__ */ jsx(
|
|
5421
5434
|
"div",
|
|
5422
5435
|
{
|
|
@@ -5656,7 +5669,10 @@ var RadioGroupItem = React28.forwardRef(function RadioGroupItem2({
|
|
|
5656
5669
|
{
|
|
5657
5670
|
htmlFor: id,
|
|
5658
5671
|
...slot(radioGroupAnatomy, "label"),
|
|
5659
|
-
className: card ? "ds:text-fg ds:group-has-[:disabled]:text-fg-disabled ds:text-label ds:leading-4 ds:cursor-pointer ds:select-none ds:after:absolute ds:after:inset-0 ds:group-has-[:disabled]:cursor-not-allowed" :
|
|
5672
|
+
className: card ? "ds:text-fg ds:group-has-[:disabled]:text-fg-disabled ds:text-label ds:leading-4 ds:cursor-pointer ds:select-none ds:after:absolute ds:after:inset-0 ds:group-has-[:disabled]:cursor-not-allowed" : cn(
|
|
5673
|
+
"ds:text-fg ds:peer-disabled:text-fg-disabled ds:cursor-pointer ds:leading-none ds:select-none ds:peer-disabled:cursor-not-allowed",
|
|
5674
|
+
CONTROL_LABEL_TEXT
|
|
5675
|
+
),
|
|
5660
5676
|
children: label
|
|
5661
5677
|
}
|
|
5662
5678
|
) : null;
|
|
@@ -6080,7 +6096,7 @@ function renderSearchSelectRow(row, hasLeadingDot) {
|
|
|
6080
6096
|
style: { backgroundColor: source.color },
|
|
6081
6097
|
"aria-hidden": "true"
|
|
6082
6098
|
}
|
|
6083
|
-
) : hasLeadingDot && /* @__PURE__ */ jsx(CheckIcon, { className: "ds:size-
|
|
6099
|
+
) : hasLeadingDot && /* @__PURE__ */ jsx(CheckIcon, { className: "ds:size-(--control-icon-md) ds:shrink-0 ds:text-transparent", "aria-hidden": "true" }),
|
|
6084
6100
|
/* @__PURE__ */ jsx("span", { className: "ds:line-clamp-1", children: source.label })
|
|
6085
6101
|
] });
|
|
6086
6102
|
}
|
|
@@ -6220,7 +6236,7 @@ function SearchSelect({
|
|
|
6220
6236
|
type: "button",
|
|
6221
6237
|
onClick: () => setActiveChip(chip),
|
|
6222
6238
|
className: cn(
|
|
6223
|
-
"ds:rounded-pill ds:px-2.5 ds:py-0.5 ds:text-
|
|
6239
|
+
"ds:rounded-pill ds:px-2.5 ds:py-0.5 ds:text-(length:--text-helper) ds:font-medium",
|
|
6224
6240
|
"ds:transition-colors ds:duration-[var(--duration-fast)] ds:ease-[var(--ease-out-quart)] ds:motion-reduce:transition-none",
|
|
6225
6241
|
active ? "ds:bg-brand ds:text-fg-on-brand" : "ds:border-rule ds:text-fg-2 ds:hover:bg-surface-hover ds:border ds:bg-transparent"
|
|
6226
6242
|
),
|
|
@@ -6239,14 +6255,14 @@ function SearchSelect({
|
|
|
6239
6255
|
setOpen(false);
|
|
6240
6256
|
},
|
|
6241
6257
|
className: cn(
|
|
6242
|
-
"ds:text-brand ds:flex ds:w-full ds:shrink-0 ds:items-center ds:gap-2 ds:px-3 ds:py-2.5 ds:text-
|
|
6258
|
+
"ds:text-brand ds:flex ds:w-full ds:shrink-0 ds:items-center ds:gap-2 ds:px-3 ds:py-2.5 ds:text-(length:--control-font-size-md) ds:font-medium",
|
|
6243
6259
|
"ds:transition-colors ds:duration-[var(--duration-fast)] ds:ease-[var(--ease-out-quart)]",
|
|
6244
6260
|
"ds:motion-reduce:transition-none",
|
|
6245
6261
|
"ds:hover:bg-brand-bg",
|
|
6246
6262
|
"ds:focus-visible:[box-shadow:var(--shadow-focus-ring)] ds:focus-visible:outline-none"
|
|
6247
6263
|
),
|
|
6248
6264
|
children: [
|
|
6249
|
-
/* @__PURE__ */ jsx(PlusIcon, { className: "ds:size-
|
|
6265
|
+
/* @__PURE__ */ jsx(PlusIcon, { className: "ds:size-(--control-icon-md) ds:shrink-0", "aria-hidden": "true" }),
|
|
6250
6266
|
createNewLabel
|
|
6251
6267
|
]
|
|
6252
6268
|
}
|
|
@@ -6279,7 +6295,7 @@ function SearchSelect({
|
|
|
6279
6295
|
renderOption: (row) => renderSearchSelectRow(row, hasLeadingDot)
|
|
6280
6296
|
};
|
|
6281
6297
|
const CHIP_CLASSES = cn(
|
|
6282
|
-
"ds:rounded-pill ds:border-rule ds:inline-flex ds:items-center ds:gap-1 ds:border ds:px-2 ds:py-0.5 ds:text-
|
|
6298
|
+
"ds:rounded-pill ds:border-rule ds:inline-flex ds:items-center ds:gap-1 ds:border ds:px-2 ds:py-0.5 ds:text-(length:--text-helper)",
|
|
6283
6299
|
"ds:bg-bg-2 ds:font-body ds:text-fg-2"
|
|
6284
6300
|
);
|
|
6285
6301
|
const CHIP_REMOVE_CLASSES = cn(
|
|
@@ -6536,11 +6552,11 @@ var Slider = React28.forwardRef(
|
|
|
6536
6552
|
"label",
|
|
6537
6553
|
{
|
|
6538
6554
|
htmlFor: wiring.id,
|
|
6539
|
-
className: "ds:text-fg ds:text-
|
|
6555
|
+
className: "ds:text-fg ds:text-(length:--text-label) ds:leading-none ds:font-medium",
|
|
6540
6556
|
children: label
|
|
6541
6557
|
}
|
|
6542
6558
|
) : /* @__PURE__ */ jsx("span", {}),
|
|
6543
|
-
showValue && /* @__PURE__ */ jsx("span", { className: "ds:text-fg-3 ds:font-mono ds:text-
|
|
6559
|
+
showValue && /* @__PURE__ */ jsx("span", { className: "ds:text-fg-3 ds:font-mono ds:text-(length:--text-helper)", children: displayValue })
|
|
6544
6560
|
] }),
|
|
6545
6561
|
/* @__PURE__ */ jsxs(
|
|
6546
6562
|
SliderPrimitive.Root,
|
|
@@ -6621,7 +6637,7 @@ function columnLabel(index) {
|
|
|
6621
6637
|
}
|
|
6622
6638
|
var headerCell = cn(
|
|
6623
6639
|
"ds:border-rule-soft ds:bg-bg-2 ds:text-fg-4 ds:sticky ds:border-b ds:border-r",
|
|
6624
|
-
"ds:font-mono ds:text-
|
|
6640
|
+
"ds:font-mono ds:text-(length:--text-code) ds:font-medium",
|
|
6625
6641
|
"ds:select-none"
|
|
6626
6642
|
);
|
|
6627
6643
|
var SpreadsheetPreview = forwardRef(
|
|
@@ -6868,7 +6884,7 @@ var StackedBarChart = forwardRef(
|
|
|
6868
6884
|
showYAxis && /* @__PURE__ */ jsx(
|
|
6869
6885
|
"div",
|
|
6870
6886
|
{
|
|
6871
|
-
className: "ds:text-fg-4 ds:relative ds:shrink-0 ds:text-
|
|
6887
|
+
className: "ds:text-fg-4 ds:relative ds:shrink-0 ds:text-(length:--text-caption) ds:tabular-nums",
|
|
6872
6888
|
style: { width: Y_GUTTER, height },
|
|
6873
6889
|
"aria-hidden": true,
|
|
6874
6890
|
children: ticks.map((t) => /* @__PURE__ */ jsx(
|
|
@@ -6962,7 +6978,7 @@ var StackedBarChart = forwardRef(
|
|
|
6962
6978
|
);
|
|
6963
6979
|
}) })
|
|
6964
6980
|
] }),
|
|
6965
|
-
showXAxis && /* @__PURE__ */ jsx("div", { className: "ds:text-fg-3 ds:mt-2 ds:flex ds:gap-3 ds:text-
|
|
6981
|
+
showXAxis && /* @__PURE__ */ jsx("div", { className: "ds:text-fg-3 ds:mt-2 ds:flex ds:gap-3 ds:text-(length:--text-caption)", children: bars.map((bar, i) => /* @__PURE__ */ jsx(
|
|
6966
6982
|
"div",
|
|
6967
6983
|
{
|
|
6968
6984
|
className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:gap-1.5 ds:truncate ds:text-center",
|
|
@@ -6991,7 +7007,7 @@ var StackedBarChart = forwardRef(
|
|
|
6991
7007
|
),
|
|
6992
7008
|
formatValue(hover.value)
|
|
6993
7009
|
] }),
|
|
6994
|
-
/* @__PURE__ */ jsx("span", { className: "ds:block ds:text-
|
|
7010
|
+
/* @__PURE__ */ jsx("span", { className: "ds:block ds:text-(length:--text-micro) ds:opacity-70", children: (() => {
|
|
6995
7011
|
const col = bars[hover.barIndex];
|
|
6996
7012
|
const colLabel = col?.tooltipLabel ?? (typeof col?.label === "string" ? col.label : "");
|
|
6997
7013
|
return colLabel ? `${colLabel} \xB7 ${hover.label}` : hover.label;
|
|
@@ -9753,9 +9769,9 @@ var filterChipVariants = cva(
|
|
|
9753
9769
|
// Control text scale shared with Button / MultiFilterPill: sm = 13px,
|
|
9754
9770
|
// md = 14px, lg = 16px. Defaults to the dense `sm` tier (toolbar control).
|
|
9755
9771
|
size: {
|
|
9756
|
-
sm: "ds:h-
|
|
9757
|
-
md: "ds:h-
|
|
9758
|
-
lg: "ds:h-
|
|
9772
|
+
sm: "ds:h-(--filter-chip-height-sm) ds:px-3 ds:text-[13px]",
|
|
9773
|
+
md: "ds:h-(--filter-chip-height-md) ds:px-3.5 ds:text-sm",
|
|
9774
|
+
lg: "ds:h-(--filter-chip-height-lg) ds:px-4 ds:text-base"
|
|
9759
9775
|
}
|
|
9760
9776
|
},
|
|
9761
9777
|
defaultVariants: {
|