kaafil-react-uikit 0.10.0 → 0.10.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/admin/index.cjs +360 -360
  3. package/dist/admin/index.js +5 -5
  4. package/dist/{chunk-APE4R2GB.cjs → chunk-2OWH2KDY.cjs} +83 -83
  5. package/dist/{chunk-APE4R2GB.cjs.map → chunk-2OWH2KDY.cjs.map} +1 -1
  6. package/dist/{chunk-E6SI2S3L.cjs → chunk-3AF2M2JD.cjs} +17 -17
  7. package/dist/{chunk-E6SI2S3L.cjs.map → chunk-3AF2M2JD.cjs.map} +1 -1
  8. package/dist/{chunk-AJEZMD64.cjs → chunk-64R4ZJTA.cjs} +12 -12
  9. package/dist/{chunk-AJEZMD64.cjs.map → chunk-64R4ZJTA.cjs.map} +1 -1
  10. package/dist/{chunk-ZVADVALQ.js → chunk-7752B4NM.js} +3 -3
  11. package/dist/{chunk-ZVADVALQ.js.map → chunk-7752B4NM.js.map} +1 -1
  12. package/dist/{chunk-WMBFBZ7Q.js → chunk-7V2XJIXD.js} +7 -4
  13. package/dist/chunk-7V2XJIXD.js.map +1 -0
  14. package/dist/{chunk-OXCVTVBY.js → chunk-AFWZFFEM.js} +7 -6
  15. package/dist/chunk-AFWZFFEM.js.map +1 -0
  16. package/dist/{chunk-LYCN2BOH.cjs → chunk-AJE2RNOR.cjs} +4 -4
  17. package/dist/{chunk-LYCN2BOH.cjs.map → chunk-AJE2RNOR.cjs.map} +1 -1
  18. package/dist/{chunk-X5EFVCYF.cjs → chunk-F4GGHUMX.cjs} +57 -56
  19. package/dist/chunk-F4GGHUMX.cjs.map +1 -0
  20. package/dist/{chunk-UMLJEBQV.js → chunk-K5Z6N2FY.js} +5 -5
  21. package/dist/{chunk-UMLJEBQV.js.map → chunk-K5Z6N2FY.js.map} +1 -1
  22. package/dist/{chunk-VAUGZOY6.js → chunk-KV7ODN2X.js} +3 -3
  23. package/dist/{chunk-VAUGZOY6.js.map → chunk-KV7ODN2X.js.map} +1 -1
  24. package/dist/{chunk-BKDKXM3L.cjs → chunk-NCHZLGEE.cjs} +9 -9
  25. package/dist/{chunk-BKDKXM3L.cjs.map → chunk-NCHZLGEE.cjs.map} +1 -1
  26. package/dist/{chunk-P5HF55MO.cjs → chunk-S53XNHRU.cjs} +7 -4
  27. package/dist/chunk-S53XNHRU.cjs.map +1 -0
  28. package/dist/{chunk-U2443I5Q.js → chunk-TGP4GTIY.js} +3 -3
  29. package/dist/{chunk-U2443I5Q.js.map → chunk-TGP4GTIY.js.map} +1 -1
  30. package/dist/{chunk-2HGOHUFU.js → chunk-UUID3H4R.js} +3 -3
  31. package/dist/{chunk-2HGOHUFU.js.map → chunk-UUID3H4R.js.map} +1 -1
  32. package/dist/{chunk-IDKRXLMY.js → chunk-VCROLPO3.js} +3 -3
  33. package/dist/{chunk-IDKRXLMY.js.map → chunk-VCROLPO3.js.map} +1 -1
  34. package/dist/chunk-ZZK7USFC.cjs +12 -0
  35. package/dist/{chunk-PHVQIIOI.cjs.map → chunk-ZZK7USFC.cjs.map} +1 -1
  36. package/dist/core/index.cjs +107 -107
  37. package/dist/core/index.js +10 -10
  38. package/dist/manager/index.cjs +256 -256
  39. package/dist/manager/index.js +6 -6
  40. package/dist/traveller/index.cjs +44 -37
  41. package/dist/traveller/index.cjs.map +1 -1
  42. package/dist/traveller/index.js +14 -7
  43. package/dist/traveller/index.js.map +1 -1
  44. package/package.json +1 -1
  45. package/dist/chunk-OXCVTVBY.js.map +0 -1
  46. package/dist/chunk-P5HF55MO.cjs.map +0 -1
  47. package/dist/chunk-PHVQIIOI.cjs +0 -12
  48. package/dist/chunk-WMBFBZ7Q.js.map +0 -1
  49. package/dist/chunk-X5EFVCYF.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -6,6 +6,59 @@ 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.10.2] — 2026-09-15
