@danxbot/ui 26.5.1 → 26.5.2
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 +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28498,6 +28498,9 @@ const OR = ht({
|
|
|
28498
28498
|
instead of 12px everywhere else. The wrapper carries the group's vertical
|
|
28499
28499
|
rhythm (cancelled at the two ends the divider does not need) so a child's
|
|
28500
28500
|
own box keeps its own padding. */
|
|
28501
|
+
/* `Children.toArray` first: it drops `false`/`null` (a conditional child), which
|
|
28502
|
+
`Children.map` would hand to the callback and wrap as an empty, padded,
|
|
28503
|
+
divided item. */
|
|
28501
28504
|
item: "min-w-0 py-4 first:pt-0 last:pb-0"
|
|
28502
28505
|
},
|
|
28503
28506
|
variants: {
|
|
@@ -28581,7 +28584,7 @@ function Yee({
|
|
|
28581
28584
|
const i = OR();
|
|
28582
28585
|
return /* @__PURE__ */ M(bf, { className: o, children: [
|
|
28583
28586
|
/* @__PURE__ */ u(TR, { title: e, description: t, titleAs: n }),
|
|
28584
|
-
/* @__PURE__ */ u("div", { className: i.rows(), children: Dk.map(
|
|
28587
|
+
/* @__PURE__ */ u("div", { className: i.rows(), children: Dk.toArray(s).map((a, l) => /* @__PURE__ */ u("div", { className: i.item(), "data-slot": "setting-group-item", children: a }, l)) }),
|
|
28585
28588
|
r && /* @__PURE__ */ u(PR, { children: r })
|
|
28586
28589
|
] });
|
|
28587
28590
|
}
|