@ai-matrx/design-system 0.48.1 → 0.48.5

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 (40) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/data-table/copy-helpers.d.cts +1 -1
  3. package/dist/data-table/copy-helpers.d.ts +1 -1
  4. package/dist/data-table/filter-engine.d.cts +1 -1
  5. package/dist/data-table/filter-engine.d.ts +1 -1
  6. package/dist/data-table/host.d.cts +1 -1
  7. package/dist/data-table/host.d.ts +1 -1
  8. package/dist/data-table/index.cjs +87 -27
  9. package/dist/data-table/index.cjs.map +1 -1
  10. package/dist/data-table/index.d.cts +3 -21
  11. package/dist/data-table/index.d.ts +3 -21
  12. package/dist/data-table/index.js +184 -124
  13. package/dist/data-table/index.js.map +1 -1
  14. package/dist/data-table/infer-filter.d.cts +1 -1
  15. package/dist/data-table/infer-filter.d.ts +1 -1
  16. package/dist/data-table/layered-filters.d.cts +1 -1
  17. package/dist/data-table/layered-filters.d.ts +1 -1
  18. package/dist/data-table/pagination.cjs +4 -1
  19. package/dist/data-table/pagination.cjs.map +1 -1
  20. package/dist/data-table/pagination.js +4 -1
  21. package/dist/data-table/pagination.js.map +1 -1
  22. package/dist/data-table/query-control.d.cts +1 -1
  23. package/dist/data-table/query-control.d.ts +1 -1
  24. package/dist/data-table/types.cjs.map +1 -1
  25. package/dist/data-table/types.d.cts +1 -1
  26. package/dist/data-table/types.d.ts +1 -1
  27. package/dist/data-table/url-state.d.cts +1 -1
  28. package/dist/data-table/url-state.d.ts +1 -1
  29. package/dist/data-table/xlsx.d.cts +1 -1
  30. package/dist/data-table/xlsx.d.ts +1 -1
  31. package/dist/index.cjs +43 -13
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.cts +40 -2
  34. package/dist/index.d.ts +40 -2
  35. package/dist/index.js +43 -13
  36. package/dist/index.js.map +1 -1
  37. package/dist/tap-target.css +4 -1
  38. package/dist/{types-DuvXeW4i.d.cts → types-Dh3wRc0N.d.cts} +52 -1
  39. package/dist/{types-oza_vuRW.d.ts → types-hMqC2Fwn.d.ts} +52 -1
  40. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1761,6 +1761,18 @@ interface OrganizationPickerOrganization {
1761
1761
  * first: in a list of a hundred, yours must not be something you search for.
1762
1762
  */
1763
1763
  isOwn?: boolean;
1764
+ /**
1765
+ * A short trailing label for the row — what a click does or the row's state
1766
+ * ("Open", "Finish setup", "Turn on HR"). Muted text, right-aligned; the row
1767
+ * stays one button. Omitted, the row is exactly as before.
1768
+ */
1769
+ detail?: string | null;
1770
+ /**
1771
+ * Fold this row behind the host's second disclosure (`foldedLabel`) — for rows
1772
+ * the person rarely came for (organizations without HR). Hidden, counted,
1773
+ * one click away; a search that matches only folded rows opens the fold.
1774
+ */
1775
+ folded?: boolean;
1764
1776
  }
