@ash-qw/dsh-theme-prts 2.5.0 → 2.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ash-qw/dsh-theme-prts",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Unofficial Arknights P.R.T.S.-inspired UI theme for DeepSeek Harness Web and the official desktop client",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=20.9.0",
72
- "dsh": "0.2.1-rc.2"
72
+ "dsh": "0.2.1-rc.2 || 0.2.1-rc.3"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@playwright/test": "1.55.1",
@@ -138,7 +138,7 @@ function mountBodyTargetFrame(document, window, operation) {
138
138
  // Nonvisual hosts can still mount the theme without an animation clock.
139
139
  if (!window?.requestAnimationFrame || !window?.cancelAnimationFrame) return () => {}
140
140
  const composerButton=':is([data-composer-card],[data-prts-composer-fallback]) button:not([data-slot="conversation.input.attachments"] *,[data-prts-glass-menu] *,[data-prts-floating-glass] *,[role="menu"] *,[role="listbox"] *)'
141
- const selector='[data-prts-conversation-control],[data-presented-file],[data-changed-files],[data-produced-files-row] > button,[data-prts-glass-control],[data-prts-transfer-open],[data-prts-transfer] button,'+composerButton
141
+ const selector='[data-prts-conversation-control],[data-presented-file],[data-changed-files],[data-produced-files-row] > button,[data-prts-glass-control],[data-prts-footer-action],[data-prts-transfer] button,'+composerButton
142
142
  const frame=document.createElement('div')
143
143
  frame.setAttribute('data-prts-body-target-frame','');frame.setAttribute('aria-hidden','true')
144
144
  const corners=Array.from({length:4},()=>frame.appendChild(document.createElement('i')))