@polotno/schema 0.6.1 → 0.6.2
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/lib/design.schema.json +9 -21
- package/package.json +3 -3
package/lib/design.schema.json
CHANGED
|
@@ -517,13 +517,9 @@
|
|
|
517
517
|
"lineHeight": {
|
|
518
518
|
"default": 1.2,
|
|
519
519
|
"description": "Line height multiplier or 'auto'.",
|
|
520
|
-
"
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
"type": "string"
|
|
526
|
-
}
|
|
520
|
+
"type": [
|
|
521
|
+
"number",
|
|
522
|
+
"string"
|
|
527
523
|
]
|
|
528
524
|
},
|
|
529
525
|
"letterSpacing": {
|
|
@@ -2611,13 +2607,9 @@
|
|
|
2611
2607
|
},
|
|
2612
2608
|
"lineHeight": {
|
|
2613
2609
|
"description": "Line height multiplier or 'auto' (inherits from the table when omitted).",
|
|
2614
|
-
"
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
},
|
|
2618
|
-
{
|
|
2619
|
-
"type": "string"
|
|
2620
|
-
}
|
|
2610
|
+
"type": [
|
|
2611
|
+
"number",
|
|
2612
|
+
"string"
|
|
2621
2613
|
]
|
|
2622
2614
|
},
|
|
2623
2615
|
"letterSpacing": {
|
|
@@ -2715,13 +2707,9 @@
|
|
|
2715
2707
|
"lineHeight": {
|
|
2716
2708
|
"default": 1.2,
|
|
2717
2709
|
"description": "Default line height multiplier or 'auto'.",
|
|
2718
|
-
"
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
},
|
|
2722
|
-
{
|
|
2723
|
-
"type": "string"
|
|
2724
|
-
}
|
|
2710
|
+
"type": [
|
|
2711
|
+
"number",
|
|
2712
|
+
"string"
|
|
2725
2713
|
]
|
|
2726
2714
|
},
|
|
2727
2715
|
"letterSpacing": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polotno/schema",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Canonical Polotno design format: types, normalize, validate, JSON Schema. Authored in zod, DOM-free.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"type": "module",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"LICENSE.md"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"zod": "^4.
|
|
45
|
+
"zod": "^4.6.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"typescript": "~6.0.3",
|
|
49
|
-
"vitest": "^
|
|
49
|
+
"vitest": "^5.0.1"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "rm -rf lib && tsc && node scripts/generate-schema.mjs && node ../../scripts/check-pack.mjs",
|