@manohub/kit 1.0.8 → 1.0.9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manohub/kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "子应用入口编排层:createSubApp(作用域容器与宿主锚点、pinia/路由/vue-query 装配、宿主挂载协议)、i18n 单实例与语言探测,外加随包分发的接入契约(CONTRACT.md,五层闭集条款 + 自检清单)与三个 AI 技能包。样式方面本包只有**一条出口** `./index.css`(四节库级基座:宿主兜底 / `.app-container` 容器布局 / 滚动条 / `.app-markdown` 富文本排版;设计令牌(值)在 @manohub/theme,组件(类与行为)在 @manohub/ui,两者由消费方直接引入)。",
|
|
@@ -84,7 +84,7 @@ farris(底层组件库)也不再是依赖。
|
|
|
84
84
|
`QueryState` 的 `illustrationSize`、`Form.Item` 的 `name`(可拿 `{ value, setValue }`)。
|
|
85
85
|
|
|
86
86
|
⚠️ `Card` 的**内距口径变了**:旧 `AppCard` 根件有 `padding`,新的 `Card` 根件不出内距
|
|
87
|
-
(内距只在 `Header`/`Body`/`Footer` 段上)。改写:把根件的 `padding` 移到三段,或改令牌 `--
|
|
87
|
+
(内距只在 `Header`/`Body`/`Footer` 段上)。改写:把根件的 `padding` 移到三段,或改令牌 `--ui-card-padding`。
|
|
88
88
|
|
|
89
89
|
### 2.2 有 prop 差异
|
|
90
90
|
|
|
@@ -166,7 +166,7 @@ farris(底层组件库)也不再是依赖。
|
|
|
166
166
|
| `onPageChange(page)` | `update:modelValue` / `change`(载荷是 **`number`**) | ⚠️ 不再是 `{ page, pageSize }` 对象 |
|
|
167
167
|
| `onPageSizeChange(size)` | `update:pageSize`(`v-model:page-size`) | 两个事件各管各的 |
|
|
168
168
|
| `showInfo` | **无对应** | ⚠️ 「共 n 条」默认就有;要改文案用 `#total` 槽 |
|
|
169
|
-
| — | 新增 `showSizeChanger` / `showQuickJumper` / `simple` / `boxed` / `hideOnSinglePage` | |
|
|
169
|
+
| — | 新增 `showSizeChanger` / `showQuickJumper` / `showEdgeJump` / `simple` / `boxed` / `hideOnSinglePage` | `showEdgeJump` 缺省开:多出首 / 末页直达(`«` / `»`) |
|
|
170
170
|
|
|
171
171
|
> 注意 `Table` 的 `pagination` prop 与独立的 `Pagination` **不是同一套入参**:
|
|
172
172
|
> 前者是 `{ total, current?, pageSize?, pageSizeOptions?, onChange? }`(`onChange` 收页码),
|