@esri/calcite-components 1.6.1 → 1.7.0-next.0

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 (950) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +2 -2
  3. package/dist/calcite/{p-24a99441.entry.js → p-0244ee00.entry.js} +2 -2
  4. package/dist/calcite/{p-52283bc4.js → p-090db21d.js} +2 -2
  5. package/dist/calcite/p-09b5a979.entry.js +6 -0
  6. package/dist/calcite/{p-1f7eb7c8.entry.js → p-0a46144e.entry.js} +2 -2
  7. package/dist/calcite/{p-0e0d50bc.entry.js → p-0bd7dc6c.entry.js} +2 -2
  8. package/dist/calcite/{p-6907d13a.js → p-0dfda7d1.js} +2 -2
  9. package/dist/calcite/{p-e89ae3de.js → p-0f4c920c.js} +2 -2
  10. package/dist/calcite/{p-8e33d107.js → p-10535875.js} +1 -1
  11. package/dist/calcite/{p-958803ff.entry.js → p-116eccd8.entry.js} +2 -2
  12. package/dist/calcite/{p-eeb662a5.entry.js → p-12965674.entry.js} +2 -2
  13. package/dist/calcite/{p-d633633f.js → p-12a06006.js} +2 -2
  14. package/dist/calcite/{p-47e2ed4f.entry.js → p-1306ef16.entry.js} +2 -2
  15. package/dist/calcite/p-130bc299.entry.js +6 -0
  16. package/dist/calcite/{p-1c7861e8.entry.js → p-13346f15.entry.js} +2 -2
  17. package/dist/calcite/{p-b9dc3273.js → p-13630964.js} +2 -2
  18. package/dist/calcite/{p-a228d21a.entry.js → p-13754b2b.entry.js} +2 -2
  19. package/dist/calcite/{p-9467c367.entry.js → p-13fa7cf8.entry.js} +2 -2
  20. package/dist/calcite/{p-66e2d46d.js → p-144622f1.js} +2 -2
  21. package/dist/calcite/{p-a8e3645a.entry.js → p-20cf49d4.entry.js} +2 -2
  22. package/dist/calcite/{p-6dbf482f.entry.js → p-22182ac9.entry.js} +2 -2
  23. package/dist/calcite/p-22f829cd.entry.js +6 -0
  24. package/dist/calcite/{p-303b0819.js → p-2310fd7d.js} +2 -2
  25. package/dist/calcite/{p-e9397510.js → p-29e51bd5.js} +2 -2
  26. package/dist/calcite/{p-0fd93c10.entry.js → p-2b2b5a54.entry.js} +2 -2
  27. package/dist/calcite/{p-30a72db6.js → p-2f887196.js} +2 -2
  28. package/dist/calcite/{p-b45b5b4d.entry.js → p-317625a6.entry.js} +2 -2
  29. package/dist/calcite/{p-06b157f2.entry.js → p-324bc47e.entry.js} +2 -2
  30. package/dist/calcite/{p-9a95456d.js → p-372add5a.js} +2 -2
  31. package/dist/calcite/{p-06a878f3.js → p-37e8ce69.js} +2 -2
  32. package/dist/calcite/{p-06669e53.js → p-3970be35.js} +2 -2
  33. package/dist/calcite/{p-85deb402.entry.js → p-3c095467.entry.js} +2 -2
  34. package/dist/calcite/{p-307672e2.entry.js → p-3ec15730.entry.js} +2 -2
  35. package/dist/calcite/{p-8d3a467c.entry.js → p-3ed4574a.entry.js} +2 -2
  36. package/dist/calcite/p-3ff87910.entry.js +6 -0
  37. package/dist/calcite/{p-fea93262.js → p-401f9b1e.js} +1 -1
  38. package/dist/calcite/{p-7ef70911.js → p-41006447.js} +2 -2
  39. package/dist/calcite/{p-0a02e74a.entry.js → p-419ff0ed.entry.js} +2 -2
  40. package/dist/calcite/{p-9fa92ab8.js → p-42b57311.js} +1 -1
  41. package/dist/calcite/{p-7b10bd49.js → p-436d9051.js} +2 -2
  42. package/dist/calcite/p-4961a34b.entry.js +6 -0
  43. package/dist/calcite/{p-5b5e11ee.entry.js → p-496b5b01.entry.js} +2 -2
  44. package/dist/calcite/p-4a05e52b.js +6 -0
  45. package/dist/calcite/p-4af1defc.js +6 -0
  46. package/dist/calcite/{p-2dce2ad5.js → p-4d6b430f.js} +2 -2
  47. package/dist/calcite/{p-f62efbc4.js → p-550e16fd.js} +2 -2
  48. package/dist/calcite/{p-a7fc7e48.entry.js → p-57ddf59d.entry.js} +2 -2
  49. package/dist/calcite/{p-91bcc5fe.js → p-58c29f12.js} +2 -2
  50. package/dist/calcite/{p-08aa7841.entry.js → p-5d9e5fc1.entry.js} +2 -2
  51. package/dist/calcite/p-5e80e984.entry.js +6 -0
  52. package/dist/calcite/{p-717aaff4.entry.js → p-5ee96b40.entry.js} +2 -2
  53. package/dist/calcite/{p-1d51bbe7.js → p-5f0b8ad1.js} +2 -2
  54. package/dist/calcite/{p-41bdd184.js → p-5f3a3518.js} +2 -2
  55. package/dist/calcite/{p-1660b501.js → p-63d36731.js} +2 -2
  56. package/dist/calcite/{p-1e9017ef.js → p-6465dae9.js} +1 -1
  57. package/dist/calcite/{p-4eafe390.entry.js → p-67a85001.entry.js} +2 -2
  58. package/dist/calcite/{p-07f9ad25.js → p-67b2bb57.js} +2 -2
  59. package/dist/calcite/{p-56e7dc69.entry.js → p-6849a082.entry.js} +2 -2
  60. package/dist/calcite/p-6a8e1258.entry.js +6 -0
  61. package/dist/calcite/p-6aad914d.entry.js +6 -0
  62. package/dist/calcite/{p-63f54567.js → p-6d93785a.js} +2 -2
  63. package/dist/calcite/{p-954e5104.js → p-6e872dc1.js} +1 -1
  64. package/dist/calcite/{p-39e7f9c3.entry.js → p-6f5912df.entry.js} +2 -2
  65. package/dist/calcite/{p-77bbb47e.js → p-719a4e0f.js} +2 -2
  66. package/dist/calcite/p-74e44080.entry.js +6 -0
  67. package/dist/calcite/{p-d9c3ab49.js → p-78e2c580.js} +2 -2
  68. package/dist/calcite/{p-982321f1.js → p-78e68659.js} +2 -2
  69. package/dist/calcite/{p-a2b39687.js → p-8b2f756a.js} +2 -2
  70. package/dist/calcite/{p-3b82d5d5.js → p-8b5bf3f9.js} +2 -2
  71. package/dist/calcite/{p-f5581b25.entry.js → p-8bd91224.entry.js} +2 -2
  72. package/dist/calcite/{p-d9fa1c29.entry.js → p-8c83c0a4.entry.js} +2 -2
  73. package/dist/calcite/{p-9d3c5a26.js → p-8d2a30a0.js} +1 -1
  74. package/dist/calcite/{p-ed7273f5.entry.js → p-8d3d979d.entry.js} +2 -2
  75. package/dist/calcite/p-939028cc.js +6 -0
  76. package/dist/calcite/{p-6e4038de.js → p-966d9131.js} +2 -2
  77. package/dist/calcite/{p-b4f38625.js → p-97182350.js} +2 -2
  78. package/dist/calcite/{p-5468fb02.js → p-971bc7c3.js} +1 -1
  79. package/dist/calcite/{p-7497194d.entry.js → p-98c03090.entry.js} +2 -2
  80. package/dist/calcite/{p-5f6f797e.entry.js → p-9ae24cf2.entry.js} +2 -2
  81. package/dist/calcite/{p-0bde52f8.js → p-9b0f9e9a.js} +2 -2
  82. package/dist/calcite/p-9b5a4aa5.entry.js +6 -0
  83. package/dist/calcite/p-9bcbba19.js +6 -0
  84. package/dist/calcite/{p-cbc9b7c0.js → p-9dd53691.js} +2 -2
  85. package/dist/calcite/{p-88bbd282.entry.js → p-9edd6fe7.entry.js} +2 -2
  86. package/dist/calcite/{p-4b1570f3.js → p-a0177c5d.js} +3 -3
  87. package/dist/calcite/{p-11f97c29.js → p-a07f4344.js} +2 -2
  88. package/dist/calcite/{p-fc052078.js → p-a22f4515.js} +2 -2
  89. package/dist/calcite/{p-99f99b99.entry.js → p-a265a2e9.entry.js} +2 -2
  90. package/dist/calcite/{p-887e1f3e.js → p-a2931b1a.js} +1 -1
  91. package/dist/calcite/{p-7a8fa785.entry.js → p-a2f36e1b.entry.js} +2 -2
  92. package/dist/calcite/{p-5169c634.entry.js → p-a31327f7.entry.js} +2 -2
  93. package/dist/calcite/p-a39e910c.entry.js +6 -0
  94. package/dist/calcite/{p-898a5b89.entry.js → p-a3ce4f5e.entry.js} +2 -2
  95. package/dist/calcite/{p-34afd961.js → p-a5921d07.js} +3 -3
  96. package/dist/calcite/{p-6573a6a5.js → p-a6860910.js} +2 -2
  97. package/dist/calcite/p-a69e018f.entry.js +6 -0
  98. package/dist/calcite/{p-52b1da06.entry.js → p-a8ad6ac5.entry.js} +2 -2
  99. package/dist/calcite/{p-04c10602.entry.js → p-aa000dfe.entry.js} +2 -2
  100. package/dist/calcite/{p-7775a842.entry.js → p-aaddfd57.entry.js} +2 -2
  101. package/dist/calcite/{p-428437d8.js → p-abaf3b60.js} +2 -2
  102. package/dist/calcite/p-ac32f668.entry.js +6 -0
  103. package/dist/calcite/{p-c99b8ae1.js → p-acea2728.js} +2 -2
  104. package/dist/calcite/{p-79d8f6a3.js → p-ae47c8f7.js} +1 -1
  105. package/dist/calcite/{p-64ea1326.js → p-ae85c99f.js} +2 -2
  106. package/dist/calcite/{p-757b5f88.entry.js → p-af01ab15.entry.js} +2 -2
  107. package/dist/calcite/{p-464ac09d.js → p-af1fc64b.js} +1 -1
  108. package/dist/calcite/{p-8a8e6c1f.js → p-b0a9755b.js} +2 -2
  109. package/dist/calcite/{p-c4628c76.js → p-b26245f8.js} +2 -2
  110. package/dist/calcite/{p-231e15a7.js → p-b75783fd.js} +2 -2
  111. package/dist/calcite/{p-9899feb7.js → p-ba62d69a.js} +2 -2
  112. package/dist/calcite/{p-88ab1f95.js → p-bac88d5b.js} +2 -2
  113. package/dist/calcite/{p-7274f4a2.js → p-bd88b323.js} +2 -2
  114. package/dist/calcite/{p-9c14b825.entry.js → p-bf9fc36c.entry.js} +2 -2
  115. package/dist/calcite/{p-bb000fc9.entry.js → p-c1fd17c2.entry.js} +2 -2
  116. package/dist/calcite/{p-4db92dce.js → p-c367ff09.js} +2 -2
  117. package/dist/calcite/{p-56e621b7.js → p-c3ad9a11.js} +2 -2
  118. package/dist/calcite/{p-196910ec.js → p-c47baee6.js} +1 -1
  119. package/dist/calcite/{p-d41076bc.js → p-c49b065a.js} +2 -2
  120. package/dist/calcite/{p-0bcfb9f5.entry.js → p-c5482a38.entry.js} +2 -2
  121. package/dist/calcite/{p-a6c4d5c4.js → p-d00fc3a7.js} +2 -2
  122. package/dist/calcite/{p-85053819.entry.js → p-d34edddb.entry.js} +2 -2
  123. package/dist/calcite/{p-d1787bc7.js → p-d44094d7.js} +2 -2
  124. package/dist/calcite/{p-80a24329.js → p-d5d644d6.js} +2 -2
  125. package/dist/calcite/{p-a888f6d4.entry.js → p-d6112f39.entry.js} +2 -2
  126. package/dist/calcite/{p-fa0cd599.entry.js → p-d678e465.entry.js} +2 -2
  127. package/dist/calcite/{p-64f70f20.js → p-d7c399c4.js} +2 -2
  128. package/dist/calcite/{p-83bda75f.entry.js → p-d7da9585.entry.js} +2 -2
  129. package/dist/calcite/{p-24accd0a.js → p-d92b4577.js} +2 -2
  130. package/dist/calcite/{p-f780b0ba.js → p-d9b2c3a5.js} +1 -1
  131. package/dist/calcite/{p-6bdb96ba.js → p-daddbf26.js} +2 -2
  132. package/dist/calcite/{p-75a5eaea.js → p-dcbd9eee.js} +2 -2
  133. package/dist/calcite/{p-c4fec9e8.js → p-de6cc57d.js} +2 -2
  134. package/dist/calcite/{p-e2754993.entry.js → p-debfcab3.entry.js} +2 -2
  135. package/dist/calcite/{p-13c8536f.js → p-df28eb66.js} +2 -2
  136. package/dist/calcite/{p-0b73bb78.js → p-e05221c2.js} +2 -2
  137. package/dist/calcite/{p-e27dec0a.entry.js → p-e6b4d85f.entry.js} +2 -2
  138. package/dist/calcite/{p-5775b019.js → p-e8bd2e99.js} +2 -2
  139. package/dist/calcite/p-e949f0c4.entry.js +6 -0
  140. package/dist/calcite/{p-a51db05a.js → p-ea103254.js} +2 -2
  141. package/dist/calcite/{p-010443a5.entry.js → p-eb397699.entry.js} +2 -2
  142. package/dist/calcite/{p-8984d178.js → p-eccc6544.js} +2 -2
  143. package/dist/calcite/{p-3416cfde.js → p-f0184ce0.js} +1 -1
  144. package/dist/calcite/{p-d39ff7fd.js → p-f1026a92.js} +2 -2
  145. package/dist/calcite/{p-ab9bf21b.entry.js → p-f1d28107.entry.js} +2 -2
  146. package/dist/calcite/p-f2209a15.entry.js +6 -0
  147. package/dist/calcite/p-f2699c0c.js +6 -0
  148. package/dist/calcite/{p-a9f3956f.js → p-f6238201.js} +1 -1
  149. package/dist/calcite/{p-7d806c17.entry.js → p-f8104f1e.entry.js} +2 -2
  150. package/dist/calcite/{p-b1334b8c.js → p-fd5ce410.js} +2 -2
  151. package/dist/calcite/{p-3dac6baf.entry.js → p-fd7e2063.entry.js} +2 -2
  152. package/dist/calcite/{p-54e7b23d.js → p-fd98a4f2.js} +2 -2
  153. package/dist/calcite/{p-e769bcb4.js → p-ff8def52.js} +1 -1
  154. package/dist/cjs/{ExpandToggle-1a67ab36.js → ExpandToggle-4da4cde1.js} +5 -5
  155. package/dist/cjs/{FloatingArrow-b842e3f0.js → FloatingArrow-94b266a9.js} +2 -2
  156. package/dist/cjs/{Heading-164b6907.js → Heading-bae30ace.js} +2 -2
  157. package/dist/cjs/{app-globals-11a7c313.js → app-globals-a4d5ca81.js} +2 -2
  158. package/dist/cjs/{ar-bd43572e.js → ar-4f3de50f.js} +15 -15
  159. package/dist/cjs/{array-0adad2b4.js → array-c0f4b914.js} +1 -1
  160. package/dist/cjs/{bg-220bf37c.js → bg-ccda59bb.js} +15 -15
  161. package/dist/cjs/{bs-86152491.js → bs-b1d6fe63.js} +15 -15
  162. package/dist/cjs/{ca-8db38d87.js → ca-6de7dcd6.js} +15 -15
  163. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  164. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  165. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  166. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  167. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  168. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  169. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  170. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  171. package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
  172. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  173. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  175. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  176. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  177. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +22 -19
  178. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  179. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  180. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  181. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  182. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  183. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  184. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  185. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  186. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  188. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  189. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -20
  190. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  192. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  193. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-4df5533b.js → calcite-input-time-picker.calcite-time-picker-9d77f340.js} +61 -61
  194. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
  195. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
  196. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  197. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  198. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  199. package/dist/cjs/calcite-list_3.cjs.entry.js +17 -16
  200. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  201. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  202. package/dist/cjs/calcite-meter.cjs.entry.js +329 -0
  203. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  204. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  206. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  207. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  208. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  209. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  210. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  211. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  212. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  213. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  214. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  216. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  217. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  218. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  219. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  220. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  221. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  222. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  223. package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
  224. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  225. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  227. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  229. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  230. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  231. package/dist/cjs/calcite.cjs.js +5 -5
  232. package/dist/cjs/{conditionalSlot-8f1ed2fd.js → conditionalSlot-0b2eec9f.js} +3 -3
  233. package/dist/cjs/{cs-263437e7.js → cs-cea3b0ee.js} +15 -15
  234. package/dist/cjs/{da-04f0e8da.js → da-17725eaa.js} +15 -15
  235. package/dist/cjs/{de-853a6b05.js → de-39e15b86.js} +15 -15
  236. package/dist/cjs/{de-at-653be64b.js → de-at-6761fb0d.js} +15 -15
  237. package/dist/cjs/{de-ch-d9a24a27.js → de-ch-745fb377.js} +15 -15
  238. package/dist/cjs/{debounce-4b4096ae.js → debounce-ba742625.js} +1 -1
  239. package/dist/cjs/{dom-08db9da6.js → dom-882e8adf.js} +19 -3
  240. package/dist/cjs/{el-fe0a44e8.js → el-bf61cc1f.js} +15 -15
  241. package/dist/cjs/{en-au-031db47e.js → en-au-f5c3ce9d.js} +15 -15
  242. package/dist/cjs/{en-ca-45763ffa.js → en-ca-dda16274.js} +15 -15
  243. package/dist/cjs/{en-gb-648d431e.js → en-gb-0d465e08.js} +15 -15
  244. package/dist/cjs/{es-94671e47.js → es-b866d145.js} +15 -15
  245. package/dist/cjs/{es-mx-69c64511.js → es-mx-9011eeb8.js} +15 -15
  246. package/dist/cjs/{et-1313c76b.js → et-82b68369.js} +15 -15
  247. package/dist/cjs/{fi-3845067b.js → fi-7217192a.js} +15 -15
  248. package/dist/cjs/{filter-a8635781.js → filter-d178922e.js} +2 -2
  249. package/dist/cjs/{floating-ui-e5ca7118.js → floating-ui-05afc335.js} +3 -3
  250. package/dist/cjs/{focusTrapComponent-b5fbcc3d.js → focusTrapComponent-1c50a7e7.js} +2 -2
  251. package/dist/cjs/{form-6b658638.js → form-7ec8012f.js} +3 -3
  252. package/dist/cjs/{fr-f5fb9c6d.js → fr-bfc091a2.js} +15 -15
  253. package/dist/cjs/{fr-ch-c2a535eb.js → fr-ch-445e68b9.js} +15 -15
  254. package/dist/cjs/{guid-cfee36b5.js → guid-26de9cda.js} +1 -1
  255. package/dist/cjs/{he-e19b601e.js → he-e2c5e787.js} +15 -15
  256. package/dist/cjs/{hi-ba6064e4.js → hi-01410766.js} +15 -15
  257. package/dist/cjs/{hr-b5ddef80.js → hr-f6f84162.js} +15 -15
  258. package/dist/cjs/{hu-b9876baa.js → hu-269b67e7.js} +15 -15
  259. package/dist/cjs/{id-4d04e202.js → id-8c2bbc95.js} +15 -15
  260. package/dist/cjs/{index-cb9f6c1b.js → index-170040b3.js} +5 -1
  261. package/dist/cjs/index.cjs.js +2 -2
  262. package/dist/cjs/{interactive-3ec273b7.js → interactive-f7aec39c.js} +1 -1
  263. package/dist/cjs/{it-ch-54de7583.js → it-ch-3439fde4.js} +15 -15
  264. package/dist/cjs/{it-d38f4cff.js → it-d13a9f04.js} +15 -15
  265. package/dist/cjs/{ja-347b0a82.js → ja-0ca7d254.js} +15 -15
  266. package/dist/cjs/{key-6b4b1cdf.js → key-8df4992e.js} +1 -1
  267. package/dist/cjs/{ko-4e4a7340.js → ko-f2113549.js} +15 -15
  268. package/dist/cjs/{label-2295ac25.js → label-1abe1847.js} +32 -14
  269. package/dist/cjs/{loadable-c9aa952a.js → loadable-8ad0def8.js} +2 -2
  270. package/dist/cjs/loader.cjs.js +5 -5
  271. package/dist/cjs/{locale-e4c68974.js → locale-b39d68ba.js} +4 -4
  272. package/dist/cjs/{lt-d5a80ec7.js → lt-5c2c91c0.js} +15 -15
  273. package/dist/cjs/{lv-b083cee8.js → lv-9f5be352.js} +15 -15
  274. package/dist/cjs/{math-697801d7.js → math-ce6a2ddf.js} +1 -1
  275. package/dist/cjs/{mk-1a8bbd8a.js → mk-379f2113.js} +15 -15
  276. package/dist/cjs/{nb-7afce653.js → nb-795fd9a1.js} +15 -15
  277. package/dist/cjs/{nl-c42cd6f7.js → nl-418df115.js} +15 -15
  278. package/dist/cjs/{observers-81a76cf6.js → observers-e391d71f.js} +1 -1
  279. package/dist/cjs/{openCloseComponent-6983f68d.js → openCloseComponent-6424e4e3.js} +2 -2
  280. package/dist/cjs/{pl-5a356f9f.js → pl-2eb4ce40.js} +15 -15
  281. package/dist/cjs/{pt-e20f3f2f.js → pt-14cfe278.js} +15 -15
  282. package/dist/cjs/{pt-br-55c68446.js → pt-br-2505fe92.js} +15 -15
  283. package/dist/cjs/{resources-50e57a15.js → resources-592c7704.js} +1 -1
  284. package/dist/cjs/{resources-6af552c3.js → resources-8a58d0d6.js} +1 -1
  285. package/dist/cjs/{resources-d04cfd32.js → resources-9f59c659.js} +1 -1
  286. package/dist/cjs/{resources-5da6d3e2.js → resources-b824e0eb.js} +1 -1
  287. package/dist/cjs/{resources-3230c449.js → resources-bb7b7ffd.js} +5 -5
  288. package/dist/cjs/{resources-640e38e6.js → resources-ceda9e99.js} +1 -1
  289. package/dist/cjs/{resources-6fd0f71d.js → resources-e4c8601b.js} +1 -1
  290. package/dist/cjs/{ro-e4562c3f.js → ro-64f4a925.js} +15 -15
  291. package/dist/cjs/{ru-66aa104e.js → ru-4ffeab42.js} +15 -15
  292. package/dist/cjs/{sk-c0ec5b84.js → sk-f8a11b96.js} +15 -15
  293. package/dist/cjs/{sl-f0806058.js → sl-40e05d38.js} +15 -15
  294. package/dist/cjs/{sortableComponent-1802d073.js → sortableComponent-d6d49e58.js} +2 -2
  295. package/dist/cjs/{sr-d7fafe2b.js → sr-9688d21f.js} +15 -15
  296. package/dist/cjs/{sv-22b48291.js → sv-68b3b1ce.js} +15 -15
  297. package/dist/cjs/{t9n-e85d8a74.js → t9n-51db37e2.js} +3 -3
  298. package/dist/cjs/{th-a842b8af.js → th-dcf75e4e.js} +15 -15
  299. package/dist/cjs/{throttle-15ab661e.js → throttle-366faeab.js} +2 -2
  300. package/dist/cjs/{tr-05a8602c.js → tr-8991a83d.js} +15 -15
  301. package/dist/cjs/{uk-9581881e.js → uk-8fa9b747.js} +15 -15
  302. package/dist/cjs/{utils-02bffe0a.js → utils-c41dca81.js} +3 -3
  303. package/dist/cjs/{utils-78eae0bf.js → utils-ede1e9c6.js} +1 -1
  304. package/dist/cjs/{vi-3b77b1bd.js → vi-cc65e958.js} +15 -15
  305. package/dist/cjs/{zh-cn-d622672f.js → zh-cn-e977fd48.js} +15 -15
  306. package/dist/cjs/{zh-hk-2db9d679.js → zh-hk-5e4e266e.js} +15 -15
  307. package/dist/cjs/{zh-tw-91d4ec04.js → zh-tw-740394b9.js} +15 -15
  308. package/dist/collection/collection-manifest.json +6 -0
  309. package/dist/collection/components/accordion/accordion.js +1 -1
  310. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  311. package/dist/collection/components/accordion-item/resources.js +1 -1
  312. package/dist/collection/components/action/action.js +1 -1
  313. package/dist/collection/components/action/resources.js +1 -1
  314. package/dist/collection/components/action-bar/action-bar.js +1 -1
  315. package/dist/collection/components/action-bar/resources.js +1 -1
  316. package/dist/collection/components/action-bar/utils.js +1 -1
  317. package/dist/collection/components/action-group/action-group.js +1 -1
  318. package/dist/collection/components/action-group/resources.js +1 -1
  319. package/dist/collection/components/action-menu/action-menu.js +1 -1
  320. package/dist/collection/components/action-menu/resources.js +1 -1
  321. package/dist/collection/components/action-pad/action-pad.js +1 -1
  322. package/dist/collection/components/action-pad/resources.js +1 -1
  323. package/dist/collection/components/alert/alert.js +1 -1
  324. package/dist/collection/components/alert/resources.js +1 -1
  325. package/dist/collection/components/avatar/avatar.js +1 -1
  326. package/dist/collection/components/avatar/utils.js +1 -1
  327. package/dist/collection/components/block/block.js +1 -1
  328. package/dist/collection/components/block/resources.js +1 -1
  329. package/dist/collection/components/block-section/block-section.js +1 -1
  330. package/dist/collection/components/block-section/resources.js +1 -1
  331. package/dist/collection/components/button/button.js +1 -1
  332. package/dist/collection/components/button/resources.js +1 -1
  333. package/dist/collection/components/card/card.js +1 -1
  334. package/dist/collection/components/card/resources.js +1 -1
  335. package/dist/collection/components/checkbox/checkbox.js +1 -1
  336. package/dist/collection/components/chip/chip.js +1 -1
  337. package/dist/collection/components/chip/resources.js +1 -1
  338. package/dist/collection/components/chip-group/chip-group.js +1 -1
  339. package/dist/collection/components/color-picker/color-picker.js +10 -4
  340. package/dist/collection/components/color-picker/resources.js +1 -1
  341. package/dist/collection/components/color-picker/utils.js +1 -1
  342. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  343. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  344. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  345. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  346. package/dist/collection/components/combobox/combobox.js +1 -1
  347. package/dist/collection/components/combobox/resources.js +1 -1
  348. package/dist/collection/components/combobox/utils.js +1 -1
  349. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  350. package/dist/collection/components/combobox-item/resources.js +1 -1
  351. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  352. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  353. package/dist/collection/components/date-picker/date-picker.js +1 -1
  354. package/dist/collection/components/date-picker/resources.js +1 -1
  355. package/dist/collection/components/date-picker/utils.js +1 -1
  356. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  357. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  358. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  359. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  360. package/dist/collection/components/dropdown/dropdown.js +1 -1
  361. package/dist/collection/components/dropdown/resources.js +1 -1
  362. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  363. package/dist/collection/components/dropdown-group/resources.js +1 -1
  364. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  365. package/dist/collection/components/dropdown-item/resources.js +1 -1
  366. package/dist/collection/components/fab/fab.js +1 -1
  367. package/dist/collection/components/fab/resources.js +1 -1
  368. package/dist/collection/components/filter/filter.js +1 -1
  369. package/dist/collection/components/filter/resources.js +1 -1
  370. package/dist/collection/components/flow/flow.js +1 -1
  371. package/dist/collection/components/flow/resources.js +1 -1
  372. package/dist/collection/components/flow-item/flow-item.js +1 -1
  373. package/dist/collection/components/flow-item/resources.js +1 -1
  374. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  375. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  376. package/dist/collection/components/functional/Heading.js +1 -1
  377. package/dist/collection/components/functional/XButton.js +1 -1
  378. package/dist/collection/components/graph/graph.js +1 -1
  379. package/dist/collection/components/graph/util.js +1 -1
  380. package/dist/collection/components/handle/handle.js +1 -1
  381. package/dist/collection/components/handle/resources.js +1 -1
  382. package/dist/collection/components/icon/icon.js +1 -1
  383. package/dist/collection/components/icon/resources.js +1 -1
  384. package/dist/collection/components/icon/utils.js +1 -1
  385. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  386. package/dist/collection/components/inline-editable/resources.js +1 -1
  387. package/dist/collection/components/input/input.js +1 -1
  388. package/dist/collection/components/input/resources.js +1 -1
  389. package/dist/collection/components/input-date-picker/input-date-picker.js +3 -3
  390. package/dist/collection/components/input-date-picker/resources.js +1 -1
  391. package/dist/collection/components/input-message/input-message.js +1 -1
  392. package/dist/collection/components/input-message/interfaces.js +1 -1
  393. package/dist/collection/components/input-number/input-number.js +1 -1
  394. package/dist/collection/components/input-number/resources.js +1 -1
  395. package/dist/collection/components/input-text/input-text.js +1 -1
  396. package/dist/collection/components/input-text/resources.js +1 -1
  397. package/dist/collection/components/input-time-picker/input-time-picker.js +2 -2
  398. package/dist/collection/components/input-time-picker/resources.js +1 -1
  399. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  400. package/dist/collection/components/input-time-zone/utils.js +1 -1
  401. package/dist/collection/components/label/label.js +1 -1
  402. package/dist/collection/components/label/resources.js +1 -1
  403. package/dist/collection/components/link/link.js +1 -1
  404. package/dist/collection/components/list/list.js +4 -3
  405. package/dist/collection/components/list/resources.js +1 -1
  406. package/dist/collection/components/list-item/list-item.js +1 -1
  407. package/dist/collection/components/list-item/resources.js +1 -1
  408. package/dist/collection/components/list-item/utils.js +1 -1
  409. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  410. package/dist/collection/components/list-item-group/resources.js +1 -1
  411. package/dist/collection/components/loader/loader.js +1 -1
  412. package/dist/collection/components/menu/menu.js +1 -1
  413. package/dist/collection/components/menu-item/menu-item.js +1 -1
  414. package/dist/collection/components/menu-item/resources.js +1 -1
  415. package/dist/collection/components/meter/interfaces.js +1 -0
  416. package/dist/collection/components/meter/meter.css +162 -0
  417. package/dist/collection/components/meter/meter.js +710 -0
  418. package/dist/collection/components/meter/resources.js +20 -0
  419. package/dist/collection/components/modal/modal.js +1 -1
  420. package/dist/collection/components/modal/resources.js +1 -1
  421. package/dist/collection/components/navigation/navigation.js +1 -1
  422. package/dist/collection/components/navigation/resources.js +1 -1
  423. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  424. package/dist/collection/components/navigation-logo/resources.js +1 -1
  425. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  426. package/dist/collection/components/navigation-user/resources.js +1 -1
  427. package/dist/collection/components/notice/notice.js +1 -1
  428. package/dist/collection/components/notice/resources.js +1 -1
  429. package/dist/collection/components/option/option.js +1 -1
  430. package/dist/collection/components/option-group/option-group.js +1 -1
  431. package/dist/collection/components/pagination/pagination.js +1 -1
  432. package/dist/collection/components/pagination/resources.js +1 -1
  433. package/dist/collection/components/panel/panel.js +1 -1
  434. package/dist/collection/components/panel/resources.js +1 -1
  435. package/dist/collection/components/pick-list/pick-list.js +1 -1
  436. package/dist/collection/components/pick-list/resources.js +1 -1
  437. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  438. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  439. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  440. package/dist/collection/components/pick-list-group/resources.js +1 -1
  441. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  442. package/dist/collection/components/pick-list-item/resources.js +1 -1
  443. package/dist/collection/components/popover/PopoverManager.js +1 -1
  444. package/dist/collection/components/popover/popover.js +1 -1
  445. package/dist/collection/components/popover/resources.js +1 -1
  446. package/dist/collection/components/progress/progress.js +1 -1
  447. package/dist/collection/components/radio-button/radio-button.js +1 -1
  448. package/dist/collection/components/radio-button/resources.js +1 -1
  449. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  450. package/dist/collection/components/rating/function/star.js +1 -1
  451. package/dist/collection/components/rating/rating.js +1 -1
  452. package/dist/collection/components/resources.js +1 -1
  453. package/dist/collection/components/scrim/resources.js +1 -1
  454. package/dist/collection/components/scrim/scrim.js +1 -1
  455. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  456. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  457. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  458. package/dist/collection/components/select/resources.js +1 -1
  459. package/dist/collection/components/select/select.js +1 -1
  460. package/dist/collection/components/shell/resources.js +1 -1
  461. package/dist/collection/components/shell/shell.js +1 -1
  462. package/dist/collection/components/shell-center-row/resources.js +1 -1
  463. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  464. package/dist/collection/components/shell-panel/resources.js +1 -1
  465. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  466. package/dist/collection/components/slider/resources.js +1 -1
  467. package/dist/collection/components/slider/slider.js +1 -1
  468. package/dist/collection/components/sortable-list/resources.js +1 -1
  469. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  470. package/dist/collection/components/split-button/resources.js +1 -1
  471. package/dist/collection/components/split-button/split-button.js +1 -1
  472. package/dist/collection/components/stack/resources.js +1 -1
  473. package/dist/collection/components/stack/stack.js +1 -1
  474. package/dist/collection/components/stepper/stepper.js +1 -1
  475. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  476. package/dist/collection/components/switch/switch.js +1 -1
  477. package/dist/collection/components/tab/tab.js +1 -1
  478. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  479. package/dist/collection/components/tab-title/resources.js +1 -1
  480. package/dist/collection/components/tab-title/tab-title.js +1 -1
  481. package/dist/collection/components/tabs/resources.js +1 -1
  482. package/dist/collection/components/tabs/tabs.js +1 -1
  483. package/dist/collection/components/text-area/resources.js +1 -1
  484. package/dist/collection/components/text-area/text-area.js +1 -1
  485. package/dist/collection/components/tile/resources.js +1 -1
  486. package/dist/collection/components/tile/tile.js +1 -1
  487. package/dist/collection/components/tile-select/resources.js +1 -1
  488. package/dist/collection/components/tile-select/tile-select.js +1 -1
  489. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  490. package/dist/collection/components/time-picker/resources.js +1 -1
  491. package/dist/collection/components/time-picker/time-picker.js +1 -1
  492. package/dist/collection/components/tip/resources.js +1 -1
  493. package/dist/collection/components/tip/tip.js +1 -1
  494. package/dist/collection/components/tip-group/tip-group.js +1 -1
  495. package/dist/collection/components/tip-manager/resources.js +1 -1
  496. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  497. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  498. package/dist/collection/components/tooltip/resources.js +1 -1
  499. package/dist/collection/components/tooltip/tooltip.js +1 -1
  500. package/dist/collection/components/tooltip/utils.js +1 -1
  501. package/dist/collection/components/tree/tree.js +1 -1
  502. package/dist/collection/components/tree/utils.js +1 -1
  503. package/dist/collection/components/tree-item/resources.js +1 -1
  504. package/dist/collection/components/tree-item/tree-item.js +1 -1
  505. package/dist/collection/components/value-list/resources.js +1 -1
  506. package/dist/collection/components/value-list/utils.js +1 -1
  507. package/dist/collection/components/value-list/value-list.js +1 -1
  508. package/dist/collection/components/value-list-item/resources.js +1 -1
  509. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  510. package/dist/collection/index.js +1 -1
  511. package/dist/collection/utils/array.js +1 -1
  512. package/dist/collection/utils/browser.js +1 -1
  513. package/dist/collection/utils/conditionalSlot.js +1 -1
  514. package/dist/collection/utils/config.js +1 -1
  515. package/dist/collection/utils/date.js +1 -1
  516. package/dist/collection/utils/dom.js +16 -1
  517. package/dist/collection/utils/filter.js +1 -1
  518. package/dist/collection/utils/floating-ui.js +1 -1
  519. package/dist/collection/utils/focusTrapComponent.js +1 -1
  520. package/dist/collection/utils/form.js +1 -1
  521. package/dist/collection/utils/globalAttributes.js +1 -1
  522. package/dist/collection/utils/globalScript.js +1 -1
  523. package/dist/collection/utils/guid.js +1 -1
  524. package/dist/collection/utils/interactive.js +1 -1
  525. package/dist/collection/utils/key.js +1 -1
  526. package/dist/collection/utils/label.js +32 -14
  527. package/dist/collection/utils/loadable.js +1 -1
  528. package/dist/collection/utils/locale.js +1 -1
  529. package/dist/collection/utils/math.js +1 -1
  530. package/dist/collection/utils/mode.js +1 -1
  531. package/dist/collection/utils/number.js +1 -1
  532. package/dist/collection/utils/observers.js +1 -1
  533. package/dist/collection/utils/openCloseComponent.js +1 -1
  534. package/dist/collection/utils/resources.js +1 -1
  535. package/dist/collection/utils/sortableComponent.js +1 -1
  536. package/dist/collection/utils/t9n.js +1 -1
  537. package/dist/collection/utils/time.js +1 -1
  538. package/dist/components/ExpandToggle.js +1 -1
  539. package/dist/components/FloatingArrow.js +1 -1
  540. package/dist/components/Heading.js +1 -1
  541. package/dist/components/action-group.js +1 -1
  542. package/dist/components/action-menu.js +1 -1
  543. package/dist/components/action.js +1 -1
  544. package/dist/components/ar.js +1 -1
  545. package/dist/components/array.js +1 -1
  546. package/dist/components/avatar.js +1 -1
  547. package/dist/components/bg.js +1 -1
  548. package/dist/components/bs.js +1 -1
  549. package/dist/components/button.js +1 -1
  550. package/dist/components/ca.js +1 -1
  551. package/dist/components/calcite-accordion-item.js +1 -1
  552. package/dist/components/calcite-accordion.js +1 -1
  553. package/dist/components/calcite-action-bar.js +1 -1
  554. package/dist/components/calcite-action-group.js +1 -1
  555. package/dist/components/calcite-action-menu.js +1 -1
  556. package/dist/components/calcite-action-pad.js +1 -1
  557. package/dist/components/calcite-action.js +1 -1
  558. package/dist/components/calcite-alert.js +1 -1
  559. package/dist/components/calcite-avatar.js +1 -1
  560. package/dist/components/calcite-block-section.js +1 -1
  561. package/dist/components/calcite-block.js +1 -1
  562. package/dist/components/calcite-button.js +1 -1
  563. package/dist/components/calcite-card.js +1 -1
  564. package/dist/components/calcite-checkbox.js +1 -1
  565. package/dist/components/calcite-chip-group.js +1 -1
  566. package/dist/components/calcite-chip.js +1 -1
  567. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  568. package/dist/components/calcite-color-picker-swatch.js +1 -1
  569. package/dist/components/calcite-color-picker.js +8 -5
  570. package/dist/components/calcite-combobox-item-group.js +1 -1
  571. package/dist/components/calcite-combobox-item.js +1 -1
  572. package/dist/components/calcite-combobox.js +1 -1
  573. package/dist/components/calcite-date-picker-day.js +1 -1
  574. package/dist/components/calcite-date-picker-month-header.js +1 -1
  575. package/dist/components/calcite-date-picker-month.js +1 -1
  576. package/dist/components/calcite-date-picker.js +1 -1
  577. package/dist/components/calcite-dropdown-group.js +1 -1
  578. package/dist/components/calcite-dropdown-item.js +1 -1
  579. package/dist/components/calcite-dropdown.js +1 -1
  580. package/dist/components/calcite-fab.js +1 -1
  581. package/dist/components/calcite-filter.js +1 -1
  582. package/dist/components/calcite-flow-item.js +1 -1
  583. package/dist/components/calcite-flow.js +1 -1
  584. package/dist/components/calcite-graph.js +1 -1
  585. package/dist/components/calcite-handle.js +1 -1
  586. package/dist/components/calcite-icon.js +1 -1
  587. package/dist/components/calcite-inline-editable.js +1 -1
  588. package/dist/components/calcite-input-date-picker.js +3 -3
  589. package/dist/components/calcite-input-message.js +1 -1
  590. package/dist/components/calcite-input-number.js +1 -1
  591. package/dist/components/calcite-input-text.js +1 -1
  592. package/dist/components/calcite-input-time-picker.js +2 -2
  593. package/dist/components/calcite-input-time-zone.js +1 -1
  594. package/dist/components/calcite-input.js +1 -1
  595. package/dist/components/calcite-label.js +1 -1
  596. package/dist/components/calcite-link.js +1 -1
  597. package/dist/components/calcite-list-item-group.js +1 -1
  598. package/dist/components/calcite-list-item.js +1 -1
  599. package/dist/components/calcite-list.js +4 -3
  600. package/dist/components/calcite-loader.js +1 -1
  601. package/dist/components/calcite-menu-item.js +1 -1
  602. package/dist/components/calcite-menu.js +1 -1
  603. package/dist/components/calcite-meter.d.ts +11 -0
  604. package/dist/components/calcite-meter.js +367 -0
  605. package/dist/components/calcite-modal.js +2 -2
  606. package/dist/components/calcite-navigation-logo.js +1 -1
  607. package/dist/components/calcite-navigation-user.js +1 -1
  608. package/dist/components/calcite-navigation.js +1 -1
  609. package/dist/components/calcite-notice.js +1 -1
  610. package/dist/components/calcite-option-group.js +1 -1
  611. package/dist/components/calcite-option.js +1 -1
  612. package/dist/components/calcite-pagination.js +1 -1
  613. package/dist/components/calcite-panel.js +1 -1
  614. package/dist/components/calcite-pick-list-group.js +1 -1
  615. package/dist/components/calcite-pick-list-item.js +1 -1
  616. package/dist/components/calcite-pick-list.js +1 -1
  617. package/dist/components/calcite-popover.js +1 -1
  618. package/dist/components/calcite-progress.js +1 -1
  619. package/dist/components/calcite-radio-button-group.js +1 -1
  620. package/dist/components/calcite-radio-button.js +1 -1
  621. package/dist/components/calcite-rating.js +1 -1
  622. package/dist/components/calcite-scrim.js +1 -1
  623. package/dist/components/calcite-segmented-control-item.js +1 -1
  624. package/dist/components/calcite-segmented-control.js +1 -1
  625. package/dist/components/calcite-select.js +1 -1
  626. package/dist/components/calcite-shell-center-row.js +1 -1
  627. package/dist/components/calcite-shell-panel.js +1 -1
  628. package/dist/components/calcite-shell.js +1 -1
  629. package/dist/components/calcite-slider.js +2 -2
  630. package/dist/components/calcite-sortable-list.js +1 -1
  631. package/dist/components/calcite-split-button.js +1 -1
  632. package/dist/components/calcite-stack.js +1 -1
  633. package/dist/components/calcite-stepper-item.js +1 -1
  634. package/dist/components/calcite-stepper.js +1 -1
  635. package/dist/components/calcite-switch.js +1 -1
  636. package/dist/components/calcite-tab-nav.js +1 -1
  637. package/dist/components/calcite-tab-title.js +1 -1
  638. package/dist/components/calcite-tab.js +1 -1
  639. package/dist/components/calcite-tabs.js +1 -1
  640. package/dist/components/calcite-text-area.js +1 -1
  641. package/dist/components/calcite-tile-select-group.js +1 -1
  642. package/dist/components/calcite-tile-select.js +1 -1
  643. package/dist/components/calcite-tile.js +1 -1
  644. package/dist/components/calcite-time-picker.js +1 -1
  645. package/dist/components/calcite-tip-group.js +1 -1
  646. package/dist/components/calcite-tip-manager.js +1 -1
  647. package/dist/components/calcite-tip.js +1 -1
  648. package/dist/components/calcite-tooltip.js +1 -1
  649. package/dist/components/calcite-tree-item.js +1 -1
  650. package/dist/components/calcite-tree.js +1 -1
  651. package/dist/components/calcite-value-list-item.js +1 -1
  652. package/dist/components/calcite-value-list.js +1 -1
  653. package/dist/components/checkbox.js +1 -1
  654. package/dist/components/chip.js +1 -1
  655. package/dist/components/color-picker-hex-input.js +1 -1
  656. package/dist/components/color-picker-swatch.js +1 -1
  657. package/dist/components/combobox-item.js +1 -1
  658. package/dist/components/combobox.js +1 -1
  659. package/dist/components/conditionalSlot.js +1 -1
  660. package/dist/components/cs.js +1 -1
  661. package/dist/components/da.js +1 -1
  662. package/dist/components/date-picker-day.js +1 -1
  663. package/dist/components/date-picker-month-header.js +1 -1
  664. package/dist/components/date-picker-month.js +1 -1
  665. package/dist/components/date-picker.js +1 -1
  666. package/dist/components/date.js +1 -1
  667. package/dist/components/de-at.js +1 -1
  668. package/dist/components/de-ch.js +1 -1
  669. package/dist/components/de.js +1 -1
  670. package/dist/components/debounce.js +1 -1
  671. package/dist/components/dom.js +17 -2
  672. package/dist/components/dropdown.js +1 -1
  673. package/dist/components/el.js +1 -1
  674. package/dist/components/en-au.js +1 -1
  675. package/dist/components/en-ca.js +1 -1
  676. package/dist/components/en-gb.js +1 -1
  677. package/dist/components/es-mx.js +1 -1
  678. package/dist/components/es.js +1 -1
  679. package/dist/components/et.js +1 -1
  680. package/dist/components/fi.js +1 -1
  681. package/dist/components/filter.js +1 -1
  682. package/dist/components/filter2.js +1 -1
  683. package/dist/components/floating-ui.js +1 -1
  684. package/dist/components/focusTrapComponent.js +2 -2
  685. package/dist/components/form.js +1 -1
  686. package/dist/components/fr-ch.js +1 -1
  687. package/dist/components/fr.js +1 -1
  688. package/dist/components/graph.js +1 -1
  689. package/dist/components/guid.js +1 -1
  690. package/dist/components/handle.js +1 -1
  691. package/dist/components/he.js +1 -1
  692. package/dist/components/hi.js +1 -1
  693. package/dist/components/hr.js +1 -1
  694. package/dist/components/hu.js +1 -1
  695. package/dist/components/icon.js +1 -1
  696. package/dist/components/id.js +1 -1
  697. package/dist/components/index.d.ts +1 -0
  698. package/dist/components/index.js +1 -1
  699. package/dist/components/index2.js +1 -1
  700. package/dist/components/input-number.js +1 -1
  701. package/dist/components/input-text.js +1 -1
  702. package/dist/components/input.js +1 -1
  703. package/dist/components/interactive.js +1 -1
  704. package/dist/components/it-ch.js +1 -1
  705. package/dist/components/it.js +1 -1
  706. package/dist/components/ja.js +1 -1
  707. package/dist/components/key.js +1 -1
  708. package/dist/components/ko.js +1 -1
  709. package/dist/components/label.js +1 -1
  710. package/dist/components/label2.js +32 -14
  711. package/dist/components/link.js +1 -1
  712. package/dist/components/loadable.js +1 -1
  713. package/dist/components/loader.js +1 -1
  714. package/dist/components/locale.js +1 -1
  715. package/dist/components/lt.js +1 -1
  716. package/dist/components/lv.js +1 -1
  717. package/dist/components/math.js +1 -1
  718. package/dist/components/menu.js +1 -1
  719. package/dist/components/mk.js +1 -1
  720. package/dist/components/nb.js +1 -1
  721. package/dist/components/nl.js +1 -1
  722. package/dist/components/observers.js +1 -1
  723. package/dist/components/openCloseComponent.js +1 -1
  724. package/dist/components/panel.js +1 -1
  725. package/dist/components/pick-list-item.js +1 -1
  726. package/dist/components/pl.js +1 -1
  727. package/dist/components/popover.js +1 -1
  728. package/dist/components/progress.js +1 -1
  729. package/dist/components/pt-br.js +1 -1
  730. package/dist/components/pt.js +1 -1
  731. package/dist/components/resources.js +1 -1
  732. package/dist/components/resources2.js +1 -1
  733. package/dist/components/resources3.js +1 -1
  734. package/dist/components/ro.js +1 -1
  735. package/dist/components/ru.js +1 -1
  736. package/dist/components/scrim.js +1 -1
  737. package/dist/components/shared-list-render.js +1 -1
  738. package/dist/components/sk.js +1 -1
  739. package/dist/components/sl.js +1 -1
  740. package/dist/components/sortableComponent.js +1 -1
  741. package/dist/components/sr.js +1 -1
  742. package/dist/components/stack.js +1 -1
  743. package/dist/components/sv.js +1 -1
  744. package/dist/components/switch.js +1 -1
  745. package/dist/components/t9n.js +1 -1
  746. package/dist/components/tab-nav.js +1 -1
  747. package/dist/components/tab-title.js +1 -1
  748. package/dist/components/tab.js +1 -1
  749. package/dist/components/tabs.js +1 -1
  750. package/dist/components/th.js +1 -1
  751. package/dist/components/throttle.js +1 -1
  752. package/dist/components/tile.js +1 -1
  753. package/dist/components/time-picker.js +1 -1
  754. package/dist/components/tr.js +1 -1
  755. package/dist/components/uk.js +1 -1
  756. package/dist/components/utils.js +1 -1
  757. package/dist/components/utils2.js +1 -1
  758. package/dist/components/utils3.js +1 -1
  759. package/dist/components/vi.js +1 -1
  760. package/dist/components/zh-cn.js +1 -1
  761. package/dist/components/zh-hk.js +1 -1
  762. package/dist/components/zh-tw.js +1 -1
  763. package/dist/esm/{ExpandToggle-65708e52.js → ExpandToggle-930a2b24.js} +5 -5
  764. package/dist/esm/{FloatingArrow-d53f14f2.js → FloatingArrow-1ae168c2.js} +2 -2
  765. package/dist/esm/{Heading-f1b23de5.js → Heading-c99f50d0.js} +2 -2
  766. package/dist/esm/{app-globals-b33cd4ed.js → app-globals-55e7f68a.js} +2 -2
  767. package/dist/esm/{ar-d95b9e73.js → ar-be02c795.js} +15 -15
  768. package/dist/esm/{array-97014d39.js → array-67afda9b.js} +1 -1
  769. package/dist/esm/{bg-cdaa440d.js → bg-e8eccaac.js} +15 -15
  770. package/dist/esm/{bs-0752a9f5.js → bs-b5ea5d4a.js} +15 -15
  771. package/dist/esm/{ca-f008a360.js → ca-96e849a8.js} +15 -15
  772. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  773. package/dist/esm/calcite-action-bar.entry.js +15 -15
  774. package/dist/esm/calcite-action-group.entry.js +13 -13
  775. package/dist/esm/calcite-action-menu.entry.js +9 -9
  776. package/dist/esm/calcite-action-pad.entry.js +14 -14
  777. package/dist/esm/calcite-action.entry.js +11 -11
  778. package/dist/esm/calcite-alert.entry.js +12 -12
  779. package/dist/esm/calcite-avatar.entry.js +6 -6
  780. package/dist/esm/calcite-block_2.entry.js +13 -13
  781. package/dist/esm/calcite-button.entry.js +13 -13
  782. package/dist/esm/calcite-card.entry.js +10 -10
  783. package/dist/esm/calcite-checkbox.entry.js +10 -10
  784. package/dist/esm/calcite-chip-group.entry.js +8 -8
  785. package/dist/esm/calcite-chip.entry.js +12 -12
  786. package/dist/esm/calcite-color-picker_3.entry.js +22 -19
  787. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  788. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  789. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  790. package/dist/esm/calcite-fab.entry.js +7 -7
  791. package/dist/esm/calcite-filter.entry.js +13 -13
  792. package/dist/esm/calcite-flow-item.entry.js +12 -12
  793. package/dist/esm/calcite-flow.entry.js +4 -4
  794. package/dist/esm/calcite-graph_2.entry.js +13 -13
  795. package/dist/esm/calcite-handle.entry.js +10 -10
  796. package/dist/esm/calcite-icon.entry.js +6 -6
  797. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  798. package/dist/esm/calcite-input-date-picker.entry.js +20 -20
  799. package/dist/esm/calcite-input-message.entry.js +5 -5
  800. package/dist/esm/calcite-input-number.entry.js +13 -13
  801. package/dist/esm/calcite-input-text.entry.js +13 -13
  802. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-54665d29.js → calcite-input-time-picker.calcite-time-picker-6102e880.js} +61 -61
  803. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
  804. package/dist/esm/calcite-input-time-zone.entry.js +13 -13
  805. package/dist/esm/calcite-input.entry.js +13 -13
  806. package/dist/esm/calcite-label.entry.js +6 -6
  807. package/dist/esm/calcite-link.entry.js +7 -7
  808. package/dist/esm/calcite-list_3.entry.js +17 -16
  809. package/dist/esm/calcite-loader.entry.js +3 -3
  810. package/dist/esm/calcite-menu_2.entry.js +10 -10
  811. package/dist/esm/calcite-meter.entry.js +325 -0
  812. package/dist/esm/calcite-modal.entry.js +13 -13
  813. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  814. package/dist/esm/calcite-notice.entry.js +12 -12
  815. package/dist/esm/calcite-option_3.entry.js +10 -10
  816. package/dist/esm/calcite-pagination.entry.js +10 -10
  817. package/dist/esm/calcite-panel.entry.js +14 -14
  818. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  819. package/dist/esm/calcite-popover.entry.js +16 -16
  820. package/dist/esm/calcite-progress.entry.js +5 -5
  821. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  822. package/dist/esm/calcite-radio-button.entry.js +10 -10
  823. package/dist/esm/calcite-rating.entry.js +13 -13
  824. package/dist/esm/calcite-scrim.entry.js +9 -9
  825. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  826. package/dist/esm/calcite-shell_3.entry.js +11 -11
  827. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  828. package/dist/esm/calcite-split-button.entry.js +4 -4
  829. package/dist/esm/calcite-stack.entry.js +6 -6
  830. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  831. package/dist/esm/calcite-switch.entry.js +10 -10
  832. package/dist/esm/calcite-tab_4.entry.js +10 -10
  833. package/dist/esm/calcite-text-area.entry.js +15 -15
  834. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  835. package/dist/esm/calcite-tile.entry.js +8 -8
  836. package/dist/esm/calcite-tip_3.entry.js +11 -11
  837. package/dist/esm/calcite-tooltip.entry.js +9 -9
  838. package/dist/esm/calcite-tree_2.entry.js +8 -8
  839. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  840. package/dist/esm/calcite.js +6 -6
  841. package/dist/esm/{conditionalSlot-27f1b99e.js → conditionalSlot-6f84118e.js} +3 -3
  842. package/dist/esm/{cs-5f0c6284.js → cs-e1c3af40.js} +15 -15
  843. package/dist/esm/{da-f038282b.js → da-5378d206.js} +15 -15
  844. package/dist/esm/{de-f8bb447f.js → de-1bff1feb.js} +15 -15
  845. package/dist/esm/{de-at-f679d96f.js → de-at-13cfe8cd.js} +15 -15
  846. package/dist/esm/{de-ch-40ea52e6.js → de-ch-7c9869ce.js} +15 -15
  847. package/dist/esm/{debounce-7b266b0d.js → debounce-fee8e3c3.js} +1 -1
  848. package/dist/esm/{dom-0da899b7.js → dom-a9670cdd.js} +19 -4
  849. package/dist/esm/{el-a615d547.js → el-ccd29511.js} +15 -15
  850. package/dist/esm/{en-au-1b85bd1f.js → en-au-ab5c0d13.js} +15 -15
  851. package/dist/esm/{en-ca-1cb88729.js → en-ca-cae40b3c.js} +15 -15
  852. package/dist/esm/{en-gb-a9ce1bb9.js → en-gb-72939828.js} +15 -15
  853. package/dist/esm/{es-81fc849b.js → es-b9d087e9.js} +15 -15
  854. package/dist/esm/{es-mx-edbd31e7.js → es-mx-0a6c1828.js} +15 -15
  855. package/dist/esm/{et-6fbb1a64.js → et-d86367ed.js} +15 -15
  856. package/dist/esm/{fi-9f79a0d6.js → fi-68d91c2c.js} +15 -15
  857. package/dist/esm/{filter-1716e444.js → filter-c8e3a6aa.js} +2 -2
  858. package/dist/esm/{floating-ui-2a06a63b.js → floating-ui-a2eb27ec.js} +3 -3
  859. package/dist/esm/{focusTrapComponent-23c3d774.js → focusTrapComponent-3be3180a.js} +2 -2
  860. package/dist/esm/{form-514528da.js → form-4c9b91ab.js} +3 -3
  861. package/dist/esm/{fr-9af849ac.js → fr-92812f54.js} +15 -15
  862. package/dist/esm/{fr-ch-799c2629.js → fr-ch-d3014591.js} +15 -15
  863. package/dist/esm/{guid-982fa529.js → guid-434088a0.js} +1 -1
  864. package/dist/esm/{he-57a0e3b9.js → he-3c9ec5c4.js} +15 -15
  865. package/dist/esm/{hi-4c310350.js → hi-5290cec4.js} +15 -15
  866. package/dist/esm/{hr-a2aef8f5.js → hr-59448348.js} +15 -15
  867. package/dist/esm/{hu-35cea0de.js → hu-a98d0659.js} +15 -15
  868. package/dist/esm/{id-2a4e3701.js → id-9551d33d.js} +15 -15
  869. package/dist/esm/{index-33fbe53d.js → index-93cd2078.js} +5 -1
  870. package/dist/esm/index.js +2 -2
  871. package/dist/esm/{interactive-7502dca5.js → interactive-4a9e1385.js} +1 -1
  872. package/dist/esm/{it-ch-2f078e2a.js → it-ch-2a5aa4ca.js} +15 -15
  873. package/dist/esm/{it-f4bce02e.js → it-e80ea9bd.js} +15 -15
  874. package/dist/esm/{ja-e0d1c391.js → ja-5b926db7.js} +15 -15
  875. package/dist/esm/{key-fbf3a3a2.js → key-3a20e503.js} +1 -1
  876. package/dist/esm/{ko-2c6f6bb1.js → ko-b79bb59f.js} +15 -15
  877. package/dist/esm/{label-a6e0ec34.js → label-38bb96bc.js} +32 -14
  878. package/dist/esm/{loadable-fa17899f.js → loadable-2ab8ae79.js} +2 -2
  879. package/dist/esm/loader.js +6 -6
  880. package/dist/esm/{locale-e1758752.js → locale-5212f2b3.js} +4 -4
  881. package/dist/esm/{lt-edd330d1.js → lt-6205dfce.js} +15 -15
  882. package/dist/esm/{lv-6f826b9e.js → lv-d2ba5866.js} +15 -15
  883. package/dist/esm/{math-f264e9eb.js → math-bd5f791c.js} +1 -1
  884. package/dist/esm/{mk-400378d1.js → mk-3525f8ad.js} +15 -15
  885. package/dist/esm/{nb-9a2bb240.js → nb-b3934cfe.js} +15 -15
  886. package/dist/esm/{nl-e095f7fd.js → nl-3951feee.js} +15 -15
  887. package/dist/esm/{observers-0920396c.js → observers-cab14e54.js} +1 -1
  888. package/dist/esm/{openCloseComponent-cb137fcb.js → openCloseComponent-4e57aa6b.js} +2 -2
  889. package/dist/esm/{pl-330f6c8d.js → pl-a24472a9.js} +15 -15
  890. package/dist/esm/{pt-c0f9c9b0.js → pt-12e286b2.js} +15 -15
  891. package/dist/esm/{pt-br-b1b1417d.js → pt-br-d05cc269.js} +15 -15
  892. package/dist/esm/{resources-e0e338f0.js → resources-422bdc2e.js} +1 -1
  893. package/dist/esm/{resources-88f61c2e.js → resources-467f8115.js} +5 -5
  894. package/dist/esm/{resources-2571234e.js → resources-4cd41c97.js} +1 -1
  895. package/dist/esm/{resources-50bfc36e.js → resources-58344d41.js} +1 -1
  896. package/dist/esm/{resources-af738dd0.js → resources-6fb9bced.js} +1 -1
  897. package/dist/esm/{resources-e81aa659.js → resources-deff01ca.js} +1 -1
  898. package/dist/esm/{resources-26fad53e.js → resources-e6b07fff.js} +1 -1
  899. package/dist/esm/{ro-e15dc2b2.js → ro-0ff5d382.js} +15 -15
  900. package/dist/esm/{ru-181608b9.js → ru-958398d5.js} +15 -15
  901. package/dist/esm/{sk-5783216d.js → sk-569156ba.js} +15 -15
  902. package/dist/esm/{sl-671beff3.js → sl-4458bfe8.js} +15 -15
  903. package/dist/esm/{sortableComponent-6cf182de.js → sortableComponent-c3a0fd15.js} +2 -2
  904. package/dist/esm/{sr-53695e50.js → sr-b85fa61f.js} +15 -15
  905. package/dist/esm/{sv-2c609612.js → sv-8b020ccd.js} +15 -15
  906. package/dist/esm/{t9n-24f85b28.js → t9n-08715f71.js} +3 -3
  907. package/dist/esm/{th-04520153.js → th-892eb431.js} +15 -15
  908. package/dist/esm/{throttle-c9096b55.js → throttle-d4b5accb.js} +2 -2
  909. package/dist/esm/{tr-89215303.js → tr-c2095429.js} +15 -15
  910. package/dist/esm/{uk-aec178d4.js → uk-abff2b69.js} +15 -15
  911. package/dist/esm/{utils-79e3b87b.js → utils-4d5b05ba.js} +3 -3
  912. package/dist/esm/{utils-af36a094.js → utils-e7cb3640.js} +1 -1
  913. package/dist/esm/{vi-f74978ab.js → vi-36e55919.js} +15 -15
  914. package/dist/esm/{zh-cn-589ed0f1.js → zh-cn-d414f67b.js} +15 -15
  915. package/dist/esm/{zh-hk-180ac95b.js → zh-hk-39f0ef93.js} +15 -15
  916. package/dist/esm/{zh-tw-2618f97b.js → zh-tw-b14e1615.js} +15 -15
  917. package/dist/extras/docs-json.json +458 -1
  918. package/dist/extras/vscode-data.json +199 -0
  919. package/dist/loader/cdn.js +1 -1
  920. package/dist/loader/index.cjs.js +1 -1
  921. package/dist/loader/index.es2017.js +1 -1
  922. package/dist/loader/index.js +1 -1
  923. package/dist/types/components/color-picker/color-picker.d.ts +1 -1
  924. package/dist/types/components/meter/interfaces.d.ts +1 -0
  925. package/dist/types/components/meter/meter.d.ts +98 -0
  926. package/dist/types/components/meter/resources.d.ts +15 -0
  927. package/dist/types/components.d.ts +166 -0
  928. package/dist/types/preact.d.ts +2 -0
  929. package/dist/types/utils/dom.d.ts +9 -0
  930. package/hydrate/index.js +689 -308
  931. package/package.json +2 -2
  932. package/dist/calcite/p-0c8676e8.entry.js +0 -6
  933. package/dist/calcite/p-0d2c8a9f.entry.js +0 -6
  934. package/dist/calcite/p-227f54c6.js +0 -6
  935. package/dist/calcite/p-37d89220.entry.js +0 -6
  936. package/dist/calcite/p-43db7849.entry.js +0 -6
  937. package/dist/calcite/p-4b36bfc7.entry.js +0 -6
  938. package/dist/calcite/p-4dfa1e8a.entry.js +0 -6
  939. package/dist/calcite/p-57bf7d38.entry.js +0 -6
  940. package/dist/calcite/p-6bc3e6e4.entry.js +0 -6
  941. package/dist/calcite/p-7e5a2bcd.entry.js +0 -6
  942. package/dist/calcite/p-94e56b3a.js +0 -6
  943. package/dist/calcite/p-9db0197e.js +0 -6
  944. package/dist/calcite/p-b4425351.entry.js +0 -6
  945. package/dist/calcite/p-bd3ada44.entry.js +0 -6
  946. package/dist/calcite/p-c066ce33.entry.js +0 -6
  947. package/dist/calcite/p-d6479bc2.js +0 -6
  948. package/dist/calcite/p-ddfebca5.js +0 -6
  949. package/dist/calcite/p-e36dd822.entry.js +0 -6
  950. package/dist/calcite/p-ff461a47.entry.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-design-system/blob/main/LICENSE.md for details.
