@esri/calcite-components 1.0.0-next.520 → 1.0.0-next.523

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 (827) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/{p-d208b406.system.js → p-004352e0.system.js} +2 -2
  6. package/dist/calcite/{p-b3a335d4.system.js → p-05c7d561.system.js} +2 -2
  7. package/dist/calcite/{p-ffbb4b30.system.entry.js → p-0643d361.system.entry.js} +2 -2
  8. package/dist/calcite/{p-43413fbc.system.entry.js → p-073444a7.system.entry.js} +2 -2
  9. package/dist/calcite/{p-e604ab6b.system.entry.js → p-07362122.system.entry.js} +2 -2
  10. package/dist/calcite/{p-cdc700be.system.entry.js → p-079b7d7d.system.entry.js} +2 -2
  11. package/dist/calcite/p-0ef93269.entry.js +6 -0
  12. package/dist/calcite/{p-c2d033d5.system.js → p-0fa206b4.system.js} +1 -1
  13. package/dist/calcite/{p-6dfca84e.entry.js → p-0ff59619.entry.js} +2 -2
  14. package/dist/calcite/{p-e4a3783d.system.entry.js → p-10ef1d9d.system.entry.js} +3 -3
  15. package/dist/calcite/{p-3a9aaecf.js → p-1129672f.js} +1 -1
  16. package/dist/calcite/{p-73f440bb.entry.js → p-11830700.entry.js} +2 -2
  17. package/dist/calcite/{p-a3507dfe.system.entry.js → p-1195e8b0.system.entry.js} +2 -2
  18. package/dist/calcite/{p-0e23ec86.system.js → p-13037d93.system.js} +1 -1
  19. package/dist/calcite/{p-9b239dcc.system.js → p-1552d0c0.system.js} +1 -1
  20. package/dist/calcite/{p-8cadf826.system.js → p-15d4fb17.system.js} +2 -2
  21. package/dist/calcite/{p-13088d74.system.entry.js → p-17c4e392.system.entry.js} +2 -2
  22. package/dist/calcite/{p-d019cd3c.js → p-17d62e32.js} +1 -1
  23. package/dist/calcite/{p-1920a94e.system.js → p-1aab9ecb.system.js} +1 -1
  24. package/dist/calcite/{p-eef651a2.system.entry.js → p-1caab2c1.system.entry.js} +2 -2
  25. package/dist/calcite/{p-decb56ab.entry.js → p-1d6a87fa.entry.js} +2 -2
  26. package/dist/calcite/{p-1fcf4389.js → p-1d8f336e.js} +1 -1
  27. package/dist/calcite/{p-7b1075db.system.js → p-204e44ba.system.js} +2 -2
  28. package/dist/calcite/{p-7add7125.entry.js → p-20705469.entry.js} +2 -2
  29. package/dist/calcite/{p-d4c5c673.entry.js → p-24c2d2bc.entry.js} +2 -2
  30. package/dist/calcite/{p-adf0ece2.system.entry.js → p-27ff1873.system.entry.js} +2 -2
  31. package/dist/calcite/{p-a161f860.system.entry.js → p-28d03e64.system.entry.js} +2 -2
  32. package/dist/calcite/{p-9b38c931.entry.js → p-2d4b5d19.entry.js} +2 -2
  33. package/dist/calcite/{p-14bc0533.entry.js → p-2ee49902.entry.js} +2 -2
  34. package/dist/calcite/{p-06c14b86.system.entry.js → p-2f049da3.system.entry.js} +3 -3
  35. package/dist/calcite/{p-6d2ba11e.entry.js → p-31eb7bef.entry.js} +2 -2
  36. package/dist/calcite/{p-abaae4a0.entry.js → p-33e6aeb9.entry.js} +2 -2
  37. package/dist/calcite/{p-3b3d8fda.system.entry.js → p-33f73519.system.entry.js} +2 -2
  38. package/dist/calcite/{p-7842b132.entry.js → p-377cc6dd.entry.js} +2 -2
  39. package/dist/calcite/{p-4668d36a.js → p-37bee3ae.js} +1 -1
  40. package/dist/calcite/p-3815e8c6.system.entry.js +6 -0
  41. package/dist/calcite/{p-16f227fc.system.entry.js → p-38227861.system.entry.js} +2 -2
  42. package/dist/calcite/{p-f2cbad46.system.entry.js → p-3c195b35.system.entry.js} +2 -2
  43. package/dist/calcite/{p-917106dd.system.entry.js → p-3d1bcc02.system.entry.js} +2 -2
  44. package/dist/calcite/{p-78274269.system.js → p-3e23417f.system.js} +1 -1
  45. package/dist/calcite/{p-f4742511.js → p-3ec5ae8d.js} +1 -1
  46. package/dist/calcite/{p-98ac7b27.entry.js → p-3fc2bb4b.entry.js} +2 -2
  47. package/dist/calcite/{p-aff0389a.system.js → p-4161a0f7.system.js} +2 -2
  48. package/dist/calcite/{p-9398bb6c.js → p-41ea7209.js} +2 -2
  49. package/dist/calcite/{p-0444a89a.js → p-4353401a.js} +2 -2
  50. package/dist/calcite/{p-973fa781.entry.js → p-449f39b5.entry.js} +2 -2
  51. package/dist/calcite/p-44f24a20.system.js +6 -0
  52. package/dist/calcite/{p-772f4a3f.system.entry.js → p-45fa414b.system.entry.js} +2 -2
  53. package/dist/calcite/{p-a1621fa7.entry.js → p-4606f83e.entry.js} +2 -2
  54. package/dist/calcite/{p-51586eee.system.entry.js → p-4c26abc4.system.entry.js} +2 -2
  55. package/dist/calcite/{p-7d329d08.js → p-4c67afa7.js} +2 -2
  56. package/dist/calcite/{p-007035f4.system.entry.js → p-4cc03417.system.entry.js} +2 -2
  57. package/dist/calcite/{p-58661475.system.entry.js → p-4d5b7af9.system.entry.js} +2 -2
  58. package/dist/calcite/{p-abca805d.system.entry.js → p-4dc3dfc3.system.entry.js} +2 -2
  59. package/dist/calcite/{p-39d3e8e7.entry.js → p-4e86247d.entry.js} +2 -2
  60. package/dist/calcite/{p-8bf55d55.entry.js → p-52564764.entry.js} +2 -2
  61. package/dist/calcite/{p-78f47358.system.entry.js → p-525691e4.system.entry.js} +2 -2
  62. package/dist/calcite/{p-b659cdbb.entry.js → p-53d6bc33.entry.js} +2 -2
  63. package/dist/calcite/{p-4d71f62d.system.js → p-5493c5e8.system.js} +3 -3
  64. package/dist/calcite/{p-9781070e.system.js → p-54b2adec.system.js} +1 -1
  65. package/dist/calcite/{p-ca265c09.system.js → p-55fe6e64.system.js} +1 -1
  66. package/dist/calcite/{p-cafdc1c6.system.entry.js → p-56d9a456.system.entry.js} +2 -2
  67. package/dist/calcite/{p-d05ce5f8.entry.js → p-59c3a1c7.entry.js} +2 -2
  68. package/dist/calcite/{p-c2deb2ce.system.entry.js → p-5a1fb73e.system.entry.js} +2 -2
  69. package/dist/calcite/{p-534a7ca5.entry.js → p-5b7ee3ae.entry.js} +2 -2
  70. package/dist/calcite/{p-2df6116d.entry.js → p-5be0d6f7.entry.js} +2 -2
  71. package/dist/calcite/{p-dbae690a.system.entry.js → p-5bec3378.system.entry.js} +2 -2
  72. package/dist/calcite/{p-82e2b61e.js → p-6321f252.js} +1 -1
  73. package/dist/calcite/{p-7157eb29.system.js → p-642a2880.system.js} +1 -1
  74. package/dist/calcite/p-6798948e.entry.js +6 -0
  75. package/dist/calcite/{p-75e8e02e.entry.js → p-680a8b94.entry.js} +2 -2
  76. package/dist/calcite/{p-dc40dde4.system.entry.js → p-6bd57878.system.entry.js} +2 -2
  77. package/dist/calcite/p-6bddf1ea.system.entry.js +6 -0
  78. package/dist/calcite/p-6d27fcac.entry.js +6 -0
  79. package/dist/calcite/{p-7e57e47c.system.entry.js → p-6d8cd80e.system.entry.js} +2 -2
  80. package/dist/calcite/{p-3191b270.entry.js → p-6d96d095.entry.js} +2 -2
  81. package/dist/calcite/{p-02362c11.entry.js → p-6e1159f6.entry.js} +2 -2
  82. package/dist/calcite/{p-e6f77179.js → p-7437f875.js} +2 -2
  83. package/dist/calcite/{p-75a33e5a.system.entry.js → p-761df8f8.system.entry.js} +2 -2
  84. package/dist/calcite/p-778c65d2.system.entry.js +6 -0
  85. package/dist/calcite/p-783e3ab9.entry.js +6 -0
  86. package/dist/calcite/{p-c8a0343c.system.entry.js → p-78fc4d93.system.entry.js} +2 -2
  87. package/dist/calcite/{p-2be5f5e4.system.entry.js → p-7d10d214.system.entry.js} +2 -2
  88. package/dist/calcite/{p-a64bd767.system.entry.js → p-7e09d072.system.entry.js} +2 -2
  89. package/dist/calcite/{p-f7fd201f.js → p-7f276264.js} +1 -1
  90. package/dist/calcite/{p-3340e3fb.entry.js → p-7f39e1f9.entry.js} +2 -2
  91. package/dist/calcite/p-7faeee8c.entry.js +6 -0
  92. package/dist/calcite/{p-f6cbe0ab.system.js → p-831aba9f.system.js} +2 -2
  93. package/dist/calcite/{p-1ab88ba3.system.entry.js → p-83263713.system.entry.js} +2 -2
  94. package/dist/calcite/{p-dd699884.entry.js → p-85a6d514.entry.js} +2 -2
  95. package/dist/calcite/{p-ee37ffbc.system.entry.js → p-899a9e2a.system.entry.js} +2 -2
  96. package/dist/calcite/{p-8e1b9b65.js → p-8a2e3c90.js} +1 -1
  97. package/dist/calcite/{p-da3ed14f.system.js → p-8c79d825.system.js} +1 -1
  98. package/dist/calcite/p-8cad2d35.system.entry.js +6 -0
  99. package/dist/calcite/{p-13fe270d.entry.js → p-8d975b20.entry.js} +2 -2
  100. package/dist/calcite/{p-bb6ff111.system.entry.js → p-8f94d8cc.system.entry.js} +2 -2
  101. package/dist/calcite/{p-d78d8570.system.entry.js → p-90509e41.system.entry.js} +2 -2
  102. package/dist/calcite/{p-368f2f77.system.entry.js → p-90af023c.system.entry.js} +2 -2
  103. package/dist/calcite/{p-d178a247.entry.js → p-91951236.entry.js} +2 -2
  104. package/dist/calcite/{p-5ff3fb7e.entry.js → p-92d7b2cb.entry.js} +2 -2
  105. package/dist/calcite/{p-72977808.system.entry.js → p-93d27bf2.system.entry.js} +2 -2
  106. package/dist/calcite/{p-0c58bda7.entry.js → p-950fdeca.entry.js} +2 -2
  107. package/dist/calcite/{p-f8c872a2.system.js → p-9606efc1.system.js} +2 -2
  108. package/dist/calcite/p-990d623d.system.js +6 -0
  109. package/dist/calcite/{p-c4972e72.system.entry.js → p-9d3d7220.system.entry.js} +2 -2
  110. package/dist/calcite/{p-8277926c.entry.js → p-9d9bd4a3.entry.js} +2 -2
  111. package/dist/calcite/{p-b8d25736.entry.js → p-9e12a9c6.entry.js} +2 -2
  112. package/dist/calcite/{p-815189c6.system.js → p-9f7515c4.system.js} +1 -1
  113. package/dist/calcite/{p-1ae60c44.entry.js → p-a8f7c29e.entry.js} +2 -2
  114. package/dist/calcite/{p-29dbb7c3.system.entry.js → p-aaf53c68.system.entry.js} +2 -2
  115. package/dist/calcite/{p-fce697b5.entry.js → p-ab826c72.entry.js} +2 -2
  116. package/dist/calcite/{p-96b8ffc2.entry.js → p-abd48562.entry.js} +2 -2
  117. package/dist/calcite/{p-d25efce4.entry.js → p-ac2b7534.entry.js} +2 -2
  118. package/dist/calcite/{p-5cd95bda.entry.js → p-adf4922e.entry.js} +2 -2
  119. package/dist/calcite/p-b00be007.js +6 -0
  120. package/dist/calcite/{p-f4b079fd.entry.js → p-b060fb39.entry.js} +2 -2
  121. package/dist/calcite/{p-a081753e.entry.js → p-b0ac5faf.entry.js} +2 -2
  122. package/dist/calcite/{p-76b6b612.system.entry.js → p-b0b5339f.system.entry.js} +2 -2
  123. package/dist/calcite/{p-14ea0159.system.js → p-b0bf3474.system.js} +2 -2
  124. package/dist/calcite/{p-73577e93.system.js → p-b2b07f5b.system.js} +1 -1
  125. package/dist/calcite/{p-1a04dc2a.entry.js → p-b2c199aa.entry.js} +2 -2
  126. package/dist/calcite/{p-10f66af0.entry.js → p-b465ee91.entry.js} +2 -2
  127. package/dist/calcite/{p-9da42c36.js → p-b4f504e3.js} +2 -2
  128. package/dist/calcite/{p-f2bd3b8f.system.entry.js → p-b614bb85.system.entry.js} +2 -2
  129. package/dist/calcite/{p-1f3485fd.js → p-b7661f62.js} +2 -2
  130. package/dist/calcite/{p-73f3b6cd.system.entry.js → p-b775ea70.system.entry.js} +2 -2
  131. package/dist/calcite/p-b871a2ec.entry.js +6 -0
  132. package/dist/calcite/{p-d3130f3f.entry.js → p-bb03fd42.entry.js} +2 -2
  133. package/dist/calcite/{p-7fd5a8a3.js → p-bbce0456.js} +1 -1
  134. package/dist/calcite/{p-0a3ac5b7.entry.js → p-c6cea668.entry.js} +2 -2
  135. package/dist/calcite/{p-59b0561b.system.entry.js → p-cbdc4057.system.entry.js} +2 -2
  136. package/dist/calcite/p-cc25ada3.entry.js +6 -0
  137. package/dist/calcite/{p-e17c874d.system.entry.js → p-ccd71715.system.entry.js} +2 -2
  138. package/dist/calcite/{p-d6b6d5a1.entry.js → p-cce748e7.entry.js} +2 -2
  139. package/dist/calcite/{p-083b105d.js → p-cfa56b79.js} +2 -2
  140. package/dist/calcite/{p-b3bf4e2b.js → p-d355ad4f.js} +2 -2
  141. package/dist/calcite/{p-74d1af1c.js → p-d5b606c0.js} +1 -1
  142. package/dist/calcite/{p-d601ac5d.entry.js → p-d75c12e6.entry.js} +2 -2
  143. package/dist/calcite/{p-09e283e8.system.entry.js → p-d7f3b711.system.entry.js} +2 -2
  144. package/dist/calcite/{p-4eee040b.system.entry.js → p-d90f0c15.system.entry.js} +2 -2
  145. package/dist/calcite/p-d9572c12.system.entry.js +6 -0
  146. package/dist/calcite/{p-6b844ad2.system.entry.js → p-d9662bea.system.entry.js} +2 -2
  147. package/dist/calcite/{p-6fb2dac3.js → p-dbd68af0.js} +2 -2
  148. package/dist/calcite/{p-6fa4fd93.entry.js → p-dc1ca779.entry.js} +2 -2
  149. package/dist/calcite/{p-f9e32dc5.system.entry.js → p-dc6f46c8.system.entry.js} +2 -2
  150. package/dist/calcite/{p-9946dd96.system.js → p-ddc38b93.system.js} +1 -1
  151. package/dist/calcite/{p-6c2b78c1.system.entry.js → p-e0b4f38a.system.entry.js} +3 -3
  152. package/dist/calcite/{p-ff6b1162.system.js → p-e1e12b8c.system.js} +1 -1
  153. package/dist/calcite/{p-48b6f6f7.system.js → p-e33bcd83.system.js} +1 -1
  154. package/dist/calcite/{p-f633dc67.entry.js → p-e4d0deb8.entry.js} +2 -2
  155. package/dist/calcite/{p-937f4763.js → p-e8c06888.js} +1 -1
  156. package/dist/calcite/{p-2758b523.entry.js → p-ea6f7dbf.entry.js} +2 -2
  157. package/dist/calcite/{p-e70390dc.system.entry.js → p-ea7835cb.system.entry.js} +2 -2
  158. package/dist/calcite/{p-28292cd2.entry.js → p-ecc6eceb.entry.js} +2 -2
  159. package/dist/calcite/{p-a9945df6.entry.js → p-ed90619e.entry.js} +2 -2
  160. package/dist/calcite/{p-795b0aa3.system.entry.js → p-f0957544.system.entry.js} +2 -2
  161. package/dist/calcite/{p-ad6accf2.js → p-f18ea10d.js} +1 -1
  162. package/dist/calcite/{p-383c5cdf.system.entry.js → p-f5b978d1.system.entry.js} +3 -3
  163. package/dist/calcite/{p-c2f18e0d.entry.js → p-f6b1db4a.entry.js} +2 -2
  164. package/dist/calcite/{p-213f3a0c.system.js → p-f70b488e.system.js} +2 -2
  165. package/dist/calcite/p-f90bf867.entry.js +6 -0
  166. package/dist/calcite/{p-5f40009c.entry.js → p-f924863b.entry.js} +2 -2
  167. package/dist/calcite/{p-9a4b8d19.js → p-fb94e654.js} +2 -2
  168. package/dist/calcite/{p-85ea5712.system.entry.js → p-fc3bd1a3.system.entry.js} +2 -2
  169. package/dist/calcite/{p-e8b7db23.js → p-fc91c0f8.js} +1 -1
  170. package/dist/calcite/{p-677f24bf.system.entry.js → p-fdd02185.system.entry.js} +2 -2
  171. package/dist/cjs/{ExpandToggle-99f3781c.js → ExpandToggle-9507d3ca.js} +5 -5
  172. package/dist/cjs/{Heading-4337cacd.js → Heading-7e253e8e.js} +2 -2
  173. package/dist/cjs/{array-2b95adc7.js → array-a57073d5.js} +1 -1
  174. package/dist/cjs/calcite-accordion_2.cjs.entry.js +17 -8
  175. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  176. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  177. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  179. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  180. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  181. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  182. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  184. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  185. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  186. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  187. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  188. package/dist/cjs/calcite-combobox_3.cjs.entry.js +54 -33
  189. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  190. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +37 -21
  191. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  192. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  194. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  195. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  196. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  197. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  198. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  199. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  200. package/dist/cjs/calcite-input-number.cjs.entry.js +531 -0
  201. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  202. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-label.cjs.entry.js +12 -6
  204. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  205. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-modal.cjs.entry.js +25 -16
  208. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  209. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  210. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  211. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  212. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  213. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  215. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  219. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  220. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  222. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  223. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  226. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  227. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  229. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  230. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  231. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  232. package/dist/cjs/calcite.cjs.js +4 -4
  233. package/dist/cjs/{conditionalSlot-a86a0d93.js → conditionalSlot-d41127a4.js} +3 -3
  234. package/dist/cjs/{debounce-d2b703d9.js → debounce-a35c1810.js} +1 -1
  235. package/dist/cjs/{dom-276aaf99.js → dom-58235738.js} +2 -2
  236. package/dist/cjs/{forIn-89a77d46.js → forIn-3ba66b3b.js} +2 -2
  237. package/dist/cjs/{form-90809048.js → form-1abc7765.js} +3 -3
  238. package/dist/cjs/{guid-05de8683.js → guid-93c89ea3.js} +1 -1
  239. package/dist/cjs/{index-92b04246.js → index-f1d0c484.js} +1 -1
  240. package/dist/cjs/index.cjs.js +1 -1
  241. package/dist/cjs/{interactive-8f9c108d.js → interactive-5dd9b2a6.js} +1 -1
  242. package/dist/cjs/{interfaces-1432ba48.js → interfaces-efc36733.js} +1 -1
  243. package/dist/cjs/{key-14b78e13.js → key-d3ad4863.js} +1 -1
  244. package/dist/cjs/{label-b7e1da52.js → label-9a7ce420.js} +2 -2
  245. package/dist/cjs/loader.cjs.js +4 -4
  246. package/dist/cjs/{locale-30f27f51.js → locale-89a7456a.js} +2 -2
  247. package/dist/cjs/{math-c4db1901.js → math-e75ae285.js} +1 -1
  248. package/dist/cjs/{observers-46d26c87.js → observers-4419aca1.js} +1 -1
  249. package/dist/cjs/{popper-56aa0819.js → popper-fab63b23.js} +2 -2
  250. package/dist/cjs/{resources-f9d89ecd.js → resources-12d06a91.js} +1 -1
  251. package/dist/cjs/{resources-d9fd225b.js → resources-235699e9.js} +3 -3
  252. package/dist/cjs/{resources-5906f91a.js → resources-7be0bfba.js} +5 -5
  253. package/dist/cjs/{resources-7afa5ac3.js → resources-a96e38c2.js} +1 -1
  254. package/dist/cjs/{sortable.esm-d2f57c8a.js → sortable.esm-3196d6bf.js} +1 -1
  255. package/dist/cjs/{utils-d09ab03a.js → utils-c2ffca01.js} +1 -1
  256. package/dist/collection/collection-manifest.json +7 -1
  257. package/dist/collection/components/accordion/accordion.js +1 -1
  258. package/dist/collection/components/accordion/interfaces.js +1 -1
  259. package/dist/collection/components/accordion-item/accordion-item.css +18 -9
  260. package/dist/collection/components/accordion-item/accordion-item.js +35 -5
  261. package/dist/collection/components/action/action.js +1 -1
  262. package/dist/collection/components/action/resources.js +1 -1
  263. package/dist/collection/components/action-bar/action-bar.js +1 -1
  264. package/dist/collection/components/action-bar/resources.js +1 -1
  265. package/dist/collection/components/action-bar/utils.js +1 -1
  266. package/dist/collection/components/action-group/action-group.js +1 -1
  267. package/dist/collection/components/action-group/resources.js +1 -1
  268. package/dist/collection/components/action-menu/action-menu.js +1 -1
  269. package/dist/collection/components/action-menu/resources.js +1 -1
  270. package/dist/collection/components/action-pad/action-pad.js +1 -1
  271. package/dist/collection/components/action-pad/resources.js +1 -1
  272. package/dist/collection/components/alert/alert.js +1 -1
  273. package/dist/collection/components/alert/interfaces.js +1 -1
  274. package/dist/collection/components/alert/resources.js +1 -1
  275. package/dist/collection/components/avatar/avatar.js +1 -1
  276. package/dist/collection/components/avatar/utils.js +1 -1
  277. package/dist/collection/components/block/block.js +1 -1
  278. package/dist/collection/components/block/resources.js +1 -1
  279. package/dist/collection/components/block-section/block-section.js +1 -1
  280. package/dist/collection/components/block-section/interfaces.js +1 -1
  281. package/dist/collection/components/block-section/resources.js +1 -1
  282. package/dist/collection/components/button/button.js +1 -1
  283. package/dist/collection/components/button/interfaces.js +1 -1
  284. package/dist/collection/components/button/resources.js +1 -1
  285. package/dist/collection/components/card/card.js +1 -1
  286. package/dist/collection/components/card/resources.js +1 -1
  287. package/dist/collection/components/checkbox/checkbox.js +1 -1
  288. package/dist/collection/components/chip/chip.js +1 -1
  289. package/dist/collection/components/chip/interfaces.js +1 -1
  290. package/dist/collection/components/chip/resources.js +1 -1
  291. package/dist/collection/components/color-picker/color-picker.js +1 -1
  292. package/dist/collection/components/color-picker/interfaces.js +1 -1
  293. package/dist/collection/components/color-picker/resources.js +1 -1
  294. package/dist/collection/components/color-picker/utils.js +1 -1
  295. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  296. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  297. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  298. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  299. package/dist/collection/components/combobox/combobox.js +69 -25
  300. package/dist/collection/components/combobox/interfaces.js +1 -1
  301. package/dist/collection/components/combobox/resources.js +1 -1
  302. package/dist/collection/components/combobox/utils.js +1 -1
  303. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  304. package/dist/collection/components/combobox-item/resources.js +1 -1
  305. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  306. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  307. package/dist/collection/components/date-picker/date-picker.js +1 -1
  308. package/dist/collection/components/date-picker/interfaces.js +1 -1
  309. package/dist/collection/components/date-picker/resources.js +1 -1
  310. package/dist/collection/components/date-picker/utils.js +1 -1
  311. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  312. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  313. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  314. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  315. package/dist/collection/components/dropdown/dropdown.css +2 -1
  316. package/dist/collection/components/dropdown/dropdown.js +55 -16
  317. package/dist/collection/components/dropdown/interfaces.js +1 -1
  318. package/dist/collection/components/dropdown/resources.js +1 -1
  319. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  320. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  321. package/dist/collection/components/dropdown-group/resources.js +1 -1
  322. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  323. package/dist/collection/components/dropdown-item/resources.js +1 -1
  324. package/dist/collection/components/fab/fab.js +1 -1
  325. package/dist/collection/components/fab/resources.js +1 -1
  326. package/dist/collection/components/filter/filter.js +1 -1
  327. package/dist/collection/components/filter/resources.js +1 -1
  328. package/dist/collection/components/flow/flow.js +1 -1
  329. package/dist/collection/components/flow/interfaces.js +1 -1
  330. package/dist/collection/components/flow/resources.js +1 -1
  331. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  332. package/dist/collection/components/functional/Heading.js +1 -1
  333. package/dist/collection/components/graph/graph.js +1 -1
  334. package/dist/collection/components/graph/interfaces.js +1 -1
  335. package/dist/collection/components/graph/util.js +1 -1
  336. package/dist/collection/components/handle/handle.js +1 -1
  337. package/dist/collection/components/handle/resources.js +1 -1
  338. package/dist/collection/components/icon/icon.js +1 -1
  339. package/dist/collection/components/icon/resources.js +1 -1
  340. package/dist/collection/components/icon/utils.js +1 -1
  341. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  342. package/dist/collection/components/inline-editable/resources.js +1 -1
  343. package/dist/collection/components/input/input.js +1 -1
  344. package/dist/collection/components/input/interfaces.js +1 -1
  345. package/dist/collection/components/input/resources.js +1 -1
  346. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  347. package/dist/collection/components/input-message/input-message.js +1 -1
  348. package/dist/collection/components/input-message/interfaces.js +1 -1
  349. package/dist/collection/components/input-number/input-number.css +509 -0
  350. package/dist/collection/components/input-number/input-number.js +1251 -0
  351. package/dist/collection/components/input-number/interfaces.js +6 -0
  352. package/dist/collection/components/input-number/resources.js +27 -0
  353. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  354. package/dist/collection/components/interfaces.js +1 -1
  355. package/dist/collection/components/label/label.css +15 -10
  356. package/dist/collection/components/label/label.js +28 -1
  357. package/dist/collection/components/label/resources.js +1 -1
  358. package/dist/collection/components/link/link.js +1 -1
  359. package/dist/collection/components/list/list.js +1 -1
  360. package/dist/collection/components/list/resources.js +1 -1
  361. package/dist/collection/components/list-item/list-item.js +1 -1
  362. package/dist/collection/components/list-item/resources.js +1 -1
  363. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  364. package/dist/collection/components/list-item-group/resources.js +1 -1
  365. package/dist/collection/components/loader/loader.js +1 -1
  366. package/dist/collection/components/modal/interfaces.js +1 -1
  367. package/dist/collection/components/modal/modal.css +10 -5
  368. package/dist/collection/components/modal/modal.js +44 -12
  369. package/dist/collection/components/modal/resources.js +1 -1
  370. package/dist/collection/components/notice/notice.js +1 -1
  371. package/dist/collection/components/notice/resources.js +1 -1
  372. package/dist/collection/components/option/option.js +1 -1
  373. package/dist/collection/components/option-group/option-group.js +1 -1
  374. package/dist/collection/components/pagination/pagination.js +1 -1
  375. package/dist/collection/components/pagination/resources.js +1 -1
  376. package/dist/collection/components/panel/panel.js +1 -1
  377. package/dist/collection/components/panel/resources.js +1 -1
  378. package/dist/collection/components/pick-list/pick-list.js +1 -1
  379. package/dist/collection/components/pick-list/resources.js +1 -1
  380. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  381. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  382. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  383. package/dist/collection/components/pick-list-group/resources.js +1 -1
  384. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  385. package/dist/collection/components/pick-list-item/resources.js +1 -1
  386. package/dist/collection/components/popover/PopoverManager.js +1 -1
  387. package/dist/collection/components/popover/popover.js +1 -1
  388. package/dist/collection/components/popover/resources.js +1 -1
  389. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  390. package/dist/collection/components/progress/progress.js +1 -1
  391. package/dist/collection/components/radio-button/radio-button.js +1 -1
  392. package/dist/collection/components/radio-button/resources.js +1 -1
  393. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  394. package/dist/collection/components/radio-group/interfaces.js +1 -1
  395. package/dist/collection/components/radio-group/radio-group.js +1 -1
  396. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  397. package/dist/collection/components/radio-group-item/resources.js +1 -1
  398. package/dist/collection/components/rating/rating.js +1 -1
  399. package/dist/collection/components/rating/resources.js +1 -1
  400. package/dist/collection/components/scrim/resources.js +1 -1
  401. package/dist/collection/components/scrim/scrim.js +1 -1
  402. package/dist/collection/components/select/resources.js +1 -1
  403. package/dist/collection/components/select/select.js +1 -1
  404. package/dist/collection/components/shell/resources.js +1 -1
  405. package/dist/collection/components/shell/shell.js +1 -1
  406. package/dist/collection/components/shell-center-row/resources.js +1 -1
  407. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  408. package/dist/collection/components/shell-panel/resources.js +1 -1
  409. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  410. package/dist/collection/components/slider/slider.js +1 -1
  411. package/dist/collection/components/sortable-list/resources.js +1 -1
  412. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  413. package/dist/collection/components/split-button/resources.js +1 -1
  414. package/dist/collection/components/split-button/split-button.js +1 -1
  415. package/dist/collection/components/stepper/interfaces.js +1 -1
  416. package/dist/collection/components/stepper/stepper.js +1 -1
  417. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  418. package/dist/collection/components/switch/switch.js +1 -1
  419. package/dist/collection/components/tab/interfaces.js +1 -1
  420. package/dist/collection/components/tab/tab.js +1 -1
  421. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  422. package/dist/collection/components/tab-title/tab-title.js +1 -1
  423. package/dist/collection/components/tabs/interfaces.js +1 -1
  424. package/dist/collection/components/tabs/resources.js +1 -1
  425. package/dist/collection/components/tabs/tabs.js +1 -1
  426. package/dist/collection/components/tile/resources.js +1 -1
  427. package/dist/collection/components/tile/tile.js +1 -1
  428. package/dist/collection/components/tile-select/interfaces.js +1 -1
  429. package/dist/collection/components/tile-select/resources.js +1 -1
  430. package/dist/collection/components/tile-select/tile-select.js +1 -1
  431. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  432. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  433. package/dist/collection/components/time-picker/resources.js +1 -1
  434. package/dist/collection/components/time-picker/time-picker.js +1 -1
  435. package/dist/collection/components/tip/resources.js +1 -1
  436. package/dist/collection/components/tip/tip.js +1 -1
  437. package/dist/collection/components/tip-group/tip-group.js +1 -1
  438. package/dist/collection/components/tip-manager/resources.js +1 -1
  439. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  440. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  441. package/dist/collection/components/tooltip/resources.js +1 -1
  442. package/dist/collection/components/tooltip/tooltip.js +1 -1
  443. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  444. package/dist/collection/components/tree/interfaces.js +1 -1
  445. package/dist/collection/components/tree/tree.js +1 -1
  446. package/dist/collection/components/tree-item/interfaces.js +1 -1
  447. package/dist/collection/components/tree-item/resources.js +1 -1
  448. package/dist/collection/components/tree-item/tree-item.js +1 -1
  449. package/dist/collection/components/value-list/resources.js +1 -1
  450. package/dist/collection/components/value-list/value-list.js +1 -1
  451. package/dist/collection/components/value-list-item/resources.js +1 -1
  452. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  453. package/dist/collection/utils/array.js +1 -1
  454. package/dist/collection/utils/conditionalSlot.js +1 -1
  455. package/dist/collection/utils/date.js +1 -1
  456. package/dist/collection/utils/dom.js +1 -1
  457. package/dist/collection/utils/filter.js +1 -1
  458. package/dist/collection/utils/form.js +1 -1
  459. package/dist/collection/utils/globalAttributes.js +1 -1
  460. package/dist/collection/utils/guid.js +1 -1
  461. package/dist/collection/utils/interactive.js +1 -1
  462. package/dist/collection/utils/key.js +1 -1
  463. package/dist/collection/utils/label.js +1 -1
  464. package/dist/collection/utils/locale.js +1 -1
  465. package/dist/collection/utils/math.js +1 -1
  466. package/dist/collection/utils/number.js +1 -1
  467. package/dist/collection/utils/observers.js +1 -1
  468. package/dist/collection/utils/openCloseComponent.js +1 -1
  469. package/dist/collection/utils/popper.js +1 -1
  470. package/dist/collection/utils/resources.js +1 -1
  471. package/dist/collection/utils/time.js +1 -1
  472. package/dist/components/ExpandToggle.js +1 -1
  473. package/dist/components/Heading.js +1 -1
  474. package/dist/components/action-group.js +1 -1
  475. package/dist/components/action-menu.js +1 -1
  476. package/dist/components/action.js +1 -1
  477. package/dist/components/array.js +1 -1
  478. package/dist/components/button.js +3 -3
  479. package/dist/components/calcite-accordion-item.js +15 -5
  480. package/dist/components/calcite-accordion.js +1 -1
  481. package/dist/components/calcite-action-bar.js +1 -1
  482. package/dist/components/calcite-action-group.js +1 -1
  483. package/dist/components/calcite-action-menu.js +1 -1
  484. package/dist/components/calcite-action-pad.js +1 -1
  485. package/dist/components/calcite-action.js +1 -1
  486. package/dist/components/calcite-alert.js +1 -1
  487. package/dist/components/calcite-avatar.js +1 -1
  488. package/dist/components/calcite-block-section.js +1 -1
  489. package/dist/components/calcite-block.js +1 -1
  490. package/dist/components/calcite-button.js +1 -1
  491. package/dist/components/calcite-card.js +2 -2
  492. package/dist/components/calcite-checkbox.js +1 -1
  493. package/dist/components/calcite-chip.js +1 -1
  494. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  495. package/dist/components/calcite-color-picker-swatch.js +1 -1
  496. package/dist/components/calcite-color-picker.js +1 -1
  497. package/dist/components/calcite-combobox-item-group.js +1 -1
  498. package/dist/components/calcite-combobox-item.js +1 -1
  499. package/dist/components/calcite-combobox.js +46 -24
  500. package/dist/components/calcite-date-picker-day.js +1 -1
  501. package/dist/components/calcite-date-picker-month-header.js +1 -1
  502. package/dist/components/calcite-date-picker-month.js +1 -1
  503. package/dist/components/calcite-date-picker.js +1 -1
  504. package/dist/components/calcite-dropdown-group.js +1 -1
  505. package/dist/components/calcite-dropdown-item.js +1 -1
  506. package/dist/components/calcite-dropdown.js +1 -1
  507. package/dist/components/calcite-fab.js +1 -1
  508. package/dist/components/calcite-filter.js +1 -1
  509. package/dist/components/calcite-flow.js +1 -1
  510. package/dist/components/calcite-graph.js +1 -1
  511. package/dist/components/calcite-handle.js +1 -1
  512. package/dist/components/calcite-icon.js +1 -1
  513. package/dist/components/calcite-inline-editable.js +2 -2
  514. package/dist/components/calcite-input-date-picker.js +4 -4
  515. package/dist/components/calcite-input-message.js +1 -1
  516. package/dist/components/calcite-input-number.d.ts +11 -0
  517. package/dist/components/calcite-input-number.js +592 -0
  518. package/dist/components/calcite-input-time-picker.js +2 -2
  519. package/dist/components/calcite-input.js +1 -1
  520. package/dist/components/calcite-label.js +2 -2
  521. package/dist/components/calcite-link.js +1 -1
  522. package/dist/components/calcite-list-item-group.js +1 -1
  523. package/dist/components/calcite-list-item.js +1 -1
  524. package/dist/components/calcite-list.js +1 -1
  525. package/dist/components/calcite-loader.js +1 -1
  526. package/dist/components/calcite-modal.js +22 -12
  527. package/dist/components/calcite-notice.js +1 -1
  528. package/dist/components/calcite-option-group.js +1 -1
  529. package/dist/components/calcite-option.js +1 -1
  530. package/dist/components/calcite-pagination.js +1 -1
  531. package/dist/components/calcite-panel.js +1 -1
  532. package/dist/components/calcite-pick-list-group.js +1 -1
  533. package/dist/components/calcite-pick-list-item.js +1 -1
  534. package/dist/components/calcite-pick-list.js +1 -1
  535. package/dist/components/calcite-popover-manager.js +1 -1
  536. package/dist/components/calcite-popover.js +1 -1
  537. package/dist/components/calcite-progress.js +1 -1
  538. package/dist/components/calcite-radio-button-group.js +1 -1
  539. package/dist/components/calcite-radio-button.js +2 -2
  540. package/dist/components/calcite-radio-group-item.js +1 -1
  541. package/dist/components/calcite-radio-group.js +2 -2
  542. package/dist/components/calcite-rating.js +2 -2
  543. package/dist/components/calcite-scrim.js +1 -1
  544. package/dist/components/calcite-select.js +2 -2
  545. package/dist/components/calcite-shell-center-row.js +1 -1
  546. package/dist/components/calcite-shell-panel.js +1 -1
  547. package/dist/components/calcite-shell.js +1 -1
  548. package/dist/components/calcite-slider.js +3 -3
  549. package/dist/components/calcite-sortable-list.js +1 -1
  550. package/dist/components/calcite-split-button.js +1 -1
  551. package/dist/components/calcite-stepper-item.js +1 -1
  552. package/dist/components/calcite-stepper.js +1 -1
  553. package/dist/components/calcite-switch.js +1 -1
  554. package/dist/components/calcite-tab-nav.js +1 -1
  555. package/dist/components/calcite-tab-title.js +1 -1
  556. package/dist/components/calcite-tab.js +1 -1
  557. package/dist/components/calcite-tabs.js +1 -1
  558. package/dist/components/calcite-tile-select-group.js +1 -1
  559. package/dist/components/calcite-tile-select.js +1 -1
  560. package/dist/components/calcite-tile.js +1 -1
  561. package/dist/components/calcite-time-picker.js +1 -1
  562. package/dist/components/calcite-tip-group.js +1 -1
  563. package/dist/components/calcite-tip-manager.js +1 -1
  564. package/dist/components/calcite-tip.js +1 -1
  565. package/dist/components/calcite-tooltip-manager.js +1 -1
  566. package/dist/components/calcite-tooltip.js +2 -2
  567. package/dist/components/calcite-tree-item.js +2 -2
  568. package/dist/components/calcite-tree.js +1 -1
  569. package/dist/components/calcite-value-list-item.js +1 -1
  570. package/dist/components/calcite-value-list.js +1 -1
  571. package/dist/components/checkbox.js +2 -2
  572. package/dist/components/chip.js +1 -1
  573. package/dist/components/color-picker-hex-input.js +1 -1
  574. package/dist/components/color-picker-swatch.js +1 -1
  575. package/dist/components/conditionalSlot.js +1 -1
  576. package/dist/components/date-picker-day.js +1 -1
  577. package/dist/components/date-picker-month-header.js +2 -2
  578. package/dist/components/date-picker-month.js +1 -1
  579. package/dist/components/date-picker.js +1 -1
  580. package/dist/components/date.js +2 -2
  581. package/dist/components/debounce.js +1 -1
  582. package/dist/components/dom.js +2 -2
  583. package/dist/components/dropdown.js +33 -16
  584. package/dist/components/filter.js +1 -1
  585. package/dist/components/forIn.js +1 -1
  586. package/dist/components/form.js +2 -2
  587. package/dist/components/graph.js +1 -1
  588. package/dist/components/guid.js +1 -1
  589. package/dist/components/handle.js +1 -1
  590. package/dist/components/icon.js +1 -1
  591. package/dist/components/index.d.ts +5 -90
  592. package/dist/components/index.js +1 -91
  593. package/dist/components/input.js +2 -2
  594. package/dist/components/interactive.js +1 -1
  595. package/dist/components/interfaces.js +1 -1
  596. package/dist/components/interfaces2.js +1 -1
  597. package/dist/components/key.js +1 -1
  598. package/dist/components/label.js +112 -80
  599. package/dist/components/label2.js +87 -112
  600. package/dist/components/link.js +1 -1
  601. package/dist/components/loader.js +1 -1
  602. package/dist/components/locale.js +1 -1
  603. package/dist/components/math.js +1 -1
  604. package/dist/components/observers.js +1 -1
  605. package/dist/components/pick-list-item.js +1 -1
  606. package/dist/components/popover.js +2 -2
  607. package/dist/components/popper.js +2 -2
  608. package/dist/components/progress.js +1 -1
  609. package/dist/components/resources.js +1 -1
  610. package/dist/components/resources2.js +1 -1
  611. package/dist/components/resources3.js +1 -1
  612. package/dist/components/scrim.js +1 -1
  613. package/dist/components/shared-list-render.js +1 -1
  614. package/dist/components/sortable.esm.js +1 -1
  615. package/dist/components/switch.js +2 -2
  616. package/dist/components/tab-nav.js +2 -2
  617. package/dist/components/tab-title.js +1 -1
  618. package/dist/components/tab.js +1 -1
  619. package/dist/components/tabs.js +1 -1
  620. package/dist/components/tile.js +1 -1
  621. package/dist/components/time-picker.js +1 -1
  622. package/dist/components/utils.js +1 -1
  623. package/dist/components/utils2.js +1 -1
  624. package/dist/custom-elements/index.d.ts +6 -0
  625. package/dist/custom-elements/index.js +980 -405
  626. package/dist/esm/{ExpandToggle-d4acd022.js → ExpandToggle-ff0312ae.js} +5 -5
  627. package/dist/esm/{Heading-252785eb.js → Heading-2dd01e0b.js} +2 -2
  628. package/dist/esm/{array-bded6ddd.js → array-1a396234.js} +1 -1
  629. package/dist/esm/calcite-accordion_2.entry.js +17 -8
  630. package/dist/esm/calcite-action-bar.entry.js +10 -10
  631. package/dist/esm/calcite-action-group.entry.js +8 -8
  632. package/dist/esm/calcite-action-menu.entry.js +8 -8
  633. package/dist/esm/calcite-action-pad.entry.js +9 -9
  634. package/dist/esm/calcite-action.entry.js +6 -6
  635. package/dist/esm/calcite-alert.entry.js +5 -5
  636. package/dist/esm/calcite-avatar.entry.js +5 -5
  637. package/dist/esm/calcite-block_2.entry.js +8 -8
  638. package/dist/esm/calcite-button.entry.js +8 -8
  639. package/dist/esm/calcite-card.entry.js +6 -6
  640. package/dist/esm/calcite-checkbox.entry.js +7 -7
  641. package/dist/esm/calcite-chip.entry.js +6 -6
  642. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  643. package/dist/esm/calcite-combobox_3.entry.js +54 -33
  644. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  645. package/dist/esm/calcite-dropdown_3.entry.js +37 -21
  646. package/dist/esm/calcite-fab.entry.js +5 -5
  647. package/dist/esm/calcite-filter.entry.js +7 -7
  648. package/dist/esm/calcite-flow.entry.js +3 -3
  649. package/dist/esm/calcite-graph_2.entry.js +9 -9
  650. package/dist/esm/calcite-handle.entry.js +4 -4
  651. package/dist/esm/calcite-icon.entry.js +5 -5
  652. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  653. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  654. package/dist/esm/calcite-input-message.entry.js +4 -4
  655. package/dist/esm/calcite-input-number.entry.js +527 -0
  656. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  657. package/dist/esm/calcite-input.entry.js +11 -11
  658. package/dist/esm/calcite-label.entry.js +12 -6
  659. package/dist/esm/calcite-link.entry.js +5 -5
  660. package/dist/esm/calcite-list_3.entry.js +8 -8
  661. package/dist/esm/calcite-loader.entry.js +3 -3
  662. package/dist/esm/calcite-modal.entry.js +25 -16
  663. package/dist/esm/calcite-notice.entry.js +7 -7
  664. package/dist/esm/calcite-option_3.entry.js +8 -8
  665. package/dist/esm/calcite-pagination.entry.js +5 -5
  666. package/dist/esm/calcite-panel.entry.js +9 -9
  667. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  668. package/dist/esm/calcite-popover_2.entry.js +7 -7
  669. package/dist/esm/calcite-progress.entry.js +2 -2
  670. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  671. package/dist/esm/calcite-radio-button.entry.js +8 -8
  672. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  673. package/dist/esm/calcite-rating.entry.js +8 -8
  674. package/dist/esm/calcite-scrim.entry.js +2 -2
  675. package/dist/esm/calcite-shell_3.entry.js +7 -7
  676. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  677. package/dist/esm/calcite-split-button.entry.js +3 -3
  678. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  679. package/dist/esm/calcite-switch.entry.js +7 -7
  680. package/dist/esm/calcite-tab_4.entry.js +6 -6
  681. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  682. package/dist/esm/calcite-tile.entry.js +7 -7
  683. package/dist/esm/calcite-tip_3.entry.js +7 -7
  684. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  685. package/dist/esm/calcite-tree_2.entry.js +6 -6
  686. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  687. package/dist/esm/calcite.js +4 -4
  688. package/dist/esm/{conditionalSlot-8a611e76.js → conditionalSlot-dde7a1b0.js} +3 -3
  689. package/dist/esm/{debounce-17713200.js → debounce-063fdfaf.js} +1 -1
  690. package/dist/esm/{dom-3bc3e6f2.js → dom-fc734eee.js} +2 -2
  691. package/dist/esm/{forIn-3302954f.js → forIn-e2ab159c.js} +2 -2
  692. package/dist/esm/{form-cb292ed6.js → form-3cbdbe57.js} +3 -3
  693. package/dist/esm/{guid-5aa84743.js → guid-c8a2a54f.js} +1 -1
  694. package/dist/esm/{index-3ec30bad.js → index-a3bb1052.js} +1 -1
  695. package/dist/esm/index.js +1 -1
  696. package/dist/esm/{interactive-21921578.js → interactive-439f09f8.js} +1 -1
  697. package/dist/esm/{interfaces-3c2efb02.js → interfaces-04bb2845.js} +1 -1
  698. package/dist/esm/{key-02ae0e60.js → key-258681fb.js} +1 -1
  699. package/dist/esm/{label-3a519eed.js → label-0f5ad8c6.js} +2 -2
  700. package/dist/esm/loader.js +4 -4
  701. package/dist/esm/{locale-1e310e6f.js → locale-671abfd4.js} +2 -2
  702. package/dist/esm/{math-9da1254c.js → math-c1681dd0.js} +1 -1
  703. package/dist/esm/{observers-f302dd59.js → observers-d616c25a.js} +1 -1
  704. package/dist/esm/{popper-00afea1c.js → popper-a34dd610.js} +2 -2
  705. package/dist/esm/{resources-790145ca.js → resources-0f593b6f.js} +3 -3
  706. package/dist/esm/{resources-21dc5137.js → resources-1e228a4b.js} +1 -1
  707. package/dist/esm/{resources-3f5a19f3.js → resources-933857c3.js} +1 -1
  708. package/dist/esm/{resources-2eb35342.js → resources-a194ae6b.js} +5 -5
  709. package/dist/esm/{sortable.esm-86b33659.js → sortable.esm-f2b5f05a.js} +1 -1
  710. package/dist/esm/{utils-3bf99050.js → utils-2c4c9ab8.js} +1 -1
  711. package/dist/esm-es5/{ExpandToggle-d4acd022.js → ExpandToggle-ff0312ae.js} +2 -2
  712. package/dist/esm-es5/{Heading-252785eb.js → Heading-2dd01e0b.js} +2 -2
  713. package/dist/esm-es5/{array-bded6ddd.js → array-1a396234.js} +1 -1
  714. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  715. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  716. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  717. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  718. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  719. package/dist/esm-es5/calcite-action.entry.js +2 -2
  720. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  721. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  722. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  723. package/dist/esm-es5/calcite-button.entry.js +2 -2
  724. package/dist/esm-es5/calcite-card.entry.js +2 -2
  725. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  726. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  727. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  728. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  730. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  731. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  732. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  733. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  734. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  735. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  736. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  737. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  738. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  739. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  740. package/dist/esm-es5/calcite-input-number.entry.js +6 -0
  741. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  742. package/dist/esm-es5/calcite-input.entry.js +2 -2
  743. package/dist/esm-es5/calcite-label.entry.js +2 -2
  744. package/dist/esm-es5/calcite-link.entry.js +2 -2
  745. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  746. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  747. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  748. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  749. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  750. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  751. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  752. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  753. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  754. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  755. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  756. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  757. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  758. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  759. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  760. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  761. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  762. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  763. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  764. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  765. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  766. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  767. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  768. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  769. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  770. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  771. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  772. package/dist/esm-es5/calcite.js +2 -2
  773. package/dist/esm-es5/{conditionalSlot-8a611e76.js → conditionalSlot-dde7a1b0.js} +2 -2
  774. package/dist/esm-es5/{debounce-17713200.js → debounce-063fdfaf.js} +1 -1
  775. package/dist/esm-es5/{dom-3bc3e6f2.js → dom-fc734eee.js} +2 -2
  776. package/dist/esm-es5/{forIn-3302954f.js → forIn-e2ab159c.js} +2 -2
  777. package/dist/esm-es5/{form-cb292ed6.js → form-3cbdbe57.js} +2 -2
  778. package/dist/esm-es5/{guid-5aa84743.js → guid-c8a2a54f.js} +1 -1
  779. package/dist/esm-es5/{index-3ec30bad.js → index-a3bb1052.js} +1 -1
  780. package/dist/esm-es5/index.js +1 -1
  781. package/dist/esm-es5/{interactive-21921578.js → interactive-439f09f8.js} +1 -1
  782. package/dist/esm-es5/{interfaces-3c2efb02.js → interfaces-04bb2845.js} +1 -1
  783. package/dist/esm-es5/{key-02ae0e60.js → key-258681fb.js} +1 -1
  784. package/dist/esm-es5/{label-3a519eed.js → label-0f5ad8c6.js} +2 -2
  785. package/dist/esm-es5/loader.js +2 -2
  786. package/dist/esm-es5/{locale-1e310e6f.js → locale-671abfd4.js} +2 -2
  787. package/dist/esm-es5/{math-9da1254c.js → math-c1681dd0.js} +1 -1
  788. package/dist/esm-es5/{observers-f302dd59.js → observers-d616c25a.js} +1 -1
  789. package/dist/esm-es5/{popper-00afea1c.js → popper-a34dd610.js} +2 -2
  790. package/dist/esm-es5/{resources-790145ca.js → resources-0f593b6f.js} +2 -2
  791. package/dist/esm-es5/{resources-21dc5137.js → resources-1e228a4b.js} +1 -1
  792. package/dist/esm-es5/{resources-3f5a19f3.js → resources-933857c3.js} +1 -1
  793. package/dist/esm-es5/{resources-2eb35342.js → resources-a194ae6b.js} +2 -2
  794. package/dist/esm-es5/{sortable.esm-86b33659.js → sortable.esm-f2b5f05a.js} +1 -1
  795. package/dist/esm-es5/{utils-3bf99050.js → utils-2c4c9ab8.js} +1 -1
  796. package/dist/extras/docs-json.json +858 -71
  797. package/dist/loader/cdn.js +1 -1
  798. package/dist/loader/index.cjs.js +1 -1
  799. package/dist/loader/index.es2017.js +1 -1
  800. package/dist/loader/index.js +1 -1
  801. package/dist/types/components/accordion-item/accordion-item.d.ts +7 -1
  802. package/dist/types/components/combobox/combobox.d.ts +7 -1
  803. package/dist/types/components/dropdown/dropdown.d.ts +7 -1
  804. package/dist/types/components/input-number/input-number.d.ts +216 -0
  805. package/dist/types/components/input-number/interfaces.d.ts +1 -0
  806. package/dist/types/components/input-number/resources.d.ts +22 -0
  807. package/dist/types/components/label/label.d.ts +6 -0
  808. package/dist/types/components/modal/modal.d.ts +9 -3
  809. package/dist/types/components.d.ts +353 -6
  810. package/dist/types/preact.d.ts +7 -0
  811. package/hydrate/index.js +932 -444
  812. package/package.json +2 -2
  813. package/readme.md +2 -2
  814. package/dist/calcite/p-024eb16b.system.entry.js +0 -6
  815. package/dist/calcite/p-138c88a6.system.entry.js +0 -6
  816. package/dist/calcite/p-23441fd3.system.entry.js +0 -6
  817. package/dist/calcite/p-298f8c90.system.js +0 -6
  818. package/dist/calcite/p-428d25b3.entry.js +0 -6
  819. package/dist/calcite/p-9ad3c3f4.system.entry.js +0 -6
  820. package/dist/calcite/p-a1d2b979.entry.js +0 -6
  821. package/dist/calcite/p-a3f5192b.entry.js +0 -6
  822. package/dist/calcite/p-aad4f6d0.entry.js +0 -6
  823. package/dist/calcite/p-e8e9da27.entry.js +0 -6
  824. package/dist/calcite/p-ef130fda.js +0 -6
  825. package/dist/calcite/p-ef2be757.entry.js +0 -6
  826. package/dist/calcite/p-f382a06e.entry.js +0 -6
  827. package/dist/calcite/p-f388b1ee.system.js +0 -6
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.520
4
+ * v1.0.0-next.523
5
5
  */
