dsh-sidebar-suite 0.2.8 → 0.2.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": "dsh-sidebar-suite",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "license": "MIT",
5
5
  "author": "Yonan",
6
6
  "repository": {
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "type": "module",
29
29
  "scripts": {
30
- "test": "node tests/test_020.mjs && node tests/test_022.mjs && node tests/test_023.mjs && node tests/test_024.mjs && node tests/test_025.mjs && node tests/test_028.mjs",
30
+ "test": "node tests/test_020.mjs && node tests/test_022.mjs && node tests/test_023.mjs && node tests/test_024.mjs && node tests/test_025.mjs && node tests/test_028.mjs && node tests/test_029.mjs",
31
31
  "check": "node --check lib/index.js && node --check lib/client.js && node --check lib/temp-session-host.mjs && npm pack --dry-run"
32
32
  },
33
33
  "main": "lib/index.js",
@@ -63,15 +63,19 @@
63
63
 
64
64
  ### 3.2 临时切一下(只影响这次)
65
65
 
66
- 侧栏顶部有一排很小的文字按钮:
66
+ 侧栏顶部是一条**分段控件**:三个布局装在同一枚灰色胶囊里,选中的那个是白底高亮;胶囊右边隔一道竖线,是当前布局专用的动作按钮。0.2.9 起全部是矢量图标。
67
67
 
68
68
  ```
69
- 折叠 · 标签页 · 浮层 │ 显示工作区 / 展开扩展 · 换布局
69
+ ┌─────────────────┐
70
+ │ ▤ ▥ ▢ │ │ ⇄ 显示扩展
71
+ └─────────────────┘
72
+ 折叠 标签页 浮层 动作按钮
70
73
  ```
71
74
 
72
- - 点 `折叠 / 标签页 / 浮层` = 切换布局。**只对本次会话有效**,下次启动回到默认值。
73
- - 中间那条竖线后面的按钮 = 在当前布局下切换「看哪一组」。
74
- - `换布局` = 按顺序轮换三种。**侧栏宽度小于 300px 时会自动隐藏**(放不下)。
75
+ - 点胶囊里的三个图标 = 切换布局(`▤` 折叠 / `▥` 标签页 / `▢` 浮层)。**只对本次会话有效**,下次启动回到默认值。
76
+ - 每个按钮鼠标悬停都会显示文字说明,不用记图标。
77
+ - 竖线右边的按钮 = 在当前布局下切换「看哪一组」;侧栏拖宽超过 300px 后,这些按钮会把文字显示出来。
78
+ - 侧栏很窄(< 300px)时只显示图标;再窄(< 100px,折成图标条)时连图标都会精简。
75
79
 
76
80
  > 故意不做记忆:临时切换不写盘、不写 localStorage,避免你在窄屏随手一点把默认布局改坏了。
77
81