@dxos/react-ui 0.3.9-main.915c0ba → 0.3.9-main.a33ec16

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.
@@ -568,14 +568,9 @@ var ToggleGroupItem = /* @__PURE__ */ forwardRef8(({ variant, elevation, density
568
568
  }));
569
569
  });
570
570
 
571
- // packages/ui/react-ui/src/components/Card/Card.tsx
572
- import { DotsSixVertical, DotsThreeVertical } from "@phosphor-icons/react";
573
- import React12, { forwardRef as forwardRef10 } from "react";
574
-
575
- // packages/ui/react-ui/src/components/DropdownMenu/DropdownMenu.tsx
576
- import { Root as DropdownMenuRootPrimitive, DropdownMenuTrigger as DropdownMenuTriggerPrimitive, DropdownMenuPortal as DropdownMenuPortalPrimitive, DropdownMenuContent as DropdownMenuContentPrimitive, DropdownMenuArrow as DropdownMenuArrowPrimitive, DropdownMenuGroup as DropdownMenuGroupPrimitive, DropdownMenuItem as DropdownMenuItemPrimitive, DropdownMenuCheckboxItem as DropdownMenuCheckboxItemPrimitive, DropdownMenuItemIndicator as DropdownMenuItemIndicatorPrimitive, DropdownMenuSeparator as DropdownMenuSeparatorPrimitive, DropdownMenuLabel as DropdownMenuLabelPrimitive } from "@radix-ui/react-dropdown-menu";
577
- import { Primitive as Primitive6 } from "@radix-ui/react-primitive";
578
- import { Slot as Slot6 } from "@radix-ui/react-slot";
571
+ // packages/ui/react-ui/src/components/Dialogs/Dialog.tsx
572
+ import { createContext as createContext5 } from "@radix-ui/react-context";
573
+ 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";
579
574
  import React11, { forwardRef as forwardRef9 } from "react";
580
575
 
581
576
  // packages/ui/react-ui/src/components/ElevationProvider/ElevationProvider.tsx
@@ -589,205 +584,13 @@ var ElevationProvider = ({ elevation, children }) => /* @__PURE__ */ React10.cre
589
584
  }
590
585
  }, children);
591
586
 
592
- // packages/ui/react-ui/src/components/DropdownMenu/DropdownMenu.tsx
593
- var DropdownMenuRoot = DropdownMenuRootPrimitive;
594
- var DropdownMenuTrigger = DropdownMenuTriggerPrimitive;
595
- var DropdownMenuPortal = DropdownMenuPortalPrimitive;
596
- var DropdownMenuContent = /* @__PURE__ */ forwardRef9(({ classNames, children, ...props }, forwardedRef) => {
597
- const { tx } = useThemeContext();
598
- return /* @__PURE__ */ React11.createElement(DropdownMenuContentPrimitive, {
599
- sideOffset: 4,
600
- collisionPadding: 8,
601
- ...props,
602
- className: tx("dropdownMenu.content", "dropdown-menu", {}, classNames),
603
- ref: forwardedRef
604
- }, /* @__PURE__ */ React11.createElement(ElevationProvider, {
605
- elevation: "chrome"
606
- }, children));
607
- });
608
- var DropdownMenuViewport = /* @__PURE__ */ forwardRef9(({ classNames, asChild, children, ...props }, forwardedRef) => {
609
- const { tx } = useThemeContext();
610
- const Root3 = asChild ? Slot6 : Primitive6.div;
611
- return /* @__PURE__ */ React11.createElement(Root3, {
612
- ...props,
613
- className: tx("dropdownMenu.viewport", "dropdown-menu__viewport", {}, classNames),
614
- ref: forwardedRef
615
- }, children);
616
- });
617
- var DropdownMenuArrow = /* @__PURE__ */ forwardRef9(({ classNames, ...props }, forwardedRef) => {
618
- const { tx } = useThemeContext();
619
- return /* @__PURE__ */ React11.createElement(DropdownMenuArrowPrimitive, {
620
- ...props,
621
- className: tx("dropdownMenu.arrow", "dropdown-menu__arrow", {}, classNames),
622
- ref: forwardedRef
623
- });
624
- });
625
- var DropdownMenuGroup = DropdownMenuGroupPrimitive;
626
- var DropdownMenuItemIndicator = DropdownMenuItemIndicatorPrimitive;
627
- var DropdownMenuItem = /* @__PURE__ */ forwardRef9(({ classNames, ...props }, forwardedRef) => {
628
- const { tx } = useThemeContext();
629
- return /* @__PURE__ */ React11.createElement(DropdownMenuItemPrimitive, {
630
- ...props,
631
- className: tx("dropdownMenu.item", "dropdown-menu__item", {}, classNames),
632
- ref: forwardedRef
633
- });
634
- });
635
- var DropdownMenuCheckboxItem = /* @__PURE__ */ forwardRef9(({ classNames, ...props }, forwardedRef) => {
636
- const { tx } = useThemeContext();
637
- return /* @__PURE__ */ React11.createElement(DropdownMenuCheckboxItemPrimitive, {
638
- ...props,
639
- className: tx("dropdownMenu.item", "dropdown-menu__item--checkbox", {}, classNames),
640
- ref: forwardedRef
641
- });
642
- });
643
- var DropdownMenuSeparator = /* @__PURE__ */ forwardRef9(({ classNames, ...props }, forwardedRef) => {
644
- const { tx } = useThemeContext();
645
- return /* @__PURE__ */ React11.createElement(DropdownMenuSeparatorPrimitive, {
646
- ...props,
647
- className: tx("dropdownMenu.separator", "dropdown-menu__item", {}, classNames),
648
- ref: forwardedRef
649
- });
650
- });
651
- var DropdownMenuGroupLabel = /* @__PURE__ */ forwardRef9(({ classNames, ...props }, forwardedRef) => {
652
- const { tx } = useThemeContext();
653
- return /* @__PURE__ */ React11.createElement(DropdownMenuLabelPrimitive, {
654
- ...props,
655
- className: tx("dropdownMenu.groupLabel", "dropdown-menu__group__label", {}, classNames),
656
- ref: forwardedRef
657
- });
658
- });
659
- var DropdownMenu = {
660
- Root: DropdownMenuRoot,
661
- Trigger: DropdownMenuTrigger,
662
- Portal: DropdownMenuPortal,
663
- Content: DropdownMenuContent,
664
- Viewport: DropdownMenuViewport,
665
- Arrow: DropdownMenuArrow,
666
- Group: DropdownMenuGroup,
667
- Item: DropdownMenuItem,
668
- CheckboxItem: DropdownMenuCheckboxItem,
669
- ItemIndicator: DropdownMenuItemIndicator,
670
- Separator: DropdownMenuSeparator,
671
- GroupLabel: DropdownMenuGroupLabel
672
- };
673
-
674
- // packages/ui/react-ui/src/components/Card/Card.tsx
675
- var CardRoot = /* @__PURE__ */ forwardRef10(({ grow, square, noPadding, classNames, children, ...props }, forwardedRef) => {
676
- const { tx } = useThemeContext();
677
- return /* @__PURE__ */ React12.createElement("div", {
678
- ...props,
679
- ref: forwardedRef,
680
- className: tx("card.root", "card", {
681
- grow,
682
- square,
683
- noPadding
684
- }, classNames)
685
- }, children);
686
- });
687
- var CardHeader = ({ floating, classNames, children, ...props }) => {
688
- const { tx } = useThemeContext();
689
- return /* @__PURE__ */ React12.createElement("div", {
690
- ...props,
691
- className: tx("card.header", "card", {
692
- floating
693
- }, classNames)
694
- }, children);
695
- };
696
- var CardTitle = ({ center, title, classNames, ...props }) => {
697
- const { tx } = useThemeContext();
698
- return /* @__PURE__ */ React12.createElement("div", {
699
- ...props,
700
- className: tx("card.title", "card", {
701
- center
702
- }, classNames)
703
- }, title);
704
- };
705
- var CardDragHandle = ({ position, classNames, ...props }) => {
706
- const { tx } = useThemeContext();
707
- const density = useDensityContext();
708
- return /* @__PURE__ */ React12.createElement("div", {
709
- ...props,
710
- className: tx("card.dragHandle", "card", {
711
- density,
712
- position
713
- }, classNames)
714
- }, /* @__PURE__ */ React12.createElement(DotsSixVertical, {
715
- className: tx("card.dragHandleIcon", "card")
716
- }));
717
- };
718
- var CardEndcap = ({ Icon: Icon2, position, classNames, ...props }) => {
719
- const { tx } = useThemeContext();
720
- const density = useDensityContext();
721
- return /* @__PURE__ */ React12.createElement("div", {
722
- ...props,
723
- className: tx("card.menu", "card", {
724
- density,
725
- position
726
- }, classNames)
727
- }, /* @__PURE__ */ React12.createElement(Icon2, {
728
- className: tx("card.menuIcon", "card")
729
- }));
730
- };
731
- var CardMenu = /* @__PURE__ */ forwardRef10(({ children, position, classNames, ...props }, forwardRef1) => {
732
- const { tx } = useThemeContext();
733
- const density = useDensityContext();
734
- return /* @__PURE__ */ React12.createElement("div", {
735
- ...props,
736
- className: tx("card.menu", "card", {
737
- density,
738
- position
739
- }, classNames),
740
- ref: forwardRef1
741
- }, /* @__PURE__ */ React12.createElement(DropdownMenu.Root, null, /* @__PURE__ */ React12.createElement(DropdownMenu.Trigger, {
742
- asChild: true
743
- }, /* @__PURE__ */ React12.createElement(DotsThreeVertical, {
744
- className: tx("card.menuIcon", "card", {})
745
- })), /* @__PURE__ */ React12.createElement(DropdownMenu.Content, null, /* @__PURE__ */ React12.createElement(DropdownMenu.Viewport, null, children))));
746
- });
747
- var CardBody = ({ gutter, classNames, children, ...props }) => {
748
- const { tx } = useThemeContext();
749
- const density = useDensityContext();
750
- return /* @__PURE__ */ React12.createElement("div", {
751
- ...props,
752
- className: tx("card.body", "card", {
753
- density,
754
- gutter
755
- }, classNames)
756
- }, children);
757
- };
758
- var CardMedia = ({ src, contain, classNames, ...props }) => {
759
- const { tx } = useThemeContext();
760
- return /* @__PURE__ */ React12.createElement("div", {
761
- className: "flex grow overflow-hidden"
762
- }, /* @__PURE__ */ React12.createElement("img", {
763
- ...props,
764
- className: tx("card.media", "card", {
765
- contain
766
- }, classNames),
767
- src
768
- }));
769
- };
770
- var Card = {
771
- Root: CardRoot,
772
- Header: CardHeader,
773
- DragHandle: CardDragHandle,
774
- Endcap: CardEndcap,
775
- Menu: CardMenu,
776
- Title: CardTitle,
777
- Body: CardBody,
778
- Media: CardMedia
779
- };
780
-
781
587
  // packages/ui/react-ui/src/components/Dialogs/Dialog.tsx
782
- import { createContext as createContext5 } from "@radix-ui/react-context";
783
- 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";
784
- import React13, { forwardRef as forwardRef11 } from "react";
785
588
  var DialogRoot = DialogRootPrimitive;
786
589
  var DialogTrigger = DialogTriggerPrimitive;
787
590
  var DialogPortal = DialogPortalPrimitive;
