kaafil-react-uikit 0.4.1 → 0.4.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 (57) hide show
  1. package/CHANGELOG.md +28 -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-DABF4PUI.js → chunk-ITGVRN2S.js} +3 -3
  23. package/dist/{chunk-DABF4PUI.js.map → chunk-ITGVRN2S.js.map} +1 -1
  24. package/dist/{chunk-DUZG6A22.cjs → chunk-LO3GQFQ6.cjs} +4 -4
  25. package/dist/{chunk-DUZG6A22.cjs.map → chunk-LO3GQFQ6.cjs.map} +1 -1
  26. package/dist/{chunk-4LZXDRAD.cjs → chunk-QD4Z5DRT.cjs} +12 -12
  27. package/dist/{chunk-4LZXDRAD.cjs.map → chunk-QD4Z5DRT.cjs.map} +1 -1
  28. package/dist/{chunk-VAJ4D7EF.js → chunk-QMUIZHJO.js} +510 -16
  29. package/dist/chunk-QMUIZHJO.js.map +1 -0
  30. package/dist/{chunk-TV5QTT44.js → chunk-RW6TJMRK.js} +3 -3
  31. package/dist/{chunk-TV5QTT44.js.map → chunk-RW6TJMRK.js.map} +1 -1
  32. package/dist/{chunk-2D4Y4LOT.cjs → chunk-V6UQ6GIM.cjs} +551 -48
  33. package/dist/chunk-V6UQ6GIM.cjs.map +1 -0
  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 +1 -1
  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
@@ -1,9 +1,9 @@
1
- import { useManagerMe, useConflicts, useNotifications } from '../chunk-TV5QTT44.js';
2
- import { FORM_FIELD_KIND_SINGLE_BOOLEAN, useChecklists, useManagers, useCloseout, useFiles, useFloat, useForms, useParties, useItinerary, useVendors, useExpenses, useCollections, useManagerToday, usePickups, useRooming, useTravellerProfile, useSeating } from '../chunk-EP4VCID7.js';
3
- import { useOfflineEngine, useKaafilBrand } from '../chunk-2JABR4FF.js';
4
- import { OfflineFallbackScreen } from '../chunk-BUE2GJDN.js';
5
- export { BootErrorScreen, LockedTripScreen, NotFoundScreen, OfflineFallbackScreen, SessionExpiredScreen } from '../chunk-BUE2GJDN.js';
6
- import { createRegistry, useKaafilChrome, tokenStyle, useOutboxStatus, useSession } from '../chunk-ABWNV4N4.js';
1
+ import { useManagerMe, useConflicts, useNotifications } from '../chunk-RW6TJMRK.js';
2
+ import { FORM_FIELD_KIND_SINGLE_BOOLEAN, useChecklists, useManagers, useCloseout, useFiles, useFloat, useForms, useParties, useItinerary, useVendors, useExpenses, useCollections, useManagerToday, usePickups, useRooming, useTravellerProfile, useSeating } from '../chunk-3E2FN5JJ.js';
3
+ import { useOfflineEngine } from '../chunk-XU7GP53M.js';
4
+ import { OfflineFallbackScreen } from '../chunk-762SWUEG.js';
5
+ export { BootErrorScreen, LockedTripScreen, NotFoundScreen, OfflineFallbackScreen, SessionExpiredScreen } from '../chunk-762SWUEG.js';
6
+ import { createRegistry, useKaafilChrome, tokenStyle, useOutboxStatus, useSession, useKaafilBrand } from '../chunk-6FUVFVYY.js';
7
7
  import { useState, useRef, useEffect, useMemo, useId } from 'react';
8
8
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
9
9
 
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkTPBKRXEB_cjs = require('../chunk-TPBKRXEB.cjs');
4
- var chunkKDGBJPPZ_cjs = require('../chunk-KDGBJPPZ.cjs');
5
- require('../chunk-DUZG6A22.cjs');
6
- var chunk4LZXDRAD_cjs = require('../chunk-4LZXDRAD.cjs');
7
- var chunkCCJ5XNWY_cjs = require('../chunk-CCJ5XNWY.cjs');
3
+ var chunk3RZDHDEY_cjs = require('../chunk-3RZDHDEY.cjs');
4
+ require('../chunk-62HCQWZL.cjs');
5
+ require('../chunk-LO3GQFQ6.cjs');
6
+ var chunkQD4Z5DRT_cjs = require('../chunk-QD4Z5DRT.cjs');
7
+ var chunkCK3L6Y43_cjs = require('../chunk-CK3L6Y43.cjs');
8
8
  var react = require('react');
