@ai-matrx/design-system 0.86.365 → 0.86.367

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.
Files changed (75) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/carousel.js +3 -3
  3. package/dist/{chunk-RO5CRIOL.js → chunk-3JEAXZKX.js} +2 -2
  4. package/dist/{chunk-HS6GMHKZ.js → chunk-CZGTZJPS.js} +3 -3
  5. package/dist/chunk-CZGTZJPS.js.map +1 -0
  6. package/dist/{chunk-5Z5GTXKL.js → chunk-FEITX4L3.js} +2 -2
  7. package/dist/{chunk-GUGBVQ4T.js → chunk-OAK4ENIP.js} +3 -3
  8. package/dist/{chunk-UGUVTE77.js → chunk-QEQDJBNK.js} +2 -2
  9. package/dist/{chunk-QJ6SQNXD.js → chunk-TBWKBTPM.js} +2 -2
  10. package/dist/{chunk-2QFA6CK4.js → chunk-UAIBCPMB.js} +2 -2
  11. package/dist/{chunk-VOLSYNJY.js → chunk-VG765KBC.js} +2 -2
  12. package/dist/content-transfer.css +3 -1
  13. package/dist/controls.cjs +2 -2
  14. package/dist/controls.cjs.map +1 -1
  15. package/dist/controls.css +7 -2
  16. package/dist/controls.js +3 -3
  17. package/dist/data-table/data-row-inspector.cjs +2 -2
  18. package/dist/data-table/data-row-inspector.cjs.map +1 -1
  19. package/dist/data-table/data-row-inspector.js +3 -3
  20. package/dist/data-table/data-row-window.cjs +2 -2
  21. package/dist/data-table/data-row-window.cjs.map +1 -1
  22. package/dist/data-table/data-row-window.js +4 -4
  23. package/dist/data-table/drill-chart.cjs +2 -2
  24. package/dist/data-table/drill-chart.cjs.map +1 -1
  25. package/dist/data-table/drill-chart.js +2 -2
  26. package/dist/data-table/index.cjs +8 -3
  27. package/dist/data-table/index.cjs.map +1 -1
  28. package/dist/data-table/index.d.cts +7 -0
  29. package/dist/data-table/index.d.ts +7 -0
  30. package/dist/data-table/index.js +11 -6
  31. package/dist/data-table/index.js.map +1 -1
  32. package/dist/data-table/types.cjs.map +1 -1
  33. package/dist/data-table/types.d.cts +7 -0
  34. package/dist/data-table/types.d.ts +7 -0
  35. package/dist/data-table/uuid-cell.cjs +2 -2
  36. package/dist/data-table/uuid-cell.cjs.map +1 -1
  37. package/dist/data-table/uuid-cell.js +2 -2
  38. package/dist/desktop.cjs +2 -2
  39. package/dist/desktop.cjs.map +1 -1
  40. package/dist/desktop.js +3 -3
  41. package/dist/email-input-dialog.cjs +2 -2
  42. package/dist/email-input-dialog.cjs.map +1 -1
  43. package/dist/email-input-dialog.js +2 -2
  44. package/dist/error-sentence.cjs +2 -2
  45. package/dist/error-sentence.cjs.map +1 -1
  46. package/dist/error-sentence.js +1 -1
  47. package/dist/index.cjs +55 -31
  48. package/dist/index.cjs.map +1 -1
  49. package/dist/index.d.cts +19 -4
  50. package/dist/index.d.ts +19 -4
  51. package/dist/index.js +59 -35
  52. package/dist/index.js.map +1 -1
  53. package/dist/lite-table.cjs +2 -2
  54. package/dist/lite-table.cjs.map +1 -1
  55. package/dist/lite-table.js +3 -3
  56. package/dist/record-list.cjs +2 -2
  57. package/dist/record-list.cjs.map +1 -1
  58. package/dist/record-list.js +3 -3
  59. package/dist/swipe-deck.cjs +3 -3
  60. package/dist/swipe-deck.cjs.map +1 -1
  61. package/dist/swipe-deck.css +9 -0
  62. package/dist/swipe-deck.js +3 -3
  63. package/dist/swipe-deck.js.map +1 -1
  64. package/dist/text-input-dialog.cjs +2 -2
  65. package/dist/text-input-dialog.cjs.map +1 -1
  66. package/dist/text-input-dialog.js +2 -2
  67. package/package.json +2 -2
  68. package/dist/chunk-HS6GMHKZ.js.map +0 -1
  69. /package/dist/{chunk-RO5CRIOL.js.map → chunk-3JEAXZKX.js.map} +0 -0
  70. /package/dist/{chunk-5Z5GTXKL.js.map → chunk-FEITX4L3.js.map} +0 -0
  71. /package/dist/{chunk-GUGBVQ4T.js.map → chunk-OAK4ENIP.js.map} +0 -0
  72. /package/dist/{chunk-UGUVTE77.js.map → chunk-QEQDJBNK.js.map} +0 -0
  73. /package/dist/{chunk-QJ6SQNXD.js.map → chunk-TBWKBTPM.js.map} +0 -0
  74. /package/dist/{chunk-2QFA6CK4.js.map → chunk-UAIBCPMB.js.map} +0 -0
  75. /package/dist/{chunk-VOLSYNJY.js.map → chunk-VG765KBC.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" | "secondary" | "destructive" | "outline" | "success" | "warning" | "info" | "error" | "neutral" | null | undefined;
95
+ variant?: "default" | "destructive" | "warning" | "success" | "info" | "error" | "secondary" | "outline" | "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" | "success" | "warning" | "info" | null | undefined;
289
+ variant?: "default" | "destructive" | "warning" | "success" | "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" | "secondary" | "destructive" | "outline" | "success" | "primary" | "ghost" | "subtle" | null | undefined;
660
+ variant?: "link" | "default" | "destructive" | "success" | "secondary" | "outline" | "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> {
@@ -3842,6 +3842,21 @@ interface ContactValuesHost {
3842
3842
  validateAddress?: (address: string) => Promise<AddressValidation>;
3843
3843
  /** Run a web search in the host's own search (a window), instead of an outbound link. */
3844
3844
  searchWeb?: (query: string) => void;
3845
+ /** Start that search when the peek opens, so the window has its answer on the press. */
3846
+ prefetchWebSearch?: (query: string) => WebSearchPrefetch;
3847
+ }
3848
+ /** A search the host started ahead of the press; the peek's row shows how it is going. */
3849
+ interface WebSearchPrefetch {
3850
+ /** Must return the SAME object until the status changes. */
3851
+ get: () => {
3852
+ readonly phase: "searching" | "ready" | "empty" | "error";
3853
+ readonly count: number | null;
3854
+ /** A short AI answer for the words, when the host's search writes one. */
3855
+ readonly answer?: string | null;
3856
+ /** That answer is still being written. */
3857
+ readonly answering?: boolean;
3858
+ };
3859
+ subscribe: (listener: () => void) => () => void;
3845
3860
  }
3846
3861
  declare function ContactValuesHostProvider({ children, ...host }: ContactValuesHost & {
3847
3862
  children: React$1.ReactNode;
@@ -5892,4 +5907,4 @@ declare function resolveGridCanvas(items: readonly GridCanvasItem[], fit?: "cell
5892
5907
  declare function GridCanvas({ items, renderItem, editable, onChange, itemLabel, rowHeight, gap, fit, className, "aria-label": ariaLabel, }: GridCanvasProps): React$1.JSX.Element;
5893
5908
 
5894
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 };
5895
- 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, WritingBoxComponent, WritingBoxProps, WritingInputComponent, WritingInputProps };
5910
+ 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" | "secondary" | "destructive" | "outline" | "success" | "warning" | "info" | "error" | "neutral" | null | undefined;
95
+ variant?: "default" | "destructive" | "warning" | "success" | "info" | "error" | "secondary" | "outline" | "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" | "success" | "warning" | "info" | null | undefined;
289
+ variant?: "default" | "destructive" | "warning" | "success" | "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" | "secondary" | "destructive" | "outline" | "success" | "primary" | "ghost" | "subtle" | null | undefined;
660
+ variant?: "link" | "default" | "destructive" | "success" | "secondary" | "outline" | "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> {
@@ -3842,6 +3842,21 @@ interface ContactValuesHost {
3842
3842
  validateAddress?: (address: string) => Promise<AddressValidation>;
3843
3843
  /** Run a web search in the host's own search (a window), instead of an outbound link. */
3844
3844
  searchWeb?: (query: string) => void;
3845
+ /** Start that search when the peek opens, so the window has its answer on the press. */
3846
+ prefetchWebSearch?: (query: string) => WebSearchPrefetch;
3847
+ }
3848
+ /** A search the host started ahead of the press; the peek's row shows how it is going. */
3849
+ interface WebSearchPrefetch {
3850
+ /** Must return the SAME object until the status changes. */
3851
+ get: () => {
3852
+ readonly phase: "searching" | "ready" | "empty" | "error";
3853
+ readonly count: number | null;
3854
+ /** A short AI answer for the words, when the host's search writes one. */
3855
+ readonly answer?: string | null;
3856
+ /** That answer is still being written. */
3857
+ readonly answering?: boolean;
3858
+ };
3859
+ subscribe: (listener: () => void) => () => void;
3845
3860
  }
3846
3861
  declare function ContactValuesHostProvider({ children, ...host }: ContactValuesHost & {
3847
3862
  children: React$1.ReactNode;
@@ -5892,4 +5907,4 @@ declare function resolveGridCanvas(items: readonly GridCanvasItem[], fit?: "cell
5892
5907
  declare function GridCanvas({ items, renderItem, editable, onChange, itemLabel, rowHeight, gap, fit, className, "aria-label": ariaLabel, }: GridCanvasProps): React$1.JSX.Element;
5893
5908
 
5894
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 };
5895
- 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, WritingBoxComponent, WritingBoxProps, WritingInputComponent, WritingInputProps };
5910
+ 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-QJ6SQNXD.js";
28
+ } from "./chunk-TBWKBTPM.js";
29
29
  import {
30
30
  EditableLabel
31
31
  } from "./chunk-J6637L6D.js";
@@ -40,7 +40,7 @@ import {
40
40
  StaleDataNotice,
41
41
  readOf,
42
42
  readStatusOf
43
- } from "./chunk-GUGBVQ4T.js";
43
+ } from "./chunk-OAK4ENIP.js";
44
44
  import {
45
45
  DecisionControl,
46
46
  IconButton,
@@ -50,7 +50,7 @@ import {
50
50
  countReadState,
51
51
  indicatorText,
52
52
  unavailableCountLabel
53
- } from "./chunk-VOLSYNJY.js";
53
+ } from "./chunk-VG765KBC.js";
54
54
  import {
55
55
  Collapsible,
56
56
  CollapsibleContent,
@@ -160,7 +160,7 @@ import {
160
160
  ErrorCardMenusProvider,
161
161
  useErrorActions,
162
162
  useErrorCardMenus
163
- } from "./chunk-5Z5GTXKL.js";
163
+ } from "./chunk-FEITX4L3.js";
164
164
  import {
165
165
  Skeleton
166
166
  } from "./chunk-DRSBLHOF.js";
@@ -302,7 +302,7 @@ import {
302
302
  RecordId,
303
303
  displayId,
304
304
  isRecordUuid
305
- } from "./chunk-RO5CRIOL.js";
305
+ } from "./chunk-3JEAXZKX.js";
306
306
  import {
307
307
  Badge,
308
308
  Button as Button2,
@@ -354,7 +354,7 @@ import {
354
354
  isRawErrorText,
355
355
  isTimedOutError,
356
356
  peopleErrorSentence
357
- } from "./chunk-HS6GMHKZ.js";
357
+ } from "./chunk-CZGTZJPS.js";
358
358
  import "./chunk-ORXB4A5E.js";
