@esri/calcite-components 6.0.0-next.24 → 6.0.0-next.26

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 (147) hide show
  1. package/dist/cdn/{O5NUEPJQ.js → 24JCGI5C.js} +1 -1
  2. package/dist/cdn/{R5HQTL2U.js → 2HOO5MGA.js} +1 -1
  3. package/dist/cdn/{HXDBHDWW.js → 2M5WFEIT.js} +1 -1
  4. package/dist/cdn/{MD2CPZBA.js → 2N5FEPRZ.js} +1 -1
  5. package/dist/cdn/{N3K34NRW.js → 2Q4UT2ZJ.js} +1 -1
  6. package/dist/cdn/{7QZONZC2.js → 34NYW2QA.js} +1 -1
  7. package/dist/cdn/{4MYZKVM4.js → 35S5KLVK.js} +1 -1
  8. package/dist/cdn/{NUMKDXXG.js → 3A3LLF32.js} +1 -1
  9. package/dist/cdn/{MUESJSBM.js → 3F4C5GYE.js} +1 -1
  10. package/dist/cdn/{RTU62LVC.js → 3URAZRW3.js} +1 -1
  11. package/dist/cdn/{3L636F2D.js → 3VAHDGOD.js} +1 -1
  12. package/dist/cdn/{EDY2HEWQ.js → 4XAOKT5L.js} +1 -1
  13. package/dist/cdn/{X6X5A24Q.js → 54HADCJ4.js} +1 -1
  14. package/dist/cdn/{IZWPBWDF.js → 5AQ5OT4Z.js} +1 -1
  15. package/dist/cdn/{H74J4AN6.js → 5R322MI4.js} +1 -1
  16. package/dist/cdn/{6MJIR6CU.js → 5YXCG4B3.js} +1 -1
  17. package/dist/cdn/{AXA6VOBP.js → 62IOUSHD.js} +1 -1
  18. package/dist/cdn/{HME6A3CA.js → 644WR4W6.js} +1 -1
  19. package/dist/cdn/{5HSDXXTY.js → 64TE32AR.js} +1 -1
  20. package/dist/cdn/{BLANBJWJ.js → 66GW4H4O.js} +1 -1
  21. package/dist/cdn/{YNW43YDX.js → 6DIEYBQX.js} +1 -1
  22. package/dist/cdn/{DMHSXLBQ.js → 6KUJ5S5O.js} +1 -1
  23. package/dist/cdn/{5NURMXSG.js → 6M7SGISU.js} +1 -1
  24. package/dist/cdn/{U2ST6FPW.js → 7TMMCNJE.js} +1 -1
  25. package/dist/cdn/{H5WREE65.js → AHA33MJC.js} +1 -1
  26. package/dist/cdn/{FFINBG4T.js → B66EO5AU.js} +1 -1
  27. package/dist/cdn/{YZPRPBJC.js → BD7WGV6N.js} +1 -1
  28. package/dist/cdn/{QI2DNWTK.js → BUB2XUQT.js} +1 -1
  29. package/dist/cdn/{ZAYDA6JZ.js → BZV245RP.js} +1 -1
  30. package/dist/cdn/{HRN7VCT2.js → CAC4MG3B.js} +1 -1
  31. package/dist/cdn/{44U66LX3.js → CV76A3E7.js} +1 -1
  32. package/dist/cdn/{US3H7FRK.js → CWWBZPDH.js} +1 -1
  33. package/dist/cdn/{PY46QWVW.js → D7QPAVT6.js} +1 -1
  34. package/dist/cdn/{VJFBPTJX.js → D7T4FCJS.js} +1 -1
  35. package/dist/cdn/{DVJCRWDS.js → DGFZSF3O.js} +1 -1
  36. package/dist/cdn/{E5MCBQCO.js → DNCZIYRF.js} +1 -1
  37. package/dist/cdn/{IJCJRJD6.js → E3ZMLOHO.js} +1 -1
  38. package/dist/cdn/{C2M7Q3U7.js → EGP67V6Y.js} +1 -1
  39. package/dist/cdn/{BGIAQTOG.js → EM6PRUQO.js} +1 -1
  40. package/dist/cdn/{QU3BUF6O.js → ESG4XNXC.js} +1 -1
  41. package/dist/cdn/{4XIELK4H.js → EVJNHQSU.js} +1 -1
  42. package/dist/cdn/{VZSWIJWV.js → F3FOTPR4.js} +1 -1
  43. package/dist/cdn/{7BIENSQZ.js → FAEJAIBH.js} +1 -1
  44. package/dist/cdn/{GHYQTWFX.js → FAPR3TNK.js} +1 -1
  45. package/dist/cdn/{AO4QNRJE.js → FERXLRJB.js} +1 -1
  46. package/dist/cdn/{PPP6EDMO.js → FIJVHGZH.js} +1 -1
  47. package/dist/cdn/{MJQM2NV2.js → FSETSF67.js} +1 -1
  48. package/dist/cdn/{GPBLNSPT.js → GH5ZALQO.js} +1 -1
  49. package/dist/cdn/{CS5BGD42.js → HAOD6VDL.js} +1 -1
  50. package/dist/cdn/{5NEP4MIV.js → HF6Z2EMD.js} +1 -1
  51. package/dist/cdn/{FKGFK2CA.js → HJP23D22.js} +1 -1
  52. package/dist/cdn/{45FKZMZH.js → HY6DBG6X.js} +1 -1
  53. package/dist/cdn/{E7QWPNP4.js → I7OGWD5Y.js} +1 -1
  54. package/dist/cdn/{5QAYX3MS.js → IABRPDCW.js} +1 -1
  55. package/dist/cdn/{JCEHOXRN.js → IAOX2JH7.js} +1 -1
  56. package/dist/cdn/{TIIIZCPT.js → IMGTKPMX.js} +1 -1
  57. package/dist/cdn/{DEIJHFNE.js → J43VCCPS.js} +1 -1
  58. package/dist/cdn/{VXO2CPZ6.js → J5OIK4UZ.js} +1 -1
  59. package/dist/cdn/{L3EVL5KK.js → JI6MOBRH.js} +1 -1
  60. package/dist/cdn/{2JU7J7R5.js → JIRTCTTK.js} +1 -1
  61. package/dist/cdn/{MNUSR7ZQ.js → JQ6DUHS4.js} +1 -1
  62. package/dist/cdn/{W6XAVQPN.js → JY2GIBUU.js} +1 -1
  63. package/dist/cdn/{H5LBH4ZE.js → KA2EU46Q.js} +1 -1
  64. package/dist/cdn/{ZBJ4JJ6G.js → KGNYLHUS.js} +1 -1
  65. package/dist/cdn/{EXCRQWJ3.js → KJFWBB3F.js} +1 -1
  66. package/dist/cdn/{7LRKEDMY.js → KSTNS7L5.js} +1 -1
  67. package/dist/cdn/{6BBONQ4G.js → KSWNGZQL.js} +1 -1
  68. package/dist/cdn/{PMQY6ZDN.js → LTVRJEGA.js} +1 -1
  69. package/dist/cdn/{732ZJEUJ.js → LUSEJS6U.js} +1 -1
  70. package/dist/cdn/{OSUUCSNJ.js → MGWA2EJ2.js} +1 -1
  71. package/dist/cdn/{XLKKIHDB.js → MJJQ22Q2.js} +1 -1
  72. package/dist/cdn/{WX774B4H.js → MLNTCFEP.js} +1 -1
  73. package/dist/cdn/{XZ67KQD5.js → MNYQZU4B.js} +1 -1
  74. package/dist/cdn/{FNZHGFBO.js → MP5HG3BJ.js} +1 -1
  75. package/dist/cdn/{MROGDKYN.js → MPSZ7SA7.js} +1 -1
  76. package/dist/cdn/{ROG3IFP7.js → MT377KNS.js} +1 -1
  77. package/dist/cdn/{WIGZS22N.js → MU5SYMD3.js} +1 -1
  78. package/dist/cdn/{VGQWGBXM.js → MV2EHIV2.js} +1 -1
  79. package/dist/cdn/{QBGJQDKU.js → MXSJW6UU.js} +1 -1
  80. package/dist/cdn/{O6D5A4LR.js → ND2GGRHI.js} +1 -1
  81. package/dist/cdn/{3JNT5JDK.js → NIE5SHUR.js} +1 -1
  82. package/dist/cdn/{D2HSMSYC.js → NMABPMCJ.js} +1 -1
  83. package/dist/cdn/{MCJKEG57.js → O32UCPAO.js} +1 -1
  84. package/dist/cdn/{WJKZPJ67.js → ODWJC7DP.js} +1 -1
  85. package/dist/cdn/{LXY2BAEM.js → OIUYQI4J.js} +1 -1
  86. package/dist/cdn/{OI3HEMWP.js → OIXERK6W.js} +1 -1
  87. package/dist/cdn/{PEIE65DM.js → OOO6YXFZ.js} +1 -1
  88. package/dist/cdn/{UZ5P35WV.js → OQECQRSB.js} +1 -1
  89. package/dist/cdn/{6Y6PDKIY.js → OUPOMW7R.js} +1 -1
  90. package/dist/cdn/{6PQSA7NM.js → OXVBMNVA.js} +1 -1
  91. package/dist/cdn/{MXZ3A7PX.js → PFGJ7WMQ.js} +1 -1
  92. package/dist/cdn/{PDHWFLWG.js → PO5KCJH3.js} +1 -1
  93. package/dist/cdn/{DH2FYBKV.js → PO5RLPJC.js} +1 -1
  94. package/dist/cdn/{HVGACBOE.js → PTUGT2LJ.js} +1 -1
  95. package/dist/cdn/{ZFSKZ7CJ.js → PTV5AKSQ.js} +1 -1
  96. package/dist/cdn/{WU6QSM6F.js → PTX2K566.js} +1 -1
  97. package/dist/cdn/{HS7UTP5Z.js → PUUIWXCK.js} +1 -1
  98. package/dist/cdn/{G6DR3ARH.js → PV2Y4A34.js} +1 -1
  99. package/dist/cdn/{WAX63EXC.js → Q5PHW5LB.js} +1 -1
  100. package/dist/cdn/{K2M46DEC.js → QACPAMSX.js} +1 -1
  101. package/dist/cdn/{7FOTIGP3.js → QGBF2IF4.js} +1 -1
  102. package/dist/cdn/{6MV7ZWQH.js → QST2OYZE.js} +1 -1
  103. package/dist/cdn/{B5SF4CGN.js → RTZR35SH.js} +1 -1
  104. package/dist/cdn/{2VDHMFCX.js → S4UXYRC2.js} +1 -1
  105. package/dist/cdn/{DHCS34LQ.js → S72L63H4.js} +1 -1
  106. package/dist/cdn/{356JBWCH.js → SBSWQY2G.js} +1 -1
  107. package/dist/cdn/{XYVKKEKB.js → STFML2RR.js} +1 -1
  108. package/dist/cdn/{INWAZGFV.js → TF642Q4H.js} +1 -1
  109. package/dist/cdn/{N2L2CC27.js → U6KLMJQM.js} +1 -1
  110. package/dist/cdn/{4PRSCAXN.js → U7B6TGYI.js} +1 -1
  111. package/dist/cdn/{LCYHCD5F.js → UI4O4SVT.js} +1 -1
  112. package/dist/cdn/{7ZGDHPCG.js → UIAOKWQ3.js} +1 -1
  113. package/dist/cdn/{5EWHZ6N7.js → UIJ5S5BS.js} +1 -1
  114. package/dist/cdn/{ZM5HIROG.js → VTZXRCI7.js} +1 -1
  115. package/dist/cdn/{SOYHVZSY.js → W6JEW3S7.js} +1 -1
  116. package/dist/cdn/{ZQNVIKFS.js → WAVSQBFX.js} +1 -1
  117. package/dist/cdn/{5X6D6HSF.js → WDBFCYYQ.js} +1 -1
  118. package/dist/cdn/{ZH74UMQL.js → WKCD3KDM.js} +1 -1
  119. package/dist/cdn/{IIEAE3SF.js → WLYDGYLW.js} +1 -1
  120. package/dist/cdn/{SAO5W2PS.js → X2UL3MI4.js} +1 -1
  121. package/dist/cdn/{ULKSQQU5.js → XH27I7LS.js} +1 -1
  122. package/dist/cdn/{NSSTXVDN.js → XIGAXYVM.js} +1 -1
  123. package/dist/cdn/{TMN22PJZ.js → XNOMCG2A.js} +1 -1
  124. package/dist/cdn/{6YLQPIXX.js → XS765OWJ.js} +1 -1
  125. package/dist/cdn/{OD4NA2PA.js → XT33B4JL.js} +1 -1
  126. package/dist/cdn/{Y4VPL7KN.js → YAKO3B7B.js} +1 -1
  127. package/dist/cdn/{BRSH5WTB.js → YGAYT2TU.js} +1 -1
  128. package/dist/cdn/{MCO4EZGR.js → YIXD5LOP.js} +1 -1
  129. package/dist/cdn/{OMGMRQTC.js → YXSLQZZ4.js} +1 -1
  130. package/dist/cdn/{7HX7CT7A.js → ZDCSLIIM.js} +1 -1
  131. package/dist/cdn/{JMHSZBA5.js → ZFL2GG5O.js} +1 -1
  132. package/dist/cdn/{KGBKSKNF.js → ZGR6T4UF.js} +1 -1
  133. package/dist/cdn/{JXKXG3QO.js → ZI372M6W.js} +1 -1
  134. package/dist/cdn/{6DAJIYVW.js → ZKHPOCQE.js} +1 -1
  135. package/dist/cdn/{K3AX45OP.js → ZUKA7MHC.js} +1 -1
  136. package/dist/cdn/{4UXIDLOE.js → ZVENXZGL.js} +1 -1
  137. package/dist/cdn/{VN62R3HU.js → ZW4OZDO2.js} +1 -1
  138. package/dist/cdn/assets/icon/filterX16.json +1 -0
  139. package/dist/cdn/assets/icon/filterX24.json +1 -0
  140. package/dist/cdn/assets/icon/filterX32.json +1 -0
  141. package/dist/cdn/index.js +1 -1
  142. package/dist/chunks/runtime.js +4 -4
  143. package/dist/components/calcite-date-picker-month-header/customElement.js +5 -2
  144. package/dist/docs/api.json +1 -1
  145. package/dist/docs/docs.json +1 -1
  146. package/dist/docs/web-types.json +1 -1
  147. package/package.json +2 -2