9
9
  var jsxRuntime = require('react/jsx-runtime');
10
10
 
@@ -102,7 +102,7 @@ function HouseholdSheet({
102
102
  label,
103
103
  travellers
104
104
  }) {
105
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
105
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
106
106
  react.useEffect(() => {
107
107
  if (!open) {
108
108
  return;
@@ -179,11 +179,11 @@ var COPY_KEY = {
179
179
  "not-found": "chrome.shareView.ended.notFound"
180
180
  };
181
181
  function ShareEndedScreen({ reason }) {
182
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
182
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
183
183
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "kf-share-view__ended", role: "alert", "aria-live": "assertive", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "kf-share-view__ended-message", children: t(COPY_KEY[reason]) }) });
184
184
  }
185
185
  function ShareSkeleton() {
186
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
186
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
187
187
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "kf-share-view__skeleton", role: "status", "aria-live": "polite", "aria-busy": "true", children: [
188
188
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "kf-visually-hidden", children: t("chrome.shareView.loading") }),
189
189
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "kf-share-view__skeleton-line kf-share-view__skeleton-line--eyebrow kf-shimmer" }),
@@ -297,7 +297,7 @@ function initialsOf(name) {
297
297
  return `${first}${last}`.toUpperCase();
298
298
  }
299
299
  function ContactActions({ row }) {
300
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
300
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
301
301
  if (row.phoneHref === null && row.whatsappHref === null) {
302
302
  return null;
303
303
  }
@@ -347,7 +347,7 @@ function ContactCard({
347
347
  ] });
348
348
  }
349
349
  function AgencyContactSection({ data }) {
350
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
350
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
351
351
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": t("chrome.shareView.agency.eyebrow"), children: [
352
352
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "kf-share-view__eyebrow-row", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "kf-eyebrow", children: t("chrome.shareView.agency.eyebrow") }) }),
353
353
  /* @__PURE__ */ jsxRuntime.jsx(ContactCard, { row: data, roleLabel: t("chrome.shareView.agency.roleLabel") })
