@ottttto/dsh-scheduled-send 0.3.3 → 0.3.4

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/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "@ottttto/dsh-scheduled-send",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "main": "./src/index.js",
5
5
  "description": "定时发送:到点以你的身份把消息作为正常用户气泡发进当前会话,无人值守、会话隔离、断电补发。Scheduled send for DSH — fires as a normal user bubble into the bound conversation, unattended, per-session isolated, restart-safe.",
6
6
  "engines": {
package/lib/client.js CHANGED
@@ -527,17 +527,17 @@ function createClientPluginBody(React) {
527
527
  // mirrors usage-stats' footer trigger: same metrics + theme variables as
528
528
  // the system sidebar rows (hover comes from the injected var-only rule)
529
529
  const layerStyle = {
530
- flex: "none", alignItems: "center", width: "100%", height: 49,
531
- margin: "8px 0 0", display: "flex", position: "relative",
532
- ...(mobile ? { height: 44 } : {}),
530
+ flex: "none", alignItems: "center", width: "100%",
531
+ margin: "2px 0", display: "flex", position: "relative",
533
532
  };
534
533
  const entryBtn = {
535
- width: "100%", height: mobile ? 44 : 49, color: "var(--dsw-alias-label-primary)",
536
- cursor: "pointer", background: "0 0", border: "none", borderRadius: 12,
537
- alignItems: "center", gap: 8, padding: "0 8px 0 6px", fontFamily: "inherit",
538
- fontSize: 14, display: "inline-flex", overflow: "hidden",
534
+ width: "100%", height: 32, color: "var(--dsw-alias-label-primary)",
535
+ cursor: "pointer", background: "0 0", border: "none", borderRadius: 8,
536
+ alignItems: "center", gap: 8, padding: "0 8px", fontFamily: "inherit",
537
+ fontSize: 12, display: "inline-flex", overflow: "hidden",
538
+ ...(mobile ? { minHeight: 40 } : {}),
539
539
  };
540
- const iconBox = { display: "inline-flex", width: mobile ? 18 : 16, justifyContent: "center", flexShrink: 0 };
540
+ const iconBox = { display: "inline-flex", width: 16, fontSize: 13, justifyContent: "center", flexShrink: 0 };
541
541
  const labelStyle = { textOverflow: "ellipsis", whiteSpace: "nowrap", minWidth: 0, overflow: "hidden" };
542
542
  const amountStyle = {
543
543
  color: "var(--dsw-alias-label-secondary)", fontVariantNumeric: "tabular-nums",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ottttto/dsh-scheduled-send",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "DSH plugin: scheduled sending (⏰ composer button, dock list of pending tasks, sidebar 定时任务 panel with cross-session cancel, due-time delivery as a normal user bubble)",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -263,17 +263,17 @@ function createClientPluginBody(React) {
263
263
  // mirrors usage-stats' footer trigger: same metrics + theme variables as
264
264
  // the system sidebar rows (hover comes from the injected var-only rule)
265
265
  const layerStyle = {
266
- flex: "none", alignItems: "center", width: "100%", height: 49,
267
- margin: "8px 0 0", display: "flex", position: "relative",
268
- ...(mobile ? { height: 44 } : {}),
266
+ flex: "none", alignItems: "center", width: "100%",
267
+ margin: "2px 0", display: "flex", position: "relative",
269
268
  };
270
269
  const entryBtn = {
271
- width: "100%", height: mobile ? 44 : 49, color: "var(--dsw-alias-label-primary)",
272
- cursor: "pointer", background: "0 0", border: "none", borderRadius: 12,
273
- alignItems: "center", gap: 8, padding: "0 8px 0 6px", fontFamily: "inherit",
274
- fontSize: 14, display: "inline-flex", overflow: "hidden",
270
+ width: "100%", height: 32, color: "var(--dsw-alias-label-primary)",
271
+ cursor: "pointer", background: "0 0", border: "none", borderRadius: 8,
272
+ alignItems: "center", gap: 8, padding: "0 8px", fontFamily: "inherit",
273
+ fontSize: 12, display: "inline-flex", overflow: "hidden",
274
+ ...(mobile ? { minHeight: 40 } : {}),
275
275
  };
276
- const iconBox = { display: "inline-flex", width: mobile ? 18 : 16, justifyContent: "center", flexShrink: 0 };
276
+ const iconBox = { display: "inline-flex", width: 16, fontSize: 13, justifyContent: "center", flexShrink: 0 };
277
277
  const labelStyle = { textOverflow: "ellipsis", whiteSpace: "nowrap", minWidth: 0, overflow: "hidden" };
278
278
  const amountStyle = {
279
279
  color: "var(--dsw-alias-label-secondary)", fontVariantNumeric: "tabular-nums",