@uni-design-system/uni-mcp 4.7.1 → 4.7.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 +53 -0
- package/dist/{chunk-YLYBDQAV.js → chunk-MK73QVY4.js} +7582 -3627
- package/dist/chunk-MK73QVY4.js.map +1 -0
- package/dist/http.js +1 -1
- package/dist/server.js +1 -1
- package/dist/stdio.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-YLYBDQAV.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
# @uni-design-system/uni-mcp
|
|
2
2
|
|
|
3
|
+
## 4.7.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`67e17ea`](https://github.com/uni-design-system/uni/commit/67e17ea927e3ca24b7abecdcccf134d53ac3656b) Thanks [@gaenglish](https://github.com/gaenglish)! - `get-component` lists inherited inputs, and each story gets its own example.
|
|
8
|
+
|
|
9
|
+
**`variant` and `size` were missing from almost every component.** 49 components
|
|
10
|
+
extend `BaseComponent`, which declares both as real bindable inputs — but the
|
|
11
|
+
adapter is a regex over a single file with no `extends` handling, and
|
|
12
|
+
`BaseComponent` has no `selector`, so it is discarded before it can be parsed.
|
|
13
|
+
The two inputs survived only for the handful of components that redeclare them
|
|
14
|
+
locally. An agent reading `get-component toggle` saw no `variant`, which is the
|
|
15
|
+
one knob that made a consumer's migration viable. They are now appended to every
|
|
16
|
+
`BaseComponent` subclass, deduped so a local `override` still wins.
|
|
17
|
+
|
|
18
|
+
**Every story of a component shared one example.** `extractTemplate` matched the
|
|
19
|
+
first `template:` in a stories file and the result was cached per file, so a
|
|
20
|
+
component whose meta declares a generic `render` had all of its examples collapse
|
|
21
|
+
into that stub — `uni-toggle` shipped six identical `<uni-toggle></uni-toggle>`
|
|
22
|
+
snippets, and its richest story documented as its poorest. Each story's own
|
|
23
|
+
template is now located by brace-balancing its object literal, falling back to
|
|
24
|
+
the file-level template for the args-only stories that legitimately share the
|
|
25
|
+
meta render.
|
|
26
|
+
|
|
27
|
+
Also raises the theme payload ceiling from 20 KB to 24 KB. That guard exists to
|
|
28
|
+
catch the ~50 KB icon set creeping back into the wire form, and ordinary token
|
|
29
|
+
growth had reached the old limit; it is sized to catch the icons, not to freeze
|
|
30
|
+
the token set.
|
|
31
|
+
|
|
32
|
+
## 4.7.2
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- [`c0c6056`](https://github.com/uni-design-system/uni/commit/c0c6056c61e994a45af9c379f3c99f55eebcb79a) Thanks [@gaenglish](https://github.com/gaenglish)! - Fix three miscategorized components in the index.
|
|
37
|
+
|
|
38
|
+
Categories come from an ordered list of substring regexes, so a name that merely
|
|
39
|
+
contains an earlier row's keyword lands in the wrong bucket — and a
|
|
40
|
+
miscategorized component is invisible to `list-components --category`, which is
|
|
41
|
+
how agents and humans find things.
|
|
42
|
+
- `textarea` → **forms** (was `primitives`: `/text/` matches inside "textarea"
|
|
43
|
+
and wins before the forms row is tried)
|
|
44
|
+
- `combobox` → **forms** (was `layout`: `/box/` matches inside "combobox")
|
|
45
|
+
- `expand-toggle` → **layout** (was `forms`: `/toggle/` beat `/expand/`)
|
|
46
|
+
|
|
47
|
+
Known ids now go through an explicit override map consulted before the keyword
|
|
48
|
+
pass, so a fix is a one-line entry rather than a regex that has to be reasoned
|
|
49
|
+
about globally.
|
|
50
|
+
|
|
51
|
+
Also: MDX pages are matched to their source by basename, stripping only
|
|
52
|
+
`.component.ts`. With the layout primitives and `uni-text` becoming directives,
|
|
53
|
+
`.directive.ts` is stripped too, so their docs keep attaching by name instead of
|
|
54
|
+
falling through to the same-directory fallback.
|
|
55
|
+
|
|
3
56
|
## 4.7.1
|
|
4
57
|
|
|
5
58
|
### Patch Changes
|