@ai-matrx/design-system 0.12.0 → 0.12.1
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 +15 -0
- package/README.md +2 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/styles.css +16 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.12.1 — 2026-09-09
|
|
4
|
+
|
|
5
|
+
Dialog, AlertDialog, Drawer, Sheet, and BottomSheet footer actions now carry a
|
|
6
|
+
44px minimum touch height on coarse pointers and viewports below 1024px. Named
|
|
7
|
+
icon actions also receive a 44px minimum width. Portaled footers cannot inherit
|
|
8
|
+
a host page's touch-target subtree, which left default buttons at 36px in the
|
|
9
|
+
Accounts message dialog. The structural stylesheet owns this floor, including
|
|
10
|
+
nested action wrappers; fine-pointer desktop density, compact state controls,
|
|
11
|
+
prose links, and explicit `data-touch-exempt` controls retain their sizing.
|
|
12
|
+
|
|
13
|
+
### Consumer action
|
|
14
|
+
|
|
15
|
+
Update the package and retain the existing `@ai-matrx/design-system/styles.css`
|
|
16
|
+
import. No call-site changes are required.
|
|
17
|
+
|
|
3
18
|
## 0.12.0 — 2026-09-08
|
|
4
19
|
|
|
5
20
|
### `OrganizationPicker` — the ONE "which organization am I acting in" control
|
package/README.md
CHANGED
|
@@ -27,6 +27,8 @@ if (!(await confirm({
|
|
|
27
27
|
|
|
28
28
|
Use the declarative `<ConfirmDialog open … busy />` inline instead when the dialog must stay open with a spinner while async work finishes. Name the consequence: a confirmation that says only "Are you sure?" does not satisfy the platform's destructive-and-expensive-actions law.
|
|
29
29
|
|
|
30
|
+
**Footer actions stay touch-sized through portals.** Dialog, AlertDialog, Drawer, Sheet, and BottomSheet footers apply a 44px action floor on coarse pointers or below 1024px. Import the package stylesheet; no host subtree class is required. Fine-pointer desktop keeps its declared density. State controls and prose links retain their sizing; exceptional compact actions can use `data-touch-exempt` with a call-site reason.
|
|
31
|
+
|
|
30
32
|
**The Tooltip lives here, and only here.** `@ai-matrx/tap-target` used to ship its own copy; since design-system 0.7.0 / tap-target 0.2.0 it consumes this one and re-exports nothing.
|
|
31
33
|
|
|
32
34
|
Where hosts had forked a primitive over DENSITY, density is a prop, not a fork: `Card size="sm|md|lg"`, `Table size="sm|md"`, `Accordion size="sm|md"`, `Switch`/`Avatar`/`Checkbox`/`Slider`/`RadioGroup`/`Toggle` `size`, `ResizableHandle size="xs".."4xl"`. It is declared once on the root and every item reads it from context, so a card cannot mix paddings and a radio group cannot mix control sizes.
|
package/dist/index.cjs
CHANGED
|
@@ -815,6 +815,7 @@ function BottomSheetFooter({
|
|
|
815
815
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
816
816
|
"div",
|
|
817
817
|
{
|
|
818
|
+
"data-slot": "bottom-sheet-footer",
|
|
818
819
|
className: cn(
|
|
819
820
|
"flex-shrink-0 px-4 py-3 pb-safe border-t border-[var(--matrx-sheet-divider)]",
|
|
820
821
|
className
|
|
@@ -3443,6 +3444,7 @@ var SheetFooter = ({
|
|
|
3443
3444
|
}) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
3444
3445
|
"div",
|
|
3445
3446
|
{
|
|
3447
|
+
"data-slot": "sheet-footer",
|
|
3446
3448
|
className: cn(
|
|
3447
3449
|
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
3448
3450
|
className
|