6
6
  import { HTMLElement as HTMLElement$1, createEvent, h, Host, Build, forceUpdate, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
7
7
  export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
@@ -162,7 +162,7 @@ const CSS_UTILITY = {
162
162
  lightTheme,
163
163
  rtl: "calcite--rtl"
164
164
  };
165
- const TEXT$s = {
165
+ const TEXT$t = {
166
166
  loading: "Loading"
167
167
  };
168
168
 
@@ -343,7 +343,7 @@ function toAriaBoolean(value) {
343
343
  return Boolean(value).toString();
344
344
  }
345
345
 
346
- const accordionItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-color:transparent}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-heading,:host .accordion-item-description{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-description{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-heading,:host(:hover) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:hover) .accordion-item-description{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-heading,:host(:active) .accordion-item-heading,:host([active]) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:active) .accordion-item-description,:host([active]) .accordion-item-description{color:var(--calcite-ui-text-2)}";
346
+ const accordionItemCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-color:transparent}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]),:host([expanded]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content,:host([expanded]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header,:host([expanded]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon,:host([expanded]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon,:host([expanded]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-heading,:host .accordion-item-description{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-description{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-heading,:host(:hover) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:hover) .accordion-item-description{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-heading,:host(:active) .accordion-item-heading,:host([active]) .accordion-item-heading,:host([expanded]) .accordion-item-heading{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon,:host([expanded]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon,:host([expanded]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-description,:host(:active) .accordion-item-description,:host([active]) .accordion-item-description,:host([expanded]) .accordion-item-description{color:var(--calcite-ui-text-2)}";
347
347
 
348
348
  const AccordionItem = class extends HTMLElement$1 {
349
349
  constructor() {
@@ -359,8 +359,14 @@ const AccordionItem = class extends HTMLElement$1 {
359
359
  // Public Properties
360
360
  //
361
361
  //--------------------------------------------------------------------------
362
- /** When true, the component is active. */
362
+ /**
363
+ * When true, the component is active.
364
+ *
365
+ * @deprecated use expanded instead
366
+ */
363
367
  this.active = false;
368
+ /** When true, item is expanded */
369
+ this.expanded = false;
364
370
  //--------------------------------------------------------------------------
365
371
  //
366
372
  // Private State/Props
@@ -403,9 +409,9 @@ const AccordionItem = class extends HTMLElement$1 {
403
409
  ? "chevronDown"
404
410
  : this.iconType === "caret"
405
411
  ? "caretDown"
406
- : this.active
412
+ : this.expanded || this.active
407
413
  ? "minus"
408
- : "plus", scale: "s" })), h("div", { "aria-expanded": toAriaBoolean(this.active), "aria-labelledby": buttonId, class: "accordion-item-content", id: regionId, role: "region" }, h("slot", null)))));
414
+ : "plus", scale: "s" })), h("div", { "aria-expanded": toAriaBoolean(this.expanded || this.active), "aria-labelledby": buttonId, class: "accordion-item-content", id: regionId, role: "region" }, h("slot", null)))));
409
415
  }
410
416
  //--------------------------------------------------------------------------
411
417
  //
@@ -452,13 +458,16 @@ const AccordionItem = class extends HTMLElement$1 {
452
458
  case "multi":
453
459
  if (this.el === this.requestedAccordionItem) {
454
460
  this.active = !this.active;
461
+ this.expanded = !this.expanded;
455
462
  }
456
463
  break;
457
464
  case "single":
458
465
  this.active = this.el === this.requestedAccordionItem ? !this.active : false;
466
+ this.expanded = this.el === this.requestedAccordionItem ? !this.expanded : false;
459
467
  break;
460
468
  case "single-persist":
461
469
  this.active = this.el === this.requestedAccordionItem;
470
+ this.expanded = this.el === this.requestedAccordionItem;
462
471
  break;
463
472
  }
464
473
  }
