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/CHANGELOG.md +16 -1
- package/DETAIL.md +5 -3
- package/README.md +5 -3
- package/lib/client.js +2571 -2505
- package/package.json +2 -2
- package//344/275/277/347/224/250/350/257/264/346/230/216.md +9 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-sidebar-suite",
|
|
3
|
-
"version": "0.2.
|
|
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
|
-
-
|
|
75
|
+
- 点胶囊里的三个图标 = 切换布局(`▤` 折叠 / `▥` 标签页 / `▢` 浮层)。**只对本次会话有效**,下次启动回到默认值。
|
|
76
|
+
- 每个按钮鼠标悬停都会显示文字说明,不用记图标。
|
|
77
|
+
- 竖线右边的按钮 = 在当前布局下切换「看哪一组」;侧栏拖宽超过 300px 后,这些按钮会把文字显示出来。
|
|
78
|
+
- 侧栏很窄(< 300px)时只显示图标;再窄(< 100px,折成图标条)时连图标都会精简。
|
|
75
79
|
|
|
76
80
|
> 故意不做记忆:临时切换不写盘、不写 localStorage,避免你在窄屏随手一点把默认布局改坏了。
|
|
77
81
|
|