@ai-matrx/design-system 0.14.1 → 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 +25 -0
- package/dist/index.cjs +4 -4
- 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 +4 -4
- 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: [
|
|
@@ -1920,9 +1920,9 @@ var DialogContentPrimitive = React17.forwardRef((props, ref) => {
|
|
|
1920
1920
|
);
|
|
1921
1921
|
});
|
|
1922
1922
|
DialogContentPrimitive.displayName = "DialogContentPrimitive";
|
|
1923
|
-
var DIALOG_DESKTOP_CLASSES2 =
|
|
1924
|
-
var DIALOG_MOBILE_SHEET_CLASSES2 = "matrx-mobile-sheet matrx-dialog-card fixed inset-x-0 bottom-0 left-0 right-0 top-auto z-[10000] flex min-w-0 flex-col w-full max-w-full max-h-[90dvh]
|
|
1925
|
-
var DIALOG_MOBILE_SHEET_OVERRIDE2 = "inset-x-0 bottom-0 left-0 right-0 top-auto translate-
|
|
1923
|
+
var DIALOG_DESKTOP_CLASSES2 = "matrx-dialog-card fixed inset-0 z-[10000] m-auto grid h-fit min-w-0 w-full max-w-lg gap-4 max-h-[85dvh] overflow-y-auto overscroll-contain [--dialog-pad:1.5rem] overflow-x-clip border bg-background p-6 shadow-lg [overflow-wrap:anywhere] [&>*]:min-w-0 [&>*]:max-w-full sm:rounded-lg";
|
|
1924
|
+
var DIALOG_MOBILE_SHEET_CLASSES2 = "matrx-mobile-sheet matrx-dialog-card fixed inset-x-0 bottom-0 left-0 right-0 top-auto z-[10000] flex min-w-0 flex-col w-full max-w-full max-h-[90dvh] gap-4 [--dialog-pad:1rem] overflow-x-clip border-t bg-background p-4 pb-safe shadow-lg [overflow-wrap:anywhere] [&>*]:min-w-0 [&>*]:max-w-full rounded-t-2xl rounded-b-none overflow-y-auto overscroll-contain";
|
|
1925
|
+
var DIALOG_MOBILE_SHEET_OVERRIDE2 = "inset-x-0 bottom-0 left-0 right-0 top-auto translate-none w-full max-w-full max-h-[90dvh] rounded-b-none rounded-t-2xl overflow-y-auto";
|
|
1926
1926
|
var DialogContent = React17.forwardRef(
|
|
1927
1927
|
({
|
|
1928
1928
|
className,
|