@dxos/react-ui 0.6.14-staging.e15392e → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -569,16 +569,87 @@ var ButtonGroup = /* @__PURE__ */ forwardRef7(({ children, elevation: propsEleva
569
569
  });
570
570
  ButtonGroup.displayName = BUTTON_GROUP_NAME;
571
571
 
572
+ // packages/ui/react-ui/src/components/Buttons/IconButton.tsx
573
+ import React10, { forwardRef as forwardRef9 } from "react";
574
+
575
+ // packages/ui/react-ui/src/components/Tooltip/Tooltip.tsx
576
+ import { Provider as TooltipProviderPrimitive, Root as TooltipRootPrimitive, TooltipContent as TooltipContentPrimitive, TooltipTrigger as TooltipTriggerPrimitive, TooltipPortal as TooltipPortalPrimitive, TooltipArrow as TooltipArrowPrimitive } from "@radix-ui/react-tooltip";
577
+ import React9, { forwardRef as forwardRef8 } from "react";
578
+ var TooltipProvider = TooltipProviderPrimitive;
579
+ var TooltipRoot = TooltipRootPrimitive;
580
+ var TooltipPortal = TooltipPortalPrimitive;
581
+ var TooltipTrigger = TooltipTriggerPrimitive;
582
+ var TooltipArrow = /* @__PURE__ */ forwardRef8(({ classNames, ...props }, forwardedRef) => {
583
+ const { tx } = useThemeContext();
584
+ return /* @__PURE__ */ React9.createElement(TooltipArrowPrimitive, {
585
+ ...props,
586
+ className: tx("tooltip.arrow", "tooltip__arrow", {}, classNames),
587
+ ref: forwardedRef
588
+ });
589
+ });
590
+ var TooltipContent = /* @__PURE__ */ forwardRef8(({ classNames, ...props }, forwardedRef) => {
591
+ const { tx } = useThemeContext();
592
+ return /* @__PURE__ */ React9.createElement(TooltipContentPrimitive, {
593
+ sideOffset: 4,
594
+ collisionPadding: 8,
595
+ ...props,
596
+ className: tx("tooltip.content", "tooltip", {}, classNames),
597
+ ref: forwardedRef
598
+ });
599
+ });
600
+ var Tooltip = {
601
+ Provider: TooltipProvider,
602
+ Root: TooltipRoot,
603
+ Portal: TooltipPortal,
604
+ Trigger: TooltipTrigger,
605
+ Arrow: TooltipArrow,
606
+ Content: TooltipContent
607
+ };
608
+
609
+ // packages/ui/react-ui/src/components/Buttons/IconButton.tsx
610
+ var IconOnlyButton = /* @__PURE__ */ forwardRef9(({ tooltipPortal = true, tooltipZIndex: zIndex, ...props }, forwardedRef) => {
611
+ const content = /* @__PURE__ */ React10.createElement(Tooltip.Content, zIndex && {
612
+ style: {
613
+ zIndex
614
+ }
615
+ }, props.label, /* @__PURE__ */ React10.createElement(Tooltip.Arrow, null));
616
+ return /* @__PURE__ */ React10.createElement(Tooltip.Root, null, /* @__PURE__ */ React10.createElement(Tooltip.Trigger, {
617
+ asChild: true
618
+ }, /* @__PURE__ */ React10.createElement(LabelledIconButton, {
619
+ ...props,
620
+ ref: forwardedRef
621
+ })), tooltipPortal ? /* @__PURE__ */ React10.createElement(Tooltip.Portal, null, content) : content);
622
+ });
623
+ var LabelledIconButton = /* @__PURE__ */ forwardRef9(({ icon, iconOnly, label, classNames, ...props }, forwardedRef) => {
624
+ const { tx } = useThemeContext();
625
+ return /* @__PURE__ */ React10.createElement(Button, {
626
+ ...props,
627
+ classNames: tx("iconButton.root", "iconButton", {}, classNames),
628
+ ref: forwardedRef
629
+ }, /* @__PURE__ */ React10.createElement(Icon, {
630
+ icon
631
+ }), /* @__PURE__ */ React10.createElement("span", {
632
+ className: iconOnly ? "sr-only" : void 0
633
+ }, label));
634
+ });
635
+ var IconButton = /* @__PURE__ */ forwardRef9((props, forwardedRef) => props.iconOnly ? /* @__PURE__ */ React10.createElement(IconOnlyButton, {
636
+ ...props,
637
+ ref: forwardedRef
638
+ }) : /* @__PURE__ */ React10.createElement(LabelledIconButton, {
639
+ ...props,
640
+ ref: forwardedRef
641
+ }));
642
+
572
643
  // packages/ui/react-ui/src/components/Buttons/Toggle.tsx
573
644
  import { Toggle as TogglePrimitive } from "@radix-ui/react-toggle";
574
- import React9, { forwardRef as forwardRef8 } from "react";
575
- var Toggle = /* @__PURE__ */ forwardRef8(({ defaultPressed, pressed, onPressedChange, ...props }, forwardedRef) => {
576
- return /* @__PURE__ */ React9.createElement(TogglePrimitive, {
645
+ import React11, { forwardRef as forwardRef10 } from "react";
646
+ var Toggle = /* @__PURE__ */ forwardRef10(({ defaultPressed, pressed, onPressedChange, ...props }, forwardedRef) => {
647
+ return /* @__PURE__ */ React11.createElement(TogglePrimitive, {
577
648
  defaultPressed,
578
649
  pressed,
579
650
  onPressedChange,
580
651
  asChild: true
581
- }, /* @__PURE__ */ React9.createElement(Button, {
652
+ }, /* @__PURE__ */ React11.createElement(Button, {
582
653
  ...props,
583
654
  ref: forwardedRef
584
655
  }));
@@ -586,22 +657,22 @@ var Toggle = /* @__PURE__ */ forwardRef8(({ defaultPressed, pressed, onPressedCh
586
657
 
587
658
  // packages/ui/react-ui/src/components/Buttons/ToggleGroup.tsx
588
659
  import { ToggleGroup as ToggleGroupPrimitive, ToggleGroupItem as ToggleGroupItemPrimitive } from "@radix-ui/react-toggle-group";
589
- import React10, { forwardRef as forwardRef9 } from "react";
590
- var ToggleGroup = /* @__PURE__ */ forwardRef9(({ classNames, children, ...props }, forwardedRef) => {
591
- return /* @__PURE__ */ React10.createElement(ToggleGroupPrimitive, {
660
+ import React12, { forwardRef as forwardRef11 } from "react";
661
+ var ToggleGroup = /* @__PURE__ */ forwardRef11(({ classNames, children, ...props }, forwardedRef) => {
662
+ return /* @__PURE__ */ React12.createElement(ToggleGroupPrimitive, {
592
663
  ...props,
593
664
  asChild: true
594
- }, /* @__PURE__ */ React10.createElement(ButtonGroup, {
665
+ }, /* @__PURE__ */ React12.createElement(ButtonGroup, {
595
666
  classNames,
596
667
  children,
597
668
  ref: forwardedRef
598
669
  }));
599
670
  });
600
- var ToggleGroupItem = /* @__PURE__ */ forwardRef9(({ variant, elevation, density, classNames, children, ...props }, forwardedRef) => {
601
- return /* @__PURE__ */ React10.createElement(ToggleGroupItemPrimitive, {
671
+ var ToggleGroupItem = /* @__PURE__ */ forwardRef11(({ variant, elevation, density, classNames, children, ...props }, forwardedRef) => {
672
+ return /* @__PURE__ */ React12.createElement(ToggleGroupItemPrimitive, {
602
673
  ...props,
603
674
  asChild: true
604
- }, /* @__PURE__ */ React10.createElement(Button, {
675
+ }, /* @__PURE__ */ React12.createElement(Button, {
605
676
  variant,
606
677
  elevation,
607
678
  density,
@@ -614,14 +685,14 @@ var ToggleGroupItem = /* @__PURE__ */ forwardRef9(({ variant, elevation, density
614
685
  // packages/ui/react-ui/src/components/Dialogs/Dialog.tsx
615
686
  import { createContext as createContext5 } from "@radix-ui/react-context";
616
687
  import { Root as DialogRootPrimitive, DialogTrigger as DialogTriggerPrimitive, DialogPortal as DialogPortalPrimitive, DialogOverlay as DialogOverlayPrimitive, DialogTitle as DialogTitlePrimitive, DialogDescription as DialogDescriptionPrimitive, DialogClose as DialogClosePrimitive, DialogContent as DialogContentPrimitive } from "@radix-ui/react-dialog";
617
- import React12, { forwardRef as forwardRef10 } from "react";
688
+ import React14, { forwardRef as forwardRef12 } from "react";
618
689
 
619
690
  // packages/ui/react-ui/src/components/ElevationProvider/ElevationProvider.tsx
620
- import React11, { createContext as createContext4 } from "react";
691
+ import React13, { createContext as createContext4 } from "react";
621
692
  var ElevationContext = /* @__PURE__ */ createContext4({
622
693
  elevation: "base"
623
694
  });
624
- var ElevationProvider = ({ elevation, children }) => /* @__PURE__ */ React11.createElement(ElevationContext.Provider, {
695
+ var ElevationProvider = ({ elevation, children }) => /* @__PURE__ */ React13.createElement(ElevationContext.Provider, {
625
696
  value: {
626
697
  elevation
627
698
  }
@@ -631,9 +702,9 @@ var ElevationProvider = ({ elevation, children }) => /* @__PURE__ */ React11.cre
631
702
  var DialogRoot = DialogRootPrimitive;
632
703
  var DialogTrigger = DialogTriggerPrimitive;
633
704
  var DialogPortal = DialogPortalPrimitive;
634
- var DialogTitle = /* @__PURE__ */ forwardRef10(({ classNames, srOnly, ...props }, forwardedRef) => {
705
+ var DialogTitle = /* @__PURE__ */ forwardRef12(({ classNames, srOnly, ...props }, forwardedRef) => {
635
706
  const { tx } = useThemeContext();
636
- return /* @__PURE__ */ React12.createElement(DialogTitlePrimitive, {
707
+ return /* @__PURE__ */ React14.createElement(DialogTitlePrimitive, {
637
708
  ...props,
638
709
  className: tx("dialog.title", "dialog__title", {
639
710
  srOnly
@@ -641,9 +712,9 @@ var DialogTitle = /* @__PURE__ */ forwardRef10(({ classNames, srOnly, ...props }
641
712
  ref: forwardedRef
642
713
  });
643
714
  });
644
- var DialogDescription = /* @__PURE__ */ forwardRef10(({ classNames, srOnly, ...props }, forwardedRef) => {
715
+ var DialogDescription = /* @__PURE__ */ forwardRef12(({ classNames, srOnly, ...props }, forwardedRef) => {
645
716
  const { tx } = useThemeContext();
646
- return /* @__PURE__ */ React12.createElement(DialogDescriptionPrimitive, {
717
+ return /* @__PURE__ */ React14.createElement(DialogDescriptionPrimitive, {
647
718
  ...props,
648
719
  className: tx("dialog.description", "dialog__description", {
649
720
  srOnly
@@ -657,28 +728,28 @@ var DIALOG_CONTENT_NAME = "DialogContent";
657
728
  var [OverlayLayoutProvider, useOverlayLayoutContext] = createContext5(DIALOG_OVERLAY_NAME, {
658
729
  inOverlayLayout: false
659
730
  });
660
- var DialogOverlay = /* @__PURE__ */ forwardRef10(({ classNames, children, blockAlign, ...props }, forwardedRef) => {
731
+ var DialogOverlay = /* @__PURE__ */ forwardRef12(({ classNames, children, blockAlign, ...props }, forwardedRef) => {
661
732
  const { tx } = useThemeContext();
662
- return /* @__PURE__ */ React12.createElement(DialogOverlayPrimitive, {
733
+ return /* @__PURE__ */ React14.createElement(DialogOverlayPrimitive, {
663
734
  ...props,
664
735
  className: tx("dialog.overlay", "dialog__overlay", {}, classNames, "data-[block-align=start]:justify-center", "data-[block-align=start]:items-start", "data-[block-align=center]:place-content-center"),
665
736
  ref: forwardedRef,
666
737
  "data-block-align": blockAlign
667
- }, /* @__PURE__ */ React12.createElement(OverlayLayoutProvider, {
738
+ }, /* @__PURE__ */ React14.createElement(OverlayLayoutProvider, {
668
739
  inOverlayLayout: true
669
740
  }, children));
670
741
  });
671
742
  DialogOverlay.displayName = DIALOG_OVERLAY_NAME;
672
- var DialogContent = /* @__PURE__ */ forwardRef10(({ classNames, children, ...props }, forwardedRef) => {
743
+ var DialogContent = /* @__PURE__ */ forwardRef12(({ classNames, children, ...props }, forwardedRef) => {
673
744
  const { tx } = useThemeContext();
674
745
  const { inOverlayLayout } = useOverlayLayoutContext(DIALOG_CONTENT_NAME);
675
- return /* @__PURE__ */ React12.createElement(DialogContentPrimitive, {
746
+ return /* @__PURE__ */ React14.createElement(DialogContentPrimitive, {
676
747
  ...props,
677
748
  className: tx("dialog.content", "dialog", {
678
749
  inOverlayLayout
679
750
  }, classNames),
680
751
  ref: forwardedRef
681
- }, /* @__PURE__ */ React12.createElement(ElevationProvider, {
752
+ }, /* @__PURE__ */ React14.createElement(ElevationProvider, {
682
753
  elevation: "chrome"
683
754
  }, children));
684
755
  });
@@ -697,15 +768,15 @@ var Dialog = {
697
768
  // packages/ui/react-ui/src/components/Dialogs/AlertDialog.tsx
698
769
  import { Root as AlertDialogRootPrimitive, AlertDialogTrigger as AlertDialogTriggerPrimitive, AlertDialogPortal as AlertDialogPortalPrimitive, AlertDialogOverlay as AlertDialogOverlayPrimitive, AlertDialogTitle as AlertDialogTitlePrimitive, AlertDialogDescription as AlertDialogDescriptionPrimitive, AlertDialogAction as AlertDialogActionPrimitive, AlertDialogCancel as AlertDialogCancelPrimitive, AlertDialogContent as AlertDialogContentPrimitive } from "@radix-ui/react-alert-dialog";
699
770
  import { createContext as createContext6 } from "@radix-ui/react-context";
700
- import React13, { forwardRef as forwardRef11 } from "react";
771
+ import React15, { forwardRef as forwardRef13 } from "react";
701
772
  var AlertDialogRoot = AlertDialogRootPrimitive;
702
773
  var AlertDialogTrigger = AlertDialogTriggerPrimitive;
703
774
  var AlertDialogPortal = AlertDialogPortalPrimitive;
704
775
  var AlertDialogCancel = AlertDialogCancelPrimitive;
705
776
  var AlertDialogAction = AlertDialogActionPrimitive;
706
- var AlertDialogTitle = /* @__PURE__ */ forwardRef11(({ classNames, srOnly, ...props }, forwardedRef) => {
777
+ var AlertDialogTitle = /* @__PURE__ */ forwardRef13(({ classNames, srOnly, ...props }, forwardedRef) => {
707
778
  const { tx } = useThemeContext();
708
- return /* @__PURE__ */ React13.createElement(AlertDialogTitlePrimitive, {
779
+ return /* @__PURE__ */ React15.createElement(AlertDialogTitlePrimitive, {
709
780
  ...props,
710
781
  className: tx("dialog.title", "dialog--alert__title", {
711
782
  srOnly
@@ -713,9 +784,9 @@ var AlertDialogTitle = /* @__PURE__ */ forwardRef11(({ classNames, srOnly, ...pr
713
784
  ref: forwardedRef
714
785
  });
715
786
  });
716
- var AlertDialogDescription = /* @__PURE__ */ forwardRef11(({ classNames, srOnly, ...props }, forwardedRef) => {
787
+ var AlertDialogDescription = /* @__PURE__ */ forwardRef13(({ classNames, srOnly, ...props }, forwardedRef) => {
717
788
  const { tx } = useThemeContext();
718
- return /* @__PURE__ */ React13.createElement(AlertDialogDescriptionPrimitive, {
789
+ return /* @__PURE__ */ React15.createElement(AlertDialogDescriptionPrimitive, {
719
790
  ...props,
720
791
  className: tx("dialog.description", "dialog--alert__description", {
721
792
  srOnly
@@ -728,27 +799,27 @@ var ALERT_DIALOG_CONTENT_NAME = "AlertDialogContent";
728
799
  var [OverlayLayoutProvider2, useOverlayLayoutContext2] = createContext6(ALERT_DIALOG_OVERLAY_NAME, {
729
800
  inOverlayLayout: false
730
801
  });
731
- var AlertDialogOverlay = /* @__PURE__ */ forwardRef11(({ classNames, children, ...props }, forwardedRef) => {
802
+ var AlertDialogOverlay = /* @__PURE__ */ forwardRef13(({ classNames, children, ...props }, forwardedRef) => {
732
803
  const { tx } = useThemeContext();
733
- return /* @__PURE__ */ React13.createElement(AlertDialogOverlayPrimitive, {
804
+ return /* @__PURE__ */ React15.createElement(AlertDialogOverlayPrimitive, {
734
805
  ...props,
735
806
  className: tx("dialog.overlay", "dialog--alert__overlay", {}, classNames),
736
807
  ref: forwardedRef
737
- }, /* @__PURE__ */ React13.createElement(OverlayLayoutProvider2, {
808
+ }, /* @__PURE__ */ React15.createElement(OverlayLayoutProvider2, {
738
809
  inOverlayLayout: true
739
810
  }, children));
740
811
  });
741
812
  AlertDialogOverlay.displayName = ALERT_DIALOG_OVERLAY_NAME;
742
- var AlertDialogContent = /* @__PURE__ */ forwardRef11(({ classNames, children, ...props }, forwardedRef) => {
813
+ var AlertDialogContent = /* @__PURE__ */ forwardRef13(({ classNames, children, ...props }, forwardedRef) => {
743
814
  const { tx } = useThemeContext();
744
815
  const { inOverlayLayout } = useOverlayLayoutContext2(ALERT_DIALOG_CONTENT_NAME);
745
- return /* @__PURE__ */ React13.createElement(AlertDialogContentPrimitive, {
816
+ return /* @__PURE__ */ React15.createElement(AlertDialogContentPrimitive, {
746
817
  ...props,
747
818
  className: tx("dialog.content", "dialog--alert", {
748
819
  inOverlayLayout
749
820
  }, classNames),
750
821
  ref: forwardedRef
751
- }, /* @__PURE__ */ React13.createElement(ElevationProvider, {
822
+ }, /* @__PURE__ */ React15.createElement(ElevationProvider, {
752
823
  elevation: "chrome"
753
824
  }, children));
754
825
  });
@@ -769,33 +840,33 @@ var AlertDialog = {
769
840
  import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
770
841
  import { Primitive as Primitive6 } from "@radix-ui/react-primitive";
771
842
  import { Slot as Slot6 } from "@radix-ui/react-slot";
772
- import React14, { forwardRef as forwardRef12 } from "react";
843
+ import React16, { forwardRef as forwardRef14 } from "react";
773
844
  var ContextMenuRoot = ContextMenuPrimitive.ContextMenu;
774
845
  var ContextMenuTrigger = ContextMenuPrimitive.Trigger;
775
846
  var ContextMenuPortal = ContextMenuPrimitive.Portal;
776
- var ContextMenuContent = /* @__PURE__ */ forwardRef12(({ classNames, children, ...props }, forwardedRef) => {
847
+ var ContextMenuContent = /* @__PURE__ */ forwardRef14(({ classNames, children, ...props }, forwardedRef) => {
777
848
  const { tx } = useThemeContext();
778
- return /* @__PURE__ */ React14.createElement(ContextMenuPrimitive.Content, {
849
+ return /* @__PURE__ */ React16.createElement(ContextMenuPrimitive.Content, {
779
850
  collisionPadding: 8,
780
851
  ...props,
781
852
  className: tx("menu.content", "menu", {}, classNames),
782
853
  ref: forwardedRef
783
- }, /* @__PURE__ */ React14.createElement(ElevationProvider, {
854
+ }, /* @__PURE__ */ React16.createElement(ElevationProvider, {
784
855
  elevation: "chrome"
785
856
  }, children));
786
857
  });
787
- var ContextMenuViewport = /* @__PURE__ */ forwardRef12(({ classNames, asChild, children, ...props }, forwardedRef) => {
858
+ var ContextMenuViewport = /* @__PURE__ */ forwardRef14(({ classNames, asChild, children, ...props }, forwardedRef) => {
788
859
  const { tx } = useThemeContext();
789
860
  const Root5 = asChild ? Slot6 : Primitive6.div;
790
- return /* @__PURE__ */ React14.createElement(Root5, {
861
+ return /* @__PURE__ */ React16.createElement(Root5, {
791
862
  ...props,
792
863
  className: tx("menu.viewport", "menu__viewport", {}, classNames),
793
864
  ref: forwardedRef
794
865
  }, children);
795
866
  });
796
- var ContextMenuArrow = /* @__PURE__ */ forwardRef12(({ classNames, ...props }, forwardedRef) => {
867
+ var ContextMenuArrow = /* @__PURE__ */ forwardRef14(({ classNames, ...props }, forwardedRef) => {
797
868
  const { tx } = useThemeContext();
798
- return /* @__PURE__ */ React14.createElement(ContextMenuPrimitive.Arrow, {
869
+ return /* @__PURE__ */ React16.createElement(ContextMenuPrimitive.Arrow, {
799
870
  ...props,
800
871
  className: tx("menu.arrow", "menu__arrow", {}, classNames),
801
872
  ref: forwardedRef
@@ -803,33 +874,33 @@ var ContextMenuArrow = /* @__PURE__ */ forwardRef12(({ classNames, ...props }, f
803
874
  });
804
875
  var ContextMenuGroup = ContextMenuPrimitive.Group;
805
876
  var ContextMenuItemIndicator = ContextMenuPrimitive.ItemIndicator;
806
- var ContextMenuItem = /* @__PURE__ */ forwardRef12(({ classNames, ...props }, forwardedRef) => {
877
+ var ContextMenuItem = /* @__PURE__ */ forwardRef14(({ classNames, ...props }, forwardedRef) => {
807
878
  const { tx } = useThemeContext();
808
- return /* @__PURE__ */ React14.createElement(ContextMenuPrimitive.Item, {
879
+ return /* @__PURE__ */ React16.createElement(ContextMenuPrimitive.Item, {
809
880
  ...props,
810
881
  className: tx("menu.item", "menu__item", {}, classNames),
811
882
  ref: forwardedRef
812
883
  });
813
884
  });
814
- var ContextMenuCheckboxItem = /* @__PURE__ */ forwardRef12(({ classNames, ...props }, forwardedRef) => {
885
+ var ContextMenuCheckboxItem = /* @__PURE__ */ forwardRef14(({ classNames, ...props }, forwardedRef) => {
815
886
  const { tx } = useThemeContext();
816
- return /* @__PURE__ */ React14.createElement(ContextMenuPrimitive.CheckboxItem, {
887
+ return /* @__PURE__ */ React16.createElement(ContextMenuPrimitive.CheckboxItem, {
817
888
  ...props,
818
889
  className: tx("menu.item", "menu__item--checkbox", {}, classNames),
819
890
  ref: forwardedRef
820
891
  });
821
892
  });
822
- var ContextMenuSeparator = /* @__PURE__ */ forwardRef12(({ classNames, ...props }, forwardedRef) => {
893
+ var ContextMenuSeparator = /* @__PURE__ */ forwardRef14(({ classNames, ...props }, forwardedRef) => {
823
894
  const { tx } = useThemeContext();
824
- return /* @__PURE__ */ React14.createElement(ContextMenuPrimitive.Separator, {
895
+ return /* @__PURE__ */ React16.createElement(ContextMenuPrimitive.Separator, {
825
896
  ...props,
826
897
  className: tx("menu.separator", "menu__item", {}, classNames),
827
898
  ref: forwardedRef
828
899
  });
829
900
  });
830
- var ContextMenuGroupLabel = /* @__PURE__ */ forwardRef12(({ classNames, ...props }, forwardedRef) => {
901
+ var ContextMenuGroupLabel = /* @__PURE__ */ forwardRef14(({ classNames, ...props }, forwardedRef) => {
831
902
  const { tx } = useThemeContext();
832
- return /* @__PURE__ */ React14.createElement(ContextMenuPrimitive.Label, {
903
+ return /* @__PURE__ */ React16.createElement(ContextMenuPrimitive.Label, {
833
904
  ...props,
834
905
  className: tx("menu.groupLabel", "menu__group__label", {}, classNames),
835
906
  ref: forwardedRef
@@ -860,7 +931,7 @@ import { createMenuScope } from "@radix-ui/react-menu";
860
931
  import { Primitive as Primitive7 } from "@radix-ui/react-primitive";
861
932
  import { Slot as Slot7 } from "@radix-ui/react-slot";
862
933
  import { useControllableState } from "@radix-ui/react-use-controllable-state";
863
- import React15, { useRef, useCallback, forwardRef as forwardRef13, useEffect as useEffect3 } from "react";
934
+ import React17, { useRef, useCallback, forwardRef as forwardRef15, useEffect as useEffect3 } from "react";
864
935
  var DROPDOWN_MENU_NAME = "DropdownMenu";
865
936
  var [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(DROPDOWN_MENU_NAME, [
866
937
  createMenuScope
@@ -876,7 +947,7 @@ var DropdownMenuRoot = (props) => {
876
947
  defaultProp: defaultOpen,
877
948
  onChange: onOpenChange
878
949
  });
879
- return /* @__PURE__ */ React15.createElement(DropdownMenuProvider, {
950
+ return /* @__PURE__ */ React17.createElement(DropdownMenuProvider, {
880
951
  scope: __scopeDropdownMenu,
881
952
  triggerId: useId3(),
882
953
  triggerRef,
@@ -887,7 +958,7 @@ var DropdownMenuRoot = (props) => {
887
958
  setOpen
888
959
  ]),
889
960
  modal
890
- }, /* @__PURE__ */ React15.createElement(MenuPrimitive.Root, {
961
+ }, /* @__PURE__ */ React17.createElement(MenuPrimitive.Root, {
891
962
  ...menuScope,
892
963
  open,
893
964
  onOpenChange: setOpen,
@@ -897,14 +968,14 @@ var DropdownMenuRoot = (props) => {
897
968
  };
898
969
  DropdownMenuRoot.displayName = DROPDOWN_MENU_NAME;
899
970
  var TRIGGER_NAME = "DropdownMenuTrigger";
900
- var DropdownMenuTrigger = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
971
+ var DropdownMenuTrigger = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
901
972
  const { __scopeDropdownMenu, disabled = false, ...triggerProps } = props;
902
973
  const context = useDropdownMenuContext(TRIGGER_NAME, __scopeDropdownMenu);
903
974
  const menuScope = useMenuScope(__scopeDropdownMenu);
904
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Anchor, {
975
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Anchor, {
905
976
  asChild: true,
906
977
  ...menuScope
907
- }, /* @__PURE__ */ React15.createElement(Primitive7.button, {
978
+ }, /* @__PURE__ */ React17.createElement(Primitive7.button, {
908
979
  type: "button",
909
980
  id: context.triggerId,
910
981
  "aria-haspopup": "menu",
@@ -957,7 +1028,7 @@ var DropdownMenuVirtualTrigger = (props) => {
957
1028
  context.triggerRef.current = virtualRef.current;
958
1029
  }
959
1030
  });
960
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Anchor, {
1031
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Anchor, {
961
1032
  ...menuScope,
962
1033
  virtualRef
963
1034
  });
@@ -967,29 +1038,29 @@ var PORTAL_NAME = "DropdownMenuPortal";
967
1038
  var DropdownMenuPortal = (props) => {
968
1039
  const { __scopeDropdownMenu, ...portalProps } = props;
969
1040
  const menuScope = useMenuScope(__scopeDropdownMenu);
970
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Portal, {
1041
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Portal, {
971
1042
  ...menuScope,
972
1043
  ...portalProps
973
1044
  });
974
1045
  };
975
1046
  DropdownMenuPortal.displayName = PORTAL_NAME;
976
- var DropdownMenuViewport = /* @__PURE__ */ forwardRef13(({ classNames, asChild, children, ...props }, forwardedRef) => {
1047
+ var DropdownMenuViewport = /* @__PURE__ */ forwardRef15(({ classNames, asChild, children, ...props }, forwardedRef) => {
977
1048
  const { tx } = useThemeContext();
978
1049
  const Root5 = asChild ? Slot7 : Primitive7.div;
979
- return /* @__PURE__ */ React15.createElement(Root5, {
1050
+ return /* @__PURE__ */ React17.createElement(Root5, {
980
1051
  ...props,
981
1052
  className: tx("menu.viewport", "menu__viewport", {}, classNames),
982
1053
  ref: forwardedRef
983
1054
  }, children);
984
1055
  });
985
1056
  var CONTENT_NAME = "DropdownMenuContent";
986
- var DropdownMenuContent = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1057
+ var DropdownMenuContent = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
987
1058
  const { __scopeDropdownMenu, classNames, ...contentProps } = props;
988
1059
  const { tx } = useThemeContext();
989
1060
  const context = useDropdownMenuContext(CONTENT_NAME, __scopeDropdownMenu);
990
1061
  const menuScope = useMenuScope(__scopeDropdownMenu);
991
1062
  const hasInteractedOutsideRef = useRef(false);
992
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Content, {
1063
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Content, {
993
1064
  id: context.contentId,
994
1065
  "aria-labelledby": context.triggerId,
995
1066
  ...menuScope,
@@ -1026,10 +1097,10 @@ var DropdownMenuContent = /* @__PURE__ */ forwardRef13((props, forwardedRef) =>
1026
1097
  });
1027
1098
  DropdownMenuContent.displayName = CONTENT_NAME;
1028
1099
  var GROUP_NAME = "DropdownMenuGroup";
1029
- var DropdownMenuGroup = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1100
+ var DropdownMenuGroup = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1030
1101
  const { __scopeDropdownMenu, ...groupProps } = props;
1031
1102
  const menuScope = useMenuScope(__scopeDropdownMenu);
1032
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Group, {
1103
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Group, {
1033
1104
  ...menuScope,
1034
1105
  ...groupProps,
1035
1106
  ref: forwardedRef
@@ -1037,11 +1108,11 @@ var DropdownMenuGroup = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1037
1108
  });
1038
1109
  DropdownMenuGroup.displayName = GROUP_NAME;
1039
1110
  var LABEL_NAME = "DropdownMenuLabel";
1040
- var DropdownMenuGroupLabel = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1111
+ var DropdownMenuGroupLabel = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1041
1112
  const { __scopeDropdownMenu, classNames, ...labelProps } = props;
1042
1113
  const menuScope = useMenuScope(__scopeDropdownMenu);
1043
1114
  const { tx } = useThemeContext();
1044
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Label, {
1115
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Label, {
1045
1116
  ...menuScope,
1046
1117
  ...labelProps,
1047
1118
  className: tx("menu.groupLabel", "menu__group__label", {}, classNames),
@@ -1050,11 +1121,11 @@ var DropdownMenuGroupLabel = /* @__PURE__ */ forwardRef13((props, forwardedRef)
1050
1121
  });
1051
1122
  DropdownMenuGroupLabel.displayName = LABEL_NAME;
1052
1123
  var ITEM_NAME = "DropdownMenuItem";
1053
- var DropdownMenuItem = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1124
+ var DropdownMenuItem = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1054
1125
  const { __scopeDropdownMenu, classNames, ...itemProps } = props;
1055
1126
  const menuScope = useMenuScope(__scopeDropdownMenu);
1056
1127
  const { tx } = useThemeContext();
1057
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Item, {
1128
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Item, {
1058
1129
  ...menuScope,
1059
1130
  ...itemProps,
1060
1131
  className: tx("menu.item", "menu__item", {}, classNames),
@@ -1063,11 +1134,11 @@ var DropdownMenuItem = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1063
1134
  });
1064
1135
  DropdownMenuItem.displayName = ITEM_NAME;
1065
1136
  var CHECKBOX_ITEM_NAME = "DropdownMenuCheckboxItem";
1066
- var DropdownMenuCheckboxItem = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1137
+ var DropdownMenuCheckboxItem = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1067
1138
  const { __scopeDropdownMenu, classNames, ...checkboxItemProps } = props;
1068
1139
  const menuScope = useMenuScope(__scopeDropdownMenu);
1069
1140
  const { tx } = useThemeContext();
1070
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.CheckboxItem, {
1141
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.CheckboxItem, {
1071
1142
  ...menuScope,
1072
1143
  ...checkboxItemProps,
1073
1144
  className: tx("menu.item", "menu__item--checkbox", {}, classNames),
@@ -1076,10 +1147,10 @@ var DropdownMenuCheckboxItem = /* @__PURE__ */ forwardRef13((props, forwardedRef
1076
1147
  });
1077
1148
  DropdownMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;
1078
1149
  var RADIO_GROUP_NAME = "DropdownMenuRadioGroup";
1079
- var DropdownMenuRadioGroup = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1150
+ var DropdownMenuRadioGroup = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1080
1151
  const { __scopeDropdownMenu, ...radioGroupProps } = props;
1081
1152
  const menuScope = useMenuScope(__scopeDropdownMenu);
1082
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.RadioGroup, {
1153
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.RadioGroup, {
1083
1154
  ...menuScope,
1084
1155
  ...radioGroupProps,
1085
1156
  ref: forwardedRef
@@ -1087,10 +1158,10 @@ var DropdownMenuRadioGroup = /* @__PURE__ */ forwardRef13((props, forwardedRef)
1087
1158
  });
1088
1159
  DropdownMenuRadioGroup.displayName = RADIO_GROUP_NAME;
1089
1160
  var RADIO_ITEM_NAME = "DropdownMenuRadioItem";
1090
- var DropdownMenuRadioItem = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1161
+ var DropdownMenuRadioItem = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1091
1162
  const { __scopeDropdownMenu, ...radioItemProps } = props;
1092
1163
  const menuScope = useMenuScope(__scopeDropdownMenu);
1093
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.RadioItem, {
1164
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.RadioItem, {
1094
1165
  ...menuScope,
1095
1166
  ...radioItemProps,
1096
1167
  ref: forwardedRef
@@ -1098,10 +1169,10 @@ var DropdownMenuRadioItem = /* @__PURE__ */ forwardRef13((props, forwardedRef) =
1098
1169
  });
1099
1170
  DropdownMenuRadioItem.displayName = RADIO_ITEM_NAME;
1100
1171
  var INDICATOR_NAME = "DropdownMenuItemIndicator";
1101
- var DropdownMenuItemIndicator = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1172
+ var DropdownMenuItemIndicator = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1102
1173
  const { __scopeDropdownMenu, ...itemIndicatorProps } = props;
1103
1174
  const menuScope = useMenuScope(__scopeDropdownMenu);
1104
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.ItemIndicator, {
1175
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.ItemIndicator, {
1105
1176
  ...menuScope,
1106
1177
  ...itemIndicatorProps,
1107
1178
  ref: forwardedRef
@@ -1109,11 +1180,11 @@ var DropdownMenuItemIndicator = /* @__PURE__ */ forwardRef13((props, forwardedRe
1109
1180
  });
1110
1181
  DropdownMenuItemIndicator.displayName = INDICATOR_NAME;
1111
1182
  var SEPARATOR_NAME = "DropdownMenuSeparator";
1112
- var DropdownMenuSeparator = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1183
+ var DropdownMenuSeparator = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1113
1184
  const { __scopeDropdownMenu, classNames, ...separatorProps } = props;
1114
1185
  const menuScope = useMenuScope(__scopeDropdownMenu);
1115
1186
  const { tx } = useThemeContext();
1116
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Separator, {
1187
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Separator, {
1117
1188
  ...menuScope,
1118
1189
  ...separatorProps,
1119
1190
  className: tx("menu.separator", "menu__item", {}, classNames),
@@ -1122,11 +1193,11 @@ var DropdownMenuSeparator = /* @__PURE__ */ forwardRef13((props, forwardedRef) =
1122
1193
  });
1123
1194
  DropdownMenuSeparator.displayName = SEPARATOR_NAME;
1124
1195
  var ARROW_NAME = "DropdownMenuArrow";
1125
- var DropdownMenuArrow = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1196
+ var DropdownMenuArrow = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1126
1197
  const { __scopeDropdownMenu, classNames, ...arrowProps } = props;
1127
1198
  const menuScope = useMenuScope(__scopeDropdownMenu);
1128
1199
  const { tx } = useThemeContext();
1129
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Arrow, {
1200
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Arrow, {
1130
1201
  ...menuScope,
1131
1202
  ...arrowProps,
1132
1203
  className: tx("menu.arrow", "menu__arrow", {}, classNames),
@@ -1142,17 +1213,17 @@ var DropdownMenuSub = (props) => {
1142
1213
  defaultProp: defaultOpen,
1143
1214
  onChange: onOpenChange
1144
1215
  });
1145
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.Sub, {
1216
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.Sub, {
1146
1217
  ...menuScope,
1147
1218
  open,
1148
1219
  onOpenChange: setOpen
1149
1220
  }, children);
1150
1221
  };
1151
1222
  var SUB_TRIGGER_NAME = "DropdownMenuSubTrigger";
1152
- var DropdownMenuSubTrigger = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1223
+ var DropdownMenuSubTrigger = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1153
1224
  const { __scopeDropdownMenu, ...subTriggerProps } = props;
1154
1225
  const menuScope = useMenuScope(__scopeDropdownMenu);
1155
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.SubTrigger, {
1226
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.SubTrigger, {
1156
1227
  ...menuScope,
1157
1228
  ...subTriggerProps,
1158
1229
  ref: forwardedRef
@@ -1160,10 +1231,10 @@ var DropdownMenuSubTrigger = /* @__PURE__ */ forwardRef13((props, forwardedRef)
1160
1231
  });
1161
1232
  DropdownMenuSubTrigger.displayName = SUB_TRIGGER_NAME;
1162
1233
  var SUB_CONTENT_NAME = "DropdownMenuSubContent";
1163
- var DropdownMenuSubContent = /* @__PURE__ */ forwardRef13((props, forwardedRef) => {
1234
+ var DropdownMenuSubContent = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1164
1235
  const { __scopeDropdownMenu, ...subContentProps } = props;
1165
1236
  const menuScope = useMenuScope(__scopeDropdownMenu);
1166
- return /* @__PURE__ */ React15.createElement(MenuPrimitive.SubContent, {
1237
+ return /* @__PURE__ */ React17.createElement(MenuPrimitive.SubContent, {
1167
1238
  ...menuScope,
1168
1239
  ...subContentProps,
1169
1240
  ref: forwardedRef,
@@ -1208,11 +1279,11 @@ import { Check, Minus } from "@phosphor-icons/react";
1208
1279
  import { Root as CheckboxPrimitive, Indicator as CheckboxIndicatorPrimitive } from "@radix-ui/react-checkbox";
1209
1280
  import { Root as SwitchPrimitive, Thumb as SwitchThumbPrimitive } from "@radix-ui/react-switch";
1210
1281
  import { useControllableState as useControllableState2 } from "@radix-ui/react-use-controllable-state";
1211
- import React16, { forwardRef as forwardRef14, Fragment, useCallback as useCallback2 } from "react";
1282
+ import React18, { forwardRef as forwardRef16, Fragment, useCallback as useCallback2 } from "react";
1212
1283
  import { InputRoot, PinInput as PinInputPrimitive, TextInput as TextInputPrimitive, TextArea as TextAreaPrimitive, useInputContext, INPUT_NAME, Description as DescriptionPrimitive, DescriptionAndValidation as DescriptionAndValidationPrimitive, Label as LabelPrimitive, Validation as ValidationPrimitive } from "@dxos/react-input";
1213
- var Label3 = /* @__PURE__ */ forwardRef14(({ srOnly, classNames, children, ...props }, forwardedRef) => {
1284
+ var Label3 = /* @__PURE__ */ forwardRef16(({ srOnly, classNames, children, ...props }, forwardedRef) => {
1214
1285
  const { tx } = useThemeContext();
1215
- return /* @__PURE__ */ React16.createElement(LabelPrimitive, {
1286
+ return /* @__PURE__ */ React18.createElement(LabelPrimitive, {
1216
1287
  ...props,
1217
1288
  className: tx("input.label", "input__label", {
1218
1289
  srOnly
@@ -1220,9 +1291,9 @@ var Label3 = /* @__PURE__ */ forwardRef14(({ srOnly, classNames, children, ...pr
1220
1291
  ref: forwardedRef
1221
1292
  }, children);
1222
1293
  });
1223
- var Description = /* @__PURE__ */ forwardRef14(({ srOnly, classNames, children, ...props }, forwardedRef) => {
1294
+ var Description = /* @__PURE__ */ forwardRef16(({ srOnly, classNames, children, ...props }, forwardedRef) => {
1224
1295
  const { tx } = useThemeContext();
1225
- return /* @__PURE__ */ React16.createElement(DescriptionPrimitive, {
1296
+ return /* @__PURE__ */ React18.createElement(DescriptionPrimitive, {
1226
1297
  ...props,
1227
1298
  className: tx("input.description", "input__description", {
1228
1299
  srOnly
@@ -1230,10 +1301,10 @@ var Description = /* @__PURE__ */ forwardRef14(({ srOnly, classNames, children,
1230
1301
  ref: forwardedRef
1231
1302
  }, children);
1232
1303
  });
1233
- var Validation = /* @__PURE__ */ forwardRef14(({ __inputScope, srOnly, classNames, children, ...props }, forwardedRef) => {
1304
+ var Validation = /* @__PURE__ */ forwardRef16(({ __inputScope, srOnly, classNames, children, ...props }, forwardedRef) => {
1234
1305
  const { tx } = useThemeContext();
1235
1306
  const { validationValence } = useInputContext(INPUT_NAME, __inputScope);
1236
- return /* @__PURE__ */ React16.createElement(ValidationPrimitive, {
1307
+ return /* @__PURE__ */ React18.createElement(ValidationPrimitive, {
1237
1308
  ...props,
1238
1309
  className: tx("input.validation", `input__validation-message input__validation-message--${validationValence}`, {
1239
1310
  srOnly,
@@ -1242,9 +1313,9 @@ var Validation = /* @__PURE__ */ forwardRef14(({ __inputScope, srOnly, className
1242
1313
  ref: forwardedRef
1243
1314
  }, children);
1244
1315
  });
1245
- var DescriptionAndValidation = /* @__PURE__ */ forwardRef14(({ srOnly, classNames, children, ...props }, forwardedRef) => {
1316
+ var DescriptionAndValidation = /* @__PURE__ */ forwardRef16(({ srOnly, classNames, children, ...props }, forwardedRef) => {
1246
1317
  const { tx } = useThemeContext();
1247
- return /* @__PURE__ */ React16.createElement(DescriptionAndValidationPrimitive, {
1318
+ return /* @__PURE__ */ React18.createElement(DescriptionAndValidationPrimitive, {
1248
1319
  ...props,
1249
1320
  className: tx("input.descriptionAndValidation", "input__description-and-validation", {
1250
1321
  srOnly
@@ -1252,7 +1323,7 @@ var DescriptionAndValidation = /* @__PURE__ */ forwardRef14(({ srOnly, className
1252
1323
  ref: forwardedRef
1253
1324
  }, children);
1254
1325
  });
1255
- var PinInput = /* @__PURE__ */ forwardRef14(({ density: propsDensity, elevation: propsElevation, segmentClassName: propsSegmentClassName, inputClassName, variant, ...props }, forwardedRef) => {
1326
+ var PinInput = /* @__PURE__ */ forwardRef16(({ density: propsDensity, elevation: propsElevation, segmentClassName: propsSegmentClassName, inputClassName, variant, ...props }, forwardedRef) => {
1256
1327
  const { hasIosKeyboard: hasIosKeyboard2 } = useThemeContext();
1257
1328
  const { tx } = useThemeContext();
1258
1329
  const density = useDensityContext(propsDensity);
@@ -1271,7 +1342,7 @@ var PinInput = /* @__PURE__ */ forwardRef14(({ density: propsDensity, elevation:
1271
1342
  propsElevation,
1272
1343
  density
1273
1344
  ]);
1274
- return /* @__PURE__ */ React16.createElement(PinInputPrimitive, {
1345
+ return /* @__PURE__ */ React18.createElement(PinInputPrimitive, {
1275
1346
  ...props,
1276
1347
  segmentClassName,
1277
1348
  ...props.autoFocus && !hasIosKeyboard2 && {
@@ -1283,14 +1354,14 @@ var PinInput = /* @__PURE__ */ forwardRef14(({ density: propsDensity, elevation:
1283
1354
  ref: forwardedRef
1284
1355
  });
1285
1356
  });
1286
- var TextInput = /* @__PURE__ */ forwardRef14(({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {
1357
+ var TextInput = /* @__PURE__ */ forwardRef16(({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {
1287
1358
  const { hasIosKeyboard: hasIosKeyboard2 } = useThemeContext();
1288
1359
  const themeContextValue = useThemeContext();
1289
1360
  const density = useDensityContext(propsDensity);
1290
1361
  const elevation = useElevationContext(propsElevation);
1291
1362
  const { validationValence } = useInputContext(INPUT_NAME, __inputScope);
1292
1363
  const { tx } = themeContextValue;
1293
- return /* @__PURE__ */ React16.createElement(TextInputPrimitive, {
1364
+ return /* @__PURE__ */ React18.createElement(TextInputPrimitive, {
1294
1365
  ...props,
1295
1366
  className: tx("input.input", "input", {
1296
1367
  variant,
@@ -1305,13 +1376,13 @@ var TextInput = /* @__PURE__ */ forwardRef14(({ __inputScope, classNames, densit
1305
1376
  ref: forwardedRef
1306
1377
  });
1307
1378
  });
1308
- var TextArea = /* @__PURE__ */ forwardRef14(({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {
1379
+ var TextArea = /* @__PURE__ */ forwardRef16(({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {
1309
1380
  const { hasIosKeyboard: hasIosKeyboard2 } = useThemeContext();
1310
1381
  const { tx } = useThemeContext();
1311
1382
  const density = useDensityContext(propsDensity);
1312
1383
  const elevation = useElevationContext(propsElevation);
1313
1384
  const { validationValence } = useInputContext(INPUT_NAME, __inputScope);
1314
- return /* @__PURE__ */ React16.createElement(TextAreaPrimitive, {
1385
+ return /* @__PURE__ */ React18.createElement(TextAreaPrimitive, {
1315
1386
  ...props,
1316
1387
  className: tx("input.input", "input--text-area", {
1317
1388
  variant,
@@ -1326,7 +1397,7 @@ var TextArea = /* @__PURE__ */ forwardRef14(({ __inputScope, classNames, density
1326
1397
  ref: forwardedRef
1327
1398
  });
1328
1399
  });
1329
- var Checkbox = /* @__PURE__ */ forwardRef14(({ __inputScope, checked: propsChecked, defaultChecked: propsDefaultChecked, onCheckedChange: propsOnCheckedChange, size, weight = "bold", classNames, ...props }, forwardedRef) => {
1400
+ var Checkbox = /* @__PURE__ */ forwardRef16(({ __inputScope, checked: propsChecked, defaultChecked: propsDefaultChecked, onCheckedChange: propsOnCheckedChange, size, weight = "bold", classNames, ...props }, forwardedRef) => {
1330
1401
  const [checked, onCheckedChange] = useControllableState2({
1331
1402
  prop: propsChecked,
1332
1403
  defaultProp: propsDefaultChecked,
@@ -1335,7 +1406,7 @@ var Checkbox = /* @__PURE__ */ forwardRef14(({ __inputScope, checked: propsCheck
1335
1406
  const { id, validationValence, descriptionId, errorMessageId } = useInputContext(INPUT_NAME, __inputScope);
1336
1407
  const { tx } = useThemeContext();
1337
1408
  const Icon3 = checked === "indeterminate" ? Minus : checked ? Check : Fragment;
1338
- return /* @__PURE__ */ React16.createElement(CheckboxPrimitive, {
1409
+ return /* @__PURE__ */ React18.createElement(CheckboxPrimitive, {
1339
1410
  ...props,
1340
1411
  checked,
1341
1412
  onCheckedChange,
@@ -1349,16 +1420,16 @@ var Checkbox = /* @__PURE__ */ forwardRef14(({ __inputScope, checked: propsCheck
1349
1420
  size
1350
1421
  }, "shrink-0", classNames),
1351
1422
  ref: forwardedRef
1352
- }, /* @__PURE__ */ React16.createElement(CheckboxIndicatorPrimitive, {
1423
+ }, /* @__PURE__ */ React18.createElement(CheckboxIndicatorPrimitive, {
1353
1424
  asChild: true
1354
- }, /* @__PURE__ */ React16.createElement(Icon3, checked && {
1425
+ }, /* @__PURE__ */ React18.createElement(Icon3, checked && {
1355
1426
  weight,
1356
1427
  className: tx("input.checkboxIndicator", "input--checkbox__indicator", {
1357
1428
  size
1358
1429
  })
1359
1430
  })));
1360
1431
  });
1361
- var Switch = /* @__PURE__ */ forwardRef14(({ __inputScope, checked: propsChecked, defaultChecked: propsDefaultChecked, onCheckedChange: propsOnCheckedChange, size = 5, classNames, ...props }, forwardedRef) => {
1432
+ var Switch = /* @__PURE__ */ forwardRef16(({ __inputScope, checked: propsChecked, defaultChecked: propsDefaultChecked, onCheckedChange: propsOnCheckedChange, size = 5, classNames, ...props }, forwardedRef) => {
1362
1433
  const { tx } = useThemeContext();
1363
1434
  const [checked, onCheckedChange] = useControllableState2({
1364
1435
  prop: propsChecked,
@@ -1366,7 +1437,7 @@ var Switch = /* @__PURE__ */ forwardRef14(({ __inputScope, checked: propsChecked
1366
1437
  onChange: propsOnCheckedChange
1367
1438
  });
1368
1439
  const { id, validationValence, descriptionId, errorMessageId } = useInputContext(INPUT_NAME, __inputScope);
1369
- return /* @__PURE__ */ React16.createElement(SwitchPrimitive, {
1440
+ return /* @__PURE__ */ React18.createElement(SwitchPrimitive, {
1370
1441
  ...props,
1371
1442
  checked,
1372
1443
  onCheckedChange,
@@ -1380,7 +1451,7 @@ var Switch = /* @__PURE__ */ forwardRef14(({ __inputScope, checked: propsChecked
1380
1451
  size
1381
1452
  }, classNames),
1382
1453
  ref: forwardedRef
1383
- }, /* @__PURE__ */ React16.createElement(SwitchThumbPrimitive, {
1454
+ }, /* @__PURE__ */ React18.createElement(SwitchThumbPrimitive, {
1384
1455
  className: tx("input.switchThumb", "input--switch__thumb", {
1385
1456
  size
1386
1457
  })
@@ -1402,37 +1473,37 @@ var Input = {
1402
1473
  // packages/ui/react-ui/src/components/Lists/List.tsx
1403
1474
  import { CaretDown, CaretRight } from "@phosphor-icons/react";
1404
1475
  import { Slot as Slot8 } from "@radix-ui/react-slot";
1405
- import React18, { forwardRef as forwardRef15 } from "react";
1476
+ import React20, { forwardRef as forwardRef17 } from "react";
1406
1477
  import { List as ListPrimitive, ListItemHeading as ListPrimitiveItemHeading, ListItemOpenTrigger as ListPrimitiveItemOpenTrigger, ListItemCollapsibleContent, ListItem as ListPrimitiveItem, LIST_NAME, LIST_ITEM_NAME, useListContext, useListItemContext } from "@dxos/react-list";
1407
1478
 
1408
1479
  // packages/ui/react-ui/src/components/DensityProvider/DensityProvider.tsx
1409
- import React17, { createContext as createContext7 } from "react";
1480
+ import React19, { createContext as createContext7 } from "react";
1410
1481
  var DensityContext = /* @__PURE__ */ createContext7({
1411
1482
  density: "fine"
1412
1483
  });
1413
- var DensityProvider = ({ density, children }) => /* @__PURE__ */ React17.createElement(DensityContext.Provider, {
1484
+ var DensityProvider = ({ density, children }) => /* @__PURE__ */ React19.createElement(DensityContext.Provider, {
1414
1485
  value: {
1415
1486
  density
1416
1487
  }
1417
1488
  }, children);
1418
1489
 
1419
1490
  // packages/ui/react-ui/src/components/Lists/List.tsx
1420
- var List = /* @__PURE__ */ forwardRef15(({ classNames, children, ...props }, forwardedRef) => {
1491
+ var List = /* @__PURE__ */ forwardRef17(({ classNames, children, ...props }, forwardedRef) => {
1421
1492
  const { tx } = useThemeContext();
1422
1493
  const density = useDensityContext(props.density);
1423
- return /* @__PURE__ */ React18.createElement(DensityProvider, {
1494
+ return /* @__PURE__ */ React20.createElement(DensityProvider, {
1424
1495
  density
1425
- }, /* @__PURE__ */ React18.createElement(ListPrimitive, {
1496
+ }, /* @__PURE__ */ React20.createElement(ListPrimitive, {
1426
1497
  ...props,
1427
1498
  className: tx("list.root", "list", {}, classNames),
1428
1499
  ref: forwardedRef
1429
1500
  }, children));
1430
1501
  });
1431
- var ListItemEndcap = /* @__PURE__ */ forwardRef15(({ children, classNames, asChild, ...props }, forwardedRef) => {
1502
+ var ListItemEndcap = /* @__PURE__ */ forwardRef17(({ children, classNames, asChild, ...props }, forwardedRef) => {
1432
1503
  const Root5 = asChild ? Slot8 : "div";
1433
1504
  const density = useDensityContext();
1434
1505
  const { tx } = useThemeContext();
1435
- return /* @__PURE__ */ React18.createElement(Root5, {
1506
+ return /* @__PURE__ */ React20.createElement(Root5, {
1436
1507
  ...!asChild && {
1437
1508
  role: "none"
1438
1509
  },
@@ -1446,7 +1517,7 @@ var ListItemEndcap = /* @__PURE__ */ forwardRef15(({ children, classNames, asChi
1446
1517
  var MockListItemOpenTrigger = ({ classNames, ...props }) => {
1447
1518
  const density = useDensityContext();
1448
1519
  const { tx } = useThemeContext();
1449
- return /* @__PURE__ */ React18.createElement("div", {
1520
+ return /* @__PURE__ */ React20.createElement("div", {
1450
1521
  role: "none",
1451
1522
  ...props,
1452
1523
  className: tx("list.item.openTrigger", "list__listItem__openTrigger--mock", {
@@ -1454,10 +1525,10 @@ var MockListItemOpenTrigger = ({ classNames, ...props }) => {
1454
1525
  }, classNames)
1455
1526
  });
1456
1527
  };
1457
- var ListItemHeading = /* @__PURE__ */ forwardRef15(({ children, classNames, ...props }, forwardedRef) => {
1528
+ var ListItemHeading = /* @__PURE__ */ forwardRef17(({ children, classNames, ...props }, forwardedRef) => {
1458
1529
  const { tx } = useThemeContext();
1459
1530
  const density = useDensityContext();
1460
- return /* @__PURE__ */ React18.createElement(ListPrimitiveItemHeading, {
1531
+ return /* @__PURE__ */ React20.createElement(ListPrimitiveItemHeading, {
1461
1532
  ...props,
1462
1533
  className: tx("list.item.heading", "list__listItem__heading", {
1463
1534
  density
@@ -1465,26 +1536,26 @@ var ListItemHeading = /* @__PURE__ */ forwardRef15(({ children, classNames, ...p
1465
1536
  ref: forwardedRef
1466
1537
  }, children);
1467
1538
  });
1468
- var ListItemOpenTrigger = /* @__PURE__ */ forwardRef15(({ __listItemScope, classNames, children, ...props }, forwardedRef) => {
1539
+ var ListItemOpenTrigger = /* @__PURE__ */ forwardRef17(({ __listItemScope, classNames, children, ...props }, forwardedRef) => {
1469
1540
  const { tx } = useThemeContext();
1470
1541
  const density = useDensityContext();
1471
1542
  const { open } = useListItemContext(LIST_ITEM_NAME, __listItemScope);
1472
1543
  const Icon3 = open ? CaretDown : CaretRight;
1473
- return /* @__PURE__ */ React18.createElement(ListPrimitiveItemOpenTrigger, {
1544
+ return /* @__PURE__ */ React20.createElement(ListPrimitiveItemOpenTrigger, {
1474
1545
  ...props,
1475
1546
  className: tx("list.item.openTrigger", "list__listItem__openTrigger", {
1476
1547
  density
1477
1548
  }, classNames),
1478
1549
  ref: forwardedRef
1479
- }, children || /* @__PURE__ */ React18.createElement(Icon3, {
1550
+ }, children || /* @__PURE__ */ React20.createElement(Icon3, {
1480
1551
  weight: "bold",
1481
1552
  className: tx("list.item.openTriggerIcon", "list__listItem__openTrigger__icon", {})
1482
1553
  }));
1483
1554
  });
1484
- var ListItemRoot = /* @__PURE__ */ forwardRef15(({ classNames, children, ...props }, forwardedRef) => {
1555
+ var ListItemRoot = /* @__PURE__ */ forwardRef17(({ classNames, children, ...props }, forwardedRef) => {
1485
1556
  const { tx } = useThemeContext();
1486
1557
  const density = useDensityContext();
1487
- return /* @__PURE__ */ React18.createElement(ListPrimitiveItem, {
1558
+ return /* @__PURE__ */ React20.createElement(ListPrimitiveItem, {
1488
1559
  ...props,
1489
1560
  className: tx("list.item.root", "list__listItem", {
1490
1561
  density,
@@ -1503,23 +1574,23 @@ var ListItem = {
1503
1574
  };
1504
1575
 
1505
1576
  // packages/ui/react-ui/src/components/Lists/Tree.tsx
1506
- import React19, { forwardRef as forwardRef16 } from "react";
1507
- var TreeRoot = /* @__PURE__ */ forwardRef16((props, forwardedRef) => {
1508
- return /* @__PURE__ */ React19.createElement(List, {
1577
+ import React21, { forwardRef as forwardRef18 } from "react";
1578
+ var TreeRoot = /* @__PURE__ */ forwardRef18((props, forwardedRef) => {
1579
+ return /* @__PURE__ */ React21.createElement(List, {
1509
1580
  ...props,
1510
1581
  ref: forwardedRef
1511
1582
  });
1512
1583
  });
1513
- var TreeBranch = /* @__PURE__ */ forwardRef16(({ __listScope, ...props }, forwardedRef) => {
1584
+ var TreeBranch = /* @__PURE__ */ forwardRef18(({ __listScope, ...props }, forwardedRef) => {
1514
1585
  const { headingId } = useListItemContext(LIST_ITEM_NAME, __listScope);
1515
- return /* @__PURE__ */ React19.createElement(List, {
1586
+ return /* @__PURE__ */ React21.createElement(List, {
1516
1587
  ...props,
1517
1588
  "aria-labelledby": headingId,
1518
1589
  ref: forwardedRef
1519
1590
  });
1520
1591
  });
1521
- var TreeItemRoot = /* @__PURE__ */ forwardRef16((props, forwardedRef) => {
1522
- return /* @__PURE__ */ React19.createElement(ListItem.Root, {
1592
+ var TreeItemRoot = /* @__PURE__ */ forwardRef18((props, forwardedRef) => {
1593
+ return /* @__PURE__ */ React21.createElement(ListItem.Root, {
1523
1594
  role: "treeitem",
1524
1595
  ...props,
1525
1596
  ref: forwardedRef
@@ -1547,13 +1618,13 @@ import { createContextScope as createContextScope2 } from "@radix-ui/react-conte
1547
1618
  import { Primitive as Primitive8 } from "@radix-ui/react-primitive";
1548
1619
  import { Slot as Slot9 } from "@radix-ui/react-slot";
1549
1620
  import { useControllableState as useControllableState3 } from "@radix-ui/react-use-controllable-state";
1550
- import React20, { forwardRef as forwardRef17 } from "react";
1621
+ import React22, { forwardRef as forwardRef19 } from "react";
1551
1622
  var TREEGRID_ROW_NAME = "TreegridRow";
1552
1623
  var [createTreegridRowContext, createTreegridRowScope] = createContextScope2(TREEGRID_ROW_NAME, []);
1553
1624
  var [TreegridRowProvider, useTreegridRowContext] = createTreegridRowContext(TREEGRID_ROW_NAME);
1554
1625
  var PATH_SEPARATOR = "~";
1555
1626
  var PARENT_OF_SEPARATOR = " ";
1556
- var TreegridRoot = /* @__PURE__ */ forwardRef17(({ asChild, classNames, children, style, gridTemplateColumns, ...props }, forwardedRef) => {
1627
+ var TreegridRoot = /* @__PURE__ */ forwardRef19(({ asChild, classNames, children, style, gridTemplateColumns, ...props }, forwardedRef) => {
1557
1628
  const { tx } = useThemeContext();
1558
1629
  const Root5 = asChild ? Slot9 : Primitive8.div;
1559
1630
  const arrowNavigationAttrs = useArrowNavigationGroup({
@@ -1561,7 +1632,7 @@ var TreegridRoot = /* @__PURE__ */ forwardRef17(({ asChild, classNames, children
1561
1632
  tabbable: false,
1562
1633
  circular: true
1563
1634
  });
1564
- return /* @__PURE__ */ React20.createElement(Root5, {
1635
+ return /* @__PURE__ */ React22.createElement(Root5, {
1565
1636
  role: "treegrid",
1566
1637
  ...arrowNavigationAttrs,
1567
1638
  ...props,
@@ -1573,7 +1644,7 @@ var TreegridRoot = /* @__PURE__ */ forwardRef17(({ asChild, classNames, children
1573
1644
  ref: forwardedRef
1574
1645
  }, children);
1575
1646
  });
1576
- var TreegridRow = /* @__PURE__ */ forwardRef17(({ __treegridRowScope, asChild, classNames, children, id, parentOf, open: propsOpen, defaultOpen, onOpenChange: propsOnOpenChange, ...props }, forwardedRef) => {
1647
+ var TreegridRow = /* @__PURE__ */ forwardRef19(({ __treegridRowScope, asChild, classNames, children, id, parentOf, open: propsOpen, defaultOpen, onOpenChange: propsOnOpenChange, ...props }, forwardedRef) => {
1577
1648
  const { tx } = useThemeContext();
1578
1649
  const Root5 = asChild ? Slot9 : Primitive8.div;
1579
1650
  const pathParts = id.split(PATH_SEPARATOR);
@@ -1592,11 +1663,11 @@ var TreegridRow = /* @__PURE__ */ forwardRef17(({ __treegridRowScope, asChild, c
1592
1663
  circular: false,
1593
1664
  memorizeCurrent: false
1594
1665
  });
1595
- return /* @__PURE__ */ React20.createElement(TreegridRowProvider, {
1666
+ return /* @__PURE__ */ React22.createElement(TreegridRowProvider, {
1596
1667
  open,
1597
1668
  onOpenChange,
1598
1669
  scope: __treegridRowScope
1599
- }, /* @__PURE__ */ React20.createElement(Root5, {
1670
+ }, /* @__PURE__ */ React22.createElement(Root5, {
1600
1671
  role: "row",
1601
1672
  "aria-level": level,
1602
1673
  className: tx("treegrid.row", "treegrid__row", {
@@ -1611,15 +1682,15 @@ var TreegridRow = /* @__PURE__ */ forwardRef17(({ __treegridRowScope, asChild, c
1611
1682
  ...props,
1612
1683
  id,
1613
1684
  ref: forwardedRef
1614
- }, /* @__PURE__ */ React20.createElement("div", {
1685
+ }, /* @__PURE__ */ React22.createElement("div", {
1615
1686
  role: "none",
1616
1687
  className: "contents",
1617
1688
  ...arrowGroupAttrs
1618
1689
  }, children)));
1619
1690
  });
1620
- var TreegridCell = /* @__PURE__ */ forwardRef17(({ classNames, children, indent, ...props }, forwardedRef) => {
1691
+ var TreegridCell = /* @__PURE__ */ forwardRef19(({ classNames, children, indent, ...props }, forwardedRef) => {
1621
1692
  const { tx } = useThemeContext();
1622
- return /* @__PURE__ */ React20.createElement("div", {
1693
+ return /* @__PURE__ */ React22.createElement("div", {
1623
1694
  role: "gridcell",
1624
1695
  className: tx("treegrid.cell", "treegrid__cell", {
1625
1696
  indent
@@ -1646,7 +1717,7 @@ import { Root as DialogRoot2, DialogContent as DialogContent2 } from "@radix-ui/
1646
1717
  import { Primitive as Primitive9 } from "@radix-ui/react-primitive";
1647
1718
  import { Slot as Slot10 } from "@radix-ui/react-slot";
1648
1719
  import { useControllableState as useControllableState4 } from "@radix-ui/react-use-controllable-state";
1649
- import React21, { forwardRef as forwardRef18, useCallback as useCallback4, useEffect as useEffect5, useRef as useRef2, useState as useState4 } from "react";
1720
+ import React23, { forwardRef as forwardRef20, useCallback as useCallback4, useEffect as useEffect5, useRef as useRef2, useState as useState4 } from "react";
1650
1721
  import { log } from "@dxos/log";
1651
1722
  import { useMediaQuery, useForwardedRef } from "@dxos/react-hooks";
1652
1723
 
@@ -1866,7 +1937,7 @@ var MainRoot = ({ navigationSidebarOpen: propsNavigationSidebarOpen, defaultNavi
1866
1937
  }, [
1867
1938
  handleResize
1868
1939
  ]);
1869
- return /* @__PURE__ */ React21.createElement(MainProvider, {
1940
+ return /* @__PURE__ */ React23.createElement(MainProvider, {
1870
1941
  ...props,
1871
1942
  navigationSidebarOpen,
1872
1943
  setNavigationSidebarOpen,
@@ -1879,7 +1950,7 @@ MainRoot.displayName = MAIN_ROOT_NAME;
1879
1950
  var handleOpenAutoFocus = (event) => {
1880
1951
  !document.body.hasAttribute("data-is-keyboard") && event.preventDefault();
1881
1952
  };
1882
- var MainSidebar = /* @__PURE__ */ forwardRef18(({ classNames, children, swipeToDismiss, onOpenAutoFocus, open, resizing, setOpen, side, ...props }, forwardedRef) => {
1953
+ var MainSidebar = /* @__PURE__ */ forwardRef20(({ classNames, children, swipeToDismiss, onOpenAutoFocus, open, resizing, setOpen, side, ...props }, forwardedRef) => {
1883
1954
  const [isLg] = useMediaQuery("lg", {
1884
1955
  ssr: false
1885
1956
  });
@@ -1898,10 +1969,10 @@ var MainSidebar = /* @__PURE__ */ forwardRef18(({ classNames, children, swipeToD
1898
1969
  props.onKeyDown
1899
1970
  ]);
1900
1971
  const Root5 = isLg ? Primitive9.div : DialogContent2;
1901
- return /* @__PURE__ */ React21.createElement(DialogRoot2, {
1972
+ return /* @__PURE__ */ React23.createElement(DialogRoot2, {
1902
1973
  open,
1903
1974
  modal: false
1904
- }, /* @__PURE__ */ React21.createElement(Root5, {
1975
+ }, /* @__PURE__ */ React23.createElement(Root5, {
1905
1976
  ...!isLg && {
1906
1977
  forceMount: true,
1907
1978
  tabIndex: -1,
@@ -1917,14 +1988,14 @@ var MainSidebar = /* @__PURE__ */ forwardRef18(({ classNames, children, swipeToD
1917
1988
  inert: "true"
1918
1989
  },
1919
1990
  ref
1920
- }, /* @__PURE__ */ React21.createElement(ElevationProvider, {
1991
+ }, /* @__PURE__ */ React23.createElement(ElevationProvider, {
1921
1992
  elevation: "group"
1922
1993
  }, children)));
1923
1994
  });
1924
- var MainNavigationSidebar = /* @__PURE__ */ forwardRef18((props, forwardedRef) => {
1995
+ var MainNavigationSidebar = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
1925
1996
  const { navigationSidebarOpen, setNavigationSidebarOpen, resizing } = useMainContext(NAVIGATION_SIDEBAR_NAME);
1926
1997
  const mover = useLandmarkMover(props.onKeyDown, "0");
1927
- return /* @__PURE__ */ React21.createElement(MainSidebar, {
1998
+ return /* @__PURE__ */ React23.createElement(MainSidebar, {
1928
1999
  ...mover,
1929
2000
  ...props,
1930
2001
  open: navigationSidebarOpen,
@@ -1935,10 +2006,10 @@ var MainNavigationSidebar = /* @__PURE__ */ forwardRef18((props, forwardedRef) =
1935
2006
  });
1936
2007
  });
1937
2008
  MainNavigationSidebar.displayName = NAVIGATION_SIDEBAR_NAME;
1938
- var MainComplementarySidebar = /* @__PURE__ */ forwardRef18((props, forwardedRef) => {
2009
+ var MainComplementarySidebar = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
1939
2010
  const { complementarySidebarOpen, setComplementarySidebarOpen, resizing } = useMainContext(COMPLEMENTARY_SIDEBAR_NAME);
1940
2011
  const mover = useLandmarkMover(props.onKeyDown, "2");
1941
- return /* @__PURE__ */ React21.createElement(MainSidebar, {
2012
+ return /* @__PURE__ */ React23.createElement(MainSidebar, {
1942
2013
  ...mover,
1943
2014
  ...props,
1944
2015
  open: complementarySidebarOpen,
@@ -1949,12 +2020,12 @@ var MainComplementarySidebar = /* @__PURE__ */ forwardRef18((props, forwardedRef
1949
2020
  });
1950
2021
  });
1951
2022
  MainNavigationSidebar.displayName = NAVIGATION_SIDEBAR_NAME;
1952
- var MainContent = /* @__PURE__ */ forwardRef18(({ asChild, classNames, bounce, handlesFocus, children, role, ...props }, forwardedRef) => {
2023
+ var MainContent = /* @__PURE__ */ forwardRef20(({ asChild, classNames, bounce, handlesFocus, children, role, ...props }, forwardedRef) => {
1953
2024
  const { navigationSidebarOpen, complementarySidebarOpen } = useMainContext(MAIN_NAME);
1954
2025
  const { tx } = useThemeContext();
1955
2026
  const Root5 = asChild ? Slot10 : role ? "div" : "main";
1956
2027
  const mover = useLandmarkMover(props.onKeyDown, "1");
1957
- return /* @__PURE__ */ React21.createElement(Root5, {
2028
+ return /* @__PURE__ */ React23.createElement(Root5, {
1958
2029
  role,
1959
2030
  ...handlesFocus && {
1960
2031
  ...mover
@@ -1970,13 +2041,13 @@ var MainContent = /* @__PURE__ */ forwardRef18(({ asChild, classNames, bounce, h
1970
2041
  }, children);
1971
2042
  });
1972
2043
  MainContent.displayName = MAIN_NAME;
1973
- var MainOverlay = /* @__PURE__ */ forwardRef18(({ classNames, ...props }, forwardedRef) => {
2044
+ var MainOverlay = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1974
2045
  const [isLg] = useMediaQuery("lg", {
1975
2046
  ssr: false
1976
2047
  });
1977
2048
  const { navigationSidebarOpen, setNavigationSidebarOpen, complementarySidebarOpen, setComplementarySidebarOpen } = useMainContext(MAIN_NAME);
1978
2049
  const { tx } = useThemeContext();
1979
- return /* @__PURE__ */ React21.createElement("div", {
2050
+ return /* @__PURE__ */ React23.createElement("div", {
1980
2051
  onClick: () => {
1981
2052
  setNavigationSidebarOpen(false);
1982
2053
  setComplementarySidebarOpen(false);
@@ -1992,7 +2063,7 @@ var MainOverlay = /* @__PURE__ */ forwardRef18(({ classNames, ...props }, forwar
1992
2063
  ref: forwardedRef
1993
2064
  });
1994
2065
  });
1995
- var MainNotch = /* @__PURE__ */ forwardRef18(({ classNames, ...props }, forwardedRef) => {
2066
+ var MainNotch = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1996
2067
  const { tx } = useThemeContext();
1997
2068
  const { navigationSidebarOpen } = useMainContext(MAIN_NAME);
1998
2069
  const notchElement = useRef2(null);
@@ -2007,7 +2078,7 @@ var MainNotch = /* @__PURE__ */ forwardRef18(({ classNames, ...props }, forwarde
2007
2078
  props?.onKeyDown
2008
2079
  ]);
2009
2080
  const mover = useLandmarkMover(handleKeyDown, "3");
2010
- return /* @__PURE__ */ React21.createElement("div", {
2081
+ return /* @__PURE__ */ React23.createElement("div", {
2011
2082
  role: "toolbar",
2012
2083
  ...mover,
2013
2084
  ...props,
@@ -2029,20 +2100,20 @@ var Main = {
2029
2100
  import { createContext as createContext9 } from "@radix-ui/react-context";
2030
2101
  import { Primitive as Primitive10 } from "@radix-ui/react-primitive";
2031
2102
  import { Slot as Slot11 } from "@radix-ui/react-slot";
2032
- import React22, { forwardRef as forwardRef19 } from "react";
2103
+ import React24, { forwardRef as forwardRef21 } from "react";
2033
2104
  import { useId as useId4 } from "@dxos/react-hooks";
2034
2105
  var MESSAGE_NAME = "Message";
2035
2106
  var [MessageProvider, useMessageContext] = createContext9(MESSAGE_NAME);
2036
- var MessageRoot = /* @__PURE__ */ forwardRef19(({ asChild, valence, elevation: propsElevation, className, titleId: propsTitleId, descriptionId: propsDescriptionId, children, ...props }, forwardedRef) => {
2107
+ var MessageRoot = /* @__PURE__ */ forwardRef21(({ asChild, valence, elevation: propsElevation, className, titleId: propsTitleId, descriptionId: propsDescriptionId, children, ...props }, forwardedRef) => {
2037
2108
  const { tx } = useThemeContext();
2038
2109
  const titleId = useId4("message__title", propsTitleId);
2039
2110
  const descriptionId = useId4("message__description", propsDescriptionId);
2040
2111
  const elevation = useElevationContext(propsElevation);
2041
2112
  const Root5 = asChild ? Slot11 : Primitive10.div;
2042
- return /* @__PURE__ */ React22.createElement(MessageProvider, {
2113
+ return /* @__PURE__ */ React24.createElement(MessageProvider, {
2043
2114
  titleId,
2044
2115
  descriptionId
2045
- }, /* @__PURE__ */ React22.createElement(Root5, {
2116
+ }, /* @__PURE__ */ React24.createElement(Root5, {
2046
2117
  ...props,
2047
2118
  className: tx("message.root", "message", {
2048
2119
  valence,
@@ -2055,11 +2126,11 @@ var MessageRoot = /* @__PURE__ */ forwardRef19(({ asChild, valence, elevation: p
2055
2126
  });
2056
2127
  MessageRoot.displayName = MESSAGE_NAME;
2057
2128
  var MESSAGE_TITLE_NAME = "MessageTitle";
2058
- var MessageTitle = /* @__PURE__ */ forwardRef19(({ asChild, className, children, ...props }, forwardedRef) => {
2129
+ var MessageTitle = /* @__PURE__ */ forwardRef21(({ asChild, className, children, ...props }, forwardedRef) => {
2059
2130
  const { tx } = useThemeContext();
2060
2131
  const { titleId } = useMessageContext(MESSAGE_TITLE_NAME);
2061
2132
  const Root5 = asChild ? Slot11 : Primitive10.h2;
2062
- return /* @__PURE__ */ React22.createElement(Root5, {
2133
+ return /* @__PURE__ */ React24.createElement(Root5, {
2063
2134
  ...props,
2064
2135
  className: tx("message.title", "message__title", {}, className),
2065
2136
  id: titleId,
@@ -2068,11 +2139,11 @@ var MessageTitle = /* @__PURE__ */ forwardRef19(({ asChild, className, children,
2068
2139
  });
2069
2140
  MessageTitle.displayName = MESSAGE_TITLE_NAME;
2070
2141
  var MESSAGE_BODY_NAME = "MessageBody";
2071
- var MessageBody = /* @__PURE__ */ forwardRef19(({ asChild, className, children, ...props }, forwardedRef) => {
2142
+ var MessageBody = /* @__PURE__ */ forwardRef21(({ asChild, className, children, ...props }, forwardedRef) => {
2072
2143
  const { tx } = useThemeContext();
2073
2144
  const { descriptionId } = useMessageContext(MESSAGE_BODY_NAME);
2074
2145
  const Root5 = asChild ? Slot11 : Primitive10.p;
2075
- return /* @__PURE__ */ React22.createElement(Root5, {
2146
+ return /* @__PURE__ */ React24.createElement(Root5, {
2076
2147
  ...props,
2077
2148
  className: tx("message.body", "message__body", {}, className),
2078
2149
  id: descriptionId,
@@ -2102,7 +2173,7 @@ import { Primitive as Primitive11 } from "@radix-ui/react-primitive";
2102
2173
  import { Slot as Slot12 } from "@radix-ui/react-slot";
2103
2174
  import { useControllableState as useControllableState5 } from "@radix-ui/react-use-controllable-state";
2104
2175
  import { hideOthers } from "aria-hidden";
2105
- import React23, { forwardRef as forwardRef20, useRef as useRef3, useCallback as useCallback5, useState as useState5, useEffect as useEffect6 } from "react";
2176
+ import React25, { forwardRef as forwardRef22, useRef as useRef3, useCallback as useCallback5, useState as useState5, useEffect as useEffect6 } from "react";
2106
2177
  import { RemoveScroll } from "react-remove-scroll";
2107
2178
  var POPOVER_NAME = "Popover";
2108
2179
  var [createPopoverContext, createPopoverScope] = createContextScope3(POPOVER_NAME, [
@@ -2120,7 +2191,7 @@ var PopoverRoot = (props) => {
2120
2191
  defaultProp: defaultOpen,
2121
2192
  onChange: onOpenChange
2122
2193
  });
2123
- return /* @__PURE__ */ React23.createElement(PopperPrimitive.Root, popperScope, /* @__PURE__ */ React23.createElement(PopoverProvider, {
2194
+ return /* @__PURE__ */ React25.createElement(PopperPrimitive.Root, popperScope, /* @__PURE__ */ React25.createElement(PopoverProvider, {
2124
2195
  scope: __scopePopover,
2125
2196
  contentId: useId5(),
2126
2197
  triggerRef,
@@ -2137,7 +2208,7 @@ var PopoverRoot = (props) => {
2137
2208
  };
2138
2209
  PopoverRoot.displayName = POPOVER_NAME;
2139
2210
  var ANCHOR_NAME = "PopoverAnchor";
2140
- var PopoverAnchor = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2211
+ var PopoverAnchor = /* @__PURE__ */ forwardRef22((props, forwardedRef) => {
2141
2212
  const { __scopePopover, ...anchorProps } = props;
2142
2213
  const context = usePopoverContext(ANCHOR_NAME, __scopePopover);
2143
2214
  const popperScope = usePopperScope(__scopePopover);
@@ -2149,7 +2220,7 @@ var PopoverAnchor = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2149
2220
  onCustomAnchorAdd,
2150
2221
  onCustomAnchorRemove
2151
2222
  ]);
2152
- return /* @__PURE__ */ React23.createElement(PopperPrimitive.Anchor, {
2223
+ return /* @__PURE__ */ React25.createElement(PopperPrimitive.Anchor, {
2153
2224
  ...popperScope,
2154
2225
  ...anchorProps,
2155
2226
  ref: forwardedRef
@@ -2157,12 +2228,12 @@ var PopoverAnchor = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2157
2228
  });
2158
2229
  PopoverAnchor.displayName = ANCHOR_NAME;
2159
2230
  var TRIGGER_NAME2 = "PopoverTrigger";
2160
- var PopoverTrigger = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2231
+ var PopoverTrigger = /* @__PURE__ */ forwardRef22((props, forwardedRef) => {
2161
2232
  const { __scopePopover, ...triggerProps } = props;
2162
2233
  const context = usePopoverContext(TRIGGER_NAME2, __scopePopover);
2163
2234
  const popperScope = usePopperScope(__scopePopover);
2164
2235
  const composedTriggerRef = useComposedRefs2(forwardedRef, context.triggerRef);
2165
- const trigger = /* @__PURE__ */ React23.createElement(Primitive11.button, {
2236
+ const trigger = /* @__PURE__ */ React25.createElement(Primitive11.button, {
2166
2237
  type: "button",
2167
2238
  "aria-haspopup": "dialog",
2168
2239
  "aria-expanded": context.open,
@@ -2172,7 +2243,7 @@ var PopoverTrigger = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2172
2243
  ref: composedTriggerRef,
2173
2244
  onClick: composeEventHandlers2(props.onClick, context.onOpenToggle)
2174
2245
  });
2175
- return context.hasCustomAnchor ? trigger : /* @__PURE__ */ React23.createElement(PopperPrimitive.Anchor, {
2246
+ return context.hasCustomAnchor ? trigger : /* @__PURE__ */ React25.createElement(PopperPrimitive.Anchor, {
2176
2247
  asChild: true,
2177
2248
  ...popperScope
2178
2249
  }, trigger);
@@ -2188,7 +2259,7 @@ var PopoverVirtualTrigger = (props) => {
2188
2259
  context.triggerRef.current = virtualRef.current;
2189
2260
  }
2190
2261
  });
2191
- return /* @__PURE__ */ React23.createElement(PopperPrimitive.Anchor, {
2262
+ return /* @__PURE__ */ React25.createElement(PopperPrimitive.Anchor, {
2192
2263
  ...popperScope,
2193
2264
  virtualRef
2194
2265
  });
@@ -2201,34 +2272,34 @@ var [PortalProvider, usePortalContext] = createPopoverContext(PORTAL_NAME2, {
2201
2272
  var PopoverPortal = (props) => {
2202
2273
  const { __scopePopover, forceMount, children, container } = props;
2203
2274
  const context = usePopoverContext(PORTAL_NAME2, __scopePopover);
2204
- return /* @__PURE__ */ React23.createElement(PortalProvider, {
2275
+ return /* @__PURE__ */ React25.createElement(PortalProvider, {
2205
2276
  scope: __scopePopover,
2206
2277
  forceMount
2207
- }, /* @__PURE__ */ React23.createElement(Presence, {
2278
+ }, /* @__PURE__ */ React25.createElement(Presence, {
2208
2279
  present: forceMount || context.open
2209
- }, /* @__PURE__ */ React23.createElement(PortalPrimitive, {
2280
+ }, /* @__PURE__ */ React25.createElement(PortalPrimitive, {
2210
2281
  asChild: true,
2211
2282
  container
2212
2283
  }, children)));
2213
2284
  };
2214
2285
  PopoverPortal.displayName = PORTAL_NAME2;
2215
2286
  var CONTENT_NAME2 = "PopoverContent";
2216
- var PopoverContent = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2287
+ var PopoverContent = /* @__PURE__ */ forwardRef22((props, forwardedRef) => {
2217
2288
  const portalContext = usePortalContext(CONTENT_NAME2, props.__scopePopover);
2218
2289
  const { forceMount = portalContext.forceMount, ...contentProps } = props;
2219
2290
  const context = usePopoverContext(CONTENT_NAME2, props.__scopePopover);
2220
- return /* @__PURE__ */ React23.createElement(Presence, {
2291
+ return /* @__PURE__ */ React25.createElement(Presence, {
2221
2292
  present: forceMount || context.open
2222
- }, context.modal ? /* @__PURE__ */ React23.createElement(PopoverContentModal, {
2293
+ }, context.modal ? /* @__PURE__ */ React25.createElement(PopoverContentModal, {
2223
2294
  ...contentProps,
2224
2295
  ref: forwardedRef
2225
- }) : /* @__PURE__ */ React23.createElement(PopoverContentNonModal, {
2296
+ }) : /* @__PURE__ */ React25.createElement(PopoverContentNonModal, {
2226
2297
  ...contentProps,
2227
2298
  ref: forwardedRef
2228
2299
  }));
2229
2300
  });
2230
2301
  PopoverContent.displayName = CONTENT_NAME2;
2231
- var PopoverContentModal = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2302
+ var PopoverContentModal = /* @__PURE__ */ forwardRef22((props, forwardedRef) => {
2232
2303
  const context = usePopoverContext(CONTENT_NAME2, props.__scopePopover);
2233
2304
  const contentRef = useRef3(null);
2234
2305
  const composedRefs = useComposedRefs2(forwardedRef, contentRef);
@@ -2239,10 +2310,10 @@ var PopoverContentModal = /* @__PURE__ */ forwardRef20((props, forwardedRef) =>
2239
2310
  return hideOthers(content);
2240
2311
  }
2241
2312
  }, []);
2242
- return /* @__PURE__ */ React23.createElement(RemoveScroll, {
2313
+ return /* @__PURE__ */ React25.createElement(RemoveScroll, {
2243
2314
  as: Slot12,
2244
2315
  allowPinchZoom: true
2245
- }, /* @__PURE__ */ React23.createElement(PopoverContentImpl, {
2316
+ }, /* @__PURE__ */ React25.createElement(PopoverContentImpl, {
2246
2317
  ...props,
2247
2318
  ref: composedRefs,
2248
2319
  // we make sure we're not trapping once it's been closed
@@ -2270,11 +2341,11 @@ var PopoverContentModal = /* @__PURE__ */ forwardRef20((props, forwardedRef) =>
2270
2341
  })
2271
2342
  }));
2272
2343
  });
2273
- var PopoverContentNonModal = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2344
+ var PopoverContentNonModal = /* @__PURE__ */ forwardRef22((props, forwardedRef) => {
2274
2345
  const context = usePopoverContext(CONTENT_NAME2, props.__scopePopover);
2275
2346
  const hasInteractedOutsideRef = useRef3(false);
2276
2347
  const hasPointerDownOutsideRef = useRef3(false);
2277
- return /* @__PURE__ */ React23.createElement(PopoverContentImpl, {
2348
+ return /* @__PURE__ */ React25.createElement(PopoverContentImpl, {
2278
2349
  ...props,
2279
2350
  ref: forwardedRef,
2280
2351
  trapFocus: false,
@@ -2309,19 +2380,19 @@ var PopoverContentNonModal = /* @__PURE__ */ forwardRef20((props, forwardedRef)
2309
2380
  }
2310
2381
  });
2311
2382
  });
2312
- var PopoverContentImpl = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2383
+ var PopoverContentImpl = /* @__PURE__ */ forwardRef22((props, forwardedRef) => {
2313
2384
  const { __scopePopover, trapFocus, onOpenAutoFocus, onCloseAutoFocus, disableOutsidePointerEvents, onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside, classNames, ...contentProps } = props;
2314
2385
  const context = usePopoverContext(CONTENT_NAME2, __scopePopover);
2315
2386
  const popperScope = usePopperScope(__scopePopover);
2316
2387
  const { tx } = useThemeContext();
2317
2388
  useFocusGuards();
2318
- return /* @__PURE__ */ React23.createElement(FocusScope, {
2389
+ return /* @__PURE__ */ React25.createElement(FocusScope, {
2319
2390
  asChild: true,
2320
2391
  loop: true,
2321
2392
  trapped: trapFocus,
2322
2393
  onMountAutoFocus: onOpenAutoFocus,
2323
2394
  onUnmountAutoFocus: onCloseAutoFocus
2324
- }, /* @__PURE__ */ React23.createElement(DismissableLayer, {
2395
+ }, /* @__PURE__ */ React25.createElement(DismissableLayer, {
2325
2396
  asChild: true,
2326
2397
  disableOutsidePointerEvents,
2327
2398
  onInteractOutside,
@@ -2329,7 +2400,7 @@ var PopoverContentImpl = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2329
2400
  onPointerDownOutside,
2330
2401
  onFocusOutside,
2331
2402
  onDismiss: () => context.onOpenChange(false)
2332
- }, /* @__PURE__ */ React23.createElement(PopperPrimitive.Content, {
2403
+ }, /* @__PURE__ */ React25.createElement(PopperPrimitive.Content, {
2333
2404
  "data-state": getState(context.open),
2334
2405
  role: "dialog",
2335
2406
  id: context.contentId,
@@ -2351,10 +2422,10 @@ var PopoverContentImpl = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2351
2422
  })));
2352
2423
  });
2353
2424
  var CLOSE_NAME = "PopoverClose";
2354
- var PopoverClose = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2425
+ var PopoverClose = /* @__PURE__ */ forwardRef22((props, forwardedRef) => {
2355
2426
  const { __scopePopover, ...closeProps } = props;
2356
2427
  const context = usePopoverContext(CLOSE_NAME, __scopePopover);
2357
- return /* @__PURE__ */ React23.createElement(Primitive11.button, {
2428
+ return /* @__PURE__ */ React25.createElement(Primitive11.button, {
2358
2429
  type: "button",
2359
2430
  ...closeProps,
2360
2431
  ref: forwardedRef,
@@ -2363,11 +2434,11 @@ var PopoverClose = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2363
2434
  });
2364
2435
  PopoverClose.displayName = CLOSE_NAME;
2365
2436
  var ARROW_NAME2 = "PopoverArrow";
2366
- var PopoverArrow = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2437
+ var PopoverArrow = /* @__PURE__ */ forwardRef22((props, forwardedRef) => {
2367
2438
  const { __scopePopover, classNames, ...arrowProps } = props;
2368
2439
  const popperScope = usePopperScope(__scopePopover);
2369
2440
  const { tx } = useThemeContext();
2370
- return /* @__PURE__ */ React23.createElement(PopperPrimitive.Arrow, {
2441
+ return /* @__PURE__ */ React25.createElement(PopperPrimitive.Arrow, {
2371
2442
  ...popperScope,
2372
2443
  ...arrowProps,
2373
2444
  className: tx("popover.arrow", "popover__arrow", {}, classNames),
@@ -2375,10 +2446,10 @@ var PopoverArrow = /* @__PURE__ */ forwardRef20((props, forwardedRef) => {
2375
2446
  });
2376
2447
  });
2377
2448
  PopoverArrow.displayName = ARROW_NAME2;
2378
- var PopoverViewport = /* @__PURE__ */ forwardRef20(({ classNames, asChild, constrainInline = true, constrainBlock = true, children, ...props }, forwardedRef) => {
2449
+ var PopoverViewport = /* @__PURE__ */ forwardRef22(({ classNames, asChild, constrainInline = true, constrainBlock = true, children, ...props }, forwardedRef) => {
2379
2450
  const { tx } = useThemeContext();
2380
2451
  const Root5 = asChild ? Slot12 : Primitive11.div;
2381
- return /* @__PURE__ */ React23.createElement(Root5, {
2452
+ return /* @__PURE__ */ React25.createElement(Root5, {
2382
2453
  ...props,
2383
2454
  className: tx("popover.viewport", "popover__viewport", {
2384
2455
  constrainInline,
@@ -2401,20 +2472,22 @@ var Popover = {
2401
2472
  };
2402
2473
 
2403
2474
  // packages/ui/react-ui/src/components/Status/Status.tsx
2404
- import React24, { forwardRef as forwardRef21 } from "react";
2405
- var Status = /* @__PURE__ */ forwardRef21(({ classNames, children, progress = 0, indeterminate, ...props }, forwardedRef) => {
2475
+ import React26, { forwardRef as forwardRef23 } from "react";
2476
+ var Status = /* @__PURE__ */ forwardRef23(({ classNames, children, progress = 0, indeterminate, variant, ...props }, forwardedRef) => {
2406
2477
  const { tx } = useThemeContext();
2407
- return /* @__PURE__ */ React24.createElement("span", {
2478
+ return /* @__PURE__ */ React26.createElement("span", {
2408
2479
  role: "status",
2409
2480
  ...props,
2410
2481
  className: tx("status.root", "status", {
2411
- indeterminate
2482
+ indeterminate,
2483
+ variant
2412
2484
  }, classNames),
2413
2485
  ref: forwardedRef
2414
- }, /* @__PURE__ */ React24.createElement("span", {
2486
+ }, /* @__PURE__ */ React26.createElement("span", {
2415
2487
  role: "none",
2416
2488
  className: tx("status.bar", "status__bar", {
2417
- indeterminate
2489
+ indeterminate,
2490
+ variant
2418
2491
  }, classNames),
2419
2492
  ...!indeterminate && {
2420
2493
  style: {
@@ -2426,43 +2499,43 @@ var Status = /* @__PURE__ */ forwardRef21(({ classNames, children, progress = 0,
2426
2499
 
2427
2500
  // packages/ui/react-ui/src/components/ScrollArea/ScrollArea.tsx
2428
2501
  import { Root as ScrollAreaPrimitiveRoot, Viewport as ScrollAreaPrimitiveViewport, Scrollbar as ScrollAreaPrimitiveScrollbar, Thumb as ScrollAreaPrimitiveThumb, Corner as ScrollAreaPrimitiveCorner } from "@radix-ui/react-scroll-area";
2429
- import React25, { forwardRef as forwardRef22 } from "react";
2430
- var ScrollAreaRoot = /* @__PURE__ */ forwardRef22(({ classNames, ...props }, forwardedRef) => {
2502
+ import React27, { forwardRef as forwardRef24 } from "react";
2503
+ var ScrollAreaRoot = /* @__PURE__ */ forwardRef24(({ classNames, ...props }, forwardedRef) => {
2431
2504
  const { tx } = useThemeContext();
2432
- return /* @__PURE__ */ React25.createElement(ScrollAreaPrimitiveRoot, {
2505
+ return /* @__PURE__ */ React27.createElement(ScrollAreaPrimitiveRoot, {
2433
2506
  ...props,
2434
2507
  className: tx("scrollArea.root", "scroll-area", {}, classNames),
2435
2508
  ref: forwardedRef
2436
2509
  });
2437
2510
  });
2438
- var ScrollAreaViewport = /* @__PURE__ */ forwardRef22(({ classNames, ...props }, forwardedRef) => {
2511
+ var ScrollAreaViewport = /* @__PURE__ */ forwardRef24(({ classNames, ...props }, forwardedRef) => {
2439
2512
  const { tx } = useThemeContext();
2440
- return /* @__PURE__ */ React25.createElement(ScrollAreaPrimitiveViewport, {
2513
+ return /* @__PURE__ */ React27.createElement(ScrollAreaPrimitiveViewport, {
2441
2514
  ...props,
2442
2515
  className: tx("scrollArea.viewport", "scroll-area", {}, classNames),
2443
2516
  ref: forwardedRef
2444
2517
  });
2445
2518
  });
2446
- var ScrollAreaScrollbar = /* @__PURE__ */ forwardRef22(({ classNames, variant = "fine", ...props }, forwardedRef) => {
2519
+ var ScrollAreaScrollbar = /* @__PURE__ */ forwardRef24(({ classNames, variant = "fine", ...props }, forwardedRef) => {
2447
2520
  const { tx } = useThemeContext();
2448
- return /* @__PURE__ */ React25.createElement(ScrollAreaPrimitiveScrollbar, {
2521
+ return /* @__PURE__ */ React27.createElement(ScrollAreaPrimitiveScrollbar, {
2449
2522
  "data-variant": variant,
2450
2523
  ...props,
2451
2524
  className: tx("scrollArea.scrollbar", "scroll-area__scrollbar", {}, classNames),
2452
2525
  ref: forwardedRef
2453
2526
  });
2454
2527
  });
2455
- var ScrollAreaThumb = /* @__PURE__ */ forwardRef22(({ classNames, ...props }, forwardedRef) => {
2528
+ var ScrollAreaThumb = /* @__PURE__ */ forwardRef24(({ classNames, ...props }, forwardedRef) => {
2456
2529
  const { tx } = useThemeContext();
2457
- return /* @__PURE__ */ React25.createElement(ScrollAreaPrimitiveThumb, {
2530
+ return /* @__PURE__ */ React27.createElement(ScrollAreaPrimitiveThumb, {
2458
2531
  ...props,
2459
2532
  className: tx("scrollArea.thumb", "scroll-area__thumb", {}, classNames),
2460
2533
  ref: forwardedRef
2461
2534
  });
2462
2535
  });
2463
- var ScrollAreaCorner = /* @__PURE__ */ forwardRef22(({ classNames, ...props }, forwardedRef) => {
2536
+ var ScrollAreaCorner = /* @__PURE__ */ forwardRef24(({ classNames, ...props }, forwardedRef) => {
2464
2537
  const { tx } = useThemeContext();
2465
- return /* @__PURE__ */ React25.createElement(ScrollAreaPrimitiveCorner, {
2538
+ return /* @__PURE__ */ React27.createElement(ScrollAreaPrimitiveCorner, {
2466
2539
  ...props,
2467
2540
  className: tx("scrollArea.corner", "scroll-area__corner", {}, classNames),
2468
2541
  ref: forwardedRef
@@ -2479,100 +2552,107 @@ var ScrollArea = {
2479
2552
  // packages/ui/react-ui/src/components/Select/Select.tsx
2480
2553
  import { CaretDown as CaretDown2, CaretUp } from "@phosphor-icons/react";
2481
2554
  import * as SelectPrimitive from "@radix-ui/react-select";
2482
- import React26, { forwardRef as forwardRef23 } from "react";
2555
+ import React28, { forwardRef as forwardRef25 } from "react";
2483
2556
  var SelectRoot = SelectPrimitive.Root;
2484
2557
  var SelectTrigger = SelectPrimitive.Trigger;
2485
2558
  var SelectValue = SelectPrimitive.Value;
2486
2559
  var SelectIcon = SelectPrimitive.Icon;
2487
2560
  var SelectPortal = SelectPrimitive.Portal;
2488
- var SelectTriggerButton = /* @__PURE__ */ forwardRef23(({ children, placeholder, ...props }, forwardedRef) => {
2561
+ var SelectTriggerButton = /* @__PURE__ */ forwardRef25(({ children, placeholder, ...props }, forwardedRef) => {
2489
2562
  const { tx } = useThemeContext();
2490
- return /* @__PURE__ */ React26.createElement(SelectPrimitive.Trigger, {
2563
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.Trigger, {
2491
2564
  asChild: true,
2492
2565
  ref: forwardedRef
2493
- }, /* @__PURE__ */ React26.createElement(Button, props, /* @__PURE__ */ React26.createElement(SelectPrimitive.Value, {
2566
+ }, /* @__PURE__ */ React28.createElement(Button, props, /* @__PURE__ */ React28.createElement(SelectPrimitive.Value, {
2494
2567
  placeholder
2495
- }, children), /* @__PURE__ */ React26.createElement("span", {
2568
+ }, children), /* @__PURE__ */ React28.createElement("span", {
2496
2569
  className: "w-1 flex-1"
2497
- }), /* @__PURE__ */ React26.createElement(SelectPrimitive.Icon, {
2570
+ }), /* @__PURE__ */ React28.createElement(SelectPrimitive.Icon, {
2498
2571
  asChild: true
2499
- }, /* @__PURE__ */ React26.createElement(CaretDown2, {
2572
+ }, /* @__PURE__ */ React28.createElement(CaretDown2, {
2500
2573
  className: tx("select.triggerIcon", "select__trigger__icon", {}),
2501
2574
  weight: "bold"
2502
2575
  }))));
2503
2576
  });
2504
- var SelectContent = /* @__PURE__ */ forwardRef23(({ classNames, children, ...props }, forwardedRef) => {
2577
+ var SelectContent = /* @__PURE__ */ forwardRef25(({ classNames, children, ...props }, forwardedRef) => {
2505
2578
  const { tx } = useThemeContext();
2506
- return /* @__PURE__ */ React26.createElement(SelectPrimitive.Content, {
2579
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.Content, {
2507
2580
  ...props,
2508
2581
  className: tx("select.content", "select__content", {}, classNames),
2509
2582
  position: "popper",
2510
2583
  ref: forwardedRef
2511
2584
  }, children);
2512
2585
  });
2513
- var SelectScrollUpButton2 = /* @__PURE__ */ forwardRef23(({ classNames, children, ...props }, forwardedRef) => {
2586
+ var SelectScrollUpButton2 = /* @__PURE__ */ forwardRef25(({ classNames, children, ...props }, forwardedRef) => {
2514
2587
  const { tx } = useThemeContext();
2515
- return /* @__PURE__ */ React26.createElement(SelectPrimitive.SelectScrollUpButton, {
2588
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.SelectScrollUpButton, {
2516
2589
  ...props,
2517
2590
  className: tx("select.scrollButton", "select__scroll-button--up", {}, classNames),
2518
2591
  ref: forwardedRef
2519
- }, children ?? /* @__PURE__ */ React26.createElement(CaretUp, {
2592
+ }, children ?? /* @__PURE__ */ React28.createElement(CaretUp, {
2520
2593
  weight: "bold"
2521
2594
  }));
2522
2595
  });
2523
- var SelectScrollDownButton2 = /* @__PURE__ */ forwardRef23(({ classNames, children, ...props }, forwardedRef) => {
2596
+ var SelectScrollDownButton2 = /* @__PURE__ */ forwardRef25(({ classNames, children, ...props }, forwardedRef) => {
2524
2597
  const { tx } = useThemeContext();
2525
- return /* @__PURE__ */ React26.createElement(SelectPrimitive.SelectScrollDownButton, {
2598
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.SelectScrollDownButton, {
2526
2599
  ...props,
2527
2600
  className: tx("select.scrollButton", "select__scroll-button--down", {}, classNames),
2528
2601
  ref: forwardedRef
2529
- }, children ?? /* @__PURE__ */ React26.createElement(CaretDown2, {
2602
+ }, children ?? /* @__PURE__ */ React28.createElement(CaretDown2, {
2530
2603
  weight: "bold"
2531
2604
  }));
2532
2605
  });
2533
- var SelectViewport = SelectPrimitive.Viewport;
2534
- var SelectItem = /* @__PURE__ */ forwardRef23(({ classNames, ...props }, forwardedRef) => {
2606
+ var SelectViewport2 = /* @__PURE__ */ forwardRef25(({ classNames, asChild, children, ...props }, forwardedRef) => {
2607
+ const { tx } = useThemeContext();
2608
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.SelectViewport, {
2609
+ ...props,
2610
+ className: tx("select.viewport", "select__viewport", {}, classNames),
2611
+ ref: forwardedRef
2612
+ }, children);
2613
+ });
2614
+ var SelectItem = /* @__PURE__ */ forwardRef25(({ classNames, ...props }, forwardedRef) => {
2535
2615
  const { tx } = useThemeContext();
2536
- return /* @__PURE__ */ React26.createElement(SelectPrimitive.Item, {
2616
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.Item, {
2537
2617
  ...props,
2538
2618
  className: tx("select.item", "option", {}, classNames),
2539
2619
  ref: forwardedRef
2540
2620
  });
2541
2621
  });
2542
2622
  var SelectItemText = SelectPrimitive.ItemText;
2543
- var SelectItemIndicator = /* @__PURE__ */ forwardRef23(({ classNames, children, ...props }, forwardedRef) => {
2623
+ var SelectItemIndicator = /* @__PURE__ */ forwardRef25(({ classNames, children, ...props }, forwardedRef) => {
2544
2624
  const { tx } = useThemeContext();
2545
- return /* @__PURE__ */ React26.createElement(SelectPrimitive.ItemIndicator, {
2625
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.ItemIndicator, {
2546
2626
  ...props,
2547
2627
  className: tx("select.itemIndicator", "option__indicator", {}, classNames),
2548
2628
  ref: forwardedRef
2549
2629
  }, children);
2550
2630
  });
2551
- var SelectOption = /* @__PURE__ */ forwardRef23(({ children, classNames, ...props }, forwardedRef) => {
2631
+ var SelectOption = /* @__PURE__ */ forwardRef25(({ children, classNames, ...props }, forwardedRef) => {
2552
2632
  const { tx } = useThemeContext();
2553
- return /* @__PURE__ */ React26.createElement(SelectPrimitive.Item, {
2633
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.Item, {
2554
2634
  ...props,
2555
2635
  className: tx("select.item", "option", {}, classNames),
2556
2636
  ref: forwardedRef
2557
- }, /* @__PURE__ */ React26.createElement(SelectPrimitive.ItemText, null, children), /* @__PURE__ */ React26.createElement("span", {
2637
+ }, /* @__PURE__ */ React28.createElement(SelectPrimitive.ItemText, null, children), /* @__PURE__ */ React28.createElement("span", {
2558
2638
  className: "grow w-1"
2559
- }), /* @__PURE__ */ React26.createElement(Icon, {
2639
+ }), /* @__PURE__ */ React28.createElement(Icon, {
2560
2640
  icon: "ph--check--regular"
2561
2641
  }));
2562
2642
  });
2563
2643
  var SelectGroup = SelectPrimitive.Group;
2564
2644
  var SelectLabel = SelectPrimitive.Label;
2565
- var SelectSeparator = /* @__PURE__ */ forwardRef23(({ classNames, ...props }, forwardedRef) => {
2645
+ var SelectSeparator = /* @__PURE__ */ forwardRef25(({ classNames, ...props }, forwardedRef) => {
2566
2646
  const { tx } = useThemeContext();
2567
- return /* @__PURE__ */ React26.createElement(SelectPrimitive.Separator, {
2647
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.Separator, {
2568
2648
  ...props,
2569
2649
  className: tx("select.separator", "select__separator", {}, classNames),
2570
2650
  ref: forwardedRef
2571
2651
  });
2572
2652
  });
2573
- var SelectArrow = /* @__PURE__ */ forwardRef23(({ classNames, ...props }, forwardedRef) => {
2653
+ var SelectArrow = /* @__PURE__ */ forwardRef25(({ classNames, ...props }, forwardedRef) => {
2574
2654
  const { tx } = useThemeContext();
2575
- return /* @__PURE__ */ React26.createElement(SelectPrimitive.Arrow, {
2655
+ return /* @__PURE__ */ React28.createElement(SelectPrimitive.Arrow, {
2576
2656
  ...props,
2577
2657
  className: tx("select.arrow", "select__arrow", {}, classNames),
2578
2658
  ref: forwardedRef
@@ -2588,7 +2668,7 @@ var Select = {
2588
2668
  Content: SelectContent,
2589
2669
  ScrollUpButton: SelectScrollUpButton2,
2590
2670
  ScrollDownButton: SelectScrollDownButton2,
2591
- Viewport: SelectViewport,
2671
+ Viewport: SelectViewport2,
2592
2672
  Item: SelectItem,
2593
2673
  ItemText: SelectItemText,
2594
2674
  ItemIndicator: SelectItemIndicator,
@@ -2601,10 +2681,10 @@ var Select = {
2601
2681
 
2602
2682
  // packages/ui/react-ui/src/components/Separator/Separator.tsx
2603
2683
  import { Separator as SeparatorPrimitive } from "@radix-ui/react-separator";
2604
- import React27 from "react";
2684
+ import React29 from "react";
2605
2685
  var Separator4 = ({ classNames, orientation = "horizontal", ...props }) => {
2606
2686
  const { tx } = useThemeContext();
2607
- return /* @__PURE__ */ React27.createElement(SeparatorPrimitive, {
2687
+ return /* @__PURE__ */ React29.createElement(SeparatorPrimitive, {
2608
2688
  orientation,
2609
2689
  ...props,
2610
2690
  className: tx("separator.root", "separator", {
@@ -2616,11 +2696,11 @@ var Separator4 = ({ classNames, orientation = "horizontal", ...props }) => {
2616
2696
  // packages/ui/react-ui/src/components/Tag/Tag.tsx
2617
2697
  import { Primitive as Primitive12 } from "@radix-ui/react-primitive";
2618
2698
  import { Slot as Slot13 } from "@radix-ui/react-slot";
2619
- import React28, { forwardRef as forwardRef24 } from "react";
2620
- var Tag = /* @__PURE__ */ forwardRef24(({ asChild, palette, classNames, ...props }, forwardedRef) => {
2699
+ import React30, { forwardRef as forwardRef26 } from "react";
2700
+ var Tag = /* @__PURE__ */ forwardRef26(({ asChild, palette, classNames, ...props }, forwardedRef) => {
2621
2701
  const { tx } = useThemeContext();
2622
2702
  const Root5 = asChild ? Slot13 : Primitive12.span;
2623
- return /* @__PURE__ */ React28.createElement(Root5, {
2703
+ return /* @__PURE__ */ React30.createElement(Root5, {
2624
2704
  ...props,
2625
2705
  className: tx("tag.root", "tag", {
2626
2706
  palette
@@ -2633,56 +2713,56 @@ var Tag = /* @__PURE__ */ forwardRef24(({ asChild, palette, classNames, ...props
2633
2713
  import { Primitive as Primitive13 } from "@radix-ui/react-primitive";
2634
2714
  import { Slot as Slot14 } from "@radix-ui/react-slot";
2635
2715
  import { ToastProvider as ToastProviderPrimitive, ToastViewport as ToastViewportPrimitive, Root as ToastRootPrimitive, ToastTitle as ToastTitlePrimitive, ToastDescription as ToastDescriptionPrimitive, ToastAction as ToastActionPrimitive, ToastClose as ToastClosePrimitive } from "@radix-ui/react-toast";
2636
- import React29, { forwardRef as forwardRef25 } from "react";
2716
+ import React31, { forwardRef as forwardRef27 } from "react";
2637
2717
  var ToastProvider = ToastProviderPrimitive;
2638
- var ToastViewport = /* @__PURE__ */ forwardRef25(({ classNames, ...props }, forwardedRef) => {
2718
+ var ToastViewport = /* @__PURE__ */ forwardRef27(({ classNames, ...props }, forwardedRef) => {
2639
2719
  const { tx } = useThemeContext();
2640
- return /* @__PURE__ */ React29.createElement(ToastViewportPrimitive, {
2720
+ return /* @__PURE__ */ React31.createElement(ToastViewportPrimitive, {
2641
2721
  className: tx("toast.viewport", "toast-viewport", {}, classNames),
2642
2722
  ref: forwardedRef
2643
2723
  });
2644
2724
  });
2645
- var ToastRoot = /* @__PURE__ */ forwardRef25(({ classNames, children, ...props }, forwardedRef) => {
2725
+ var ToastRoot = /* @__PURE__ */ forwardRef27(({ classNames, children, ...props }, forwardedRef) => {
2646
2726
  const { tx } = useThemeContext();
2647
- return /* @__PURE__ */ React29.createElement(ToastRootPrimitive, {
2727
+ return /* @__PURE__ */ React31.createElement(ToastRootPrimitive, {
2648
2728
  ...props,
2649
2729
  className: tx("toast.root", "toast", {}, classNames),
2650
2730
  ref: forwardedRef
2651
- }, /* @__PURE__ */ React29.createElement(ElevationProvider, {
2731
+ }, /* @__PURE__ */ React31.createElement(ElevationProvider, {
2652
2732
  elevation: "chrome"
2653
2733
  }, children));
2654
2734
  });
2655
- var ToastBody = /* @__PURE__ */ forwardRef25(({ asChild, classNames, ...props }, forwardedRef) => {
2735
+ var ToastBody = /* @__PURE__ */ forwardRef27(({ asChild, classNames, ...props }, forwardedRef) => {
2656
2736
  const { tx } = useThemeContext();
2657
2737
  const Root5 = asChild ? Slot14 : Primitive13.div;
2658
- return /* @__PURE__ */ React29.createElement(Root5, {
2738
+ return /* @__PURE__ */ React31.createElement(Root5, {
2659
2739
  ...props,
2660
2740
  className: tx("toast.body", "toast__body", {}, classNames),
2661
2741
  ref: forwardedRef
2662
2742
  });
2663
2743
  });
2664
- var ToastTitle = /* @__PURE__ */ forwardRef25(({ asChild, classNames, ...props }, forwardedRef) => {
2744
+ var ToastTitle = /* @__PURE__ */ forwardRef27(({ asChild, classNames, ...props }, forwardedRef) => {
2665
2745
  const { tx } = useThemeContext();
2666
2746
  const Root5 = asChild ? Slot14 : ToastTitlePrimitive;
2667
- return /* @__PURE__ */ React29.createElement(Root5, {
2747
+ return /* @__PURE__ */ React31.createElement(Root5, {
2668
2748
  ...props,
2669
2749
  className: tx("toast.title", "toast__title", {}, classNames),
2670
2750
  ref: forwardedRef
2671
2751
  });
2672
2752
  });
2673
- var ToastDescription = /* @__PURE__ */ forwardRef25(({ asChild, classNames, ...props }, forwardedRef) => {
2753
+ var ToastDescription = /* @__PURE__ */ forwardRef27(({ asChild, classNames, ...props }, forwardedRef) => {
2674
2754
  const { tx } = useThemeContext();
2675
2755
  const Root5 = asChild ? Slot14 : ToastDescriptionPrimitive;
2676
- return /* @__PURE__ */ React29.createElement(Root5, {
2756
+ return /* @__PURE__ */ React31.createElement(Root5, {
2677
2757
  ...props,
2678
2758
  className: tx("toast.description", "toast__description", {}, classNames),
2679
2759
  ref: forwardedRef
2680
2760
  });
2681
2761
  });
2682
- var ToastActions = /* @__PURE__ */ forwardRef25(({ asChild, classNames, ...props }, forwardedRef) => {
2762
+ var ToastActions = /* @__PURE__ */ forwardRef27(({ asChild, classNames, ...props }, forwardedRef) => {
2683
2763
  const { tx } = useThemeContext();
2684
2764
  const Root5 = asChild ? Slot14 : Primitive13.div;
2685
- return /* @__PURE__ */ React29.createElement(Root5, {
2765
+ return /* @__PURE__ */ React31.createElement(Root5, {
2686
2766
  ...props,
2687
2767
  className: tx("toast.actions", "toast__actions", {}, classNames),
2688
2768
  ref: forwardedRef
@@ -2704,55 +2784,55 @@ var Toast = {
2704
2784
 
2705
2785
  // packages/ui/react-ui/src/components/Toolbar/Toolbar.tsx
2706
2786
  import * as ToolbarPrimitive from "@radix-ui/react-toolbar";
2707
- import React30, { forwardRef as forwardRef26 } from "react";
2708
- var ToolbarRoot = /* @__PURE__ */ forwardRef26(({ classNames, children, ...props }, forwardedRef) => {
2787
+ import React32, { forwardRef as forwardRef28 } from "react";
2788
+ var ToolbarRoot = /* @__PURE__ */ forwardRef28(({ classNames, children, ...props }, forwardedRef) => {
2709
2789
  const { tx } = useThemeContext();
2710
- return /* @__PURE__ */ React30.createElement(ToolbarPrimitive.Root, {
2790
+ return /* @__PURE__ */ React32.createElement(ToolbarPrimitive.Root, {
2711
2791
  ...props,
2712
2792
  className: tx("toolbar.root", "toolbar", {}, classNames),
2713
2793
  ref: forwardedRef
2714
2794
  }, children);
2715
2795
  });
2716
- var ToolbarButton = /* @__PURE__ */ forwardRef26((props, forwardedRef) => {
2717
- return /* @__PURE__ */ React30.createElement(ToolbarPrimitive.Button, {
2796
+ var ToolbarButton = /* @__PURE__ */ forwardRef28((props, forwardedRef) => {
2797
+ return /* @__PURE__ */ React32.createElement(ToolbarPrimitive.Button, {
2718
2798
  asChild: true
2719
- }, /* @__PURE__ */ React30.createElement(Button, {
2799
+ }, /* @__PURE__ */ React32.createElement(Button, {
2720
2800
  ...props,
2721
2801
  ref: forwardedRef
2722
2802
  }));
2723
2803
  });
2724
- var ToolbarToggle = /* @__PURE__ */ forwardRef26((props, forwardedRef) => {
2725
- return /* @__PURE__ */ React30.createElement(ToolbarPrimitive.Button, {
2804
+ var ToolbarToggle = /* @__PURE__ */ forwardRef28((props, forwardedRef) => {
2805
+ return /* @__PURE__ */ React32.createElement(ToolbarPrimitive.Button, {
2726
2806
  asChild: true
2727
- }, /* @__PURE__ */ React30.createElement(Toggle, {
2807
+ }, /* @__PURE__ */ React32.createElement(Toggle, {
2728
2808
  ...props,
2729
2809
  ref: forwardedRef
2730
2810
  }));
2731
2811
  });
2732
- var ToolbarLink = /* @__PURE__ */ forwardRef26((props, forwardedRef) => {
2733
- return /* @__PURE__ */ React30.createElement(ToolbarPrimitive.Link, {
2812
+ var ToolbarLink = /* @__PURE__ */ forwardRef28((props, forwardedRef) => {
2813
+ return /* @__PURE__ */ React32.createElement(ToolbarPrimitive.Link, {
2734
2814
  asChild: true
2735
- }, /* @__PURE__ */ React30.createElement(Link, {
2815
+ }, /* @__PURE__ */ React32.createElement(Link, {
2736
2816
  ...props,
2737
2817
  ref: forwardedRef
2738
2818
  }));
2739
2819
  });
2740
- var ToolbarToggleGroup2 = /* @__PURE__ */ forwardRef26(({ classNames, children, elevation, ...props }, forwardedRef) => {
2741
- return /* @__PURE__ */ React30.createElement(ToolbarPrimitive.ToolbarToggleGroup, {
2820
+ var ToolbarToggleGroup2 = /* @__PURE__ */ forwardRef28(({ classNames, children, elevation, ...props }, forwardedRef) => {
2821
+ return /* @__PURE__ */ React32.createElement(ToolbarPrimitive.ToolbarToggleGroup, {
2742
2822
  ...props,
2743
2823
  asChild: true
2744
- }, /* @__PURE__ */ React30.createElement(ButtonGroup, {
2824
+ }, /* @__PURE__ */ React32.createElement(ButtonGroup, {
2745
2825
  classNames,
2746
2826
  children,
2747
2827
  elevation,
2748
2828
  ref: forwardedRef
2749
2829
  }));
2750
2830
  });
2751
- var ToolbarToggleGroupItem = /* @__PURE__ */ forwardRef26(({ variant, density, elevation, classNames, children, ...props }, forwardedRef) => {
2752
- return /* @__PURE__ */ React30.createElement(ToolbarPrimitive.ToolbarToggleItem, {
2831
+ var ToolbarToggleGroupItem = /* @__PURE__ */ forwardRef28(({ variant, density, elevation, classNames, children, ...props }, forwardedRef) => {
2832
+ return /* @__PURE__ */ React32.createElement(ToolbarPrimitive.ToolbarToggleItem, {
2753
2833
  ...props,
2754
2834
  asChild: true
2755
- }, /* @__PURE__ */ React30.createElement(Button, {
2835
+ }, /* @__PURE__ */ React32.createElement(Button, {
2756
2836
  variant,
2757
2837
  density,
2758
2838
  elevation,
@@ -2762,9 +2842,9 @@ var ToolbarToggleGroupItem = /* @__PURE__ */ forwardRef26(({ variant, density, e
2762
2842
  }));
2763
2843
  });
2764
2844
  var ToolbarSeparator = (props) => {
2765
- return /* @__PURE__ */ React30.createElement(ToolbarPrimitive.Separator, {
2845
+ return /* @__PURE__ */ React32.createElement(ToolbarPrimitive.Separator, {
2766
2846
  asChild: true
2767
- }, /* @__PURE__ */ React30.createElement(Separator4, {
2847
+ }, /* @__PURE__ */ React32.createElement(Separator4, {
2768
2848
  orientation: "vertical",
2769
2849
  ...props
2770
2850
  }));
@@ -2779,43 +2859,9 @@ var Toolbar = {
2779
2859
  Separator: ToolbarSeparator
2780
2860
  };
2781
2861
 
2782
- // packages/ui/react-ui/src/components/Tooltip/Tooltip.tsx
2783
- import { Provider as TooltipProviderPrimitive, Root as TooltipRootPrimitive, TooltipContent as TooltipContentPrimitive, TooltipTrigger as TooltipTriggerPrimitive, TooltipPortal as TooltipPortalPrimitive, TooltipArrow as TooltipArrowPrimitive } from "@radix-ui/react-tooltip";
2784
- import React31, { forwardRef as forwardRef27 } from "react";
2785
- var TooltipProvider = TooltipProviderPrimitive;
2786
- var TooltipRoot = TooltipRootPrimitive;
2787
- var TooltipPortal = TooltipPortalPrimitive;
2788
- var TooltipTrigger = TooltipTriggerPrimitive;
2789
- var TooltipArrow = /* @__PURE__ */ forwardRef27(({ classNames, ...props }, forwardedRef) => {
2790
- const { tx } = useThemeContext();
2791
- return /* @__PURE__ */ React31.createElement(TooltipArrowPrimitive, {
2792
- ...props,
2793
- className: tx("tooltip.arrow", "tooltip__arrow", {}, classNames),
2794
- ref: forwardedRef
2795
- });
2796
- });
2797
- var TooltipContent = /* @__PURE__ */ forwardRef27(({ classNames, ...props }, forwardedRef) => {
2798
- const { tx } = useThemeContext();
2799
- return /* @__PURE__ */ React31.createElement(TooltipContentPrimitive, {
2800
- sideOffset: 4,
2801
- collisionPadding: 8,
2802
- ...props,
2803
- className: tx("tooltip.content", "tooltip", {}, classNames),
2804
- ref: forwardedRef
2805
- });
2806
- });
2807
- var Tooltip = {
2808
- Provider: TooltipProvider,
2809
- Root: TooltipRoot,
2810
- Portal: TooltipPortal,
2811
- Trigger: TooltipTrigger,
2812
- Arrow: TooltipArrow,
2813
- Content: TooltipContent
2814
- };
2815
-
2816
2862
  // packages/ui/react-ui/src/components/ThemeProvider/ThemeProvider.tsx
2817
2863
  import { createKeyborg } from "keyborg";
2818
- import React32, { createContext as createContext10, useEffect as useEffect7 } from "react";
2864
+ import React33, { createContext as createContext10, useEffect as useEffect7 } from "react";
2819
2865
 
2820
2866
  // packages/ui/react-ui/src/util/hasIosKeyboard.ts
2821
2867
  var hasIosKeyboard = () => {
@@ -2832,19 +2878,19 @@ var ThemeProvider = ({ children, fallback = null, resourceExtensions, appNs, tx
2832
2878
  return () => kb.unsubscribe(handleInputModalityChange);
2833
2879
  }
2834
2880
  }, []);
2835
- return /* @__PURE__ */ React32.createElement(ThemeContext.Provider, {
2881
+ return /* @__PURE__ */ React33.createElement(ThemeContext.Provider, {
2836
2882
  value: {
2837
2883
  tx,
2838
2884
  themeMode,
2839
2885
  hasIosKeyboard: hasIosKeyboard()
2840
2886
  }
2841
- }, /* @__PURE__ */ React32.createElement(TranslationsProvider, {
2887
+ }, /* @__PURE__ */ React33.createElement(TranslationsProvider, {
2842
2888
  fallback,
2843
2889
  resourceExtensions,
2844
2890
  appNs
2845
- }, /* @__PURE__ */ React32.createElement(ElevationProvider, {
2891
+ }, /* @__PURE__ */ React33.createElement(ElevationProvider, {
2846
2892
  elevation: rootElevation
2847
- }, /* @__PURE__ */ React32.createElement(DensityProvider, {
2893
+ }, /* @__PURE__ */ React33.createElement(DensityProvider, {
2848
2894
  density: rootDensity
2849
2895
  }, children))));
2850
2896
  };
@@ -2873,6 +2919,7 @@ export {
2873
2919
  ElevationContext,
2874
2920
  ElevationProvider,
2875
2921
  Icon,
2922
+ IconButton,
2876
2923
  Input,
2877
2924
  LIST_ITEM_NAME,
2878
2925
  LIST_NAME,