@templatical/template-tools 0.42.0 → 0.43.0

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/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@templatical/template-tools",
3
3
  "description": "CLI and library for Templatical email templates — validate, render, edit, import, and live-preview",
4
- "version": "0.42.0",
4
+ "version": "0.43.0",
5
5
  "bin": {
6
6
  "templatical": "./dist/bin.js"
7
7
  },
8
8
  "bugs": "https://github.com/templatical/sdk/issues",
9
9
  "dependencies": {
10
- "@templatical/quality": "0.42.0",
11
- "@templatical/renderer": "0.42.0",
12
- "@templatical/types": "0.42.0",
10
+ "@templatical/quality": "0.43.0",
11
+ "@templatical/renderer": "0.43.0",
12
+ "@templatical/types": "0.43.0",
13
13
  "ajv": "^8.20.0"
14
14
  },
15
15
  "devDependencies": {
@@ -17,7 +17,7 @@
17
17
  "mjml": "^5.4.1",
18
18
  "ts-json-schema-generator": "^2.9.0",
19
19
  "typescript": "^6.0.3",
20
- "vitest": "^5.0.1"
20
+ "vitest": "^5.0.2"
21
21
  },
22
22
  "exports": {
23
23
  ".": {
@@ -48,14 +48,14 @@
48
48
  "license": "MIT",
49
49
  "module": "./dist/index.js",
50
50
  "peerDependencies": {
51
- "@templatical/import-beefree": "0.42.0",
52
- "@templatical/import-chamaileon": "0.42.0",
53
- "@templatical/import-easy-email-pro": "0.42.0",
54
- "@templatical/import-html": "0.42.0",
55
- "@templatical/import-mjml": "0.42.0",
56
- "@templatical/import-stripo": "0.42.0",
57
- "@templatical/import-topol": "0.42.0",
58
- "@templatical/import-unlayer": "0.42.0",
51
+ "@templatical/import-beefree": "0.43.0",
52
+ "@templatical/import-chamaileon": "0.43.0",
53
+ "@templatical/import-easy-email-pro": "0.43.0",
54
+ "@templatical/import-html": "0.43.0",
55
+ "@templatical/import-mjml": "0.43.0",
56
+ "@templatical/import-stripo": "0.43.0",
57
+ "@templatical/import-topol": "0.43.0",
58
+ "@templatical/import-unlayer": "0.43.0",
59
59
  "mjml": "^5.4.1"
60
60
  },
61
61
  "peerDependenciesMeta": {
package/schema.json CHANGED
@@ -745,8 +745,12 @@
745
745
  {
746
746
  "type": "string",
747
747
  "const": "full"
748
+ },
749
+ {
750
+ "$ref": "#/definitions/DividerPercentWidth"
748
751
  }
749
- ]
752
+ ],
753
+ "description": "`\"full\"` spans the column and a number is pixels. A percentage is a share of the column: MJML renders it natively, and it shrinks with the column on a phone where a pixel width would overflow."
750
754
  }
751
755
  },
752
756
  "required": [
@@ -760,6 +764,11 @@
760
764
  ],
761
765
  "additionalProperties": false
762
766
  },
767
+ "DividerPercentWidth": {
768
+ "type": "string",
769
+ "description": "A share of the column, from `\"0%\"` to `\"100%\"`.",
770
+ "pattern": "^(?:100(?:\\.0+)?|\\d{1,2}(?:\\.\\d+)?)%$"
771
+ },
763
772
  "VideoBlock": {
764
773
  "type": "object",
765
774
  "properties": {