design-system-silkhaus 2.3.0-beta.travel-list.33 → 2.3.0-beta.travel-list.34

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
@@ -295,29 +295,29 @@ function zT() {
295
295
  }), typeof Reflect == "object" && Reflect.construct) {
296
296
  try {
297
297
  Reflect.construct(He, []);
298
- } catch (dr) {
299
- qe = dr;
298
+ } catch (cr) {
299
+ qe = cr;
300
300
  }
301
301
  Reflect.construct(G, [], He);
302
302
  } else {
303
303
  try {
304
304
  He.call();
305
- } catch (dr) {
306
- qe = dr;
305
+ } catch (cr) {
306
+ qe = cr;
307
307
  }
308
308
  G.call(He.prototype);
309
309
  }
310
310
  } else {
311
311
  try {
312
312
  throw Error();
313
- } catch (dr) {
314
- qe = dr;
313
+ } catch (cr) {
314
+ qe = cr;
315
315
  }
316
316
  G();
317
317
  }
318
- } catch (dr) {
319
- if (dr && qe && typeof dr.stack == "string") {
320
- for (var Ke = dr.stack.split(`
318
+ } catch (cr) {
319
+ if (cr && qe && typeof cr.stack == "string") {
320
+ for (var Ke = cr.stack.split(`
321
321
  `), or = qe.stack.split(`
322
322
  `), It = Ke.length - 1, Tt = or.length - 1; It >= 1 && Tt >= 0 && Ke[It] !== or[Tt]; )
323
323
  Tt--;
@@ -598,7 +598,7 @@ Check the top-level render call using <` + _e + ">.");
598
598
  }
599
599
  }
600
600
  }
