@autobusal/common 1.18.0 → 1.19.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/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ All notable changes to `@autobusal/common` are documented here. This project fol
6
6
  > Note: 1.10.0 through 1.15.1 were published without changelog entries. The
7
7
  > gap is left as-is rather than reconstructed after the fact.
8
8
 
9
+ ## 1.19.0
10
+
11
+ `extra` joins `create` and `search` as a top-of-table slot rather than a
12
+ per-row action. Any table opting into the extra slot also rendered one empty,
13
+ iconless, still-clickable button in every row's options cell — Icon has no
14
+ case for `extra`, so it drew nothing while taking the click. The refund queue
15
+ has been doing this all along; the new review queue would have too.
16
+
9
17
  ## [1.18.0] - 2026-08-02
10
18
 
11
19
  ### Added
@@ -14,7 +14,14 @@ interface Props {
14
14
  }
15
15
 
16
16
  const Get = ({ id, url, urlWith, type, t, handlers, navigate }: Props): (JSX.Element | null) => {
17
- if (['create', 'search'].includes(type)) {
17
+ // Edited: Ferjolt Ozuni - Date: 2026-08-02
18
+ // 'extra' belongs with 'create' and 'search': all three are TOP-of-table
19
+ // slots, not per-row actions. Without it here, any table that opts into
20
+ // the extra slot (the refund queue does, the review queue now does too)
21
+ // also renders one empty, iconless, clickable button in every row's
22
+ // options cell - Icon has no case for 'extra', so it draws nothing at all
23
+ // while still taking the click.
24
+ if (['create', 'search', 'extra'].includes(type)) {
18
25
  return null;
19
26
  }
20
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/common",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"