@upbound/monarch-blocks 0.9.0 → 0.10.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.
@@ -52,7 +52,8 @@ declare function RowActions({ align, children, contentClassName, }: {
52
52
  children: React$1.ReactNode;
53
53
  contentClassName?: string;
54
54
  }): React$1.JSX.Element;
55
- declare function RowActionItem({ disabled, className, tooltip, children, onClick, }: {
55
+ declare function RowActionItem({ variant, disabled, className, tooltip, children, onClick, }: {
56
+ variant?: 'default' | 'destructive';
56
57
  disabled?: boolean;
57
58
  className?: string;
58
59
  tooltip?: string;
@@ -603,13 +603,14 @@ function RowActions({
603
603
  ] });
604
604
  }
605
605
  function RowActionItem({
606
+ variant = "default",
606
607
  disabled,
607
608
  className,
608
609
  tooltip,
609
610
  children,
610
611
  onClick
611
612
  }) {
612
- const item = /* @__PURE__ */ jsx4(DropdownMenuItem2, { disabled, className, onClick, children });
613
+ const item = /* @__PURE__ */ jsx4(DropdownMenuItem2, { variant, disabled, className, onClick, children });
613
614
  if (!tooltip) return item;
614
615
  return /* @__PURE__ */ jsxs3(Tooltip, { children: [
615
616
  /* @__PURE__ */ jsx4(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx4("span", { className: "block", children: item }) }),