1765
1777
  interface OrganizationPickerProps {
1766
1778
  organizations: readonly OrganizationPickerOrganization[];
@@ -1783,6 +1795,13 @@ interface OrganizationPickerProps {
1783
1795
  hideHeading?: boolean;
1784
1796
  /** Extra classes on each row button (e.g. a host menu's item class). */
1785
1797
  itemClassName?: string;
1798
+ /**
1799
+ * Hide the "Working in …" / "No organization selected" line — for a host
1800
+ * whose choice is not the ACTIVE organization (HR's employer chooser).
1801
+ */
1802
+ hideStatus?: boolean;
1803
+ /** The noun on the disclosure that holds `folded` rows. Default "More". */
1804
+ foldedLabel?: string;
1786
1805
  className?: string;
1787
1806
  }
1788
1807
  /**
@@ -1795,7 +1814,7 @@ declare function OrganizationAbbreviation({ abbreviation, name, className, }: {
1795
1814
  name: string;
1796
1815
  className?: string | undefined;
1797
1816
  }): React.JSX.Element;
1798
- declare function OrganizationPicker({ organizations, activeOrganizationId, defaultOrganizationId, loading, loadFailed, onSelect, onSetDefault, hideHeading, itemClassName, className, }: OrganizationPickerProps): React.JSX.Element;
1817
+ declare function OrganizationPicker({ organizations, activeOrganizationId, defaultOrganizationId, loading, loadFailed, onSelect, onSetDefault, hideHeading, itemClassName, hideStatus, foldedLabel, className, }: OrganizationPickerProps): React.JSX.Element;
1799
1818
 
1800
1819
  /**
1801
1820
  * Skeleton — the "content is coming" placeholder.
@@ -2418,4 +2437,23 @@ declare const ALL_MOTION_CLASSES: readonly ["matrx-motion-overlay", "matrx-motio
2418
2437
  */
2419
2438
  declare const FORBIDDEN_HOST_MOTION_UTILITIES: readonly ["animate-in", "animate-out", "fade-in", "fade-out", "zoom-in", "zoom-out", "slide-in-from", "slide-out-to", "animate-accordion", "animate-slide-down", "animate-slide-up", "animate-pulse", "animate-spin"];
2420
2439
 
2421
- export { ALL_MOTION_CLASSES, ARCHIVE_FILTER_LABELS, ARCHIVE_FILTER_VALUES, ARCHIVE_LABEL, Accordion, AccordionContent, AccordionItem, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogContentPrimitive, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, ArchiveFilter, type ArchiveFilterProps, type ArchiveFilterValue, ArchivedDisclosure, type ArchivedDisclosureProps, Avatar, AvatarFallback, AvatarImage, type AvatarProps, type AvatarSize, Badge, type BadgeProps, BasicInput, BasicTextarea, BottomSheet, BottomSheetBody, type BottomSheetBodyProps, BottomSheetFooter, type BottomSheetFooterProps, BottomSheetHeader, type BottomSheetHeaderProps, type BottomSheetProps, Button, type ButtonProps, CENTERED_DIALOG, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, type CardSize, CardTitle, Checkbox, type CheckboxProps, type CheckboxSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, CollapsibleTrigger, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, ConfirmDialogHost, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CreatableOption, CreatablePicker, type CreatablePickerProps, DEFAULT_ARCHIVE_FILTER, DEFAULT_SCORE_THRESHOLDS, Dialog, DialogClose, DialogContent, DialogContentPrimitive, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentPrimitive, type DrawerContentProps, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerProps, type DrawerSize, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableLabel, type EditableLabelActivation, type EditableLabelCommitMode, type EditableLabelProps, EnterInput, type EnterInputProps, ErrorActions, type ErrorActionsInput, ErrorActionsProvider, type ErrorActionsRecord, type ErrorActionsRenderer, ErrorBox, type ErrorBoxProps, FLOATING_LAYER_ATTR, FORBIDDEN_HOST_MOTION_UTILITIES, FloatingLayer, HoverCard, HoverCardContent, type HoverCardContentProps, HoverCardTrigger, Input, type InputProps, type InputVariant, InputWithPrefix, type InputWithPrefixProps, LAYER_FRONT_EVENT, Label, type LayerFrontDetail, MOBILE_BREAKPOINT, MODAL_LAYER_Z, MOTION_BOTTOM_SHEET, MOTION_DIALOG, MOTION_OVERLAY, MOTION_POPPER, MOTION_PULSE, MOTION_SHEET, MOTION_SPIN, OrganizationAbbreviation, OrganizationPicker, type OrganizationPickerOrganization, type OrganizationPickerProps, OverflowToolbar, type OverflowToolbarProps, POPPER_OFFSET, type PickerIcon, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, PopoverTrigger, PortalContainerProvider, type PortalContainerProviderProps, Progress, type ProgressProps, type ProgressTone, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioGroupSize, RadixDialogModalProvider, type RadixDialogModalProviderProps, ResizableHandle, type ResizableHandleProps, type ResizableHandleSize, ResizablePanel, ResizablePanelGroup, ScoreRing, type ScoreRingProps, type ScoreThresholds, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollFadeState, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderSize, Switch, type SwitchProps, type SwitchSize, TabbedBottomSheet, type TabbedBottomSheetProps, type TabbedBottomSheetTab, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableSize, Tabs, TabsContent, TabsList, TabsTrigger, TabsTriggerCore, Textarea, type TextareaProps, TextareaWithPrefix, type TextareaWithPrefixProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToolbarAction, type ToolbarActionTone, type ToolbarIcon, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, type UseScrollFadeResult, alertVariants, announceLayerFront, archiveFilterFromDisclosure, badgeVariants, buttonVariants, cn, floatingLayerZIndex, isInsideFloatingLayer, isModalLayerOpen, keepFloatingLayersInside, registerModalLayer, scoreAccentBgClasses, scoreRingColorClasses, selectTriggerVariants, sheetVariants, toArchiveFilter, toggleVariants, useAccordionSize, useCardSize, useDialogContainer, useDrawerDirection, useErrorActions, useFloatingLayerZIndex, useIsMobile, useModalLayer, useModalLayerOpen, usePortalContainer, useRadixDialogModal, useScrollFade, useTableSize };
2440
+ /**
2441
+ * THE ONE FIELD SURFACE (page-pass shared fix, 2026-09-27).
2442
+ *
2443
+ * Every control a person types into or picks from — Input, BasicInput,
2444
+ * Textarea, the Select trigger, and the host's ProInput / ProTextarea — sits on
2445
+ * this fill and this border. They used to disagree: Input and the elevated
2446
+ * Textarea filled with `bg-background` (the grey page colour in light mode),
2447
+ * BasicInput and the control Textarea were `bg-transparent` (grey on a grey
2448
+ * page), while the Select trigger filled with `bg-card` (white). On one form
2449
+ * the text fields therefore looked disabled beside white Selects
2450
+ * (/hr/settings/employer, the message-template editor) — a screen that lies
2451
+ * about what it will let you do.
2452
+ *
2453
+ * The surface is the Select's: the card fill and the regular border. A caller
2454
+ * that genuinely wants no fill (an inline cell editor) still passes
2455
+ * `bg-transparent`, which wins through `cn`.
2456
+ */
2457
+ declare const FIELD_SURFACE_CLASS = "border border-border bg-card";
2458
+
2459
+ export { ALL_MOTION_CLASSES, ARCHIVE_FILTER_LABELS, ARCHIVE_FILTER_VALUES, ARCHIVE_LABEL, Accordion, AccordionContent, AccordionItem, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogContentPrimitive, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, ArchiveFilter, type ArchiveFilterProps, type ArchiveFilterValue, ArchivedDisclosure, type ArchivedDisclosureProps, Avatar, AvatarFallback, AvatarImage, type AvatarProps, type AvatarSize, Badge, type BadgeProps, BasicInput, BasicTextarea, BottomSheet, BottomSheetBody, type BottomSheetBodyProps, BottomSheetFooter, type BottomSheetFooterProps, BottomSheetHeader, type BottomSheetHeaderProps, type BottomSheetProps, Button, type ButtonProps, CENTERED_DIALOG, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, type CardSize, CardTitle, Checkbox, type CheckboxProps, type CheckboxSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, CollapsibleTrigger, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, ConfirmDialogHost, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CreatableOption, CreatablePicker, type CreatablePickerProps, DEFAULT_ARCHIVE_FILTER, DEFAULT_SCORE_THRESHOLDS, Dialog, DialogClose, DialogContent, DialogContentPrimitive, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentPrimitive, type DrawerContentProps, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerProps, type DrawerSize, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableLabel, type EditableLabelActivation, type EditableLabelCommitMode, type EditableLabelProps, EnterInput, type EnterInputProps, ErrorActions, type ErrorActionsInput, ErrorActionsProvider, type ErrorActionsRecord, type ErrorActionsRenderer, ErrorBox, type ErrorBoxProps, FIELD_SURFACE_CLASS, FLOATING_LAYER_ATTR, FORBIDDEN_HOST_MOTION_UTILITIES, FloatingLayer, HoverCard, HoverCardContent, type HoverCardContentProps, HoverCardTrigger, Input, type InputProps, type InputVariant, InputWithPrefix, type InputWithPrefixProps, LAYER_FRONT_EVENT, Label, type LayerFrontDetail, MOBILE_BREAKPOINT, MODAL_LAYER_Z, MOTION_BOTTOM_SHEET, MOTION_DIALOG, MOTION_OVERLAY, MOTION_POPPER, MOTION_PULSE, MOTION_SHEET, MOTION_SPIN, OrganizationAbbreviation, OrganizationPicker, type OrganizationPickerOrganization, type OrganizationPickerProps, OverflowToolbar, type OverflowToolbarProps, POPPER_OFFSET, type PickerIcon, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, PopoverTrigger, PortalContainerProvider, type PortalContainerProviderProps, Progress, type ProgressProps, type ProgressTone, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioGroupSize, RadixDialogModalProvider, type RadixDialogModalProviderProps, ResizableHandle, type ResizableHandleProps, type ResizableHandleSize, ResizablePanel, ResizablePanelGroup, ScoreRing, type ScoreRingProps, type ScoreThresholds, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollFadeState, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderSize, Switch, type SwitchProps, type SwitchSize, TabbedBottomSheet, type TabbedBottomSheetProps, type TabbedBottomSheetTab, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableSize, Tabs, TabsContent, TabsList, TabsTrigger, TabsTriggerCore, Textarea, type TextareaProps, TextareaWithPrefix, type TextareaWithPrefixProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToolbarAction, type ToolbarActionTone, type ToolbarIcon, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, type UseScrollFadeResult, alertVariants, announceLayerFront, archiveFilterFromDisclosure, badgeVariants, buttonVariants, cn, floatingLayerZIndex, isInsideFloatingLayer, isModalLayerOpen, keepFloatingLayersInside, registerModalLayer, scoreAccentBgClasses, scoreRingColorClasses, selectTriggerVariants, sheetVariants, toArchiveFilter, toggleVariants, useAccordionSize, useCardSize, useDialogContainer, useDrawerDirection, useErrorActions, useFloatingLayerZIndex, useIsMobile, useModalLayer, useModalLayerOpen, usePortalContainer, useRadixDialogModal, useScrollFade, useTableSize };
package/dist/index.d.ts CHANGED
@@ -1761,6 +1761,18 @@ interface OrganizationPickerOrganization {
1761
1761
  * first: in a list of a hundred, yours must not be something you search for.
1762
1762
  */
1763
1763
  isOwn?: boolean;
1764
+ /**
1765
+ * A short trailing label for the row — what a click does or the row's state
1766
+ * ("Open", "Finish setup", "Turn on HR"). Muted text, right-aligned; the row
1767
+ * stays one button. Omitted, the row is exactly as before.
1768
+ */
1769
+ detail?: string | null;
1770
+ /**
1771
+ * Fold this row behind the host's second disclosure (`foldedLabel`) — for rows
1772
+ * the person rarely came for (organizations without HR). Hidden, counted,
1773
+ * one click away; a search that matches only folded rows opens the fold.
1774
+ */
1775
+ folded?: boolean;
1764
1776
  }
1765
1777
  interface OrganizationPickerProps {
1766
1778
  organizations: readonly OrganizationPickerOrganization[];
@@ -1783,6 +1795,13 @@ interface OrganizationPickerProps {
1783
1795
  hideHeading?: boolean;
1784
1796
  /** Extra classes on each row button (e.g. a host menu's item class). */
1785
1797
  itemClassName?: string;
1798
+ /**
1799
+ * Hide the "Working in …" / "No organization selected" line — for a host
1800
+ * whose choice is not the ACTIVE organization (HR's employer chooser).
1801
+ */
1802
+ hideStatus?: boolean;
1803
+ /** The noun on the disclosure that holds `folded` rows. Default "More". */
1804
+ foldedLabel?: string;
1786
1805
  className?: string;
1787
1806
  }
1788
1807
  /**
@@ -1795,7 +1814,7 @@ declare function OrganizationAbbreviation({ abbreviation, name, className, }: {
1795
1814
  name: string;
1796
1815
  className?: string | undefined;
1797
1816
  }): React.JSX.Element;
1798
- declare function OrganizationPicker({ organizations, activeOrganizationId, defaultOrganizationId, loading, loadFailed, onSelect, onSetDefault, hideHeading, itemClassName, className, }: OrganizationPickerProps): React.JSX.Element;
1817
+ declare function OrganizationPicker({ organizations, activeOrganizationId, defaultOrganizationId, loading, loadFailed, onSelect, onSetDefault, hideHeading, itemClassName, hideStatus, foldedLabel, className, }: OrganizationPickerProps): React.JSX.Element;
1799
1818
 
1800
1819
  /**
1801
1820
  * Skeleton — the "content is coming" placeholder.
@@ -2418,4 +2437,23 @@ declare const ALL_MOTION_CLASSES: readonly ["matrx-motion-overlay", "matrx-motio
2418
2437
  */
2419
2438
  declare const FORBIDDEN_HOST_MOTION_UTILITIES: readonly ["animate-in", "animate-out", "fade-in", "fade-out", "zoom-in", "zoom-out", "slide-in-from", "slide-out-to", "animate-accordion", "animate-slide-down", "animate-slide-up", "animate-pulse", "animate-spin"];
2420
2439
 
2421
- export { ALL_MOTION_CLASSES, ARCHIVE_FILTER_LABELS, ARCHIVE_FILTER_VALUES, ARCHIVE_LABEL, Accordion, AccordionContent, AccordionItem, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogContentPrimitive, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, ArchiveFilter, type ArchiveFilterProps, type ArchiveFilterValue, ArchivedDisclosure, type ArchivedDisclosureProps, Avatar, AvatarFallback, AvatarImage, type AvatarProps, type AvatarSize, Badge, type BadgeProps, BasicInput, BasicTextarea, BottomSheet, BottomSheetBody, type BottomSheetBodyProps, BottomSheetFooter, type BottomSheetFooterProps, BottomSheetHeader, type BottomSheetHeaderProps, type BottomSheetProps, Button, type ButtonProps, CENTERED_DIALOG, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, type CardSize, CardTitle, Checkbox, type CheckboxProps, type CheckboxSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, CollapsibleTrigger, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, ConfirmDialogHost, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CreatableOption, CreatablePicker, type CreatablePickerProps, DEFAULT_ARCHIVE_FILTER, DEFAULT_SCORE_THRESHOLDS, Dialog, DialogClose, DialogContent, DialogContentPrimitive, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentPrimitive, type DrawerContentProps, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerProps, type DrawerSize, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableLabel, type EditableLabelActivation, type EditableLabelCommitMode, type EditableLabelProps, EnterInput, type EnterInputProps, ErrorActions, type ErrorActionsInput, ErrorActionsProvider, type ErrorActionsRecord, type ErrorActionsRenderer, ErrorBox, type ErrorBoxProps, FLOATING_LAYER_ATTR, FORBIDDEN_HOST_MOTION_UTILITIES, FloatingLayer, HoverCard, HoverCardContent, type HoverCardContentProps, HoverCardTrigger, Input, type InputProps, type InputVariant, InputWithPrefix, type InputWithPrefixProps, LAYER_FRONT_EVENT, Label, type LayerFrontDetail, MOBILE_BREAKPOINT, MODAL_LAYER_Z, MOTION_BOTTOM_SHEET, MOTION_DIALOG, MOTION_OVERLAY, MOTION_POPPER, MOTION_PULSE, MOTION_SHEET, MOTION_SPIN, OrganizationAbbreviation, OrganizationPicker, type OrganizationPickerOrganization, type OrganizationPickerProps, OverflowToolbar, type OverflowToolbarProps, POPPER_OFFSET, type PickerIcon, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, PopoverTrigger, PortalContainerProvider, type PortalContainerProviderProps, Progress, type ProgressProps, type ProgressTone, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioGroupSize, RadixDialogModalProvider, type RadixDialogModalProviderProps, ResizableHandle, type ResizableHandleProps, type ResizableHandleSize, ResizablePanel, ResizablePanelGroup, ScoreRing, type ScoreRingProps, type ScoreThresholds, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollFadeState, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderSize, Switch, type SwitchProps, type SwitchSize, TabbedBottomSheet, type TabbedBottomSheetProps, type TabbedBottomSheetTab, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableSize, Tabs, TabsContent, TabsList, TabsTrigger, TabsTriggerCore, Textarea, type TextareaProps, TextareaWithPrefix, type TextareaWithPrefixProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToolbarAction, type ToolbarActionTone, type ToolbarIcon, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, type UseScrollFadeResult, alertVariants, announceLayerFront, archiveFilterFromDisclosure, badgeVariants, buttonVariants, cn, floatingLayerZIndex, isInsideFloatingLayer, isModalLayerOpen, keepFloatingLayersInside, registerModalLayer, scoreAccentBgClasses, scoreRingColorClasses, selectTriggerVariants, sheetVariants, toArchiveFilter, toggleVariants, useAccordionSize, useCardSize, useDialogContainer, useDrawerDirection, useErrorActions, useFloatingLayerZIndex, useIsMobile, useModalLayer, useModalLayerOpen, usePortalContainer, useRadixDialogModal, useScrollFade, useTableSize };
2440
+ /**
2441
+ * THE ONE FIELD SURFACE (page-pass shared fix, 2026-09-27).
2442
+ *
2443
+ * Every control a person types into or picks from — Input, BasicInput,
2444
+ * Textarea, the Select trigger, and the host's ProInput / ProTextarea — sits on
2445
+ * this fill and this border. They used to disagree: Input and the elevated
2446
+ * Textarea filled with `bg-background` (the grey page colour in light mode),
2447
+ * BasicInput and the control Textarea were `bg-transparent` (grey on a grey
2448
+ * page), while the Select trigger filled with `bg-card` (white). On one form
2449
+ * the text fields therefore looked disabled beside white Selects
2450
+ * (/hr/settings/employer, the message-template editor) — a screen that lies
2451
+ * about what it will let you do.
2452
+ *
2453
+ * The surface is the Select's: the card fill and the regular border. A caller
2454
+ * that genuinely wants no fill (an inline cell editor) still passes
2455
+ * `bg-transparent`, which wins through `cn`.
2456
+ */
2457
+ declare const FIELD_SURFACE_CLASS = "border border-border bg-card";
2458
+
2459
+ export { ALL_MOTION_CLASSES, ARCHIVE_FILTER_LABELS, ARCHIVE_FILTER_VALUES, ARCHIVE_LABEL, Accordion, AccordionContent, AccordionItem, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogContentPrimitive, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, ArchiveFilter, type ArchiveFilterProps, type ArchiveFilterValue, ArchivedDisclosure, type ArchivedDisclosureProps, Avatar, AvatarFallback, AvatarImage, type AvatarProps, type AvatarSize, Badge, type BadgeProps, BasicInput, BasicTextarea, BottomSheet, BottomSheetBody, type BottomSheetBodyProps, BottomSheetFooter, type BottomSheetFooterProps, BottomSheetHeader, type BottomSheetHeaderProps, type BottomSheetProps, Button, type ButtonProps, CENTERED_DIALOG, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, type CardSize, CardTitle, Checkbox, type CheckboxProps, type CheckboxSize, Collapsible, CollapsibleContent, type CollapsibleContentProps, CollapsibleTrigger, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, ConfirmDialogHost, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CreatableOption, CreatablePicker, type CreatablePickerProps, DEFAULT_ARCHIVE_FILTER, DEFAULT_SCORE_THRESHOLDS, Dialog, DialogClose, DialogContent, DialogContentPrimitive, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentPrimitive, type DrawerContentProps, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerProps, type DrawerSize, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableLabel, type EditableLabelActivation, type EditableLabelCommitMode, type EditableLabelProps, EnterInput, type EnterInputProps, ErrorActions, type ErrorActionsInput, ErrorActionsProvider, type ErrorActionsRecord, type ErrorActionsRenderer, ErrorBox, type ErrorBoxProps, FIELD_SURFACE_CLASS, FLOATING_LAYER_ATTR, FORBIDDEN_HOST_MOTION_UTILITIES, FloatingLayer, HoverCard, HoverCardContent, type HoverCardContentProps, HoverCardTrigger, Input, type InputProps, type InputVariant, InputWithPrefix, type InputWithPrefixProps, LAYER_FRONT_EVENT, Label, type LayerFrontDetail, MOBILE_BREAKPOINT, MODAL_LAYER_Z, MOTION_BOTTOM_SHEET, MOTION_DIALOG, MOTION_OVERLAY, MOTION_POPPER, MOTION_PULSE, MOTION_SHEET, MOTION_SPIN, OrganizationAbbreviation, OrganizationPicker, type OrganizationPickerOrganization, type OrganizationPickerProps, OverflowToolbar, type OverflowToolbarProps, POPPER_OFFSET, type PickerIcon, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, PopoverTrigger, PortalContainerProvider, type PortalContainerProviderProps, Progress, type ProgressProps, type ProgressTone, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioGroupSize, RadixDialogModalProvider, type RadixDialogModalProviderProps, ResizableHandle, type ResizableHandleProps, type ResizableHandleSize, ResizablePanel, ResizablePanelGroup, ScoreRing, type ScoreRingProps, type ScoreThresholds, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollFadeState, type SegmentOption, SegmentedControl, type SegmentedControlProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderSize, Switch, type SwitchProps, type SwitchSize, TabbedBottomSheet, type TabbedBottomSheetProps, type TabbedBottomSheetTab, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableSize, Tabs, TabsContent, TabsList, TabsTrigger, TabsTriggerCore, Textarea, type TextareaProps, TextareaWithPrefix, type TextareaWithPrefixProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToolbarAction, type ToolbarActionTone, type ToolbarIcon, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, type UseScrollFadeResult, alertVariants, announceLayerFront, archiveFilterFromDisclosure, badgeVariants, buttonVariants, cn, floatingLayerZIndex, isInsideFloatingLayer, isModalLayerOpen, keepFloatingLayersInside, registerModalLayer, scoreAccentBgClasses, scoreRingColorClasses, selectTriggerVariants, sheetVariants, toArchiveFilter, toggleVariants, useAccordionSize, useCardSize, useDialogContainer, useDrawerDirection, useErrorActions, useFloatingLayerZIndex, useIsMobile, useModalLayer, useModalLayerOpen, usePortalContainer, useRadixDialogModal, useScrollFade, useTableSize };
package/dist/index.js CHANGED
@@ -2683,17 +2683,22 @@ function EditableLabel({
2683
2683
 
2684
2684
  // src/input.tsx
2685
2685
  import * as React21 from "react";
2686
+
2687
+ // src/field-surface.ts
2688
+ var FIELD_SURFACE_CLASS = "border border-border bg-card";
2689
+
2690
+ // src/input.tsx
2686
2691
  import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
2687
2692
  var getVariantStyles = (variant = "default") => {
2688
- const baseStyles = `flex h-10 w-full border border-border bg-background text-foreground shadow-input rounded-md px-3 py-2 text-sm file:border-0 file:bg-transparent
2693
+ const baseStyles = `flex h-10 w-full ${FIELD_SURFACE_CLASS} text-foreground shadow-input rounded-md px-3 py-2 text-sm file:border-0 file:bg-transparent
2689
2694
  file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground
2690
2695
  focus-visible:outline-none focus-visible:ring-[2px] focus-visible:ring-ring
2691
2696
  disabled:cursor-not-allowed disabled:opacity-50
2692
2697
  dark:shadow-none
2693
2698
  transition duration-400
2694
- [&:-webkit-autofill]:bg-background [&:-webkit-autofill]:shadow-[0_0_0_1000px_hsl(var(--background))_inset] [&:-webkit-autofill]:[caret-color:currentColor]
2695
- dark:[&:-webkit-autofill]:shadow-[0_0_0_1000px_hsl(var(--background))_inset] dark:[&:-webkit-autofill]:[-webkit-text-fill-color:hsl(var(--foreground))]
2696
- [&:-webkit-autofill:hover]:shadow-[0_0_0_1000px_hsl(var(--background))_inset] [&:-webkit-autofill:focus]:shadow-[0_0_0_1000px_hsl(var(--background))_inset]`;
2699
+ [&:-webkit-autofill]:bg-card [&:-webkit-autofill]:shadow-[0_0_0_1000px_hsl(var(--card))_inset] [&:-webkit-autofill]:[caret-color:currentColor]
2700
+ dark:[&:-webkit-autofill]:shadow-[0_0_0_1000px_hsl(var(--card))_inset] dark:[&:-webkit-autofill]:[-webkit-text-fill-color:hsl(var(--foreground))]
2701
+ [&:-webkit-autofill:hover]:shadow-[0_0_0_1000px_hsl(var(--card))_inset] [&:-webkit-autofill:focus]:shadow-[0_0_0_1000px_hsl(var(--card))_inset]`;
2697
2702
  switch (variant) {
2698
2703
  case "destructive":
2699
2704
  return `${baseStyles} bg-destructive text-destructive-foreground`;
@@ -2758,7 +2763,7 @@ var BasicInput = React21.forwardRef(
2758
2763
  {
2759
2764
  type,
2760
2765
  className: cn(
2761
- "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
2766
+ `flex h-9 w-full rounded-md ${FIELD_SURFACE_CLASS} px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50`,
2762
2767
  className
2763
2768
  ),
2764
2769
  ref,
@@ -3310,7 +3315,7 @@ var Select = SelectPrimitive.Root;
3310
3315
  var SelectGroup = SelectPrimitive.Group;
3311
3316
  var SelectValue = SelectPrimitive.Value;
3312
3317
  var selectTriggerVariants = cva4(
3313
- "flex w-full items-center justify-between gap-2 whitespace-nowrap rounded-md border border-border bg-card text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground transition-colors hover:bg-accent hover:border-accent-foreground/20 focus:outline-none focus:ring-1 focus:ring-primary/30 focus:border-primary/40 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:min-w-0 [&>span]:line-clamp-1",
3318
+ `flex w-full items-center justify-between gap-2 whitespace-nowrap rounded-md ${FIELD_SURFACE_CLASS} text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground transition-colors hover:bg-accent hover:border-accent-foreground/20 focus:outline-none focus:ring-1 focus:ring-primary/30 focus:border-primary/40 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:min-w-0 [&>span]:line-clamp-1`,
3314
3319
  {
3315
3320
  variants: {
3316
3321
  size: {
@@ -3721,17 +3726,22 @@ function OrganizationPicker({
3721
3726
  onSetDefault,
3722
3727
  hideHeading = false,
3723
3728
  itemClassName,
3729
+ hideStatus = false,
3730
+ foldedLabel = "More",
3724
3731
  className
3725
3732
  }) {
3726
3733
  const [query, setQuery] = React31.useState("");
3727
3734
  const [showFixtures, setShowFixtures] = React31.useState(false);
3735
+ const [showFolded, setShowFolded] = React31.useState(false);
3728
3736
  const active = organizations.find((o) => o.id === activeOrganizationId) ?? null;
3729
3737
  const isDefault = (id) => !!defaultOrganizationId && id === defaultOrganizationId;
3730
3738
  const rank = (org) => org.id === defaultOrganizationId ? 0 : org.isOwn ? 1 : 2;
3731
3739
  const ordered = [...organizations].sort((a, b) => rank(a) - rank(b));
3732
3740
  const matching = ordered.filter((org) => matchesQuery(org, query));
3733
- const listed = matching.filter((org) => !org.isTestFixture);
3741
+ const listed = matching.filter((org) => !org.isTestFixture && !org.folded);
3742
+ const folded = matching.filter((org) => !org.isTestFixture && org.folded);
3734
3743
  const fixtures = matching.filter((org) => org.isTestFixture);
3744
+ const foldOpen = showFolded || folded.length > 0 && (listed.length === 0 || query.trim().length > 0);
3735
3745
  const searchable = organizations.length > SEARCH_APPEARS_ABOVE;
3736
3746
  const sharesItsName = (org) => organizations.filter((other) => other.name.trim() === org.name.trim()).length > 1;
3737
3747
  const renderRow = (org) => {
@@ -3768,6 +3778,14 @@ function OrganizationPicker({
3768
3778
  /* @__PURE__ */ jsx40("span", { className: "truncate", children: org.name }),
3769
3779
  sharesItsName(org) && org.distinguisher ? /* @__PURE__ */ jsx40("span", { className: "truncate text-[10px] font-normal text-muted-foreground", children: org.distinguisher }) : null
3770
3780
  ] }),
3781
+ org.detail ? /* @__PURE__ */ jsx40(
3782
+ "span",
3783
+ {
3784
+ className: "shrink-0 text-xs font-normal text-muted-foreground",
3785
+ "data-slot": "organization-picker-detail",
3786
+ children: org.detail
3787
+ }
3788
+ ) : null,
3771
3789
  isDefault(org.id) && /* @__PURE__ */ jsx40(
3772
3790
  StarIcon,
3773
3791
  {
@@ -3796,11 +3814,11 @@ function OrganizationPicker({
3796
3814
  children: "Could not load organizations."
3797
3815
  }
3798
3816
  ) : organizations.length === 0 ? /* @__PURE__ */ jsx40("p", { className: "px-2 py-2 text-xs text-muted-foreground", children: "Your account is not a member of any organization. Ask an administrator to add you to one." }) : /* @__PURE__ */ jsxs23(Fragment3, { children: [
3799
- active ? /* @__PURE__ */ jsxs23("p", { className: "px-2 pb-1 text-[11px] text-muted-foreground", "data-slot": "organization-picker-status", children: [
3817
+ hideStatus ? null : active ? /* @__PURE__ */ jsxs23("p", { className: "px-2 pb-1 text-[11px] text-muted-foreground", "data-slot": "organization-picker-status", children: [
3800
3818
  "Working in",
3801
3819
  " ",
3802
3820
  /* @__PURE__ */ jsx40("span", { className: "font-medium text-foreground", children: active.name })
3803
- ] }) : /* @__PURE__ */ jsx40("p", { className: "px-2 pb-1 text-[11px] text-destructive", "data-slot": "organization-picker-status", children: "No organization selected \u2014 pick one below." }),
3821
+ ] }) : /* @__PURE__ */ jsx40("p", { className: "px-2 pb-1 text-[11px] text-muted-foreground", "data-slot": "organization-picker-status", children: "No organization selected \u2014 pick one below." }),
3804
3822
  searchable && /* @__PURE__ */ jsx40("div", { className: "px-2 pb-1.5", children: /* @__PURE__ */ jsx40(
3805
3823
  Input,
3806
3824
  {
@@ -3815,7 +3833,7 @@ function OrganizationPicker({
3815
3833
  "data-slot": "organization-picker-search"
3816
3834
  }
3817
3835
  ) }),
3818
- listed.length === 0 && fixtures.length === 0 ? /* @__PURE__ */ jsxs23(
3836
+ listed.length === 0 && folded.length === 0 && fixtures.length === 0 ? /* @__PURE__ */ jsxs23(
3819
3837
  "p",
3820
3838
  {
3821
3839
  className: "px-2 py-2 text-xs text-muted-foreground",
@@ -3826,7 +3844,7 @@ function OrganizationPicker({
3826
3844
  "\u201D."
3827
3845
  ]
3828
3846
  }
3829
- ) : listed.length === 0 ? (
3847
+ ) : listed.length === 0 && folded.length > 0 ? null : listed.length === 0 ? (
3830
3848
  /* THE ARCHIVED-ITEMS LAW, honesty half: "nothing" may only be said
3831
3849
  when both halves are empty. Here the other half is one line down.
3832
3850
  AND IT SAYS WHAT IS TRUE, NOT WHAT IS EMPTY. The earlier sentence
@@ -3865,6 +3883,17 @@ function OrganizationPicker({
3865
3883
  }
3866
3884
  )
3867
3885
  ) : /* @__PURE__ */ jsx40("ul", { className: "max-h-72 overflow-y-auto", role: "listbox", "aria-label": "Organizations", children: listed.map(renderRow) }),
3886
+ /* @__PURE__ */ jsx40(
3887
+ ArchivedDisclosure,
3888
+ {
3889
+ count: folded.length,
3890
+ open: foldOpen,
3891
+ onOpenChange: setShowFolded,
3892
+ label: foldedLabel,
3893
+ className: "mt-0.5",
3894
+ children: /* @__PURE__ */ jsx40("ul", { className: "max-h-72 overflow-y-auto", role: "listbox", "aria-label": foldedLabel, children: folded.map(renderRow) })
3895
+ }
3896
+ ),
3868
3897
  /* @__PURE__ */ jsx40(
3869
3898
  ArchivedDisclosure,
3870
3899
  {
@@ -4182,8 +4211,8 @@ function getStretchClasses(className) {
4182
4211
  if (FILL_WIDTH_REGEX.test(className)) fills.push("w-full");
4183
4212
  return fills.length ? fills.join(" ") : void 0;
4184
4213
  }
4185
- var TEXTAREA_ELEVATED_CLASS = "flex h-auto w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground shadow-textarea transition duration-400 placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-[2px] focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50";
4186
- var TEXTAREA_CONTROL_CLASS = "flex w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm text-foreground shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50";
4214
+ var TEXTAREA_ELEVATED_CLASS = `flex h-auto w-full rounded-md ${FIELD_SURFACE_CLASS} px-3 py-2 text-sm text-foreground shadow-textarea transition duration-400 placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-[2px] focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50`;
4215
+ var TEXTAREA_CONTROL_CLASS = `flex w-full rounded-md ${FIELD_SURFACE_CLASS} px-3 py-2 text-sm text-foreground shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50`;
4187
4216
  function useAutoGrow(ref, value, autoGrow = false, minHeight, maxHeight) {
4188
4217
  React34.useEffect(() => {
4189
4218
  if (!autoGrow || !ref.current) return;
@@ -5313,6 +5342,7 @@ export {
5313
5342
  ErrorActions,
5314
5343
  ErrorActionsProvider,
5315
5344
  ErrorBox,
5345
+ FIELD_SURFACE_CLASS,
5316
5346
  FLOATING_LAYER_ATTR,
5317
5347
  FORBIDDEN_HOST_MOTION_UTILITIES,
5318
5348
  FloatingLayer,