dap-design-system 0.55.3 → 0.55.5

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.
@@ -4823,11 +4823,12 @@ let Et = class t extends M {
4823
4823
  return r;
4824
4824
  }
4825
4825
  isDateInAllowedRange(e) {
4826
- const i = k(this.minDate).locale(this.locale), o = k(this.maxDate).locale(this.locale), r = i.year(), a = o.year(), s = i.month(), d = o.month();
4827
- return !(e.year() < r || e.year() > a || e.year() === r && e.month() < s || e.year() === a && e.month() > d);
4826
+ const i = k(this.minDate).locale(this.locale), o = k(this.maxDate).locale(this.locale);
4827
+ return !e.isBefore(i, "day") && !e.isAfter(o, "day");
4828
4828
  }
4829
4829
  isMonthInAllowedRange(e, i) {
4830
- return this.isDateInAllowedRange(k(new Date(e, i, 1)));
4830
+ const o = k(new Date(e, i, 1)).locale(this.locale), r = o.endOf("month"), a = k(this.minDate).locale(this.locale), s = k(this.maxDate).locale(this.locale);
4831
+ return !r.isBefore(a, "day") && !o.isAfter(s, "day");
4831
4832
  }
4832
4833
  isDateInAllowedRangeByDate(e, i, o) {
4833
4834
  return this.isDateInAllowedRange(k(new Date(e, i, o)));
@@ -14851,7 +14852,7 @@ const mv = mt(M), gs = class gs extends mv {
14851
14852
  ).defaultPrevented || this.handleClose("close-button");
14852
14853
  }
14853
14854
  handleClick(e) {
14854
- this.closeOnOverlayClick === "true" && !this.modalBox.contains(e.target) && this.handleClose("overlay");
14855
+ this.closeOnOverlayClick === "true" && !e.composedPath().includes(this.modalBox) && this.handleClose("overlay");
14855
14856
  }
14856
14857
  handleKeyDown(e) {
14857
14858
  if (e.key === "Tab" && !this.useNativeFocus) {
@@ -21501,9 +21502,9 @@ export {
21501
21502
  Ht as $,
21502
21503
  Ei as A,
21503
21504
  To as B,
21504
- Ir as C,
21505
- Po as D,
21506
- Ea as E,
21505
+ Ea as C,
21506
+ Us as D,
21507
+ Ir as E,
21507
21508
  W as F,
21508
21509
  tt as G,
21509
21510
  oo as H,
@@ -21516,17 +21517,17 @@ export {
21516
21517
  Bt as O,
21517
21518
  dn as P,
21518
21519
  Ha as Q,
21519
- te as R,
21520
- At as S,
21520
+ At as R,
21521
+ te as S,
21521
21522
  ln as T,
21522
21523
  at as U,
21523
21524
  oi as V,
21524
21525
  ee as W,
21525
- ja as X,
21526
- Ae as Y,
21526
+ Ae as X,
21527
+ ja as Y,
21527
21528
  Ro as Z,
21528
21529
  ie as _,
21529
- Be as a,
21530
+ Ut as a,
21530
21531
  Ar as a0,
21531
21532
  zt as a1,
21532
21533
  Lr as a2,
@@ -21550,46 +21551,46 @@ export {
21550
21551
  _i as ab,
21551
21552
  Ti as ac,
21552
21553
  no as ad,
21553
- Ri as ae,
21554
- ai as af,
21554
+ ai as ae,
21555
+ Ri as af,
21555
21556
  Ue as ag,
21556
21557
  Pe as ah,
21557
21558
  Ee as ai,
21558
21559
  Vi as aj,
21559
- fe as ak,
21560
- ki as al,
21561
- lo as am,
21562
- Vo as an,
21563
- Fo as ao,
21564
- Bo as ap,
21565
- Fi as aq,
21566
- It as ar,
21567
- Ua as as,
21568
- Na as at,
21560
+ ki as ak,
21561
+ lo as al,
21562
+ fe as am,
21563
+ It as an,
21564
+ Ua as ao,
21565
+ Na as ap,
21566
+ Vo as aq,
21567
+ Fo as ar,
21568
+ Bo as as,
21569
+ Fi as at,
21569
21570
  Gt as au,
21570
21571
  dt as av,
21571
21572
  Me as aw,
21572
21573
  co as ax,
21573
21574
  me as ay,
21574
21575
  Er as az,
21575
- to as b,
21576
- He as c,
21577
- fi as d,
21578
- Us as e,
21579
- Ut as f,
21580
- Qi as g,
21581
- ii as h,
21582
- Ot as i,
21576
+ Be as b,
21577
+ Po as c,
21578
+ to as d,
21579
+ Qi as e,
21580
+ fi as f,
21581
+ He as g,
21582
+ Ot as h,
21583
+ ii as i,
21583
21584
  qt as j,
21584
21585
  Et as k,
21585
21586
  Xt as l,
21586
- Ia as m,
21587
- $r as n,
21588
- Ai as o,
21589
- Sr as p,
21590
- Eo as q,
21591
- ve as r,
21592
- jt as s,
21587
+ jt as m,
21588
+ Ia as n,
21589
+ $r as o,
21590
+ Ai as p,
21591
+ Sr as q,
21592
+ Eo as r,
21593
+ ve as s,
21593
21594
  Ce as t,
21594
21595
  Li as u,
21595
21596
  De as v,
@@ -21598,4 +21599,4 @@ export {
21598
21599
  Qt as y,
21599
21600
  xi as z
21600
21601
  };
21601
- //# sourceMappingURL=components-NHQTi00b.js.map
21602
+ //# sourceMappingURL=components-CHGU_z5O.js.map