@esri/calcite-components 1.0.0-next.540 → 1.0.0-next.543

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 (834) hide show
  1. package/dist/calcite/assets/date-picker/nls/pt-PT.json +1 -0
  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-de81c890.entry.js → p-02b55f85.entry.js} +2 -2
  6. package/dist/calcite/{p-41cc3517.entry.js → p-044f8d03.entry.js} +2 -2
  7. package/dist/calcite/{p-57518b2c.entry.js → p-04bfc3db.entry.js} +2 -2
  8. package/dist/calcite/{p-843f32cb.system.entry.js → p-052c7ca4.system.entry.js} +2 -2
  9. package/dist/calcite/{p-236df5dc.system.entry.js → p-05a85116.system.entry.js} +2 -2
  10. package/dist/calcite/{p-796eae33.system.entry.js → p-05d0db6c.system.entry.js} +2 -2
  11. package/dist/calcite/{p-fed97308.system.entry.js → p-07433ca7.system.entry.js} +2 -2
  12. package/dist/calcite/{p-284bd0f9.entry.js → p-07a3e9ea.entry.js} +2 -2
  13. package/dist/calcite/p-0bf41941.system.entry.js +6 -0
  14. package/dist/calcite/{p-33b52921.entry.js → p-0d842738.entry.js} +2 -2
  15. package/dist/calcite/{p-5e059da1.system.entry.js → p-0fb0bd6e.system.entry.js} +2 -2
  16. package/dist/calcite/{p-2878d8ea.system.entry.js → p-10c48cac.system.entry.js} +2 -2
  17. package/dist/calcite/{p-7e88e90e.entry.js → p-11d898b6.entry.js} +2 -2
  18. package/dist/calcite/{p-6ccd08a2.entry.js → p-12282a94.entry.js} +2 -2
  19. package/dist/calcite/{p-bab9b04d.entry.js → p-139b20b1.entry.js} +2 -2
  20. package/dist/calcite/{p-97250489.entry.js → p-13d2a093.entry.js} +2 -2
  21. package/dist/calcite/{p-c4d6600e.system.entry.js → p-13de86fa.system.entry.js} +2 -2
  22. package/dist/calcite/{p-9081a999.js → p-17a3bf1b.js} +2 -2
  23. package/dist/calcite/p-19a8ec4a.entry.js +6 -0
  24. package/dist/calcite/{p-d2bee20b.system.entry.js → p-1c01b808.system.entry.js} +2 -2
  25. package/dist/calcite/p-1ea493af.system.entry.js +6 -0
  26. package/dist/calcite/{p-bed4ca2d.system.js → p-20d101a7.system.js} +1 -1
  27. package/dist/calcite/{p-45fad0a6.js → p-2627da2a.js} +1 -1
  28. package/dist/calcite/{p-455a09fa.entry.js → p-2a0225aa.entry.js} +2 -2
  29. package/dist/calcite/{p-282779ab.js → p-2a344d73.js} +2 -2
  30. package/dist/calcite/{p-83a1a1a0.system.js → p-2c0209e1.system.js} +2 -2
  31. package/dist/calcite/{p-21ffd209.system.entry.js → p-31bacf1e.system.entry.js} +2 -2
  32. package/dist/calcite/{p-1d246a53.system.entry.js → p-32921ddc.system.entry.js} +2 -2
  33. package/dist/calcite/{p-fa3d3f2e.js → p-3313304b.js} +1 -1
  34. package/dist/calcite/{p-4fa871b3.entry.js → p-353dd973.entry.js} +2 -2
  35. package/dist/calcite/{p-4b4d9aed.system.entry.js → p-3588b370.system.entry.js} +2 -2
  36. package/dist/calcite/{p-f55e50a1.js → p-3723d05c.js} +1 -1
  37. package/dist/calcite/{p-a4da909d.entry.js → p-3845f9d3.entry.js} +2 -2
  38. package/dist/calcite/{p-4120d714.entry.js → p-38a545d4.entry.js} +2 -2
  39. package/dist/calcite/{p-82421662.system.entry.js → p-3b1a7e3a.system.entry.js} +2 -2
  40. package/dist/calcite/{p-c2fcfe6e.js → p-3cbd63e6.js} +2 -2
  41. package/dist/calcite/{p-df7de081.js → p-3d457897.js} +2 -2
  42. package/dist/calcite/{p-e7557189.system.js → p-3eac44dd.system.js} +2 -2
  43. package/dist/calcite/{p-6c93db81.system.entry.js → p-3f35b82f.system.entry.js} +2 -2
  44. package/dist/calcite/{p-b8ac5258.system.js → p-42a9b7ab.system.js} +1 -1
  45. package/dist/calcite/{p-7e30641a.system.entry.js → p-435d9ec4.system.entry.js} +2 -2
  46. package/dist/calcite/{p-af6b3d2c.system.entry.js → p-43b5899f.system.entry.js} +2 -2
  47. package/dist/calcite/{p-968e8e9e.entry.js → p-456cfe88.entry.js} +2 -2
  48. package/dist/calcite/{p-1cbae146.entry.js → p-46e5af54.entry.js} +2 -2
  49. package/dist/calcite/{p-f3df7ed6.js → p-473ebae9.js} +1 -1
  50. package/dist/calcite/{p-d85a8a30.entry.js → p-49451999.entry.js} +2 -2
  51. package/dist/calcite/{p-0f119bf9.entry.js → p-4b5e0440.entry.js} +2 -2
  52. package/dist/calcite/{p-5982c91c.system.js → p-4b75a880.system.js} +1 -1
  53. package/dist/calcite/{p-7b352412.system.entry.js → p-4c823e2a.system.entry.js} +2 -2
  54. package/dist/calcite/{p-a650a5e5.system.entry.js → p-4f18b423.system.entry.js} +2 -2
  55. package/dist/calcite/{p-584cba98.entry.js → p-4f3bc202.entry.js} +2 -2
  56. package/dist/calcite/{p-5f55efba.js → p-51795827.js} +2 -2
  57. package/dist/calcite/{p-31537880.js → p-532bc4a9.js} +1 -1
  58. package/dist/calcite/{p-98389052.system.entry.js → p-54f32e44.system.entry.js} +2 -2
  59. package/dist/calcite/{p-8bcd756d.entry.js → p-55aabe3e.entry.js} +2 -2
  60. package/dist/calcite/p-5653de4a.entry.js +6 -0
  61. package/dist/calcite/{p-5047a1a5.system.entry.js → p-56744044.system.entry.js} +2 -2
  62. package/dist/calcite/{p-5b4d4cf9.entry.js → p-571d25a5.entry.js} +2 -2
  63. package/dist/calcite/{p-782aa3a2.entry.js → p-57816943.entry.js} +2 -2
  64. package/dist/calcite/{p-4cec4a18.entry.js → p-586b8e41.entry.js} +2 -2
  65. package/dist/calcite/{p-988abea8.system.js → p-5a589eee.system.js} +1 -1
  66. package/dist/calcite/{p-6243deb7.system.js → p-5d3d341b.system.js} +2 -2
  67. package/dist/calcite/{p-430013af.system.entry.js → p-5df2b54a.system.entry.js} +3 -3
  68. package/dist/calcite/{p-2ed089c9.system.entry.js → p-5e8f463c.system.entry.js} +2 -2
  69. package/dist/calcite/{p-7959e391.entry.js → p-5fbf34b5.entry.js} +2 -2
  70. package/dist/calcite/{p-e826221d.js → p-60e376e3.js} +1 -1
  71. package/dist/calcite/{p-96b98b6d.system.entry.js → p-61108ef4.system.entry.js} +2 -2
  72. package/dist/calcite/{p-6bce0861.entry.js → p-619985e8.entry.js} +2 -2
  73. package/dist/calcite/{p-d14f54a8.system.entry.js → p-62738405.system.entry.js} +2 -2
  74. package/dist/calcite/{p-181e8d7e.system.entry.js → p-63cdcb42.system.entry.js} +2 -2
  75. package/dist/calcite/{p-cb36c8af.system.entry.js → p-64ec63b7.system.entry.js} +2 -2
  76. package/dist/calcite/{p-7f16c375.entry.js → p-67a5f43a.entry.js} +2 -2
  77. package/dist/calcite/{p-06e61757.js → p-68fa2a3d.js} +2 -2
  78. package/dist/calcite/{p-0264a02d.system.entry.js → p-692272f1.system.entry.js} +2 -2
  79. package/dist/calcite/{p-04b8ad5f.entry.js → p-698fecd1.entry.js} +2 -2
  80. package/dist/calcite/{p-4766e16c.js → p-6a3a7cde.js} +2 -2
  81. package/dist/calcite/{p-0d9247a1.system.entry.js → p-6a692ca2.system.entry.js} +2 -2
  82. package/dist/calcite/{p-24c6115f.system.entry.js → p-6de47b9b.system.entry.js} +2 -2
  83. package/dist/calcite/p-73b9e981.system.js +6 -0
  84. package/dist/calcite/{p-a576ac8b.entry.js → p-73f742cb.entry.js} +2 -2
  85. package/dist/calcite/{p-15849a19.entry.js → p-7584d20d.entry.js} +2 -2
  86. package/dist/calcite/{p-c3ffab5f.system.entry.js → p-760e789e.system.entry.js} +2 -2
  87. package/dist/calcite/{p-139be3ba.system.js → p-79c9fdc0.system.js} +1 -1
  88. package/dist/calcite/{p-cb4240bf.system.entry.js → p-7e45977d.system.entry.js} +2 -2
  89. package/dist/calcite/{p-7f4e44dd.js → p-7e9f2464.js} +2 -2
  90. package/dist/calcite/{p-a7890af0.js → p-7ff206f8.js} +1 -1
  91. package/dist/calcite/{p-56119945.system.entry.js → p-83222866.system.entry.js} +2 -2
  92. package/dist/calcite/p-8497f2d0.entry.js +6 -0
  93. package/dist/calcite/{p-e2efbb3f.system.js → p-84e31e94.system.js} +2 -2
  94. package/dist/calcite/{p-8aea3e1d.js → p-868a4650.js} +1 -1
  95. package/dist/calcite/{p-65e42525.entry.js → p-86dd3fc3.entry.js} +2 -2
  96. package/dist/calcite/{p-cf694620.system.entry.js → p-872343d3.system.entry.js} +2 -2
  97. package/dist/calcite/{p-69bf90b4.system.entry.js → p-8ab8c580.system.entry.js} +2 -2
  98. package/dist/calcite/{p-4d21107f.system.entry.js → p-8bae58be.system.entry.js} +2 -2
  99. package/dist/calcite/{p-7723d0e4.js → p-8e5dc763.js} +1 -1
  100. package/dist/calcite/{p-23300b5b.system.entry.js → p-932d2dec.system.entry.js} +2 -2
  101. package/dist/calcite/{p-1f594421.js → p-95615797.js} +1 -1
  102. package/dist/calcite/{p-eb851d93.system.js → p-96509355.system.js} +2 -2
  103. package/dist/calcite/{p-2b81ac15.system.js → p-98432edd.system.js} +2 -2
  104. package/dist/calcite/{p-f6f0ef1a.entry.js → p-98461518.entry.js} +2 -2
  105. package/dist/calcite/p-9a1b659c.js +6 -0
  106. package/dist/calcite/{p-09f997de.system.entry.js → p-9abd0076.system.entry.js} +2 -2
  107. package/dist/calcite/{p-bf24af9f.system.js → p-9c86b0bc.system.js} +1 -1
  108. package/dist/calcite/{p-3aa49808.system.entry.js → p-9cdb888a.system.entry.js} +2 -2
  109. package/dist/calcite/{p-85433ab6.system.js → p-9d9ce173.system.js} +1 -1
  110. package/dist/calcite/{p-97d19a09.system.entry.js → p-9db2d5ae.system.entry.js} +2 -2
  111. package/dist/calcite/{p-2176944c.entry.js → p-9e401f07.entry.js} +2 -2
  112. package/dist/calcite/{p-06dd5021.js → p-9e72f903.js} +1 -1
  113. package/dist/calcite/{p-1bcde645.entry.js → p-9f46f6f0.entry.js} +2 -2
  114. package/dist/calcite/{p-a60e844d.entry.js → p-a031a036.entry.js} +2 -2
  115. package/dist/calcite/p-a26611cb.js +6 -0
  116. package/dist/calcite/{p-d80d6bd7.system.entry.js → p-a37c659e.system.entry.js} +2 -2
  117. package/dist/calcite/{p-50fbd196.entry.js → p-a8b8546b.entry.js} +2 -2
  118. package/dist/calcite/{p-c55e0d3d.system.entry.js → p-a8c4ad47.system.entry.js} +2 -2
  119. package/dist/calcite/{p-aa4ff8b3.system.entry.js → p-aa38fb8d.system.entry.js} +2 -2
  120. package/dist/calcite/{p-6741f1d0.system.js → p-aa64c590.system.js} +1 -1
  121. package/dist/calcite/{p-fcdd43d8.system.entry.js → p-af33b2fb.system.entry.js} +2 -2
  122. package/dist/calcite/{p-b4afd568.system.entry.js → p-af5cdbf9.system.entry.js} +3 -3
  123. package/dist/calcite/p-b02484e6.system.entry.js +6 -0
  124. package/dist/calcite/p-b549d77e.entry.js +6 -0
  125. package/dist/calcite/p-b7df98e7.entry.js +6 -0
  126. package/dist/calcite/{p-ad3541d1.system.js → p-bb686895.system.js} +1 -1
  127. package/dist/calcite/{p-1a483fcc.system.entry.js → p-bb6f1045.system.entry.js} +2 -2
  128. package/dist/calcite/{p-86e847b0.system.entry.js → p-bd9cd4a0.system.entry.js} +2 -2
  129. package/dist/calcite/p-c07115bb.entry.js +6 -0
  130. package/dist/calcite/p-c0bf1d56.system.entry.js +6 -0
  131. package/dist/calcite/{p-c8952d69.entry.js → p-c21838e6.entry.js} +2 -2
  132. package/dist/calcite/{p-5acdd99e.system.entry.js → p-c3d15e2f.system.entry.js} +2 -2
  133. package/dist/calcite/{p-3ea3cc27.entry.js → p-c5884c95.entry.js} +2 -2
  134. package/dist/calcite/{p-be057631.js → p-c5d63567.js} +1 -1
  135. package/dist/calcite/{p-3407f93a.entry.js → p-c61ec448.entry.js} +2 -2
  136. package/dist/calcite/{p-1fc4d3b7.system.entry.js → p-c61f5dc3.system.entry.js} +2 -2
  137. package/dist/calcite/{p-9b9ab3be.system.js → p-c9d9a61e.system.js} +2 -2
  138. package/dist/calcite/{p-7147160a.entry.js → p-ca62bed1.entry.js} +2 -2
  139. package/dist/calcite/{p-1d8cb69f.entry.js → p-cb58b1ed.entry.js} +2 -2
  140. package/dist/calcite/{p-9eafb72e.entry.js → p-cfb24db3.entry.js} +2 -2
  141. package/dist/calcite/p-cfda9102.entry.js +6 -0
  142. package/dist/calcite/{p-5a31353b.system.entry.js → p-d01f7bc3.system.entry.js} +2 -2
  143. package/dist/calcite/{p-825fe8c3.system.js → p-d03a4957.system.js} +2 -2
  144. package/dist/calcite/{p-152cd873.system.js → p-d1e9b864.system.js} +2 -2
  145. package/dist/calcite/{p-22eade13.entry.js → p-d2e102a3.entry.js} +2 -2
  146. package/dist/calcite/{p-892a91af.entry.js → p-d7333730.entry.js} +2 -2
  147. package/dist/calcite/{p-e9325ead.system.js → p-d7d26326.system.js} +1 -1
  148. package/dist/calcite/{p-297f9e1d.js → p-d9ad0d82.js} +2 -2
  149. package/dist/calcite/{p-41ece470.entry.js → p-da800aa7.entry.js} +2 -2
  150. package/dist/calcite/{p-1255d678.system.entry.js → p-db44c872.system.entry.js} +2 -2
  151. package/dist/calcite/{p-fd33a805.entry.js → p-db5bf7fa.entry.js} +2 -2
  152. package/dist/calcite/{p-a938cd5c.entry.js → p-db5d3424.entry.js} +2 -2
  153. package/dist/calcite/{p-3b051d3e.system.js → p-dfe38878.system.js} +1 -1
  154. package/dist/calcite/{p-668344b9.js → p-e47b720a.js} +1 -1
  155. package/dist/calcite/{p-b5e9d382.system.entry.js → p-e5f91ab3.system.entry.js} +2 -2
  156. package/dist/calcite/{p-3faf664a.entry.js → p-eaab1de4.entry.js} +2 -2
  157. package/dist/calcite/{p-a47affe1.system.entry.js → p-ebb335de.system.entry.js} +2 -2
  158. package/dist/calcite/{p-940c72de.system.entry.js → p-ebbd9f33.system.entry.js} +2 -2
  159. package/dist/calcite/{p-a5a20085.system.entry.js → p-ec29aa02.system.entry.js} +2 -2
  160. package/dist/calcite/{p-b16b6419.system.js → p-ed28e60b.system.js} +1 -1
  161. package/dist/calcite/{p-f2ebaed2.entry.js → p-ed329bfc.entry.js} +2 -2
  162. package/dist/calcite/{p-3091c9bd.entry.js → p-ee0cf44d.entry.js} +2 -2
  163. package/dist/calcite/{p-03a46980.system.js → p-ee7131fb.system.js} +2 -2
  164. package/dist/calcite/{p-8f527752.system.entry.js → p-f574d6c3.system.entry.js} +2 -2
  165. package/dist/calcite/{p-cbd07d72.system.js → p-f65141bc.system.js} +1 -1
  166. package/dist/calcite/{p-78e4cdf3.entry.js → p-f8614769.entry.js} +2 -2
  167. package/dist/calcite/{p-d422d2ca.entry.js → p-f9bf1673.entry.js} +2 -2
  168. package/dist/calcite/{p-98b5a5fb.system.entry.js → p-fbb88da9.system.entry.js} +2 -2
  169. package/dist/calcite/{p-a407cfff.system.js → p-fbf5744b.system.js} +3 -3
  170. package/dist/calcite/{p-36932349.entry.js → p-fc59b5bf.entry.js} +2 -2
  171. package/dist/calcite/{p-d13e65c2.entry.js → p-fd10dc0d.entry.js} +2 -2
  172. package/dist/calcite/{p-39888238.system.js → p-ff2d5911.system.js} +1 -1
  173. package/dist/cjs/{ExpandToggle-bdbadf09.js → ExpandToggle-c7d4af52.js} +5 -5
  174. package/dist/cjs/{Heading-69bc15ec.js → Heading-beaacc00.js} +2 -2
  175. package/dist/cjs/{array-4af50c1d.js → array-72fe7eec.js} +1 -1
  176. package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -6
  177. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  178. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  179. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  180. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  181. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-alert.cjs.entry.js +31 -16
  183. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  184. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  186. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  187. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  189. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  190. package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -36
  191. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +56 -46
  193. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  196. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  197. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  198. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  199. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  200. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  201. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  202. package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-input-text.cjs.entry.js +330 -0
  204. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  205. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  206. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  207. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  209. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  210. package/dist/cjs/calcite-modal.cjs.entry.js +12 -12
  211. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  212. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  214. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  216. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  218. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  220. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  222. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  223. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  225. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  226. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  227. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  229. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  230. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  231. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  232. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  233. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  234. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  235. package/dist/cjs/calcite.cjs.js +3 -3
  236. package/dist/cjs/{conditionalSlot-61ae8128.js → conditionalSlot-b8a33b91.js} +3 -3
  237. package/dist/cjs/{debounce-17d75cb0.js → debounce-e4d93984.js} +1 -1
  238. package/dist/cjs/{dom-7a972f83.js → dom-6e56f2dc.js} +2 -2
  239. package/dist/cjs/{filter-c44b5955.js → filter-014c9a9e.js} +2 -2
  240. package/dist/cjs/{floating-ui-b254038e.js → floating-ui-5841fd96.js} +2 -2
  241. package/dist/cjs/{form-351a39d4.js → form-1e353995.js} +3 -3
  242. package/dist/cjs/{guid-44753eac.js → guid-c51c9e0a.js} +1 -1
  243. package/dist/cjs/{index-ddace81d.js → index-8528542e.js} +1 -1
  244. package/dist/cjs/index.cjs.js +1 -1
  245. package/dist/cjs/{interactive-7f751988.js → interactive-9f1f58c7.js} +1 -1
  246. package/dist/cjs/{interfaces-77d43ebc.js → interfaces-386bcae6.js} +1 -1
  247. package/dist/cjs/{key-c005f343.js → key-c8de60bc.js} +1 -1
  248. package/dist/cjs/{label-66c5161f.js → label-01c65314.js} +2 -2
  249. package/dist/cjs/loader.cjs.js +3 -3
  250. package/dist/cjs/{locale-47b632ed.js → locale-bbad01f3.js} +2 -2
  251. package/dist/cjs/{math-f1ed3643.js → math-91308f73.js} +1 -1
  252. package/dist/cjs/{observers-d1ad3104.js → observers-c5c8b954.js} +1 -1
  253. package/dist/cjs/{resources-5cd47627.js → resources-0e5865e4.js} +1 -1
  254. package/dist/cjs/{resources-7e94d682.js → resources-2ae63728.js} +1 -1
  255. package/dist/cjs/{resources-67b8eec0.js → resources-34d97c02.js} +3 -3
  256. package/dist/cjs/{resources-c9745971.js → resources-c804d2f4.js} +5 -5
  257. package/dist/cjs/{sortable.esm-b46da72b.js → sortable.esm-a49cb8f3.js} +1 -1
  258. package/dist/cjs/{utils-17889040.js → utils-60ab928d.js} +1 -1
  259. package/dist/collection/collection-manifest.json +1 -0
  260. package/dist/collection/components/accordion/accordion.js +1 -1
  261. package/dist/collection/components/accordion/interfaces.js +1 -1
  262. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  263. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  264. package/dist/collection/components/accordion-item/resources.js +1 -1
  265. package/dist/collection/components/action/action.js +1 -1
  266. package/dist/collection/components/action/resources.js +1 -1
  267. package/dist/collection/components/action-bar/action-bar.js +1 -1
  268. package/dist/collection/components/action-bar/resources.js +1 -1
  269. package/dist/collection/components/action-bar/utils.js +1 -1
  270. package/dist/collection/components/action-group/action-group.js +1 -1
  271. package/dist/collection/components/action-group/resources.js +1 -1
  272. package/dist/collection/components/action-menu/action-menu.js +5 -5
  273. package/dist/collection/components/action-menu/resources.js +1 -1
  274. package/dist/collection/components/action-pad/action-pad.js +1 -1
  275. package/dist/collection/components/action-pad/resources.js +1 -1
  276. package/dist/collection/components/alert/alert.css +4 -4
  277. package/dist/collection/components/alert/alert.js +51 -13
  278. package/dist/collection/components/alert/interfaces.js +1 -1
  279. package/dist/collection/components/alert/resources.js +1 -1
  280. package/dist/collection/components/avatar/avatar.js +1 -1
  281. package/dist/collection/components/avatar/utils.js +1 -1
  282. package/dist/collection/components/block/block.js +1 -1
  283. package/dist/collection/components/block/resources.js +1 -1
  284. package/dist/collection/components/block-section/block-section.js +1 -1
  285. package/dist/collection/components/block-section/interfaces.js +1 -1
  286. package/dist/collection/components/block-section/resources.js +1 -1
  287. package/dist/collection/components/button/button.js +1 -1
  288. package/dist/collection/components/button/interfaces.js +1 -1
  289. package/dist/collection/components/button/resources.js +1 -1
  290. package/dist/collection/components/card/card.js +1 -1
  291. package/dist/collection/components/card/resources.js +1 -1
  292. package/dist/collection/components/checkbox/checkbox.js +1 -1
  293. package/dist/collection/components/chip/chip.js +1 -1
  294. package/dist/collection/components/chip/interfaces.js +1 -1
  295. package/dist/collection/components/chip/resources.js +1 -1
  296. package/dist/collection/components/color-picker/color-picker.js +1 -1
  297. package/dist/collection/components/color-picker/interfaces.js +1 -1
  298. package/dist/collection/components/color-picker/resources.js +1 -1
  299. package/dist/collection/components/color-picker/utils.js +1 -1
  300. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  301. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  302. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  303. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  304. package/dist/collection/components/combobox/combobox.css +1 -1
  305. package/dist/collection/components/combobox/combobox.js +27 -24
  306. package/dist/collection/components/combobox/interfaces.js +1 -1
  307. package/dist/collection/components/combobox/resources.js +1 -1
  308. package/dist/collection/components/combobox/utils.js +1 -1
  309. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  310. package/dist/collection/components/combobox-item/resources.js +1 -1
  311. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  312. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  313. package/dist/collection/components/date-picker/assets/date-picker/nls/pt-PT.json +1 -0
  314. package/dist/collection/components/date-picker/date-picker.js +1 -1
  315. package/dist/collection/components/date-picker/interfaces.js +1 -1
  316. package/dist/collection/components/date-picker/resources.js +1 -1
  317. package/dist/collection/components/date-picker/utils.js +1 -1
  318. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  319. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  320. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  321. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  322. package/dist/collection/components/dropdown/dropdown.css +2 -4
  323. package/dist/collection/components/dropdown/dropdown.js +51 -41
  324. package/dist/collection/components/dropdown/interfaces.js +1 -1
  325. package/dist/collection/components/dropdown/resources.js +1 -1
  326. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  327. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  328. package/dist/collection/components/dropdown-group/resources.js +1 -1
  329. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  330. package/dist/collection/components/dropdown-item/resources.js +1 -1
  331. package/dist/collection/components/fab/fab.js +1 -1
  332. package/dist/collection/components/fab/resources.js +1 -1
  333. package/dist/collection/components/filter/filter.js +1 -1
  334. package/dist/collection/components/filter/resources.js +1 -1
  335. package/dist/collection/components/flow/flow.js +1 -1
  336. package/dist/collection/components/flow/interfaces.js +1 -1
  337. package/dist/collection/components/flow/resources.js +1 -1
  338. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  339. package/dist/collection/components/functional/Heading.js +1 -1
  340. package/dist/collection/components/graph/graph.js +1 -1
  341. package/dist/collection/components/graph/interfaces.js +1 -1
  342. package/dist/collection/components/graph/util.js +1 -1
  343. package/dist/collection/components/handle/handle.js +1 -1
  344. package/dist/collection/components/handle/resources.js +1 -1
  345. package/dist/collection/components/icon/icon.js +1 -1
  346. package/dist/collection/components/icon/resources.js +1 -1
  347. package/dist/collection/components/icon/utils.js +1 -1
  348. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  349. package/dist/collection/components/inline-editable/resources.js +1 -1
  350. package/dist/collection/components/input/input.js +1 -1
  351. package/dist/collection/components/input/interfaces.js +1 -1
  352. package/dist/collection/components/input/resources.js +1 -1
  353. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  354. package/dist/collection/components/input-date-picker/resources.js +1 -1
  355. package/dist/collection/components/input-message/input-message.js +1 -1
  356. package/dist/collection/components/input-message/interfaces.js +1 -1
  357. package/dist/collection/components/input-number/input-number.js +1 -1
  358. package/dist/collection/components/input-number/interfaces.js +1 -1
  359. package/dist/collection/components/input-number/resources.js +1 -1
  360. package/dist/collection/components/input-text/input-text.css +400 -0
  361. package/dist/collection/components/input-text/input-text.js +899 -0
  362. package/dist/collection/components/input-text/resources.js +24 -0
  363. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  364. package/dist/collection/components/interfaces.js +1 -1
  365. package/dist/collection/components/label/label.js +1 -1
  366. package/dist/collection/components/label/resources.js +1 -1
  367. package/dist/collection/components/link/link.js +1 -1
  368. package/dist/collection/components/list/list.js +1 -1
  369. package/dist/collection/components/list/resources.js +1 -1
  370. package/dist/collection/components/list-item/list-item.js +1 -1
  371. package/dist/collection/components/list-item/resources.js +1 -1
  372. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  373. package/dist/collection/components/list-item-group/resources.js +1 -1
  374. package/dist/collection/components/loader/loader.js +1 -1
  375. package/dist/collection/components/modal/interfaces.js +1 -1
  376. package/dist/collection/components/modal/modal.js +7 -7
  377. package/dist/collection/components/modal/resources.js +1 -1
  378. package/dist/collection/components/notice/notice.js +1 -1
  379. package/dist/collection/components/notice/resources.js +1 -1
  380. package/dist/collection/components/option/option.js +1 -1
  381. package/dist/collection/components/option-group/option-group.js +1 -1
  382. package/dist/collection/components/pagination/pagination.js +1 -1
  383. package/dist/collection/components/pagination/resources.js +1 -1
  384. package/dist/collection/components/panel/panel.js +1 -1
  385. package/dist/collection/components/panel/resources.js +1 -1
  386. package/dist/collection/components/pick-list/pick-list.js +1 -1
  387. package/dist/collection/components/pick-list/resources.js +1 -1
  388. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  389. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  390. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  391. package/dist/collection/components/pick-list-group/resources.js +1 -1
  392. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  393. package/dist/collection/components/pick-list-item/resources.js +1 -1
  394. package/dist/collection/components/popover/PopoverManager.js +1 -1
  395. package/dist/collection/components/popover/popover.js +1 -1
  396. package/dist/collection/components/popover/resources.js +1 -1
  397. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  398. package/dist/collection/components/progress/progress.js +1 -1
  399. package/dist/collection/components/radio-button/radio-button.js +1 -1
  400. package/dist/collection/components/radio-button/resources.js +1 -1
  401. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  402. package/dist/collection/components/radio-group/interfaces.js +1 -1
  403. package/dist/collection/components/radio-group/radio-group.js +1 -1
  404. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  405. package/dist/collection/components/radio-group-item/resources.js +1 -1
  406. package/dist/collection/components/rating/rating.js +1 -1
  407. package/dist/collection/components/rating/resources.js +1 -1
  408. package/dist/collection/components/scrim/resources.js +1 -1
  409. package/dist/collection/components/scrim/scrim.js +1 -1
  410. package/dist/collection/components/select/resources.js +1 -1
  411. package/dist/collection/components/select/select.js +1 -1
  412. package/dist/collection/components/shell/resources.js +1 -1
  413. package/dist/collection/components/shell/shell.js +1 -1
  414. package/dist/collection/components/shell-center-row/resources.js +1 -1
  415. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  416. package/dist/collection/components/shell-panel/resources.js +1 -1
  417. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  418. package/dist/collection/components/slider/slider.js +1 -1
  419. package/dist/collection/components/sortable-list/resources.js +1 -1
  420. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  421. package/dist/collection/components/split-button/resources.js +1 -1
  422. package/dist/collection/components/split-button/split-button.js +1 -1
  423. package/dist/collection/components/stepper/interfaces.js +1 -1
  424. package/dist/collection/components/stepper/stepper.js +1 -1
  425. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  426. package/dist/collection/components/switch/switch.js +1 -1
  427. package/dist/collection/components/tab/interfaces.js +1 -1
  428. package/dist/collection/components/tab/tab.js +1 -1
  429. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  430. package/dist/collection/components/tab-title/tab-title.js +1 -1
  431. package/dist/collection/components/tabs/interfaces.js +1 -1
  432. package/dist/collection/components/tabs/resources.js +1 -1
  433. package/dist/collection/components/tabs/tabs.js +1 -1
  434. package/dist/collection/components/tile/resources.js +1 -1
  435. package/dist/collection/components/tile/tile.js +1 -1
  436. package/dist/collection/components/tile-select/interfaces.js +1 -1
  437. package/dist/collection/components/tile-select/resources.js +1 -1
  438. package/dist/collection/components/tile-select/tile-select.js +1 -1
  439. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  440. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  441. package/dist/collection/components/time-picker/resources.js +1 -1
  442. package/dist/collection/components/time-picker/time-picker.js +1 -1
  443. package/dist/collection/components/tip/resources.js +1 -1
  444. package/dist/collection/components/tip/tip.js +1 -1
  445. package/dist/collection/components/tip-group/tip-group.js +1 -1
  446. package/dist/collection/components/tip-manager/resources.js +1 -1
  447. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  448. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  449. package/dist/collection/components/tooltip/resources.js +1 -1
  450. package/dist/collection/components/tooltip/tooltip.js +1 -1
  451. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  452. package/dist/collection/components/tree/interfaces.js +1 -1
  453. package/dist/collection/components/tree/tree.js +1 -1
  454. package/dist/collection/components/tree-item/interfaces.js +1 -1
  455. package/dist/collection/components/tree-item/resources.js +1 -1
  456. package/dist/collection/components/tree-item/tree-item.js +1 -1
  457. package/dist/collection/components/value-list/interfaces.js +1 -1
  458. package/dist/collection/components/value-list/resources.js +1 -1
  459. package/dist/collection/components/value-list/utils.js +1 -1
  460. package/dist/collection/components/value-list/value-list.js +1 -1
  461. package/dist/collection/components/value-list-item/resources.js +1 -1
  462. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  463. package/dist/collection/utils/array.js +1 -1
  464. package/dist/collection/utils/conditionalSlot.js +1 -1
  465. package/dist/collection/utils/date.js +1 -1
  466. package/dist/collection/utils/dom.js +1 -1
  467. package/dist/collection/utils/filter.js +1 -1
  468. package/dist/collection/utils/floating-ui.js +1 -1
  469. package/dist/collection/utils/form.js +1 -1
  470. package/dist/collection/utils/globalAttributes.js +1 -1
  471. package/dist/collection/utils/guid.js +1 -1
  472. package/dist/collection/utils/interactive.js +1 -1
  473. package/dist/collection/utils/key.js +1 -1
  474. package/dist/collection/utils/label.js +1 -1
  475. package/dist/collection/utils/locale.js +1 -1
  476. package/dist/collection/utils/math.js +1 -1
  477. package/dist/collection/utils/number.js +1 -1
  478. package/dist/collection/utils/observers.js +1 -1
  479. package/dist/collection/utils/openCloseComponent.js +1 -1
  480. package/dist/collection/utils/resources.js +1 -1
  481. package/dist/collection/utils/time.js +1 -1
  482. package/dist/components/ExpandToggle.js +1 -1
  483. package/dist/components/Heading.js +1 -1
  484. package/dist/components/action-group.js +1 -1
  485. package/dist/components/action-menu.js +4 -4
  486. package/dist/components/action.js +1 -1
  487. package/dist/components/array.js +1 -1
  488. package/dist/components/button.js +1 -1
  489. package/dist/components/calcite-accordion-item.js +1 -1
  490. package/dist/components/calcite-accordion.js +1 -1
  491. package/dist/components/calcite-action-bar.js +1 -1
  492. package/dist/components/calcite-action-group.js +1 -1
  493. package/dist/components/calcite-action-menu.js +1 -1
  494. package/dist/components/calcite-action-pad.js +1 -1
  495. package/dist/components/calcite-action.js +1 -1
  496. package/dist/components/calcite-alert.js +28 -12
  497. package/dist/components/calcite-avatar.js +1 -1
  498. package/dist/components/calcite-block-section.js +1 -1
  499. package/dist/components/calcite-block.js +1 -1
  500. package/dist/components/calcite-button.js +1 -1
  501. package/dist/components/calcite-card.js +1 -1
  502. package/dist/components/calcite-checkbox.js +1 -1
  503. package/dist/components/calcite-chip.js +1 -1
  504. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  505. package/dist/components/calcite-color-picker-swatch.js +1 -1
  506. package/dist/components/calcite-color-picker.js +1 -1
  507. package/dist/components/calcite-combobox-item-group.js +1 -1
  508. package/dist/components/calcite-combobox-item.js +1 -1
  509. package/dist/components/calcite-combobox.js +28 -25
  510. package/dist/components/calcite-date-picker-day.js +1 -1
  511. package/dist/components/calcite-date-picker-month-header.js +1 -1
  512. package/dist/components/calcite-date-picker-month.js +1 -1
  513. package/dist/components/calcite-date-picker.js +1 -1
  514. package/dist/components/calcite-dropdown-group.js +1 -1
  515. package/dist/components/calcite-dropdown-item.js +1 -1
  516. package/dist/components/calcite-dropdown.js +1 -1
  517. package/dist/components/calcite-fab.js +1 -1
  518. package/dist/components/calcite-filter.js +1 -1
  519. package/dist/components/calcite-flow.js +1 -1
  520. package/dist/components/calcite-graph.js +1 -1
  521. package/dist/components/calcite-handle.js +1 -1
  522. package/dist/components/calcite-icon.js +1 -1
  523. package/dist/components/calcite-inline-editable.js +1 -1
  524. package/dist/components/calcite-input-date-picker.js +1 -1
  525. package/dist/components/calcite-input-message.js +1 -1
  526. package/dist/components/calcite-input-number.js +1 -1
  527. package/dist/components/calcite-input-text.d.ts +11 -0
  528. package/dist/components/calcite-input-text.js +382 -0
  529. package/dist/components/calcite-input-time-picker.js +1 -1
  530. package/dist/components/calcite-input.js +1 -1
  531. package/dist/components/calcite-label.js +1 -1
  532. package/dist/components/calcite-link.js +1 -1
  533. package/dist/components/calcite-list-item-group.js +1 -1
  534. package/dist/components/calcite-list-item.js +1 -1
  535. package/dist/components/calcite-list.js +1 -1
  536. package/dist/components/calcite-loader.js +1 -1
  537. package/dist/components/calcite-modal.js +7 -7
  538. package/dist/components/calcite-notice.js +1 -1
  539. package/dist/components/calcite-option-group.js +1 -1
  540. package/dist/components/calcite-option.js +1 -1
  541. package/dist/components/calcite-pagination.js +1 -1
  542. package/dist/components/calcite-panel.js +1 -1
  543. package/dist/components/calcite-pick-list-group.js +1 -1
  544. package/dist/components/calcite-pick-list-item.js +1 -1
  545. package/dist/components/calcite-pick-list.js +1 -1
  546. package/dist/components/calcite-popover-manager.js +1 -1
  547. package/dist/components/calcite-popover.js +1 -1
  548. package/dist/components/calcite-progress.js +1 -1
  549. package/dist/components/calcite-radio-button-group.js +1 -1
  550. package/dist/components/calcite-radio-button.js +1 -1
  551. package/dist/components/calcite-radio-group-item.js +1 -1
  552. package/dist/components/calcite-radio-group.js +1 -1
  553. package/dist/components/calcite-rating.js +1 -1
  554. package/dist/components/calcite-scrim.js +1 -1
  555. package/dist/components/calcite-select.js +1 -1
  556. package/dist/components/calcite-shell-center-row.js +1 -1
  557. package/dist/components/calcite-shell-panel.js +1 -1
  558. package/dist/components/calcite-shell.js +1 -1
  559. package/dist/components/calcite-slider.js +1 -1
  560. package/dist/components/calcite-sortable-list.js +1 -1
  561. package/dist/components/calcite-split-button.js +1 -1
  562. package/dist/components/calcite-stepper-item.js +1 -1
  563. package/dist/components/calcite-stepper.js +1 -1
  564. package/dist/components/calcite-switch.js +1 -1
  565. package/dist/components/calcite-tab-nav.js +1 -1
  566. package/dist/components/calcite-tab-title.js +1 -1
  567. package/dist/components/calcite-tab.js +1 -1
  568. package/dist/components/calcite-tabs.js +1 -1
  569. package/dist/components/calcite-tile-select-group.js +1 -1
  570. package/dist/components/calcite-tile-select.js +1 -1
  571. package/dist/components/calcite-tile.js +1 -1
  572. package/dist/components/calcite-time-picker.js +1 -1
  573. package/dist/components/calcite-tip-group.js +1 -1
  574. package/dist/components/calcite-tip-manager.js +1 -1
  575. package/dist/components/calcite-tip.js +1 -1
  576. package/dist/components/calcite-tooltip-manager.js +1 -1
  577. package/dist/components/calcite-tooltip.js +1 -1
  578. package/dist/components/calcite-tree-item.js +1 -1
  579. package/dist/components/calcite-tree.js +1 -1
  580. package/dist/components/calcite-value-list-item.js +1 -1
  581. package/dist/components/calcite-value-list.js +1 -1
  582. package/dist/components/checkbox.js +1 -1
  583. package/dist/components/chip.js +1 -1
  584. package/dist/components/color-picker-hex-input.js +1 -1
  585. package/dist/components/color-picker-swatch.js +1 -1
  586. package/dist/components/conditionalSlot.js +1 -1
  587. package/dist/components/date-picker-day.js +1 -1
  588. package/dist/components/date-picker-month-header.js +1 -1
  589. package/dist/components/date-picker-month.js +1 -1
  590. package/dist/components/date-picker.js +1 -1
  591. package/dist/components/date.js +1 -1
  592. package/dist/components/debounce.js +1 -1
  593. package/dist/components/dom.js +1 -1
  594. package/dist/components/dropdown.js +50 -40
  595. package/dist/components/filter.js +1 -1
  596. package/dist/components/filter2.js +1 -1
  597. package/dist/components/floating-ui.js +1 -1
  598. package/dist/components/form.js +1 -1
  599. package/dist/components/graph.js +1 -1
  600. package/dist/components/guid.js +1 -1
  601. package/dist/components/handle.js +1 -1
  602. package/dist/components/icon.js +1 -1
  603. package/dist/components/index.js +1 -1
  604. package/dist/components/input.js +1 -1
  605. package/dist/components/interactive.js +1 -1
  606. package/dist/components/interfaces.js +1 -1
  607. package/dist/components/interfaces2.js +1 -1
  608. package/dist/components/key.js +1 -1
  609. package/dist/components/label.js +1 -1
  610. package/dist/components/label2.js +1 -1
  611. package/dist/components/link.js +1 -1
  612. package/dist/components/loader.js +1 -1
  613. package/dist/components/locale.js +1 -1
  614. package/dist/components/math.js +1 -1
  615. package/dist/components/observers.js +1 -1
  616. package/dist/components/pick-list-item.js +1 -1
  617. package/dist/components/popover.js +1 -1
  618. package/dist/components/progress.js +1 -1
  619. package/dist/components/resources.js +1 -1
  620. package/dist/components/resources2.js +1 -1
  621. package/dist/components/resources3.js +1 -1
  622. package/dist/components/scrim.js +1 -1
  623. package/dist/components/shared-list-render.js +1 -1
  624. package/dist/components/sortable.esm.js +1 -1
  625. package/dist/components/switch.js +1 -1
  626. package/dist/components/tab-nav.js +1 -1
  627. package/dist/components/tab-title.js +1 -1
  628. package/dist/components/tab.js +1 -1
  629. package/dist/components/tabs.js +1 -1
  630. package/dist/components/tile.js +1 -1
  631. package/dist/components/time-picker.js +1 -1
  632. package/dist/components/utils.js +1 -1
  633. package/dist/components/utils2.js +1 -1
  634. package/dist/custom-elements/index.d.ts +6 -0
  635. package/dist/custom-elements/index.js +695 -351
  636. package/dist/esm/{ExpandToggle-5c167d0d.js → ExpandToggle-67645610.js} +5 -5
  637. package/dist/esm/{Heading-6d97deff.js → Heading-737b65aa.js} +2 -2
  638. package/dist/esm/{array-d68030d1.js → array-b1e2e9f6.js} +1 -1
  639. package/dist/esm/calcite-accordion_2.entry.js +6 -6
  640. package/dist/esm/calcite-action-bar.entry.js +10 -10
  641. package/dist/esm/calcite-action-group.entry.js +8 -8
  642. package/dist/esm/calcite-action-menu.entry.js +10 -10
  643. package/dist/esm/calcite-action-pad.entry.js +9 -9
  644. package/dist/esm/calcite-action.entry.js +6 -6
  645. package/dist/esm/calcite-alert.entry.js +31 -16
  646. package/dist/esm/calcite-avatar.entry.js +5 -5
  647. package/dist/esm/calcite-block_2.entry.js +8 -8
  648. package/dist/esm/calcite-button.entry.js +8 -8
  649. package/dist/esm/calcite-card.entry.js +6 -6
  650. package/dist/esm/calcite-checkbox.entry.js +7 -7
  651. package/dist/esm/calcite-chip.entry.js +6 -6
  652. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  653. package/dist/esm/calcite-combobox_3.entry.js +39 -36
  654. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  655. package/dist/esm/calcite-dropdown_3.entry.js +56 -46
  656. package/dist/esm/calcite-fab.entry.js +5 -5
  657. package/dist/esm/calcite-filter.entry.js +7 -7
  658. package/dist/esm/calcite-flow.entry.js +3 -3
  659. package/dist/esm/calcite-graph_2.entry.js +9 -9
  660. package/dist/esm/calcite-handle.entry.js +4 -4
  661. package/dist/esm/calcite-icon.entry.js +5 -5
  662. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  663. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  664. package/dist/esm/calcite-input-message.entry.js +4 -4
  665. package/dist/esm/calcite-input-number.entry.js +11 -11
  666. package/dist/esm/calcite-input-text.entry.js +326 -0
  667. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  668. package/dist/esm/calcite-input.entry.js +11 -11
  669. package/dist/esm/calcite-label.entry.js +5 -5
  670. package/dist/esm/calcite-link.entry.js +5 -5
  671. package/dist/esm/calcite-list_3.entry.js +8 -8
  672. package/dist/esm/calcite-loader.entry.js +3 -3
  673. package/dist/esm/calcite-modal.entry.js +12 -12
  674. package/dist/esm/calcite-notice.entry.js +7 -7
  675. package/dist/esm/calcite-option_3.entry.js +8 -8
  676. package/dist/esm/calcite-pagination.entry.js +5 -5
  677. package/dist/esm/calcite-panel.entry.js +9 -9
  678. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  679. package/dist/esm/calcite-popover_2.entry.js +7 -7
  680. package/dist/esm/calcite-progress.entry.js +2 -2
  681. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  682. package/dist/esm/calcite-radio-button.entry.js +8 -8
  683. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  684. package/dist/esm/calcite-rating.entry.js +8 -8
  685. package/dist/esm/calcite-scrim.entry.js +2 -2
  686. package/dist/esm/calcite-shell_3.entry.js +7 -7
  687. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  688. package/dist/esm/calcite-split-button.entry.js +3 -3
  689. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  690. package/dist/esm/calcite-switch.entry.js +7 -7
  691. package/dist/esm/calcite-tab_4.entry.js +6 -6
  692. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  693. package/dist/esm/calcite-tile.entry.js +7 -7
  694. package/dist/esm/calcite-tip_3.entry.js +7 -7
  695. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  696. package/dist/esm/calcite-tree_2.entry.js +6 -6
  697. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  698. package/dist/esm/calcite.js +3 -3
  699. package/dist/esm/{conditionalSlot-8f5261b8.js → conditionalSlot-a4bcb2e5.js} +3 -3
  700. package/dist/esm/{debounce-d9ca21e6.js → debounce-b50abb2c.js} +1 -1
  701. package/dist/esm/{dom-436db30d.js → dom-139271e6.js} +2 -2
  702. package/dist/esm/{filter-ea2019f5.js → filter-a31a2719.js} +2 -2
  703. package/dist/esm/{floating-ui-d35ae879.js → floating-ui-658b26b6.js} +2 -2
  704. package/dist/esm/{form-9e4ad205.js → form-b0de5da5.js} +3 -3
  705. package/dist/esm/{guid-aa232e06.js → guid-2813141a.js} +1 -1
  706. package/dist/esm/{index-15d8b691.js → index-be95829d.js} +1 -1
  707. package/dist/esm/index.js +1 -1
  708. package/dist/esm/{interactive-877546cb.js → interactive-9e0c5500.js} +1 -1
  709. package/dist/esm/{interfaces-4d091984.js → interfaces-9aa1c0a3.js} +1 -1
  710. package/dist/esm/{key-327406fd.js → key-a1781b69.js} +1 -1
  711. package/dist/esm/{label-0dfb8331.js → label-5ed15495.js} +2 -2
  712. package/dist/esm/loader.js +3 -3
  713. package/dist/esm/{locale-fdc3373c.js → locale-1edde620.js} +2 -2
  714. package/dist/esm/{math-614ab246.js → math-e073081a.js} +1 -1
  715. package/dist/esm/{observers-a928db96.js → observers-ea7a7d2a.js} +1 -1
  716. package/dist/esm/{resources-6ebd7149.js → resources-1af974cb.js} +3 -3
  717. package/dist/esm/{resources-ebbd1852.js → resources-5b37148c.js} +5 -5
  718. package/dist/esm/{resources-6deceede.js → resources-7f7afb1c.js} +1 -1
  719. package/dist/esm/{resources-e2b96c6a.js → resources-e67739c8.js} +1 -1
  720. package/dist/esm/{sortable.esm-0ad2680c.js → sortable.esm-2a8d0995.js} +1 -1
  721. package/dist/esm/{utils-4707c83f.js → utils-4c8a9955.js} +1 -1
  722. package/dist/esm-es5/{ExpandToggle-5c167d0d.js → ExpandToggle-67645610.js} +2 -2
  723. package/dist/esm-es5/Heading-737b65aa.js +6 -0
  724. package/dist/esm-es5/{array-d68030d1.js → array-b1e2e9f6.js} +1 -1
  725. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  726. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  727. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  728. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  729. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  730. package/dist/esm-es5/calcite-action.entry.js +2 -2
  731. package/dist/esm-es5/calcite-alert.entry.js +3 -3
  732. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  733. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  734. package/dist/esm-es5/calcite-button.entry.js +2 -2
  735. package/dist/esm-es5/calcite-card.entry.js +2 -2
  736. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  737. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  738. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  739. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  740. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  741. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  742. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  743. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  744. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  745. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  747. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  748. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  749. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  750. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  751. package/dist/esm-es5/calcite-input-number.entry.js +3 -3
  752. package/dist/esm-es5/calcite-input-text.entry.js +6 -0
  753. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  754. package/dist/esm-es5/calcite-input.entry.js +2 -2
  755. package/dist/esm-es5/calcite-label.entry.js +2 -2
  756. package/dist/esm-es5/calcite-link.entry.js +2 -2
  757. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  758. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  759. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  760. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  761. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  762. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  763. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  764. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  765. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  766. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  767. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  768. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  769. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  770. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  771. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  772. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  773. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  774. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  775. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  776. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  777. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  778. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  779. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  780. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  781. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  782. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  783. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  784. package/dist/esm-es5/calcite.js +2 -2
  785. package/dist/esm-es5/{conditionalSlot-8f5261b8.js → conditionalSlot-a4bcb2e5.js} +2 -2
  786. package/dist/esm-es5/{debounce-d9ca21e6.js → debounce-b50abb2c.js} +1 -1
  787. package/dist/esm-es5/{dom-436db30d.js → dom-139271e6.js} +2 -2
  788. package/dist/esm-es5/{filter-ea2019f5.js → filter-a31a2719.js} +2 -2
  789. package/dist/esm-es5/{floating-ui-d35ae879.js → floating-ui-658b26b6.js} +2 -2
  790. package/dist/esm-es5/{form-9e4ad205.js → form-b0de5da5.js} +2 -2
  791. package/dist/esm-es5/{guid-aa232e06.js → guid-2813141a.js} +1 -1
  792. package/dist/esm-es5/{index-15d8b691.js → index-be95829d.js} +1 -1
  793. package/dist/esm-es5/index.js +1 -1
  794. package/dist/esm-es5/{interactive-877546cb.js → interactive-9e0c5500.js} +1 -1
  795. package/dist/esm-es5/{interfaces-4d091984.js → interfaces-9aa1c0a3.js} +1 -1
  796. package/dist/esm-es5/{key-327406fd.js → key-a1781b69.js} +1 -1
  797. package/dist/esm-es5/{label-0dfb8331.js → label-5ed15495.js} +2 -2
  798. package/dist/esm-es5/loader.js +2 -2
  799. package/dist/esm-es5/{locale-fdc3373c.js → locale-1edde620.js} +2 -2
  800. package/dist/esm-es5/{math-614ab246.js → math-e073081a.js} +1 -1
  801. package/dist/esm-es5/{observers-a928db96.js → observers-ea7a7d2a.js} +1 -1
  802. package/dist/esm-es5/{resources-6ebd7149.js → resources-1af974cb.js} +2 -2
  803. package/dist/esm-es5/{resources-ebbd1852.js → resources-5b37148c.js} +2 -2
  804. package/dist/esm-es5/{resources-6deceede.js → resources-7f7afb1c.js} +1 -1
  805. package/dist/esm-es5/{resources-e2b96c6a.js → resources-e67739c8.js} +1 -1
  806. package/dist/esm-es5/{sortable.esm-0ad2680c.js → sortable.esm-2a8d0995.js} +1 -1
  807. package/dist/esm-es5/{utils-4707c83f.js → utils-4c8a9955.js} +1 -1
  808. package/dist/extras/docs-json.json +646 -99
  809. package/dist/loader/cdn.js +1 -1
  810. package/dist/loader/index.cjs.js +1 -1
  811. package/dist/loader/index.es2017.js +1 -1
  812. package/dist/loader/index.js +1 -1
  813. package/dist/types/components/alert/alert.d.ts +9 -2
  814. package/dist/types/components/combobox/combobox.d.ts +2 -1
  815. package/dist/types/components/dropdown/dropdown.d.ts +4 -1
  816. package/dist/types/components/input-text/input-text.d.ts +170 -0
  817. package/dist/types/components/input-text/resources.d.ts +19 -0
  818. package/dist/types/components.d.ts +244 -2
  819. package/dist/types/preact.d.ts +7 -0
  820. package/hydrate/index.js +729 -350
  821. package/package.json +1 -1
  822. package/dist/calcite/p-03b347a5.system.entry.js +0 -6
  823. package/dist/calcite/p-111d2bdd.js +0 -6
  824. package/dist/calcite/p-1508458c.system.entry.js +0 -6
  825. package/dist/calcite/p-213e08e9.entry.js +0 -6
  826. package/dist/calcite/p-25c58362.entry.js +0 -6
  827. package/dist/calcite/p-266e1c0c.system.entry.js +0 -6
  828. package/dist/calcite/p-2c2e712b.entry.js +0 -6
  829. package/dist/calcite/p-6ad8511d.system.js +0 -6
  830. package/dist/calcite/p-6f19ed5c.entry.js +0 -6
  831. package/dist/calcite/p-71103ef1.js +0 -6
  832. package/dist/calcite/p-addeb3a3.entry.js +0 -6
  833. package/dist/calcite/p-ff06b9f4.entry.js +0 -6
  834. package/dist/esm-es5/Heading-6d97deff.js +0 -6