4
- * v1.6.1
4
+ * v1.7.0-next.0
5
5
  */
6
6
  'use strict';
7
7
 
@@ -7002,12 +7002,27 @@ const focusElementInGroup = (elements, currentElement, destination, cycle = true
7002
7002
  focusElement(focusTarget);
7003
7003
  return focusTarget;
7004
7004
  };
7005
+ /**
7006
+ * This helper determines if an element is before another element in the DOM.
7007
+ *
7008
+ * @param a the reference element to compare
7009
+ * @param b the element to compare against
7010
+ *
7011
+ * @returns true when a is before b in the DOM
7012
+ */
7013
+ function isBefore(a, b) {
7014
+ if (a.parentNode !== b.parentNode) {
7015
+ return false;
7016
+ }
7017
+ const children = Array.from(a.parentNode.children);
7018
+ return children.indexOf(a) < children.indexOf(b);
7019
+ }
7005
7020
 
7006
7021
  const SLOTS$y = {
7007
7022
  actionsStart: "actions-start",
7008
7023
  actionsEnd: "actions-end",
7009
7024
  };
7010
- const CSS$16 = {
7025
+ const CSS$17 = {
7011
7026
  icon: "icon",
7012
7027
  header: "header",
7013
7028
  headerContent: "header-content",
@@ -7071,28 +7086,28 @@ class AccordionItem {
7071
7086
  // --------------------------------------------------------------------------
7072
7087
  renderActionsStart() {
7073
7088
  const { el } = this;
7074
- return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$16.actionsStart }, hAsync("slot", { name: SLOTS$y.actionsStart }))) : null;
7089
+ return getSlotted(el, SLOTS$y.actionsStart) ? (hAsync("div", { class: CSS$17.actionsStart }, hAsync("slot", { name: SLOTS$y.actionsStart }))) : null;
7075
7090
  }
