@assure-one/design-system 1.44.0 → 1.45.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.
@@ -1,5 +1,5 @@
1
- import { slot, badgeAnatomy, stateAttributes, useDsMessages, deprecate, paginationAnatomy, Select, microInteractions, useFieldsetContext, useFieldControl, useControllableState, useFormReset2, useMergedRefs, switchAnatomy, CONTROL_LABEL_TEXT, tableAnatomy, Pressable, FormBridge, CONTROL_SIZE_CLASSES, FileUpload, FileChip, Button, Tooltip, TooltipTrigger, TooltipContent, Avatar, Input, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuSeparator, DropdownMenuLabel, dataTableAnatomy, Checkbox, DocumentDetailPanel, DocumentDetailHeader, DocumentDetailTitle, DocumentDetailRequester, DocumentDetailMetaRow, DocumentDetailActions, DropdownMenuItem, DocumentList, DocumentRow, DocumentListSection, Textarea, DropdownMenuCheckboxItem, Popover, PopoverTrigger, PopoverContent, PopoverClose, DropdownMenuShortcut, useId } from './chunk-Z7QPHPNV.js';
2
- import { cn, ShieldIcon, UploadIcon, SendIcon, ChevronLeftIcon, MoreHorizontalIcon, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, ChevronsUpDownIcon, LockIcon, TrashIcon, HelpCircleIcon, ExtractIcon, ArrowRightIcon, CheckIcon, EyeIcon, FileTextIcon, CloseIcon, SparklesIcon, PlusIcon, SearchIcon, AlertTriangleIcon, FolderClosedIcon, CalendarIcon, PencilIcon, LockOpenIcon, FlagIcon, CheckCircleSolidIcon, DownloadIcon, XCircleSolidIcon, MessageCircleIcon, BellIcon, PaperclipIcon, UsersIcon, ClockIcon, PlayIcon, PauseIcon, StopIcon, SettingsIcon, Trash2Icon, FileIcon, SparkleIcon, MailIcon } from './chunk-E2URQD5A.js';
1
+ import { slot, badgeAnatomy, stateAttributes, useDsMessages, deprecate, paginationAnatomy, Select, microInteractions, useFieldsetContext, useFieldControl, useControllableState, useFormReset2, useMergedRefs, switchAnatomy, CONTROL_LABEL_TEXT, tableAnatomy, Pressable, FormBridge, CONTROL_SIZE_CLASSES, FileUpload, FileChip, Button, Tooltip, TooltipTrigger, TooltipContent, Avatar, Input, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuSeparator, DropdownMenuLabel, dataTableAnatomy, Checkbox, DocumentDetailPanel, DocumentDetailHeader, DocumentDetailTitle, DocumentDetailRequester, DocumentDetailMetaRow, DocumentDetailActions, DropdownMenuItem, DocumentList, DocumentRow, DocumentListSection, Textarea, DropdownMenuCheckboxItem, Popover, PopoverTrigger, PopoverContent, PopoverClose, DropdownMenuShortcut, useId } from './chunk-ZS5VLSJW.js';
2
+ import { cn, ShieldIcon, UploadIcon, SendIcon, ChevronLeftIcon, MoreHorizontalIcon, ChevronRightIcon, ChevronUpIcon, ChevronDownIcon, ChevronsUpDownIcon, LockIcon, TrashIcon, HelpCircleIcon, ExtractIcon, ArrowRightIcon, CheckIcon, EyeIcon, FileTextIcon, CloseIcon, SparklesIcon, PlusIcon, SearchIcon, AlertTriangleIcon, FolderClosedIcon, CalendarIcon, PencilIcon, LockOpenIcon, FlagIcon, CheckCircleSolidIcon, DownloadIcon, XCircleSolidIcon, MessageCircleIcon, BellIcon, PaperclipIcon, UsersIcon, ClockIcon, PlayIcon, PauseIcon, StopIcon, SettingsIcon, Trash2Icon, FileIcon, SparkleIcon, MailIcon } from './chunk-ARCWF2S3.js';
3
3
  import { clsx } from 'clsx';
4
4
  import * as React2 from 'react';
5
5
  import { forwardRef, useMemo, createContext, useRef, useContext, useState, useCallback, useEffect } from 'react';
@@ -159,11 +159,14 @@ var categoryTagVariants = cva(
159
159
  ),
