@tonguetoquill/collection 0.1.9 → 0.1.10

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.1.9",
3
+ "version": "0.1.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nibsbin/tonguetoquill-collection.git"
@@ -160,11 +160,15 @@
160
160
  // Use baseline parameter to maintain vertical text alignment
161
161
  let approve-text = if action == "approve" {
162
162
  box(stroke: 0.5pt + black, radius: 2pt, inset: 2pt, baseline: 2pt)[Approve]
163
+ } else if action == "disapprove" {
164
+ strike[Approve]
163
165
  } else {
164
166
  [Approve]
165
167
  }
166
168
  let disapprove-text = if action == "disapprove" {
167
169
  box(stroke: 0.5pt + black, radius: 2pt, inset: 2pt, baseline: 2pt)[Disapprove]
170
+ } else if action == "approve" {
171
+ strike[Disapprove]
168
172
  } else {
169
173
  [Disapprove]
170
174
  }