Skip to content

Commit 9444d9e

Browse files
Version Packages (#64)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ff0b8a4 commit 9444d9e

17 files changed

Lines changed: 63 additions & 66 deletions

File tree

.tegami/letter-spacing.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.tegami/overlay-export-color.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.tegami/publish-lock.yaml

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,49 @@
11
core:changelogs:
2-
- content: "---\npackages:\n tegaki:\n type: minor\n---\n\n## Add `TegakiEngine.toSVG()` and a `canvas` accessor\n\nThe engine can now serialize its current text to a standalone SVG string via `toSVG({ animated, loop })`either self-drawing (SMIL mask reveal, variable stroke width) or looping (CSS keyframes, constant width), with the viewBox cropped to the ink. The backing `<canvas>` is also exposed through a `canvas` getter so export tooling can read pixels without reaching through the DOM.\n"
3-
filename: engine-to-svg-export.md
2+
- content: "---\npackages:\n tegaki:\n type: minor\n---\n\n## Infer and apply CSS `letter-spacing`\n\nThe renderer now reads `letter-spacing` from the container's computed style — alongside `font-size`, `line-height`, and `color`and applies it to the animated strokes, re-measuring when it changes. Spacing is inserted between clusters in the shaper pen-walk (matching the browser exactly for Latin, CJK, and non-cursive RTL like Hebrew) and picked up automatically from the DOM-measured offsets on the char-keyed fallback path, so line wrapping, glyph positions, and the drawn text stay in sync. The headless `textToSvg` export gained a matching `letterSpacing` option.\n"
3+
filename: letter-spacing.md
44
v: 0.0.0
5-
- content: "---\npackages:\n tegaki:\n type: minor\n---\n\n## Add a `tegaki` CLI and a `textToSvg()` export\n\n`npx tegaki` renders text to an animated handwriting SVG straight from the command line. The same output is available programmatically through the new `textToSvg()` export, along with its `TextToSvgMode` and `TextToSvgOptions` types.\n"
6-
filename: cli-and-text-to-svg.md
5+
- content: "---\npackages:\n tegaki:\n type: patch\n---\n\n## Fix the React `TegakiRenderer` ref handle on React 18\n\n`TegakiRenderer` exposed its imperative handle via React 19's ref-as-prop, which React 18 silently drops (`ref is not a prop`), leaving the ref `null` despite the declared `react: >=18` support. It now uses `forwardRef`, so the `{ engine, element }` handle works on both React 18 and 19 (the generic component API is preserved).\n"
6+
filename: react-forwardref.md
7+
v: 0.0.0
8+
- content: "---\npackages:\n tegaki:\n type: patch\n---\n\n## Fix doubled ghost text when exporting through DOM rasterizers\n\nThe DOM text overlay (kept for selection, accessibility and layout measurement) was hidden only with `-webkit-text-fill-color: transparent`. DOM-to-image/video rasterizers that don't implement that non-standard property — Editframe, html-to-image, Satori, headless-screenshot pipelines — repainted the overlay text in the inherited color and a default font, doubled on top of the canvas handwriting. It is now hidden with the standard `color: transparent`, which those exporters honor. (In `editable` mode the caret follows `currentColor`, so it is no longer independently visible — an accepted trade-off for correct exports.)\n"
9+
filename: overlay-export-color.md
710
v: 0.0.0
811
core:packages:
912
- id: npm:@tegaki/root
1013
updated: true
11-
- changelogIds:
12-
- engine-to-svg-export.md
13-
- cli-and-text-to-svg.md
14-
id: npm:tegaki
14+
- id: npm:@tegaki/example-nuxt
1515
updated: true
16-
- id: npm:@tegaki/website
16+
- id: npm:@tegaki/example-next
1717
updated: true
18-
- id: npm:tegaki-generator
18+
- id: npm:@tegaki/example-remotion
1919
updated: true
2020
- id: npm:@tegaki/example-e2e
2121
updated: true
22-
- id: npm:@tegaki/example-next
23-
updated: true
24-
- id: npm:@tegaki/example-nuxt
22+
- id: npm:hyperframes
2523
updated: true
26-
- id: npm:@tegaki/example-remotion
24+
- id: npm:tegaki-generator
2725
updated: true
2826
- id: npm:@tegaki/example-vite
2927
updated: true
30-
- id: npm:hyperframes
28+
- id: npm:@tegaki/website
29+
updated: true
30+
- changelogIds:
31+
- letter-spacing.md
32+
- react-forwardref.md
33+
- overlay-export-color.md
34+
id: npm:tegaki
35+
updated: true
36+
- id: npm:@tegaki/example-editframe
3137
updated: true
3238
npm:packages:
3339
- id: npm:@tegaki/root
34-
- id: npm:tegaki
35-
- id: npm:@tegaki/website
36-
- id: npm:tegaki-generator
37-
- id: npm:@tegaki/example-e2e
38-
- id: npm:@tegaki/example-next
3940
- id: npm:@tegaki/example-nuxt
41+
- id: npm:@tegaki/example-next
4042
- id: npm:@tegaki/example-remotion
41-
- id: npm:@tegaki/example-vite
43+
- id: npm:@tegaki/example-e2e
4244
- id: npm:hyperframes
45+
- id: npm:tegaki-generator
46+
- id: npm:@tegaki/example-vite
47+
- id: npm:@tegaki/website
48+
- id: npm:tegaki
49+
- id: npm:@tegaki/example-editframe

.tegami/react-forwardref.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

bun.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tegaki/example-e2e",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"private": true,
55
"type": "module",
66
"scripts": {

examples/editframe/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tegaki/example-editframe",
3-
"version": "0.21.0",
3+
"version": "0.22.0",
44
"private": true,
55
"type": "module",
66
"description": "Tegaki handwriting animations composed into a promo video with Editframe.",

examples/hyperframes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"render": "npx --yes hyperframes@0.5.3 render",
99
"publish": "npx --yes hyperframes@0.5.3 publish"
1010
},
11-
"version": "0.20.0"
11+
"version": "0.21.0"
1212
}

examples/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tegaki/example-next",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"private": true,
55
"type": "module",
66
"scripts": {

examples/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tegaki/example-nuxt",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"private": true,
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)