160
160
  {
161
161
  variants: {
162
+ // Each product's semantic ink-on-tint pair (`-fg` on `-bg`, ≥4.8:1 in
163
+ // light and ≥5.5:1 in dark), not the seed on a 12% seed tint, which
164
+ // measured 2.5–4.4:1 at 12px.
162
165
  tone: {
163
- brand: "ds:text-brand-pro ds:bg-[color-mix(in_srgb,var(--color-brand-pro)_12%,transparent)]",
164
- audit: "ds:text-brand-audit ds:bg-[color-mix(in_srgb,var(--color-brand-audit)_12%,transparent)]",
165
- books: "ds:text-brand-books ds:bg-[color-mix(in_srgb,var(--color-brand-books)_12%,transparent)]",
166
- tax: "ds:text-brand-tax ds:bg-[color-mix(in_srgb,var(--color-brand-tax)_12%,transparent)]",
166
+ brand: "ds:text-pro-fg ds:bg-pro-bg",
167
+ audit: "ds:text-audit-fg ds:bg-audit-bg",
168
+ books: "ds:text-books-fg ds:bg-books-bg",
169
+ tax: "ds:text-tax-fg ds:bg-tax-bg",
167
170
  neutral: "ds:text-fg-3 ds:bg-[color-mix(in_srgb,var(--color-fg-3)_12%,transparent)]"
168
171
  }
169
172
  },
@@ -4745,7 +4748,9 @@ var DocumentSourceFilter = forwardRef(
4745
4748
  {
4746
4749
  className: cn(
4747
4750
  "ds:rounded-md ds:px-1.5 ds:py-px ds:text-[11px] ds:font-bold ds:tabular-nums",
4748
- active ? "ds:bg-brand-bg-active ds:text-brand" : "ds:bg-surface-2 ds:text-fg-4"
4751
+ // `text-brand` measured 4.26:1 on the active tint at 11px; the
4752
+ // brand's deeper (pressed) step clears AA in both themes.
4753
+ active ? "ds:bg-brand-bg-active ds:text-brand-active" : "ds:bg-surface-2 ds:text-fg-4"
4749
4754
  ),
4750
4755
  children: count
4751
4756
  }
@@ -5599,5 +5604,5 @@ function SignatureEditor({
5599
5604
  SignatureEditor.displayName = "SignatureEditor";
5600
5605
 
5601
5606
  export { AIReceiptPanel, AiDraftCard, Assignee, AttentionItem, Badge, Blockquote, BottomNav, CategoryDivider, CategoryTag, ChannelTabs, ClientRailGroupHeader, ClientRailItem, Dash, DashGrid, DataTable, DataTableBody, DataTableCell, DataTableCellDue, DataTableCellId, DataTableCellMono, DataTableCellName, DataTableCheckbox, DataTableHead, DataTableHeader, DataTablePagination, DataTableResultsCount, DataTableRow, DataTableSearch, DataTableSpacer, DataTableToolbar, DataTableView, DocumentChecklist, DocumentFileCard, DocumentFileLine, DocumentFileRow, DocumentRequestCard, DocumentRequestDetail, DocumentRequestField, DocumentRequestUpload, DocumentSourceFilter, DocumentSourceTag, DocumentsWorkspaceLayout, EmailMessageCard, EmptyValue, EngagementCard, EngagementTimeline, EngagementTimelineStep, IntentBadge, MissingDocumentsPanel, MoneyCell, NewMenu, PROGRESS_LEGACY_TO_INTENT, Pagination, ProgressBar, ProgressRing, SERVICE_TONES, STATUS_DOT_TONE_TO_INTENT, Section, SectionHead, SectionHeader, SegmentedProgress, SignatureEditor, Skeleton, SkeletonCircle, SkeletonText, StagePill, Stat, StatusDot, StatusPill, SuggestionPills, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagsCell, TeamMemberSelect, TimeLogger, TimeLoggerActions, TimeLoggerBillable, TimeLoggerContextRow, TimeLoggerEntry, TimeLoggerEntryList, TimeLoggerField, TimeLoggerFooter, TimeLoggerHeader, TimeLoggerNotes, TimeLoggerTimer, ToggleGroup, ToggleGroupItem, badgeVariants, compareSortValues, formatClock, formatCurrency, formatDuration, nextSortDirection, parseDuration, progressBarVariants, progressRingVariants, resolveBadgeAppearance, serviceToneLabel, serviceToneStyle, statusDotVariants, useDataTable, useStopwatch };
5602
- //# sourceMappingURL=chunk-PC6M4QZ2.js.map
5603
- //# sourceMappingURL=chunk-PC6M4QZ2.js.map
5607
+ //# sourceMappingURL=chunk-64OYQNDR.js.map
5608
+ //# sourceMappingURL=chunk-64OYQNDR.js.map