@uni-design-system/uni-mcp 4.7.2 → 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 +29 -0
- package/dist/{chunk-HXXP4PTK.js → chunk-MK73QVY4.js} +6907 -3660
- 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-HXXP4PTK.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
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
|
+
|
|
3
32
|
## 4.7.2
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|