strokes-js 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.
@@ -78,6 +78,7 @@ import { punctBracketOpen } from "./punctuation/punct-bracket-open.js";
78
78
  import { punctBracketClose } from "./punctuation/punct-bracket-close.js";
79
79
  import { punctAsterisk } from "./punctuation/punct-asterisk.js";
80
80
  import { punctEquals } from "./punctuation/punct-equals.js";
81
+ import { punctPlus } from "./punctuation/punct-plus.js";
81
82
  import { space } from "./space.js";
82
83
  export const glyphs = {
83
84
  " ": space,
@@ -161,4 +162,5 @@ export const glyphs = {
161
162
  "]": punctBracketClose,
162
163
  "*": punctAsterisk,
163
164
  "=": punctEquals,
165
+ "+": punctPlus,
164
166
  };
@@ -0,0 +1,3 @@
1
+ import type { GlyphEntry } from "../types.js";
2
+ /** Real hand-drawn glyph: "+", 3 wobble variants. */
3
+ export declare const punctPlus: GlyphEntry;
@@ -0,0 +1,9 @@
1
+ /** Real hand-drawn glyph: "+", 3 wobble variants. */
2
+ export const punctPlus = {
3
+ width: 10,
4
+ variants: [
5
+ "M5 7 L5 15 M1 11 L9 11",
6
+ "M4.9 6.9 L5.1 15.1 M0.9 11.1 L9.1 10.9",
7
+ "M5.1 7.1 L4.9 14.9 M1.1 10.9 L8.9 11.1",
8
+ ],
9
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strokes-js",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Renders text as animated hand-drawn SVG",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",