package/hydrate/index.js CHANGED
@@ -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.540
4
+ * v1.0.0-next.543
5
5
  */
6
6
  'use strict';
7
7
 
@@ -5734,7 +5734,7 @@ const CSS_UTILITY = {
5734
5734
  lightTheme,
5735
5735
  rtl: "calcite--rtl"
5736
5736
  };
5737
- const TEXT$t = {
5737
+ const TEXT$u = {
5738
5738
  loading: "Loading"
5739
5739
  };
5740
5740
 
@@ -5962,11 +5962,11 @@ function processMutations$1(mutations) {
5962
5962
  });
5963
5963
  }
5964
5964
 
5965
- const SLOTS$r = {
5965
+ const SLOTS$s = {
5966
5966
  actionsStart: "actions-start",
5967
5967
  actionsEnd: "actions-end"
5968
5968
  };
5969
- const CSS$R = {
5969
+ const CSS$S = {
5970
5970
  icon: "icon",
5971
5971
  header: "header",
5972
5972
  headerContent: "header-content",
@@ -6049,25 +6049,25 @@ class AccordionItem {
6049
6049
  // --------------------------------------------------------------------------
6050
6050
  renderActionsStart() {
6051
6051
  const { el } = this;
6052
- return getSlotted(el, SLOTS$r.actionsStart) ? (hAsync("div", { class: CSS$R.actionsStart }, hAsync("slot", { name: SLOTS$r.actionsStart }))) : null;
6052
+ return getSlotted(el, SLOTS$s.actionsStart) ? (hAsync("div", { class: CSS$S.actionsStart }, hAsync("slot", { name: SLOTS$s.actionsStart }))) : null;
6053
6053
  }
6054
6054
  renderActionsEnd() {
6055
6055
  const { el } = this;
6056
- return getSlotted(el, SLOTS$r.actionsEnd) ? (hAsync("div", { class: CSS$R.actionsEnd }, hAsync("slot", { name: SLOTS$r.actionsEnd }))) : null;
6056
+ return getSlotted(el, SLOTS$s.actionsEnd) ? (hAsync("div", { class: CSS$S.actionsEnd }, hAsync("slot", { name: SLOTS$s.actionsEnd }))) : null;
6057
6057
  }
6058
6058
  render() {
6059
6059
  const dir = getElementDir(this.el);
6060
- const iconEl = hAsync("calcite-icon", { class: CSS$R.icon, icon: this.icon, scale: "s" });
6060
+ const iconEl = hAsync("calcite-icon", { class: CSS$S.icon, icon: this.icon, scale: "s" });
6061
6061
  return (hAsync(Host, null, hAsync("div", { class: {
6062
6062
  [`icon-position--${this.iconPosition}`]: true,
6063
6063
  [`icon-type--${this.iconType}`]: true
6064
- } }, hAsync("div", { class: { [CSS$R.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$R.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, this.icon ? iconEl : null, hAsync("div", { class: CSS$R.headerText }, hAsync("span", { class: CSS$R.heading }, this.heading || this.itemTitle), this.itemSubtitle || this.description ? (hAsync("span", { class: CSS$R.description }, this.description || this.itemSubtitle)) : null), hAsync("calcite-icon", { class: CSS$R.expandIcon, icon: this.iconType === "chevron"
6064
+ } }, hAsync("div", { class: { [CSS$S.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$S.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, this.icon ? iconEl : null, hAsync("div", { class: CSS$S.headerText }, hAsync("span", { class: CSS$S.heading }, this.heading || this.itemTitle), this.itemSubtitle || this.description ? (hAsync("span", { class: CSS$S.description }, this.description || this.itemSubtitle)) : null), hAsync("calcite-icon", { class: CSS$S.expandIcon, icon: this.iconType === "chevron"
6065
6065
  ? "chevronDown"
6066
6066
  : this.iconType === "caret"
6067
6067
  ? "caretDown"
6068
6068
  : this.expanded || this.active
6069
6069
  ? "minus"
6070
- : "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$R.content }, hAsync("slot", null)))));
6070
+ : "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$S.content }, hAsync("slot", null)))));
6071
6071
  }
6072
6072
  //--------------------------------------------------------------------------
6073
6073
  //
@@ -6156,7 +6156,7 @@ class AccordionItem {
6156
6156
  }; }
6157
6157
  }
6158
6158
 
6159
- const CSS$Q = {
6159
+ const CSS$R = {
6160
6160
  button: "button",
6161
6161
  buttonTextVisible: "button--text-visible",
6162
6162
  buttonCompact: "button--compact",
@@ -6166,7 +6166,7 @@ const CSS$Q = {
6166
6166
  textContainer: "text-container",
6167
6167
  textContainerVisible: "text-container--visible"
6168
6168
  };
6169
- const TEXT$s = {
6169
+ const TEXT$t = {
6170
6170
  loading: "Loading"
6171
6171
  };
6172
6172
 
@@ -6247,7 +6247,7 @@ class Action {
6247
6247
  *
6248
6248
  * @default "Loading"
6249
6249
  */
6250
- this.intlLoading = TEXT$s.loading;
6250
+ this.intlLoading = TEXT$t.loading;
6251
6251
  /**
6252
6252
  * When true, a busy indicator is displayed.
6253
6253
  */
@@ -6306,8 +6306,8 @@ class Action {
6306
6306
  renderTextContainer() {
6307
6307
  const { text, textEnabled } = this;
6308
6308
  const textContainerClasses = {
6309
- [CSS$Q.textContainer]: true,
6310
- [CSS$Q.textContainerVisible]: textEnabled
6309
+ [CSS$R.textContainer]: true,
6310
+ [CSS$R.textContainerVisible]: textEnabled
6311
6311
  };
6312
6312
  return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
6313
6313
  }
@@ -6321,18 +6321,18 @@ class Action {
6321
6321
  const iconNode = calciteLoaderNode || calciteIconNode;
6322
6322
  const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
6323
6323
  const slotContainerNode = (hAsync("div", { class: {
6324
- [CSS$Q.slotContainer]: true,
6325
- [CSS$Q.slotContainerHidden]: loading
6324
+ [CSS$R.slotContainer]: true,
6325
+ [CSS$R.slotContainerHidden]: loading
6326
6326
  } }, hAsync("slot", null)));
6327
- return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$Q.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
6327
+ return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$R.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
6328
6328
  }
6329
6329
  render() {
6330
6330
  const { compact, disabled, loading, textEnabled, label, text } = this;
6331
6331
  const ariaLabel = label || text;
6332
6332
  const buttonClasses = {
6333
- [CSS$Q.button]: true,
6334
- [CSS$Q.buttonTextVisible]: textEnabled,
6335
- [CSS$Q.buttonCompact]: compact
6333
+ [CSS$R.button]: true,
6334
+ [CSS$R.buttonTextVisible]: textEnabled,
6335
+ [CSS$R.buttonCompact]: compact
6336
6336
  };
6337
6337
  return (hAsync(Host, { onClick: this.calciteActionClickHandler }, hAsync("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())));
6338
6338
  }
@@ -6363,11 +6363,11 @@ class Action {
6363
6363
  }; }
6364
6364
  }
6365
6365
 
6366
- const CSS$P = {
6366
+ const CSS$Q = {
6367
6367
  menu: "menu",
6368
6368
  defaultTrigger: "default-trigger"
6369
6369
  };
6370
- const SLOTS$q = {
6370
+ const SLOTS$r = {
6371
6371
  tooltip: "tooltip",
6372
6372
  trigger: "trigger"
6373
6373
  };
@@ -6375,11 +6375,11 @@ const ICONS$f = {
6375
6375
  menu: "ellipsis"
6376
6376
  };
6377
6377
 
6378
- const SLOTS$p = {
6378
+ const SLOTS$q = {
6379
6379
  menuActions: "menu-actions",
6380
6380
  menuTooltip: "menu-tooltip"
6381
6381
  };
6382
- const TEXT$r = {
6382
+ const TEXT$s = {
6383
6383
  more: "More"
6384
6384
  };
6385
6385
  const ICONS$e = {
@@ -6405,7 +6405,7 @@ const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeigh
6405
6405
  return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
6406
6406
  };
6407
6407
  const queryActions = (el) => {
6408
- return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$q.trigger : true);
6408
+ return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$r.trigger : true);
6409
6409
  };
6410
6410
  const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
6411
6411
  let needToSlotCount = overflowCount;
@@ -6413,7 +6413,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
6413
6413
  let slottedWithinGroupCount = 0;
6414
6414
  const groupActions = queryActions(group).reverse();
6415
6415
  groupActions.forEach((groupAction) => {
6416
- if (groupAction.slot === SLOTS$p.menuActions) {
6416
+ if (groupAction.slot === SLOTS$q.menuActions) {
6417
6417
  groupAction.removeAttribute("slot");
6418
6418
  groupAction.textEnabled = expanded;
6419
6419
  }
@@ -6423,7 +6423,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
6423
6423
  const unslottedActions = groupActions.filter((action) => !action.slot);
6424
6424
  if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
6425
6425
  groupAction.textEnabled = true;
6426
- groupAction.setAttribute("slot", SLOTS$p.menuActions);
6426
+ groupAction.setAttribute("slot", SLOTS$q.menuActions);
6427
6427
  slottedWithinGroupCount++;
6428
6428
  if (slottedWithinGroupCount > 1) {
6429
6429
  needToSlotCount--;
@@ -6446,7 +6446,7 @@ function getCalcitePosition(position, el) {
6446
6446
  }
6447
6447
  function toggleChildActionText({ parent, expanded }) {
6448
6448
  queryActions(parent)
6449
- .filter((el) => el.slot !== SLOTS$p.menuActions)
6449
+ .filter((el) => el.slot !== SLOTS$q.menuActions)
6450
6450
  .forEach((action) => (action.textEnabled = expanded));
6451
6451
  parent
6452
6452
  .querySelectorAll("calcite-action-group, calcite-action-menu")
@@ -6475,14 +6475,14 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
6475
6475
  return actionNode;
6476
6476
  };
6477
6477
 
6478
- const CSS$O = {
6478
+ const CSS$P = {
6479
6479
  actionGroupBottom: "action-group--bottom"
6480
6480
  };
6481
- const SLOTS$o = {
6481
+ const SLOTS$p = {
6482
6482
  bottomActions: "bottom-actions",
6483
6483
  expandTooltip: "expand-tooltip"
6484
6484
  };
6485
- const TEXT$q = {
6485
+ const TEXT$r = {
6486
6486
  expand: "Expand",
6487
6487
  collapse: "Collapse"
6488
6488
  };
@@ -7814,7 +7814,7 @@ class ActionBar {
7814
7814
  const actions = queryActions(el);
7815
7815
  const actionCount = expandDisabled ? actions.length : actions.length + 1;
7816
7816
  const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
7817
- const groupCount = getSlotted(el, SLOTS$o.bottomActions) || !expandDisabled
7817
+ const groupCount = getSlotted(el, SLOTS$p.bottomActions) || !expandDisabled
7818
7818
  ? actionGroups.length + 1
7819
7819
  : actionGroups.length;
7820
7820
  const { actionHeight, actionWidth } = geActionDimensions(actions);
@@ -7916,11 +7916,11 @@ class ActionBar {
7916
7916
  // --------------------------------------------------------------------------
7917
7917
  renderBottomActionGroup() {
7918
7918
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
7919
- const tooltip = getSlotted(el, SLOTS$o.expandTooltip);
7920
- const expandLabel = intlExpand || TEXT$q.expand;
7921
- const collapseLabel = intlCollapse || TEXT$q.collapse;
7919
+ const tooltip = getSlotted(el, SLOTS$p.expandTooltip);
7920
+ const expandLabel = intlExpand || TEXT$r.expand;
7921
+ const collapseLabel = intlCollapse || TEXT$r.collapse;
7922
7922
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
7923
- return getSlotted(el, SLOTS$o.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$O.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$o.bottomActions }), hAsync("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
7923
+ return getSlotted(el, SLOTS$p.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$P.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.bottomActions }), hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
7924
7924
  }
7925
7925
  render() {
7926
7926
  return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
@@ -8010,13 +8010,13 @@ class ActionGroup {
8010
8010
  // --------------------------------------------------------------------------
8011
8011
  renderTooltip() {
8012
8012
  const { el } = this;
8013
- const hasTooltip = getSlotted(el, SLOTS$p.menuTooltip);
8014
- return hasTooltip ? hAsync("slot", { name: SLOTS$p.menuTooltip, slot: SLOTS$q.tooltip }) : null;
8013
+ const hasTooltip = getSlotted(el, SLOTS$q.menuTooltip);
8014
+ return hasTooltip ? hAsync("slot", { name: SLOTS$q.menuTooltip, slot: SLOTS$r.tooltip }) : null;
8015
8015
  }
8016
8016
  renderMenu() {
8017
8017
  const { el, expanded, intlMore, menuOpen, scale, layout } = this;
8018
- const hasMenuItems = getSlotted(el, SLOTS$p.menuActions);
8019
- return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$r.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-leading" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$q.trigger, text: intlMore || TEXT$r.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$p.menuActions }), this.renderTooltip())) : null;
8018
+ const hasMenuItems = getSlotted(el, SLOTS$q.menuActions);
8019
+ return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$s.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-leading" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$r.trigger, text: intlMore || TEXT$s.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$q.menuActions }), this.renderTooltip())) : null;
8020
8020
  }
8021
8021
  render() {
8022
8022
  return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
@@ -8094,7 +8094,7 @@ class ActionMenu {
8094
8094
  // --------------------------------------------------------------------------
8095
8095
  this.connectMenuButtonEl = () => {
8096
8096
  const { el, menuButtonId, menuId, open, label } = this;
8097
- const menuButtonEl = getSlotted(el, SLOTS$q.trigger) || this.defaultMenuButtonEl;
8097
+ const menuButtonEl = getSlotted(el, SLOTS$r.trigger) || this.defaultMenuButtonEl;
8098
8098
  if (this.menuButtonEl === menuButtonEl) {
8099
8099
  return;
8100
8100
  }
@@ -8117,7 +8117,7 @@ class ActionMenu {
8117
8117
  if (!menuButtonEl.text) {
8118
8118
  menuButtonEl.text = label;
8119
8119
  }
8120
- menuButtonEl.addEventListener("click", this.menuButtonClick);
8120
+ menuButtonEl.addEventListener("pointerdown", this.menuButtonClick);
8121
8121
  menuButtonEl.addEventListener("keydown", this.menuButtonKeyDown);
8122
8122
  };
8123
8123
  this.disconnectMenuButtonEl = () => {
@@ -8125,7 +8125,7 @@ class ActionMenu {
8125
8125
  if (!menuButtonEl) {
8126
8126
  return;
8127
8127
  }
8128
- menuButtonEl.removeEventListener("click", this.menuButtonClick);
8128
+ menuButtonEl.removeEventListener("pointerdown", this.menuButtonClick);
8129
8129
  menuButtonEl.removeEventListener("keydown", this.menuButtonKeyDown);
8130
8130
  };
8131
8131
  this.setDefaultMenuButtonEl = (el) => {
@@ -8291,17 +8291,17 @@ class ActionMenu {
8291
8291
  }
8292
8292
  renderMenuButton() {
8293
8293
  const { label, scale, expanded } = this;
8294
- const menuButtonSlot = (hAsync("slot", { name: SLOTS$q.trigger }, hAsync("calcite-action", { class: CSS$P.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
8294
+ const menuButtonSlot = (hAsync("slot", { name: SLOTS$r.trigger }, hAsync("calcite-action", { class: CSS$Q.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
8295
8295
  return menuButtonSlot;
8296
8296
  }
8297
8297
  renderMenuItems() {
8298
8298
  const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
8299
8299
  const activeAction = actionElements[activeMenuItemIndex];
8300
8300
  const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
8301
- return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("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, ref: (el) => (this.menuEl = el), role: "menu", tabIndex: -1 }, hAsync("slot", null))));
8301
+ return (hAsync("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$Q.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, ref: (el) => (this.menuEl = el), role: "menu", tabIndex: -1 }, hAsync("slot", null))));
8302
8302
  }
8303
8303
  render() {
8304
- return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$q.tooltip, onSlotchange: this.updateTooltip })));
8304
+ return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$r.tooltip, onSlotchange: this.updateTooltip })));
8305
8305
  }
8306
8306
  isValidKey(key, supportedKeys) {
8307
8307
  return !!supportedKeys.find((k) => k === key);
@@ -8327,21 +8327,21 @@ class ActionMenu {
8327
8327
  "activeMenuItemIndex": [32],
8328
8328
  "setFocus": [64]
8329
8329
  },
8330
- "$listeners$": [[8, "click", "closeCalciteActionMenuOnClick"]],
8330
+ "$listeners$": [[9, "pointerdown", "closeCalciteActionMenuOnClick"]],
8331
8331
  "$lazyBundleId$": "-",
8332
8332
  "$attrsToReflect$": [["expanded", "expanded"], ["open", "open"], ["placement", "placement"], ["scale", "scale"]]
8333
8333
  }; }
8334
8334
  }
8335
8335
 
8336
- const CSS$N = {
8336
+ const CSS$O = {
8337
8337
  actionGroupBottom: "action-group--bottom",
8338
8338
  container: "container"
8339
8339
  };
8340
- const TEXT$p = {
8340
+ const TEXT$q = {
8341
8341
  expand: "Expand",
8342
8342
  collapse: "Collapse"
8343
8343
  };
8344
- const SLOTS$n = {
8344
+ const SLOTS$o = {
8345
8345
  expandTooltip: "expand-tooltip"
8346
8346
  };
8347
8347
 
@@ -8438,14 +8438,14 @@ class ActionPad {
8438
8438
  // --------------------------------------------------------------------------
8439
8439
  renderBottomActionGroup() {
8440
8440
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
8441
- const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
8442
- const expandLabel = intlExpand || TEXT$p.expand;
8443
- const collapseLabel = intlCollapse || TEXT$p.collapse;
8441
+ const tooltip = getSlotted(el, SLOTS$o.expandTooltip);
8442
+ const expandLabel = intlExpand || TEXT$q.expand;
8443
+ const collapseLabel = intlCollapse || TEXT$q.collapse;
8444
8444
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
8445
- return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$N.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
8445
+ return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$O.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
8446
8446
  }
8447
8447
  render() {
8448
- return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$N.container }, hAsync("slot", null), this.renderBottomActionGroup())));
8448
+ return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$O.container }, hAsync("slot", null), this.renderBottomActionGroup())));
8449
8449
  }
8450
8450
  get el() { return getElement(this); }
8451
8451
  static get watchers() { return {
@@ -8471,7 +8471,7 @@ class ActionPad {
8471
8471
  }; }
8472
8472
  }
8473
8473
 
8474
- const TEXT$o = {
8474
+ const TEXT$p = {
8475
8475
  intlClose: "Close"
8476
8476
  };
8477
8477
  const DURATIONS = {
@@ -8479,7 +8479,7 @@ const DURATIONS = {
8479
8479
  medium: 10000,
8480
8480
  fast: 6000
8481
8481
  };
8482
- const SLOTS$m = {
8482
+ const SLOTS$n = {
8483
8483
  title: "title",
8484
8484
  message: "message",
8485
8485
  link: "link"
@@ -8493,7 +8493,7 @@ var StatusIcons;
8493
8493
  StatusIcons["blue"] = "lightbulb";
8494
8494
  })(StatusIcons || (StatusIcons = {}));
8495
8495
 
8496
- const alertCss = "@-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*/.sc-calcite-alert: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*/.calcite-animate.sc-calcite-alert{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*/.calcite-animate__in.sc-calcite-alert{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-alert{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-alert{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-alert{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-alert:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-alert-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-alert-h{--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}/*!@:host([scale=s]) slot[name=title]::slotted(*), \n:host([scale=s]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=s] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=s]) slot[name=message]::slotted(*), \n:host([scale=s]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=s] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) slot[name=link]::slotted(*), \n:host([scale=s]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=s] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) .alert-queue-count*/[scale=s].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.5rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:3.5rem}/*!@:host([scale=s]) .alert-close*/[scale=s].sc-calcite-alert-h .alert-close.sc-calcite-alert{padding:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-alert-h{--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}/*!@:host([scale=m]) slot[name=title]::slotted(*), \n:host([scale=m]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=m] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=m]) slot[name=message]::slotted(*), \n:host([scale=m]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=m] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) slot[name=link]::slotted(*), \n:host([scale=m]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=m] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) .alert-queue-count*/[scale=m].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.75rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:4.1875rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-alert-h{--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}/*!@:host([scale=l]) slot[name=title]::slotted(*), \n:host([scale=l]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=l] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=title]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host([scale=l]) slot[name=message]::slotted(*), \n:host([scale=l]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=l] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) slot[name=link]::slotted(*), \n:host([scale=l]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=l] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) .alert-queue-count*/[scale=l].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:5.625rem}/*!@:host*/.sc-calcite-alert-h{--calcite-alert-edge-distance:2rem;display:block}/*!@:host .container*/.sc-calcite-alert-h .container.sc-calcite-alert{pointer-events:none;position:fixed;margin-block:0px;margin-inline:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -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);border-radius:var(--calcite-border-radius);-webkit-border-before:0px solid transparent;border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);-webkit-border-after:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@:host .container.bottom, :host .container.top*/.sc-calcite-alert-h .container.bottom.sc-calcite-alert,.sc-calcite-alert-h .container.top.sc-calcite-alert{inset-inline-end:0;inset-inline-start:0}/*!@:host .container[class*=bottom]*/.sc-calcite-alert-h .container[class*=bottom].sc-calcite-alert{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=top]*/.sc-calcite-alert-h .container[class*=top].sc-calcite-alert{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=-start]*/.sc-calcite-alert-h .container[class*=-start].sc-calcite-alert{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}/*!@:host .container[class*=-end]*/.sc-calcite-alert-h .container[class*=-end].sc-calcite-alert{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-alert-h{visibility:hidden !important;pointer-events:none}/*!@.container*/.container.sc-calcite-alert{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}/*!@.alert-close*/.alert-close.sc-calcite-alert{outline-color:transparent}/*!@.alert-close:focus*/.alert-close.sc-calcite-alert:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([active]) .container:not(.queued)*/[active].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}/*!@:host([active]) .container:not(.queued)[class*=bottom]*/[active].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}/*!@:host([active]) .container:not(.queued)[class*=top]*/[active].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}/*!@slot[name=title]::slotted(*), \n*::slotted([slot=title])*/slot[name=title].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=message]::slotted(*), \n*::slotted([slot=message])*/slot[name=message].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=message]{margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@slot[name=link]::slotted(*), \n*::slotted([slot=link])*/slot[name=link].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=link]{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}/*!@.alert-content*/.alert-content.sc-calcite-alert{-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;padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-content:first-of-type:not(:only-child)*/.alert-content.sc-calcite-alert:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}/*!@.alert-content:only-child*/.alert-content.sc-calcite-alert:only-child{padding:var(--calcite-alert-spacing-token-small)}/*!@.alert-icon*/.alert-icon.sc-calcite-alert{-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;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}/*!@.alert-close*/.alert-close.sc-calcite-alert{-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;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-close:hover, .alert-close:focus*/.alert-close.sc-calcite-alert:hover,.alert-close.sc-calcite-alert:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.alert-close:active*/.alert-close.sc-calcite-alert:active{background-color:var(--calcite-ui-foreground-3)}/*!@.alert-queue-count*/.alert-queue-count.sc-calcite-alert{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-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:0px solid transparent;border-start-end-radius:0}/*!@.alert-queue-count.active*/.alert-queue-count.active.sc-calcite-alert{visibility:visible;opacity:1}/*!@:host([auto-dismiss]) > .alert-queue-count*/[auto-dismiss].sc-calcite-alert-h>.alert-queue-count.sc-calcite-alert{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}/*!@.alert-dismiss-progress*/.alert-dismiss-progress.sc-calcite-alert{position:absolute;inset-inline:0px;display:block;inline-size:100%;overflow:hidden;inset-block-start:-2px;block-size:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@.alert-dismiss-progress:after*/.alert-dismiss-progress.sc-calcite-alert:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}/*!@:host([color=blue]) .container*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-info)}/*!@:host([color=blue]) .container .alert-icon*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-info)}/*!@:host([color=red]) .container*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([color=red]) .container .alert-icon*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-danger)}/*!@:host([color=yellow]) .container*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-warning)}/*!@:host([color=yellow]) .container .alert-icon*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-warning)}/*!@:host([color=green]) .container*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-success)}/*!@:host([color=green]) .container .alert-icon*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-success)}/*!@:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after*/[auto-dismiss-duration=fast].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}/*!@:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after*/[auto-dismiss-duration=medium].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}/*!@:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after*/[auto-dismiss-duration=slow].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}";
8496
+ const alertCss = "@-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*/.sc-calcite-alert: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*/.calcite-animate.sc-calcite-alert{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*/.calcite-animate__in.sc-calcite-alert{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-alert{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-alert{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-alert{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-alert:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-alert-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-alert-h{--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}/*!@:host([scale=s]) slot[name=title]::slotted(*), \n:host([scale=s]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=s] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=s]) slot[name=message]::slotted(*), \n:host([scale=s]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=s] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) slot[name=link]::slotted(*), \n:host([scale=s]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=s] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) .alert-queue-count*/[scale=s].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.5rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:3.5rem}/*!@:host([scale=s]) .alert-close*/[scale=s].sc-calcite-alert-h .alert-close.sc-calcite-alert{padding:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-alert-h{--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}/*!@:host([scale=m]) slot[name=title]::slotted(*), \n:host([scale=m]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=m] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=m]) slot[name=message]::slotted(*), \n:host([scale=m]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=m] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) slot[name=link]::slotted(*), \n:host([scale=m]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=m] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) .alert-queue-count*/[scale=m].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.75rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:4.1875rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-alert-h{--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}/*!@:host([scale=l]) slot[name=title]::slotted(*), \n:host([scale=l]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=l] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=title]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host([scale=l]) slot[name=message]::slotted(*), \n:host([scale=l]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=l] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) slot[name=link]::slotted(*), \n:host([scale=l]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=l] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) .alert-queue-count*/[scale=l].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:5.625rem}/*!@:host*/.sc-calcite-alert-h{--calcite-alert-edge-distance:2rem;display:block}/*!@:host .container*/.sc-calcite-alert-h .container.sc-calcite-alert{pointer-events:none;position:fixed;margin-block:0px;margin-inline:auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -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);border-radius:var(--calcite-border-radius);-webkit-border-before:0px solid transparent;border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);-webkit-border-after:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;z-index:101;-webkit-transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@:host .container.bottom, :host .container.top*/.sc-calcite-alert-h .container.bottom.sc-calcite-alert,.sc-calcite-alert-h .container.top.sc-calcite-alert{inset-inline-end:0;inset-inline-start:0}/*!@:host .container[class*=bottom]*/.sc-calcite-alert-h .container[class*=bottom].sc-calcite-alert{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), 0);transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=top]*/.sc-calcite-alert-h .container[class*=top].sc-calcite-alert{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=-start]*/.sc-calcite-alert-h .container[class*=-start].sc-calcite-alert{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}/*!@:host .container[class*=-end]*/.sc-calcite-alert-h .container[class*=-end].sc-calcite-alert{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-alert-h{visibility:hidden !important;pointer-events:none}/*!@.container*/.container.sc-calcite-alert{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}/*!@.alert-close*/.alert-close.sc-calcite-alert{outline-color:transparent}/*!@.alert-close:focus*/.alert-close.sc-calcite-alert:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([open]) .container:not(.queued)*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}/*!@:host([open]) .container:not(.queued)[class*=bottom]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=bottom]{-webkit-transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit);transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}/*!@:host([open]) .container:not(.queued)[class*=top]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=top]{-webkit-transform:translate3d(0, var(--calcite-alert-edge-distance), inherit);transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}/*!@slot[name=title]::slotted(*), \n*::slotted([slot=title])*/slot[name=title].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=message]::slotted(*), \n*::slotted([slot=message])*/slot[name=message].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=message]{margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}/*!@slot[name=link]::slotted(*), \n*::slotted([slot=link])*/slot[name=link].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=link]{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-link)}/*!@.alert-content*/.alert-content.sc-calcite-alert{-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;padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);-ms-flex:1 1 auto;flex:1 1 auto;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-content:first-of-type:not(:only-child)*/.alert-content.sc-calcite-alert:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-alert-spacing-token-large);padding-inline-start:var(--calcite-alert-spacing-token-large)}/*!@.alert-content:only-child*/.alert-content.sc-calcite-alert:only-child{padding:var(--calcite-alert-spacing-token-small)}/*!@.alert-icon*/.alert-icon.sc-calcite-alert{-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;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}/*!@.alert-close*/.alert-close.sc-calcite-alert{-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;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-close:hover, .alert-close:focus*/.alert-close.sc-calcite-alert:hover,.alert-close.sc-calcite-alert:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.alert-close:open*/.alert-close.sc-calcite-alert:open{background-color:var(--calcite-ui-foreground-3)}/*!@.alert-queue-count*/.alert-queue-count.sc-calcite-alert{visibility:hidden;display:-ms-flexbox;display:flex;cursor:default;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;-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:0px solid transparent;border-start-end-radius:0}/*!@.alert-queue-count.active*/.alert-queue-count.active.sc-calcite-alert{visibility:visible;opacity:1}/*!@:host([auto-dismiss]) > .alert-queue-count*/[auto-dismiss].sc-calcite-alert-h>.alert-queue-count.sc-calcite-alert{-webkit-border-end:0px solid transparent;border-inline-end:0px solid transparent}/*!@.alert-dismiss-progress*/.alert-dismiss-progress.sc-calcite-alert{position:absolute;inset-inline:0px;display:block;inline-size:100%;overflow:hidden;inset-block-start:-2px;block-size:2px;z-index:103;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@.alert-dismiss-progress:after*/.alert-dismiss-progress.sc-calcite-alert:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);z-index:104;inset-inline-end:0}/*!@:host([color=blue]) .container*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-info)}/*!@:host([color=blue]) .container .alert-icon*/[color=blue].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-info)}/*!@:host([color=red]) .container*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([color=red]) .container .alert-icon*/[color=red].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-danger)}/*!@:host([color=yellow]) .container*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-warning)}/*!@:host([color=yellow]) .container .alert-icon*/[color=yellow].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-warning)}/*!@:host([color=green]) .container*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-success)}/*!@:host([color=green]) .container .alert-icon*/[color=green].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-success)}/*!@:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after*/[auto-dismiss-duration=fast].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{-webkit-animation:dismissProgress 6000ms ease-out;animation:dismissProgress 6000ms ease-out}/*!@:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after*/[auto-dismiss-duration=medium].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{-webkit-animation:dismissProgress 10000ms ease-out;animation:dismissProgress 10000ms ease-out}/*!@:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after*/[auto-dismiss-duration=slow].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{-webkit-animation:dismissProgress 14000ms ease-out;animation:dismissProgress 14000ms ease-out}@-webkit-keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}";
8497
8497
 
8498
8498
  /**
8499
8499
  * Alerts are meant to provide a way to communicate urgent or important information to users, frequently as a result of an action they took in your app. Alerts are positioned
@@ -8518,8 +8518,14 @@ class Alert {
8518
8518
  // Properties
8519
8519
  //
8520
8520
  //---------------------------------------------------------------------------
8521
- /** When true, the component is active. */
8521
+ /**
8522
+ * When true, opens the combobox
8523
+ *
8524
+ * @deprecated use open instead
8525
+ */
8522
8526
  this.active = false;
8527
+ /** When true, opens the dropdown */
8528
+ this.open = false;
8523
8529
  /** When true, the component closes automatically (recommended for passive, non-blocking alerts). */
8524
8530
  this.autoDismiss = false;
8525
8531
  /** Specifies the duration before the component automatically closes (only use with `autoDismiss`). */
@@ -8531,7 +8537,7 @@ class Alert {
8531
8537
  *
8532
8538
  * @default "Close"
8533
8539
  */
8534
- this.intlClose = TEXT$o.intlClose;
8540
+ this.intlClose = TEXT$p.intlClose;
8535
8541
  /** Specifies the placement of the component */
8536
8542
  this.placement = "bottom";
8537
8543
  /** Specifies the size of the component. */
@@ -8558,29 +8564,34 @@ class Alert {
8558
8564
  this.closeAlert = () => {
8559
8565
  this.autoDismissTimeoutId = null;
8560
8566
  this.queued = false;
8561
- this.active = false;
8567
+ this.open = false;
8562
8568
  this.queue = this.queue.filter((el) => el !== this.el);
8563
8569
  this.determineActiveAlert();
8564
8570
  this.calciteInternalAlertSync.emit({ queue: this.queue });
8565
8571
  };
8566
8572
  this.transitionStartHandler = (event) => {
8567
8573
  if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
8568
- this.active ? this.onBeforeOpen() : this.onBeforeClose();
8574
+ this.open ? this.onBeforeOpen() : this.onBeforeClose();
8569
8575
  }
8570
8576
  };
8571
8577
  this.transitionEnd = (event) => {
8572
8578
  if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
8573
- this.active ? this.onOpen() : this.onClose();
8579
+ this.open ? this.onOpen() : this.onClose();
8574
8580
  }
8575
8581
  };
8576
8582
  }
8577
- watchActive() {
8578
- if (this.active && !this.queued) {
8583
+ activeHandler(value) {
8584
+ this.open = value;
8585
+ }
8586
+ openHandler(value) {
8587
+ if (this.open && !this.queued) {
8579
8588
  this.calciteInternalAlertRegister.emit();
8589
+ this.active = value;
8580
8590
  }
8581
- if (!this.active) {
8591
+ if (!this.open) {
8582
8592
  this.queue = this.queue.filter((el) => el !== this.el);
8583
8593
  this.calciteInternalAlertSync.emit({ queue: this.queue });
8594
+ this.active = false;
8584
8595
  }
8585
8596
  }
8586
8597
  updateRequestedIcon() {
@@ -8598,7 +8609,10 @@ class Alert {
8598
8609
  //
8599
8610
  //--------------------------------------------------------------------------
8600
8611
  connectedCallback() {
8601
- if (this.active && !this.queued) {
8612
+ const open = this.open || this.active;
8613
+ if (open && !this.queued) {
8614
+ this.activeHandler(open);
8615
+ this.openHandler(open);
8602
8616
  this.calciteInternalAlertRegister.emit();
8603
8617
  }
8604
8618
  }
@@ -8621,7 +8635,7 @@ class Alert {
8621
8635
  container: true,
8622
8636
  queued,
8623
8637
  [placement]: true
8624
- }, onTransitionEnd: this.transitionEnd, ref: this.setContainerEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$m.title }), hAsync("slot", { name: SLOTS$m.message }), hAsync("slot", { name: SLOTS$m.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
8638
+ }, onTransitionEnd: this.transitionEnd, ref: this.setContainerEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$n.title }), hAsync("slot", { name: SLOTS$n.message }), hAsync("slot", { name: SLOTS$n.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
8625
8639
  }
8626
8640
  // when an alert is opened or closed, update queue and determine active alert
8627
8641
  alertSync(event) {
@@ -8634,7 +8648,7 @@ class Alert {
8634
8648
  }
8635
8649
  // when an alert is first registered, trigger a queue sync
8636
8650
  alertRegister() {
8637
- if (this.active && !this.queue.includes(this.el)) {
8651
+ if (this.open && !this.queue.includes(this.el)) {
8638
8652
  this.queued = true;
8639
8653
  this.queue.push(this.el);
8640
8654
  }
@@ -8697,7 +8711,8 @@ class Alert {
8697
8711
  }
8698
8712
  get el() { return getElement(this); }
8699
8713
  static get watchers() { return {
8700
- "active": ["watchActive"],
8714
+ "active": ["activeHandler"],
8715
+ "open": ["openHandler"],
8701
8716
  "icon": ["updateRequestedIcon"],
8702
8717
  "color": ["updateRequestedIcon"],
8703
8718
  "autoDismissDuration": ["updateDuration"]
@@ -8708,6 +8723,7 @@ class Alert {
8708
8723
  "$tagName$": "calcite-alert",
8709
8724
  "$members$": {
8710
8725
  "active": [1540],
8726
+ "open": [1540],
8711
8727
  "autoDismiss": [4, "auto-dismiss"],
8712
8728
  "autoDismissDuration": [513, "auto-dismiss-duration"],
8713
8729
  "color": [513],
@@ -8724,7 +8740,7 @@ class Alert {
8724
8740
  },
8725
8741
  "$listeners$": [[8, "calciteInternalAlertSync", "alertSync"], [8, "calciteInternalAlertRegister", "alertRegister"]],
8726
8742
  "$lazyBundleId$": "-",
8727
- "$attrsToReflect$": [["active", "active"], ["autoDismissDuration", "auto-dismiss-duration"], ["color", "color"], ["icon", "icon"], ["scale", "scale"]]
8743
+ "$attrsToReflect$": [["active", "active"], ["open", "open"], ["autoDismissDuration", "auto-dismiss-duration"], ["color", "color"], ["icon", "icon"], ["scale", "scale"]]
8728
8744
  }; }
8729
8745
  }
8730
8746
 
@@ -8987,7 +9003,7 @@ class Avatar {
8987
9003
  }; }
8988
9004
  }
8989
9005
 
8990
- const CSS$M = {
9006
+ const CSS$N = {
8991
9007
  article: "article",
8992
9008
  content: "content",
8993
9009
  headerContainer: "header-container",
@@ -9006,13 +9022,13 @@ const CSS$M = {
9006
9022
  invalid: "invalid",
9007
9023
  loading: "loading"
9008
9024
  };
9009
- const TEXT$n = {
9025
+ const TEXT$o = {
9010
9026
  collapse: "Collapse",
9011
9027
  expand: "Expand",
9012
9028
  loading: "Loading",
9013
9029
  options: "Options"
9014
9030
  };
9015
- const SLOTS$l = {
9031
+ const SLOTS$m = {
9016
9032
  icon: "icon",
9017
9033
  control: "control",
9018
9034
  headerMenuActions: "header-menu-actions"
@@ -9069,25 +9085,25 @@ class Block {
9069
9085
  *
9070
9086
  * @default "Collapse"
9071
9087
  */
9072
- this.intlCollapse = TEXT$n.collapse;
9088
+ this.intlCollapse = TEXT$o.collapse;
9073
9089
  /**
9074
9090
  * Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
9075
9091
  *
9076
9092
  * @default "Expand"
9077
9093
  */
9078
- this.intlExpand = TEXT$n.expand;
9094
+ this.intlExpand = TEXT$o.expand;
9079
9095
  /**
9080
9096
  * string to override English loading text
9081
9097
  *
9082
9098
  * @default "Loading"
9083
9099
  */
9084
- this.intlLoading = TEXT$n.loading;
9100
+ this.intlLoading = TEXT$o.loading;
9085
9101
  /**
9086
9102
  * Text string used for the actions menu
9087
9103
  *
9088
9104
  * @default "Options"
9089
9105
  */
9090
- this.intlOptions = TEXT$n.options;
9106
+ this.intlOptions = TEXT$o.options;
9091
9107
  /**
9092
9108
  * When true, content is waiting to be loaded. This state shows a busy indicator.
9093
9109
  */
@@ -9146,32 +9162,32 @@ class Block {
9146
9162
  const { el, status } = this;
9147
9163
  const showingLoadingStatus = this.loading && !this.open;
9148
9164
  const statusIcon = showingLoadingStatus ? ICONS$c.refresh : ICONS$c[status];
9149
- const hasIcon = getSlotted(el, SLOTS$l.icon) || statusIcon;
9150
- const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$l.icon })) : (hAsync("calcite-icon", { class: {
9151
- [CSS$M.statusIcon]: true,
9152
- [CSS$M.valid]: status == "valid",
9153
- [CSS$M.invalid]: status == "invalid",
9154
- [CSS$M.loading]: showingLoadingStatus
9165
+ const hasIcon = getSlotted(el, SLOTS$m.icon) || statusIcon;
9166
+ const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$m.icon })) : (hAsync("calcite-icon", { class: {
9167
+ [CSS$N.statusIcon]: true,
9168
+ [CSS$N.valid]: status == "valid",
9169
+ [CSS$N.invalid]: status == "invalid",
9170
+ [CSS$N.loading]: showingLoadingStatus
9155
9171
  }, icon: statusIcon, scale: "m" }));
9156
- return hasIcon ? hAsync("div", { class: CSS$M.icon }, iconEl) : null;
9172
+ return hasIcon ? hAsync("div", { class: CSS$N.icon }, iconEl) : null;
9157
9173
  }
9158
9174
  renderTitle() {
9159
9175
  const { heading, headingLevel, summary, description } = this;
9160
- return heading || summary || description ? (hAsync("div", { class: CSS$M.title }, hAsync(Heading, { class: CSS$M.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (hAsync("div", { class: CSS$M.description }, summary || description)) : null)) : null;
9176
+ return heading || summary || description ? (hAsync("div", { class: CSS$N.title }, hAsync(Heading, { class: CSS$N.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (hAsync("div", { class: CSS$N.description }, summary || description)) : null)) : null;
9161
9177
  }
9162
9178
  render() {
9163
9179
  const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
9164
- const toggleLabel = open ? intlCollapse || TEXT$n.collapse : intlExpand || TEXT$n.expand;
9165
- const headerContent = (hAsync("header", { class: CSS$M.header }, this.renderIcon(), this.renderTitle()));
9166
- const hasControl = !!getSlotted(el, SLOTS$l.control);
9167
- const hasMenuActions = !!getSlotted(el, SLOTS$l.headerMenuActions);
9180
+ const toggleLabel = open ? intlCollapse || TEXT$o.collapse : intlExpand || TEXT$o.expand;
9181
+ const headerContent = (hAsync("header", { class: CSS$N.header }, this.renderIcon(), this.renderTitle()));
9182
+ const hasControl = !!getSlotted(el, SLOTS$m.control);
9183
+ const hasMenuActions = !!getSlotted(el, SLOTS$m.headerMenuActions);
9168
9184
  const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
9169
9185
  const { guid } = this;
9170
9186
  const regionId = `${guid}-region`;
9171
9187
  const buttonId = `${guid}-button`;
9172
- const headerNode = (hAsync("div", { class: CSS$M.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("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 ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$M.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$M.controlContainer }, hAsync("slot", { name: SLOTS$l.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$n.options }, hAsync("slot", { name: SLOTS$l.headerMenuActions }))) : null));
9188
+ const headerNode = (hAsync("div", { class: CSS$N.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$N.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$N.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$N.controlContainer }, hAsync("slot", { name: SLOTS$m.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$o.options }, hAsync("slot", { name: SLOTS$m.headerMenuActions }))) : null));
9173
9189
  return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
9174
- [CSS$M.article]: true
9190
+ [CSS$N.article]: true
9175
9191
  } }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
9176
9192
  content: true,
9177
9193
  "content--spaced": !this.disablePadding
@@ -9205,7 +9221,7 @@ class Block {
9205
9221
  }; }
9206
9222
  }
9207
9223
 
9208
- const CSS$L = {
9224
+ const CSS$M = {
9209
9225
  content: "content",
9210
9226
  invalid: "invalid",
9211
9227
  toggle: "toggle",
@@ -9217,7 +9233,7 @@ const CSS$L = {
9217
9233
  statusIcon: "status-icon",
9218
9234
  valid: "valid"
9219
9235
  };
9220
- const TEXT$m = {
9236
+ const TEXT$n = {
9221
9237
  collapse: "Collapse",
9222
9238
  expand: "Expand"
9223
9239
  };
@@ -9276,9 +9292,9 @@ class BlockSection {
9276
9292
  const { status } = this;
9277
9293
  const statusIcon = (_a = ICONS$b[status]) !== null && _a !== void 0 ? _a : false;
9278
9294
  const statusIconClasses = {
9279
- [CSS$L.statusIcon]: true,
9280
- [CSS$L.valid]: status == "valid",
9281
- [CSS$L.invalid]: status == "invalid"
9295
+ [CSS$M.statusIcon]: true,
9296
+ [CSS$M.valid]: status == "valid",
9297
+ [CSS$M.invalid]: status == "invalid"
9282
9298
  };
9283
9299
  return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
9284
9300
  }
@@ -9290,18 +9306,18 @@ class BlockSection {
9290
9306
  : dir === "rtl"
9291
9307
  ? ICONS$b.menuClosedLeft
9292
9308
  : ICONS$b.menuClosedRight;
9293
- const toggleLabel = open ? intlCollapse || TEXT$m.collapse : intlExpand || TEXT$m.expand;
9309
+ const toggleLabel = open ? intlCollapse || TEXT$n.collapse : intlExpand || TEXT$n.expand;
9294
9310
  const { guid } = this;
9295
9311
  const regionId = `${guid}-region`;
9296
9312
  const buttonId = `${guid}-button`;
9297
9313
  const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
9298
- [CSS$L.toggle]: true,
9299
- [CSS$L.toggleSwitch]: true
9300
- }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$L.toggleSwitchContent }, hAsync("span", { class: CSS$L.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
9301
- [CSS$L.sectionHeader]: true,
9302
- [CSS$L.toggle]: true
9303
- }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$L.sectionHeaderText }, text), this.renderStatusIcon()));
9304
- return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$L.content, hidden: !open, id: regionId }, hAsync("slot", null))));
9314
+ [CSS$M.toggle]: true,
9315
+ [CSS$M.toggleSwitch]: true
9316
+ }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$M.toggleSwitchContent }, hAsync("span", { class: CSS$M.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
9317
+ [CSS$M.sectionHeader]: true,
9318
+ [CSS$M.toggle]: true
9319
+ }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$M.sectionHeaderText }, text), this.renderStatusIcon()));
9320
+ return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$M.content, hidden: !open, id: regionId }, hAsync("slot", null))));
9305
9321
  }
9306
9322
  get el() { return getElement(this); }
9307
9323
  static get style() { return blockSectionCss; }
@@ -9350,7 +9366,7 @@ class BlockSection {
9350
9366
  }
9351
9367
  })(HTMLFormElement.prototype);
9352
9368
 
9353
- const CSS$K = {
9369
+ const CSS$L = {
9354
9370
  buttonLoader: "calcite-button--loader",
9355
9371
  content: "content",
9356
9372
  contentSlotted: "content--slotted",
@@ -9362,7 +9378,7 @@ const CSS$K = {
9362
9378
  iconStartEmpty: "icon-start-empty",
9363
9379
  iconEndEmpty: "icon-end-empty"
9364
9380
  };
9365
- const TEXT$l = {
9381
+ const TEXT$m = {
9366
9382
  loading: "Loading"
9367
9383
  };
9368
9384
 
@@ -9710,7 +9726,7 @@ class Button {
9710
9726
  *
9711
9727
  * @default "Loading"
9712
9728
  */
9713
- this.intlLoading = TEXT$l.loading;
9729
+ this.intlLoading = TEXT$m.loading;
9714
9730
  /** optionally add a calcite-loader component to the button, disabling interaction. */
9715
9731
  this.loading = false;
9716
9732
  /** optionally add a round style to the button */
@@ -9779,14 +9795,14 @@ class Button {
9779
9795
  render() {
9780
9796
  const childElType = this.href ? "a" : "button";
9781
9797
  const Tag = childElType;
9782
- const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$K.buttonLoader }, hAsync("calcite-loader", { active: true, class: this.loading ? CSS$K.loadingIn : CSS$K.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
9783
- const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$K.icon]: true, [CSS$K.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
9784
- const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$K.icon]: true, [CSS$K.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
9785
- const contentEl = (hAsync("span", { class: CSS$K.content }, hAsync("slot", null)));
9798
+ const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$L.buttonLoader }, hAsync("calcite-loader", { active: true, class: this.loading ? CSS$L.loadingIn : CSS$L.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
9799
+ const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$L.icon]: true, [CSS$L.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
9800
+ const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$L.icon]: true, [CSS$L.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
9801
+ const contentEl = (hAsync("span", { class: CSS$L.content }, hAsync("slot", null)));
9786
9802
  return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
9787
- [CSS$K.contentSlotted]: this.hasContent,
9788
- [CSS$K.iconStartEmpty]: !this.iconStart,
9789
- [CSS$K.iconEndEmpty]: !this.iconEnd
9803
+ [CSS$L.contentSlotted]: this.hasContent,
9804
+ [CSS$L.iconStartEmpty]: !this.iconStart,
9805
+ [CSS$L.iconEndEmpty]: !this.iconEnd
9790
9806
  }, 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));
9791
9807
  }
9792
9808
  //--------------------------------------------------------------------------
@@ -9859,7 +9875,7 @@ class Button {
9859
9875
  }; }
9860
9876
  }
9861
9877
 
9862
- const CSS$J = {
9878
+ const CSS$K = {
9863
9879
  container: "container",
9864
9880
  header: "header",
9865
9881
  footer: "footer",
@@ -9868,14 +9884,14 @@ const CSS$J = {
9868
9884
  checkboxWrapper: "checkbox-wrapper",
9869
9885
  thumbnailWrapper: "thumbnail-wrapper"
9870
9886
  };
9871
- const SLOTS$k = {
9887
+ const SLOTS$l = {
9872
9888
  thumbnail: "thumbnail",
9873
9889
  title: "title",
9874
9890
  subtitle: "subtitle",
9875
9891
  footerLeading: "footer-leading",
9876
9892
  footerTrailing: "footer-trailing"
9877
9893
  };
9878
- const TEXT$k = {
9894
+ const TEXT$l = {
9879
9895
  select: "Select",
9880
9896
  deselect: "Deselect",
9881
9897
  loading: "Loading"
@@ -9915,19 +9931,19 @@ class Card {
9915
9931
  *
9916
9932
  * @default "Loading"
9917
9933
  */
9918
- this.intlLoading = TEXT$k.loading;
9934
+ this.intlLoading = TEXT$l.loading;
9919
9935
  /**
9920
9936
  * string to override English select text for checkbox when selectable is true
9921
9937
  *
9922
9938
  * @default "Select"
9923
9939
  */
9924
- this.intlSelect = TEXT$k.select;
9940
+ this.intlSelect = TEXT$l.select;
9925
9941
  /**
9926
9942
  * string to override English deselect text for checkbox when selectable is true
9927
9943
  *
9928
9944
  * @default "Deselect"
9929
9945
  */
9930
- this.intlDeselect = TEXT$k.deselect;
9946
+ this.intlDeselect = TEXT$l.deselect;
9931
9947
  this.thumbnailPosition = "block-start";
9932
9948
  //--------------------------------------------------------------------------
9933
9949
  //
@@ -9966,32 +9982,32 @@ class Card {
9966
9982
  render() {
9967
9983
  const thumbnailInline = this.thumbnailPosition.startsWith("inline");
9968
9984
  const thumbnailStart = this.thumbnailPosition.endsWith("start");
9969
- return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$J.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
9985
+ return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$K.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
9970
9986
  }
9971
9987
  selectCard() {
9972
9988
  this.selected = !this.selected;
9973
9989
  this.calciteCardSelect.emit();
9974
9990
  }
9975
9991
  renderThumbnail() {
9976
- return getSlotted(this.el, SLOTS$k.thumbnail) ? (hAsync("section", { class: CSS$J.thumbnailWrapper }, hAsync("slot", { name: SLOTS$k.thumbnail }))) : null;
9992
+ return getSlotted(this.el, SLOTS$l.thumbnail) ? (hAsync("section", { class: CSS$K.thumbnailWrapper }, hAsync("slot", { name: SLOTS$l.thumbnail }))) : null;
9977
9993
  }
9978
9994
  renderCheckbox() {
9979
9995
  const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
9980
- return (hAsync("calcite-label", { class: CSS$J.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
9996
+ return (hAsync("calcite-label", { class: CSS$K.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
9981
9997
  }
9982
9998
  renderHeader() {
9983
9999
  const { el } = this;
9984
- const title = getSlotted(el, SLOTS$k.title);
9985
- const subtitle = getSlotted(el, SLOTS$k.subtitle);
10000
+ const title = getSlotted(el, SLOTS$l.title);
10001
+ const subtitle = getSlotted(el, SLOTS$l.subtitle);
9986
10002
  const hasHeader = title || subtitle;
9987
- return hasHeader ? (hAsync("header", { class: CSS$J.header }, hAsync("slot", { name: SLOTS$k.title }), hAsync("slot", { name: SLOTS$k.subtitle }))) : null;
10003
+ return hasHeader ? (hAsync("header", { class: CSS$K.header }, hAsync("slot", { name: SLOTS$l.title }), hAsync("slot", { name: SLOTS$l.subtitle }))) : null;
9988
10004
  }
9989
10005
  renderFooter() {
9990
10006
  const { el } = this;
9991
- const leadingFooter = getSlotted(el, SLOTS$k.footerLeading);
9992
- const trailingFooter = getSlotted(el, SLOTS$k.footerTrailing);
10007
+ const leadingFooter = getSlotted(el, SLOTS$l.footerLeading);
10008
+ const trailingFooter = getSlotted(el, SLOTS$l.footerTrailing);
9993
10009
  const hasFooter = leadingFooter || trailingFooter;
9994
- return hasFooter ? (hAsync("footer", { class: CSS$J.footer }, hAsync("slot", { name: SLOTS$k.footerLeading }), hAsync("slot", { name: SLOTS$k.footerTrailing }))) : null;
10010
+ return hasFooter ? (hAsync("footer", { class: CSS$K.footer }, hAsync("slot", { name: SLOTS$l.footerLeading }), hAsync("slot", { name: SLOTS$l.footerTrailing }))) : null;
9995
10011
  }
9996
10012
  get el() { return getElement(this); }
9997
10013
  static get style() { return cardCss; }
@@ -10154,17 +10170,17 @@ class Checkbox {
10154
10170
  }; }
10155
10171
  }
10156
10172
 
10157
- const CSS$I = {
10173
+ const CSS$J = {
10158
10174
  title: "title",
10159
10175
  close: "close",
10160
10176
  imageContainer: "image-container",
10161
10177
  chipIcon: "chip-icon",
10162
10178
  closeIcon: "close-icon"
10163
10179
  };
10164
- const TEXT$j = {
10180
+ const TEXT$k = {
10165
10181
  close: "Close"
10166
10182
  };
10167
- const SLOTS$j = {
10183
+ const SLOTS$k = {
10168
10184
  image: "image"
10169
10185
  };
10170
10186
  const ICONS$a = {
@@ -10203,7 +10219,7 @@ class Chip {
10203
10219
  *
10204
10220
  * @default "Close"
10205
10221
  */
10206
- this.dismissLabel = TEXT$j.close;
10222
+ this.dismissLabel = TEXT$k.close;
10207
10223
  /** flip the icon in rtl */
10208
10224
  this.iconFlipRtl = false;
10209
10225
  /** specify the scale of the chip, defaults to m */
@@ -10250,13 +10266,13 @@ class Chip {
10250
10266
  //--------------------------------------------------------------------------
10251
10267
  renderChipImage() {
10252
10268
  const { el } = this;
10253
- const hasChipImage = getSlotted(el, SLOTS$j.image);
10254
- return hasChipImage ? (hAsync("div", { class: CSS$I.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$j.image }))) : null;
10269
+ const hasChipImage = getSlotted(el, SLOTS$k.image);
10270
+ return hasChipImage ? (hAsync("div", { class: CSS$J.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$k.image }))) : null;
10255
10271
  }
10256
10272
  render() {
10257
- const iconEl = (hAsync("calcite-icon", { class: CSS$I.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
10258
- const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$I.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$I.closeIcon, icon: ICONS$a.close, scale: "s" })));
10259
- return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$I.title, id: this.guid }, hAsync("slot", null)), this.closable || this.dismissible ? closeButton : null));
10273
+ const iconEl = (hAsync("calcite-icon", { class: CSS$J.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
10274
+ const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$J.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$J.closeIcon, icon: ICONS$a.close, scale: "s" })));
10275
+ return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$J.title, id: this.guid }, hAsync("slot", null)), this.closable || this.dismissible ? closeButton : null));
10260
10276
  }
10261
10277
  get el() { return getElement(this); }
10262
10278
  static get style() { return chipCss; }
@@ -12392,7 +12408,7 @@ function zeroArray(array, length) {
12392
12408
 
12393
12409
  var color = Color;
12394
12410
 
12395
- const CSS$H = {
12411
+ const CSS$I = {
12396
12412
  container: "container",
12397
12413
  controlSection: "control-section",
12398
12414
  hexOptions: "color-hex-options",
@@ -12430,7 +12446,7 @@ const HSV_LIMITS = {
12430
12446
  s: 100,
12431
12447
  v: 100
12432
12448
  };
12433
- const TEXT$i = {
12449
+ const TEXT$j = {
12434
12450
  b: "B",
12435
12451
  blue: "Blue",
12436
12452
  deleteColor: "Delete color",
@@ -12558,115 +12574,115 @@ class ColorPicker {
12558
12574
  *
12559
12575
  * @default "B"
12560
12576
  */
12561
- this.intlB = TEXT$i.b;
12577
+ this.intlB = TEXT$j.b;
12562
12578
  /**
12563
12579
  * Label used for the blue channel description
12564
12580
  *
12565
12581
  * @default "Blue"
12566
12582
  */
12567
- this.intlBlue = TEXT$i.blue;
12583
+ this.intlBlue = TEXT$j.blue;
12568
12584
  /**
12569
12585
  * Label used for the delete color button.
12570
12586
  *
12571
12587
  * @default "Delete color"
12572
12588
  */
12573
- this.intlDeleteColor = TEXT$i.deleteColor;
12589
+ this.intlDeleteColor = TEXT$j.deleteColor;
12574
12590
  /**
12575
12591
  * Label used for the green channel
12576
12592
  *
12577
12593
  * @default "G"
12578
12594
  */
12579
- this.intlG = TEXT$i.g;
12595
+ this.intlG = TEXT$j.g;
12580
12596
  /**
12581
12597
  * Label used for the green channel description
12582
12598
  *
12583
12599
  * @default "Green"
12584
12600
  */
12585
- this.intlGreen = TEXT$i.green;
12601
+ this.intlGreen = TEXT$j.green;
12586
12602
  /**
12587
12603
  * Label used for the hue channel
12588
12604
  *
12589
12605
  * @default "H"
12590
12606
  */
12591
- this.intlH = TEXT$i.h;
12607
+ this.intlH = TEXT$j.h;
12592
12608
  /**
12593
12609
  * Label used for the HSV mode
12594
12610
  *
12595
12611
  * @default "HSV"
12596
12612
  */
12597
- this.intlHsv = TEXT$i.hsv;
12613
+ this.intlHsv = TEXT$j.hsv;
12598
12614
  /**
12599
12615
  * Label used for the hex input
12600
12616
  *
12601
12617
  * @default "Hex"
12602
12618
  */
12603
- this.intlHex = TEXT$i.hex;
12619
+ this.intlHex = TEXT$j.hex;
12604
12620
  /**
12605
12621
  * Label used for the hue channel description
12606
12622
  *
12607
12623
  * @default "Hue"
12608
12624
  */
12609
- this.intlHue = TEXT$i.hue;
12625
+ this.intlHue = TEXT$j.hue;
12610
12626
  /**
12611
12627
  * Label used for the hex input when there is no color selected.
12612
12628
  *
12613
12629
  * @default "No color"
12614
12630
  */
12615
- this.intlNoColor = TEXT$i.noColor;
12631
+ this.intlNoColor = TEXT$j.noColor;
12616
12632
  /**
12617
12633
  * Label used for the red channel
12618
12634
  *
12619
12635
  * @default "R"
12620
12636
  */
12621
- this.intlR = TEXT$i.r;
12637
+ this.intlR = TEXT$j.r;
12622
12638
  /**
12623
12639
  * Label used for the red channel description
12624
12640
  *
12625
12641
  * @default "Red"
12626
12642
  */
12627
- this.intlRed = TEXT$i.red;
12643
+ this.intlRed = TEXT$j.red;
12628
12644
  /**
12629
12645
  * Label used for the RGB mode
12630
12646
  *
12631
12647
  * @default "RGB"
12632
12648
  */
12633
- this.intlRgb = TEXT$i.rgb;
12649
+ this.intlRgb = TEXT$j.rgb;
12634
12650
  /**
12635
12651
  * Label used for the saturation channel
12636
12652
  *
12637
12653
  * @default "S"
12638
12654
  */
12639
- this.intlS = TEXT$i.s;
12655
+ this.intlS = TEXT$j.s;
12640
12656
  /**
12641
12657
  * Label used for the saturation channel description
12642
12658
  *
12643
12659
  * @default "Saturation"
12644
12660
  */
12645
- this.intlSaturation = TEXT$i.saturation;
12661
+ this.intlSaturation = TEXT$j.saturation;
12646
12662
  /**
12647
12663
  * Label used for the save color button.
12648
12664
  *
12649
12665
  * @default "Save color"
12650
12666
  */
12651
- this.intlSaveColor = TEXT$i.saveColor;
12667
+ this.intlSaveColor = TEXT$j.saveColor;
12652
12668
  /**
12653
12669
  * Label used for the saved colors section
12654
12670
  *
12655
12671
  * @default "Saved"
12656
12672
  */
12657
- this.intlSaved = TEXT$i.saved;
12673
+ this.intlSaved = TEXT$j.saved;
12658
12674
  /**
12659
12675
  * Label used for the value channel
12660
12676
  *
12661
12677
  * @default "V"
12662
12678
  */
12663
- this.intlV = TEXT$i.v;
12679
+ this.intlV = TEXT$j.v;
12664
12680
  /**
12665
12681
  * Label used for the
12666
12682
  *
12667
12683
  * @default "Value"
12668
12684
  */
12669
- this.intlValue = TEXT$i.value;
12685
+ this.intlValue = TEXT$j.value;
12670
12686
  /**
12671
12687
  * The scale of the color picker.
12672
12688
  */
@@ -12933,7 +12949,7 @@ class ColorPicker {
12933
12949
  const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
12934
12950
  const active = channelMode === activeChannelMode;
12935
12951
  const label = channelMode === "rgb" ? intlRgb : intlHsv;
12936
- return (hAsync("calcite-tab-title", { active: active, class: CSS$H.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
12952
+ return (hAsync("calcite-tab-title", { active: active, class: CSS$I.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
12937
12953
  };
12938
12954
  this.renderChannelsTab = (channelMode) => {
12939
12955
  const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
@@ -12944,11 +12960,11 @@ class ColorPicker {
12944
12960
  ? [intlRed, intlGreen, intlBlue]
12945
12961
  : [intlHue, intlSaturation, intlValue];
12946
12962
  const direction = getElementDir(this.el);
12947
- return (hAsync("calcite-tab", { active: active, class: CSS$H.control, key: channelMode }, hAsync("div", { class: CSS$H.channels, dir: "ltr" }, channels.map((channel, index) =>
12963
+ return (hAsync("calcite-tab", { active: active, class: CSS$I.control, key: channelMode }, hAsync("div", { class: CSS$I.channels, dir: "ltr" }, channels.map((channel, index) =>
12948
12964
  /* the channel container is ltr, so we apply the host's direction */
12949
12965
  this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
12950
12966
  };
12951
- this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("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() }));
12967
+ this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$I.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() }));
12952
12968
  this.deleteColor = () => {
12953
12969
  const colorToDelete = this.color.hex();
12954
12970
  const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
@@ -13051,7 +13067,7 @@ class ColorPicker {
13051
13067
  this.shiftKeyChannelAdjustment = 0;
13052
13068
  const key = event.key;
13053
13069
  if ((key !== "ArrowUp" && key !== "ArrowDown") ||
13054
- !event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$H.channel); })) {
13070
+ !event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$I.channel); })) {
13055
13071
  return;
13056
13072
  }
13057
13073
  const { shiftKey } = event;
@@ -13122,20 +13138,20 @@ class ColorPicker {
13122
13138
  const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
13123
13139
  const noColor = color === null;
13124
13140
  const vertical = scopeOrientation === "vertical";
13125
- return (hAsync("div", { class: CSS$H.container }, hAsync("div", { class: CSS$H.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
13126
- [CSS$H.colorFieldAndSlider]: true,
13127
- [CSS$H.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
13128
- }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("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" }), hAsync("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 : (hAsync("div", { class: {
13129
- [CSS$H.controlSection]: true,
13130
- [CSS$H.section]: true
13131
- } }, hideHex ? null : (hAsync("div", { class: CSS$H.hexOptions }, hAsync("span", { class: {
13132
- [CSS$H.header]: true,
13133
- [CSS$H.headerHex]: true
13134
- } }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$H.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
13135
- [CSS$H.colorModeContainer]: true,
13136
- [CSS$H.splitSection]: true
13137
- }, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$H.savedColorsSection]: true, [CSS$H.section]: true } }, hAsync("div", { class: CSS$H.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$H.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$H.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("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 ? (hAsync("div", { class: CSS$H.savedColors }, [
13138
- ...savedColors.map((color) => (hAsync("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 })))
13141
+ return (hAsync("div", { class: CSS$I.container }, hAsync("div", { class: CSS$I.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
13142
+ [CSS$I.colorFieldAndSlider]: true,
13143
+ [CSS$I.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
13144
+ }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("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$I.scope]: true, [CSS$I.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), hAsync("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$I.scope]: true, [CSS$I.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (hAsync("div", { class: {
13145
+ [CSS$I.controlSection]: true,
13146
+ [CSS$I.section]: true
13147
+ } }, hideHex ? null : (hAsync("div", { class: CSS$I.hexOptions }, hAsync("span", { class: {
13148
+ [CSS$I.header]: true,
13149
+ [CSS$I.headerHex]: true
13150
+ } }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$I.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
13151
+ [CSS$I.colorModeContainer]: true,
13152
+ [CSS$I.splitSection]: true
13153
+ }, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$I.savedColorsSection]: true, [CSS$I.section]: true } }, hAsync("div", { class: CSS$I.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$I.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$I.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$I.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$I.savedColors }, [
13154
+ ...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$I.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
13139
13155
  ])) : null))));
13140
13156
  }
13141
13157
  // --------------------------------------------------------------------------
@@ -13381,7 +13397,7 @@ class ColorPicker {
13381
13397
  }; }
13382
13398
  }
13383
13399
 
13384
- const CSS$G = {
13400
+ const CSS$H = {
13385
13401
  container: "container",
13386
13402
  preview: "preview",
13387
13403
  input: "input"
@@ -13410,13 +13426,13 @@ class ColorPickerHexInput {
13410
13426
  *
13411
13427
  * @default "Hex"
13412
13428
  */
13413
- this.intlHex = TEXT$i.hex;
13429
+ this.intlHex = TEXT$j.hex;
13414
13430
  /**
13415
13431
  * Label used for the hex input when there is no color selected.
13416
13432
  *
13417
13433
  * @default "No color"
13418
13434
  */
13419
- this.intlNoColor = TEXT$i.noColor;
13435
+ this.intlNoColor = TEXT$j.noColor;
13420
13436
  /**
13421
13437
  * The component's scale.
13422
13438
  */
@@ -13510,7 +13526,7 @@ class ColorPickerHexInput {
13510
13526
  render() {
13511
13527
  const { intlHex, value } = this;
13512
13528
  const hexInputValue = this.formatForInternalInput(value);
13513
- return (hAsync("div", { class: CSS$G.container }, hAsync("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 ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$G.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
13529
+ return (hAsync("div", { class: CSS$H.container }, hAsync("calcite-input", { class: CSS$H.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 ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$H.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
13514
13530
  }
13515
13531
  //--------------------------------------------------------------------------
13516
13532
  //
@@ -13586,7 +13602,7 @@ class ColorPickerHexInput {
13586
13602
  }; }
13587
13603
  }
13588
13604
 
13589
- const CSS$F = {
13605
+ const CSS$G = {
13590
13606
  swatch: "swatch",
13591
13607
  noColorIcon: "no-color-icon"
13592
13608
  };
@@ -13631,7 +13647,7 @@ class ColorPickerSwatch {
13631
13647
  const hex = internalColor.hex();
13632
13648
  const theme = getThemeName(el);
13633
13649
  const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
13634
- return (hAsync("svg", { class: CSS$F.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
13650
+ return (hAsync("svg", { class: CSS$G.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
13635
13651
  }
13636
13652
  get el() { return getElement(this); }
13637
13653
  static get watchers() { return {
@@ -15293,7 +15309,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
15293
15309
  const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
15294
15310
  const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
15295
15311
  const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
15296
- const TEXT$h = {
15312
+ const TEXT$i = {
15297
15313
  removeTag: "Remove tag"
15298
15314
  };
15299
15315
 
@@ -15320,7 +15336,7 @@ function getDepth(element) {
15320
15336
  }
15321
15337
  }
15322
15338
 
15323
- const comboboxCss = "@-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*/.sc-calcite-combobox: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*/.calcite-animate.sc-calcite-combobox{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*/.calcite-animate__in.sc-calcite-combobox{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-combobox:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{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*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper, \n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:-ms-flexbox;display:flex;max-inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--spaced*/.label--spaced.sc-calcite-combobox{padding-block:0px;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end, \n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:-ms-flexbox;display:flex;inline-size:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{-ms-flex:none;flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{inline-size:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;z-index:1;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-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}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{pointer-events:initial;visibility:visible}@media (forced-colors: active){/*!@.wrapper,\n.floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
15339
+ const comboboxCss = "@-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*/.sc-calcite-combobox: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*/.calcite-animate.sc-calcite-combobox{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*/.calcite-animate__in.sc-calcite-combobox{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-combobox:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{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*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper, \n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:-ms-flexbox;display:flex;max-inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--spaced*/.label--spaced.sc-calcite-combobox{padding-block:0px;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end, \n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:-ms-flexbox;display:flex;inline-size:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{-ms-flex:none;flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{inline-size:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;z-index:1;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-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}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{pointer-events:initial;visibility:visible}@media (forced-colors: active){/*!@.wrapper,\n.floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
15324
15340
 
15325
15341
  const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
15326
15342
  const itemUidPrefix = "combobox-item-";
@@ -15383,7 +15399,7 @@ class Combobox {
15383
15399
  *
15384
15400
  * @default "Remove tag"
15385
15401
  */
15386
- this.intlRemoveTag = TEXT$h.removeTag;
15402
+ this.intlRemoveTag = TEXT$i.removeTag;
15387
15403
  //--------------------------------------------------------------------------
15388
15404
  //
15389
15405
  // Private State/Props
@@ -15434,8 +15450,7 @@ class Combobox {
15434
15450
  this.addCustomChip(this.text, true);
15435
15451
  event.preventDefault();
15436
15452
  }
15437
- else if (this.open || this.active) {
15438
- this.active = false;
15453
+ else if (this.open) {
15439
15454
  this.open = false;
15440
15455
  event.preventDefault();
15441
15456
  }
@@ -15453,9 +15468,8 @@ class Combobox {
15453
15468
  }
15454
15469
  break;
15455
15470
  case "ArrowDown":
15456
- if (!(this.open || this.active)) {
15471
+ if (!this.open) {
15457
15472
  event.preventDefault();
15458
- this.active = true;
15459
15473
  this.open = true;
15460
15474
  }
15461
15475
  this.shiftActiveItemIndex(1);
@@ -15466,13 +15480,12 @@ class Combobox {
15466
15480
  case " ":
15467
15481
  if (!this.textInput.value) {
15468
15482
  event.preventDefault();
15469
- this.active = true;
15470
15483
  this.open = true;
15471
15484
  this.shiftActiveItemIndex(1);
15472
15485
  }
15473
15486
  break;
15474
15487
  case "Home":
15475
- if (this.open || this.active) {
15488
+ if (this.open) {
15476
15489
  event.preventDefault();
15477
15490
  }
15478
15491
  this.updateActiveItemIndex(0);
@@ -15482,7 +15495,7 @@ class Combobox {
15482
15495
  }
15483
15496
  break;
15484
15497
  case "End":
15485
- if (this.open || this.active) {
15498
+ if (this.open) {
15486
15499
  event.preventDefault();
15487
15500
  }
15488
15501
  this.updateActiveItemIndex(this.visibleItems.length - 1);
@@ -15492,7 +15505,6 @@ class Combobox {
15492
15505
  }
15493
15506
  break;
15494
15507
  case "Escape":
15495
- this.active = false;
15496
15508
  this.open = false;
15497
15509
  break;
15498
15510
  case "Enter":
@@ -15521,29 +15533,26 @@ class Combobox {
15521
15533
  }
15522
15534
  };
15523
15535
  this.toggleCloseEnd = () => {
15524
- this.active = false;
15525
15536
  this.open = false;
15526
15537
  this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
15527
15538
  };
15528
15539
  this.toggleOpenEnd = () => {
15529
- this.active = true;
15530
15540
  this.open = false;
15531
15541
  this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
15532
15542
  };
15533
15543
  this.transitionEnd = (event) => {
15534
15544
  if (event.propertyName === this.activeTransitionProp && event.target === this.listContainerEl) {
15535
- this.open || this.active ? this.onOpen() : this.onClose();
15545
+ this.open ? this.onOpen() : this.onClose();
15536
15546
  }
15537
15547
  };
15538
15548
  this.transitionStartHandler = (event) => {
15539
15549
  if (event.propertyName === this.activeTransitionProp && event.target === this.listContainerEl) {
15540
- this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
15550
+ this.open ? this.onBeforeOpen() : this.onBeforeClose();
15541
15551
  }
15542
15552
  };
15543
15553
  this.setMaxScrollerHeight = async () => {
15544
- const { active, listContainerEl, open } = this;
15545
- const isOpen = !(active || open);
15546
- if (!listContainerEl || isOpen) {
15554
+ const { listContainerEl, open } = this;
15555
+ if (!listContainerEl || !open) {
15547
15556
  return;
15548
15557
  }
15549
15558
  await this.reposition();
@@ -15552,7 +15561,6 @@ class Combobox {
15552
15561
  await this.reposition();
15553
15562
  };
15554
15563
  this.calciteChipDismissHandler = (event, comboboxItem) => {
15555
- this.active = false;
15556
15564
  this.open = false;
15557
15565
  const selection = this.items.find((item) => item === comboboxItem);
15558
15566
  if (selection) {
@@ -15564,15 +15572,13 @@ class Combobox {
15564
15572
  if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
15565
15573
  return;
15566
15574
  }
15567
- this.active = !this.active;
15568
15575
  this.open = !this.open;
15569
15576
  this.updateActiveItemIndex(0);
15570
15577
  this.setFocus();
15571
15578
  };
15572
15579
  this.setInactiveIfNotContained = (event) => {
15573
15580
  const composedPath = event.composedPath();
15574
- const isOpen = !(this.open || this.active);
15575
- if (isOpen || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
15581
+ if (!this.open || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
15576
15582
  return;
15577
15583
  }
15578
15584
  if (this.allowCustomValues && this.text.trim().length) {
@@ -15586,7 +15592,6 @@ class Combobox {
15586
15592
  this.filterItems("");
15587
15593
  this.updateActiveItemIndex(-1);
15588
15594
  }
15589
- this.active = false;
15590
15595
  this.open = false;
15591
15596
  };
15592
15597
  this.setFloatingEl = (el) => {
@@ -15678,12 +15683,21 @@ class Combobox {
15678
15683
  this.setInactiveIfNotContained(event);
15679
15684
  };
15680
15685
  }
15681
- activeHandler() {
15686
+ activeHandler(value) {
15682
15687
  if (this.disabled) {
15683
15688
  this.active = false;
15684
15689
  this.open = false;
15685
15690
  return;
15686
15691
  }
15692
+ this.open = value;
15693
+ }
15694
+ openHandler(value) {
15695
+ if (this.disabled) {
15696
+ this.active = false;
15697
+ this.open = false;
15698
+ return;
15699
+ }
15700
+ this.active = value;
15687
15701
  this.setMaxScrollerHeight();
15688
15702
  }
15689
15703
  handleDisabledChange(value) {
@@ -15771,6 +15785,12 @@ class Combobox {
15771
15785
  connectForm(this);
15772
15786
  this.reposition();
15773
15787
  this.setFilteredPlacements();
15788
+ if (this.active) {
15789
+ this.activeHandler(this.active);
15790
+ }
15791
+ if (this.open) {
15792
+ this.openHandler(this.open);
15793
+ }
15774
15794
  }
15775
15795
  componentWillLoad() {
15776
15796
  this.updateItems();
@@ -15877,7 +15897,6 @@ class Combobox {
15877
15897
  if (this.textInput) {
15878
15898
  this.textInput.value = item.textLabel;
15879
15899
  }
15880
- this.active = false;
15881
15900
  this.open = false;
15882
15901
  this.updateActiveItemIndex(-1);
15883
15902
  this.resetText();
@@ -16118,7 +16137,7 @@ class Combobox {
16118
16137
  get el() { return getElement(this); }
16119
16138
  static get watchers() { return {
16120
16139
  "active": ["activeHandler"],
16121
- "open": ["activeHandler"],
16140
+ "open": ["openHandler"],
16122
16141
  "disabled": ["handleDisabledChange"],
16123
16142
  "maxItems": ["maxItemsHandler"],
16124
16143
  "overlayPositioning": ["overlayPositioningHandler"],
@@ -16166,7 +16185,7 @@ class Combobox {
16166
16185
  }; }
16167
16186
  }
16168
16187
 
16169
- const CSS$E = {
16188
+ const CSS$F = {
16170
16189
  icon: "icon",
16171
16190
  iconActive: "icon--active",
16172
16191
  custom: "icon--custom",
@@ -16258,18 +16277,18 @@ class ComboboxItem {
16258
16277
  // --------------------------------------------------------------------------
16259
16278
  renderIcon(isSingle) {
16260
16279
  const { icon, disabled, selected } = this;
16261
- const level = `${CSS$E.icon}--indent`;
16280
+ const level = `${CSS$F.icon}--indent`;
16262
16281
  const defaultIcon = isSingle ? "dot" : "check";
16263
16282
  const iconPath = disabled ? "circle-disallowed" : defaultIcon;
16264
16283
  const showDot = isSingle && !icon && !disabled;
16265
16284
  return showDot ? (hAsync("span", { class: {
16266
- [CSS$E.icon]: true,
16267
- [CSS$E.dot]: true,
16285
+ [CSS$F.icon]: true,
16286
+ [CSS$F.dot]: true,
16268
16287
  [level]: true
16269
16288
  } })) : (hAsync("calcite-icon", { class: {
16270
- [CSS$E.icon]: !icon,
16271
- [CSS$E.custom]: !!icon,
16272
- [CSS$E.iconActive]: icon && selected,
16289
+ [CSS$F.icon]: !icon,
16290
+ [CSS$F.custom]: !!icon,
16291
+ [CSS$F.iconActive]: icon && selected,
16273
16292
  [level]: true
16274
16293
  }, icon: icon || iconPath, scale: "s" }));
16275
16294
  }
@@ -16282,13 +16301,13 @@ class ComboboxItem {
16282
16301
  render() {
16283
16302
  const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
16284
16303
  const classes = {
16285
- [CSS$E.label]: true,
16286
- [CSS$E.selected]: this.selected,
16287
- [CSS$E.active]: this.active,
16288
- [CSS$E.single]: isSingleSelect
16304
+ [CSS$F.label]: true,
16305
+ [CSS$F.selected]: this.selected,
16306
+ [CSS$F.active]: this.active,
16307
+ [CSS$F.single]: isSingleSelect
16289
16308
  };
16290
16309
  const depth = getDepth();
16291
- return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$E.title }, this.textLabel)), this.renderChildren())));
16310
+ return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$F.title }, this.textLabel)), this.renderChildren())));
16292
16311
  }
16293
16312
  get el() { return getElement(this); }
16294
16313
  static get watchers() { return {
@@ -16317,7 +16336,7 @@ class ComboboxItem {
16317
16336
  }; }
16318
16337
  }
16319
16338
 
16320
- const CSS$D = {
16339
+ const CSS$E = {
16321
16340
  list: "list",
16322
16341
  label: "label",
16323
16342
  title: "title"
@@ -16350,8 +16369,8 @@ class ComboboxItemGroup {
16350
16369
  // --------------------------------------------------------------------------
16351
16370
  render() {
16352
16371
  const { el, scale } = this;
16353
- const indent = `${CSS$D.label}--indent-${getDepth()}`;
16354
- return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$D.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$D.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$D.title }, this.label)), hAsync("slot", null)));
16372
+ const indent = `${CSS$E.label}--indent-${getDepth()}`;
16373
+ return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$E.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$E.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$E.title }, this.label)), hAsync("slot", null)));
16355
16374
  }
16356
16375
  get el() { return getElement(this); }
16357
16376
  static get style() { return comboboxItemGroupCss; }
@@ -16758,7 +16777,7 @@ function getDaysDiff(date1, date2) {
16758
16777
  }
16759
16778
 
16760
16779
  const HEADING_LEVEL$6 = 2;
16761
- const TEXT$g = {
16780
+ const TEXT$h = {
16762
16781
  nextMonth: "Next month",
16763
16782
  prevMonth: "Previous month",
16764
16783
  year: "Year"
@@ -16776,19 +16795,19 @@ class DatePicker {
16776
16795
  *
16777
16796
  * @default "Previous month"
16778
16797
  */
16779
- this.intlPrevMonth = TEXT$g.prevMonth;
16798
+ this.intlPrevMonth = TEXT$h.prevMonth;
16780
16799
  /**
16781
16800
  * Localized string for "next month" (used for aria label)
16782
16801
  *
16783
16802
  * @default "Next month"
16784
16803
  */
16785
- this.intlNextMonth = TEXT$g.nextMonth;
16804
+ this.intlNextMonth = TEXT$h.nextMonth;
16786
16805
  /**
16787
16806
  * Localized string for "year" (used for aria label)
16788
16807
  *
16789
16808
  * @default "Year"
16790
16809
  */
16791
- this.intlYear = TEXT$g.year;
16810
+ this.intlYear = TEXT$h.year;
16792
16811
  /** BCP 47 language tag for desired language and country format */
16793
16812
  this.locale = document.documentElement.lang || "en";
16794
16813
  /** specify the scale of the date picker */
@@ -17803,11 +17822,11 @@ class DatePickerMonthHeader {
17803
17822
  }; }
17804
17823
  }
17805
17824
 
17806
- const SLOTS$i = {
17825
+ const SLOTS$j = {
17807
17826
  dropdownTrigger: "dropdown-trigger"
17808
17827
  };
17809
17828
 
17810
- 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*/.sc-calcite-dropdown: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*/.calcite-animate.sc-calcite-dropdown{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*/.calcite-animate__in.sc-calcite-dropdown{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{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*/.sc-calcite-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{position:relative;z-index:1;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-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-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([active]) .calcite-dropdown-wrapper,\n:host([open]) .calcite-dropdown-wrapper*/[active].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown,[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-block-size:90vh;inline-size:var(--calcite-dropdown-width)}/*!@.calcite-dropdown-trigger-container*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}@media (forced-colors: active){/*!@:host([active]) .calcite-dropdown-wrapper,\n:host([open]) .calcite-dropdown-wrapper*/[active].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown,[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
17829
+ 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*/.sc-calcite-dropdown: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*/.calcite-animate.sc-calcite-dropdown{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*/.calcite-animate__in.sc-calcite-dropdown{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-dropdown:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{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*/.sc-calcite-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{position:relative;z-index:1;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-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-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-dropdown-trigger-container*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}@media (forced-colors: active){/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
17811
17830
 
17812
17831
  /**
17813
17832
  * @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.
@@ -17865,6 +17884,7 @@ class Dropdown {
17865
17884
  /** specify whether the dropdown is opened by hover or click of a trigger element */
17866
17885
  this.type = "click";
17867
17886
  this.items = [];
17887
+ this.groups = [];
17868
17888
  this.activeTransitionProp = "visibility";
17869
17889
  this.mutationObserver = createObserver();
17870
17890
  this.resizeObserver = createObserver();
@@ -17894,15 +17914,19 @@ class Dropdown {
17894
17914
  this.reposition();
17895
17915
  };
17896
17916
  this.updateItems = () => {
17897
- const { defaultAssignedElements } = this;
17898
- this.items = defaultAssignedElements.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group, calcite-dropdown-item"))
17899
- .map((el) => el.matches("calcite-dropdown-group")
17900
- ? Array.from(el.querySelectorAll("calcite-dropdown-item"))
17901
- : [el])
17917
+ this.items = this.groups
17918
+ .map((group) => Array.from(group === null || group === void 0 ? void 0 : group.querySelectorAll("calcite-dropdown-item")))
17902
17919
  .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
17903
17920
  this.updateSelectedItems();
17904
17921
  this.reposition();
17905
17922
  };
17923
+ this.updateGroups = (event) => {
17924
+ const groups = event.target
17925
+ .assignedElements({ flatten: true })
17926
+ .filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group"));
17927
+ this.groups = groups;
17928
+ this.updateItems();
17929
+ };
17906
17930
  this.resizeObserverCallback = (entries) => {
17907
17931
  entries.forEach((entry) => {
17908
17932
  const { target } = entry;
@@ -17923,9 +17947,8 @@ class Dropdown {
17923
17947
  scrollerEl.style.minWidth = `${referenceElWidth}px`;
17924
17948
  };
17925
17949
  this.setMaxScrollerHeight = () => {
17926
- const { active, scrollerEl, open } = this;
17927
- const isOpen = !(active || open);
17928
- if (!scrollerEl || isOpen) {
17950
+ const { scrollerEl, open } = this;
17951
+ if (!scrollerEl || !open) {
17929
17952
  return;
17930
17953
  }
17931
17954
  this.reposition();
@@ -17940,12 +17963,12 @@ class Dropdown {
17940
17963
  };
17941
17964
  this.transitionEnd = (event) => {
17942
17965
  if (event.propertyName === this.activeTransitionProp && event.target === this.scrollerEl) {
17943
- this.open || this.active ? this.onOpen() : this.onClose();
17966
+ this.open ? this.onOpen() : this.onClose();
17944
17967
  }
17945
17968
  };
17946
17969
  this.transitionStartHandler = (event) => {
17947
17970
  if (event.propertyName === this.activeTransitionProp && event.target === this.scrollerEl) {
17948
- this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
17971
+ this.open ? this.onBeforeOpen() : this.onBeforeClose();
17949
17972
  }
17950
17973
  };
17951
17974
  this.setReferenceEl = (el) => {
@@ -17963,7 +17986,7 @@ class Dropdown {
17963
17986
  return;
17964
17987
  }
17965
17988
  const key = event.key;
17966
- if ((this.open || this.active) && (key === "Escape" || (event.shiftKey && key === "Tab"))) {
17989
+ if (this.open && (key === "Escape" || (event.shiftKey && key === "Tab"))) {
17967
17990
  this.closeCalciteDropdown();
17968
17991
  return;
17969
17992
  }
@@ -17985,24 +18008,25 @@ class Dropdown {
17985
18008
  this.el.removeEventListener("calciteDropdownOpen", this.toggleOpenEnd);
17986
18009
  };
17987
18010
  this.openCalciteDropdown = () => {
17988
- this.active = !this.active;
17989
18011
  this.open = !this.open;
17990
- if (this.active || this.open) {
18012
+ if (this.open) {
17991
18013
  this.el.addEventListener("calciteDropdownOpen", this.toggleOpenEnd);
17992
18014
  }
17993
18015
  };
17994
18016
  }
17995
- activeHandler() {
18017
+ activeHandler(value) {
18018
+ this.open = value;
18019
+ }
18020
+ openHandler(value) {
17996
18021
  if (!this.disabled) {
17997
18022
  this.reposition();
18023
+ this.active = value;
17998
18024
  return;
17999
18025
  }
18000
- this.active = false;
18001
18026
  this.open = false;
18002
18027
  }
18003
18028
  handleDisabledChange(value) {
18004
18029
  if (!value) {
18005
- this.active = false;
18006
18030
  this.open = false;
18007
18031
  }
18008
18032
  }
@@ -18028,6 +18052,12 @@ class Dropdown {
18028
18052
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
18029
18053
  this.setFilteredPlacements();
18030
18054
  this.reposition();
18055
+ if (this.open) {
18056
+ this.openHandler(this.open);
18057
+ }
18058
+ if (this.active) {
18059
+ this.activeHandler(this.active);
18060
+ }
18031
18061
  }
18032
18062
  componentDidLoad() {
18033
18063
  this.reposition();
@@ -18043,12 +18073,12 @@ class Dropdown {
18043
18073
  (_c = this.scrollerEl) === null || _c === void 0 ? void 0 : _c.removeEventListener("transitionstart", this.transitionStartHandler);
18044
18074
  }
18045
18075
  render() {
18046
- const { active, open, guid } = this;
18047
- return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "menu", name: SLOTS$i.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
18076
+ const { open, guid } = this;
18077
+ return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$j.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
18048
18078
  ["calcite-dropdown-content"]: true,
18049
18079
  [FloatingCSS.animation]: true,
18050
- [FloatingCSS.animationActive]: active || open
18051
- }, id: `${guid}-menu`, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl, role: "menu" }, hAsync("div", { hidden: !(open || active) }, hAsync("slot", { onSlotchange: this.slotChangeHandler }))))));
18080
+ [FloatingCSS.animationActive]: open
18081
+ }, id: `${guid}-menu`, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl, role: "menu" }, hAsync("div", { hidden: !open }, hAsync("slot", { onSlotchange: this.updateGroups }))))));
18052
18082
  }
18053
18083
  //--------------------------------------------------------------------------
18054
18084
  //
@@ -18067,8 +18097,7 @@ class Dropdown {
18067
18097
  });
18068
18098
  }
18069
18099
  closeCalciteDropdownOnClick(event) {
18070
- const isOpen = !(this.open || this.active);
18071
- if (isOpen || event.composedPath().includes(this.el)) {
18100
+ if (!this.open || event.composedPath().includes(this.el)) {
18072
18101
  return;
18073
18102
  }
18074
18103
  this.closeCalciteDropdown(false);
@@ -18081,7 +18110,6 @@ class Dropdown {
18081
18110
  if (event.composedPath().includes(this.el)) {
18082
18111
  return;
18083
18112
  }
18084
- this.active = false;
18085
18113
  this.open = false;
18086
18114
  }
18087
18115
  mouseEnterHandler() {
@@ -18161,24 +18189,25 @@ class Dropdown {
18161
18189
  let itemsToProcess = 0;
18162
18190
  let maxScrollerHeight = 0;
18163
18191
  let groupHeaderHeight;
18164
- if (maxItems > 0 && itemsToProcess < maxItems) {
18165
- this.items.forEach((item) => {
18166
- if (item.matches("calcite-dropdown-group calcite-dropdown-item:first-child")) {
18167
- if (isNaN(groupHeaderHeight)) {
18168
- groupHeaderHeight = item.offsetTop;
18192
+ this.groups.forEach((group) => {
18193
+ if (maxItems > 0 && itemsToProcess < maxItems) {
18194
+ Array.from(group.children).forEach((item, index) => {
18195
+ if (index === 0) {
18196
+ if (isNaN(groupHeaderHeight)) {
18197
+ groupHeaderHeight = item.offsetTop;
18198
+ }
18199
+ maxScrollerHeight += groupHeaderHeight;
18169
18200
  }
18170
- maxScrollerHeight += groupHeaderHeight;
18171
- }
18172
- if (itemsToProcess < maxItems) {
18173
- maxScrollerHeight += item.offsetHeight;
18174
- itemsToProcess += 1;
18175
- }
18176
- });
18177
- }
18201
+ if (itemsToProcess < maxItems) {
18202
+ maxScrollerHeight += item.offsetHeight;
18203
+ itemsToProcess += 1;
18204
+ }
18205
+ });
18206
+ }
18207
+ });
18178
18208
  return maxScrollerHeight;
18179
18209
  }
18180
18210
  closeCalciteDropdown(focusTrigger = true) {
18181
- this.active = false;
18182
18211
  this.open = false;
18183
18212
  if (focusTrigger) {
18184
18213
  focusElement(this.triggers[0]);
@@ -18217,7 +18246,7 @@ class Dropdown {
18217
18246
  get el() { return getElement(this); }
18218
18247
  static get watchers() { return {
18219
18248
  "active": ["activeHandler"],
18220
- "open": ["activeHandler"],
18249
+ "open": ["openHandler"],
18221
18250
  "disabled": ["handleDisabledChange"],
18222
18251
  "flipPlacements": ["flipPlacementsHandler"],
18223
18252
  "maxItems": ["maxItemsHandler"],
@@ -18249,7 +18278,7 @@ class Dropdown {
18249
18278
  }; }
18250
18279
  }
18251
18280
 
18252
- const CSS$C = {
18281
+ const CSS$D = {
18253
18282
  containerSmall: "container--s",
18254
18283
  containerMedium: "container--m",
18255
18284
  containerLarge: "container--l"
@@ -18284,9 +18313,9 @@ class DropdownGroup {
18284
18313
  const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
18285
18314
  return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
18286
18315
  container: true,
18287
- [CSS$C.containerSmall]: scale === "s",
18288
- [CSS$C.containerMedium]: scale === "m",
18289
- [CSS$C.containerLarge]: scale === "l"
18316
+ [CSS$D.containerSmall]: scale === "s",
18317
+ [CSS$D.containerMedium]: scale === "m",
18318
+ [CSS$D.containerLarge]: scale === "l"
18290
18319
  }, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
18291
18320
  }
18292
18321
  //--------------------------------------------------------------------------
@@ -18326,7 +18355,7 @@ class DropdownGroup {
18326
18355
  }; }
18327
18356
  }
18328
18357
 
18329
- const CSS$B = {
18358
+ const CSS$C = {
18330
18359
  containerLink: "container--link",
18331
18360
  containerSmall: "container--s",
18332
18361
  containerMedium: "container--m",
@@ -18399,13 +18428,13 @@ class DropdownItem {
18399
18428
  const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.active) : null;
18400
18429
  return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
18401
18430
  container: true,
18402
- [CSS$B.containerLink]: !!this.href,
18403
- [CSS$B.containerSmall]: scale === "s",
18404
- [CSS$B.containerMedium]: scale === "m",
18405
- [CSS$B.containerLarge]: scale === "l",
18406
- [CSS$B.containerMulti]: this.selectionMode === "multi",
18407
- [CSS$B.containerSingle]: this.selectionMode === "single",
18408
- [CSS$B.containerNone]: this.selectionMode === "none"
18431
+ [CSS$C.containerLink]: !!this.href,
18432
+ [CSS$C.containerSmall]: scale === "s",
18433
+ [CSS$C.containerMedium]: scale === "m",
18434
+ [CSS$C.containerLarge]: scale === "l",
18435
+ [CSS$C.containerMulti]: this.selectionMode === "multi",
18436
+ [CSS$C.containerSingle]: this.selectionMode === "single",
18437
+ [CSS$C.containerNone]: this.selectionMode === "none"
18409
18438
  } }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
18410
18439
  }
18411
18440
  //--------------------------------------------------------------------------
@@ -18511,7 +18540,7 @@ class DropdownItem {
18511
18540
  }; }
18512
18541
  }
18513
18542
 
18514
- const CSS$A = {
18543
+ const CSS$B = {
18515
18544
  button: "button"
18516
18545
  };
18517
18546
  const ICONS$9 = {
@@ -18584,7 +18613,7 @@ class Fab {
18584
18613
  render() {
18585
18614
  const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
18586
18615
  const title = !textEnabled ? label || text || null : null;
18587
- return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$A.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
18616
+ return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$B.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
18588
18617
  this.buttonEl = buttonEl;
18589
18618
  }, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
18590
18619
  }
@@ -18611,11 +18640,11 @@ class Fab {
18611
18640
  }; }
18612
18641
  }
18613
18642
 
18614
- const CSS$z = {
18643
+ const CSS$A = {
18615
18644
  container: "container",
18616
18645
  searchIcon: "search-icon"
18617
18646
  };
18618
- const TEXT$f = {
18647
+ const TEXT$g = {
18619
18648
  filterLabel: "Filter",
18620
18649
  clear: "Clear filter"
18621
18650
  };
@@ -18729,7 +18758,7 @@ class Filter {
18729
18758
  // --------------------------------------------------------------------------
18730
18759
  render() {
18731
18760
  const { disabled, scale } = this;
18732
- return (hAsync(Fragment, null, hAsync("div", { class: CSS$z.container }, hAsync("label", null, hAsync("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) => {
18761
+ return (hAsync(Fragment, null, hAsync("div", { class: CSS$A.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$g.filterLabel, clearable: true, disabled: disabled, icon: ICONS$8.search, intlClear: this.intlClear || TEXT$g.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
18733
18762
  this.textInput = el;
18734
18763
  }, scale: scale, type: "text", value: this.value })))));
18735
18764
  }
@@ -18759,7 +18788,7 @@ class Filter {
18759
18788
  }; }
18760
18789
  }
18761
18790
 
18762
- const CSS$y = {
18791
+ const CSS$z = {
18763
18792
  frame: "frame",
18764
18793
  frameAdvancing: "frame--advancing",
18765
18794
  frameRetreating: "frame--retreating"
@@ -18861,9 +18890,9 @@ class Flow {
18861
18890
  render() {
18862
18891
  const { flowDirection } = this;
18863
18892
  const frameDirectionClasses = {
18864
- [CSS$y.frame]: true,
18865
- [CSS$y.frameAdvancing]: flowDirection === "advancing",
18866
- [CSS$y.frameRetreating]: flowDirection === "retreating"
18893
+ [CSS$z.frame]: true,
18894
+ [CSS$z.frameAdvancing]: flowDirection === "advancing",
18895
+ [CSS$z.frameRetreating]: flowDirection === "retreating"
18867
18896
  };
18868
18897
  return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
18869
18898
  }
@@ -19115,7 +19144,7 @@ class Graph {
19115
19144
  }; }
19116
19145
  }
19117
19146
 
19118
- const CSS$x = {
19147
+ const CSS$y = {
19119
19148
  handle: "handle",
19120
19149
  handleActivated: "handle--activated"
19121
19150
  };
@@ -19184,7 +19213,7 @@ class Handle {
19184
19213
  render() {
19185
19214
  return (
19186
19215
  // Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
19187
- hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$x.handle]: true, [CSS$x.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
19216
+ hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$y.handle]: true, [CSS$y.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
19188
19217
  this.handleButton = el;
19189
19218
  }, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
19190
19219
  }
@@ -19204,7 +19233,7 @@ class Handle {
19204
19233
  }; }
19205
19234
  }
19206
19235
 
19207
- const CSS$w = {
19236
+ const CSS$x = {
19208
19237
  icon: "icon",
19209
19238
  flipRtl: "flip-rtl"
19210
19239
  };
@@ -19265,7 +19294,7 @@ class Icon {
19265
19294
  const semantic = !!textLabel;
19266
19295
  const paths = [].concat(pathData || "");
19267
19296
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { class: {
19268
- [CSS$w.flipRtl]: dir === "rtl" && flipRtl,
19297
+ [CSS$x.flipRtl]: dir === "rtl" && flipRtl,
19269
19298
  svg: true
19270
19299
  }, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
19271
19300
  }
@@ -19311,7 +19340,7 @@ class Icon {
19311
19340
  }; }
19312
19341
  }
19313
19342
 
19314
- const CSS$v = {
19343
+ const CSS$w = {
19315
19344
  wrapper: "wrapper",
19316
19345
  confirmChangesButton: "confirm-changes-button",
19317
19346
  cancelEditingButton: "cancel-editing-button",
@@ -19320,7 +19349,7 @@ const CSS$v = {
19320
19349
  enableEditingButton: "enable-editing-button",
19321
19350
  controlsWrapper: "controls-wrapper"
19322
19351
  };
19323
- const TEXT$e = {
19352
+ const TEXT$f = {
19324
19353
  intlEnablingEditing: "Click to edit",
19325
19354
  intlCancelEditing: "Cancel",
19326
19355
  intlConfirmChanges: "Save"
@@ -19355,19 +19384,19 @@ class InlineEditable {
19355
19384
  *
19356
19385
  * @default "Click to edit"
19357
19386
  */
19358
- this.intlEnableEditing = TEXT$e.intlEnablingEditing;
19387
+ this.intlEnableEditing = TEXT$f.intlEnablingEditing;
19359
19388
  /**
19360
19389
  * specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
19361
19390
  *
19362
19391
  * @default "Cancel"
19363
19392
  */
19364
- this.intlCancelEditing = TEXT$e.intlCancelEditing;
19393
+ this.intlCancelEditing = TEXT$f.intlCancelEditing;
19365
19394
  /**
19366
19395
  * specify text to be user for the confirm changes button's aria-label, defaults to `Save`
19367
19396
  *
19368
19397
  * @default "Save"
19369
19398
  */
19370
- this.intlConfirmChanges = TEXT$e.intlConfirmChanges;
19399
+ this.intlConfirmChanges = TEXT$f.intlConfirmChanges;
19371
19400
  this.mutationObserver = createObserver();
19372
19401
  this.enableEditing = () => {
19373
19402
  var _a, _b;
@@ -19472,12 +19501,12 @@ class InlineEditable {
19472
19501
  updateHostInteraction(this);
19473
19502
  }
19474
19503
  render() {
19475
- return (hAsync("div", { class: CSS$v.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$v.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$v.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
19504
+ return (hAsync("div", { class: CSS$w.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$w.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$w.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$w.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
19476
19505
  opacity: this.editingEnabled ? "0" : "1",
19477
19506
  width: this.editingEnabled ? "0" : "inherit"
19478
19507
  }, type: "button" }), this.shouldShowControls && [
19479
- hAsync("div", { class: CSS$v.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$v.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
19480
- hAsync("calcite-button", { appearance: "solid", class: CSS$v.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" })
19508
+ hAsync("div", { class: CSS$w.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$w.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
19509
+ hAsync("calcite-button", { appearance: "solid", class: CSS$w.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" })
19481
19510
  ])));
19482
19511
  }
19483
19512
  //--------------------------------------------------------------------------
@@ -19559,7 +19588,7 @@ class InlineEditable {
19559
19588
  }; }
19560
19589
  }
19561
19590
 
19562
- const CSS$u = {
19591
+ const CSS$v = {
19563
19592
  loader: "loader",
19564
19593
  clearButton: "clear-button",
19565
19594
  editingEnabled: "editing-enabled",
@@ -19583,10 +19612,10 @@ const INPUT_TYPE_ICONS = {
19583
19612
  time: "clock",
19584
19613
  search: "search"
19585
19614
  };
19586
- const SLOTS$h = {
19615
+ const SLOTS$i = {
19587
19616
  action: "action"
19588
19617
  };
19589
- const TEXT$d = {
19618
+ const TEXT$e = {
19590
19619
  clear: "Clear value"
19591
19620
  };
19592
19621
 
@@ -19640,7 +19669,7 @@ class Input {
19640
19669
  *
19641
19670
  * @default "Loading"
19642
19671
  */
19643
- this.intlLoading = TEXT$t.loading;
19672
+ this.intlLoading = TEXT$u.loading;
19644
19673
  /** When true, the icon is flipped in RTL. */
19645
19674
  this.iconFlipRtl = false;
19646
19675
  /** When true, the component is in the loading state and `calcite-progress` is displayed. */
@@ -20119,34 +20148,34 @@ class Input {
20119
20148
  // --------------------------------------------------------------------------
20120
20149
  render() {
20121
20150
  const dir = getElementDir(this.el);
20122
- const loader = (hAsync("div", { class: CSS$u.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
20123
- const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$u.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
20124
- const iconEl = (hAsync("calcite-icon", { class: CSS$u.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
20151
+ const loader = (hAsync("div", { class: CSS$v.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
20152
+ const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$e.clear, class: CSS$v.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
20153
+ const iconEl = (hAsync("calcite-icon", { class: CSS$v.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
20125
20154
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
20126
20155
  const numberButtonsHorizontalUp = (hAsync("button", { class: {
20127
- [CSS$u.numberButtonItem]: true,
20128
- [CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
20156
+ [CSS$v.numberButtonItem]: true,
20157
+ [CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
20129
20158
  }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
20130
20159
  const numberButtonsHorizontalDown = (hAsync("button", { class: {
20131
- [CSS$u.numberButtonItem]: true,
20132
- [CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
20160
+ [CSS$v.numberButtonItem]: true,
20161
+ [CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
20133
20162
  }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
20134
- const numberButtonsVertical = (hAsync("div", { class: CSS$u.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
20135
- const prefixText = hAsync("div", { class: CSS$u.prefix }, this.prefixText);
20136
- const suffixText = hAsync("div", { class: CSS$u.suffix }, this.suffixText);
20163
+ const numberButtonsVertical = (hAsync("div", { class: CSS$v.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
20164
+ const prefixText = hAsync("div", { class: CSS$v.prefix }, this.prefixText);
20165
+ const suffixText = hAsync("div", { class: CSS$v.suffix }, this.suffixText);
20137
20166
  const localeNumberInput = this.type === "number" ? (hAsync("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;
20138
20167
  const childEl = this.type !== "number"
20139
20168
  ? [
20140
20169
  hAsync(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
20141
- [CSS$u.editingEnabled]: this.editingEnabled,
20142
- [CSS$u.inlineChild]: !!this.inlineEditableEl
20170
+ [CSS$v.editingEnabled]: this.editingEnabled,
20171
+ [CSS$v.inlineChild]: !!this.inlineEditableEl
20143
20172
  }, 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 }),
20144
- this.isTextarea ? (hAsync("div", { class: CSS$u.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
20173
+ this.isTextarea ? (hAsync("div", { class: CSS$v.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
20145
20174
  ]
20146
20175
  : null;
20147
- return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$u.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
20176
+ return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$v.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
20148
20177
  ? numberButtonsHorizontalDown
20149
- : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$u.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$u.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
20178
+ : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$v.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$v.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
20150
20179
  ? numberButtonsVertical
20151
20180
  : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
20152
20181
  ? numberButtonsHorizontalUp
@@ -20209,7 +20238,7 @@ class Input {
20209
20238
  }; }
20210
20239
  }
20211
20240
 
20212
- const CSS$t = {
20241
+ const CSS$u = {
20213
20242
  menu: "menu-container",
20214
20243
  menuActive: "menu-container--active"
20215
20244
  };
@@ -20254,19 +20283,19 @@ class InputDatePicker {
20254
20283
  *
20255
20284
  * @default "Previous month"
20256
20285
  */
20257
- this.intlPrevMonth = TEXT$g.prevMonth;
20286
+ this.intlPrevMonth = TEXT$h.prevMonth;
20258
20287
  /**
20259
20288
  * Localized string for "next month" (used for aria label)
20260
20289
  *
20261
20290
  * @default "Next month"
20262
20291
  */
20263
- this.intlNextMonth = TEXT$g.nextMonth;
20292
+ this.intlNextMonth = TEXT$h.nextMonth;
20264
20293
  /**
20265
20294
  * Localized string for "year" (used for aria label)
20266
20295
  *
20267
20296
  * @default "Year"
20268
20297
  */
20269
- this.intlYear = TEXT$g.year;
20298
+ this.intlYear = TEXT$h.year;
20270
20299
  /** BCP 47 language tag for desired language and country format */
20271
20300
  this.locale = document.documentElement.lang || "en";
20272
20301
  /** specify the scale of the date picker */
@@ -20544,8 +20573,8 @@ class InputDatePicker {
20544
20573
  const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
20545
20574
  const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
20546
20575
  return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
20547
- [CSS$t.menu]: true,
20548
- [CSS$t.menuActive]: this.open
20576
+ [CSS$u.menu]: true,
20577
+ [CSS$u.menuActive]: this.open
20549
20578
  }, ref: this.setFloatingEl }, hAsync("div", { class: {
20550
20579
  ["calendar-picker-wrapper"]: true,
20551
20580
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
@@ -20858,7 +20887,7 @@ class InputMessage {
20858
20887
  }; }
20859
20888
  }
20860
20889
 
20861
- const CSS$s = {
20890
+ const CSS$t = {
20862
20891
  loader: "loader",
20863
20892
  clearButton: "clear-button",
20864
20893
  editingEnabled: "editing-enabled",
@@ -20874,10 +20903,10 @@ const CSS$s = {
20874
20903
  resizeIconWrapper: "resize-icon-wrapper",
20875
20904
  numberButtonItem: "number-button-item"
20876
20905
  };
20877
- const SLOTS$g = {
20906
+ const SLOTS$h = {
20878
20907
  action: "action"
20879
20908
  };
20880
- const TEXT$c = {
20909
+ const TEXT$d = {
20881
20910
  clear: "Clear value"
20882
20911
  };
20883
20912
 
@@ -20931,7 +20960,7 @@ class InputNumber {
20931
20960
  *
20932
20961
  * @default "Loading"
20933
20962
  */
20934
- this.intlLoading = TEXT$t.loading;
20963
+ this.intlLoading = TEXT$u.loading;
20935
20964
  /** When true, the icon is flipped in RTL. */
20936
20965
  this.iconFlipRtl = false;
20937
20966
  /** When true, the component is in the loading state and `calcite-progress` is displayed. */
@@ -21332,25 +21361,25 @@ class InputNumber {
21332
21361
  // --------------------------------------------------------------------------
21333
21362
  render() {
21334
21363
  const dir = getElementDir(this.el);
21335
- const loader = (hAsync("div", { class: CSS$s.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
21336
- const inputClearButton = (hAsync("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" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
21337
- const iconEl = (hAsync("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
21364
+ const loader = (hAsync("div", { class: CSS$t.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
21365
+ const inputClearButton = (hAsync("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" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
21366
+ const iconEl = (hAsync("calcite-icon", { class: CSS$t.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
21338
21367
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
21339
21368
  const numberButtonsHorizontalUp = (hAsync("button", { class: {
21340
- [CSS$s.numberButtonItem]: true,
21341
- [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
21369
+ [CSS$t.numberButtonItem]: true,
21370
+ [CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
21342
21371
  }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
21343
21372
  const numberButtonsHorizontalDown = (hAsync("button", { class: {
21344
- [CSS$s.numberButtonItem]: true,
21345
- [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
21373
+ [CSS$t.numberButtonItem]: true,
21374
+ [CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
21346
21375
  }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
21347
- const numberButtonsVertical = (hAsync("div", { class: CSS$s.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
21348
- const prefixText = hAsync("div", { class: CSS$s.prefix }, this.prefixText);
21349
- const suffixText = hAsync("div", { class: CSS$s.suffix }, this.suffixText);
21376
+ const numberButtonsVertical = (hAsync("div", { class: CSS$t.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
21377
+ const prefixText = hAsync("div", { class: CSS$t.prefix }, this.prefixText);
21378
+ const suffixText = hAsync("div", { class: CSS$t.suffix }, this.suffixText);
21350
21379
  const childEl = (hAsync("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 }));
21351
- return (hAsync(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
21380
+ return (hAsync(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$t.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
21352
21381
  ? numberButtonsHorizontalDown
21353
- : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$s.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
21382
+ : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$t.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$t.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
21354
21383
  ? numberButtonsHorizontalUp
21355
21384
  : null, hAsync(HiddenFormInputSlot, { component: this }))));
21356
21385
  }
@@ -21408,6 +21437,355 @@ class InputNumber {
21408
21437
  }; }
21409
21438
  }
21410
21439
 
21440
+ const CSS$s = {
21441
+ loader: "loader",
21442
+ clearButton: "clear-button",
21443
+ editingEnabled: "editing-enabled",
21444
+ inlineChild: "inline-child",
21445
+ inputIcon: "icon",
21446
+ prefix: "prefix",
21447
+ suffix: "suffix",
21448
+ wrapper: "element-wrapper",
21449
+ inputWrapper: "wrapper",
21450
+ actionWrapper: "action-wrapper",
21451
+ resizeIconWrapper: "resize-icon-wrapper"
21452
+ };
21453
+ const SLOTS$g = {
21454
+ action: "action"
21455
+ };
21456
+ const TEXT$c = {
21457
+ clear: "Clear value"
21458
+ };
21459
+
21460
+ const inputTextCss = "@-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*/.sc-calcite-input-text: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*/.calcite-animate.sc-calcite-input-text{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*/.calcite-animate__in.sc-calcite-input-text{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-text{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-text{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-text{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-input-text:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-text-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-text-h{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*/.sc-calcite-input-text-h{display:block}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-text-h input.sc-calcite-input-text,[scale=s].sc-calcite-input-text-h .prefix.sc-calcite-input-text,[scale=s].sc-calcite-input-text-h .suffix.sc-calcite-input-text{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button*/[scale=s].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text,[scale=s].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text button.sc-calcite-input-text{block-size:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-text-h .clear-button.sc-calcite-input-text{min-block-size:1.5rem;min-inline-size:1.5rem}/*!@:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix*/[scale=m].sc-calcite-input-text-h input.sc-calcite-input-text,[scale=m].sc-calcite-input-text-h .prefix.sc-calcite-input-text,[scale=m].sc-calcite-input-text-h .suffix.sc-calcite-input-text{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text,[scale=m].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text button.sc-calcite-input-text{block-size:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-text-h .clear-button.sc-calcite-input-text{min-block-size:2rem;min-inline-size:2rem}/*!@:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix*/[scale=l].sc-calcite-input-text-h input.sc-calcite-input-text,[scale=l].sc-calcite-input-text-h .prefix.sc-calcite-input-text,[scale=l].sc-calcite-input-text-h .suffix.sc-calcite-input-text{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button*/[scale=l].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text,[scale=l].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text button.sc-calcite-input-text{block-size:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-text-h .clear-button.sc-calcite-input-text{min-block-size:2.75rem;min-inline-size:2.75rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-text-h[disabled] .sc-calcite-input-text-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-text-h [calcite-hydrated][disabled].sc-calcite-input-text{opacity:1}/*!@input*/input.sc-calcite-input-text{-webkit-transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;transition:var(--calcite-animation-timing), block-size 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-block-size:100%;inline-size:100%;max-inline-size: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);color:var(--calcite-ui-text-1)}/*!@:host input*/.sc-calcite-input-text-h input.sc-calcite-input-text{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}/*!@:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder*/.sc-calcite-input-text-h input.sc-calcite-input-text:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.sc-calcite-input-text-h input.sc-calcite-input-text::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.sc-calcite-input-text-h input.sc-calcite-input-text::placeholder,.sc-calcite-input-text-h input.sc-calcite-input-text:-ms-input-placeholder,.sc-calcite-input-text-h input.sc-calcite-input-text::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@:host input:focus*/.sc-calcite-input-text-h input.sc-calcite-input-text:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly]*/.sc-calcite-input-text-h input[readonly].sc-calcite-input-text{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host input[readonly]:focus*/.sc-calcite-input-text-h input[readonly].sc-calcite-input-text:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-text-h calcite-icon.sc-calcite-input-text{color:var(--calcite-ui-text-3)}/*!@input*/input.sc-calcite-input-text{outline-color:transparent}/*!@input:focus*/input.sc-calcite-input-text:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input*/[status=invalid].sc-calcite-input-text-h input.sc-calcite-input-text{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus*/[status=invalid].sc-calcite-input-text-h input.sc-calcite-input-text:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-text-h .icon.sc-calcite-input-text{inset-inline-start:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-text-h .icon.sc-calcite-input-text{inset-inline-start:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-text-h .icon.sc-calcite-input-text{inset-inline-start:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-text-h input.sc-calcite-input-text{-webkit-padding-start:2rem;padding-inline-start:2rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-text-h input.sc-calcite-input-text{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-text-h input.sc-calcite-input-text{-webkit-padding-start:3rem;padding-inline-start:3rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input-text{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*/.icon.sc-calcite-input-text{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}/*!@input[type=text]::-ms-clear, \ninput[type=text]::-ms-reveal*/input[type=text].sc-calcite-input-text::-ms-clear,input[type=text].sc-calcite-input-text::-ms-reveal{display:none;block-size:0px;inline-size:0px}/*!@.clear-button*/.clear-button.sc-calcite-input-text{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-block-size: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*/.clear-button.sc-calcite-input-text: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*/.clear-button.sc-calcite-input-text:hover calcite-icon.sc-calcite-input-text{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*/.clear-button.sc-calcite-input-text:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input-text:active calcite-icon.sc-calcite-input-text{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input-text:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input-text:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.loader*/.loader.sc-calcite-input-text{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input-text{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}/*!@.prefix, \n.suffix*/.prefix.sc-calcite-input-text,.suffix.sc-calcite-input-text{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:auto;min-block-size: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*/.prefix.sc-calcite-input-text{-ms-flex-order:2;order:2;border-inline-end-width:0px}/*!@.suffix*/.suffix.sc-calcite-input-text{-ms-flex-order:5;order:5;border-inline-start-width:0px}/*!@:host([alignment=start]) input*/[alignment=start].sc-calcite-input-text-h input.sc-calcite-input-text{text-align:start}/*!@:host([alignment=end]) input*/[alignment=end].sc-calcite-input-text-h input.sc-calcite-input-text{text-align:end}/*!@.wrapper*/.wrapper.sc-calcite-input-text{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}/*!@.resize-icon-wrapper*/.resize-icon-wrapper.sc-calcite-input-text{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}/*!@.resize-icon-wrapper calcite-icon*/.resize-icon-wrapper.sc-calcite-input-text calcite-icon.sc-calcite-input-text{inset-block-end:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}/*!@.calcite--rtl .resize-icon-wrapper calcite-icon*/.calcite--rtl.sc-calcite-input-text .resize-icon-wrapper.sc-calcite-input-text calcite-icon.sc-calcite-input-text{-webkit-transform:rotate(45deg);transform:rotate(45deg)}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-text-h input.sc-calcite-input-text{border-block-end-width:0px}/*!@:host(.border-top-color-one) input*/.border-top-color-one.sc-calcite-input-text-h input.sc-calcite-input-text{border-block-start-color:var(--calcite-ui-border-1)}/*!@.inline-child*/.inline-child.sc-calcite-input-text{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}/*!@.inline-child .editing-enabled*/.inline-child.sc-calcite-input-text .editing-enabled.sc-calcite-input-text{background-color:inherit}/*!@.inline-child:not(.editing-enabled)*/.inline-child.sc-calcite-input-text: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])*/.sc-calcite-input-text-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
21461
+
21462
+ /**
21463
+ * @slot action - A slot for positioning a button next to the component.
21464
+ */
21465
+ class InputText {
21466
+ constructor(hostRef) {
21467
+ registerInstance(this, hostRef);
21468
+ this.calciteInternalInputTextFocus = createEvent(this, "calciteInternalInputTextFocus", 7);
21469
+ this.calciteInternalInputTextBlur = createEvent(this, "calciteInternalInputTextBlur", 7);
21470
+ this.calciteInputTextInput = createEvent(this, "calciteInputTextInput", 7);
21471
+ this.calciteInputTextChange = createEvent(this, "calciteInputTextChange", 7);
21472
+ //--------------------------------------------------------------------------
21473
+ //
21474
+ // Properties
21475
+ //
21476
+ //--------------------------------------------------------------------------
21477
+ /** Specifies the text alignment of the component's value. */
21478
+ this.alignment = "start";
21479
+ /**
21480
+ * When true, the component is focused on page load.
21481
+ *
21482
+ * @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
21483
+ */
21484
+ this.autofocus = false;
21485
+ /**
21486
+ * When true, a clear button is displayed when the component has a value.
21487
+ */
21488
+ this.clearable = false;
21489
+ /**
21490
+ * When true, interaction is prevented and the component is displayed with lower opacity.
21491
+ *
21492
+ * @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
21493
+ */
21494
+ this.disabled = false;
21495
+ /**
21496
+ * When true, the component will not be visible.
21497
+ *
21498
+ * @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
21499
+ */
21500
+ this.hidden = false;
21501
+ /**
21502
+ * Accessible name that will appear while loading.
21503
+ *
21504
+ * @default "Loading"
21505
+ */
21506
+ this.intlLoading = TEXT$u.loading;
21507
+ /** When true, the icon is flipped in RTL. */
21508
+ this.iconFlipRtl = false;
21509
+ /** When true, the component is in the loading state and `calcite-progress` is displayed. */
21510
+ this.loading = false;
21511
+ /**
21512
+ * When true, the value cannot be modified.
21513
+ *
21514
+ * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
21515
+ */
21516
+ this.readOnly = false;
21517
+ /** When true, the component must have a value in order for the form to submit. */
21518
+ this.required = false;
21519
+ /** Specifies the size of the component. */
21520
+ this.scale = "m";
21521
+ /** Specifies the status of the input field, which determines message and icons. */
21522
+ this.status = "idle";
21523
+ /**
21524
+ * @internal
21525
+ */
21526
+ this.editingEnabled = false;
21527
+ /** The component's value. */
21528
+ this.value = "";
21529
+ this.previousValueOrigin = "initial";
21530
+ this.mutationObserver = createObserver();
21531
+ this.userChangedValue = false;
21532
+ //--------------------------------------------------------------------------
21533
+ //
21534
+ // Private Methods
21535
+ //
21536
+ //--------------------------------------------------------------------------
21537
+ this.keyDownHandler = (event) => {
21538
+ if (this.readOnly || this.disabled) {
21539
+ return;
21540
+ }
21541
+ if (this.isClearable && event.key === "Escape") {
21542
+ this.clearInputTextValue(event);
21543
+ event.preventDefault();
21544
+ }
21545
+ if (event.key === "Enter" && !event.defaultPrevented) {
21546
+ submitForm(this);
21547
+ }
21548
+ };
21549
+ this.clearInputTextValue = (nativeEvent) => {
21550
+ this.setValue({
21551
+ committing: true,
21552
+ nativeEvent,
21553
+ origin: "user",
21554
+ value: ""
21555
+ });
21556
+ };
21557
+ this.emitChangeIfUserModified = () => {
21558
+ if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
21559
+ this.calciteInputTextChange.emit();
21560
+ }
21561
+ this.previousEmittedValue = this.value;
21562
+ };
21563
+ this.inputTextBlurHandler = () => {
21564
+ this.calciteInternalInputTextBlur.emit({
21565
+ element: this.childEl,
21566
+ value: this.value
21567
+ });
21568
+ this.emitChangeIfUserModified();
21569
+ };
21570
+ this.inputTextFocusHandler = (event) => {
21571
+ const slottedActionEl = getSlotted(this.el, "action");
21572
+ if (event.target !== slottedActionEl) {
21573
+ this.setFocus();
21574
+ }
21575
+ this.calciteInternalInputTextFocus.emit({
21576
+ element: this.childEl,
21577
+ value: this.value
21578
+ });
21579
+ };
21580
+ this.inputTextInputHandler = (nativeEvent) => {
21581
+ if (this.disabled || this.readOnly) {
21582
+ return;
21583
+ }
21584
+ this.setValue({
21585
+ nativeEvent,
21586
+ origin: "user",
21587
+ value: nativeEvent.target.value
21588
+ });
21589
+ };
21590
+ this.inputTextKeyDownHandler = (event) => {
21591
+ if (this.disabled || this.readOnly) {
21592
+ return;
21593
+ }
21594
+ if (event.key === "Enter") {
21595
+ this.emitChangeIfUserModified();
21596
+ }
21597
+ };
21598
+ this.setChildElRef = (el) => {
21599
+ this.childEl = el;
21600
+ };
21601
+ this.setInputValue = (newInputValue) => {
21602
+ if (!this.childEl) {
21603
+ return;
21604
+ }
21605
+ this.childEl.value = newInputValue;
21606
+ };
21607
+ this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
21608
+ this.previousEmittedValue = newPreviousEmittedValue;
21609
+ };
21610
+ this.setPreviousValue = (newPreviousValue) => {
21611
+ this.previousValue = newPreviousValue;
21612
+ };
21613
+ this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
21614
+ this.setPreviousValue(previousValue || this.value);
21615
+ this.previousValueOrigin = origin;
21616
+ this.userChangedValue = origin === "user" && value !== this.value;
21617
+ this.value = value;
21618
+ if (origin === "direct") {
21619
+ this.setInputValue(value);
21620
+ }
21621
+ if (nativeEvent) {
21622
+ const calciteInputTextInputEvent = this.calciteInputTextInput.emit({
21623
+ element: this.childEl,
21624
+ nativeEvent,
21625
+ value: this.value
21626
+ });
21627
+ if (calciteInputTextInputEvent.defaultPrevented) {
21628
+ this.value = this.previousValue;
21629
+ }
21630
+ else if (committing) {
21631
+ this.emitChangeIfUserModified();
21632
+ }
21633
+ }
21634
+ };
21635
+ }
21636
+ disabledWatcher() {
21637
+ this.setDisabledAction();
21638
+ }
21639
+ valueWatcher(newValue, previousValue) {
21640
+ if (!this.userChangedValue) {
21641
+ this.setValue({
21642
+ origin: "direct",
21643
+ previousValue,
21644
+ value: !newValue ? "" : newValue
21645
+ });
21646
+ }
21647
+ this.userChangedValue = false;
21648
+ }
21649
+ updateRequestedIcon() {
21650
+ this.requestedIcon = setRequestedIcon({}, this.icon, "text");
21651
+ }
21652
+ get isClearable() {
21653
+ return this.clearable && this.value.length > 0;
21654
+ }
21655
+ //--------------------------------------------------------------------------
21656
+ //
21657
+ // Lifecycle
21658
+ //
21659
+ //--------------------------------------------------------------------------
21660
+ connectedCallback() {
21661
+ var _a;
21662
+ this.scale = getElementProp(this.el, "scale", this.scale);
21663
+ this.status = getElementProp(this.el, "status", this.status);
21664
+ this.inlineEditableEl = this.el.closest("calcite-inline-editable");
21665
+ if (this.inlineEditableEl) {
21666
+ this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
21667
+ }
21668
+ this.setPreviousEmittedValue(this.value);
21669
+ this.setPreviousValue(this.value);
21670
+ connectLabel(this);
21671
+ connectForm(this);
21672
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
21673
+ this.setDisabledAction();
21674
+ }
21675
+ disconnectedCallback() {
21676
+ var _a;
21677
+ disconnectLabel(this);
21678
+ disconnectForm(this);
21679
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
21680
+ }
21681
+ componentWillLoad() {
21682
+ this.requestedIcon = setRequestedIcon({}, this.icon, "text");
21683
+ }
21684
+ componentDidRender() {
21685
+ updateHostInteraction(this);
21686
+ }
21687
+ //--------------------------------------------------------------------------
21688
+ //
21689
+ // Public Methods
21690
+ //
21691
+ //--------------------------------------------------------------------------
21692
+ /** Sets focus on the component. */
21693
+ async setFocus() {
21694
+ var _a;
21695
+ (_a = this.childEl) === null || _a === void 0 ? void 0 : _a.focus();
21696
+ }
21697
+ /** Selects all text of the component's `value`. */
21698
+ async selectText() {
21699
+ var _a;
21700
+ (_a = this.childEl) === null || _a === void 0 ? void 0 : _a.select();
21701
+ }
21702
+ onLabelClick() {
21703
+ this.setFocus();
21704
+ }
21705
+ onFormReset() {
21706
+ this.setValue({
21707
+ origin: "reset",
21708
+ value: this.defaultValue
21709
+ });
21710
+ }
21711
+ syncHiddenFormInput(input) {
21712
+ if (this.minLength != null) {
21713
+ input.minLength = this.minLength;
21714
+ }
21715
+ if (this.maxLength != null) {
21716
+ input.maxLength = this.maxLength;
21717
+ }
21718
+ }
21719
+ setDisabledAction() {
21720
+ const slottedActionEl = getSlotted(this.el, "action");
21721
+ if (!slottedActionEl) {
21722
+ return;
21723
+ }
21724
+ this.disabled
21725
+ ? slottedActionEl.setAttribute("disabled", "")
21726
+ : slottedActionEl.removeAttribute("disabled");
21727
+ }
21728
+ // --------------------------------------------------------------------------
21729
+ //
21730
+ // Render Methods
21731
+ //
21732
+ // --------------------------------------------------------------------------
21733
+ render() {
21734
+ const dir = getElementDir(this.el);
21735
+ const loader = (hAsync("div", { class: CSS$s.loader }, hAsync("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
21736
+ const inputClearButton = (hAsync("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: "s" })));
21737
+ const iconEl = (hAsync("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
21738
+ const prefixText = hAsync("div", { class: CSS$s.prefix }, this.prefixText);
21739
+ const suffixText = hAsync("div", { class: CSS$s.suffix }, this.suffixText);
21740
+ const childEl = (hAsync("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
21741
+ [CSS$s.editingEnabled]: this.editingEnabled,
21742
+ [CSS$s.inlineChild]: !!this.inlineEditableEl
21743
+ }, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value }));
21744
+ return (hAsync(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$s.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
21745
+ }
21746
+ get el() { return getElement(this); }
21747
+ static get watchers() { return {
21748
+ "disabled": ["disabledWatcher"],
21749
+ "value": ["valueWatcher"],
21750
+ "icon": ["updateRequestedIcon"]
21751
+ }; }
21752
+ static get style() { return inputTextCss; }
21753
+ static get cmpMeta() { return {
21754
+ "$flags$": 9,
21755
+ "$tagName$": "calcite-input-text",
21756
+ "$members$": {
21757
+ "alignment": [513],
21758
+ "autofocus": [4],
21759
+ "clearable": [516],
21760
+ "disabled": [516],
21761
+ "hidden": [4],
21762
+ "icon": [520],
21763
+ "intlClear": [1, "intl-clear"],
21764
+ "intlLoading": [1, "intl-loading"],
21765
+ "iconFlipRtl": [516, "icon-flip-rtl"],
21766
+ "label": [1],
21767
+ "loading": [516],
21768
+ "maxLength": [514, "max-length"],
21769
+ "minLength": [514, "min-length"],
21770
+ "name": [513],
21771
+ "placeholder": [1],
21772
+ "prefixText": [1, "prefix-text"],
21773
+ "readOnly": [4, "read-only"],
21774
+ "required": [4],
21775
+ "scale": [1537],
21776
+ "status": [1537],
21777
+ "suffixText": [1, "suffix-text"],
21778
+ "editingEnabled": [1540, "editing-enabled"],
21779
+ "value": [1025],
21780
+ "setFocus": [64],
21781
+ "selectText": [64]
21782
+ },
21783
+ "$listeners$": undefined,
21784
+ "$lazyBundleId$": "-",
21785
+ "$attrsToReflect$": [["alignment", "alignment"], ["clearable", "clearable"], ["disabled", "disabled"], ["icon", "icon"], ["iconFlipRtl", "icon-flip-rtl"], ["loading", "loading"], ["maxLength", "max-length"], ["minLength", "min-length"], ["name", "name"], ["scale", "scale"], ["status", "status"], ["editingEnabled", "editing-enabled"]]
21786
+ }; }
21787
+ }
21788
+
21411
21789
  const maxTenthForMinuteAndSecond = 5;
21412
21790
  function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
21413
21791
  try {
@@ -22582,12 +22960,12 @@ class Modal {
22582
22960
  };
22583
22961
  this.transitionStartHandler = (event) => {
22584
22962
  if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
22585
- this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
22963
+ this.open ? this.onBeforeOpen() : this.onBeforeClose();
22586
22964
  }
22587
22965
  };
22588
22966
  this.transitionEnd = (event) => {
22589
22967
  if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
22590
- this.open || this.active ? this.onOpen() : this.onClose();
22968
+ this.open ? this.onOpen() : this.onClose();
22591
22969
  }
22592
22970
  };
22593
22971
  this.openEnd = () => {
@@ -22603,8 +22981,8 @@ class Modal {
22603
22981
  /** Close the modal, first running the `beforeClose` method */
22604
22982
  this.close = () => {
22605
22983
  return this.beforeClose(this.el).then(() => {
22606
- this.active = false;
22607
22984
  this.open = false;
22985
+ this.active = false;
22608
22986
  focusElement(this.previousActiveElement);
22609
22987
  this.removeOverflowHiddenClass();
22610
22988
  });
@@ -22632,7 +23010,7 @@ class Modal {
22632
23010
  //--------------------------------------------------------------------------
22633
23011
  componentWillLoad() {
22634
23012
  // when modal initially renders, if active was set we need to open as watcher doesn't fire
22635
- if (this.open || this.active) {
23013
+ if (this.open) {
22636
23014
  this.openModal();
22637
23015
  }
22638
23016
  }
@@ -22690,7 +23068,7 @@ class Modal {
22690
23068
  //
22691
23069
  //--------------------------------------------------------------------------
22692
23070
  handleEscape(event) {
22693
- if ((this.open || this.active) && !this.disableEscape && event.key === "Escape") {
23071
+ if (this.open && !this.disableEscape && event.key === "Escape") {
22694
23072
  this.close();
22695
23073
  }
22696
23074
  }
@@ -22766,8 +23144,8 @@ class Modal {
22766
23144
  openModal() {
22767
23145
  this.previousActiveElement = document.activeElement;
22768
23146
  this.el.addEventListener("calciteModalOpen", this.openEnd);
22769
- this.active = true;
22770
23147
  this.open = true;
23148
+ this.active = true;
22771
23149
  const titleEl = getSlotted(this.el, SLOTS$e.header);
22772
23150
  const contentEl = getSlotted(this.el, SLOTS$e.content);
22773
23151
  this.titleId = ensureId(titleEl);
@@ -23648,7 +24026,7 @@ class Panel {
23648
24026
  renderMenu() {
23649
24027
  const { el, intlOptions, menuOpen } = this;
23650
24028
  const hasMenuItems = getSlotted(el, SLOTS$c.headerMenuActions);
23651
- return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$q.trigger, text: intlOptions || TEXT$8.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
24029
+ return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$r.trigger, text: intlOptions || TEXT$8.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
23652
24030
  }
23653
24031
  renderHeaderNode() {
23654
24032
  const { el, showBackButton } = this;
@@ -34784,6 +35162,7 @@ registerComponents([
34784
35162
  InputDatePicker,
34785
35163
  InputMessage,
34786
35164
  InputNumber,
35165
+ InputText,
34787
35166
  InputTimePicker,
34788
35167
  Label,
34789
35168
  Link,