kaafil-react-uikit 0.4.1 → 0.5.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.
Files changed (57) hide show
  1. package/CHANGELOG.md +44 -5
  2. package/dist/admin/index.cjs +355 -353
  3. package/dist/admin/index.cjs.map +1 -1
  4. package/dist/admin/index.js +16 -14
  5. package/dist/admin/index.js.map +1 -1
  6. package/dist/{chunk-EP4VCID7.js → chunk-3E2FN5JJ.js} +3 -3
  7. package/dist/{chunk-EP4VCID7.js.map → chunk-3E2FN5JJ.js.map} +1 -1
  8. package/dist/{chunk-TPBKRXEB.cjs → chunk-3RZDHDEY.cjs} +17 -17
  9. package/dist/{chunk-TPBKRXEB.cjs.map → chunk-3RZDHDEY.cjs.map} +1 -1
  10. package/dist/chunk-62HCQWZL.cjs +12 -0
  11. package/dist/chunk-62HCQWZL.cjs.map +1 -0
  12. package/dist/{chunk-ABWNV4N4.js → chunk-6FUVFVYY.js} +97 -4
  13. package/dist/chunk-6FUVFVYY.js.map +1 -0
  14. package/dist/{chunk-BUE2GJDN.js → chunk-762SWUEG.js} +3 -3
  15. package/dist/{chunk-BUE2GJDN.js.map → chunk-762SWUEG.js.map} +1 -1
  16. package/dist/{chunk-CCJ5XNWY.cjs → chunk-CK3L6Y43.cjs} +98 -2
  17. package/dist/chunk-CK3L6Y43.cjs.map +1 -0
  18. package/dist/{chunk-XBYLSJOS.cjs → chunk-DI77H7ED.cjs} +83 -83
  19. package/dist/{chunk-XBYLSJOS.cjs.map → chunk-DI77H7ED.cjs.map} +1 -1
  20. package/dist/{chunk-5DVTAEQC.js → chunk-EDLIJSMR.js} +5 -5
  21. package/dist/{chunk-5DVTAEQC.js.map → chunk-EDLIJSMR.js.map} +1 -1
  22. package/dist/{chunk-VAJ4D7EF.js → chunk-FEJL6GKJ.js} +513 -20
  23. package/dist/chunk-FEJL6GKJ.js.map +1 -0
  24. package/dist/{chunk-2D4Y4LOT.cjs → chunk-IBVCH6GC.cjs} +553 -51
  25. package/dist/chunk-IBVCH6GC.cjs.map +1 -0
  26. package/dist/{chunk-DABF4PUI.js → chunk-ITGVRN2S.js} +3 -3
  27. package/dist/{chunk-DABF4PUI.js.map → chunk-ITGVRN2S.js.map} +1 -1
  28. package/dist/{chunk-DUZG6A22.cjs → chunk-LO3GQFQ6.cjs} +4 -4
  29. package/dist/{chunk-DUZG6A22.cjs.map → chunk-LO3GQFQ6.cjs.map} +1 -1
  30. package/dist/{chunk-4LZXDRAD.cjs → chunk-QD4Z5DRT.cjs} +12 -12
  31. package/dist/{chunk-4LZXDRAD.cjs.map → chunk-QD4Z5DRT.cjs.map} +1 -1
  32. package/dist/{chunk-TV5QTT44.js → chunk-RW6TJMRK.js} +3 -3
  33. package/dist/{chunk-TV5QTT44.js.map → chunk-RW6TJMRK.js.map} +1 -1
  34. package/dist/chunk-XU7GP53M.js +10 -0
  35. package/dist/chunk-XU7GP53M.js.map +1 -0
  36. package/dist/{chunk-DDSNXKFN.cjs → chunk-XYIOM75D.cjs} +9 -9
  37. package/dist/{chunk-DDSNXKFN.cjs.map → chunk-XYIOM75D.cjs.map} +1 -1
  38. package/dist/core/index.cjs +153 -613
  39. package/dist/core/index.cjs.map +1 -1
  40. package/dist/core/index.d.cts +36 -1
  41. package/dist/core/index.d.ts +36 -1
  42. package/dist/core/index.js +21 -511
  43. package/dist/core/index.js.map +1 -1
  44. package/dist/index.css +1 -1
  45. package/dist/manager/index.cjs +239 -239
  46. package/dist/manager/index.js +6 -6
  47. package/dist/traveller/index.cjs +35 -35
  48. package/dist/traveller/index.js +5 -5
  49. package/package.json +2 -2
  50. package/dist/chunk-2D4Y4LOT.cjs.map +0 -1
  51. package/dist/chunk-2JABR4FF.js +0 -105
  52. package/dist/chunk-2JABR4FF.js.map +0 -1
  53. package/dist/chunk-ABWNV4N4.js.map +0 -1
  54. package/dist/chunk-CCJ5XNWY.cjs.map +0 -1
  55. package/dist/chunk-KDGBJPPZ.cjs +0 -110
  56. package/dist/chunk-KDGBJPPZ.cjs.map +0 -1
  57. package/dist/chunk-VAJ4D7EF.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -6,13 +6,49 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this package uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
  While on `0.x` a minor bump may carry a breaking change; the entry will say so.
