dsh-calendar 0.10.2 → 0.10.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.
- package/CHANGELOG.md +4 -0
- package/docs/CHANGELOG.en.md +4 -0
- package/docs/VALIDATION.md +1 -0
- package/lib/client.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/docs/CHANGELOG.en.md
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
These English notes preserve the earlier translations. The main changelog contains the consolidated version history.
|
|
6
6
|
|
|
7
|
+
## 0.10.3 (2026-10-05)
|
|
8
|
+
|
|
9
|
+
- Move the calendar launcher clear of the chat send button in narrow windows. Include panel padding in its width and keep its bounds inside the viewport.
|
|
10
|
+
|
|
7
11
|
## 0.10.2 (2026-10-05)
|
|
8
12
|
|
|
9
13
|
- Validate real ISO calendar dates, rejecting nonexistent dates, ambiguous locale formats and datetimes without a timezone.
|
package/docs/VALIDATION.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -1155,16 +1155,16 @@ function AgendaView(props) {
|
|
|
1155
1155
|
|
|
1156
1156
|
// ───────────────────────────── 悬浮面板的样式补充 ─────────────────────────────
|
|
1157
1157
|
const CSS_EXTRA = [
|
|
1158
|
-
".dshc-fab{position:fixed;right:18px;bottom:
|
|
1158
|
+
".dshc-fab{position:fixed;right:18px;bottom:88px;z-index:55;width:38px;height:38px;border-radius:999px;border:1px solid var(--dsw-alias-border-l2,rgba(0,0,0,.12));background:var(--dsw-alias-bg-layer-1,#fff);color:var(--dsw-alias-label-primary,#111);box-shadow:var(--dsw-elevation-prominent,0 6px 18px rgba(0,0,0,.18));cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:.62;transition:opacity .15s,transform .15s}",
|
|
1159
1159
|
".dshc-fab:hover{opacity:1;transform:translateY(-1px)}",
|
|
1160
1160
|
".dshc-fab.on{opacity:1;background:var(--dsw-alias-button-primary-fill,#2563eb);color:var(--dsw-alias-label-primary-foreground,#fff);border-color:transparent}",
|
|
1161
|
-
".dshc-float{position:fixed;right:18px;bottom:
|
|
1161
|
+
".dshc-float{position:fixed;right:18px;bottom:136px;z-index:56;box-sizing:border-box;width:min(760px,calc(100vw - 36px));max-height:min(calc(100vh - 160px),720px);overflow:auto;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l2,rgba(0,0,0,.1));border-radius:16px;box-shadow:var(--dsw-elevation-prominent,0 18px 48px rgba(0,0,0,.28));padding:14px}",
|
|
1162
1162
|
".dshc-float .dshc-shell{border:0;padding:0;background:transparent}",
|
|
1163
1163
|
".dshc-steps{margin:2px 0 10px;font-size:12px;color:var(--dsw-alias-label-tertiary,#6b7280)}",
|
|
1164
1164
|
".dshc-steps summary{cursor:pointer;color:var(--dsw-alias-state-business-primary,#2563eb)}",
|
|
1165
1165
|
".dshc-steps ol{margin:6px 0 0;padding-left:18px;line-height:1.6}",
|
|
1166
1166
|
".dshc-link{color:var(--dsw-alias-state-business-primary,#2563eb);text-decoration:none}",
|
|
1167
|
-
".dshc-toast{position:fixed;right:18px;bottom:
|
|
1167
|
+
".dshc-toast{position:fixed;right:18px;bottom:182px;z-index:57;background:var(--dsw-alias-label-primary,#111);color:var(--dsw-alias-label-primary-foreground,#fff);border-radius:10px;padding:8px 12px;font-size:12px;box-shadow:var(--dsw-elevation-prominent,0 8px 20px rgba(0,0,0,.25))}"
|
|
1168
1168
|
].join("");
|
|
1169
1169
|
|
|
1170
1170
|
// ───────────────────────────── 数据 ─────────────────────────────
|