@latentic/live-markdown 0.3.0 → 0.3.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 +11 -0
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.1] - 2026-08-29
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **The task tick is centred in its box, and its stroke is lighter.** The tick
|
|
8
|
+
is an `L` rotated 45°, and the L's ink sits below and right of its own rect
|
|
9
|
+
centre — the rotation turns that diagonal offset into a purely downward one of
|
|
10
|
+
0.065em. The rect therefore has to ride that much above the box centre to look
|
|
11
|
+
centred: `top: 0.125em`, not the geometric `0.1875em`, which renders visibly
|
|
12
|
+
low. Stroke 0.125em → 0.1em, from 14.3% of the box to 11.4%.
|
|
13
|
+
|
|
3
14
|
## [0.3.0] - 2026-08-29
|
|
4
15
|
|
|
5
16
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -2651,15 +2651,22 @@ var editorBaseTheme = EditorView.theme({
|
|
|
2651
2651
|
// icon on a branded fill and is white in every theme, while the box here is
|
|
2652
2652
|
// filled with `--cds-icon-primary` — which inverts. In dark that was a white
|
|
2653
2653
|
// tick on a near-white box: a checked item read as unchecked.
|
|
2654
|
+
//
|
|
2655
|
+
// `top` is the OPTICAL centre, not the geometric one. The L's ink sits below
|
|
2656
|
+
// and right of its own rect centre, and `rotate(45deg)` turns that diagonal
|
|
2657
|
+
// offset into a purely downward one — 0.065em of it — so the rect has to ride
|
|
2658
|
+
// that much higher for the tick to look centred. Geometric centring (0.1875em)
|
|
2659
|
+
// renders visibly low; the old 0.0625em was visibly high.
|
|
2654
2660
|
".cm-task-checkbox:checked::after": {
|
|
2655
2661
|
content: "''",
|
|
2656
2662
|
position: "absolute",
|
|
2657
2663
|
left: "0.3125em",
|
|
2658
|
-
top: "0.
|
|
2664
|
+
top: "0.125em",
|
|
2659
2665
|
width: "0.25em",
|
|
2660
2666
|
height: "0.5em",
|
|
2661
2667
|
border: "solid var(--cds-background, #ffffff)",
|
|
2662
|
-
|
|
2668
|
+
// 0.125em read as a heavy slab once the box shrank to 0.875em.
|
|
2669
|
+
borderWidth: "0 0.1em 0.1em 0",
|
|
2663
2670
|
transform: "rotate(45deg)"
|
|
2664
2671
|
},
|
|
2665
2672
|
".cm-task-checkbox:focus-visible": {
|