@tonguetoquill/collection 0.17.3 → 0.17.5

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonguetoquill/collection",
3
- "version": "0.17.3",
3
+ "version": "0.17.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nibsbin/tonguetoquill-collection.git"
@@ -37,6 +37,6 @@
37
37
  "dependencies": {},
38
38
  "devDependencies": {
39
39
  "@quillmark/registry": "^0.13.0",
40
- "@quillmark/wasm": "^0.54.0"
40
+ "@quillmark/wasm": "^0.55.0"
41
41
  }
42
42
  }
@@ -138,7 +138,7 @@ main:
138
138
 
139
139
  font_size:
140
140
  title: Font size for the memo text (int pt)
141
- type: number
141
+ type: integer
142
142
  default: 11
143
143
  examples:
144
144
  - 11
@@ -70,6 +70,18 @@ main:
70
70
  group: Letterhead
71
71
  description: The full organization name of your unit.
72
72
 
73
+ letterhead_seal:
74
+ title: Letterhead seal
75
+ type: string
76
+ enum:
77
+ - dow
78
+ - dod
79
+ default: dow
80
+ ui:
81
+ group: Letterhead
82
+ compact: true
83
+ description: Department of War (DoW) or Department of Defense (DoD) seal shown in the letterhead.
84
+
73
85
  letterhead_seal_subtitle:
74
86
  title: Subtitle under letterhead seal
75
87
  type: string
@@ -142,7 +154,7 @@ main:
142
154
 
143
155
  font_size:
144
156
  title: Font size for the memo text (int pt)
145
- type: number
157
+ type: integer
146
158
  default: 12
147
159
  examples:
148
160
  - 12
@@ -6,8 +6,14 @@
6
6
  // Letterhead configuration
7
7
  letterhead_title: data.letterhead_title,
8
8
  letterhead_caption: data.letterhead_caption,
9
- letterhead_seal: image("assets/dow_seal.png"),
10
9
  letterhead_seal_subtitle: data.at("letterhead_seal_subtitle", default: none),
10
+ letterhead_seal: image(
11
+ if data.at("letterhead_seal", default: "dow") == "dod" {
12
+ "assets/dod_seal.png"
13
+ } else {
14
+ "assets/dow_seal.png"
15
+ }
16
+ ),
11
17
 
12
18
  // Date
13
19
  date: data.at("date", default: none),