@assure-one/design-system 1.17.1 → 1.17.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/index.d.ts +65 -2
- package/dist/index.js +131 -82
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1151,6 +1151,12 @@ declare const LoadingRows: React$1.ForwardRefExoticComponent<LoadingRowsProps &
|
|
|
1151
1151
|
* - `size`, `href`, `showText`, `inverted` (visual)
|
|
1152
1152
|
* - `productName` (the suffix text; `null` renders just "Assure")
|
|
1153
1153
|
* - `className`, `iconClassName`, `textClassName` (style overrides)
|
|
1154
|
+
*
|
|
1155
|
+
* By default the lockup is a link (`href="/"`). Pass `href={null}` to render a
|
|
1156
|
+
* non-interactive `<span>` wrapper instead — required when embedding the lockup
|
|
1157
|
+
* inside another interactive element (a menu trigger `<button>`, a
|
|
1158
|
+
* `DropdownMenuItem`) where a nested `<a>` would be invalid HTML or would race
|
|
1159
|
+
* the parent's click handler.
|
|
1154
1160
|
*/
|
|
1155
1161
|
declare const sizeStyles: {
|
|
1156
1162
|
readonly sm: {
|
|
@@ -1171,10 +1177,17 @@ declare const sizeStyles: {
|
|
|
1171
1177
|
readonly gap: "gap-3";
|
|
1172
1178
|
readonly assetHeight: 40;
|
|
1173
1179
|
};
|
|
1180
|
+
readonly xl: {
|
|
1181
|
+
readonly icon: 40;
|
|
1182
|
+
readonly text: "text-2xl";
|
|
1183
|
+
readonly gap: "gap-3.5";
|
|
1184
|
+
readonly assetHeight: 48;
|
|
1185
|
+
};
|
|
1174
1186
|
};
|
|
1175
1187
|
interface LogoProps {
|
|
1176
1188
|
size?: keyof typeof sizeStyles;
|
|
1177
|
-
|
|
1189
|
+
/** Link target for the lockup. Pass `null` to render a non-interactive `<span>` wrapper (for embedding inside another interactive element). Defaults to `"/"`. */
|
|
1190
|
+
href?: string | null;
|
|
1178
1191
|
showText?: boolean;
|
|
1179
1192
|
className?: string;
|
|
1180
1193
|
iconClassName?: string;
|
|
@@ -3643,6 +3656,17 @@ interface SidebarBrandSwitcherItem {
|
|
|
3643
3656
|
* have a real mark instead of a letter.
|
|
3644
3657
|
*/
|
|
3645
3658
|
glyph?: React$1.ReactNode;
|
|
3659
|
+
/**
|
|
3660
|
+
* Full-width identity node rendered in place of the tile + `name`
|
|
3661
|
+
* — e.g. a product wordmark lockup (`<Logo href={null} …>`). When present
|
|
3662
|
+
* the row omits the tile and the `name` text; `tagline` still renders
|
|
3663
|
+
* beneath it. When absent the row falls back to tile + `name`.
|
|
3664
|
+
*
|
|
3665
|
+
* Framework-neutral like the rest of this composite: pass whatever element
|
|
3666
|
+
* your stack renders (a DS `Logo`, a plain `<img>`, an inline SVG). The DS
|
|
3667
|
+
* does not bind to it.
|
|
3668
|
+
*/
|
|
3669
|
+
identity?: React$1.ReactNode;
|
|
3646
3670
|
/**
|
|
3647
3671
|
* False marks the item as not-yet-available; rendered disabled with
|
|
3648
3672
|
* a "Soon" badge by default (override via `unavailableBadge`).
|
|
@@ -3651,6 +3675,26 @@ interface SidebarBrandSwitcherItem {
|
|
|
3651
3675
|
/** Pass-through onto the row's `data-item` for analytics / e2e hooks. */
|
|
3652
3676
|
dataAttr?: string;
|
|
3653
3677
|
}
|
|
3678
|
+
/**
|
|
3679
|
+
* An external launcher row appended after the "Switch to" list — a non-suite
|
|
3680
|
+
* entry with no availability / "Soon" semantics (e.g. a partner product reached
|
|
3681
|
+
* by its own autologin URL rather than the suite's switch model). Vendor color
|
|
3682
|
+
* lives in the consumer-owned `glyph`, keeping brand hex out of the DS.
|
|
3683
|
+
*/
|
|
3684
|
+
interface SidebarBrandSwitcherExtra {
|
|
3685
|
+
/** Stable id — React key and default `data-item`. */
|
|
3686
|
+
id: string;
|
|
3687
|
+
/** Left glyph (a consumer-owned mark/tile). Vendor color belongs here. */
|
|
3688
|
+
glyph?: React$1.ReactNode;
|
|
3689
|
+
/** Primary display name, e.g. "myCPE One". */
|
|
3690
|
+
name: React$1.ReactNode;
|
|
3691
|
+
/** Sub-line under the name. */
|
|
3692
|
+
tagline?: React$1.ReactNode;
|
|
3693
|
+
/** Invoked when the row is selected. The DS holds no opinion on what it does. */
|
|
3694
|
+
onSelect: () => void;
|
|
3695
|
+
/** Pass-through onto the row's `data-item` for analytics / e2e hooks. */
|
|
3696
|
+
dataAttr?: string;
|
|
3697
|
+
}
|
|
3654
3698
|
interface SidebarBrandSwitcherProps {
|
|
3655
3699
|
/**
|
|
3656
3700
|
* Brand glyph rendered at the left edge of the trigger (e.g. an
|
|
@@ -3676,6 +3720,19 @@ interface SidebarBrandSwitcherProps {
|
|
|
3676
3720
|
* SSO handoff — the DS holds no opinion on what "switch" means.
|
|
3677
3721
|
*/
|
|
3678
3722
|
onLaunch?: (item: SidebarBrandSwitcherItem) => void | Promise<void>;
|
|
3723
|
+
/**
|
|
3724
|
+
* External launcher rows appended after the "Switch to" list — non-suite
|
|
3725
|
+
* entries with no availability / "Soon" semantics. Each renders a consumer
|
|
3726
|
+
* `glyph` + name + tagline and calls its own `onSelect`.
|
|
3727
|
+
*/
|
|
3728
|
+
extras?: SidebarBrandSwitcherExtra[];
|
|
3729
|
+
/**
|
|
3730
|
+
* Optional predicate reporting whether an item is mid-launch from an
|
|
3731
|
+
* external source (e.g. a suite-focus provider that drives the launch itself).
|
|
3732
|
+
* ORed with the row's internal launching state to show the "Opening…" badge
|
|
3733
|
+
* and to guard against a double launch. Absent → only internal state applies.
|
|
3734
|
+
*/
|
|
3735
|
+
isLaunching?: (item: SidebarBrandSwitcherItem) => boolean;
|
|
3679
3736
|
/** Label above the current row. Defaults to "Currently using". */
|
|
3680
3737
|
currentSectionLabel?: React$1.ReactNode;
|
|
3681
3738
|
/** Label above the others list. Defaults to "Switch to". */
|
|
@@ -3694,6 +3751,12 @@ interface SidebarBrandSwitcherProps {
|
|
|
3694
3751
|
triggerClassName?: string;
|
|
3695
3752
|
/** Extra classes applied to the dropdown content panel. */
|
|
3696
3753
|
contentClassName?: string;
|
|
3754
|
+
/**
|
|
3755
|
+
* Extra classes applied to the current row and each "Switch to" product row
|
|
3756
|
+
* (not to `extras`). Lets a consumer reproduce bespoke row padding/height via
|
|
3757
|
+
* tailwind-merge without the DS owning that geometry.
|
|
3758
|
+
*/
|
|
3759
|
+
rowClassName?: string;
|
|
3697
3760
|
/**
|
|
3698
3761
|
* Slot rendered to the right of the trigger inside the brand row.
|
|
3699
3762
|
* Typical use: drop a `<SidebarPinButton/>` here.
|
|
@@ -5262,4 +5325,4 @@ declare namespace SignatureEditor {
|
|
|
5262
5325
|
|
|
5263
5326
|
declare function cn(...inputs: ClassValue[]): string;
|
|
5264
5327
|
|
|
5265
|
-
export { AIReceiptPanel, type AIReceiptPanelProps, type AIReceiptResult, Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActivityDotVariant, ActivityEventItem, type ActivityEventItemProps, ActivityItem, type ActivityItemProps, ActivityList, type ActivityListProps, type AgreementFirm, AgreementPaneHeading, type AgreementPaneHeadingProps, type AgreementStatus, type AgreementStep, AgreementViewer, type AgreementViewerProps, AiDraftCard, type AiDraftCardProps, type AiDraftState, Alert, AlertCircleIcon, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AlertTriangleIcon, AlertTriangleSolidIcon, AppHeader, AppHeaderActions, type AppHeaderActionsProps, AppHeaderBreadcrumb, type AppHeaderBreadcrumbProps, type AppHeaderProps, AppHeaderSearch, type AppHeaderSearchProps, AppHeaderTitle, type AppHeaderTitleProps, AreaChart, type AreaChartProps, type AreaPoint, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightSmallIcon, ArrowUpIcon, AspectRatio, Assignee, AssureAuditBrandIcon, AssureBooksBrandIcon, AssureProBrandIcon, AssureTaxBrandIcon, AtSignIcon, AttachmentChip, type AttachmentChipProps, AttentionItem, type AttentionItemProps, type AttentionUrgency, Avatar, Badge, type BadgeProps, BarChartIcon, BellIcon, Blockquote, BoldIcon, BottomNav, type BottomNavProps, type BottomNavTab, type BrandIconProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, BriefcaseIcon, Building2Icon, BuildingIcon, BulkActionBar, BulkActionBarAction, type BulkActionBarActionProps, type BulkActionBarProps, BulkActionBarSeparator, type BulkActionBarVariant, Button, type ButtonProps, COUNTRY_CODES, Calendar, type CalendarHighlight, type CalendarHighlightColor, CalendarIcon, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardVariants, CategoryDivider, type CategoryDividerProps, CategoryTag, type CategoryTagProps, type CategoryTone, type CellValue, type ChannelTabItem, ChannelTabs, type ChannelTabsProps, type ChannelTone, ChatBubbleIcon, CheckCircle2Icon, CheckCircleSolidIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleDotIcon, CircleIcon, ClientRailGroupHeader, type ClientRailGroupHeaderProps, ClientRailItem, type ClientRailItemProps, ClientSelect, type ClientSelectOption, ClipboardCheckIcon, ClockIcon, CloseIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, ComingSoon, type ComingSoonProps, CommandIcon, type CommandItem, CommandPalette, ConfirmActionButton, type ConfirmActionButtonProps, Content, type ContentProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, CopyIcon, CornerDownLeftIcon, type CountryCode, CountryFlag, CountrySelect, CreditCardIcon, DATE_DISPLAY_PLACEHOLDER, DangerAction, type DangerActionProps, Dash, DashGrid, type DashGridProps, type DashWidget, DataItem, DataTable, DataTableBody, type DataTableBodyProps, DataTableCell, DataTableCellDue, type DataTableCellDueProps, DataTableCellId, DataTableCellMono, DataTableCellName, type DataTableCellProps, DataTableCheckbox, type DataTableCheckboxProps, DataTableHead, type DataTableHeadProps, DataTableHeader, type DataTableHeaderProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, DataTableResultsCount, type DataTableResultsCountProps, DataTableRow, type DataTableRowProps, DataTableSearch, type DataTableSearchProps, DataTableSpacer, type DataTableSpacerProps, DataTableToolbar, type DataTableToolbarProps, DataTableView, type DataTableViewColumn, type DataTableViewFilter, type DataTableViewProps, DatePicker, DateRangePicker, type DateRangeValue, DetailGrid, type DetailGridProps, DetailMain, type DetailMainProps, DetailSpine, DetailSpineHeader, type DetailSpineHeaderProps, type DetailSpineProps, DetailSpineSection, type DetailSpineSectionProps, DetailSpineStats, type DetailSpineStatsProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DismissibleChip, DocumentDetailActions, type DocumentDetailActionsProps, DocumentDetailBody, type DocumentDetailBodyProps, DocumentDetailHeader, type DocumentDetailHeaderProps, DocumentDetailMetaRow, type DocumentDetailMetaRowProps, DocumentDetailPanel, type DocumentDetailPanelProps, DocumentDetailRequester, type DocumentDetailRequesterProps, DocumentDetailTitle, type DocumentDetailTitleProps, DocumentFileCard, type DocumentFileCardProps, DocumentFileRow, type DocumentFileRowProps, DocumentIcon, type DocumentItemState, DocumentList, type DocumentListProps, DocumentListSection, type DocumentListSectionProps, type DocumentRequestActivityKind, type DocumentRequestAssigneeOption, DocumentRequestCard, type DocumentRequestCardProps, DocumentRequestDetail, type DocumentRequestDetailActivityEvent, type DocumentRequestDetailComment, type DocumentRequestDetailDoc, type DocumentRequestDetailProps, type DocumentRequestDetailTab, DocumentRequestField, type DocumentRequestFieldProps, type DocumentRequestItemSummary, type DocumentRequestRequestedItem, type DocumentRequestReviewStatusOption, type DocumentRequestTone, DocumentRow, type DocumentRowProps, type DocumentSource, DocumentSourceFilter, type DocumentSourceFilterProps, type DocumentSourceFilterValue, DocumentSourceTag, type DocumentSourceTagProps, DocumentsWorkspaceLayout, type DocumentsWorkspaceLayoutProps, DollarSignIcon, DonutChart, type DonutChartProps, type DonutSegment, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmailMessageCard, type EmailMessageCardProps, EmptyState, type EmptyStateProps, EngagementCard, type EngagementCardProps, EngagementTimeline, type EngagementTimelineProps, EngagementTimelineStep, type EngagementTimelineStepProps, ExtractIcon, EyeIcon, EyeOffIcon, Eyebrow, type EyebrowProps, FileChip, type FileChipProps, FileIcon, type FileKind, FileReturnIcon, FileTextIcon, FileTypeBadge, type FileTypeBadgeProps, type FileTypeTone, FileUpload, FilterChip, type FilterChipProps, FilterIcon, FlagIcon, FolderClosedIcon, type FolderNode, FolderOpenIcon, FolderPlusIcon, FolderTree, type FolderTreeProps, FolderUpIcon, FormError, FormSection, FormSuccess, GlobeIcon, GoogleBrandIcon, HelpCircleIcon, HistoryIcon, HomeIcon, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, IconAction, type IconActionProps, IconTile, type IconTileProps, InboxIcon, InfoCircleSolidIcon, InfoIcon, Input, type InputVariants, IntentBadge, type IntentBadgeProps, type IntentTone, ItalicIcon, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, KanbanIcon, type KanbanProps, KbdHint, type KbdHintProps, KeyIcon, type KeyboardShortcut, type KeyboardShortcutSection, KeyboardShortcutsDialog, type KeyboardShortcutsDialogProps, KpiCard, type KpiCardProps, type KpiDelta, Label, LandmarkIcon, LayoutDashboardIcon, LayoutGridIcon, LayoutListIcon, LightningIcon, Link2Icon, LinkAction, type LinkActionProps, LinkButton, LinkIcon, ListChecksIcon, ListIcon, ListOrderedIcon, LoaderIcon, LoadingRows, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, Logo, MailIcon, Main, type MainProps, MapPinIcon, MasterDetailLayout, type MasterDetailLayoutProps, MenuIcon, MessageBubble, MessageBubbleAction, type MessageBubbleActionProps, type MessageBubbleProps, MessageBubbleTombstone, type MessageBubbleTombstoneProps, MessageCircleIcon, MessageCircleWarningIcon, MessageComposer, type MessageComposerProps, MetadataGrid, MicrosoftBrandIcon, MinusIcon, type MissingDocumentItem, MissingDocumentsPanel, type MissingDocumentsPanelProps, MoneyCell, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoveIcon, MultiFilterPill, MultiSelectField, MutedSpec, type MutedSpecProps, NewMenu, type NewMenuAction, type NewMenuGroup, type NewMenuProps, NotificationFilter, type NotificationFilterProps, type NotificationFilterValue, NotificationItem, type NotificationItemProps, NotificationList, type NotificationListProps, NotificationPanel, NotificationPanelFooter, type NotificationPanelFooterProps, NotificationPanelHeader, type NotificationPanelHeaderProps, type NotificationPanelProps, Numeric, type NumericProps, OTPInput, PageHeader, type PageHeaderProps, PageHeaderSep, type PageHeaderSepProps, PageHeaderSpec, type PageHeaderSpecProps, Pagination, type PaginationProps, PaletteIcon, PanelLeftCloseIcon, PanelLeftIcon, PaperclipIcon, PauseIcon, PdfPreview, type PdfPreviewProps, PenSignIcon, PenToolIcon, PencilIcon, PhoneCountryInput, PhoneIcon, PhoneInput, type PillStatus, PlayIcon, PlusIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PrimaryAction, type PrimaryActionProps, type Priority, PriorityIcon, type PriorityIconProps, ProgressBar, type ProgressBarProps, ProgressRing, type ProgressRingProps, ProposalAddOn, type ProposalAddOnProps, type ProposalBillingMode, type ProposalBillingRow, ProposalBillingTerms, type ProposalBillingTermsProps, ProposalConsentGate, type ProposalConsentGateProps, ProposalCustomPage, type ProposalCustomPageKind, type ProposalCustomPageProps, ProposalNote, type ProposalNoteProps, ProposalPackageCard, type ProposalPackageCardProps, type ProposalPackageMode, ProposalPaymentCapture, type ProposalPaymentCaptureProps, ProposalPricingSummary, type ProposalPricingSummaryProps, ProposalServiceRow, type ProposalServiceRowProps, ProposalSignatureBlock, type ProposalSignatureBlockProps, type ProposalSigner, ProposalSignerList, type ProposalSignerListProps, type ProposalSignerStatus, type QuestionAddressValue, type QuestionFileValue, type QuestionHelp, type QuestionLabeledColumn, type QuestionLabeledRow, type QuestionLabeledValue, type QuestionNameValue, type QuestionOption, type QuestionTableColumn, type QuestionTableRow, type QuestionType, QuestionnairePanel, type QuestionnairePanelGroup, type QuestionnairePanelProps, type QuestionnairePanelSection, type QuestionnairePanelStatus, Questions, type QuestionsProps, type QuickReplyChip, RadioGroup, RadioGroupItem, type RankedBar, RankedBars, type RankedBarsProps, ReceiptIcon, ReplyIcon, ResponsiveDialog, type ResponsiveDialogProps, RotateCcwIcon, RouteTransition, type RouteTransitionProps, SERVICE_TONES, SaveIcon, ScrollArea, ScrollBar, SearchIcon, SearchInput, type SearchInputVariants, SearchSelect, type SearchSelectOption, SecondaryAction, type SecondaryActionProps, Section, SectionHead, SectionHeader, SegmentedProgress, type SegmentedProgressProps, type SegmentedTone, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, type SelectProps, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableKpiCard, type SelectableKpiCardProps, SendIcon, Separator, type ServiceTone, SettingsIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Shell, type ShellProps, ShieldIcon, SideDrawer, Sidebar, SidebarBrand, type SidebarBrandProps, SidebarBrandSwitcher, type SidebarBrandSwitcherItem, type SidebarBrandSwitcherProps, SidebarBrandSwitcherTile, SidebarBrandText, type SidebarBrandTextProps, 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, SignatureEditor, type SignatureEditorProps, Skeleton, SkeletonCircle, SkeletonText, SlashIcon, Slider, SmartphoneIcon, type SortDirection, SparkleIcon, SparklesIcon, Spinner, type SpinnerProps, SpreadsheetPreview, type SpreadsheetPreviewProps, StackedBarChart, type StackedBarChartProps, type StackedBarDatum, type StackedBarSeries, StagePill, StarIcon, StarRating, type StarRatingProps, Stat, StatusDot, type StatusDotProps, StatusIcon, type StatusIconProps, StatusPill, type StatusPillProps, type StatusState, type Step, Stepper, type StepperProps, StickyActionBar, type StickyActionBarProps, StopIcon, StrikethroughIcon, SubmitButton, SuggestionPills, type SuggestionPillsProps, SuiteProgress, type SuiteProgressProps, type SuiteProgressSize, type SuiteProgressTone, SunIcon, Switch, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TableIcon, type TableProps, TableRow, type TableRowData, type TableRowProps, type TableTone, Tabs, TabsContent, TabsList, TabsTrigger, TagIcon, TagsCell, TeamIcon, TeamMemberSelect, Textarea, type TextareaVariants, TimeLogger, TimeLoggerActions, type TimeLoggerActionsProps, TimeLoggerBillable, type TimeLoggerBillableProps, TimeLoggerContextRow, type TimeLoggerContextRowProps, TimeLoggerEntry, TimeLoggerEntryList, type TimeLoggerEntryListProps, type TimeLoggerEntryProps, TimeLoggerField, type TimeLoggerFieldProps, TimeLoggerFooter, type TimeLoggerFooterProps, TimeLoggerHeader, type TimeLoggerHeaderProps, TimeLoggerNotes, type TimeLoggerNotesProps, type TimeLoggerPhase, type TimeLoggerProps, type TimeLoggerTier, TimeLoggerTimer, type TimeLoggerTimerProps, type TimelineState, type ToastAction, type ToastContextValue, type ToastOptions, ToastProvider, type ToastVariant, ToggleGroup, ToggleGroupItem, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Trash2Icon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UnderlineIcon, UploadIcon, type UseStopwatchReturn, UserCircleIcon, UserIcon, UsersIcon, VisuallyHidden, WorkflowIcon, XCircleSolidIcon, XIcon, YEAR_DISPLAY_PLACEHOLDER, ZoomInIcon, ZoomOutIcon, alertVariants, applyMask, applyYearMask, attachmentChipVariants, badgeVariants, buttonVariants, cardVariants, cn, dateToIso, displayToIso, fileTypeBadgeVariants, fileTypeFromName, filterChipVariants, formatClock, formatCurrency, formatDuration, getFlagEmoji, iconTileVariants, inputVariants, isoToDate, isoToDisplay, isoToYear, labelVariants, parseDuration, parsePhoneForEditing, progressBarVariants, progressRingVariants, searchInputVariants, serviceToneLabel, serviceToneStyle, sidebarLinkBadgeVariants, spinnerVariants, starRatingVariants, statusDotVariants, suiteProgressFillVariants, textareaVariants, useSidebarPeekLock, useSidebarState, useStopwatch, useToast, yearToIso };
|
|
5328
|
+
export { AIReceiptPanel, type AIReceiptPanelProps, type AIReceiptResult, Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActivityDotVariant, ActivityEventItem, type ActivityEventItemProps, ActivityItem, type ActivityItemProps, ActivityList, type ActivityListProps, type AgreementFirm, AgreementPaneHeading, type AgreementPaneHeadingProps, type AgreementStatus, type AgreementStep, AgreementViewer, type AgreementViewerProps, AiDraftCard, type AiDraftCardProps, type AiDraftState, Alert, AlertCircleIcon, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AlertTriangleIcon, AlertTriangleSolidIcon, AppHeader, AppHeaderActions, type AppHeaderActionsProps, AppHeaderBreadcrumb, type AppHeaderBreadcrumbProps, type AppHeaderProps, AppHeaderSearch, type AppHeaderSearchProps, AppHeaderTitle, type AppHeaderTitleProps, AreaChart, type AreaChartProps, type AreaPoint, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowRightSmallIcon, ArrowUpIcon, AspectRatio, Assignee, AssureAuditBrandIcon, AssureBooksBrandIcon, AssureProBrandIcon, AssureTaxBrandIcon, AtSignIcon, AttachmentChip, type AttachmentChipProps, AttentionItem, type AttentionItemProps, type AttentionUrgency, Avatar, Badge, type BadgeProps, BarChartIcon, BellIcon, Blockquote, BoldIcon, BottomNav, type BottomNavProps, type BottomNavTab, type BrandIconProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, BriefcaseIcon, Building2Icon, BuildingIcon, BulkActionBar, BulkActionBarAction, type BulkActionBarActionProps, type BulkActionBarProps, BulkActionBarSeparator, type BulkActionBarVariant, Button, type ButtonProps, COUNTRY_CODES, Calendar, type CalendarHighlight, type CalendarHighlightColor, CalendarIcon, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardVariants, CategoryDivider, type CategoryDividerProps, CategoryTag, type CategoryTagProps, type CategoryTone, type CellValue, type ChannelTabItem, ChannelTabs, type ChannelTabsProps, type ChannelTone, ChatBubbleIcon, CheckCircle2Icon, CheckCircleSolidIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleDotIcon, CircleIcon, ClientRailGroupHeader, type ClientRailGroupHeaderProps, ClientRailItem, type ClientRailItemProps, ClientSelect, type ClientSelectOption, ClipboardCheckIcon, ClockIcon, CloseIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, ComingSoon, type ComingSoonProps, CommandIcon, type CommandItem, CommandPalette, ConfirmActionButton, type ConfirmActionButtonProps, Content, type ContentProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, CopyIcon, CornerDownLeftIcon, type CountryCode, CountryFlag, CountrySelect, CreditCardIcon, DATE_DISPLAY_PLACEHOLDER, DangerAction, type DangerActionProps, Dash, DashGrid, type DashGridProps, type DashWidget, DataItem, DataTable, DataTableBody, type DataTableBodyProps, DataTableCell, DataTableCellDue, type DataTableCellDueProps, DataTableCellId, DataTableCellMono, DataTableCellName, type DataTableCellProps, DataTableCheckbox, type DataTableCheckboxProps, DataTableHead, type DataTableHeadProps, DataTableHeader, type DataTableHeaderProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, DataTableResultsCount, type DataTableResultsCountProps, DataTableRow, type DataTableRowProps, DataTableSearch, type DataTableSearchProps, DataTableSpacer, type DataTableSpacerProps, DataTableToolbar, type DataTableToolbarProps, DataTableView, type DataTableViewColumn, type DataTableViewFilter, type DataTableViewProps, DatePicker, DateRangePicker, type DateRangeValue, DetailGrid, type DetailGridProps, DetailMain, type DetailMainProps, DetailSpine, DetailSpineHeader, type DetailSpineHeaderProps, type DetailSpineProps, DetailSpineSection, type DetailSpineSectionProps, DetailSpineStats, type DetailSpineStatsProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DismissibleChip, DocumentDetailActions, type DocumentDetailActionsProps, DocumentDetailBody, type DocumentDetailBodyProps, DocumentDetailHeader, type DocumentDetailHeaderProps, DocumentDetailMetaRow, type DocumentDetailMetaRowProps, DocumentDetailPanel, type DocumentDetailPanelProps, DocumentDetailRequester, type DocumentDetailRequesterProps, DocumentDetailTitle, type DocumentDetailTitleProps, DocumentFileCard, type DocumentFileCardProps, DocumentFileRow, type DocumentFileRowProps, DocumentIcon, type DocumentItemState, DocumentList, type DocumentListProps, DocumentListSection, type DocumentListSectionProps, type DocumentRequestActivityKind, type DocumentRequestAssigneeOption, DocumentRequestCard, type DocumentRequestCardProps, DocumentRequestDetail, type DocumentRequestDetailActivityEvent, type DocumentRequestDetailComment, type DocumentRequestDetailDoc, type DocumentRequestDetailProps, type DocumentRequestDetailTab, DocumentRequestField, type DocumentRequestFieldProps, type DocumentRequestItemSummary, type DocumentRequestRequestedItem, type DocumentRequestReviewStatusOption, type DocumentRequestTone, DocumentRow, type DocumentRowProps, type DocumentSource, DocumentSourceFilter, type DocumentSourceFilterProps, type DocumentSourceFilterValue, DocumentSourceTag, type DocumentSourceTagProps, DocumentsWorkspaceLayout, type DocumentsWorkspaceLayoutProps, DollarSignIcon, DonutChart, type DonutChartProps, type DonutSegment, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmailMessageCard, type EmailMessageCardProps, EmptyState, type EmptyStateProps, EngagementCard, type EngagementCardProps, EngagementTimeline, type EngagementTimelineProps, EngagementTimelineStep, type EngagementTimelineStepProps, ExtractIcon, EyeIcon, EyeOffIcon, Eyebrow, type EyebrowProps, FileChip, type FileChipProps, FileIcon, type FileKind, FileReturnIcon, FileTextIcon, FileTypeBadge, type FileTypeBadgeProps, type FileTypeTone, FileUpload, FilterChip, type FilterChipProps, FilterIcon, FlagIcon, FolderClosedIcon, type FolderNode, FolderOpenIcon, FolderPlusIcon, FolderTree, type FolderTreeProps, FolderUpIcon, FormError, FormSection, FormSuccess, GlobeIcon, GoogleBrandIcon, HelpCircleIcon, HistoryIcon, HomeIcon, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, IconAction, type IconActionProps, IconTile, type IconTileProps, InboxIcon, InfoCircleSolidIcon, InfoIcon, Input, type InputVariants, IntentBadge, type IntentBadgeProps, type IntentTone, ItalicIcon, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, KanbanIcon, type KanbanProps, KbdHint, type KbdHintProps, KeyIcon, type KeyboardShortcut, type KeyboardShortcutSection, KeyboardShortcutsDialog, type KeyboardShortcutsDialogProps, KpiCard, type KpiCardProps, type KpiDelta, Label, LandmarkIcon, LayoutDashboardIcon, LayoutGridIcon, LayoutListIcon, LightningIcon, Link2Icon, LinkAction, type LinkActionProps, LinkButton, LinkIcon, ListChecksIcon, ListIcon, ListOrderedIcon, LoaderIcon, LoadingRows, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, Logo, MailIcon, Main, type MainProps, MapPinIcon, MasterDetailLayout, type MasterDetailLayoutProps, MenuIcon, MessageBubble, MessageBubbleAction, type MessageBubbleActionProps, type MessageBubbleProps, MessageBubbleTombstone, type MessageBubbleTombstoneProps, MessageCircleIcon, MessageCircleWarningIcon, MessageComposer, type MessageComposerProps, MetadataGrid, MicrosoftBrandIcon, MinusIcon, type MissingDocumentItem, MissingDocumentsPanel, type MissingDocumentsPanelProps, MoneyCell, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoveIcon, MultiFilterPill, MultiSelectField, MutedSpec, type MutedSpecProps, NewMenu, type NewMenuAction, type NewMenuGroup, type NewMenuProps, NotificationFilter, type NotificationFilterProps, type NotificationFilterValue, NotificationItem, type NotificationItemProps, NotificationList, type NotificationListProps, NotificationPanel, NotificationPanelFooter, type NotificationPanelFooterProps, NotificationPanelHeader, type NotificationPanelHeaderProps, type NotificationPanelProps, Numeric, type NumericProps, OTPInput, PageHeader, type PageHeaderProps, PageHeaderSep, type PageHeaderSepProps, PageHeaderSpec, type PageHeaderSpecProps, Pagination, type PaginationProps, PaletteIcon, PanelLeftCloseIcon, PanelLeftIcon, PaperclipIcon, PauseIcon, PdfPreview, type PdfPreviewProps, PenSignIcon, PenToolIcon, PencilIcon, PhoneCountryInput, PhoneIcon, PhoneInput, type PillStatus, PlayIcon, PlusIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PrimaryAction, type PrimaryActionProps, type Priority, PriorityIcon, type PriorityIconProps, ProgressBar, type ProgressBarProps, ProgressRing, type ProgressRingProps, ProposalAddOn, type ProposalAddOnProps, type ProposalBillingMode, type ProposalBillingRow, ProposalBillingTerms, type ProposalBillingTermsProps, ProposalConsentGate, type ProposalConsentGateProps, ProposalCustomPage, type ProposalCustomPageKind, type ProposalCustomPageProps, ProposalNote, type ProposalNoteProps, ProposalPackageCard, type ProposalPackageCardProps, type ProposalPackageMode, ProposalPaymentCapture, type ProposalPaymentCaptureProps, ProposalPricingSummary, type ProposalPricingSummaryProps, ProposalServiceRow, type ProposalServiceRowProps, ProposalSignatureBlock, type ProposalSignatureBlockProps, type ProposalSigner, ProposalSignerList, type ProposalSignerListProps, type ProposalSignerStatus, type QuestionAddressValue, type QuestionFileValue, type QuestionHelp, type QuestionLabeledColumn, type QuestionLabeledRow, type QuestionLabeledValue, type QuestionNameValue, type QuestionOption, type QuestionTableColumn, type QuestionTableRow, type QuestionType, QuestionnairePanel, type QuestionnairePanelGroup, type QuestionnairePanelProps, type QuestionnairePanelSection, type QuestionnairePanelStatus, Questions, type QuestionsProps, type QuickReplyChip, RadioGroup, RadioGroupItem, type RankedBar, RankedBars, type RankedBarsProps, ReceiptIcon, ReplyIcon, ResponsiveDialog, type ResponsiveDialogProps, RotateCcwIcon, RouteTransition, type RouteTransitionProps, SERVICE_TONES, SaveIcon, ScrollArea, ScrollBar, SearchIcon, SearchInput, type SearchInputVariants, SearchSelect, type SearchSelectOption, SecondaryAction, type SecondaryActionProps, Section, SectionHead, SectionHeader, SegmentedProgress, type SegmentedProgressProps, type SegmentedTone, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, type SelectProps, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableKpiCard, type SelectableKpiCardProps, SendIcon, Separator, type ServiceTone, SettingsIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Shell, type ShellProps, ShieldIcon, SideDrawer, Sidebar, SidebarBrand, type SidebarBrandProps, SidebarBrandSwitcher, type SidebarBrandSwitcherExtra, type SidebarBrandSwitcherItem, type SidebarBrandSwitcherProps, SidebarBrandSwitcherTile, SidebarBrandText, type SidebarBrandTextProps, 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, SignatureEditor, type SignatureEditorProps, Skeleton, SkeletonCircle, SkeletonText, SlashIcon, Slider, SmartphoneIcon, type SortDirection, SparkleIcon, SparklesIcon, Spinner, type SpinnerProps, SpreadsheetPreview, type SpreadsheetPreviewProps, StackedBarChart, type StackedBarChartProps, type StackedBarDatum, type StackedBarSeries, StagePill, StarIcon, StarRating, type StarRatingProps, Stat, StatusDot, type StatusDotProps, StatusIcon, type StatusIconProps, StatusPill, type StatusPillProps, type StatusState, type Step, Stepper, type StepperProps, StickyActionBar, type StickyActionBarProps, StopIcon, StrikethroughIcon, SubmitButton, SuggestionPills, type SuggestionPillsProps, SuiteProgress, type SuiteProgressProps, type SuiteProgressSize, type SuiteProgressTone, SunIcon, Switch, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TableIcon, type TableProps, TableRow, type TableRowData, type TableRowProps, type TableTone, Tabs, TabsContent, TabsList, TabsTrigger, TagIcon, TagsCell, TeamIcon, TeamMemberSelect, Textarea, type TextareaVariants, TimeLogger, TimeLoggerActions, type TimeLoggerActionsProps, TimeLoggerBillable, type TimeLoggerBillableProps, TimeLoggerContextRow, type TimeLoggerContextRowProps, TimeLoggerEntry, TimeLoggerEntryList, type TimeLoggerEntryListProps, type TimeLoggerEntryProps, TimeLoggerField, type TimeLoggerFieldProps, TimeLoggerFooter, type TimeLoggerFooterProps, TimeLoggerHeader, type TimeLoggerHeaderProps, TimeLoggerNotes, type TimeLoggerNotesProps, type TimeLoggerPhase, type TimeLoggerProps, type TimeLoggerTier, TimeLoggerTimer, type TimeLoggerTimerProps, type TimelineState, type ToastAction, type ToastContextValue, type ToastOptions, ToastProvider, type ToastVariant, ToggleGroup, ToggleGroupItem, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Trash2Icon, TrashIcon, TrendingDownIcon, TrendingUpIcon, UnderlineIcon, UploadIcon, type UseStopwatchReturn, UserCircleIcon, UserIcon, UsersIcon, VisuallyHidden, WorkflowIcon, XCircleSolidIcon, XIcon, YEAR_DISPLAY_PLACEHOLDER, ZoomInIcon, ZoomOutIcon, alertVariants, applyMask, applyYearMask, attachmentChipVariants, badgeVariants, buttonVariants, cardVariants, cn, dateToIso, displayToIso, fileTypeBadgeVariants, fileTypeFromName, filterChipVariants, formatClock, formatCurrency, formatDuration, getFlagEmoji, iconTileVariants, inputVariants, isoToDate, isoToDisplay, isoToYear, labelVariants, parseDuration, parsePhoneForEditing, progressBarVariants, progressRingVariants, searchInputVariants, serviceToneLabel, serviceToneStyle, sidebarLinkBadgeVariants, spinnerVariants, starRatingVariants, statusDotVariants, suiteProgressFillVariants, textareaVariants, useSidebarPeekLock, useSidebarState, useStopwatch, useToast, yearToIso };
|
package/dist/index.js
CHANGED
|
@@ -5834,7 +5834,8 @@ LoadingRows.displayName = "LoadingRows";
|
|
|
5834
5834
|
var sizeStyles = {
|
|
5835
5835
|
sm: { icon: 20, text: "text-sm", gap: "gap-2", assetHeight: 24 },
|
|
5836
5836
|
md: { icon: 24, text: "text-[17px]", gap: "gap-2.5", assetHeight: 30 },
|
|
5837
|
-
lg: { icon: 32, text: "text-xl", gap: "gap-3", assetHeight: 40 }
|
|
5837
|
+
lg: { icon: 32, text: "text-xl", gap: "gap-3", assetHeight: 40 },
|
|
5838
|
+
xl: { icon: 40, text: "text-2xl", gap: "gap-3.5", assetHeight: 48 }
|
|
5838
5839
|
};
|
|
5839
5840
|
var productLogoAssets = {
|
|
5840
5841
|
Pro: { src: "/brand/assure-pro.svg", width: 384, height: 90 },
|
|
@@ -5869,69 +5870,66 @@ function Logo({
|
|
|
5869
5870
|
const asset = productName ? productLogoAssets[productName] : void 0;
|
|
5870
5871
|
const markAsset = productName ? productMarkAssets[productName] : void 0;
|
|
5871
5872
|
const Glyph = productName ? productGlyphs[productName] : void 0;
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
asset
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
"
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
),
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
]
|
|
5933
|
-
}
|
|
5934
|
-
);
|
|
5873
|
+
const wrapperClassName = cn("inline-flex items-center", s.gap, className);
|
|
5874
|
+
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5875
|
+
asset && showText ? /* @__PURE__ */ jsx(
|
|
5876
|
+
Image2,
|
|
5877
|
+
{
|
|
5878
|
+
src: asset.src,
|
|
5879
|
+
alt: "",
|
|
5880
|
+
width: asset.width,
|
|
5881
|
+
height: asset.height,
|
|
5882
|
+
priority: true,
|
|
5883
|
+
className: cn("h-auto flex-shrink-0", inverted && "brightness-0 invert", iconClassName),
|
|
5884
|
+
style: { width: Math.round(asset.width / asset.height * s.assetHeight) }
|
|
5885
|
+
}
|
|
5886
|
+
) : markAsset ? /* @__PURE__ */ jsx(
|
|
5887
|
+
Image2,
|
|
5888
|
+
{
|
|
5889
|
+
src: markAsset.src,
|
|
5890
|
+
alt: "",
|
|
5891
|
+
width: markAsset.width,
|
|
5892
|
+
height: markAsset.height,
|
|
5893
|
+
priority: true,
|
|
5894
|
+
className: cn("h-auto flex-shrink-0", inverted && "brightness-0 invert", iconClassName),
|
|
5895
|
+
style: { width: Math.round(markAsset.width / markAsset.height * s.icon) }
|
|
5896
|
+
}
|
|
5897
|
+
) : /* @__PURE__ */ jsx(Fragment, { children: Glyph ? /* @__PURE__ */ jsx(Glyph, { size: s.icon, "aria-hidden": "true", className: iconClassName }) : /* @__PURE__ */ jsx(
|
|
5898
|
+
"span",
|
|
5899
|
+
{
|
|
5900
|
+
"aria-hidden": "true",
|
|
5901
|
+
className: cn(
|
|
5902
|
+
"bg-pro-fg grid shrink-0 place-items-center rounded-[5px] text-[10px] font-bold text-white",
|
|
5903
|
+
iconClassName
|
|
5904
|
+
),
|
|
5905
|
+
style: { width: s.icon, height: s.icon },
|
|
5906
|
+
children: "A"
|
|
5907
|
+
}
|
|
5908
|
+
) }),
|
|
5909
|
+
showText && /* @__PURE__ */ jsxs(
|
|
5910
|
+
"span",
|
|
5911
|
+
{
|
|
5912
|
+
className: cn(
|
|
5913
|
+
"font-display font-semibold tracking-[-0.025em]",
|
|
5914
|
+
s.text,
|
|
5915
|
+
inverted ? "text-white" : "text-fg",
|
|
5916
|
+
asset && "sr-only",
|
|
5917
|
+
textClassName
|
|
5918
|
+
),
|
|
5919
|
+
children: [
|
|
5920
|
+
/* @__PURE__ */ jsx("span", { children: "Assure" }),
|
|
5921
|
+
productName && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5922
|
+
" ",
|
|
5923
|
+
/* @__PURE__ */ jsx("span", { className: cn("font-medium", inverted ? "text-[#d8cfff]" : "text-pro-fg"), children: productName })
|
|
5924
|
+
] })
|
|
5925
|
+
]
|
|
5926
|
+
}
|
|
5927
|
+
)
|
|
5928
|
+
] });
|
|
5929
|
+
if (href === null) {
|
|
5930
|
+
return /* @__PURE__ */ jsx("span", { className: wrapperClassName, children: content });
|
|
5931
|
+
}
|
|
5932
|
+
return /* @__PURE__ */ jsx(Link, { href, className: wrapperClassName, "aria-label": ariaLabel, children: content });
|
|
5935
5933
|
}
|
|
5936
5934
|
var MasterDetailLayout = forwardRef(
|
|
5937
5935
|
function MasterDetailLayout2({
|
|
@@ -14004,6 +14002,8 @@ var SidebarBrandSwitcher = React38.forwardRef(
|
|
|
14004
14002
|
current,
|
|
14005
14003
|
items,
|
|
14006
14004
|
onLaunch,
|
|
14005
|
+
extras,
|
|
14006
|
+
isLaunching,
|
|
14007
14007
|
currentSectionLabel = "Currently using",
|
|
14008
14008
|
switchSectionLabel = "Switch to",
|
|
14009
14009
|
menuLabel = "Suite",
|
|
@@ -14013,6 +14013,7 @@ var SidebarBrandSwitcher = React38.forwardRef(
|
|
|
14013
14013
|
className,
|
|
14014
14014
|
triggerClassName,
|
|
14015
14015
|
contentClassName,
|
|
14016
|
+
rowClassName,
|
|
14016
14017
|
trailing
|
|
14017
14018
|
}, ref) {
|
|
14018
14019
|
const [open, setOpen] = React38.useState(false);
|
|
@@ -14073,7 +14074,14 @@ var SidebarBrandSwitcher = React38.forwardRef(
|
|
|
14073
14074
|
children: [
|
|
14074
14075
|
/* @__PURE__ */ jsx(DropdownMenuLabel, { className: "px-2 pt-1 pb-1.5", children: menuLabel }),
|
|
14075
14076
|
/* @__PURE__ */ jsx(SidebarBrandSwitcherSectionLabel, { children: currentSectionLabel }),
|
|
14076
|
-
/* @__PURE__ */ jsx(
|
|
14077
|
+
/* @__PURE__ */ jsx(
|
|
14078
|
+
SidebarBrandSwitcherCurrentRow,
|
|
14079
|
+
{
|
|
14080
|
+
item: current,
|
|
14081
|
+
badge: currentBadge,
|
|
14082
|
+
rowClassName
|
|
14083
|
+
}
|
|
14084
|
+
),
|
|
14077
14085
|
/* @__PURE__ */ jsx(DropdownMenuSeparator, { className: "my-1.5" }),
|
|
14078
14086
|
/* @__PURE__ */ jsx(SidebarBrandSwitcherSectionLabel, { children: switchSectionLabel }),
|
|
14079
14087
|
others.map((p) => /* @__PURE__ */ jsx(
|
|
@@ -14081,10 +14089,13 @@ var SidebarBrandSwitcher = React38.forwardRef(
|
|
|
14081
14089
|
{
|
|
14082
14090
|
item: p,
|
|
14083
14091
|
onLaunch,
|
|
14084
|
-
unavailableBadge
|
|
14092
|
+
unavailableBadge,
|
|
14093
|
+
rowClassName,
|
|
14094
|
+
isLaunching
|
|
14085
14095
|
},
|
|
14086
14096
|
p.id
|
|
14087
|
-
))
|
|
14097
|
+
)),
|
|
14098
|
+
extras?.map((extra) => /* @__PURE__ */ jsx(SidebarBrandSwitcherExtraRow, { extra }, extra.id))
|
|
14088
14099
|
]
|
|
14089
14100
|
}
|
|
14090
14101
|
)
|
|
@@ -14116,28 +14127,53 @@ function SidebarBrandSwitcherTile({ item }) {
|
|
|
14116
14127
|
}
|
|
14117
14128
|
);
|
|
14118
14129
|
}
|
|
14119
|
-
function
|
|
14120
|
-
item
|
|
14121
|
-
|
|
14122
|
-
|
|
14123
|
-
|
|
14130
|
+
function SidebarBrandSwitcherIdentity({ item }) {
|
|
14131
|
+
if (item.identity) {
|
|
14132
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
|
|
14133
|
+
item.identity,
|
|
14134
|
+
item.tagline && /* @__PURE__ */ jsx("span", { className: "text-fg-3 text-[11px] leading-tight", children: item.tagline })
|
|
14135
|
+
] });
|
|
14136
|
+
}
|
|
14137
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14124
14138
|
/* @__PURE__ */ jsx(SidebarBrandSwitcherTile, { item }),
|
|
14125
14139
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
14126
14140
|
/* @__PURE__ */ jsx("span", { className: "text-fg text-[13px] font-medium", children: item.name }),
|
|
14127
14141
|
item.tagline && /* @__PURE__ */ jsx("span", { className: "text-fg-3 text-[11px]", children: item.tagline })
|
|
14128
|
-
] })
|
|
14129
|
-
badge && /* @__PURE__ */ jsx("span", { className: "rounded-sm px-1.5 py-0.5 text-[10px] font-medium tracking-wider uppercase text-pro-fg ring-1 ring-pro-fg/30", children: badge })
|
|
14142
|
+
] })
|
|
14130
14143
|
] });
|
|
14131
14144
|
}
|
|
14145
|
+
function SidebarBrandSwitcherCurrentRow({
|
|
14146
|
+
item,
|
|
14147
|
+
badge,
|
|
14148
|
+
rowClassName
|
|
14149
|
+
}) {
|
|
14150
|
+
return /* @__PURE__ */ jsxs(
|
|
14151
|
+
"div",
|
|
14152
|
+
{
|
|
14153
|
+
className: cn(
|
|
14154
|
+
"mx-0 flex cursor-default items-center gap-2.5 rounded-md bg-bg-2 px-2 py-1.5",
|
|
14155
|
+
rowClassName
|
|
14156
|
+
),
|
|
14157
|
+
children: [
|
|
14158
|
+
/* @__PURE__ */ jsx(SidebarBrandSwitcherIdentity, { item }),
|
|
14159
|
+
badge && /* @__PURE__ */ jsx("span", { className: "rounded-sm px-1.5 py-0.5 text-[10px] font-medium tracking-wider uppercase text-pro-fg ring-1 ring-pro-fg/30", children: badge })
|
|
14160
|
+
]
|
|
14161
|
+
}
|
|
14162
|
+
);
|
|
14163
|
+
}
|
|
14132
14164
|
function SidebarBrandSwitcherOtherRow({
|
|
14133
14165
|
item,
|
|
14134
14166
|
onLaunch,
|
|
14135
|
-
unavailableBadge
|
|
14167
|
+
unavailableBadge,
|
|
14168
|
+
rowClassName,
|
|
14169
|
+
isLaunching
|
|
14136
14170
|
}) {
|
|
14137
14171
|
const reachable = item.available !== false;
|
|
14138
14172
|
const [launching, setLaunching] = React38.useState(false);
|
|
14173
|
+
const externalLaunching = isLaunching?.(item) ?? false;
|
|
14174
|
+
const busy = launching || externalLaunching;
|
|
14139
14175
|
const handleSelect = async () => {
|
|
14140
|
-
if (!reachable ||
|
|
14176
|
+
if (!reachable || busy || !onLaunch) return;
|
|
14141
14177
|
setLaunching(true);
|
|
14142
14178
|
try {
|
|
14143
14179
|
await onLaunch(item);
|
|
@@ -14157,15 +14193,28 @@ function SidebarBrandSwitcherOtherRow({
|
|
|
14157
14193
|
void handleSelect();
|
|
14158
14194
|
},
|
|
14159
14195
|
"data-item": item.dataAttr ?? item.id,
|
|
14196
|
+
className: cn("flex items-center gap-2.5 rounded-md px-2 py-1.5", rowClassName),
|
|
14197
|
+
children: [
|
|
14198
|
+
/* @__PURE__ */ jsx(SidebarBrandSwitcherIdentity, { item }),
|
|
14199
|
+
!reachable && unavailableBadge && /* @__PURE__ */ jsx("span", { className: "rounded-sm bg-bg-3 px-1.5 py-0.5 text-[10px] font-medium tracking-wider uppercase text-fg-4", children: unavailableBadge }),
|
|
14200
|
+
reachable && busy && /* @__PURE__ */ jsx("span", { className: "rounded-sm bg-bg-3 px-1.5 py-0.5 text-[10px] font-medium tracking-wider uppercase text-fg-4", children: "Opening\u2026" })
|
|
14201
|
+
]
|
|
14202
|
+
}
|
|
14203
|
+
);
|
|
14204
|
+
}
|
|
14205
|
+
function SidebarBrandSwitcherExtraRow({ extra }) {
|
|
14206
|
+
return /* @__PURE__ */ jsxs(
|
|
14207
|
+
DropdownMenuItem,
|
|
14208
|
+
{
|
|
14209
|
+
onSelect: () => extra.onSelect(),
|
|
14210
|
+
"data-item": extra.dataAttr ?? extra.id,
|
|
14160
14211
|
className: "flex items-center gap-2.5 rounded-md px-2 py-1.5",
|
|
14161
14212
|
children: [
|
|
14162
|
-
|
|
14213
|
+
extra.glyph,
|
|
14163
14214
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
14164
|
-
/* @__PURE__ */ jsx("span", { className: "text-fg text-[13px] font-medium", children:
|
|
14165
|
-
|
|
14166
|
-
] })
|
|
14167
|
-
!reachable && unavailableBadge && /* @__PURE__ */ jsx("span", { className: "rounded-sm bg-bg-3 px-1.5 py-0.5 text-[10px] font-medium tracking-wider uppercase text-fg-4", children: unavailableBadge }),
|
|
14168
|
-
reachable && launching && /* @__PURE__ */ jsx("span", { className: "rounded-sm bg-bg-3 px-1.5 py-0.5 text-[10px] font-medium tracking-wider uppercase text-fg-4", children: "Opening\u2026" })
|
|
14215
|
+
/* @__PURE__ */ jsx("span", { className: "text-fg text-[13px] font-medium", children: extra.name }),
|
|
14216
|
+
extra.tagline && /* @__PURE__ */ jsx("span", { className: "text-fg-3 text-[11px]", children: extra.tagline })
|
|
14217
|
+
] })
|
|
14169
14218
|
]
|
|
14170
14219
|
}
|
|
14171
14220
|
);
|