@danxbot/ui 3.2.0 → 3.2.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 +19 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -28563,7 +28563,12 @@ function G3({
|
|
|
28563
28563
|
"aria-label": e,
|
|
28564
28564
|
className: q(
|
|
28565
28565
|
"flex min-w-0",
|
|
28566
|
-
|
|
28566
|
+
/* `relative` pairs with `overflow-x-auto`: each step's status carries
|
|
28567
|
+
an `sr-only` span, which is `position: absolute`, and an
|
|
28568
|
+
unpositioned scroller is not in its containing-block chain — so
|
|
28569
|
+
the strip would not clip it and its width would reach the
|
|
28570
|
+
document. See `scripts/probe-containment.mjs`. */
|
|
28571
|
+
x ? "flex-col gap-1" : "relative flex-row items-center gap-3 overflow-x-auto"
|
|
28567
28572
|
),
|
|
28568
28573
|
children: t.map((v, w) => {
|
|
28569
28574
|
const y = SD(t, n, w), C = ND[y], S = r !== void 0 && w < n, R = /* @__PURE__ */ M(ut, { children: [
|
|
@@ -41928,7 +41933,11 @@ function l5(e) {
|
|
|
41928
41933
|
}
|
|
41929
41934
|
const c5 = Rt({
|
|
41930
41935
|
slots: {
|
|
41931
|
-
|
|
41936
|
+
/* `relative` is what makes `overflow-hidden` true for the grid's
|
|
41937
|
+
out-of-flow contents — the live-region announcements are `sr-only`,
|
|
41938
|
+
which is `position: absolute`, and an unpositioned clipper is not in
|
|
41939
|
+
their containing-block chain. See `scripts/probe-containment.mjs`. */
|
|
41940
|
+
root: "relative flex min-w-0 flex-col overflow-hidden rounded-xl border border-border bg-surface",
|
|
41932
41941
|
header: "flex shrink-0 flex-col border-b border-border-subtle bg-surface",
|
|
41933
41942
|
headerRow: "flex",
|
|
41934
41943
|
gutter: "shrink-0 border-r border-border-subtle",
|
|
@@ -42668,7 +42677,7 @@ function C5(e) {
|
|
|
42668
42677
|
}
|
|
42669
42678
|
function S5({ roles: e, permissions: t }) {
|
|
42670
42679
|
const n = it(() => C5(t), [t]), r = e.length + 1;
|
|
42671
|
-
return /* @__PURE__ */ p("div", { className: "w-full min-w-0 overflow-auto overscroll-x-contain rounded-xl border border-border bg-surface shadow-sm", children: /* @__PURE__ */ M("table", { className: "w-full border-collapse text-left", children: [
|
|
42680
|
+
return /* @__PURE__ */ p("div", { className: "relative w-full min-w-0 overflow-auto overscroll-x-contain rounded-xl border border-border bg-surface shadow-sm", children: /* @__PURE__ */ M("table", { className: "w-full border-collapse text-left", children: [
|
|
42672
42681
|
/* @__PURE__ */ p("caption", { className: "sr-only", children: "Which permissions each role has" }),
|
|
42673
42682
|
/* @__PURE__ */ p("thead", { className: "sticky top-0 z-10", children: /* @__PURE__ */ M("tr", { children: [
|
|
42674
42683
|
/* @__PURE__ */ p(
|
|
@@ -44166,7 +44175,13 @@ function L4({
|
|
|
44166
44175
|
"div",
|
|
44167
44176
|
{
|
|
44168
44177
|
className: q(
|
|
44169
|
-
|
|
44178
|
+
/* `relative` is what makes `overflow-hidden` true for the canvas's
|
|
44179
|
+
out-of-flow contents. The "showing X, level N" announcement is
|
|
44180
|
+
`sr-only` — `position: absolute` — and an unpositioned clipper is
|
|
44181
|
+
not in its containing-block chain, so it would sit at the canvas's
|
|
44182
|
+
full scroll width and push the document out. See
|
|
44183
|
+
`scripts/probe-containment.mjs`. */
|
|
44184
|
+
"relative flex min-w-0 flex-col overflow-hidden rounded-xl border border-border bg-surface",
|
|
44170
44185
|
m
|
|
44171
44186
|
),
|
|
44172
44187
|
children: [
|