@cerberus-design/react 0.10.4-next-6b8d314 → 0.10.4-next-82dd4b3
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/build/legacy/components/ModalHeader.cjs +2 -2
- package/build/legacy/components/ModalHeader.cjs.map +1 -1
- package/build/legacy/components/Radio.cjs +27 -14
- package/build/legacy/components/Radio.cjs.map +1 -1
- package/build/legacy/context/confirm-modal.cjs +2 -2
- package/build/legacy/context/confirm-modal.cjs.map +1 -1
- package/build/legacy/context/prompt-modal.cjs +26 -15
- package/build/legacy/context/prompt-modal.cjs.map +1 -1
- package/build/legacy/index.cjs +53 -29
- package/build/legacy/index.cjs.map +1 -1
- package/build/modern/{chunk-U56OV7EK.js → chunk-BADJ7VVO.js} +26 -15
- package/build/modern/{chunk-U56OV7EK.js.map → chunk-BADJ7VVO.js.map} +1 -1
- package/build/modern/chunk-FTPZHG6J.js +46 -0
- package/build/modern/{chunk-LJYCFFX7.js.map → chunk-FTPZHG6J.js.map} +1 -1
- package/build/modern/{chunk-WLEX22KS.js → chunk-ULYQLKWA.js} +3 -3
- package/build/modern/{chunk-WLEX22KS.js.map → chunk-ULYQLKWA.js.map} +1 -1
- package/build/modern/{chunk-K2QH37AW.js → chunk-XFKPALXB.js} +2 -2
- package/build/modern/components/ModalHeader.js +1 -1
- package/build/modern/components/Radio.js +1 -1
- package/build/modern/context/confirm-modal.js +2 -2
- package/build/modern/context/prompt-modal.js +2 -2
- package/build/modern/index.js +4 -4
- package/package.json +3 -3
- package/src/components/ModalHeader.tsx +2 -2
- package/src/components/Radio.tsx +10 -1
- package/src/context/prompt-modal.tsx +8 -1
- package/build/modern/chunk-LJYCFFX7.js +0 -33
- /package/build/modern/{chunk-K2QH37AW.js.map → chunk-XFKPALXB.js.map} +0 -0
package/build/legacy/index.cjs
CHANGED
|
@@ -1177,8 +1177,8 @@ function ModalHeader(props) {
|
|
|
1177
1177
|
props.className,
|
|
1178
1178
|
(0, import_patterns8.vstack)({
|
|
1179
1179
|
alignItems: "flex-start",
|
|
1180
|
-
gap: "
|
|
1181
|
-
mb: "
|
|
1180
|
+
gap: "md",
|
|
1181
|
+
mb: "md"
|
|
1182
1182
|
})
|
|
1183
1183
|
)
|
|
1184
1184
|
}
|
|
@@ -1562,20 +1562,33 @@ function Radio(props) {
|
|
|
1562
1562
|
const { children, size, ...nativeProps } = props;
|
|
1563
1563
|
const { invalid, ...state } = useFieldContext();
|
|
1564
1564
|
const styles = (0, import_recipes20.radio)({ size });
|
|
1565
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1565
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1566
|
+
"div",
|
|
1567
|
+
{
|
|
1568
|
+
className: (0, import_css26.cx)(
|
|
1569
|
+
"group",
|
|
1570
|
+
(0, import_patterns11.hstack)({
|
|
1571
|
+
gap: "sm"
|
|
1572
|
+
}),
|
|
1573
|
+
styles.root
|
|
1574
|
+
),
|
|
1575
|
+
tabIndex: 0,
|
|
1576
|
+
children: [
|
|
1577
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1578
|
+
"input",
|
|
1579
|
+
{
|
|
1580
|
+
...nativeProps,
|
|
1581
|
+
...state,
|
|
1582
|
+
...invalid && { "aria-invalid": true },
|
|
1583
|
+
className: (0, import_css26.cx)(nativeProps.className, styles.input),
|
|
1584
|
+
tabIndex: -1,
|
|
1585
|
+
type: "radio"
|
|
1586
|
+
}
|
|
1587
|
+
),
|
|
1588
|
+
children
|
|
1589
|
+
]
|
|
1590
|
+
}
|
|
1591
|
+
);
|
|
1579
1592
|
}
|
|
1580
1593
|
|
|
1581
1594
|
// src/components/Select.tsx
|
|
@@ -2521,19 +2534,30 @@ function PromptModal(props) {
|
|
|
2521
2534
|
mb: "8"
|
|
2522
2535
|
}),
|
|
2523
2536
|
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Field, { invalid: !isValid, children: [
|
|
2524
|
-
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
2538
|
+
Label,
|
|
2539
|
+
{
|
|
2540
|
+
className: (0, import_css41.css)({
|
|
2541
|
+
gap: 1,
|
|
2542
|
+
justifyContent: "flex-start"
|
|
2543
|
+
}),
|
|
2544
|
+
htmlFor: "confirm",
|
|
2545
|
+
size: "md",
|
|
2546
|
+
children: [
|
|
2547
|
+
"Type",
|
|
2548
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
2549
|
+
"strong",
|
|
2550
|
+
{
|
|
2551
|
+
className: (0, import_css41.css)({
|
|
2552
|
+
textTransform: "uppercase"
|
|
2553
|
+
}),
|
|
2554
|
+
children: content == null ? void 0 : content.key
|
|
2555
|
+
}
|
|
2556
|
+
),
|
|
2557
|
+
"to confirm"
|
|
2558
|
+
]
|
|
2559
|
+
}
|
|
2560
|
+
),
|
|
2537
2561
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
2538
2562
|
Input,
|
|
2539
2563
|
{
|