7076
7091
  renderActionsEnd() {
7077
7092
  const { el } = this;
7078
- return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$16.actionsEnd }, hAsync("slot", { name: SLOTS$y.actionsEnd }))) : null;
7093
+ return getSlotted(el, SLOTS$y.actionsEnd) ? (hAsync("div", { class: CSS$17.actionsEnd }, hAsync("slot", { name: SLOTS$y.actionsEnd }))) : null;
7079
7094
  }
7080
7095
  render() {
7081
7096
  const { iconFlipRtl } = this;
7082
7097
  const dir = getElementDir(this.el);
7083
- const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$16.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
7084
- const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$16.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
7098
+ const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$17.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
7099
+ const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$17.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
7085
7100
  const { description } = this;
7086
7101
  return (hAsync(Host, null, hAsync("div", { class: {
7087
7102
  [`icon-position--${this.iconPosition}`]: true,
7088
7103
  [`icon-type--${this.iconType}`]: true,
7089
- } }, hAsync("div", { class: { [CSS$16.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$16.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$16.headerContainer }, iconStartEl, hAsync("div", { class: CSS$16.headerText }, hAsync("span", { class: CSS$16.heading }, this.heading), description ? hAsync("span", { class: CSS$16.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$16.expandIcon, icon: this.iconType === "chevron"
7104
+ } }, hAsync("div", { class: { [CSS$17.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$17.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$17.headerContainer }, iconStartEl, hAsync("div", { class: CSS$17.headerText }, hAsync("span", { class: CSS$17.heading }, this.heading), description ? hAsync("span", { class: CSS$17.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$17.expandIcon, icon: this.iconType === "chevron"
7090
7105
  ? "chevronDown"
7091
7106
  : this.iconType === "caret"
7092
7107
  ? "caretDown"
7093
7108
  : this.expanded
7094
7109
  ? "minus"
7095
- : "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$16.content }, hAsync("slot", null)))));
7110
+ : "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$17.content }, hAsync("slot", null)))));
7096
7111
  }
7097
7112
  //--------------------------------------------------------------------------
7098
7113
  //
@@ -8012,7 +8027,7 @@ function defaultOnMessagesChange() {
8012
8027
  mergeMessages(this);
8013
8028
  }
8014
8029
 
8015
- const CSS$15 = {
8030
+ const CSS$16 = {
8016
8031
  button: "button",
8017
8032
  buttonTextVisible: "button--text-visible",
8018
8033
  buttonCompact: "button--compact",
@@ -8123,14 +8138,14 @@ class Action {
8123
8138
  renderTextContainer() {
8124
8139
  const { text, textEnabled } = this;
8125
8140
  const textContainerClasses = {
8126
- [CSS$15.textContainer]: true,
8127
- [CSS$15.textContainerVisible]: textEnabled,
8141
+ [CSS$16.textContainer]: true,
8142
+ [CSS$16.textContainerVisible]: textEnabled,
8128
8143
  };
8129
8144
  return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
8130
8145
  }
8131
8146
  renderIndicatorText() {
8132
8147
  const { indicator, messages, indicatorId, buttonId } = this;
8133
- return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$15.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
8148
+ return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$16.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
8134
8149
  }
8135
8150
  renderIconContainer() {
8136
8151
  const { loading, icon, scale, el, iconFlipRtl } = this;
@@ -8141,18 +8156,18 @@ class Action {
8141
8156
  const iconNode = calciteLoaderNode || calciteIconNode;
8142
8157
  const hasIconToDisplay = iconNode || el.children?.length;
8143
8158
  const slotContainerNode = (hAsync("div", { class: {
8144
- [CSS$15.slotContainer]: true,
8145
- [CSS$15.slotContainerHidden]: loading,
8159
+ [CSS$16.slotContainer]: true,
8160
+ [CSS$16.slotContainerHidden]: loading,
8146
8161
  } }, hAsync("slot", null)));
8147
- return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$15.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
8162
+ return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$16.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
8148
8163
  }
8149
8164
  render() {
8150
8165
  const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages, } = this;
8151
8166
  const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
8152
8167
  const buttonClasses = {
8153
- [CSS$15.button]: true,
8154
- [CSS$15.buttonTextVisible]: textEnabled,
8155
- [CSS$15.buttonCompact]: compact,
8168
+ [CSS$16.button]: true,
8169
+ [CSS$16.buttonTextVisible]: textEnabled,
8170
+ [CSS$16.buttonCompact]: compact,
8156
8171
  };
8157
8172
  return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
8158
8173
  // eslint-disable-next-line react/jsx-sort-props
@@ -9465,7 +9480,7 @@ const ICONS$j = {
9465
9480
  menu: "ellipsis",
9466
9481
  };
9467
9482
 
9468
- const CSS$14 = {
9483
+ const CSS$15 = {
9469
9484
  menu: "menu",
9470
9485
  defaultTrigger: "default-trigger",
9471
9486
  };
@@ -9565,7 +9580,7 @@ const ExpandToggle = ({ expanded, expandText, collapseText, toggle, el, position
9565
9580
  return actionNode;
9566
9581
  };
9567
9582
 
9568
- const CSS$13 = {
9583
+ const CSS$14 = {
9569
9584
  actionGroupEnd: "action-group--end",
9570
9585
  };
9571
9586
  const SLOTS$u = {
@@ -9767,7 +9782,7 @@ class ActionBar {
9767
9782
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
9768
9783
  // eslint-disable-next-line react/jsx-sort-props
9769
9784
  ref: this.setExpandToggleRef })) : null;
9770
- return (hAsync("calcite-action-group", { class: CSS$13.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$u.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
9785
+ return (hAsync("calcite-action-group", { class: CSS$14.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$u.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), hAsync("slot", { name: SLOTS$u.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), hAsync("slot", { name: SLOTS$u.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
9771
9786
  }
9772
9787
  render() {
9773
9788
  return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
@@ -10176,7 +10191,7 @@ class ActionMenu {
10176
10191
  }
10177
10192
  renderMenuButton() {
10178
10193
  const { label, scale, expanded } = this;
10179
- const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$14.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
10194
+ const menuButtonSlot = (hAsync("slot", { name: SLOTS$v.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$15.defaultTrigger, icon: ICONS$i.menu, scale: scale, text: label, textEnabled: expanded,
10180
10195
  // eslint-disable-next-line react/jsx-sort-props
10181
10196
  ref: this.setDefaultMenuButtonEl })));
10182
10197
  return menuButtonSlot;
@@ -10185,7 +10200,7 @@ class ActionMenu {
10185
10200
  const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements, } = this;
10186
10201
  const activeAction = actionElements[activeMenuItemIndex];
10187
10202
  const activeDescendantId = activeAction?.id || null;
10188
- return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$14.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
10203
+ return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$15.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
10189
10204
  }
10190
10205
  render() {
10191
10206
  return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$v.tooltip, onSlotchange: this.updateTooltip })));
@@ -10221,7 +10236,7 @@ class ActionMenu {
10221
10236
  }; }
10222
10237
  }
10223
10238
 
10224
- const CSS$12 = {
10239
+ const CSS$13 = {
10225
10240
  actionGroupEnd: "action-group--end",
10226
10241
  container: "container",
10227
10242
  };
@@ -10345,10 +10360,10 @@ class ActionPad {
10345
10360
  const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
10346
10361
  // eslint-disable-next-line react/jsx-sort-props
10347
10362
  ref: this.setExpandToggleRef })) : null;
10348
- return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$12.actionGroupEnd, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
10363
+ return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$13.actionGroupEnd, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$t.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode)) : null;
10349
10364
  }
10350
10365
  render() {
10351
- return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$12.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
10366
+ return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$13.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
10352
10367
  }
10353
10368
  static get delegatesFocus() { return true; }
10354
10369
  static get assetsDirs() { return ["assets"]; }
@@ -10476,7 +10491,7 @@ const SLOTS$s = {
10476
10491
  message: "message",
10477
10492
  link: "link",
10478
10493
  };
10479
- const CSS$11 = {
10494
+ const CSS$12 = {
10480
10495
  actionsEnd: "actions-end",
10481
10496
  container: "container",
10482
10497
  close: "alert-close",
@@ -10636,10 +10651,10 @@ class Alert {
10636
10651
  container: true,
10637
10652
  queued,
10638
10653
  [placement]: true,
10639
- [CSS$11.slottedInShell]: this.slottedInShell,
10654
+ [CSS$12.slottedInShell]: this.slottedInShell,
10640
10655
  }, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
10641
10656
  // eslint-disable-next-line react/jsx-sort-props
10642
- ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$11.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
10657
+ ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$s.title }), hAsync("slot", { name: SLOTS$s.message }), hAsync("slot", { name: SLOTS$s.link })), hAsync("div", { class: CSS$12.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
10643
10658
  }
10644
10659
  // when an alert is opened or closed, update queue and determine active alert
10645
10660
  alertSync(event) {
@@ -11108,7 +11123,7 @@ const Heading = (props, children) => {
11108
11123
  return hAsync(HeadingTag, { ...props }, children);
11109
11124
  };
11110
11125
 
11111
- const CSS$10 = {
11126
+ const CSS$11 = {
11112
11127
  container: "container",
11113
11128
  content: "content",
11114
11129
  headerContainer: "header-container",
@@ -11233,30 +11248,30 @@ class Block {
11233
11248
  renderIcon() {
11234
11249
  const { loading, messages, status } = this;
11235
11250
  const hasSlottedIcon = !!getSlotted(this.el, SLOTS$r.icon);
11236
- return loading ? (hAsync("div", { class: CSS$10.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$10.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
11237
- [CSS$10.statusIcon]: true,
11238
- [CSS$10.valid]: status == "valid",
11239
- [CSS$10.invalid]: status == "invalid",
11240
- }, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$10.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$r.icon }))) : null;
11251
+ return loading ? (hAsync("div", { class: CSS$11.icon, key: "loader" }, hAsync("calcite-loader", { inline: true, label: messages.loading }))) : !!status ? (hAsync("div", { class: CSS$11.icon, key: "status-icon" }, hAsync("calcite-icon", { class: {
11252
+ [CSS$11.statusIcon]: true,
11253
+ [CSS$11.valid]: status == "valid",
11254
+ [CSS$11.invalid]: status == "invalid",
11255
+ }, icon: ICONS$g[status], scale: "s" }))) : hasSlottedIcon ? (hAsync("div", { class: CSS$11.icon, key: "icon-slot" }, hAsync("slot", { key: "icon-slot", name: SLOTS$r.icon }))) : null;
11241
11256
  }
11242
11257
  renderTitle() {
11243
11258
  const { heading, headingLevel, description } = this;
11244
- return heading || description ? (hAsync("div", { class: CSS$10.title }, hAsync(Heading, { class: CSS$10.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$10.description }, description) : null)) : null;
11259
+ return heading || description ? (hAsync("div", { class: CSS$11.title }, hAsync(Heading, { class: CSS$11.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$11.description }, description) : null)) : null;
11245
11260
  }
11246
11261
  render() {
11247
11262
  const { collapsible, el, loading, open, messages } = this;
11248
11263
  const toggleLabel = open ? messages.collapse : messages.expand;
11249
- const headerContent = (hAsync("header", { class: CSS$10.header }, this.renderIcon(), this.renderTitle()));
11264
+ const headerContent = (hAsync("header", { class: CSS$11.header }, this.renderIcon(), this.renderTitle()));
11250
11265
  const hasControl = !!getSlotted(el, SLOTS$r.control);
11251
11266
  const hasMenuActions = !!getSlotted(el, SLOTS$r.headerMenuActions);
11252
11267
  const collapseIcon = open ? ICONS$g.opened : ICONS$g.closed;
11253
11268
  const { guid } = this;
11254
11269
  const regionId = `${guid}-region`;
11255
11270
  const buttonId = `${guid}-button`;
11256
- const headerNode = (hAsync("div", { class: CSS$10.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$10.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$10.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$10.controlContainer }, hAsync("slot", { name: SLOTS$r.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$r.headerMenuActions }))) : null));
11271
+ const headerNode = (hAsync("div", { class: CSS$11.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$11.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$11.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), hasControl ? (hAsync("div", { class: CSS$11.controlContainer }, hAsync("slot", { name: SLOTS$r.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$r.headerMenuActions }))) : null));
11257
11272
  return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
11258
- [CSS$10.container]: true,
11259
- } }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$10.content, hidden: !open, id: regionId }, this.renderScrim()))));
11273
+ [CSS$11.container]: true,
11274
+ } }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$11.content, hidden: !open, id: regionId }, this.renderScrim()))));
11260
11275
  }
11261
11276
  static get assetsDirs() { return ["assets"]; }
11262
11277
  get el() { return getElement(this); }
@@ -11290,7 +11305,7 @@ class Block {
11290
11305
  }; }
11291
11306
  }
11292
11307
 
11293
- const CSS$$ = {
11308
+ const CSS$10 = {
11294
11309
  content: "content",
11295
11310
  invalid: "invalid",
11296
11311
  toggle: "toggle",
@@ -11393,9 +11408,9 @@ class BlockSection {
11393
11408
  const { status } = this;
11394
11409
  const statusIcon = ICONS$f[status] ?? false;
11395
11410
  const statusIconClasses = {
11396
- [CSS$$.statusIcon]: true,
11397
- [CSS$$.valid]: status == "valid",
11398
- [CSS$$.invalid]: status == "invalid",
11411
+ [CSS$10.statusIcon]: true,
11412
+ [CSS$10.valid]: status == "valid",
11413
+ [CSS$10.invalid]: status == "invalid",
11399
11414
  };
11400
11415
  return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
11401
11416
  }
@@ -11412,13 +11427,13 @@ class BlockSection {
11412
11427
  const regionId = `${guid}-region`;
11413
11428
  const buttonId = `${guid}-button`;
11414
11429
  const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
11415
- [CSS$$.toggle]: true,
11416
- [CSS$$.toggleSwitch]: true,
11417
- }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$$.toggleSwitchContent }, hAsync("span", { class: CSS$$.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
11418
- [CSS$$.sectionHeader]: true,
11419
- [CSS$$.toggle]: true,
11420
- }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$$.sectionHeaderText }, text), this.renderStatusIcon()));
11421
- return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$$.content, hidden: !open, id: regionId }, hAsync("slot", null))));
11430
+ [CSS$10.toggle]: true,
11431
+ [CSS$10.toggleSwitch]: true,
11432
+ }, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$10.toggleSwitchContent }, hAsync("span", { class: CSS$10.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
11433
+ [CSS$10.sectionHeader]: true,
11434
+ [CSS$10.toggle]: true,
11435
+ }, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$10.sectionHeaderText }, text), this.renderStatusIcon()));
11436
+ return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$10.content, hidden: !open, id: regionId }, hAsync("slot", null))));
11422
11437
  }
