dsh-pocket 1.0.17 → 1.0.18

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/client/client.js CHANGED
@@ -1453,10 +1453,10 @@ function PocketSettingsTab({ rpcCall }) {
1453
1453
  "\u5F00\u53D1\u8005\uFF1A\u7A0B\u5E8F\u5458\u5C11\u5317\u6668"
1454
1454
  )
1455
1455
  ),
1456
- // 重启后提示(进程在后台运行,停止方法)
1456
+ // 重启后提示(进程在后台运行,停止方法)——左侧蓝色色条
1457
1457
  restartNotice ? (0, import_react2.createElement)(
1458
1458
  "div",
1459
- { style: { ...styles.block, border: "1px solid var(--dsw-alias-brand-primary,#4f6ef7)", borderRadius: 8, background: "var(--dsw-alias-bg-layer-2,#f3f4f6)", padding: "10px 12px" } },
1459
+ { style: { ...styles.block, borderLeft: "4px solid var(--dsw-alias-brand-primary,#4f6ef7)", borderRadius: 8, background: "var(--dsw-alias-bg-layer-2,#f3f4f6)", padding: "10px 12px" } },
1460
1460
  (0, import_react2.createElement)(
1461
1461
  "div",
1462
1462
  { style: { display: "flex", alignItems: "center", justifyContent: "space-between", gap: 8 } },
@@ -1465,10 +1465,10 @@ function PocketSettingsTab({ rpcCall }) {
1465
1465
  ),
1466
1466
  (0, import_react2.createElement)("div", { style: styles.muted, marginTop: 4, wordBreak: "break-all" }, "\u8FDB\u7A0B\u5728\u540E\u53F0\u8FD0\u884C\uFF08\u4E0D\u6302\u7EC8\u7AEF\uFF09\u3002\u5982\u9700\u505C\u6B62\uFF1Alsof -ti :3080 | xargs kill -9")
1467
1467
  ) : null,
1468
- // 更新提示
1468
+ // 更新提示——左侧黄色色条(提示有新版本)
1469
1469
  updateInfo ? (0, import_react2.createElement)(
1470
1470
  "div",
1471
- { style: { ...styles.block, border: "1px solid var(--dsw-alias-state-warn-primary,#b45309)" }, borderRadius: 8, background: "var(--dsw-alias-bg-layer-2,#f3f4f6)", padding: "10px 12px" },
1471
+ { style: { ...styles.block, borderLeft: "4px solid var(--dsw-alias-state-warn-primary,#b45309)", borderRadius: 8, background: "var(--dsw-alias-bg-layer-2,#f3f4f6)", padding: "10px 12px" } },
1472
1472
  (0, import_react2.createElement)(
1473
1473
  "div",
1474
1474
  { style: { display: "flex", alignItems: "center", justifyContent: "space-between", gap: 8 } },
package/client/index.jsx CHANGED
@@ -211,8 +211,8 @@ function PocketSettingsTab({ rpcCall }) {
211
211
  '开发者:程序员少北晨'),
212
212
  ),
213
213
 
214
- // 重启后提示(进程在后台运行,停止方法)
215
- restartNotice ? h('div', { style: { ...styles.block, border: '1px solid var(--dsw-alias-brand-primary,#4f6ef7)', borderRadius: 8, background: 'var(--dsw-alias-bg-layer-2,#f3f4f6)', padding: '10px 12px' } },
214
+ // 重启后提示(进程在后台运行,停止方法)——左侧蓝色色条
215
+ restartNotice ? h('div', { style: { ...styles.block, borderLeft: '4px solid var(--dsw-alias-brand-primary,#4f6ef7)', borderRadius: 8, background: 'var(--dsw-alias-bg-layer-2,#f3f4f6)', padding: '10px 12px' } },
216
216
  h('div', { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 8 } },
217
217
  h('div', { style: { fontWeight: 600, fontSize: 13 } }, '🔄 已重启 | Restarted'),
218
218
  h('button', { style: styles.btn, onClick: () => setRestartNotice(false) }, '知道了 | OK'),
@@ -220,8 +220,8 @@ function PocketSettingsTab({ rpcCall }) {
220
220
  h('div', { style: styles.muted, marginTop: 4, wordBreak: 'break-all' }, '进程在后台运行(不挂终端)。如需停止:lsof -ti :3080 | xargs kill -9'),
221
221
  ) : null,
222
222
 
223
- // 更新提示
224
- updateInfo ? h('div', { style: { ...styles.block, border: '1px solid var(--dsw-alias-state-warn-primary,#b45309)' }, borderRadius: 8, background: 'var(--dsw-alias-bg-layer-2,#f3f4f6)', padding: '10px 12px' },
223
+ // 更新提示——左侧黄色色条(提示有新版本)
224
+ updateInfo ? h('div', { style: { ...styles.block, borderLeft: '4px solid var(--dsw-alias-state-warn-primary,#b45309)', borderRadius: 8, background: 'var(--dsw-alias-bg-layer-2,#f3f4f6)', padding: '10px 12px' } },
225
225
  h('div', { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 8 } },
226
226
  h('div', { style: { fontWeight: 600, fontSize: 13 } },
227
227
  updateInfo.updated
package/package.json CHANGED
@@ -77,5 +77,5 @@
77
77
  "access": "public",
78
78
  "registry": "https://registry.npmjs.org/"
79
79
  },
80
- "version": "1.0.17"
80
+ "version": "1.0.18"
81
81
  }