@apipass/design-system 1.16.0 → 1.17.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/lib/embedded-styles.js +1 -1
- package/dist/lib/index.cjs +1 -1
- package/dist/lib/index.cjs.map +1 -1
- package/dist/lib/index.js +20 -10
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/style.css +1 -1
- package/dist/types/ui/primitives/Checkbox/Checkbox.d.ts +4 -2
- package/dist/types/ui/primitives/Radio/Radio.d.ts +4 -2
- package/package.json +1 -1
package/dist/lib/index.js
CHANGED
|
@@ -1509,15 +1509,20 @@ function es({
|
|
|
1509
1509
|
label: o,
|
|
1510
1510
|
description: n,
|
|
1511
1511
|
errorMessage: i,
|
|
1512
|
-
|
|
1512
|
+
inline: s,
|
|
1513
|
+
...c
|
|
1513
1514
|
}) {
|
|
1514
|
-
const
|
|
1515
|
-
|
|
1516
|
-
|
|
1515
|
+
const d = u(
|
|
1516
|
+
r,
|
|
1517
|
+
"checkbox-field",
|
|
1518
|
+
s && "checkbox-field--inline"
|
|
1519
|
+
), h = o || (typeof e == "string" ? e : void 0);
|
|
1520
|
+
return /* @__PURE__ */ t(Fe, { className: d, ...c, children: /* @__PURE__ */ l(d3, { children: [
|
|
1521
|
+
/* @__PURE__ */ t(r3, { children: h }),
|
|
1517
1522
|
/* @__PURE__ */ t(J6, {}),
|
|
1518
1523
|
n && /* @__PURE__ */ t(n3, { children: n }),
|
|
1519
1524
|
/* @__PURE__ */ t(L3, { children: i }),
|
|
1520
|
-
|
|
1525
|
+
h !== e && /* @__PURE__ */ t("span", { className: "label", children: e })
|
|
1521
1526
|
] }) });
|
|
1522
1527
|
}
|
|
1523
1528
|
function J6({ className: e, ...r }) {
|
|
@@ -2537,15 +2542,20 @@ function Es({
|
|
|
2537
2542
|
label: o,
|
|
2538
2543
|
description: n,
|
|
2539
2544
|
errorMessage: i,
|
|
2540
|
-
|
|
2545
|
+
inline: s,
|
|
2546
|
+
...c
|
|
2541
2547
|
}) {
|
|
2542
|
-
const
|
|
2543
|
-
|
|
2544
|
-
|
|
2548
|
+
const d = u(
|
|
2549
|
+
r,
|
|
2550
|
+
"radio-field",
|
|
2551
|
+
s && "radio-field--inline"
|
|
2552
|
+
), h = o || (typeof e == "string" ? e : void 0);
|
|
2553
|
+
return /* @__PURE__ */ t(ht, { className: d, ...c, children: /* @__PURE__ */ l(d3, { children: [
|
|
2554
|
+
/* @__PURE__ */ t(r3, { children: h }),
|
|
2545
2555
|
/* @__PURE__ */ t(Vo, {}),
|
|
2546
2556
|
n && /* @__PURE__ */ t(n3, { children: n }),
|
|
2547
2557
|
/* @__PURE__ */ t(L3, { children: i }),
|
|
2548
|
-
|
|
2558
|
+
h !== e && /* @__PURE__ */ t("span", { className: "label", children: e })
|
|
2549
2559
|
] }) });
|
|
2550
2560
|
}
|
|
2551
2561
|
function Vo({ className: e, ...r }) {
|