@dxos/react-ui 0.3.3-main.a269dfc → 0.3.3-main.c7ecd15

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,