@ai-matrx/design-system 0.11.5 → 0.11.6
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 +58 -0
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +13 -19
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -824,7 +824,7 @@ var AlertDialogContent = React7.forwardRef(({ className, children, container, an
|
|
|
824
824
|
// a sticky footer when there is one, so the footer's box matches the
|
|
825
825
|
// space the grid gave it and sticky never clamps it up over the
|
|
826
826
|
// consequence copy.
|
|
827
|
-
"max-h-[85dvh] overflow-y-auto overscroll-contain [--dialog-pad:1.5rem]
|
|
827
|
+
"max-h-[85dvh] overflow-y-auto overscroll-contain [--dialog-pad:1.5rem] overflow-x-clip [overflow-wrap:anywhere] [&>*]:min-w-0 [&>*]:max-w-full",
|
|
828
828
|
"sm:rounded-lg",
|
|
829
829
|
animated && MOTION_DIALOG,
|
|
830
830
|
className
|
|
@@ -879,7 +879,7 @@ var AlertDialogFooter = ({
|
|
|
879
879
|
// have to be unlayered to survive Tailwind preflight (§ THE PREFLIGHT
|
|
880
880
|
// RULE in styles.css) and would then override every caller's padding.
|
|
881
881
|
"sticky bottom-0 z-10 bg-background pt-3",
|
|
882
|
-
"mx-[calc(var(--dialog-pad,0px)*-1)] px-[var(--dialog-pad,0px)] pb-[var(--dialog-pad
|
|
882
|
+
"mx-[calc(var(--dialog-pad,0px)*-1)] px-[var(--dialog-pad,0px)] pb-[var(--dialog-pad,0px)]",
|
|
883
883
|
className
|
|
884
884
|
),
|
|
885
885
|
...props
|
|
@@ -1906,7 +1906,7 @@ var DialogContentPrimitive = React17.forwardRef((props, ref) => {
|
|
|
1906
1906
|
);
|
|
1907
1907
|
});
|
|
1908
1908
|
DialogContentPrimitive.displayName = "DialogContentPrimitive";
|
|
1909
|
-
var DIALOG_DESKTOP_CLASSES2 = `matrx-dialog-card fixed left-[50%] top-[50%] z-[10000] grid min-w-0 w-full max-w-lg ${CENTERED_DIALOG} gap-4 max-h-[85dvh] overflow-y-auto overscroll-contain [--dialog-pad:1.5rem]
|
|
1909
|
+
var DIALOG_DESKTOP_CLASSES2 = `matrx-dialog-card fixed left-[50%] top-[50%] z-[10000] grid min-w-0 w-full max-w-lg ${CENTERED_DIALOG} 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`;
|
|
1910
1910
|
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] translate-x-0 translate-y-0 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";
|
|
1911
1911
|
var DIALOG_MOBILE_SHEET_OVERRIDE2 = "inset-x-0 bottom-0 left-0 right-0 top-auto translate-x-0 translate-y-0 w-full max-w-full max-h-[90dvh] rounded-b-none rounded-t-2xl overflow-y-auto";
|
|
1912
1912
|
var DialogContent = React17.forwardRef(
|
|
@@ -2030,7 +2030,7 @@ var DialogFooter = ({
|
|
|
2030
2030
|
// have to be unlayered to survive Tailwind preflight (§ THE PREFLIGHT
|
|
2031
2031
|
// RULE in styles.css) and would then override every caller's padding.
|
|
2032
2032
|
"sticky bottom-0 z-10 bg-background pt-3",
|
|
2033
|
-
"mx-[calc(var(--dialog-pad,0px)*-1)] px-[var(--dialog-pad,0px)] pb-[var(--dialog-pad
|
|
2033
|
+
"mx-[calc(var(--dialog-pad,0px)*-1)] px-[var(--dialog-pad,0px)] pb-[var(--dialog-pad,0px)]",
|
|
2034
2034
|
className
|
|
2035
2035
|
),
|
|
2036
2036
|
...props
|