@morya-ui/setup 0.3.2 → 0.3.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.
@@ -2,6 +2,8 @@
2
2
 
3
3
  **Default rule:** operation feedback uses the `message` API. Use `toast` only when you need a title plus detail, or an async / background notification feel.
4
4
 
5
+ Authoritative selection + key API notes also live in MCP / skill decision **`feedback-choice`** ([decision-recipes.md](./decision-recipes.md)). Keep this file and that decision aligned.
6
+
5
7
  ## Three different things
6
8
 
7
9
  | Name | Shape | API | Typical use |
@@ -38,4 +38,4 @@ import { MButton, MInput } from 'morya-ui'
38
38
  - 用 `MDropdown` 代替 Select 做枚举选择。
39
39
  - 手写 table/modal 替代 `MTable` / `MDialog`。
40
40
 
41
- 完整清单:MCP,或 skill `references/component-index.md`
41
+ 完整清单:MCP `recommend_component`(含 recipe),或 skill `references/decision-recipes.md` / `component-index.md`。
@@ -5,7 +5,7 @@ alwaysApply: true
5
5
 
6
6
  # Morya UI 设计系统
7
7
 
8
- 1. **先读** 项目根目录 `DESIGN.md`。组件选型用 MCP,或 skill `references/component-index.md`。
8
+ 1. **先读** 项目根目录 `DESIGN.md`。组件选型用 MCP `recommend_component`(含 recipe),或 skill `references/decision-recipes.md` / `component-index.md`。
9
9
  2. **只用** `morya-ui` 的 `M*` 组件;全局样式 `morya-ui/styles.css`。
10
10
  3. **颜色/间距/圆角** 使用 `--m-*` CSS 变量,禁止裸 hex/rgb(见 `scripts/check-raw-colors.mjs`)。
11
11
  4. **页面结构** 用 MCP `get_golden_page`(`list-page` / `form-page` / `form-in-dialog` / `detail-page` / `dashboard-page` / `login-page` / `landing-page` / `empty-state` / `result-page` / `settings-page` / `wizard-form`),不要发明新布局范式。