@@ -364,7 +364,7 @@ function BrandHeaderSection({
364
364
  agencyContact,
365
365
  partyKind
366
366
  }) {
367
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
367
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
368
368
  const initial = agencyContact.name.trim().slice(0, 1).toUpperCase();
369
369
  const kindLabel = partyKind !== null ? t(PARTY_KIND_KEY[partyKind]) : null;
370
370
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "kf-share-view__brand-header", children: [
@@ -418,7 +418,7 @@ function formatSize(sizeBytes) {
418
418
  return `${(kb / 1024).toFixed(1)} MB`;
419
419
  }
420
420
  function DocumentsSection({ data, timezone }) {
421
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
421
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
422
422
  const files = data.files ?? [];
423
423
  if (data.vouchers.length === 0 && files.length === 0) {
424
424
  return null;
@@ -471,7 +471,7 @@ function SelectFieldEditor({
471
471
  required,
472
472
  onChange
473
473
  }) {
474
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
474
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
475
475
  const [open, setOpen] = react.useState(false);
476
476
  const rootRef = react.useRef(null);
477
477
  const selected = options.find((option) => option.value === value);
@@ -548,7 +548,7 @@ var fallback = {
548
548
  editor: ({ field, t }) => /* @__PURE__ */ jsxRuntime.jsx("p", { className: "kf-share-view__form-unsupported", children: t("chrome.shareView.form.unsupported").replace("{label}", field.label) }),
549
549
  preview: PlainPreview
550
550
  };
551
- var fieldRegistry = chunkCCJ5XNWY_cjs.createRegistry({ fallback });
551
+ var fieldRegistry = chunkCK3L6Y43_cjs.createRegistry({ fallback });
552
552
  fieldRegistry.register("HEADING", {
553
553
  editor: ({ field }) => /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "kf-share-view__form-heading", children: field.label }),
554
554
  preview: ({ field }) => /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "kf-share-view__form-heading", children: field.label })
@@ -974,7 +974,7 @@ function FormFillScreen({
974
974
  writeStatus,
975
975
  travellerRef
976
976
  }) {
977
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
977
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
978
978
  const [clientToken] = react.useState(() => crypto.randomUUID());
979
979
  const [answers, setAnswers] = react.useState(() => initialAnswers(form.fields));
980
980
  const readOnly = form.responseStatus === "SUBMITTED";
@@ -1073,15 +1073,15 @@ function isPendingRequired(form) {
1073
1073
  return form.required && form.fillState === "ok" && form.responseStatus === null;
1074
1074
  }
1075
1075
  function FormsSection({ token, travellerRef }) {
1076
- const engine = react.useContext(chunkCCJ5XNWY_cjs.OfflineEngineContext);
1076
+ const engine = react.useContext(chunkCK3L6Y43_cjs.OfflineEngineContext);
1077
1077
  if (engine === null) {
1078
1078
  return null;
1079
1079
  }
1080
1080
  return /* @__PURE__ */ jsxRuntime.jsx(ReadyFormsSection, { token, travellerRef });
1081
1081
  }
1082
1082
  function ReadyFormsSection({ token, travellerRef }) {
1083
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1084
- const { status, forms, renderForm, save, submit, writeStatus, refresh } = chunkTPBKRXEB_cjs.useShareForms(token);
1083
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1084
+ const { status, forms, renderForm, save, submit, writeStatus, refresh } = chunk3RZDHDEY_cjs.useShareForms(token);
1085
1085
  const [openFormId, setOpenFormId] = react.useState(null);
1086
1086
  const [openForm, setOpenForm] = react.useState(null);
1087
1087
  const autoOpenedRef = react.useRef(false);
@@ -1197,7 +1197,7 @@ function HeroSection({
1197
1197
  travellers,
1198
1198
  onOpenHousehold
1199
1199
  }) {
1200
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1200
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1201
1201
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "kf-share-view__hero", "aria-label": t("chrome.shareView.trip.ariaLabel"), children: [
1202
1202
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "kf-share-view__hero-code kf-eyebrow", children: tripName }),
1203
1203
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1253,7 +1253,7 @@ function HeroSection({
1253
1253
  ] });
1254
1254
  }
1255
1255
  function HouseholdBanner({ label, names }) {
1256
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1256
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1257
1257
  if (names.length === 0 && label === null) {
1258
1258
  return null;
1259
1259
  }
@@ -1280,7 +1280,7 @@ function ItineraryDayStrip({
1280
1280
  selectedIndex,
1281
1281
  onSelectIndex
1282
1282
  }) {
1283
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1283
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1284
1284
  const todayIndex = itinerary.days.findIndex((day) => day.isToday);
1285
1285
  const selectedDay = itinerary.days[selectedIndex] ?? itinerary.days[0];
1286
1286
  if (itinerary.days.length === 0 || selectedDay === void 0) {
@@ -1342,7 +1342,7 @@ function ItineraryDayStrip({
1342
1342
  ] });
1343
1343
  }
1344
1344
  function ManagerContactSection({ data }) {
1345
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1345
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1346
1346
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": t("chrome.shareView.manager.eyebrow"), children: [
1347
1347
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "kf-share-view__eyebrow-row", children: [
1348
1348
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "kf-eyebrow", children: t("chrome.shareView.manager.eyebrow") }),
@@ -1372,7 +1372,7 @@ function formatMinor(minor, currency) {
1372
1372
  return new Intl.NumberFormat(void 0, { style: "currency", currency }).format(minor / 100);
1373
1373
  }
1374
1374
  function MoneySection({ data }) {
1375
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1375
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1376
1376
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": t("chrome.shareView.money.eyebrow"), children: [
1377
1377
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "kf-share-view__eyebrow-row", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "kf-eyebrow", children: t("chrome.shareView.money.eyebrow") }) }),
1378
1378
  /* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "kf-share-view__card kf-share-view__money", children: [
@@ -1391,7 +1391,7 @@ function MoneySection({ data }) {
1391
1391
  ] })
1392
1392
  ] });
1393
1393
  }
1394
- var ITEM_TYPE_ICON = chunkCCJ5XNWY_cjs.createRegistry({
1394
+ var ITEM_TYPE_ICON = chunkCK3L6Y43_cjs.createRegistry({
1395
1395
  fallback: () => /* @__PURE__ */ jsxRuntime.jsx(CompassIcon, {})
1396
1396
  });
