@travetto/email-inky 3.1.18 → 3.1.19

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/jsx-runtime.ts CHANGED
@@ -24,7 +24,7 @@ export interface JSXElement<
24
24
  export type ValidHtmlTags =
25
25
  'strong' | 'em' | 'br' | 'hr' | 'a' |
26
26
  'li' | 'ul' | 'ol' | 'img' | 'p' |
27
- 'h1' | 'h2' | 'h3' | 'h4' |
27
+ 'h1' | 'h2' | 'h3' | 'h4' | 'small' |
28
28
  'td' | 'tr' | 'th' | 'table' | 'thead' | 'tbody' |
29
29
  'span' | 'div' | 'center' | 'title';
30
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/email-inky",
3
- "version": "3.1.18",
3
+ "version": "3.1.19",
4
4
  "description": "Email Inky templating module",
5
5
  "keywords": [
6
6
  "email",
@@ -97,7 +97,7 @@ export const Html: RenderProvider<RenderContext> = {
97
97
  li: std, ol: stdFull, ul: stdFull,
98
98
  table: stdFull, thead: std, tr: std, td: std, th: std, tbody: std, center: std, img: stdInline,
99
99
  title: std,
100
- div: std, span: stdInline,
100
+ div: std, span: stdInline, small: stdInline,
101
101
  a: async ({ recurse, props }) => `<a ${propsToStr(props)}>${await recurse()}</a>`,
102
102
 
103
103
  Title: async ({ recurse, el }) => `<title>${await recurse()}</title>`,
@@ -55,5 +55,5 @@ export const Markdown: RenderProvider<RenderContext> = {
55
55
 
56
56
  Summary: ignore, Title: ignore,
57
57
  img: ignore,
58
- div: visit, title: visit, span: visit, center: visit, table: visit, tbody: visit,
58
+ div: visit, title: visit, span: visit, center: visit, table: visit, tbody: visit, small: visit
59
59
  };
@@ -15,7 +15,7 @@ export const Subject: RenderProvider<RenderContext> = {
15
15
  Value: async ({ props }) => `{{${props.attr}}}`,
16
16
  Title: visit,
17
17
 
18
- title: visit, span: visit, strong: visit, center: visit, em: visit, p: visit,
18
+ title: visit, span: visit, strong: visit, center: visit, em: visit, p: visit, small: visit,
19
19
 
20
20
  Summary: empty, Button: empty,
21
21
  Callout: empty, Center: empty, HLine: empty,