@esri/calcite-components 5.0.0-next.5 → 5.0.0-next.7

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 (191) hide show
  1. package/dist/calcite/{SGJU36YV.js → 24UNOSYB.js} +2 -2
  2. package/dist/calcite/{AUIOWPFN.js → 2ECRIOED.js} +2 -2
  3. package/dist/calcite/{Q3MUDXRY.js → 2HYBRHEU.js} +2 -2
  4. package/dist/calcite/{DJVVGNTK.js → 2IQPS5BW.js} +1 -1
  5. package/dist/calcite/{PU5TGCQG.js → 2KVMN7YW.js} +2 -2
  6. package/dist/calcite/{ROWPIQLT.js → 2OCIK6EF.js} +2 -2
  7. package/dist/calcite/{HU4SHWE7.js → 2RX7VGW7.js} +2 -2
  8. package/dist/calcite/{LRKWQ3C3.js → 35ODAW6Y.js} +2 -2
  9. package/dist/calcite/{X374PRV7.js → 3BUYFS42.js} +2 -2
  10. package/dist/calcite/{RND3V33U.js → 3DKJFWNF.js} +1 -1
  11. package/dist/calcite/{QFT74HW3.js → 3HF47TJO.js} +2 -2
  12. package/dist/calcite/{LROCCBRV.js → 3I3IVUOR.js} +2 -2
  13. package/dist/calcite/{Q2GRCTSJ.js → 3ND3NKAM.js} +2 -2
  14. package/dist/calcite/{2VKJIYLT.js → 3Y3BABEA.js} +1 -1
  15. package/dist/calcite/{6VQ5IL36.js → 4I7T7O63.js} +2 -2
  16. package/dist/calcite/{YSP6WWQB.js → 4PHM5LVD.js} +1 -1
  17. package/dist/calcite/{7QP5BUGE.js → 4VLHPNAN.js} +2 -2
  18. package/dist/calcite/{BNKVQYLQ.js → 4ZGFBBWU.js} +2 -2
  19. package/dist/calcite/{F6EDNLSI.js → 54C7JZCX.js} +2 -2
  20. package/dist/calcite/{IEL7YV5C.js → 5CNBXVWP.js} +2 -2
  21. package/dist/calcite/{2GG4AF5T.js → 5RCYTHKP.js} +1 -1
  22. package/dist/calcite/{2KH3AUCG.js → 63DWWG4C.js} +2 -2
  23. package/dist/calcite/{4JZMONLD.js → 64ADIWEN.js} +2 -2
  24. package/dist/calcite/{OCT7LR2O.js → 6LFC7HO5.js} +1 -1
  25. package/dist/calcite/{3NOZ7M75.js → 6PCOKKOU.js} +2 -2
  26. package/dist/calcite/{H5DKF7F3.js → 6V5G43HO.js} +2 -2
  27. package/dist/calcite/{BEUZYBM5.js → 6YPBRY3A.js} +2 -2
  28. package/dist/calcite/{C2X6VADY.js → 76NBXXTM.js} +2 -2
  29. package/dist/calcite/{BHU252WA.js → 77YWD3SD.js} +2 -2
  30. package/dist/calcite/{VKRWRFEJ.js → 7AGPEFKM.js} +2 -2
  31. package/dist/calcite/{3KUVOQAL.js → 7EYTTVZ5.js} +2 -2
  32. package/dist/calcite/{62OUMNJ6.js → 7IYMG4ER.js} +2 -2
  33. package/dist/calcite/{KRHM7ACI.js → 7LUAHEOY.js} +2 -2
  34. package/dist/calcite/{FZIUTVKD.js → 7RLP2DKK.js} +1 -1
  35. package/dist/calcite/{2HKRJLBG.js → 7TMYLJNL.js} +2 -2
  36. package/dist/calcite/{ZAQTILTS.js → 7TUINXH2.js} +2 -2
  37. package/dist/calcite/{KH3UKQ2D.js → 7ZHPTFVA.js} +2 -2
  38. package/dist/calcite/{ALDDSDTX.js → AD2NNFBJ.js} +1 -1
  39. package/dist/calcite/{5K2Z2TMW.js → AK3MQKBH.js} +2 -2
  40. package/dist/calcite/{NU57UAAO.js → AKL3TSYT.js} +1 -1
  41. package/dist/calcite/{NLYYOFNV.js → ALBSZ4AH.js} +1 -1
  42. package/dist/calcite/{N7OO7R2S.js → ATPINFYW.js} +2 -2
  43. package/dist/calcite/{WBGRGCXR.js → B45OJKRH.js} +2 -2
  44. package/dist/calcite/{6VPACZP5.js → B7BMLZ2H.js} +2 -2
  45. package/dist/calcite/{VQMSSO2U.js → BAESWKYQ.js} +2 -2
  46. package/dist/calcite/{B5JXPZDV.js → BC4ZMTFC.js} +2 -2
  47. package/dist/calcite/{YV7DKMEQ.js → BES467QA.js} +2 -2
  48. package/dist/calcite/{PLD7OLLJ.js → BOWHKIKV.js} +2 -2
  49. package/dist/calcite/{IKDSO2OB.js → D54UBP4E.js} +2 -2
  50. package/dist/calcite/{YCLOS6NX.js → D6WKHYT4.js} +2 -2
  51. package/dist/calcite/{3YZG7MA3.js → DDSPVSLH.js} +2 -2
  52. package/dist/calcite/{AQ4DKRX6.js → DIWZOGSO.js} +2 -2
  53. package/dist/calcite/{HXGFAPCM.js → DQ3HNJFH.js} +2 -2
  54. package/dist/calcite/EFJ3XPYN.js +4 -0
  55. package/dist/calcite/{H2FWQITV.js → ENP5M2UC.js} +1 -1
  56. package/dist/calcite/{NQJMDHT5.js → EZFMZ526.js} +2 -2
  57. package/dist/calcite/{PSCEW76J.js → F3FMRPUL.js} +2 -2
  58. package/dist/calcite/{I53JH7YD.js → FJGFRFXA.js} +2 -2
  59. package/dist/calcite/{BYZPKQRD.js → FSBWTOKG.js} +2 -2
  60. package/dist/calcite/{CVLFEMH2.js → FZSVZEO4.js} +2 -2
  61. package/dist/calcite/{MVLJJOH2.js → G5DFRKUT.js} +2 -2
  62. package/dist/calcite/{7DTG5KDL.js → G6YXDPGD.js} +2 -2
  63. package/dist/calcite/{PFDLGOVS.js → G7Z7TBM3.js} +2 -2
  64. package/dist/calcite/{CF6DTFNX.js → GCM5UXYU.js} +2 -2
  65. package/dist/calcite/{UNJRBV2R.js → GQKPWPHX.js} +2 -2
  66. package/dist/calcite/{UOZDXXIF.js → GZGGTN2Z.js} +2 -2
  67. package/dist/calcite/{PVL2DQVP.js → H4XP55OC.js} +2 -2
  68. package/dist/calcite/{XRSYDXWZ.js → HIAAXHAL.js} +1 -1
  69. package/dist/calcite/{DOH3ZW2R.js → HIJA3ZQC.js} +2 -2
  70. package/dist/calcite/{YSBWKH76.js → HJDKPRY3.js} +1 -1
  71. package/dist/calcite/{ZLR2B6GQ.js → HWDBQK2D.js} +1 -1
  72. package/dist/calcite/{VYFT5EAY.js → HZH2MCFD.js} +1 -1
  73. package/dist/calcite/{ZZGPQLEW.js → HZPG2SWG.js} +2 -2
  74. package/dist/calcite/{PZL4QWV5.js → IC5WCEPX.js} +2 -2
  75. package/dist/calcite/{ZTOBC3PN.js → IDJNYNZL.js} +2 -2
  76. package/dist/calcite/{7ZNR3GNI.js → IGUWR4FW.js} +2 -2
  77. package/dist/calcite/{XNLWKJLM.js → ILIB7POV.js} +2 -2
  78. package/dist/calcite/{7IHVHMIY.js → IQOVIHRV.js} +2 -2
  79. package/dist/calcite/{6J5W2PAJ.js → IQROUFUT.js} +2 -2
  80. package/dist/calcite/{WWJXVV6U.js → IQY3P34D.js} +2 -2
  81. package/dist/calcite/{AHOXXRX5.js → J4UVTWRA.js} +2 -2
  82. package/dist/calcite/{SMRCCHJE.js → J5N7X673.js} +2 -2
  83. package/dist/calcite/{67HVFNHP.js → JDCUDQFO.js} +2 -2
  84. package/dist/calcite/{OFZACK2Y.js → JERKEE6O.js} +2 -2
  85. package/dist/calcite/{2IWOXJH7.js → JOGTHWSZ.js} +2 -2
  86. package/dist/calcite/{Q23OEAP2.js → JSFR3YQ3.js} +2 -2
  87. package/dist/calcite/{S5CLKCGJ.js → JVPR6YZA.js} +1 -1
  88. package/dist/calcite/{H5ANNFJC.js → K5KOFFWP.js} +2 -2
  89. package/dist/calcite/{HT5KXL4J.js → KEVLNRNX.js} +2 -2
  90. package/dist/calcite/{APIFFM3O.js → KINXAP24.js} +2 -2
  91. package/dist/calcite/{ZSMNT5VS.js → KJ6B56VZ.js} +2 -2
  92. package/dist/calcite/{WTY55PPZ.js → KPSSR45E.js} +2 -2
  93. package/dist/calcite/{GUT2GKDG.js → LDHSD3M6.js} +2 -2
  94. package/dist/calcite/{Y3HXK6MO.js → LHYFZTCS.js} +2 -2
  95. package/dist/calcite/{U3KRKTQY.js → LKORF2QC.js} +2 -2
  96. package/dist/calcite/{LQ3URZCB.js → LLZVI27K.js} +2 -2
  97. package/dist/calcite/{3HXEF55M.js → LOPTIQJU.js} +2 -2
  98. package/dist/calcite/{3266GV6Z.js → LZ3EBLID.js} +2 -2
  99. package/dist/calcite/{RI3NRBMI.js → M3RKWDE5.js} +2 -2
  100. package/dist/calcite/{7PFVW4JF.js → M4K4HY3K.js} +1 -1
  101. package/dist/calcite/{MP3OWQ2A.js → MJWAQ2DA.js} +2 -2
  102. package/dist/calcite/{7IYAKB7Q.js → MXNI5GI4.js} +2 -2
  103. package/dist/calcite/{AUF6YLAM.js → MYURWUJP.js} +2 -2
  104. package/dist/calcite/{A4CO6B7Z.js → N6NZ2GPW.js} +2 -2
  105. package/dist/calcite/{XNFJXDQ6.js → NNOPKVPT.js} +2 -2
  106. package/dist/calcite/{W72YZH73.js → O7MZFL34.js} +2 -2
  107. package/dist/calcite/{K3AHNZL7.js → OOLTKMQJ.js} +2 -2
  108. package/dist/calcite/{IHEW664E.js → OVNV2JKE.js} +2 -2
  109. package/dist/calcite/{4GHB4NY4.js → OVVNV5BW.js} +2 -2
  110. package/dist/calcite/{W5OJOVZY.js → OWSWQHLM.js} +1 -1
  111. package/dist/calcite/{LJI5SYGA.js → OZ3WSD3P.js} +1 -1
  112. package/dist/calcite/{C4S2BOWK.js → OZMAX3VQ.js} +2 -2
  113. package/dist/calcite/{DONAES6Q.js → PN64O3P6.js} +2 -2
  114. package/dist/calcite/{MEFMO7UB.js → POAMCSPF.js} +2 -2
  115. package/dist/calcite/{73LRFHS4.js → PUPMRTUL.js} +2 -2
  116. package/dist/calcite/{PSNA5FAF.js → PWZGTFQO.js} +2 -2
  117. package/dist/calcite/{HBHSBTMM.js → Q3THBLRM.js} +1 -1
  118. package/dist/calcite/{DDW4WTS2.js → QGI3TWNX.js} +2 -2
  119. package/dist/calcite/{WPTOKN7K.js → QR2HL6XI.js} +1 -1
  120. package/dist/calcite/{V4NPQ4WA.js → QVSPMDDW.js} +2 -2
  121. package/dist/calcite/{DZWPXJWV.js → QYBWEPW5.js} +2 -2
  122. package/dist/calcite/{W6EWFSR3.js → R7Q2LFGI.js} +2 -2
  123. package/dist/calcite/{45F6XOYY.js → REXSF55X.js} +2 -2
  124. package/dist/calcite/{VMWAAH5B.js → RHBRNWUQ.js} +2 -2
  125. package/dist/calcite/{CQMVTE7J.js → RIB7K6T6.js} +2 -2
  126. package/dist/calcite/{5IPJANUU.js → SBARVI35.js} +2 -2
  127. package/dist/calcite/{5LAPR75M.js → SBJ5HVNQ.js} +2 -2
  128. package/dist/calcite/{HVF3RXXI.js → SH7VNOTQ.js} +2 -2
  129. package/dist/calcite/{OMKDUGKV.js → SIVW7YY5.js} +2 -2
  130. package/dist/calcite/{2YBCAJSV.js → SJGZNFSY.js} +2 -2
  131. package/dist/calcite/{JJWGSKGI.js → T36PZDA3.js} +2 -2
  132. package/dist/calcite/{QF6F6CY3.js → T7VT42NJ.js} +2 -2
  133. package/dist/calcite/{UGI3YWJM.js → THGJ3ZD3.js} +2 -2
  134. package/dist/calcite/{VIWDW2WZ.js → TPQICMSC.js} +2 -2
  135. package/dist/calcite/{CUL3VHSD.js → TRYMHQWX.js} +2 -2
  136. package/dist/calcite/TSJA4LWX.js +4 -0
  137. package/dist/calcite/{7NUC3WBG.js → UE627G6U.js} +1 -1
  138. package/dist/calcite/{K5GJLIBR.js → UERWI2LS.js} +2 -2
  139. package/dist/calcite/{RRP2E2T3.js → UFHAJ3AG.js} +2 -2
  140. package/dist/calcite/{N5MSFOLW.js → UHKUQQRT.js} +2 -2
  141. package/dist/calcite/{CTLGVBKW.js → UIHFYOPH.js} +2 -2
  142. package/dist/calcite/{NULQJBCW.js → ULUKHLQN.js} +2 -2
  143. package/dist/calcite/{UN7GLLXI.js → USBSH7KC.js} +2 -2
  144. package/dist/calcite/{BE5OB2TH.js → UTWEOJW6.js} +2 -2
  145. package/dist/calcite/{LH7245HX.js → UVFQM6FI.js} +2 -2
  146. package/dist/calcite/{DDXY7TRY.js → UWREJ25T.js} +2 -2
  147. package/dist/calcite/{SXB76NOR.js → UWUSKJIU.js} +2 -2
  148. package/dist/calcite/{C3BQ4W7K.js → V6VV5MRC.js} +2 -2
  149. package/dist/calcite/{CJWGQETT.js → VFQAYOAN.js} +2 -2
  150. package/dist/calcite/{CIU4VM7X.js → W4XITGKA.js} +2 -2
  151. package/dist/calcite/{BFINWHLX.js → W4Y22TCR.js} +2 -2
  152. package/dist/calcite/{PFKUB7JD.js → WG7RY7HV.js} +2 -2
  153. package/dist/calcite/{R73QB7MJ.js → WR7PEL2H.js} +2 -2
  154. package/dist/calcite/{Y442PVMQ.js → WW6CS7FX.js} +2 -2
  155. package/dist/calcite/{ZV7YL7QG.js → WZGZ5PZT.js} +2 -2
  156. package/dist/calcite/{7XJU5OTS.js → X7OME6SM.js} +2 -2
  157. package/dist/calcite/{GE7SQF7S.js → XECJM3YP.js} +2 -2
  158. package/dist/calcite/{SZWYWOXZ.js → XGARHDI3.js} +2 -2
  159. package/dist/calcite/{WOTQIMPZ.js → XGPCFFL2.js} +2 -2
  160. package/dist/calcite/{5AL5GWRD.js → XLJGRDO4.js} +2 -2
  161. package/dist/calcite/{RFALVOKT.js → XU6PDNU5.js} +2 -2
  162. package/dist/calcite/{XZTRPLLK.js → Y3X3JA73.js} +2 -2
  163. package/dist/calcite/{NID6WJOW.js → YFY6OPEB.js} +2 -2
  164. package/dist/calcite/{BHBYSC5H.js → YHUESRZY.js} +2 -2
  165. package/dist/calcite/{KT4EQWT6.js → YNIG5SX5.js} +2 -2
  166. package/dist/calcite/{ZVWKN3G7.js → YR554YXQ.js} +2 -2
  167. package/dist/calcite/{DSEMLW7Z.js → YUOZM346.js} +2 -2
  168. package/dist/calcite/{LYDOM6VQ.js → ZIA4F7R5.js} +2 -2
  169. package/dist/calcite/{PJOGMC7F.js → ZIABK7KW.js} +2 -2
  170. package/dist/calcite/{NSBK36H4.js → ZOYJ4343.js} +2 -2
  171. package/dist/calcite/{4ARTWEEZ.js → ZV3IGLDE.js} +2 -2
  172. package/dist/calcite/{V3ZR6RFK.js → ZVCPJCBM.js} +1 -1
  173. package/dist/calcite/calcite.esm.js +2 -2
  174. package/dist/chunks/runtime.js +4 -4
  175. package/dist/components/calcite-card/customElement.js +1 -1
  176. package/dist/components/calcite-stepper/customElement.d.ts +0 -6
  177. package/dist/components/calcite-stepper/customElement.js +0 -2
  178. package/dist/docs/api.json +26 -35
  179. package/dist/docs/docs.json +76 -91
  180. package/dist/docs/supported-browsers.json +1 -1
  181. package/dist/docs/vscode.html-custom-data.json +1 -1
  182. package/dist/docs/web-types.json +27 -37
  183. package/dist/index.d.ts +0 -1
  184. package/dist/types/lumina.d.ts +0 -1
  185. package/dist/types/preact.d.ts +0 -1
  186. package/dist/types/preact10.d.ts +0 -1
  187. package/dist/types/react.d.ts +0 -1
  188. package/dist/types/stencil.d.ts +0 -1
  189. package/package.json +2 -2
  190. package/dist/calcite/T6Y6ZTWW.js +0 -4
  191. package/dist/calcite/VBRBI7IU.js +0 -4
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@esri/calcite-components",
4
- "version": "5.0.0-next.5",
4
+ "version": "5.0.0-next.7",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -856,7 +856,7 @@
856
856
  {
857
857
  "name": "menuFlipPlacements",
858
858
  "description": "Specifies the component's fallback menu `placement` when it's initial or specified `placement` has insufficient space available.",
859
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
859
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
860
860
  },
