@danxbot/ui 26.4.0 → 26.5.0
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 +6 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19390,9 +19390,9 @@ function Ko({
|
|
|
19390
19390
|
children: d,
|
|
19391
19391
|
ref: f
|
|
19392
19392
|
}) {
|
|
19393
|
-
const p = FE({ size: l }), h = pe().dialog, m = l === "full" ? "xs" : "sm", g = $E(t), v = LE(t, n), [b, x] = re(null), y = Ne(
|
|
19394
|
-
(
|
|
19395
|
-
x(
|
|
19393
|
+
const p = FE({ size: l }), h = pe().dialog, m = l === "full" ? "xs" : "sm", g = $E(t), v = LE(t, n), [b, x] = re(null), y = be(null), w = () => a ? b : y.current?.querySelector("[data-autofocus]") ?? !0, S = Ne(
|
|
19394
|
+
(C) => {
|
|
19395
|
+
y.current = C, x(C), typeof f == "function" ? f(C) : f && (f.current = C);
|
|
19396
19396
|
},
|
|
19397
19397
|
[f]
|
|
19398
19398
|
);
|
|
@@ -19403,10 +19403,10 @@ function Ko({
|
|
|
19403
19403
|
/* @__PURE__ */ M(
|
|
19404
19404
|
xl,
|
|
19405
19405
|
{
|
|
19406
|
-
ref:
|
|
19406
|
+
ref: S,
|
|
19407
19407
|
className: B(p.popup(), c),
|
|
19408
19408
|
finalFocus: g,
|
|
19409
|
-
initialFocus:
|
|
19409
|
+
initialFocus: w,
|
|
19410
19410
|
children: [
|
|
19411
19411
|
/* @__PURE__ */ M("div", { className: p.header(), children: [
|
|
19412
19412
|
/* @__PURE__ */ M("div", { className: "min-w-0 flex-1 basis-40", children: [
|
|
@@ -36336,6 +36336,7 @@ function bte({
|
|
|
36336
36336
|
/* @__PURE__ */ u(
|
|
36337
36337
|
fI,
|
|
36338
36338
|
{
|
|
36339
|
+
"data-autofocus": r && l === 0 ? "" : void 0,
|
|
36339
36340
|
className: B(
|
|
36340
36341
|
"peer",
|
|
36341
36342
|
"grid h-control-md w-11 place-items-center rounded-md",
|