@mysterycode-liwen/dsh-mail 1.0.1 → 1.3.0

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/cordis.patch.yml CHANGED
@@ -1,8 +1,8 @@
1
- # dsh-mail bundle patch: installs the mail plugin row.
2
- # agentMailAccess defaults to false; the row is replaced (not deep-merged) when
3
- # edited here, and the browser Settings page can toggle the volatile field live.
4
- - insert:
5
- - id: dsh-mail
6
- name: '@mysterycode-liwen/dsh-mail'
7
- config:
8
- agentMailAccess: false
1
+ # dsh-mail bundle patch: installs the mail plugin row.
2
+ # agentMailAccess defaults to false; the row is replaced (not deep-merged) when
3
+ # edited here, and the browser Settings page can toggle the volatile field live.
4
+ - insert:
5
+ - id: dsh-mail
6
+ name: '@mysterycode-liwen/dsh-mail'
7
+ config:
8
+ agentMailAccess: false
package/docs/DETAIL.md CHANGED
@@ -1 +1 @@
1
- ![Feature result](preview.svg)
1
+ ![Mail panel: a sidebar entry with an unread dot, a read/unread filter bar, and a mail list with a paperclip attachment action](preview.svg)
@@ -0,0 +1 @@
1
+ ![邮件面板:侧边栏入口带未读小圆点,收件箱有已读/未读筛选,邮件列表右侧带附件回形针操作](preview.svg)
package/docs/preview.svg CHANGED
@@ -1,21 +1,51 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 300" width="640" height="300" role="img" aria-label="Mail panel preview">
2
- <rect width="640" height="300" fill="#f4f6fb"/>
3
- <rect x="24" y="24" width="592" height="252" rx="12" fill="#ffffff" stroke="#d9dfeb"/>
4
- <rect x="24" y="24" width="592" height="44" rx="12" fill="#eef3fc"/>
5
- <circle cx="48" cy="46" r="6" fill="#3b82f6"/>
6
- <text x="64" y="51" font-family="system-ui,sans-serif" font-size="16" font-weight="600" fill="#1f2a44">Mail</text>
7
- <rect x="24" y="68" width="160" height="208" fill="#fafbfe"/>
8
- <rect x="40" y="84" width="128" height="30" rx="6" fill="#e6edfb"/>
9
- <text x="52" y="103" font-family="system-ui,sans-serif" font-size="12" fill="#3451a3">Accounts</text>
10
- <rect x="40" y="124" width="128" height="30" rx="6" fill="#ffffff" stroke="#d9dfeb"/>
11
- <text x="52" y="143" font-family="system-ui,sans-serif" font-size="12" fill="#1f2a44">Inbox</text>
12
- <rect x="200" y="84" width="396" height="44" rx="8" fill="#ffffff" stroke="#d9dfeb"/>
13
- <text x="214" y="111" font-family="system-ui,sans-serif" font-size="13" fill="#1f2a44">Project update</text>
14
- <text x="214" y="126" font-family="system-ui,sans-serif" font-size="10" fill="#7b86a0">alice@example.com · today</text>
15
- <rect x="200" y="136" width="396" height="44" rx="8" fill="#ffffff" stroke="#d9dfeb"/>
16
- <text x="214" y="163" font-family="system-ui,sans-serif" font-size="13" fill="#1f2a44">Re: Meeting notes</text>
17
- <text x="214" y="178" font-family="system-ui,sans-serif" font-size="10" fill="#7b86a0">bob@example.com · yesterday</text>
18
- <rect x="200" y="188" width="396" height="72" rx="8" fill="#f8faff" stroke="#d9dfeb"/>
19
- <rect x="528" y="200" width="56" height="24" rx="6" fill="#3b82f6"/>
20
- <text x="540" y="216" font-family="system-ui,sans-serif" font-size="11" fill="#ffffff">Compose</text>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 300" width="640" height="300" role="img" aria-label="Mail panel: a sidebar entry with an unread dot, a filter bar, and a mail list with an envelope action">
2
+ <!-- Text-free illustration: neutral mid-tones so it reads on both light and dark themes. -->
3
+ <rect x="24" y="24" width="592" height="252" rx="14" fill="#7c8ba6" fill-opacity="0.08" stroke="#7c8ba6" stroke-opacity="0.45"/>
4
+
5
+ <!-- Sidebar with the plugin entry and its unread dot -->
6
+ <rect x="40" y="54" width="132" height="30" rx="8" fill="#3b82f6" fill-opacity="0.18"/>
7
+ <path d="M54 63h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H54a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2z" fill="none" stroke="#3b82f6" stroke-width="1.8" stroke-linejoin="round"/>
8
+ <path d="M52.6 65.4 60 70l7.4-4.6" fill="none" stroke="#3b82f6" stroke-width="1.8" stroke-linecap="round"/>
9
+ <rect x="74" y="64" width="52" height="7" rx="3.5" fill="#7c8ba6" fill-opacity="0.7"/>
10
+ <circle cx="166" cy="69" r="5" fill="#ef4444"/>
11
+
12
+ <rect x="40" y="94" width="132" height="26" rx="8" fill="#7c8ba6" fill-opacity="0.14"/>
13
+ <rect x="54" y="104" width="46" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.55"/>
14
+ <rect x="40" y="128" width="132" height="26" rx="8" fill="#7c8ba6" fill-opacity="0.14"/>
15
+ <rect x="54" y="138" width="60" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.55"/>
16
+ <rect x="40" y="162" width="132" height="26" rx="8" fill="#7c8ba6" fill-opacity="0.14"/>
17
+ <rect x="54" y="172" width="52" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.55"/>
18
+
19
+ <!-- Filter bar: all / unread / read, unread selected -->
20
+ <rect x="196" y="54" width="70" height="24" rx="12" fill="#7c8ba6" fill-opacity="0.16"/>
21
+ <rect x="210" y="63" width="30" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.6"/>
22
+ <rect x="274" y="54" width="70" height="24" rx="12" fill="#3b82f6" fill-opacity="0.22"/>
23
+ <rect x="288" y="63" width="30" height="6" rx="3" fill="#3b82f6"/>
24
+ <rect x="352" y="54" width="70" height="24" rx="12" fill="#7c8ba6" fill-opacity="0.16"/>
25
+ <rect x="366" y="63" width="26" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.6"/>
26
+
27
+ <!-- Unread row with accent bar -->
28
+ <rect x="196" y="92" width="404" height="46" rx="10" fill="#3b82f6" fill-opacity="0.10" stroke="#3b82f6" stroke-opacity="0.45"/>
29
+ <rect x="196" y="98" width="3" height="34" rx="1.5" fill="#3b82f6"/>
30
+ <circle cx="224" cy="115" r="11" fill="#3b82f6" fill-opacity="0.28"/>
31
+ <rect x="244" y="104" width="96" height="7" rx="3.5" fill="#7c8ba6" fill-opacity="0.8"/>
32
+ <rect x="516" y="104" width="34" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.5"/>
33
+ <rect x="244" y="118" width="180" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.55"/>
34
+ <rect x="244" y="130" width="120" height="5" rx="2.5" fill="#7c8ba6" fill-opacity="0.4"/>
35
+
36
+ <!-- Read rows -->
37
+ <rect x="196" y="148" width="404" height="46" rx="10" fill="#7c8ba6" fill-opacity="0.08" stroke="#7c8ba6" stroke-opacity="0.35"/>
38
+ <circle cx="224" cy="171" r="11" fill="#7c8ba6" fill-opacity="0.22"/>
39
+ <rect x="244" y="160" width="120" height="7" rx="3.5" fill="#7c8ba6" fill-opacity="0.6"/>
40
+ <rect x="516" y="160" width="34" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.4"/>
41
+ <rect x="244" y="174" width="150" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.4"/>
42
+
43
+ <!-- Mail opened with a paperclip action at the right -->
44
+ <rect x="196" y="204" width="404" height="52" rx="10" fill="#7c8ba6" fill-opacity="0.08" stroke="#7c8ba6" stroke-opacity="0.35"/>
45
+ <circle cx="224" cy="230" r="11" fill="#7c8ba6" fill-opacity="0.22"/>
46
+ <rect x="244" y="218" width="88" height="7" rx="3.5" fill="#7c8ba6" fill-opacity="0.6"/>
47
+ <rect x="244" y="232" width="132" height="6" rx="3" fill="#7c8ba6" fill-opacity="0.4"/>
48
+ <!-- paperclip -->
49
+ <path d="M528 224c-4-4-11-4-15 0l-11 11c-6 6-6 15 0 21s15 6 21 0l9-9" fill="none" stroke="#3b82f6" stroke-width="2.4" stroke-linecap="round"/>
50
+ <path d="M519 233l-10 10c-3 3-3 7 0 10s7 3 10 0l8-8c4-4 4-11 0-15" fill="none" stroke="#3b82f6" stroke-width="2.4" stroke-linecap="round"/>
21
51
  </svg>
package/icon.svg CHANGED
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" width="36" height="36">
2
- <path fill="#3b82f6" d="M6 9h24a3 3 0 0 1 3 3v15a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V12a3 3 0 0 1 3-3Zm0 3.2v.3l12 8.1 12-8.1v-.3a.8.8 0 0 0-.8-.8H6.8a.8.8 0 0 0-.8.8Zm23.6 3.6L18 22.3 6.4 15.8V27a.8.8 0 0 0 .8.8h21.6a.8.8 0 0 0 .8-.8V15.8Z"/>
3
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" width="36" height="36">
2
+ <path fill="#3b82f6" d="M6 9h24a3 3 0 0 1 3 3v15a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V12a3 3 0 0 1 3-3Zm0 3.2v.3l12 8.1 12-8.1v-.3a.8.8 0 0 0-.8-.8H6.8a.8.8 0 0 0-.8.8Zm23.6 3.6L18 22.3 6.4 15.8V27a.8.8 0 0 0 .8.8h21.6a.8.8 0 0 0 .8-.8V15.8Z"/>
3
+ </svg>