@mdbase-dev/ui 0.2.14 → 0.2.15
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/css/brand.css +0 -10
- package/dist/brand.js +38 -22
- package/package.json +3 -3
package/css/brand.css
CHANGED
|
@@ -34,16 +34,6 @@
|
|
|
34
34
|
fill: var(--mark-accent);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.mdbase-mark .mdbase-mark-ink-stroke {
|
|
38
|
-
fill: none;
|
|
39
|
-
stroke: var(--mark-ink);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.mdbase-mark .mdbase-mark-accent-stroke {
|
|
43
|
-
fill: none;
|
|
44
|
-
stroke: var(--mark-accent);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
37
|
/* Progress: a faint copy keeps the shape visible while the lines fill. */
|
|
48
38
|
.mdbase-mark .mdbase-mark-progress-ghost {
|
|
49
39
|
opacity: 0.22;
|
package/dist/brand.js
CHANGED
|
@@ -279,33 +279,49 @@ export function MdbaseAppMark({
|
|
|
279
279
|
})]
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
|
-
if (app === "tasknotes") {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
viewBox: MDBASE_MARK_VIEW_BOX,
|
|
286
|
-
"aria-hidden": "true",
|
|
287
|
-
focusable: "false",
|
|
288
|
-
children: [_jsx("rect", {
|
|
289
|
-
className: "mdbase-mark-ink-stroke",
|
|
290
|
-
x: "27",
|
|
291
|
-
y: "27",
|
|
292
|
-
width: "66",
|
|
293
|
-
height: "66",
|
|
294
|
-
strokeWidth: "10"
|
|
295
|
-
}), _jsx("path", {
|
|
296
|
-
className: "mdbase-mark-accent-stroke",
|
|
297
|
-
d: "M42 61 54 73 79 48",
|
|
298
|
-
strokeWidth: "10",
|
|
299
|
-
strokeLinecap: "square",
|
|
300
|
-
strokeLinejoin: "miter"
|
|
301
|
-
})]
|
|
302
|
-
});
|
|
303
|
-
}
|
|
282
|
+
if (app === "tasknotes") return _jsx(TaskNotesMark, {
|
|
283
|
+
className: className
|
|
284
|
+
});
|
|
304
285
|
return _jsx(MdbaseMark, {
|
|
305
286
|
app: app,
|
|
306
287
|
className: className
|
|
307
288
|
});
|
|
308
289
|
}
|
|
290
|
+
/** TaskNotes' own brush check (its `tasknotes-mark.svg`), in the app's colour. */
|
|
291
|
+
function TaskNotesMark({
|
|
292
|
+
className
|
|
293
|
+
}) {
|
|
294
|
+
const mask = `tasknotes-mark-${useId().replaceAll(":", "")}`;
|
|
295
|
+
return _jsxs("svg", {
|
|
296
|
+
className: classes("mdbase-mark mdbase-app-mark is-tasknotes", className),
|
|
297
|
+
viewBox: "-5 -4 110 110",
|
|
298
|
+
"aria-hidden": "true",
|
|
299
|
+
focusable: "false",
|
|
300
|
+
children: [_jsxs("mask", {
|
|
301
|
+
id: mask,
|
|
302
|
+
maskUnits: "userSpaceOnUse",
|
|
303
|
+
x: "0",
|
|
304
|
+
y: "0",
|
|
305
|
+
width: "100",
|
|
306
|
+
height: "101",
|
|
307
|
+
children: [_jsx("rect", {
|
|
308
|
+
width: "100",
|
|
309
|
+
height: "101",
|
|
310
|
+
fill: "white"
|
|
311
|
+
}), _jsx("path", {
|
|
312
|
+
fill: "black",
|
|
313
|
+
d: "m 5.9,52.4 -0.09,4.51 c 4.71,0.09 7.61,1.48 9.95,3.57 2.35,2.09 4.11,5.01 5.90,8.14 1.80,3.13 3.62,6.46 6.45,9.12 2.23,2.09 5.14,3.67 8.83,4.21 0.46,-1.51 1.05,-2.95 1.77,-4.33 -3.44,-0.21 -5.62,-1.39 -7.53,-3.17 -2.14,-2.01 -3.82,-4.92 -5.63,-8.08 -1.81,-3.16 -3.77,-6.56 -6.82,-9.27 -3.05,-2.71 -7.07,-4.59 -11.83,-4.70 z"
|
|
314
|
+
}), _jsx("path", {
|
|
315
|
+
fill: "black",
|
|
316
|
+
d: "M 73.6,18.3 69.9,20.9 c 4.06,5.75 4.40,11.33 2.77,16.78 -1.63,5.45 -5.41,10.67 -9.65,14.78 -8.49,8.20 -16.59,14.11 -21.83,21.18 -5.24,7.07 -7.22,15.59 -3.13,27.21 l 4.25,-1.50 c -3.74,-10.62 -2.11,-16.80 2.50,-23.01 4.61,-6.21 12.63,-12.19 21.34,-20.64 4.65,-4.50 8.89,-10.23 10.84,-16.72 1.95,-6.49 1.42,-13.86 -3.40,-20.68 z"
|
|
317
|
+
})]
|
|
318
|
+
}), _jsx("path", {
|
|
319
|
+
className: "mdbase-mark-ink",
|
|
320
|
+
mask: `url(#${mask})`,
|
|
321
|
+
d: "m 98.5,0.6 c -0.38,0 -0.83,0.09 -1.33,0.23 -2,0.59 -4.66,2.18 -5.78,3.22 -1.25,1.16 -4.16,4.93 -6.08,7.19 -2.67,3.12 -5.65,6.58 -9.32,11.13 2.58,5.61 2.61,11.38 1.05,16.60 -1.95,6.49 -6.19,12.22 -10.84,16.72 -8.71,8.43 -16.73,14.41 -21.34,20.64 -4.47,6.03 -6.13,12.03 -2.81,22.08 0.19,-0.23 0.37,-0.49 0.54,-0.80 10.57,-19.70 17.89,-27.30 41.9,-47.08 v 0 c 2.40,-1.97 3.71,-4.33 4.52,-7.14 0.81,-2.82 1.11,-6.10 1.52,-9.92 0.81,-7.64 2.02,-17.43 8.43,-29.95 0.37,-0.73 0.57,-1.30 0.62,-1.72 0.05,-0.43 -0.04,-0.71 -0.22,-0.90 -0.19,-0.18 -0.48,-0.27 -0.86,-0.26 z M 72.7,26.3 c -0.75,0.92 -1.51,1.84 -2.27,2.78 -9.09,11.05 -19.45,22.93 -28.54,29.97 -1.48,1.14 -2.98,1.54 -4.46,1.38 -1.49,-0.16 -2.97,-0.89 -4.43,-1.96 -2.91,-2.16 -5.74,-5.74 -8.35,-9.19 -2.62,-3.45 -5.04,-6.77 -7.12,-8.39 -1.04,-0.81 -1.99,-1.19 -2.83,-0.97 -0.84,0.22 -1.60,1.05 -2.26,2.70 -1.03,2.61 -1.60,6.22 -3.42,10.05 4.08,0.62 7.27,2.27 9.73,4.45 3.05,2.71 5.01,6.11 6.82,9.27 1.81,3.16 3.49,6.07 5.63,8.08 1.90,1.78 4.08,2.96 7.53,3.17 0.71,-1.37 1.55,-2.69 2.49,-3.95 5.24,-7.07 13.34,-12.98 21.83,-21.18 4.24,-4.11 8.02,-9.33 9.65,-14.78 1.12,-3.73 1.31,-7.53 0.01,-11.42 z M 10.3,49.1 c -0.09,0.29 -0.18,0.56 -0.28,0.85 0.10,-0.29 0.19,-0.56 0.28,-0.85 z m -4.02,7.84 c -0.01,0.01 -0.02,0.02 -0.03,0.03 0.01,-0.01 0.02,-0.02 0.03,-0.03 0,0 0,0 0,0 z m 0.12,0 c -1.08,1.40 -2.40,2.79 -4.05,4.12 -1.20,1.0 -1.85,1.86 -2.03,2.71 -0.18,0.85 0.10,1.67 0.76,2.53 1.32,1.71 4.16,3.54 7.81,5.91 7.28,4.73 17.75,11.63 25.63,24.16 0.64,1.02 1.74,2.04 2.95,2.65 -0.91,-5.36 -0.91,-8.78 -0.54,-11.88 -3.33,-0.55 -6.07,-2.12 -8.39,-4.72 -2.83,-3.17 -4.69,-6.59 -6.54,-9.85 -1.85,-3.26 -3.69,-6.37 -6.08,-8.47 -2.06,-1.81 -4.61,-3.0 -8.49,-3.17 z"
|
|
322
|
+
})]
|
|
323
|
+
});
|
|
324
|
+
}
|
|
309
325
|
/**
|
|
310
326
|
* `mdbase` followed by the product's quieter name. Editor carries the platform mark
|
|
311
327
|
* as the canonical app; Reader and Writer carry their app marks.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdbase-dev/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"@lingui/format-po": "6.9.0",
|
|
232
232
|
"@lingui/react": "6.9.0",
|
|
233
233
|
"@lingui/vite-plugin": "6.9.0",
|
|
234
|
-
"@mdbase-dev/sdk": "file:../../apps/editor/vendor/sdk-
|
|
234
|
+
"@mdbase-dev/sdk": "file:../../apps/editor/vendor/sdk-6d60e43d-production-0.2.13.tgz",
|
|
235
235
|
"@rolldown/plugin-babel": "^0.2.4",
|
|
236
236
|
"@types/jsdom": "^30.0.0",
|
|
237
237
|
"@types/node": "^24.0.0",
|
|
@@ -281,6 +281,6 @@
|
|
|
281
281
|
"typecheck": "node scripts/compile-catalogues.mjs && tsc -p tsconfig.json --noEmit"
|
|
282
282
|
},
|
|
283
283
|
"mdbaseRelease": {
|
|
284
|
-
"commit": "
|
|
284
|
+
"commit": "822e33ae7f1c1e3459e7d423e979074b0f80f553"
|
|
285
285
|
}
|
|
286
286
|
}
|