10
+
11
+ ### Fixed
12
+
13
+ - **An itinerary with no times no longer indents every row behind an empty
14
+ column.** `.kf-share-view__plan-time` is a fixed `inline-size` with
15
+ `flex-shrink: 0`, so it held its width whether or not it had anything in it.
16
+ When SOME rows carry a time that is correct — the ones without still need to
17
+ indent or the titles stop lining up. When NO row does, every title sat behind
18
+ a blank column that reads as a missing icon rather than as an absent time.
19
+
20
+ A `startTime` is optional on an itinerary item and a brochure day plan
21
+ usually has none — "Day 9: Solang Valley, free evening in Manali" is a whole
22
+ day, not an appointment — so the all-empty case is the common one, not the
23
+ edge. `TodayPlanSection` and `ItineraryDayStrip` now decide per LIST, not per
24
+ row: the column is dropped entirely when nothing in the day would fill it,
25
+ and kept for alignment as soon as one item would.
26
+
27
+ ## [0.10.1] — 2026-09-15
28
+
29
+ Two long-standing bugs that only bite together, found when the traveller
30
+ surface of that same partner CRM went blank on a **production** build.
31
+
32
+ ### Fixed
33
+
34
+ - **`isDevelopment()` answered `true` in every production browser build.**
35
+ It read `(globalThis as {...}).process?.env?.NODE_ENV`, on the reasoning
36
+ that a bundler "sees this exact property-access shape and inlines it the
37
+ same way it would a bare reference". It does not — Vite, webpack, Turbopack
38
+ and esbuild all match the literal member expression `process.env.NODE_ENV`,
39
+ and route it through `globalThis` or an optional chain and nothing is
40
+ replaced. A browser has no `process`, so the expression was `undefined`,
41
+ `undefined !== 'production'` is `true`, and **every dev-only throw in this
42
+ package shipped to real users**. It now reads a bare `process.env.NODE_ENV`
43
+ (declared locally, so still no `@types/node`) and fails CLOSED: a value it
44
+ cannot read means production, because a false positive here does not
45
+ produce a stray console line — it turns a guard meant to degrade quietly
46
+ into a crash.
47
+
48
+ - **The session's open window no longer claims to be a manager.**
49
+ `SessionShell` populated `SessionContext` with `persona: 'manager'`
50
+ unconditionally while opening. On a share surface that is simply false: a
51
+ bare `shareToken` prop settles the persona synchronously, which is the whole
52
+ premise of the credential-shape model. It now derives `'share'` from the
53
+ prop and keeps the guess only for `credentialResolver`, which genuinely
54
+ cannot be known before it resolves.
55
+
56
+ Together these took out the entire traveller surface in production:
57
+ `BrandShell` rejects `headStrategy: 'own-page'` for any non-`share` persona,
58
+ that guard is written to warn and fall back outside development, and instead
59
+ it threw — so `/t/<token>`, the page a traveller opens from a WhatsApp
60
+ message, rendered nothing but an error boundary.
61
+
9
62
  ## [0.10.0] — 2026-09-15
10
63
 
11
64
  Both changes came out of integrating a real partner CRM against the live