@danxbot/ui 20.8.0 → 20.8.1

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.
package/dist/index.js CHANGED
@@ -17967,6 +17967,8 @@ const zS = pt({
17967
17967
  or description never runs underneath it — see the close button's own
17968
17968
  comment below for why it sits OUTSIDE this row instead of inside it. */
17969
17969
  header: "flex items-start gap-4 px-6 pr-12 pt-6",
17970
+ /* Pinned to the popup's corner (see the close button's own comment). */
17971
+ close: "absolute top-4 right-4",
17970
17972
  title: "font-display text-lg font-semibold text-primary text-balance",
17971
17973
  description: "mt-1.5 text-sm text-secondary text-pretty",
17972
17974
  /* The body scrolls, not the panel, so the header and footer stay put on a
@@ -18003,7 +18005,11 @@ const zS = pt({
18003
18005
  title turned into a column of two-letter lines. */
18004
18006
  title: "text-base truncate",
18005
18007
  description: "truncate",
18006
- body: "flex flex-col overflow-hidden p-0"
18008
+ body: "flex flex-col overflow-hidden p-0",
18009
+ /* DX-4533 — the bar is `pt-3` and its controls are `xs` (DX-4398), so the
18010
+ close button takes the same `xs` size at the same `top-3`: it lines up
18011
+ with the bar instead of sitting 8px below it at the default corner. */
18012
+ close: "top-3"
18007
18013
  }
18008
18014
  }
18009
18015
  },
@@ -18070,8 +18076,9 @@ function vs({
18070
18076
  {
18071
18077
  label: "Close",
18072
18078
  hideTooltip: !0,
18073
- icon: /* @__PURE__ */ u(ae, { name: "x", size: "sm" }),
18074
- className: "absolute top-4 right-4"
18079
+ size: c === "full" ? "xs" : "sm",
18080
+ icon: /* @__PURE__ */ u(ae, { name: "x", size: c === "full" ? "xs" : "sm" }),
18081
+ className: f.close()
18075
18082
  }
18076
18083
  )
18077
18084
  }