dsh-vidi 0.2.2 → 0.2.3

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/lib/client.js +8 -0
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -36761,6 +36761,14 @@ const CSS = `
36761
36761
  .dshl-toast { position: fixed; left: 50%; bottom: 28px; z-index: 2147483001; max-width: min(560px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 10px;
36762
36762
  background: rgba(28,28,31,.95); color: #f2f2f3; font: 13.5px/1.5 system-ui, -apple-system, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.3); transform: translateX(-50%); pointer-events: none; }
36763
36763
  .dshl-pagewrap { position: absolute; inset: 0; z-index: 1; pointer-events: auto; background: var(--dsw-alias-bg-base, #fff); }
36764
+ /* Desktop app: the page covers the whole window. Windows: start under the title bar. macOS: the
36765
+ traffic lights sit over the top-left, so the top bar leaves them room, lines its controls up
36766
+ with them, and its empty space moves the window like the app's own top strip. Full screen and
36767
+ the web page need none of this. */
36768
+ .dshl-pagewrap { top: var(--dsh-frame-chrome-top, 0px); }
36769
+ html[data-platform='darwin']:not([data-fullscreen]) .dshl.page .dshl-top { padding: 4px 16px 8px 84px; -webkit-app-region: drag; app-region: drag; }
36770
+ html[data-platform='darwin']:not([data-fullscreen]) .dshl.page .dshl-top :is(button, input, label, a, select, .dshl-pick) { -webkit-app-region: no-drag; app-region: no-drag; }
36771
+ @media (max-width: 600px) { html[data-platform='darwin']:not([data-fullscreen]) .dshl.page .dshl-top { padding-left: 80px; } }
36764
36772
  .dshl.page { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
36765
36773
  .dshl.page .dshl-main { flex: 1; min-height: 0; grid-template-columns: minmax(0, 1fr) clamp(320px, 30vw, 420px); align-items: stretch; padding-bottom: 16px; }
36766
36774
  /* Video page: player on top, then the status row, then subtitles/glossary filling what is left; chat on the right. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-vidi",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "A video tool for DeepSeek Harness: watch live streams, videos and podcasts with real-time subtitles in any language, then clip and download",
5
5
  "type": "module",
6
6
  "license": "PolyForm-Noncommercial-1.0.0",