@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.3 — 2026-09-11
|
|
4
|
+
|
|
5
|
+
`ConfirmDialog` now renders its accessible description through Radix's
|
|
6
|
+
`asChild` slot on a semantic `<div>`. Callers can pass block-level consequence
|
|
7
|
+
content without nesting it inside the default paragraph element, while the
|
|
8
|
+
dialog keeps its `aria-describedby` relationship intact.
|
|
9
|
+
|
|
10
|
+
### Consumer action
|
|
11
|
+
|
|
12
|
+
Update the package. Existing `description` callers need no changes.
|
|
13
|
+
|
|
3
14
|
## 0.14.2 — 2026-09-11
|
|
4
15
|
|
|
5
16
|
`DialogContent` now centres its desktop card with `inset-0 m-auto h-fit`,
|
package/dist/index.cjs
CHANGED
|
@@ -1614,7 +1614,7 @@ function ConfirmDialog({
|
|
|
1614
1614
|
children: [
|
|
1615
1615
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(AlertDialogHeader, { children: [
|
|
1616
1616
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AlertDialogTitle, { children: title }),
|
|
1617
|
-
description ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AlertDialogDescription, { children: description }) : null
|
|
1617
|
+
description ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AlertDialogDescription, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { children: description }) }) : null
|
|
1618
1618
|
] }),
|
|
1619
1619
|
content ?? null,
|
|
1620
1620
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(AlertDialogFooter, { children: [
|