@esri/calcite-components 1.0.0-next.474 → 1.0.0-next.477

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 (862) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/{p-507b6040.entry.js → p-0154742c.entry.js} +2 -2
  6. package/dist/calcite/p-0194221a.system.entry.js +6 -0
  7. package/dist/calcite/{p-3a4d449b.system.entry.js → p-01a945a3.system.entry.js} +2 -2
  8. package/dist/calcite/{p-0d4e34ad.system.js → p-0284774a.system.js} +2 -2
  9. package/dist/calcite/p-02d10919.system.entry.js +6 -0
  10. package/dist/calcite/p-03a21dfa.entry.js +6 -0
  11. package/dist/calcite/p-05f492a1.system.entry.js +6 -0
  12. package/dist/calcite/{p-78d75d0c.js → p-062e8e90.js} +1 -1
  13. package/dist/calcite/p-067016e1.system.entry.js +6 -0
  14. package/dist/calcite/{p-576e9e5a.js → p-079a9970.js} +1 -1
  15. package/dist/calcite/{p-121c601c.system.entry.js → p-07d1bb02.system.entry.js} +2 -2
  16. package/dist/calcite/{p-d7780ec4.system.entry.js → p-0e104c97.system.entry.js} +2 -2
  17. package/dist/calcite/{p-14a5cf09.system.entry.js → p-114f032f.system.entry.js} +3 -3
  18. package/dist/calcite/{p-cd71dbab.system.entry.js → p-137815df.system.entry.js} +3 -3
  19. package/dist/calcite/{p-adb302c2.system.js → p-1630e0a1.system.js} +1 -1
  20. package/dist/calcite/{p-bae6feb8.system.js → p-16c0ce01.system.js} +2 -2
  21. package/dist/calcite/{p-d250408e.js → p-1b7970d0.js} +1 -1
  22. package/dist/calcite/p-1bf489c8.system.entry.js +6 -0
  23. package/dist/calcite/{p-8a19e08d.js → p-1da04fc5.js} +2 -2
  24. package/dist/calcite/{p-f3272274.system.js → p-1ee1b717.system.js} +1 -1
  25. package/dist/calcite/{p-8e262ac6.system.js → p-20cc01ad.system.js} +1 -1
  26. package/dist/calcite/{p-f7d4f874.js → p-21a70b91.js} +1 -1
  27. package/dist/calcite/{p-a660d30b.js → p-23d41908.js} +2 -2
  28. package/dist/calcite/{p-70297b31.system.entry.js → p-2666ccb8.system.entry.js} +2 -2
  29. package/dist/calcite/{p-0a63aea6.entry.js → p-27dfdac8.entry.js} +2 -2
  30. package/dist/calcite/{p-ef271947.entry.js → p-28ebe69c.entry.js} +2 -2
  31. package/dist/calcite/{p-cde68256.system.js → p-2a0635fc.system.js} +2 -2
  32. package/dist/calcite/{p-79c1ac36.entry.js → p-320dda30.entry.js} +2 -2
  33. package/dist/calcite/p-33078c13.system.entry.js +6 -0
  34. package/dist/calcite/{p-474384c4.entry.js → p-3499c2a7.entry.js} +2 -2
  35. package/dist/calcite/{p-210985c2.system.entry.js → p-35129579.system.entry.js} +2 -2
  36. package/dist/calcite/p-353421ec.system.entry.js +6 -0
  37. package/dist/calcite/p-35b07c8b.system.entry.js +6 -0
  38. package/dist/calcite/p-365a8b79.system.entry.js +6 -0
  39. package/dist/calcite/{p-3dba4071.system.entry.js → p-373f4abf.system.entry.js} +2 -2
  40. package/dist/calcite/{p-688a7e80.entry.js → p-37979395.entry.js} +2 -2
  41. package/dist/calcite/p-395bdca5.system.entry.js +6 -0
  42. package/dist/calcite/{p-f57ae2f1.system.js → p-3973a0ad.system.js} +1 -1
  43. package/dist/calcite/{p-2fc8bdb0.entry.js → p-3b799feb.entry.js} +2 -2
  44. package/dist/calcite/{p-cf4eb739.system.js → p-3f20328f.system.js} +1 -1
  45. package/dist/calcite/p-409ccff3.system.entry.js +6 -0
  46. package/dist/calcite/p-40d56554.system.entry.js +6 -0
  47. package/dist/calcite/{p-15df4607.system.js → p-411f19a7.system.js} +1 -1
  48. package/dist/calcite/{p-34c10540.js → p-43c9bfe5.js} +1 -1
  49. package/dist/calcite/{p-eeff953e.entry.js → p-47987d23.entry.js} +2 -2
  50. package/dist/calcite/{p-b19972cc.entry.js → p-47a62069.entry.js} +2 -2
  51. package/dist/calcite/{p-3d93f0a9.entry.js → p-49631411.entry.js} +2 -2
  52. package/dist/calcite/p-4aa4edc2.entry.js +6 -0
  53. package/dist/calcite/{p-9ad8ee33.system.js → p-4b67517d.system.js} +1 -1
  54. package/dist/calcite/{p-5e4f5a80.entry.js → p-4b7088a4.entry.js} +2 -2
  55. package/dist/calcite/p-4bcd0391.system.entry.js +6 -0
  56. package/dist/calcite/p-4d092360.entry.js +6 -0
  57. package/dist/calcite/{p-5e5c80af.system.entry.js → p-4d39fe8f.system.entry.js} +2 -2
  58. package/dist/calcite/{p-41f6b7f2.js → p-4e4c7110.js} +1 -1
  59. package/dist/calcite/{p-06528d62.entry.js → p-4e7f1c5b.entry.js} +2 -2
  60. package/dist/calcite/{p-6c7b8e1b.system.entry.js → p-4f65e515.system.entry.js} +2 -2
  61. package/dist/calcite/p-4fd8c22e.entry.js +6 -0
  62. package/dist/calcite/{p-755f5d65.entry.js → p-5228bd63.entry.js} +2 -2
  63. package/dist/calcite/{p-aa3ebb8d.entry.js → p-53481510.entry.js} +2 -2
  64. package/dist/calcite/{p-8a1a8fd5.system.entry.js → p-54fc2003.system.entry.js} +2 -2
  65. package/dist/calcite/{p-b40e06e9.entry.js → p-56000604.entry.js} +2 -2
  66. package/dist/calcite/{p-be068c88.system.js → p-59eba4cd.system.js} +2 -2
  67. package/dist/calcite/{p-1af91049.entry.js → p-5a7b1f85.entry.js} +2 -2
  68. package/dist/calcite/{p-f5c4eea9.system.entry.js → p-5bd2f42d.system.entry.js} +2 -2
  69. package/dist/calcite/{p-7d7c3b92.entry.js → p-5c3bfbf9.entry.js} +2 -2
  70. package/dist/calcite/{p-39310a3f.entry.js → p-5cfd4e62.entry.js} +2 -2
  71. package/dist/calcite/{p-5ca6ec3d.system.entry.js → p-5e450402.system.entry.js} +2 -2
  72. package/dist/calcite/{p-a8e246d5.system.entry.js → p-5e89fde1.system.entry.js} +2 -2
  73. package/dist/calcite/p-62bba42c.entry.js +6 -0
  74. package/dist/calcite/{p-12d5bece.system.js → p-630793c1.system.js} +2 -2
  75. package/dist/calcite/{p-b116fe3a.entry.js → p-649ca79e.entry.js} +2 -2
  76. package/dist/calcite/{p-c508708d.system.entry.js → p-6668d2a4.system.entry.js} +3 -3
  77. package/dist/calcite/p-6768ed0d.entry.js +6 -0
  78. package/dist/calcite/p-6aec2ff8.system.entry.js +6 -0
  79. package/dist/calcite/{p-bcdae96c.system.entry.js → p-70eb4f76.system.entry.js} +2 -2
  80. package/dist/calcite/{p-07cb1386.system.js → p-71cf5d8a.system.js} +1 -1
  81. package/dist/calcite/{p-e9c51778.entry.js → p-730dfdac.entry.js} +2 -2
  82. package/dist/calcite/{p-03d7669f.system.js → p-7348cd1d.system.js} +1 -1
  83. package/dist/calcite/p-73b049d1.system.js +6 -0
  84. package/dist/calcite/{p-4cdb0821.system.js → p-766ad2e0.system.js} +2 -2
  85. package/dist/calcite/{p-96e42022.js → p-7714be1c.js} +2 -2
  86. package/dist/calcite/{p-352b4af8.js → p-7cf49210.js} +2 -2
  87. package/dist/calcite/{p-582c0fbc.entry.js → p-7d3d8255.entry.js} +2 -2
  88. package/dist/calcite/{p-595c052b.entry.js → p-7d55789e.entry.js} +2 -2
  89. package/dist/calcite/p-7efbef50.system.entry.js +6 -0
  90. package/dist/calcite/p-7f61beea.js +6 -0
  91. package/dist/calcite/{p-fd122935.entry.js → p-7fd91e9c.entry.js} +2 -2
  92. package/dist/calcite/{p-1f598c47.entry.js → p-81ae5eb3.entry.js} +2 -2
  93. package/dist/calcite/{p-4140f9b3.system.entry.js → p-82809986.system.entry.js} +3 -3
  94. package/dist/calcite/{p-76bab8fe.entry.js → p-83b8b922.entry.js} +2 -2
  95. package/dist/calcite/{p-c6819c11.system.entry.js → p-86982943.system.entry.js} +2 -2
  96. package/dist/calcite/{p-d9e7e5bc.entry.js → p-886fe588.entry.js} +2 -2
  97. package/dist/calcite/{p-2073f135.system.entry.js → p-8872a594.system.entry.js} +2 -2
  98. package/dist/calcite/{p-4568c131.entry.js → p-89b7c995.entry.js} +2 -2
  99. package/dist/calcite/{p-d51ebb74.entry.js → p-8b753da1.entry.js} +2 -2
  100. package/dist/calcite/p-8c82b451.system.entry.js +6 -0
  101. package/dist/calcite/{p-347744c9.entry.js → p-8d78efe4.entry.js} +2 -2
  102. package/dist/calcite/{p-3d0f9b4c.entry.js → p-8d7fca02.entry.js} +2 -2
  103. package/dist/calcite/{p-7d5e8903.system.js → p-8ecd65fc.system.js} +1 -1
  104. package/dist/calcite/{p-c220e8b4.system.entry.js → p-8ed5a7c5.system.entry.js} +2 -2
  105. package/dist/calcite/{p-491b2a7e.entry.js → p-8f53a618.entry.js} +2 -2
  106. package/dist/calcite/{p-9f4ca4da.entry.js → p-8fe9abdf.entry.js} +2 -2
  107. package/dist/calcite/p-90d7333b.system.entry.js +6 -0
  108. package/dist/calcite/{p-1df23bb1.entry.js → p-915cc87f.entry.js} +2 -2
  109. package/dist/calcite/{p-f4dc76f7.system.entry.js → p-91d75c0d.system.entry.js} +2 -2
  110. package/dist/calcite/p-93345205.entry.js +6 -0
  111. package/dist/calcite/{p-f8295e53.js → p-93556b31.js} +1 -1
  112. package/dist/calcite/{p-1f345f02.system.entry.js → p-94c4f30c.system.entry.js} +2 -2
  113. package/dist/calcite/{p-827f5fb7.system.entry.js → p-94d4c7cf.system.entry.js} +3 -3
  114. package/dist/calcite/p-999d6029.system.entry.js +6 -0
  115. package/dist/calcite/p-9b2dbaa6.entry.js +6 -0
  116. package/dist/calcite/{p-f32744fb.entry.js → p-9eac85d4.entry.js} +2 -2
  117. package/dist/calcite/{p-1ed4f186.system.entry.js → p-9f297781.system.entry.js} +2 -2
  118. package/dist/calcite/{p-32172f14.entry.js → p-9f6fdb4f.entry.js} +2 -2
  119. package/dist/calcite/{p-dbe5df92.js → p-a13a8889.js} +2 -2
  120. package/dist/calcite/{p-6441c657.entry.js → p-a1c79c36.entry.js} +2 -2
  121. package/dist/calcite/p-a35e4a5c.system.entry.js +6 -0
  122. package/dist/calcite/{p-f2cf101e.system.js → p-a423b26b.system.js} +1 -1
  123. package/dist/calcite/{p-ec26d6b1.system.js → p-aa4e228f.system.js} +1 -1
  124. package/dist/calcite/{p-9a2cc941.entry.js → p-aceefb38.entry.js} +2 -2
  125. package/dist/calcite/{p-75cd7e1b.entry.js → p-add5294c.entry.js} +2 -2
  126. package/dist/calcite/{p-285988d2.js → p-b0325782.js} +1 -1
  127. package/dist/calcite/{p-081824f7.entry.js → p-b38796cb.entry.js} +2 -2
  128. package/dist/calcite/{p-eb5a77c3.js → p-b4552752.js} +1 -1
  129. package/dist/calcite/{p-96491d64.entry.js → p-b70b9455.entry.js} +2 -2
  130. package/dist/calcite/p-b9c98dd0.entry.js +6 -0
  131. package/dist/calcite/p-b9f8247f.system.entry.js +6 -0
  132. package/dist/calcite/{p-e6d133d2.system.entry.js → p-bef4a40f.system.entry.js} +2 -2
  133. package/dist/calcite/p-c013a694.system.entry.js +6 -0
  134. package/dist/calcite/{p-99a0c346.system.entry.js → p-c05c8183.system.entry.js} +2 -2
  135. package/dist/calcite/p-c1130ae8.system.entry.js +6 -0
  136. package/dist/calcite/{p-06700957.system.js → p-c1469c7a.system.js} +2 -2
  137. package/dist/calcite/{p-d870d915.js → p-c362e29c.js} +2 -2
  138. package/dist/calcite/{p-b0656ea8.js → p-c49f857a.js} +1 -1
  139. package/dist/calcite/{p-8944de8c.system.js → p-c4e35407.system.js} +1 -1
  140. package/dist/calcite/{p-a38022f0.js → p-cba4ba6e.js} +1 -1
  141. package/dist/calcite/{p-836a1982.system.entry.js → p-d085bb14.system.entry.js} +2 -2
  142. package/dist/calcite/{p-91ae8c1d.entry.js → p-d1c0d169.entry.js} +2 -2
  143. package/dist/calcite/{p-ed810e4e.system.entry.js → p-d21d340f.system.entry.js} +3 -3
  144. package/dist/calcite/{p-c396ee09.js → p-da6c1b12.js} +2 -2
  145. package/dist/calcite/p-dca3e036.system.entry.js +6 -0
  146. package/dist/calcite/{p-5a69e854.js → p-de67be01.js} +1 -1
  147. package/dist/calcite/{p-9e83471e.system.entry.js → p-de8849f5.system.entry.js} +2 -2
  148. package/dist/calcite/{p-977bed43.entry.js → p-de8e7f3f.entry.js} +2 -2
  149. package/dist/calcite/{p-ab642a2b.js → p-e05135d7.js} +1 -1
  150. package/dist/calcite/{p-82b22d85.entry.js → p-e1bbfad7.entry.js} +2 -2
  151. package/dist/calcite/{p-126d9aaf.system.js → p-e4a8f6dd.system.js} +2 -2
  152. package/dist/calcite/{p-11b39c39.system.entry.js → p-e5666739.system.entry.js} +2 -2
  153. package/dist/calcite/{p-fa278a7f.js → p-edd99e04.js} +2 -2
  154. package/dist/calcite/p-f0267279.system.entry.js +6 -0
  155. package/dist/calcite/{p-441bc28b.entry.js → p-f067a780.entry.js} +2 -2
  156. package/dist/calcite/{p-d40ae90f.system.entry.js → p-f18fad7c.system.entry.js} +2 -2
  157. package/dist/calcite/{p-8fb7d730.system.js → p-f2e76068.system.js} +2 -2
  158. package/dist/calcite/{p-326c6fab.js → p-f2f51254.js} +2 -2
  159. package/dist/calcite/{p-0d8e9550.system.js → p-f5840eaa.system.js} +2 -2
  160. package/dist/calcite/{p-fa7dfea9.entry.js → p-f5b2720b.entry.js} +2 -2
  161. package/dist/calcite/{p-60a0a59d.entry.js → p-f6d69334.entry.js} +2 -2
  162. package/dist/calcite/p-f979c9e3.system.entry.js +6 -0
  163. package/dist/calcite/{p-f2db0fc3.entry.js → p-f9ee4807.entry.js} +2 -2
  164. package/dist/calcite/{p-98cc95f1.system.js → p-fb44ff6e.system.js} +2 -2
  165. package/dist/calcite/{p-1304ef9f.system.entry.js → p-fb848125.system.entry.js} +2 -2
  166. package/dist/calcite/{p-18680954.system.js → p-ff09265e.system.js} +1 -1
  167. package/dist/calcite/{p-620ce444.entry.js → p-ff211236.entry.js} +2 -2
  168. package/dist/calcite/{p-c3a3e9a0.js → p-ff683970.js} +2 -2
  169. package/dist/cjs/{ExpandToggle-77eb5c0c.js → ExpandToggle-e6983b21.js} +5 -5
  170. package/dist/cjs/{Heading-661b3476.js → Heading-6d7fe1e5.js} +2 -2
  171. package/dist/cjs/{array-37e6f2e3.js → array-816fde5e.js} +1 -1
  172. package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
  173. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  177. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  178. package/dist/cjs/calcite-alert.cjs.entry.js +6 -6
  179. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  180. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  181. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  182. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  183. package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
  184. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  185. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +9 -9
  186. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
  187. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
  188. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +9 -9
  189. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  190. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  191. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  192. package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -10
  193. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  195. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  196. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  197. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  198. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  199. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  200. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  202. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  203. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  204. package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  207. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  208. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  209. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  210. package/dist/cjs/calcite-popover_2.cjs.entry.js +8 -8
  211. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  212. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  213. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -9
  214. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  215. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  216. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  217. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  218. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  219. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  220. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  221. package/dist/cjs/calcite-switch.cjs.entry.js +8 -8
  222. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -9
  226. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  229. package/dist/cjs/calcite.cjs.js +2 -2
  230. package/dist/cjs/{conditionalSlot-5989ea1f.js → conditionalSlot-1426b23a.js} +3 -3
  231. package/dist/cjs/{debounce-c1af826e.js → debounce-a6eb5f2e.js} +1 -1
  232. package/dist/cjs/{dom-8f6b6db6.js → dom-49bb53ca.js} +2 -2
  233. package/dist/cjs/{forIn-182af088.js → forIn-3fb7730c.js} +2 -2
  234. package/dist/cjs/{form-57f53688.js → form-3a294732.js} +3 -3
  235. package/dist/cjs/{guid-9667644a.js → guid-67cfed48.js} +1 -1
  236. package/dist/cjs/{index-cde7cd0c.js → index-c19e363a.js} +1 -1
  237. package/dist/cjs/index.cjs.js +1 -1
  238. package/dist/cjs/{interactive-259ac5a8.js → interactive-17065091.js} +1 -1
  239. package/dist/cjs/{interfaces-ea208e5b.js → interfaces-4cdf1533.js} +1 -1
  240. package/dist/cjs/{label-df04f026.js → label-3f52bbab.js} +2 -2
  241. package/dist/cjs/loader.cjs.js +2 -2
  242. package/dist/cjs/{locale-73df74fd.js → locale-d9be0f91.js} +2 -2
  243. package/dist/cjs/{math-15b0f901.js → math-a2efc67d.js} +1 -1
  244. package/dist/cjs/{number-bce07437.js → number-602b5fb7.js} +1 -1
  245. package/dist/cjs/{observers-f727a7cd.js → observers-ce3b38c1.js} +1 -1
  246. package/dist/cjs/{popper-5ce45e2e.js → popper-da5e7004.js} +2 -2
  247. package/dist/cjs/{resources-9563eb84.js → resources-449a7524.js} +3 -3
  248. package/dist/cjs/{resources-998eedf1.js → resources-70c19348.js} +5 -5
  249. package/dist/cjs/{resources-1ddc62f8.js → resources-e797610f.js} +1 -1
  250. package/dist/cjs/{resources-293d2b7c.js → resources-efd3fd48.js} +1 -1
  251. package/dist/cjs/{sortable.esm-454718fa.js → sortable.esm-d721bbb8.js} +1 -1
  252. package/dist/cjs/{utils-40d3d18d.js → utils-b3519957.js} +1 -1
  253. package/dist/collection/components/accordion/accordion.js +1 -1
  254. package/dist/collection/components/accordion/interfaces.js +1 -1
  255. package/dist/collection/components/accordion-item/accordion-item.css +0 -2
  256. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  257. package/dist/collection/components/action/action.css +0 -2
  258. package/dist/collection/components/action/action.js +1 -1
  259. package/dist/collection/components/action/resources.js +1 -1
  260. package/dist/collection/components/action-bar/action-bar.js +1 -1
  261. package/dist/collection/components/action-bar/resources.js +1 -1
  262. package/dist/collection/components/action-bar/utils.js +1 -1
  263. package/dist/collection/components/action-group/action-group.js +1 -1
  264. package/dist/collection/components/action-group/resources.js +1 -1
  265. package/dist/collection/components/action-menu/action-menu.css +0 -2
  266. package/dist/collection/components/action-menu/action-menu.js +1 -1
  267. package/dist/collection/components/action-menu/resources.js +1 -1
  268. package/dist/collection/components/action-pad/action-pad.js +1 -1
  269. package/dist/collection/components/action-pad/resources.js +1 -1
  270. package/dist/collection/components/alert/alert.css +9 -18
  271. package/dist/collection/components/alert/alert.js +1 -1
  272. package/dist/collection/components/alert/interfaces.js +1 -1
  273. package/dist/collection/components/alert/resources.js +1 -1
  274. package/dist/collection/components/avatar/avatar.js +1 -1
  275. package/dist/collection/components/avatar/utils.js +1 -1
  276. package/dist/collection/components/block/block.css +0 -2
  277. package/dist/collection/components/block/block.js +1 -1
  278. package/dist/collection/components/block/resources.js +1 -1
  279. package/dist/collection/components/block-section/block-section.css +0 -2
  280. package/dist/collection/components/block-section/block-section.js +1 -1
  281. package/dist/collection/components/block-section/interfaces.js +1 -1
  282. package/dist/collection/components/block-section/resources.js +1 -1
  283. package/dist/collection/components/button/button.css +1 -3
  284. package/dist/collection/components/button/button.js +1 -1
  285. package/dist/collection/components/button/interfaces.js +1 -1
  286. package/dist/collection/components/button/resources.js +1 -1
  287. package/dist/collection/components/card/card.js +1 -1
  288. package/dist/collection/components/card/resources.js +1 -1
  289. package/dist/collection/components/checkbox/checkbox.css +11 -12
  290. package/dist/collection/components/checkbox/checkbox.js +1 -1
  291. package/dist/collection/components/chip/chip.css +1 -6
  292. package/dist/collection/components/chip/chip.js +1 -1
  293. package/dist/collection/components/chip/interfaces.js +1 -1
  294. package/dist/collection/components/chip/resources.js +1 -1
  295. package/dist/collection/components/color-picker/color-picker.css +0 -3
  296. package/dist/collection/components/color-picker/color-picker.js +1 -1
  297. package/dist/collection/components/color-picker/interfaces.js +1 -1
  298. package/dist/collection/components/color-picker/resources.js +1 -1
  299. package/dist/collection/components/color-picker/utils.js +1 -1
  300. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  301. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  302. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  303. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  304. package/dist/collection/components/combobox/combobox.css +0 -2
  305. package/dist/collection/components/combobox/combobox.js +1 -1
  306. package/dist/collection/components/combobox/interfaces.js +1 -1
  307. package/dist/collection/components/combobox/resources.js +1 -1
  308. package/dist/collection/components/combobox/utils.js +1 -1
  309. package/dist/collection/components/combobox-item/combobox-item.css +0 -2
  310. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  311. package/dist/collection/components/combobox-item/resources.js +1 -1
  312. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  313. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  314. package/dist/collection/components/date-picker/date-picker.js +1 -1
  315. package/dist/collection/components/date-picker/interfaces.js +1 -1
  316. package/dist/collection/components/date-picker/resources.js +1 -1
  317. package/dist/collection/components/date-picker/utils.js +1 -1
  318. package/dist/collection/components/date-picker-day/date-picker-day.css +6 -5
  319. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  320. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  321. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -7
  322. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  323. package/dist/collection/components/dropdown/dropdown.js +1 -1
  324. package/dist/collection/components/dropdown/interfaces.js +1 -1
  325. package/dist/collection/components/dropdown/resources.js +1 -1
  326. package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
  327. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  328. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  329. package/dist/collection/components/dropdown-group/resources.js +1 -1
  330. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -2
  331. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  332. package/dist/collection/components/dropdown-item/resources.js +1 -1
  333. package/dist/collection/components/fab/fab.js +1 -1
  334. package/dist/collection/components/fab/resources.js +1 -1
  335. package/dist/collection/components/filter/filter.js +1 -1
  336. package/dist/collection/components/filter/resources.js +1 -1
  337. package/dist/collection/components/flow/flow.js +1 -1
  338. package/dist/collection/components/flow/interfaces.js +1 -1
  339. package/dist/collection/components/flow/resources.js +1 -1
  340. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  341. package/dist/collection/components/functional/Heading.js +1 -1
  342. package/dist/collection/components/graph/graph.js +1 -1
  343. package/dist/collection/components/graph/interfaces.js +1 -1
  344. package/dist/collection/components/graph/util.js +1 -1
  345. package/dist/collection/components/handle/handle.css +0 -2
  346. package/dist/collection/components/handle/handle.js +1 -1
  347. package/dist/collection/components/handle/resources.js +1 -1
  348. package/dist/collection/components/icon/icon.js +1 -1
  349. package/dist/collection/components/icon/resources.js +1 -1
  350. package/dist/collection/components/icon/utils.js +1 -1
  351. package/dist/collection/components/inline-editable/inline-editable.css +1 -4
  352. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  353. package/dist/collection/components/inline-editable/resources.js +1 -1
  354. package/dist/collection/components/input/input.css +8 -33
  355. package/dist/collection/components/input/input.js +1 -1
  356. package/dist/collection/components/input/interfaces.js +1 -1
  357. package/dist/collection/components/input/resources.js +1 -1
  358. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  359. package/dist/collection/components/input-message/input-message.css +8 -12
  360. package/dist/collection/components/input-message/input-message.js +1 -1
  361. package/dist/collection/components/input-message/interfaces.js +1 -1
  362. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  363. package/dist/collection/components/interfaces.js +1 -1
  364. package/dist/collection/components/label/label.js +1 -1
  365. package/dist/collection/components/label/resources.js +1 -1
  366. package/dist/collection/components/link/link.css +3 -14
  367. package/dist/collection/components/link/link.js +1 -1
  368. package/dist/collection/components/list/list.js +1 -1
  369. package/dist/collection/components/list/resources.js +1 -1
  370. package/dist/collection/components/list-item/list-item.css +0 -4
  371. package/dist/collection/components/list-item/list-item.js +1 -1
  372. package/dist/collection/components/list-item/resources.js +1 -1
  373. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  374. package/dist/collection/components/list-item-group/resources.js +1 -1
  375. package/dist/collection/components/loader/loader.js +1 -1
  376. package/dist/collection/components/modal/interfaces.js +1 -1
  377. package/dist/collection/components/modal/modal.css +1 -6
  378. package/dist/collection/components/modal/modal.js +1 -1
  379. package/dist/collection/components/modal/resources.js +1 -1
  380. package/dist/collection/components/notice/notice.css +4 -15
  381. package/dist/collection/components/notice/notice.js +1 -1
  382. package/dist/collection/components/notice/resources.js +1 -1
  383. package/dist/collection/components/option/option.js +1 -1
  384. package/dist/collection/components/option-group/option-group.js +1 -1
  385. package/dist/collection/components/pagination/pagination.css +1 -6
  386. package/dist/collection/components/pagination/pagination.js +1 -1
  387. package/dist/collection/components/pagination/resources.js +1 -1
  388. package/dist/collection/components/panel/panel.js +1 -1
  389. package/dist/collection/components/panel/resources.js +1 -1
  390. package/dist/collection/components/pick-list/pick-list.js +1 -1
  391. package/dist/collection/components/pick-list/resources.js +1 -1
  392. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  393. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  394. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  395. package/dist/collection/components/pick-list-group/resources.js +1 -1
  396. package/dist/collection/components/pick-list-item/pick-list-item.css +0 -2
  397. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  398. package/dist/collection/components/pick-list-item/resources.js +1 -1
  399. package/dist/collection/components/popover/PopoverManager.js +1 -1
  400. package/dist/collection/components/popover/popover.css +5 -0
  401. package/dist/collection/components/popover/popover.js +1 -1
  402. package/dist/collection/components/popover/resources.js +1 -1
  403. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  404. package/dist/collection/components/progress/progress.js +1 -1
  405. package/dist/collection/components/radio-button/radio-button.css +10 -6
  406. package/dist/collection/components/radio-button/radio-button.js +2 -1
  407. package/dist/collection/components/radio-button/resources.js +1 -1
  408. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  409. package/dist/collection/components/radio-group/interfaces.js +1 -1
  410. package/dist/collection/components/radio-group/radio-group.js +1 -1
  411. package/dist/collection/components/radio-group-item/radio-group-item.css +0 -2
  412. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  413. package/dist/collection/components/radio-group-item/resources.js +1 -1
  414. package/dist/collection/components/rating/rating.css +2 -12
  415. package/dist/collection/components/rating/rating.js +1 -1
  416. package/dist/collection/components/rating/resources.js +1 -1
  417. package/dist/collection/components/scrim/resources.js +1 -1
  418. package/dist/collection/components/scrim/scrim.js +1 -1
  419. package/dist/collection/components/select/resources.js +1 -1
  420. package/dist/collection/components/select/select.css +0 -2
  421. package/dist/collection/components/select/select.js +1 -1
  422. package/dist/collection/components/shell/resources.js +1 -1
  423. package/dist/collection/components/shell/shell.js +1 -1
  424. package/dist/collection/components/shell-center-row/resources.js +1 -1
  425. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  426. package/dist/collection/components/shell-panel/resources.js +1 -1
  427. package/dist/collection/components/shell-panel/shell-panel.css +1 -4
  428. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  429. package/dist/collection/components/slider/slider.css +0 -2
  430. package/dist/collection/components/slider/slider.js +1 -1
  431. package/dist/collection/components/sortable-list/resources.js +1 -1
  432. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  433. package/dist/collection/components/split-button/resources.js +1 -1
  434. package/dist/collection/components/split-button/split-button.css +1 -4
  435. package/dist/collection/components/split-button/split-button.js +1 -1
  436. package/dist/collection/components/stepper/interfaces.js +1 -1
  437. package/dist/collection/components/stepper/stepper.js +1 -1
  438. package/dist/collection/components/stepper-item/stepper-item.css +0 -2
  439. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  440. package/dist/collection/components/switch/switch.css +0 -2
  441. package/dist/collection/components/switch/switch.js +1 -1
  442. package/dist/collection/components/tab/interfaces.js +1 -1
  443. package/dist/collection/components/tab/tab.js +1 -1
  444. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  445. package/dist/collection/components/tab-title/tab-title.css +3 -14
  446. package/dist/collection/components/tab-title/tab-title.js +1 -1
  447. package/dist/collection/components/tabs/interfaces.js +1 -1
  448. package/dist/collection/components/tabs/resources.js +1 -1
  449. package/dist/collection/components/tabs/tabs.js +1 -1
  450. package/dist/collection/components/tile/resources.js +1 -1
  451. package/dist/collection/components/tile/tile.css +0 -2
  452. package/dist/collection/components/tile/tile.js +1 -1
  453. package/dist/collection/components/tile-select/interfaces.js +1 -1
  454. package/dist/collection/components/tile-select/resources.js +1 -1
  455. package/dist/collection/components/tile-select/tile-select.css +7 -2
  456. package/dist/collection/components/tile-select/tile-select.js +1 -1
  457. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  458. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  459. package/dist/collection/components/time-picker/resources.js +1 -1
  460. package/dist/collection/components/time-picker/time-picker.js +1 -1
  461. package/dist/collection/components/tip/resources.js +1 -1
  462. package/dist/collection/components/tip/tip.css +0 -2
  463. package/dist/collection/components/tip/tip.js +1 -1
  464. package/dist/collection/components/tip-group/tip-group.js +1 -1
  465. package/dist/collection/components/tip-manager/resources.js +1 -1
  466. package/dist/collection/components/tip-manager/tip-manager.css +0 -4
  467. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  468. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  469. package/dist/collection/components/tooltip/resources.js +1 -1
  470. package/dist/collection/components/tooltip/tooltip.css +5 -0
  471. package/dist/collection/components/tooltip/tooltip.js +1 -1
  472. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  473. package/dist/collection/components/tree/interfaces.js +1 -1
  474. package/dist/collection/components/tree/tree.js +1 -1
  475. package/dist/collection/components/tree-item/interfaces.js +1 -1
  476. package/dist/collection/components/tree-item/resources.js +1 -1
  477. package/dist/collection/components/tree-item/tree-item.css +8 -14
  478. package/dist/collection/components/tree-item/tree-item.js +1 -1
  479. package/dist/collection/components/value-list/resources.js +1 -1
  480. package/dist/collection/components/value-list/value-list.js +1 -1
  481. package/dist/collection/components/value-list-item/resources.js +1 -1
  482. package/dist/collection/components/value-list-item/value-list-item.css +0 -2
  483. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  484. package/dist/collection/utils/array.js +1 -1
  485. package/dist/collection/utils/conditionalSlot.js +1 -1
  486. package/dist/collection/utils/date.js +1 -1
  487. package/dist/collection/utils/dom.js +1 -1
  488. package/dist/collection/utils/filter.js +1 -1
  489. package/dist/collection/utils/form.js +1 -1
  490. package/dist/collection/utils/globalAttributes.js +1 -1
  491. package/dist/collection/utils/guid.js +1 -1
  492. package/dist/collection/utils/interactive.js +1 -1
  493. package/dist/collection/utils/key.js +1 -1
  494. package/dist/collection/utils/label.js +1 -1
  495. package/dist/collection/utils/locale.js +1 -1
  496. package/dist/collection/utils/math.js +1 -1
  497. package/dist/collection/utils/number.js +1 -1
  498. package/dist/collection/utils/observers.js +1 -1
  499. package/dist/collection/utils/popper.js +1 -1
  500. package/dist/collection/utils/resources.js +1 -1
  501. package/dist/collection/utils/time.js +1 -1
  502. package/dist/components/ExpandToggle.js +1 -1
  503. package/dist/components/Heading.js +1 -1
  504. package/dist/components/action-group.js +1 -1
  505. package/dist/components/action-menu.js +2 -2
  506. package/dist/components/action.js +2 -2
  507. package/dist/components/array.js +1 -1
  508. package/dist/components/button.js +2 -2
  509. package/dist/components/calcite-accordion-item.js +2 -2
  510. package/dist/components/calcite-accordion.js +1 -1
  511. package/dist/components/calcite-action-bar.js +1 -1
  512. package/dist/components/calcite-action-group.js +1 -1
  513. package/dist/components/calcite-action-menu.js +1 -1
  514. package/dist/components/calcite-action-pad.js +1 -1
  515. package/dist/components/calcite-action.js +1 -1
  516. package/dist/components/calcite-alert.js +2 -2
  517. package/dist/components/calcite-avatar.js +1 -1
  518. package/dist/components/calcite-block-section.js +2 -2
  519. package/dist/components/calcite-block.js +2 -2
  520. package/dist/components/calcite-button.js +1 -1
  521. package/dist/components/calcite-card.js +1 -1
  522. package/dist/components/calcite-checkbox.js +1 -1
  523. package/dist/components/calcite-chip.js +1 -1
  524. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  525. package/dist/components/calcite-color-picker-swatch.js +1 -1
  526. package/dist/components/calcite-color-picker.js +2 -2
  527. package/dist/components/calcite-combobox-item-group.js +1 -1
  528. package/dist/components/calcite-combobox-item.js +2 -2
  529. package/dist/components/calcite-combobox.js +2 -2
  530. package/dist/components/calcite-date-picker-day.js +1 -1
  531. package/dist/components/calcite-date-picker-month-header.js +1 -1
  532. package/dist/components/calcite-date-picker-month.js +1 -1
  533. package/dist/components/calcite-date-picker.js +1 -1
  534. package/dist/components/calcite-dropdown-group.js +2 -2
  535. package/dist/components/calcite-dropdown-item.js +2 -2
  536. package/dist/components/calcite-dropdown.js +1 -1
  537. package/dist/components/calcite-fab.js +1 -1
  538. package/dist/components/calcite-filter.js +1 -1
  539. package/dist/components/calcite-flow.js +1 -1
  540. package/dist/components/calcite-graph.js +1 -1
  541. package/dist/components/calcite-handle.js +1 -1
  542. package/dist/components/calcite-icon.js +1 -1
  543. package/dist/components/calcite-inline-editable.js +2 -2
  544. package/dist/components/calcite-input-date-picker.js +1 -1
  545. package/dist/components/calcite-input-message.js +2 -2
  546. package/dist/components/calcite-input-time-picker.js +1 -1
  547. package/dist/components/calcite-input.js +1 -1
  548. package/dist/components/calcite-label.js +1 -1
  549. package/dist/components/calcite-link.js +1 -1
  550. package/dist/components/calcite-list-item-group.js +1 -1
  551. package/dist/components/calcite-list-item.js +2 -2
  552. package/dist/components/calcite-list.js +1 -1
  553. package/dist/components/calcite-loader.js +1 -1
  554. package/dist/components/calcite-modal.js +2 -2
  555. package/dist/components/calcite-notice.js +2 -2
  556. package/dist/components/calcite-option-group.js +1 -1
  557. package/dist/components/calcite-option.js +1 -1
  558. package/dist/components/calcite-pagination.js +2 -2
  559. package/dist/components/calcite-panel.js +1 -1
  560. package/dist/components/calcite-pick-list-group.js +1 -1
  561. package/dist/components/calcite-pick-list-item.js +1 -1
  562. package/dist/components/calcite-pick-list.js +1 -1
  563. package/dist/components/calcite-popover-manager.js +1 -1
  564. package/dist/components/calcite-popover.js +1 -1
  565. package/dist/components/calcite-progress.js +1 -1
  566. package/dist/components/calcite-radio-button-group.js +1 -1
  567. package/dist/components/calcite-radio-button.js +3 -2
  568. package/dist/components/calcite-radio-group-item.js +2 -2
  569. package/dist/components/calcite-radio-group.js +1 -1
  570. package/dist/components/calcite-rating.js +2 -2
  571. package/dist/components/calcite-scrim.js +1 -1
  572. package/dist/components/calcite-select.js +2 -2
  573. package/dist/components/calcite-shell-center-row.js +1 -1
  574. package/dist/components/calcite-shell-panel.js +2 -2
  575. package/dist/components/calcite-shell.js +1 -1
  576. package/dist/components/calcite-slider.js +2 -2
  577. package/dist/components/calcite-sortable-list.js +1 -1
  578. package/dist/components/calcite-split-button.js +2 -2
  579. package/dist/components/calcite-stepper-item.js +2 -2
  580. package/dist/components/calcite-stepper.js +1 -1
  581. package/dist/components/calcite-switch.js +1 -1
  582. package/dist/components/calcite-tab-nav.js +1 -1
  583. package/dist/components/calcite-tab-title.js +1 -1
  584. package/dist/components/calcite-tab.js +1 -1
  585. package/dist/components/calcite-tabs.js +1 -1
  586. package/dist/components/calcite-tile-select-group.js +1 -1
  587. package/dist/components/calcite-tile-select.js +2 -2
  588. package/dist/components/calcite-tile.js +1 -1
  589. package/dist/components/calcite-time-picker.js +1 -1
  590. package/dist/components/calcite-tip-group.js +1 -1
  591. package/dist/components/calcite-tip-manager.js +2 -2
  592. package/dist/components/calcite-tip.js +2 -2
  593. package/dist/components/calcite-tooltip-manager.js +1 -1
  594. package/dist/components/calcite-tooltip.js +2 -2
  595. package/dist/components/calcite-tree-item.js +2 -2
  596. package/dist/components/calcite-tree.js +1 -1
  597. package/dist/components/calcite-value-list-item.js +2 -2
  598. package/dist/components/calcite-value-list.js +1 -1
  599. package/dist/components/checkbox.js +2 -2
  600. package/dist/components/chip.js +2 -2
  601. package/dist/components/color-picker-hex-input.js +1 -1
  602. package/dist/components/color-picker-swatch.js +1 -1
  603. package/dist/components/conditionalSlot.js +1 -1
  604. package/dist/components/date-picker-day.js +2 -2
  605. package/dist/components/date-picker-month-header.js +2 -2
  606. package/dist/components/date-picker-month.js +1 -1
  607. package/dist/components/date-picker.js +1 -1
  608. package/dist/components/date.js +1 -1
  609. package/dist/components/debounce.js +1 -1
  610. package/dist/components/dom.js +1 -1
  611. package/dist/components/dropdown.js +1 -1
  612. package/dist/components/filter.js +1 -1
  613. package/dist/components/forIn.js +1 -1
  614. package/dist/components/form.js +1 -1
  615. package/dist/components/graph.js +1 -1
  616. package/dist/components/guid.js +1 -1
  617. package/dist/components/handle.js +2 -2
  618. package/dist/components/icon.js +1 -1
  619. package/dist/components/index.js +1 -1
  620. package/dist/components/input.js +2 -2
  621. package/dist/components/interactive.js +1 -1
  622. package/dist/components/interfaces.js +1 -1
  623. package/dist/components/interfaces2.js +1 -1
  624. package/dist/components/label.js +1 -1
  625. package/dist/components/label2.js +1 -1
  626. package/dist/components/link.js +2 -2
  627. package/dist/components/loader.js +1 -1
  628. package/dist/components/locale.js +1 -1
  629. package/dist/components/math.js +1 -1
  630. package/dist/components/number.js +1 -1
  631. package/dist/components/observers.js +1 -1
  632. package/dist/components/pick-list-item.js +2 -2
  633. package/dist/components/popover.js +2 -2
  634. package/dist/components/popper.js +1 -1
  635. package/dist/components/progress.js +1 -1
  636. package/dist/components/resources.js +1 -1
  637. package/dist/components/resources2.js +1 -1
  638. package/dist/components/resources3.js +1 -1
  639. package/dist/components/scrim.js +1 -1
  640. package/dist/components/shared-list-render.js +1 -1
  641. package/dist/components/sortable.esm.js +1 -1
  642. package/dist/components/switch.js +2 -2
  643. package/dist/components/tab-nav.js +1 -1
  644. package/dist/components/tab-title.js +2 -2
  645. package/dist/components/tab.js +1 -1
  646. package/dist/components/tabs.js +1 -1
  647. package/dist/components/tile.js +2 -2
  648. package/dist/components/time-picker.js +1 -1
  649. package/dist/components/utils.js +1 -1
  650. package/dist/components/utils2.js +1 -1
  651. package/dist/custom-elements/index.js +46 -45
  652. package/dist/esm/{ExpandToggle-55f8369e.js → ExpandToggle-677dc713.js} +5 -5
  653. package/dist/esm/{Heading-13505d99.js → Heading-d7720e0d.js} +2 -2
  654. package/dist/esm/{array-991338ef.js → array-2872e6d1.js} +1 -1
  655. package/dist/esm/calcite-accordion_2.entry.js +5 -5
  656. package/dist/esm/calcite-action-bar.entry.js +10 -10
  657. package/dist/esm/calcite-action-group.entry.js +8 -8
  658. package/dist/esm/calcite-action-menu.entry.js +9 -9
  659. package/dist/esm/calcite-action-pad.entry.js +9 -9
  660. package/dist/esm/calcite-action.entry.js +7 -7
  661. package/dist/esm/calcite-alert.entry.js +6 -6
  662. package/dist/esm/calcite-avatar.entry.js +5 -5
  663. package/dist/esm/calcite-block_2.entry.js +10 -10
  664. package/dist/esm/calcite-button.entry.js +9 -9
  665. package/dist/esm/calcite-card.entry.js +6 -6
  666. package/dist/esm/calcite-checkbox.entry.js +8 -8
  667. package/dist/esm/calcite-chip.entry.js +7 -7
  668. package/dist/esm/calcite-color-picker_3.entry.js +9 -9
  669. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  670. package/dist/esm/calcite-date-picker_4.entry.js +11 -11
  671. package/dist/esm/calcite-dropdown_3.entry.js +9 -9
  672. package/dist/esm/calcite-fab.entry.js +5 -5
  673. package/dist/esm/calcite-filter.entry.js +7 -7
  674. package/dist/esm/calcite-flow.entry.js +3 -3
  675. package/dist/esm/calcite-graph_2.entry.js +10 -10
  676. package/dist/esm/calcite-handle.entry.js +5 -5
  677. package/dist/esm/calcite-icon.entry.js +5 -5
  678. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  679. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  680. package/dist/esm/calcite-input-message.entry.js +5 -5
  681. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  682. package/dist/esm/calcite-input.entry.js +12 -12
  683. package/dist/esm/calcite-label.entry.js +5 -5
  684. package/dist/esm/calcite-link.entry.js +6 -6
  685. package/dist/esm/calcite-list_3.entry.js +9 -9
  686. package/dist/esm/calcite-loader.entry.js +3 -3
  687. package/dist/esm/calcite-modal.entry.js +7 -7
  688. package/dist/esm/calcite-notice.entry.js +8 -8
  689. package/dist/esm/calcite-option_3.entry.js +9 -9
  690. package/dist/esm/calcite-pagination.entry.js +6 -6
  691. package/dist/esm/calcite-panel.entry.js +9 -9
  692. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  693. package/dist/esm/calcite-popover_2.entry.js +8 -8
  694. package/dist/esm/calcite-progress.entry.js +2 -2
  695. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  696. package/dist/esm/calcite-radio-button.entry.js +10 -9
  697. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  698. package/dist/esm/calcite-rating.entry.js +8 -8
  699. package/dist/esm/calcite-scrim.entry.js +2 -2
  700. package/dist/esm/calcite-shell_3.entry.js +8 -8
  701. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  702. package/dist/esm/calcite-split-button.entry.js +4 -4
  703. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  704. package/dist/esm/calcite-switch.entry.js +8 -8
  705. package/dist/esm/calcite-tab_4.entry.js +7 -7
  706. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  707. package/dist/esm/calcite-tile.entry.js +8 -8
  708. package/dist/esm/calcite-tip_3.entry.js +9 -9
  709. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  710. package/dist/esm/calcite-tree_2.entry.js +7 -7
  711. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  712. package/dist/esm/calcite.js +2 -2
  713. package/dist/esm/{conditionalSlot-0c758ae6.js → conditionalSlot-375ad84f.js} +3 -3
  714. package/dist/esm/{debounce-3431a5d6.js → debounce-933e7204.js} +1 -1
  715. package/dist/esm/{dom-2c53db4a.js → dom-f2a274bb.js} +2 -2
  716. package/dist/esm/{forIn-13ab1930.js → forIn-bc7d256d.js} +2 -2
  717. package/dist/esm/{form-c0cbae36.js → form-10b9543c.js} +3 -3
  718. package/dist/esm/{guid-07470ccb.js → guid-4c3e9504.js} +1 -1
  719. package/dist/esm/{index-64f9cc69.js → index-f2b12e49.js} +1 -1
  720. package/dist/esm/index.js +1 -1
  721. package/dist/esm/{interactive-3a8188a3.js → interactive-30d0189a.js} +1 -1
  722. package/dist/esm/{interfaces-38bb95ec.js → interfaces-ea62171f.js} +1 -1
  723. package/dist/esm/{label-41a453e2.js → label-3e2c3455.js} +2 -2
  724. package/dist/esm/loader.js +2 -2
  725. package/dist/esm/{locale-0918d75b.js → locale-8124c8dc.js} +2 -2
  726. package/dist/esm/{math-fd724a0c.js → math-1d53b42c.js} +1 -1
  727. package/dist/esm/{number-491dcf2e.js → number-f08e30b2.js} +1 -1
  728. package/dist/esm/{observers-8f3b8984.js → observers-ea43c5e9.js} +1 -1
  729. package/dist/esm/{popper-63aafda8.js → popper-1ab47fde.js} +2 -2
  730. package/dist/esm/{resources-2030a702.js → resources-030e1cae.js} +3 -3
  731. package/dist/esm/{resources-ae4cb710.js → resources-39317452.js} +5 -5
  732. package/dist/esm/{resources-42b241dc.js → resources-ad46e6e3.js} +1 -1
  733. package/dist/esm/{resources-d3d80974.js → resources-edfd47f3.js} +1 -1
  734. package/dist/esm/{sortable.esm-818ec000.js → sortable.esm-161a4349.js} +1 -1
  735. package/dist/esm/{utils-00a088dd.js → utils-e0c10cc9.js} +1 -1
  736. package/dist/esm-es5/{ExpandToggle-55f8369e.js → ExpandToggle-677dc713.js} +2 -2
  737. package/dist/esm-es5/{Heading-13505d99.js → Heading-d7720e0d.js} +2 -2
  738. package/dist/esm-es5/{array-991338ef.js → array-2872e6d1.js} +1 -1
  739. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  740. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  741. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  742. package/dist/esm-es5/calcite-action-menu.entry.js +3 -3
  743. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  744. package/dist/esm-es5/calcite-action.entry.js +2 -2
  745. package/dist/esm-es5/calcite-alert.entry.js +3 -3
  746. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  747. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  748. package/dist/esm-es5/calcite-button.entry.js +2 -2
  749. package/dist/esm-es5/calcite-card.entry.js +2 -2
  750. package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
  751. package/dist/esm-es5/calcite-chip.entry.js +3 -3
  752. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  753. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  754. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  755. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  756. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  757. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  758. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  759. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  760. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  761. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  762. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  763. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  764. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  765. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  766. package/dist/esm-es5/calcite-input.entry.js +3 -3
  767. package/dist/esm-es5/calcite-label.entry.js +2 -2
  768. package/dist/esm-es5/calcite-link.entry.js +3 -3
  769. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  770. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  771. package/dist/esm-es5/calcite-modal.entry.js +3 -3
  772. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  773. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  774. package/dist/esm-es5/calcite-pagination.entry.js +3 -3
  775. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  776. package/dist/esm-es5/calcite-pick-list_3.entry.js +3 -3
  777. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  778. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  779. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  780. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  781. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  782. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  783. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  784. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  785. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  786. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  787. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  788. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  789. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  790. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  791. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  792. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  793. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  794. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  795. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  796. package/dist/esm-es5/calcite.js +2 -2
  797. package/dist/esm-es5/{conditionalSlot-0c758ae6.js → conditionalSlot-375ad84f.js} +2 -2
  798. package/dist/esm-es5/{debounce-3431a5d6.js → debounce-933e7204.js} +1 -1
  799. package/dist/esm-es5/{dom-2c53db4a.js → dom-f2a274bb.js} +2 -2
  800. package/dist/esm-es5/{forIn-13ab1930.js → forIn-bc7d256d.js} +2 -2
  801. package/dist/esm-es5/{form-c0cbae36.js → form-10b9543c.js} +2 -2
  802. package/dist/esm-es5/{guid-07470ccb.js → guid-4c3e9504.js} +1 -1
  803. package/dist/esm-es5/{index-64f9cc69.js → index-f2b12e49.js} +1 -1
  804. package/dist/esm-es5/index.js +1 -1
  805. package/dist/esm-es5/{interactive-3a8188a3.js → interactive-30d0189a.js} +1 -1
  806. package/dist/esm-es5/{interfaces-38bb95ec.js → interfaces-ea62171f.js} +1 -1
  807. package/dist/esm-es5/{label-41a453e2.js → label-3e2c3455.js} +2 -2
  808. package/dist/esm-es5/loader.js +2 -2
  809. package/dist/esm-es5/{locale-0918d75b.js → locale-8124c8dc.js} +2 -2
  810. package/dist/esm-es5/{math-fd724a0c.js → math-1d53b42c.js} +1 -1
  811. package/dist/esm-es5/{number-491dcf2e.js → number-f08e30b2.js} +1 -1
  812. package/dist/esm-es5/{observers-8f3b8984.js → observers-ea43c5e9.js} +1 -1
  813. package/dist/esm-es5/{popper-63aafda8.js → popper-1ab47fde.js} +2 -2
  814. package/dist/esm-es5/{resources-2030a702.js → resources-030e1cae.js} +2 -2
  815. package/dist/esm-es5/{resources-ae4cb710.js → resources-39317452.js} +2 -2
  816. package/dist/esm-es5/{resources-42b241dc.js → resources-ad46e6e3.js} +1 -1
  817. package/dist/esm-es5/{resources-d3d80974.js → resources-edfd47f3.js} +1 -1
  818. package/dist/esm-es5/{sortable.esm-818ec000.js → sortable.esm-161a4349.js} +1 -1
  819. package/dist/esm-es5/{utils-00a088dd.js → utils-e0c10cc9.js} +1 -1
  820. package/dist/extras/docs-json.json +1 -1
  821. package/dist/loader/cdn.js +1 -1
  822. package/dist/loader/index.cjs.js +1 -1
  823. package/dist/loader/index.es2017.js +1 -1
  824. package/dist/loader/index.js +1 -1
  825. package/hydrate/index.js +46 -45
  826. package/package.json +12 -12
  827. package/dist/calcite/p-17935f55.entry.js +0 -6
  828. package/dist/calcite/p-17fc92fc.system.entry.js +0 -6
  829. package/dist/calcite/p-1ec8a6c4.system.entry.js +0 -6
  830. package/dist/calcite/p-1f95034a.entry.js +0 -6
  831. package/dist/calcite/p-2eb8713e.system.js +0 -6
  832. package/dist/calcite/p-344d5989.entry.js +0 -6
  833. package/dist/calcite/p-3807324c.system.entry.js +0 -6
  834. package/dist/calcite/p-3f78abd1.system.entry.js +0 -6
  835. package/dist/calcite/p-4743d08a.system.entry.js +0 -6
  836. package/dist/calcite/p-4bfebd7e.system.entry.js +0 -6
  837. package/dist/calcite/p-4d9964fe.system.entry.js +0 -6
  838. package/dist/calcite/p-4d9a15ee.system.entry.js +0 -6
  839. package/dist/calcite/p-54a9b97f.entry.js +0 -6
  840. package/dist/calcite/p-6d9bb2e5.system.entry.js +0 -6
  841. package/dist/calcite/p-86833655.system.entry.js +0 -6
  842. package/dist/calcite/p-8b5d1075.entry.js +0 -6
  843. package/dist/calcite/p-934733f0.entry.js +0 -6
  844. package/dist/calcite/p-a1560141.system.entry.js +0 -6
  845. package/dist/calcite/p-aa08c2a9.system.entry.js +0 -6
  846. package/dist/calcite/p-b4062633.system.entry.js +0 -6
  847. package/dist/calcite/p-b6038157.system.entry.js +0 -6
  848. package/dist/calcite/p-b6461d0a.system.entry.js +0 -6
  849. package/dist/calcite/p-bfef28f9.entry.js +0 -6
  850. package/dist/calcite/p-c391491a.entry.js +0 -6
  851. package/dist/calcite/p-c704d548.system.entry.js +0 -6
  852. package/dist/calcite/p-c8f4e373.js +0 -6
  853. package/dist/calcite/p-cc76a16e.system.entry.js +0 -6
  854. package/dist/calcite/p-ccc0c141.entry.js +0 -6
  855. package/dist/calcite/p-cdd5bfe0.system.entry.js +0 -6
  856. package/dist/calcite/p-d91b39cf.system.entry.js +0 -6
  857. package/dist/calcite/p-da0fff88.system.entry.js +0 -6
  858. package/dist/calcite/p-e075f217.system.entry.js +0 -6
  859. package/dist/calcite/p-e81cd4d4.system.entry.js +0 -6
  860. package/dist/calcite/p-eeebbe3b.system.entry.js +0 -6
  861. package/dist/calcite/p-f823cc53.system.entry.js +0 -6
  862. package/dist/calcite/p-f958f19b.system.entry.js +0 -6
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { f as forceUpdate } from './index-64f9cc69.js';
7
- import { c as createObserver } from './observers-8f3b8984.js';
6
+ import { f as forceUpdate } from './index-f2b12e49.js';
7
+ import { c as createObserver } from './observers-ea43c5e9.js';
8
8
 
