@ai-matrx/design-system 0.14.2 → 0.14.3
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/CHANGELOG.md +11 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -552,10 +552,9 @@ interface ConfirmDialogProps {
|
|
|
552
552
|
*/
|
|
553
553
|
description?: React.ReactNode | undefined;
|
|
554
554
|
/**
|
|
555
|
-
* Rich body rendered between the header and the footer
|
|
556
|
-
*
|
|
557
|
-
*
|
|
558
|
-
* `description`.
|
|
555
|
+
* Rich body rendered between the header and the footer. Use it for
|
|
556
|
+
* supplementary or interactive content that is not part of the dialog's
|
|
557
|
+
* accessible consequence description.
|
|
559
558
|
*/
|
|
560
559
|
content?: React.ReactNode | undefined;
|
|
561
560
|
/** Extra classes for the dialog content (e.g. a wider max-w for diffs). */
|
package/dist/index.d.ts
CHANGED
|
@@ -552,10 +552,9 @@ interface ConfirmDialogProps {
|
|
|
552
552
|
*/
|
|
553
553
|
description?: React.ReactNode | undefined;
|
|
554
554
|
/**
|
|
555
|
-
* Rich body rendered between the header and the footer
|
|
556
|
-
*
|
|
557
|
-
*
|
|
558
|
-
* `description`.
|
|
555
|
+
* Rich body rendered between the header and the footer. Use it for
|
|
556
|
+
* supplementary or interactive content that is not part of the dialog's
|
|
557
|
+
* accessible consequence description.
|
|
559
558
|
*/
|
|
560
559
|
content?: React.ReactNode | undefined;
|
|
561
560
|
/** Extra classes for the dialog content (e.g. a wider max-w for diffs). */
|
package/dist/index.js
CHANGED
|
@@ -1361,7 +1361,7 @@ function ConfirmDialog({
|
|
|
1361
1361
|
children: [
|
|
1362
1362
|
/* @__PURE__ */ jsxs7(AlertDialogHeader, { children: [
|
|
1363
1363
|
/* @__PURE__ */ jsx16(AlertDialogTitle, { children: title }),
|
|
1364
|
-
description ? /* @__PURE__ */ jsx16(AlertDialogDescription, { children: description }) : null
|
|
1364
|
+
description ? /* @__PURE__ */ jsx16(AlertDialogDescription, { asChild: true, children: /* @__PURE__ */ jsx16("div", { children: description }) }) : null
|
|
1365
1365
|
] }),
|
|
1366
1366
|
content ?? null,
|
|
1367
1367
|
/* @__PURE__ */ jsxs7(AlertDialogFooter, { children: [
|