1397
1397
  ITEM_TYPE_ICON.register("FLIGHT", () => /* @__PURE__ */ jsxRuntime.jsx(PlaneIcon, {}));
@@ -1430,7 +1430,7 @@ function pickNextItem(itinerary) {
1430
1430
  return void 0;
1431
1431
  }
1432
1432
  function NextUpBanner({ itinerary, timezone }) {
1433
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1433
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1434
1434
  const item = pickNextItem(itinerary);
1435
1435
  if (item === void 0) {
1436
1436
  return null;
@@ -1466,7 +1466,7 @@ var STATE_LABEL_KEY = {
1466
1466
  function dayLabel(t, n) {
1467
1467
  return t("chrome.shareView.dayLabel").replace("{n}", String(n));
1468
1468
  }
1469
- var ROW_ICON = chunkCCJ5XNWY_cjs.createRegistry({ fallback: () => /* @__PURE__ */ jsxRuntime.jsx(CompassIcon, {}) });
1469
+ var ROW_ICON = chunkCK3L6Y43_cjs.createRegistry({ fallback: () => /* @__PURE__ */ jsxRuntime.jsx(CompassIcon, {}) });
1470
1470
  ROW_ICON.register("transport", () => /* @__PURE__ */ jsxRuntime.jsx(CarIcon, {}));
1471
1471
  ROW_ICON.register("stay", () => /* @__PURE__ */ jsxRuntime.jsx(HouseIcon, {}));
1472
1472
  ROW_ICON.register("activity", () => /* @__PURE__ */ jsxRuntime.jsx(CompassIcon, {}));
@@ -1553,7 +1553,7 @@ function StayAndTransportSection({
1553
1553
  selectedDayIndex,
1554
1554
  serverTime
1555
1555
  }) {
1556
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1556
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1557
1557
  const allDayRows = [
1558
1558
  ...mergeDayBookings(
1559
1559
  transport,
@@ -1642,7 +1642,7 @@ function StayAndTransportSection({
1642
1642
  ] });
1643
1643
  }
1644
1644
  function TodayPlanSection({ itinerary, timezone }) {
1645
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1645
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1646
1646
  const today = itinerary.days.find((day) => day.isToday);
1647
1647
  if (today === void 0 || today.items.length === 0) {
1648
1648
  return null;
@@ -1669,7 +1669,7 @@ function isVisible(key, overrides) {
1669
1669
  return overrides?.[key] !== false;
1670
1670
  }
1671
1671
  function KaafilShareView(props) {
1672
- const session = chunkCCJ5XNWY_cjs.useSession();
1672
+ const session = chunkCK3L6Y43_cjs.useSession();
1673
1673
  if (session.status !== "authenticated") {
1674
1674
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "kf-share-view", "data-kf-family": "traveller", children: /* @__PURE__ */ jsxRuntime.jsx(ShareSkeleton, {}) });
1675
1675
  }
@@ -1684,8 +1684,8 @@ function ReadyKaafilShareView({
1684
1684
  renderSection,
1685
1685
  style
1686
1686
  }) {
1687
- const { t } = chunkCCJ5XNWY_cjs.useKaafilChrome();
1688
- const snapshot = chunkTPBKRXEB_cjs.useShareSnapshot(token, { travellerRef });
1687
+ const { t } = chunkCK3L6Y43_cjs.useKaafilChrome();
1688
+ const snapshot = chunk3RZDHDEY_cjs.useShareSnapshot(token, { travellerRef });
1689
1689
  const [householdSheetOpen, setHouseholdSheetOpen] = react.useState(false);
1690
1690
  const [chosenDayIndex, setChosenDayIndex] = react.useState(-1);
1691
1691
  const itinerary = snapshot.sections.get("itinerary");
@@ -1705,7 +1705,7 @@ function ReadyKaafilShareView({
1705
1705
  () => snapshot.trip !== void 0 ? deriveTripStatus(snapshot.trip, itinerary, snapshot.serverTime, t) : void 0,
1706
1706
  [snapshot.trip, itinerary, snapshot.serverTime, t]
1707
1707
  );
1708
- const rootStyle = chunkCCJ5XNWY_cjs.tokenStyle(style);
1708
+ const rootStyle = chunkCK3L6Y43_cjs.tokenStyle(style);
1709
1709
  if (snapshot.status === "loading") {
1710
1710
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "kf-share-view", "data-kf-family": "traveller", style: rootStyle, children: /* @__PURE__ */ jsxRuntime.jsx(ShareSkeleton, {}) });
1711
1711
  }
@@ -1726,7 +1726,7 @@ function ReadyKaafilShareView({
1726
1726
  const selectedDayIndex = chosenDayIndex !== -1 ? chosenDayIndex : todayDayIndex !== -1 ? todayDayIndex : 0;
1727
1727
  const showStayAndTransport = accommodation !== void 0 || transport !== void 0 || activities !== void 0 || rooming !== void 0 || seating !== void 0 || pickup !== void 0;
1728
1728
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "kf-share-view", "data-kf-family": "traveller", style: rootStyle, children: [
1729
- /* @__PURE__ */ jsxRuntime.jsxs(chunkKDGBJPPZ_cjs.BrandShell, { headStrategy, appName: tripName, children: [
1729
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCK3L6Y43_cjs.BrandShell, { headStrategy, appName: tripName, children: [
1730
1730
  agencyContact !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
1731
1731
  BrandHeaderSection,
1732
1732
  {
@@ -1794,11 +1794,11 @@ function ReadyKaafilShareView({
1794
1794
 
1795
1795
  Object.defineProperty(exports, "BootErrorScreen", {
1796
1796
  enumerable: true,
1797
- get: function () { return chunk4LZXDRAD_cjs.BootErrorScreen; }
1797
+ get: function () { return chunkQD4Z5DRT_cjs.BootErrorScreen; }
1798
1798
  });
1799
1799
  Object.defineProperty(exports, "OfflineFallbackScreen", {
1800
1800
  enumerable: true,
1801
- get: function () { return chunk4LZXDRAD_cjs.OfflineFallbackScreen; }
1801
+ get: function () { return chunkQD4Z5DRT_cjs.OfflineFallbackScreen; }
1802
1802
  });
1803
1803
  exports.KaafilShareView = KaafilShareView;
1804
1804
  //# sourceMappingURL=index.cjs.map
@@ -1,8 +1,8 @@
1
- import { useShareSnapshot, useShareForms } from '../chunk-5DVTAEQC.js';
2
- import { BrandShell } from '../chunk-2JABR4FF.js';
3
- import '../chunk-DABF4PUI.js';
4
- export { BootErrorScreen, OfflineFallbackScreen } from '../chunk-BUE2GJDN.js';
5
- import { createRegistry, useKaafilChrome, useSession, tokenStyle, OfflineEngineContext } from '../chunk-ABWNV4N4.js';
1
+ import { useShareSnapshot, useShareForms } from '../chunk-EDLIJSMR.js';
2
+ import '../chunk-XU7GP53M.js';
3
+ import '../chunk-ITGVRN2S.js';
4
+ export { BootErrorScreen, OfflineFallbackScreen } from '../chunk-762SWUEG.js';
5
+ import { createRegistry, useKaafilChrome, useSession, tokenStyle, BrandShell, OfflineEngineContext } from '../chunk-6FUVFVYY.js';
6
6
  import { useState, useRef, useEffect, useMemo, useContext } from 'react';
7
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaafil-react-uikit",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "tag": "latest",