@@ -193,7 +193,7 @@ class DatePickerMonthHeader extends LitElement {
193
193
  if (isDirectionLeft && this.min) {
194
194
  const prevMonthDate = dateFromRange(prevMonth(this.activeDate), this.min, this.max);
195
195
  isTargetLastValidMonth = prevMonthDate ? hasSameMonthAndYear(prevMonthDate, this.min) : false;
196
- } else if (this.max) {
196
+ } else if (!isDirectionLeft && this.max) {
197
197
  const nextMonthDate = dateFromRange(nextMonth(this.activeDate), this.min, this.max);
198
198
  isTargetLastValidMonth = nextMonthDate ? hasSameMonthAndYear(nextMonthDate, this.max) : false;
199
199
  }
@@ -275,7 +275,10 @@ class DatePickerMonthHeader extends LitElement {
275
275
  }
276
276
  renderChevron(direction) {
277
277
  const isDirectionRight = direction === "right";
278
- const isDisabled = hasSameMonthAndYear(isDirectionRight ? this.nextMonthDate : this.prevMonthDate, this.activeDate) || !inRange(this.activeDate, this.min, this.max);
278
+ const targetDate = isDirectionRight ? this.nextMonthDate : this.prevMonthDate;
279
+ const activeMonth = this.activeDate.getFullYear() * 12 + this.activeDate.getMonth();
280
+ const targetMonth = targetDate && targetDate.getFullYear() * 12 + targetDate.getMonth();
281
+ const isDisabled = targetMonth === void 0 || (isDirectionRight ? targetMonth <= activeMonth : targetMonth >= activeMonth);
279
282
  return html`<calcite-action alignment=center .ariaDisabled=${isDisabled} .ariaLabel=${isDirectionRight ? this.messages.nextMonth : this.messages.prevMonth} class=${safeClassMap(CSS.chevron)} compact data-direction=${direction ?? nothing} .disabled=${isDisabled} .icon=${isDirectionRight ? ICON.chevronRight : ICON.chevronLeft} icon-flip-rtl @click=${isDirectionRight ? this.nextMonthClick : this.prevMonthClick} @keydown=${isDirectionRight ? this.nextMonthKeydown : this.prevMonthKeydown} role=button .scale=${this.scale} .text=${isDirectionRight ? this.messages.nextMonth : this.messages.prevMonth} ${ref(isDirectionRight ? this.nextMonthActionRef : this.prevMonthActionRef)}></calcite-action>`;
280
283
  }
281
284
  }