@danxbot/ui 15.33.1 → 15.33.3

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
@@ -37548,7 +37548,7 @@ function kH({
37548
37548
  ]
37549
37549
  }
37550
37550
  ),
37551
- children: /* @__PURE__ */ d("div", { className: "flex w-52 flex-col gap-0.5", children: t.map((u, p) => {
37551
+ children: /* @__PURE__ */ d("div", { className: "flex w-52 max-w-full min-w-0 flex-col gap-0.5", children: t.map((u, p) => {
37552
37552
  const f = u.refusal !== void 0, h = `${l}-${p}`, m = /* @__PURE__ */ M(
37553
37553
  "button",
37554
37554
  {
@@ -45407,14 +45407,15 @@ function Ej({
45407
45407
  /* Marker for the overlay and visual gates — same reason as the effort
45408
45408
  panel: the popup's own DOM has no selector a probe can name without
45409
45409
  depending on an implementation detail. */
45410
- /* DX-4067 — `w-72` was a fixed width INSIDE the clamped popup, the pattern DX-4061
45411
- fixed on DevToolsPopover: in the popup the panel tracks the width it resolved to
45412
- (`w-full min-w-0`); inline there is no popup to track, so it keeps its own width. */
45410
+ /* DX-4067 — a bare `w-72` is a fixed width inside the clamped popup (the pattern
45411
+ DX-4061 fixed on DevToolsPopover): `max-w-full` keeps the 18rem design width
45412
+ and never exceeds the width the popup resolved to (`w-full` would let a short
45413
+ panel collapse to its content, the popup being shrink-to-fit). */
45413
45414
  /* @__PURE__ */ M(
45414
45415
  "div",
45415
45416
  {
45416
45417
  "data-context-panel": "",
45417
- className: B("flex flex-col gap-3", s ? "w-72" : "w-full min-w-0", s && c),
45418
+ className: B("flex w-72 max-w-full min-w-0 flex-col gap-3", s && c),
45418
45419
  children: [
45419
45420
  /* @__PURE__ */ M("div", { className: "flex flex-col gap-1.5", children: [
45420
45421
  /* @__PURE__ */ M("div", { className: "flex items-baseline justify-between gap-3", children: [
@@ -46579,6 +46580,12 @@ const tX = [
46579
46580
  preferInstead: ["Markdown"],
46580
46581
  reason: "<pre> renders literal text; prose or a human-written document is markdown and should render through Markdown. Real code or log output is the one case <pre> still fits."
46581
46582
  },
46583
+ {
46584
+ id: "raw-clipboard-write",
46585
+ pattern: /navigator\.clipboard\.writeText\s*\(/,
46586
+ preferInstead: ["CopyValue", "copyText"],
46587
+ reason: "a raw navigator.clipboard.writeText is refused in some in-app browsers and has no outcome shown — CopyValue is a value with its one-click copy and an announced result; copyText is the same copy with the execCommand fallback when you need the act without the control."
46588
+ },
46582
46589
  {
46583
46590
  id: "role-menu",
46584
46591
  pattern: /role\s*=\s*["']menu["']/,
@@ -48181,7 +48188,7 @@ function fX({
48181
48188
  children: /* @__PURE__ */ d(ro, { name: l.name, src: l.avatarUrl, size: "sm" })
48182
48189
  }
48183
48190
  ),
48184
- children: /* @__PURE__ */ M("div", { "data-account-menu-panel": "", className: "flex w-full min-w-0 flex-col gap-1", children: [
48191
+ children: /* @__PURE__ */ M("div", { "data-account-menu-panel": "", className: "flex w-72 max-w-full min-w-0 flex-col gap-1", children: [
48185
48192
  /* @__PURE__ */ M("div", { className: "flex items-center gap-3 px-1 pb-3", children: [
48186
48193
  /* @__PURE__ */ d(ro, { name: l.name, src: l.avatarUrl, size: "md" }),
48187
48194
  /* @__PURE__ */ M("div", { className: "flex min-w-0 flex-col", children: [
@@ -48282,7 +48289,7 @@ function pX({ onSwitchTeam: e, className: t }) {
48282
48289
  ]
48283
48290
  }
48284
48291
  ),
48285
- children: /* @__PURE__ */ M("div", { className: "flex w-64 flex-col gap-0.5", children: [
48292
+ children: /* @__PURE__ */ M("div", { className: "flex w-64 max-w-full min-w-0 flex-col gap-0.5", children: [
48286
48293
  /* @__PURE__ */ d("span", { className: B(vG, "px-1.5 pt-1 pb-1.5"), children: "Switch team" }),
48287
48294
  r.map((i) => /* @__PURE__ */ d(Ko, { children: /* @__PURE__ */ M(
48288
48295
  "button",