601
- function lr(G) {
601
+ function ur(G) {
602
602
  {
603
603
  var ye = G.type;
604
604
  if (ye == null || typeof ye == "string")
@@ -664,11 +664,11 @@ Check the top-level render call using <` + _e + ">.");
664
664
  kt(hr, G);
665
665
  }
666
666
  if (L.call(ye, "key")) {
667
- var nn = O(G), dr = Object.keys(ye).filter(function(Vs) {
667
+ var nn = O(G), cr = Object.keys(ye).filter(function(Vs) {
668
668
  return Vs !== "key";
669
- }), Ga = dr.length > 0 ? "{key: someKey, " + dr.join(": ..., ") + ": ...}" : "{key: someKey}";
669
+ }), Ga = cr.length > 0 ? "{key: someKey, " + cr.join(": ..., ") + ": ...}" : "{key: someKey}";
670
670
  if (!Ut[nn + Ga]) {
671
- var zs = dr.length > 0 ? "{" + dr.join(": ..., ") + ": ...}" : "{}";
671
+ var zs = cr.length > 0 ? "{" + cr.join(": ..., ") + ": ...}" : "{}";
672
672
  b(`A props object containing a "key" prop is being spread into JSX:
673
673
  let props = %s;
674
674
  <%s {...props} />
@@ -677,16 +677,16 @@ React keys must be passed directly to JSX without using spread:
677
677
  <%s key={someKey} {...props} />`, Ga, nn, zs, nn), Ut[nn + Ga] = !0;
678
678
  }
679
679
  }
680
- return G === n ? fr(Tt) : lr(Tt), Tt;
680
+ return G === n ? fr(Tt) : ur(Tt), Tt;
681
681
  }
682
682
  }
683
- function ur(G, ye, _e) {
683
+ function dr(G, ye, _e) {
684
684
  return mt(G, ye, _e, !0);
685
685
  }
686
686
  function zt(G, ye, _e) {
687
687
  return mt(G, ye, _e, !1);
688
688
  }
689
- var ir = zt, rr = ur;
689
+ var ir = zt, rr = dr;
690
690
  Za.Fragment = n, Za.jsx = ir, Za.jsxs = rr;
691
691
  }()), Za;
692
692
  }
@@ -3637,7 +3637,7 @@ const ze = /* @__PURE__ */ zv(Vv), Yv = ({ children: e, size: t = "small" }) =>
3637
3637
  // ],
3638
3638
  plugins: []
3639
3639
  }, PM = SM(pe({}, qp));
3640
- function cr(...e) {
3640
+ function lr(...e) {
3641
3641
  return PM(Me(e));
3642
3642
  }
3643
3643
  const Mg = {
@@ -3681,7 +3681,7 @@ const Mg = {
3681
3681
  "helpterTextClassName",
3682
3682
  "buttonClassName"
3683
3683
  ]);
3684
- return /* @__PURE__ */ g.jsxs("div", { className: cr("ds-flex ds-flex-col ds-gap-1", n), children: [
3684
+ return /* @__PURE__ */ g.jsxs("div", { className: lr("ds-flex ds-flex-col ds-gap-1", n), children: [
3685
3685
  /* @__PURE__ */ g.jsxs(
3686
3686
  "button",
3687
3687
  Ve(pe({
@@ -3707,7 +3707,7 @@ const Mg = {
3707
3707
  u && /* @__PURE__ */ g.jsx(
3708
3708
  "div",
3709
3709
  {
3710
- className: cr(
3710
+ className: lr(
3711
3711
  "ds-w-full ds-text-right ds-text-mediumFootnoteRegular",
3712
3712
  d
3713
3713
  ),
@@ -7862,7 +7862,7 @@ const ES = se.forwardRef(
7862
7862
  ({ checked: e = !1, onChange: t, disabled: r = !1, htmlId: n = "wa" }, a) => /* @__PURE__ */ g.jsxs(
7863
7863
  "label",
7864
7864
  {
7865
- className: cr("switch", r && "disabled"),
7865
+ className: lr("switch", r && "disabled"),
7866
7866
  htmlFor: n,
7867
7867
  children: [
7868
7868
  /* @__PURE__ */ g.jsx(
@@ -21007,12 +21007,12 @@ function Yy() {
21007
21007
  key: "week-".concat(L)
21008
21008
  }), u.default.createElement("ul", (0, f.css)(ge.DayPicker_weekHeader_ul), fe));
21009
21009
  }, U.render = function() {
21010
- for (var L = this, ee = this.state, ie = ee.calendarMonthWidth, le = ee.currentMonth, oe = ee.monthTransition, ce = ee.translationValue, ge = ee.scrollableMonthMultiple, we = ee.focusedDate, de = ee.showKeyboardShortcuts, ne = ee.isTouchDevice, ue = ee.hasSetHeight, ve = ee.calendarInfoWidth, ke = ee.monthTitleHeight, fe = this.props, Oe = fe.enableOutsideDays, be = fe.numberOfMonths, Ae = fe.orientation, J = fe.modifiers, re = fe.withPortal, Te = fe.onDayClick, Ee = fe.onDayMouseEnter, Fe = fe.onDayMouseLeave, Ie = fe.firstDayOfWeek, vt = fe.renderMonthText, xt = fe.renderCalendarDay, rt = fe.renderDayContents, Je = fe.renderCalendarInfo, et = fe.renderMonthElement, Dt = fe.renderKeyboardShortcutsButton, St = fe.renderKeyboardShortcutsPanel, Bt = fe.calendarInfoPosition, Pe = fe.hideKeyboardShortcutsPanel, mr = fe.onOutsideClick, kt = fe.monthFormat, lr = fe.daySize, fr = fe.isFocused, Ut = fe.isRTL, mt = fe.styles, ur = fe.theme, zt = fe.phrases, ir = fe.verticalHeight, rr = fe.dayAriaLabelFormat, G = fe.noBorder, ye = fe.transitionDuration, _e = fe.verticalBorderSpacing, qe = fe.horizontalMonthPadding, Ue = fe.navPosition, it = ur.reactDates.spacing.dayPickerHorizontalPadding, He = this.isHorizontal(), Ke = this.isVertical() ? 1 : be, or = [], It = 0; It < Ke; It += 1)
21010
+ for (var L = this, ee = this.state, ie = ee.calendarMonthWidth, le = ee.currentMonth, oe = ee.monthTransition, ce = ee.translationValue, ge = ee.scrollableMonthMultiple, we = ee.focusedDate, de = ee.showKeyboardShortcuts, ne = ee.isTouchDevice, ue = ee.hasSetHeight, ve = ee.calendarInfoWidth, ke = ee.monthTitleHeight, fe = this.props, Oe = fe.enableOutsideDays, be = fe.numberOfMonths, Ae = fe.orientation, J = fe.modifiers, re = fe.withPortal, Te = fe.onDayClick, Ee = fe.onDayMouseEnter, Fe = fe.onDayMouseLeave, Ie = fe.firstDayOfWeek, vt = fe.renderMonthText, xt = fe.renderCalendarDay, rt = fe.renderDayContents, Je = fe.renderCalendarInfo, et = fe.renderMonthElement, Dt = fe.renderKeyboardShortcutsButton, St = fe.renderKeyboardShortcutsPanel, Bt = fe.calendarInfoPosition, Pe = fe.hideKeyboardShortcutsPanel, mr = fe.onOutsideClick, kt = fe.monthFormat, ur = fe.daySize, fr = fe.isFocused, Ut = fe.isRTL, mt = fe.styles, dr = fe.theme, zt = fe.phrases, ir = fe.verticalHeight, rr = fe.dayAriaLabelFormat, G = fe.noBorder, ye = fe.transitionDuration, _e = fe.verticalBorderSpacing, qe = fe.horizontalMonthPadding, Ue = fe.navPosition, it = dr.reactDates.spacing.dayPickerHorizontalPadding, He = this.isHorizontal(), Ke = this.isVertical() ? 1 : be, or = [], It = 0; It < Ke; It += 1)
21011
21011
  or.push(this.renderWeekHeader(It));
21012
21012
  var Tt = Ae === E.VERTICAL_SCROLLABLE, hr;
21013
21013
  He ? hr = this.calendarMonthGridHeight : this.isVertical() && !Tt && !re && (hr = ir || 1.75 * ie);
21014
- var rn = oe !== null, nn = !rn && fr, dr = N.BOTTOM_RIGHT;
21015
- this.isVertical() && (dr = re ? N.TOP_LEFT : N.TOP_RIGHT);
21014
+ var rn = oe !== null, nn = !rn && fr, cr = N.BOTTOM_RIGHT;
21015
+ this.isVertical() && (cr = re ? N.TOP_LEFT : N.TOP_RIGHT);
21016
21016
  var Ga = He && ue, zs = Bt === E.INFO_POSITION_TOP, Vs = Bt === E.INFO_POSITION_BOTTOM, gg = Bt === E.INFO_POSITION_BEFORE, mg = Bt === E.INFO_POSITION_AFTER, Ys = gg || mg, bg = Je && u.default.createElement("div", (0, a.default)({
21017
21017
  ref: this.setCalendarInfoRef
21018
21018
  }, (0, f.css)(Ys && mt.DayPicker_calendarInfo__horizontal)), Je()), RT = Je && Ys ? ve : 0, ET = this.getFirstVisibleIndex(), Ks = ie * be + 2 * it, wg = Ks + RT + 1, IT = {
@@ -21069,7 +21069,7 @@ function Yy() {
21069
21069
  renderMonthElement: et,
21070
21070
  onMonthTransitionEnd: this.updateStateAfterMonthTransition,
21071
21071
  monthFormat: kt,
21072
- daySize: lr,
21072
+ daySize: ur,
21073
21073
  firstDayOfWeek: Ie,
21074
21074
  isFocused: nn,
21075
21075
  focusedDate: we,
@@ -21081,7 +21081,7 @@ function Yy() {
21081
21081
  horizontalMonthPadding: qe
21082
21082
  }), Tt && this.renderNavigation(Q)), !Tt && Ue === E.NAV_POSITION_BOTTOM && this.renderNavigation(), !ne && !Pe && u.default.createElement(N.default, {
21083
21083
  block: this.isVertical() && !re,
21084
- buttonLocation: dr,
21084
+ buttonLocation: cr,
21085
21085
  showKeyboardShortcutsPanel: de,
21086
21086
  openKeyboardShortcutsPanel: this.openKeyboardShortcutsPanel,
21087
21087
  closeKeyboardShortcutsPanel: this.closeKeyboardShortcutsPanel,
@@ -21525,16 +21525,16 @@ function dx() {
21525
21525
  (0, x.default)(_e, U) && (Pe = B.addModifier(Pe, _e, "no-selected-start-before-selected-end"));
21526
21526
  });
21527
21527
  })), !this.isTouchDevice && Je && W && !U) {
21528
- var lr = W.clone().add(1, "day"), fr = W.clone().add(L + 1, "days");
21529
- Pe = this.addModifierToRange(Pe, lr, fr, "after-hovered-start");
21528
+ var ur = W.clone().add(1, "day"), fr = W.clone().add(L + 1, "days");
21529
+ Pe = this.addModifierToRange(Pe, ur, fr, "after-hovered-start");
21530
21530
  }
21531
21531
  if (!this.isTouchDevice && et && !W && U) {
21532
21532
  var Ut = U.clone().subtract(L, "days"), mt = U.clone();
21533
21533
  Pe = this.addModifierToRange(Pe, Ut, mt, "before-hovered-end");
21534
21534
  }
21535
21535
  if (ke > 0 && (Dt || Je || L !== ke)) {
21536
- var ur = ne || this.today;
21537
- Pe = this.deleteModifierFromRange(Pe, ur, ur.clone().add(ke, "days"), "blocked-minimum-nights"), Pe = this.deleteModifierFromRange(Pe, ur, ur.clone().add(ke, "days"), "blocked");
21536
+ var dr = ne || this.today;
21537
+ Pe = this.deleteModifierFromRange(Pe, dr, dr.clone().add(ke, "days"), "blocked-minimum-nights"), Pe = this.deleteModifierFromRange(Pe, dr, dr.clone().add(ke, "days"), "blocked");
21538
21538
  }
21539
21539
  if ((Dt || rt) && (0, f.default)(Fe).forEach(function(G) {
21540
21540
  Object.keys(G).forEach(function(ye) {
@@ -21854,7 +21854,7 @@ function dx() {
21854
21854
  var B = this.props, W = B.startDate, U = B.endDate, ae = B.minimumNights, X = this.state || {}, L = X.hoverDate;
21855
21855
  return !!U && !W && !this.isBlocked(T) && (0, k.default)(L, T) && ae > 0 && (0, b.default)(L, U);
21856
21856
  }, Q.render = function() {
21857
- var T = this.props, B = T.numberOfMonths, W = T.orientation, U = T.monthFormat, ae = T.renderMonthText, X = T.renderWeekHeaderElement, L = T.dayPickerNavigationInlineStyles, ee = T.navPosition, ie = T.navPrev, le = T.navNext, oe = T.renderNavPrevButton, ce = T.renderNavNextButton, ge = T.noNavButtons, we = T.noNavNextButton, de = T.noNavPrevButton, ne = T.onOutsideClick, ue = T.withPortal, ve = T.enableOutsideDays, ke = T.firstDayOfWeek, fe = T.renderKeyboardShortcutsButton, Oe = T.renderKeyboardShortcutsPanel, be = T.hideKeyboardShortcutsPanel, Ae = T.daySize, J = T.focusedInput, re = T.renderCalendarDay, Te = T.renderDayContents, Ee = T.renderCalendarInfo, Fe = T.renderMonthElement, Ie = T.calendarInfoPosition, vt = T.onBlur, xt = T.onShiftTab, rt = T.onTab, Je = T.isFocused, et = T.showKeyboardShortcuts, Dt = T.isRTL, St = T.weekDayFormat, Bt = T.dayAriaLabelFormat, Pe = T.verticalHeight, mr = T.noBorder, kt = T.transitionDuration, lr = T.verticalBorderSpacing, fr = T.horizontalMonthPadding, Ut = this.state, mt = Ut.currentMonth, ur = Ut.phrases, zt = Ut.visibleDays, ir = Ut.disablePrev, rr = Ut.disableNext;
21857
+ var T = this.props, B = T.numberOfMonths, W = T.orientation, U = T.monthFormat, ae = T.renderMonthText, X = T.renderWeekHeaderElement, L = T.dayPickerNavigationInlineStyles, ee = T.navPosition, ie = T.navPrev, le = T.navNext, oe = T.renderNavPrevButton, ce = T.renderNavNextButton, ge = T.noNavButtons, we = T.noNavNextButton, de = T.noNavPrevButton, ne = T.onOutsideClick, ue = T.withPortal, ve = T.enableOutsideDays, ke = T.firstDayOfWeek, fe = T.renderKeyboardShortcutsButton, Oe = T.renderKeyboardShortcutsPanel, be = T.hideKeyboardShortcutsPanel, Ae = T.daySize, J = T.focusedInput, re = T.renderCalendarDay, Te = T.renderDayContents, Ee = T.renderCalendarInfo, Fe = T.renderMonthElement, Ie = T.calendarInfoPosition, vt = T.onBlur, xt = T.onShiftTab, rt = T.onTab, Je = T.isFocused, et = T.showKeyboardShortcuts, Dt = T.isRTL, St = T.weekDayFormat, Bt = T.dayAriaLabelFormat, Pe = T.verticalHeight, mr = T.noBorder, kt = T.transitionDuration, ur = T.verticalBorderSpacing, fr = T.horizontalMonthPadding, Ut = this.state, mt = Ut.currentMonth, dr = Ut.phrases, zt = Ut.visibleDays, ir = Ut.disablePrev, rr = Ut.disableNext;
21858
21858
  return s.default.createElement(E.default, {
21859
21859
  orientation: W,
21860
21860
  enableOutsideDays: ve,
@@ -21905,12 +21905,12 @@ function dx() {
21905
21905
  getFirstFocusableDay: this.getFirstFocusableDay,
21906
21906
  onBlur: vt,
21907
21907
  showKeyboardShortcuts: et,
21908
- phrases: ur,
21908
+ phrases: dr,
21909
21909
  isRTL: Dt,
21910
21910
  weekDayFormat: St,
21911
21911
  dayAriaLabelFormat: Bt,
21912
21912
  verticalHeight: Pe,
21913
- verticalBorderSpacing: lr,
21913
+ verticalBorderSpacing: ur,
21914
21914
  noBorder: mr,
21915
21915
  transitionDuration: kt,
21916
21916
  horizontalMonthPadding: fr
@@ -22137,9 +22137,9 @@ function TI() {
22137
22137
  var v = this.props, q = v.withPortal, z = v.withFullScreenPortal, V = v.appendToBody;
22138
22138
  return this.isOpened() ? q || z || V ? s.default.createElement(d.Portal, null, this.renderDayPicker()) : this.renderDayPicker() : null;
22139
22139
  }, E.renderDayPicker = function() {
22140
- var v = this.props, q = v.anchorDirection, z = v.openDirection, V = v.isDayBlocked, Z = v.isDayHighlighted, K = v.isOutsideRange, Q = v.numberOfMonths, te = v.orientation, Y = v.monthFormat, T = v.renderMonthText, B = v.renderWeekHeaderElement, W = v.dayPickerNavigationInlineStyles, U = v.navPosition, ae = v.navPrev, X = v.navNext, L = v.renderNavPrevButton, ee = v.renderNavNextButton, ie = v.onPrevMonthClick, le = v.onNextMonthClick, oe = v.onDatesChange, ce = v.onFocusChange, ge = v.withPortal, we = v.withFullScreenPortal, de = v.daySize, ne = v.enableOutsideDays, ue = v.focusedInput, ve = v.startDate, ke = v.startDateOffset, fe = v.endDate, Oe = v.endDateOffset, be = v.minDate, Ae = v.maxDate, J = v.minimumNights, re = v.keepOpenOnDateSelect, Te = v.renderCalendarDay, Ee = v.renderDayContents, Fe = v.renderCalendarInfo, Ie = v.renderMonthElement, vt = v.calendarInfoPosition, xt = v.firstDayOfWeek, rt = v.initialVisibleMonth, Je = v.hideKeyboardShortcutsPanel, et = v.customCloseIcon, Dt = v.onClose, St = v.phrases, Bt = v.dayAriaLabelFormat, Pe = v.isRTL, mr = v.weekDayFormat, kt = v.styles, lr = v.verticalHeight, fr = v.transitionDuration, Ut = v.verticalSpacing, mt = v.horizontalMonthPadding, ur = v.small, zt = v.disabled, ir = v.theme.reactDates, rr = this.state, G = rr.dayPickerContainerStyles, ye = rr.isDayPickerFocused, _e = rr.showKeyboardShortcuts, qe = !we && ge ? this.onOutsideClick : void 0, Ue = rt || function() {
22140
+ var v = this.props, q = v.anchorDirection, z = v.openDirection, V = v.isDayBlocked, Z = v.isDayHighlighted, K = v.isOutsideRange, Q = v.numberOfMonths, te = v.orientation, Y = v.monthFormat, T = v.renderMonthText, B = v.renderWeekHeaderElement, W = v.dayPickerNavigationInlineStyles, U = v.navPosition, ae = v.navPrev, X = v.navNext, L = v.renderNavPrevButton, ee = v.renderNavNextButton, ie = v.onPrevMonthClick, le = v.onNextMonthClick, oe = v.onDatesChange, ce = v.onFocusChange, ge = v.withPortal, we = v.withFullScreenPortal, de = v.daySize, ne = v.enableOutsideDays, ue = v.focusedInput, ve = v.startDate, ke = v.startDateOffset, fe = v.endDate, Oe = v.endDateOffset, be = v.minDate, Ae = v.maxDate, J = v.minimumNights, re = v.keepOpenOnDateSelect, Te = v.renderCalendarDay, Ee = v.renderDayContents, Fe = v.renderCalendarInfo, Ie = v.renderMonthElement, vt = v.calendarInfoPosition, xt = v.firstDayOfWeek, rt = v.initialVisibleMonth, Je = v.hideKeyboardShortcutsPanel, et = v.customCloseIcon, Dt = v.onClose, St = v.phrases, Bt = v.dayAriaLabelFormat, Pe = v.isRTL, mr = v.weekDayFormat, kt = v.styles, ur = v.verticalHeight, fr = v.transitionDuration, Ut = v.verticalSpacing, mt = v.horizontalMonthPadding, dr = v.small, zt = v.disabled, ir = v.theme.reactDates, rr = this.state, G = rr.dayPickerContainerStyles, ye = rr.isDayPickerFocused, _e = rr.showKeyboardShortcuts, qe = !we && ge ? this.onOutsideClick : void 0, Ue = rt || function() {
22141
22141
  return ve || fe || (0, l.default)();
22142
- }, it = et || s.default.createElement(R.default, (0, u.css)(kt.DateRangePicker_closeButton_svg)), He = (0, _.default)(ir, ur), Ke = ge || we;
22142
+ }, it = et || s.default.createElement(R.default, (0, u.css)(kt.DateRangePicker_closeButton_svg)), He = (0, _.default)(ir, dr), Ke = ge || we;
22143
22143
  return s.default.createElement("div", (0, n.default)({
22144
22144
  ref: this.setDayPickerContainerRef
22145
22145
  }, (0, u.css)(kt.DateRangePicker_picker, q === P.ANCHOR_LEFT && kt.DateRangePicker_picker__directionLeft, q === P.ANCHOR_RIGHT && kt.DateRangePicker_picker__directionRight, te === P.HORIZONTAL_ORIENTATION && kt.DateRangePicker_picker__horizontal, te === P.VERTICAL_ORIENTATION && kt.DateRangePicker_picker__vertical, !Ke && z === P.OPEN_DOWN && {
@@ -22195,7 +22195,7 @@ function TI() {
22195
22195
  isRTL: Pe,
22196
22196
  firstDayOfWeek: xt,
22197
22197
  weekDayFormat: mr,
22198
- verticalHeight: lr,
22198
+ verticalHeight: ur,
22199
22199
  transitionDuration: fr,
22200
22200
  disabled: zt,
22201
22201
  horizontalMonthPadding: mt
@@ -23446,7 +23446,7 @@ function kI() {
23446
23446
  var v = this.props, q = v.focused, z = v.withPortal, V = v.withFullScreenPortal, Z = v.appendToBody;
23447
23447
  return q ? z || V || Z ? s.default.createElement(d.Portal, null, this.renderDayPicker()) : this.renderDayPicker() : null;
23448
23448
  }, E.renderDayPicker = function() {
23449
- var v = this.props, q = v.anchorDirection, z = v.openDirection, V = v.onDateChange, Z = v.date, K = v.onFocusChange, Q = v.focused, te = v.enableOutsideDays, Y = v.numberOfMonths, T = v.orientation, B = v.monthFormat, W = v.dayPickerNavigationInlineStyles, U = v.navPosition, ae = v.navPrev, X = v.navNext, L = v.renderNavPrevButton, ee = v.renderNavNextButton, ie = v.onPrevMonthClick, le = v.onNextMonthClick, oe = v.onClose, ce = v.withPortal, ge = v.withFullScreenPortal, we = v.keepOpenOnDateSelect, de = v.initialVisibleMonth, ne = v.renderMonthText, ue = v.renderWeekHeaderElement, ve = v.renderCalendarDay, ke = v.renderDayContents, fe = v.renderCalendarInfo, Oe = v.renderMonthElement, be = v.calendarInfoPosition, Ae = v.hideKeyboardShortcutsPanel, J = v.firstDayOfWeek, re = v.customCloseIcon, Te = v.phrases, Ee = v.dayAriaLabelFormat, Fe = v.daySize, Ie = v.isRTL, vt = v.isOutsideRange, xt = v.isDayBlocked, rt = v.isDayHighlighted, Je = v.weekDayFormat, et = v.styles, Dt = v.verticalHeight, St = v.transitionDuration, Bt = v.verticalSpacing, Pe = v.horizontalMonthPadding, mr = v.small, kt = v.theme.reactDates, lr = this.state, fr = lr.dayPickerContainerStyles, Ut = lr.isDayPickerFocused, mt = lr.showKeyboardShortcuts, ur = !ge && ce ? this.onOutsideClick : void 0, zt = re || s.default.createElement(R.default, null), ir = (0, _.default)(kt, mr), rr = ce || ge;
23449
+ var v = this.props, q = v.anchorDirection, z = v.openDirection, V = v.onDateChange, Z = v.date, K = v.onFocusChange, Q = v.focused, te = v.enableOutsideDays, Y = v.numberOfMonths, T = v.orientation, B = v.monthFormat, W = v.dayPickerNavigationInlineStyles, U = v.navPosition, ae = v.navPrev, X = v.navNext, L = v.renderNavPrevButton, ee = v.renderNavNextButton, ie = v.onPrevMonthClick, le = v.onNextMonthClick, oe = v.onClose, ce = v.withPortal, ge = v.withFullScreenPortal, we = v.keepOpenOnDateSelect, de = v.initialVisibleMonth, ne = v.renderMonthText, ue = v.renderWeekHeaderElement, ve = v.renderCalendarDay, ke = v.renderDayContents, fe = v.renderCalendarInfo, Oe = v.renderMonthElement, be = v.calendarInfoPosition, Ae = v.hideKeyboardShortcutsPanel, J = v.firstDayOfWeek, re = v.customCloseIcon, Te = v.phrases, Ee = v.dayAriaLabelFormat, Fe = v.daySize, Ie = v.isRTL, vt = v.isOutsideRange, xt = v.isDayBlocked, rt = v.isDayHighlighted, Je = v.weekDayFormat, et = v.styles, Dt = v.verticalHeight, St = v.transitionDuration, Bt = v.verticalSpacing, Pe = v.horizontalMonthPadding, mr = v.small, kt = v.theme.reactDates, ur = this.state, fr = ur.dayPickerContainerStyles, Ut = ur.isDayPickerFocused, mt = ur.showKeyboardShortcuts, dr = !ge && ce ? this.onOutsideClick : void 0, zt = re || s.default.createElement(R.default, null), ir = (0, _.default)(kt, mr), rr = ce || ge;
23450
23450
  return s.default.createElement("div", (0, n.default)({
23451
23451
  ref: this.setDayPickerContainerRef
23452
23452
  }, (0, u.css)(et.SingleDatePicker_picker, q === P.ANCHOR_LEFT && et.SingleDatePicker_picker__directionLeft, q === P.ANCHOR_RIGHT && et.SingleDatePicker_picker__directionRight, z === P.OPEN_DOWN && et.SingleDatePicker_picker__openDown, z === P.OPEN_UP && et.SingleDatePicker_picker__openUp, !rr && z === P.OPEN_DOWN && {
@@ -23454,7 +23454,7 @@ function kI() {
23454
23454
  }, !rr && z === P.OPEN_UP && {
23455
23455
  bottom: ir + Bt
23456
23456
  }, T === P.HORIZONTAL_ORIENTATION && et.SingleDatePicker_picker__horizontal, T === P.VERTICAL_ORIENTATION && et.SingleDatePicker_picker__vertical, rr && et.SingleDatePicker_picker__portal, ge && et.SingleDatePicker_picker__fullScreenPortal, Ie && et.SingleDatePicker_picker__rtl, fr), {
23457
- onClick: ur
23457
+ onClick: dr
23458
23458
  }), s.default.createElement(A.default, {
23459
23459
  date: Z,
23460
23460
  onDateChange: V,
@@ -23852,8 +23852,8 @@ function LI() {
23852
23852
  return typeof re == "object" && !I ? ue(mr) : mr;
23853
23853
  }
23854
23854
  if (we(re)) {
23855
- for (var kt = "<" + k.call(String(re.nodeName)), lr = re.attributes || [], fr = 0; fr < lr.length; fr++)
23856
- kt += " " + lr[fr].name + "=" + q(z(lr[fr].value), "double", Ie);
23855
+ for (var kt = "<" + k.call(String(re.nodeName)), ur = re.attributes || [], fr = 0; fr < ur.length; fr++)
23856
+ kt += " " + ur[fr].name + "=" + q(z(ur[fr].value), "double", Ie);
23857
23857
  return kt += ">", re.childNodes && re.childNodes.length && (kt += "..."), kt += "</" + k.call(String(re.nodeName)) + ">", kt;
23858
23858
  }
23859
23859
  if (V(re)) {
@@ -23873,10 +23873,10 @@ function LI() {
23873
23873
  return re.inspect();
23874
23874
  }
23875
23875
  if (ie(re)) {
23876
- var ur = [];
23876
+ var dr = [];
23877
23877
  return n && n.call(re, function(Ue, it) {
23878
- ur.push(St(it, re, !0) + " => " + St(Ue, re));
23879
- }), ke("Map", r.call(re), ur, Dt);
23878
+ dr.push(St(it, re, !0) + " => " + St(Ue, re));
23879
+ }), ke("Map", r.call(re), dr, Dt);
23880
23880
  }
23881
23881
  if (ce(re)) {
23882
23882
  var zt = [];
@@ -27846,7 +27846,7 @@ const Yx = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%20
27846
27846
  return /* @__PURE__ */ g.jsxs(
27847
27847
  "div",
27848
27848
  Ve(pe({
27849
- className: cr("ds-mb-6", h && "ds-cursor-not-allowed ds-opacity-30"),
27849
+ className: lr("ds-mb-6", h && "ds-cursor-not-allowed ds-opacity-30"),
27850
27850
  ref: t
27851
27851
  }, y), {
27852
27852
  children: [
@@ -28052,7 +28052,7 @@ const eA = _r(
28052
28052
  return /* @__PURE__ */ g.jsxs(
28053
28053
  "div",
28054
28054
  Ve(pe({
28055
- className: cr("ds-mb-6", f && "ds-cursor-not-allowed ds-opacity-30"),
28055
+ className: lr("ds-mb-6", f && "ds-cursor-not-allowed ds-opacity-30"),
28056
28056
  ref: t
28057
28057
  }, h), {
28058
28058
  children: [
@@ -31160,7 +31160,7 @@ const oL = _r(
31160
31160
  ref: t
31161
31161
  }, f), {
31162
31162
  children: [
31163
- /* @__PURE__ */ g.jsx("div", { className: cr("ds-flex ds-flex-wrap ds-gap-2", d), children: n.length > 0 ? n.map((x) => /* @__PURE__ */ g.jsx(se.Fragment, { children: i ? /* @__PURE__ */ g.jsx(
31163
+ /* @__PURE__ */ g.jsx("div", { className: lr("ds-flex ds-flex-wrap ds-gap-2", d), children: n.length > 0 ? n.map((x) => /* @__PURE__ */ g.jsx(se.Fragment, { children: i ? /* @__PURE__ */ g.jsx(
31164
31164
  vr,
31165
31165
  {
31166
31166
  selected: h.some((k) => k.value === x.value),
@@ -35684,7 +35684,7 @@ const DT = (a) => {
35684
35684
  yg,
35685
35685
  pe({
35686
35686
  tooltip: e,
35687
- className: cr(t, r ? "ds-opacity-30" : ""),
35687
+ className: lr(t, r ? "ds-opacity-30" : ""),
35688
35688
  disabled: r
35689
35689
  }, n)
35690
35690
  );
@@ -35914,9 +35914,12 @@ const QB = ({ hideEdit: e, hideShare: t }) => [
35914
35914
  /* @__PURE__ */ g.jsxs(
35915
35915
  "div",
35916
35916
  {
35917
- className: "ds-flex ds-cursor-pointer 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",
35917
+ className: lr(
35918
+ "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",
35919
+ (!l || !u) && "ds-cursor-pointer"
35920
+ ),
35918
35921
  onClick: () => {
35919
- window.innerWidth < eg && c(!0);
35922
+ window.innerWidth < eg && (!l || !u) && c(!0);
35920
35923
  },
35921
35924
  children: [
35922
35925
  /* @__PURE__ */ g.jsxs("div", { className: "ds-flex ds-flex-col ds-gap-y-2 ds-truncate ds-tablet:ds-gap-y-6", children: [
@@ -35945,7 +35948,7 @@ const QB = ({ hideEdit: e, hideShare: t }) => [
35945
35948
  ] })
35946
35949
  ] })
35947
35950
  ] }),
35948
- /* @__PURE__ */ g.jsxs("div", { className: "ds-[40px] ds-relative ds-ml-auto ds-hidden ds-items-center ds-justify-center ds-gap-2 ds-tablet:ds-flex", children: [
35951
+ /* @__PURE__ */ g.jsxs("div", { className: "ds-relative ds-ml-auto ds-flex ds-items-center ds-justify-center ds-gap-2", children: [
35949
35952
  !l && /* @__PURE__ */ g.jsx(
35950
35953
  vr,
35951
35954
  {
@@ -35954,6 +35957,7 @@ const QB = ({ hideEdit: e, hideShare: t }) => [
35954
35957
  size: "small",
35955
35958
  buttonClassName: "ds_MediumFootnoteEmphasized ds-px-[20px] ds-py-[10px]",
35956
35959
  onClick: i,
35960
+ className: "ds-hidden ds-tablet:ds-flex",
35957
35961
  children: "Edit"
35958
35962
  }
35959
35963
  ),
@@ -35965,6 +35969,7 @@ const QB = ({ hideEdit: e, hideShare: t }) => [
35965
35969
  size: "small",
35966
35970
  buttonClassName: "ds_MediumFootnoteEmphasized ds-px-[20px] ds-py-[10px]",
35967
35971
  onClick: o,
35972
+ className: !l || !u ? "ds-hidden ds-tablet:ds-flex" : "",
35968
35973
  children: "View"
35969
35974
  }
35970
35975
  ),
@@ -35976,6 +35981,7 @@ const QB = ({ hideEdit: e, hideShare: t }) => [
35976
35981
  size: "small",
35977
35982
  buttonClassName: "ds_MediumFootnoteEmphasized ds-px-[20px] ds-py-[10px]",
35978
35983
  onClick: s,
35984
+ className: "ds-hidden ds-tablet:ds-flex",
35979
35985
  children: "Share"
35980
35986
  }
35981
35987
  )
@@ -36029,7 +36035,7 @@ const qD = () => /* @__PURE__ */ g.jsx("div", { className: "ds-absolute ds-left-
36029
36035
  }, c) => /* @__PURE__ */ g.jsxs(
36030
36036
  "div",
36031
36037
  {
36032
- className: cr(
36038
+ className: lr(
36033
36039
  e,
36034
36040
  "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"
36035
36041
  ),
@@ -36444,7 +36450,7 @@ const Az = Et, jz = (e) => {
36444
36450
  }, hz = ({ children: e, className: t }) => /* @__PURE__ */ g.jsx(
36445
36451
  "div",
36446
36452
  {
36447
- className: cr(
36453
+ className: lr(
36448
36454
  "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]",
36449
36455
  t
36450
36456
  ),
@@ -36468,7 +36474,7 @@ const Lz = ({
36468
36474
  }) => /* @__PURE__ */ g.jsx(
36469
36475
  ji,
36470
36476
  {
36471
- className: cr(
36477
+ className: lr(
36472
36478
  l && "ds-flex ds-items-end ds-justify-center ds-tablet:ds-items-center",
36473
36479
  r,
36474
36480
  !l && "ds-hidden"
@@ -36480,7 +36486,7 @@ const Lz = ({
36480
36486
  children: /* @__PURE__ */ g.jsxs(
36481
36487
  "div",
36482
36488
  {
36483
- className: cr(
36489
+ className: lr(
36484
36490
  "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",
36485
36491
  n
36486
36492
  ),
@@ -36497,7 +36503,7 @@ const Lz = ({
36497
36503
  /* @__PURE__ */ g.jsx(
36498
36504
  "div",
36499
36505
  {
36500
- className: cr(
36506
+ className: lr(
36501
36507
  "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",
36502
36508
  i
36503
36509
  ),
@@ -36522,7 +36528,7 @@ const Lz = ({
36522
36528
  return /* @__PURE__ */ g.jsx(
36523
36529
  vr,
36524
36530
  Ve(pe({
36525
- className: cr("ds-flex-1", r),
36531
+ className: lr("ds-flex-1", r),
36526
36532
  size: n
36527
36533
  }, a), {
36528
36534
  children: t
@@ -36532,7 +36538,7 @@ const Lz = ({
36532
36538
  }) }), pz = ({ title: e, subTitle: t, className: r, onClose: n }) => /* @__PURE__ */ g.jsxs(
36533
36539
  "div",
36534
36540
  {
36535
- className: cr(
36541
+ className: lr(
36536
36542
  "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",
36537
36543
  r
36538
36544
  ),
@@ -36550,7 +36556,7 @@ const Lz = ({
36550
36556
  t && /* @__PURE__ */ g.jsx("div", { className: "ds-text-xSmallCalloutRegular ds-tablet:ds-text-mediumCalloutRegular", children: t })
36551
36557
  ]
36552
36558
  }
36553
- ), Fz = ({ steps: e, className: t }) => /* @__PURE__ */ g.jsx("div", { className: cr("ds-flex ds-flex-col ds-gap-4 ds-tablet:ds-gap-6", t), children: e.map((r) => /* @__PURE__ */ g.jsx(
36559
+ ), Fz = ({ steps: e, className: t }) => /* @__PURE__ */ g.jsx("div", { className: lr("ds-flex ds-flex-col ds-gap-4 ds-tablet:ds-gap-6", t), children: e.map((r) => /* @__PURE__ */ g.jsx(
36554
36560
  yz,
36555
36561
  {
36556
36562
  title: r.title,
@@ -36565,11 +36571,11 @@ const Lz = ({
36565
36571
  IconComponent: r,
36566
36572
  iconClassName: n,
36567
36573
  className: a
36568
- }) => /* @__PURE__ */ g.jsxs("div", { className: cr("ds-flex ds-gap-4", a), children: [
36574
+ }) => /* @__PURE__ */ g.jsxs("div", { className: lr("ds-flex ds-gap-4", a), children: [
36569
36575
  /* @__PURE__ */ g.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__ */ g.jsx(
36570
36576
  r,
36571
36577
  {
36572
- className: cr("ds-size-6 ds-tablet:ds-size-7", n)
36578
+ className: lr("ds-size-6 ds-tablet:ds-size-7", n)
36573
36579
  }
36574
36580
  ) }),
36575
36581
  /* @__PURE__ */ g.jsxs("div", { className: "ds-flex ds-flex-1 ds-flex-col ds-gap-1", children: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "design-system-silkhaus",
3
3
  "private": false,
4
- "version": "2.3.0-beta.travel-list.33",
4
+ "version": "2.3.0-beta.travel-list.34",
5
5
  "description": "Design system for Silkhaus built with Typescript, React and Tailwind",
6
6
  "author": "silkhaus",
7
7
  "license": "MIT",