9
9
  const observed = new Set();
10
10
  let mutationObserver;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  /** Detect free variable `global` from Node.js. */
7
7
  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { g as guid } from './guid-07470ccb.js';
6
+ import { g as guid } from './guid-4c3e9504.js';
7
7
 
8
8
  const autoTheme = "calcite-theme-auto";
9
9
  const darkTheme = "calcite-theme-dark";
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-3431a5d6.js';
6
+ import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-933e7204.js';
7
7
 
8
8
  /**
9
9
  * Checks if `value` is classified as an `Array` object.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { c as closestElementCrossShadowBoundary } from './dom-2c53db4a.js';
7
- import { h } from './index-64f9cc69.js';
6
+ import { c as closestElementCrossShadowBoundary } from './dom-f2a274bb.js';
7
+ import { h } from './index-f2b12e49.js';
8
8
 
9
9
  /**
10
10
  * Exported for testing purposes.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  function gen(counts) {
7
7
  return counts
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  const NAMESPACE = 'calcite';
7
7
 
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  function noopClick() {
7
7
  /** noop */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  var StatusIcons;
7
7
  (function (StatusIcons) {
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-2c53db4a.js';
6
+ import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-f2a274bb.js';
7
7
 
8
8
  /**
9
9
  * Exported for testing purposes only
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-64f9cc69.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-f2b12e49.js';
7
7
 
8
8
  /*
9
9
  Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { a as sanitizeExponentialNumberString, i as isValidNumber, b as sanitizeDecimalString } from './number-491dcf2e.js';
6
+ import { a as sanitizeExponentialNumberString, i as isValidNumber, b as sanitizeDecimalString } from './number-f08e30b2.js';
7
7
 
8
8
  const locales = [
9
9
  "ar",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
7
7
  const decimalPlaces = (value) => {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  function isActivationKey(key) {
7
7
  return key === "Enter" || key === " ";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  /**
7
7
  * This utility ensures observers are created only for browser contexts.
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { a as getElementDir } from './dom-2c53db4a.js';
6
+ import { a as getElementDir } from './dom-f2a274bb.js';
7
7
 
8
8
  var top = 'top';
9
9
  var bottom = 'bottom';
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { a as getAssetPath } from './index-64f9cc69.js';
7
- import { a as locales } from './locale-0918d75b.js';
6
+ import { a as getAssetPath } from './index-f2b12e49.js';
7
+ import { a as locales } from './locale-8124c8dc.js';
8
8
 
9
9
  /**
10
10
  * Get supported locale code from raw user input
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-2c53db4a.js';
7
- import { g as getRoundRobinIndex } from './array-991338ef.js';
8
- import { d as debounce } from './debounce-3431a5d6.js';
9
- import { h, H as Host } from './index-64f9cc69.js';
6
+ import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-f2a274bb.js';
7
+ import { g as getRoundRobinIndex } from './array-2872e6d1.js';
8
+ import { d as debounce } from './debounce-933e7204.js';
9
+ import { h, H as Host } from './index-f2b12e49.js';
10
10
 
11
11
  const CSS$2 = {
12
12
  heading: "heading",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  const CSS = {
7
7
  menu: "menu",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  const SLOTS = {
7
7
  menuActions: "menu-actions",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  function rgbToHex(color) {
7
7
  const { r, g, b } = color;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import{f as forceUpdate,h}from"./index-64f9cc69.js";import{a as getElementDir}from"./dom-2c53db4a.js";import{S as SLOTS}from"./resources-42b241dc.js";import{S as SLOTS$1}from"./resources-d3d80974.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,o=e.actionHeight,r=e.groupCount;return Math.floor((t-r*groupBufferHeight)/o)};var getOverflowCount=function(e){var t=e.actionCount,o=e.actionHeight,r=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:r,actionHeight:o,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,o=e.expanded,r=e.overflowCount;var n=r;t.reverse().forEach((function(e){var t=0;var r=queryActions(e).reverse();r.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=o}}));if(n>0){r.some((function(e){var o=r.filter((function(e){return!e.slot}));if(o.length>1&&r.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var o;return e||((o=t.closest("calcite-shell-panel"))===null||o===void 0?void 0:o.position)||"start"}function toggleChildActionText(e){var t=e.parent,o=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=o}));t.querySelectorAll("calcite-action-group").forEach((function(e){return e.expanded=o}))}var setTooltipReference=function(e){var t=e.tooltip,o=e.referenceElement,r=e.expanded,n=e.ref;if(t){t.referenceElement=!r&&o?o:null}if(n){n(o)}return o};var ExpandToggle=function(e){var t=e.expanded,o=e.intlExpand,r=e.intlCollapse,n=e.toggle,i=e.el,c=e.position,a=e.tooltip,l=e.ref,u=e.scale;var s=getElementDir(i)==="rtl";var f=t?r:o;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(s){v.reverse()}var g=getCalcitePosition(c,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:a,referenceElement:e,expanded:t,ref:l})},scale:u,text:f,textEnabled:t});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
6
+ import{f as forceUpdate,h}from"./index-f2b12e49.js";import{a as getElementDir}from"./dom-f2a274bb.js";import{S as SLOTS}from"./resources-ad46e6e3.js";import{S as SLOTS$1}from"./resources-edfd47f3.js";var overflowActionsDebounceInMs=150;var groupBufferHeight=2;var getMaxActionCount=function(e){var t=e.height,o=e.actionHeight,r=e.groupCount;return Math.floor((t-r*groupBufferHeight)/o)};var getOverflowCount=function(e){var t=e.actionCount,o=e.actionHeight,r=e.height,n=e.groupCount;return Math.max(t-getMaxActionCount({height:r,actionHeight:o,groupCount:n}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,o=e.expanded,r=e.overflowCount;var n=r;t.reverse().forEach((function(e){var t=0;var r=queryActions(e).reverse();r.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=o}}));if(n>0){r.some((function(e){var o=r.filter((function(e){return!e.slot}));if(o.length>1&&r.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){n--}}return n<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var o;return e||((o=t.closest("calcite-shell-panel"))===null||o===void 0?void 0:o.position)||"start"}function toggleChildActionText(e){var t=e.parent,o=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=o}));t.querySelectorAll("calcite-action-group").forEach((function(e){return e.expanded=o}))}var setTooltipReference=function(e){var t=e.tooltip,o=e.referenceElement,r=e.expanded,n=e.ref;if(t){t.referenceElement=!r&&o?o:null}if(n){n(o)}return o};var ExpandToggle=function(e){var t=e.expanded,o=e.intlExpand,r=e.intlCollapse,n=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var f=getElementDir(i)==="rtl";var s=t?r:o;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(f){v.reverse()}var g=getCalcitePosition(a,i)==="end";var p=g?v[1]:v[0];var d=g?v[0]:v[1];var m=h("calcite-action",{icon:t?p:d,onClick:n,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:s,textEnabled:t});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import{h}from"./index-64f9cc69.js";function constrainHeadingLevel(e){return Math.min(Math.max(Math.ceil(e),1),6)}var Heading=function(e,n){var a="h".concat(e.level);delete e.level;return h(a,Object.assign({},e),n)};export{Heading as H,constrainHeadingLevel as c};
6
+ import{h}from"./index-f2b12e49.js";function constrainHeadingLevel(e){return Math.min(Math.max(Math.ceil(e),1),6)}var Heading=function(e,n){var a="h".concat(e.level);delete e.level;return h(a,Object.assign({},e),n)};export{Heading as H,constrainHeadingLevel as c};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
6
  function getRoundRobinIndex(n,e){return(n+e)%e}export{getRoundRobinIndex as g};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-64f9cc69.js";import{d as getElementProp,a as getElementDir,C as CSS_UTILITY,t as toAriaBoolean}from"./dom-2c53db4a.js";import{g as guid}from"./guid-07470ccb.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var o=t.target;var n=this.itemIndex(o)===0;var c=this.itemIndex(o)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(o)}break;case"ArrowUp":if(n){this.focusLastItem()}else{this.focusPrevItem(o)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",7);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",7);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",7);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",7);this.active=false;this.guid=guid();this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});var o=this.guid;var n="".concat(o,"-region");var c="".concat(o,"-button");return h(Host,{tabindex:"0"},h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{"aria-controls":n,class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),id:c,onClick:this.itemHeaderClickHandler,role:"button"},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-title"},this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-subtitle"},this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.active?"minus":"plus",scale:"s"})),h("div",{"aria-expanded":toAriaBoolean(this.active),"aria-labelledby":c,class:"accordion-item-content",id:n,role:"region"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-f2b12e49.js";import{d as getElementProp,a as getElementDir,C as CSS_UTILITY,t as toAriaBoolean}from"./dom-f2a274bb.js";import{g as guid}from"./guid-4c3e9504.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-width:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-bottom-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",7);this.appearance="default";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){return h("div",{class:{"accordion--transparent":this.appearance==="transparent","accordion--minimal":this.appearance==="minimal",accordion:this.appearance==="default"}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var a=i.key;var o=t.target;var n=this.itemIndex(o)===0;var c=this.itemIndex(o)===this.items.length-1;switch(a){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(o)}break;case"ArrowUp":if(n){this.focusLastItem()}else{this.focusPrevItem(o)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .accordion-item-header{outline-color:transparent}:host(:focus) .accordion-item-header{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}:host .accordion-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}:host .accordion-item-content,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([active]) .calcite--rtl .accordion-item-expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .accordion-item-header-text{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .accordion-item-title,:host .accordion-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",7);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",7);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",7);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",7);this.active=false;this.guid=guid();this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var a=h("calcite-icon",{class:"accordion-item-icon",icon:this.icon,scale:"s"});var o=this.guid;var n="".concat(o,"-region");var c="".concat(o,"-button");return h(Host,{tabindex:"0"},h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{"aria-controls":n,class:(i={"accordion-item-header":true},i[CSS_UTILITY.rtl]=e==="rtl",i),id:c,onClick:this.itemHeaderClickHandler,role:"button"},this.icon?a:null,h("div",{class:"accordion-item-header-text"},h("span",{class:"accordion-item-title"},this.itemTitle),this.itemSubtitle?h("span",{class:"accordion-item-subtitle"},this.itemSubtitle):null),h("calcite-icon",{class:"accordion-item-expand-icon",icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.active?"minus":"plus",scale:"s"})),h("div",{"aria-expanded":toAriaBoolean(this.active),"aria-labelledby":c,class:"accordion-item-content",id:n,role:"region"},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.active=!this.active}break;case"single":this.active=this.el===this.requestedAccordionItem?!this.active:false;break;case"single-persist":this.active=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,o){function i(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.474
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-64f9cc69.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,a as overflowActions,E as ExpandToggle,g as getOverflowCount}from"./ExpandToggle-55f8369e.js";import{f as focusElement,g as getSlotted}from"./dom-2c53db4a.js";import{c as createObserver}from"./observers-8f3b8984.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-0c758ae6.js";import{d as debounce}from"./debounce-3431a5d6.js";import"./resources-42b241dc.js";import"./resources-d3d80974.js";import"./guid-07470ccb.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var actionBarCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var ActionBar=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var t=e,n=t.el,o=t.expanded;toggleChildActionText({parent:n,expanded:o});e.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var n=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!n.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(e.resizeHandler)};this.resizeHandler=function(t){var n=t.contentRect.height;e.resize(n)};this.resize=debounce((function(t){var n;var o=e,i=o.el,a=o.expanded,r=o.expandDisabled;if(!t){return}var l=queryActions(i);var s=r?l.length:l.length+1;var c=Array.from(i.querySelectorAll("calcite-action-group"));var d=getSlotted(i,SLOTS.bottomActions)||!r?c.length+1:c.length;var p=getOverflowCount({actionCount:s,actionHeight:(n=l[0])===null||n===void 0?void 0:n.clientHeight,height:t,groupCount:d});overflowActions({actionGroups:c,expanded:a,overflowCount:p})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!e.overflowActionsDisabled){e.overflowActions()}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,o=n.el,i=n.expanded;toggleChildActionText({parent:o,expanded:i});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(o)}this.conditionallyOverflowActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectConditionalSlotComponent(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,i=t.intlCollapse,a=t.el,r=t.position,l=t.toggleExpand,s=t.scale;var c=getSlotted(a,SLOTS.expandTooltip);var d=o||TEXT.expand;var p=i||TEXT.collapse;var f=!n?h(ExpandToggle,{el:a,expanded:e,intlCollapse:p,intlExpand:d,position:r,ref:this.setExpandToggleRef,scale:s,toggle:l,tooltip:c}):null;return getSlotted(a,SLOTS.bottomActions)||f?h("calcite-action-group",{class:CSS.actionGroupBottom,scale:s},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),f):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}();ActionBar.style=actionBarCss;export{ActionBar as calcite_action_bar};
5
+ * v1.0.0-next.477
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-f2b12e49.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,a as overflowActions,E as ExpandToggle,g as getOverflowCount}from"./ExpandToggle-677dc713.js";import{f as focusElement,g as getSlotted}from"./dom-f2a274bb.js";import{c as createObserver}from"./observers-ea43c5e9.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-375ad84f.js";import{d as debounce}from"./debounce-933e7204.js";import"./resources-ad46e6e3.js";import"./resources-edfd47f3.js";import"./guid-4c3e9504.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var actionBarCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";var ActionBar=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",7);this.expandDisabled=false;this.expanded=false;this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var t=e,n=t.el,o=t.expanded;toggleChildActionText({parent:n,expanded:o});e.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var n=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!n.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(e.resizeHandler)};this.resizeHandler=function(t){var n=t.contentRect.height;e.resize(n)};this.resize=debounce((function(t){var n;var o=e,i=o.el,a=o.expanded,r=o.expandDisabled;if(!t){return}var l=queryActions(i);var s=r?l.length:l.length+1;var c=Array.from(i.querySelectorAll("calcite-action-group"));var d=getSlotted(i,SLOTS.bottomActions)||!r?c.length+1:c.length;var p=getOverflowCount({actionCount:s,actionHeight:(n=l[0])===null||n===void 0?void 0:n.clientHeight,height:t,groupCount:d});overflowActions({actionGroups:c,expanded:a,overflowCount:p})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!e.overflowActionsDisabled){e.overflowActions()}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t})};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,o=n.el,i=n.expanded;toggleChildActionText({parent:o,expanded:i});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(o)}this.conditionallyOverflowActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectConditionalSlotComponent(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize(this.el.clientHeight);return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:e.sent();return[2];case 2:this.el.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,i=t.intlCollapse,a=t.el,r=t.position,l=t.toggleExpand,s=t.scale;var c=getSlotted(a,SLOTS.expandTooltip);var d=o||TEXT.expand;var p=i||TEXT.collapse;var f=!n?h(ExpandToggle,{el:a,expanded:e,intlCollapse:p,intlExpand:d,position:r,ref:this.setExpandToggleRef,scale:s,toggle:l,tooltip:c}):null;return getSlotted(a,SLOTS.bottomActions)||f?h("calcite-action-group",{class:CSS.actionGroupBottom,scale:s},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),f):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}();ActionBar.style=actionBarCss;export{ActionBar as calcite_action_bar};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.474
4
+ * v1.0.0-next.477
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-64f9cc69.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-d3d80974.js";import{g as getSlotted}from"./dom-2c53db4a.js";import{S as SLOTS$1}from"./resources-42b241dc.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-0c758ae6.js";import"./guid-07470ccb.js";import"./observers-8f3b8984.js";var actionGroupCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var ActionGroup=function(){function t(t){var n=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=getSlotted(t,SLOTS.menuTooltip);return n?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,a=t.expanded,e=t.intlMore,i=t.menuOpen,o=t.scale;var r=getSlotted(n,SLOTS.menuActions);return r?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:e||TEXT.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:i,placement:"leading-start",scale:o},h("calcite-action",{icon:ICONS.menu,scale:o,slot:SLOTS$1.trigger,text:e||TEXT.more,textEnabled:a}),h("slot",{name:SLOTS.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return h(Fragment,null,h("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionGroup.style=actionGroupCss;export{ActionGroup as calcite_action_group};
6
+ import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-f2b12e49.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-edfd47f3.js";import{g as getSlotted}from"./dom-f2a274bb.js";import{S as SLOTS$1}from"./resources-ad46e6e3.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-375ad84f.js";import"./guid-4c3e9504.js";import"./observers-ea43c5e9.js";var actionGroupCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var ActionGroup=function(){function t(t){var n=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=getSlotted(t,SLOTS.menuTooltip);return n?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,a=t.expanded,e=t.intlMore,i=t.menuOpen,o=t.scale;var r=getSlotted(n,SLOTS.menuActions);return r?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:e||TEXT.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:i,placement:"leading-start",scale:o},h("calcite-action",{icon:ICONS.menu,scale:o,slot:SLOTS$1.trigger,text:e||TEXT.more,textEnabled:a}),h("slot",{name:SLOTS.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return h(Fragment,null,h("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionGroup.style=actionGroupCss;export{ActionGroup as calcite_action_group};
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{c(i.next(t))}catch(t){a(t)}}function l(t){try{c(i["throw"](t))}catch(t){a(t)}}function c(t){t.done?n(t.value):o(t.value).then(r,l)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return c([t,e])}}function c(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,o&&(a=r[0]&2?o["return"]:r[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;if(o=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;o=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){n.label=r[1];break}if(r[0]===6&&n.label<a[1]){n.label=a[1];a=r;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(r);break}if(a[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];o=0}finally{i=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i["throw"](t))}catch(t){o(t)}}function c(t){t.done?n(t.value):a(t.value).then(r,l)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return c([t,e])}}function c(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.474
6
- */import{r as registerInstance,c as createEvent,h,F as Fragment,g as getElement}from"./index-64f9cc69.js";import{C as CSS,I as ICONS,S as SLOTS}from"./resources-42b241dc.js";import{g as getSlotted,t as toAriaBoolean,f as focusElement}from"./dom-2c53db4a.js";import{g as getRoundRobinIndex}from"./array-991338ef.js";import{g as guid}from"./guid-07470ccb.js";import{c as createObserver}from"./observers-8f3b8984.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-0c758ae6.js";var actionMenuCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var SUPPORTED_BUTTON_NAV_KEYS=["ArrowUp","ArrowDown"];var SUPPORTED_MENU_NAV_KEYS=["ArrowUp","ArrowDown","End","Home"];var ActionMenu=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionMenuOpenChange=createEvent(this,"calciteActionMenuOpenChange",7);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.mutationObserver=createObserver("mutation",(function(){return e.getActions()}));this.guid="calcite-action-menu-".concat(guid());this.menuId="".concat(this.guid,"-menu");this.menuButtonId="".concat(this.guid,"-menu-button");this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=e,n=t.el,i=t.menuButtonId,o=t.menuId,a=t.open,r=t.label;var l=getSlotted(n,SLOTS.trigger)||e.defaultMenuButtonEl;if(e.menuButtonEl===l){return}e.disconnectMenuButtonEl();e.menuButtonEl=l;e.setTooltipReferenceElement();if(!l){return}l.active=a;l.setAttribute("aria-controls",o);l.setAttribute("aria-expanded",toAriaBoolean(a));l.setAttribute("aria-haspopup","true");if(!l.id){l.id=i}if(!l.label){l.label=r}if(!l.text){l.text=r}l.addEventListener("click",e.menuButtonClick);l.addEventListener("keydown",e.menuButtonKeyDown);l.addEventListener("keyup",e.menuButtonKeyUp)};this.disconnectMenuButtonEl=function(){var t=e.menuButtonEl;if(!t){return}t.removeEventListener("click",e.menuButtonClick);t.removeEventListener("keydown",e.menuButtonKeyDown);t.removeEventListener("keyup",e.menuButtonKeyUp)};this.setDefaultMenuButtonEl=function(t){e.defaultMenuButtonEl=t;e.connectMenuButtonEl()};this.handleCalciteActionClick=function(){e.open=false;e.setFocus()};this.menuButtonClick=function(){e.toggleOpen()};this.updateTooltip=function(t){var n=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-tooltip")}));e.tooltipEl=n[0];e.setTooltipReferenceElement()};this.setTooltipReferenceElement=function(){var t=e,n=t.tooltipEl,i=t.expanded,o=t.menuButtonEl;if(n){n.referenceElement=!i?o:null}};this.updateAction=function(t,n){var i=e,o=i.guid,a=i.activeMenuItemIndex;var r="".concat(o,"-action-").concat(n);t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=n===a};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(e.updateAction)};this.getActions=function(){var t=e.el;var n=getSlotted(t,{all:true,matches:"calcite-action"});e.updateActions(n);e.actionElements=n;e.connectMenuButtonEl()};this.menuButtonKeyUp=function(t){var n=t.key;var i=e.actionElements;if(!e.isValidKey(n,SUPPORTED_BUTTON_NAV_KEYS)){return}t.preventDefault();if(!i.length){return}e.toggleOpen(true);e.handleActionNavigation(n,i)};this.menuButtonKeyDown=function(t){var n=t.key;if(!e.isValidKey(n,SUPPORTED_BUTTON_NAV_KEYS)){return}t.preventDefault()};this.menuActionsContainerKeyDown=function(t){var n=t.key;var i=e,o=i.actionElements,a=i.activeMenuItemIndex;if(n==="Tab"){e.open=false;return}if(n===" "||n==="Enter"){t.preventDefault();var r=o[a];r?r.click():e.toggleOpen(false);return}if(e.isValidKey(n,SUPPORTED_MENU_NAV_KEYS)){t.preventDefault()}};this.menuActionsContainerKeyUp=function(t){var n=t.key;var i=e.actionElements;if(n==="Escape"){e.toggleOpen(false);return}if(!e.isValidKey(n,SUPPORTED_MENU_NAV_KEYS)){return}t.preventDefault();if(!i.length){return}e.handleActionNavigation(n,i)};this.handleActionNavigation=function(t,n){var i=e.activeMenuItemIndex;if(t==="Home"){e.activeMenuItemIndex=0}if(t==="End"){e.activeMenuItemIndex=n.length-1}if(t==="ArrowUp"){e.activeMenuItemIndex=getRoundRobinIndex(Math.max(i-1,-1),n.length)}if(t==="ArrowDown"){e.activeMenuItemIndex=getRoundRobinIndex(i+1,n.length)}};this.toggleOpenEnd=function(){e.setFocus();e.el.removeEventListener("calcitePopoverOpen",e.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!e.open}e.el.addEventListener("calcitePopoverOpen",e.toggleOpenEnd);e.open=t}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.getActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.disconnectMenuButtonEl();disconnectConditionalSlotComponent(this)};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t)};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.open?this.menuEl:this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.label,n=t.scale;var i=h("slot",{name:SLOTS.trigger},h("calcite-action",{class:CSS.defaultTrigger,icon:ICONS.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:e}));return i};t.prototype.renderMenuItems=function(){var t=this;var e=this,n=e.actionElements,i=e.activeMenuItemIndex,o=e.open,a=e.menuId,r=e.menuButtonEl,l=e.label,c=e.placement,s=e.overlayPositioning,u=e.flipPlacements;var m=n[i];var f=(m===null||m===void 0?void 0:m.id)||null;return h("calcite-popover",{disablePointer:true,flipPlacements:u,label:l,offsetDistance:0,open:o,overlayPositioning:s,placement:c,referenceElement:r},h("div",{"aria-activedescendant":f,"aria-labelledby":r===null||r===void 0?void 0:r.id,class:CSS.menu,id:a,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:function(e){return t.menuEl=e},role:"menu",tabIndex:-1},h("slot",null)))};t.prototype.render=function(){return h(Fragment,null,this.renderMenuButton(),this.renderMenuItems(),h("slot",{name:SLOTS.tooltip,onSlotchange:this.updateTooltip}))};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}();ActionMenu.style=actionMenuCss;export{ActionMenu as calcite_action_menu};
5
+ * v1.0.0-next.477
6
+ */import{r as registerInstance,c as createEvent,h,F as Fragment,g as getElement}from"./index-f2b12e49.js";import{C as CSS,I as ICONS,S as SLOTS}from"./resources-ad46e6e3.js";import{g as getSlotted,t as toAriaBoolean,f as focusElement}from"./dom-f2a274bb.js";import{g as getRoundRobinIndex}from"./array-2872e6d1.js";import{g as guid}from"./guid-4c3e9504.js";import{c as createObserver}from"./observers-ea43c5e9.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-375ad84f.js";var actionMenuCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var SUPPORTED_BUTTON_NAV_KEYS=["ArrowUp","ArrowDown"];var SUPPORTED_MENU_NAV_KEYS=["ArrowUp","ArrowDown","End","Home"];var ActionMenu=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionMenuOpenChange=createEvent(this,"calciteActionMenuOpenChange",7);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.mutationObserver=createObserver("mutation",(function(){return e.getActions()}));this.guid="calcite-action-menu-".concat(guid());this.menuId="".concat(this.guid,"-menu");this.menuButtonId="".concat(this.guid,"-menu-button");this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=e,n=t.el,i=t.menuButtonId,a=t.menuId,o=t.open,r=t.label;var l=getSlotted(n,SLOTS.trigger)||e.defaultMenuButtonEl;if(e.menuButtonEl===l){return}e.disconnectMenuButtonEl();e.menuButtonEl=l;e.setTooltipReferenceElement();if(!l){return}l.active=o;l.setAttribute("aria-controls",a);l.setAttribute("aria-expanded",toAriaBoolean(o));l.setAttribute("aria-haspopup","true");if(!l.id){l.id=i}if(!l.label){l.label=r}if(!l.text){l.text=r}l.addEventListener("click",e.menuButtonClick);l.addEventListener("keydown",e.menuButtonKeyDown);l.addEventListener("keyup",e.menuButtonKeyUp)};this.disconnectMenuButtonEl=function(){var t=e.menuButtonEl;if(!t){return}t.removeEventListener("click",e.menuButtonClick);t.removeEventListener("keydown",e.menuButtonKeyDown);t.removeEventListener("keyup",e.menuButtonKeyUp)};this.setDefaultMenuButtonEl=function(t){e.defaultMenuButtonEl=t;e.connectMenuButtonEl()};this.handleCalciteActionClick=function(){e.open=false;e.setFocus()};this.menuButtonClick=function(){e.toggleOpen()};this.updateTooltip=function(t){var n=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-tooltip")}));e.tooltipEl=n[0];e.setTooltipReferenceElement()};this.setTooltipReferenceElement=function(){var t=e,n=t.tooltipEl,i=t.expanded,a=t.menuButtonEl;if(n){n.referenceElement=!i?a:null}};this.updateAction=function(t,n){var i=e,a=i.guid,o=i.activeMenuItemIndex;var r="".concat(a,"-action-").concat(n);t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=n===o};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(e.updateAction)};this.getActions=function(){var t=e.el;var n=getSlotted(t,{all:true,matches:"calcite-action"});e.updateActions(n);e.actionElements=n;e.connectMenuButtonEl()};this.menuButtonKeyUp=function(t){var n=t.key;var i=e.actionElements;if(!e.isValidKey(n,SUPPORTED_BUTTON_NAV_KEYS)){return}t.preventDefault();if(!i.length){return}e.toggleOpen(true);e.handleActionNavigation(n,i)};this.menuButtonKeyDown=function(t){var n=t.key;if(!e.isValidKey(n,SUPPORTED_BUTTON_NAV_KEYS)){return}t.preventDefault()};this.menuActionsContainerKeyDown=function(t){var n=t.key;var i=e,a=i.actionElements,o=i.activeMenuItemIndex;if(n==="Tab"){e.open=false;return}if(n===" "||n==="Enter"){t.preventDefault();var r=a[o];r?r.click():e.toggleOpen(false);return}if(e.isValidKey(n,SUPPORTED_MENU_NAV_KEYS)){t.preventDefault()}};this.menuActionsContainerKeyUp=function(t){var n=t.key;var i=e.actionElements;if(n==="Escape"){e.toggleOpen(false);return}if(!e.isValidKey(n,SUPPORTED_MENU_NAV_KEYS)){return}t.preventDefault();if(!i.length){return}e.handleActionNavigation(n,i)};this.handleActionNavigation=function(t,n){var i=e.activeMenuItemIndex;if(t==="Home"){e.activeMenuItemIndex=0}if(t==="End"){e.activeMenuItemIndex=n.length-1}if(t==="ArrowUp"){e.activeMenuItemIndex=getRoundRobinIndex(Math.max(i-1,-1),n.length)}if(t==="ArrowDown"){e.activeMenuItemIndex=getRoundRobinIndex(i+1,n.length)}};this.toggleOpenEnd=function(){e.setFocus();e.el.removeEventListener("calcitePopoverOpen",e.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!e.open}e.el.addEventListener("calcitePopoverOpen",e.toggleOpenEnd);e.open=t}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.getActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.disconnectMenuButtonEl();disconnectConditionalSlotComponent(this)};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t)};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.open?this.menuEl:this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.label,n=t.scale;var i=h("slot",{name:SLOTS.trigger},h("calcite-action",{class:CSS.defaultTrigger,icon:ICONS.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:e}));return i};t.prototype.renderMenuItems=function(){var t=this;var e=this,n=e.actionElements,i=e.activeMenuItemIndex,a=e.open,o=e.menuId,r=e.menuButtonEl,l=e.label,c=e.placement,s=e.overlayPositioning,u=e.flipPlacements;var m=n[i];var f=(m===null||m===void 0?void 0:m.id)||null;return h("calcite-popover",{disablePointer:true,flipPlacements:u,label:l,offsetDistance:0,open:a,overlayPositioning:s,placement:c,referenceElement:r},h("div",{"aria-activedescendant":f,"aria-labelledby":r===null||r===void 0?void 0:r.id,class:CSS.menu,id:o,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:function(e){return t.menuEl=e},role:"menu",tabIndex:-1},h("slot",null)))};t.prototype.render=function(){return h(Fragment,null,this.renderMenuButton(),this.renderMenuItems(),h("slot",{name:SLOTS.tooltip,onSlotchange:this.updateTooltip}))};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}();ActionMenu.style=actionMenuCss;export{ActionMenu as calcite_action_menu};