@linkdesk/plugin-docs 0.1.78 → 0.1.80

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.
@@ -874,6 +874,8 @@ Four attributes, all written on your own DOM elements:
874
874
 
875
875
  ---
876
876
 
877
+ ---
878
+
877
879
  ## Quick Reference
878
880
 
879
881
  | What you want to do | Core facility | How to bring it in |
@@ -868,6 +868,8 @@ import { HintTip } from "@linkdesk/ui";
868
868
 
869
869
  ---
870
870
 
871
+ ---
872
+
871
873
  ## 速查
872
874
 
873
875
  | 你要做的 | 核心设施 | 引入方式 |
@@ -882,7 +884,6 @@ import { HintTip } from "@linkdesk/ui";
882
884
  | 快捷键(非文本键) | `plugin.json contributes.keybindings` | —(文本键写这里 = 吞全池,见 §4.1) |
883
885
  | 快捷键(文本键/焦点绑定键) | 容器 `onKeyDown` + `tabIndex` | 池侧自处理,见 §4.2(禁止 document/window keydown) |
884
886
  | 悬停提示 | `data-hint` / `data-hint-command` / `data-hint-delay` 属性(或 `<HintTip>`) | 写在你的 DOM 元素上即可,**不需要 import**(见 §13;原生 `title=` 判红) |
885
- | 悬停提示 | `data-hint` / `data-hint-command` / `data-hint-delay` 属性(或 `<HintTip>`) | 写在你的 DOM 元素上即可,**不需要 import**(见 §13;原生 `title=` 判红) |
886
887
  | 颜色 | CSS 变量 | `var(--xxx)`,列表见 `src/index.css` |
887
888
  | 字号 | CSS 变量 | `var(--font-size-*)` + `--ui-scale`,禁止裸 px(门禁见 §10) |
888
889
  | 六域 token 总览 | 见 §11.1 矩阵 | 颜色/表面/圆角/玻璃/字号/字体族——`var(--*)` 自动跟随主题+玻璃+缩放;完整清单 `src/index.css` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linkdesk/plugin-docs",
3
- "version": "0.1.78",
3
+ "version": "0.1.80",
4
4
  "description": "LinkDesk 插件作者文档(离线包)——作者面文档树的发布产物(英文 `docs/03-plugin-authoring` 在包根、中文 `docs/03-插件制造` 在 `zh/`):从零学会做一个插件(导览 / 三档动线 / 区域地图 / 组件速查 / 主题 / API 入口)。",
5
5
  "type": "module",
6
6
  "files": [