@dxos/react-ui 0.3.3-main.6b9536c → 0.3.3-main.6dfc6c0

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.
@@ -688,6 +688,19 @@ var CardDragHandle = ({ position, classNames, ...props }) => {
688
688
  className: tx("card.dragHandleIcon", "card")
689
689
  }));
690
690
  };
691
+ var CardEndcap = ({ Icon: Icon2, position, classNames, ...props }) => {
692
+ const { tx } = useThemeContext();
693
+ const density = useDensityContext();
694
+ return /* @__PURE__ */ React11.createElement("div", {
695
+ ...props,
696
+ className: tx("card.menu", "card", {
697
+ density,
698
+ position
699
+ }, classNames)
700
+ }, /* @__PURE__ */ React11.createElement(Icon2, {
701
+ className: tx("card.menuIcon", "card")
702
+ }));
703
+ };
691
704
  var CardMenu = /* @__PURE__ */ forwardRef9(({ children, position, classNames, ...props }, forwardRef1) => {
692
705
  const { tx } = useThemeContext();
693
706
  const density = useDensityContext();
@@ -731,6 +744,7 @@ var Card = {
731
744
  Root: CardRoot,
732
745
  Header: CardHeader,
733
746
  DragHandle: CardDragHandle,
747
+ Endcap: CardEndcap,
734
748
  Menu: CardMenu,
735
749
  Title: CardTitle,
736
750
  Body: CardBody,
@@ -1596,9 +1610,9 @@ var MainOverlay = /* @__PURE__ */ forwardRef16(({ classNames, ...props }, forwar
1596
1610
  });
1597
1611
  });
1598
1612
  var Main = {
1613
+ Root: MainRoot,
1599
1614
  Content: MainContent,
1600
1615
  Overlay: MainOverlay,
1601
- Root: MainRoot,
1602
1616
  NavigationSidebar: MainNavigationSidebar,
1603
1617
  ComplementarySidebar: MainComplementarySidebar
1604
1618
  };