@ammduncan/easel 0.2.20 → 0.2.21
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 +6 -0
- package/dist/client/viewer.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to easel. This project adheres to [Semantic Versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
+
## 0.2.21 — 2026-05-23
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- **Stray backticks in a CSS comment blanked every card.** The 0.2.20 prose-cap comment contained `` `.wrap` `` / `` `.full-bleed` `` in backticks. That comment lives inside `buildDefaultWrapper`'s JS template literal, so the backticks prematurely closed the template string → the function threw `… .wrap is not a function` on every render → hydrate failed and no cards showed (the push count still read 5). Removed the backticks from the comment.
|
|
9
|
+
- **Build now syntax-checks the client JS.** `viewer.js` / `index.js` are plain browser JS copied as-is (never run through `tsc`), so this class of bug shipped undetected. `scripts/copy-client.mjs` now runs `node --check` on each after copying and fails the build on a syntax error — this exact bug would have been caught at build time.
|
|
10
|
+
|
|
5
11
|
## 0.2.20 — 2026-05-23
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/dist/client/viewer.js
CHANGED
|
@@ -694,10 +694,10 @@ body {
|
|
|
694
694
|
}
|
|
695
695
|
/* Constrain prose to a comfortable reading length, but let visual blocks
|
|
696
696
|
(cards, grids, tables, mockups) use the full card width. Match prose both
|
|
697
|
-
as direct body children AND one level deep through a
|
|
698
|
-
the skill recommends wrapping content in
|
|
699
|
-
|
|
700
|
-
|
|
697
|
+
as direct body children AND one level deep through a .wrap container —
|
|
698
|
+
the skill recommends wrapping content in div.wrap, and without the
|
|
699
|
+
.wrap branch the cap silently misses and prose stretches full width.
|
|
700
|
+
.full-bleed still escapes via viewport units regardless of nesting. */
|
|
701
701
|
body > p, body > .deck, body > .lede, body > ul, body > ol, body > blockquote,
|
|
702
702
|
body > h1, body > h2, body > h3, body > h4,
|
|
703
703
|
body > .wrap > p, body > .wrap > .deck, body > .wrap > .lede,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ammduncan/easel",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.21",
|
|
4
4
|
"description": "A live browser tab for every Claude Code (and MCP) session. The push MCP tool appends HTML cards to a scrolling feed you keep open in split-screen.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|