11423
11438
  static get assetsDirs() { return ["assets"]; }
11424
11439
  get el() { return getElement(this); }
@@ -11722,10 +11737,11 @@ const labelClickEvent = "calciteInternalLabelClick";
11722
11737
  const labelConnectedEvent = "calciteInternalLabelConnected";
11723
11738
  const labelDisconnectedEvent = "calciteInternalLabelDisconnected";
11724
11739
  const labelTagName = "calcite-label";
11740
+ const labelToLabelables = new WeakMap();
11725
11741
  const onLabelClickMap = new WeakMap();
11726
11742
  const onLabelConnectedMap = new WeakMap();
11727
11743
  const onLabelDisconnectedMap = new WeakMap();
11728
- const unlabeledComponents = new Set();
11744
+ const unlabeledComponents = new WeakSet();
11729
11745
  const findLabelForComponent = (componentEl) => {
11730
11746
  const { id } = componentEl;
11731
11747
  const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
@@ -11763,15 +11779,20 @@ function hasAncestorCustomElements(label, componentEl) {
11763
11779
  */
11764
11780
  function connectLabel(component) {
11765
11781
  const labelEl = findLabelForComponent(component.el);
11766
- if (onLabelClickMap.has(labelEl) || (!labelEl && unlabeledComponents.has(component))) {
11782
+ if ((onLabelClickMap.has(labelEl) && labelEl === component.labelEl) ||
11783
+ (!labelEl && unlabeledComponents.has(component))) {
11767
11784
  return;
11768
11785
  }
11769
11786
  const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
11770
11787
  if (labelEl) {
11771
11788
  component.labelEl = labelEl;
11772
- const boundOnLabelClick = onLabelClick.bind(component);
11773
- onLabelClickMap.set(component.labelEl, boundOnLabelClick);
11774
- component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
11789
+ const labelables = labelToLabelables.get(labelEl) || [];
11790
+ labelables.push(component);
11791
+ labelToLabelables.set(labelEl, labelables.sort(sortByDOMOrder));
11792
+ if (!onLabelClickMap.has(component.labelEl)) {
11793
+ onLabelClickMap.set(component.labelEl, onLabelClick);
11794
+ component.labelEl.addEventListener(labelClickEvent, onLabelClick);
11795
+ }
11775
11796
  unlabeledComponents.delete(component);
11776
11797
  document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
11777
11798
  onLabelDisconnectedMap.set(component, boundOnLabelDisconnected);
@@ -11796,9 +11817,16 @@ function disconnectLabel(component) {
11796
11817
  if (!component.labelEl) {
11797
11818
  return;
11798
11819
  }
11799
- const boundOnLabelClick = onLabelClickMap.get(component.labelEl);
11800
- component.labelEl.removeEventListener(labelClickEvent, boundOnLabelClick);
11801
- onLabelClickMap.delete(component.labelEl);
11820
+ const labelables = labelToLabelables.get(component.labelEl);
11821
+ if (labelables.length === 1) {
11822
+ component.labelEl.removeEventListener(labelClickEvent, onLabelClickMap.get(component.labelEl));
11823
+ onLabelClickMap.delete(component.labelEl);
11824
+ }
11825
+ labelToLabelables.set(component.labelEl, labelables.filter((labelable) => labelable !== component).sort(sortByDOMOrder));
11826
+ component.labelEl = null;
11827
+ }
11828
+ function sortByDOMOrder(a, b) {
11829
+ return isBefore(a.el, b.el) ? -1 : 1;
11802
11830
  }
11803
11831
  /**
11804
11832
  * Helper to get the label text from a component.
@@ -11809,14 +11837,19 @@ function getLabelText(component) {
11809
11837
  return component.label || component.labelEl?.textContent?.trim() || "";
11810
11838
  }
11811
11839
  function onLabelClick(event) {
11812
- if (this.disabled) {
11840
+ const labelClickTarget = event.detail.sourceEvent.target;
11841
+ const labelables = labelToLabelables.get(this);
11842
+ const clickedLabelable = labelables.find((labelable) => labelable.el === labelClickTarget);
11843
+ const labelableChildClicked = labelables.includes(clickedLabelable);
11844
+ if (labelableChildClicked) {
11845
+ // no need to forward click as labelable will receive focus
11813
11846
  return;
11814
11847
  }
11815
- const containedLabelableChildClicked = this.el.contains(event.detail.sourceEvent.target);
11816
- if (containedLabelableChildClicked) {
11848
+ const firstLabelable = labelables[0];
11849
+ if (firstLabelable.disabled) {
11817
11850
  return;
11818
11851
  }
11819
- this.onLabelClick(event);
11852
+ firstLabelable.onLabelClick(event);
11820
11853
  }
11821
11854
  function onLabelConnected() {
11822
11855
  if (unlabeledComponents.has(this)) {
@@ -11830,7 +11863,7 @@ function onLabelDisconnected() {
11830
11863
  document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
11831
11864
  }
11832
11865
 
11833
- const CSS$_ = {
11866
+ const CSS$$ = {
11834
11867
  buttonLoader: "calcite-button--loader",
11835
11868
  content: "content",
11836
11869
  contentSlotted: "content--slotted",
@@ -11958,17 +11991,17 @@ class Button {
11958
11991
  render() {
11959
11992
  const childElType = this.href ? "a" : "button";
11960
11993
  const Tag = childElType;
11961
- const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$_.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$_.loadingIn : CSS$_.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
11994
+ const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$$.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$$.loadingIn : CSS$$.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
11962
11995
  const noStartEndIcons = !this.iconStart && !this.iconEnd;
11963
- const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$_.icon]: true, [CSS$_.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
11964
- const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$_.icon]: true, [CSS$_.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
11965
- const contentEl = (hAsync("span", { class: CSS$_.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
11996
+ const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$$.icon]: true, [CSS$$.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
11997
+ const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$$.icon]: true, [CSS$$.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
11998
+ const contentEl = (hAsync("span", { class: CSS$$.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
11966
11999
  return (hAsync(Tag, { "aria-label": !this.loading ? getLabelText(this) : this.messages.loading, "aria-live": "polite", class: {
11967
- [CSS$_.buttonPadding]: noStartEndIcons,
11968
- [CSS$_.buttonPaddingShrunk]: !noStartEndIcons,
11969
- [CSS$_.contentSlotted]: this.hasContent,
11970
- [CSS$_.iconStartEmpty]: !this.iconStart,
11971
- [CSS$_.iconEndEmpty]: !this.iconEnd,
12000
+ [CSS$$.buttonPadding]: noStartEndIcons,
12001
+ [CSS$$.buttonPaddingShrunk]: !noStartEndIcons,
12002
+ [CSS$$.contentSlotted]: this.hasContent,
12003
+ [CSS$$.iconStartEmpty]: !this.iconStart,
12004
+ [CSS$$.iconEndEmpty]: !this.iconEnd,
11972
12005
  }, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
11973
12006
  }
11974
12007
  //--------------------------------------------------------------------------
@@ -12283,7 +12316,7 @@ class CalciteMenu {
12283
12316
  }; }
12284
12317
  }
12285
12318
 
12286
- const CSS$Z = {
12319
+ const CSS$_ = {
12287
12320
  container: "container",
12288
12321
  content: "content",
12289
12322
  dropdownVertical: "dropdown--vertical",
@@ -12487,54 +12520,54 @@ class CalciteMenuItem {
12487
12520
  //
12488
12521
  //--------------------------------------------------------------------------
12489
12522
  renderIconStart() {
12490
- return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$Z.iconStart, scale: "s" }));
12523
+ return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconStart}`, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, key: CSS$_.iconStart, scale: "s" }));
12491
12524
  }
12492
12525
  renderIconEnd() {
12493
- return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$Z.iconEnd, scale: "s" }));
12526
+ return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconEnd}`, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, key: CSS$_.iconEnd, scale: "s" }));
12494
12527
  }
12495
12528
  renderBreadcrumbIcon(dir) {
12496
- return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$Z.iconBreadcrumb, scale: "s" }));
12529
+ return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconBreadcrumb}`, icon: dir === "rtl" ? "chevron-left" : "chevron-right", key: CSS$_.iconBreadcrumb, scale: "s" }));
12497
12530
  }
12498
12531
  renderDropdownIcon(dir) {
12499
12532
  const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
12500
- return (hAsync("calcite-icon", { class: `${CSS$Z.icon} ${CSS$Z.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
12533
+ return (hAsync("calcite-icon", { class: `${CSS$_.icon} ${CSS$_.iconDropdown}`, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
12501
12534
  ? this.open
12502
12535
  ? "chevron-up"
12503
12536
  : "chevron-down"
12504
- : dirChevron, key: CSS$Z.iconDropdown, scale: "s" }));
12537
+ : dirChevron, key: CSS$_.iconDropdown, scale: "s" }));
12505
12538
  }
12506
12539
  renderDropdownAction(dir) {
12507
12540
  const dirChevron = dir === "rtl" ? "chevron-left" : "chevron-right";
12508
- return (hAsync("calcite-action", { class: CSS$Z.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
12541
+ return (hAsync("calcite-action", { class: CSS$_.dropdownAction, icon: this.topLevelMenuLayout === "vertical" || this.isTopLevelItem
12509
12542
  ? this.open
12510
12543
  ? "chevron-up"
12511
12544
  : "chevron-down"
12512
- : dirChevron, key: CSS$Z.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
12545
+ : dirChevron, key: CSS$_.dropdownAction, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, text: this.messages.open,
12513
12546
  // eslint-disable-next-line react/jsx-sort-props
12514
12547
  ref: (el) => (this.dropdownActionEl = el) }));
12515
12548
  }
12516
12549
  renderSubmenuItems(dir) {
12517
12550
  return (hAsync("calcite-menu", { class: {
12518
- [CSS$Z.dropdownMenuItems]: true,
12519
- [CSS$Z.open]: this.open,
12520
- [CSS$Z.nested]: !this.isTopLevelItem,
12551
+ [CSS$_.dropdownMenuItems]: true,
12552
+ [CSS$_.open]: this.open,
12553
+ [CSS$_.nested]: !this.isTopLevelItem,
12521
12554
  [CSS_UTILITY.rtl]: dir === "rtl",
12522
- [CSS$Z.dropdownVertical]: this.topLevelMenuLayout === "vertical",
12555
+ [CSS$_.dropdownVertical]: this.topLevelMenuLayout === "vertical",
12523
12556
  }, label: this.messages.submenu, layout: "vertical", role: "menu" }, hAsync("slot", { name: "submenu-item", onSlotchange: this.handleMenuItemSlotChange })));
12524
12557
  }
12525
12558
  renderHrefIcon(dir) {
12526
- return (hAsync("calcite-icon", { class: CSS$Z.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$Z.hoverHrefIcon, scale: "s" }));
12559
+ return (hAsync("calcite-icon", { class: CSS$_.hoverHrefIcon, icon: dir === "rtl" ? "arrow-left" : "arrow-right", key: CSS$_.hoverHrefIcon, scale: "s" }));
12527
12560
  }
12528
12561
  renderItemContent(dir) {
12529
12562
  const hasHref = this.href && (this.topLevelMenuLayout === "vertical" || !this.isTopLevelItem);
12530
- return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$Z.textContainer }, hAsync("span", null, this.text)), hasHref && this.renderHrefIcon(dir), this.iconEnd && this.renderIconEnd(), this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null));
12563
+ return (hAsync(Fragment, null, this.iconStart && this.renderIconStart(), hAsync("div", { class: CSS$_.textContainer }, hAsync("span", null, this.text)), hasHref && this.renderHrefIcon(dir), this.iconEnd && this.renderIconEnd(), this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null, !this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null));
12531
12564
  }
12532
12565
  render() {
12533
12566
  const dir = getElementDir(this.el);
12534
12567
  return (hAsync(Host, { onBlur: this.blurHandler, onFocus: this.focusHandler }, hAsync("li", { class: {
12535
- [CSS$Z.container]: true,
12536
- [CSS$Z.isParentVertical]: this.topLevelMenuLayout === "vertical",
12537
- }, role: "none" }, hAsync("div", { class: CSS$Z.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$Z.layoutVertical]: this.layout === "vertical", [CSS$Z.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
12568
+ [CSS$_.container]: true,
12569
+ [CSS$_.isParentVertical]: this.topLevelMenuLayout === "vertical",
12570
+ }, role: "none" }, hAsync("div", { class: CSS$_.itemContent }, hAsync("a", { "aria-current": this.isFocused ? "page" : false, "aria-expanded": this.open, "aria-haspopup": this.hasSubmenu, "aria-label": this.label, class: { [CSS$_.layoutVertical]: this.layout === "vertical", [CSS$_.content]: true }, href: this.href, onClick: this.clickHandler, onKeyDown: this.keyDownHandler, rel: this.rel, role: "menuitem", tabIndex: this.isTopLevelItem ? 0 : -1, target: this.target,
12538
12571
  // eslint-disable-next-line react/jsx-sort-props
12539
12572
  ref: (el) => (this.anchorEl = el) }, this.renderItemContent(dir)), this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null), this.renderSubmenuItems(dir))));
12540
12573
  }
@@ -12577,7 +12610,7 @@ class CalciteMenuItem {
12577
12610
  }; }
12578
12611
  }
12579
12612
 
12580
- const CSS$Y = {
12613
+ const CSS$Z = {
12581
12614
  container: "container",
12582
12615
  containerContent: "container-content",
12583
12616
  hasProgress: "progress-bar",
@@ -12726,11 +12759,11 @@ class CalciteNavigation {
12726
12759
  this.navigationAction;
12727
12760
  const slotName = this.el.slot;
12728
12761
  return (hAsync(Host, null, hAsync("div", { class: {
12729
- [CSS$Y.container]: true,
12730
- [CSS$Y.secondary]: slotName === SLOTS$q.navSecondary,
12731
- [CSS$Y.tertiary]: slotName === SLOTS$q.navTertiary,
12732
- [CSS$Y.primary]: primaryLevelHasElements,
12733
- } }, hAsync("div", { class: { [CSS$Y.hide]: !this.progressSlotHasElement, [SLOTS$q.progress]: true } }, hAsync("slot", { name: SLOTS$q.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$Y.containerContent]: true, [CSS$Y.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$Y.hide]: !this.logoSlotHasElements, [SLOTS$q.logo]: true } }, hAsync("slot", { name: SLOTS$q.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$q.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$q.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$q.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$Y.hide]: !this.userSlotHasElements, [SLOTS$q.user]: true } }, hAsync("slot", { name: SLOTS$q.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$q.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$q.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
12762
+ [CSS$Z.container]: true,
12763
+ [CSS$Z.secondary]: slotName === SLOTS$q.navSecondary,
12764
+ [CSS$Z.tertiary]: slotName === SLOTS$q.navTertiary,
12765
+ [CSS$Z.primary]: primaryLevelHasElements,
12766
+ } }, hAsync("div", { class: { [CSS$Z.hide]: !this.progressSlotHasElement, [SLOTS$q.progress]: true } }, hAsync("slot", { name: SLOTS$q.progress, onSlotchange: this.handleProgressSlotChange })), hAsync("div", { class: { [CSS$Z.containerContent]: true, [CSS$Z.hasProgress]: this.progressSlotHasElement } }, this.renderMenuAction(), hAsync("div", { class: { [CSS$Z.hide]: !this.logoSlotHasElements, [SLOTS$q.logo]: true } }, hAsync("slot", { name: SLOTS$q.logo, onSlotchange: this.handleLogoSlotChange })), hAsync("slot", { name: SLOTS$q.contentStart, onSlotchange: this.handleContentStartSlotChange }), hAsync("slot", { name: SLOTS$q.contentCenter, onSlotchange: this.handleContentCenterSlotChange }), hAsync("slot", { name: SLOTS$q.contentEnd, onSlotchange: this.handleContentEndSlotChange }), hAsync("div", { class: { [CSS$Z.hide]: !this.userSlotHasElements, [SLOTS$q.user]: true } }, hAsync("slot", { name: SLOTS$q.user, onSlotchange: this.handleUserSlotChange })))), hAsync(Fragment, null, hAsync("slot", { name: SLOTS$q.navSecondary, onSlotchange: this.handleSecondarySlotChange }), hAsync("slot", { name: SLOTS$q.navTertiary, onSlotchange: this.handleTertiarySlotChange }))));
12734
12767
  }
12735
12768
  get el() { return getElement(this); }
12736
12769
  static get style() { return navigationCss; }
@@ -12757,7 +12790,7 @@ class CalciteNavigation {
12757
12790
  }; }
12758
12791
  }
12759
12792
 
12760
- const CSS$X = {
12793
+ const CSS$Y = {
12761
12794
  container: "container",
12762
12795
  heading: "heading",
12763
12796
  description: "description",
@@ -12810,10 +12843,10 @@ class CalciteNavigationLogo {
12810
12843
  // --------------------------------------------------------------------------
12811
12844
  render() {
12812
12845
  const { heading, description, thumbnail } = this;
12813
- return (hAsync(Host, null, hAsync("a", { class: CSS$X.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$X.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$X.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
12814
- [CSS$X.heading]: true,
12815
- [CSS$X.standalone]: !this.description,
12816
- }, key: CSS$X.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$X.description, key: CSS$X.description }, description)))))));
12846
+ return (hAsync(Host, null, hAsync("a", { class: CSS$Y.anchor, href: this.href, rel: this.rel, target: this.target }, thumbnail && hAsync("img", { alt: this.label || "", class: CSS$Y.image, src: thumbnail }), (heading || description) && (hAsync("div", { class: CSS$Y.container }, heading && (hAsync("span", { "aria-label": this.heading, class: {
12847
+ [CSS$Y.heading]: true,
12848
+ [CSS$Y.standalone]: !this.description,
12849
+ }, key: CSS$Y.heading }, heading)), description && (hAsync("span", { "aria-label": this.description, class: CSS$Y.description, key: CSS$Y.description }, description)))))));
12817
12850
  }
12818
12851
  static get delegatesFocus() { return true; }
12819
12852
  get el() { return getElement(this); }
@@ -12838,7 +12871,7 @@ class CalciteNavigationLogo {
12838
12871
  }; }
12839
12872
  }
12840
12873
 
12841
- const CSS$W = {
12874
+ const CSS$X = {
12842
12875
  textContainer: "text-container",
12843
12876
  fullName: "full-name",
12844
12877
  username: "username",
@@ -12885,7 +12918,7 @@ class CalciteNavigationUser {
12885
12918
  //
12886
12919
  // --------------------------------------------------------------------------
12887
12920
  render() {
12888
- return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$W.button }, hAsync("calcite-avatar", { "full-name": this.fullName, label: this.label, thumbnail: this.thumbnail, "user-id": this.userId, username: this.username }), (this.fullName || this.username) && !this.textDisabled && (hAsync("div", { class: CSS$W.textContainer }, this.fullName && (hAsync("span", { class: CSS$W.fullName, key: CSS$W.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$W.username, key: CSS$W.username }, this.username)))))));
12921
+ return (hAsync(Host, null, hAsync("button", { "aria-label": this.label, class: CSS$X.button }, hAsync("calcite-avatar", { "full-name": this.fullName, label: this.label, thumbnail: this.thumbnail, "user-id": this.userId, username: this.username }), (this.fullName || this.username) && !this.textDisabled && (hAsync("div", { class: CSS$X.textContainer }, this.fullName && (hAsync("span", { class: CSS$X.fullName, key: CSS$X.fullName }, this.fullName)), this.username && (hAsync("span", { class: CSS$X.username, key: CSS$X.username }, this.username)))))));
12889
12922
  }
12890
12923
  static get delegatesFocus() { return true; }
12891
12924
  get el() { return getElement(this); }
@@ -12909,7 +12942,7 @@ class CalciteNavigationUser {
12909
12942
  }; }
12910
12943
  }
12911
12944
 
12912
- const CSS$V = {
12945
+ const CSS$W = {
12913
12946
  container: "container",
12914
12947
  header: "header",
12915
12948
  footer: "footer",
@@ -12994,7 +13027,7 @@ class Card {
12994
13027
  render() {
12995
13028
  const thumbnailInline = this.thumbnailPosition.startsWith("inline");
12996
13029
  const thumbnailStart = this.thumbnailPosition.endsWith("start");
12997
- return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$V.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
13030
+ return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { "aria-live": "polite", class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$W.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
12998
13031
  }
12999
13032
  effectiveLocaleChange() {
13000
13033
  updateMessages(this);
@@ -13004,24 +13037,24 @@ class Card {
13004
13037
  this.calciteCardSelect.emit();
13005
13038
  }
13006
13039
  renderThumbnail() {
13007
- return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$V.thumbnailWrapper }, hAsync("slot", { name: SLOTS$p.thumbnail }))) : null;
13040
+ return getSlotted(this.el, SLOTS$p.thumbnail) ? (hAsync("section", { class: CSS$W.thumbnailWrapper }, hAsync("slot", { name: SLOTS$p.thumbnail }))) : null;
13008
13041
  }
13009
13042
  renderCheckbox() {
13010
- return (hAsync("calcite-label", { class: CSS$V.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
13043
+ return (hAsync("calcite-label", { class: CSS$W.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
13011
13044
  }
13012
13045
  renderHeader() {
13013
13046
  const { el } = this;
13014
13047
  const title = getSlotted(el, SLOTS$p.title);
13015
13048
  const subtitle = getSlotted(el, SLOTS$p.subtitle);
13016
13049
  const hasHeader = title || subtitle;
13017
- return hasHeader ? (hAsync("header", { class: CSS$V.header }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.subtitle }))) : null;
13050
+ return hasHeader ? (hAsync("header", { class: CSS$W.header }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.subtitle }))) : null;
13018
13051
  }
13019
13052
  renderFooter() {
13020
13053
  const { el } = this;
13021
13054
  const startFooter = getSlotted(el, SLOTS$p.footerStart);
13022
13055
  const endFooter = getSlotted(el, SLOTS$p.footerEnd);
13023
13056
  const hasFooter = startFooter || endFooter;
13024
- return hasFooter ? (hAsync("footer", { class: CSS$V.footer }, hAsync("slot", { name: SLOTS$p.footerStart }), hAsync("slot", { name: SLOTS$p.footerEnd }))) : null;
13057
+ return hasFooter ? (hAsync("footer", { class: CSS$W.footer }, hAsync("slot", { name: SLOTS$p.footerStart }), hAsync("slot", { name: SLOTS$p.footerEnd }))) : null;
13025
13058
  }
13026
13059
  static get assetsDirs() { return ["assets"]; }
13027
13060
  get el() { return getElement(this); }
@@ -13184,7 +13217,7 @@ class Checkbox {
13184
13217
  }; }
13185
13218
  }
13186
13219
 
13187
- const CSS$U = {
13220
+ const CSS$V = {
13188
13221
  title: "title",
13189
13222
  close: "close",
13190
13223
  imageContainer: "image-container",
@@ -13353,7 +13386,7 @@ class Chip {
13353
13386
  //
13354
13387
  //--------------------------------------------------------------------------
13355
13388
  renderChipImage() {
13356
- return (hAsync("div", { class: CSS$U.imageContainer }, hAsync("slot", { name: SLOTS$o.image, onSlotchange: this.handleSlotImageChange })));
13389
+ return (hAsync("div", { class: CSS$V.imageContainer }, hAsync("slot", { name: SLOTS$o.image, onSlotchange: this.handleSlotImageChange })));
13357
13390
  }
13358
13391
  renderSelectionIcon() {
13359
13392
  const icon = this.selectionMode === "multiple" && this.selected
@@ -13364,17 +13397,17 @@ class Chip {
13364
13397
  ? ICONS$d.checkedSingle
13365
13398
  : undefined;
13366
13399
  return (hAsync("div", { class: {
13367
- [CSS$U.selectIcon]: true,
13368
- [CSS$U.selectIconActive]: this.selectionMode === "multiple" || this.selected,
13400
+ [CSS$V.selectIcon]: true,
13401
+ [CSS$V.selectIconActive]: this.selectionMode === "multiple" || this.selected,
13369
13402
  } }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
13370
13403
  }
13371
13404
  renderCloseButton() {
13372
- return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$U.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
13405
+ return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$V.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
13373
13406
  // eslint-disable-next-line react/jsx-sort-props
13374
13407
  ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$d.close, scale: this.scale === "l" ? "m" : "s" })));
13375
13408
  }
13376
13409
  renderIcon() {
13377
- return (hAsync("calcite-icon", { class: CSS$U.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
13410
+ return (hAsync("calcite-icon", { class: CSS$V.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
13378
13411
  }
13379
13412
  render() {
13380
13413
  const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
@@ -13388,21 +13421,21 @@ class Chip {
13388
13421
  return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
13389
13422
  ? toAriaBoolean(this.selected)
13390
13423
  : undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
13391
- [CSS$U.container]: true,
13392
- [CSS$U.textSlotted]: this.hasText,
13393
- [CSS$U.imageSlotted]: this.hasImage,
13394
- [CSS$U.selectable]: this.selectionMode !== "none",
13395
- [CSS$U.multiple]: this.selectionMode === "multiple",
13396
- [CSS$U.closable]: this.closable,
13397
- [CSS$U.nonInteractive]: !this.interactive,
13398
- [CSS$U.isCircle]: !this.closable &&
13424
+ [CSS$V.container]: true,
13425
+ [CSS$V.textSlotted]: this.hasText,
13426
+ [CSS$V.imageSlotted]: this.hasImage,
13427
+ [CSS$V.selectable]: this.selectionMode !== "none",
13428
+ [CSS$V.multiple]: this.selectionMode === "multiple",
13429
+ [CSS$V.closable]: this.closable,
13430
+ [CSS$V.nonInteractive]: !this.interactive,
13431
+ [CSS$V.isCircle]: !this.closable &&
13399
13432
  !this.hasText &&
13400
13433
  (!this.icon || !this.hasImage) &&
13401
13434
  (this.selectionMode === "none" ||
13402
13435
  (!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)),
13403
13436
  }, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
13404
13437
  // eslint-disable-next-line react/jsx-sort-props
13405
- ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$U.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
13438
+ ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$V.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
13406
13439
  }
13407
13440
  static get assetsDirs() { return ["assets"]; }
13408
13441
  get el() { return getElement(this); }
@@ -15724,7 +15757,7 @@ function zeroArray(array, length) {
15724
15757
 
15725
15758
  var color = Color;
15726
15759
 
15727
- const CSS$T = {
15760
+ const CSS$U = {
15728
15761
  channel: "channel",
15729
15762
  channels: "channels",
15730
15763
  colorField: "color-field",
@@ -16058,7 +16091,7 @@ class ColorPicker {
16058
16091
  const { channelMode: activeChannelMode, messages } = this;
16059
16092
  const selected = channelMode === activeChannelMode;
16060
16093
  const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
16061
- return (hAsync("calcite-tab-title", { class: CSS$T.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
16094
+ return (hAsync("calcite-tab-title", { class: CSS$U.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
16062
16095
  };
16063
16096
  this.renderChannelsTab = (channelMode) => {
16064
16097
  const { allowEmpty, channelMode: activeChannelMode, channels, messages, alphaChannel } = this;
@@ -16069,7 +16102,7 @@ class ColorPicker {
16069
16102
  : [messages.hue, messages.saturation, messages.value];
16070
16103
  const direction = getElementDir(this.el);
16071
16104
  const channelsToRender = alphaChannel ? channels : channels.slice(0, 3);
16072
- return (hAsync("calcite-tab", { class: CSS$T.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$T.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
16105
+ return (hAsync("calcite-tab", { class: CSS$U.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$U.channels, dir: "ltr" }, channelsToRender.map((channelValue, index) => {
16073
16106
  const isAlphaChannel = index === 3;
16074
16107
  if (isAlphaChannel) {
16075
16108
  channelValue =
@@ -16080,7 +16113,7 @@ class ColorPicker {
16080
16113
  }))));
16081
16114
  };
16082
16115
  this.renderChannel = (value, index, ariaLabel, direction, suffix) => {
16083
- return (hAsync("calcite-input-number", { class: CSS$T.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.handleChannelChange, onCalciteInputNumberInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
16116
+ return (hAsync("calcite-input-number", { class: CSS$U.channel, "data-channel-index": index, dir: direction, key: index, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.handleChannelChange, onCalciteInputNumberInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, scale: this.scale === "l" ? "m" : "s",
16084
16117
  // workaround to ensure input borders overlap as desired
16085
16118
  // this is because the build transforms margin-left to its
16086
16119
  // logical-prop, which is undesired as channels are always ltr
@@ -16144,6 +16177,9 @@ class ColorPicker {
16144
16177
  this.drawHueSlider();
16145
16178
  };
16146
16179
  this.initOpacitySlider = (canvas) => {
16180
+ if (!canvas) {
16181
+ return;
16182
+ }
16147
16183
  this.opacitySliderRenderingContext = canvas.getContext("2d");
16148
16184
  this.updateCanvasSize("opacity-slider");
16149
16185
  this.drawOpacitySlider();
@@ -16209,8 +16245,8 @@ class ColorPicker {
16209
16245
  this.updateChannelsFromColor(color);
16210
16246
  this.previousColor = oldColor;
16211
16247
  }
16212
- handleFormatChange(format) {
16213
- this.setMode(format);
16248
+ handleFormatOrAlphaChannelChange() {
16249
+ this.setMode(this.format);
16214
16250
  this.internalColorSet(this.color, false, "internal");
16215
16251
  }
16216
16252
  handleScaleChange(scale = "m") {
@@ -16267,7 +16303,7 @@ class ColorPicker {
16267
16303
  this.shiftKeyChannelAdjustment = 0;
16268
16304
  const { key } = event;
16269
16305
  if ((key !== "ArrowUp" && key !== "ArrowDown") ||
16270
- !event.composedPath().some((node) => node.classList?.contains(CSS$T.channel))) {
16306
+ !event.composedPath().some((node) => node.classList?.contains(CSS$U.channel))) {
16271
16307
  return;
16272
16308
  }
16273
16309
  const { shiftKey } = event;
@@ -16359,35 +16395,35 @@ class ColorPicker {
16359
16395
  const [adjustedColorFieldScopeLeft, adjustedColorFieldScopeTop] = this.getAdjustedScopePosition(colorFieldScopeLeft, colorFieldScopeTop);
16360
16396
  const [adjustedHueScopeLeft, adjustedHueScopeTop] = this.getAdjustedScopePosition(hueLeft, hueTop);
16361
16397
  const [adjustedOpacityScopeLeft, adjustedOpacityScopeTop] = this.getAdjustedScopePosition(opacityLeft, opacityTop);
16362
- return (hAsync("div", { class: CSS$T.container }, hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: CSS$T.colorField, onPointerDown: this.handleColorFieldPointerDown,
16398
+ return (hAsync("div", { class: CSS$U.container }, hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: CSS$U.colorField, onPointerDown: this.handleColorFieldPointerDown,
16363
16399
  // eslint-disable-next-line react/jsx-sort-props
16364
- ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$T.scope]: true, [CSS$T.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
16400
+ ref: this.initColorField }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$U.scope]: true, [CSS$U.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: {
16365
16401
  top: `${adjustedColorFieldScopeTop || 0}px`,
16366
16402
  left: `${adjustedColorFieldScopeLeft || 0}px`,
16367
16403
  }, tabindex: "0",
16368
16404
  // eslint-disable-next-line react/jsx-sort-props
16369
- ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$T.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$T.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$T.sliders }, hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: { [CSS$T.slider]: true, [CSS$T.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
16405
+ ref: this.storeColorFieldScope })), hAsync("div", { class: CSS$U.previewAndSliders }, hAsync("calcite-color-picker-swatch", { class: CSS$U.preview, color: selectedColorInHex, scale: "l" }), hAsync("div", { class: CSS$U.sliders }, hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: { [CSS$U.slider]: true, [CSS$U.hueSlider]: true }, onPointerDown: this.handleHueSliderPointerDown,
16370
16406
  // eslint-disable-next-line react/jsx-sort-props
16371
- ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$T.scope]: true, [CSS$T.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
16407
+ ref: this.initHueSlider }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$U.scope]: true, [CSS$U.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: {
16372
16408
  top: `${adjustedHueScopeTop}px`,
16373
16409
  left: `${adjustedHueScopeLeft}px`,
16374
16410
  }, tabindex: "0",
16375
16411
  // eslint-disable-next-line react/jsx-sort-props
16376
- ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$T.controlAndScope }, hAsync("canvas", { class: { [CSS$T.slider]: true, [CSS$T.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
16412
+ ref: this.storeHueScope })), alphaChannel ? (hAsync("div", { class: CSS$U.controlAndScope }, hAsync("canvas", { class: { [CSS$U.slider]: true, [CSS$U.opacitySlider]: true }, onPointerDown: this.handleOpacitySliderPointerDown,
16377
16413
  // eslint-disable-next-line react/jsx-sort-props
16378
- ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$T.scope]: true, [CSS$T.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
16414
+ ref: this.initOpacitySlider }), hAsync("div", { "aria-label": messages.opacity, "aria-valuemax": OPACITY_LIMITS.max, "aria-valuemin": OPACITY_LIMITS.min, "aria-valuenow": (color || DEFAULT_COLOR$1).round().alpha(), class: { [CSS$U.scope]: true, [CSS$U.opacityScope]: true }, onKeyDown: this.handleOpacityScopeKeyDown, role: "slider", style: {
16379
16415
  top: `${adjustedOpacityScopeTop}px`,
16380
16416
  left: `${adjustedOpacityScopeLeft}px`,
16381
16417
  }, tabindex: "0",
16382
16418
  // eslint-disable-next-line react/jsx-sort-props
16383
16419
  ref: this.storeOpacityScope }))) : null)), noHex && noChannels ? null : (hAsync("div", { class: {
16384
- [CSS$T.controlSection]: true,
16385
- [CSS$T.section]: true,
16386
- } }, hAsync("div", { class: CSS$T.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$T.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$T.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
16387
- [CSS$T.colorModeContainer]: true,
16388
- [CSS$T.splitSection]: true,
16389
- }, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$T.savedColorsSection]: true, [CSS$T.section]: true } }, hAsync("div", { class: CSS$T.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$T.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$T.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$T.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$T.savedColors }, [
16390
- ...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$T.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
16420
+ [CSS$U.controlSection]: true,
16421
+ [CSS$U.section]: true,
16422
+ } }, hAsync("div", { class: CSS$U.hexAndChannelsGroup }, noHex ? null : (hAsync("div", { class: CSS$U.hexOptions }, hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, alphaChannel: alphaChannel, class: CSS$U.control, messages: messages, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: scale, value: selectedColorInHex }))), noChannels ? null : (hAsync("calcite-tabs", { class: {
16423
+ [CSS$U.colorModeContainer]: true,
16424
+ [CSS$U.splitSection]: true,
16425
+ }, scale: scale === "l" ? "m" : "s" }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv")))))), noSaved ? null : (hAsync("div", { class: { [CSS$U.savedColorsSection]: true, [CSS$U.section]: true } }, hAsync("div", { class: CSS$U.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$U.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$U.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: scale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$U.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: scale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$U.savedColors }, [
16426
+ ...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { class: CSS$U.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 }))),
16391
16427
  ])) : null))));
16392
16428
  }
16393
16429
  // --------------------------------------------------------------------------
@@ -16709,9 +16745,9 @@ class ColorPicker {
16709
16745
  static get assetsDirs() { return ["assets"]; }
16710
16746
  get el() { return getElement(this); }
16711
16747
  static get watchers() { return {
16712
- "alphaChannel": ["handleAlphaChannelChange"],
16748
+ "alphaChannel": ["handleAlphaChannelChange", "handleFormatOrAlphaChannelChange"],
16713
16749
  "color": ["handleColorChange"],
16714
- "format": ["handleFormatChange"],
16750
+ "format": ["handleFormatOrAlphaChannelChange"],
16715
16751
  "scale": ["handleScaleChange"],
16716
16752
  "messageOverrides": ["onMessagesChange"],
16717
16753
  "value": ["handleValueChange"],
@@ -16758,7 +16794,7 @@ class ColorPicker {
16758
16794
  }; }
16759
16795
  }
16760
16796
 
16761
- const CSS$S = {
16797
+ const CSS$T = {
16762
16798
  container: "container",
16763
16799
  hexInput: "hex-input",
16764
16800
  opacityInput: "opacity-input",
@@ -16926,9 +16962,9 @@ class ColorPickerHexInput {
16926
16962
  const hexInputValue = this.formatHexForInternalInput(value);
16927
16963
  const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
16928
16964
  const inputScale = scale === "l" ? "m" : "s";
16929
- return (hAsync("div", { class: CSS$S.container }, hAsync("calcite-input-text", { class: CSS$S.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
16965
+ return (hAsync("div", { class: CSS$T.container }, hAsync("calcite-input-text", { class: CSS$T.hexInput, label: messages?.hex || hexLabel, maxLength: 6, onCalciteInputTextChange: this.onHexInputChange, onCalciteInternalInputTextBlur: this.onHexInputBlur, onKeyDown: this.onInputKeyDown, onPaste: this.onHexInputPaste, prefixText: "#", scale: inputScale, value: hexInputValue,
16930
16966
  // eslint-disable-next-line react/jsx-sort-props
16931
- ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$S.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
16967
+ ref: this.storeHexInputRef }), alphaChannel ? (hAsync("calcite-input-number", { class: CSS$T.opacityInput, key: "opacity-input", label: messages?.opacity, max: OPACITY_LIMITS.max, maxLength: 3, min: OPACITY_LIMITS.min, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputNumberChange: this.onOpacityInputChange, onCalciteInternalInputNumberBlur: this.onOpacityInputBlur, onKeyDown: this.onInputKeyDown, scale: inputScale, suffixText: "%", value: opacityInputValue,
16932
16968
  // eslint-disable-next-line react/jsx-sort-props
16933
16969
  ref: this.storeOpacityInputRef })) : null));
16934
16970
  }
@@ -17024,7 +17060,7 @@ class ColorPickerHexInput {
17024
17060
  }; }
17025
17061
  }
17026
17062
 
17027
- const CSS$R = {
17063
+ const CSS$S = {
17028
17064
  swatch: "swatch",
17029
17065
  noColorSwatch: "swatch--no-color",
17030
17066
  checker: "checker",
@@ -17062,8 +17098,8 @@ class ColorPickerSwatch {
17062
17098
  render() {
17063
17099
  const isEmpty = !this.internalColor;
17064
17100
  const classes = {
17065
- [CSS$R.swatch]: true,
17066
- [CSS$R.noColorSwatch]: isEmpty,
17101
+ [CSS$S.swatch]: true,
17102
+ [CSS$S.noColorSwatch]: isEmpty,
17067
17103
  };
17068
17104
  return (hAsync("svg", { class: classes, xmlns: "http://www.w3.org/2000/svg" }, this.renderSwatch()));
17069
17105
  }
@@ -17089,7 +17125,7 @@ class ColorPickerSwatch {
17089
17125
  const alpha = internalColor.alpha();
17090
17126
  const hex = hexify(internalColor);
17091
17127
  const hexa = hexify(internalColor, alpha < 1);
17092
- return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$R.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$R.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), hAsync("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), hAsync("rect", { fill: hex, style: {
17128
+ return (hAsync(Fragment, null, hAsync("title", null, hexa), hAsync("defs", null, hAsync("pattern", { height: CHECKER_DIMENSIONS.size, id: "checker", patternUnits: "userSpaceOnUse", width: CHECKER_DIMENSIONS.size, x: "0", y: "0" }, hAsync("rect", { class: CSS$S.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: "0", y: "0" }), hAsync("rect", { class: CSS$S.checker, height: CHECKER_DIMENSIONS.squareSize, width: CHECKER_DIMENSIONS.squareSize, x: CHECKER_DIMENSIONS.squareSize, y: CHECKER_DIMENSIONS.squareSize }))), hAsync("rect", { fill: "url(#checker)", height: "100%", rx: borderRadius, width: "100%" }), hAsync("rect", { fill: hex, style: {
17093
17129
  "clip-path": alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
17094
17130
  }, ...commonSwatchProps }), alpha < 1 ? (hAsync("rect", { fill: hexa, key: "opacity-fill", style: { "clip-path": "polygon(100% 0, 100% 100%, 0 100%)" }, ...commonSwatchProps })) : null));
17095
17131
  }
@@ -18818,7 +18854,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
18818
18854
  const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
18819
18855
  const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
18820
18856
  const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
18821
- const CSS$Q = {
18857
+ const CSS$R = {
18822
18858
  listContainer: "list-container",
18823
18859
  };
18824
18860
 
@@ -18843,11 +18879,11 @@ function getDepth$1(element) {
18843
18879
  }
18844
18880
  }
18845
18881
 
18846
- const CSS$P = {
18882
+ const CSS$Q = {
18847
18883
  button: "x-button",
18848
18884
  };
18849
18885
  function XButton({ disabled, key, label, onClick, ref, scale, }) {
18850
- return (hAsync("button", { "aria-label": label, class: CSS$P.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
18886
+ return (hAsync("button", { "aria-label": label, class: CSS$Q.button, disabled: disabled, key: key, onClick: onClick, tabIndex: -1, type: "button",
18851
18887
  // eslint-disable-next-line react/jsx-sort-props
18852
18888
  ref: ref },
18853
18889
  hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
@@ -19045,7 +19081,7 @@ class Combobox {
19045
19081
  event.preventDefault();
19046
19082
  return;
19047
19083
  }
19048
- if (composedPath.some((node) => node.classList?.contains(CSS$P.button))) {
19084
+ if (composedPath.some((node) => node.classList?.contains(CSS$Q.button))) {
19049
19085
  this.clearValue();
19050
19086
  event.preventDefault();
19051
19087
  return;
@@ -19651,7 +19687,7 @@ class Combobox {
19651
19687
  renderFloatingUIContainer() {
19652
19688
  const { setFloatingEl, setContainerEl, open } = this;
19653
19689
  const classes = {
19654
- [CSS$Q.listContainer]: true,
19690
+ [CSS$R.listContainer]: true,
19655
19691
  [FloatingCSS.animation]: true,
19656
19692
  [FloatingCSS.animationActive]: open,
19657
19693
  };
@@ -19748,7 +19784,7 @@ class Combobox {
19748
19784
  }; }
19749
19785
  }
19750
19786
 
19751
- const CSS$O = {
19787
+ const CSS$P = {
19752
19788
  icon: "icon",
19753
19789
  iconActive: "icon--active",
19754
19790
  iconIndent: "icon--indent",
@@ -19827,20 +19863,20 @@ class ComboboxItem {
19827
19863
  // --------------------------------------------------------------------------
19828
19864
  renderIcon(iconPath) {
19829
19865
  return this.icon ? (hAsync("calcite-icon", { class: {
19830
- [CSS$O.custom]: !!this.icon,
19831
- [CSS$O.iconActive]: this.icon && this.selected,
19832
- [CSS$O.iconIndent]: true,
19866
+ [CSS$P.custom]: !!this.icon,
19867
+ [CSS$P.iconActive]: this.icon && this.selected,
19868
+ [CSS$P.iconIndent]: true,
19833
19869
  }, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
19834
19870
  }
19835
19871
  renderSelectIndicator(showDot, iconPath) {
19836
19872
  return showDot ? (hAsync("span", { class: {
19837
- [CSS$O.icon]: true,
19838
- [CSS$O.dot]: true,
19839
- [CSS$O.iconIndent]: true,
19873
+ [CSS$P.icon]: true,
19874
+ [CSS$P.dot]: true,
19875
+ [CSS$P.iconIndent]: true,
19840
19876
  } })) : (hAsync("calcite-icon", { class: {
19841
- [CSS$O.icon]: true,
19842
- [CSS$O.iconActive]: this.selected,
19843
- [CSS$O.iconIndent]: true,
19877
+ [CSS$P.icon]: true,
19878
+ [CSS$P.iconActive]: this.selected,
19879
+ [CSS$P.iconIndent]: true,
19844
19880
  }, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
19845
19881
  }
19846
19882
  renderChildren() {
@@ -19855,10 +19891,10 @@ class ComboboxItem {
19855
19891
  const defaultIcon = isSingleSelect ? "dot" : "check";
19856
19892
  const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
19857
19893
  const classes = {
19858
- [CSS$O.label]: true,
19859
- [CSS$O.selected]: this.selected,
19860
- [CSS$O.active]: this.active,
19861
- [CSS$O.single]: isSingleSelect,
19894
+ [CSS$P.label]: true,
19895
+ [CSS$P.selected]: this.selected,
19896
+ [CSS$P.active]: this.active,
19897
+ [CSS$P.single]: isSingleSelect,
19862
19898
  };
19863
19899
  const depth = getDepth$1();
19864
19900
  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.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), hAsync("span", { class: "title" }, this.textLabel)), this.renderChildren())));
@@ -19889,7 +19925,7 @@ class ComboboxItem {
19889
19925
  }; }
19890
19926
  }
19891
19927
 
19892
- const CSS$N = {
19928
+ const CSS$O = {
19893
19929
  list: "list",
19894
19930
  label: "label",
19895
19931
  title: "title",
@@ -19926,7 +19962,7 @@ class ComboboxItemGroup {
19926
19962
  render() {
19927
19963
  const { el, scale } = this;
19928
19964
  const depth = getDepth$1();
19929
- return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$N.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$N.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$N.title }, this.label)), hAsync("slot", null)));
19965
+ return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$O.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$O.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$O.title }, this.label)), hAsync("slot", null)));
19930
19966
  }
19931
19967
  get el() { return getElement(this); }
19932
19968
  static get style() { return comboboxItemGroupCss; }
@@ -21102,7 +21138,7 @@ class DatePickerMonth {
21102
21138
  }; }
21103
21139
  }
21104
21140
 
21105
- const CSS$M = {
21141
+ const CSS$N = {
21106
21142
  header: "header",
21107
21143
  month: "month",
21108
21144
  chevron: "chevron",
@@ -21202,7 +21238,7 @@ class DatePickerMonthHeader {
21202
21238
  this.setNextPrevMonthDates();
21203
21239
  }
21204
21240
  render() {
21205
- return hAsync("div", { class: CSS$M.header }, this.renderContent());
21241
+ return hAsync("div", { class: CSS$N.header }, this.renderContent());
21206
21242
  }
21207
21243
  renderContent() {
21208
21244
  const { messages, localeData, activeDate } = this;
@@ -21225,12 +21261,12 @@ class DatePickerMonthHeader {
21225
21261
  const order = getOrder(unitOrder);
21226
21262
  const reverse = order.indexOf("y") < order.indexOf("m");
21227
21263
  const suffix = localeData.year?.suffix;
21228
- return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$M.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$M.textReverse]: reverse } }, hAsync(Heading, { class: CSS$M.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$M.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
21264
+ return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$N.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$N.textReverse]: reverse } }, hAsync(Heading, { class: CSS$N.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$N.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
21229
21265
  year: true,
21230
- [CSS$M.yearSuffix]: !!suffix,
21266
+ [CSS$N.yearSuffix]: !!suffix,
21231
21267
  }, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
21232
21268
  // eslint-disable-next-line react/jsx-sort-props
21233
- ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$M.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$M.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
21269
+ ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$N.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$N.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
21234
21270
  }
21235
21271
  setNextPrevMonthDates() {
21236
21272
  if (!this.activeDate) {
@@ -21726,7 +21762,7 @@ class Dropdown {
21726
21762
  }; }
21727
21763
  }
21728
21764
 
21729
- const CSS$L = {
21765
+ const CSS$M = {
21730
21766
  containerSmall: "container--s",
21731
21767
  containerMedium: "container--m",
21732
21768
  containerLarge: "container--l",
@@ -21759,9 +21795,9 @@ class DropdownGroup {
21759
21795
  const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
21760
21796
  return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
21761
21797
  container: true,
21762
- [CSS$L.containerSmall]: scale === "s",
21763
- [CSS$L.containerMedium]: scale === "m",
21764
- [CSS$L.containerLarge]: scale === "l",
21798
+ [CSS$M.containerSmall]: scale === "s",
21799
+ [CSS$M.containerMedium]: scale === "m",
21800
+ [CSS$M.containerLarge]: scale === "l",
21765
21801
  }, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
21766
21802
  }
21767
21803
  //--------------------------------------------------------------------------
@@ -21802,7 +21838,7 @@ class DropdownGroup {
21802
21838
  }; }
21803
21839
  }
21804
21840
 
21805
- const CSS$K = {
21841
+ const CSS$L = {
21806
21842
  containerLink: "container--link",
21807
21843
  containerSmall: "container--s",
21808
21844
  containerMedium: "container--m",
@@ -21868,9 +21904,9 @@ class DropdownItem {
21868
21904
  render() {
21869
21905
  const scale = getElementProp(this.el, "scale", this.scale);
21870
21906
  const { href, selectionMode, label, iconFlipRtl } = this;
21871
- const iconStartEl = (hAsync("calcite-icon", { class: CSS$K.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
21872
- const contentNode = (hAsync("span", { class: CSS$K.itemContent }, hAsync("slot", null)));
21873
- const iconEndEl = (hAsync("calcite-icon", { class: CSS$K.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
21907
+ const iconStartEl = (hAsync("calcite-icon", { class: CSS$L.iconStart, flipRtl: iconFlipRtl === "start" || iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
21908
+ const contentNode = (hAsync("span", { class: CSS$L.itemContent }, hAsync("slot", null)));
21909
+ const iconEndEl = (hAsync("calcite-icon", { class: CSS$L.iconEnd, flipRtl: iconFlipRtl === "end" || iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
21874
21910
  const slottedContent = this.iconStart && this.iconEnd
21875
21911
  ? [iconStartEl, contentNode, iconEndEl]
21876
21912
  : this.iconStart
@@ -21878,7 +21914,7 @@ class DropdownItem {
21878
21914
  : this.iconEnd
21879
21915
  ? [contentNode, iconEndEl]
21880
21916
  : contentNode;
21881
- const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$K.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
21917
+ const contentEl = !href ? (slottedContent) : (hAsync("a", { "aria-label": label, class: CSS$L.link, href: href, rel: this.rel, tabIndex: -1, target: this.target,
21882
21918
  // eslint-disable-next-line react/jsx-sort-props
21883
21919
  ref: (el) => (this.childLink = el) }, slottedContent));
21884
21920
  const itemRole = href
@@ -21891,14 +21927,14 @@ class DropdownItem {
21891
21927
  const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
21892
21928
  return (hAsync(Host, { "aria-checked": itemAria, "aria-label": !href ? label : "", role: itemRole, tabindex: "0" }, hAsync("div", { class: {
21893
21929
  container: true,
21894
- [CSS$K.containerLink]: !!href,
21895
- [CSS$K.containerSmall]: scale === "s",
21896
- [CSS$K.containerMedium]: scale === "m",
21897
- [CSS$K.containerLarge]: scale === "l",
21898
- [CSS$K.containerMulti]: selectionMode === "multiple",
21899
- [CSS$K.containerSingle]: selectionMode === "single",
21900
- [CSS$K.containerNone]: selectionMode === "none",
21901
- } }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$K.icon, icon: selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
21930
+ [CSS$L.containerLink]: !!href,
21931
+ [CSS$L.containerSmall]: scale === "s",
21932
+ [CSS$L.containerMedium]: scale === "m",
21933
+ [CSS$L.containerLarge]: scale === "l",
21934
+ [CSS$L.containerMulti]: selectionMode === "multiple",
21935
+ [CSS$L.containerSingle]: selectionMode === "single",
21936
+ [CSS$L.containerNone]: selectionMode === "none",
21937
+ } }, selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$L.icon, icon: selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
21902
21938
  }
21903
21939
  //--------------------------------------------------------------------------
21904
21940
  //
@@ -22004,7 +22040,7 @@ class DropdownItem {
22004
22040
  }; }
22005
22041
  }
22006
22042
 
22007
- const CSS$J = {
22043
+ const CSS$K = {
22008
22044
  button: "button",
22009
22045
  };
22010
22046
  const ICONS$c = {
@@ -22065,7 +22101,7 @@ class Fab {
22065
22101
  render() {
22066
22102
  const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl, } = this;
22067
22103
  const title = !textEnabled ? label || text || null : null;
22068
- return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$J.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
22104
+ return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$K.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
22069
22105
  // eslint-disable-next-line react/jsx-sort-props
22070
22106
  ref: (buttonEl) => {
22071
22107
  this.buttonEl = buttonEl;
@@ -22095,7 +22131,7 @@ class Fab {
22095
22131
  }; }
22096
22132
  }
22097
22133
 
22098
- const CSS$I = {
22134
+ const CSS$J = {
22099
22135
  container: "container",
22100
22136
  searchIcon: "search-icon",
22101
22137
  };
@@ -22224,7 +22260,7 @@ class Filter {
22224
22260
  // --------------------------------------------------------------------------
22225
22261
  render() {
22226
22262
  const { disabled, scale } = this;
22227
- return (hAsync(Fragment, null, hAsync("div", { class: CSS$I.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$b.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
22263
+ return (hAsync(Fragment, null, hAsync("div", { class: CSS$J.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$b.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
22228
22264
  // eslint-disable-next-line react/jsx-sort-props
22229
22265
  ref: (el) => {
22230
22266
  this.textInput = el;
@@ -22263,7 +22299,7 @@ class Filter {
22263
22299
  }; }
22264
22300
  }
22265
22301
 
22266
- const CSS$H = {
22302
+ const CSS$I = {
22267
22303
  frame: "frame",
22268
22304
  frameAdvancing: "frame--advancing",
22269
22305
  frameRetreating: "frame--retreating",
@@ -22378,9 +22414,9 @@ class Flow {
22378
22414
  render() {
22379
22415
  const { flowDirection } = this;
22380
22416
  const frameDirectionClasses = {
22381
- [CSS$H.frame]: true,
22382
- [CSS$H.frameAdvancing]: flowDirection === "advancing",
22383
- [CSS$H.frameRetreating]: flowDirection === "retreating",
22417
+ [CSS$I.frame]: true,
22418
+ [CSS$I.frameAdvancing]: flowDirection === "advancing",
22419
+ [CSS$I.frameRetreating]: flowDirection === "retreating",
22384
22420
  };
22385
22421
  return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
22386
22422
  }
@@ -22402,7 +22438,7 @@ class Flow {
22402
22438
  }; }
22403
22439
  }
22404
22440
 
22405
- const CSS$G = {
22441
+ const CSS$H = {
22406
22442
  actionBarContainer: "action-bar-container",
22407
22443
  backButton: "back-button",
22408
22444
  container: "container",
@@ -22437,7 +22473,7 @@ const SLOTS$m = {
22437
22473
  footerActions: "footer-actions",
22438
22474
  };
22439
22475
 
22440
- const CSS$F = {
22476
+ const CSS$G = {
22441
22477
  backButton: "back-button",
22442
22478
  };
22443
22479
  const ICONS$9 = {
@@ -22585,7 +22621,7 @@ class FlowItem {
22585
22621
  const { showBackButton, backButtonClick, messages } = this;
22586
22622
  const label = messages.back;
22587
22623
  const icon = rtl ? ICONS$9.backRight : ICONS$9.backLeft;
22588
- return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$F.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label, title: label,
22624
+ return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$G.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label, title: label,
22589
22625
  // eslint-disable-next-line react/jsx-sort-props
22590
22626
  ref: this.setBackRef })) : null;
22591
22627
  }
@@ -22849,7 +22885,7 @@ class Graph {
22849
22885
  }; }
22850
22886
  }
22851
22887
 
22852
- const CSS$E = {
22888
+ const CSS$F = {
22853
22889
  handle: "handle",
22854
22890
  handleActivated: "handle--activated",
22855
22891
  };
@@ -22972,7 +23008,7 @@ class Handle {
22972
23008
  render() {
22973
23009
  return (
22974
23010
  // Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
22975
- hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$E.handle]: true, [CSS$E.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages?.dragHandle,
23011
+ hAsync("span", { "aria-label": this.getAriaText("label"), "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$F.handle]: true, [CSS$F.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages?.dragHandle,
22976
23012
  // eslint-disable-next-line react/jsx-sort-props
22977
23013
  ref: (el) => {
22978
23014
  this.handleButton = el;
@@ -23011,7 +23047,7 @@ class Handle {
23011
23047
  }; }
23012
23048
  }
23013
23049
 
23014
- const CSS$D = {
23050
+ const CSS$E = {
23015
23051
  icon: "icon",
23016
23052
  flipRtl: "flip-rtl",
23017
23053
  };
@@ -23059,7 +23095,7 @@ class Icon {
23059
23095
  const semantic = !!textLabel;
23060
23096
  const paths = [].concat(pathData || "");
23061
23097
  return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
23062
- [CSS$D.flipRtl]: dir === "rtl" && flipRtl,
23098
+ [CSS$E.flipRtl]: dir === "rtl" && flipRtl,
23063
23099
  svg: true,
23064
23100
  }, 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 }))))));
23065
23101
  }
@@ -23105,7 +23141,7 @@ class Icon {
23105
23141
  }; }
23106
23142
  }
23107
23143
 
23108
- const CSS$C = {
23144
+ const CSS$D = {
23109
23145
  wrapper: "wrapper",
23110
23146
  confirmChangesButton: "confirm-changes-button",
23111
23147
  cancelEditingButton: "cancel-editing-button",
@@ -23255,16 +23291,16 @@ class InlineEditable {
23255
23291
  updateHostInteraction(this);
23256
23292
  }
23257
23293
  render() {
23258
- return (hAsync("div", { class: CSS$C.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$C.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$C.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$C.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
23294
+ return (hAsync("div", { class: CSS$D.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$D.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$D.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$D.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
23259
23295
  opacity: this.editingEnabled ? "0" : "1",
23260
23296
  width: this.editingEnabled ? "0" : "inherit",
23261
23297
  }, type: "button",
23262
23298
  // eslint-disable-next-line react/jsx-sort-props
23263
23299
  ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
23264
- hAsync("div", { class: CSS$C.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$C.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
23300
+ hAsync("div", { class: CSS$D.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$D.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
23265
23301
  // eslint-disable-next-line react/jsx-sort-props
23266
23302
  ref: (el) => (this.cancelEditingButton = el) })),
23267
- hAsync("calcite-button", { appearance: "solid", class: CSS$C.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
23303
+ hAsync("calcite-button", { appearance: "solid", class: CSS$D.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
23268
23304
  // eslint-disable-next-line react/jsx-sort-props
23269
23305
  ref: (el) => (this.confirmEditingButton = el) }),
23270
23306
  ])));
@@ -23350,7 +23386,7 @@ class InlineEditable {
23350
23386
  }; }
23351
23387
  }
23352
23388
 
23353
- const CSS$B = {
23389
+ const CSS$C = {
23354
23390
  loader: "loader",
23355
23391
  clearButton: "clear-button",
23356
23392
  editingEnabled: "editing-enabled",
@@ -23934,38 +23970,38 @@ class Input {
23934
23970
  // --------------------------------------------------------------------------
23935
23971
  render() {
23936
23972
  const dir = getElementDir(this.el);
23937
- const loader = (hAsync("div", { class: CSS$B.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
23938
- const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$B.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
23939
- const iconEl = (hAsync("calcite-icon", { class: CSS$B.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
23973
+ const loader = (hAsync("div", { class: CSS$C.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
23974
+ const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$C.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
23975
+ const iconEl = (hAsync("calcite-icon", { class: CSS$C.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
23940
23976
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
23941
23977
  const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
23942
- [CSS$B.numberButtonItem]: true,
23943
- [CSS$B.buttonItemHorizontal]: isHorizontalNumberButton,
23978
+ [CSS$C.numberButtonItem]: true,
23979
+ [CSS$C.buttonItemHorizontal]: isHorizontalNumberButton,
23944
23980
  }, "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: this.scale === "l" ? "m" : "s" })));
23945
23981
  const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
23946
- [CSS$B.numberButtonItem]: true,
23947
- [CSS$B.buttonItemHorizontal]: isHorizontalNumberButton,
23982
+ [CSS$C.numberButtonItem]: true,
23983
+ [CSS$C.buttonItemHorizontal]: isHorizontalNumberButton,
23948
23984
  }, "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: this.scale === "l" ? "m" : "s" })));
23949
- const numberButtonsVertical = (hAsync("div", { class: CSS$B.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
23950
- const prefixText = hAsync("div", { class: CSS$B.prefix }, this.prefixText);
23951
- const suffixText = hAsync("div", { class: CSS$B.suffix }, this.suffixText);
23985
+ const numberButtonsVertical = (hAsync("div", { class: CSS$C.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
23986
+ const prefixText = hAsync("div", { class: CSS$C.prefix }, this.prefixText);
23987
+ const suffixText = hAsync("div", { class: CSS$C.suffix }, this.suffixText);
23952
23988
  const localeNumberInput = this.type === "number" ? (hAsync("input", { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, multiple: this.multiple, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
23953
23989
  // eslint-disable-next-line react/jsx-sort-props
23954
23990
  ref: this.setChildNumberElRef })) : null;
23955
23991
  const childEl = this.type !== "number"
23956
23992
  ? [
23957
23993
  hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
23958
- [CSS$B.editingEnabled]: this.editingEnabled,
23959
- [CSS$B.inlineChild]: !!this.inlineEditableEl,
23994
+ [CSS$C.editingEnabled]: this.editingEnabled,
23995
+ [CSS$C.inlineChild]: !!this.inlineEditableEl,
23960
23996
  }, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value,
23961
23997
  // eslint-disable-next-line react/jsx-sort-props
23962
23998
  ref: this.setChildElRef }),
23963
- this.isTextarea ? (hAsync("div", { class: CSS$B.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null,
23999
+ this.isTextarea ? (hAsync("div", { class: CSS$C.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null,
23964
24000
  ]
23965
24001
  : null;
23966
- return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$B.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
24002
+ return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$C.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
23967
24003
  ? numberButtonsHorizontalDown
23968
- : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$B.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$B.actionWrapper }, hAsync("slot", { name: SLOTS$k.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
24004
+ : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$C.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$C.actionWrapper }, hAsync("slot", { name: SLOTS$k.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
23969
24005
  ? numberButtonsVertical
23970
24006
  : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
23971
24007
  ? numberButtonsHorizontalUp
@@ -24040,7 +24076,7 @@ class Input {
24040
24076
  }; }
24041
24077
  }
24042
24078
 
24043
- const CSS$A = {
24079
+ const CSS$B = {
24044
24080
  assistiveText: "assistive-text",
24045
24081
  menu: "menu-container",
24046
24082
  menuActive: "menu-container--active",
@@ -25475,9 +25511,9 @@ class InputDatePicker {
25475
25511
  // eslint-disable-next-line react/jsx-sort-props
25476
25512
  ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-describedby": this.placeholderTextId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
25477
25513
  // eslint-disable-next-line react/jsx-sort-props
25478
- ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$A.assistiveText, id: this.placeholderTextId }, "Date Format: ", this.localeData?.placeholder)), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
25479
- [CSS$A.menu]: true,
25480
- [CSS$A.menuActive]: this.open,
25514
+ ref: this.setStartInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "start"), hAsync("span", { "aria-hidden": "true", class: CSS$B.assistiveText, id: this.placeholderTextId }, "Date Format: ", this.localeData?.placeholder)), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
25515
+ [CSS$B.menu]: true,
25516
+ [CSS$B.menuActive]: this.open,
25481
25517
  }, id: this.dialogId, role: "dialog",
25482
25518
  // eslint-disable-next-line react/jsx-sort-props
25483
25519
  ref: this.setFloatingEl }, hAsync("div", { class: {
@@ -25496,10 +25532,10 @@ class InputDatePicker {
25496
25532
  "border-top-color-one": this.layout === "vertical" && this.range,
25497
25533
  }, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
25498
25534
  // eslint-disable-next-line react/jsx-sort-props
25499
- ref: this.setEndInput }), this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
25535
+ ref: this.setEndInput }), !this.readOnly && this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
25500
25536
  }
25501
25537
  renderToggleIcon(open) {
25502
- return (hAsync("span", { class: CSS$A.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
25538
+ return (hAsync("span", { class: CSS$B.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
25503
25539
  }
25504
25540
  setReferenceEl() {
25505
25541
  const { focusedInput, layout, endWrapper, startWrapper } = this;
@@ -25747,7 +25783,7 @@ class InputMessage {
25747
25783
  }; }
25748
25784
  }
25749
25785
 
25750
- const CSS$z = {
25786
+ const CSS$A = {
25751
25787
  loader: "loader",
25752
25788
  clearButton: "clear-button",
25753
25789
  editingEnabled: "editing-enabled",
@@ -26256,27 +26292,27 @@ class InputNumber {
26256
26292
  // --------------------------------------------------------------------------
26257
26293
  render() {
26258
26294
  const dir = getElementDir(this.el);
26259
- const loader = (hAsync("div", { class: CSS$z.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
26260
- const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$z.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
26261
- const iconEl = (hAsync("calcite-icon", { class: CSS$z.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
26295
+ const loader = (hAsync("div", { class: CSS$A.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
26296
+ const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$A.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
26297
+ const iconEl = (hAsync("calcite-icon", { class: CSS$A.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
26262
26298
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
26263
26299
  const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
26264
- [CSS$z.numberButtonItem]: true,
26265
- [CSS$z.buttonItemHorizontal]: isHorizontalNumberButton,
26300
+ [CSS$A.numberButtonItem]: true,
26301
+ [CSS$A.buttonItemHorizontal]: isHorizontalNumberButton,
26266
26302
  }, "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: this.scale === "l" ? "m" : "s" })));
26267
26303
  const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
26268
- [CSS$z.numberButtonItem]: true,
26269
- [CSS$z.buttonItemHorizontal]: isHorizontalNumberButton,
26304
+ [CSS$A.numberButtonItem]: true,
26305
+ [CSS$A.buttonItemHorizontal]: isHorizontalNumberButton,
26270
26306
  }, "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: this.scale === "l" ? "m" : "s" })));
26271
- const numberButtonsVertical = (hAsync("div", { class: CSS$z.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
26272
- const prefixText = hAsync("div", { class: CSS$z.prefix }, this.prefixText);
26273
- const suffixText = hAsync("div", { class: CSS$z.suffix }, this.suffixText);
26307
+ const numberButtonsVertical = (hAsync("div", { class: CSS$A.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
26308
+ const prefixText = hAsync("div", { class: CSS$A.prefix }, this.prefixText);
26309
+ const suffixText = hAsync("div", { class: CSS$A.suffix }, this.suffixText);
26274
26310
  const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.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, type: "text", value: this.localizedValue,
26275
26311
  // eslint-disable-next-line react/jsx-sort-props
26276
26312
  ref: this.setChildNumberElRef }));
26277
- return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$z.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
26313
+ return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$A.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
26278
26314
  ? numberButtonsHorizontalDown
26279
- : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$z.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$z.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
26315
+ : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$A.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$A.actionWrapper }, hAsync("slot", { name: SLOTS$j.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
26280
26316
  ? numberButtonsHorizontalUp
26281
26317
  : null, hAsync(HiddenFormInputSlot, { component: this }))));
26282
26318
  }
@@ -26343,7 +26379,7 @@ class InputNumber {
26343
26379
  }; }
26344
26380
  }
26345
26381
 
26346
- const CSS$y = {
26382
+ const CSS$z = {
26347
26383
  loader: "loader",
26348
26384
  clearButton: "clear-button",
26349
26385
  editingEnabled: "editing-enabled",
@@ -26643,18 +26679,18 @@ class InputText {
26643
26679
  // --------------------------------------------------------------------------
26644
26680
  render() {
26645
26681
  const dir = getElementDir(this.el);
26646
- const loader = (hAsync("div", { class: CSS$y.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
26647
- const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$y.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
26648
- const iconEl = (hAsync("calcite-icon", { class: CSS$y.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
26649
- const prefixText = hAsync("div", { class: CSS$y.prefix }, this.prefixText);
26650
- const suffixText = hAsync("div", { class: CSS$y.suffix }, this.suffixText);
26682
+ const loader = (hAsync("div", { class: CSS$z.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
26683
+ const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$z.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
26684
+ const iconEl = (hAsync("calcite-icon", { class: CSS$z.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
26685
+ const prefixText = hAsync("div", { class: CSS$z.prefix }, this.prefixText);
26686
+ const suffixText = hAsync("div", { class: CSS$z.suffix }, this.suffixText);
26651
26687
  const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
26652
- [CSS$y.editingEnabled]: this.editingEnabled,
26653
- [CSS$y.inlineChild]: !!this.inlineEditableEl,
26688
+ [CSS$z.editingEnabled]: this.editingEnabled,
26689
+ [CSS$z.inlineChild]: !!this.inlineEditableEl,
26654
26690
  }, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
26655
26691
  // eslint-disable-next-line react/jsx-sort-props
26656
26692
  ref: this.setChildElRef }));
26657
- return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$y.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$y.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$y.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
26693
+ return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$z.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$z.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$z.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
26658
26694
  }
26659
26695
  static get assetsDirs() { return ["assets"]; }
26660
26696
  get el() { return getElement(this); }
@@ -26892,7 +26928,7 @@ function toISOTimeString(value, includeSeconds = true) {
26892
26928
  return isoTimeString;
26893
26929
  }
26894
26930
 
26895
- const CSS$x = {
26931
+ const CSS$y = {
26896
26932
  toggleIcon: "toggle-icon",
26897
26933
  };
26898
26934
 
@@ -28557,14 +28593,14 @@ class InputTimePicker {
28557
28593
  const { disabled, messages, readOnly, dialogId } = this;
28558
28594
  return (hAsync(Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
28559
28595
  // eslint-disable-next-line react/jsx-sort-props
28560
- ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
28596
+ ref: this.setCalciteInputEl }), !this.readOnly && this.renderToggleIcon(this.open)), hAsync("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
28561
28597
  // eslint-disable-next-line react/jsx-sort-props
28562
28598
  ref: this.setCalcitePopoverEl }, hAsync("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
28563
28599
  // eslint-disable-next-line react/jsx-sort-props
28564
28600
  ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
28565
28601
  }
28566
28602
  renderToggleIcon(open) {
28567
- return (hAsync("span", { class: CSS$x.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
28603
+ return (hAsync("span", { class: CSS$y.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
28568
28604
  }
28569
28605
  static get delegatesFocus() { return true; }
28570
28606
  static get assetsDirs() { return ["assets"]; }
@@ -28808,7 +28844,7 @@ class InputTimeZone {
28808
28844
  }; }
28809
28845
  }
28810
28846
 
28811
- const CSS$w = {
28847
+ const CSS$x = {
28812
28848
  container: "container",
28813
28849
  };
28814
28850
 
@@ -28848,7 +28884,7 @@ class Label {
28848
28884
  document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
28849
28885
  }
28850
28886
  render() {
28851
- return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$w.container }, hAsync("slot", null))));
28887
+ return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$x.container }, hAsync("slot", null))));
28852
28888
  }
28853
28889
  get el() { return getElement(this); }
28854
28890
  static get style() { return labelCss; }
@@ -28983,7 +29019,7 @@ class Link {
28983
29019
  }; }
28984
29020
  }
28985
29021
 
28986
- const CSS$v = {
29022
+ const CSS$w = {
28987
29023
  container: "container",
28988
29024
  containerBorderSelected: "container--border-selected",
28989
29025
  containerBorderUnselected: "container--border-unselected",
@@ -29050,7 +29086,7 @@ function getDepth(element, includeGroup = false) {
29050
29086
  }
29051
29087
  }
29052
29088
 
29053
- const CSS$u = {
29089
+ const CSS$v = {
29054
29090
  container: "container",
29055
29091
  table: "table",
29056
29092
  scrim: "scrim",
@@ -32161,7 +32197,7 @@ function onSortingEnd(activeComponent) {
32161
32197
  getNestedSortableComponents(activeComponent).forEach((component) => inactiveSortableComponentSet.delete(component));
32162
32198
  }
32163
32199
 
32164
- const CSS$t = {
32200
+ const CSS$u = {
32165
32201
  container: "container",
32166
32202
  actionsStart: "actions-start",
32167
32203
  contentStart: "content-start",
@@ -32261,8 +32297,6 @@ class List$1 {
32261
32297
  if (!!this.parentListEl) {
32262
32298
  const items = this.queryListItems(true);
32263
32299
  items.forEach((item) => {
32264
- item.selectionAppearance = selectionAppearance;
32265
- item.selectionMode = selectionMode;
32266
32300
  item.dragHandle = dragEnabled;
32267
32301
  });
32268
32302
  this.setUpSorting();
@@ -32272,6 +32306,9 @@ class List$1 {
32272
32306
  items.forEach((item) => {
32273
32307
  item.selectionAppearance = selectionAppearance;
32274
32308
  item.selectionMode = selectionMode;
32309
+ });
32310
+ const dragItems = this.queryListItems(true);
32311
+ dragItems.forEach((item) => {
32275
32312
  item.dragHandle = dragEnabled;
32276
32313
  });
32277
32314
  this.listItems = items;
@@ -32479,9 +32516,9 @@ class List$1 {
32479
32516
  // --------------------------------------------------------------------------
32480
32517
  render() {
32481
32518
  const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText, hasFilterActionsStart, hasFilterActionsEnd, } = this;
32482
- return (hAsync("div", { class: CSS$u.container }, this.dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: CSS$u.assistiveText }, this.assistiveText)) : null, loading ? hAsync("calcite-scrim", { class: CSS$u.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$u.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$u.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-stack", { class: CSS$u.stack }, hAsync("slot", { name: SLOTS$g.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: SLOTS$f.actionsStart }), hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
32519
+ return (hAsync("div", { class: CSS$v.container }, this.dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: CSS$v.assistiveText }, this.assistiveText)) : null, loading ? hAsync("calcite-scrim", { class: CSS$v.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$v.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$v.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-stack", { class: CSS$v.stack }, hAsync("slot", { name: SLOTS$g.filterActionsStart, onSlotchange: this.handleFilterActionsStartSlotChange, slot: SLOTS$f.actionsStart }), hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilterChange, placeholder: filterPlaceholder, value: filterText,
32483
32520
  // eslint-disable-next-line react/jsx-sort-props
32484
- ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$g.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$f.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$u.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
32521
+ ref: this.setFilterEl }), hAsync("slot", { name: SLOTS$g.filterActionsEnd, onSlotchange: this.handleFilterActionsEndSlotChange, slot: SLOTS$f.actionsEnd })))))) : null, hAsync("tbody", { class: CSS$v.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
32485
32522
  }
32486
32523
  // --------------------------------------------------------------------------
32487
32524
  //
@@ -32896,47 +32933,47 @@ class ListItem {
32896
32933
  if (selectionMode === "none" || selectionAppearance === "border") {
32897
32934
  return null;
32898
32935
  }
32899
- return (hAsync("td", { class: CSS$v.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
32936
+ return (hAsync("td", { class: CSS$w.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
32900
32937
  ? selectionMode === "multiple"
32901
32938
  ? ICONS$7.selectedMultiple
32902
32939
  : ICONS$7.selectedSingle
32903
32940
  : ICONS$7.unselected, scale: "s" })));
32904
32941
  }
32905
32942
  renderDragHandle() {
32906
- return this.dragHandle ? (hAsync("td", { class: CSS$v.dragContainer, key: "drag-handle-container" }, hAsync("calcite-handle", { label: this.label, setPosition: this.setPosition, setSize: this.setSize }))) : null;
32943
+ return this.dragHandle ? (hAsync("td", { class: CSS$w.dragContainer, key: "drag-handle-container" }, hAsync("calcite-handle", { label: this.label, setPosition: this.setPosition, setSize: this.setSize }))) : null;
32907
32944
  }
32908
32945
  renderOpen() {
32909
32946
  const { el, open, openable, parentListEl } = this;
32910
32947
  const dir = getElementDir(el);
32911
- return openable ? (hAsync("td", { class: CSS$v.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$7.open : dir === "rtl" ? ICONS$7.closedRTL : ICONS$7.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$v.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$7.blank, scale: "s" }))) : null;
32948
+ return openable ? (hAsync("td", { class: CSS$w.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$7.open : dir === "rtl" ? ICONS$7.closedRTL : ICONS$7.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$w.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$7.blank, scale: "s" }))) : null;
32912
32949
  }
32913
32950
  renderActionsStart() {
32914
32951
  const { label, hasActionsStart } = this;
32915
- return (hAsync("td", { "aria-label": label, class: CSS$v.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
32952
+ return (hAsync("td", { "aria-label": label, class: CSS$w.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
32916
32953
  // eslint-disable-next-line react/jsx-sort-props
32917
32954
  ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$h.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
32918
32955
  }
32919
32956
  renderActionsEnd() {
32920
32957
  const { label, hasActionsEnd, closable, messages } = this;
32921
- return (hAsync("td", { "aria-label": label, class: CSS$v.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
32958
+ return (hAsync("td", { "aria-label": label, class: CSS$w.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
32922
32959
  // eslint-disable-next-line react/jsx-sort-props
32923
32960
  ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$h.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$7.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
32924
32961
  }
32925
32962
  renderContentStart() {
32926
32963
  const { hasContentStart } = this;
32927
- return (hAsync("div", { class: CSS$v.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$h.contentStart, onSlotchange: this.handleContentStartSlotChange })));
32964
+ return (hAsync("div", { class: CSS$w.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$h.contentStart, onSlotchange: this.handleContentStartSlotChange })));
32928
32965
  }
32929
32966
  renderCustomContent() {
32930
32967
  const { hasCustomContent } = this;
32931
- return (hAsync("div", { class: CSS$v.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$h.content, onSlotchange: this.handleContentSlotChange })));
32968
+ return (hAsync("div", { class: CSS$w.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$h.content, onSlotchange: this.handleContentSlotChange })));
32932
32969
  }
32933
32970
  renderContentEnd() {
32934
32971
  const { hasContentEnd } = this;
32935
- return (hAsync("div", { class: CSS$v.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$h.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
32972
+ return (hAsync("div", { class: CSS$w.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$h.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
32936
32973
  }
32937
32974
  renderContentProperties() {
32938
32975
  const { label, description, hasCustomContent } = this;
32939
- return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$v.content, key: "content" }, label ? (hAsync("div", { class: CSS$v.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$v.description, key: "description" }, description)) : null)) : null;
32976
+ return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$w.content, key: "content" }, label ? (hAsync("div", { class: CSS$w.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$w.description, key: "description" }, description)) : null)) : null;
32940
32977
  }
32941
32978
  renderContentContainer() {
32942
32979
  const { description, label, selectionMode, hasCustomContent } = this;
@@ -32948,9 +32985,9 @@ class ListItem {
32948
32985
  this.renderContentEnd(),
32949
32986
  ];
32950
32987
  return (hAsync("td", { "aria-label": label, class: {
32951
- [CSS$v.contentContainer]: true,
32952
- [CSS$v.contentContainerSelectable]: selectionMode !== "none",
32953
- [CSS$v.contentContainerHasCenterContent]: hasCenterContent,
32988
+ [CSS$w.contentContainer]: true,
32989
+ [CSS$w.contentContainerSelectable]: selectionMode !== "none",
32990
+ [CSS$w.contentContainerHasCenterContent]: hasCenterContent,
32954
32991
  }, key: "content-container", onClick: this.itemClicked, role: "gridcell",
32955
32992
  // eslint-disable-next-line react/jsx-sort-props
32956
32993
  ref: (el) => (this.contentEl = el) }, content));
@@ -32961,14 +32998,14 @@ class ListItem {
32961
32998
  const borderSelected = showBorder && selected;
32962
32999
  const borderUnselected = showBorder && !selected;
32963
33000
  return (hAsync(Host, null, hAsync("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
32964
- [CSS$v.container]: true,
32965
- [CSS$v.containerBorderSelected]: borderSelected,
32966
- [CSS$v.containerBorderUnselected]: borderUnselected,
33001
+ [CSS$w.container]: true,
33002
+ [CSS$w.containerBorderSelected]: borderSelected,
33003
+ [CSS$w.containerBorderUnselected]: borderUnselected,
32967
33004
  }, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
32968
33005
  // eslint-disable-next-line react/jsx-sort-props
32969
33006
  ref: (el) => (this.containerEl = el) }, this.renderDragHandle(), this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
32970
- [CSS$v.nestedContainer]: true,
32971
- [CSS$v.nestedContainerHidden]: openable && !open,
33007
+ [CSS$w.nestedContainer]: true,
33008
+ [CSS$w.nestedContainerHidden]: openable && !open,
32972
33009
  } }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange, ref: (el) => (this.defaultSlotEl = el) }))));
32973
33010
  }
32974
33011
  // --------------------------------------------------------------------------
@@ -33058,7 +33095,7 @@ class ListItem {
33058
33095
  }; }
33059
33096
  }
33060
33097
 
33061
- const CSS$s = {
33098
+ const CSS$t = {
33062
33099
  container: "container",
33063
33100
  heading: "heading",
33064
33101
  };
@@ -33107,7 +33144,7 @@ class ListItemGroup {
33107
33144
  // --------------------------------------------------------------------------
33108
33145
  render() {
33109
33146
  const { heading, visualLevel } = this;
33110
- return (hAsync(Host, null, hAsync("tr", { class: CSS$s.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$s.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
33147
+ return (hAsync(Host, null, hAsync("tr", { class: CSS$t.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$t.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })));
33111
33148
  }
33112
33149
  get el() { return getElement(this); }
33113
33150
  static get style() { return listItemGroupCss; }
@@ -33207,6 +33244,349 @@ class Loader {
33207
33244
  }; }
33208
33245
  }
33209
33246
 
33247
+ const CSS$s = {
33248
+ container: "container",
33249
+ fill: "fill",
33250
+ stepLine: "step-line",
33251
+ label: "label",
33252
+ labelHidden: "label-hidden",
33253
+ labelRange: "label-range",
33254
+ labelValue: "label-value",
33255
+ unitLabel: "unit-label",
33256
+ stepsVisible: "steps-visible",
33257
+ valueVisible: "value-visible",
33258
+ success: "fill-success",
33259
+ warning: "fill-warning",
33260
+ danger: "fill-danger",
33261
+ };
33262
+
33263
+ const meterCss = "/*!@:host([disabled])*/[disabled].sc-calcite-meter-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-meter-h *.sc-calcite-meter,.sc-calcite-meter-h[disabled] .sc-calcite-meter-s>*{pointer-events:none}/*!@:host([hidden])*/[hidden].sc-calcite-meter-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-meter{display:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-meter-h[disabled] .sc-calcite-meter-s>[calcite-hydrated][disabled],[disabled].sc-calcite-meter-h [calcite-hydrated][disabled].sc-calcite-meter{opacity:1}/*!@:host*/.sc-calcite-meter-h{display:flex;--calcite-meter-space-internal:0.125rem;--calcite-meter-height-internal:1rem;--calcite-meter-font-size-internal:var(--calcite-font-size--1)}/*!@:host([scale=s])*/[scale=s].sc-calcite-meter-h{--calcite-meter-height-internal:0.75rem;--calcite-meter-font-size-internal:var(--calcite-font-size--2)}/*!@:host([scale=l])*/[scale=l].sc-calcite-meter-h{--calcite-meter-height-internal:1.5rem;--calcite-meter-font-size-internal:var(--calcite-font-size-0)}/*!@.container*/.container.sc-calcite-meter{position:relative;margin:0px;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-ui-foreground-2);border:1px solid var(--calcite-ui-border-3);border-radius:var(--calcite-meter-height-internal)}/*!@.solid*/.solid.sc-calcite-meter{border:1px solid var(--calcite-ui-foreground-3);background-color:var(--calcite-ui-foreground-3)}/*!@.outline*/.outline.sc-calcite-meter{background-color:transparent}/*!@.value-visible*/.value-visible.sc-calcite-meter{margin-block-start:1.5rem}/*!@.steps-visible*/.steps-visible.sc-calcite-meter{margin-block-end:1.5rem}/*!@.step-line*/.step-line.sc-calcite-meter{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-ui-border-3)}/*!@.label*/.label.sc-calcite-meter{position:absolute;font-size:var(--calcite-meter-font-size-internal)}/*!@.label-hidden*/.label-hidden.sc-calcite-meter{visibility:hidden;opacity:0}/*!@.label-value*/.label-value.sc-calcite-meter{inset-block-end:calc(100% + 0.5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}/*!@.label-range*/.label-range.sc-calcite-meter{color:var(--calcite-ui-text-3);inset-block-start:calc(100% + 0.5em)}/*!@.unit-label*/.unit-label.sc-calcite-meter{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3)}/*!@.label-value .unit-label*/.label-value.sc-calcite-meter .unit-label.sc-calcite-meter{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}/*!@.fill*/.fill.sc-calcite-meter{position:absolute;z-index:var(--calcite-app-z-index);display:block;background-color:var(--calcite-ui-brand);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size, background-color, box-shadow}/*!@.fill-danger*/.fill-danger.sc-calcite-meter{background-color:var(--calcite-ui-danger)}/*!@.fill-success*/.fill-success.sc-calcite-meter{background-color:var(--calcite-ui-success)}/*!@.fill-warning*/.fill-warning.sc-calcite-meter{background-color:var(--calcite-ui-warning)}/*!@.solid .fill*/.solid.sc-calcite-meter .fill.sc-calcite-meter{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-ui-brand)}/*!@.solid .fill-danger*/.solid.sc-calcite-meter .fill-danger.sc-calcite-meter{box-shadow:0 0 0 1px var(--calcite-ui-danger)}/*!@.solid .fill-success*/.solid.sc-calcite-meter .fill-success.sc-calcite-meter{box-shadow:0 0 0 1px var(--calcite-ui-success)}/*!@.solid .fill-warning*/.solid.sc-calcite-meter .fill-warning.sc-calcite-meter{box-shadow:0 0 0 1px var(--calcite-ui-warning)}";
33264
+
33265
+ class Meter {
33266
+ constructor(hostRef) {
33267
+ registerInstance(this, hostRef);
33268
+ this.labelFlipMax = 0.8;
33269
+ this.labelFlipProximity = 0.15;
33270
+ this.maxPercent = 100;
33271
+ this.minPercent = 0;
33272
+ this.resizeObserver = createObserver();
33273
+ this.formatLabel = (value, labelType) => {
33274
+ if (labelType === "percent") {
33275
+ if (!this.percentFormatting) {
33276
+ const locale = getSupportedLocale(this.effectiveLocale);
33277
+ const formatter = new Intl.NumberFormat(locale, {
33278
+ useGrouping: this.groupSeparator,
33279
+ style: "percent",
33280
+ });
33281
+ this.percentFormatting = { formatter, locale };
33282
+ }
33283
+ return this.percentFormatting.formatter.format(value);
33284
+ }
33285
+ else {
33286
+ numberStringFormatter.numberFormatOptions = {
33287
+ locale: this.effectiveLocale,
33288
+ numberingSystem: this.numberingSystem,
33289
+ useGrouping: this.groupSeparator,
33290
+ };
33291
+ return numberStringFormatter.localize(value.toString());
33292
+ }
33293
+ };
33294
+ this.appearance = "outline-fill";
33295
+ this.disabled = false;
33296
+ this.fillType = "range";
33297
+ this.form = undefined;
33298
+ this.groupSeparator = false;
33299
+ this.high = undefined;
33300
+ this.label = undefined;
33301
+ this.low = undefined;
33302
+ this.max = 100;
33303
+ this.min = 0;
33304
+ this.name = undefined;
33305
+ this.numberingSystem = undefined;
33306
+ this.rangeLabels = false;
33307
+ this.rangeLabelType = "percent";
33308
+ this.scale = "m";
33309
+ this.unitLabel = "";
33310
+ this.value = undefined;
33311
+ this.valueLabel = false;
33312
+ this.valueLabelType = "percent";
33313
+ this.currentPercent = undefined;
33314
+ this.effectiveLocale = undefined;
33315
+ this.highActive = undefined;
33316
+ this.highPercent = undefined;
33317
+ this.lowActive = undefined;
33318
+ this.lowPercent = undefined;
33319
+ }
33320
+ handleRangeChange() {
33321
+ this.calculateValues();
33322
+ this.updateLabels();
33323
+ }
33324
+ handleLabelChange() {
33325
+ this.updateLabels();
33326
+ }
33327
+ //--------------------------------------------------------------------------
33328
+ //
33329
+ // Lifecycle
33330
+ //
33331
+ //--------------------------------------------------------------------------
33332
+ async componentWillLoad() {
33333
+ setUpLoadableComponent(this);
33334
+ this.calculateValues();
33335
+ afterConnectDefaultValueSet(this, this.value);
33336
+ }
33337
+ componentDidLoad() {
33338
+ setComponentLoaded(this);
33339
+ this.updateLabels();
33340
+ }
33341
+ connectedCallback() {
33342
+ connectLocalized(this);
33343
+ connectForm(this);
33344
+ this.resizeObserver?.observe(this.el);
33345
+ }
33346
+ disconnectedCallback() {
33347
+ disconnectLocalized(this);
33348
+ disconnectForm(this);
33349
+ this.resizeObserver?.disconnect();
33350
+ }
33351
+ //--------------------------------------------------------------------------
33352
+ //
33353
+ // Private Methods
33354
+ //
33355
+ //--------------------------------------------------------------------------
33356
+ resizeHandler() {
33357
+ this.updateLabels();
33358
+ }
33359
+ updateLabels() {
33360
+ if (this.valueLabelEl) {
33361
+ this.determineValueLabelPosition();
33362
+ }
33363
+ if (this.rangeLabels) {
33364
+ this.determineVisibleLabels();
33365
+ }
33366
+ }
33367
+ calculateValues() {
33368
+ const { min, max, low, high, value } = this;
33369
+ const lowPercent = (100 * (low - min)) / (max - min);
33370
+ const highPercent = (100 * (high - min)) / (max - min);
33371
+ const currentPercent = (100 * (value - min)) / (max - min);
33372
+ if (!low || low < min || low > high || low > max) {
33373
+ this.low = min;
33374
+ }
33375
+ if (!high || high > max || high < low || high < min) {
33376
+ this.high = max;
33377
+ }
33378
+ if (!value) {
33379
+ this.value = min;
33380
+ }
33381
+ this.lowPercent = lowPercent;
33382
+ this.highPercent = highPercent;
33383
+ this.currentPercent = value ? currentPercent : 0;
33384
+ this.lowActive = !!low && low > min && (!value || low > value) && (!high || low < high);
33385
+ this.highActive =
33386
+ !!high && min <= high && high < max && (!value || high > value) && (!low || high > low);
33387
+ }
33388
+ getMeterKindCssClass() {
33389
+ const { low, high, min, max, value } = this;
33390
+ const lowest = low ? low : min;
33391
+ const highest = high ? high : max;
33392
+ const aboveLowest = value >= lowest;
33393
+ const belowLowest = value < lowest;
33394
+ const aboveHighest = value >= highest;
33395
+ const belowHighest = value < highest;
33396
+ if (!value || (!low && belowHighest) || belowLowest) {
33397
+ return CSS$s.success;
33398
+ }
33399
+ else if (aboveLowest && belowHighest) {
33400
+ return CSS$s.warning;
33401
+ }
33402
+ else if (aboveHighest) {
33403
+ return CSS$s.danger;
33404
+ }
33405
+ else {
33406
+ return CSS$s.success;
33407
+ }
33408
+ }
33409
+ intersects(el1, el2) {
33410
+ return el1 && el2 && intersects(el1.getBoundingClientRect(), el2.getBoundingClientRect());
33411
+ }
33412
+ determineVisibleLabels() {
33413
+ const { minLabelEl, lowLabelEl, highLabelEl, maxLabelEl } = this;
33414
+ const highMaxOverlap = this.intersects(highLabelEl, maxLabelEl);
33415
+ const lowHighOverlap = this.intersects(lowLabelEl, highLabelEl);
33416
+ const lowMaxOverlap = this.intersects(lowLabelEl, maxLabelEl);
33417
+ const minHighOverlap = this.intersects(minLabelEl, highLabelEl);
33418
+ const minLowOverlap = this.intersects(minLabelEl, lowLabelEl);
33419
+ const minMaxOverlap = this.intersects(minLabelEl, maxLabelEl);
33420
+ const hiddenClass = CSS$s.labelHidden;
33421
+ if (lowLabelEl) {
33422
+ if (minLowOverlap || lowMaxOverlap || lowHighOverlap) {
33423
+ lowLabelEl.classList.add(hiddenClass);
33424
+ }
33425
+ else {
33426
+ lowLabelEl.classList.remove(hiddenClass);
33427
+ }
33428
+ }
33429
+ if (highLabelEl) {
33430
+ if (minHighOverlap || lowMaxOverlap || highMaxOverlap) {
33431
+ highLabelEl.classList.add(hiddenClass);
33432
+ }
33433
+ else {
33434
+ highLabelEl.classList.remove(hiddenClass);
33435
+ }
33436
+ }
33437
+ if (minLabelEl && maxLabelEl) {
33438
+ if (minMaxOverlap) {
33439
+ maxLabelEl.classList.add(hiddenClass);
33440
+ }
33441
+ else {
33442
+ maxLabelEl.classList.remove(hiddenClass);
33443
+ }
33444
+ }
33445
+ }
33446
+ determineValueLabelPosition() {
33447
+ const { valueLabelEl, meterContainerEl, currentPercent } = this;
33448
+ const valuePosition = currentPercent > 100 ? 100 : currentPercent > 0 ? currentPercent : 0;
33449
+ const valueLabelWidth = valueLabelEl.getBoundingClientRect().width;
33450
+ const containerWidth = meterContainerEl.getBoundingClientRect().width;
33451
+ const labelWidthPercent = (100 * (valueLabelWidth - 0)) / (containerWidth - 0);
33452
+ if (valuePosition + labelWidthPercent >= 100) {
33453
+ valueLabelEl.style.insetInlineEnd = "0%";
33454
+ valueLabelEl.style.removeProperty("inset-inline-start");
33455
+ }
33456
+ else {
33457
+ valueLabelEl.style.insetInlineStart = `${valuePosition}% `;
33458
+ valueLabelEl.style.removeProperty("inset-inline-end");
33459
+ }
33460
+ }
33461
+ //--------------------------------------------------------------------------
33462
+ //
33463
+ // Render Methods
33464
+ //
33465
+ //--------------------------------------------------------------------------
33466
+ renderMeterFill() {
33467
+ const { currentPercent, fillType } = this;
33468
+ const kindClass = this.getMeterKindCssClass();
33469
+ return (hAsync("div", { class: { [CSS$s.fill]: true, [kindClass]: fillType !== "single" }, style: { width: `${currentPercent}%` } }));
33470
+ }
33471
+ renderRangeLine(position) {
33472
+ const style = { insetInlineStart: `${position}%` };
33473
+ return hAsync("div", { class: CSS$s.stepLine, style: style });
33474
+ }
33475
+ renderValueLabel() {
33476
+ const { currentPercent, valueLabelType, unitLabel, value } = this;
33477
+ const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
33478
+ return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelValue]: true }, key: "low-label-line",
33479
+ // eslint-disable-next-line react/jsx-sort-props
33480
+ ref: (el) => (this.valueLabelEl = el) }, label, unitLabel && valueLabelType !== "percent" && (hAsync("span", { class: CSS$s.unitLabel }, "\u00A0", unitLabel))));
33481
+ }
33482
+ renderMinLabel() {
33483
+ const { rangeLabelType, min, minPercent, unitLabel } = this;
33484
+ const style = { insetInlineStart: `${minPercent}%` };
33485
+ const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
33486
+ return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "min-label-line", style: style,
33487
+ // eslint-disable-next-line react/jsx-sort-props
33488
+ ref: (el) => (this.minLabelEl = el) }, labelMin, unitLabel && rangeLabelType !== "percent" && (hAsync("span", { class: CSS$s.unitLabel }, "\u00A0", unitLabel))));
33489
+ }
33490
+ renderLowLabel() {
33491
+ const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
33492
+ const label = low
33493
+ ? this.formatLabel(rangeLabelType === "percent" ? lowPercent / 100 : low, rangeLabelType)
33494
+ : "";
33495
+ const styleDefault = { insetInlineStart: `${lowPercent}%` };
33496
+ const styleFlipped = { insetInlineEnd: `${100 - lowPercent}%` };
33497
+ const style = (highPercent - lowPercent) / 100 < labelFlipProximity ? styleFlipped : styleDefault;
33498
+ return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "low-label-line", style: style,
33499
+ // eslint-disable-next-line react/jsx-sort-props
33500
+ ref: (el) => (this.lowLabelEl = el) }, label));
33501
+ }
33502
+ renderHighLabel() {
33503
+ const { rangeLabelType, high, highPercent, labelFlipMax } = this;
33504
+ const label = high
33505
+ ? this.formatLabel(rangeLabelType === "percent" ? highPercent / 100 : high, rangeLabelType)
33506
+ : "";
33507
+ const styleDefault = { insetInlineStart: `${highPercent}%` };
33508
+ const styleFlipped = { insetInlineEnd: `${100 - highPercent}%` };
33509
+ const style = highPercent / 100 >= labelFlipMax ? styleFlipped : styleDefault;
33510
+ return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "high-label-line", style: style,
33511
+ // eslint-disable-next-line react/jsx-sort-props
33512
+ ref: (el) => (this.highLabelEl = el) }, label));
33513
+ }
33514
+ renderMaxLabel() {
33515
+ const { rangeLabelType, max, maxPercent } = this;
33516
+ const style = { insetInlineEnd: `${100 - maxPercent}%` };
33517
+ const labelMax = this.formatLabel(rangeLabelType === "percent" ? maxPercent / 100 : max, rangeLabelType);
33518
+ return (hAsync("div", { class: { [CSS$s.label]: true, [CSS$s.labelRange]: true }, key: "max-label-line", style: style,
33519
+ // eslint-disable-next-line react/jsx-sort-props
33520
+ ref: (el) => (this.maxLabelEl = el) }, labelMax));
33521
+ }
33522
+ render() {
33523
+ const { appearance, currentPercent, highActive, highPercent, label, lowActive, lowPercent, max, maxPercent, min, minPercent, rangeLabels, rangeLabelType, unitLabel, value, valueLabel, valueLabelType, } = this;
33524
+ const textPercentLabelWithPercent = this.formatLabel(currentPercent / 100, "percent");
33525
+ const textUnitLabel = `${value} ${unitLabel}`;
33526
+ const valueText = valueLabelType === "percent"
33527
+ ? textPercentLabelWithPercent
33528
+ : unitLabel
33529
+ ? textUnitLabel
33530
+ : undefined;
33531
+ return (hAsync(Host, null, hAsync("div", { "aria-label": label, "aria-valuemax": rangeLabelType === "percent" ? maxPercent : max, "aria-valuemin": rangeLabelType === "percent" ? minPercent : min, "aria-valuenow": valueLabelType === "percent" ? currentPercent : value, "aria-valuetext": valueText, class: {
33532
+ [CSS$s.container]: true,
33533
+ [CSS$s.stepsVisible]: rangeLabels,
33534
+ [CSS$s.valueVisible]: valueLabel,
33535
+ [appearance]: appearance !== "outline-fill",
33536
+ }, role: "meter",
33537
+ // eslint-disable-next-line react/jsx-sort-props
33538
+ ref: (el) => (this.meterContainerEl = el) }, this.renderMeterFill(), valueLabel && this.renderValueLabel(), lowActive && this.renderRangeLine(lowPercent), highActive && this.renderRangeLine(highPercent), rangeLabels && this.renderMinLabel(), rangeLabels && lowActive && this.renderLowLabel(), rangeLabels && highActive && this.renderHighLabel(), rangeLabels && this.renderMaxLabel())));
33539
+ }
33540
+ get el() { return getElement(this); }
33541
+ static get watchers() { return {
33542
+ "min": ["handleRangeChange"],
33543
+ "max": ["handleRangeChange"],
33544
+ "low": ["handleRangeChange"],
33545
+ "high": ["handleRangeChange"],
33546
+ "value": ["handleRangeChange"],
33547
+ "rangeLabels": ["handleLabelChange"],
33548
+ "rangeLabelType": ["handleLabelChange"],
33549
+ "unitLabel": ["handleLabelChange"],
33550
+ "valueLabel": ["handleLabelChange"],
33551
+ "valueLabelType": ["handleLabelChange"]
33552
+ }; }
33553
+ static get style() { return meterCss; }
33554
+ static get cmpMeta() { return {
33555
+ "$flags$": 9,
33556
+ "$tagName$": "calcite-meter",
33557
+ "$members$": {
33558
+ "appearance": [513],
33559
+ "disabled": [516],
33560
+ "fillType": [513, "fill-type"],
33561
+ "form": [513],
33562
+ "groupSeparator": [516, "group-separator"],
33563
+ "high": [1538],
33564
+ "label": [1],
33565
+ "low": [1538],
33566
+ "max": [514],
33567
+ "min": [514],
33568
+ "name": [513],
33569
+ "numberingSystem": [1, "numbering-system"],
33570
+ "rangeLabels": [516, "range-labels"],
33571
+ "rangeLabelType": [513, "range-label-type"],
33572
+ "scale": [513],
33573
+ "unitLabel": [1, "unit-label"],
33574
+ "value": [1026],
33575
+ "valueLabel": [516, "value-label"],
33576
+ "valueLabelType": [513, "value-label-type"],
33577
+ "currentPercent": [32],
33578
+ "effectiveLocale": [32],
33579
+ "highActive": [32],
33580
+ "highPercent": [32],
33581
+ "lowActive": [32],
33582
+ "lowPercent": [32]
33583
+ },
33584
+ "$listeners$": undefined,
33585
+ "$lazyBundleId$": "-",
33586
+ "$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["fillType", "fill-type"], ["form", "form"], ["groupSeparator", "group-separator"], ["high", "high"], ["low", "low"], ["max", "max"], ["min", "min"], ["name", "name"], ["rangeLabels", "range-labels"], ["rangeLabelType", "range-label-type"], ["scale", "scale"], ["valueLabel", "value-label"], ["valueLabelType", "value-label-type"]]
33587
+ }; }
33588
+ }
33589
+
33210
33590
  const CSS$r = {
33211
33591
  modal: "modal",
33212
33592
  title: "title",
@@ -34243,22 +34623,22 @@ class Panel {
34243
34623
  // --------------------------------------------------------------------------
34244
34624
  renderHeaderContent() {
34245
34625
  const { heading, headingLevel, description, hasHeaderContent } = this;
34246
- const headingNode = heading ? (hAsync(Heading, { class: CSS$G.heading, level: headingLevel }, heading)) : null;
34247
- const descriptionNode = description ? hAsync("span", { class: CSS$G.description }, description) : null;
34248
- return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$G.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
34626
+ const headingNode = heading ? (hAsync(Heading, { class: CSS$H.heading, level: headingLevel }, heading)) : null;
34627
+ const descriptionNode = description ? hAsync("span", { class: CSS$H.description }, description) : null;
34628
+ return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$H.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
34249
34629
  }
34250
34630
  renderActionBar() {
34251
- return (hAsync("div", { class: CSS$G.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$m.actionBar, onSlotchange: this.handleActionBarSlotChange })));
34631
+ return (hAsync("div", { class: CSS$H.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$m.actionBar, onSlotchange: this.handleActionBarSlotChange })));
34252
34632
  }
