@danxbot/ui 15.33.2 → 15.33.4
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 +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -30384,7 +30384,7 @@ function tY({ className: e, triggerClassName: t, iconOnly: n = !1 }) {
|
|
|
30384
30384
|
]
|
|
30385
30385
|
}
|
|
30386
30386
|
),
|
|
30387
|
-
children: /* @__PURE__ */ M("div", { className: "flex w-full min-w-0 flex-col gap-5", children: [
|
|
30387
|
+
children: /* @__PURE__ */ M("div", { "data-theme-menu-panel": "", className: "flex w-72 max-w-full min-w-0 flex-col gap-5", children: [
|
|
30388
30388
|
/* @__PURE__ */ M("div", { className: "flex flex-col gap-2.5", children: [
|
|
30389
30389
|
/* @__PURE__ */ d("span", { className: "text-2xs font-semibold tracking-widest text-tertiary uppercase", children: "Theme" }),
|
|
30390
30390
|
/* @__PURE__ */ d(
|
|
@@ -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",
|
|
@@ -48369,7 +48375,7 @@ function mX({ onOpenUseCaseLedger: e, showSimControls: t = !0 } = {}) {
|
|
|
48369
48375
|
]
|
|
48370
48376
|
}
|
|
48371
48377
|
),
|
|
48372
|
-
children: /* @__PURE__ */ M("div", { "data-dev-tools-panel": "", className: "flex w-full min-w-0 flex-col gap-4", children: [
|
|
48378
|
+
children: /* @__PURE__ */ M("div", { "data-dev-tools-panel": "", className: "flex w-72 max-w-full min-w-0 flex-col gap-4", children: [
|
|
48373
48379
|
/* @__PURE__ */ M("div", { className: "flex flex-col gap-2", children: [
|
|
48374
48380
|
/* @__PURE__ */ d("span", { className: "text-2xs font-semibold tracking-widest text-tertiary uppercase", children: "View as" }),
|
|
48375
48381
|
/* @__PURE__ */ d(
|