kaafil-react-uikit 0.11.1 → 0.11.3
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 +55 -0
- package/dist/admin/index.cjs +373 -365
- package/dist/admin/index.cjs.map +1 -1
- package/dist/admin/index.js +17 -9
- package/dist/admin/index.js.map +1 -1
- package/dist/{chunk-4WXIR6FD.js → chunk-4U5VHQDT.js} +5 -5
- package/dist/{chunk-4WXIR6FD.js.map → chunk-4U5VHQDT.js.map} +1 -1
- package/dist/{chunk-4TTDAOOG.cjs → chunk-5ORJRFXZ.cjs} +30 -3
- package/dist/chunk-5ORJRFXZ.cjs.map +1 -0
- package/dist/{chunk-RK3CWJ56.js → chunk-63JQKLMH.js} +3 -3
- package/dist/{chunk-RK3CWJ56.js.map → chunk-63JQKLMH.js.map} +1 -1
- package/dist/{chunk-W63ZEIC2.cjs → chunk-6QSHORU3.cjs} +17 -17
- package/dist/{chunk-W63ZEIC2.cjs.map → chunk-6QSHORU3.cjs.map} +1 -1
- package/dist/{chunk-HC4PLK4E.js → chunk-F2ENMVT7.js} +3 -3
- package/dist/{chunk-HC4PLK4E.js.map → chunk-F2ENMVT7.js.map} +1 -1
- package/dist/{chunk-DTVRWYVN.js → chunk-LJO2FGFD.js} +5 -5
- package/dist/{chunk-DTVRWYVN.js.map → chunk-LJO2FGFD.js.map} +1 -1
- package/dist/{chunk-EGEVXI5K.js → chunk-LOLQNRIK.js} +3 -3
- package/dist/{chunk-EGEVXI5K.js.map → chunk-LOLQNRIK.js.map} +1 -1
- package/dist/{chunk-KY752BBA.cjs → chunk-ODH3SYYW.cjs} +55 -55
- package/dist/{chunk-KY752BBA.cjs.map → chunk-ODH3SYYW.cjs.map} +1 -1
- package/dist/{chunk-VWFNUQDH.js → chunk-RCWSMWQD.js} +3 -3
- package/dist/{chunk-VWFNUQDH.js.map → chunk-RCWSMWQD.js.map} +1 -1
- package/dist/{chunk-UG4Z23IJ.cjs → chunk-T5JYKERY.cjs} +12 -12
- package/dist/{chunk-UG4Z23IJ.cjs.map → chunk-T5JYKERY.cjs.map} +1 -1
- package/dist/{chunk-F6SN6CEC.js → chunk-U6IE2UYL.js} +3 -3
- package/dist/{chunk-F6SN6CEC.js.map → chunk-U6IE2UYL.js.map} +1 -1
- package/dist/{chunk-2JNB5A6Z.cjs → chunk-USKVWPJD.cjs} +83 -83
- package/dist/{chunk-2JNB5A6Z.cjs.map → chunk-USKVWPJD.cjs.map} +1 -1
- package/dist/{chunk-DRUTYOTN.cjs → chunk-VHBGE4BY.cjs} +4 -4
- package/dist/{chunk-DRUTYOTN.cjs.map → chunk-VHBGE4BY.cjs.map} +1 -1
- package/dist/{chunk-6MD4QTZZ.cjs → chunk-XWU5MCY3.cjs} +9 -9
- package/dist/{chunk-6MD4QTZZ.cjs.map → chunk-XWU5MCY3.cjs.map} +1 -1
- package/dist/{chunk-7CLYTDSC.js → chunk-YJJ4DI42.js} +30 -3
- package/dist/chunk-YJJ4DI42.js.map +1 -0
- package/dist/chunk-YKBA4WQJ.cjs +12 -0
- package/dist/{chunk-PMXQQFQN.cjs.map → chunk-YKBA4WQJ.cjs.map} +1 -1
- package/dist/core/index.cjs +107 -107
- package/dist/core/index.js +10 -10
- package/dist/manager/index.cjs +262 -260
- package/dist/manager/index.cjs.map +1 -1
- package/dist/manager/index.js +12 -10
- package/dist/manager/index.js.map +1 -1
- package/dist/traveller/index.cjs +35 -35
- package/dist/traveller/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-4TTDAOOG.cjs.map +0 -1
- package/dist/chunk-7CLYTDSC.js.map +0 -1
- package/dist/chunk-PMXQQFQN.cjs +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,61 @@ 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.11.3] — 2026-09-15
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **The manager's Now tab asked the same question four times.** A hook is an
|
|
14
|
+
implementation shared by its callers, not an instance shared by them: every
|
|
15
|
+
component calling a read hook gets its own state, its own effect and its own
|
|
16
|
+
request. Four components on that tab each needed `journey/capabilities`, so
|
|
17
|
+
four identical requests went out together.
|
|
18
|
+
|
|
19
|
+
`core/internal/coalesceRead.ts` is now the one place this package collapses
|
|
20
|
+
identical concurrent reads into one. Whoever asks first issues the request,
|
|
21
|
+
anyone asking while it is in flight awaits the same promise, and the entry is
|
|
22
|
+
dropped the moment it settles — success or failure, so a rejection is never
|
|
23
|
+
replayed to a caller who would have retried.
|
|
24
|
+
|
|
25
|
+
It is deliberately NOT a result cache: nothing survives the promise settling,
|
|
26
|
+
so this changes only how many requests a single moment produces, never how
|
|
27
|
+
fresh an answer is or when a refetch happens. Caching results would move
|
|
28
|
+
staleness decisions out of the hooks that own them.
|
|
29
|
+
|
|
30
|
+
Measured against a live engine, the tab's opening burst: **10 requests →
|
|
31
|
+
7, wall 2213–3552ms → 1845–2027ms**. The saving is larger than three
|
|
32
|
+
requests' worth because they were also competing with each other.
|
|
33
|
+
|
|
34
|
+
- **Two more empty time columns.** `ManagerNowSection`'s timeline and
|
|
35
|
+
`ManagerOverviewSection`'s itinerary preview both reserved a fixed,
|
|
36
|
+
non-shrinking time column and rendered it empty when no block carried a
|
|
37
|
+
`startTime` — the same defect 0.10.2 fixed on the traveller surface, which
|
|
38
|
+
that release's note predicted might exist elsewhere. It did, twice. A sweep
|
|
39
|
+
of every fixed-width non-shrinking column in the package found no others.
|
|
40
|
+
|
|
41
|
+
## [0.11.2] — 2026-09-15
|
|
42
|
+
|
|
43
|
+
Needs an engine build carrying the widened `deleteFile` rule; against an older
|
|
44
|
+
one an unconfirmed non-document answers `422`.
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
|
|
48
|
+
- **An abandoned upload can now be cleared.** Withdraw was offered only on a
|
|
49
|
+
`trip_document`, so a `booking_voucher` or `expense_receipt` whose upload
|
|
50
|
+
failed halfway sat in the list permanently — `PENDING`, no bytes, no control
|
|
51
|
+
on the row, nothing that could remove it.
|
|
52
|
+
|
|
53
|
+
Nothing can depend on a file that was never confirmed: every path that links
|
|
54
|
+
one to a parent checks `READY` first. So the purpose restriction now applies
|
|
55
|
+
only to CONFIRMED files, and a `pending`/`orphaned` row can go whatever its
|
|
56
|
+
purpose.
|
|
57
|
+
|
|
58
|
+
The dialog says something different for those, because the consequences
|
|
59
|
+
differ: an upload that never completed has no bytes and nothing on anybody's
|
|
60
|
+
share link, so the confirmed copy — "anyone holding a link loses access
|
|
61
|
+
immediately" — would be both alarming and false. It reads "Discard this
|
|
62
|
+
upload?" instead.
|
|
63
|
+
|
|
9
64
|
## [0.11.1] — 2026-09-15
|
|
10
65
|
|
|
11
66
|
### Changed
|