34253
34633
  /**
34254
34634
  * Allows user to override the entire header-content node.
34255
34635
  */
34256
34636
  renderHeaderSlottedContent() {
34257
- return (hAsync("div", { class: CSS$G.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$m.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
34637
+ return (hAsync("div", { class: CSS$H.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$m.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
34258
34638
  }
34259
34639
  renderHeaderStartActions() {
34260
34640
  const { hasStartActions } = this;
34261
- return (hAsync("div", { class: { [CSS$G.headerActionsStart]: true, [CSS$G.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$m.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
34641
+ return (hAsync("div", { class: { [CSS$H.headerActionsStart]: true, [CSS$H.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$m.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
34262
34642
  }
34263
34643
  renderHeaderActionsEnd() {
34264
34644
  const { close, hasEndActions, messages, closable, hasMenuItems } = this;
@@ -34268,7 +34648,7 @@ class Panel {
34268
34648
  ref: this.setCloseRef })) : null;
34269
34649
  const slotNode = (hAsync("slot", { name: SLOTS$m.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
34270
34650
  const showContainer = hasEndActions || closableNode || hasMenuItems;
34271
- return (hAsync("div", { class: { [CSS$G.headerActionsEnd]: true, [CSS$G.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
34651
+ return (hAsync("div", { class: { [CSS$H.headerActionsEnd]: true, [CSS$H.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
34272
34652
  }
34273
34653
  renderMenu() {
34274
34654
  const { hasMenuItems, messages, menuOpen } = this;
@@ -34284,24 +34664,24 @@ class Panel {
34284
34664
  closable ||
34285
34665
  hasMenuItems;
34286
34666
  this.showHeaderContent = showHeaderContent;
34287
- return (hAsync("header", { class: CSS$G.header, hidden: !(showHeaderContent || hasActionBar) }, hAsync("div", { class: { [CSS$G.headerContainer]: true, [CSS$G.headerContainerBorderEnd]: hasActionBar }, hidden: !showHeaderContent }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()), this.renderActionBar()));
34667
+ return (hAsync("header", { class: CSS$H.header, hidden: !(showHeaderContent || hasActionBar) }, hAsync("div", { class: { [CSS$H.headerContainer]: true, [CSS$H.headerContainerBorderEnd]: hasActionBar }, hidden: !showHeaderContent }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()), this.renderActionBar()));
34288
34668
  }
34289
34669
  renderFooterNode() {
34290
34670
  const { hasFooterContent, hasFooterActions } = this;
34291
34671
  const showFooter = hasFooterContent || hasFooterActions;
34292
- return (hAsync("footer", { class: CSS$G.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$m.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$m.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
34672
+ return (hAsync("footer", { class: CSS$H.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$m.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$m.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
34293
34673
  }
34294
34674
  renderContent() {
34295
- return (hAsync("div", { class: CSS$G.contentWrapper, onScroll: this.panelScrollHandler,
34675
+ return (hAsync("div", { class: CSS$H.contentWrapper, onScroll: this.panelScrollHandler,
34296
34676
  // eslint-disable-next-line react/jsx-sort-props
34297
34677
  ref: this.setPanelScrollEl }, hAsync("slot", null), this.renderFab()));
34298
34678
  }
34299
34679
  renderFab() {
34300
- return (hAsync("div", { class: CSS$G.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$m.fab, onSlotchange: this.handleFabSlotChange })));
34680
+ return (hAsync("div", { class: CSS$H.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$m.fab, onSlotchange: this.handleFabSlotChange })));
34301
34681
  }
34302
34682
  render() {
34303
34683
  const { loading, panelKeyDownHandler, closed, closable } = this;
34304
- const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$G.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
34684
+ const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$H.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
34305
34685
  // eslint-disable-next-line react/jsx-sort-props
34306
34686
  ref: this.setContainerRef }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
34307
34687
  return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
@@ -38776,25 +39156,25 @@ class Stack {
38776
39156
  // --------------------------------------------------------------------------
38777
39157
  renderActionsStart() {
38778
39158
  const { hasActionsStart } = this;
38779
- return (hAsync("div", { class: CSS$t.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$f.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
39159
+ return (hAsync("div", { class: CSS$u.actionsStart, hidden: !hasActionsStart, key: "actions-start-container" }, hAsync("slot", { name: SLOTS$f.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
38780
39160
  }
38781
39161
  renderActionsEnd() {
38782
39162
  const { hasActionsEnd } = this;
38783
- return (hAsync("div", { class: CSS$t.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$f.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
39163
+ return (hAsync("div", { class: CSS$u.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container" }, hAsync("slot", { name: SLOTS$f.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
38784
39164
  }
38785
39165
  renderContentStart() {
38786
39166
  const { hasContentStart } = this;
38787
- return (hAsync("div", { class: CSS$t.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$f.contentStart, onSlotchange: this.handleContentStartSlotChange })));
39167
+ return (hAsync("div", { class: CSS$u.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$f.contentStart, onSlotchange: this.handleContentStartSlotChange })));
38788
39168
  }
38789
39169
  renderDefaultContent() {
38790
- return (hAsync("div", { class: CSS$t.content }, hAsync("slot", null)));
39170
+ return (hAsync("div", { class: CSS$u.content }, hAsync("slot", null)));
38791
39171
  }
38792
39172
  renderContentEnd() {
38793
39173
  const { hasContentEnd } = this;
38794
- return (hAsync("div", { class: CSS$t.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$f.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
39174
+ return (hAsync("div", { class: CSS$u.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$f.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
38795
39175
  }
38796
39176
  render() {
38797
- return (hAsync(Host, null, hAsync("div", { class: CSS$t.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
39177
+ return (hAsync(Host, null, hAsync("div", { class: CSS$u.container }, this.renderActionsStart(), this.renderContentStart(), this.renderDefaultContent(), this.renderContentEnd(), this.renderActionsEnd())));
38798
39178
  }
38799
39179
  static get style() { return stackCss; }
38800
39180
  static get cmpMeta() { return {
@@ -43338,6 +43718,7 @@ registerComponents([
43338
43718
  ListItem,
43339
43719
  ListItemGroup,
43340
43720
  Loader,
43721
+ Meter,
43341
43722
  Modal,
43342
43723
  Notice,
43343
43724
  Option,