@ai-matrx/design-system 0.5.1 → 0.5.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +26 -5
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,10 +1,31 @@
1
1
  # Changelog
2
2
 
3
- ## 0.5.1
3
+ ## 0.5.2 — 2026-09-07
4
+
5
+ Two real source corrections, found by adopting 0.5.0 in the first two consumers
6
+ before any of them shipped it.
7
+
8
+ (0.5.1 is an automatic changed-only republish tag the release automation cut
9
+ between these two commits; it carries 0.5.0's source with no source change. Go
10
+ straight to 0.5.2.)
11
+
12
+ - **`useIsMobile` no longer crashes where `matchMedia` is absent.** Older jsdom
13
+ setups and some embedded webviews do not provide it, and `Dialog` reads the
14
+ hook — so adopting 0.5.0 took down 38 of workflow-studio's tests over a
15
+ breakpoint. The width read still gives a correct first answer; only live
16
+ resize tracking is lost, which is exactly what is unavailable. A primitive
17
+ must never cost a host its whole suite (or its screen) for an optional
18
+ capability.
19
+ - **`Checkbox` and `Table` now default to `md`** — the stock 16px control and
20
+ `p-3` cells, which every host except matrx-frontend already used. The 0.5.0
21
+ defaults would have made three consumers bind a size just to stand still.
22
+ matrx-frontend is dense on purpose and binds `sm` in its own shim.
4
23
 
5
- Automatic changed-only republish (docs/metadata drift since the last tag — see
6
- `git diff npm/design-system/v0.5.0..npm/design-system/v0.5.1 -- apps/shared/design-system`).
7
- No source changes intended and no consumer action required.
24
+ ### Consumer action (C28)
25
+
26
+ None beyond installing 0.5.2 (0.5.1 was an automatic republish tag cut between these two commits; it carries the 0.5.0 source). If you pinned `Checkbox size="sm"` or
27
+ `Table size="sm"` to match 0.5.0's defaults, drop it unless you actually want
28
+ the dense variant.
8
29
 
9
30
  ## 0.5.0 — 2026-09-07
10
31
 
@@ -114,7 +135,7 @@ copy of something this version now ships:
114
135
  carrying that app's own visual language; they are DEFERRED, not forgotten —
115
136
  see FEATURE.md § Deferred.
116
137
  - **aidream/apps/dashboard** — `src/components/ui/{avatar,card,checkbox,context-menu,dialog,dropdown-menu,scroll-area,switch,table,tabs,textarea}.tsx`.
117
- Pass `Card size="lg"` and `Table size="md"` to keep this app's density.
138
+ Bind `Card size="lg"` to keep this app's density (Table defaults to md as of 0.5.1).
118
139
  - **aidream/apps/workflow-studio** — `src/components/ui/{dialog,dropdown-menu,scroll-area,switch,tabs,textarea}.tsx`.
119
140
  Its ScrollArea viewport hack becomes `viewportClassName="[&>div]:!block [&>div]:min-w-0"`.
120
141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/design-system",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "AI Matrx semantic React primitives shared across Vite, Next.js, desktop, and customer-built applications.",
5
5
  "type": "module",
6
6
  "license": "MIT",