@embedreach/components 0.2.29 → 0.2.31

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.
@@ -96353,23 +96353,24 @@ const ExpandButton = ({ expandDialogContent }) => {
96353
96353
  DialogContent,
96354
96354
  {
96355
96355
  hideCloseButton: true,
96356
- className: "w-[80vw] h-[80vh] max-w-none max-h-none bg-transparent border-none",
96356
+ className: "w-[80vw] h-[80vh] max-h-none bg-transparent border-none max-w-screen-lg ",
96357
96357
  children: [
96358
96358
  /* @__PURE__ */ jsxs(VisuallyHidden$2, { children: [
96359
96359
  /* @__PURE__ */ jsx(DialogTitle, { children: "Expanded Preview" }),
96360
96360
  /* @__PURE__ */ jsx(DialogDescription, { children: "Expanded view of communication content" })
96361
96361
  ] }),
96362
96362
  /* @__PURE__ */ jsxs("div", { className: "h-full flex flex-col overflow-hidden rounded-xl", children: [
96363
- expandDialogContent,
96364
- /* @__PURE__ */ jsx("div", { className: "absolute top-7 right-7 z-10", children: /* @__PURE__ */ jsx(
96363
+ /* @__PURE__ */ jsx(
96365
96364
  Button$1,
96366
96365
  {
96367
- variant: "ghost",
96368
- size: "sm",
96366
+ "aria-label": "Close dialog",
96369
96367
  onClick: () => setExpandClicked(false),
96370
- children: /* @__PURE__ */ jsx(IconDefinitions.CloseButton, { className: "w-4 h-4 text-primary" })
96368
+ className: "absolute top-3 right-3 z-20 rounded-full p-2 bg-white/80 shadow-lg border border-gray-200 hover:bg-primary/90 hover:text-white active:bg-primary/95 transition-all duration-200 focus:outline-none focus:ring-4 focus:ring-primary/30 focus:ring-offset-2 group",
96369
+ style: { boxShadow: "0 4px 24px 0 rgba(0,0,0,0.10)" },
96370
+ children: /* @__PURE__ */ jsx(IconDefinitions.CloseButton, { className: "w-7 h-7 text-primary group-hover:text-primary-foreground group-active:text-primary-foreground transition-colors duration-200" })
96371
96371
  }
96372
- ) })
96372
+ ),
96373
+ expandDialogContent
96373
96374
  ] })
96374
96375
  ]
96375
96376
  }