8
8
 
9
- ## [0.4.1] — 2026-09-14
9
+ ## [0.5.0] — 2026-09-14
10
+
11
+ Requires `kaafil-js@^0.5.0` and an engine carrying the matching wire change.
10
12
 
11
13
  ### Fixed
12
14
 
15
+ - **"Add traveller" failed with "Couldn't add them. Nothing changed — try
16
+ again", and never made a request at all.** `addTraveller` sent
17
+ `useServerTime().now()` as the manifest entry's `sourceUpdatedAt`. That hook
18
+ throws until a `snapshot.updated` event carrying `serverTime` has landed,
19
+ and that event comes from the offline lane, which the desk's direct reads
20
+ never drive — so on the desk it threw before the request was built. The
21
+ field is now optional on the wire and omitted here; the server stamps the
22
+ write, exactly as `assignManager` already did. This is the add-traveller
23
+ failure from the QA report, whose real cause was a clock, not the write.
24
+
25
+ ## [0.4.2] — 2026-09-14
26
+
27
+ All four found by driving the real UI with a browser rather than reading the
28
+ diff.
29
+
30
+ ### Added
31
+
32
+ - **`buildShareUrl`** on `KaafilUIKitProvider` — `(token: string) => string`.
33
+ Replaces 0.4.0's `share.baseUrl.default` config key, which only covered
34
+ `base + '/' + token`; a function also covers a query parameter, a token
35
+ mid-path, a locale prefix or an encoded value. A builder that throws falls
36
+ back to the token rather than taking the dialog down.
37
+
38
+ ### Fixed
39
+
40
+ - The add-traveller dialog's search box rendered **280px tall with the input
41
+ floating in its middle**. `.kf-trip-manifest-section__search` carried
42
+ `flex: 1 1 280px`, written for the horizontal toolbar — and `flex-basis`
43
+ addresses the container's MAIN axis, so in the dialog's column layout that
44
+ became a height and overrode the 34px control size. Row-context sizing now
45
+ lives on the toolbar's own rule.
13
46
  - The post-mint notice still read "Copy this now — it can't be shown again."
14
- That stopped being true in 0.4.0, which added **Show link**. Caught by
15
- driving the real dialog rather than reading the diff.
47
+ That stopped being true in 0.4.0, which added **Show link**.
48
+
49
+ ## [0.4.1] — 2026-09-14
50
+
51
+ Superseded by 0.4.2 on the same day.
16
52
 
17
53
  ## [0.4.0] — 2026-09-14
18
54
 
@@ -55,8 +91,11 @@ Requires `kaafil-js@^0.4.0`.
55
91
  - **Show an existing share link again**, instead of replacing it and breaking
56
92
  the copy a family already has. Needs `kaafil-js@^0.4.0` and an engine that
57
93
  stores the sealed token; links minted before that say so plainly.
58
- - **`share.baseUrl.default`** set it in `seedConfig` and the share dialog
59
- shows and copies a full URL rather than a bare token.
94
+ - **`buildShareUrl`** on the provider `(token) => string`, so the share
95
+ dialog shows and copies a real link rather than a bare token. (Shipped in
96
+ 0.4.0 as a `seedConfig` string, `share.baseUrl.default`; replaced in 0.4.2
97
+ before anyone could depend on it, because a string only covers
98
+ `base + '/' + token`.)
60
99
  - An inline confirmation before revoking a share link.
61
100
  - A generated token reference: 434 defined tokens, published on the developer
62
101
  portal.