@tonguetoquill/collection 0.16.0 → 0.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonguetoquill/collection",
3
- "version": "0.16.0",
3
+ "version": "0.16.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nibsbin/tonguetoquill-collection.git"
@@ -64,10 +64,11 @@ cards:
64
64
  written_grade_date:
65
65
  title: Written Grade Date
66
66
  type: date
67
+ default: ""
67
68
  ui:
68
69
  group: Record
69
70
  compact: true
70
- description: Date of written grade (column D).
71
+ description: Date of written grade (column D). Omit or leave blank when there is no written grade.
71
72
 
72
73
  positional_grade:
73
74
  title: Positional Grade
@@ -80,10 +81,11 @@ cards:
80
81
  positional_grade_date:
81
82
  title: Positional Grade Date
82
83
  type: date
84
+ default: ""
83
85
  ui:
84
86
  group: Record
85
87
  compact: true
86
- description: Date of positional grade (column F).
88
+ description: Date of positional grade (column F). Omit or leave blank when there is no positional grade.
87
89
 
88
90
  auth_or_remarks:
89
91
  title: Record of Authentication or Remarks
@@ -75,14 +75,12 @@ positional_grade_date: 2025-08-01
75
75
  auth_or_remarks: "Verified by unit commander"
76
76
  ---
77
77
 
78
- <!-- Example 5: PCS departure — no grade columns needed -->
78
+ <!-- Example 5: PCS departure — no written/positional grade; omit grade dates (or use "") -->
79
79
  ---
80
80
  CARD: experience
81
81
  date: 2025-09-01
82
82
  action: "PCS to 726 ACS/MOC, Tinker AFB OK"
83
83
  written_grade: ""
84
- written_grade_date: 2025-09-01
85
84
  positional_grade: ""
86
- positional_grade_date: 2025-09-01
87
85
  auth_or_remarks: "Outprocessed 1 ACCS/DOT"
88
86
  ---
@@ -4,8 +4,10 @@
4
4
  #set text(font: ("NimbusRomNo9L", "Times New Roman", "serif"))
5
5
 
6
6
  // `type: date` fields arrive as Typst `datetime`; PDF overlay expects strings.
7
+ // Missing / blank dates: helper uses `none`; empty strings may also appear from input.
7
8
  #let form-cell(v) = {
8
9
  if v == none { "" }
10
+ else if type(v) == str and v == "" { "" }
9
11
  else if type(v) == datetime {
10
12
  v.display("[month padding:none]/[day padding:none]/[year]")
11
13
  } else {
@@ -13,7 +13,7 @@ signature_block:
13
13
  tag_line: Aim High
14
14
  ---
15
15
 
16
- Write your paragraphs here. Separate them with two new lines.
16
+ Write your paragraphs here.
17
17
 
18
18
  - Use bullets to nest paragraphs.
19
19
  - Indent to go deeper.
@@ -18,12 +18,12 @@ signature_block:
18
18
  tag_line: Semper Supra
19
19
  ---
20
20
 
21
- Write your paragraphs here. Separate them with two new lines.
21
+ Write your paragraphs here.
22
22
 
23
23
  - Use bullets to nest paragraphs.
24
24
  - Indent to go deeper.
25
25
 
26
- You can also **bold**, _italicize_, `code`, ~strikethrough~,
26
+ You can also **bold**, _italicize_, `code`, ~~strikethrough~~,
27
27
  and [link](https://example.com/) your text.
28
28
 
29
29
  Less formatting. More lethality.