@ai-matrx/design-system 0.14.0 → 0.14.2
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 +20 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.2 — 2026-09-11
|
|
4
|
+
|
|
5
|
+
`DialogContent` now centres its desktop card with `inset-0 m-auto h-fit`,
|
|
6
|
+
not a non-zero `translate`. A nested Radix portal that explicitly targets
|
|
7
|
+
`useDialogContainer()` therefore remains a fixed, viewport-relative surface
|
|
8
|
+
and can paint beyond the card's required scroll/overflow boundary, while
|
|
9
|
+
staying inside the dialog's focus and scroll shard. The mobile override uses
|
|
10
|
+
`translate-none` for the same reason.
|
|
11
|
+
|
|
12
|
+
### Consumer action
|
|
13
|
+
|
|
14
|
+
Update the package and keep explicit `container={useDialogContainer()}` on
|
|
15
|
+
nested floating surfaces. No call-site change is required.
|
|
16
|
+
|
|
17
|
+
## 0.14.1
|
|
18
|
+
|
|
19
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
20
|
+
`git diff npm/design-system/v0.14.0..npm/design-system/v0.14.1 -- apps/shared/design-system`).
|
|
21
|
+
No source changes intended and no consumer action required.
|
|
22
|
+
|
|
3
23
|
## 0.14.0 — 2026-09-10
|
|
4
24
|
|
|
5
25
|
### `ArchivedDisclosure` — the card-list half of the ONE archive control
|
package/dist/index.cjs
CHANGED
|
@@ -2167,9 +2167,9 @@ var DialogContentPrimitive = React17.forwardRef((props, ref) => {
|
|
|
2167
2167
|
);
|
|
2168
2168
|
});
|
|
2169
2169
|
DialogContentPrimitive.displayName = "DialogContentPrimitive";
|
|
2170
|
-
var DIALOG_DESKTOP_CLASSES2 =
|
|
2171
|
-
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]
|
|
2172
|
-
var DIALOG_MOBILE_SHEET_OVERRIDE2 = "inset-x-0 bottom-0 left-0 right-0 top-auto translate-
|
|
2170
|
+
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";
|
|
2171
|
+
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";
|
|
2172
|
+
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";
|
|
2173
2173
|
var DialogContent = React17.forwardRef(
|
|
2174
2174
|
({
|
|
2175
2175
|
className,
|