@ai-matrx/design-system 0.2.0 → 0.3.0
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 +49 -0
- package/dist/index.cjs +828 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +240 -10
- package/dist/index.d.ts +240 -10
- package/dist/index.js +823 -164
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0 — 2026-08-29
|
|
4
|
+
|
|
5
|
+
The second C18 growth wave: the three primitive families the associations
|
|
6
|
+
package's W4 faces are blocked on. Verbatim behavior ports from
|
|
7
|
+
matrx-frontend with only coupling seams inverted.
|
|
8
|
+
|
|
9
|
+
New components (origin file in matrx-frontend):
|
|
10
|
+
|
|
11
|
+
- `Command`, `CommandInput`, `CommandList`, `CommandItem`, `CommandGroup`,
|
|
12
|
+
`CommandEmpty`, `CommandSeparator`, `CommandShortcut`, `CommandDialog` —
|
|
13
|
+
`components/ui/command.tsx`. **`cmdk` is a sanctioned real dependency**
|
|
14
|
+
(the vaul ↔ BottomSheet precedent): its filtering/scoring/keyboard engine
|
|
15
|
+
IS the component's product; reimplementing it would twin a maintained
|
|
16
|
+
library. `CommandDialog` composed the host dialog module — those pieces
|
|
17
|
+
(modal context, overlay, desktop card / mobile bottom-sheet geometry,
|
|
18
|
+
close control) are inlined privately with identical behavior; the host's
|
|
19
|
+
popout-aware portal became the `PortalContainerProvider` seam plus an
|
|
20
|
+
explicit `container` prop; the host `useIsMobile` matchMedia hook (768px,
|
|
21
|
+
browser-generic) is inlined privately.
|
|
22
|
+
- `Select`, `SelectGroup`, `SelectValue`, `SelectTrigger`, `SelectContent`,
|
|
23
|
+
`SelectLabel`, `SelectItem`, `SelectSeparator`, `SelectScrollUpButton`,
|
|
24
|
+
`SelectScrollDownButton` (+ `selectTriggerVariants`, `SelectTriggerProps`)
|
|
25
|
+
— `components/ui/select.tsx`, with **`@radix-ui/react-select`** as a real
|
|
26
|
+
dependency (^2.3.1, the host's installed version). The host's
|
|
27
|
+
`useNestedPortalContainer` became the `PortalContainerProvider` seam;
|
|
28
|
+
the explicit `container` prop keeps top priority. The origin's dead
|
|
29
|
+
`CaretSortIcon` import was not carried along.
|
|
30
|
+
- `CreatablePicker` + `CreatableOption` / `CreatablePickerProps` /
|
|
31
|
+
`PickerIcon` — `components/ui/creatable-picker.tsx`, the P23 "every
|
|
32
|
+
picker takes new input" composite, ported complete (create flow,
|
|
33
|
+
`onCreateRequiresMore`, `createExtra` slot, P11 `lockedNote`/`lockedAction`,
|
|
34
|
+
the manage door, `footerActions`, `renderSelected`). It composes the
|
|
35
|
+
package's own Popover + Command; the host `LucideIcon` type became the
|
|
36
|
+
structural `PickerIcon`. It still never grows a write path of its own —
|
|
37
|
+
`onCreate` stays the caller's ONE canonical write path.
|
|
38
|
+
|
|
39
|
+
All icons the originals drew (radix `MagnifyingGlass`/`Check`/`ChevronUp`/
|
|
40
|
+
`ChevronDown`, lucide `check`/`chevrons-up-down`/`external-link`/`lock`/
|
|
41
|
+
`plus`/`x`) are shipped as package-inlined SVGs of the same glyphs (C19 —
|
|
42
|
+
no icon-library dependency, ever).
|
|
43
|
+
|
|
44
|
+
Tests: +18 (54 total) — cmdk filtering/keyboard-nav/disabled-skip,
|
|
45
|
+
CommandDialog modal + portal seam, Select pointer open/select + keyboard +
|
|
46
|
+
portal seam, CreatablePicker type-ahead/create/empty-add-guard/exact-match/
|
|
47
|
+
requires-more/P11-lock/doors, and SSR renders for all three families. The
|
|
48
|
+
tarball canary imports AND requires the new surface.
|
|
49
|
+
|
|
50
|
+
New dependencies: `cmdk` (^1.1.1), `@radix-ui/react-select` (^2.3.1).
|
|
51
|
+
|
|
3
52
|
## 0.2.0 — 2026-08-29
|
|
4
53
|
|
|
5
54
|
The associations-W4 growth wave (ruling C18: the faces' chrome comes from
|