dsh-quick-toc 0.3.0 → 0.3.1
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/lib/client.js +11 -1
- package/package.json +3 -2
package/lib/client.js
CHANGED
|
@@ -15,7 +15,10 @@ window.__ModuleLoader__.load({
|
|
|
15
15
|
var PANEL_WIDTH = 288;
|
|
16
16
|
// Very high base so the portal-rendered panel (top-level stacking context)
|
|
17
17
|
// always sits above DSH content and its transcript width handles.
|
|
18
|
-
|
|
18
|
+
// Panel layer: above the app's popovers (z 100) and the transcript width
|
|
19
|
+
// handles (z 8), but BELOW DSH's modal layer (settings/image viewer, z 1000)
|
|
20
|
+
// so opening settings covers the panel instead of the panel floating on top.
|
|
21
|
+
var Z_BASE = 500;
|
|
19
22
|
var EASE = "cubic-bezier(0.22, 0.9, 0.3, 1)"; // smooth non-linear slide
|
|
20
23
|
|
|
21
24
|
// ---------- markdown helpers ----------
|
|
@@ -960,6 +963,7 @@ window.__ModuleLoader__.load({
|
|
|
960
963
|
alignItems: "center",
|
|
961
964
|
justifyContent: "center",
|
|
962
965
|
borderRadius: "50%",
|
|
966
|
+
cornerShape: "round",
|
|
963
967
|
background: "var(--dsw-alias-interactive-bg-hover, rgba(128,128,128,0.16))",
|
|
964
968
|
border: "none",
|
|
965
969
|
color: C.muted,
|
|
@@ -1073,6 +1077,7 @@ window.__ModuleLoader__.load({
|
|
|
1073
1077
|
width: 56,
|
|
1074
1078
|
height: 5,
|
|
1075
1079
|
borderRadius: 999,
|
|
1080
|
+
cornerShape: "round",
|
|
1076
1081
|
background: "var(--dsw-alias-border-l2, rgba(128,128,128,0.55))",
|
|
1077
1082
|
opacity: 0.35,
|
|
1078
1083
|
transition: "opacity 0.2s ease",
|
|
@@ -1121,6 +1126,7 @@ window.__ModuleLoader__.load({
|
|
|
1121
1126
|
alignItems: "center",
|
|
1122
1127
|
justifyContent: "center",
|
|
1123
1128
|
borderRadius: "50%",
|
|
1129
|
+
cornerShape: "round",
|
|
1124
1130
|
background: "var(--dsw-alias-interactive-bg-hover, rgba(128,128,128,0.16))",
|
|
1125
1131
|
border: "none",
|
|
1126
1132
|
color: C.muted,
|
|
@@ -1164,6 +1170,7 @@ window.__ModuleLoader__.load({
|
|
|
1164
1170
|
alignItems: "center",
|
|
1165
1171
|
justifyContent: "center",
|
|
1166
1172
|
borderRadius: "50%",
|
|
1173
|
+
cornerShape: "round",
|
|
1167
1174
|
background: "var(--dsw-alias-interactive-bg-hover, rgba(128,128,128,0.16))",
|
|
1168
1175
|
border: "none",
|
|
1169
1176
|
color: C.muted,
|
|
@@ -1234,6 +1241,7 @@ window.__ModuleLoader__.load({
|
|
|
1234
1241
|
alignItems: "center",
|
|
1235
1242
|
background: "var(--dsw-alias-interactive-bg-hover, rgba(128,128,128,0.14))",
|
|
1236
1243
|
borderRadius: 999,
|
|
1244
|
+
cornerShape: "round",
|
|
1237
1245
|
padding: "6px 12px"
|
|
1238
1246
|
},
|
|
1239
1247
|
children: [
|
|
@@ -1320,6 +1328,7 @@ window.__ModuleLoader__.load({
|
|
|
1320
1328
|
alignItems: "center",
|
|
1321
1329
|
justifyContent: "center",
|
|
1322
1330
|
borderRadius: "50%",
|
|
1331
|
+
cornerShape: "round",
|
|
1323
1332
|
fontSize: 11,
|
|
1324
1333
|
color: searchScope === "full" ? "var(--dsw-alias-brand-primary, #4f8cff)" : C.muted,
|
|
1325
1334
|
background: searchScope === "full" ? "rgba(79,140,255,0.18)" : "var(--dsw-alias-interactive-bg-hover, rgba(128,128,128,0.14))",
|
|
@@ -1442,6 +1451,7 @@ window.__ModuleLoader__.load({
|
|
|
1442
1451
|
width: 12,
|
|
1443
1452
|
height: 80,
|
|
1444
1453
|
borderRadius: 999,
|
|
1454
|
+
cornerShape: "round",
|
|
1445
1455
|
background: "var(--dsw-alias-border-l2, rgba(160,160,160,0.55))",
|
|
1446
1456
|
opacity: handleShown ? 0.5 : 0,
|
|
1447
1457
|
transition: "opacity 0.35s ease, background 0.25s ease",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-quick-toc",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Quick conversation TOC for DeepSeek Harness: markdown heading outline grouped by turn, with auto-follow highlight and smooth jump navigation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"compatibility": {
|
|
35
35
|
"dshReleases": {
|
|
36
|
-
"0.1.2-rc.1": "compatible"
|
|
36
|
+
"0.1.2-rc.1": "compatible",
|
|
37
|
+
"0.1.5-rc.1": "compatible"
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
},
|