861
861
  {
862
862
  "name": "menuOpen",
@@ -1036,7 +1036,7 @@
1036
1036
  {
1037
1037
  "name": "flipPlacements",
1038
1038
  "description": "Specifies the component's fallback slotted content `placement` when it's initial or specified `placement` has insufficient space available.",
1039
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
1039
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
1040
1040
  },
1041
1041
  {
1042
1042
  "name": "label",
@@ -1802,7 +1802,7 @@
1802
1802
  {
1803
1803
  "name": "flipPlacements",
1804
1804
  "description": "Specifies the component's fallback `placement` when it's initial or specified `placement` has insufficient space available.",
1805
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
1805
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
1806
1806
  },
1807
1807
  {
1808
1808
  "name": "form",
@@ -1927,7 +1927,7 @@
1927
1927
  {
1928
1928
  "name": "validity",
1929
1929
  "description": "The current validation state of the component.",
1930
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
1930
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
1931
1931
  },
1932
1932
  {
1933
1933
  "name": "value",
@@ -2583,7 +2583,7 @@
2583
2583
  {
2584
2584
  "name": "menuFlipPlacements",
2585
2585
  "description": "Specifies the component's fallback menu `placement` when it's initial or specified `placement` has insufficient space available.",
2586
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
2586
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
2587
2587
  },
2588
2588
  {
2589
2589
  "name": "menuPlacement",
@@ -3917,7 +3917,7 @@
3917
3917
  {
3918
3918
  "name": "validity",
3919
3919
  "description": "The current validation state of the component.",
3920
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
3920
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
3921
3921
  },
3922
3922
  {
3923
3923
  "name": "value",
@@ -4904,7 +4904,7 @@
4904
4904
  {
4905
4905
  "name": "flipPlacements",
4906
4906
  "description": "Specifies the component's fallback slotted content placement when it's initial placement has insufficient space available.",
4907
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
4907
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
4908
4908
  },
4909
4909
  {
4910
4910
  "name": "form",
@@ -5014,7 +5014,7 @@
5014
5014
  {
5015
5015
  "name": "validity",
5016
5016
  "description": "The current validation state of the component.",
5017
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
5017
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
5018
5018
  },
5019
5019
  {
5020
5020
  "name": "value",
@@ -6542,7 +6542,7 @@
6542
6542
  {
6543
6543
  "name": "flipPlacements",
6544
6544
  "description": "Specifies the component's fallback `calcite-dropdown-item` `placement` when it's initial or specified `placement` has insufficient space available.",
6545
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
6545
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
6546
6546
  },
6547
6547
  {
6548
6548
  "name": "maxItems",
@@ -8285,7 +8285,7 @@
8285
8285
  {
8286
8286
  "name": "validity",
8287
8287
  "description": "The current validation state of the component.",
8288
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
8288
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
8289
8289
  },
8290
8290
  {
8291
8291
  "name": "value",
@@ -8587,7 +8587,7 @@
8587
8587
  {
8588
8588
  "name": "flipPlacements",
8589
8589
  "description": "Specifies the component's fallback `calcite-date-picker` `placement` when it's initial or specified `placement` has insufficient space available.",
8590
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
8590
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
8591
8591
  },
8592
8592
  {
8593
8593
  "name": "focusTrapDisabled",
@@ -8717,7 +8717,7 @@
8717
8717
  {
8718
8718
  "name": "validity",
8719
8719
  "description": "The current validation state of the component.",
8720
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
8720
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
8721
8721
  },
8722
8722
  {
8723
8723
  "name": "value",
@@ -9256,7 +9256,7 @@
9256
9256
  {
9257
9257
  "name": "validity",
9258
9258
  "description": "The current validation state of the component.",
9259
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
9259
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
9260
9260
  },
9261
9261
  {
9262
9262
  "name": "value",
@@ -9610,7 +9610,7 @@
9610
9610
  {
9611
9611
  "name": "validity",
9612
9612
  "description": "The current validation state of the component.",
9613
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
9613
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
9614
9614
  },
9615
9615
  {
9616
9616
  "name": "value",
@@ -9979,7 +9979,7 @@
9979
9979
  {
9980
9980
  "name": "validity",
9981
9981
  "description": "The current validation state of the component.",
9982
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
9982
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
9983
9983
  },
9984
9984
  {
9985
9985
  "name": "value",
@@ -10292,7 +10292,7 @@
10292
10292
  {
10293
10293
  "name": "validity",
10294
10294
  "description": "The current validation state of the component.",
10295
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
10295
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
10296
10296
  },
10297
10297
  {
10298
10298
  "name": "value",
@@ -12934,7 +12934,7 @@
12934
12934
  {
12935
12935
  "name": "menuFlipPlacements",
12936
12936
  "description": "Specifies the component's fallback menu `placement` when it's initial or specified `placement` has insufficient space available.",
12937
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
12937
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
12938
12938
  },
12939
12939
  {
12940
12940
  "name": "menuOpen",
@@ -13204,7 +13204,7 @@
13204
13204
  {
13205
13205
  "name": "flipPlacements",
13206
13206
  "description": "Specifies the component's fallback `placement` when it's initial or specified `placement` has insufficient space available.",
13207
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
13207
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
13208
13208
  },
13209
13209
  {
13210
13210
  "name": "focusTrapDisabled",
@@ -13872,7 +13872,7 @@
13872
13872
  {
13873
13873
  "name": "validity",
13874
13874
  "description": "The current validation state of the component.",
13875
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
13875
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
13876
13876
  },
13877
13877
  {
13878
13878
  "name": "value",
@@ -14133,7 +14133,7 @@
14133
14133
  {
14134
14134
  "name": "validity",
14135
14135
  "description": "The current validation state of the component.",
14136
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
14136
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
14137
14137
  },
14138
14138
  {
14139
14139
  "name": "value",
@@ -14413,7 +14413,7 @@
14413
14413
  {
14414
14414
  "name": "validity",
14415
14415
  "description": "The current validation state of the component.",
14416
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
14416
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
14417
14417
  },
14418
14418
  {
14419
14419
  "name": "value",
@@ -15360,7 +15360,7 @@
15360
15360
  {
15361
15361
  "name": "validity",
15362
15362
  "description": "The current validation state of the component.",
15363
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
15363
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
15364
15364
  },
15365
15365
  {
15366
15366
  "name": "value",
@@ -15533,7 +15533,7 @@
15533
15533
  {
15534
15534
  "name": "flipPlacements",
15535
15535
  "description": "Specifies the component's fallback `calcite-dropdown-item` `placement` when it's initial or specified `placement` has insufficient space available.",
15536
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
15536
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
15537
15537
  },
15538
15538
  {
15539
15539
  "name": "label",
@@ -15982,7 +15982,7 @@
15982
15982
  {
15983
15983
  "name": "flipPlacements",
15984
15984
  "description": "Specifies the component's fallback slotted content `placement` when it's initial or specified `placement` has insufficient space available.",
15985
- "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading\" | \"leading-end\" | \"trailing-end\" | \"trailing\" | \"trailing-start\">"
15985
+ "type": "Array<\"top\" | \"bottom\" | \"left\" | \"right\" | \"leading\" | \"trailing\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"right-start\" | \"right-end\" | \"left-start\" | \"left-end\" | \"leading-start\" | \"leading-end\" | \"trailing-end\" | \"trailing-start\">"
15986
15986
  },
15987
15987
  {
15988
15988
  "name": "href",
@@ -16118,7 +16118,7 @@
16118
16118
  },
16119
16119
  {
16120
16120
  "name": "calcite-stepper",
16121
- "description": "### Events\n- **calciteStepperChange** - Fires when the active `calcite-stepper-item` changes.\n- **calciteStepperItemChange** - Fires when the active `calcite-stepper-item` changes.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `endStep(): Promise<void>` - Set the last `calcite-stepper-item` as active.\n- `goToStep(step: number): Promise<void>` - Set a specified `calcite-stepper-item` as active.\n- `nextStep(): Promise<void>` - Set the next `calcite-stepper-item` as active.\n- `prevStep(): Promise<void>` - Set the previous `calcite-stepper-item` as active.\n- `startStep(): Promise<void>` - Set the first `calcite-stepper-item` as active.\n\n### Slots\n- _default_ - A slot for adding `calcite-stepper-item` elements.\n\n### CSS Properties\n- **--calcite-stepper-bar-gap** - Specifies the space between items in the component. \n- **--calcite-stepper-bar-inactive-fill-color** - Specifies the fill color of items in the component. \n- **--calcite-stepper-bar-active-fill-color** - Specifies the fill color of active items in the component. \n- **--calcite-stepper-bar-complete-fill-color** - Specifies the fill color of complete items in the component. \n- **--calcite-stepper-bar-error-fill-color** - Specifies the fill color of error items in the component. ",
16121
+ "description": "### Events\n- **calciteStepperChange** - Fires when the active `calcite-stepper-item` changes.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `endStep(): Promise<void>` - Set the last `calcite-stepper-item` as active.\n- `goToStep(step: number): Promise<void>` - Set a specified `calcite-stepper-item` as active.\n- `nextStep(): Promise<void>` - Set the next `calcite-stepper-item` as active.\n- `prevStep(): Promise<void>` - Set the previous `calcite-stepper-item` as active.\n- `startStep(): Promise<void>` - Set the first `calcite-stepper-item` as active.\n\n### Slots\n- _default_ - A slot for adding `calcite-stepper-item` elements.\n\n### CSS Properties\n- **--calcite-stepper-bar-gap** - Specifies the space between items in the component. \n- **--calcite-stepper-bar-inactive-fill-color** - Specifies the fill color of items in the component. \n- **--calcite-stepper-bar-active-fill-color** - Specifies the fill color of active items in the component. \n- **--calcite-stepper-bar-complete-fill-color** - Specifies the fill color of complete items in the component. \n- **--calcite-stepper-bar-error-fill-color** - Specifies the fill color of error items in the component. ",
16122
16122
  "attributes": [
16123
16123
  {
16124
16124
  "name": "icon",
@@ -16183,11 +16183,6 @@
16183
16183
  "name": "calciteStepperChange",
16184
16184
  "type": "void",
16185
16185
  "description": "Fires when the active `calcite-stepper-item` changes."
16186
- },
16187
- {
16188
- "name": "calciteStepperItemChange",
16189
- "type": "void",
16190
- "description": "Fires when the active `calcite-stepper-item` changes."
16191
16186
  }
16192
16187
  ],
16193
16188
  "js": {
@@ -16233,11 +16228,6 @@
16233
16228
  "name": "calciteStepperChange",
16234
16229
  "type": "void",
16235
16230
  "description": "Fires when the active `calcite-stepper-item` changes."
16236
- },
16237
- {
16238
- "name": "calciteStepperItemChange",
16239
- "type": "void",
16240
- "description": "Fires when the active `calcite-stepper-item` changes."
16241
16231
  }
16242
16232
  ]
16243
16233
  }
@@ -17874,7 +17864,7 @@
17874
17864
  {
17875
17865
  "name": "validity",
17876
17866
  "description": "The current validation state of the component.",
17877
- "type": "{\n valid: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n tooLong: boolean;\n tooShort: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
17867
+ "type": "{\n valid: boolean;\n tooLong: boolean;\n tooShort: boolean;\n badInput: boolean;\n customError: boolean;\n patternMismatch: boolean;\n rangeOverflow: boolean;\n rangeUnderflow: boolean;\n stepMismatch: boolean;\n typeMismatch: boolean;\n valueMissing: boolean;\n}"
17878
17868
  },
17879
17869
  {
17880
17870
  "name": "value",
package/dist/index.d.ts CHANGED
@@ -1436,7 +1436,6 @@ declare global {
1436
1436
  }
1437
1437
  interface HTMLCalciteStepperElementEventMap {
1438
1438
  "calciteStepperChange": Stepper["calciteStepperChange"]["detail"];
1439
- "calciteStepperItemChange": Stepper["calciteStepperItemChange"]["detail"];
1440
1439
  }
1441
1440
 
1442
1441
  interface HTMLCalciteStepperElement extends Stepper {
@@ -531,7 +531,6 @@ interface LuminaCalciteStack extends Partial<Pick<Stack, 'disabled'>>, h.JSX.HTM
531
531
 
532
532
  interface LuminaCalciteStepper extends Partial<Pick<Stepper, 'icon' | 'layout' | 'messageOverrides' | 'numbered' | 'numberingSystem' | 'scale'>>, h.JSX.HTMLAttributes<HTMLCalciteStepperElement> {
533
533
  oncalciteStepperChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperChange"]>;
534
- oncalciteStepperItemChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperItemChange"]>;
535
534
  }
536
535
 
537
536
  interface LuminaCalciteStepperItem extends Partial<Pick<StepperItem, 'complete' | 'description' | 'disabled' | 'error' | 'heading' | 'iconFlipRtl' | 'messageOverrides' | 'selected'>>, h.JSX.HTMLAttributes<HTMLCalciteStepperItemElement> {
@@ -532,7 +532,6 @@ interface PreactCalciteStack extends Partial<Pick<Stack, 'disabled'>>, HTMLAttri
532
532
 
533
533
  interface PreactCalciteStepper extends Partial<Pick<Stepper, 'icon' | 'layout' | 'messageOverrides' | 'numbered' | 'numberingSystem' | 'scale'>>, HTMLAttributes<HTMLCalciteStepperElement> {
534
534
  oncalciteStepperChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperChange"]>;
535
- oncalciteStepperItemChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperItemChange"]>;
536
535
  }
537
536
 
538
537
  interface PreactCalciteStepperItem extends Partial<Pick<StepperItem, 'complete' | 'description' | 'disabled' | 'error' | 'heading' | 'iconFlipRtl' | 'messageOverrides' | 'selected'>>, HTMLAttributes<HTMLCalciteStepperItemElement> {
@@ -619,7 +619,6 @@ interface PreactCalciteStack extends Partial<Pick<Stack, 'disabled'>>, PreactJsx
619
619
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
620
620
  interface PreactCalciteStepper extends Partial<Pick<Stepper, 'icon' | 'layout' | 'messageOverrides' | 'numbered' | 'numberingSystem' | 'scale'>>, PreactJsx.HTMLAttributes<HTMLCalciteStepperElement> {
621
621
  oncalciteStepperChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperChange"]>;
622
- oncalciteStepperItemChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperItemChange"]>;
623
622
  }
624
623
 
625
624
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
@@ -532,7 +532,6 @@ interface ReactCalciteStack extends Partial<Pick<Stack, 'disabled'>>, HTMLProps<
532
532
 
533
533
  interface ReactCalciteStepper extends Partial<Pick<Stepper, 'icon' | 'layout' | 'messageOverrides' | 'numbered' | 'numberingSystem' | 'scale'>>, HTMLProps<HTMLCalciteStepperElement> {
534
534
  oncalciteStepperChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperChange"]>;
535
- oncalciteStepperItemChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperItemChange"]>;
536
535
  }
537
536
 
538
537
  interface ReactCalciteStepperItem extends Partial<Pick<StepperItem, 'complete' | 'description' | 'disabled' | 'error' | 'heading' | 'iconFlipRtl' | 'messageOverrides' | 'selected'>>, HTMLProps<HTMLCalciteStepperItemElement> {
@@ -532,7 +532,6 @@ interface StencilCalciteStack extends Partial<Pick<Stack, 'disabled'>>, StencilJ
532
532
 
533
533
  interface StencilCalciteStepper extends Partial<Pick<Stepper, 'icon' | 'layout' | 'messageOverrides' | 'numbered' | 'numberingSystem' | 'scale'>>, StencilJsx.HTMLAttributes<HTMLCalciteStepperElement> {
534
534
  onCalciteStepperChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperChange"]>;
535
- onCalciteStepperItemChange?: EventHandler<HTMLCalciteStepperElement["calciteStepperItemChange"]>;
536
535
  }
537
536
 
538
537
  interface StencilCalciteStepperItem extends Partial<Pick<StepperItem, 'complete' | 'description' | 'disabled' | 'error' | 'heading' | 'iconFlipRtl' | 'messageOverrides' | 'selected'>>, StencilJsx.HTMLAttributes<HTMLCalciteStepperItemElement> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "5.0.0-next.5",
3
+ "version": "5.0.0-next.7",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "homepage": "https://developers.arcgis.com/calcite-design-system/",
6
6
  "repository": {
@@ -112,5 +112,5 @@
112
112
  "dist/docs/vscode.html-custom-data.json"
113
113
  ],
114
114
  "web-types": "dist/docs/web-types.json",
115
- "gitHead": "aea8085000f0286a3f5c7f3006d0c6ff9c714f63"
115
+ "gitHead": "230aed5e43c614d6ea25d27e45bb8d45ef36e9ee"
116
116
  }
@@ -1,4 +0,0 @@
1
- /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
- See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.5 */
4
- import{a as y}from"./ALDDSDTX.js";import{a as z}from"./LH7245HX.js";import"./B5JXPZDV.js";import{c as d}from"./3YZG7MA3.js";import"./CIU4VM7X.js";import{u as x,y as c}from"./5IPJANUU.js";import{a as A}from"./ZLR2B6GQ.js";import{B as g,C as v,D as S,E as r,P as I,g as b,h as n,i as f,l as m,o as p}from"./AUIOWPFN.js";var h={actionIcon:"action-icon",actionContainer:"action-container",stepBarContainer:"step-bar-container",singleView:"single-view"},C={chevronLeft:"chevron-left",chevronRight:"chevron-right"},B="calcite-stepper-action",R={position:(o,e)=>`${B}-${o}-${e?"start":"end"}`},l={stepBar:"step-bar",stepBarActive:"step-bar--active",stepBarComplete:"step-bar--complete",stepBarDisabled:"step-bar--disabled",stepBarError:"step-bar--error",stepBarInActive:"step-bar--inactive"},M=({disabled:o,active:e,complete:t,error:i})=>n`<svg class=${r({[l.stepBar]:!0})}>${f`<rect class=${r({[l.stepBarActive]:e,[l.stepBarComplete]:t,[l.stepBarDisabled]:o,[l.stepBarError]:i,[l.stepBarInActive]:!0})} width=100% x=0 y=0 />`}</svg>`,T=b`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-action-block-size: 2.75rem;--calcite-internal-stepper-action-inline-size: 2rem;--calcite-internal-step-bar-gap: .25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-action-block-size: 3.25rem;--calcite-internal-stepper-action-inline-size: 2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-action-block-size: 4rem;--calcite-internal-stepper-action-inline-size: 3rem;--calcite-internal-step-bar-gap: .75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:grid;grid-template-areas:"items" "content";gap:.5rem var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host([layout=horizontal][scale=s]) .container,:host([layout=horizontal-single][scale=s]) .container{gap:.25rem var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host([layout=horizontal][scale=l]) .container,:host([layout=horizontal-single][scale=l]) .container{gap:.75rem var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:.125rem;inline-size:100%;gap:var(--calcite-stepper-bar-gap, var(--calcite-internal-step-bar-gap, .5rem))}.step-bar--inactive{fill:var(--calcite-stepper-bar-inactive-fill-color, var(--calcite-color-border-3, #dfdfdf));fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-stepper-bar-active-fill-color, var(--calcite-color-brand))}.step-bar--complete{fill:var(--calcite-stepper-bar-complete-fill-color, var(--calcite-color-brand));fill-opacity:.5}.step-bar--error{fill:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}.step-bar--disabled{opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,u=class extends S{constructor(){super(),this.containerRef=g(),this.enabledItems=[],this.guid=A(),this.itemMap=new Map,this.items=[],this.multipleViewMode=!1,this.mutationObserver=y("mutation",()=>this.updateItems()),this.messages=z(),this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.selectedItem=null,this.calciteInternalStepperItemChange=p({cancelable:!1}),this.calciteStepperChange=p({cancelable:!1}),this.calciteStepperItemChange=p({cancelable:!1}),this.listen("calciteInternalStepperItemKeyEvent",this.calciteInternalStepperItemKeyEvent),this.listen("calciteInternalStepperItemRegister",this.registerItem),this.listen("calciteInternalStepperItemSelect",this.updateItem),this.listen("calciteStepperItemSelect",this.handleItemSelect)}static{this.properties={currentActivePosition:[16,{},{state:!0}],icon:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],numbered:[7,{},{reflect:!0,type:Boolean}],numberingSystem:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectedItem:[0,{},{attribute:!1}]}}static{this.styles=T}async endStep(){let e=this.getEnabledStepIndex(this.items.length-1,"previous");typeof e=="number"&&this.updateStep(e)}async goToStep(e){let t=e-1;this.currentActivePosition!==t&&this.updateStep(t)}async nextStep(){let e=this.getEnabledStepIndex(this.currentActivePosition+1,"next");typeof e=="number"&&this.updateStep(e)}async prevStep(){let e=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");typeof e=="number"&&this.updateStep(e)}async startStep(){let e=this.getEnabledStepIndex(0,"next");typeof e=="number"&&this.updateStep(e)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateItems()}willUpdate(e){(e.has("icon")&&(this.hasUpdated||this.icon!==!1)||e.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&(this.updateItems(),this.determineActiveStepper()),e.has("numberingSystem")&&this.setStepperItemNumberingSystem(),e.has("currentActivePosition")&&requestAnimationFrame(()=>{this.determineActiveStepper()})}loaded(){if(typeof this.currentActivePosition!="number"){let e=this.getFirstEnabledStepperPosition();e===0&&(this.currentActivePosition=e),this.calciteInternalStepperItemChange.emit({position:e})}}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}calciteInternalStepperItemKeyEvent(e){let t=e.detail.item,i=e.target;switch(t.key){case"ArrowDown":case"ArrowRight":c(this.enabledItems,i,"next");break;case"ArrowUp":case"ArrowLeft":c(this.enabledItems,i,"previous");break;case"Home":c(this.enabledItems,i,"first");break;case"End":c(this.enabledItems,i,"last");break}e.stopPropagation()}registerItem(e){let t=e.target,{content:i,position:a}=e.detail;this.itemMap.set(t,{position:a,content:i}),this.enabledItems=this.filterItems(),e.stopPropagation()}updateItem(e){let{position:t}=e.detail;typeof t=="number"&&(this.currentActivePosition=t,this.selectedItem=e.target),this.calciteInternalStepperItemChange.emit({position:t})}handleItemSelect(){this.emitItemSelect()}emitItemSelect(){this.calciteStepperItemChange.emit(),this.calciteStepperChange.emit()}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach(e=>{e.icon=this.icon,e.numbered=this.numbered,e.layout=this.layout,e.scale=this.scale})}determineActiveStepper(){let{items:e}=this;if(e.length<2)return;let{currentActivePosition:t,layout:i}=this;this.multipleViewMode=i!=="horizontal-single",e.forEach((a,s)=>{a.itemHidden=i==="horizontal-single"&&s!==(t||0)})}getEnabledStepIndex(e,t="next"){let{items:i,currentActivePosition:a}=this,s=e;for(;s>=0&&s<i.length&&i[s]?.disabled;)s=s+(t==="previous"?-1:1);return s!==a&&s<i.length&&s>=0?s:null}updateStep(e){this.currentActivePosition=e,this.calciteInternalStepperItemChange.emit({position:e})}filterItems(){return this.items.filter(e=>!e.disabled&&!d(e))}setStepperItemNumberingSystem(){this.items.forEach(e=>{e.numberingSystem=this.numberingSystem})}handleActionClick(e){let t=this.currentActivePosition;e.target.getAttribute("data-position")==="start"?this.prevStep():this.nextStep(),typeof this.currentActivePosition=="number"&&t!==this.currentActivePosition&&!this.items[this.currentActivePosition].disabled&&this.emitItemSelect()}getFirstEnabledStepperPosition(){let e=this.items.findIndex(t=>!t.disabled);return e>-1?e:0}handleDefaultSlotChange(e){let t=x(e).filter(a=>a?.tagName==="CALCITE-STEPPER-ITEM"&&!d(a));this.items=t;let i=Array(t.length).fill("1fr").join(" ");this.containerRef.value.style.gridTemplateAreas=i,this.containerRef.value.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}render(){return this.el.ariaLabel=this.messages.label,this.el.role="region",n`<div class=${r({container:!0,[h.singleView]:this.layout==="horizontal-single"})} ${v(this.containerRef)}>${this.layout==="horizontal-single"&&n`<div class=${r({[h.stepBarContainer]:!0})}>${this.items.map((e,t)=>M({active:t===this.currentActivePosition,complete:e.complete&&t!==this.currentActivePosition&&!e.error,disabled:e.disabled&&t!==this.currentActivePosition,error:e.error&&t!==this.currentActivePosition}))}</div>`||""}${this.layout==="horizontal-single"&&n`<div class=${r({[h.actionContainer]:!0})}>${this.renderAction("start")}${this.renderAction("end")}</div>`||""}<slot @slotchange=${this.handleDefaultSlotChange}></slot></div>`}renderAction(e){let t=e==="start",i=t?C.chevronLeft:C.chevronRight,{currentActivePosition:a,multipleViewMode:s,layout:P}=this,E=R.position(this.guid,t),$=t?-1:1,w=t?"previous":"next",k=this.getEnabledStepIndex(a+$,w)===null;return P==="horizontal-single"&&!s?n`<calcite-action alignment=center appearance=transparent class=${r({[h.actionIcon]:!0})} compact data-position=${e??m} .disabled=${k} .icon=${i} icon-flip-rtl id=${E??m} @click=${this.handleActionClick} .scale=${this.scale} .text=${t?this.messages.previousStep:this.messages.nextStep}></calcite-action>`:null}};I("calcite-stepper",u);export{u as Stepper};
@@ -1,4 +0,0 @@
1
- /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
- See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.5 */
4
- import{a as v,b as m}from"./NSBK36H4.js";import{a as x}from"./S5CLKCGJ.js";import{a as g}from"./LH7245HX.js";import{a as f}from"./WOTQIMPZ.js";import"./B5JXPZDV.js";import"./3YZG7MA3.js";import"./CIU4VM7X.js";import{t as c}from"./5IPJANUU.js";import"./ZLR2B6GQ.js";import{B as h,C as p,D as u,E as t,P as b,g as d,h as o,o as l}from"./AUIOWPFN.js";var a={container:"container",contentWrapper:"content-wrapper",header:"header",footer:"footer",checkboxWrapper:"checkbox-wrapper",checkboxWrapperDeprecated:"checkbox-wrapper-deprecated",thumbnailWrapper:"thumbnail-wrapper",headerTextContainer:"header-text-container",cardContent:"card-content",hasSlottedContent:"has-slotted-content"},r={thumbnail:"thumbnail",heading:"heading",description:"description",footerStart:"footer-start",footerEnd:"footer-end"},i={selected:"check-square-f",unselected:"square",selectedSingle:"circle-f",unselectedSingle:"circle"},w=d`:host{--calcite-internal-color-focus: var( --calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)) )}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%}.content-wrapper{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border:var(--calcite-border-width-sm) solid var(--calcite-card-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-card-corner-radius, var(--calcite-corner-radius-sharp));background-color:var(--calcite-card-background-color, var(--calcite-color-foreground-1));box-shadow:var(--calcite-card-shadow, var(--calcite-shadow-none));pointer-events:none}::slotted(*){pointer-events:auto}:host(:not([selectable])) .content-wrapper:not(.non-interactive){outline-color:transparent}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0;display:flex;align-items:center}.header{display:flex;flex-direction:row;align-items:flex-start}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:var(--calcite-spacing-md);padding-block-start:var(--calcite-spacing-xxs);padding-block-end:var(--calcite-spacing-md)}.header-text-container{display:flex;inline-size:100%;flex-direction:column;justify-content:center;padding-inline:.75rem;padding-block:.5rem}.header-text-container:not(:only-child){padding-inline-end:.125rem}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:.75rem;padding-block:.25rem .75rem}.card-content{block-size:auto;font-size:var(--calcite-font-size--2);line-height:1.375}.has-slotted-content{padding:.75rem}:host([selected]) .content-wrapper{box-shadow:inset 0 -4px 0 0 var(--calcite-card-accent-color-selected, var(--calcite-color-brand))}:host([selectable]) .header{padding-inline-end:var(--calcite-spacing-xxxl)}slot[name=heading]::slotted(*),*::slotted([slot=heading]){margin:0;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);line-height:var(--calcite-font-line-height-relative-snug)}slot[name=description]::slotted(*),*::slotted([slot=description]){margin:0;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);line-height:var(--calcite-font-line-height-relative-snug)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper-deprecated{pointer-events:auto;position:absolute;inset-block-start:var(--calcite-spacing-sm);inset-inline-end:var(--calcite-spacing-sm);margin:0;padding:0;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper-deprecated:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper-deprecated:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper{pointer-events:auto;margin:.5rem;cursor:pointer;padding:.5rem;outline-color:transparent;display:flex;align-items:center;justify-items:center;color:var(--calcite-card-selection-color, var(--calcite-color-text-3))}.checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}.checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press))}.checkbox-wrapper calcite-icon{pointer-events:none}:host([selected]) .checkbox-wrapper-deprecated,:host([selected]) .checkbox-wrapper{color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-card-selection-color-hover, var(--calcite-card-selection-icon-color-hover, var(--calcite-color-text-2)))}:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper-deprecated,:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-press, var(--calcite-color-transparent-press));color:var(--calcite-card-accent-color-selected, var(--calcite-card-selection-icon-color-selected, var(--calcite-color-brand)))}.thumbnail-wrapper{display:flex}.content-wrapper.inline{flex-direction:row}.content-wrapper.inline>.container{inline-size:60%}.content-wrapper.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.content-wrapper.inline slot[name=thumbnail]::slotted(img),.content-wrapper.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:.25rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,s=class extends u{constructor(){super(...arguments),this.containerRef=h(),this.messages=g(),this.focusSetter=f()(this),this.hasContent=!1,this.hasDescription=!1,this.hasFooterEnd=!1,this.hasFooterStart=!1,this.hasHeading=!1,this.hasThumbnail=!1,this.disabled=!1,this.loading=!1,this.selectable=!1,this.selected=!1,this.selectionMode="none",this.thumbnailPosition="block-start",this.calciteCardSelect=l({cancelable:!1}),this.calciteInternalCardKeyEvent=l({cancelable:!1})}static{this.properties={hasContent:[16,{},{state:!0}],hasDescription:[16,{},{state:!0}],hasFooterEnd:[16,{},{state:!0}],hasFooterStart:[16,{},{state:!0}],hasHeading:[16,{},{state:!0}],hasThumbnail:[16,{},{state:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],label:1,loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],selectable:[7,{},{reflect:!0,type:Boolean}],selected:[7,{},{reflect:!0,type:Boolean}],selectionMode:1,thumbnailPosition:[3,{},{reflect:!0}]}}static{this.styles=w}async setFocus(e){return this.focusSetter(()=>({target:this.containerRef.value,includeContainer:!0}),e)}updated(){v(this)}handleThumbnailSlotChange(e){this.hasThumbnail=c(e)}handleHeadingSlotChange(e){this.hasHeading=c(e)}handleDescriptionSlotChange(e){this.hasDescription=c(e)}handleFooterStartSlotChange(e){this.hasFooterStart=c(e)}handleFooterEndSlotChange(e){this.hasFooterEnd=c(e)}handleDefaultSlotChange(e){this.hasContent=c(e)}keyDownHandler(e){if(e.target===this.containerRef.value&&!this.selectable&&!this.disabled)if(x(e.key)&&this.selectionMode!=="none")this.calciteCardSelect.emit(),e.preventDefault();else switch(e.key){case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalCardKeyEvent.emit(e),e.preventDefault();break}}cardBodyClickHandler(e){e.target===this.containerRef.value&&!this.selectable&&!this.disabled&&this.selectionMode!=="none"&&this.calciteCardSelect.emit()}selectCardDeprecated(e){this.selected=e.currentTarget.checked,this.calciteCardSelect.emit()}cardSelectClick(e){this.disabled||(e.preventDefault(),this.calciteCardSelect.emit(),this.setFocus())}renderCheckboxDeprecated(){return o`<calcite-label class=${t(a.checkboxWrapperDeprecated)}><calcite-checkbox .checked=${this.selected} .label=${this.messages.select} @calciteCheckboxChange=${this.selectCardDeprecated}></calcite-checkbox></calcite-label>`}renderThumbnail(){return o`<section class=${t(a.thumbnailWrapper)} .hidden=${!this.hasThumbnail}><slot name=${r.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></section>`}renderSelectionIcon(){let e=this.selectionMode==="multiple"&&this.selected?i.selected:this.selectionMode==="multiple"?i.unselected:this.selected?i.selectedSingle:i.unselectedSingle;return o`<div class=${t(a.checkboxWrapper)} @pointerdown=${this.cardSelectClick} tabindex=-1><calcite-icon .icon=${e} scale=s></calcite-icon></div>`}renderHeader(){let e=this.hasHeading||this.hasDescription;return o`<header class=${t(a.header)} .hidden=${!e}>${this.selectable?this.renderCheckboxDeprecated():null}<div class=${t(a.headerTextContainer)}><slot name=${r.heading} @slotchange=${this.handleHeadingSlotChange}></slot><slot name=${r.description} @slotchange=${this.handleDescriptionSlotChange}></slot></div>${this.selectionMode!=="none"&&this.renderSelectionIcon()||""}</header>`}renderFooter(){let e=this.hasFooterStart||this.hasFooterEnd;return o`<footer class=${t(a.footer)} .hidden=${!e}><slot name=${r.footerStart} @slotchange=${this.handleFooterStartSlotChange}></slot><slot name=${r.footerEnd} @slotchange=${this.handleFooterEndSlotChange}></slot></footer>`}render(){let e=this.thumbnailPosition.startsWith("inline"),n=this.thumbnailPosition.endsWith("start"),k=this.selectionMode==="multiple"?"checkbox":this.selectionMode!=="none"?"radio":void 0;return m({disabled:this.disabled,children:o`<div .ariaChecked=${this.selectionMode!=="none"?this.selected:void 0} .ariaLabel=${this.label} class=${t({[a.contentWrapper]:!0,inline:e})} @click=${this.cardBodyClickHandler} @keydown=${this.keyDownHandler} .role=${k} .tabIndex=${!this.selectable||this.disabled?0:-1} ${p(this.containerRef)}>${this.loading?o`<div aria-live=polite class="calcite-card-loader-container"><calcite-loader .label=${this.messages.loading}></calcite-loader></div>`:null}${n&&this.renderThumbnail()||""}<section .ariaBusy=${this.loading} class=${t({[a.container]:!0})}>${this.renderHeader()}<div class=${t({[a.cardContent]:!0,[a.hasSlottedContent]:this.hasContent})}><slot @slotchange=${this.handleDefaultSlotChange}></slot></div>${this.renderFooter()}</section>${!n&&this.renderThumbnail()||""}</div>`})}};b("calcite-card",s);export{s as Card};