@zaclinley/dsh-mailharbor 0.2.0 → 0.2.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/CHANGELOG.md +8 -0
- package/lib/client.js +29 -13
- package/lib/client.js.map +2 -2
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7f5a956: Adapt the sidebar unread badge to the shell: a compact accent pill at the icon
|
|
8
|
+
corner instead of a white blob that covered the envelope (the old badge used
|
|
9
|
+
`--dsw-alias-brand-primary`, which is near-white in the dark theme).
|
|
10
|
+
|
|
3
11
|
## 0.2.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/lib/client.js
CHANGED
|
@@ -163,16 +163,24 @@ function MailIcon() {
|
|
|
163
163
|
return (0, import_react.createElement)(
|
|
164
164
|
"span",
|
|
165
165
|
{
|
|
166
|
-
style: {
|
|
166
|
+
style: {
|
|
167
|
+
position: "relative",
|
|
168
|
+
display: "inline-flex",
|
|
169
|
+
alignItems: "center",
|
|
170
|
+
justifyContent: "center",
|
|
171
|
+
width: "18px",
|
|
172
|
+
height: "18px",
|
|
173
|
+
boxSizing: "border-box"
|
|
174
|
+
}
|
|
167
175
|
},
|
|
168
176
|
(0, import_react.createElement)(
|
|
169
177
|
"svg",
|
|
170
|
-
{ width:
|
|
171
|
-
(0, import_react.createElement)("rect", { x: 2.5, y: 5, width: 19, height: 14, rx: 2.5, stroke: "currentColor", strokeWidth: 1.
|
|
178
|
+
{ width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" },
|
|
179
|
+
(0, import_react.createElement)("rect", { x: 2.5, y: 5, width: 19, height: 14, rx: 2.5, stroke: "currentColor", strokeWidth: 1.7 }),
|
|
172
180
|
(0, import_react.createElement)("path", {
|
|
173
181
|
d: "M3.5 7l7.6 5.4a1.6 1.6 0 0 0 1.8 0L20.5 7",
|
|
174
182
|
stroke: "currentColor",
|
|
175
|
-
strokeWidth: 1.
|
|
183
|
+
strokeWidth: 1.7,
|
|
176
184
|
strokeLinecap: "round"
|
|
177
185
|
})
|
|
178
186
|
),
|
|
@@ -181,18 +189,26 @@ function MailIcon() {
|
|
|
181
189
|
{
|
|
182
190
|
style: {
|
|
183
191
|
position: "absolute",
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
192
|
+
right: "-5px",
|
|
193
|
+
bottom: "-3px",
|
|
194
|
+
display: "flex",
|
|
195
|
+
alignItems: "center",
|
|
196
|
+
justifyContent: "center",
|
|
197
|
+
boxSizing: "border-box",
|
|
198
|
+
minWidth: "13px",
|
|
199
|
+
height: "13px",
|
|
188
200
|
padding: "0 3px",
|
|
189
201
|
borderRadius: "999px",
|
|
190
|
-
background: "
|
|
202
|
+
background: "#5686fe",
|
|
191
203
|
color: "#fff",
|
|
192
204
|
fontSize: "9px",
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
205
|
+
fontWeight: 600,
|
|
206
|
+
lineHeight: "13px",
|
|
207
|
+
zIndex: 1,
|
|
208
|
+
letterSpacing: "-0.01em",
|
|
209
|
+
fontVariantNumeric: "tabular-nums",
|
|
210
|
+
boxShadow: "0 0 0 2px var(--dsw-alias-bg-base, #151517)",
|
|
211
|
+
pointerEvents: "none"
|
|
196
212
|
}
|
|
197
213
|
},
|
|
198
214
|
unread > 99 ? "99+" : String(unread)
|
|
@@ -2057,7 +2073,7 @@ function AccountRow({
|
|
|
2057
2073
|
}
|
|
2058
2074
|
|
|
2059
2075
|
// src/client/index.tsx
|
|
2060
|
-
var VERSION = "0.2.
|
|
2076
|
+
var VERSION = "0.2.1";
|
|
2061
2077
|
var inject = ["slots"];
|
|
2062
2078
|
var PANEL_ID = "mailharbor";
|
|
2063
2079
|
var STYLE_ID = "mailharbor-style";
|