@ai-matrx/design-system 0.86.368 → 0.86.369
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/CHANGELOG.md +12 -2
- package/dist/accents.cjs +2 -2
- package/dist/accents.cjs.map +1 -1
- package/dist/accents.js +2 -2
- package/dist/accents.js.map +1 -1
- package/dist/carousel.js +5 -5
- package/dist/{chunk-SOCDBDFS.js → chunk-2HB65PD6.js} +2 -2
- package/dist/{chunk-KOUHF4JC.js → chunk-345ESUIP.js} +4 -4
- package/dist/{chunk-LS3C7IUV.js → chunk-ASDPMZNP.js} +2 -2
- package/dist/{chunk-WLKHQGX5.js → chunk-CFFRMRWJ.js} +2 -2
- package/dist/{chunk-TBWKBTPM.js → chunk-F7IUBABK.js} +3 -3
- package/dist/{chunk-3JEAXZKX.js → chunk-FLYZSVTR.js} +2 -2
- package/dist/{chunk-UAIBCPMB.js → chunk-RLTTLDWU.js} +4 -4
- package/dist/{chunk-VG765KBC.js → chunk-U3SUPYNT.js} +2 -2
- package/dist/{chunk-QEQDJBNK.js → chunk-WSEZDHLA.js} +2 -2
- package/dist/{chunk-3YTF4MH2.js → chunk-YA3DNAAC.js} +2 -2
- package/dist/clipboard-fallback-dialog.js +2 -2
- package/dist/controls.css +7 -0
- package/dist/controls.js +5 -5
- package/dist/data-table/data-row-inspector.js +5 -5
- package/dist/data-table/data-row-window.js +6 -6
- package/dist/data-table/index.js +8 -8
- package/dist/data-table/pagination.js +3 -3
- package/dist/data-table/uuid-cell.js +3 -3
- package/dist/desktop.js +4 -4
- package/dist/index.cjs +20 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +27 -19
- package/dist/index.js.map +1 -1
- package/dist/item.js +3 -3
- package/dist/lite-table.js +2 -2
- package/dist/record-list.js +3 -3
- package/dist/settings.js +3 -3
- package/dist/swipe-deck-tree.cjs +238 -0
- package/dist/swipe-deck-tree.cjs.map +1 -0
- package/dist/swipe-deck-tree.d.cts +202 -0
- package/dist/swipe-deck-tree.d.ts +202 -0
- package/dist/swipe-deck-tree.js +208 -0
- package/dist/swipe-deck-tree.js.map +1 -0
- package/dist/swipe-deck.cjs.map +1 -1
- package/dist/swipe-deck.d.cts +5 -0
- package/dist/swipe-deck.d.ts +5 -0
- package/dist/swipe-deck.js.map +1 -1
- package/dist/text-input-dialog.js +1 -1
- package/dist/tokens.css +23 -23
- package/dist/web-theme.css +20 -20
- package/dist/writing-field.js +3 -3
- package/package.json +12 -2
- /package/dist/{chunk-SOCDBDFS.js.map → chunk-2HB65PD6.js.map} +0 -0
- /package/dist/{chunk-KOUHF4JC.js.map → chunk-345ESUIP.js.map} +0 -0
- /package/dist/{chunk-LS3C7IUV.js.map → chunk-ASDPMZNP.js.map} +0 -0
- /package/dist/{chunk-WLKHQGX5.js.map → chunk-CFFRMRWJ.js.map} +0 -0
- /package/dist/{chunk-TBWKBTPM.js.map → chunk-F7IUBABK.js.map} +0 -0
- /package/dist/{chunk-3JEAXZKX.js.map → chunk-FLYZSVTR.js.map} +0 -0
- /package/dist/{chunk-UAIBCPMB.js.map → chunk-RLTTLDWU.js.map} +0 -0
- /package/dist/{chunk-VG765KBC.js.map → chunk-U3SUPYNT.js.map} +0 -0
- /package/dist/{chunk-QEQDJBNK.js.map → chunk-WSEZDHLA.js.map} +0 -0
- /package/dist/{chunk-3YTF4MH2.js.map → chunk-YA3DNAAC.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -92,7 +92,7 @@ declare const AccordionTrigger: React$1.ForwardRefExoticComponent<AccordionTrigg
|
|
|
92
92
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
93
93
|
|
|
94
94
|
declare const badgeVariants: (props?: ({
|
|
95
|
-
variant?: "default" | "
|
|
95
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "info" | "error" | "neutral" | null | undefined;
|
|
96
96
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
97
97
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
98
98
|
}
|
|
@@ -286,7 +286,7 @@ interface ErrorBoxProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "role"
|
|
|
286
286
|
declare const ErrorBox: React$1.ForwardRefExoticComponent<ErrorBoxProps & React$1.RefAttributes<HTMLElement>>;
|
|
287
287
|
|
|
288
288
|
declare const alertVariants: (props?: ({
|
|
289
|
-
variant?: "default" | "destructive" | "
|
|
289
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
290
290
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
291
291
|
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
292
292
|
/**
|
|
@@ -657,7 +657,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDia
|
|
|
657
657
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
658
658
|
|
|
659
659
|
declare const buttonVariants: (props?: ({
|
|
660
|
-
variant?: "link" | "default" | "
|
|
660
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "success" | "primary" | "ghost" | "subtle" | null | undefined;
|
|
661
661
|
size?: "sm" | "md" | "default" | "xs" | "lg" | "xl" | "2xl" | "3xl" | "icon" | "icon-sm" | "roundIcon" | null | undefined;
|
|
662
662
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
663
663
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -3761,6 +3761,11 @@ interface ParsedPhone {
|
|
|
3761
3761
|
declare function parsePhone(raw: string, defaultCallingCode?: string): ParsedPhone;
|
|
3762
3762
|
declare function telHref(phone: ParsedPhone): string;
|
|
3763
3763
|
declare function smsHref(phone: ParsedPhone): string;
|
|
3764
|
+
/**
|
|
3765
|
+
* A new message with the words already typed and no recipient chosen (the person picks one in their own Messages
|
|
3766
|
+
* app). `sms:?&body=` is the one spelling both Apple (`&body=`) and Android (`?body=`) read.
|
|
3767
|
+
*/
|
|
3768
|
+
declare function smsBodyHref(body: string, phone?: ParsedPhone | null): string;
|
|
3764
3769
|
/** A postal address as one string (lines joined) — the form every map and geocoder takes. */
|
|
3765
3770
|
declare function addressText(address: string | readonly (string | null | undefined)[]): string;
|
|
3766
3771
|
declare function mapsHref(address: string): string;
|
|
@@ -5906,5 +5911,5 @@ declare function resolveGridCanvas(items: readonly GridCanvasItem[], fit?: "cell
|
|
|
5906
5911
|
};
|
|
5907
5912
|
declare function GridCanvas({ items, renderItem, editable, onChange, itemLabel, rowHeight, gap, fit, className, "aria-label": ariaLabel, }: GridCanvasProps): React$1.JSX.Element;
|
|
5908
5913
|
|
|
5909
|
-
export { ALL_MOTION_CLASSES, ARCHIVED_NEVER_DESTROYED, ARCHIVE_FILTER_LABELS, ARCHIVE_FILTER_VALUES, ARCHIVE_LABEL, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddTile, AddressValue, AdvancedTooltip, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogContentPrimitive, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppRail, AppRailAvatar, AppRailGroup, AppRailItem, AppRailSpacer, ArchiveFilter, ArchivedDisclosure, AssistPeekCard, AssistPeekHover, AssistTray, AuthGateDialog, Avatar, AvatarFallback, AvatarImage, Badge, BalancedFloatingDock, BasicInput, BasicTextarea, BottomSheet, BottomSheetBody, BottomSheetFooter, BottomSheetHeader, Button, CENTERED_DIALOG, CONTACT_STATE_LABEL, CandidateCard, CandidateIdentity, CandidatePickList, CanvasLayout, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ClipboardFallbackDialog, ClipboardFallbackHost, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandRowClose, CommandSeparator, CommandShortcut, ConfirmDialog, ConfirmDialogHost, ContactValue, ContactValuesHostProvider, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CreatablePicker, DEFAULT_ARCHIVE_FILTER, DEFAULT_SCORE_THRESHOLDS, DRAG_CURSORS, DRAG_IGNORE_SELECTOR, Dialog, DialogClose, DialogContent, DialogContentPrimitive, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragCursorMonitor, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentPrimitive, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableLabel, EmailInputDialog, EmailValue, EnterInput, ErrorActions, ErrorActionsProvider, ErrorBox, ErrorCardMenusProvider, ErrorNotice, FALLBACK_ERROR_SENTENCE, FIELD_SURFACE_CLASS, FIRST_USE_HINT_DETAIL_MAX, FIRST_USE_HINT_TITLE_MAX, FLOATING_LAYER_ATTR, FORBIDDEN_HOST_MOTION_UTILITIES, FORM_BACKGROUNDS, FORM_BUTTON_STYLES, FORM_FONTS, FORM_THEME_LABELS, FirstUseHint, FirstUseHintProvider, FloatingDock, FloatingLayer, FloatingSheet, GRID_CANVAS_COLUMNS, GRID_CANVAS_GAP_PX, GRID_CANVAS_PHONE_MAX_PX, GRID_CANVAS_ROW_PX, GridCanvas, HostLink, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, IndicatorStrip, Input, InputWithPrefix, LAYER_FRONT_EVENT, LOOK_ATTRIBUTE, Label, LoadingSpinner, LookScope, MODAL_LAYER_Z, MOTION_BOTTOM_SHEET, MOTION_DIALOG, MOTION_HINT_BEACON, MOTION_OVERLAY, MOTION_POPPER, MOTION_PULSE, MOTION_SHEET, MOTION_SHIMMER, MOTION_SPIN, MatrxMiniLoader, MediaOption, ModeSwitch, NATIVE_TITLE_OPT_OUT_ATTR, OrganizationMark, OrganizationPicker, OverflowToolbar, PANEL_MOTION_CLASS, PANEL_MOTION_DURATION_VAR, PANEL_MOTION_EASE_VAR, PEEK_CARD_SIZES, PEEK_DOORS, PEEK_MAX_RECORD_DOORS, PILL_MAX_WIDTH_PX, POPPER_OFFSET, Peek, PeekEntityRendererProvider, PeekHoverCard, PeekNotice, PeekPartRendererProvider, PeekPopover, PeekWindow, PhoneValue, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, RELOAD_PAGE_LABEL, RESIZE_EDGE_CURSOR, RadioGroup, RadioGroupItem, RadioList, RadixDialogModalProvider, ReadEmpty, ReadFailure, ReadGate, ReadStaleNotice, RecordId, ReloadPageButton, ResizableHandle, ResizablePanel, ResizablePanelGroup, ReviewChanges, SHIMMER_STYLE, SOCIAL_PLATFORMS, SandboxGateDialog, ScopeMismatchDialog, ScoreRing, ScrollArea, ScrollBar, ScrollFade, SegmentedControl, Select, SelectChevron, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShimmerText, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTooltip, SiteIcon, Skeleton, Slider, SocialHandleValue, SocialMark, StaleDataNotice, StatusDot, SuspenseLoader, Switch, TIMED_OUT_SENTENCE, TabbedBottomSheet, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TabsTriggerCore, TapDefaultVariant, TapSurface, TapTargetButton, TapTargetButtonDestructive, TapTargetButtonForGroup, TapTargetButtonGroup, TapTargetButtonOutline, TapTargetButtonSolid, TapTargetButtonTransparent, TapTargetCopyButton, TapTargetLabeled, TapTargetSearchGroup, TextInputDialog, Textarea, TextareaWithPrefix, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UntrustedCount, UrlValue, ValuePromptsDialog, WritingBoxProvider, WritingInputProvider, acceptSuggestions, acquireTitleTooltips, addressText, alertVariants, announceLayerFront, archiveFilterFromDisclosure, badgeVariants, boxesCollide, buttonVariants, canCommitChanges, clampBox, clampRectToViewport, cn, compactCount, compactGrid, countIsStale, countReadState, deferredDialog, displayId, enablePillGuard, enableTapTargetGuard, errorSentenceOf, escapeLayerDepth, findPillInsetWarning, findPillViolation, findTapPlacementWarning, findTapViolation, floatingLayerZIndex, formThemeClasses, formatAudience, formatTapShortcut, getTapTargetLinkComponent, gridRows, holdDragCursor, indicatorText, insertLines, isInsideFloatingLayer, isModalLayerOpen, isOfflineError, isRawErrorText, isRecordUuid, isTimedOutError, keepFloatingLayersInside, mailtoHref, mapsHref, matchesOrganizationQuery, nudgeBox, orderOrganizationsForPicker, organizationColor, packLines, parseEmail, parsePhone, parseSocial, parseUrl, peekRecordData, peopleErrorSentence, phoneGrid, placeBox, placementOf, platformKey, pushEscapeLayer, readOf, readStatusOf, readViewport, reflowGrid, registerModalLayer, resizeRect, resolveGrid, resolveGridCanvas, resolveSiteIcon, samePlacement, scoreAccentBgClasses, scoreRingColorClasses, selectTriggerVariants, setTapTargetLinkComponent, sheetVariants, sidebarMenuButtonVariants, siteHostname, smsHref, startPointerDrag, stepLines, telHref, toArchiveFilter, toggleVariants, unansweredQuestions, unavailableCountLabel, useAccordionSize, useCardSize, useContactValuesHost, useDialogContainer, useDragMove, useDrawerDirection, useErrorActions, useErrorCardMenus, useEscapeLayer, useFirstUseHint, useFloatingLayerZIndex, useLook, useModalLayer, useModalLayerOpen, usePortalContainer, useRadixDialogModal, useRead, useScrollFade, useScrollMaskFade, useShimmerSweep, useSidebar, useTableSize, useTapDefaultVariant, useTapSurface, useWritingBox, useWritingInput, webSearchHref };
|
|
5914
|
+
export { ALL_MOTION_CLASSES, ARCHIVED_NEVER_DESTROYED, ARCHIVE_FILTER_LABELS, ARCHIVE_FILTER_VALUES, ARCHIVE_LABEL, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddTile, AddressValue, AdvancedTooltip, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogContentPrimitive, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppRail, AppRailAvatar, AppRailGroup, AppRailItem, AppRailSpacer, ArchiveFilter, ArchivedDisclosure, AssistPeekCard, AssistPeekHover, AssistTray, AuthGateDialog, Avatar, AvatarFallback, AvatarImage, Badge, BalancedFloatingDock, BasicInput, BasicTextarea, BottomSheet, BottomSheetBody, BottomSheetFooter, BottomSheetHeader, Button, CENTERED_DIALOG, CONTACT_STATE_LABEL, CandidateCard, CandidateIdentity, CandidatePickList, CanvasLayout, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ClipboardFallbackDialog, ClipboardFallbackHost, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandRowClose, CommandSeparator, CommandShortcut, ConfirmDialog, ConfirmDialogHost, ContactValue, ContactValuesHostProvider, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CreatablePicker, DEFAULT_ARCHIVE_FILTER, DEFAULT_SCORE_THRESHOLDS, DRAG_CURSORS, DRAG_IGNORE_SELECTOR, Dialog, DialogClose, DialogContent, DialogContentPrimitive, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragCursorMonitor, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentPrimitive, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableLabel, EmailInputDialog, EmailValue, EnterInput, ErrorActions, ErrorActionsProvider, ErrorBox, ErrorCardMenusProvider, ErrorNotice, FALLBACK_ERROR_SENTENCE, FIELD_SURFACE_CLASS, FIRST_USE_HINT_DETAIL_MAX, FIRST_USE_HINT_TITLE_MAX, FLOATING_LAYER_ATTR, FORBIDDEN_HOST_MOTION_UTILITIES, FORM_BACKGROUNDS, FORM_BUTTON_STYLES, FORM_FONTS, FORM_THEME_LABELS, FirstUseHint, FirstUseHintProvider, FloatingDock, FloatingLayer, FloatingSheet, GRID_CANVAS_COLUMNS, GRID_CANVAS_GAP_PX, GRID_CANVAS_PHONE_MAX_PX, GRID_CANVAS_ROW_PX, GridCanvas, HostLink, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, IndicatorStrip, Input, InputWithPrefix, LAYER_FRONT_EVENT, LOOK_ATTRIBUTE, Label, LoadingSpinner, LookScope, MODAL_LAYER_Z, MOTION_BOTTOM_SHEET, MOTION_DIALOG, MOTION_HINT_BEACON, MOTION_OVERLAY, MOTION_POPPER, MOTION_PULSE, MOTION_SHEET, MOTION_SHIMMER, MOTION_SPIN, MatrxMiniLoader, MediaOption, ModeSwitch, NATIVE_TITLE_OPT_OUT_ATTR, OrganizationMark, OrganizationPicker, OverflowToolbar, PANEL_MOTION_CLASS, PANEL_MOTION_DURATION_VAR, PANEL_MOTION_EASE_VAR, PEEK_CARD_SIZES, PEEK_DOORS, PEEK_MAX_RECORD_DOORS, PILL_MAX_WIDTH_PX, POPPER_OFFSET, Peek, PeekEntityRendererProvider, PeekHoverCard, PeekNotice, PeekPartRendererProvider, PeekPopover, PeekWindow, PhoneValue, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, RELOAD_PAGE_LABEL, RESIZE_EDGE_CURSOR, RadioGroup, RadioGroupItem, RadioList, RadixDialogModalProvider, ReadEmpty, ReadFailure, ReadGate, ReadStaleNotice, RecordId, ReloadPageButton, ResizableHandle, ResizablePanel, ResizablePanelGroup, ReviewChanges, SHIMMER_STYLE, SOCIAL_PLATFORMS, SandboxGateDialog, ScopeMismatchDialog, ScoreRing, ScrollArea, ScrollBar, ScrollFade, SegmentedControl, Select, SelectChevron, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShimmerText, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTooltip, SiteIcon, Skeleton, Slider, SocialHandleValue, SocialMark, StaleDataNotice, StatusDot, SuspenseLoader, Switch, TIMED_OUT_SENTENCE, TabbedBottomSheet, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TabsTriggerCore, TapDefaultVariant, TapSurface, TapTargetButton, TapTargetButtonDestructive, TapTargetButtonForGroup, TapTargetButtonGroup, TapTargetButtonOutline, TapTargetButtonSolid, TapTargetButtonTransparent, TapTargetCopyButton, TapTargetLabeled, TapTargetSearchGroup, TextInputDialog, Textarea, TextareaWithPrefix, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UntrustedCount, UrlValue, ValuePromptsDialog, WritingBoxProvider, WritingInputProvider, acceptSuggestions, acquireTitleTooltips, addressText, alertVariants, announceLayerFront, archiveFilterFromDisclosure, badgeVariants, boxesCollide, buttonVariants, canCommitChanges, clampBox, clampRectToViewport, cn, compactCount, compactGrid, countIsStale, countReadState, deferredDialog, displayId, enablePillGuard, enableTapTargetGuard, errorSentenceOf, escapeLayerDepth, findPillInsetWarning, findPillViolation, findTapPlacementWarning, findTapViolation, floatingLayerZIndex, formThemeClasses, formatAudience, formatTapShortcut, getTapTargetLinkComponent, gridRows, holdDragCursor, indicatorText, insertLines, isInsideFloatingLayer, isModalLayerOpen, isOfflineError, isRawErrorText, isRecordUuid, isTimedOutError, keepFloatingLayersInside, mailtoHref, mapsHref, matchesOrganizationQuery, nudgeBox, orderOrganizationsForPicker, organizationColor, packLines, parseEmail, parsePhone, parseSocial, parseUrl, peekRecordData, peopleErrorSentence, phoneGrid, placeBox, placementOf, platformKey, pushEscapeLayer, readOf, readStatusOf, readViewport, reflowGrid, registerModalLayer, resizeRect, resolveGrid, resolveGridCanvas, resolveSiteIcon, samePlacement, scoreAccentBgClasses, scoreRingColorClasses, selectTriggerVariants, setTapTargetLinkComponent, sheetVariants, sidebarMenuButtonVariants, siteHostname, smsBodyHref, smsHref, startPointerDrag, stepLines, telHref, toArchiveFilter, toggleVariants, unansweredQuestions, unavailableCountLabel, useAccordionSize, useCardSize, useContactValuesHost, useDialogContainer, useDragMove, useDrawerDirection, useErrorActions, useErrorCardMenus, useEscapeLayer, useFirstUseHint, useFloatingLayerZIndex, useLook, useModalLayer, useModalLayerOpen, usePortalContainer, useRadixDialogModal, useRead, useScrollFade, useScrollMaskFade, useShimmerSweep, useSidebar, useTableSize, useTapDefaultVariant, useTapSurface, useWritingBox, useWritingInput, webSearchHref };
|
|
5910
5915
|
export type { AccordionProps, AccordionSize, AccordionTriggerProps, AddTileProps, AddressValidation, AddressValueProps, AlertDialogContentProps, AlertProps, AppRailAvatarProps, AppRailItemProps, ArchiveFilterProps, ArchiveFilterValue, ArchivedDisclosureProps, AssistPeekCardProps, AssistPeekEvidence, AssistPeekHoverProps, AssistTrayProps, AuthGateDialogProps, AvatarProps, AvatarSize, BadgeProps, BottomSheetBodyProps, BottomSheetFooterProps, BottomSheetHeaderProps, BottomSheetProps, ButtonProps, Candidate, CandidateAnswer, CandidateCardProps, CandidateIdentityProps, CandidatePickListProps, CanvasColumnDef, CanvasLayoutProps, CanvasPanelDef, CardContentProps, CardGap, CardProps, CardSize, ChangeAnswers, ChangeGroup, ChangeItemRef, ChangeOption, ChangePreview, ChangeQuestion, ChangeWarning, CheckboxProps, CheckboxSize, ClipboardFallbackDialogProps, CollapsibleContentProps, CommandDialogProps, ConfirmDialogProps, ContactValueCommonProps, ContactValueProps, ContactValueState, ContactValueType, ContactValuesHost, ContextMenuContentProps, CountRead, CountReadState, CreatableOption, CreatablePickerProps, DeferredDialog, DialogContentProps, DialogSize, DragCommit, DragCursor, DragDelta, DragGesture, DragMoveApi, DragRect, DragViewport, DrawerContentProps, DrawerDirection, DrawerProps, DrawerSize, DropdownMenuContentProps, EditableLabelActivation, EditableLabelCommitMode, EditableLabelProps, EmailInputDialogProps, EmailValueProps, EnterInputProps, ErrorActionsInput, ErrorActionsRecord, ErrorActionsRenderer, ErrorBoxProps, ErrorCardMenus, ErrorNoticeProps, EscapeLayerHandle, FirstUseHintProps, FirstUseHintStore, FloatingDockItem, FloatingDockProps, FloatingSheetProps, FormBackground, FormButtonStyle, FormFont, FormThemeChoice, GridBox, GridBreakpoint, GridCanvasItem, GridCanvasPlacements, GridCanvasProps, GridPlacement, GridSizeLimits, HostLinkProps, HoverCardContentProps, IconButtonProps, IndicatorItem, IndicatorStripProps, IndicatorTone, InputProps, InputVariant, InputWithPrefixProps, LayerFrontDetail, Look, LookScopeProps, MediaOptionProps, MediaOptionSize, ModeSwitchOption, ModeSwitchProps, OrganizationPickerMore, OrganizationPickerOrganization, OrganizationPickerProps, OverflowToolbarProps, ParsedEmail, ParsedPhone, ParsedSocial, ParsedUrl, PeekBlock, PeekCardDensity, PeekCardFrame, PeekCardHeight, PeekCardOrientation, PeekCardPrimary, PeekCardSize, PeekCode, PeekDoor, PeekDoorKind, PeekDoorMenuGroup, PeekDoorMenuItem, PeekDoors, PeekEntityRenderer, PeekFact, PeekGlyph, PeekHostProps, PeekMedia, PeekNoticeItem, PeekNoticeLevel, PeekNoticeProps, PeekPart, PeekPartRenderer, PeekPresentation, PeekProperty, PeekProps, PeekRecord, PeekRow, PeekSection, PeekSheetFooter, PeekTone, PeekWindowProps, PhoneValueProps, PickerIcon, PointerDragHandle, PointerDragOptions, PopoverContentProps, PopoverPadding, PopoverWidth, PortalContainerProviderProps, ProgressProps, ProgressTone, RadioGroupItemProps, RadioGroupProps, RadioGroupSize, RadioListOption, RadioListProps, RadixDialogModalProviderProps, ReadFailureProps, ReadOutcome, ReadResult, ReadStatus, RecordIdLook, RecordIdOpenResult, RecordIdProps, RecordIdShow, ResizableHandleProps, ResizableHandleSize, ResizeEdge, ReviewChangesProps, SandboxGateChoice, SandboxGateDialogProps, ScopeMismatchChoice, ScopeMismatchDialogProps, ScopeMismatchDisplayItem, ScoreRingProps, ScoreThresholds, ScrollAreaProps, ScrollFadeProps, ScrollFadeState, SegmentOption, SegmentedControlProps, SelectContentProps, SelectTriggerProps, SheetContentProps, ShimmerTextProps, SiteIconProps, SizeLimits, SkeletonHeight, SkeletonProps, SkeletonShape, SkeletonWidth, SliderProps, SliderSize, SocialBrandMark, SocialHandleValueProps, SocialPlatform, StaleDataNoticeProps, StatusDotProps, StatusTone, SwitchProps, SwitchSize, TabbedBottomSheetProps, TabbedBottomSheetTab, TabbedBottomSheetTabNav, TableHeaderProps, TableProps, TableSize, TapDefaultVariantValue, TapFeatureProps, TapShortcut, TapSolidTone, TapSurfaceKind, TapTargetButtonProps, TapTargetButtonSolidProps, TapTargetCopyButtonProps, TapTargetLinkComponent, TapTargetLinkProps, TapTargetSearchGroupProps, TapTargetSearchShortcut, TapTone, TextInputDialogProps, TextareaProps, TextareaWithPrefixProps, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, ToolbarAction, ToolbarActionTone, ToolbarIcon, TooltipContentProps, TooltipProviderProps, UntrustedCountProps, UrlValueProps, UseDragMoveOptions, UseScrollFadeResult, ValuePromptField, ValuePromptsAnswers, ValuePromptsDialogProps, ValuePromptsRequest, ViewportClamp, WebSearchPrefetch, WritingBoxComponent, WritingBoxProps, WritingInputComponent, WritingInputProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ declare const AccordionTrigger: React$1.ForwardRefExoticComponent<AccordionTrigg
|
|
|
92
92
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
93
93
|
|
|
94
94
|
declare const badgeVariants: (props?: ({
|
|
95
|
-
variant?: "default" | "
|
|
95
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "info" | "error" | "neutral" | null | undefined;
|
|
96
96
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
97
97
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
98
98
|
}
|
|
@@ -286,7 +286,7 @@ interface ErrorBoxProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "role"
|
|
|
286
286
|
declare const ErrorBox: React$1.ForwardRefExoticComponent<ErrorBoxProps & React$1.RefAttributes<HTMLElement>>;
|
|
287
287
|
|
|
288
288
|
declare const alertVariants: (props?: ({
|
|
289
|
-
variant?: "default" | "destructive" | "
|
|
289
|
+
variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
290
290
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
291
291
|
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
292
292
|
/**
|
|
@@ -657,7 +657,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDia
|
|
|
657
657
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
658
658
|
|
|
659
659
|
declare const buttonVariants: (props?: ({
|
|
660
|
-
variant?: "link" | "default" | "
|
|
660
|
+
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "success" | "primary" | "ghost" | "subtle" | null | undefined;
|
|
661
661
|
size?: "sm" | "md" | "default" | "xs" | "lg" | "xl" | "2xl" | "3xl" | "icon" | "icon-sm" | "roundIcon" | null | undefined;
|
|
662
662
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
663
663
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -3761,6 +3761,11 @@ interface ParsedPhone {
|
|
|
3761
3761
|
declare function parsePhone(raw: string, defaultCallingCode?: string): ParsedPhone;
|
|
3762
3762
|
declare function telHref(phone: ParsedPhone): string;
|
|
3763
3763
|
declare function smsHref(phone: ParsedPhone): string;
|
|
3764
|
+
/**
|
|
3765
|
+
* A new message with the words already typed and no recipient chosen (the person picks one in their own Messages
|
|
3766
|
+
* app). `sms:?&body=` is the one spelling both Apple (`&body=`) and Android (`?body=`) read.
|
|
3767
|
+
*/
|
|
3768
|
+
declare function smsBodyHref(body: string, phone?: ParsedPhone | null): string;
|
|
3764
3769
|
/** A postal address as one string (lines joined) — the form every map and geocoder takes. */
|
|
3765
3770
|
declare function addressText(address: string | readonly (string | null | undefined)[]): string;
|
|
3766
3771
|
declare function mapsHref(address: string): string;
|
|
@@ -5906,5 +5911,5 @@ declare function resolveGridCanvas(items: readonly GridCanvasItem[], fit?: "cell
|
|
|
5906
5911
|
};
|
|
5907
5912
|
declare function GridCanvas({ items, renderItem, editable, onChange, itemLabel, rowHeight, gap, fit, className, "aria-label": ariaLabel, }: GridCanvasProps): React$1.JSX.Element;
|
|
5908
5913
|
|
|
5909
|
-
export { ALL_MOTION_CLASSES, ARCHIVED_NEVER_DESTROYED, ARCHIVE_FILTER_LABELS, ARCHIVE_FILTER_VALUES, ARCHIVE_LABEL, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddTile, AddressValue, AdvancedTooltip, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogContentPrimitive, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppRail, AppRailAvatar, AppRailGroup, AppRailItem, AppRailSpacer, ArchiveFilter, ArchivedDisclosure, AssistPeekCard, AssistPeekHover, AssistTray, AuthGateDialog, Avatar, AvatarFallback, AvatarImage, Badge, BalancedFloatingDock, BasicInput, BasicTextarea, BottomSheet, BottomSheetBody, BottomSheetFooter, BottomSheetHeader, Button, CENTERED_DIALOG, CONTACT_STATE_LABEL, CandidateCard, CandidateIdentity, CandidatePickList, CanvasLayout, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ClipboardFallbackDialog, ClipboardFallbackHost, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandRowClose, CommandSeparator, CommandShortcut, ConfirmDialog, ConfirmDialogHost, ContactValue, ContactValuesHostProvider, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CreatablePicker, DEFAULT_ARCHIVE_FILTER, DEFAULT_SCORE_THRESHOLDS, DRAG_CURSORS, DRAG_IGNORE_SELECTOR, Dialog, DialogClose, DialogContent, DialogContentPrimitive, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragCursorMonitor, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentPrimitive, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableLabel, EmailInputDialog, EmailValue, EnterInput, ErrorActions, ErrorActionsProvider, ErrorBox, ErrorCardMenusProvider, ErrorNotice, FALLBACK_ERROR_SENTENCE, FIELD_SURFACE_CLASS, FIRST_USE_HINT_DETAIL_MAX, FIRST_USE_HINT_TITLE_MAX, FLOATING_LAYER_ATTR, FORBIDDEN_HOST_MOTION_UTILITIES, FORM_BACKGROUNDS, FORM_BUTTON_STYLES, FORM_FONTS, FORM_THEME_LABELS, FirstUseHint, FirstUseHintProvider, FloatingDock, FloatingLayer, FloatingSheet, GRID_CANVAS_COLUMNS, GRID_CANVAS_GAP_PX, GRID_CANVAS_PHONE_MAX_PX, GRID_CANVAS_ROW_PX, GridCanvas, HostLink, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, IndicatorStrip, Input, InputWithPrefix, LAYER_FRONT_EVENT, LOOK_ATTRIBUTE, Label, LoadingSpinner, LookScope, MODAL_LAYER_Z, MOTION_BOTTOM_SHEET, MOTION_DIALOG, MOTION_HINT_BEACON, MOTION_OVERLAY, MOTION_POPPER, MOTION_PULSE, MOTION_SHEET, MOTION_SHIMMER, MOTION_SPIN, MatrxMiniLoader, MediaOption, ModeSwitch, NATIVE_TITLE_OPT_OUT_ATTR, OrganizationMark, OrganizationPicker, OverflowToolbar, PANEL_MOTION_CLASS, PANEL_MOTION_DURATION_VAR, PANEL_MOTION_EASE_VAR, PEEK_CARD_SIZES, PEEK_DOORS, PEEK_MAX_RECORD_DOORS, PILL_MAX_WIDTH_PX, POPPER_OFFSET, Peek, PeekEntityRendererProvider, PeekHoverCard, PeekNotice, PeekPartRendererProvider, PeekPopover, PeekWindow, PhoneValue, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, RELOAD_PAGE_LABEL, RESIZE_EDGE_CURSOR, RadioGroup, RadioGroupItem, RadioList, RadixDialogModalProvider, ReadEmpty, ReadFailure, ReadGate, ReadStaleNotice, RecordId, ReloadPageButton, ResizableHandle, ResizablePanel, ResizablePanelGroup, ReviewChanges, SHIMMER_STYLE, SOCIAL_PLATFORMS, SandboxGateDialog, ScopeMismatchDialog, ScoreRing, ScrollArea, ScrollBar, ScrollFade, SegmentedControl, Select, SelectChevron, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShimmerText, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTooltip, SiteIcon, Skeleton, Slider, SocialHandleValue, SocialMark, StaleDataNotice, StatusDot, SuspenseLoader, Switch, TIMED_OUT_SENTENCE, TabbedBottomSheet, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TabsTriggerCore, TapDefaultVariant, TapSurface, TapTargetButton, TapTargetButtonDestructive, TapTargetButtonForGroup, TapTargetButtonGroup, TapTargetButtonOutline, TapTargetButtonSolid, TapTargetButtonTransparent, TapTargetCopyButton, TapTargetLabeled, TapTargetSearchGroup, TextInputDialog, Textarea, TextareaWithPrefix, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UntrustedCount, UrlValue, ValuePromptsDialog, WritingBoxProvider, WritingInputProvider, acceptSuggestions, acquireTitleTooltips, addressText, alertVariants, announceLayerFront, archiveFilterFromDisclosure, badgeVariants, boxesCollide, buttonVariants, canCommitChanges, clampBox, clampRectToViewport, cn, compactCount, compactGrid, countIsStale, countReadState, deferredDialog, displayId, enablePillGuard, enableTapTargetGuard, errorSentenceOf, escapeLayerDepth, findPillInsetWarning, findPillViolation, findTapPlacementWarning, findTapViolation, floatingLayerZIndex, formThemeClasses, formatAudience, formatTapShortcut, getTapTargetLinkComponent, gridRows, holdDragCursor, indicatorText, insertLines, isInsideFloatingLayer, isModalLayerOpen, isOfflineError, isRawErrorText, isRecordUuid, isTimedOutError, keepFloatingLayersInside, mailtoHref, mapsHref, matchesOrganizationQuery, nudgeBox, orderOrganizationsForPicker, organizationColor, packLines, parseEmail, parsePhone, parseSocial, parseUrl, peekRecordData, peopleErrorSentence, phoneGrid, placeBox, placementOf, platformKey, pushEscapeLayer, readOf, readStatusOf, readViewport, reflowGrid, registerModalLayer, resizeRect, resolveGrid, resolveGridCanvas, resolveSiteIcon, samePlacement, scoreAccentBgClasses, scoreRingColorClasses, selectTriggerVariants, setTapTargetLinkComponent, sheetVariants, sidebarMenuButtonVariants, siteHostname, smsHref, startPointerDrag, stepLines, telHref, toArchiveFilter, toggleVariants, unansweredQuestions, unavailableCountLabel, useAccordionSize, useCardSize, useContactValuesHost, useDialogContainer, useDragMove, useDrawerDirection, useErrorActions, useErrorCardMenus, useEscapeLayer, useFirstUseHint, useFloatingLayerZIndex, useLook, useModalLayer, useModalLayerOpen, usePortalContainer, useRadixDialogModal, useRead, useScrollFade, useScrollMaskFade, useShimmerSweep, useSidebar, useTableSize, useTapDefaultVariant, useTapSurface, useWritingBox, useWritingInput, webSearchHref };
|
|
5914
|
+
export { ALL_MOTION_CLASSES, ARCHIVED_NEVER_DESTROYED, ARCHIVE_FILTER_LABELS, ARCHIVE_FILTER_VALUES, ARCHIVE_LABEL, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddTile, AddressValue, AdvancedTooltip, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogContentPrimitive, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppRail, AppRailAvatar, AppRailGroup, AppRailItem, AppRailSpacer, ArchiveFilter, ArchivedDisclosure, AssistPeekCard, AssistPeekHover, AssistTray, AuthGateDialog, Avatar, AvatarFallback, AvatarImage, Badge, BalancedFloatingDock, BasicInput, BasicTextarea, BottomSheet, BottomSheetBody, BottomSheetFooter, BottomSheetHeader, Button, CENTERED_DIALOG, CONTACT_STATE_LABEL, CandidateCard, CandidateIdentity, CandidatePickList, CanvasLayout, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ClipboardFallbackDialog, ClipboardFallbackHost, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandRowClose, CommandSeparator, CommandShortcut, ConfirmDialog, ConfirmDialogHost, ContactValue, ContactValuesHostProvider, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CreatablePicker, DEFAULT_ARCHIVE_FILTER, DEFAULT_SCORE_THRESHOLDS, DRAG_CURSORS, DRAG_IGNORE_SELECTOR, Dialog, DialogClose, DialogContent, DialogContentPrimitive, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragCursorMonitor, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentPrimitive, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableLabel, EmailInputDialog, EmailValue, EnterInput, ErrorActions, ErrorActionsProvider, ErrorBox, ErrorCardMenusProvider, ErrorNotice, FALLBACK_ERROR_SENTENCE, FIELD_SURFACE_CLASS, FIRST_USE_HINT_DETAIL_MAX, FIRST_USE_HINT_TITLE_MAX, FLOATING_LAYER_ATTR, FORBIDDEN_HOST_MOTION_UTILITIES, FORM_BACKGROUNDS, FORM_BUTTON_STYLES, FORM_FONTS, FORM_THEME_LABELS, FirstUseHint, FirstUseHintProvider, FloatingDock, FloatingLayer, FloatingSheet, GRID_CANVAS_COLUMNS, GRID_CANVAS_GAP_PX, GRID_CANVAS_PHONE_MAX_PX, GRID_CANVAS_ROW_PX, GridCanvas, HostLink, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, IndicatorStrip, Input, InputWithPrefix, LAYER_FRONT_EVENT, LOOK_ATTRIBUTE, Label, LoadingSpinner, LookScope, MODAL_LAYER_Z, MOTION_BOTTOM_SHEET, MOTION_DIALOG, MOTION_HINT_BEACON, MOTION_OVERLAY, MOTION_POPPER, MOTION_PULSE, MOTION_SHEET, MOTION_SHIMMER, MOTION_SPIN, MatrxMiniLoader, MediaOption, ModeSwitch, NATIVE_TITLE_OPT_OUT_ATTR, OrganizationMark, OrganizationPicker, OverflowToolbar, PANEL_MOTION_CLASS, PANEL_MOTION_DURATION_VAR, PANEL_MOTION_EASE_VAR, PEEK_CARD_SIZES, PEEK_DOORS, PEEK_MAX_RECORD_DOORS, PILL_MAX_WIDTH_PX, POPPER_OFFSET, Peek, PeekEntityRendererProvider, PeekHoverCard, PeekNotice, PeekPartRendererProvider, PeekPopover, PeekWindow, PhoneValue, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, RELOAD_PAGE_LABEL, RESIZE_EDGE_CURSOR, RadioGroup, RadioGroupItem, RadioList, RadixDialogModalProvider, ReadEmpty, ReadFailure, ReadGate, ReadStaleNotice, RecordId, ReloadPageButton, ResizableHandle, ResizablePanel, ResizablePanelGroup, ReviewChanges, SHIMMER_STYLE, SOCIAL_PLATFORMS, SandboxGateDialog, ScopeMismatchDialog, ScoreRing, ScrollArea, ScrollBar, ScrollFade, SegmentedControl, Select, SelectChevron, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShimmerText, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleTooltip, SiteIcon, Skeleton, Slider, SocialHandleValue, SocialMark, StaleDataNotice, StatusDot, SuspenseLoader, Switch, TIMED_OUT_SENTENCE, TabbedBottomSheet, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TabsTriggerCore, TapDefaultVariant, TapSurface, TapTargetButton, TapTargetButtonDestructive, TapTargetButtonForGroup, TapTargetButtonGroup, TapTargetButtonOutline, TapTargetButtonSolid, TapTargetButtonTransparent, TapTargetCopyButton, TapTargetLabeled, TapTargetSearchGroup, TextInputDialog, Textarea, TextareaWithPrefix, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UntrustedCount, UrlValue, ValuePromptsDialog, WritingBoxProvider, WritingInputProvider, acceptSuggestions, acquireTitleTooltips, addressText, alertVariants, announceLayerFront, archiveFilterFromDisclosure, badgeVariants, boxesCollide, buttonVariants, canCommitChanges, clampBox, clampRectToViewport, cn, compactCount, compactGrid, countIsStale, countReadState, deferredDialog, displayId, enablePillGuard, enableTapTargetGuard, errorSentenceOf, escapeLayerDepth, findPillInsetWarning, findPillViolation, findTapPlacementWarning, findTapViolation, floatingLayerZIndex, formThemeClasses, formatAudience, formatTapShortcut, getTapTargetLinkComponent, gridRows, holdDragCursor, indicatorText, insertLines, isInsideFloatingLayer, isModalLayerOpen, isOfflineError, isRawErrorText, isRecordUuid, isTimedOutError, keepFloatingLayersInside, mailtoHref, mapsHref, matchesOrganizationQuery, nudgeBox, orderOrganizationsForPicker, organizationColor, packLines, parseEmail, parsePhone, parseSocial, parseUrl, peekRecordData, peopleErrorSentence, phoneGrid, placeBox, placementOf, platformKey, pushEscapeLayer, readOf, readStatusOf, readViewport, reflowGrid, registerModalLayer, resizeRect, resolveGrid, resolveGridCanvas, resolveSiteIcon, samePlacement, scoreAccentBgClasses, scoreRingColorClasses, selectTriggerVariants, setTapTargetLinkComponent, sheetVariants, sidebarMenuButtonVariants, siteHostname, smsBodyHref, smsHref, startPointerDrag, stepLines, telHref, toArchiveFilter, toggleVariants, unansweredQuestions, unavailableCountLabel, useAccordionSize, useCardSize, useContactValuesHost, useDialogContainer, useDragMove, useDrawerDirection, useErrorActions, useErrorCardMenus, useEscapeLayer, useFirstUseHint, useFloatingLayerZIndex, useLook, useModalLayer, useModalLayerOpen, usePortalContainer, useRadixDialogModal, useRead, useScrollFade, useScrollMaskFade, useShimmerSweep, useSidebar, useTableSize, useTapDefaultVariant, useTapSurface, useWritingBox, useWritingInput, webSearchHref };
|
|
5910
5915
|
export type { AccordionProps, AccordionSize, AccordionTriggerProps, AddTileProps, AddressValidation, AddressValueProps, AlertDialogContentProps, AlertProps, AppRailAvatarProps, AppRailItemProps, ArchiveFilterProps, ArchiveFilterValue, ArchivedDisclosureProps, AssistPeekCardProps, AssistPeekEvidence, AssistPeekHoverProps, AssistTrayProps, AuthGateDialogProps, AvatarProps, AvatarSize, BadgeProps, BottomSheetBodyProps, BottomSheetFooterProps, BottomSheetHeaderProps, BottomSheetProps, ButtonProps, Candidate, CandidateAnswer, CandidateCardProps, CandidateIdentityProps, CandidatePickListProps, CanvasColumnDef, CanvasLayoutProps, CanvasPanelDef, CardContentProps, CardGap, CardProps, CardSize, ChangeAnswers, ChangeGroup, ChangeItemRef, ChangeOption, ChangePreview, ChangeQuestion, ChangeWarning, CheckboxProps, CheckboxSize, ClipboardFallbackDialogProps, CollapsibleContentProps, CommandDialogProps, ConfirmDialogProps, ContactValueCommonProps, ContactValueProps, ContactValueState, ContactValueType, ContactValuesHost, ContextMenuContentProps, CountRead, CountReadState, CreatableOption, CreatablePickerProps, DeferredDialog, DialogContentProps, DialogSize, DragCommit, DragCursor, DragDelta, DragGesture, DragMoveApi, DragRect, DragViewport, DrawerContentProps, DrawerDirection, DrawerProps, DrawerSize, DropdownMenuContentProps, EditableLabelActivation, EditableLabelCommitMode, EditableLabelProps, EmailInputDialogProps, EmailValueProps, EnterInputProps, ErrorActionsInput, ErrorActionsRecord, ErrorActionsRenderer, ErrorBoxProps, ErrorCardMenus, ErrorNoticeProps, EscapeLayerHandle, FirstUseHintProps, FirstUseHintStore, FloatingDockItem, FloatingDockProps, FloatingSheetProps, FormBackground, FormButtonStyle, FormFont, FormThemeChoice, GridBox, GridBreakpoint, GridCanvasItem, GridCanvasPlacements, GridCanvasProps, GridPlacement, GridSizeLimits, HostLinkProps, HoverCardContentProps, IconButtonProps, IndicatorItem, IndicatorStripProps, IndicatorTone, InputProps, InputVariant, InputWithPrefixProps, LayerFrontDetail, Look, LookScopeProps, MediaOptionProps, MediaOptionSize, ModeSwitchOption, ModeSwitchProps, OrganizationPickerMore, OrganizationPickerOrganization, OrganizationPickerProps, OverflowToolbarProps, ParsedEmail, ParsedPhone, ParsedSocial, ParsedUrl, PeekBlock, PeekCardDensity, PeekCardFrame, PeekCardHeight, PeekCardOrientation, PeekCardPrimary, PeekCardSize, PeekCode, PeekDoor, PeekDoorKind, PeekDoorMenuGroup, PeekDoorMenuItem, PeekDoors, PeekEntityRenderer, PeekFact, PeekGlyph, PeekHostProps, PeekMedia, PeekNoticeItem, PeekNoticeLevel, PeekNoticeProps, PeekPart, PeekPartRenderer, PeekPresentation, PeekProperty, PeekProps, PeekRecord, PeekRow, PeekSection, PeekSheetFooter, PeekTone, PeekWindowProps, PhoneValueProps, PickerIcon, PointerDragHandle, PointerDragOptions, PopoverContentProps, PopoverPadding, PopoverWidth, PortalContainerProviderProps, ProgressProps, ProgressTone, RadioGroupItemProps, RadioGroupProps, RadioGroupSize, RadioListOption, RadioListProps, RadixDialogModalProviderProps, ReadFailureProps, ReadOutcome, ReadResult, ReadStatus, RecordIdLook, RecordIdOpenResult, RecordIdProps, RecordIdShow, ResizableHandleProps, ResizableHandleSize, ResizeEdge, ReviewChangesProps, SandboxGateChoice, SandboxGateDialogProps, ScopeMismatchChoice, ScopeMismatchDialogProps, ScopeMismatchDisplayItem, ScoreRingProps, ScoreThresholds, ScrollAreaProps, ScrollFadeProps, ScrollFadeState, SegmentOption, SegmentedControlProps, SelectContentProps, SelectTriggerProps, SheetContentProps, ShimmerTextProps, SiteIconProps, SizeLimits, SkeletonHeight, SkeletonProps, SkeletonShape, SkeletonWidth, SliderProps, SliderSize, SocialBrandMark, SocialHandleValueProps, SocialPlatform, StaleDataNoticeProps, StatusDotProps, StatusTone, SwitchProps, SwitchSize, TabbedBottomSheetProps, TabbedBottomSheetTab, TabbedBottomSheetTabNav, TableHeaderProps, TableProps, TableSize, TapDefaultVariantValue, TapFeatureProps, TapShortcut, TapSolidTone, TapSurfaceKind, TapTargetButtonProps, TapTargetButtonSolidProps, TapTargetCopyButtonProps, TapTargetLinkComponent, TapTargetLinkProps, TapTargetSearchGroupProps, TapTargetSearchShortcut, TapTone, TextInputDialogProps, TextareaProps, TextareaWithPrefixProps, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, ToolbarAction, ToolbarActionTone, ToolbarIcon, TooltipContentProps, TooltipProviderProps, UntrustedCountProps, UrlValueProps, UseDragMoveOptions, UseScrollFadeResult, ValuePromptField, ValuePromptsAnswers, ValuePromptsDialogProps, ValuePromptsRequest, ViewportClamp, WebSearchPrefetch, WritingBoxComponent, WritingBoxProps, WritingInputComponent, WritingInputProps };
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
matchesOrganizationQuery,
|
|
26
26
|
orderOrganizationsForPicker,
|
|
27
27
|
organizationColor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-F7IUBABK.js";
|
|
29
29
|
import {
|
|
30
30
|
EditableLabel
|
|
31
31
|
} from "./chunk-J6637L6D.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
countReadState,
|
|
51
51
|
indicatorText,
|
|
52
52
|
unavailableCountLabel
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-U3SUPYNT.js";
|
|
54
54
|
import {
|
|
55
55
|
Collapsible,
|
|
56
56
|
CollapsibleContent,
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
EmptyState,
|
|
138
138
|
RowGroup,
|
|
139
139
|
Tile
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-CFFRMRWJ.js";
|
|
141
141
|
import {
|
|
142
142
|
Drawer,
|
|
143
143
|
DrawerBody,
|
|
@@ -284,7 +284,7 @@ import {
|
|
|
284
284
|
TableHeader,
|
|
285
285
|
TableRow,
|
|
286
286
|
useTableSize
|
|
287
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-YA3DNAAC.js";
|
|
288
288
|
import {
|
|
289
289
|
getTapTargetLinkComponent,
|
|
290
290
|
setTapTargetLinkComponent
|
|
@@ -302,20 +302,20 @@ import {
|
|
|
302
302
|
RecordId,
|
|
303
303
|
displayId,
|
|
304
304
|
isRecordUuid
|
|
305
|
-
} from "./chunk-
|
|
305
|
+
} from "./chunk-FLYZSVTR.js";
|
|
306
306
|
import {
|
|
307
307
|
Badge,
|
|
308
308
|
Button as Button2,
|
|
309
309
|
Chip,
|
|
310
310
|
ChipSet,
|
|
311
311
|
Switch
|
|
312
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-345ESUIP.js";
|
|
313
|
+
import "./chunk-BKCJUFD3.js";
|
|
313
314
|
import {
|
|
314
315
|
BasicTextarea,
|
|
315
316
|
Textarea,
|
|
316
317
|
TextareaWithPrefix
|
|
317
318
|
} from "./chunk-BD77DHUO.js";
|
|
318
|
-
import "./chunk-BKCJUFD3.js";
|
|
319
319
|
import {
|
|
320
320
|
Tooltip,
|
|
321
321
|
TooltipContent,
|
|
@@ -3043,17 +3043,20 @@ function RowLink({ href, children }) {
|
|
|
3043
3043
|
return /* @__PURE__ */ jsx19("a", { href, className, onClick: stop, children });
|
|
3044
3044
|
}
|
|
3045
3045
|
function RowAction({ onSelect, children }) {
|
|
3046
|
-
return
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3046
|
+
return (
|
|
3047
|
+
// ui-exception: the row's own text that runs an action in place — it keeps the row's line and truncation, which the 28px Button box would not
|
|
3048
|
+
/* @__PURE__ */ jsx19(
|
|
3049
|
+
"button",
|
|
3050
|
+
{
|
|
3051
|
+
type: "button",
|
|
3052
|
+
className: "max-w-full truncate text-left text-primary underline-offset-2 hover:underline",
|
|
3053
|
+
onClick: (event) => {
|
|
3054
|
+
event.stopPropagation();
|
|
3055
|
+
onSelect();
|
|
3056
|
+
},
|
|
3057
|
+
children
|
|
3058
|
+
}
|
|
3059
|
+
)
|
|
3057
3060
|
);
|
|
3058
3061
|
}
|
|
3059
3062
|
function PeekCardRows({ rows, numbered = false, limit }) {
|
|
@@ -4131,6 +4134,10 @@ function telHref(phone) {
|
|
|
4131
4134
|
function smsHref(phone) {
|
|
4132
4135
|
return `sms:${phone.e164 ?? phone.raw.replace(/[^\d+]/g, "")}`;
|
|
4133
4136
|
}
|
|
4137
|
+
function smsBodyHref(body, phone) {
|
|
4138
|
+
const to = phone ? phone.e164 ?? phone.raw.replace(/[^\d+]/g, "") : "";
|
|
4139
|
+
return `sms:${to}?&body=${encodeURIComponent(body)}`;
|
|
4140
|
+
}
|
|
4134
4141
|
function addressText(address) {
|
|
4135
4142
|
const parts = typeof address === "string" ? address.split(/\n+/) : address;
|
|
4136
4143
|
return parts.map((p) => (p ?? "").trim()).filter(Boolean).join(", ");
|
|
@@ -4280,7 +4287,7 @@ function useSearchRow(query, open) {
|
|
|
4280
4287
|
return {
|
|
4281
4288
|
// With the answer on the card, the press is for everything else the web has.
|
|
4282
4289
|
row: { text: answerText ? "Full search results" : "Search the web", glyph: SearchIcon, onSelect: () => searchWeb(query), ...tag ? { status: tag } : {} },
|
|
4283
|
-
answer: answerText ? { section: "From the web", glyph: SearchIcon, text: answerText, markdown: true, clamp:
|
|
4290
|
+
answer: answerText ? { section: "From the web", glyph: SearchIcon, text: answerText, markdown: true, clamp: 4 } : null
|
|
4284
4291
|
};
|
|
4285
4292
|
}
|
|
4286
4293
|
function withSearchRow(record, { row, answer }) {
|
|
@@ -7472,6 +7479,7 @@ export {
|
|
|
7472
7479
|
sheetVariants,
|
|
7473
7480
|
sidebarMenuButtonVariants,
|
|
7474
7481
|
siteHostname,
|
|
7482
|
+
smsBodyHref,
|
|
7475
7483
|
smsHref,
|
|
7476
7484
|
startPointerDrag,
|
|
7477
7485
|
stepLines,
|