@danxbot/ui 15.33.2 → 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 +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
{
|
|
@@ -46580,6 +46580,12 @@ const tX = [
|
|
|
46580
46580
|
preferInstead: ["Markdown"],
|
|
46581
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."
|
|
46582
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
|
+
},
|
|
46583
46589
|
{
|
|
46584
46590
|
id: "role-menu",
|
|
46585
46591
|
pattern: /role\s*=\s*["']menu["']/,
|
|
@@ -48283,7 +48289,7 @@ function pX({ onSwitchTeam: e, className: t }) {
|
|
|
48283
48289
|
]
|
|
48284
48290
|
}
|
|
48285
48291
|
),
|
|
48286
|
-
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: [
|
|
48287
48293
|
/* @__PURE__ */ d("span", { className: B(vG, "px-1.5 pt-1 pb-1.5"), children: "Switch team" }),
|
|
48288
48294
|
r.map((i) => /* @__PURE__ */ d(Ko, { children: /* @__PURE__ */ M(
|
|
48289
48295
|
"button",
|