design-system-silkhaus 2.8.0 → 2.9.1

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/dist/index.js CHANGED
@@ -3572,7 +3572,7 @@ const jt = (e) => {
3572
3572
  // ],
3573
3573
  plugins: []
3574
3574
  }, JC = QC(pe({}, Qp));
3575
- function ut(...e) {
3575
+ function lt(...e) {
3576
3576
  return JC(Me(e));
3577
3577
  }
3578
3578
  const pD = (e, t = "AED") => {
@@ -3621,7 +3621,7 @@ const pD = (e, t = "AED") => {
3621
3621
  "helpterTextClassName",
3622
3622
  "buttonClassName"
3623
3623
  ]);
3624
- return /* @__PURE__ */ v.jsxs("div", { className: ut("ds-flex ds-flex-col ds-gap-1", n), children: [
3624
+ return /* @__PURE__ */ v.jsxs("div", { className: lt("ds-flex ds-flex-col ds-gap-1", n), children: [
3625
3625
  /* @__PURE__ */ v.jsxs(
3626
3626
  "button",
3627
3627
  ze(pe({
@@ -3647,7 +3647,7 @@ const pD = (e, t = "AED") => {
3647
3647
  u && /* @__PURE__ */ v.jsx(
3648
3648
  "div",
3649
3649
  {
3650
- className: ut(
3650
+ className: lt(
3651
3651
  "ds-w-full ds-text-right ds-text-mediumFootnoteRegular",
3652
3652
  d
3653
3653
  ),
@@ -7233,7 +7233,7 @@ const KD = ({
7233
7233
  onClose: e,
7234
7234
  children: t,
7235
7235
  title: r = ""
7236
- }) => /* @__PURE__ */ v.jsxs("div", { className: "ds-mb-0 ds-flex ds-w-full ds-flex-col ds-bg-white ds-p-6", children: [
7236
+ }) => /* @__PURE__ */ v.jsxs("div", { className: "ds-group/mobile ds-mb-0 ds-flex ds-w-full ds-flex-col ds-bg-white ds-p-6", children: [
7237
7237
  /* @__PURE__ */ v.jsxs("div", { className: "ds-mb-6 ds-flex ds-h-10 ds-items-center ds-justify-between", children: [
7238
7238
  /* @__PURE__ */ v.jsx(
7239
7239
  "div",
@@ -8115,7 +8115,7 @@ const ZD = se.forwardRef(
8115
8115
  ({ checked: e = !1, onChange: t, disabled: r = !1, htmlId: n = "wa" }, a) => /* @__PURE__ */ v.jsxs(
8116
8116
  "label",
8117
8117
  {
8118
- className: ut("switch", r && "disabled"),
8118
+ className: lt("switch", r && "disabled"),
8119
8119
  htmlFor: n,
8120
8120
  children: [
8121
8121
  /* @__PURE__ */ v.jsx(
@@ -8970,7 +8970,7 @@ function fn(e) {
8970
8970
  function Lr(e) {
8971
8971
  return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
8972
8972
  }
8973
- function lt(e) {
8973
+ function ut(e) {
8974
8974
  var t = +e, r = 0;
8975
8975
  return t !== 0 && isFinite(t) && (r = Lr(t)), r;
8976
8976
  }
@@ -8978,7 +8978,7 @@ var mp = {};
8978
8978
  function Rt(e, t) {
8979
8979
  var r, n = t, a;
8980
8980
  for (typeof e == "string" && (e = [e]), pn(t) && (n = function(i, o) {
8981
- o[t] = lt(i);
8981
+ o[t] = ut(i);
8982
8982
  }), a = e.length, r = 0; r < a; r++)
8983
8983
  mp[e[r]] = n;
8984
8984
  }
@@ -9011,7 +9011,7 @@ je("YYYYY", Cs, Ps);
9011
9011
  je("YYYYYY", Cs, Ps);
9012
9012
  Rt(["YYYYY", "YYYYYY"], pr);
9013
9013
  Rt("YYYY", function(e, t) {
9014
- t[pr] = e.length === 2 ? Oe.parseTwoDigitYear(e) : lt(e);
9014
+ t[pr] = e.length === 2 ? Oe.parseTwoDigitYear(e) : ut(e);
9015
9015
  });
9016
9016
  Rt("YY", function(e, t) {
9017
9017
  t[pr] = Oe.parseTwoDigitYear(e);
@@ -9023,7 +9023,7 @@ function Ci(e) {
9023
9023
  return ks(e) ? 366 : 365;
9024
9024
  }
9025
9025
  Oe.parseTwoDigitYear = function(e) {
9026
- return lt(e) + (lt(e) > 68 ? 1900 : 2e3);
9026
+ return ut(e) + (ut(e) > 68 ? 1900 : 2e3);
9027
9027
  };
9028
9028
  var lx = Ka("FullYear", !0);
9029
9029
  function z6() {
@@ -9129,7 +9129,7 @@ je("MMMM", function(e, t) {
9129
9129
  return t.monthsRegex(e);
9130
9130
  });
9131
9131
  Rt(["M", "MM"], function(e, t) {
9132
- t[dn] = lt(e) - 1;
9132
+ t[dn] = ut(e) - 1;
9133
9133
  });
9134
9134
  Rt(["MMM", "MMMM"], function(e, t, r, n) {
9135
9135
  var a = r._locale.monthsParse(e, n, r._strict);
@@ -9178,7 +9178,7 @@ function fx(e, t) {
9178
9178
  return e;
9179
9179
  if (typeof t == "string") {
9180
9180
  if (/^\d+$/.test(t))
9181
- t = lt(t);
9181
+ t = ut(t);
9182
9182
  else if (t = e.localeData().monthsParse(t), !pn(t))
9183
9183
  return e;
9184
9184
  }
@@ -9251,7 +9251,7 @@ je("WW", Ft, Ir);
9251
9251
  Qi(
9252
9252
  ["w", "ww", "W", "WW"],
9253
9253
  function(e, t, r, n) {
9254
- t[n.substr(0, 1)] = lt(e);
9254
+ t[n.substr(0, 1)] = ut(e);
9255
9255
  }
9256
9256
  );
9257
9257
  function aM(e) {
@@ -9306,7 +9306,7 @@ Qi(["dd", "ddd", "dddd"], function(e, t, r, n) {
9306
9306
  a != null ? t.d = a : Ze(r).invalidWeekday = e;
9307
9307
  });
9308
9308
  Qi(["d", "e", "E"], function(e, t, r, n) {
9309
- t[n] = lt(e);
9309
+ t[n] = ut(e);
9310
9310
  });
9311
9311
  function dM(e, t) {
9312
9312
  return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
@@ -9462,30 +9462,30 @@ je("Hmm", ox);
9462
9462
  je("Hmmss", sx);
9463
9463
  Rt(["H", "HH"], ir);
9464
9464
  Rt(["k", "kk"], function(e, t, r) {
9465
- var n = lt(e);
9465
+ var n = ut(e);
9466
9466
  t[ir] = n === 24 ? 0 : n;
9467
9467
  });
9468
9468
  Rt(["a", "A"], function(e, t, r) {
9469
9469
  r._isPm = r._locale.isPM(e), r._meridiem = e;
9470
9470
  });
9471
9471
  Rt(["h", "hh"], function(e, t, r) {
9472
- t[ir] = lt(e), Ze(r).bigHour = !0;
9472
+ t[ir] = ut(e), Ze(r).bigHour = !0;
9473
9473
  });
9474
9474
  Rt("hmm", function(e, t, r) {
9475
9475
  var n = e.length - 2;
9476
- t[ir] = lt(e.substr(0, n)), t[Vr] = lt(e.substr(n)), Ze(r).bigHour = !0;
9476
+ t[ir] = ut(e.substr(0, n)), t[Vr] = ut(e.substr(n)), Ze(r).bigHour = !0;
9477
9477
  });
9478
9478
  Rt("hmmss", function(e, t, r) {
9479
9479
  var n = e.length - 4, a = e.length - 2;
9480
- t[ir] = lt(e.substr(0, n)), t[Vr] = lt(e.substr(n, 2)), t[cn] = lt(e.substr(a)), Ze(r).bigHour = !0;
9480
+ t[ir] = ut(e.substr(0, n)), t[Vr] = ut(e.substr(n, 2)), t[cn] = ut(e.substr(a)), Ze(r).bigHour = !0;
9481
9481
  });
9482
9482
  Rt("Hmm", function(e, t, r) {
9483
9483
  var n = e.length - 2;
9484
- t[ir] = lt(e.substr(0, n)), t[Vr] = lt(e.substr(n));
9484
+ t[ir] = ut(e.substr(0, n)), t[Vr] = ut(e.substr(n));
9485
9485
  });
9486
9486
  Rt("Hmmss", function(e, t, r) {
9487
9487
  var n = e.length - 4, a = e.length - 2;
9488
- t[ir] = lt(e.substr(0, n)), t[Vr] = lt(e.substr(n, 2)), t[cn] = lt(e.substr(a));
9488
+ t[ir] = ut(e.substr(0, n)), t[Vr] = ut(e.substr(n, 2)), t[cn] = ut(e.substr(a));
9489
9489
  });
9490
9490
  function MM(e) {
9491
9491
  return (e + "").toLowerCase().charAt(0) === "p";
@@ -9904,7 +9904,7 @@ function lk(e) {
9904
9904
  if (e[ci[n]]) {
9905
9905
  if (r)
9906
9906
  return !1;
9907
- parseFloat(e[ci[n]]) !== lt(e[ci[n]]) && (r = !0);
9907
+ parseFloat(e[ci[n]]) !== ut(e[ci[n]]) && (r = !0);
9908
9908
  }
9909
9909
  return !0;
9910
9910
  }
@@ -9929,7 +9929,7 @@ function bp(e) {
9929
9929
  function ck(e, t, r) {
9930
9930
  var n = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), i = 0, o;
9931
9931
  for (o = 0; o < n; o++)
9932
- lt(e[o]) !== lt(t[o]) && i++;
9932
+ ut(e[o]) !== ut(t[o]) && i++;
9933
9933
  return i + a;
9934
9934
  }
9935
9935
  function Px(e, t) {
@@ -9948,7 +9948,7 @@ Rt(["Z", "ZZ"], function(e, t, r) {
9948
9948
  var fk = /([\+\-]|\d\d)/gi;
9949
9949
  function Cg(e, t) {
9950
9950
  var r = (t || "").match(e), n, a, i;
9951
- return r === null ? null : (n = r[r.length - 1] || [], a = (n + "").match(fk) || ["-", 0, 0], i = +(a[1] * 60) + lt(a[2]), i === 0 ? 0 : a[0] === "+" ? i : -i);
9951
+ return r === null ? null : (n = r[r.length - 1] || [], a = (n + "").match(fk) || ["-", 0, 0], i = +(a[1] * 60) + ut(a[2]), i === 0 ? 0 : a[0] === "+" ? i : -i);
9952
9952
  }
9953
9953
  function Tg(e, t) {
9954
9954
  var r, n;
@@ -10025,11 +10025,11 @@ function Kr(e, t) {
10025
10025
  M: e._months
10026
10026
  } : pn(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (n = Dk.exec(e)) ? (a = n[1] === "-" ? -1 : 1, r = {
10027
10027
  y: 0,
10028
- d: lt(n[Gr]) * a,
10029
- h: lt(n[ir]) * a,
10030
- m: lt(n[Vr]) * a,
10031
- s: lt(n[cn]) * a,
10032
- ms: lt(bp(n[Qn] * 1e3)) * a
10028
+ d: ut(n[Gr]) * a,
10029
+ h: ut(n[ir]) * a,
10030
+ m: ut(n[Vr]) * a,
10031
+ s: ut(n[cn]) * a,
10032
+ ms: ut(bp(n[Qn] * 1e3)) * a
10033
10033
  // the millisecond decimal point is included in the match
10034
10034
  }) : (n = xk.exec(e)) ? (a = n[1] === "-" ? -1 : 1, r = {
10035
10035
  y: Kn(n[2], a),
@@ -10584,7 +10584,7 @@ je("ggggg", Cs, Ps);
10584
10584
  Qi(
10585
10585
  ["gggg", "ggggg", "GGGG", "GGGGG"],
10586
10586
  function(e, t, r, n) {
10587
- t[n.substr(0, 2)] = lt(e);
10587
+ t[n.substr(0, 2)] = ut(e);
10588
10588
  }
10589
10589
  );
10590
10590
  Qi(["gg", "GG"], function(e, t, r, n) {
@@ -10635,7 +10635,7 @@ function C8(e, t, r, n, a) {
10635
10635
  We("Q", 0, "Qo", "quarter");
10636
10636
  je("Q", ax);
10637
10637
  Rt("Q", function(e, t) {
10638
- t[dn] = (lt(e) - 1) * 3;
10638
+ t[dn] = (ut(e) - 1) * 3;
10639
10639
  });
10640
10640
  function T8(e) {
10641
10641
  return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
@@ -10648,14 +10648,14 @@ je("Do", function(e, t) {
10648
10648
  });
10649
10649
  Rt(["D", "DD"], Gr);
10650
10650
  Rt("Do", function(e, t) {
10651
- t[Gr] = lt(e.match(Ft)[0]);
10651
+ t[Gr] = ut(e.match(Ft)[0]);
10652
10652
  });
10653
10653
  var Lx = Ka("Date", !0);
10654
10654
  We("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
10655
10655
  je("DDD", Os);
10656
10656
  je("DDDD", ix);
10657
10657
  Rt(["DDD", "DDDD"], function(e, t, r) {
10658
- r._dayOfYear = lt(e);
10658
+ r._dayOfYear = ut(e);
10659
10659
  });
10660
10660
  function M8(e) {
10661
10661
  var t = Math.round(
@@ -10705,7 +10705,7 @@ var In, Fx;
10705
10705
  for (In = "SSSS"; In.length <= 9; In += "S")
10706
10706
  je(In, Ya);
10707
10707
  function E8(e, t) {
10708
- t[Qn] = lt(("0." + e) * 1e3);
10708
+ t[Qn] = ut(("0." + e) * 1e3);
10709
10709
  }
10710
10710
  for (In = "S"; In.length <= 9; In += "S")
10711
10711
  Rt(In, E8);
@@ -10917,7 +10917,7 @@ Ln("en", {
10917
10917
  ],
10918
10918
  dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
10919
10919
  ordinal: function(e) {
10920
- var t = e % 10, r = lt(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
10920
+ var t = e % 10, r = ut(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
10921
10921
  return e + r;
10922
10922
  }
10923
10923
  });
@@ -11100,7 +11100,7 @@ Rt("X", function(e, t, r) {
11100
11100
  r._d = new Date(parseFloat(e) * 1e3);
11101
11101
  });
11102
11102
  Rt("x", function(e, t, r) {
11103
- r._d = new Date(lt(e));
11103
+ r._d = new Date(ut(e));
11104
11104
  });
11105
11105
  //! moment.js
11106
11106
  Oe.version = "2.30.1";
@@ -28070,7 +28070,7 @@ const c3 = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%20
28070
28070
  return /* @__PURE__ */ v.jsxs(
28071
28071
  "div",
28072
28072
  ze(pe({
28073
- className: ut("ds-mb-6", h && "ds-cursor-not-allowed ds-opacity-30"),
28073
+ className: lt("ds-mb-6", h && "ds-cursor-not-allowed ds-opacity-30"),
28074
28074
  ref: t
28075
28075
  }, m), {
28076
28076
  children: [
@@ -28276,7 +28276,7 @@ const KA = _r(
28276
28276
  return /* @__PURE__ */ v.jsxs(
28277
28277
  "div",
28278
28278
  ze(pe({
28279
- className: ut("ds-mb-6", f && "ds-cursor-not-allowed ds-opacity-30"),
28279
+ className: lt("ds-mb-6", f && "ds-cursor-not-allowed ds-opacity-30"),
28280
28280
  ref: t
28281
28281
  }, h), {
28282
28282
  children: [
@@ -28364,7 +28364,21 @@ const KA = _r(
28364
28364
  }
28365
28365
  );
28366
28366
  KA.displayName = "MobileSelectCardDropDown";
28367
- const GA = {
28367
+ const gY = ({
28368
+ imageUrl: e,
28369
+ imageAlt: t,
28370
+ content: r
28371
+ }) => /* @__PURE__ */ v.jsxs("div", { className: "ds-flex ds-w-[248px] ds-flex-col ds-gap-4 group-[&]/mobile:ds-w-full group-[&]/mobile:ds-gap-6", children: [
28372
+ /* @__PURE__ */ v.jsx(
28373
+ "img",
28374
+ {
28375
+ src: e,
28376
+ alt: t,
28377
+ className: "ds-h-[160px] ds-w-full ds-object-cover group-[&]/mobile:ds-h-[220px]"
28378
+ }
28379
+ ),
28380
+ r && /* @__PURE__ */ v.jsx("div", { children: r })
28381
+ ] }), GA = {
28368
28382
  light: "ds-bg-[rgba(255,255,255,0.64)] ds-text-Text-primary",
28369
28383
  dark: "ds-bg-[rgba(0,0,0,0.24)] ds-text-Fills-white",
28370
28384
  amenity: "ds-bg-Fills-quintiary ds-text-Text-secondary"
@@ -30983,7 +30997,7 @@ const QL = se.forwardRef(
30983
30997
  "div",
30984
30998
  {
30985
30999
  ref: b,
30986
- className: ut(
31000
+ className: lt(
30987
31001
  "ds-box-border ds-w-full ds-overflow-hidden ds-rounded",
30988
31002
  (!m || g === "none") && "ds-border-2 ds-border-Fills-quadrutery ds-bg-white hover:ds-shadow-[0_12px_24px_0_rgba(0,0,0,0.12)]",
30989
31003
  m && g === "selected" && "ds-border-2 ds-border-accentEggplant-100 ds-bg-accentEggplant-5 ds-bg-opacity-50 hover:ds-shadow-[0_12px_24px_0_rgba(0,0,0,0.12)]",
@@ -31023,7 +31037,7 @@ const QL = se.forwardRef(
31023
31037
  ) && /* @__PURE__ */ v.jsx(v.Fragment, { children: /* @__PURE__ */ v.jsx(
31024
31038
  "div",
31025
31039
  {
31026
- className: ut(
31040
+ className: lt(
31027
31041
  "ds-absolute ds-left-0 ds-top-0 ds-z-10 ds-size-6 ds-rounded-full",
31028
31042
  g === "selected" && "ds-cursor-pointer ds-bg-accentEggplant-100",
31029
31043
  g === "added" && "ds-bg-Background-accentTeal-100"
@@ -31038,7 +31052,7 @@ const QL = se.forwardRef(
31038
31052
  (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ v.jsx("div", { className: "ds-absolute ds-right-4 ds-top-2 ds-z-10", children: /* @__PURE__ */ v.jsx("div", { className: "ds-flex ds-flex-row ds-items-end ds-justify-center", children: o.map((_, D) => /* @__PURE__ */ v.jsx(
31039
31053
  "div",
31040
31054
  {
31041
- className: ut(D > 0 && "ds-ms-2"),
31055
+ className: lt(D > 0 && "ds-ms-2"),
31042
31056
  children: /* @__PURE__ */ v.jsx(
31043
31057
  Ap,
31044
31058
  {
@@ -31078,7 +31092,7 @@ const QL = se.forwardRef(
31078
31092
  /* @__PURE__ */ v.jsxs(
31079
31093
  "div",
31080
31094
  {
31081
- className: ut(
31095
+ className: lt(
31082
31096
  "ds-p-4",
31083
31097
  m && g && [
31084
31098
  "added"
@@ -31109,7 +31123,7 @@ const QL = se.forwardRef(
31109
31123
  (s == null ? void 0 : s.length) > 0 && /* @__PURE__ */ v.jsx("div", { className: "ds-mb-4 ds-flex ds-flex-row", children: s.map((_, D) => /* @__PURE__ */ v.jsx(
31110
31124
  "div",
31111
31125
  {
31112
- className: ut(D > 0 && "ds-ms-2"),
31126
+ className: lt(D > 0 && "ds-ms-2"),
31113
31127
  children: /* @__PURE__ */ v.jsx(
31114
31128
  Ap,
31115
31129
  {
@@ -31386,7 +31400,7 @@ const eF = _r(
31386
31400
  ref: t
31387
31401
  }, f), {
31388
31402
  children: [
31389
- /* @__PURE__ */ v.jsx("div", { className: ut("ds-flex ds-flex-wrap ds-gap-2", d), children: n.length > 0 ? n.map((D) => /* @__PURE__ */ v.jsx(se.Fragment, { children: i ? /* @__PURE__ */ v.jsx(
31403
+ /* @__PURE__ */ v.jsx("div", { className: lt("ds-flex ds-flex-wrap ds-gap-2", d), children: n.length > 0 ? n.map((D) => /* @__PURE__ */ v.jsx(se.Fragment, { children: i ? /* @__PURE__ */ v.jsx(
31390
31404
  vr,
31391
31405
  {
31392
31406
  selected: h.some((M) => M.value === D.value),
@@ -35910,7 +35924,7 @@ const W4 = (a) => {
35910
35924
  Ey,
35911
35925
  pe({
35912
35926
  tooltip: e,
35913
- className: ut(t, r ? "ds-opacity-30" : ""),
35927
+ className: lt(t, r ? "ds-opacity-30" : ""),
35914
35928
  disabled: r
35915
35929
  }, n)
35916
35930
  );
@@ -36140,7 +36154,7 @@ const YB = ({ hideEdit: e, hideShare: t }) => [
36140
36154
  /* @__PURE__ */ v.jsxs(
36141
36155
  "div",
36142
36156
  {
36143
- className: ut(
36157
+ className: lt(
36144
36158
  "ds-flex ds-flex-row ds-items-start ds-gap-x-4 ds-border-b ds-border-Fills-quadrutery ds-bg-white ds-py-4 last:ds-border-b-0 ds-tablet:ds-cursor-default ds-tablet:ds-py-6",
36145
36159
  (!l || !u) && "ds-cursor-pointer"
36146
36160
  ),
@@ -36229,18 +36243,18 @@ const YB = ({ hideEdit: e, hideShare: t }) => [
36229
36243
  );
36230
36244
  V4.displayName = "TravelListItem";
36231
36245
  const UB = se.forwardRef(
36232
- ({ items: e, hideShare: t, hideEdit: r }) => /* @__PURE__ */ v.jsxs("div", { className: "ds-rounded ds-border ds-border-Fills-quadrutery ds-bg-white ds-px-4 ds-tablet:ds-px-10", children: [
36233
- e && e.length > 0 && e.map((n) => /* @__PURE__ */ v.jsx(
36246
+ ({ items: e, hideShare: t, hideEdit: r, emptyListMessage: n = "Please add your first travel list." }) => /* @__PURE__ */ v.jsxs("div", { className: "ds-rounded ds-border ds-border-Fills-quadrutery ds-bg-white ds-px-4 ds-tablet:ds-px-10", children: [
36247
+ e && e.length > 0 && e.map((a) => /* @__PURE__ */ v.jsx(
36234
36248
  V4,
36235
- ze(pe({}, n), {
36249
+ ze(pe({}, a), {
36236
36250
  hideEdit: r,
36237
36251
  hideShare: t
36238
36252
  }),
36239
- n.title
36253
+ a.title
36240
36254
  )),
36241
36255
  !(e != null && e.length) && /* @__PURE__ */ v.jsx("div", { className: "ds-px-6 ds-py-6 ds-text-center", children: /* @__PURE__ */ v.jsxs("span", { className: "ds_xSmallSubheadEmphasized ds-tablet:ds_MediumSubheadEmphasized ds-flex ds-items-center ds-gap-[10px] ds-tablet:ds-items-center", children: [
36242
36256
  /* @__PURE__ */ v.jsx(nT, { className: "ds-size-4" }),
36243
- "Please add your first travel list."
36257
+ n
36244
36258
  ] }) })
36245
36259
  ] })
36246
36260
  );
@@ -36261,7 +36275,7 @@ const JS = () => /* @__PURE__ */ v.jsx("div", { className: "ds-absolute ds-left-
36261
36275
  }, c) => /* @__PURE__ */ v.jsxs(
36262
36276
  "div",
36263
36277
  {
36264
- className: ut(
36278
+ className: lt(
36265
36279
  e,
36266
36280
  "ds-relative ds-flex ds-flex-row-reverse ds-justify-between ds-gap-x-4 ds-px-6 ds-py-4 ds-tablet:ds-w-full ds-tablet:ds-flex-row ds-tablet:ds-gap-6 ds-tablet:ds-px-10 ds-tablet:ds-py-4"
36267
36281
  ),
@@ -36662,7 +36676,7 @@ function oV(e) {
36662
36676
  }));
36663
36677
  }));
36664
36678
  }
36665
- const gY = It, yY = (e) => {
36679
+ const yY = It, mY = (e) => {
36666
36680
  const t = oV;
36667
36681
  return /* @__PURE__ */ v.jsx(
36668
36682
  t,
@@ -36676,7 +36690,7 @@ const gY = It, yY = (e) => {
36676
36690
  }, sV = ({ children: e, className: t }) => /* @__PURE__ */ v.jsx(
36677
36691
  "div",
36678
36692
  {
36679
- className: ut(
36693
+ className: lt(
36680
36694
  "ds-absolute ds-left-0 ds-top-0 ds-flex ds-h-dvh ds-w-dvw ds-items-center ds-justify-center ds-bg-[rgba(0,0,0,0.48)] ds-opacity-[0.48]",
36681
36695
  t
36682
36696
  ),
@@ -36684,7 +36698,7 @@ const gY = It, yY = (e) => {
36684
36698
  }
36685
36699
  );
36686
36700
  console.log(sV);
36687
- const mY = ({
36701
+ const bY = ({
36688
36702
  title: e,
36689
36703
  subTitle: t,
36690
36704
  className: r = "",
@@ -36700,7 +36714,7 @@ const mY = ({
36700
36714
  }) => /* @__PURE__ */ v.jsx(
36701
36715
  Ki,
36702
36716
  {
36703
- className: ut(
36717
+ className: lt(
36704
36718
  l && "ds-flex ds-items-end ds-justify-center ds-tablet:ds-items-center",
36705
36719
  r,
36706
36720
  !l && "ds-hidden"
@@ -36712,7 +36726,7 @@ const mY = ({
36712
36726
  children: /* @__PURE__ */ v.jsxs(
36713
36727
  "div",
36714
36728
  {
36715
- className: ut(
36729
+ className: lt(
36716
36730
  "ds-flex ds-flex-col ds-items-center ds-bg-white ds-shadow-[0px_12px_24px_0px_rgba(0,0,0,0.12)] ds-tablet:ds-max-w-[560px] ds-tablet:ds-rounded-lg",
36717
36731
  n
36718
36732
  ),
@@ -36729,7 +36743,7 @@ const mY = ({
36729
36743
  /* @__PURE__ */ v.jsx(
36730
36744
  "div",
36731
36745
  {
36732
- className: ut(
36746
+ className: lt(
36733
36747
  "ds-w-full ds-rounded-b-lg ds-px-4 ds-py-6 ds-tablet:ds-bg-[#F6F8FC] ds-tablet:ds-px-8 ds-tablet:ds-py-8",
36734
36748
  i
36735
36749
  ),
@@ -36754,7 +36768,7 @@ const mY = ({
36754
36768
  return /* @__PURE__ */ v.jsx(
36755
36769
  vr,
36756
36770
  ze(pe({
36757
- className: ut("ds-flex-1", r),
36771
+ className: lt("ds-flex-1", r),
36758
36772
  size: n
36759
36773
  }, a), {
36760
36774
  children: t
@@ -36764,7 +36778,7 @@ const mY = ({
36764
36778
  }) }), uV = ({ title: e, subTitle: t, className: r, onClose: n }) => /* @__PURE__ */ v.jsxs(
36765
36779
  "div",
36766
36780
  {
36767
- className: ut(
36781
+ className: lt(
36768
36782
  "ds-relative ds-flex ds-w-full ds-flex-col ds-items-center ds-gap-2 ds-rounded-t-lg ds-bg-white ds-px-14 ds-py-4",
36769
36783
  r
36770
36784
  ),
@@ -36782,7 +36796,7 @@ const mY = ({
36782
36796
  t && /* @__PURE__ */ v.jsx("div", { className: "ds-text-xSmallCalloutRegular ds-tablet:ds-text-mediumCalloutRegular", children: t })
36783
36797
  ]
36784
36798
  }
36785
- ), bY = ({ steps: e, className: t }) => /* @__PURE__ */ v.jsx("div", { className: ut("ds-flex ds-flex-col ds-gap-4 ds-tablet:ds-gap-6", t), children: e.map((r) => /* @__PURE__ */ v.jsx(
36799
+ ), wY = ({ steps: e, className: t }) => /* @__PURE__ */ v.jsx("div", { className: lt("ds-flex ds-flex-col ds-gap-4 ds-tablet:ds-gap-6", t), children: e.map((r) => /* @__PURE__ */ v.jsx(
36786
36800
  dV,
36787
36801
  {
36788
36802
  title: r.title,
@@ -36797,11 +36811,11 @@ const mY = ({
36797
36811
  IconComponent: r,
36798
36812
  iconClassName: n,
36799
36813
  className: a
36800
- }) => /* @__PURE__ */ v.jsxs("div", { className: ut("ds-flex ds-gap-4", a), children: [
36814
+ }) => /* @__PURE__ */ v.jsxs("div", { className: lt("ds-flex ds-gap-4", a), children: [
36801
36815
  /* @__PURE__ */ v.jsx("div", { className: "ds-flex ds-size-[60px] ds-items-center ds-justify-center ds-rounded-sm ds-bg-Background-accentEggplant-5 ds-tablet:ds-size-[70px]", children: /* @__PURE__ */ v.jsx(
36802
36816
  r,
36803
36817
  {
36804
- className: ut("ds-size-6 ds-tablet:ds-size-7", n)
36818
+ className: lt("ds-size-6 ds-tablet:ds-size-7", n)
36805
36819
  }
36806
36820
  ) }),
36807
36821
  /* @__PURE__ */ v.jsxs("div", { className: "ds-flex ds-flex-1 ds-flex-col ds-gap-1", children: [
@@ -37329,7 +37343,7 @@ var aC = he.forwardRef(function(e, t) {
37329
37343
  );
37330
37344
  });
37331
37345
  aC.displayName = "SimpleBar";
37332
- const wY = (r) => {
37346
+ const _Y = (r) => {
37333
37347
  var n = r, { children: e } = n, t = Wt(n, ["children"]);
37334
37348
  return /* @__PURE__ */ v.jsx(aC, ze(pe({}, t), { children: e }));
37335
37349
  }, iC = ({
@@ -37348,7 +37362,7 @@ const wY = (r) => {
37348
37362
  const c = () => {
37349
37363
  d(e);
37350
37364
  };
37351
- return /* @__PURE__ */ v.jsxs("div", { className: ut(u), children: [
37365
+ return /* @__PURE__ */ v.jsxs("div", { className: lt(u), children: [
37352
37366
  /* @__PURE__ */ v.jsx(
37353
37367
  "div",
37354
37368
  {
@@ -37422,19 +37436,19 @@ const WV = {
37422
37436
  /* @__PURE__ */ v.jsx(
37423
37437
  "div",
37424
37438
  {
37425
- className: ut("ds-h-4 ds-border-l", a === "first" && "ds-border-none")
37439
+ className: lt("ds-h-4 ds-border-l", a === "first" && "ds-border-none")
37426
37440
  }
37427
37441
  ),
37428
37442
  /* @__PURE__ */ v.jsx(
37429
37443
  "div",
37430
37444
  {
37431
- className: ut("ds-flex-1 ds-border-l", a === "last" && "ds-border-none")
37445
+ className: lt("ds-flex-1 ds-border-l", a === "last" && "ds-border-none")
37432
37446
  }
37433
37447
  ),
37434
37448
  /* @__PURE__ */ v.jsx(
37435
37449
  "div",
37436
37450
  {
37437
- className: ut(
37451
+ className: lt(
37438
37452
  "ds-absolute ds-top-3 ds-h-[9px] ds-w-[9px] ds-rounded-full",
37439
37453
  WV[n]
37440
37454
  )
@@ -37448,7 +37462,7 @@ const WV = {
37448
37462
  ] }),
37449
37463
  /* @__PURE__ */ v.jsx("div", { className: "ds-text-mediumCaption1Regular ds-text-Text-secondary", children: t })
37450
37464
  ] })
37451
- ] }), zV = ({ className: e, paymentItems: t }) => /* @__PURE__ */ v.jsx("ul", { className: ut(e), children: t.map((r, n) => /* @__PURE__ */ v.jsx("li", { children: /* @__PURE__ */ v.jsx(
37465
+ ] }), zV = ({ className: e, paymentItems: t }) => /* @__PURE__ */ v.jsx("ul", { className: lt(e), children: t.map((r, n) => /* @__PURE__ */ v.jsx("li", { children: /* @__PURE__ */ v.jsx(
37452
37466
  HV,
37453
37467
  ze(pe({}, r), {
37454
37468
  positionInSchedule: n === 0 ? "first" : n === t.length - 1 ? "last" : "in-between"
@@ -37462,7 +37476,7 @@ const WV = {
37462
37476
  currency: i
37463
37477
  }) => {
37464
37478
  const o = [Ia, ea];
37465
- return /* @__PURE__ */ v.jsxs("div", { className: ut(a), children: [
37479
+ return /* @__PURE__ */ v.jsxs("div", { className: lt(a), children: [
37466
37480
  /* @__PURE__ */ v.jsxs("div", { className: "ds-flex ds-cursor-text ds-flex-row ds-flex-nowrap ds-items-center ds-justify-between", children: [
37467
37481
  /* @__PURE__ */ v.jsxs("div", { className: "ds-relative ds-flex ds-flex-row ds-flex-nowrap ds-items-center ds-justify-start", children: [
37468
37482
  e === Ia && /* @__PURE__ */ v.jsx(uT, { className: "ds-absolute ds-left-0 ds-top-1/2 ds-size-4 -ds-translate-y-1/2 ds-text-black" }),
@@ -37520,7 +37534,7 @@ const BV = ({
37520
37534
  }), ([Ia, ea].includes(w.keyId) || b < n + a - 1 && w.keyId === ws) && (g -= w.amount);
37521
37535
  }), m(g), f(y);
37522
37536
  }, [r, t, n, a, s]), /* @__PURE__ */ v.jsx(v.Fragment, { children: (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
37523
- /* @__PURE__ */ v.jsx("div", { className: ut(e, "ds-grid ds-grid-cols-1 ds-gap-4"), children: r.map((g, y) => {
37537
+ /* @__PURE__ */ v.jsx("div", { className: lt(e, "ds-grid ds-grid-cols-1 ds-gap-4"), children: r.map((g, y) => {
37524
37538
  if ([Ia, ea].includes(g.keyId) || y < n + a - 1 && g.keyId === ws)
37525
37539
  return /* @__PURE__ */ v.jsx(
37526
37540
  Xp,
@@ -37622,7 +37636,7 @@ const YV = ({
37622
37636
  className: i = ""
37623
37637
  }) => {
37624
37638
  const o = n / r * 100, s = st(() => se.isValidElement(e) ? e : /* @__PURE__ */ v.jsx("span", { className: "ds_xSmallCaption1Emphasized ds-text-Text-primary", children: e }), [e]), l = () => typeof t == "string" || typeof t == "number" ? /* @__PURE__ */ v.jsx("span", { className: "ds_xSmallCaption1Emphasized ds-text-Text-primary", children: t }) : se.isValidElement(t) ? t : /* @__PURE__ */ v.jsx("span", { className: "ds_xSmallCaption1Emphasized ds-text-Text-primary", children: `${o.toFixed(2)}%` });
37625
- return /* @__PURE__ */ v.jsxs("div", { className: ut("ds-w-full", i), children: [
37639
+ return /* @__PURE__ */ v.jsxs("div", { className: lt("ds-w-full", i), children: [
37626
37640
  /* @__PURE__ */ v.jsxs("div", { className: "ds-mb-1 ds-flex ds-items-center ds-justify-between", children: [
37627
37641
  s(),
37628
37642
  l()
@@ -37658,7 +37672,7 @@ const UV = ({ label: e, required: t, error: r, className: n }) => /* @__PURE__ *
37658
37672
  "div",
37659
37673
  {
37660
37674
  className: "ds-text-mediumCaption1Regular " + // cn merges ds-text for font size and color, which is a bug. So we keep this outside
37661
- ut(
37675
+ lt(
37662
37676
  "ds-text-Text-secondary",
37663
37677
  {
37664
37678
  "ds-text-System-red": t
@@ -37667,7 +37681,7 @@ const UV = ({ label: e, required: t, error: r, className: n }) => /* @__PURE__ *
37667
37681
  ),
37668
37682
  children: e
37669
37683
  }
37670
- ), _Y = ({
37684
+ ), SY = ({
37671
37685
  options: e,
37672
37686
  value: t,
37673
37687
  onChange: r,
@@ -37694,7 +37708,7 @@ const UV = ({ label: e, required: t, error: r, className: n }) => /* @__PURE__ *
37694
37708
  }), []), /* @__PURE__ */ v.jsxs(
37695
37709
  "div",
37696
37710
  {
37697
- className: ut(
37711
+ className: lt(
37698
37712
  "ds-relative ds-w-full ds-cursor-pointer",
37699
37713
  u && "ds-pointer-events-none",
37700
37714
  a
@@ -37715,7 +37729,7 @@ const UV = ({ label: e, required: t, error: r, className: n }) => /* @__PURE__ *
37715
37729
  {
37716
37730
  ref: h,
37717
37731
  className: "ds-group ds-text-mediumBodyRegular " + // cn merges ds-text for font size and color, which is a bug. So we keep this outside
37718
- ut(
37732
+ lt(
37719
37733
  "ds-flex ds-items-center ds-justify-between ds-gap-2 ds-whitespace-nowrap ds-rounded-sm ds-border ds-border-Fills-terciary ds-px-4 ds-py-2 ds-text-Text-primary hover:ds-border-Fills-secondary focus:ds-border-Fills-black active:ds-border-Fills-black",
37720
37734
  {
37721
37735
  "ds-border-Fills-black hover:ds-border-Fills-black": d,
@@ -37725,16 +37739,16 @@ const UV = ({ label: e, required: t, error: r, className: n }) => /* @__PURE__ *
37725
37739
  ),
37726
37740
  onClick: () => !u && c((y) => !y),
37727
37741
  children: [
37728
- g(t) ? /* @__PURE__ */ v.jsx("span", { children: g(t) }) : /* @__PURE__ */ v.jsx("span", { className: "ds-text-Text-tertiary", children: o }),
37742
+ g(t) ? /* @__PURE__ */ v.jsx("span", { className: lt({ "ds-text-Text-tertiary": u }), children: g(t) }) : /* @__PURE__ */ v.jsx("span", { className: "ds-text-Text-tertiary", children: o }),
37729
37743
  /* @__PURE__ */ v.jsx(
37730
37744
  cT,
37731
37745
  {
37732
- className: ut(
37733
- "ds-size-4 ds-text-Fills-terciary group-[:active]:ds-text-Fills-black group-[:focus]:ds-text-Fills-black group-[:hover]:ds-text-Fills-secondary",
37746
+ className: lt(
37747
+ "ds-size-4 ds-text-Fills-terciary group-hover:ds-text-Fills-secondary group-focus:ds-text-Fills-black group-active:ds-text-Fills-black",
37734
37748
  {
37735
- "ds-text-Fills-black group-[:hover]:ds-text-Fills-black": d,
37736
- "ds-text-System-red group-[:active]:ds-text-System-red group-[:focus]:ds-text-System-red group-[:hover]:ds-text-System-red": n,
37737
- "ds-text-Fills-quadrutery group-[:active]:ds-text-Fills-quadrutery group-[:focus]:ds-text-Fills-quadrutery group-[:hover]:ds-text-Fills-quadrutery": u
37749
+ "ds-text-Fills-black group-hover:ds-text-Fills-black": d,
37750
+ "ds-text-System-red group-hover:ds-text-System-red group-focus:ds-text-System-red group-active:ds-text-System-red": n,
37751
+ "ds-text-Fills-quadrutery group-hover:ds-text-Fills-quadrutery group-focus:ds-text-Fills-quadrutery group-active:ds-text-Fills-quadrutery": u
37738
37752
  }
37739
37753
  )
37740
37754
  }
@@ -37809,7 +37823,7 @@ export {
37809
37823
  iY as DeleteIcon,
37810
37824
  YD as DesktopTooltip,
37811
37825
  ug as Dialog,
37812
- mY as DialogV2,
37826
+ bY as DialogV2,
37813
37827
  vY as FileIcon,
37814
37828
  tY as FilterIcon,
37815
37829
  i6 as Grid,
@@ -37852,8 +37866,8 @@ export {
37852
37866
  QD as RoundedProgressBar,
37853
37867
  bD as RulerRegularIcon,
37854
37868
  ea as SECURITY_DEPOSIT_REFUND,
37855
- wY as Scrollbar,
37856
- _Y as Select,
37869
+ _Y as Scrollbar,
37870
+ SY as Select,
37857
37871
  H4 as SelectPopover,
37858
37872
  ZL as SelectionStateEnum,
37859
37873
  _D as ShareIcon,
@@ -37864,14 +37878,15 @@ export {
37864
37878
  rY as StarLineIcon,
37865
37879
  nY as StarRegularIcon,
37866
37880
  c6 as Stepper,
37867
- bY as StepsList,
37881
+ wY as StepsList,
37868
37882
  dV as StepsListItem,
37869
37883
  ZD as Switch,
37870
37884
  aY as ThreeDotsCircleIcon,
37871
37885
  h6 as Timer,
37872
- yY as ToastContainer,
37886
+ mY as ToastContainer,
37873
37887
  tF as ToggleCard,
37874
37888
  lg as Tooltip,
37889
+ gY as TooltipContentWithImage,
37875
37890
  v6 as TopNavBar,
37876
37891
  p6 as TopNavContainerMobile,
37877
37892
  Gy as TrashIcon,
@@ -37880,10 +37895,10 @@ export {
37880
37895
  KB as TravelListPropertyItem,
37881
37896
  cT as TriangleDownIcon,
37882
37897
  g6 as TwoColumnDialog,
37883
- ut as cn,
37898
+ lt as cn,
37884
37899
  qA as desktopMinWidth,
37885
37900
  pD as formatCurrency,
37886
37901
  gy as tabletMinWidth,
37887
- gY as toast,
37902
+ yY as toast,
37888
37903
  $A as useDocumentSize
37889
37904
  };