@@ -474,7 +483,7 @@ const AccordionItem = class extends HTMLElement$1 {
474
483
  static get style() { return accordionItemCss; }
475
484
  };
476
485
 
477
- const CSS$P = {
486
+ const CSS$Q = {
478
487
  button: "button",
479
488
  buttonTextVisible: "button--text-visible",
480
489
  buttonCompact: "button--compact",
@@ -484,7 +493,7 @@ const CSS$P = {
484
493
  textContainer: "text-container",
485
494
  textContainerVisible: "text-container--visible"
486
495
  };
487
- const TEXT$r = {
496
+ const TEXT$s = {
488
497
  loading: "Loading"
489
498
  };
490
499
 
@@ -583,7 +592,7 @@ const Action = class extends HTMLElement$1 {
583
592
  *
584
593
  * @default "Loading"
585
594
  */
586
- this.intlLoading = TEXT$r.loading;
595
+ this.intlLoading = TEXT$s.loading;
587
596
  /**
588
597
  * When true, a busy indicator is displayed.
589
598
  */
@@ -642,8 +651,8 @@ const Action = class extends HTMLElement$1 {
642
651
  renderTextContainer() {
643
652
  const { text, textEnabled } = this;
644
653
  const textContainerClasses = {
645
- [CSS$P.textContainer]: true,
646
- [CSS$P.textContainerVisible]: textEnabled
654
+ [CSS$Q.textContainer]: true,
655
+ [CSS$Q.textContainerVisible]: textEnabled
647
656
  };
648
657
  return text ? (h("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
649
658
  }
@@ -657,18 +666,18 @@ const Action = class extends HTMLElement$1 {
657
666
  const iconNode = calciteLoaderNode || calciteIconNode;
658
667
  const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
659
668
  const slotContainerNode = (h("div", { class: {
660
- [CSS$P.slotContainer]: true,
661
- [CSS$P.slotContainerHidden]: loading
669
+ [CSS$Q.slotContainer]: true,
670
+ [CSS$Q.slotContainerHidden]: loading
662
671
  } }, h("slot", null)));
663
- return hasIconToDisplay ? (h("div", { "aria-hidden": "true", class: CSS$P.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
672
+ return hasIconToDisplay ? (h("div", { "aria-hidden": "true", class: CSS$Q.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
664
673
  }
665
674
  render() {
666
675
  const { compact, disabled, loading, textEnabled, label, text } = this;
667
676
  const ariaLabel = label || text;
668
677
  const buttonClasses = {
669
- [CSS$P.button]: true,
670
- [CSS$P.buttonTextVisible]: textEnabled,
671
- [CSS$P.buttonCompact]: compact
678
+ [CSS$Q.button]: true,
679
+ [CSS$Q.buttonTextVisible]: textEnabled,
680
+ [CSS$Q.buttonCompact]: compact
672
681
  };
673
682
  return (h(Host, { onClick: this.calciteActionClickHandler }, h("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
674
683
  }
@@ -676,11 +685,11 @@ const Action = class extends HTMLElement$1 {
676
685
  static get style() { return actionCss; }
677
686
  };
678
687
 
679
- const CSS$O = {
688
+ const CSS$P = {
680
689
  menu: "menu",
681
690
  defaultTrigger: "default-trigger"
682
691
  };
683
- const SLOTS$p = {
692
+ const SLOTS$q = {
684
693
  tooltip: "tooltip",
685
694
  trigger: "trigger"
686
695
  };
@@ -688,11 +697,11 @@ const ICONS$f = {
688
697
  menu: "ellipsis"
689
698
  };
690
699
 
691
- const SLOTS$o = {
700
+ const SLOTS$p = {
692
701
  menuActions: "menu-actions",
693
702
  menuTooltip: "menu-tooltip"
694
703
  };
695
- const TEXT$q = {
704
+ const TEXT$r = {
696
705
  more: "More"
697
706
  };
698
707
  const ICONS$e = {
@@ -708,7 +717,7 @@ const getOverflowCount = ({ actionCount, actionHeight, height, groupCount }) =>
708
717
  return Math.max(actionCount - getMaxActionCount({ height, actionHeight, groupCount }), 0);
709
718
  };
710
719
  const queryActions = (el) => {
711
- return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$p.trigger : true);
720
+ return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$q.trigger : true);
712
721
  };
713
722
  const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
714
723
  let needToSlotCount = overflowCount;
@@ -716,7 +725,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
716
725
  let slottedWithinGroupCount = 0;
717
726
  const groupActions = queryActions(group).reverse();
718
727
  groupActions.forEach((groupAction) => {
719
- if (groupAction.slot === SLOTS$o.menuActions) {
728
+ if (groupAction.slot === SLOTS$p.menuActions) {
720
729
  groupAction.removeAttribute("slot");
721
730
  groupAction.textEnabled = expanded;
722
731
  }
@@ -726,7 +735,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
726
735
  const unslottedActions = groupActions.filter((action) => !action.slot);
727
736
  if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
728
737
  groupAction.textEnabled = true;
729
- groupAction.setAttribute("slot", SLOTS$o.menuActions);
738
+ groupAction.setAttribute("slot", SLOTS$p.menuActions);
730
739
  slottedWithinGroupCount++;
731
740
  if (slottedWithinGroupCount > 1) {
732
741
  needToSlotCount--;
@@ -749,7 +758,7 @@ function getCalcitePosition(position, el) {
749
758
  }
750
759
  function toggleChildActionText({ parent, expanded }) {
751
760
  queryActions(parent)
752
- .filter((el) => el.slot !== SLOTS$o.menuActions)
761
+ .filter((el) => el.slot !== SLOTS$p.menuActions)
753
762
  .forEach((action) => (action.textEnabled = expanded));
754
763
  parent
755
764
  .querySelectorAll("calcite-action-group, calcite-action-menu")
@@ -778,14 +787,14 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
778
787
  return actionNode;
779
788
  };
780
789
 
781
- const CSS$N = {
790
+ const CSS$O = {
782
791
  actionGroupBottom: "action-group--bottom"
783
792
  };
784
- const SLOTS$n = {
793
+ const SLOTS$o = {
785
794
  bottomActions: "bottom-actions",
786
795
  expandTooltip: "expand-tooltip"
787
796
  };
788
- const TEXT$p = {
797
+ const TEXT$q = {
789
798
  expand: "Expand",
790
799
  collapse: "Collapse"
791
800
  };
@@ -2151,7 +2160,7 @@ const ActionBar = class extends HTMLElement$1 {
2151
2160
  const actions = queryActions(el);
2152
2161
  const actionCount = expandDisabled ? actions.length : actions.length + 1;
2153
2162
  const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
2154
- const groupCount = getSlotted(el, SLOTS$n.bottomActions) || !expandDisabled
2163
+ const groupCount = getSlotted(el, SLOTS$o.bottomActions) || !expandDisabled
2155
2164
  ? actionGroups.length + 1
2156
2165
  : actionGroups.length;
2157
2166
  const overflowCount = getOverflowCount({
@@ -2248,11 +2257,11 @@ const ActionBar = class extends HTMLElement$1 {
2248
2257
  // --------------------------------------------------------------------------
2249
2258
  renderBottomActionGroup() {
2250
2259
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
2251
- const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
2252
- const expandLabel = intlExpand || TEXT$p.expand;
2253
- const collapseLabel = intlCollapse || TEXT$p.collapse;
2260
+ const tooltip = getSlotted(el, SLOTS$o.expandTooltip);
2261
+ const expandLabel = intlExpand || TEXT$q.expand;
2262
+ const collapseLabel = intlCollapse || TEXT$q.collapse;
2254
2263
  const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
2255
- return getSlotted(el, SLOTS$n.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$N.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$n.bottomActions }), h("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
2264
+ return getSlotted(el, SLOTS$o.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$O.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$o.bottomActions }), h("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
2256
2265
  }
2257
2266
  render() {
2258
2267
  return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("slot", null), this.renderBottomActionGroup()));
@@ -2320,13 +2329,13 @@ const ActionGroup = class extends HTMLElement$1 {
2320
2329
  // --------------------------------------------------------------------------
2321
2330
  renderTooltip() {
2322
2331
  const { el } = this;
2323
- const hasTooltip = getSlotted(el, SLOTS$o.menuTooltip);
2324
- return hasTooltip ? h("slot", { name: SLOTS$o.menuTooltip, slot: SLOTS$p.tooltip }) : null;
2332
+ const hasTooltip = getSlotted(el, SLOTS$p.menuTooltip);
2333
+ return hasTooltip ? h("slot", { name: SLOTS$p.menuTooltip, slot: SLOTS$q.tooltip }) : null;
2325
2334
  }
2326
2335
  renderMenu() {
2327
2336
  const { el, expanded, intlMore, menuOpen, scale } = this;
2328
- const hasMenuItems = getSlotted(el, SLOTS$o.menuActions);
2329
- return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$q.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, h("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$p.trigger, text: intlMore || TEXT$q.more, textEnabled: expanded }), h("slot", { name: SLOTS$o.menuActions }), this.renderTooltip())) : null;
2337
+ const hasMenuItems = getSlotted(el, SLOTS$p.menuActions);
2338
+ return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$r.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, h("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$q.trigger, text: intlMore || TEXT$r.more, textEnabled: expanded }), h("slot", { name: SLOTS$p.menuActions }), this.renderTooltip())) : null;
2330
2339
  }
2331
2340
  render() {
2332
2341
  return (h(Fragment, null, h("slot", null), this.renderMenu()));
@@ -2386,7 +2395,7 @@ const ActionMenu = class extends HTMLElement$1 {
2386
2395
  // --------------------------------------------------------------------------
2387
2396
  this.connectMenuButtonEl = () => {
2388
2397
  const { el, menuButtonId, menuId, open, label } = this;
2389
- const menuButtonEl = getSlotted(el, SLOTS$p.trigger) || this.defaultMenuButtonEl;
2398
+ const menuButtonEl = getSlotted(el, SLOTS$q.trigger) || this.defaultMenuButtonEl;
2390
2399
  if (this.menuButtonEl === menuButtonEl) {
2391
2400
  return;
2392
2401
  }
@@ -2600,17 +2609,17 @@ const ActionMenu = class extends HTMLElement$1 {
2600
2609
  }
2601
2610
  renderMenuButton() {
2602
2611
  const { label, scale, expanded } = this;
2603
- const menuButtonSlot = (h("slot", { name: SLOTS$p.trigger }, h("calcite-action", { class: CSS$O.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
2612
+ const menuButtonSlot = (h("slot", { name: SLOTS$q.trigger }, h("calcite-action", { class: CSS$P.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
2604
2613
  return menuButtonSlot;
2605
2614
  }
2606
2615
  renderMenuItems() {
2607
2616
  const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
2608
2617
  const activeAction = actionElements[activeMenuItemIndex];
2609
2618
  const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
2610
- return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$O.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, onKeyUp: this.menuActionsContainerKeyUp, ref: (el) => (this.menuEl = el), role: "menu", tabIndex: -1 }, h("slot", null))));
2619
+ return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$P.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, onKeyUp: this.menuActionsContainerKeyUp, ref: (el) => (this.menuEl = el), role: "menu", tabIndex: -1 }, h("slot", null))));
2611
2620
  }
2612
2621
  render() {
2613
- return (h(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), h("slot", { name: SLOTS$p.tooltip, onSlotchange: this.updateTooltip })));
2622
+ return (h(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), h("slot", { name: SLOTS$q.tooltip, onSlotchange: this.updateTooltip })));
2614
2623
  }
2615
2624
  isValidKey(key, supportedKeys) {
2616
2625
  return !!supportedKeys.find((k) => k === key);
@@ -2624,15 +2633,15 @@ const ActionMenu = class extends HTMLElement$1 {
2624
2633
  static get style() { return actionMenuCss; }
2625
2634
  };
2626
2635
 
2627
- const CSS$M = {
2636
+ const CSS$N = {
2628
2637
  actionGroupBottom: "action-group--bottom",
2629
2638
  container: "container"
2630
2639
  };
2631
- const TEXT$o = {
2640
+ const TEXT$p = {
2632
2641
  expand: "Expand",
2633
2642
  collapse: "Collapse"
2634
2643
  };
2635
- const SLOTS$m = {
2644
+ const SLOTS$n = {
2636
2645
  expandTooltip: "expand-tooltip"
2637
2646
  };
2638
2647
 
@@ -2727,14 +2736,14 @@ const ActionPad = class extends HTMLElement$1 {
2727
2736
  // --------------------------------------------------------------------------
2728
2737
  renderBottomActionGroup() {
2729
2738
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
2730
- const tooltip = getSlotted(el, SLOTS$m.expandTooltip);
2731
- const expandLabel = intlExpand || TEXT$o.expand;
2732
- const collapseLabel = intlCollapse || TEXT$o.collapse;
2739
+ const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
2740
+ const expandLabel = intlExpand || TEXT$p.expand;
2741
+ const collapseLabel = intlCollapse || TEXT$p.collapse;
2733
2742
  const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
2734
- return expandToggleNode ? (h("calcite-action-group", { class: CSS$M.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$m.expandTooltip }), expandToggleNode)) : null;
2743
+ return expandToggleNode ? (h("calcite-action-group", { class: CSS$N.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
2735
2744
  }
2736
2745
  render() {
2737
- return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS$M.container }, h("slot", null), this.renderBottomActionGroup())));
2746
+ return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS$N.container }, h("slot", null), this.renderBottomActionGroup())));
2738
2747
  }
2739
2748
  get el() { return this; }
2740
2749
  static get watchers() { return {
@@ -2743,7 +2752,7 @@ const ActionPad = class extends HTMLElement$1 {
2743
2752
  static get style() { return actionPadCss; }
2744
2753
  };
2745
2754
 
2746
- const TEXT$n = {
2755
+ const TEXT$o = {
2747
2756
  intlClose: "Close"
2748
2757
  };
2749
2758
  const DURATIONS = {
@@ -2751,7 +2760,7 @@ const DURATIONS = {
2751
2760
  medium: 10000,
2752
2761
  fast: 6000
2753
2762
  };
2754
- const SLOTS$l = {
2763
+ const SLOTS$m = {
2755
2764
  title: "title",
2756
2765
  message: "message",
2757
2766
  link: "link"
@@ -2796,7 +2805,7 @@ const Alert = class extends HTMLElement$1 {
2796
2805
  *
2797
2806
  * @default "Close"
2798
2807
  */
2799
- this.intlClose = TEXT$n.intlClose;
2808
+ this.intlClose = TEXT$o.intlClose;
2800
2809
  /** Specifies the placement of the component */
2801
2810
  this.placement = "bottom";
2802
2811
  /** Specifies the size of the component. */
@@ -2891,7 +2900,7 @@ const Alert = class extends HTMLElement$1 {
2891
2900
  container: true,
2892
2901
  queued,
2893
2902
  [placement]: true
2894
- }, onTransitionEnd: this.transitionEnd, ref: this.setContainerDiv }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS$l.title }), h("slot", { name: SLOTS$l.message }), h("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
2903
+ }, onTransitionEnd: this.transitionEnd, ref: this.setContainerDiv }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS$m.title }), h("slot", { name: SLOTS$m.message }), h("slot", { name: SLOTS$m.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
2895
2904
  }
2896
2905
  // when an alert is opened or closed, update queue and determine active alert
2897
2906
  alertSync(event) {
@@ -3223,7 +3232,7 @@ const Avatar = class extends HTMLElement$1 {
3223
3232
  static get style() { return avatarCss; }
3224
3233
  };
3225
3234
 
3226
- const CSS$L = {
3235
+ const CSS$M = {
3227
3236
  article: "article",
3228
3237
  content: "content",
3229
3238
  headerContainer: "header-container",
@@ -3242,13 +3251,13 @@ const CSS$L = {
3242
3251
  invalid: "invalid",
3243
3252
  loading: "loading"
3244
3253
  };
3245
- const TEXT$m = {
3254
+ const TEXT$n = {
3246
3255
  collapse: "Collapse",
3247
3256
  expand: "Expand",
3248
3257
  loading: "Loading",
3249
3258
  options: "Options"
3250
3259
  };
3251
- const SLOTS$k = {
3260
+ const SLOTS$l = {
3252
3261
  icon: "icon",
3253
3262
  control: "control",
3254
3263
  headerMenuActions: "header-menu-actions"
@@ -3301,25 +3310,25 @@ const Block = class extends HTMLElement$1 {
3301
3310
  *
3302
3311
  * @default "Collapse"
3303
3312
  */
3304
- this.intlCollapse = TEXT$m.collapse;
3313
+ this.intlCollapse = TEXT$n.collapse;
3305
3314
  /**
3306
3315
  * Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
3307
3316
  *
3308
3317
  * @default "Expand"
3309
3318
  */
3310
- this.intlExpand = TEXT$m.expand;
3319
+ this.intlExpand = TEXT$n.expand;
3311
3320
  /**
3312
3321
  * string to override English loading text
3313
3322
  *
3314
3323
  * @default "Loading"
3315
3324
  */
3316
- this.intlLoading = TEXT$m.loading;
3325
+ this.intlLoading = TEXT$n.loading;
3317
3326
  /**
3318
3327
  * Text string used for the actions menu
3319
3328
  *
3320
3329
  * @default "Options"
3321
3330
  */
3322
- this.intlOptions = TEXT$m.options;
3331
+ this.intlOptions = TEXT$n.options;
3323
3332
  /**
3324
3333
  * When true, content is waiting to be loaded. This state shows a busy indicator.
3325
3334
  */
@@ -3374,32 +3383,32 @@ const Block = class extends HTMLElement$1 {
3374
3383
  const { el, status } = this;
3375
3384
  const showingLoadingStatus = this.loading && !this.open;
3376
3385
  const statusIcon = showingLoadingStatus ? ICONS$c.refresh : ICONS$c[status];
3377
- const hasIcon = getSlotted(el, SLOTS$k.icon) || statusIcon;
3378
- const iconEl = !statusIcon ? (h("slot", { key: "icon-slot", name: SLOTS$k.icon })) : (h("calcite-icon", { class: {
3379
- [CSS$L.statusIcon]: true,
3380
- [CSS$L.valid]: status == "valid",
3381
- [CSS$L.invalid]: status == "invalid",
3382
- [CSS$L.loading]: showingLoadingStatus
3386
+ const hasIcon = getSlotted(el, SLOTS$l.icon) || statusIcon;
3387
+ const iconEl = !statusIcon ? (h("slot", { key: "icon-slot", name: SLOTS$l.icon })) : (h("calcite-icon", { class: {
3388
+ [CSS$M.statusIcon]: true,
3389
+ [CSS$M.valid]: status == "valid",
3390
+ [CSS$M.invalid]: status == "invalid",
3391
+ [CSS$M.loading]: showingLoadingStatus
3383
3392
  }, icon: statusIcon, scale: "m" }));
3384
- return hasIcon ? h("div", { class: CSS$L.icon }, iconEl) : null;
3393
+ return hasIcon ? h("div", { class: CSS$M.icon }, iconEl) : null;
3385
3394
  }
3386
3395
  renderTitle() {
3387
3396
  const { heading, headingLevel, summary, description } = this;
3388
- return heading || summary || description ? (h("div", { class: CSS$L.title }, h(Heading, { class: CSS$L.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (h("div", { class: CSS$L.description }, summary || description)) : null)) : null;
3397
+ return heading || summary || description ? (h("div", { class: CSS$M.title }, h(Heading, { class: CSS$M.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (h("div", { class: CSS$M.description }, summary || description)) : null)) : null;
3389
3398
  }
3390
3399
  render() {
3391
3400
  const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
3392
- const toggleLabel = open ? intlCollapse || TEXT$m.collapse : intlExpand || TEXT$m.expand;
3393
- const headerContent = (h("header", { class: CSS$L.header }, this.renderIcon(), this.renderTitle()));
3394
- const hasControl = !!getSlotted(el, SLOTS$k.control);
3395
- const hasMenuActions = !!getSlotted(el, SLOTS$k.headerMenuActions);
3401
+ const toggleLabel = open ? intlCollapse || TEXT$n.collapse : intlExpand || TEXT$n.expand;
3402
+ const headerContent = (h("header", { class: CSS$M.header }, this.renderIcon(), this.renderTitle()));
3403
+ const hasControl = !!getSlotted(el, SLOTS$l.control);
3404
+ const hasMenuActions = !!getSlotted(el, SLOTS$l.headerMenuActions);
3396
3405
  const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
3397
3406
  const { guid } = this;
3398
3407
  const regionId = `${guid}-region`;
3399
3408
  const buttonId = `${guid}-button`;
3400
- const headerNode = (h("div", { class: CSS$L.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$L.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$L.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$L.controlContainer }, h("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$m.options }, h("slot", { name: SLOTS$k.headerMenuActions }))) : null));
3409
+ const headerNode = (h("div", { class: CSS$M.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$M.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$M.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$M.controlContainer }, h("slot", { name: SLOTS$l.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$n.options }, h("slot", { name: SLOTS$l.headerMenuActions }))) : null));
3401
3410
  return (h(Host, null, h("article", { "aria-busy": toAriaBoolean(loading), class: {
3402
- [CSS$L.article]: true
3411
+ [CSS$M.article]: true
3403
3412
  } }, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
3404
3413
  content: true,
3405
3414
  "content--spaced": !this.disablePadding
@@ -3409,7 +3418,7 @@ const Block = class extends HTMLElement$1 {
3409
3418
  static get style() { return blockCss; }
3410
3419
  };
3411
3420
 
3412
- const CSS$K = {
3421
+ const CSS$L = {
3413
3422
  content: "content",
3414
3423
  invalid: "invalid",
3415
3424
  toggle: "toggle",
@@ -3421,7 +3430,7 @@ const CSS$K = {
3421
3430
  statusIcon: "status-icon",
3422
3431
  valid: "valid"
3423
3432
  };
3424
- const TEXT$l = {
3433
+ const TEXT$m = {
3425
3434
  collapse: "Collapse",
3426
3435
  expand: "Expand"
3427
3436
  };
@@ -3479,9 +3488,9 @@ const BlockSection = class extends HTMLElement$1 {
3479
3488
  const { status } = this;
3480
3489
  const statusIcon = (_a = ICONS$b[status]) !== null && _a !== void 0 ? _a : false;
3481
3490
  const statusIconClasses = {
3482
- [CSS$K.statusIcon]: true,
3483
- [CSS$K.valid]: status == "valid",
3484
- [CSS$K.invalid]: status == "invalid"
3491
+ [CSS$L.statusIcon]: true,
3492
+ [CSS$L.valid]: status == "valid",
3493
+ [CSS$L.invalid]: status == "invalid"
3485
3494
  };
3486
3495
  return !!statusIcon ? (h("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
3487
3496
  }
@@ -3493,18 +3502,18 @@ const BlockSection = class extends HTMLElement$1 {
3493
3502
  : dir === "rtl"
3494
3503
  ? ICONS$b.menuClosedLeft
3495
3504
  : ICONS$b.menuClosedRight;
3496
- const toggleLabel = open ? intlCollapse || TEXT$l.collapse : intlExpand || TEXT$l.expand;
3505
+ const toggleLabel = open ? intlCollapse || TEXT$m.collapse : intlExpand || TEXT$m.expand;
3497
3506
  const { guid } = this;
3498
3507
  const regionId = `${guid}-region`;
3499
3508
  const buttonId = `${guid}-button`;
3500
3509
  const headerNode = toggleDisplay === "switch" ? (h("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
3501
- [CSS$K.toggle]: true,
3502
- [CSS$K.toggleSwitch]: true
3503
- }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, h("div", { class: CSS$K.toggleSwitchContent }, h("span", { class: CSS$K.toggleSwitchText }, text)), h("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (h("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
3504
- [CSS$K.sectionHeader]: true,
3505
- [CSS$K.toggle]: true
3506
- }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS$K.sectionHeaderText }, text), this.renderStatusIcon()));
3507
- return (h(Host, null, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$K.content, hidden: !open, id: regionId }, h("slot", null))));
3510
+ [CSS$L.toggle]: true,
3511
+ [CSS$L.toggleSwitch]: true
3512
+ }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, h("div", { class: CSS$L.toggleSwitchContent }, h("span", { class: CSS$L.toggleSwitchText }, text)), h("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (h("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
3513
+ [CSS$L.sectionHeader]: true,
3514
+ [CSS$L.toggle]: true
3515
+ }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS$L.sectionHeaderText }, text), this.renderStatusIcon()));
3516
+ return (h(Host, null, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$L.content, hidden: !open, id: regionId }, h("slot", null))));
3508
3517
  }
3509
3518
  get el() { return this; }
3510
3519
  static get style() { return blockSectionCss; }
@@ -3538,7 +3547,7 @@ const BlockSection = class extends HTMLElement$1 {
3538
3547
  }
3539
3548
  })(HTMLFormElement.prototype);
3540
3549
 
3541
- const CSS$J = {
3550
+ const CSS$K = {
3542
3551
  buttonLoader: "calcite-button--loader",
3543
3552
  content: "content",
3544
3553
  contentSlotted: "content--slotted",
@@ -3550,7 +3559,7 @@ const CSS$J = {
3550
3559
  iconStartEmpty: "icon-start-empty",
3551
3560
  iconEndEmpty: "icon-end-empty"
3552
3561
  };
3553
- const TEXT$k = {
3562
+ const TEXT$l = {
3554
3563
  loading: "Loading"
3555
3564
  };
3556
3565
 
@@ -3897,7 +3906,7 @@ const Button = class extends HTMLElement$1 {
3897
3906
  *
3898
3907
  * @default "Loading"
3899
3908
  */
3900
- this.intlLoading = TEXT$k.loading;
3909
+ this.intlLoading = TEXT$l.loading;
3901
3910
  /** optionally add a calcite-loader component to the button, disabling interaction. */
3902
3911
  this.loading = false;
3903
3912
  /** optionally add a round style to the button */
@@ -3969,14 +3978,14 @@ const Button = class extends HTMLElement$1 {
3969
3978
  render() {
3970
3979
  const childElType = this.href ? "a" : "button";
3971
3980
  const Tag = childElType;
3972
- const loaderNode = this.hasLoader ? (h("div", { class: CSS$J.buttonLoader }, h("calcite-loader", { active: true, class: this.loading ? CSS$J.loadingIn : CSS$J.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
3973
- const iconStartEl = (h("calcite-icon", { class: { [CSS$J.icon]: true, [CSS$J.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
3974
- const iconEndEl = (h("calcite-icon", { class: { [CSS$J.icon]: true, [CSS$J.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
3975
- const contentEl = (h("span", { class: CSS$J.content }, h("slot", null)));
3981
+ const loaderNode = this.hasLoader ? (h("div", { class: CSS$K.buttonLoader }, h("calcite-loader", { active: true, class: this.loading ? CSS$K.loadingIn : CSS$K.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
3982
+ const iconStartEl = (h("calcite-icon", { class: { [CSS$K.icon]: true, [CSS$K.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
3983
+ const iconEndEl = (h("calcite-icon", { class: { [CSS$K.icon]: true, [CSS$K.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
3984
+ const contentEl = (h("span", { class: CSS$K.content }, h("slot", null)));
3976
3985
  return (h(Tag, { "aria-label": getLabelText(this), class: {
3977
- [CSS$J.contentSlotted]: this.hasContent,
3978
- [CSS$J.iconStartEmpty]: !this.iconStart,
3979
- [CSS$J.iconEndEmpty]: !this.iconEnd
3986
+ [CSS$K.contentSlotted]: this.hasContent,
3987
+ [CSS$K.iconStartEmpty]: !this.iconStart,
3988
+ [CSS$K.iconEndEmpty]: !this.iconEnd
3980
3989
  }, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
3981
3990
  }
3982
3991
  //--------------------------------------------------------------------------
@@ -4017,7 +4026,7 @@ const Button = class extends HTMLElement$1 {
4017
4026
  static get style() { return buttonCss; }
4018
4027
  };
4019
4028
 
4020
- const CSS$I = {
4029
+ const CSS$J = {
4021
4030
  container: "container",
4022
4031
  header: "header",
4023
4032
  footer: "footer",
@@ -4026,14 +4035,14 @@ const CSS$I = {
4026
4035
  checkboxWrapper: "checkbox-wrapper",
4027
4036
  thumbnailWrapper: "thumbnail-wrapper"
4028
4037
  };
4029
- const SLOTS$j = {
4038
+ const SLOTS$k = {
4030
4039
  thumbnail: "thumbnail",
4031
4040
  title: "title",
4032
4041
  subtitle: "subtitle",
4033
4042
  footerLeading: "footer-leading",
4034
4043
  footerTrailing: "footer-trailing"
4035
4044
  };
4036
- const TEXT$j = {
4045
+ const TEXT$k = {
4037
4046
  select: "Select",
4038
4047
  deselect: "Deselect",
4039
4048
  loading: "Loading"
@@ -4063,19 +4072,19 @@ const Card = class extends HTMLElement$1 {
4063
4072
  *
4064
4073
  * @default "Loading"
4065
4074
  */
4066
- this.intlLoading = TEXT$j.loading;
4075
+ this.intlLoading = TEXT$k.loading;
4067
4076
  /**
4068
4077
  * string to override English select text for checkbox when selectable is true
4069
4078
  *
4070
4079
  * @default "Select"
4071
4080
  */
4072
- this.intlSelect = TEXT$j.select;
4081
+ this.intlSelect = TEXT$k.select;
4073
4082
  /**
4074
4083
  * string to override English deselect text for checkbox when selectable is true
4075
4084
  *
4076
4085
  * @default "Deselect"
4077
4086
  */
4078
- this.intlDeselect = TEXT$j.deselect;
4087
+ this.intlDeselect = TEXT$k.deselect;
4079
4088
  this.thumbnailPosition = "block-start";
4080
4089
  //--------------------------------------------------------------------------
4081
4090
  //
@@ -4114,32 +4123,32 @@ const Card = class extends HTMLElement$1 {
4114
4123
  render() {
4115
4124
  const thumbnailInline = this.thumbnailPosition.startsWith("inline");
4116
4125
  const thumbnailStart = this.thumbnailPosition.endsWith("start");
4117
- return (h("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), h("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$I.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), h("div", { class: "card-content" }, h("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
4126
+ return (h("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), h("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$J.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), h("div", { class: "card-content" }, h("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
4118
4127
  }
4119
4128
  selectCard() {
4120
4129
  this.selected = !this.selected;
4121
4130
  this.calciteCardSelect.emit();
4122
4131
  }
4123
4132
  renderThumbnail() {
4124
- return getSlotted(this.el, SLOTS$j.thumbnail) ? (h("section", { class: CSS$I.thumbnailWrapper }, h("slot", { name: SLOTS$j.thumbnail }))) : null;
4133
+ return getSlotted(this.el, SLOTS$k.thumbnail) ? (h("section", { class: CSS$J.thumbnailWrapper }, h("slot", { name: SLOTS$k.thumbnail }))) : null;
4125
4134
  }
4126
4135
  renderCheckbox() {
4127
4136
  const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
4128
- return (h("calcite-label", { class: CSS$I.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
4137
+ return (h("calcite-label", { class: CSS$J.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
4129
4138
  }
4130
4139
  renderHeader() {
4131
4140
  const { el } = this;
4132
- const title = getSlotted(el, SLOTS$j.title);
4133
- const subtitle = getSlotted(el, SLOTS$j.subtitle);
4141
+ const title = getSlotted(el, SLOTS$k.title);
4142
+ const subtitle = getSlotted(el, SLOTS$k.subtitle);
4134
4143
  const hasHeader = title || subtitle;
4135
- return hasHeader ? (h("header", { class: CSS$I.header }, h("slot", { name: SLOTS$j.title }), h("slot", { name: SLOTS$j.subtitle }))) : null;
4144
+ return hasHeader ? (h("header", { class: CSS$J.header }, h("slot", { name: SLOTS$k.title }), h("slot", { name: SLOTS$k.subtitle }))) : null;
4136
4145
  }
4137
4146
  renderFooter() {
4138
4147
  const { el } = this;
4139
- const leadingFooter = getSlotted(el, SLOTS$j.footerLeading);
4140
- const trailingFooter = getSlotted(el, SLOTS$j.footerTrailing);
4148
+ const leadingFooter = getSlotted(el, SLOTS$k.footerLeading);
4149
+ const trailingFooter = getSlotted(el, SLOTS$k.footerTrailing);
4141
4150
  const hasFooter = leadingFooter || trailingFooter;
4142
- return hasFooter ? (h("footer", { class: CSS$I.footer }, h("slot", { name: SLOTS$j.footerLeading }), h("slot", { name: SLOTS$j.footerTrailing }))) : null;
4151
+ return hasFooter ? (h("footer", { class: CSS$J.footer }, h("slot", { name: SLOTS$k.footerLeading }), h("slot", { name: SLOTS$k.footerTrailing }))) : null;
4143
4152
  }
4144
4153
  get el() { return this; }
4145
4154
  static get style() { return cardCss; }
@@ -4268,17 +4277,17 @@ const Checkbox = class extends HTMLElement$1 {
4268
4277
  static get style() { return checkboxCss; }
4269
4278
  };
4270
4279
 
4271
- const CSS$H = {
4280
+ const CSS$I = {
4272
4281
  title: "title",
4273
4282
  close: "close",
4274
4283
  imageContainer: "image-container",
4275
4284
  chipIcon: "chip-icon",
4276
4285
  closeIcon: "close-icon"
4277
4286
  };
4278
- const TEXT$i = {
4287
+ const TEXT$j = {
4279
4288
  close: "Close"
4280
4289
  };
4281
- const SLOTS$i = {
4290
+ const SLOTS$j = {
4282
4291
  image: "image"
4283
4292
  };
4284
4293
  const ICONS$a = {
@@ -4309,7 +4318,7 @@ const Chip = class extends HTMLElement$1 {
4309
4318
  *
4310
4319
  * @default "Close"
4311
4320
  */
4312
- this.dismissLabel = TEXT$i.close;
4321
+ this.dismissLabel = TEXT$j.close;
4313
4322
  /** flip the icon in rtl */
4314
4323
  this.iconFlipRtl = false;
4315
4324
  /** specify the scale of the chip, defaults to m */
@@ -4356,13 +4365,13 @@ const Chip = class extends HTMLElement$1 {
4356
4365
  //--------------------------------------------------------------------------
4357
4366
  renderChipImage() {
4358
4367
  const { el } = this;
4359
- const hasChipImage = getSlotted(el, SLOTS$i.image);
4360
- return hasChipImage ? (h("div", { class: CSS$H.imageContainer, key: "image" }, h("slot", { name: SLOTS$i.image }))) : null;
4368
+ const hasChipImage = getSlotted(el, SLOTS$j.image);
4369
+ return hasChipImage ? (h("div", { class: CSS$I.imageContainer, key: "image" }, h("slot", { name: SLOTS$j.image }))) : null;
4361
4370
  }
4362
4371
  render() {
4363
- const iconEl = (h("calcite-icon", { class: CSS$H.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
4364
- const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$H.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { class: CSS$H.closeIcon, icon: ICONS$a.close, scale: "s" })));
4365
- return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS$H.title, id: this.guid }, h("slot", null)), this.dismissible ? closeButton : null));
4372
+ const iconEl = (h("calcite-icon", { class: CSS$I.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
4373
+ const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$I.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { class: CSS$I.closeIcon, icon: ICONS$a.close, scale: "s" })));
4374
+ return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS$I.title, id: this.guid }, h("slot", null)), this.dismissible ? closeButton : null));
4366
4375
  }
4367
4376
  get el() { return this; }
4368
4377
  static get style() { return chipCss; }
@@ -6478,7 +6487,7 @@ function zeroArray(array, length) {
6478
6487
 
6479
6488
  var color = Color;
6480
6489
 
6481
- const CSS$G = {
6490
+ const CSS$H = {
6482
6491
  container: "container",
6483
6492
  controlSection: "control-section",
6484
6493
  hexOptions: "color-hex-options",
@@ -6516,7 +6525,7 @@ const HSV_LIMITS = {
6516
6525
  s: 100,
6517
6526
  v: 100
6518
6527
  };
6519
- const TEXT$h = {
6528
+ const TEXT$i = {
6520
6529
  b: "B",
6521
6530
  blue: "Blue",
6522
6531
  deleteColor: "Delete color",
@@ -6646,115 +6655,115 @@ const ColorPicker = class extends HTMLElement$1 {
6646
6655
  *
6647
6656
  * @default "B"
6648
6657
  */
6649
- this.intlB = TEXT$h.b;
6658
+ this.intlB = TEXT$i.b;
6650
6659
  /**
6651
6660
  * Label used for the blue channel description
6652
6661
  *
6653
6662
  * @default "Blue"
6654
6663
  */
6655
- this.intlBlue = TEXT$h.blue;
6664
+ this.intlBlue = TEXT$i.blue;
6656
6665
  /**
6657
6666
  * Label used for the delete color button.
6658
6667
  *
6659
6668
  * @default "Delete color"
6660
6669
  */
6661
- this.intlDeleteColor = TEXT$h.deleteColor;
6670
+ this.intlDeleteColor = TEXT$i.deleteColor;
6662
6671
  /**
6663
6672
  * Label used for the green channel
6664
6673
  *
6665
6674
  * @default "G"
6666
6675
  */
6667
- this.intlG = TEXT$h.g;
6676
+ this.intlG = TEXT$i.g;
6668
6677
  /**
6669
6678
  * Label used for the green channel description
6670
6679
  *
6671
6680
  * @default "Green"
6672
6681
  */
6673
- this.intlGreen = TEXT$h.green;
6682
+ this.intlGreen = TEXT$i.green;
6674
6683
  /**
6675
6684
  * Label used for the hue channel
6676
6685
  *
6677
6686
  * @default "H"
6678
6687
  */
6679
- this.intlH = TEXT$h.h;
6688
+ this.intlH = TEXT$i.h;
6680
6689
  /**
6681
6690
  * Label used for the HSV mode
6682
6691
  *
6683
6692
  * @default "HSV"
6684
6693
  */
6685
- this.intlHsv = TEXT$h.hsv;
6694
+ this.intlHsv = TEXT$i.hsv;
6686
6695
  /**
6687
6696
  * Label used for the hex input
6688
6697
  *
6689
6698
  * @default "Hex"
6690
6699
  */
6691
- this.intlHex = TEXT$h.hex;
6700
+ this.intlHex = TEXT$i.hex;
6692
6701
  /**
6693
6702
  * Label used for the hue channel description
6694
6703
  *
6695
6704
  * @default "Hue"
6696
6705
  */
6697
- this.intlHue = TEXT$h.hue;
6706
+ this.intlHue = TEXT$i.hue;
6698
6707
  /**
6699
6708
  * Label used for the hex input when there is no color selected.
6700
6709
  *
6701
6710
  * @default "No color"
6702
6711
  */
6703
- this.intlNoColor = TEXT$h.noColor;
6712
+ this.intlNoColor = TEXT$i.noColor;
6704
6713
  /**
6705
6714
  * Label used for the red channel
6706
6715
  *
6707
6716
  * @default "R"
6708
6717
  */
6709
- this.intlR = TEXT$h.r;
6718
+ this.intlR = TEXT$i.r;
6710
6719
  /**
6711
6720
  * Label used for the red channel description
6712
6721
  *
6713
6722
  * @default "Red"
6714
6723
  */
6715
- this.intlRed = TEXT$h.red;
6724
+ this.intlRed = TEXT$i.red;
6716
6725
  /**
6717
6726
  * Label used for the RGB mode
6718
6727
  *
6719
6728
  * @default "RGB"
6720
6729
  */
6721
- this.intlRgb = TEXT$h.rgb;
6730
+ this.intlRgb = TEXT$i.rgb;
6722
6731
  /**
6723
6732
  * Label used for the saturation channel
6724
6733
  *
6725
6734
  * @default "S"
6726
6735
  */
6727
- this.intlS = TEXT$h.s;
6736
+ this.intlS = TEXT$i.s;
6728
6737
  /**
6729
6738
  * Label used for the saturation channel description
6730
6739
  *
6731
6740
  * @default "Saturation"
6732
6741
  */
6733
- this.intlSaturation = TEXT$h.saturation;
6742
+ this.intlSaturation = TEXT$i.saturation;
6734
6743
  /**
6735
6744
  * Label used for the save color button.
6736
6745
  *
6737
6746
  * @default "Save color"
6738
6747
  */
6739
- this.intlSaveColor = TEXT$h.saveColor;
6748
+ this.intlSaveColor = TEXT$i.saveColor;
6740
6749
  /**
6741
6750
  * Label used for the saved colors section
6742
6751
  *
6743
6752
  * @default "Saved"
6744
6753
  */
6745
- this.intlSaved = TEXT$h.saved;
6754
+ this.intlSaved = TEXT$i.saved;
6746
6755
  /**
6747
6756
  * Label used for the value channel
6748
6757
  *
6749
6758
  * @default "V"
6750
6759
  */
6751
- this.intlV = TEXT$h.v;
6760
+ this.intlV = TEXT$i.v;
6752
6761
  /**
6753
6762
  * Label used for the
6754
6763
  *
6755
6764
  * @default "Value"
6756
6765
  */
6757
- this.intlValue = TEXT$h.value;
6766
+ this.intlValue = TEXT$i.value;
6758
6767
  /**
6759
6768
  * The scale of the color picker.
6760
6769
  */
@@ -7021,7 +7030,7 @@ const ColorPicker = class extends HTMLElement$1 {
7021
7030
  const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
7022
7031
  const active = channelMode === activeChannelMode;
7023
7032
  const label = channelMode === "rgb" ? intlRgb : intlHsv;
7024
- return (h("calcite-tab-title", { active: active, class: CSS$G.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
7033
+ return (h("calcite-tab-title", { active: active, class: CSS$H.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
7025
7034
  };
7026
7035
  this.renderChannelsTab = (channelMode) => {
7027
7036
  const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
@@ -7032,11 +7041,11 @@ const ColorPicker = class extends HTMLElement$1 {
7032
7041
  ? [intlRed, intlGreen, intlBlue]
7033
7042
  : [intlHue, intlSaturation, intlValue];
7034
7043
  const direction = getElementDir(this.el);
7035
- return (h("calcite-tab", { active: active, class: CSS$G.control, key: channelMode }, h("div", { class: CSS$G.channels, dir: "ltr" }, channels.map((channel, index) =>
7044
+ return (h("calcite-tab", { active: active, class: CSS$H.control, key: channelMode }, h("div", { class: CSS$H.channels, dir: "ltr" }, channels.map((channel, index) =>
7036
7045
  /* the channel container is ltr, so we apply the host's direction */
7037
7046
  this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
7038
7047
  };
7039
- this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$G.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
7048
+ this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$H.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
7040
7049
  this.deleteColor = () => {
7041
7050
  const colorToDelete = this.color.hex();
7042
7051
  const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
@@ -7139,7 +7148,7 @@ const ColorPicker = class extends HTMLElement$1 {
7139
7148
  this.shiftKeyChannelAdjustment = 0;
7140
7149
  const key = event.key;
7141
7150
  if ((key !== "ArrowUp" && key !== "ArrowDown") ||
7142
- !event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$G.channel); })) {
7151
+ !event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$H.channel); })) {
7143
7152
  return;
7144
7153
  }
7145
7154
  const { shiftKey } = event;
@@ -7210,20 +7219,20 @@ const ColorPicker = class extends HTMLElement$1 {
7210
7219
  const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
7211
7220
  const noColor = color === null;
7212
7221
  const vertical = scopeOrientation === "vertical";
7213
- return (h("div", { class: CSS$G.container }, h("div", { class: CSS$G.colorFieldAndSliderWrap }, h("canvas", { class: {
7214
- [CSS$G.colorFieldAndSlider]: true,
7215
- [CSS$G.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
7216
- }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$G.scope]: true, [CSS$G.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$G.scope]: true, [CSS$G.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
7217
- [CSS$G.controlSection]: true,
7218
- [CSS$G.section]: true
7219
- } }, hideHex ? null : (h("div", { class: CSS$G.hexOptions }, h("span", { class: {
7220
- [CSS$G.header]: true,
7221
- [CSS$G.headerHex]: true
7222
- } }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$G.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (h("calcite-tabs", { class: {
7223
- [CSS$G.colorModeContainer]: true,
7224
- [CSS$G.splitSection]: true
7225
- }, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS$G.savedColorsSection]: true, [CSS$G.section]: true } }, h("div", { class: CSS$G.header }, h("label", null, intlSaved), h("div", { class: CSS$G.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS$G.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), h("calcite-button", { appearance: "transparent", class: CSS$G.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (h("div", { class: CSS$G.savedColors }, [
7226
- ...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$G.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
7222
+ return (h("div", { class: CSS$H.container }, h("div", { class: CSS$H.colorFieldAndSliderWrap }, h("canvas", { class: {
7223
+ [CSS$H.colorFieldAndSlider]: true,
7224
+ [CSS$H.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
7225
+ }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$H.scope]: true, [CSS$H.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$H.scope]: true, [CSS$H.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
7226
+ [CSS$H.controlSection]: true,
7227
+ [CSS$H.section]: true
7228
+ } }, hideHex ? null : (h("div", { class: CSS$H.hexOptions }, h("span", { class: {
7229
+ [CSS$H.header]: true,
7230
+ [CSS$H.headerHex]: true
7231
+ } }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$H.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (h("calcite-tabs", { class: {
7232
+ [CSS$H.colorModeContainer]: true,
7233
+ [CSS$H.splitSection]: true
7234
+ }, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS$H.savedColorsSection]: true, [CSS$H.section]: true } }, h("div", { class: CSS$H.header }, h("label", null, intlSaved), h("div", { class: CSS$H.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS$H.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), h("calcite-button", { appearance: "transparent", class: CSS$H.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (h("div", { class: CSS$H.savedColors }, [
7235
+ ...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$H.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
7227
7236
  ])) : null))));
7228
7237
  }
7229
7238
  // --------------------------------------------------------------------------
@@ -7418,7 +7427,7 @@ const ColorPicker = class extends HTMLElement$1 {
7418
7427
  static get style() { return colorPickerCss; }
7419
7428
  };
7420
7429
 
7421
- const CSS$F = {
7430
+ const CSS$G = {
7422
7431
  container: "container",
7423
7432
  preview: "preview",
7424
7433
  input: "input"
@@ -7449,13 +7458,13 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
7449
7458
  *
7450
7459
  * @default "Hex"
7451
7460
  */
7452
- this.intlHex = TEXT$h.hex;
7461
+ this.intlHex = TEXT$i.hex;
7453
7462
  /**
7454
7463
  * Label used for the hex input when there is no color selected.
7455
7464
  *
7456
7465
  * @default "No color"
7457
7466
  */
7458
- this.intlNoColor = TEXT$h.noColor;
7467
+ this.intlNoColor = TEXT$i.noColor;
7459
7468
  /**
7460
7469
  * The component's scale.
7461
7470
  */
@@ -7549,7 +7558,7 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
7549
7558
  render() {
7550
7559
  const { intlHex, value } = this;
7551
7560
  const hexInputValue = this.formatForInternalInput(value);
7552
- return (h("div", { class: CSS$F.container }, h("calcite-input", { class: CSS$F.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS$F.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
7561
+ return (h("div", { class: CSS$G.container }, h("calcite-input", { class: CSS$G.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS$G.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
7553
7562
  }
7554
7563
  //--------------------------------------------------------------------------
7555
7564
  //
@@ -7608,7 +7617,7 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
7608
7617
  static get style() { return colorPickerHexInputCss; }
7609
7618
  };
7610
7619
 
7611
- const CSS$E = {
7620
+ const CSS$F = {
7612
7621
  swatch: "swatch",
7613
7622
  noColorIcon: "no-color-icon"
7614
7623
  };
@@ -7655,7 +7664,7 @@ const ColorPickerSwatch = class extends HTMLElement$1 {
7655
7664
  const hex = internalColor.hex();
7656
7665
  const theme = getThemeName(el);
7657
7666
  const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
7658
- return (h("svg", { class: CSS$E.swatch, xmlns: "http://www.w3.org/2000/svg" }, h("title", null, hex), h("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
7667
+ return (h("svg", { class: CSS$F.swatch, xmlns: "http://www.w3.org/2000/svg" }, h("title", null, hex), h("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
7659
7668
  }
7660
7669
  get el() { return this; }
7661
7670
  static get watchers() { return {
@@ -9508,7 +9517,7 @@ const popperMenuComputedPlacements = [
9508
9517
  "bottom",
9509
9518
  "bottom-end"
9510
9519
  ];
9511
- const CSS$D = {
9520
+ const CSS$E = {
9512
9521
  animation: "calcite-popper-anim",
9513
9522
  animationActive: "calcite-popper-anim--active"
9514
9523
  };
@@ -9561,7 +9570,7 @@ const defaultOffsetDistance = Math.ceil(hypotenuse(visiblePointerSize, visiblePo
9561
9570
  const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
9562
9571
  const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
9563
9572
  const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
9564
- const TEXT$g = {
9573
+ const TEXT$h = {
9565
9574
  removeTag: "Remove tag"
9566
9575
  };
9567
9576
 
@@ -9616,8 +9625,14 @@ const Combobox = class extends HTMLElement$1 {
9616
9625
  // Public Properties
9617
9626
  //
9618
9627
  //--------------------------------------------------------------------------
9619
- /** Opens or closes the combobox */
9628
+ /**
9629
+ * When true, opens the combobox
9630
+ *
9631
+ * @deprecated use open instead
9632
+ */
9620
9633
  this.active = false;
9634
+ /**When true, opens the combobox */
9635
+ this.open = false;
9621
9636
  /** Disable combobox input */
9622
9637
  this.disabled = false;
9623
9638
  /** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
@@ -9646,7 +9661,7 @@ const Combobox = class extends HTMLElement$1 {
9646
9661
  *
9647
9662
  * @default "Remove tag"
9648
9663
  */
9649
- this.intlRemoveTag = TEXT$g.removeTag;
9664
+ this.intlRemoveTag = TEXT$h.removeTag;
9650
9665
  this.internalValueChangeFlag = false;
9651
9666
  this.items = [];
9652
9667
  this.groupItems = [];
@@ -9691,8 +9706,9 @@ const Combobox = class extends HTMLElement$1 {
9691
9706
  this.addCustomChip(this.text, true);
9692
9707
  event.preventDefault();
9693
9708
  }
9694
- else if (this.active) {
9709
+ else if (this.open || this.active) {
9695
9710
  this.active = false;
9711
+ this.open = false;
9696
9712
  event.preventDefault();
9697
9713
  }
9698
9714
  break;
@@ -9709,9 +9725,10 @@ const Combobox = class extends HTMLElement$1 {
9709
9725
  }
9710
9726
  break;
9711
9727
  case "ArrowDown":
9712
- if (!this.active) {
9728
+ if (!(this.open || this.active)) {
9713
9729
  event.preventDefault();
9714
9730
  this.active = true;
9731
+ this.open = true;
9715
9732
  }
9716
9733
  this.shiftActiveItemIndex(1);
9717
9734
  if (!this.comboboxInViewport()) {
@@ -9722,11 +9739,12 @@ const Combobox = class extends HTMLElement$1 {
9722
9739
  if (!this.textInput.value) {
9723
9740
  event.preventDefault();
9724
9741
  this.active = true;
9742
+ this.open = true;
9725
9743
  this.shiftActiveItemIndex(1);
9726
9744
  }
9727
9745
  break;
9728
9746
  case "Home":
9729
- if (this.active) {
9747
+ if (this.open || this.active) {
9730
9748
  event.preventDefault();
9731
9749
  }
9732
9750
  this.updateActiveItemIndex(0);
@@ -9736,7 +9754,7 @@ const Combobox = class extends HTMLElement$1 {
9736
9754
  }
9737
9755
  break;
9738
9756
  case "End":
9739
- if (this.active) {
9757
+ if (this.open || this.active) {
9740
9758
  event.preventDefault();
9741
9759
  }
9742
9760
  this.updateActiveItemIndex(this.visibleItems.length - 1);
@@ -9747,6 +9765,7 @@ const Combobox = class extends HTMLElement$1 {
9747
9765
  break;
9748
9766
  case "Escape":
9749
9767
  this.active = false;
9768
+ this.open = false;
9750
9769
  break;
9751
9770
  case "Enter":
9752
9771
  if (this.activeItemIndex > -1) {
@@ -9775,15 +9794,17 @@ const Combobox = class extends HTMLElement$1 {
9775
9794
  };
9776
9795
  this.toggleCloseEnd = () => {
9777
9796
  this.active = false;
9797
+ this.open = false;
9778
9798
  this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
9779
9799
  };
9780
9800
  this.toggleOpenEnd = () => {
9781
9801
  this.active = true;
9802
+ this.open = false;
9782
9803
  this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
9783
9804
  };
9784
9805
  this.transitionEnd = (event) => {
9785
9806
  if (event.propertyName === this.activeTransitionProp) {
9786
- this.active ? this.onOpen() : this.onClose();
9807
+ this.open || this.active ? this.onOpen() : this.onClose();
9787
9808
  }
9788
9809
  };
9789
9810
  /* *
@@ -9792,12 +9813,13 @@ const Combobox = class extends HTMLElement$1 {
9792
9813
  */
9793
9814
  this.transitionRunHandler = (event) => {
9794
9815
  if (event.propertyName === this.activeTransitionProp) {
9795
- this.active ? this.onBeforeOpen() : this.onBeforeClose();
9816
+ this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
9796
9817
  }
9797
9818
  };
9798
9819
  this.setMaxScrollerHeight = async () => {
9799
- const { active, listContainerEl } = this;
9800
- if (!listContainerEl || !active) {
9820
+ const { active, listContainerEl, open } = this;
9821
+ const isOpen = !(active || open);
9822
+ if (!listContainerEl || isOpen) {
9801
9823
  return;
9802
9824
  }
9803
9825
  await this.reposition();
@@ -9807,6 +9829,7 @@ const Combobox = class extends HTMLElement$1 {
9807
9829
  };
9808
9830
  this.calciteChipDismissHandler = (event, comboboxItem) => {
9809
9831
  this.active = false;
9832
+ this.open = false;
9810
9833
  const selection = this.items.find((item) => item === comboboxItem);
9811
9834
  if (selection) {
9812
9835
  this.toggleSelection(selection, false);
@@ -9818,12 +9841,14 @@ const Combobox = class extends HTMLElement$1 {
9818
9841
  return;
9819
9842
  }
9820
9843
  this.active = !this.active;
9844
+ this.open = !this.open;
9821
9845
  this.updateActiveItemIndex(0);
9822
9846
  this.setFocus();
9823
9847
  };
9824
9848
  this.setInactiveIfNotContained = (event) => {
9825
9849
  const composedPath = event.composedPath();
9826
- if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
9850
+ const isOpen = !(this.open || this.active);
9851
+ if (isOpen || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
9827
9852
  return;
9828
9853
  }
9829
9854
  if (this.allowCustomValues && this.text.trim().length) {
@@ -9838,6 +9863,7 @@ const Combobox = class extends HTMLElement$1 {
9838
9863
  this.updateActiveItemIndex(-1);
9839
9864
  }
9840
9865
  this.active = false;
9866
+ this.open = false;
9841
9867
  };
9842
9868
  this.setMenuEl = (el) => {
9843
9869
  this.menuEl = el;
@@ -9929,6 +9955,7 @@ const Combobox = class extends HTMLElement$1 {
9929
9955
  activeHandler() {
9930
9956
  if (this.disabled) {
9931
9957
  this.active = false;
9958
+ this.open = false;
9932
9959
  return;
9933
9960
  }
9934
9961
  this.setMaxScrollerHeight();
@@ -9936,6 +9963,7 @@ const Combobox = class extends HTMLElement$1 {
9936
9963
  handleDisabledChange(value) {
9937
9964
  if (!value) {
9938
9965
  this.active = false;
9966
+ this.open = false;
9939
9967
  }
9940
9968
  }
9941
9969
  maxItemsHandler() {
@@ -10079,7 +10107,7 @@ const Combobox = class extends HTMLElement$1 {
10079
10107
  };
10080
10108
  const eventListenerModifier = {
10081
10109
  name: "eventListeners",
10082
- enabled: this.active
10110
+ enabled: this.open || this.active
10083
10111
  };
10084
10112
  return [flipModifier, eventListenerModifier];
10085
10113
  }
@@ -10157,6 +10185,7 @@ const Combobox = class extends HTMLElement$1 {
10157
10185
  this.textInput.value = item.textLabel;
10158
10186
  }
10159
10187
  this.active = false;
10188
+ this.open = false;
10160
10189
  this.updateActiveItemIndex(-1);
10161
10190
  this.resetText();
10162
10191
  this.filterItems("");
@@ -10339,10 +10368,10 @@ const Combobox = class extends HTMLElement$1 {
10339
10368
  });
10340
10369
  }
10341
10370
  renderInput() {
10342
- const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
10371
+ const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems, open } = this;
10343
10372
  const single = selectionMode === "single";
10344
10373
  const selectedItem = selectedItems[0];
10345
- const showLabel = !active && single && !!selectedItem;
10374
+ const showLabel = !(open || active) && single && !!selectedItem;
10346
10375
  return (h("span", { class: {
10347
10376
  "input-wrap": true,
10348
10377
  "input-wrap--single": single
@@ -10361,13 +10390,13 @@ const Combobox = class extends HTMLElement$1 {
10361
10390
  return this.visibleItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
10362
10391
  }
10363
10392
  renderPopperContainer() {
10364
- const { active, setMenuEl, setListContainerEl } = this;
10393
+ const { active, setMenuEl, setListContainerEl, open } = this;
10365
10394
  const classes = {
10366
10395
  "list-container": true,
10367
- [CSS$D.animation]: true,
10368
- [CSS$D.animationActive]: active
10396
+ [CSS$E.animation]: true,
10397
+ [CSS$E.animationActive]: open || active
10369
10398
  };
10370
- return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !active } }, h("slot", null)))));
10399
+ return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": open || active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !(open || active) } }, h("slot", null)))));
10371
10400
  }
10372
10401
  renderIconStart() {
10373
10402
  var _a;
@@ -10378,21 +10407,22 @@ const Combobox = class extends HTMLElement$1 {
10378
10407
  ((selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) || placeholderIcon) && (h("span", { class: "icon-start" }, h("calcite-icon", { class: "selected-icon", icon: (_a = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) !== null && _a !== void 0 ? _a : placeholderIcon, scale: "s" }))));
10379
10408
  }
10380
10409
  renderIconEnd() {
10381
- const { active } = this;
10382
- return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active ? "chevron-up" : "chevron-down", scale: "s" })));
10410
+ const { active, open } = this;
10411
+ return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active || open ? "chevron-up" : "chevron-down", scale: "s" })));
10383
10412
  }
10384
10413
  render() {
10385
- const { active, guid, label } = this;
10414
+ const { active, guid, label, open } = this;
10386
10415
  const single = this.selectionMode === "single";
10387
- return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
10416
+ return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(open || active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
10388
10417
  wrapper: true,
10389
10418
  "wrapper--single": single || !this.selectedItems.length,
10390
- "wrapper--active": active
10419
+ "wrapper--active": open || active
10391
10420
  }, onClick: this.clickHandler, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
10392
10421
  }
10393
10422
  get el() { return this; }
10394
10423
  static get watchers() { return {
10395
10424
  "active": ["activeHandler"],
10425
+ "open": ["activeHandler"],
10396
10426
  "disabled": ["handleDisabledChange"],
10397
10427
  "maxItems": ["maxItemsHandler"],
10398
10428
  "value": ["valueHandler"],
@@ -10403,7 +10433,7 @@ const Combobox = class extends HTMLElement$1 {
10403
10433
  static get style() { return comboboxCss; }
10404
10434
  };
10405
10435
 
10406
- const CSS$C = {
10436
+ const CSS$D = {
10407
10437
  icon: "icon",
10408
10438
  iconActive: "icon--active",
10409
10439
  custom: "icon--custom",
@@ -10494,18 +10524,18 @@ const ComboboxItem = class extends HTMLElement$1 {
10494
10524
  // --------------------------------------------------------------------------
10495
10525
  renderIcon(isSingle) {
10496
10526
  const { icon, disabled, selected } = this;
10497
- const level = `${CSS$C.icon}--indent`;
10527
+ const level = `${CSS$D.icon}--indent`;
10498
10528
  const defaultIcon = isSingle ? "dot" : "check";
10499
10529
  const iconPath = disabled ? "circle-disallowed" : defaultIcon;
10500
10530
  const showDot = isSingle && !icon && !disabled;
10501
10531
  return showDot ? (h("span", { class: {
10502
- [CSS$C.icon]: true,
10503
- [CSS$C.dot]: true,
10532
+ [CSS$D.icon]: true,
10533
+ [CSS$D.dot]: true,
10504
10534
  [level]: true
10505
10535
  } })) : (h("calcite-icon", { class: {
10506
- [CSS$C.icon]: !icon,
10507
- [CSS$C.custom]: !!icon,
10508
- [CSS$C.iconActive]: icon && selected,
10536
+ [CSS$D.icon]: !icon,
10537
+ [CSS$D.custom]: !!icon,
10538
+ [CSS$D.iconActive]: icon && selected,
10509
10539
  [level]: true
10510
10540
  }, icon: icon || iconPath, scale: "s" }));
10511
10541
  }
@@ -10518,13 +10548,13 @@ const ComboboxItem = class extends HTMLElement$1 {
10518
10548
  render() {
10519
10549
  const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
10520
10550
  const classes = {
10521
- [CSS$C.label]: true,
10522
- [CSS$C.selected]: this.selected,
10523
- [CSS$C.active]: this.active,
10524
- [CSS$C.single]: isSingleSelect
10551
+ [CSS$D.label]: true,
10552
+ [CSS$D.selected]: this.selected,
10553
+ [CSS$D.active]: this.active,
10554
+ [CSS$D.single]: isSingleSelect
10525
10555
  };
10526
10556
  const depth = getDepth(this.el);
10527
- return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), h("span", { class: CSS$C.title }, this.textLabel)), this.renderChildren())));
10557
+ return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), h("span", { class: CSS$D.title }, this.textLabel)), this.renderChildren())));
10528
10558
  }
10529
10559
  get el() { return this; }
10530
10560
  static get watchers() { return {
@@ -10533,7 +10563,7 @@ const ComboboxItem = class extends HTMLElement$1 {
10533
10563
  static get style() { return comboboxItemCss; }
10534
10564
  };
10535
10565
 
10536
- const CSS$B = {
10566
+ const CSS$C = {
10537
10567
  list: "list",
10538
10568
  label: "label",
10539
10569
  title: "title"
@@ -10565,8 +10595,8 @@ const ComboboxItemGroup = class extends HTMLElement$1 {
10565
10595
  // --------------------------------------------------------------------------
10566
10596
  render() {
10567
10597
  const { el, scale } = this;
10568
- const indent = `${CSS$B.label}--indent-${getDepth(el)}`;
10569
- return (h("ul", { "aria-labelledby": this.guid, class: { [CSS$B.list]: true, [`scale--${scale}`]: true }, role: "group" }, h("li", { class: { [CSS$B.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, h("span", { class: CSS$B.title }, this.label)), h("slot", null)));
10598
+ const indent = `${CSS$C.label}--indent-${getDepth(el)}`;
10599
+ return (h("ul", { "aria-labelledby": this.guid, class: { [CSS$C.list]: true, [`scale--${scale}`]: true }, role: "group" }, h("li", { class: { [CSS$C.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, h("span", { class: CSS$C.title }, this.label)), h("slot", null)));
10570
10600
  }
10571
10601
  get el() { return this; }
10572
10602
  static get style() { return comboboxItemGroupCss; }
@@ -11071,7 +11101,7 @@ function getDaysDiff(date1, date2) {
11071
11101
  }
11072
11102
 
11073
11103
  const HEADING_LEVEL$6 = 2;
11074
- const TEXT$f = {
11104
+ const TEXT$g = {
11075
11105
  nextMonth: "Next month",
11076
11106
  prevMonth: "Previous month",
11077
11107
  year: "Year"
@@ -11091,19 +11121,19 @@ const DatePicker = class extends HTMLElement$1 {
11091
11121
  *
11092
11122
  * @default "Previous month"
11093
11123
  */
11094
- this.intlPrevMonth = TEXT$f.prevMonth;
11124
+ this.intlPrevMonth = TEXT$g.prevMonth;
11095
11125
  /**
11096
11126
  * Localized string for "next month" (used for aria label)
11097
11127
  *
11098
11128
  * @default "Next month"
11099
11129
  */
11100
- this.intlNextMonth = TEXT$f.nextMonth;
11130
+ this.intlNextMonth = TEXT$g.nextMonth;
11101
11131
  /**
11102
11132
  * Localized string for "year" (used for aria label)
11103
11133
  *
11104
11134
  * @default "Year"
11105
11135
  */
11106
- this.intlYear = TEXT$f.year;
11136
+ this.intlYear = TEXT$g.year;
11107
11137
  /** BCP 47 language tag for desired language and country format */
11108
11138
  this.locale = document.documentElement.lang || "en";
11109
11139
  /** specify the scale of the date picker */
@@ -12033,11 +12063,11 @@ const DatePickerMonthHeader = class extends HTMLElement$1 {
12033
12063
  static get style() { return datePickerMonthHeaderCss; }
12034
12064
  };
12035
12065
 
12036
- const SLOTS$h = {
12066
+ const SLOTS$i = {
12037
12067
  dropdownTrigger: "dropdown-trigger"
12038
12068
  };
12039
12069
 
12040
- const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
12070
+ const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper,:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
12041
12071
 
12042
12072
  const Dropdown = class extends HTMLElement$1 {
12043
12073
  constructor() {
@@ -12054,8 +12084,14 @@ const Dropdown = class extends HTMLElement$1 {
12054
12084
  // Public Properties
12055
12085
  //
12056
12086
  //--------------------------------------------------------------------------
12057
- /** Opens or closes the dropdown */
12087
+ /**
12088
+ * Opens or closes the dropdown
12089
+ *
12090
+ * @deprecated use open instead.
12091
+ */
12058
12092
  this.active = false;
12093
+ /** When true, opens the dropdown */
12094
+ this.open = false;
12059
12095
  /**
12060
12096
  allow the dropdown to remain open after a selection is made
12061
12097
  if the selection-mode of the selected item's containing group is "none", the dropdown will always close
@@ -12142,8 +12178,9 @@ const Dropdown = class extends HTMLElement$1 {
12142
12178
  scrollerEl.style.minWidth = `${referenceElWidth}px`;
12143
12179
  };
12144
12180
  this.setMaxScrollerHeight = () => {
12145
- const { active, scrollerEl } = this;
12146
- if (!scrollerEl || !active) {
12181
+ const { active, scrollerEl, open } = this;
12182
+ const isOpen = !(active || open);
12183
+ if (!scrollerEl || isOpen) {
12147
12184
  return;
12148
12185
  }
12149
12186
  this.reposition();
@@ -12158,12 +12195,14 @@ const Dropdown = class extends HTMLElement$1 {
12158
12195
  };
12159
12196
  this.transitionEnd = (event) => {
12160
12197
  if (event.propertyName === this.activeTransitionProp) {
12161
- this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
12198
+ this.open || this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
12162
12199
  }
12163
12200
  };
12164
12201
  this.transitionRunHandler = (event) => {
12165
12202
  if (event.propertyName === this.activeTransitionProp) {
12166
- this.active ? this.emitOpenCloseEvent("beforeOpen") : this.emitOpenCloseEvent("beforeClose");
12203
+ this.active || this.open
12204
+ ? this.emitOpenCloseEvent("beforeOpen")
12205
+ : this.emitOpenCloseEvent("beforeClose");
12167
12206
  }
12168
12207
  };
12169
12208
  this.setReferenceEl = (el) => {
@@ -12179,7 +12218,7 @@ const Dropdown = class extends HTMLElement$1 {
12179
12218
  return;
12180
12219
  }
12181
12220
  const key = e.key;
12182
- if (this.active && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
12221
+ if ((this.open || this.active) && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
12183
12222
  this.closeCalciteDropdown();
12184
12223
  return;
12185
12224
  }
@@ -12202,7 +12241,8 @@ const Dropdown = class extends HTMLElement$1 {
12202
12241
  };
12203
12242
  this.openCalciteDropdown = () => {
12204
12243
  this.active = !this.active;
12205
- if (this.active) {
12244
+ this.open = !this.open;
12245
+ if (this.active || this.open) {
12206
12246
  this.el.addEventListener("calciteDropdownOpen", this.toggleOpenEnd);
12207
12247
  }
12208
12248
  };
@@ -12213,10 +12253,12 @@ const Dropdown = class extends HTMLElement$1 {
12213
12253
  return;
12214
12254
  }
12215
12255
  this.active = false;
12256
+ this.open = false;
12216
12257
  }
12217
12258
  handleDisabledChange(value) {
12218
12259
  if (!value) {
12219
12260
  this.active = false;
12261
+ this.open = false;
12220
12262
  }
12221
12263
  }
12222
12264
  flipPlacementsHandler() {
@@ -12255,12 +12297,12 @@ const Dropdown = class extends HTMLElement$1 {
12255
12297
  }
12256
12298
  }
12257
12299
  render() {
12258
- const { active } = this;
12259
- return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active), "aria-haspopup": "true", name: SLOTS$h.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!active), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
12300
+ const { active, open } = this;
12301
+ return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "true", name: SLOTS$i.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
12260
12302
  ["calcite-dropdown-content"]: true,
12261
- [CSS$D.animation]: true,
12262
- [CSS$D.animationActive]: active
12263
- }, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !this.active }, h("slot", { onSlotchange: this.updateGroups }))))));
12303
+ [CSS$E.animation]: true,
12304
+ [CSS$E.animationActive]: active || open
12305
+ }, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !(open || active) }, h("slot", { onSlotchange: this.updateGroups }))))));
12264
12306
  }
12265
12307
  //--------------------------------------------------------------------------
12266
12308
  //
@@ -12281,7 +12323,8 @@ const Dropdown = class extends HTMLElement$1 {
12281
12323
  : this.createPopper();
12282
12324
  }
12283
12325
  closeCalciteDropdownOnClick(e) {
12284
- if (!this.active || e.composedPath().includes(this.el)) {
12326
+ const isOpen = !(this.open || this.active);
12327
+ if (isOpen || e.composedPath().includes(this.el)) {
12285
12328
  return;
12286
12329
  }
12287
12330
  this.closeCalciteDropdown(false);
@@ -12295,6 +12338,7 @@ const Dropdown = class extends HTMLElement$1 {
12295
12338
  return;
12296
12339
  }
12297
12340
  this.active = false;
12341
+ this.open = false;
12298
12342
  }
12299
12343
  mouseEnterHandler() {
12300
12344
  if (this.type === "hover") {
@@ -12376,7 +12420,7 @@ const Dropdown = class extends HTMLElement$1 {
12376
12420
  };
12377
12421
  const eventListenerModifier = {
12378
12422
  name: "eventListeners",
12379
- enabled: this.active
12423
+ enabled: this.open || this.active
12380
12424
  };
12381
12425
  return [flipModifier, eventListenerModifier];
12382
12426
  }
@@ -12427,6 +12471,7 @@ const Dropdown = class extends HTMLElement$1 {
12427
12471
  }
12428
12472
  closeCalciteDropdown(focusTrigger = true) {
12429
12473
  this.active = false;
12474
+ this.open = false;
12430
12475
  if (focusTrigger) {
12431
12476
  focusElement(this.triggers[0]);
12432
12477
  }
@@ -12464,6 +12509,7 @@ const Dropdown = class extends HTMLElement$1 {
12464
12509
  get el() { return this; }
12465
12510
  static get watchers() { return {
12466
12511
  "active": ["activeHandler"],
12512
+ "open": ["activeHandler"],
12467
12513
  "disabled": ["handleDisabledChange"],
12468
12514
  "flipPlacements": ["flipPlacementsHandler"],
12469
12515
  "maxItems": ["maxItemsHandler"],
@@ -12472,7 +12518,7 @@ const Dropdown = class extends HTMLElement$1 {
12472
12518
  static get style() { return dropdownCss; }
12473
12519
  };
12474
12520
 
12475
- const CSS$A = {
12521
+ const CSS$B = {
12476
12522
  containerSmall: "container--s",
12477
12523
  containerMedium: "container--m",
12478
12524
  containerLarge: "container--l"
@@ -12506,9 +12552,9 @@ const DropdownGroup = class extends HTMLElement$1 {
12506
12552
  const dropdownSeparator = this.groupPosition > 0 ? h("div", { class: "dropdown-separator", role: "separator" }) : null;
12507
12553
  return (h(Host, { role: "menu" }, h("div", { class: {
12508
12554
  container: true,
12509
- [CSS$A.containerSmall]: scale === "s",
12510
- [CSS$A.containerMedium]: scale === "m",
12511
- [CSS$A.containerLarge]: scale === "l"
12555
+ [CSS$B.containerSmall]: scale === "s",
12556
+ [CSS$B.containerMedium]: scale === "m",
12557
+ [CSS$B.containerLarge]: scale === "l"
12512
12558
  }, title: this.groupTitle }, dropdownSeparator, groupTitle, h("slot", null))));
12513
12559
  }
12514
12560
  //--------------------------------------------------------------------------
@@ -12536,7 +12582,7 @@ const DropdownGroup = class extends HTMLElement$1 {
12536
12582
  static get style() { return dropdownGroupCss; }
12537
12583
  };
12538
12584
 
12539
- const CSS$z = {
12585
+ const CSS$A = {
12540
12586
  containerLink: "container--link",
12541
12587
  containerSmall: "container--s",
12542
12588
  containerMedium: "container--m",
@@ -12608,13 +12654,13 @@ const DropdownItem = class extends HTMLElement$1 {
12608
12654
  const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.active) : null;
12609
12655
  return (h(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, h("div", { class: {
12610
12656
  container: true,
12611
- [CSS$z.containerLink]: !!this.href,
12612
- [CSS$z.containerSmall]: scale === "s",
12613
- [CSS$z.containerMedium]: scale === "m",
12614
- [CSS$z.containerLarge]: scale === "l",
12615
- [CSS$z.containerMulti]: this.selectionMode === "multi",
12616
- [CSS$z.containerSingle]: this.selectionMode === "single",
12617
- [CSS$z.containerNone]: this.selectionMode === "none"
12657
+ [CSS$A.containerLink]: !!this.href,
12658
+ [CSS$A.containerSmall]: scale === "s",
12659
+ [CSS$A.containerMedium]: scale === "m",
12660
+ [CSS$A.containerLarge]: scale === "l",
12661
+ [CSS$A.containerMulti]: this.selectionMode === "multi",
12662
+ [CSS$A.containerSingle]: this.selectionMode === "single",
12663
+ [CSS$A.containerNone]: this.selectionMode === "none"
12618
12664
  } }, this.selectionMode !== "none" ? (h("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
12619
12665
  }
12620
12666
  //--------------------------------------------------------------------------
@@ -12702,7 +12748,7 @@ const DropdownItem = class extends HTMLElement$1 {
12702
12748
  static get style() { return dropdownItemCss; }
12703
12749
  };
12704
12750
 
12705
- const CSS$y = {
12751
+ const CSS$z = {
12706
12752
  button: "button"
12707
12753
  };
12708
12754
  const ICONS$9 = {
@@ -12777,7 +12823,7 @@ const Fab = class extends HTMLElement$1 {
12777
12823
  render() {
12778
12824
  const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
12779
12825
  const title = !textEnabled ? label || text || null : null;
12780
- return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$y.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
12826
+ return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$z.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
12781
12827
  this.buttonEl = buttonEl;
12782
12828
  }, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
12783
12829
  }
@@ -12785,11 +12831,11 @@ const Fab = class extends HTMLElement$1 {
12785
12831
  static get style() { return fabCss; }
12786
12832
  };
12787
12833
 
12788
- const CSS$x = {
12834
+ const CSS$y = {
12789
12835
  container: "container",
12790
12836
  searchIcon: "search-icon"
12791
12837
  };
12792
- const TEXT$e = {
12838
+ const TEXT$f = {
12793
12839
  filterLabel: "Filter",
12794
12840
  clear: "Clear filter"
12795
12841
  };
@@ -12932,7 +12978,7 @@ const Filter = class extends HTMLElement$1 {
12932
12978
  // --------------------------------------------------------------------------
12933
12979
  render() {
12934
12980
  const { disabled, scale } = this;
12935
- return (h(Fragment, null, h("div", { class: CSS$x.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT$e.filterLabel, clearable: true, disabled: disabled, icon: ICONS$8.search, intlClear: this.intlClear || TEXT$e.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
12981
+ return (h(Fragment, null, h("div", { class: CSS$y.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT$f.filterLabel, clearable: true, disabled: disabled, icon: ICONS$8.search, intlClear: this.intlClear || TEXT$f.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
12936
12982
  this.textInput = el;
12937
12983
  }, scale: scale, type: "text", value: this.value })))));
12938
12984
  }
@@ -12944,7 +12990,7 @@ const Filter = class extends HTMLElement$1 {
12944
12990
  static get style() { return filterCss; }
12945
12991
  };
12946
12992
 
12947
- const CSS$w = {
12993
+ const CSS$x = {
12948
12994
  frame: "frame",
12949
12995
  frameAdvancing: "frame--advancing",
12950
12996
  frameRetreating: "frame--retreating"
@@ -13045,9 +13091,9 @@ const Flow = class extends HTMLElement$1 {
13045
13091
  render() {
13046
13092
  const { flowDirection } = this;
13047
13093
  const frameDirectionClasses = {
13048
- [CSS$w.frame]: true,
13049
- [CSS$w.frameAdvancing]: flowDirection === "advancing",
13050
- [CSS$w.frameRetreating]: flowDirection === "retreating"
13094
+ [CSS$x.frame]: true,
13095
+ [CSS$x.frameAdvancing]: flowDirection === "advancing",
13096
+ [CSS$x.frameRetreating]: flowDirection === "retreating"
13051
13097
  };
13052
13098
  return (h("div", { class: frameDirectionClasses }, h("slot", null)));
13053
13099
  }
@@ -13273,7 +13319,7 @@ const Graph = class extends HTMLElement$1 {
13273
13319
  static get style() { return graphCss; }
13274
13320
  };
13275
13321
 
13276
- const CSS$v = {
13322
+ const CSS$w = {
13277
13323
  handle: "handle",
13278
13324
  handleActivated: "handle--activated"
13279
13325
  };
@@ -13344,7 +13390,7 @@ const Handle = class extends HTMLElement$1 {
13344
13390
  render() {
13345
13391
  return (
13346
13392
  // Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
13347
- h("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$v.handle]: true, [CSS$v.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
13393
+ h("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$w.handle]: true, [CSS$w.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
13348
13394
  this.handleButton = el;
13349
13395
  }, role: "button", tabindex: "0", title: this.textTitle }, h("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
13350
13396
  }
@@ -13352,7 +13398,7 @@ const Handle = class extends HTMLElement$1 {
13352
13398
  static get style() { return handleCss; }
13353
13399
  };
13354
13400
 
13355
- const CSS$u = {
13401
+ const CSS$v = {
13356
13402
  icon: "icon",
13357
13403
  flipRtl: "flip-rtl"
13358
13404
  };
@@ -13472,7 +13518,7 @@ const Icon = class extends HTMLElement$1 {
13472
13518
  const semantic = !!textLabel;
13473
13519
  const paths = [].concat(pathData || "");
13474
13520
  return (h(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, h("svg", { class: {
13475
- [CSS$u.flipRtl]: dir === "rtl" && flipRtl,
13521
+ [CSS$v.flipRtl]: dir === "rtl" && flipRtl,
13476
13522
  svg: true
13477
13523
  }, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (h("path", { d: path })) : (h("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
13478
13524
  }
@@ -13513,7 +13559,7 @@ const Icon = class extends HTMLElement$1 {
13513
13559
  static get style() { return iconCss; }
13514
13560
  };
13515
13561
 
13516
- const CSS$t = {
13562
+ const CSS$u = {
13517
13563
  wrapper: "wrapper",
13518
13564
  confirmChangesButton: "confirm-changes-button",
13519
13565
  cancelEditingButton: "cancel-editing-button",
@@ -13522,7 +13568,7 @@ const CSS$t = {
13522
13568
  enableEditingButton: "enable-editing-button",
13523
13569
  controlsWrapper: "controls-wrapper"
13524
13570
  };
13525
- const TEXT$d = {
13571
+ const TEXT$e = {
13526
13572
  intlEnablingEditing: "Click to edit",
13527
13573
  intlCancelEditing: "Cancel",
13528
13574
  intlConfirmChanges: "Save"
@@ -13556,19 +13602,19 @@ const InlineEditable = class extends HTMLElement$1 {
13556
13602
  *
13557
13603
  * @default "Click to edit"
13558
13604
  */
13559
- this.intlEnableEditing = TEXT$d.intlEnablingEditing;
13605
+ this.intlEnableEditing = TEXT$e.intlEnablingEditing;
13560
13606
  /**
13561
13607
  * specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
13562
13608
  *
13563
13609
  * @default "Cancel"
13564
13610
  */
13565
- this.intlCancelEditing = TEXT$d.intlCancelEditing;
13611
+ this.intlCancelEditing = TEXT$e.intlCancelEditing;
13566
13612
  /**
13567
13613
  * specify text to be user for the confirm changes button's aria-label, defaults to `Save`
13568
13614
  *
13569
13615
  * @default "Save"
13570
13616
  */
13571
- this.intlConfirmChanges = TEXT$d.intlConfirmChanges;
13617
+ this.intlConfirmChanges = TEXT$e.intlConfirmChanges;
13572
13618
  this.mutationObserver = createObserver("mutation", () => this.mutationObserverCallback());
13573
13619
  this.enableEditing = () => {
13574
13620
  var _a, _b;
@@ -13673,12 +13719,12 @@ const InlineEditable = class extends HTMLElement$1 {
13673
13719
  updateHostInteraction(this);
13674
13720
  }
13675
13721
  render() {
13676
- return (h("div", { class: CSS$t.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, h("div", { class: CSS$t.inputWrapper }, h("slot", null)), h("div", { class: CSS$t.controlsWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$t.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
13722
+ return (h("div", { class: CSS$u.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, h("div", { class: CSS$u.inputWrapper }, h("slot", null)), h("div", { class: CSS$u.controlsWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$u.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
13677
13723
  opacity: this.editingEnabled ? "0" : "1",
13678
13724
  width: this.editingEnabled ? "0" : "inherit"
13679
13725
  }, type: "button" }), this.shouldShowControls && [
13680
- h("div", { class: CSS$t.cancelEditingButtonWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$t.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
13681
- h("calcite-button", { appearance: "solid", class: CSS$t.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
13726
+ h("div", { class: CSS$u.cancelEditingButtonWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$u.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
13727
+ h("calcite-button", { appearance: "solid", class: CSS$u.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
13682
13728
  ])));
13683
13729
  }
13684
13730
  //--------------------------------------------------------------------------
@@ -13741,7 +13787,7 @@ const InlineEditable = class extends HTMLElement$1 {
13741
13787
  static get style() { return inlineEditableCss; }
13742
13788
  };
13743
13789
 
13744
- const CSS$s = {
13790
+ const CSS$t = {
13745
13791
  loader: "loader",
13746
13792
  clearButton: "clear-button",
13747
13793
  editingEnabled: "editing-enabled",
@@ -13765,10 +13811,10 @@ const INPUT_TYPE_ICONS = {
13765
13811
  time: "clock",
13766
13812
  search: "search"
13767
13813
  };
13768
- const SLOTS$g = {
13814
+ const SLOTS$h = {
13769
13815
  action: "action"
13770
13816
  };
13771
- const TEXT$c = {
13817
+ const TEXT$d = {
13772
13818
  clear: "Clear value"
13773
13819
  };
13774
13820
 
@@ -13821,7 +13867,7 @@ const Input = class extends HTMLElement$1 {
13821
13867
  *
13822
13868
  * @default "Loading"
13823
13869
  */
13824
- this.intlLoading = TEXT$s.loading;
13870
+ this.intlLoading = TEXT$t.loading;
13825
13871
  /** When true, the icon is flipped in RTL. */
13826
13872
  this.iconFlipRtl = false;
13827
13873
  /** When true, the component is in the loading state and `calcite-progress` is displayed. */
@@ -14306,34 +14352,34 @@ const Input = class extends HTMLElement$1 {
14306
14352
  // --------------------------------------------------------------------------
14307
14353
  render() {
14308
14354
  const dir = getElementDir(this.el);
14309
- const loader = (h("div", { class: CSS$s.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
14310
- const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
14311
- const iconEl = (h("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
14355
+ const loader = (h("div", { class: CSS$t.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
14356
+ const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$t.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
14357
+ const iconEl = (h("calcite-icon", { class: CSS$t.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
14312
14358
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
14313
14359
  const numberButtonsHorizontalUp = (h("button", { class: {
14314
- [CSS$s.numberButtonItem]: true,
14315
- [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
14360
+ [CSS$t.numberButtonItem]: true,
14361
+ [CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
14316
14362
  }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
14317
14363
  const numberButtonsHorizontalDown = (h("button", { class: {
14318
- [CSS$s.numberButtonItem]: true,
14319
- [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
14364
+ [CSS$t.numberButtonItem]: true,
14365
+ [CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
14320
14366
  }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
14321
- const numberButtonsVertical = (h("div", { class: CSS$s.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
14322
- const prefixText = h("div", { class: CSS$s.prefix }, this.prefixText);
14323
- const suffixText = h("div", { class: CSS$s.suffix }, this.suffixText);
14367
+ const numberButtonsVertical = (h("div", { class: CSS$t.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
14368
+ const prefixText = h("div", { class: CSS$t.prefix }, this.prefixText);
14369
+ const suffixText = h("div", { class: CSS$t.suffix }, this.suffixText);
14324
14370
  const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
14325
14371
  const childEl = this.type !== "number"
14326
14372
  ? [
14327
14373
  h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
14328
- [CSS$s.editingEnabled]: this.editingEnabled,
14329
- [CSS$s.inlineChild]: !!this.inlineEditableEl
14374
+ [CSS$t.editingEnabled]: this.editingEnabled,
14375
+ [CSS$t.inlineChild]: !!this.inlineEditableEl
14330
14376
  }, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
14331
- this.isTextarea ? (h("div", { class: CSS$s.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
14377
+ this.isTextarea ? (h("div", { class: CSS$t.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
14332
14378
  ]
14333
14379
  : null;
14334
- return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
14380
+ return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$t.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
14335
14381
  ? numberButtonsHorizontalDown
14336
- : null, this.prefixText ? prefixText : null, h("div", { class: CSS$s.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$s.actionWrapper }, h("slot", { name: SLOTS$g.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
14382
+ : null, this.prefixText ? prefixText : null, h("div", { class: CSS$t.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$t.actionWrapper }, h("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
14337
14383
  ? numberButtonsVertical
14338
14384
  : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
14339
14385
  ? numberButtonsHorizontalUp
@@ -14379,19 +14425,19 @@ const InputDatePicker = class extends HTMLElement$1 {
14379
14425
  *
14380
14426
  * @default "Previous month"
14381
14427
  */
14382
- this.intlPrevMonth = TEXT$f.prevMonth;
14428
+ this.intlPrevMonth = TEXT$g.prevMonth;
14383
14429
  /**
14384
14430
  * Localized string for "next month" (used for aria label)
14385
14431
  *
14386
14432
  * @default "Next month"
14387
14433
  */
14388
- this.intlNextMonth = TEXT$f.nextMonth;
14434
+ this.intlNextMonth = TEXT$g.nextMonth;
14389
14435
  /**
14390
14436
  * Localized string for "year" (used for aria label)
14391
14437
  *
14392
14438
  * @default "Year"
14393
14439
  */
14394
- this.intlYear = TEXT$f.year;
14440
+ this.intlYear = TEXT$g.year;
14395
14441
  /** BCP 47 language tag for desired language and country format */
14396
14442
  this.locale = document.documentElement.lang || "en";
14397
14443
  /** specify the scale of the date picker */
@@ -14651,8 +14697,8 @@ const InputDatePicker = class extends HTMLElement$1 {
14651
14697
  }, ref: this.setMenuEl }, h("div", { class: {
14652
14698
  ["calendar-picker-wrapper"]: true,
14653
14699
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
14654
- [CSS$D.animation]: true,
14655
- [CSS$D.animationActive]: this.active
14700
+ [CSS$E.animation]: true,
14701
+ [CSS$E.animationActive]: this.active
14656
14702
  }, onTransitionEnd: this.transitionEnd }, h("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, locale: this.locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" }, h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper }, h("calcite-input", { class: {
14657
14703
  input: true,
14658
14704
  "border-top-color-one": this.layout === "vertical" && this.range
@@ -14927,106 +14973,618 @@ const InputMessage = class extends HTMLElement$1 {
14927
14973
  static get style() { return inputMessageCss; }
14928
14974
  };
14929
14975
 
14930
- const maxTenthForMinuteAndSecond = 5;
14931
- function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
14932
- try {
14933
- const options = {
14934
- hour: "2-digit",
14935
- minute: "2-digit",
14936
- timeZone: "UTC"
14937
- };
14938
- if (includeSeconds) {
14939
- options.second = "2-digit";
14940
- }
14941
- return new Intl.DateTimeFormat(locale, options);
14942
- }
14943
- catch (e) {
14944
- throw new Error(`Invalid locale supplied while attempting to create a DateTime formatter: ${locale}`);
14945
- }
14946
- }
14947
- function formatTimePart(number) {
14948
- const numberAsString = number.toString();
14949
- return number >= 0 && number <= 9 ? numberAsString.padStart(2, "0") : numberAsString;
14950
- }
14951
- function formatTimeString(value) {
14952
- if (!isValidTime(value)) {
14953
- return null;
14954
- }
14955
- const [hourString, minuteString, secondString] = value.split(":");
14956
- const hour = formatTimePart(parseInt(hourString));
14957
- const minute = formatTimePart(parseInt(minuteString));
14958
- if (secondString) {
14959
- const second = formatTimePart(parseInt(secondString));
14960
- return `${hour}:${minute}:${second}`;
14961
- }
14962
- return `${hour}:${minute}`;
14963
- }
14964
- function getLocaleHourCycle(locale) {
14965
- const formatter = createLocaleDateTimeFormatter(locale);
14966
- const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
14967
- return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
14968
- }
14969
- function getLocalizedTimePart(part, parts) {
14970
- var _a, _b, _c, _d;
14971
- if (!part || !parts) {
14972
- return null;
14973
- }
14974
- if (part === "hourSuffix") {
14975
- const hourIndex = parts.indexOf(parts.find(({ type }) => type === "hour"));
14976
- const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
14977
- const hourSuffix = parts[hourIndex + 1];
14978
- return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
14979
- ? ((_a = hourSuffix.value) === null || _a === void 0 ? void 0 : _a.trim()) || null
14980
- : null;
14981
- }
14982
- if (part === "minuteSuffix") {
14983
- const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
14984
- const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
14985
- const minuteSuffix = parts[minuteIndex + 1];
14986
- return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
14987
- ? ((_b = minuteSuffix.value) === null || _b === void 0 ? void 0 : _b.trim()) || null
14988
- : null;
14989
- }
14990
- if (part === "secondSuffix") {
14991
- const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
14992
- const secondSuffix = parts[secondIndex + 1];
14993
- return secondSuffix && secondSuffix.type === "literal" ? ((_c = secondSuffix.value) === null || _c === void 0 ? void 0 : _c.trim()) || null : null;
14994
- }
14995
- return ((_d = parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))) === null || _d === void 0 ? void 0 : _d.value) || null;
14996
- }
14997
- function getMeridiem(hour) {
14998
- if (!isValidNumber(hour)) {
14999
- return null;
15000
- }
15001
- const hourAsNumber = parseInt(hour);
15002
- return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
15003
- }
15004
- function isValidTime(value) {
15005
- if (!value || value.startsWith(":") || value.endsWith(":")) {
15006
- return false;
15007
- }
15008
- const splitValue = value.split(":");
15009
- const validLength = splitValue.length > 1 && splitValue.length < 4;
15010
- if (!validLength) {
15011
- return false;
15012
- }
15013
- const [hour, minute, second] = splitValue;
15014
- const hourAsNumber = parseInt(splitValue[0]);
15015
- const minuteAsNumber = parseInt(splitValue[1]);
15016
- const secondAsNumber = parseInt(splitValue[2]);
15017
- const hourValid = isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
15018
- const minuteValid = isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
15019
- const secondValid = isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
15020
- if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
15021
- return true;
15022
- }
15023
- }
15024
- function isValidTimePart(value, part) {
15025
- if (part === "meridiem") {
15026
- return value === "AM" || value === "PM";
15027
- }
15028
- if (!isValidNumber(value)) {
15029
- return false;
14976
+ const CSS$s = {
14977
+ loader: "loader",
14978
+ clearButton: "clear-button",
14979
+ editingEnabled: "editing-enabled",
14980
+ inlineChild: "inline-child",
14981
+ inputIcon: "icon",
14982
+ prefix: "prefix",
14983
+ suffix: "suffix",
14984
+ numberButtonWrapper: "number-button-wrapper",
14985
+ buttonItemHorizontal: "number-button-item--horizontal",
14986
+ wrapper: "element-wrapper",
14987
+ inputWrapper: "wrapper",
14988
+ actionWrapper: "action-wrapper",
14989
+ resizeIconWrapper: "resize-icon-wrapper",
14990
+ numberButtonItem: "number-button-item"
14991
+ };
14992
+ const SLOTS$g = {
14993
+ action: "action"
14994
+ };
14995
+ const TEXT$c = {
14996
+ clear: "Clear value"
14997
+ };
14998
+
14999
+ const inputNumberCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{height:1.5rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{height:2rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{height:2.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host input{-webkit-transition:var(--calcite-animation-timing), height 0, outline-offset 0s;transition:var(--calcite-animation-timing), height 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-height:100%;width:100%;max-width:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host input{outline-color:transparent}:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{top:1px;left:1px;right:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:1;order:1;max-height:100%;min-height:100%;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-top-width:0px}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;padding-left:0.5rem;padding-right:0.5rem;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.resize-icon-wrapper{bottom:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;height:0.75rem;width:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{bottom:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host(.no-bottom-border) input{border-bottom-width:0px}:host(.border-top-color-one) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
15000
+
15001
+ const InputNumber = class extends HTMLElement$1 {
15002
+ constructor() {
15003
+ super();
15004
+ this.__registerHost();
15005
+ this.__attachShadow();
15006
+ this.calciteInternalInputNumberFocus = createEvent(this, "calciteInternalInputNumberFocus", 7);
15007
+ this.calciteInternalInputNumberBlur = createEvent(this, "calciteInternalInputNumberBlur", 7);
15008
+ this.calciteInputNumberInput = createEvent(this, "calciteInputNumberInput", 7);
15009
+ this.calciteInputNumberChange = createEvent(this, "calciteInputNumberChange", 7);
15010
+ //--------------------------------------------------------------------------
15011
+ //
15012
+ // Properties
15013
+ //
15014
+ //--------------------------------------------------------------------------
15015
+ /** Specifies the text alignment of the component's value. */
15016
+ this.alignment = "start";
15017
+ /**
15018
+ * When true, the component is focused on page load.
15019
+ *
15020
+ * @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
15021
+ */
15022
+ this.autofocus = false;
15023
+ /**
15024
+ * When true, a clear button is displayed when the component has a value.
15025
+ */
15026
+ this.clearable = false;
15027
+ /**
15028
+ * When true, interaction is prevented and the component is displayed with lower opacity.
15029
+ *
15030
+ * @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
15031
+ */
15032
+ this.disabled = false;
15033
+ /**
15034
+ * When true, number values are displayed with the locale's group separator.
15035
+ */
15036
+ this.groupSeparator = false;
15037
+ /**
15038
+ * When true, the component will not be visible.
15039
+ *
15040
+ * @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
15041
+ */
15042
+ this.hidden = false;
15043
+ /**
15044
+ * Accessible name that will appear while loading.
15045
+ *
15046
+ * @default "Loading"
15047
+ */
15048
+ this.intlLoading = TEXT$t.loading;
15049
+ /** When true, the icon is flipped in RTL. */
15050
+ this.iconFlipRtl = false;
15051
+ /** When true, the component is in the loading state and `calcite-progress` is displayed. */
15052
+ this.loading = false;
15053
+ /** Specifies the BCP 47 language tag for the desired language and country format. */
15054
+ this.locale = document.documentElement.lang || "en";
15055
+ /**
15056
+ * Toggles locale formatting for numbers.
15057
+ *
15058
+ * @internal
15059
+ */
15060
+ this.localeFormat = false;
15061
+ /** Specifies the placement of the buttons. */
15062
+ this.numberButtonType = "vertical";
15063
+ /**
15064
+ * When true, the value cannot be modified.
15065
+ *
15066
+ * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
15067
+ */
15068
+ this.readOnly = false;
15069
+ /** When true, the component must have a value in order for the form to submit. */
15070
+ this.required = false;
15071
+ /** Specifies the size of the component. */
15072
+ this.scale = "m";
15073
+ /** Specifies the status of the input field, which determines message and icons. */
15074
+ this.status = "idle";
15075
+ /**
15076
+ * @internal
15077
+ */
15078
+ this.editingEnabled = false;
15079
+ /** The component's value. */
15080
+ this.value = "";
15081
+ this.previousValueOrigin = "initial";
15082
+ this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
15083
+ this.userChangedValue = false;
15084
+ //--------------------------------------------------------------------------
15085
+ //
15086
+ // Private Methods
15087
+ //
15088
+ //--------------------------------------------------------------------------
15089
+ this.keyDownHandler = (event) => {
15090
+ if (this.readOnly || this.disabled) {
15091
+ return;
15092
+ }
15093
+ if (this.isClearable && event.key === "Escape") {
15094
+ this.clearInputValue(event);
15095
+ event.preventDefault();
15096
+ }
15097
+ if (event.key === "Enter" && !event.defaultPrevented) {
15098
+ submitForm(this);
15099
+ }
15100
+ };
15101
+ this.clearInputValue = (nativeEvent) => {
15102
+ this.setNumberValue({
15103
+ committing: true,
15104
+ nativeEvent,
15105
+ origin: "user",
15106
+ value: ""
15107
+ });
15108
+ };
15109
+ this.emitChangeIfUserModified = () => {
15110
+ if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
15111
+ this.calciteInputNumberChange.emit();
15112
+ }
15113
+ this.previousEmittedValue = this.value;
15114
+ };
15115
+ this.inputNumberBlurHandler = () => {
15116
+ this.calciteInternalInputNumberBlur.emit({
15117
+ element: this.childNumberEl,
15118
+ value: this.value
15119
+ });
15120
+ this.emitChangeIfUserModified();
15121
+ };
15122
+ this.inputNumberFocusHandler = (event) => {
15123
+ const slottedActionEl = getSlotted(this.el, "action");
15124
+ if (event.target !== slottedActionEl) {
15125
+ this.setFocus();
15126
+ }
15127
+ this.calciteInternalInputNumberFocus.emit({
15128
+ element: this.childNumberEl,
15129
+ value: this.value
15130
+ });
15131
+ };
15132
+ this.inputNumberInputHandler = (nativeEvent) => {
15133
+ if (this.disabled || this.readOnly) {
15134
+ return;
15135
+ }
15136
+ const value = nativeEvent.target.value;
15137
+ const delocalizedValue = delocalizeNumberString(value, this.locale);
15138
+ if (nativeEvent.inputType === "insertFromPaste") {
15139
+ if (!isValidNumber(delocalizedValue)) {
15140
+ nativeEvent.preventDefault();
15141
+ }
15142
+ this.setNumberValue({
15143
+ nativeEvent,
15144
+ origin: "user",
15145
+ value: parseNumberString(delocalizedValue)
15146
+ });
15147
+ this.childNumberEl.value = this.localizedValue;
15148
+ }
15149
+ else {
15150
+ this.setNumberValue({
15151
+ nativeEvent,
15152
+ origin: "user",
15153
+ value: delocalizedValue
15154
+ });
15155
+ }
15156
+ };
15157
+ this.inputNumberKeyDownHandler = (event) => {
15158
+ if (this.disabled || this.readOnly) {
15159
+ return;
15160
+ }
15161
+ if (event.key === "ArrowUp") {
15162
+ /* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
15163
+ event.preventDefault();
15164
+ this.nudgeNumberValue("up", event);
15165
+ return;
15166
+ }
15167
+ if (event.key === "ArrowDown") {
15168
+ this.nudgeNumberValue("down", event);
15169
+ return;
15170
+ }
15171
+ const supportedKeys = [
15172
+ ...numberKeys,
15173
+ "ArrowLeft",
15174
+ "ArrowRight",
15175
+ "Backspace",
15176
+ "Delete",
15177
+ "Enter",
15178
+ "Escape",
15179
+ "Tab"
15180
+ ];
15181
+ if (event.altKey || event.ctrlKey || event.metaKey) {
15182
+ return;
15183
+ }
15184
+ const isShiftTabEvent = event.shiftKey && event.key === "Tab";
15185
+ if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
15186
+ if (event.key === "Enter") {
15187
+ this.emitChangeIfUserModified();
15188
+ }
15189
+ return;
15190
+ }
15191
+ const decimalSeparator = getDecimalSeparator(this.locale);
15192
+ if (event.key === decimalSeparator) {
15193
+ if (!this.value && !this.childNumberEl.value) {
15194
+ return;
15195
+ }
15196
+ if (this.value && this.childNumberEl.value.indexOf(decimalSeparator) === -1) {
15197
+ return;
15198
+ }
15199
+ }
15200
+ if (/[eE]/.test(event.key)) {
15201
+ if (!this.value && !this.childNumberEl.value) {
15202
+ return;
15203
+ }
15204
+ if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
15205
+ return;
15206
+ }
15207
+ }
15208
+ if (event.key === "-") {
15209
+ if (!this.value && !this.childNumberEl.value) {
15210
+ return;
15211
+ }
15212
+ if (this.value && this.childNumberEl.value.split("-").length <= 2) {
15213
+ return;
15214
+ }
15215
+ }
15216
+ event.preventDefault();
15217
+ };
15218
+ this.nudgeNumberValue = (direction, nativeEvent) => {
15219
+ if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {
15220
+ return;
15221
+ }
15222
+ const inputMax = this.maxString ? parseFloat(this.maxString) : null;
15223
+ const inputMin = this.minString ? parseFloat(this.minString) : null;
15224
+ const valueNudgeDelayInMs = 100;
15225
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
15226
+ if (this.nudgeNumberValueIntervalId) {
15227
+ window.clearInterval(this.nudgeNumberValueIntervalId);
15228
+ }
15229
+ let firstValueNudge = true;
15230
+ this.nudgeNumberValueIntervalId = window.setInterval(() => {
15231
+ if (firstValueNudge) {
15232
+ firstValueNudge = false;
15233
+ return;
15234
+ }
15235
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
15236
+ }, valueNudgeDelayInMs);
15237
+ };
15238
+ this.nudgeButtonPointerUpAndOutHandler = () => {
15239
+ window.clearInterval(this.nudgeNumberValueIntervalId);
15240
+ };
15241
+ this.nudgeButtonPointerDownHandler = (event) => {
15242
+ event.preventDefault();
15243
+ const direction = event.target.dataset.adjustment;
15244
+ if (!this.disabled) {
15245
+ this.nudgeNumberValue(direction, event);
15246
+ }
15247
+ };
15248
+ this.setChildNumberElRef = (el) => {
15249
+ this.childNumberEl = el;
15250
+ };
15251
+ this.setInputNumberValue = (newInputValue) => {
15252
+ if (!this.childNumberEl) {
15253
+ return;
15254
+ }
15255
+ this.childNumberEl.value = newInputValue;
15256
+ };
15257
+ this.setPreviousEmittedNumberValue = (newPreviousEmittedValue) => {
15258
+ this.previousEmittedValue = isValidNumber(newPreviousEmittedValue)
15259
+ ? newPreviousEmittedValue
15260
+ : "";
15261
+ };
15262
+ this.setPreviousNumberValue = (newPreviousValue) => {
15263
+ this.previousValue = isValidNumber(newPreviousValue) ? newPreviousValue : "";
15264
+ };
15265
+ this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
15266
+ const previousLocalizedValue = localizeNumberString(this.previousValue, this.locale, this.groupSeparator, this.numberingSystem);
15267
+ const sanitizedValue = sanitizeNumberString(value);
15268
+ const newValue = value && !sanitizedValue
15269
+ ? isValidNumber(this.previousValue)
15270
+ ? this.previousValue
15271
+ : ""
15272
+ : sanitizedValue;
15273
+ const newLocalizedValue = localizeNumberString(newValue, this.locale, this.groupSeparator, this.numberingSystem);
15274
+ this.setPreviousNumberValue(previousValue || this.value);
15275
+ this.previousValueOrigin = origin;
15276
+ this.userChangedValue = origin === "user" && this.value !== newValue;
15277
+ this.value = newValue;
15278
+ this.localizedValue = newLocalizedValue;
15279
+ if (origin === "direct") {
15280
+ this.setInputNumberValue(newLocalizedValue);
15281
+ }
15282
+ if (nativeEvent) {
15283
+ const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit({
15284
+ element: this.childNumberEl,
15285
+ nativeEvent,
15286
+ value: this.value
15287
+ });
15288
+ if (calciteInputNumberInputEvent.defaultPrevented) {
15289
+ this.value = this.previousValue;
15290
+ this.localizedValue = previousLocalizedValue;
15291
+ }
15292
+ else if (committing) {
15293
+ this.emitChangeIfUserModified();
15294
+ }
15295
+ }
15296
+ };
15297
+ this.inputNumberKeyUpHandler = () => {
15298
+ window.clearInterval(this.nudgeNumberValueIntervalId);
15299
+ };
15300
+ }
15301
+ disabledWatcher() {
15302
+ this.setDisabledAction();
15303
+ }
15304
+ /** watcher to update number-to-string for max */
15305
+ maxWatcher() {
15306
+ var _a;
15307
+ this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
15308
+ }
15309
+ /** watcher to update number-to-string for min */
15310
+ minWatcher() {
15311
+ var _a;
15312
+ this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
15313
+ }
15314
+ valueWatcher(newValue, previousValue) {
15315
+ if (!this.userChangedValue) {
15316
+ this.setNumberValue({
15317
+ origin: "direct",
15318
+ previousValue,
15319
+ value: newValue == null || newValue == ""
15320
+ ? ""
15321
+ : isValidNumber(newValue)
15322
+ ? newValue
15323
+ : this.previousValue || ""
15324
+ });
15325
+ this.warnAboutInvalidNumberValue(newValue);
15326
+ }
15327
+ this.userChangedValue = false;
15328
+ }
15329
+ updateRequestedIcon() {
15330
+ this.requestedIcon = setRequestedIcon({}, this.icon, "number");
15331
+ }
15332
+ get isClearable() {
15333
+ return this.clearable && this.value.length > 0;
15334
+ }
15335
+ //--------------------------------------------------------------------------
15336
+ //
15337
+ // Lifecycle
15338
+ //
15339
+ //--------------------------------------------------------------------------
15340
+ connectedCallback() {
15341
+ var _a;
15342
+ this.scale = getElementProp(this.el, "scale", this.scale);
15343
+ this.status = getElementProp(this.el, "status", this.status);
15344
+ this.inlineEditableEl = this.el.closest("calcite-inline-editable");
15345
+ if (this.inlineEditableEl) {
15346
+ this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
15347
+ }
15348
+ this.setPreviousEmittedNumberValue(this.value);
15349
+ this.setPreviousNumberValue(this.value);
15350
+ this.warnAboutInvalidNumberValue(this.value);
15351
+ this.setNumberValue({
15352
+ origin: "connected",
15353
+ value: isValidNumber(this.value) ? this.value : ""
15354
+ });
15355
+ connectLabel(this);
15356
+ connectForm(this);
15357
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
15358
+ this.setDisabledAction();
15359
+ }
15360
+ disconnectedCallback() {
15361
+ var _a;
15362
+ disconnectLabel(this);
15363
+ disconnectForm(this);
15364
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
15365
+ }
15366
+ componentWillLoad() {
15367
+ var _a, _b;
15368
+ this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();
15369
+ this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
15370
+ this.requestedIcon = setRequestedIcon({}, this.icon, "number");
15371
+ }
15372
+ componentShouldUpdate(newValue, oldValue, property) {
15373
+ if (property === "value" && newValue && !isValidNumber(newValue)) {
15374
+ this.setNumberValue({
15375
+ origin: "reset",
15376
+ value: oldValue
15377
+ });
15378
+ return false;
15379
+ }
15380
+ return true;
15381
+ }
15382
+ componentDidRender() {
15383
+ updateHostInteraction(this);
15384
+ }
15385
+ //--------------------------------------------------------------------------
15386
+ //
15387
+ // Public Methods
15388
+ //
15389
+ //--------------------------------------------------------------------------
15390
+ /** Sets focus on the component. */
15391
+ async setFocus() {
15392
+ var _a;
15393
+ (_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.focus();
15394
+ }
15395
+ /** Selects all text of the component's `value`. */
15396
+ async selectText() {
15397
+ var _a;
15398
+ (_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
15399
+ }
15400
+ onLabelClick() {
15401
+ this.setFocus();
15402
+ }
15403
+ incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
15404
+ const { value } = this;
15405
+ const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
15406
+ const inputVal = value && value !== "" ? parseFloat(value) : 0;
15407
+ const adjustment = direction === "up" ? 1 : -1;
15408
+ const nudgedValue = inputVal + inputStep * adjustment;
15409
+ const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
15410
+ (typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
15411
+ ? inputVal
15412
+ : nudgedValue;
15413
+ const inputValPlaces = decimalPlaces(inputVal);
15414
+ const inputStepPlaces = decimalPlaces(inputStep);
15415
+ this.setNumberValue({
15416
+ committing: true,
15417
+ nativeEvent,
15418
+ origin: "user",
15419
+ value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
15420
+ });
15421
+ }
15422
+ onFormReset() {
15423
+ this.setNumberValue({
15424
+ origin: "reset",
15425
+ value: this.defaultValue
15426
+ });
15427
+ }
15428
+ syncHiddenFormInput(input) {
15429
+ var _a, _b, _c, _d;
15430
+ input.type = "number";
15431
+ input.min = (_b = (_a = this.min) === null || _a === void 0 ? void 0 : _a.toString(10)) !== null && _b !== void 0 ? _b : "";
15432
+ input.max = (_d = (_c = this.max) === null || _c === void 0 ? void 0 : _c.toString(10)) !== null && _d !== void 0 ? _d : "";
15433
+ }
15434
+ setDisabledAction() {
15435
+ const slottedActionEl = getSlotted(this.el, "action");
15436
+ if (!slottedActionEl) {
15437
+ return;
15438
+ }
15439
+ this.disabled
15440
+ ? slottedActionEl.setAttribute("disabled", "")
15441
+ : slottedActionEl.removeAttribute("disabled");
15442
+ }
15443
+ warnAboutInvalidNumberValue(value) {
15444
+ if (value && !isValidNumber(value)) {
15445
+ console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
15446
+ }
15447
+ }
15448
+ // --------------------------------------------------------------------------
15449
+ //
15450
+ // Render Methods
15451
+ //
15452
+ // --------------------------------------------------------------------------
15453
+ render() {
15454
+ const dir = getElementDir(this.el);
15455
+ const loader = (h("div", { class: CSS$s.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
15456
+ const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
15457
+ const iconEl = (h("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
15458
+ const isHorizontalNumberButton = this.numberButtonType === "horizontal";
15459
+ const numberButtonsHorizontalUp = (h("button", { class: {
15460
+ [CSS$s.numberButtonItem]: true,
15461
+ [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
15462
+ }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
15463
+ const numberButtonsHorizontalDown = (h("button", { class: {
15464
+ [CSS$s.numberButtonItem]: true,
15465
+ [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
15466
+ }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
15467
+ const numberButtonsVertical = (h("div", { class: CSS$s.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
15468
+ const prefixText = h("div", { class: CSS$s.prefix }, this.prefixText);
15469
+ const suffixText = h("div", { class: CSS$s.suffix }, this.suffixText);
15470
+ const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
15471
+ return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
15472
+ ? numberButtonsHorizontalDown
15473
+ : null, this.prefixText ? prefixText : null, h("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$s.actionWrapper }, h("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
15474
+ ? numberButtonsHorizontalUp
15475
+ : null, h(HiddenFormInputSlot, { component: this }))));
15476
+ }
15477
+ get el() { return this; }
15478
+ static get watchers() { return {
15479
+ "disabled": ["disabledWatcher"],
15480
+ "max": ["maxWatcher"],
15481
+ "min": ["minWatcher"],
15482
+ "value": ["valueWatcher"],
15483
+ "icon": ["updateRequestedIcon"]
15484
+ }; }
15485
+ static get style() { return inputNumberCss; }
15486
+ };
15487
+
15488
+ const maxTenthForMinuteAndSecond = 5;
15489
+ function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
15490
+ try {
15491
+ const options = {
15492
+ hour: "2-digit",
15493
+ minute: "2-digit",
15494
+ timeZone: "UTC"
15495
+ };
15496
+ if (includeSeconds) {
15497
+ options.second = "2-digit";
15498
+ }
15499
+ return new Intl.DateTimeFormat(locale, options);
15500
+ }
15501
+ catch (e) {
15502
+ throw new Error(`Invalid locale supplied while attempting to create a DateTime formatter: ${locale}`);
15503
+ }
15504
+ }
15505
+ function formatTimePart(number) {
15506
+ const numberAsString = number.toString();
15507
+ return number >= 0 && number <= 9 ? numberAsString.padStart(2, "0") : numberAsString;
15508
+ }
15509
+ function formatTimeString(value) {
15510
+ if (!isValidTime(value)) {
15511
+ return null;
15512
+ }
15513
+ const [hourString, minuteString, secondString] = value.split(":");
15514
+ const hour = formatTimePart(parseInt(hourString));
15515
+ const minute = formatTimePart(parseInt(minuteString));
15516
+ if (secondString) {
15517
+ const second = formatTimePart(parseInt(secondString));
15518
+ return `${hour}:${minute}:${second}`;
15519
+ }
15520
+ return `${hour}:${minute}`;
15521
+ }
15522
+ function getLocaleHourCycle(locale) {
15523
+ const formatter = createLocaleDateTimeFormatter(locale);
15524
+ const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
15525
+ return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
15526
+ }
15527
+ function getLocalizedTimePart(part, parts) {
15528
+ var _a, _b, _c, _d;
15529
+ if (!part || !parts) {
15530
+ return null;
15531
+ }
15532
+ if (part === "hourSuffix") {
15533
+ const hourIndex = parts.indexOf(parts.find(({ type }) => type === "hour"));
15534
+ const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
15535
+ const hourSuffix = parts[hourIndex + 1];
15536
+ return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
15537
+ ? ((_a = hourSuffix.value) === null || _a === void 0 ? void 0 : _a.trim()) || null
15538
+ : null;
15539
+ }
15540
+ if (part === "minuteSuffix") {
15541
+ const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
15542
+ const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
15543
+ const minuteSuffix = parts[minuteIndex + 1];
15544
+ return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
15545
+ ? ((_b = minuteSuffix.value) === null || _b === void 0 ? void 0 : _b.trim()) || null
15546
+ : null;
15547
+ }
15548
+ if (part === "secondSuffix") {
15549
+ const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
15550
+ const secondSuffix = parts[secondIndex + 1];
15551
+ return secondSuffix && secondSuffix.type === "literal" ? ((_c = secondSuffix.value) === null || _c === void 0 ? void 0 : _c.trim()) || null : null;
15552
+ }
15553
+ return ((_d = parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))) === null || _d === void 0 ? void 0 : _d.value) || null;
15554
+ }
15555
+ function getMeridiem(hour) {
15556
+ if (!isValidNumber(hour)) {
15557
+ return null;
15558
+ }
15559
+ const hourAsNumber = parseInt(hour);
15560
+ return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
15561
+ }
15562
+ function isValidTime(value) {
15563
+ if (!value || value.startsWith(":") || value.endsWith(":")) {
15564
+ return false;
15565
+ }
15566
+ const splitValue = value.split(":");
15567
+ const validLength = splitValue.length > 1 && splitValue.length < 4;
15568
+ if (!validLength) {
15569
+ return false;
15570
+ }
15571
+ const [hour, minute, second] = splitValue;
15572
+ const hourAsNumber = parseInt(splitValue[0]);
15573
+ const minuteAsNumber = parseInt(splitValue[1]);
15574
+ const secondAsNumber = parseInt(splitValue[2]);
15575
+ const hourValid = isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
15576
+ const minuteValid = isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
15577
+ const secondValid = isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
15578
+ if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
15579
+ return true;
15580
+ }
15581
+ }
15582
+ function isValidTimePart(value, part) {
15583
+ if (part === "meridiem") {
15584
+ return value === "AM" || value === "PM";
15585
+ }
15586
+ if (!isValidNumber(value)) {
15587
+ return false;
15030
15588
  }
15031
15589
  const valueAsNumber = Number(value);
15032
15590
  return part === "hour" ? valueAsNumber >= 0 && valueAsNumber < 24 : valueAsNumber >= 0 && valueAsNumber < 60;
@@ -15347,7 +15905,7 @@ const CSS$r = {
15347
15905
  container: "container"
15348
15906
  };
15349
15907
 
15350
- const labelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]){--calcite-label-margin-bottom:0.5rem}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:var(--calcite-label-margin-bottom)}:host([scale=m]){--calcite-label-margin-bottom:0.75rem}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-bottom:var(--calcite-label-margin-bottom)}:host([scale=l]){--calcite-label-margin-bottom:1rem}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-bottom:var(--calcite-label-margin-bottom)}:host .container{margin-left:0px;margin-right:0px;margin-top:0px;width:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";
15908
+ const labelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host(:not([disable-spacing])[scale=s]) .container{margin-bottom:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host(:not([disable-spacing])[scale=m]) .container{margin-bottom:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:not([disable-spacing])[scale=l]) .container{margin-bottom:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-left:0px;margin-right:0px;margin-top:0px;width:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([disable-spacing]) .container{margin:0px;gap:0px}";
15351
15909
 
15352
15910
  const Label = class extends HTMLElement$1 {
15353
15911
  constructor() {
@@ -15378,6 +15936,12 @@ const Label = class extends HTMLElement$1 {
15378
15936
  * @deprecated use the `disabled` property on the interactive components instead
15379
15937
  */
15380
15938
  this.disabled = false;
15939
+ /**
15940
+ * eliminates any space around the label
15941
+ *
15942
+ * @deprecated set the --calcite-label-margin-bottom css variable to 0 instead
15943
+ */
15944
+ this.disableSpacing = false;
15381
15945
  //--------------------------------------------------------------------------
15382
15946
  //
15383
15947
  // Private Methods
@@ -15876,7 +16440,7 @@ const TEXT$b = {
15876
16440
  close: "Close"
15877
16441
  };
15878
16442
 
15879
- const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;min-width:0px;max-width:100%;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-width:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-left:0.25rem;margin-right:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0px;border-bottom-left-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;bottom:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;margin-bottom:0.25rem}}";
16443
+ const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]),:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal,:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;min-width:0px;max-width:100%;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-width:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-left:0.25rem;margin-right:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal,:host([open][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header,:host([open][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer,:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0px;border-bottom-left-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;bottom:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;margin-bottom:0.25rem}}";
15880
16444
 
15881
16445
  const isFocusableExtended = (el) => {
15882
16446
  return isCalciteFocusable(el) || isFocusable(el);
@@ -15896,9 +16460,15 @@ const Modal = class extends HTMLElement$1 {
15896
16460
  // Properties
15897
16461
  //
15898
16462
  //--------------------------------------------------------------------------
15899
- /** When true, the component is active. */
16463
+ /**
16464
+ * When true, the `calcite-modal` is active.
16465
+ *
16466
+ * @deprecated use open instead
16467
+ */
15900
16468
  this.active = false;
15901
- /** Passes a function to run before the component closes. */
16469
+ /** When true,`calcite-modal` opens */
16470
+ this.open = false;
16471
+ /** Passes a function to run before the `calcite-modal` closes. */
15902
16472
  this.beforeClose = () => Promise.resolve();
15903
16473
  /** When true, disables the component's close button. */
15904
16474
  this.disableCloseButton = false;
@@ -15931,7 +16501,7 @@ const Modal = class extends HTMLElement$1 {
15931
16501
  //--------------------------------------------------------------------------
15932
16502
  this.transitionEnd = (event) => {
15933
16503
  if (event.propertyName === this.activeTransitionProp) {
15934
- this.active ? this.calciteModalOpen.emit() : this.calciteModalClose.emit();
16504
+ this.open || this.active ? this.calciteModalOpen.emit() : this.calciteModalClose.emit();
15935
16505
  }
15936
16506
  };
15937
16507
  this.openEnd = () => {
@@ -15948,6 +16518,7 @@ const Modal = class extends HTMLElement$1 {
15948
16518
  this.close = () => {
15949
16519
  return this.beforeClose(this.el).then(() => {
15950
16520
  this.active = false;
16521
+ this.open = false;
15951
16522
  focusElement(this.previousActiveElement);
15952
16523
  this.removeOverflowHiddenClass();
15953
16524
  });
@@ -15975,8 +16546,8 @@ const Modal = class extends HTMLElement$1 {
15975
16546
  //--------------------------------------------------------------------------
15976
16547
  componentWillLoad() {
15977
16548
  // when modal initially renders, if active was set we need to open as watcher doesn't fire
15978
- if (this.active) {
15979
- this.open();
16549
+ if (this.open || this.active) {
16550
+ this.openModal();
15980
16551
  }
15981
16552
  }
15982
16553
  connectedCallback() {
@@ -16032,7 +16603,7 @@ const Modal = class extends HTMLElement$1 {
16032
16603
  //
16033
16604
  //--------------------------------------------------------------------------
16034
16605
  handleEscape(e) {
16035
- if (this.active && !this.disableEscape && e.key === "Escape") {
16606
+ if ((this.open || this.active) && !this.disableEscape && e.key === "Escape") {
16036
16607
  this.close();
16037
16608
  }
16038
16609
  }
@@ -16085,7 +16656,7 @@ const Modal = class extends HTMLElement$1 {
16085
16656
  async toggleModal(value, oldValue) {
16086
16657
  if (value !== oldValue) {
16087
16658
  if (value) {
16088
- this.open();
16659
+ this.openModal();
16089
16660
  }
16090
16661
  else if (!value) {
16091
16662
  this.close();
@@ -16093,10 +16664,11 @@ const Modal = class extends HTMLElement$1 {
16093
16664
  }
16094
16665
  }
16095
16666
  /** Open the modal */
16096
- open() {
16667
+ openModal() {
16097
16668
  this.previousActiveElement = document.activeElement;
16098
16669
  this.el.addEventListener("calciteModalOpen", this.openEnd);
16099
16670
  this.active = true;
16671
+ this.open = true;
16100
16672
  const titleEl = getSlotted(this.el, SLOTS$e.header);
16101
16673
  const contentEl = getSlotted(this.el, SLOTS$e.content);
16102
16674
  this.titleId = ensureId(titleEl);
@@ -16108,7 +16680,8 @@ const Modal = class extends HTMLElement$1 {
16108
16680
  }
16109
16681
  get el() { return this; }
16110
16682
  static get watchers() { return {
16111
- "active": ["toggleModal"]
16683
+ "active": ["toggleModal"],
16684
+ "open": ["toggleModal"]
16112
16685
  }; }
16113
16686
  static get style() { return modalCss; }
16114
16687
  };
@@ -16823,7 +17396,7 @@ const Panel = class extends HTMLElement$1 {
16823
17396
  renderMenu() {
16824
17397
  const { el, intlOptions, menuOpen } = this;
16825
17398
  const hasMenuItems = getSlotted(el, SLOTS$c.headerMenuActions);
16826
- return hasMenuItems ? (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$8.options }), h("slot", { name: SLOTS$c.headerMenuActions }))) : null;
17399
+ return hasMenuItems ? (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$q.trigger, text: intlOptions || TEXT$8.options }), h("slot", { name: SLOTS$c.headerMenuActions }))) : null;
16827
17400
  }
16828
17401
  renderHeaderNode() {
16829
17402
  const { el, showBackButton } = this;
@@ -17940,8 +18513,8 @@ const Popover = class extends HTMLElement$1 {
17940
18513
  const hidden = !displayed;
17941
18514
  const arrowNode = !disablePointer ? (h("div", { class: CSS$g.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) })) : null;
17942
18515
  return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, h("div", { class: {
17943
- [CSS$D.animation]: true,
17944
- [CSS$D.animationActive]: displayed
18516
+ [CSS$E.animation]: true,
18517
+ [CSS$E.animationActive]: displayed
17945
18518
  }, onTransitionEnd: this.transitionEnd }, arrowNode, h("div", { class: {
17946
18519
  [CSS$g.hasHeader]: !!heading,
17947
18520
  [CSS$g.container]: true
@@ -26268,8 +26841,8 @@ const Tooltip = class extends HTMLElement$1 {
26268
26841
  const displayed = effectiveReferenceElement && open;
26269
26842
  const hidden = !displayed;
26270
26843
  return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "tooltip" }, h("div", { class: {
26271
- [CSS$D.animation]: true,
26272
- [CSS$D.animationActive]: displayed
26844
+ [CSS$E.animation]: true,
26845
+ [CSS$E.animationActive]: displayed
26273
26846
  } }, h("div", { class: CSS$2.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) }), h("div", { class: CSS$2.container }, h("slot", null)))));
26274
26847
  }
26275
26848
  get el() { return this; }
@@ -27143,7 +27716,7 @@ const ValueListItem = class extends HTMLElement$1 {
27143
27716
  };
27144
27717
 
27145
27718
  const CalciteAccordion = /*@__PURE__*/proxyCustomElement(Accordion, [1,"calcite-accordion",{"appearance":[513],"iconPosition":[513,"icon-position"],"iconType":[513,"icon-type"],"scale":[513],"selectionMode":[513,"selection-mode"]},[[0,"calciteInternalAccordionItemKeyEvent","calciteInternalAccordionItemKeyEvent"],[0,"calciteInternalAccordionItemRegister","registerCalciteAccordionItem"],[0,"calciteInternalAccordionItemSelect","updateActiveItemOnChange"]]]);
27146
- const CalciteAccordionItem = /*@__PURE__*/proxyCustomElement(AccordionItem, [1,"calcite-accordion-item",{"active":[1540],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"heading":[1],"description":[1],"icon":[513]},[[0,"keydown","keyDownHandler"],[16,"calciteInternalAccordionChange","updateActiveItemOnChange"]]]);
27719
+ const CalciteAccordionItem = /*@__PURE__*/proxyCustomElement(AccordionItem, [1,"calcite-accordion-item",{"active":[1540],"expanded":[1540],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"heading":[1],"description":[1],"icon":[513]},[[0,"keydown","keyDownHandler"],[16,"calciteInternalAccordionChange","updateActiveItemOnChange"]]]);
27147
27720
  const CalciteAction = /*@__PURE__*/proxyCustomElement(Action, [1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"indicator":[516],"intlLoading":[1,"intl-loading"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
27148
27721
  const CalciteActionBar = /*@__PURE__*/proxyCustomElement(ActionBar, [1,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"overflowActionsDisabled":[4,"overflow-actions-disabled"],"position":[513],"scale":[513]}]);
27149
27722
  const CalciteActionGroup = /*@__PURE__*/proxyCustomElement(ActionGroup, [1,"calcite-action-group",{"expanded":[516],"layout":[513],"columns":[514],"intlMore":[1,"intl-more"],"menuOpen":[1540,"menu-open"],"scale":[513]}]);
@@ -27160,14 +27733,14 @@ const CalciteChip = /*@__PURE__*/proxyCustomElement(Chip, [1,"calcite-chip",{"ap
27160
27733
  const CalciteColorPicker = /*@__PURE__*/proxyCustomElement(ColorPicker, [1,"calcite-color-picker",{"allowEmpty":[4,"allow-empty"],"appearance":[513],"color":[1040],"disabled":[516],"format":[1],"hideHex":[4,"hide-hex"],"hideChannels":[4,"hide-channels"],"hideSaved":[4,"hide-saved"],"intlB":[1,"intl-b"],"intlBlue":[1,"intl-blue"],"intlDeleteColor":[1,"intl-delete-color"],"intlG":[1,"intl-g"],"intlGreen":[1,"intl-green"],"intlH":[1,"intl-h"],"intlHsv":[1,"intl-hsv"],"intlHex":[1,"intl-hex"],"intlHue":[1,"intl-hue"],"intlNoColor":[1,"intl-no-color"],"intlR":[1,"intl-r"],"intlRed":[1,"intl-red"],"intlRgb":[1,"intl-rgb"],"intlS":[1,"intl-s"],"intlSaturation":[1,"intl-saturation"],"intlSaveColor":[1,"intl-save-color"],"intlSaved":[1,"intl-saved"],"intlV":[1,"intl-v"],"intlValue":[1,"intl-value"],"scale":[513],"storageId":[1,"storage-id"],"numberingSystem":[1,"numbering-system"],"value":[1025],"colorFieldAndSliderInteractive":[32],"channelMode":[32],"channels":[32],"dimensions":[32],"savedColors":[32],"colorFieldScopeTop":[32],"colorFieldScopeLeft":[32],"scopeOrientation":[32],"hueScopeLeft":[32],"hueScopeTop":[32]},[[2,"keydown","handleChannelKeyUpOrDown"],[2,"keyup","handleChannelKeyUpOrDown"]]]);
27161
27734
  const CalciteColorPickerHexInput = /*@__PURE__*/proxyCustomElement(ColorPickerHexInput, [1,"calcite-color-picker-hex-input",{"allowEmpty":[4,"allow-empty"],"intlHex":[1,"intl-hex"],"intlNoColor":[1,"intl-no-color"],"scale":[513],"value":[1537],"numberingSystem":[1,"numbering-system"],"internalColor":[32]},[[2,"keydown","onInputKeyDown"]]]);
27162
27735
  const CalciteColorPickerSwatch = /*@__PURE__*/proxyCustomElement(ColorPickerSwatch, [1,"calcite-color-picker-swatch",{"active":[516],"color":[1],"scale":[513]}]);
27163
- const CalciteCombobox = /*@__PURE__*/proxyCustomElement(Combobox, [1,"calcite-combobox",{"active":[1540],"disabled":[516],"label":[1],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"intlRemoveTag":[1,"intl-remove-tag"],"flipPlacements":[16],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32]},[[4,"click","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]]);
27736
+ const CalciteCombobox = /*@__PURE__*/proxyCustomElement(Combobox, [1,"calcite-combobox",{"active":[1540],"open":[1540],"disabled":[516],"label":[1],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"intlRemoveTag":[1,"intl-remove-tag"],"flipPlacements":[16],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32]},[[4,"click","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]]);
27164
27737
  const CalciteComboboxItem = /*@__PURE__*/proxyCustomElement(ComboboxItem, [1,"calcite-combobox-item",{"disabled":[516],"selected":[1540],"active":[4],"ancestors":[1040],"guid":[1],"icon":[1],"textLabel":[513,"text-label"],"value":[8],"constant":[516],"filterDisabled":[4,"filter-disabled"]}]);
27165
27738
  const CalciteComboboxItemGroup = /*@__PURE__*/proxyCustomElement(ComboboxItemGroup, [1,"calcite-combobox-item-group",{"ancestors":[1040],"label":[1]}]);
27166
27739
  const CalciteDatePicker = /*@__PURE__*/proxyCustomElement(DatePicker, [1,"calcite-date-picker",{"activeRange":[1,"active-range"],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"start":[1025],"end":[1025],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"activeDate":[32],"activeStartDate":[32],"activeEndDate":[32],"localeData":[32],"hoverRange":[32]}]);
27167
27740
  const CalciteDatePickerDay = /*@__PURE__*/proxyCustomElement(DatePickerDay, [1,"calcite-date-picker-day",{"day":[2],"disabled":[516],"currentMonth":[516,"current-month"],"selected":[516],"highlighted":[516],"range":[516],"startOfRange":[516,"start-of-range"],"endOfRange":[516,"end-of-range"],"rangeHover":[516,"range-hover"],"active":[516],"localeData":[16],"scale":[513],"value":[16]},[[1,"mouseover","mouseoverHandler"]]]);
27168
27741
  const CalciteDatePickerMonth = /*@__PURE__*/proxyCustomElement(DatePickerMonth, [1,"calcite-date-picker-month",{"selectedDate":[16],"activeDate":[16],"startDate":[16],"endDate":[16],"min":[16],"max":[16],"scale":[513],"localeData":[16],"hoverRange":[16]},[[1,"mouseout","mouseoutHandler"]]]);
27169
27742
  const CalciteDatePickerMonthHeader = /*@__PURE__*/proxyCustomElement(DatePickerMonthHeader, [1,"calcite-date-picker-month-header",{"selectedDate":[16],"activeDate":[16],"headingLevel":[2,"heading-level"],"min":[16],"max":[16],"locale":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"scale":[513],"localeData":[16],"nextMonthDate":[32],"prevMonthDate":[32]}]);
27170
- const CalciteDropdown = /*@__PURE__*/proxyCustomElement(Dropdown, [1,"calcite-dropdown",{"active":[1540],"disableCloseOnSelect":[516,"disable-close-on-select"],"disabled":[516],"flipPlacements":[16],"maxItems":[2,"max-items"],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"selectedItems":[1040],"type":[513],"width":[513]},[[8,"click","closeCalciteDropdownOnClick"],[0,"calciteInternalDropdownCloseRequest","closeCalciteDropdownOnEvent"],[8,"calciteDropdownOpen","closeCalciteDropdownOnOpenEvent"],[1,"mouseenter","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"calciteInternalDropdownItemKeyEvent","calciteInternalDropdownItemKeyEvent"],[0,"calciteInternalDropdownItemSelect","handleItemSelect"]]]);
27743
+ const CalciteDropdown = /*@__PURE__*/proxyCustomElement(Dropdown, [1,"calcite-dropdown",{"active":[1540],"open":[1540],"disableCloseOnSelect":[516,"disable-close-on-select"],"disabled":[516],"flipPlacements":[16],"maxItems":[2,"max-items"],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"selectedItems":[1040],"type":[513],"width":[513]},[[8,"click","closeCalciteDropdownOnClick"],[0,"calciteInternalDropdownCloseRequest","closeCalciteDropdownOnEvent"],[8,"calciteDropdownOpen","closeCalciteDropdownOnOpenEvent"],[1,"mouseenter","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"calciteInternalDropdownItemKeyEvent","calciteInternalDropdownItemKeyEvent"],[0,"calciteInternalDropdownItemSelect","handleItemSelect"]]]);
27171
27744
  const CalciteDropdownGroup = /*@__PURE__*/proxyCustomElement(DropdownGroup, [1,"calcite-dropdown-group",{"groupTitle":[513,"group-title"],"selectionMode":[513,"selection-mode"],"scale":[513]},[[0,"calciteInternalDropdownItemSelect","updateActiveItemOnChange"]]]);
27172
27745
  const CalciteDropdownItem = /*@__PURE__*/proxyCustomElement(DropdownItem, [1,"calcite-dropdown-item",{"active":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"href":[513],"label":[1],"rel":[1],"target":[1]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"],[16,"calciteInternalDropdownItemChange","updateActiveItemOnChange"]]]);
27173
27746
  const CalciteFab = /*@__PURE__*/proxyCustomElement(Fab, [1,"calcite-fab",{"appearance":[513],"color":[513],"disabled":[516],"icon":[1],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
@@ -27180,14 +27753,15 @@ const CalciteInlineEditable = /*@__PURE__*/proxyCustomElement(InlineEditable, [1
27180
27753
  const CalciteInput = /*@__PURE__*/proxyCustomElement(Input, [1,"calcite-input",{"alignment":[513],"autofocus":[4],"clearable":[516],"disabled":[516],"groupSeparator":[4,"group-separator"],"hidden":[4],"icon":[520],"intlClear":[1,"intl-clear"],"intlLoading":[1,"intl-loading"],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"locale":[1],"numberingSystem":[1,"numbering-system"],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxlength":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[4,"read-only"],"required":[4],"scale":[1537],"status":[1537],"step":[520],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"type":[513],"value":[1025],"localizedValue":[32]}]);
27181
27754
  const CalciteInputDatePicker = /*@__PURE__*/proxyCustomElement(InputDatePicker, [1,"calcite-input-date-picker",{"disabled":[516],"value":[1025],"flipPlacements":[16],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"active":[1540],"name":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"placement":[513],"range":[516],"required":[516],"start":[1025],"end":[1025],"overlayPositioning":[1,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"focusedInput":[32],"localeData":[32]},[[0,"calciteDatePickerChange","handleDateOrRangeChange"],[0,"calciteDatePickerRangeChange","handleDateOrRangeChange"],[0,"calciteDaySelect","calciteDaySelectHandler"]]]);
27182
27755
  const CalciteInputMessage = /*@__PURE__*/proxyCustomElement(InputMessage, [1,"calcite-input-message",{"active":[516],"icon":[520],"scale":[1537],"status":[1537],"type":[513]}]);
27756
+ const CalciteInputNumber = /*@__PURE__*/proxyCustomElement(InputNumber, [1,"calcite-input-number",{"alignment":[513],"autofocus":[4],"clearable":[516],"disabled":[516],"groupSeparator":[4,"group-separator"],"hidden":[4],"icon":[520],"intlClear":[1,"intl-clear"],"intlLoading":[1,"intl-loading"],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"locale":[1],"numberingSystem":[1,"numbering-system"],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[4,"read-only"],"required":[4],"scale":[1537],"status":[1537],"step":[520],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"value":[1025],"localizedValue":[32]}]);
27183
27757
  const CalciteInputTimePicker = /*@__PURE__*/proxyCustomElement(InputTimePicker, [1,"calcite-input-time-picker",{"active":[1540],"disabled":[516],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"name":[1],"required":[516],"scale":[513],"placement":[513],"step":[2],"value":[1025],"localizedValue":[32]},[[0,"click","clickHandler"],[0,"keyup","keyUpHandler"],[0,"calciteInternalTimePickerBlur","timePickerBlurHandler"],[0,"calciteInternalTimePickerFocus","timePickerFocusHandler"]]]);
27184
- const CalciteLabel = /*@__PURE__*/proxyCustomElement(Label, [1,"calcite-label",{"alignment":[513],"status":[513],"for":[513],"scale":[513],"layout":[513],"disabled":[516]}]);
27758
+ const CalciteLabel = /*@__PURE__*/proxyCustomElement(Label, [1,"calcite-label",{"alignment":[513],"status":[513],"for":[513],"scale":[513],"layout":[513],"disabled":[516],"disableSpacing":[4,"disable-spacing"]}]);
27185
27759
  const CalciteLink = /*@__PURE__*/proxyCustomElement(Link, [1,"calcite-link",{"disabled":[516],"download":[520],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"rel":[1],"target":[1]}]);
27186
27760
  const CalciteList = /*@__PURE__*/proxyCustomElement(List$1, [1,"calcite-list",{"disabled":[516],"headingLevel":[2,"heading-level"]}]);
27187
27761
  const CalciteListItem = /*@__PURE__*/proxyCustomElement(ListItem, [1,"calcite-list-item",{"nonInteractive":[516,"non-interactive"],"description":[1],"disabled":[516],"label":[1]}]);
27188
27762
  const CalciteListItemGroup = /*@__PURE__*/proxyCustomElement(ListItemGroup, [1,"calcite-list-item-group",{"heading":[513],"headingLevel":[2,"heading-level"]}]);
27189
27763
  const CalciteLoader = /*@__PURE__*/proxyCustomElement(Loader, [1,"calcite-loader",{"active":[516],"inline":[516],"label":[1],"scale":[513],"type":[513],"value":[2],"text":[1],"noPadding":[4,"no-padding"]}]);
27190
- const CalciteModal = /*@__PURE__*/proxyCustomElement(Modal, [1,"calcite-modal",{"active":[1540],"beforeClose":[16],"disableCloseButton":[4,"disable-close-button"],"disableOutsideClose":[4,"disable-outside-close"],"intlClose":[1,"intl-close"],"docked":[516],"disableEscape":[4,"disable-escape"],"scale":[513],"width":[520],"fullscreen":[516],"color":[513],"backgroundColor":[513,"background-color"],"noPadding":[4,"no-padding"],"hasFooter":[32]},[[8,"keyup","handleEscape"]]]);
27764
+ const CalciteModal = /*@__PURE__*/proxyCustomElement(Modal, [1,"calcite-modal",{"active":[1540],"open":[1540],"beforeClose":[16],"disableCloseButton":[4,"disable-close-button"],"disableOutsideClose":[4,"disable-outside-close"],"intlClose":[1,"intl-close"],"docked":[516],"disableEscape":[4,"disable-escape"],"scale":[513],"width":[520],"fullscreen":[516],"color":[513],"backgroundColor":[513,"background-color"],"noPadding":[4,"no-padding"],"hasFooter":[32]},[[8,"keyup","handleEscape"]]]);
27191
27765
  const CalciteNotice = /*@__PURE__*/proxyCustomElement(Notice, [1,"calcite-notice",{"active":[1540],"color":[513],"dismissible":[516],"icon":[520],"intlClose":[1,"intl-close"],"scale":[513],"width":[513]}]);
27192
27766
  const CalciteOption = /*@__PURE__*/proxyCustomElement(Option, [1,"calcite-option",{"disabled":[516],"label":[1025],"selected":[516],"value":[1032]}]);
27193
27767
  const CalciteOptionGroup = /*@__PURE__*/proxyCustomElement(OptionGroup, [1,"calcite-option-group",{"disabled":[516],"label":[1]}]);
@@ -27273,6 +27847,7 @@ const defineCustomElements = (opts) => {
27273
27847
  CalciteInput,
27274
27848
  CalciteInputDatePicker,
27275
27849
  CalciteInputMessage,
27850
+ CalciteInputNumber,
27276
27851
  CalciteInputTimePicker,
27277
27852
  CalciteLabel,
27278
27853
  CalciteLink,
@@ -27333,4 +27908,4 @@ const defineCustomElements = (opts) => {
27333
27908
  }
27334
27909
  };
27335
27910
 
27336
- export { CalciteAccordion, CalciteAccordionItem, CalciteAction, CalciteActionBar, CalciteActionGroup, CalciteActionMenu, CalciteActionPad, CalciteAlert, CalciteAvatar, CalciteBlock, CalciteBlockSection, CalciteButton, CalciteCard, CalciteCheckbox, CalciteChip, CalciteColorPicker, CalciteColorPickerHexInput, CalciteColorPickerSwatch, CalciteCombobox, CalciteComboboxItem, CalciteComboboxItemGroup, CalciteDatePicker, CalciteDatePickerDay, CalciteDatePickerMonth, CalciteDatePickerMonthHeader, CalciteDropdown, CalciteDropdownGroup, CalciteDropdownItem, CalciteFab, CalciteFilter, CalciteFlow, CalciteGraph, CalciteHandle, CalciteIcon, CalciteInlineEditable, CalciteInput, CalciteInputDatePicker, CalciteInputMessage, CalciteInputTimePicker, CalciteLabel, CalciteLink, CalciteList, CalciteListItem, CalciteListItemGroup, CalciteLoader, CalciteModal, CalciteNotice, CalciteOption, CalciteOptionGroup, CalcitePagination, CalcitePanel, CalcitePickList, CalcitePickListGroup, CalcitePickListItem, CalcitePopover, CalcitePopoverManager, CalciteProgress, CalciteRadioButton, CalciteRadioButtonGroup, CalciteRadioGroup, CalciteRadioGroupItem, CalciteRating, CalciteScrim, CalciteSelect, CalciteShell, CalciteShellCenterRow, CalciteShellPanel, CalciteSlider, CalciteSortableList, CalciteSplitButton, CalciteStepper, CalciteStepperItem, CalciteSwitch, CalciteTab, CalciteTabNav, CalciteTabTitle, CalciteTabs, CalciteTile, CalciteTileSelect, CalciteTileSelectGroup, CalciteTimePicker, CalciteTip, CalciteTipGroup, CalciteTipManager, CalciteTooltip, CalciteTooltipManager, CalciteTree, CalciteTreeItem, CalciteValueList, CalciteValueListItem, defineCustomElements };
27911
+ export { CalciteAccordion, CalciteAccordionItem, CalciteAction, CalciteActionBar, CalciteActionGroup, CalciteActionMenu, CalciteActionPad, CalciteAlert, CalciteAvatar, CalciteBlock, CalciteBlockSection, CalciteButton, CalciteCard, CalciteCheckbox, CalciteChip, CalciteColorPicker, CalciteColorPickerHexInput, CalciteColorPickerSwatch, CalciteCombobox, CalciteComboboxItem, CalciteComboboxItemGroup, CalciteDatePicker, CalciteDatePickerDay, CalciteDatePickerMonth, CalciteDatePickerMonthHeader, CalciteDropdown, CalciteDropdownGroup, CalciteDropdownItem, CalciteFab, CalciteFilter, CalciteFlow, CalciteGraph, CalciteHandle, CalciteIcon, CalciteInlineEditable, CalciteInput, CalciteInputDatePicker, CalciteInputMessage, CalciteInputNumber, CalciteInputTimePicker, CalciteLabel, CalciteLink, CalciteList, CalciteListItem, CalciteListItemGroup, CalciteLoader, CalciteModal, CalciteNotice, CalciteOption, CalciteOptionGroup, CalcitePagination, CalcitePanel, CalcitePickList, CalcitePickListGroup, CalcitePickListItem, CalcitePopover, CalcitePopoverManager, CalciteProgress, CalciteRadioButton, CalciteRadioButtonGroup, CalciteRadioGroup, CalciteRadioGroupItem, CalciteRating, CalciteScrim, CalciteSelect, CalciteShell, CalciteShellCenterRow, CalciteShellPanel, CalciteSlider, CalciteSortableList, CalciteSplitButton, CalciteStepper, CalciteStepperItem, CalciteSwitch, CalciteTab, CalciteTabNav, CalciteTabTitle, CalciteTabs, CalciteTile, CalciteTileSelect, CalciteTileSelectGroup, CalciteTimePicker, CalciteTip, CalciteTipGroup, CalciteTipManager, CalciteTooltip, CalciteTooltipManager, CalciteTree, CalciteTreeItem, CalciteValueList, CalciteValueListItem, defineCustomElements };