788
- var DialogTitle = /* @__PURE__ */ forwardRef11(({ classNames, srOnly, ...props }, forwardedRef) => {
591
+ var DialogTitle = /* @__PURE__ */ forwardRef9(({ classNames, srOnly, ...props }, forwardedRef) => {
789
592
  const { tx } = useThemeContext();
790
- return /* @__PURE__ */ React13.createElement(DialogTitlePrimitive, {
593
+ return /* @__PURE__ */ React11.createElement(DialogTitlePrimitive, {
791
594
  ...props,
792
595
  className: tx("dialog.title", "dialog__title", {
793
596
  srOnly
@@ -795,9 +598,9 @@ var DialogTitle = /* @__PURE__ */ forwardRef11(({ classNames, srOnly, ...props }
795
598
  ref: forwardedRef
796
599
  });
797
600
  });
798
- var DialogDescription = /* @__PURE__ */ forwardRef11(({ classNames, srOnly, ...props }, forwardedRef) => {
601
+ var DialogDescription = /* @__PURE__ */ forwardRef9(({ classNames, srOnly, ...props }, forwardedRef) => {
799
602
  const { tx } = useThemeContext();
800
- return /* @__PURE__ */ React13.createElement(DialogDescriptionPrimitive, {
603
+ return /* @__PURE__ */ React11.createElement(DialogDescriptionPrimitive, {
801
604
  ...props,
802
605
  className: tx("dialog.description", "dialog__description", {
803
606
  srOnly
@@ -811,27 +614,27 @@ var DIALOG_CONTENT_NAME = "DialogContent";
811
614
  var [OverlayLayoutProvider, useOverlayLayoutContext] = createContext5(DIALOG_OVERLAY_NAME, {
812
615
  inOverlayLayout: false
813
616
  });
814
- var DialogOverlay = /* @__PURE__ */ forwardRef11(({ classNames, children, ...props }, forwardedRef) => {
617
+ var DialogOverlay = /* @__PURE__ */ forwardRef9(({ classNames, children, ...props }, forwardedRef) => {
815
618
  const { tx } = useThemeContext();
816
- return /* @__PURE__ */ React13.createElement(DialogOverlayPrimitive, {
619
+ return /* @__PURE__ */ React11.createElement(DialogOverlayPrimitive, {
817
620
  ...props,
818
621
  className: tx("dialog.overlay", "dialog__overlay", {}, classNames),
819
622
  ref: forwardedRef
820
- }, /* @__PURE__ */ React13.createElement(OverlayLayoutProvider, {
623
+ }, /* @__PURE__ */ React11.createElement(OverlayLayoutProvider, {
821
624
  inOverlayLayout: true
822
625
  }, children));
823
626
  });
824
627
  DialogOverlay.displayName = DIALOG_OVERLAY_NAME;
825
- var DialogContent = /* @__PURE__ */ forwardRef11(({ classNames, children, ...props }, forwardedRef) => {
628
+ var DialogContent = /* @__PURE__ */ forwardRef9(({ classNames, children, ...props }, forwardedRef) => {
826
629
  const { tx } = useThemeContext();
827
630
  const { inOverlayLayout } = useOverlayLayoutContext(DIALOG_CONTENT_NAME);
828
- return /* @__PURE__ */ React13.createElement(DialogContentPrimitive, {
631
+ return /* @__PURE__ */ React11.createElement(DialogContentPrimitive, {
829
632
  ...props,
830
633
  className: tx("dialog.content", "dialog", {
831
634
  inOverlayLayout
832
635
  }, classNames),
833
636
  ref: forwardedRef
834
- }, /* @__PURE__ */ React13.createElement(ElevationProvider, {
637
+ }, /* @__PURE__ */ React11.createElement(ElevationProvider, {
835
638
  elevation: "chrome"
836
639
  }, children));
837
640
  });
@@ -850,15 +653,15 @@ var Dialog = {
850
653
  // packages/ui/react-ui/src/components/Dialogs/AlertDialog.tsx
851
654
  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";
852
655
  import { createContext as createContext6 } from "@radix-ui/react-context";
853
- import React14, { forwardRef as forwardRef12 } from "react";
656
+ import React12, { forwardRef as forwardRef10 } from "react";
854
657
  var AlertDialogRoot = AlertDialogRootPrimitive;
855
658
  var AlertDialogTrigger = AlertDialogTriggerPrimitive;
856
659
  var AlertDialogPortal = AlertDialogPortalPrimitive;
857
660
  var AlertDialogCancel = AlertDialogCancelPrimitive;
858
661
  var AlertDialogAction = AlertDialogActionPrimitive;
859
- var AlertDialogTitle = /* @__PURE__ */ forwardRef12(({ classNames, srOnly, ...props }, forwardedRef) => {
662
+ var AlertDialogTitle = /* @__PURE__ */ forwardRef10(({ classNames, srOnly, ...props }, forwardedRef) => {
860
663
  const { tx } = useThemeContext();
861
- return /* @__PURE__ */ React14.createElement(AlertDialogTitlePrimitive, {
664
+ return /* @__PURE__ */ React12.createElement(AlertDialogTitlePrimitive, {
862
665
  ...props,
863
666
  className: tx("dialog.title", "dialog--alert__title", {
864
667
  srOnly
@@ -866,9 +669,9 @@ var AlertDialogTitle = /* @__PURE__ */ forwardRef12(({ classNames, srOnly, ...pr
866
669
  ref: forwardedRef
867
670
  });
868
671
  });
869
- var AlertDialogDescription = /* @__PURE__ */ forwardRef12(({ classNames, srOnly, ...props }, forwardedRef) => {
672
+ var AlertDialogDescription = /* @__PURE__ */ forwardRef10(({ classNames, srOnly, ...props }, forwardedRef) => {
870
673
  const { tx } = useThemeContext();
871
- return /* @__PURE__ */ React14.createElement(AlertDialogDescriptionPrimitive, {
674
+ return /* @__PURE__ */ React12.createElement(AlertDialogDescriptionPrimitive, {
872
675
  ...props,
873
676
  className: tx("dialog.description", "dialog--alert__description", {
874
677
  srOnly
@@ -881,27 +684,27 @@ var ALERT_DIALOG_CONTENT_NAME = "AlertDialogContent";
881
684
  var [OverlayLayoutProvider2, useOverlayLayoutContext2] = createContext6(ALERT_DIALOG_OVERLAY_NAME, {
882
685
  inOverlayLayout: false
883
686
  });
884
- var AlertDialogOverlay = /* @__PURE__ */ forwardRef12(({ classNames, children, ...props }, forwardedRef) => {
687
+ var AlertDialogOverlay = /* @__PURE__ */ forwardRef10(({ classNames, children, ...props }, forwardedRef) => {
885
688
  const { tx } = useThemeContext();
886
- return /* @__PURE__ */ React14.createElement(AlertDialogOverlayPrimitive, {
689
+ return /* @__PURE__ */ React12.createElement(AlertDialogOverlayPrimitive, {
887
690
  ...props,
888
691
  className: tx("dialog.overlay", "dialog--alert__overlay", {}, classNames),
889
692
  ref: forwardedRef
890
- }, /* @__PURE__ */ React14.createElement(OverlayLayoutProvider2, {
693
+ }, /* @__PURE__ */ React12.createElement(OverlayLayoutProvider2, {
891
694
  inOverlayLayout: true
892
695
  }, children));
893
696
  });
894
697
  AlertDialogOverlay.displayName = ALERT_DIALOG_OVERLAY_NAME;
895
- var AlertDialogContent = /* @__PURE__ */ forwardRef12(({ classNames, children, ...props }, forwardedRef) => {
698
+ var AlertDialogContent = /* @__PURE__ */ forwardRef10(({ classNames, children, ...props }, forwardedRef) => {
896
699
  const { tx } = useThemeContext();
897
700
  const { inOverlayLayout } = useOverlayLayoutContext2(ALERT_DIALOG_CONTENT_NAME);
898
- return /* @__PURE__ */ React14.createElement(AlertDialogContentPrimitive, {
701
+ return /* @__PURE__ */ React12.createElement(AlertDialogContentPrimitive, {
899
702
  ...props,
900
703
  className: tx("dialog.content", "dialog--alert", {
901
704
  inOverlayLayout
902
705
  }, classNames),
903
706
  ref: forwardedRef
904
- }, /* @__PURE__ */ React14.createElement(ElevationProvider, {
707
+ }, /* @__PURE__ */ React12.createElement(ElevationProvider, {
905
708
  elevation: "chrome"
906
709
  }, children));
907
710
  });
@@ -918,16 +721,102 @@ var AlertDialog = {
918
721
  Action: AlertDialogAction
919
722
  };
920
723
 
724
+ // packages/ui/react-ui/src/components/DropdownMenu/DropdownMenu.tsx
725
+ import { Root as DropdownMenuRootPrimitive, DropdownMenuTrigger as DropdownMenuTriggerPrimitive, DropdownMenuPortal as DropdownMenuPortalPrimitive, DropdownMenuContent as DropdownMenuContentPrimitive, DropdownMenuArrow as DropdownMenuArrowPrimitive, DropdownMenuGroup as DropdownMenuGroupPrimitive, DropdownMenuItem as DropdownMenuItemPrimitive, DropdownMenuCheckboxItem as DropdownMenuCheckboxItemPrimitive, DropdownMenuItemIndicator as DropdownMenuItemIndicatorPrimitive, DropdownMenuSeparator as DropdownMenuSeparatorPrimitive, DropdownMenuLabel as DropdownMenuLabelPrimitive } from "@radix-ui/react-dropdown-menu";
726
+ import { Primitive as Primitive6 } from "@radix-ui/react-primitive";
727
+ import { Slot as Slot6 } from "@radix-ui/react-slot";
728
+ import React13, { forwardRef as forwardRef11 } from "react";
729
+ var DropdownMenuRoot = DropdownMenuRootPrimitive;
730
+ var DropdownMenuTrigger = DropdownMenuTriggerPrimitive;
731
+ var DropdownMenuPortal = DropdownMenuPortalPrimitive;
732
+ var DropdownMenuContent = /* @__PURE__ */ forwardRef11(({ classNames, children, ...props }, forwardedRef) => {
733
+ const { tx } = useThemeContext();
734
+ return /* @__PURE__ */ React13.createElement(DropdownMenuContentPrimitive, {
735
+ sideOffset: 4,
736
+ collisionPadding: 8,
737
+ ...props,
738
+ className: tx("dropdownMenu.content", "dropdown-menu", {}, classNames),
739
+ ref: forwardedRef
740
+ }, /* @__PURE__ */ React13.createElement(ElevationProvider, {
741
+ elevation: "chrome"
742
+ }, children));
743
+ });
744
+ var DropdownMenuViewport = /* @__PURE__ */ forwardRef11(({ classNames, asChild, children, ...props }, forwardedRef) => {
745
+ const { tx } = useThemeContext();
746
+ const Root3 = asChild ? Slot6 : Primitive6.div;
747
+ return /* @__PURE__ */ React13.createElement(Root3, {
748
+ ...props,
749
+ className: tx("dropdownMenu.viewport", "dropdown-menu__viewport", {}, classNames),
750
+ ref: forwardedRef
751
+ }, children);
752
+ });
753
+ var DropdownMenuArrow = /* @__PURE__ */ forwardRef11(({ classNames, ...props }, forwardedRef) => {
754
+ const { tx } = useThemeContext();
755
+ return /* @__PURE__ */ React13.createElement(DropdownMenuArrowPrimitive, {
756
+ ...props,
757
+ className: tx("dropdownMenu.arrow", "dropdown-menu__arrow", {}, classNames),
758
+ ref: forwardedRef
759
+ });
760
+ });
761
+ var DropdownMenuGroup = DropdownMenuGroupPrimitive;
762
+ var DropdownMenuItemIndicator = DropdownMenuItemIndicatorPrimitive;
763
+ var DropdownMenuItem = /* @__PURE__ */ forwardRef11(({ classNames, ...props }, forwardedRef) => {
764
+ const { tx } = useThemeContext();
765
+ return /* @__PURE__ */ React13.createElement(DropdownMenuItemPrimitive, {
766
+ ...props,
767
+ className: tx("dropdownMenu.item", "dropdown-menu__item", {}, classNames),
768
+ ref: forwardedRef
769
+ });
770
+ });
771
+ var DropdownMenuCheckboxItem = /* @__PURE__ */ forwardRef11(({ classNames, ...props }, forwardedRef) => {
772
+ const { tx } = useThemeContext();
773
+ return /* @__PURE__ */ React13.createElement(DropdownMenuCheckboxItemPrimitive, {
774
+ ...props,
775
+ className: tx("dropdownMenu.item", "dropdown-menu__item--checkbox", {}, classNames),
776
+ ref: forwardedRef
777
+ });
778
+ });
779
+ var DropdownMenuSeparator = /* @__PURE__ */ forwardRef11(({ classNames, ...props }, forwardedRef) => {
780
+ const { tx } = useThemeContext();
781
+ return /* @__PURE__ */ React13.createElement(DropdownMenuSeparatorPrimitive, {
782
+ ...props,
783
+ className: tx("dropdownMenu.separator", "dropdown-menu__item", {}, classNames),
784
+ ref: forwardedRef
785
+ });
786
+ });
787
+ var DropdownMenuGroupLabel = /* @__PURE__ */ forwardRef11(({ classNames, ...props }, forwardedRef) => {
788
+ const { tx } = useThemeContext();
789
+ return /* @__PURE__ */ React13.createElement(DropdownMenuLabelPrimitive, {
790
+ ...props,
791
+ className: tx("dropdownMenu.groupLabel", "dropdown-menu__group__label", {}, classNames),
792
+ ref: forwardedRef
793
+ });
794
+ });
795
+ var DropdownMenu = {
796
+ Root: DropdownMenuRoot,
797
+ Trigger: DropdownMenuTrigger,
798
+ Portal: DropdownMenuPortal,
799
+ Content: DropdownMenuContent,
800
+ Viewport: DropdownMenuViewport,
801
+ Arrow: DropdownMenuArrow,
802
+ Group: DropdownMenuGroup,
803
+ Item: DropdownMenuItem,
804
+ CheckboxItem: DropdownMenuCheckboxItem,
805
+ ItemIndicator: DropdownMenuItemIndicator,
806
+ Separator: DropdownMenuSeparator,
807
+ GroupLabel: DropdownMenuGroupLabel
808
+ };
809
+
921
810
  // packages/ui/react-ui/src/components/Input/Input.tsx
922
811
  import { Check, Minus } from "@phosphor-icons/react";
923
812
  import { Root as CheckboxPrimitive, Indicator as CheckboxIndicatorPrimitive } from "@radix-ui/react-checkbox";
924
813
  import { Root as SwitchPrimitive, Thumb as SwitchThumbPrimitive } from "@radix-ui/react-switch";
925
814
  import { useControllableState } from "@radix-ui/react-use-controllable-state";
926
- import React15, { forwardRef as forwardRef13, Fragment, useCallback } from "react";
815
+ import React14, { forwardRef as forwardRef12, Fragment, useCallback } from "react";
927
816
  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";
928
- var Label = /* @__PURE__ */ forwardRef13(({ srOnly, classNames, children, ...props }, forwardedRef) => {
817
+ var Label = /* @__PURE__ */ forwardRef12(({ srOnly, classNames, children, ...props }, forwardedRef) => {
929
818
  const { tx } = useThemeContext();
930
- return /* @__PURE__ */ React15.createElement(LabelPrimitive, {
819
+ return /* @__PURE__ */ React14.createElement(LabelPrimitive, {
931
820
  ...props,
932
821
  className: tx("input.label", "input__label", {
933
822
  srOnly
@@ -935,9 +824,9 @@ var Label = /* @__PURE__ */ forwardRef13(({ srOnly, classNames, children, ...pro
935
824
  ref: forwardedRef
936
825
  }, children);
937
826
  });
938
- var Description = /* @__PURE__ */ forwardRef13(({ srOnly, classNames, children, ...props }, forwardedRef) => {
827
+ var Description = /* @__PURE__ */ forwardRef12(({ srOnly, classNames, children, ...props }, forwardedRef) => {
939
828
  const { tx } = useThemeContext();
940
- return /* @__PURE__ */ React15.createElement(DescriptionPrimitive, {
829
+ return /* @__PURE__ */ React14.createElement(DescriptionPrimitive, {
941
830
  ...props,
942
831
  className: tx("input.description", "input__description", {
943
832
  srOnly
@@ -945,10 +834,10 @@ var Description = /* @__PURE__ */ forwardRef13(({ srOnly, classNames, children,
945
834
  ref: forwardedRef
946
835
  }, children);
947
836
  });
948
- var Validation = /* @__PURE__ */ forwardRef13(({ __inputScope, srOnly, classNames, children, ...props }, forwardedRef) => {
837
+ var Validation = /* @__PURE__ */ forwardRef12(({ __inputScope, srOnly, classNames, children, ...props }, forwardedRef) => {
949
838
  const { tx } = useThemeContext();
950
839
  const { validationValence } = useInputContext(INPUT_NAME, __inputScope);
951
- return /* @__PURE__ */ React15.createElement(ValidationPrimitive, {
840
+ return /* @__PURE__ */ React14.createElement(ValidationPrimitive, {
952
841
  ...props,
953
842
  className: tx("input.validation", `input__validation-message input__validation-message--${validationValence}`, {
954
843
  srOnly,
@@ -957,9 +846,9 @@ var Validation = /* @__PURE__ */ forwardRef13(({ __inputScope, srOnly, className
957
846
  ref: forwardedRef
958
847
  }, children);
959
848
  });
960
- var DescriptionAndValidation = /* @__PURE__ */ forwardRef13(({ srOnly, classNames, children, ...props }, forwardedRef) => {
849
+ var DescriptionAndValidation = /* @__PURE__ */ forwardRef12(({ srOnly, classNames, children, ...props }, forwardedRef) => {
961
850
  const { tx } = useThemeContext();
962
- return /* @__PURE__ */ React15.createElement(DescriptionAndValidationPrimitive, {
851
+ return /* @__PURE__ */ React14.createElement(DescriptionAndValidationPrimitive, {
963
852
  ...props,
964
853
  className: tx("input.descriptionAndValidation", "input__description-and-validation", {
965
854
  srOnly
@@ -967,7 +856,7 @@ var DescriptionAndValidation = /* @__PURE__ */ forwardRef13(({ srOnly, className
967
856
  ref: forwardedRef
968
857
  }, children);
969
858
  });
970
- var PinInput = /* @__PURE__ */ forwardRef13(({ density: propsDensity, elevation: propsElevation, segmentClassName: propsSegmentClassName, inputClassName, variant, ...props }, forwardedRef) => {
859
+ var PinInput = /* @__PURE__ */ forwardRef12(({ density: propsDensity, elevation: propsElevation, segmentClassName: propsSegmentClassName, inputClassName, variant, ...props }, forwardedRef) => {
971
860
  const { hasIosKeyboard: hasIosKeyboard2 } = useThemeContext();
972
861
  const { tx } = useThemeContext();
973
862
  const density = useDensityContext(propsDensity);
@@ -986,7 +875,7 @@ var PinInput = /* @__PURE__ */ forwardRef13(({ density: propsDensity, elevation:
986
875
  propsElevation,
987
876
  density
988
877
  ]);
989
- return /* @__PURE__ */ React15.createElement(PinInputPrimitive, {
878
+ return /* @__PURE__ */ React14.createElement(PinInputPrimitive, {
990
879
  ...props,
991
880
  segmentClassName,
992
881
  ...props.autoFocus && !hasIosKeyboard2 && {
@@ -998,13 +887,13 @@ var PinInput = /* @__PURE__ */ forwardRef13(({ density: propsDensity, elevation:
998
887
  ref: forwardedRef
999
888
  });
1000
889
  });
1001
- var TextInput = /* @__PURE__ */ forwardRef13(({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {
890
+ var TextInput = /* @__PURE__ */ forwardRef12(({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {
1002
891
  const { hasIosKeyboard: hasIosKeyboard2 } = useThemeContext();
1003
892
  const { tx } = useThemeContext();
1004
893
  const density = useDensityContext(propsDensity);
1005
894
  const elevation = useElevationContext(propsElevation);
1006
895
  const { validationValence } = useInputContext(INPUT_NAME, __inputScope);
1007
- return /* @__PURE__ */ React15.createElement(TextInputPrimitive, {
896
+ return /* @__PURE__ */ React14.createElement(TextInputPrimitive, {
1008
897
  ...props,
1009
898
  className: tx("input.input", "input", {
1010
899
  variant,
@@ -1019,13 +908,13 @@ var TextInput = /* @__PURE__ */ forwardRef13(({ __inputScope, classNames, densit
1019
908
  ref: forwardedRef
1020
909
  });
1021
910
  });
1022
- var TextArea = /* @__PURE__ */ forwardRef13(({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {
911
+ var TextArea = /* @__PURE__ */ forwardRef12(({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {
1023
912
  const { hasIosKeyboard: hasIosKeyboard2 } = useThemeContext();
1024
913
  const { tx } = useThemeContext();
1025
914
  const density = useDensityContext(propsDensity);
1026
915
  const elevation = useElevationContext(propsElevation);
1027
916
  const { validationValence } = useInputContext(INPUT_NAME, __inputScope);
1028
- return /* @__PURE__ */ React15.createElement(TextAreaPrimitive, {
917
+ return /* @__PURE__ */ React14.createElement(TextAreaPrimitive, {
1029
918
  ...props,
1030
919
  className: tx("input.input", "input--text-area", {
1031
920
  variant,
@@ -1040,7 +929,7 @@ var TextArea = /* @__PURE__ */ forwardRef13(({ __inputScope, classNames, density
1040
929
  ref: forwardedRef
1041
930
  });
1042
931
  });
1043
- var Checkbox = /* @__PURE__ */ forwardRef13(({ __inputScope, checked: propsChecked, defaultChecked: propsDefaultChecked, onCheckedChange: propsOnCheckedChange, size, weight = "bold", classNames, ...props }, forwardedRef) => {
932
+ var Checkbox = /* @__PURE__ */ forwardRef12(({ __inputScope, checked: propsChecked, defaultChecked: propsDefaultChecked, onCheckedChange: propsOnCheckedChange, size, weight = "bold", classNames, ...props }, forwardedRef) => {
1044
933
  const [checked, onCheckedChange] = useControllableState({
1045
934
  prop: propsChecked,
1046
935
  defaultProp: propsDefaultChecked,
@@ -1049,7 +938,7 @@ var Checkbox = /* @__PURE__ */ forwardRef13(({ __inputScope, checked: propsCheck
1049
938
  const { id, validationValence, descriptionId, errorMessageId } = useInputContext(INPUT_NAME, __inputScope);
1050
939
  const { tx } = useThemeContext();
1051
940
  const Icon2 = checked === "indeterminate" ? Minus : checked ? Check : Fragment;
1052
- return /* @__PURE__ */ React15.createElement(CheckboxPrimitive, {
941
+ return /* @__PURE__ */ React14.createElement(CheckboxPrimitive, {
1053
942
  ...props,
1054
943
  checked,
1055
944
  onCheckedChange,
@@ -1063,16 +952,16 @@ var Checkbox = /* @__PURE__ */ forwardRef13(({ __inputScope, checked: propsCheck
1063
952
  size
1064
953
  }, "shrink-0", classNames),
1065
954
  ref: forwardedRef
1066
- }, /* @__PURE__ */ React15.createElement(CheckboxIndicatorPrimitive, {
955
+ }, /* @__PURE__ */ React14.createElement(CheckboxIndicatorPrimitive, {
1067
956
  asChild: true
1068
- }, /* @__PURE__ */ React15.createElement(Icon2, checked && {
957
+ }, /* @__PURE__ */ React14.createElement(Icon2, checked && {
1069
958
  weight,
1070
959
  className: tx("input.checkboxIndicator", "input--checkbox__indicator", {
1071
960
  size
1072
961
  })
1073
962
  })));
1074
963
  });
1075
- var Switch = /* @__PURE__ */ forwardRef13(({ __inputScope, checked: propsChecked, defaultChecked: propsDefaultChecked, onCheckedChange: propsOnCheckedChange, size = 5, classNames, ...props }, forwardedRef) => {
964
+ var Switch = /* @__PURE__ */ forwardRef12(({ __inputScope, checked: propsChecked, defaultChecked: propsDefaultChecked, onCheckedChange: propsOnCheckedChange, size = 5, classNames, ...props }, forwardedRef) => {
1076
965
  const { tx } = useThemeContext();
1077
966
  const [checked, onCheckedChange] = useControllableState({
1078
967
  prop: propsChecked,
@@ -1080,7 +969,7 @@ var Switch = /* @__PURE__ */ forwardRef13(({ __inputScope, checked: propsChecked
1080
969
  onChange: propsOnCheckedChange
1081
970
  });
1082
971
  const { id, validationValence, descriptionId, errorMessageId } = useInputContext(INPUT_NAME, __inputScope);
1083
- return /* @__PURE__ */ React15.createElement(SwitchPrimitive, {
972
+ return /* @__PURE__ */ React14.createElement(SwitchPrimitive, {
1084
973
  ...props,
1085
974
  checked,
1086
975
  onCheckedChange,
@@ -1094,7 +983,7 @@ var Switch = /* @__PURE__ */ forwardRef13(({ __inputScope, checked: propsChecked
1094
983
  size
1095
984
  }, classNames),
1096
985
  ref: forwardedRef
1097
- }, /* @__PURE__ */ React15.createElement(SwitchThumbPrimitive, {
986
+ }, /* @__PURE__ */ React14.createElement(SwitchThumbPrimitive, {
1098
987
  className: tx("input.switchThumb", "input--switch__thumb", {
1099
988
  size
1100
989
  })
@@ -1116,37 +1005,37 @@ var Input = {
1116
1005
  // packages/ui/react-ui/src/components/Lists/List.tsx
1117
1006
  import { CaretDown, CaretRight } from "@phosphor-icons/react";
1118
1007
  import { Slot as Slot7 } from "@radix-ui/react-slot";
1119
- import React17, { forwardRef as forwardRef14 } from "react";
1008
+ import React16, { forwardRef as forwardRef13 } from "react";
1120
1009
  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";
1121
1010
 
1122
1011
  // packages/ui/react-ui/src/components/DensityProvider/DensityProvider.tsx
1123
- import React16, { createContext as createContext7 } from "react";
1012
+ import React15, { createContext as createContext7 } from "react";
1124
1013
  var DensityContext = /* @__PURE__ */ createContext7({
1125
1014
  density: "coarse"
1126
1015
  });
1127
- var DensityProvider = ({ density, children }) => /* @__PURE__ */ React16.createElement(DensityContext.Provider, {
1016
+ var DensityProvider = ({ density, children }) => /* @__PURE__ */ React15.createElement(DensityContext.Provider, {
1128
1017
  value: {
1129
1018
  density
1130
1019
  }
1131
1020
  }, children);
1132
1021
 
1133
1022
  // packages/ui/react-ui/src/components/Lists/List.tsx
1134
- var List = /* @__PURE__ */ forwardRef14(({ classNames, children, ...props }, forwardedRef) => {
1023
+ var List = /* @__PURE__ */ forwardRef13(({ classNames, children, ...props }, forwardedRef) => {
1135
1024
  const { tx } = useThemeContext();
1136
1025
  const density = useDensityContext(props.density);
1137
- return /* @__PURE__ */ React17.createElement(DensityProvider, {
1026
+ return /* @__PURE__ */ React16.createElement(DensityProvider, {
1138
1027
  density
1139
- }, /* @__PURE__ */ React17.createElement(ListPrimitive, {
1028
+ }, /* @__PURE__ */ React16.createElement(ListPrimitive, {
1140
1029
  ...props,
1141
1030
  className: tx("list.root", "list", {}, classNames),
1142
1031
  ref: forwardedRef
1143
1032
  }, children));
1144
1033
  });
1145
- var ListItemEndcap = /* @__PURE__ */ forwardRef14(({ children, classNames, asChild, ...props }, forwardedRef) => {
1034
+ var ListItemEndcap = /* @__PURE__ */ forwardRef13(({ children, classNames, asChild, ...props }, forwardedRef) => {
1146
1035
  const Root3 = asChild ? Slot7 : "div";
1147
1036
  const density = useDensityContext();
1148
1037
  const { tx } = useThemeContext();
1149
- return /* @__PURE__ */ React17.createElement(Root3, {
1038
+ return /* @__PURE__ */ React16.createElement(Root3, {
1150
1039
  ...!asChild && {
1151
1040
  role: "none"
1152
1041
  },
@@ -1160,7 +1049,7 @@ var ListItemEndcap = /* @__PURE__ */ forwardRef14(({ children, classNames, asChi
1160
1049
  var MockListItemOpenTrigger = ({ classNames, ...props }) => {
1161
1050
  const density = useDensityContext();
1162
1051
  const { tx } = useThemeContext();
1163
- return /* @__PURE__ */ React17.createElement("div", {
1052
+ return /* @__PURE__ */ React16.createElement("div", {
1164
1053
  role: "none",
1165
1054
  ...props,
1166
1055
  className: tx("list.item.openTrigger", "list__listItem__openTrigger--mock", {
@@ -1168,10 +1057,10 @@ var MockListItemOpenTrigger = ({ classNames, ...props }) => {
1168
1057
  }, classNames)
1169
1058
  });
1170
1059
  };
1171
- var ListItemHeading = /* @__PURE__ */ forwardRef14(({ children, classNames, ...props }, forwardedRef) => {
1060
+ var ListItemHeading = /* @__PURE__ */ forwardRef13(({ children, classNames, ...props }, forwardedRef) => {
1172
1061
  const { tx } = useThemeContext();
1173
1062
  const density = useDensityContext();
1174
- return /* @__PURE__ */ React17.createElement(ListPrimitiveItemHeading, {
1063
+ return /* @__PURE__ */ React16.createElement(ListPrimitiveItemHeading, {
1175
1064
  ...props,
1176
1065
  className: tx("list.item.heading", "list__listItem__heading", {
1177
1066
  density
@@ -1179,26 +1068,26 @@ var ListItemHeading = /* @__PURE__ */ forwardRef14(({ children, classNames, ...p
1179
1068
  ref: forwardedRef
1180
1069
  }, children);
1181
1070
  });
1182
- var ListItemOpenTrigger = /* @__PURE__ */ forwardRef14(({ __listItemScope, classNames, children, ...props }, forwardedRef) => {
1071
+ var ListItemOpenTrigger = /* @__PURE__ */ forwardRef13(({ __listItemScope, classNames, children, ...props }, forwardedRef) => {
1183
1072
  const { tx } = useThemeContext();
1184
1073
  const density = useDensityContext();
1185
1074
  const { open } = useListItemContext(LIST_ITEM_NAME, __listItemScope);
1186
1075
  const Icon2 = open ? CaretDown : CaretRight;
1187
- return /* @__PURE__ */ React17.createElement(ListPrimitiveItemOpenTrigger, {
1076
+ return /* @__PURE__ */ React16.createElement(ListPrimitiveItemOpenTrigger, {
1188
1077
  ...props,
1189
1078
  className: tx("list.item.openTrigger", "list__listItem__openTrigger", {
1190
1079
  density
1191
1080
  }, classNames),
1192
1081
  ref: forwardedRef
1193
- }, children || /* @__PURE__ */ React17.createElement(Icon2, {
1082
+ }, children || /* @__PURE__ */ React16.createElement(Icon2, {
1194
1083
  weight: "bold",
1195
1084
  className: tx("list.item.openTriggerIcon", "list__listItem__openTrigger__icon", {})
1196
1085
  }));
1197
1086
  });
1198
- var ListItemRoot = /* @__PURE__ */ forwardRef14(({ classNames, children, ...props }, forwardedRef) => {
1087
+ var ListItemRoot = /* @__PURE__ */ forwardRef13(({ classNames, children, ...props }, forwardedRef) => {
1199
1088
  const { tx } = useThemeContext();
1200
1089
  const density = useDensityContext();
1201
- return /* @__PURE__ */ React17.createElement(ListPrimitiveItem, {
1090
+ return /* @__PURE__ */ React16.createElement(ListPrimitiveItem, {
1202
1091
  ...props,
1203
1092
  className: tx("list.item.root", "list__listItem", {
1204
1093
  density,
@@ -1217,23 +1106,23 @@ var ListItem = {
1217
1106
  };
1218
1107
 
1219
1108
  // packages/ui/react-ui/src/components/Lists/Tree.tsx
1220
- import React18, { forwardRef as forwardRef15 } from "react";
1221
- var TreeRoot = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1222
- return /* @__PURE__ */ React18.createElement(List, {
1109
+ import React17, { forwardRef as forwardRef14 } from "react";
1110
+ var TreeRoot = /* @__PURE__ */ forwardRef14((props, forwardedRef) => {
1111
+ return /* @__PURE__ */ React17.createElement(List, {
1223
1112
  ...props,
1224
1113
  ref: forwardedRef
1225
1114
  });
1226
1115
  });
1227
- var TreeBranch = /* @__PURE__ */ forwardRef15(({ __listScope, ...props }, forwardedRef) => {
1116
+ var TreeBranch = /* @__PURE__ */ forwardRef14(({ __listScope, ...props }, forwardedRef) => {
1228
1117
  const { headingId } = useListItemContext(LIST_ITEM_NAME, __listScope);
1229
- return /* @__PURE__ */ React18.createElement(List, {
1118
+ return /* @__PURE__ */ React17.createElement(List, {
1230
1119
  ...props,
1231
1120
  "aria-labelledby": headingId,
1232
1121
  ref: forwardedRef
1233
1122
  });
1234
1123
  });
1235
- var TreeItemRoot = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1236
- return /* @__PURE__ */ React18.createElement(ListItem.Root, {
1124
+ var TreeItemRoot = /* @__PURE__ */ forwardRef14((props, forwardedRef) => {
1125
+ return /* @__PURE__ */ React17.createElement(ListItem.Root, {
1237
1126
  role: "treeitem",
1238
1127
  ...props,
1239
1128
  ref: forwardedRef
@@ -1261,7 +1150,7 @@ import { Root as DialogRoot2, DialogContent as DialogContent2 } from "@radix-ui/
1261
1150
  import { Primitive as Primitive7 } from "@radix-ui/react-primitive";
1262
1151
  import { Slot as Slot8 } from "@radix-ui/react-slot";
1263
1152
  import { useControllableState as useControllableState2 } from "@radix-ui/react-use-controllable-state";
1264
- import React19, { forwardRef as forwardRef16, useCallback as useCallback3, useRef } from "react";
1153
+ import React18, { forwardRef as forwardRef15, useCallback as useCallback3, useRef } from "react";
1265
1154
  import { useMediaQuery, useForwardedRef } from "@dxos/react-hooks";
1266
1155
 
1267
1156
  // packages/ui/react-ui/src/components/Main/useSwipeToDismiss.ts
@@ -1420,7 +1309,7 @@ var MainRoot = ({ navigationSidebarOpen: propsNavigationSidebarOpen, defaultNavi
1420
1309
  defaultProp: defaultComplementarySidebarOpen,
1421
1310
  onChange: onComplementarySidebarOpenChange
1422
1311
  });
1423
- return /* @__PURE__ */ React19.createElement(MainProvider, {
1312
+ return /* @__PURE__ */ React18.createElement(MainProvider, {
1424
1313
  ...props,
1425
1314
  navigationSidebarOpen,
1426
1315
  setNavigationSidebarOpen,
@@ -1432,7 +1321,7 @@ MainRoot.displayName = MAIN_ROOT_NAME;
1432
1321
  var handleOpenAutoFocus = (event) => {
1433
1322
  !document.body.hasAttribute("data-is-keyboard") && event.preventDefault();
1434
1323
  };
1435
- var MainSidebar = /* @__PURE__ */ forwardRef16(({ classNames, children, swipeToDismiss, onOpenAutoFocus, open, setOpen, side, ...props }, forwardedRef) => {
1324
+ var MainSidebar = /* @__PURE__ */ forwardRef15(({ classNames, children, swipeToDismiss, onOpenAutoFocus, open, setOpen, side, ...props }, forwardedRef) => {
1436
1325
  const [isLg] = useMediaQuery("lg", {
1437
1326
  ssr: false
1438
1327
  });
@@ -1443,10 +1332,10 @@ var MainSidebar = /* @__PURE__ */ forwardRef16(({ classNames, children, swipeToD
1443
1332
  onDismiss: () => setOpen(false)
1444
1333
  });
1445
1334
  const Root3 = isLg ? Primitive7.div : DialogContent2;
1446
- return /* @__PURE__ */ React19.createElement(DialogRoot2, {
1335
+ return /* @__PURE__ */ React18.createElement(DialogRoot2, {
1447
1336
  open,
1448
1337
  modal: false
1449
- }, /* @__PURE__ */ React19.createElement(Root3, {
1338
+ }, /* @__PURE__ */ React18.createElement(Root3, {
1450
1339
  ...!isLg && {
1451
1340
  forceMount: true,
1452
1341
  tabIndex: -1,
@@ -1462,13 +1351,13 @@ var MainSidebar = /* @__PURE__ */ forwardRef16(({ classNames, children, swipeToD
1462
1351
  inert: "true"
1463
1352
  },
1464
1353
  ref
1465
- }, /* @__PURE__ */ React19.createElement(ElevationProvider, {
1354
+ }, /* @__PURE__ */ React18.createElement(ElevationProvider, {
1466
1355
  elevation: "group"
1467
1356
  }, children)));
1468
1357
  });
1469
- var MainNavigationSidebar = /* @__PURE__ */ forwardRef16((props, forwardedRef) => {
1358
+ var MainNavigationSidebar = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1470
1359
  const { navigationSidebarOpen, setNavigationSidebarOpen } = useMainContext(NAVIGATION_SIDEBAR_NAME);
1471
- return /* @__PURE__ */ React19.createElement(MainSidebar, {
1360
+ return /* @__PURE__ */ React18.createElement(MainSidebar, {
1472
1361
  ...props,
1473
1362
  open: navigationSidebarOpen,
1474
1363
  setOpen: setNavigationSidebarOpen,
@@ -1477,9 +1366,9 @@ var MainNavigationSidebar = /* @__PURE__ */ forwardRef16((props, forwardedRef) =
1477
1366
  });
1478
1367
  });
1479
1368
  MainNavigationSidebar.displayName = NAVIGATION_SIDEBAR_NAME;
1480
- var MainComplementarySidebar = /* @__PURE__ */ forwardRef16((props, forwardedRef) => {
1369
+ var MainComplementarySidebar = /* @__PURE__ */ forwardRef15((props, forwardedRef) => {
1481
1370
  const { complementarySidebarOpen, setComplementarySidebarOpen } = useMainContext(COMPLEMENTARY_SIDEBAR_NAME);
1482
- return /* @__PURE__ */ React19.createElement(MainSidebar, {
1371
+ return /* @__PURE__ */ React18.createElement(MainSidebar, {
1483
1372
  ...props,
1484
1373
  open: complementarySidebarOpen,
1485
1374
  setOpen: setComplementarySidebarOpen,
@@ -1488,14 +1377,14 @@ var MainComplementarySidebar = /* @__PURE__ */ forwardRef16((props, forwardedRef
1488
1377
  });
1489
1378
  });
1490
1379
  MainNavigationSidebar.displayName = NAVIGATION_SIDEBAR_NAME;
1491
- var MainContent = /* @__PURE__ */ forwardRef16(({ asChild, classNames, bounce, children, ...props }, forwardedRef) => {
1380
+ var MainContent = /* @__PURE__ */ forwardRef15(({ asChild, classNames, bounce, children, ...props }, forwardedRef) => {
1492
1381
  const [isLg] = useMediaQuery("lg", {
1493
1382
  ssr: false
1494
1383
  });
1495
1384
  const { navigationSidebarOpen, complementarySidebarOpen } = useMainContext(MAIN_NAME);
1496
1385
  const { tx } = useThemeContext();
1497
1386
  const Root3 = asChild ? Slot8 : "main";
1498
- return /* @__PURE__ */ React19.createElement(Root3, {
1387
+ return /* @__PURE__ */ React18.createElement(Root3, {
1499
1388
  ...props,
1500
1389
  className: tx("main.content", "main", {
1501
1390
  isLg,
@@ -1507,13 +1396,13 @@ var MainContent = /* @__PURE__ */ forwardRef16(({ asChild, classNames, bounce, c
1507
1396
  }, children);
1508
1397
  });
1509
1398
  MainContent.displayName = MAIN_NAME;
1510
- var MainOverlay = /* @__PURE__ */ forwardRef16(({ classNames, ...props }, forwardedRef) => {
1399
+ var MainOverlay = /* @__PURE__ */ forwardRef15(({ classNames, ...props }, forwardedRef) => {
1511
1400
  const [isLg] = useMediaQuery("lg", {
1512
1401
  ssr: false
1513
1402
  });
1514
1403
  const { navigationSidebarOpen, setNavigationSidebarOpen, complementarySidebarOpen, setComplementarySidebarOpen } = useMainContext(MAIN_NAME);
1515
1404
  const { tx } = useThemeContext();
1516
- return /* @__PURE__ */ React19.createElement("div", {
1405
+ return /* @__PURE__ */ React18.createElement("div", {
1517
1406
  onClick: () => {
1518
1407
  setNavigationSidebarOpen(false);
1519
1408
  setComplementarySidebarOpen(false);
@@ -1542,20 +1431,20 @@ var Main = {
1542
1431
  import { createContext as createContext9 } from "@radix-ui/react-context";
1543
1432
  import { Primitive as Primitive8 } from "@radix-ui/react-primitive";
1544
1433
  import { Slot as Slot9 } from "@radix-ui/react-slot";
1545
- import React20, { forwardRef as forwardRef17 } from "react";
1434
+ import React19, { forwardRef as forwardRef16 } from "react";
1546
1435
  import { useId as useId3 } from "@dxos/react-hooks";
1547
1436
  var MESSAGE_NAME = "Message";
1548
1437
  var [MessageProvider, useMessageContext] = createContext9(MESSAGE_NAME);
1549
- var MessageRoot = /* @__PURE__ */ forwardRef17(({ asChild, valence, elevation: propsElevation, className, titleId: propsTitleId, descriptionId: propsDescriptionId, children, ...props }, forwardedRef) => {
1438
+ var MessageRoot = /* @__PURE__ */ forwardRef16(({ asChild, valence, elevation: propsElevation, className, titleId: propsTitleId, descriptionId: propsDescriptionId, children, ...props }, forwardedRef) => {
1550
1439
  const { tx } = useThemeContext();
1551
1440
  const titleId = useId3("message__title", propsTitleId);
1552
1441
  const descriptionId = useId3("message__description", propsDescriptionId);
1553
1442
  const elevation = useElevationContext(propsElevation);
1554
1443
  const Root3 = asChild ? Slot9 : Primitive8.div;
1555
- return /* @__PURE__ */ React20.createElement(MessageProvider, {
1444
+ return /* @__PURE__ */ React19.createElement(MessageProvider, {
1556
1445
  titleId,
1557
1446
  descriptionId
1558
- }, /* @__PURE__ */ React20.createElement(Root3, {
1447
+ }, /* @__PURE__ */ React19.createElement(Root3, {
1559
1448
  ...props,
1560
1449
  className: tx("message.root", "message", {
1561
1450
  valence,
@@ -1568,11 +1457,11 @@ var MessageRoot = /* @__PURE__ */ forwardRef17(({ asChild, valence, elevation: p
1568
1457
  });
1569
1458
  MessageRoot.displayName = MESSAGE_NAME;
1570
1459
  var MESSAGE_TITLE_NAME = "MessageTitle";
1571
- var MessageTitle = /* @__PURE__ */ forwardRef17(({ asChild, className, children, ...props }, forwardedRef) => {
1460
+ var MessageTitle = /* @__PURE__ */ forwardRef16(({ asChild, className, children, ...props }, forwardedRef) => {
1572
1461
  const { tx } = useThemeContext();
1573
1462
  const { titleId } = useMessageContext(MESSAGE_TITLE_NAME);
1574
1463
  const Root3 = asChild ? Slot9 : Primitive8.h2;
1575
- return /* @__PURE__ */ React20.createElement(Root3, {
1464
+ return /* @__PURE__ */ React19.createElement(Root3, {
1576
1465
  ...props,
1577
1466
  className: tx("message.title", "message__title", {}, className),
1578
1467
  id: titleId,
@@ -1581,11 +1470,11 @@ var MessageTitle = /* @__PURE__ */ forwardRef17(({ asChild, className, children,
1581
1470
  });
1582
1471
  MessageTitle.displayName = MESSAGE_TITLE_NAME;
1583
1472
  var MESSAGE_BODY_NAME = "MessageBody";
1584
- var MessageBody = /* @__PURE__ */ forwardRef17(({ asChild, className, children, ...props }, forwardedRef) => {
1473
+ var MessageBody = /* @__PURE__ */ forwardRef16(({ asChild, className, children, ...props }, forwardedRef) => {
1585
1474
  const { tx } = useThemeContext();
1586
1475
  const { descriptionId } = useMessageContext(MESSAGE_BODY_NAME);
1587
1476
  const Root3 = asChild ? Slot9 : Primitive8.p;
1588
- return /* @__PURE__ */ React20.createElement(Root3, {
1477
+ return /* @__PURE__ */ React19.createElement(Root3, {
1589
1478
  ...props,
1590
1479
  className: tx("message.body", "message__body", {}, className),
1591
1480
  id: descriptionId,
@@ -1603,36 +1492,36 @@ var Message = {
1603
1492
  import { Root as PopoverRootPrimitive, PopoverContent as PopoverContentPrimitive, PopoverTrigger as PopoverTriggerPrimitive, PopoverAnchor as PopoverAnchorPrimitive, PopoverPortal as PopoverPortalPrimitive, PopoverArrow as PopoverArrowPrimitive, PopoverClose as PopoverClosePrimitive } from "@radix-ui/react-popover";
1604
1493
  import { Primitive as Primitive9 } from "@radix-ui/react-primitive";
1605
1494
  import { Slot as Slot10 } from "@radix-ui/react-slot";
1606
- import React21, { forwardRef as forwardRef18 } from "react";
1495
+ import React20, { forwardRef as forwardRef17 } from "react";
1607
1496
  var PopoverRoot = PopoverRootPrimitive;
1608
1497
  var PopoverPortal = PopoverPortalPrimitive;
1609
1498
  var PopoverTrigger = PopoverTriggerPrimitive;
1610
1499
  var PopoverAnchor = PopoverAnchorPrimitive;
1611
1500
  var PopoverClose = PopoverClosePrimitive;
1612
- var PopoverArrow = /* @__PURE__ */ forwardRef18(({ classNames, ...props }, forwardedRef) => {
1501
+ var PopoverArrow = /* @__PURE__ */ forwardRef17(({ classNames, ...props }, forwardedRef) => {
1613
1502
  const { tx } = useThemeContext();
1614
- return /* @__PURE__ */ React21.createElement(PopoverArrowPrimitive, {
1503
+ return /* @__PURE__ */ React20.createElement(PopoverArrowPrimitive, {
1615
1504
  ...props,
1616
1505
  className: tx("popover.arrow", "popover__arrow", {}, classNames),
1617
1506
  ref: forwardedRef
1618
1507
  });
1619
1508
  });
1620
- var PopoverContent = /* @__PURE__ */ forwardRef18(({ classNames, children, ...props }, forwardedRef) => {
1509
+ var PopoverContent = /* @__PURE__ */ forwardRef17(({ classNames, children, ...props }, forwardedRef) => {
1621
1510
  const { tx } = useThemeContext();
1622
- return /* @__PURE__ */ React21.createElement(PopoverContentPrimitive, {
1511
+ return /* @__PURE__ */ React20.createElement(PopoverContentPrimitive, {
1623
1512
  sideOffset: 4,
1624
1513
  collisionPadding: 8,
1625
1514
  ...props,
1626
1515
  className: tx("popover.content", "popover", {}, classNames),
1627
1516
  ref: forwardedRef
1628
- }, /* @__PURE__ */ React21.createElement(ElevationProvider, {
1517
+ }, /* @__PURE__ */ React20.createElement(ElevationProvider, {
1629
1518
  elevation: "chrome"
1630
1519
  }, children));
1631
1520
  });
1632
- var PopoverViewport = /* @__PURE__ */ forwardRef18(({ classNames, asChild, constrainInline = true, constrainBlock = true, children, ...props }, forwardedRef) => {
1521
+ var PopoverViewport = /* @__PURE__ */ forwardRef17(({ classNames, asChild, constrainInline = true, constrainBlock = true, children, ...props }, forwardedRef) => {
1633
1522
  const { tx } = useThemeContext();
1634
1523
  const Root3 = asChild ? Slot10 : Primitive9.div;
1635
- return /* @__PURE__ */ React21.createElement(Root3, {
1524
+ return /* @__PURE__ */ React20.createElement(Root3, {
1636
1525
  ...props,
1637
1526
  className: tx("popover.viewport", "popover__viewport", {
1638
1527
  constrainInline,
@@ -1653,17 +1542,17 @@ var Popover = {
1653
1542
  };
1654
1543
 
1655
1544
  // packages/ui/react-ui/src/components/Status/Status.tsx
1656
- import React22, { forwardRef as forwardRef19 } from "react";
1657
- var Status = /* @__PURE__ */ forwardRef19(({ classNames, children, progress = 0, indeterminate, ...props }, forwardedRef) => {
1545
+ import React21, { forwardRef as forwardRef18 } from "react";
1546
+ var Status = /* @__PURE__ */ forwardRef18(({ classNames, children, progress = 0, indeterminate, ...props }, forwardedRef) => {
1658
1547
  const { tx } = useThemeContext();
1659
- return /* @__PURE__ */ React22.createElement("span", {
1548
+ return /* @__PURE__ */ React21.createElement("span", {
1660
1549
  role: "status",
1661
1550
  ...props,
1662
1551
  className: tx("status.root", "status", {
1663
1552
  indeterminate
1664
1553
  }, classNames),
1665
1554
  ref: forwardedRef
1666
- }, /* @__PURE__ */ React22.createElement("span", {
1555
+ }, /* @__PURE__ */ React21.createElement("span", {
1667
1556
  role: "none",
1668
1557
  className: tx("status.bar", "status__bar", {
1669
1558
  indeterminate
@@ -1678,42 +1567,42 @@ var Status = /* @__PURE__ */ forwardRef19(({ classNames, children, progress = 0,
1678
1567
 
1679
1568
  // packages/ui/react-ui/src/components/ScrollArea/ScrollArea.tsx
1680
1569
  import { Root as ScrollAreaPrimitiveRoot, Viewport as ScrollAreaPrimitiveViewport, Scrollbar as ScrollAreaPrimitiveScrollbar, Thumb as ScrollAreaPrimitiveThumb, Corner as ScrollAreaPrimitiveCorner } from "@radix-ui/react-scroll-area";
1681
- import React23, { forwardRef as forwardRef20 } from "react";
1682
- var ScrollAreaRoot = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1570
+ import React22, { forwardRef as forwardRef19 } from "react";
1571
+ var ScrollAreaRoot = /* @__PURE__ */ forwardRef19(({ classNames, ...props }, forwardedRef) => {
1683
1572
  const { tx } = useThemeContext();
1684
- return /* @__PURE__ */ React23.createElement(ScrollAreaPrimitiveRoot, {
1573
+ return /* @__PURE__ */ React22.createElement(ScrollAreaPrimitiveRoot, {
1685
1574
  ...props,
1686
1575
  className: tx("scrollArea.root", "scroll-area", {}, classNames),
1687
1576
  ref: forwardedRef
1688
1577
  });
1689
1578
  });
1690
- var ScrollAreaViewport = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1579
+ var ScrollAreaViewport = /* @__PURE__ */ forwardRef19(({ classNames, ...props }, forwardedRef) => {
1691
1580
  const { tx } = useThemeContext();
1692
- return /* @__PURE__ */ React23.createElement(ScrollAreaPrimitiveViewport, {
1581
+ return /* @__PURE__ */ React22.createElement(ScrollAreaPrimitiveViewport, {
1693
1582
  ...props,
1694
1583
  className: tx("scrollArea.viewport", "scroll-area", {}, classNames),
1695
1584
  ref: forwardedRef
1696
1585
  });
1697
1586
  });
1698
- var ScrollAreaScrollbar = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1587
+ var ScrollAreaScrollbar = /* @__PURE__ */ forwardRef19(({ classNames, ...props }, forwardedRef) => {
1699
1588
  const { tx } = useThemeContext();
1700
- return /* @__PURE__ */ React23.createElement(ScrollAreaPrimitiveScrollbar, {
1589
+ return /* @__PURE__ */ React22.createElement(ScrollAreaPrimitiveScrollbar, {
1701
1590
  ...props,
1702
1591
  className: tx("scrollArea.scrollbar", "scroll-area__scrollbar", {}, classNames),
1703
1592
  ref: forwardedRef
1704
1593
  });
1705
1594
  });
1706
- var ScrollAreaThumb = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1595
+ var ScrollAreaThumb = /* @__PURE__ */ forwardRef19(({ classNames, ...props }, forwardedRef) => {
1707
1596
  const { tx } = useThemeContext();
1708
- return /* @__PURE__ */ React23.createElement(ScrollAreaPrimitiveThumb, {
1597
+ return /* @__PURE__ */ React22.createElement(ScrollAreaPrimitiveThumb, {
1709
1598
  ...props,
1710
1599
  className: tx("scrollArea.thumb", "scroll-area__thumb", {}, classNames),
1711
1600
  ref: forwardedRef
1712
1601
  });
1713
1602
  });
1714
- var ScrollAreaCorner = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1603
+ var ScrollAreaCorner = /* @__PURE__ */ forwardRef19(({ classNames, ...props }, forwardedRef) => {
1715
1604
  const { tx } = useThemeContext();
1716
- return /* @__PURE__ */ React23.createElement(ScrollAreaPrimitiveCorner, {
1605
+ return /* @__PURE__ */ React22.createElement(ScrollAreaPrimitiveCorner, {
1717
1606
  ...props,
1718
1607
  className: tx("scrollArea.corner", "scroll-area__corner", {}, classNames),
1719
1608
  ref: forwardedRef
@@ -1730,95 +1619,95 @@ var ScrollArea = {
1730
1619
  // packages/ui/react-ui/src/components/Select/Select.tsx
1731
1620
  import { CaretDown as CaretDown2, CaretUp, Check as Check2 } from "@phosphor-icons/react";
1732
1621
  import * as SelectPrimitive from "@radix-ui/react-select";
1733
- import React24, { forwardRef as forwardRef21 } from "react";
1622
+ import React23, { forwardRef as forwardRef20 } from "react";
1734
1623
  var SelectRoot = SelectPrimitive.Root;
1735
1624
  var SelectTrigger = SelectPrimitive.Trigger;
1736
1625
  var SelectValue = SelectPrimitive.Value;
1737
1626
  var SelectIcon = SelectPrimitive.Icon;
1738
1627
  var SelectPortal = SelectPrimitive.Portal;
1739
- var SelectTriggerButton = /* @__PURE__ */ forwardRef21(({ placeholder, ...props }, forwardedRef) => {
1740
- return /* @__PURE__ */ React24.createElement(SelectPrimitive.Trigger, {
1628
+ var SelectTriggerButton = /* @__PURE__ */ forwardRef20(({ placeholder, ...props }, forwardedRef) => {
1629
+ return /* @__PURE__ */ React23.createElement(SelectPrimitive.Trigger, {
1741
1630
  asChild: true,
1742
1631
  ref: forwardedRef
1743
- }, /* @__PURE__ */ React24.createElement(Button, props, /* @__PURE__ */ React24.createElement(SelectPrimitive.Value, {
1632
+ }, /* @__PURE__ */ React23.createElement(Button, props, /* @__PURE__ */ React23.createElement(SelectPrimitive.Value, {
1744
1633
  placeholder
1745
- }), /* @__PURE__ */ React24.createElement(SelectPrimitive.Icon, {
1634
+ }), /* @__PURE__ */ React23.createElement(SelectPrimitive.Icon, {
1746
1635
  className: "pis-2"
1747
- }, /* @__PURE__ */ React24.createElement(CaretDown2, {
1636
+ }, /* @__PURE__ */ React23.createElement(CaretDown2, {
1748
1637
  weight: "bold"
1749
1638
  }))));
1750
1639
  });
1751
- var SelectContent = /* @__PURE__ */ forwardRef21(({ classNames, children, ...props }, forwardedRef) => {
1640
+ var SelectContent = /* @__PURE__ */ forwardRef20(({ classNames, children, ...props }, forwardedRef) => {
1752
1641
  const { tx } = useThemeContext();
1753
- return /* @__PURE__ */ React24.createElement(SelectPrimitive.Content, {
1642
+ return /* @__PURE__ */ React23.createElement(SelectPrimitive.Content, {
1754
1643
  ...props,
1755
1644
  className: tx("select.content", "select__content", {}, classNames),
1756
1645
  ref: forwardedRef
1757
1646
  }, children);
1758
1647
  });
1759
- var SelectScrollUpButton2 = /* @__PURE__ */ forwardRef21(({ classNames, children, ...props }, forwardedRef) => {
1648
+ var SelectScrollUpButton2 = /* @__PURE__ */ forwardRef20(({ classNames, children, ...props }, forwardedRef) => {
1760
1649
  const { tx } = useThemeContext();
1761
- return /* @__PURE__ */ React24.createElement(SelectPrimitive.SelectScrollUpButton, {
1650
+ return /* @__PURE__ */ React23.createElement(SelectPrimitive.SelectScrollUpButton, {
1762
1651
  ...props,
1763
1652
  className: tx("select.scrollButton", "select__scroll-button--up", {}, classNames),
1764
1653
  ref: forwardedRef
1765
- }, children ?? /* @__PURE__ */ React24.createElement(CaretUp, {
1654
+ }, children ?? /* @__PURE__ */ React23.createElement(CaretUp, {
1766
1655
  weight: "bold"
1767
1656
  }));
1768
1657
  });
1769
- var SelectScrollDownButton2 = /* @__PURE__ */ forwardRef21(({ classNames, children, ...props }, forwardedRef) => {
1658
+ var SelectScrollDownButton2 = /* @__PURE__ */ forwardRef20(({ classNames, children, ...props }, forwardedRef) => {
1770
1659
  const { tx } = useThemeContext();
1771
- return /* @__PURE__ */ React24.createElement(SelectPrimitive.SelectScrollDownButton, {
1660
+ return /* @__PURE__ */ React23.createElement(SelectPrimitive.SelectScrollDownButton, {
1772
1661
  ...props,
1773
1662
  className: tx("select.scrollButton", "select__scroll-button--down", {}, classNames),
1774
1663
  ref: forwardedRef
1775
- }, children ?? /* @__PURE__ */ React24.createElement(CaretDown2, {
1664
+ }, children ?? /* @__PURE__ */ React23.createElement(CaretDown2, {
1776
1665
  weight: "bold"
1777
1666
  }));
1778
1667
  });
1779
1668
  var SelectViewport = SelectPrimitive.Viewport;
1780
- var SelectItem = /* @__PURE__ */ forwardRef21(({ classNames, ...props }, forwardedRef) => {
1669
+ var SelectItem = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1781
1670
  const { tx } = useThemeContext();
1782
- return /* @__PURE__ */ React24.createElement(SelectPrimitive.Item, {
1671
+ return /* @__PURE__ */ React23.createElement(SelectPrimitive.Item, {
1783
1672
  ...props,
1784
1673
  className: tx("select.item", "option", {}, classNames),
1785
1674
  ref: forwardedRef
1786
1675
  });
1787
1676
  });
1788
1677
  var SelectItemText = SelectPrimitive.ItemText;
1789
- var SelectItemIndicator = /* @__PURE__ */ forwardRef21(({ classNames, children, ...props }, forwardedRef) => {
1678
+ var SelectItemIndicator = /* @__PURE__ */ forwardRef20(({ classNames, children, ...props }, forwardedRef) => {
1790
1679
  const { tx } = useThemeContext();
1791
- return /* @__PURE__ */ React24.createElement(SelectPrimitive.ItemIndicator, {
1680
+ return /* @__PURE__ */ React23.createElement(SelectPrimitive.ItemIndicator, {
1792
1681
  ...props,
1793
1682
  className: tx("select.itemIndicator", "option__indicator", {}, classNames),
1794
1683
  ref: forwardedRef
1795
1684
  }, children);
1796
1685
  });
1797
- var SelectOption = /* @__PURE__ */ forwardRef21(({ children, classNames, ...props }, forwardedRef) => {
1686
+ var SelectOption = /* @__PURE__ */ forwardRef20(({ children, classNames, ...props }, forwardedRef) => {
1798
1687
  const { tx } = useThemeContext();
1799
- return /* @__PURE__ */ React24.createElement(SelectPrimitive.Item, {
1688
+ return /* @__PURE__ */ React23.createElement(SelectPrimitive.Item, {
1800
1689
  ...props,
1801
1690
  className: tx("select.item", "option", {}, classNames),
1802
1691
  ref: forwardedRef
1803
- }, /* @__PURE__ */ React24.createElement(SelectPrimitive.ItemText, null, children), /* @__PURE__ */ React24.createElement(SelectPrimitive.ItemIndicator, {
1692
+ }, /* @__PURE__ */ React23.createElement(SelectPrimitive.ItemText, null, children), /* @__PURE__ */ React23.createElement(SelectPrimitive.ItemIndicator, {
1804
1693
  className: tx("select.itemIndicator", "option__indicator", {})
1805
- }, /* @__PURE__ */ React24.createElement(Check2, {
1694
+ }, /* @__PURE__ */ React23.createElement(Check2, {
1806
1695
  weight: "bold"
1807
1696
  })));
1808
1697
  });
1809
1698
  var SelectGroup = SelectPrimitive.Group;
1810
1699
  var SelectLabel = SelectPrimitive.Label;
1811
- var SelectSeparator = /* @__PURE__ */ forwardRef21(({ classNames, ...props }, forwardedRef) => {
1700
+ var SelectSeparator = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1812
1701
  const { tx } = useThemeContext();
1813
- return /* @__PURE__ */ React24.createElement(SelectPrimitive.Separator, {
1702
+ return /* @__PURE__ */ React23.createElement(SelectPrimitive.Separator, {
1814
1703
  ...props,
1815
1704
  className: tx("select.separator", "select__separator", {}, classNames),
1816
1705
  ref: forwardedRef
1817
1706
  });
1818
1707
  });
1819
- var SelectArrow = /* @__PURE__ */ forwardRef21(({ classNames, ...props }, forwardedRef) => {
1708
+ var SelectArrow = /* @__PURE__ */ forwardRef20(({ classNames, ...props }, forwardedRef) => {
1820
1709
  const { tx } = useThemeContext();
1821
- return /* @__PURE__ */ React24.createElement(SelectPrimitive.Arrow, {
1710
+ return /* @__PURE__ */ React23.createElement(SelectPrimitive.Arrow, {
1822
1711
  ...props,
1823
1712
  className: tx("select.arrow", "select__arrow", {}, classNames),
1824
1713
  ref: forwardedRef
@@ -1847,10 +1736,10 @@ var Select = {
1847
1736
 
1848
1737
  // packages/ui/react-ui/src/components/Separator/Separator.tsx
1849
1738
  import { Separator as SeparatorPrimitive } from "@radix-ui/react-separator";
1850
- import React25 from "react";
1739
+ import React24 from "react";
1851
1740
  var Separator2 = ({ classNames, orientation = "horizontal", ...props }) => {
1852
1741
  const { tx } = useThemeContext();
1853
- return /* @__PURE__ */ React25.createElement(SeparatorPrimitive, {
1742
+ return /* @__PURE__ */ React24.createElement(SeparatorPrimitive, {
1854
1743
  orientation,
1855
1744
  ...props,
1856
1745
  className: tx("separator.root", "separator", {
@@ -1862,11 +1751,11 @@ var Separator2 = ({ classNames, orientation = "horizontal", ...props }) => {
1862
1751
  // packages/ui/react-ui/src/components/Tag/Tag.tsx
1863
1752
  import { Primitive as Primitive10 } from "@radix-ui/react-primitive";
1864
1753
  import { Slot as Slot11 } from "@radix-ui/react-slot";
1865
- import React26, { forwardRef as forwardRef22 } from "react";
1866
- var Tag = /* @__PURE__ */ forwardRef22(({ asChild, palette, classNames, ...props }, forwardedRef) => {
1754
+ import React25, { forwardRef as forwardRef21 } from "react";
1755
+ var Tag = /* @__PURE__ */ forwardRef21(({ asChild, palette, classNames, ...props }, forwardedRef) => {
1867
1756
  const { tx } = useThemeContext();
1868
1757
  const Root3 = asChild ? Slot11 : Primitive10.span;
1869
- return /* @__PURE__ */ React26.createElement(Root3, {
1758
+ return /* @__PURE__ */ React25.createElement(Root3, {
1870
1759
  ...props,
1871
1760
  className: tx("tag.root", "tag", {
1872
1761
  palette
@@ -1879,58 +1768,58 @@ var Tag = /* @__PURE__ */ forwardRef22(({ asChild, palette, classNames, ...props
1879
1768
  import { Primitive as Primitive11 } from "@radix-ui/react-primitive";
1880
1769
  import { Slot as Slot12 } from "@radix-ui/react-slot";
1881
1770
  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";
1882
- import React27, { forwardRef as forwardRef23 } from "react";
1771
+ import React26, { forwardRef as forwardRef22 } from "react";
1883
1772
  var ToastProvider = ToastProviderPrimitive;
1884
- var ToastViewport = /* @__PURE__ */ forwardRef23(({ classNames, ...props }, forwardedRef) => {
1773
+ var ToastViewport = /* @__PURE__ */ forwardRef22(({ classNames, ...props }, forwardedRef) => {
1885
1774
  const { tx } = useThemeContext();
1886
- return /* @__PURE__ */ React27.createElement(ToastViewportPrimitive, {
1775
+ return /* @__PURE__ */ React26.createElement(ToastViewportPrimitive, {
1887
1776
  className: tx("toast.viewport", "toast-viewport", {}, classNames),
1888
1777
  ref: forwardedRef
1889
1778
  });
1890
1779
  });
1891
- var ToastRoot = /* @__PURE__ */ forwardRef23(({ classNames, children, ...props }, forwardedRef) => {
1780
+ var ToastRoot = /* @__PURE__ */ forwardRef22(({ classNames, children, ...props }, forwardedRef) => {
1892
1781
  const { tx } = useThemeContext();
1893
- return /* @__PURE__ */ React27.createElement(ToastRootPrimitive, {
1782
+ return /* @__PURE__ */ React26.createElement(ToastRootPrimitive, {
1894
1783
  ...props,
1895
1784
  className: tx("toast.root", "toast", {}, classNames),
1896
1785
  ref: forwardedRef
1897
- }, /* @__PURE__ */ React27.createElement(ElevationProvider, {
1786
+ }, /* @__PURE__ */ React26.createElement(ElevationProvider, {
1898
1787
  elevation: "chrome"
1899
- }, /* @__PURE__ */ React27.createElement(DensityProvider, {
1788
+ }, /* @__PURE__ */ React26.createElement(DensityProvider, {
1900
1789
  density: "fine"
1901
1790
  }, children)));
1902
1791
  });
1903
- var ToastBody = /* @__PURE__ */ forwardRef23(({ asChild, classNames, ...props }, forwardedRef) => {
1792
+ var ToastBody = /* @__PURE__ */ forwardRef22(({ asChild, classNames, ...props }, forwardedRef) => {
1904
1793
  const { tx } = useThemeContext();
1905
1794
  const Root3 = asChild ? Slot12 : Primitive11.div;
1906
- return /* @__PURE__ */ React27.createElement(Root3, {
1795
+ return /* @__PURE__ */ React26.createElement(Root3, {
1907
1796
  ...props,
1908
1797
  className: tx("toast.body", "toast__body", {}, classNames),
1909
1798
  ref: forwardedRef
1910
1799
  });
1911
1800
  });
1912
- var ToastTitle = /* @__PURE__ */ forwardRef23(({ asChild, classNames, ...props }, forwardedRef) => {
1801
+ var ToastTitle = /* @__PURE__ */ forwardRef22(({ asChild, classNames, ...props }, forwardedRef) => {
1913
1802
  const { tx } = useThemeContext();
1914
1803
  const Root3 = asChild ? Slot12 : ToastTitlePrimitive;
1915
- return /* @__PURE__ */ React27.createElement(Root3, {
1804
+ return /* @__PURE__ */ React26.createElement(Root3, {
1916
1805
  ...props,
1917
1806
  className: tx("toast.title", "toast__title", {}, classNames),
1918
1807
  ref: forwardedRef
1919
1808
  });
1920
1809
  });
1921
- var ToastDescription = /* @__PURE__ */ forwardRef23(({ asChild, classNames, ...props }, forwardedRef) => {
1810
+ var ToastDescription = /* @__PURE__ */ forwardRef22(({ asChild, classNames, ...props }, forwardedRef) => {
1922
1811
  const { tx } = useThemeContext();
1923
1812
  const Root3 = asChild ? Slot12 : ToastDescriptionPrimitive;
1924
- return /* @__PURE__ */ React27.createElement(Root3, {
1813
+ return /* @__PURE__ */ React26.createElement(Root3, {
1925
1814
  ...props,
1926
1815
  className: tx("toast.description", "toast__description", {}, classNames),
1927
1816
  ref: forwardedRef
1928
1817
  });
1929
1818
  });
1930
- var ToastActions = /* @__PURE__ */ forwardRef23(({ asChild, classNames, ...props }, forwardedRef) => {
1819
+ var ToastActions = /* @__PURE__ */ forwardRef22(({ asChild, classNames, ...props }, forwardedRef) => {
1931
1820
  const { tx } = useThemeContext();
1932
1821
  const Root3 = asChild ? Slot12 : Primitive11.div;
1933
- return /* @__PURE__ */ React27.createElement(Root3, {
1822
+ return /* @__PURE__ */ React26.createElement(Root3, {
1934
1823
  ...props,
1935
1824
  className: tx("toast.actions", "toast__actions", {}, classNames),
1936
1825
  ref: forwardedRef
@@ -1952,46 +1841,46 @@ var Toast = {
1952
1841
 
1953
1842
  // packages/ui/react-ui/src/components/Toolbar/Toolbar.tsx
1954
1843
  import * as ToolbarPrimitive from "@radix-ui/react-toolbar";
1955
- import React28, { forwardRef as forwardRef24 } from "react";
1956
- var ToolbarRoot = /* @__PURE__ */ forwardRef24(({ classNames, children, ...props }, forwardedRef) => {
1844
+ import React27, { forwardRef as forwardRef23 } from "react";
1845
+ var ToolbarRoot = /* @__PURE__ */ forwardRef23(({ classNames, children, ...props }, forwardedRef) => {
1957
1846
  const { tx } = useThemeContext();
1958
- return /* @__PURE__ */ React28.createElement(ToolbarPrimitive.Root, {
1847
+ return /* @__PURE__ */ React27.createElement(ToolbarPrimitive.Root, {
1959
1848
  ...props,
1960
1849
  className: tx("toolbar.root", "toolbar", {}, classNames),
1961
1850
  ref: forwardedRef
1962
1851
  }, children);
1963
1852
  });
1964
- var ToolbarButton = /* @__PURE__ */ forwardRef24((props, forwardedRef) => {
1965
- return /* @__PURE__ */ React28.createElement(ToolbarPrimitive.Button, {
1853
+ var ToolbarButton = /* @__PURE__ */ forwardRef23((props, forwardedRef) => {
1854
+ return /* @__PURE__ */ React27.createElement(ToolbarPrimitive.Button, {
1966
1855
  asChild: true
1967
- }, /* @__PURE__ */ React28.createElement(Button, {
1856
+ }, /* @__PURE__ */ React27.createElement(Button, {
1968
1857
  ...props,
1969
1858
  ref: forwardedRef
1970
1859
  }));
1971
1860
  });
1972
- var ToolbarLink = /* @__PURE__ */ forwardRef24((props, forwardedRef) => {
1973
- return /* @__PURE__ */ React28.createElement(ToolbarPrimitive.Link, {
1861
+ var ToolbarLink = /* @__PURE__ */ forwardRef23((props, forwardedRef) => {
1862
+ return /* @__PURE__ */ React27.createElement(ToolbarPrimitive.Link, {
1974
1863
  asChild: true
1975
- }, /* @__PURE__ */ React28.createElement(Link, {
1864
+ }, /* @__PURE__ */ React27.createElement(Link, {
1976
1865
  ...props,
1977
1866
  ref: forwardedRef
1978
1867
  }));
1979
1868
  });
1980
- var ToolbarToggleGroup2 = /* @__PURE__ */ forwardRef24(({ classNames, children, ...props }, forwardedRef) => {
1981
- return /* @__PURE__ */ React28.createElement(ToolbarPrimitive.ToolbarToggleGroup, {
1869
+ var ToolbarToggleGroup2 = /* @__PURE__ */ forwardRef23(({ classNames, children, ...props }, forwardedRef) => {
1870
+ return /* @__PURE__ */ React27.createElement(ToolbarPrimitive.ToolbarToggleGroup, {
1982
1871
  ...props,
1983
1872
  asChild: true
1984
- }, /* @__PURE__ */ React28.createElement(ButtonGroup, {
1873
+ }, /* @__PURE__ */ React27.createElement(ButtonGroup, {
1985
1874
  classNames,
1986
1875
  children,
1987
1876
  ref: forwardedRef
1988
1877
  }));
1989
1878
  });
1990
- var ToolbarToggleGroupItem = /* @__PURE__ */ forwardRef24(({ variant, density, elevation, classNames, children, ...props }, forwardedRef) => {
1991
- return /* @__PURE__ */ React28.createElement(ToolbarPrimitive.ToolbarToggleItem, {
1879
+ var ToolbarToggleGroupItem = /* @__PURE__ */ forwardRef23(({ variant, density, elevation, classNames, children, ...props }, forwardedRef) => {
1880
+ return /* @__PURE__ */ React27.createElement(ToolbarPrimitive.ToolbarToggleItem, {
1992
1881
  ...props,
1993
1882
  asChild: true
1994
- }, /* @__PURE__ */ React28.createElement(Button, {
1883
+ }, /* @__PURE__ */ React27.createElement(Button, {
1995
1884
  variant,
1996
1885
  density,
1997
1886
  elevation,
@@ -2001,9 +1890,9 @@ var ToolbarToggleGroupItem = /* @__PURE__ */ forwardRef24(({ variant, density, e
2001
1890
  }));
2002
1891
  });
2003
1892
  var ToolbarSeparator = (props) => {
2004
- return /* @__PURE__ */ React28.createElement(ToolbarPrimitive.Separator, {
1893
+ return /* @__PURE__ */ React27.createElement(ToolbarPrimitive.Separator, {
2005
1894
  asChild: true
2006
- }, /* @__PURE__ */ React28.createElement(Separator2, {
1895
+ }, /* @__PURE__ */ React27.createElement(Separator2, {
2007
1896
  orientation: "vertical",
2008
1897
  ...props
2009
1898
  }));
@@ -2019,22 +1908,22 @@ var Toolbar = {
2019
1908
 
2020
1909
  // packages/ui/react-ui/src/components/Tooltip/Tooltip.tsx
2021
1910
  import { Provider as TooltipProviderPrimitive, Root as TooltipRootPrimitive, TooltipContent as TooltipContentPrimitive, TooltipTrigger as TooltipTriggerPrimitive, TooltipPortal as TooltipPortalPrimitive, TooltipArrow as TooltipArrowPrimitive } from "@radix-ui/react-tooltip";
2022
- import React29, { forwardRef as forwardRef25 } from "react";
1911
+ import React28, { forwardRef as forwardRef24 } from "react";
2023
1912
  var TooltipProvider = TooltipProviderPrimitive;
2024
1913
  var TooltipRoot = TooltipRootPrimitive;
2025
1914
  var TooltipPortal = TooltipPortalPrimitive;
2026
1915
  var TooltipTrigger = TooltipTriggerPrimitive;
2027
- var TooltipArrow = /* @__PURE__ */ forwardRef25(({ classNames, ...props }, forwardedRef) => {
1916
+ var TooltipArrow = /* @__PURE__ */ forwardRef24(({ classNames, ...props }, forwardedRef) => {
2028
1917
  const { tx } = useThemeContext();
2029
- return /* @__PURE__ */ React29.createElement(TooltipArrowPrimitive, {
1918
+ return /* @__PURE__ */ React28.createElement(TooltipArrowPrimitive, {
2030
1919
  ...props,
2031
1920
  className: tx("tooltip.arrow", "tooltip__arrow", {}, classNames),
2032
1921
  ref: forwardedRef
2033
1922
  });
2034
1923
  });
2035
- var TooltipContent = /* @__PURE__ */ forwardRef25(({ classNames, ...props }, forwardedRef) => {
1924
+ var TooltipContent = /* @__PURE__ */ forwardRef24(({ classNames, ...props }, forwardedRef) => {
2036
1925
  const { tx } = useThemeContext();
2037
- return /* @__PURE__ */ React29.createElement(TooltipContentPrimitive, {
1926
+ return /* @__PURE__ */ React28.createElement(TooltipContentPrimitive, {
2038
1927
  sideOffset: 4,
2039
1928
  collisionPadding: 8,
2040
1929
  ...props,
@@ -2053,7 +1942,7 @@ var Tooltip = {
2053
1942
 
2054
1943
  // packages/ui/react-ui/src/components/ThemeProvider/ThemeProvider.tsx
2055
1944
  import { createKeyborg } from "keyborg";
2056
- import React30, { createContext as createContext10, useEffect as useEffect4 } from "react";
1945
+ import React29, { createContext as createContext10, useEffect as useEffect4 } from "react";
2057
1946
 
2058
1947
  // packages/ui/react-ui/src/util/hasIosKeyboard.ts
2059
1948
  var hasIosKeyboard = () => {
@@ -2081,19 +1970,19 @@ var ThemeProvider = ({ children, fallback = null, resourceExtensions, appNs, tx
2081
1970
  return () => kb.unsubscribe(handleInputModalityChange);
2082
1971
  }
2083
1972
  }, []);
2084
- return /* @__PURE__ */ React30.createElement(ThemeContext.Provider, {
1973
+ return /* @__PURE__ */ React29.createElement(ThemeContext.Provider, {
2085
1974
  value: {
2086
1975
  tx,
2087
1976
  themeMode,
2088
1977
  hasIosKeyboard: hasIosKeyboard()
2089
1978
  }
2090
- }, /* @__PURE__ */ React30.createElement(TranslationsProvider, {
1979
+ }, /* @__PURE__ */ React29.createElement(TranslationsProvider, {
2091
1980
  fallback,
2092
1981
  resourceExtensions,
2093
1982
  appNs
2094
- }, /* @__PURE__ */ React30.createElement(ElevationProvider, {
1983
+ }, /* @__PURE__ */ React29.createElement(ElevationProvider, {
2095
1984
  elevation: rootElevation
2096
- }, /* @__PURE__ */ React30.createElement(DensityProvider, {
1985
+ }, /* @__PURE__ */ React29.createElement(DensityProvider, {
2097
1986
  density: rootDensity
2098
1987
  }, children))));
2099
1988
  };
@@ -2107,11 +1996,6 @@ export {
2107
1996
  Breadcrumb,
2108
1997
  Button,
2109
1998
  ButtonGroup,
2110
- Card,
2111
- CardBody,
2112
- CardHeader,
2113
- CardMedia,
2114
- CardTitle,
2115
1999
  DensityContext,
2116
2000
  DensityProvider,
2117
2001
  Dialog,