dsh-flyout-sidebar 0.1.8 → 0.1.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.
Files changed (2) hide show
  1. package/dist/client.js +5 -4
  2. package/package.json +1 -1
package/dist/client.js CHANGED
@@ -65,11 +65,12 @@
65
65
  /* 面板关闭时:corner 触发按钮滑回右上角(占 right 12~48px 区间),左上角
66
66
  panel 不动,日志按钮让位留白 —— 与 better-sidebar 折叠态给右上角按钮组
67
67
  让位(right 10→70px)的思路一致,避免两块按钮挤在一起(见下方 64px 规则)。 */
68
- /* 面板打开时:以面板宽度精确避让右上角按钮,并在面板左侧留 16px 间距,日志
69
- 按钮不紧贴面板边框。用 !important 压过宿主/其它插件对同一 header
70
- padding 规则(如 better-sidebar 折叠态强加的 78px)。 */
68
+ /* 面板打开:header 已被 AppFrame grid 推挤到面板左缘(components.tsx 追加
69
+ 轨道),这里只需再留固定 16px 间距,日志按钮与面板保持恒定距离 —— 不能
70
+ 再按面板宽让位一次,否则推挤 + padding 叠加,日志按钮会被推出去两倍
71
+ 面板宽(距面板过远)。用 !important 压过宿主/其它插件的同规则。 */
71
72
  body.dsh-flyout-sidebar-open header:has([data-slot="conversation.session.header.utilities"]) {
72
- padding-right: calc(var(--dsh-flyout-sidebar-width, 0px) + 16px) !important;
73
+ padding-right: 16px !important;
73
74
  transition: padding-right var(--ds-transition-duration-slow, 200ms) var(--ds-ease-in-out, ease);
74
75
  }
75
76
  /* 面板收起:日志按钮让位到 64px(= corner 按钮 48px 左缘 + 16px 间距)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-flyout-sidebar",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "可弹出侧边栏 · A DeepSeek Harness sidebar that shows artifacts and pops out into a larger web tab.",
5
5
  "license": "MIT",
6
6
  "type": "module",