359
359
  import {
360
360
  useMatrxDataTableHost,
@@ -4253,15 +4253,49 @@ function compactCount(n) {
4253
4253
  import { Fragment as Fragment5, jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
4254
4254
  var HostContext = React18.createContext({});
4255
4255
  function ContactValuesHostProvider({ children, ...host }) {
4256
- const value = React18.useMemo(() => host, [host.validateAddress, host.searchWeb]);
4256
+ const value = React18.useMemo(() => host, [host.validateAddress, host.searchWeb, host.prefetchWebSearch]);
4257
4257
  return /* @__PURE__ */ jsx22(HostContext.Provider, { value, children });
4258
4258
  }
4259
4259
  function useContactValuesHost() {
4260
4260
  return React18.useContext(HostContext);
4261
4261
  }
4262
- function useSearchRow() {
4263
- const { searchWeb } = useContactValuesHost();
4264
- return (query) => searchWeb ? { text: "Search the web", glyph: SearchIcon, onSelect: () => searchWeb(query) } : { text: "Search the web", glyph: SearchIcon, href: webSearchHref(query) };
4262
+ var NO_STATUS = { phase: "error", count: null };
4263
+ var NO_PREFETCH = {
4264
+ get: () => NO_STATUS,
4265
+ subscribe: () => () => {
4266
+ }
4267
+ };
4268
+ function useSearchRow(query, open) {
4269
+ const { searchWeb, prefetchWebSearch } = useContactValuesHost();
4270
+ const [prefetch, setPrefetch] = React18.useState(null);
4271
+ React18.useEffect(() => {
4272
+ if (open && query && prefetchWebSearch) setPrefetch(prefetchWebSearch(query));
4273
+ }, [open, query, prefetchWebSearch]);
4274
+ const handle = prefetch ?? NO_PREFETCH;
4275
+ const status = React18.useSyncExternalStore(handle.subscribe, handle.get, handle.get);
4276
+ if (!query) return { row: null, answer: null };
4277
+ if (!searchWeb) return { row: { text: "Search the web", glyph: SearchIcon, href: webSearchHref(query) }, answer: null };
4278
+ const tag = !prefetch ? null : status.phase === "searching" ? { text: "Searching\u2026" } : status.answering ? { text: "Writing answer\u2026" } : status.phase === "ready" && status.count != null ? { text: `${status.count} results`, tone: "success" } : status.phase === "empty" ? { text: "No results" } : null;
4279
+ const answerText = prefetch && status.answer ? status.answer : null;
4280
+ return {
4281
+ // With the answer on the card, the press is for everything else the web has.
4282
+ 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: 6 } : null
4284
+ };
4285
+ }
4286
+ function withSearchRow(record, { row, answer }) {
4287
+ if (!row) return record;
4288
+ const body = [...record.body ?? []];
4289
+ let at = body.findIndex((b) => typeof b === "object" && b !== null && "section" in b && b.section === "Actions");
4290
+ if (at < 0) {
4291
+ body.push({ section: "Actions", rows: [row] });
4292
+ at = body.length - 1;
4293
+ } else {
4294
+ const block = body[at];
4295
+ body[at] = { ...block, rows: [...block.rows ?? [], row] };
4296
+ }
4297
+ if (answer) body.splice(at, 0, answer);
4298
+ return { ...record, body };
4265
4299
  }
4266
4300
  var markCache = /* @__PURE__ */ new Map();
4267
4301
  function markFor(platform) {
@@ -4340,9 +4374,10 @@ function closingOnSelect(record, close) {
4340
4374
  );
4341
4375
  return { ...record, body };
4342
4376
  }
4343
- function ValueShell({ kind, glyph: Glyph, text, copy, state, record: own, peek, wrap, about }) {
4377
+ function ValueShell({ kind, glyph: Glyph, text, copy, state, record: own, peek, wrap, about, webSearch }) {
4344
4378
  const { open, setHovered, setHeld, setPinned, trigger } = usePinnedHover();
4345
- const record = closingOnSelect(withAbout(own, about), () => {
4379
+ const searchRow = useSearchRow(webSearch, open);
4380
+ const record = closingOnSelect(withSearchRow(withAbout(own, about), searchRow), () => {
4346
4381
  setPinned(false);
4347
4382
  setHeld(false);
4348
4383
  setHovered(false);
@@ -4409,7 +4444,6 @@ var actions = (rows) => ({
4409
4444
  });
4410
4445
  function EmailValue({ email, owner, state = "ok", peek = true, about }) {
4411
4446
  const parsed = parseEmail(email);
4412
- const searchRow = useSearchRow();
4413
4447
  const ok = state === "ok" && parsed.valid;
4414
4448
  const site = parsed.domain ? parseUrl(parsed.domain) : null;
4415
4449
  const record = {
@@ -4422,14 +4456,12 @@ function EmailValue({ email, owner, state = "ok", peek = true, about }) {
4422
4456
  body: [
4423
4457
  ...!parsed.valid && state === "ok" ? [{ fact: "Not a complete email address", glyph: LinkOffGlyph, muted: true }] : [],
4424
4458
  ...parsed.domain ? [{ property: "Domain", value: parsed.domain, ...ok && site?.href ? { href: site.href } : {} }] : [],
4425
- actions([
4426
- searchRow(`"${parsed.address}"`)
4427
- ])
4459
+ actions([])
4428
4460
  ],
4429
4461
  ...ok ? { primary: { label: "Send email", onSelect: () => window.location.assign(mailtoHref(parsed.address)) } } : {},
4430
4462
  copyData: { email: parsed.address, ...owner ? { owner } : {} }
4431
4463
  };
4432
- return /* @__PURE__ */ jsx22(ValueShell, { kind: "email", glyph: MailGlyph, text: parsed.address, copy: parsed.address, state, record, peek, ...about !== void 0 ? { about } : {} });
4464
+ return /* @__PURE__ */ jsx22(ValueShell, { kind: "email", glyph: MailGlyph, text: parsed.address, copy: parsed.address, state, record, peek, webSearch: `"${parsed.address}"`, ...about !== void 0 ? { about } : {} });
4433
4465
  }
4434
4466
  function phoneSearchText(parsed) {
4435
4467
  const na = parsed.e164?.match(/^\+1(\d{3})(\d{3})(\d{4})$/);
@@ -4437,7 +4469,6 @@ function phoneSearchText(parsed) {
4437
4469
  }
4438
4470
  function PhoneValue({ phone, owner, state = "ok", peek = true, defaultCallingCode = "1", about }) {
4439
4471
  const parsed = parsePhone(phone, defaultCallingCode);
4440
- const searchRow = useSearchRow();
4441
4472
  const ok = state === "ok" && parsed.valid;
4442
4473
  const record = {
4443
4474
  kind: "Phone number",
@@ -4452,14 +4483,13 @@ function PhoneValue({ phone, owner, state = "ok", peek = true, defaultCallingCod
4452
4483
  ...parsed.region ? [{ property: "Region", value: parsed.region }] : [],
4453
4484
  ...parsed.extension ? [{ property: "Extension", value: parsed.extension }] : [],
4454
4485
  actions([
4455
- ok && { text: "Send a text", glyph: MessageSquareGlyph, href: smsHref(parsed) },
4456
- searchRow(phoneSearchText(parsed))
4486
+ ok && { text: "Send a text", glyph: MessageSquareGlyph, href: smsHref(parsed) }
4457
4487
  ])
4458
4488
  ],
4459
4489
  ...ok ? { primary: { label: "Call", onSelect: () => window.location.assign(telHref(parsed)) } } : {},
4460
4490
  copyData: { phone: parsed.e164 ?? parsed.raw, display: parsed.display, ...parsed.region ? { region: parsed.region } : {}, ...owner ? { owner } : {} }
4461
4491
  };
4462
- return /* @__PURE__ */ jsx22(ValueShell, { kind: "phone number", glyph: PhoneGlyph, text: parsed.display, copy: parsed.e164 ?? parsed.raw, state, record, peek, ...about !== void 0 ? { about } : {} });
4492
+ return /* @__PURE__ */ jsx22(ValueShell, { kind: "phone number", glyph: PhoneGlyph, text: parsed.display, copy: parsed.e164 ?? parsed.raw, state, record, peek, webSearch: phoneSearchText(parsed), ...about !== void 0 ? { about } : {} });
4463
4493
  }
4464
4494
  var VALIDATION_TONE = { verified: "success", partial: "warning", unknown: "danger" };
4465
4495
  var VALIDATION_TEXT = { verified: "Verified address", partial: "Partly matched", unknown: "No match found" };
@@ -4467,7 +4497,6 @@ function AddressValue({ address, owner, state = "ok", peek = true, multiline = f
4467
4497
  const one = addressText(address);
4468
4498
  const lines = typeof address === "string" ? address.split(/\n+/).map((l) => l.trim()).filter(Boolean) : address.map((l) => (l ?? "").trim()).filter(Boolean);
4469
4499
  const { validateAddress } = useContactValuesHost();
4470
- const searchRow = useSearchRow();
4471
4500
  const [validation, setValidation] = React18.useState({ phase: "idle" });
4472
4501
  React18.useEffect(() => setValidation({ phase: "idle" }), [one]);
4473
4502
  const ok = state === "ok" && one.length > 0;
@@ -4502,8 +4531,7 @@ function AddressValue({ address, owner, state = "ok", peek = true, multiline = f
4502
4531
  ...owner && lines.length > 1 ? [{ property: "For", value: owner }] : [],
4503
4532
  ...validationBlock ? [validationBlock] : [],
4504
4533
  actions([
4505
- ok && validateAddress && validation.phase !== "done" && { text: "Open in maps", glyph: MapPinGlyph, href: mapsHref(one) },
4506
- searchRow(one)
4534
+ ok && validateAddress && validation.phase !== "done" && { text: "Open in maps", glyph: MapPinGlyph, href: mapsHref(one) }
4507
4535
  ])
4508
4536
  ],
4509
4537
  ...ok && validateAddress && validation.phase !== "done" ? { primary: { label: validation.phase === "checking" ? "Checking\u2026" : "Validate", onSelect: validate } } : ok ? { primary: { label: "Open in maps", onSelect: () => openOutbound2(mapsHref(validation.phase === "done" && validation.result.formatted ? validation.result.formatted : one)) } } : {},
@@ -4514,6 +4542,7 @@ function AddressValue({ address, owner, state = "ok", peek = true, multiline = f
4514
4542
  {
4515
4543
  kind: "address",
4516
4544
  glyph: MapPinGlyph,
4545
+ webSearch: one,
4517
4546
  text: multiline ? lines.join("\n") : one,
4518
4547
  copy: lines.join("\n"),
4519
4548
  state,
@@ -4524,7 +4553,7 @@ function AddressValue({ address, owner, state = "ok", peek = true, multiline = f
4524
4553
  }
4525
4554
  );
4526
4555
  }
4527
- function socialRecord(parsed, props, glyph, searchRow) {
4556
+ function socialRecord(parsed, props, glyph) {
4528
4557
  const state = props.state ?? "ok";
4529
4558
  const ok = state === "ok" && Boolean(parsed.href);
4530
4559
  return {
@@ -4539,9 +4568,7 @@ function socialRecord(parsed, props, glyph, searchRow) {
4539
4568
  ...parsed.handle ? [{ property: "Handle", value: parsed.display }] : [],
4540
4569
  ...props.followers != null ? [{ fact: `${compactCount(props.followers)} followers`, glyph: UsersIcon }] : [],
4541
4570
  ...props.owner ? [{ property: "For", value: props.owner }] : [],
4542
- actions([
4543
- searchRow(`${parsed.display} ${parsed.platformName}`)
4544
- ])
4571
+ actions([])
4545
4572
  ],
4546
4573
  ...ok ? { primary: { label: "Open profile", onSelect: () => openOutbound2(parsed.href) } } : {},
4547
4574
  copyData: { platform: parsed.platformName, handle: parsed.display, ...parsed.href ? { url: parsed.href } : {}, ...props.followers != null ? { followers: props.followers } : {} }
@@ -4550,7 +4577,6 @@ function socialRecord(parsed, props, glyph, searchRow) {
4550
4577
  function SocialHandleValue(props) {
4551
4578
  const { value, platform, state = "ok", peek = true } = props;
4552
4579
  const parsed = parseSocial(value, platform);
4553
- const searchRow = useSearchRow();
4554
4580
  const glyph = parsed.platform === "other" ? AtSignGlyph : markFor(parsed.platform);
4555
4581
  return /* @__PURE__ */ jsx22(
4556
4582
  ValueShell,
@@ -4560,7 +4586,8 @@ function SocialHandleValue(props) {
4560
4586
  text: parsed.display,
4561
4587
  copy: parsed.handle ? parsed.display : parsed.href ?? parsed.display,
4562
4588
  state,
4563
- record: socialRecord(parsed, props, glyph, searchRow),
4589
+ record: socialRecord(parsed, props, glyph),
4590
+ webSearch: `${parsed.display} ${parsed.platformName}`,
4564
4591
  peek,
4565
4592
  ...props.about !== void 0 ? { about: props.about } : {}
4566
4593
  }
@@ -4568,7 +4595,6 @@ function SocialHandleValue(props) {
4568
4595
  }
4569
4596
  function UrlValue({ url, title, owner, state = "ok", peek = true, icon = true, about }) {
4570
4597
  const parsed = parseUrl(url);
4571
- const searchRow = useSearchRow();
4572
4598
  const ok = state === "ok" && Boolean(parsed.href);
4573
4599
  const record = {
4574
4600
  kind: "Web address",
@@ -4580,14 +4606,12 @@ function UrlValue({ url, title, owner, state = "ok", peek = true, icon = true, a
4580
4606
  body: [
4581
4607
  { property: "Domain", value: parsed.domain },
4582
4608
  ...owner && title ? [{ property: "For", value: owner }] : [],
4583
- actions([
4584
- searchRow(parsed.domain)
4585
- ])
4609
+ actions([])
4586
4610
  ],
4587
4611
  ...ok ? { primary: { label: "Open", onSelect: () => openOutbound2(parsed.href) } } : {},
4588
4612
  copyData: { url: parsed.href ?? url, domain: parsed.domain, ...title ? { title } : {} }
4589
4613
  };
4590
- return /* @__PURE__ */ jsx22(ValueShell, { kind: "link", ...icon ? { glyph: GlobeIcon } : {}, text: parsed.display, copy: parsed.href ?? url, state, record, peek, ...about !== void 0 ? { about } : {} });
4614
+ return /* @__PURE__ */ jsx22(ValueShell, { kind: "link", ...icon ? { glyph: GlobeIcon } : {}, text: parsed.display, copy: parsed.href ?? url, state, record, peek, webSearch: parsed.domain, ...about !== void 0 ? { about } : {} });
4591
4615
  }
4592
4616
  function ContactValue({ type, value, platform, followers, title, icon, ...common }) {
4593
4617
  switch (type) {