@esri/calcite-components 1.0.0-next.568 → 1.0.0-next.570

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 (838) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-b6c7b20d.entry.js → p-0040ef29.entry.js} +2 -2
  5. package/dist/calcite/{p-ff8e75fa.entry.js → p-027bc2e0.entry.js} +2 -2
  6. package/dist/calcite/{p-f700c891.system.js → p-0506f9cf.system.js} +2 -2
  7. package/dist/calcite/{p-9e7827bd.system.entry.js → p-05d42307.system.entry.js} +2 -2
  8. package/dist/calcite/{p-e400cfe5.entry.js → p-0b11fe65.entry.js} +2 -2
  9. package/dist/calcite/{p-22af07a8.entry.js → p-0c93e5c1.entry.js} +2 -2
  10. package/dist/calcite/{p-a33dc524.system.js → p-0d029f6c.system.js} +2 -2
  11. package/dist/calcite/{p-5a40ba1f.system.entry.js → p-0d41a83b.system.entry.js} +2 -2
  12. package/dist/calcite/{p-4fdba623.system.entry.js → p-1035cdf6.system.entry.js} +2 -2
  13. package/dist/calcite/{p-1175f159.entry.js → p-10fb4300.entry.js} +2 -2
  14. package/dist/calcite/{p-087ecfba.entry.js → p-12668dec.entry.js} +2 -2
  15. package/dist/calcite/{p-4255449b.system.js → p-13dcafeb.system.js} +2 -2
  16. package/dist/calcite/{p-62e39d9f.entry.js → p-1487a614.entry.js} +2 -2
  17. package/dist/calcite/{p-d6c1b3a6.system.entry.js → p-157ed5a0.system.entry.js} +2 -2
  18. package/dist/calcite/{p-5f01ecf5.entry.js → p-160eb6d5.entry.js} +2 -2
  19. package/dist/calcite/{p-198128a6.system.js → p-16220a0a.system.js} +2 -2
  20. package/dist/calcite/{p-9cb6586c.system.entry.js → p-168f98ef.system.entry.js} +2 -2
  21. package/dist/calcite/{p-9228e153.system.js → p-175343fe.system.js} +1 -1
  22. package/dist/calcite/{p-0f0f314b.system.js → p-19516261.system.js} +1 -1
  23. package/dist/calcite/{p-1b444215.system.entry.js → p-1bcdc3d1.system.entry.js} +3 -3
  24. package/dist/calcite/{p-9ebff13e.js → p-1c20a07f.js} +1 -1
  25. package/dist/calcite/p-1d75037d.js +6 -0
  26. package/dist/calcite/{p-acc0546d.system.entry.js → p-1f3e514c.system.entry.js} +2 -2
  27. package/dist/calcite/{p-ab14c78d.system.js → p-22758bfb.system.js} +3 -3
  28. package/dist/calcite/{p-0af0206b.js → p-274a0060.js} +1 -1
  29. package/dist/calcite/p-288bc382.entry.js +6 -0
  30. package/dist/calcite/p-291691df.js +6 -0
  31. package/dist/calcite/{p-200b7572.system.js → p-2a3e1cec.system.js} +1 -1
  32. package/dist/calcite/{p-99303ab1.entry.js → p-2c07bf0e.entry.js} +2 -2
  33. package/dist/calcite/{p-aac43b1a.js → p-2c6945ed.js} +1 -1
  34. package/dist/calcite/{p-1c306316.js → p-2ced8e9b.js} +2 -2
  35. package/dist/calcite/{p-76f62b10.system.entry.js → p-2d54bb37.system.entry.js} +2 -2
  36. package/dist/calcite/{p-b720b424.entry.js → p-2dd0518e.entry.js} +2 -2
  37. package/dist/calcite/{p-d5f810d4.system.js → p-2e59eb3e.system.js} +2 -2
  38. package/dist/calcite/{p-b4e9dd61.js → p-302fe106.js} +2 -2
  39. package/dist/calcite/{p-497b8eda.system.js → p-32e01a96.system.js} +1 -1
  40. package/dist/calcite/{p-fd96f673.system.entry.js → p-348b804a.system.entry.js} +2 -2
  41. package/dist/calcite/{p-f13bc9ce.system.js → p-35dc51c6.system.js} +2 -2
  42. package/dist/calcite/{p-e39aa368.js → p-382ec6ef.js} +1 -1
  43. package/dist/calcite/{p-ab926a34.system.entry.js → p-3ba71601.system.entry.js} +2 -2
  44. package/dist/calcite/{p-2d90f020.entry.js → p-3beb4b58.entry.js} +2 -2
  45. package/dist/calcite/{p-aab19f8b.js → p-3ca4e72b.js} +2 -2
  46. package/dist/calcite/{p-9597701a.entry.js → p-3ca50813.entry.js} +2 -2
  47. package/dist/calcite/{p-0390654d.system.entry.js → p-3e210106.system.entry.js} +2 -2
  48. package/dist/calcite/{p-de7b692e.js → p-3efb8c2a.js} +1 -1
  49. package/dist/calcite/{p-8555767c.system.js → p-3f479e4c.system.js} +2 -2
  50. package/dist/calcite/{p-06c2c321.system.js → p-41a7ad14.system.js} +1 -1
  51. package/dist/calcite/{p-8ff7a7ad.system.js → p-42930d01.system.js} +1 -1
  52. package/dist/calcite/{p-d765dc33.system.js → p-436607b8.system.js} +1 -1
  53. package/dist/calcite/{p-9e95a226.js → p-43693df9.js} +1 -1
  54. package/dist/calcite/{p-10c52849.system.entry.js → p-4432dfe9.system.entry.js} +2 -2
  55. package/dist/calcite/{p-88bcf906.system.entry.js → p-459fac0b.system.entry.js} +2 -2
  56. package/dist/calcite/{p-2734cdc9.js → p-49907b0d.js} +1 -1
  57. package/dist/calcite/{p-36ea3ec7.entry.js → p-4c9caa0b.entry.js} +2 -2
  58. package/dist/calcite/{p-0956335b.system.entry.js → p-4cd2e67e.system.entry.js} +2 -2
  59. package/dist/calcite/{p-4411bd22.system.entry.js → p-4eb7d0a8.system.entry.js} +2 -2
  60. package/dist/calcite/{p-cd54ed22.entry.js → p-4f452201.entry.js} +2 -2
  61. package/dist/calcite/{p-3d8ec888.system.entry.js → p-512ee718.system.entry.js} +2 -2
  62. package/dist/calcite/p-5142112f.system.entry.js +6 -0
  63. package/dist/calcite/{p-f6b22209.entry.js → p-5195381a.entry.js} +2 -2
  64. package/dist/calcite/{p-f74f9248.system.entry.js → p-519d1edb.system.entry.js} +2 -2
  65. package/dist/calcite/{p-cc10243b.entry.js → p-53a579df.entry.js} +2 -2
  66. package/dist/calcite/{p-af37a183.entry.js → p-55d3f730.entry.js} +2 -2
  67. package/dist/calcite/{p-ba97385a.system.entry.js → p-56db73c4.system.entry.js} +2 -2
  68. package/dist/calcite/{p-d53913cc.system.entry.js → p-5773d6a2.system.entry.js} +2 -2
  69. package/dist/calcite/{p-b610172d.entry.js → p-5929055a.entry.js} +2 -2
  70. package/dist/calcite/{p-ff83e72f.system.entry.js → p-59c1d3f3.system.entry.js} +2 -2
  71. package/dist/calcite/{p-88fb2fba.entry.js → p-5a4b7be2.entry.js} +2 -2
  72. package/dist/calcite/{p-0c6f3801.entry.js → p-5bd4b7ff.entry.js} +2 -2
  73. package/dist/calcite/{p-14132311.entry.js → p-5bedb2bc.entry.js} +2 -2
  74. package/dist/calcite/{p-a332d3c4.system.js → p-5cdae52c.system.js} +2 -2
  75. package/dist/calcite/{p-92431df0.entry.js → p-63c3d98d.entry.js} +2 -2
  76. package/dist/calcite/{p-5e80b920.entry.js → p-641a3de7.entry.js} +2 -2
  77. package/dist/calcite/{p-9a4ad0cd.entry.js → p-64febbf0.entry.js} +2 -2
  78. package/dist/calcite/{p-01934456.system.entry.js → p-65444006.system.entry.js} +2 -2
  79. package/dist/calcite/{p-ee71389b.entry.js → p-654869d3.entry.js} +2 -2
  80. package/dist/calcite/{p-7b878a57.entry.js → p-654bd71e.entry.js} +2 -2
  81. package/dist/calcite/{p-9e7fff61.system.js → p-66ccbc50.system.js} +1 -1
  82. package/dist/calcite/{p-6c0643fc.entry.js → p-689b036c.entry.js} +2 -2
  83. package/dist/calcite/{p-3c9171bf.system.js → p-6b382f81.system.js} +1 -1
  84. package/dist/calcite/{p-6d301394.system.js → p-6b7ca5b9.system.js} +2 -2
  85. package/dist/calcite/{p-a60a910b.system.entry.js → p-6e0ff186.system.entry.js} +2 -2
  86. package/dist/calcite/{p-60549630.entry.js → p-6e6052a3.entry.js} +2 -2
  87. package/dist/calcite/{p-0931ffb8.system.js → p-7083b33c.system.js} +2 -2
  88. package/dist/calcite/{p-b88eb04c.js → p-70bfb343.js} +1 -1
  89. package/dist/calcite/{p-97165b63.system.entry.js → p-718e44b8.system.entry.js} +2 -2
  90. package/dist/calcite/{p-8ba21ef9.system.entry.js → p-7442d861.system.entry.js} +2 -2
  91. package/dist/calcite/{p-02117c96.entry.js → p-7460aaa0.entry.js} +2 -2
  92. package/dist/calcite/{p-9dbe9452.entry.js → p-74d258b0.entry.js} +2 -2
  93. package/dist/calcite/{p-e0719b6f.system.entry.js → p-75825b96.system.entry.js} +2 -2
  94. package/dist/calcite/p-75eda3e3.entry.js +6 -0
  95. package/dist/calcite/{p-7920ed2c.js → p-76b88ebe.js} +1 -1
  96. package/dist/calcite/{p-41ac4a97.system.js → p-7b7a789a.system.js} +1 -1
  97. package/dist/calcite/{p-fb8c4351.system.entry.js → p-7b8eb32b.system.entry.js} +2 -2
  98. package/dist/calcite/{p-ca341909.js → p-7cfa8a4b.js} +1 -1
  99. package/dist/calcite/{p-58c77b3a.entry.js → p-7e01a637.entry.js} +2 -2
  100. package/dist/calcite/{p-570a6857.system.entry.js → p-7f465f87.system.entry.js} +2 -2
  101. package/dist/calcite/{p-601b1334.system.entry.js → p-80d6349f.system.entry.js} +2 -2
  102. package/dist/calcite/{p-13aa7c22.system.entry.js → p-8276adef.system.entry.js} +2 -2
  103. package/dist/calcite/{p-8f099903.system.entry.js → p-8858b088.system.entry.js} +2 -2
  104. package/dist/calcite/{p-d60e5938.js → p-89810887.js} +2 -2
  105. package/dist/calcite/{p-44104af7.entry.js → p-89ed5ff8.entry.js} +2 -2
  106. package/dist/calcite/{p-b225a047.entry.js → p-8a5c5889.entry.js} +2 -2
  107. package/dist/calcite/{p-03178c1b.system.js → p-8c6b40b7.system.js} +1 -1
  108. package/dist/calcite/{p-63e6a11f.system.entry.js → p-8c7fb6ef.system.entry.js} +2 -2
  109. package/dist/calcite/p-8c92827d.js +6 -0
  110. package/dist/calcite/{p-8c3948ed.entry.js → p-8f723167.entry.js} +2 -2
  111. package/dist/calcite/{p-fcb7088b.entry.js → p-91c1fc16.entry.js} +2 -2
  112. package/dist/calcite/{p-66d26c7b.system.entry.js → p-92c885d0.system.entry.js} +2 -2
  113. package/dist/calcite/{p-1f11b9a0.js → p-9357573d.js} +1 -1
  114. package/dist/calcite/p-93bbf6e4.entry.js +6 -0
  115. package/dist/calcite/{p-e72c48c2.system.js → p-943c76cd.system.js} +1 -1
  116. package/dist/calcite/{p-49831c9c.system.entry.js → p-955fa6b9.system.entry.js} +2 -2
  117. package/dist/calcite/{p-6aaf7752.entry.js → p-96bee636.entry.js} +2 -2
  118. package/dist/calcite/{p-5ae990ea.system.entry.js → p-9751f6e1.system.entry.js} +2 -2
  119. package/dist/calcite/{p-56fbfd12.system.entry.js → p-993b77a6.system.entry.js} +2 -2
  120. package/dist/calcite/{p-f9543389.system.js → p-99d82747.system.js} +2 -2
  121. package/dist/calcite/{p-f4bff2f7.system.js → p-9a574298.system.js} +1 -1
  122. package/dist/calcite/{p-86ac17c0.entry.js → p-9b73a9e7.entry.js} +2 -2
  123. package/dist/calcite/{p-6c2868a8.entry.js → p-9b788a81.entry.js} +2 -2
  124. package/dist/calcite/{p-cbd0efe8.system.entry.js → p-9be29600.system.entry.js} +2 -2
  125. package/dist/calcite/{p-9a8116c4.system.entry.js → p-9c6e6327.system.entry.js} +2 -2
  126. package/dist/calcite/{p-af9c9942.system.js → p-9de6c6e8.system.js} +1 -1
  127. package/dist/calcite/{p-a29912ac.entry.js → p-a0303ba0.entry.js} +2 -2
  128. package/dist/calcite/{p-5a5beaca.entry.js → p-a0d5e283.entry.js} +2 -2
  129. package/dist/calcite/{p-d725ef40.system.entry.js → p-a1154201.system.entry.js} +2 -2
  130. package/dist/calcite/{p-5da0e97a.entry.js → p-a38295e6.entry.js} +2 -2
  131. package/dist/calcite/{p-77b2f2c4.js → p-a3d1d580.js} +2 -2
  132. package/dist/calcite/{p-0c1173ed.system.entry.js → p-a57af989.system.entry.js} +2 -2
  133. package/dist/calcite/{p-ed3a258b.system.entry.js → p-a8b248a6.system.entry.js} +2 -2
  134. package/dist/calcite/{p-43cb1761.system.entry.js → p-ab9aa7d6.system.entry.js} +2 -2
  135. package/dist/calcite/{p-13147baf.js → p-ae75d34e.js} +2 -2
  136. package/dist/calcite/{p-31c91dca.entry.js → p-aff4620f.entry.js} +2 -2
  137. package/dist/calcite/{p-6c478e3b.system.js → p-b06227e3.system.js} +1 -1
  138. package/dist/calcite/{p-b715c670.system.entry.js → p-b1b1aa76.system.entry.js} +2 -2
  139. package/dist/calcite/{p-269dfb89.system.entry.js → p-b80e8ade.system.entry.js} +2 -2
  140. package/dist/calcite/{p-2d403e58.js → p-bf9dce53.js} +2 -2
  141. package/dist/calcite/{p-6429dfa0.entry.js → p-c1fe4f21.entry.js} +2 -2
  142. package/dist/calcite/{p-97beaeeb.system.entry.js → p-c22c25a4.system.entry.js} +2 -2
  143. package/dist/calcite/{p-8f9830d9.entry.js → p-c4263b73.entry.js} +2 -2
  144. package/dist/calcite/{p-1eaaa5e3.entry.js → p-c5c64479.entry.js} +2 -2
  145. package/dist/calcite/{p-c389e142.entry.js → p-c7446c33.entry.js} +2 -2
  146. package/dist/calcite/{p-e0d7b0c6.system.js → p-ca8010c5.system.js} +1 -1
  147. package/dist/calcite/{p-93d434c0.js → p-cbabf6c9.js} +1 -1
  148. package/dist/calcite/{p-44e72188.entry.js → p-cc6cee35.entry.js} +2 -2
  149. package/dist/calcite/{p-c45da1eb.system.js → p-ccb2b3cc.system.js} +2 -2
  150. package/dist/calcite/{p-a9109dd4.system.entry.js → p-cd6922ff.system.entry.js} +2 -2
  151. package/dist/calcite/{p-ef330ea2.js → p-cf568750.js} +2 -2
  152. package/dist/calcite/{p-17d03d8f.entry.js → p-d0a841e1.entry.js} +2 -2
  153. package/dist/calcite/{p-9441bcce.js → p-d1271df9.js} +2 -2
  154. package/dist/calcite/{p-11cfca4c.system.entry.js → p-d16e28dc.system.entry.js} +2 -2
  155. package/dist/calcite/{p-8821010b.system.entry.js → p-d4df0970.system.entry.js} +3 -3
  156. package/dist/calcite/p-da7f307f.entry.js +6 -0
  157. package/dist/calcite/{p-4afd0800.entry.js → p-db8becd8.entry.js} +2 -2
  158. package/dist/calcite/{p-3add827c.entry.js → p-dda9fbaf.entry.js} +2 -2
  159. package/dist/calcite/{p-eac56ae7.system.entry.js → p-dde064ea.system.entry.js} +3 -3
  160. package/dist/calcite/{p-0ef09d9e.js → p-dfb38c54.js} +1 -1
  161. package/dist/calcite/{p-776cdd3c.system.entry.js → p-e014d306.system.entry.js} +2 -2
  162. package/dist/calcite/{p-3f3440e0.system.entry.js → p-e08b428c.system.entry.js} +2 -2
  163. package/dist/calcite/{p-f6a43f12.js → p-e20c258c.js} +1 -1
  164. package/dist/calcite/{p-e3a6a116.system.entry.js → p-e49a515f.system.entry.js} +3 -3
  165. package/dist/calcite/{p-cac78669.entry.js → p-e54f83d2.entry.js} +2 -2
  166. package/dist/calcite/{p-c80a307d.js → p-e700e421.js} +1 -1
  167. package/dist/calcite/{p-cd539b98.entry.js → p-e87c53df.entry.js} +2 -2
  168. package/dist/calcite/{p-0ee73433.entry.js → p-ea5ede35.entry.js} +2 -2
  169. package/dist/calcite/{p-eb13fd74.entry.js → p-eb227c8d.entry.js} +2 -2
  170. package/dist/calcite/{p-7d495bf9.system.entry.js → p-eb6db3fa.system.entry.js} +2 -2
  171. package/dist/calcite/{p-c36c5350.system.entry.js → p-ec4bce99.system.entry.js} +2 -2
  172. package/dist/calcite/{p-60234835.system.entry.js → p-ed0da850.system.entry.js} +2 -2
  173. package/dist/calcite/{p-08d448f6.system.entry.js → p-ed5b4e45.system.entry.js} +2 -2
  174. package/dist/calcite/{p-b6a1c3cd.system.entry.js → p-ee5d2ff7.system.entry.js} +2 -2
  175. package/dist/calcite/p-f3d6b19c.system.entry.js +6 -0
  176. package/dist/calcite/{p-9a954e6c.system.entry.js → p-fad38992.system.entry.js} +2 -2
  177. package/dist/calcite/{p-be36ca6d.entry.js → p-fd6e1dce.entry.js} +2 -2
  178. package/dist/cjs/{ExpandToggle-73e31134.js → ExpandToggle-b7180f2b.js} +5 -5
  179. package/dist/cjs/{Heading-ea1e2582.js → Heading-24eb2cb1.js} +2 -2
  180. package/dist/cjs/{app-globals-b3473eb5.js → app-globals-2ac3522c.js} +2 -2
  181. package/dist/cjs/{array-ad8f48da.js → array-3ef5e478.js} +1 -1
  182. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  184. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  185. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  186. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  190. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  191. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  194. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -11
  196. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
  197. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  198. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  199. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  200. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  201. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
  207. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  209. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  210. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -10
  211. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  212. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  213. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  214. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  218. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  219. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  222. package/dist/cjs/calcite-popover_2.cjs.entry.js +23 -20
  223. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  226. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  227. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  228. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite-shell_3.cjs.entry.js +9 -9
  230. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  232. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  233. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  234. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  236. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  238. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +14 -12
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  241. package/dist/cjs/calcite.cjs.js +4 -4
  242. package/dist/cjs/{conditionalSlot-f335910f.js → conditionalSlot-a1850fd7.js} +3 -3
  243. package/dist/cjs/{debounce-8758128e.js → debounce-e073429b.js} +1 -1
  244. package/dist/cjs/{dom-6102baa7.js → dom-87fd8a1e.js} +3 -3
  245. package/dist/cjs/{filter-68997c8f.js → filter-4b10d6b1.js} +2 -2
  246. package/dist/cjs/{floating-ui-d137a16d.js → floating-ui-910fb4f3.js} +2 -2
  247. package/dist/cjs/{form-bcf062f4.js → form-8c8cf657.js} +3 -3
  248. package/dist/cjs/{guid-2ee34690.js → guid-1f2085a1.js} +1 -1
  249. package/dist/cjs/{index-08206b89.js → index-2376184d.js} +1 -1
  250. package/dist/cjs/index.cjs.js +1 -1
  251. package/dist/cjs/{interactive-491b91ae.js → interactive-a4ec6233.js} +1 -1
  252. package/dist/cjs/{interfaces-85a130c2.js → interfaces-83beb56f.js} +1 -1
  253. package/dist/cjs/{key-1b7d6705.js → key-9e13dc62.js} +1 -1
  254. package/dist/cjs/{label-f9d66b01.js → label-40479f83.js} +2 -2
  255. package/dist/cjs/loader.cjs.js +4 -4
  256. package/dist/cjs/{locale-9d03a87d.js → locale-8abaee93.js} +2 -2
  257. package/dist/cjs/{math-df9ddcf0.js → math-ea2b7c6b.js} +1 -1
  258. package/dist/cjs/{observers-0aede8e6.js → observers-0c24b88c.js} +1 -1
  259. package/dist/cjs/{openCloseComponent-34334a2f.js → openCloseComponent-21e17498.js} +1 -1
  260. package/dist/cjs/{resources-d8893c70.js → resources-69d76858.js} +1 -1
  261. package/dist/cjs/{resources-32bfe64d.js → resources-71688d5e.js} +3 -3
  262. package/dist/cjs/{resources-5ded89af.js → resources-84a6e18c.js} +1 -1
  263. package/dist/cjs/{resources-416a897d.js → resources-89fab938.js} +5 -5
  264. package/dist/cjs/{resources-508a09f9.js → resources-9b03c636.js} +1 -1
  265. package/dist/cjs/{sortable.esm-90231469.js → sortable.esm-d9f28b8f.js} +1 -1
  266. package/dist/cjs/{utils-1521cd88.js → utils-fa0ee321.js} +1 -1
  267. package/dist/collection/components/accordion/accordion.js +1 -1
  268. package/dist/collection/components/accordion/interfaces.js +1 -1
  269. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  270. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  271. package/dist/collection/components/accordion-item/resources.js +1 -1
  272. package/dist/collection/components/action/action.js +1 -1
  273. package/dist/collection/components/action/resources.js +1 -1
  274. package/dist/collection/components/action-bar/action-bar.js +1 -1
  275. package/dist/collection/components/action-bar/resources.js +1 -1
  276. package/dist/collection/components/action-bar/utils.js +1 -1
  277. package/dist/collection/components/action-group/action-group.js +1 -1
  278. package/dist/collection/components/action-group/resources.js +1 -1
  279. package/dist/collection/components/action-menu/action-menu.js +1 -1
  280. package/dist/collection/components/action-menu/resources.js +1 -1
  281. package/dist/collection/components/action-pad/action-pad.js +1 -1
  282. package/dist/collection/components/action-pad/resources.js +1 -1
  283. package/dist/collection/components/alert/alert.js +1 -1
  284. package/dist/collection/components/alert/interfaces.js +1 -1
  285. package/dist/collection/components/alert/resources.js +1 -1
  286. package/dist/collection/components/avatar/avatar.js +1 -1
  287. package/dist/collection/components/avatar/utils.js +1 -1
  288. package/dist/collection/components/block/block.js +1 -1
  289. package/dist/collection/components/block/resources.js +1 -1
  290. package/dist/collection/components/block-section/block-section.js +1 -1
  291. package/dist/collection/components/block-section/interfaces.js +1 -1
  292. package/dist/collection/components/block-section/resources.js +1 -1
  293. package/dist/collection/components/button/button.js +1 -1
  294. package/dist/collection/components/button/interfaces.js +1 -1
  295. package/dist/collection/components/button/resources.js +1 -1
  296. package/dist/collection/components/card/card.js +1 -1
  297. package/dist/collection/components/card/resources.js +1 -1
  298. package/dist/collection/components/checkbox/checkbox.js +1 -1
  299. package/dist/collection/components/chip/chip.js +1 -1
  300. package/dist/collection/components/chip/interfaces.js +1 -1
  301. package/dist/collection/components/chip/resources.js +1 -1
  302. package/dist/collection/components/color-picker/color-picker.js +1 -1
  303. package/dist/collection/components/color-picker/interfaces.js +1 -1
  304. package/dist/collection/components/color-picker/resources.js +1 -1
  305. package/dist/collection/components/color-picker/utils.js +1 -1
  306. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +9 -2
  307. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  308. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  309. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  310. package/dist/collection/components/combobox/combobox.js +1 -1
  311. package/dist/collection/components/combobox/interfaces.js +1 -1
  312. package/dist/collection/components/combobox/resources.js +1 -1
  313. package/dist/collection/components/combobox/utils.js +1 -1
  314. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  315. package/dist/collection/components/combobox-item/resources.js +1 -1
  316. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  317. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  318. package/dist/collection/components/date-picker/date-picker.js +1 -1
  319. package/dist/collection/components/date-picker/interfaces.js +1 -1
  320. package/dist/collection/components/date-picker/resources.js +1 -1
  321. package/dist/collection/components/date-picker/utils.js +1 -1
  322. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  323. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  324. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  325. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  326. package/dist/collection/components/dropdown/dropdown.js +3 -3
  327. package/dist/collection/components/dropdown/interfaces.js +1 -1
  328. package/dist/collection/components/dropdown/resources.js +1 -1
  329. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  330. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  331. package/dist/collection/components/dropdown-group/resources.js +1 -1
  332. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  333. package/dist/collection/components/dropdown-item/resources.js +1 -1
  334. package/dist/collection/components/fab/fab.js +1 -1
  335. package/dist/collection/components/fab/resources.js +1 -1
  336. package/dist/collection/components/filter/filter.js +1 -1
  337. package/dist/collection/components/filter/resources.js +1 -1
  338. package/dist/collection/components/flow/flow.js +1 -1
  339. package/dist/collection/components/flow/interfaces.js +1 -1
  340. package/dist/collection/components/flow/resources.js +1 -1
  341. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  342. package/dist/collection/components/functional/Heading.js +1 -1
  343. package/dist/collection/components/graph/graph.js +1 -1
  344. package/dist/collection/components/graph/interfaces.js +1 -1
  345. package/dist/collection/components/graph/util.js +1 -1
  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.js +1 -1
  352. package/dist/collection/components/inline-editable/resources.js +1 -1
  353. package/dist/collection/components/input/input.js +1 -1
  354. package/dist/collection/components/input/interfaces.js +1 -1
  355. package/dist/collection/components/input/resources.js +1 -1
  356. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  357. package/dist/collection/components/input-date-picker/resources.js +1 -1
  358. package/dist/collection/components/input-message/input-message.js +1 -1
  359. package/dist/collection/components/input-message/interfaces.js +1 -1
  360. package/dist/collection/components/input-number/input-number.js +1 -1
  361. package/dist/collection/components/input-number/interfaces.js +1 -1
  362. package/dist/collection/components/input-number/resources.js +1 -1
  363. package/dist/collection/components/input-text/input-text.js +1 -1
  364. package/dist/collection/components/input-text/resources.js +1 -1
  365. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  366. package/dist/collection/components/interfaces.js +1 -1
  367. package/dist/collection/components/label/label.js +1 -1
  368. package/dist/collection/components/label/resources.js +1 -1
  369. package/dist/collection/components/link/link.js +1 -1
  370. package/dist/collection/components/list/list.js +1 -1
  371. package/dist/collection/components/list/resources.js +1 -1
  372. package/dist/collection/components/list-item/list-item.js +1 -1
  373. package/dist/collection/components/list-item/resources.js +1 -1
  374. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  375. package/dist/collection/components/list-item-group/resources.js +1 -1
  376. package/dist/collection/components/loader/loader.js +1 -1
  377. package/dist/collection/components/modal/interfaces.js +1 -1
  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.js +1 -1
  381. package/dist/collection/components/notice/resources.js +1 -1
  382. package/dist/collection/components/option/option.js +1 -1
  383. package/dist/collection/components/option-group/option-group.js +1 -1
  384. package/dist/collection/components/pagination/pagination.js +1 -1
  385. package/dist/collection/components/pagination/resources.js +1 -1
  386. package/dist/collection/components/panel/panel.js +1 -1
  387. package/dist/collection/components/panel/resources.js +1 -1
  388. package/dist/collection/components/pick-list/pick-list.js +1 -1
  389. package/dist/collection/components/pick-list/resources.js +1 -1
  390. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  391. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  392. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  393. package/dist/collection/components/pick-list-group/resources.js +1 -1
  394. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  395. package/dist/collection/components/pick-list-item/resources.js +1 -1
  396. package/dist/collection/components/popover/PopoverManager.js +1 -1
  397. package/dist/collection/components/popover/popover.js +14 -11
  398. package/dist/collection/components/popover/resources.js +1 -1
  399. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  400. package/dist/collection/components/progress/progress.js +1 -1
  401. package/dist/collection/components/radio-button/radio-button.js +1 -1
  402. package/dist/collection/components/radio-button/resources.js +1 -1
  403. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  404. package/dist/collection/components/radio-group/interfaces.js +1 -1
  405. package/dist/collection/components/radio-group/radio-group.js +1 -1
  406. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  407. package/dist/collection/components/radio-group-item/resources.js +1 -1
  408. package/dist/collection/components/rating/rating.js +1 -1
  409. package/dist/collection/components/rating/resources.js +1 -1
  410. package/dist/collection/components/scrim/resources.js +1 -1
  411. package/dist/collection/components/scrim/scrim.js +1 -1
  412. package/dist/collection/components/select/resources.js +1 -1
  413. package/dist/collection/components/select/select.js +1 -1
  414. package/dist/collection/components/shell/resources.js +1 -1
  415. package/dist/collection/components/shell/shell.css +1 -1
  416. package/dist/collection/components/shell/shell.js +1 -1
  417. package/dist/collection/components/shell-center-row/resources.js +1 -1
  418. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  419. package/dist/collection/components/shell-panel/resources.js +1 -1
  420. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  421. package/dist/collection/components/slider/slider.js +1 -1
  422. package/dist/collection/components/sortable-list/resources.js +1 -1
  423. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  424. package/dist/collection/components/split-button/resources.js +1 -1
  425. package/dist/collection/components/split-button/split-button.js +1 -1
  426. package/dist/collection/components/stepper/interfaces.js +1 -1
  427. package/dist/collection/components/stepper/stepper.js +1 -1
  428. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  429. package/dist/collection/components/switch/switch.js +1 -1
  430. package/dist/collection/components/tab/interfaces.js +1 -1
  431. package/dist/collection/components/tab/tab.js +1 -1
  432. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  433. package/dist/collection/components/tab-title/tab-title.js +1 -1
  434. package/dist/collection/components/tabs/interfaces.js +1 -1
  435. package/dist/collection/components/tabs/resources.js +1 -1
  436. package/dist/collection/components/tabs/tabs.js +1 -1
  437. package/dist/collection/components/tile/resources.js +1 -1
  438. package/dist/collection/components/tile/tile.js +1 -1
  439. package/dist/collection/components/tile-select/interfaces.js +1 -1
  440. package/dist/collection/components/tile-select/resources.js +1 -1
  441. package/dist/collection/components/tile-select/tile-select.js +1 -1
  442. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  443. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  444. package/dist/collection/components/time-picker/resources.js +1 -1
  445. package/dist/collection/components/time-picker/time-picker.js +1 -1
  446. package/dist/collection/components/tip/resources.js +1 -1
  447. package/dist/collection/components/tip/tip.js +1 -1
  448. package/dist/collection/components/tip-group/tip-group.js +1 -1
  449. package/dist/collection/components/tip-manager/resources.js +1 -1
  450. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  451. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  452. package/dist/collection/components/tooltip/resources.js +1 -1
  453. package/dist/collection/components/tooltip/tooltip.js +9 -7
  454. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  455. package/dist/collection/components/tree/interfaces.js +1 -1
  456. package/dist/collection/components/tree/tree.js +1 -1
  457. package/dist/collection/components/tree-item/interfaces.js +1 -1
  458. package/dist/collection/components/tree-item/resources.js +1 -1
  459. package/dist/collection/components/tree-item/tree-item.js +1 -1
  460. package/dist/collection/components/value-list/interfaces.js +1 -1
  461. package/dist/collection/components/value-list/resources.js +1 -1
  462. package/dist/collection/components/value-list/utils.js +1 -1
  463. package/dist/collection/components/value-list/value-list.js +1 -1
  464. package/dist/collection/components/value-list-item/resources.js +1 -1
  465. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  466. package/dist/collection/utils/array.js +1 -1
  467. package/dist/collection/utils/conditionalSlot.js +1 -1
  468. package/dist/collection/utils/date.js +1 -1
  469. package/dist/collection/utils/dom.js +1 -1
  470. package/dist/collection/utils/filter.js +1 -1
  471. package/dist/collection/utils/floating-ui.js +1 -1
  472. package/dist/collection/utils/form.js +1 -1
  473. package/dist/collection/utils/globalAttributes.js +1 -1
  474. package/dist/collection/utils/globalScript.js +1 -1
  475. package/dist/collection/utils/guid.js +1 -1
  476. package/dist/collection/utils/interactive.js +1 -1
  477. package/dist/collection/utils/key.js +1 -1
  478. package/dist/collection/utils/label.js +1 -1
  479. package/dist/collection/utils/locale.js +1 -1
  480. package/dist/collection/utils/math.js +1 -1
  481. package/dist/collection/utils/number.js +1 -1
  482. package/dist/collection/utils/observers.js +1 -1
  483. package/dist/collection/utils/openCloseComponent.js +1 -1
  484. package/dist/collection/utils/resources.js +1 -1
  485. package/dist/collection/utils/theme.js +1 -1
  486. package/dist/collection/utils/time.js +1 -1
  487. package/dist/components/ExpandToggle.js +1 -1
  488. package/dist/components/Heading.js +1 -1
  489. package/dist/components/action-group.js +1 -1
  490. package/dist/components/action-menu.js +1 -1
  491. package/dist/components/action.js +1 -1
  492. package/dist/components/array.js +1 -1
  493. package/dist/components/button.js +1 -1
  494. package/dist/components/calcite-accordion-item.js +1 -1
  495. package/dist/components/calcite-accordion.js +1 -1
  496. package/dist/components/calcite-action-bar.js +1 -1
  497. package/dist/components/calcite-action-group.js +1 -1
  498. package/dist/components/calcite-action-menu.js +1 -1
  499. package/dist/components/calcite-action-pad.js +1 -1
  500. package/dist/components/calcite-action.js +1 -1
  501. package/dist/components/calcite-alert.js +1 -1
  502. package/dist/components/calcite-avatar.js +1 -1
  503. package/dist/components/calcite-block-section.js +1 -1
  504. package/dist/components/calcite-block.js +1 -1
  505. package/dist/components/calcite-button.js +1 -1
  506. package/dist/components/calcite-card.js +1 -1
  507. package/dist/components/calcite-checkbox.js +1 -1
  508. package/dist/components/calcite-chip.js +1 -1
  509. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  510. package/dist/components/calcite-color-picker-swatch.js +1 -1
  511. package/dist/components/calcite-color-picker.js +1 -1
  512. package/dist/components/calcite-combobox-item-group.js +1 -1
  513. package/dist/components/calcite-combobox-item.js +1 -1
  514. package/dist/components/calcite-combobox.js +1 -1
  515. package/dist/components/calcite-date-picker-day.js +1 -1
  516. package/dist/components/calcite-date-picker-month-header.js +1 -1
  517. package/dist/components/calcite-date-picker-month.js +1 -1
  518. package/dist/components/calcite-date-picker.js +1 -1
  519. package/dist/components/calcite-dropdown-group.js +1 -1
  520. package/dist/components/calcite-dropdown-item.js +1 -1
  521. package/dist/components/calcite-dropdown.js +1 -1
  522. package/dist/components/calcite-fab.js +1 -1
  523. package/dist/components/calcite-filter.js +1 -1
  524. package/dist/components/calcite-flow.js +1 -1
  525. package/dist/components/calcite-graph.js +1 -1
  526. package/dist/components/calcite-handle.js +1 -1
  527. package/dist/components/calcite-icon.js +1 -1
  528. package/dist/components/calcite-inline-editable.js +1 -1
  529. package/dist/components/calcite-input-date-picker.js +1 -1
  530. package/dist/components/calcite-input-message.js +1 -1
  531. package/dist/components/calcite-input-number.js +1 -1
  532. package/dist/components/calcite-input-text.js +1 -1
  533. package/dist/components/calcite-input-time-picker.js +1 -1
  534. package/dist/components/calcite-input.js +1 -1
  535. package/dist/components/calcite-label.js +1 -1
  536. package/dist/components/calcite-link.js +1 -1
  537. package/dist/components/calcite-list-item-group.js +1 -1
  538. package/dist/components/calcite-list-item.js +1 -1
  539. package/dist/components/calcite-list.js +1 -1
  540. package/dist/components/calcite-loader.js +1 -1
  541. package/dist/components/calcite-modal.js +1 -1
  542. package/dist/components/calcite-notice.js +1 -1
  543. package/dist/components/calcite-option-group.js +1 -1
  544. package/dist/components/calcite-option.js +1 -1
  545. package/dist/components/calcite-pagination.js +1 -1
  546. package/dist/components/calcite-panel.js +1 -1
  547. package/dist/components/calcite-pick-list-group.js +1 -1
  548. package/dist/components/calcite-pick-list-item.js +1 -1
  549. package/dist/components/calcite-pick-list.js +1 -1
  550. package/dist/components/calcite-popover-manager.js +1 -1
  551. package/dist/components/calcite-popover.js +1 -1
  552. package/dist/components/calcite-progress.js +1 -1
  553. package/dist/components/calcite-radio-button-group.js +1 -1
  554. package/dist/components/calcite-radio-button.js +1 -1
  555. package/dist/components/calcite-radio-group-item.js +1 -1
  556. package/dist/components/calcite-radio-group.js +1 -1
  557. package/dist/components/calcite-rating.js +1 -1
  558. package/dist/components/calcite-scrim.js +1 -1
  559. package/dist/components/calcite-select.js +1 -1
  560. package/dist/components/calcite-shell-center-row.js +1 -1
  561. package/dist/components/calcite-shell-panel.js +1 -1
  562. package/dist/components/calcite-shell.js +2 -2
  563. package/dist/components/calcite-slider.js +1 -1
  564. package/dist/components/calcite-sortable-list.js +1 -1
  565. package/dist/components/calcite-split-button.js +1 -1
  566. package/dist/components/calcite-stepper-item.js +1 -1
  567. package/dist/components/calcite-stepper.js +1 -1
  568. package/dist/components/calcite-switch.js +1 -1
  569. package/dist/components/calcite-tab-nav.js +1 -1
  570. package/dist/components/calcite-tab-title.js +1 -1
  571. package/dist/components/calcite-tab.js +1 -1
  572. package/dist/components/calcite-tabs.js +1 -1
  573. package/dist/components/calcite-tile-select-group.js +1 -1
  574. package/dist/components/calcite-tile-select.js +1 -1
  575. package/dist/components/calcite-tile.js +1 -1
  576. package/dist/components/calcite-time-picker.js +1 -1
  577. package/dist/components/calcite-tip-group.js +1 -1
  578. package/dist/components/calcite-tip-manager.js +1 -1
  579. package/dist/components/calcite-tip.js +1 -1
  580. package/dist/components/calcite-tooltip-manager.js +1 -1
  581. package/dist/components/calcite-tooltip.js +9 -7
  582. package/dist/components/calcite-tree-item.js +1 -1
  583. package/dist/components/calcite-tree.js +1 -1
  584. package/dist/components/calcite-value-list-item.js +1 -1
  585. package/dist/components/calcite-value-list.js +1 -1
  586. package/dist/components/checkbox.js +1 -1
  587. package/dist/components/chip.js +1 -1
  588. package/dist/components/color-picker-hex-input.js +9 -2
  589. package/dist/components/color-picker-swatch.js +1 -1
  590. package/dist/components/conditionalSlot.js +1 -1
  591. package/dist/components/date-picker-day.js +1 -1
  592. package/dist/components/date-picker-month-header.js +1 -1
  593. package/dist/components/date-picker-month.js +1 -1
  594. package/dist/components/date-picker.js +1 -1
  595. package/dist/components/date.js +1 -1
  596. package/dist/components/debounce.js +1 -1
  597. package/dist/components/dom.js +1 -1
  598. package/dist/components/dropdown.js +3 -3
  599. package/dist/components/filter.js +1 -1
  600. package/dist/components/filter2.js +1 -1
  601. package/dist/components/floating-ui.js +1 -1
  602. package/dist/components/form.js +1 -1
  603. package/dist/components/graph.js +1 -1
  604. package/dist/components/guid.js +1 -1
  605. package/dist/components/handle.js +1 -1
  606. package/dist/components/icon.js +1 -1
  607. package/dist/components/index.js +1 -1
  608. package/dist/components/input.js +1 -1
  609. package/dist/components/interactive.js +1 -1
  610. package/dist/components/interfaces.js +1 -1
  611. package/dist/components/interfaces2.js +1 -1
  612. package/dist/components/key.js +1 -1
  613. package/dist/components/label.js +1 -1
  614. package/dist/components/label2.js +1 -1
  615. package/dist/components/link.js +1 -1
  616. package/dist/components/loader.js +1 -1
  617. package/dist/components/locale.js +1 -1
  618. package/dist/components/math.js +1 -1
  619. package/dist/components/observers.js +1 -1
  620. package/dist/components/openCloseComponent.js +1 -1
  621. package/dist/components/pick-list-item.js +1 -1
  622. package/dist/components/popover.js +14 -11
  623. package/dist/components/progress.js +1 -1
  624. package/dist/components/resources.js +1 -1
  625. package/dist/components/resources2.js +1 -1
  626. package/dist/components/resources3.js +1 -1
  627. package/dist/components/resources4.js +1 -1
  628. package/dist/components/scrim.js +1 -1
  629. package/dist/components/shared-list-render.js +1 -1
  630. package/dist/components/sortable.esm.js +1 -1
  631. package/dist/components/switch.js +1 -1
  632. package/dist/components/tab-nav.js +1 -1
  633. package/dist/components/tab-title.js +1 -1
  634. package/dist/components/tab.js +1 -1
  635. package/dist/components/tabs.js +1 -1
  636. package/dist/components/tile.js +1 -1
  637. package/dist/components/time-picker.js +1 -1
  638. package/dist/components/utils.js +1 -1
  639. package/dist/components/utils2.js +1 -1
  640. package/dist/custom-elements/index.js +33 -21
  641. package/dist/esm/{ExpandToggle-d38cdfb1.js → ExpandToggle-ee0f2d24.js} +5 -5
  642. package/dist/esm/{Heading-0d5f1f7a.js → Heading-0779503e.js} +2 -2
  643. package/dist/esm/{app-globals-7ba6c4cd.js → app-globals-2e068640.js} +2 -2
  644. package/dist/esm/{array-067d0af7.js → array-3f8d5409.js} +1 -1
  645. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  646. package/dist/esm/calcite-action-bar.entry.js +11 -11
  647. package/dist/esm/calcite-action-group.entry.js +9 -9
  648. package/dist/esm/calcite-action-menu.entry.js +8 -8
  649. package/dist/esm/calcite-action-pad.entry.js +10 -10
  650. package/dist/esm/calcite-action.entry.js +7 -7
  651. package/dist/esm/calcite-alert.entry.js +7 -7
  652. package/dist/esm/calcite-avatar.entry.js +6 -6
  653. package/dist/esm/calcite-block_2.entry.js +10 -10
  654. package/dist/esm/calcite-button.entry.js +9 -9
  655. package/dist/esm/calcite-card.entry.js +7 -7
  656. package/dist/esm/calcite-checkbox.entry.js +9 -9
  657. package/dist/esm/calcite-chip.entry.js +7 -7
  658. package/dist/esm/calcite-color-picker_3.entry.js +18 -11
  659. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  660. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  661. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  662. package/dist/esm/calcite-fab.entry.js +6 -6
  663. package/dist/esm/calcite-filter.entry.js +8 -8
  664. package/dist/esm/calcite-flow.entry.js +3 -3
  665. package/dist/esm/calcite-graph_2.entry.js +11 -11
  666. package/dist/esm/calcite-handle.entry.js +5 -5
  667. package/dist/esm/calcite-icon.entry.js +6 -6
  668. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  669. package/dist/esm/calcite-input-date-picker.entry.js +13 -13
  670. package/dist/esm/calcite-input-message.entry.js +5 -5
  671. package/dist/esm/calcite-input-number.entry.js +12 -12
  672. package/dist/esm/calcite-input-text.entry.js +9 -9
  673. package/dist/esm/calcite-input-time-picker_2.entry.js +10 -10
  674. package/dist/esm/calcite-input.entry.js +12 -12
  675. package/dist/esm/calcite-label.entry.js +6 -6
  676. package/dist/esm/calcite-link.entry.js +6 -6
  677. package/dist/esm/calcite-list_3.entry.js +9 -9
  678. package/dist/esm/calcite-loader.entry.js +3 -3
  679. package/dist/esm/calcite-modal.entry.js +8 -8
  680. package/dist/esm/calcite-notice.entry.js +8 -8
  681. package/dist/esm/calcite-option_3.entry.js +9 -9
  682. package/dist/esm/calcite-pagination.entry.js +5 -5
  683. package/dist/esm/calcite-panel.entry.js +10 -10
  684. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  685. package/dist/esm/calcite-popover_2.entry.js +23 -20
  686. package/dist/esm/calcite-progress.entry.js +2 -2
  687. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  688. package/dist/esm/calcite-radio-button.entry.js +9 -9
  689. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  690. package/dist/esm/calcite-rating.entry.js +9 -9
  691. package/dist/esm/calcite-scrim.entry.js +2 -2
  692. package/dist/esm/calcite-shell_3.entry.js +9 -9
  693. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  694. package/dist/esm/calcite-split-button.entry.js +3 -3
  695. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  696. package/dist/esm/calcite-switch.entry.js +9 -9
  697. package/dist/esm/calcite-tab_4.entry.js +7 -7
  698. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  699. package/dist/esm/calcite-tile.entry.js +8 -8
  700. package/dist/esm/calcite-tip_3.entry.js +8 -8
  701. package/dist/esm/calcite-tooltip_2.entry.js +14 -12
  702. package/dist/esm/calcite-tree_2.entry.js +7 -7
  703. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  704. package/dist/esm/calcite.js +4 -4
  705. package/dist/esm/{conditionalSlot-d9c16f2e.js → conditionalSlot-da451e2e.js} +3 -3
  706. package/dist/esm/{debounce-b09c9081.js → debounce-3f5d7ed4.js} +1 -1
  707. package/dist/esm/{dom-890c5676.js → dom-36be46cc.js} +3 -3
  708. package/dist/esm/{filter-04c8c739.js → filter-b03ba312.js} +2 -2
  709. package/dist/esm/{floating-ui-57220bd2.js → floating-ui-e8aeb2bd.js} +2 -2
  710. package/dist/esm/{form-9df499be.js → form-57b4faa7.js} +3 -3
  711. package/dist/esm/{guid-e354ba6d.js → guid-86216fef.js} +1 -1
  712. package/dist/esm/{index-ae4f81cd.js → index-3faeefe6.js} +1 -1
  713. package/dist/esm/index.js +1 -1
  714. package/dist/esm/{interactive-28cf0abe.js → interactive-5cc6ed54.js} +1 -1
  715. package/dist/esm/{interfaces-e01c6dce.js → interfaces-8412dc16.js} +1 -1
  716. package/dist/esm/{key-ee980d3f.js → key-16a5ae81.js} +1 -1
  717. package/dist/esm/{label-ff28c411.js → label-d6b53749.js} +2 -2
  718. package/dist/esm/loader.js +4 -4
  719. package/dist/esm/{locale-21fd2fc1.js → locale-c2333880.js} +2 -2
  720. package/dist/esm/{math-3cc0a22f.js → math-3ec31202.js} +1 -1
  721. package/dist/esm/{observers-56dae432.js → observers-835249f9.js} +1 -1
  722. package/dist/esm/{openCloseComponent-60ad3d80.js → openCloseComponent-435c59bd.js} +1 -1
  723. package/dist/esm/{resources-2da63c63.js → resources-0888cf5e.js} +1 -1
  724. package/dist/esm/{resources-d902a067.js → resources-4f44c4bd.js} +1 -1
  725. package/dist/esm/{resources-3782e5d3.js → resources-e608470c.js} +5 -5
  726. package/dist/esm/{resources-41342927.js → resources-e7a96b13.js} +3 -3
  727. package/dist/esm/{resources-b985487f.js → resources-fe9d0b41.js} +1 -1
  728. package/dist/esm/{sortable.esm-1b030362.js → sortable.esm-ad8de74d.js} +1 -1
  729. package/dist/esm/{utils-118e5f5e.js → utils-f611a7a5.js} +1 -1
  730. package/dist/esm-es5/{ExpandToggle-d38cdfb1.js → ExpandToggle-ee0f2d24.js} +2 -2
  731. package/dist/esm-es5/Heading-0779503e.js +6 -0
  732. package/dist/esm-es5/{app-globals-7ba6c4cd.js → app-globals-2e068640.js} +2 -2
  733. package/dist/esm-es5/{array-067d0af7.js → array-3f8d5409.js} +1 -1
  734. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  735. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  736. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  737. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  738. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  739. package/dist/esm-es5/calcite-action.entry.js +2 -2
  740. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  741. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  742. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-button.entry.js +2 -2
  744. package/dist/esm-es5/calcite-card.entry.js +2 -2
  745. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  746. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  747. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  748. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  749. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  750. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  751. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  752. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  753. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  754. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  755. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  756. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  757. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  758. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  759. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  760. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  761. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  762. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  763. package/dist/esm-es5/calcite-input.entry.js +2 -2
  764. package/dist/esm-es5/calcite-label.entry.js +2 -2
  765. package/dist/esm-es5/calcite-link.entry.js +3 -3
  766. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  767. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  768. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  769. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  770. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  771. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  772. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  773. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  774. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  775. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  776. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  777. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  778. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  779. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  780. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  781. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  782. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  783. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  784. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  785. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  786. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  787. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  788. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  789. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  790. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  791. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  792. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  793. package/dist/esm-es5/calcite.js +2 -2
  794. package/dist/esm-es5/{conditionalSlot-d9c16f2e.js → conditionalSlot-da451e2e.js} +2 -2
  795. package/dist/esm-es5/{debounce-b09c9081.js → debounce-3f5d7ed4.js} +1 -1
  796. package/dist/esm-es5/{dom-890c5676.js → dom-36be46cc.js} +2 -2
  797. package/dist/esm-es5/{filter-04c8c739.js → filter-b03ba312.js} +2 -2
  798. package/dist/esm-es5/{floating-ui-57220bd2.js → floating-ui-e8aeb2bd.js} +2 -2
  799. package/dist/esm-es5/{form-9df499be.js → form-57b4faa7.js} +2 -2
  800. package/dist/esm-es5/{guid-e354ba6d.js → guid-86216fef.js} +1 -1
  801. package/dist/esm-es5/{index-ae4f81cd.js → index-3faeefe6.js} +1 -1
  802. package/dist/esm-es5/index.js +1 -1
  803. package/dist/esm-es5/{interactive-28cf0abe.js → interactive-5cc6ed54.js} +1 -1
  804. package/dist/esm-es5/{interfaces-e01c6dce.js → interfaces-8412dc16.js} +1 -1
  805. package/dist/esm-es5/{key-ee980d3f.js → key-16a5ae81.js} +1 -1
  806. package/dist/esm-es5/{label-ff28c411.js → label-d6b53749.js} +2 -2
  807. package/dist/esm-es5/loader.js +2 -2
  808. package/dist/esm-es5/{locale-21fd2fc1.js → locale-c2333880.js} +2 -2
  809. package/dist/esm-es5/{math-3cc0a22f.js → math-3ec31202.js} +1 -1
  810. package/dist/esm-es5/{observers-56dae432.js → observers-835249f9.js} +1 -1
  811. package/dist/esm-es5/{openCloseComponent-60ad3d80.js → openCloseComponent-435c59bd.js} +1 -1
  812. package/dist/esm-es5/{resources-2da63c63.js → resources-0888cf5e.js} +1 -1
  813. package/dist/esm-es5/{resources-d902a067.js → resources-4f44c4bd.js} +1 -1
  814. package/dist/esm-es5/{resources-3782e5d3.js → resources-e608470c.js} +2 -2
  815. package/dist/esm-es5/{resources-41342927.js → resources-e7a96b13.js} +2 -2
  816. package/dist/esm-es5/{resources-b985487f.js → resources-fe9d0b41.js} +1 -1
  817. package/dist/esm-es5/{sortable.esm-1b030362.js → sortable.esm-ad8de74d.js} +1 -1
  818. package/dist/esm-es5/{utils-118e5f5e.js → utils-f611a7a5.js} +1 -1
  819. package/dist/extras/docs-json.json +1 -1
  820. package/dist/loader/cdn.js +1 -1
  821. package/dist/loader/index.cjs.js +1 -1
  822. package/dist/loader/index.es2017.js +1 -1
  823. package/dist/loader/index.js +1 -1
  824. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +1 -0
  825. package/dist/types/components/popover/popover.d.ts +2 -2
  826. package/dist/types/components/tooltip/tooltip.d.ts +2 -2
  827. package/hydrate/index.js +33 -21
  828. package/package.json +1 -1
  829. package/dist/calcite/p-02fe4f0d.js +0 -6
  830. package/dist/calcite/p-16977405.entry.js +0 -6
  831. package/dist/calcite/p-267042f6.system.entry.js +0 -6
  832. package/dist/calcite/p-7d27f8b5.entry.js +0 -6
  833. package/dist/calcite/p-8e09fa04.js +0 -6
  834. package/dist/calcite/p-bb8777f3.system.entry.js +0 -6
  835. package/dist/calcite/p-cb2192a2.entry.js +0 -6
  836. package/dist/calcite/p-dbb5ea43.entry.js +0 -6
  837. package/dist/calcite/p-e2d7d62e.js +0 -6
  838. package/dist/esm-es5/Heading-0d5f1f7a.js +0 -6
@@ -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.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  var CSS={menu:"menu",defaultTrigger:"default-trigger"};var SLOTS={tooltip:"tooltip",trigger:"trigger"};var ICONS={menu:"ellipsis"};export{CSS as C,ICONS as I,SLOTS as S};
@@ -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.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  var SLOTS={menuActions:"menu-actions",menuTooltip:"menu-tooltip"};var TEXT={more:"More"};var ICONS={menu:"ellipsis"};export{ICONS as I,SLOTS as S,TEXT as T};
@@ -2,5 +2,5 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e)
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.568
6
- */import{f as focusElement,g as getSlotted,t as toAriaBoolean}from"./dom-890c5676.js";import{g as getRoundRobinIndex}from"./array-067d0af7.js";import{d as debounce}from"./debounce-b09c9081.js";import{h,H as Host}from"./index-ae4f81cd.js";var CSS$2={heading:"heading",container:"container",indented:"container--indented"};var SLOTS$2={parentItem:"parent-item"};var HEADING_LEVEL=3;function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteInternalListItemValueChangeHandler(e){var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}e.stopPropagation()}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=i.contains(e.relatedTarget);if(l){return}filterOutDisabled(n).forEach((function(t){toggleSingleSelectItemTabbing(t,r.size===0?t.contains(e.target)||e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=moveItemIndex(this,i,t==="ArrowUp"?"up":"down");var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function moveItemIndex(e,t,i){var n=e.items;var a=n.length;var r=n.indexOf(t);var l=i==="up"?-1:1;var s=1;var o=getRoundRobinIndex(r+l*s++,a);var c=o;while(n[o].disabled){o=getRoundRobinIndex(r+l*s++,a);if(o===c){break}}return o}function getItemIndex(e,t){var i=e.items;return i.indexOf(t)}function filterOutDisabled(e){return e.filter((function(e){return!e.disabled}))}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"&&t.slot===SLOTS$2.parentItem){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(e.disabled){return}if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r,l,s;return __generator(this,(function(o){switch(o.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:o.sent();return[2];case 2:i=this,n=i.items,a=i.multiple,r=i.selectionFollowsFocus;if(n.length===0){return[2]}if(a){return[2,(t=filterOutDisabled(n)[0])===null||t===void 0?void 0:t.setFocus()]}l=filterOutDisabled(n);s=l.find((function(e){return e.selected}))||l[0];if(r&&s){s.selected=true}return[2,s.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a&&!a.disabled){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=i.dragEnabled,d=i.storeAssistiveEl,f=__rest(e,["props"]);var v=h("slot",null);return h(Host,__assign({"aria-busy":toAriaBoolean(a),role:"menu"},f),h("section",null,u?h("span",{"aria-live":"assertive",class:"assistive-text",ref:d}):null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a?h("calcite-scrim",{loading:a}):null,v))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,HEADING_LEVEL as H,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,getItemData as b,moveItemIndex as c,deselectRemovedItems as d,initializeObserver as e,cleanUpObserver as f,getItemIndex as g,handleFilter as h,initialize as i,calciteListFocusOutHandler as j,keyDownHandler as k,calciteListItemChangeHandler as l,mutationObserverCallback as m,calciteInternalListItemValueChangeHandler as n,setUpItems as o,setFocus as p,SLOTS$2 as q,removeItem as r,selectSiblings as s,CSS$2 as t,ICONS as u};
5
+ * v1.0.0-next.570
6
+ */import{f as focusElement,g as getSlotted,t as toAriaBoolean}from"./dom-36be46cc.js";import{g as getRoundRobinIndex}from"./array-3f8d5409.js";import{d as debounce}from"./debounce-3f5d7ed4.js";import{h,H as Host}from"./index-3faeefe6.js";var CSS$2={heading:"heading",container:"container",indented:"container--indented"};var SLOTS$2={parentItem:"parent-item"};var HEADING_LEVEL=3;function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteInternalListItemValueChangeHandler(e){var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}e.stopPropagation()}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=i.contains(e.relatedTarget);if(l){return}filterOutDisabled(n).forEach((function(t){toggleSingleSelectItemTabbing(t,r.size===0?t.contains(e.target)||e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=moveItemIndex(this,i,t==="ArrowUp"?"up":"down");var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function moveItemIndex(e,t,i){var n=e.items;var a=n.length;var r=n.indexOf(t);var l=i==="up"?-1:1;var s=1;var o=getRoundRobinIndex(r+l*s++,a);var c=o;while(n[o].disabled){o=getRoundRobinIndex(r+l*s++,a);if(o===c){break}}return o}function getItemIndex(e,t){var i=e.items;return i.indexOf(t)}function filterOutDisabled(e){return e.filter((function(e){return!e.disabled}))}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"&&t.slot===SLOTS$2.parentItem){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(e.disabled){return}if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r,l,s;return __generator(this,(function(o){switch(o.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:o.sent();return[2];case 2:i=this,n=i.items,a=i.multiple,r=i.selectionFollowsFocus;if(n.length===0){return[2]}if(a){return[2,(t=filterOutDisabled(n)[0])===null||t===void 0?void 0:t.setFocus()]}l=filterOutDisabled(n);s=l.find((function(e){return e.selected}))||l[0];if(r&&s){s.selected=true}return[2,s.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a&&!a.disabled){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=i.dragEnabled,d=i.storeAssistiveEl,f=__rest(e,["props"]);var v=h("slot",null);return h(Host,__assign({"aria-busy":toAriaBoolean(a),role:"menu"},f),h("section",null,u?h("span",{"aria-live":"assertive",class:"assistive-text",ref:d}):null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a?h("calcite-scrim",{loading:a}):null,v))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,HEADING_LEVEL as H,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,getItemData as b,moveItemIndex as c,deselectRemovedItems as d,initializeObserver as e,cleanUpObserver as f,getItemIndex as g,handleFilter as h,initialize as i,calciteListFocusOutHandler as j,keyDownHandler as k,calciteListItemChangeHandler as l,mutationObserverCallback as m,calciteInternalListItemValueChangeHandler as n,setUpItems as o,setFocus as p,SLOTS$2 as q,removeItem as r,selectSiblings as s,CSS$2 as t,ICONS as u};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e 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.568
6
- */import{a as getAssetPath}from"./index-ae4f81cd.js";import{a as locales}from"./locale-21fd2fc1.js";function getSupportedLocale(e){if(e===void 0){e=""}if(locales.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!locales.includes(e)){e=e.split("-")[0]}}return locales.includes(e)?e:"en"}var translationCache={};var requestCache={};function getLocaleData(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){switch(r.label){case 0:t=getSupportedLocale(e);if(translationCache[t]){return[2,translationCache[t]]}if(!requestCache[t]){requestCache[t]=fetch(getAssetPath("./assets/date-picker/nls/".concat(t,".json"))).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'.concat(t,'" not found or invalid, falling back to english'));return getLocaleData("en")}))}return[4,requestCache[t]];case 1:n=r.sent();translationCache[t]=n;return[2,n]}}))}))}function inRange(e,t,n){var r=e.getTime();var a=!(t instanceof Date)||r>=t.getTime();var o=!(n instanceof Date)||r<=n.getTime();return a&&o}function dateFromRange(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var a=t instanceof Date&&r<t.getTime();var o=n instanceof Date&&r>n.getTime();if(a){return t}if(o){return n}return e}function dateFromISO(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function dateToISO(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function sameDate(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function prevMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function nextMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function localizeNumber(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function parseNumber(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function parseDateString(e,t){var n=t.separator,r=t.unitOrder;var a=getOrder(r);var o=replaceArabicNumerals(e).split(n);return{day:parseInt(o[a.indexOf("d")]),month:parseInt(o[a.indexOf("m")])-1,year:parseInt(o[a.indexOf("y")])}}function replaceArabicNumerals(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function getOrder(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function getDaysDiff(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var HEADING_LEVEL=2;var TEXT={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{HEADING_LEVEL as H,TEXT as T,dateFromISO as a,dateFromRange as b,getDaysDiff as c,dateToISO as d,getOrder as e,prevMonth as f,getLocaleData as g,parseNumber as h,inRange as i,localizeNumber as l,nextMonth as n,parseDateString as p,sameDate as s};
5
+ * v1.0.0-next.570
6
+ */import{a as getAssetPath}from"./index-3faeefe6.js";import{a as locales}from"./locale-c2333880.js";function getSupportedLocale(e){if(e===void 0){e=""}if(locales.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!locales.includes(e)){e=e.split("-")[0]}}return locales.includes(e)?e:"en"}var translationCache={};var requestCache={};function getLocaleData(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){switch(r.label){case 0:t=getSupportedLocale(e);if(translationCache[t]){return[2,translationCache[t]]}if(!requestCache[t]){requestCache[t]=fetch(getAssetPath("./assets/date-picker/nls/".concat(t,".json"))).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'.concat(t,'" not found or invalid, falling back to english'));return getLocaleData("en")}))}return[4,requestCache[t]];case 1:n=r.sent();translationCache[t]=n;return[2,n]}}))}))}function inRange(e,t,n){var r=e.getTime();var a=!(t instanceof Date)||r>=t.getTime();var o=!(n instanceof Date)||r<=n.getTime();return a&&o}function dateFromRange(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var a=t instanceof Date&&r<t.getTime();var o=n instanceof Date&&r>n.getTime();if(a){return t}if(o){return n}return e}function dateFromISO(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function dateToISO(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function sameDate(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function prevMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function nextMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function localizeNumber(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function parseNumber(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function parseDateString(e,t){var n=t.separator,r=t.unitOrder;var a=getOrder(r);var o=replaceArabicNumerals(e).split(n);return{day:parseInt(o[a.indexOf("d")]),month:parseInt(o[a.indexOf("m")])-1,year:parseInt(o[a.indexOf("y")])}}function replaceArabicNumerals(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function getOrder(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function getDaysDiff(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var HEADING_LEVEL=2;var TEXT={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{HEADING_LEVEL as H,TEXT as T,dateFromISO as a,dateFromRange as b,getDaysDiff as c,dateToISO as d,getOrder as e,prevMonth as f,getLocaleData as g,parseNumber as h,inRange as i,localizeNumber as l,nextMonth as n,parseDateString as p,sameDate as s};
@@ -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.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  var autoTheme="calcite-theme-auto";var darkTheme="calcite-theme-dark";var lightTheme="calcite-theme-light";var CSS_UTILITY={autoTheme:autoTheme,darkTheme:darkTheme,lightTheme:lightTheme,rtl:"calcite--rtl"};var TEXT={loading:"Loading"};export{CSS_UTILITY as C,TEXT as T,autoTheme as a,darkTheme as d};
@@ -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.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -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.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  function rgbToHex(r){var e=r.r,n=r.g,t=r.b;return"#".concat(e.toString(16).padStart(2,"0")).concat(n.toString(16).padStart(2,"0")).concat(t.toString(16).padStart(2,"0")).toLowerCase()}var hexChar=/^[0-9A-F]$/i;var shortHandHex=/^#[0-9A-F]{3}$/i;var longhandHex=/^#[0-9A-F]{6}$/i;function isValidHex(r){return isShorthandHex(r)||isLonghandHex(r)}function isShorthandHex(r){return r&&r.length===4&&shortHandHex.test(r)}function isLonghandHex(r){return r&&r.length===7&&longhandHex.test(r)}function normalizeHex(r){r=r.toLowerCase();if(!r.startsWith("#")){r="#".concat(r)}if(isShorthandHex(r)){return rgbToHex(hexToRGB(r))}return r}function hexToRGB(r){if(!isValidHex(r)){return null}r=r.replace("#","");if(r.length===3){var e=r.split(""),n=e[0],t=e[1],o=e[2];var a=parseInt("".concat(n).concat(n),16);var s=parseInt("".concat(t).concat(t),16);var i=parseInt("".concat(o).concat(o),16);return{r:a,g:s,b:i}}var h=parseInt(r.slice(0,2),16);var l=parseInt(r.slice(2,4),16);var S=parseInt(r.slice(4,6),16);return{r:h,g:l,b:S}}var enumify=function(r){return r};var CSSColorMode=enumify({HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"});var ObjectColorMode=enumify({RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",HSV:"hsv",HSVA:"hsva"});function parseMode(r){if(typeof r==="string"){if(r.startsWith("#")){var e=r.length;if(e===4||e===7){return CSSColorMode.HEX}if(e===5||e===9){return CSSColorMode.HEXA}}if(r.startsWith("rgba(")){return CSSColorMode.RGBA_CSS}if(r.startsWith("rgb(")){return CSSColorMode.RGB_CSS}if(r.startsWith("hsl(")){return CSSColorMode.HSL_CSS}if(r.startsWith("hsla(")){return CSSColorMode.HSLA_CSS}}if(typeof r==="object"){if(hasChannels(r,"r","g","b")){return hasChannels(r,"a")?ObjectColorMode.RGBA:ObjectColorMode.RGB}if(hasChannels(r,"h","s","l")){return hasChannels(r,"a")?ObjectColorMode.HSLA:ObjectColorMode.HSL}if(hasChannels(r,"h","s","v")){return hasChannels(r,"a")?ObjectColorMode.HSVA:ObjectColorMode.HSV}}return null}function hasChannels(r){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return e.every((function(e){return e&&r&&"".concat(e)in r}))}function colorEqual(r,e){return(r===null||r===void 0?void 0:r.rgbNumber())===(e===null||e===void 0?void 0:e.rgbNumber())}export{CSSColorMode as C,isLonghandHex as a,hexChar as b,colorEqual as c,hexToRGB as h,isValidHex as i,normalizeHex as n,parseMode as p,rgbToHex as r};
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2022-08-18T21:12:27",
2
+ "timestamp": "2022-08-19T18:49:38",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "2.16.1",
@@ -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.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -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.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -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.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  export * from '../esm/polyfills/index.js';
7
7
  export * from '../esm/loader.js';
@@ -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.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
7
7
  export * from '../esm/polyfills/index.js';
@@ -40,6 +40,7 @@ export declare class ColorPickerHexInput {
40
40
  private onCalciteInternalInputBlur;
41
41
  private onInputChange;
42
42
  protected onInputKeyDown(event: KeyboardEvent): void;
43
+ private onPaste;
43
44
  private inputNode;
44
45
  /**
45
46
  * The last valid/selected color. Used as a fallback if an invalid hex code is entered.
@@ -104,8 +104,8 @@ export declare class Popover implements FloatingUIComponent, OpenCloseComponent
104
104
  guid: string;
105
105
  openTransitionProp: string;
106
106
  transitionEl: HTMLDivElement;
107
+ hasLoaded: boolean;
107
108
  connectedCallback(): void;
108
- componentWillLoad(): void;
109
109
  componentDidLoad(): void;
110
110
  disconnectedCallback(): void;
111
111
  /** Fires when the component is requested to be closed and before the closing transition begins. */
@@ -132,7 +132,7 @@ export declare class Popover implements FloatingUIComponent, OpenCloseComponent
132
132
  toggle(value?: boolean): Promise<void>;
133
133
  private setTransitionEl;
134
134
  setFilteredPlacements: () => void;
135
- setUpReferenceElement: () => void;
135
+ setUpReferenceElement: (warn?: boolean) => void;
136
136
  getId: () => string;
137
137
  setExpandedAttr: () => void;
138
138
  addReferences: () => void;
@@ -49,13 +49,13 @@ export declare class Tooltip implements FloatingUIComponent {
49
49
  effectiveReferenceElement: ReferenceElement;
50
50
  arrowEl: HTMLDivElement;
51
51
  guid: string;
52
+ hasLoaded: boolean;
52
53
  connectedCallback(): void;
53
- componentWillLoad(): void;
54
54
  componentDidLoad(): void;
55
55
  disconnectedCallback(): void;
56
56
  /** Updates the position of the component. */
57
57
  reposition(): Promise<void>;
58
- setUpReferenceElement: () => void;
58
+ setUpReferenceElement: (warn?: boolean) => void;
59
59
  getId: () => string;
60
60
  addReferences: () => void;
61
61
  removeReferences: () => void;
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.568
4
+ * v1.0.0-next.570
5
5
  */
6
6
  'use strict';
7
7
 
@@ -13647,6 +13647,13 @@ class ColorPickerHexInput {
13647
13647
  event.preventDefault();
13648
13648
  }
13649
13649
  }
13650
+ onPaste(event) {
13651
+ const hex = event.clipboardData.getData("text");
13652
+ if (isValidHex(hex)) {
13653
+ event.preventDefault();
13654
+ this.inputNode.value = hex.slice(1);
13655
+ }
13656
+ }
13650
13657
  //--------------------------------------------------------------------------
13651
13658
  //
13652
13659
  // Lifecycle
@@ -13655,7 +13662,7 @@ class ColorPickerHexInput {
13655
13662
  render() {
13656
13663
  const { intlHex, value } = this;
13657
13664
  const hexInputValue = this.formatForInternalInput(value);
13658
- return (hAsync("div", { class: CSS$H.container }, hAsync("calcite-input", { class: CSS$H.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$H.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
13665
+ return (hAsync("div", { class: CSS$H.container }, hAsync("calcite-input", { class: CSS$H.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$H.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
13659
13666
  }
13660
13667
  //--------------------------------------------------------------------------
13661
13668
  //
@@ -18378,7 +18385,7 @@ class Dropdown {
18378
18385
  this.selectedItems = this.items.filter((item) => item.selected);
18379
18386
  }
18380
18387
  getMaxScrollerHeight() {
18381
- const { maxItems } = this;
18388
+ const { maxItems, items } = this;
18382
18389
  let itemsToProcess = 0;
18383
18390
  let maxScrollerHeight = 0;
18384
18391
  let groupHeaderHeight;
@@ -18398,7 +18405,7 @@ class Dropdown {
18398
18405
  });
18399
18406
  }
18400
18407
  });
18401
- return maxScrollerHeight;
18408
+ return items.length > maxItems ? maxScrollerHeight : 0;
18402
18409
  }
18403
18410
  closeCalciteDropdown(focusTrigger = true) {
18404
18411
  this.open = false;
@@ -25325,6 +25332,7 @@ class Popover {
25325
25332
  this.intlClose = TEXT$6.close;
25326
25333
  this.guid = `calcite-popover-${guid()}`;
25327
25334
  this.openTransitionProp = "opacity";
25335
+ this.hasLoaded = false;
25328
25336
  // --------------------------------------------------------------------------
25329
25337
  //
25330
25338
  // Private Methods
@@ -25340,12 +25348,12 @@ class Popover {
25340
25348
  ? filterComputedPlacements(flipPlacements, el)
25341
25349
  : null;
25342
25350
  };
25343
- this.setUpReferenceElement = () => {
25351
+ this.setUpReferenceElement = (warn = true) => {
25344
25352
  this.removeReferences();
25345
25353
  this.effectiveReferenceElement = this.getReferenceElement();
25346
25354
  connectFloatingUI(this, this.effectiveReferenceElement, this.el);
25347
25355
  const { el, referenceElement, effectiveReferenceElement } = this;
25348
- if (referenceElement && !effectiveReferenceElement) {
25356
+ if (warn && referenceElement && !effectiveReferenceElement) {
25349
25357
  console.warn(`${el.tagName}: reference-element id "${referenceElement}" was not found.`, {
25350
25358
  el
25351
25359
  });
@@ -25430,21 +25438,23 @@ class Popover {
25430
25438
  //
25431
25439
  // --------------------------------------------------------------------------
25432
25440
  connectedCallback() {
25433
- connectFloatingUI(this, this.effectiveReferenceElement, this.el);
25434
25441
  this.setFilteredPlacements();
25435
25442
  connectOpenCloseComponent(this);
25436
- if (this.dismissible) {
25437
- this.handleDismissible(this.dismissible);
25443
+ const closable = this.closable || this.dismissible;
25444
+ if (closable) {
25445
+ this.handleDismissible(closable);
25438
25446
  }
25439
- if (this.closable) {
25440
- this.handleClosable(this.closable);
25447
+ if (closable) {
25448
+ this.handleClosable(closable);
25441
25449
  }
25442
- }
25443
- componentWillLoad() {
25444
- this.setUpReferenceElement();
25450
+ this.setUpReferenceElement(this.hasLoaded);
25445
25451
  }
25446
25452
  componentDidLoad() {
25453
+ if (this.referenceElement && !this.effectiveReferenceElement) {
25454
+ this.setUpReferenceElement();
25455
+ }
25447
25456
  this.reposition();
25457
+ this.hasLoaded = true;
25448
25458
  }
25449
25459
  disconnectedCallback() {
25450
25460
  this.removeReferences();
@@ -26842,7 +26852,7 @@ const SLOTS$7 = {
26842
26852
  footer: "footer"
26843
26853
  };
26844
26854
 
26845
- const shellCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-shell:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-shell{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-shell{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-shell-h{-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 **/.sc-calcite-shell-h *.sc-calcite-shell{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-shell:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-shell-h{display:none}/*!@:host*/.sc-calcite-shell-h{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}/*!@.main*/.main.sc-calcite-shell{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}/*!@.main--reversed*/.main--reversed.sc-calcite-shell{-ms-flex-direction:row-reverse;flex-direction:row-reverse}/*!@.content*/.content.sc-calcite-shell{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}/*!@.content ::slotted(calcite-shell-center-row), \n.content ::slotted(calcite-panel), \n.content ::slotted(calcite-flow)*/.content .sc-calcite-shell-s>calcite-shell-center-row,.content .sc-calcite-shell-s>calcite-panel,.content .sc-calcite-shell-s>calcite-flow{-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}/*!@.content--behind*/.content--behind.sc-calcite-shell{position:absolute;inset:0px;z-index:1;border-width:0px;display:initial}/*!@::slotted(calcite-shell-center-row)*/.sc-calcite-shell-s>calcite-shell-center-row{inline-size:unset}/*!@::slotted(.header .heading)*/.sc-calcite-shell-s>.header .heading{font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}/*!@slot[name=panel-end]::slotted(calcite-shell-panel)*/slot[name=panel-end].sc-calcite-shell-s>calcite-shell-panel{-webkit-margin-start:auto;margin-inline-start:auto}/*!@::slotted(calcite-shell-panel), \n::slotted(calcite-shell-center-row)*/.sc-calcite-shell-s>calcite-shell-panel,.sc-calcite-shell-s>calcite-shell-center-row{position:relative;z-index:1}/*!@::slotted(calcite-panel), \n::slotted(calcite-flow)*/.sc-calcite-shell-s>calcite-panel,.sc-calcite-shell-s>calcite-flow{border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@slot[name=center-row]::slotted(calcite-shell-center-row:not([detached]))*/slot[name=center-row].sc-calcite-shell-s>calcite-shell-center-row:not([detached]){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}/*!@::slotted(calcite-tip-manager)*/.sc-calcite-shell-s>calcite-tip-manager{position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}/*!@::slotted(calcite-tip-manager)*/.sc-calcite-shell-s>calcite-tip-manager{-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";
26855
+ const shellCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-shell:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-shell{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-shell{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-shell-h{-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 **/.sc-calcite-shell-h *.sc-calcite-shell{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-shell:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-shell-h{display:none}/*!@:host*/.sc-calcite-shell-h{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}/*!@.main*/.main.sc-calcite-shell{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}/*!@.main--reversed*/.main--reversed.sc-calcite-shell{-ms-flex-direction:row-reverse;flex-direction:row-reverse}/*!@.content*/.content.sc-calcite-shell{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}/*!@.content ::slotted(calcite-shell-center-row), \n.content ::slotted(calcite-panel), \n.content ::slotted(calcite-flow)*/.content .sc-calcite-shell-s>calcite-shell-center-row,.content .sc-calcite-shell-s>calcite-panel,.content .sc-calcite-shell-s>calcite-flow{-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}/*!@.content--behind*/.content--behind.sc-calcite-shell{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}/*!@::slotted(calcite-shell-center-row)*/.sc-calcite-shell-s>calcite-shell-center-row{inline-size:unset}/*!@::slotted(.header .heading)*/.sc-calcite-shell-s>.header .heading{font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}/*!@slot[name=panel-end]::slotted(calcite-shell-panel)*/slot[name=panel-end].sc-calcite-shell-s>calcite-shell-panel{-webkit-margin-start:auto;margin-inline-start:auto}/*!@::slotted(calcite-shell-panel), \n::slotted(calcite-shell-center-row)*/.sc-calcite-shell-s>calcite-shell-panel,.sc-calcite-shell-s>calcite-shell-center-row{position:relative;z-index:1}/*!@::slotted(calcite-panel), \n::slotted(calcite-flow)*/.sc-calcite-shell-s>calcite-panel,.sc-calcite-shell-s>calcite-flow{border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@slot[name=center-row]::slotted(calcite-shell-center-row:not([detached]))*/slot[name=center-row].sc-calcite-shell-s>calcite-shell-center-row:not([detached]){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}/*!@::slotted(calcite-tip-manager)*/.sc-calcite-shell-s>calcite-tip-manager{position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}/*!@::slotted(calcite-tip-manager)*/.sc-calcite-shell-s>calcite-tip-manager{-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";
26846
26856
 
26847
26857
  /**
26848
26858
  * @slot - A slot for adding content to the component. This content will appear between any leading and trailing panels added to the component, such as a map.
@@ -34345,17 +34355,18 @@ class Tooltip {
34345
34355
  */
34346
34356
  this.placement = "auto";
34347
34357
  this.guid = `calcite-tooltip-${guid()}`;
34358
+ this.hasLoaded = false;
34348
34359
  // --------------------------------------------------------------------------
34349
34360
  //
34350
34361
  // Private Methods
34351
34362
  //
34352
34363
  // --------------------------------------------------------------------------
34353
- this.setUpReferenceElement = () => {
34364
+ this.setUpReferenceElement = (warn = true) => {
34354
34365
  this.removeReferences();
34355
34366
  this.effectiveReferenceElement = this.getReferenceElement();
34356
34367
  connectFloatingUI(this, this.effectiveReferenceElement, this.el);
34357
34368
  const { el, referenceElement, effectiveReferenceElement } = this;
34358
- if (referenceElement && !effectiveReferenceElement) {
34369
+ if (warn && referenceElement && !effectiveReferenceElement) {
34359
34370
  console.warn(`${el.tagName}: reference-element id "${referenceElement}" was not found.`, {
34360
34371
  el
34361
34372
  });
@@ -34411,13 +34422,14 @@ class Tooltip {
34411
34422
  //
34412
34423
  // --------------------------------------------------------------------------
34413
34424
  connectedCallback() {
34414
- connectFloatingUI(this, this.effectiveReferenceElement, this.el);
34415
- }
34416
- componentWillLoad() {
34417
- this.setUpReferenceElement();
34425
+ this.setUpReferenceElement(this.hasLoaded);
34418
34426
  }
34419
34427
  componentDidLoad() {
34428
+ if (this.referenceElement && !this.effectiveReferenceElement) {
34429
+ this.setUpReferenceElement();
34430
+ }
34420
34431
  this.reposition();
34432
+ this.hasLoaded = true;
34421
34433
  }
34422
34434
  disconnectedCallback() {
34423
34435
  this.removeReferences();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.568",
3
+ "version": "1.0.0-next.570",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.568
5
- */
6
- import{f as t}from"./p-9e95a226.js";import{c as o}from"./p-ca341909.js";const n=new Set;let c;const s={childList:!0};function a(t){c||(c=o("mutation",i)),c.observe(t.el,s)}function f(t){n.delete(t.el),i(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{a as c,f as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.568
5
- */
6
- import{r as t,c as i,h as e,H as n,g as a}from"./p-9e95a226.js";import{t as r,f as o,d as s}from"./p-d60e5938.js";import{d as c,f as l,c as d,a as m,F as p,p as h}from"./p-9441bcce.js";import{c as f}from"./p-ca341909.js";import{u as w}from"./p-0af0206b.js";import{c as b,d as u}from"./p-e39aa368.js";import{g as k}from"./p-aac43b1a.js";import{i as g}from"./p-9ebff13e.js";import"./p-0ef09d9e.js";const y=class{constructor(e){t(this,e),this.calciteDropdownSelect=i(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=i(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=i(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=i(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=i(this,"calciteDropdownOpen",6),this.active=!1,this.open=!1,this.disableCloseOnSelect=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.placement=c,this.scale="m",this.selectedItems=[],this.type="click",this.items=[],this.groups=[],this.mutationObserver=f("mutation",(()=>this.updateItems())),this.resizeObserver=f("resize",(t=>this.resizeObserverCallback(t))),this.openTransitionProp="visibility",this.guid=`calcite-dropdown-${k()}`,this.defaultAssignedElements=[],this.slotChangeHandler=t=>{this.defaultAssignedElements=t.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?l(i,t):null},this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:!0}),this.reposition()},this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(null==t?void 0:t.querySelectorAll("calcite-dropdown-item")))).reduce(((t,i)=>[...t,...i]),[]),this.updateSelectedItems(),this.reposition()},this.updateGroups=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-dropdown-group")));this.groups=i,this.updateItems()},this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:i}=t;i===this.referenceEl?this.setDropdownWidth():i===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:i}=this,e=null==t?void 0:t.clientWidth;e&&i&&(i.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:t,open:i}=this;if(!t||!i)return;this.reposition();const e=this.getMaxScrollerHeight();t.style.maxHeight=e>0?`${e}px`:"",this.reposition()},this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t),this.scrollerEl=t,this.transitionEl=t,b(this)},this.setReferenceEl=t=>{this.referenceEl=t,d(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(t)},this.setFloatingEl=t=>{this.floatingEl=t,d(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=t=>{if(t.target!==this.referenceEl)return;const{defaultPrevented:i,key:e}=t;if(!i){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void t.preventDefault();if(t.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void t.preventDefault()}g(e)?(this.openCalciteDropdown(),t.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),t.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((t=>t.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)}}activeHandler(t){this.open=t}openHandler(t){if(!this.disabled)return this.reposition(),void(this.active=t);this.open=!1}handleDisabledChange(t){t||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements()}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition()}placementHandler(){this.reposition()}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(),this.open&&this.openHandler(this.open),this.active&&this.activeHandler(this.active),b(this)}componentDidLoad(){this.reposition()}componentDidRender(){w(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),m(this,this.referenceEl,this.floatingEl),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),u(this)}render(){const{open:t,guid:i}=this;return e(n,null,e("div",{class:"calcite-dropdown-trigger-container",id:`${i}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},e("slot",{"aria-controls":`${i}-menu`,"aria-expanded":r(t),"aria-haspopup":"menu",name:"dropdown-trigger",onSlotchange:this.updateTriggers})),e("div",{"aria-hidden":r(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},e("div",{"aria-labelledby":`${i}-menubutton`,class:{"calcite-dropdown-content":!0,[p.animation]:!0,[p.animationActive]:t},id:`${i}-menu`,ref:this.setScrollerAndTransitionEl,role:"menu"},e("div",{hidden:!t},e("slot",{onSlotchange:this.updateGroups})))))}async reposition(){const{floatingEl:t,referenceEl:i,placement:e,overlayPositioning:n}=this;return h({floatingEl:t,referenceEl:i,overlayPositioning:n,placement:e,type:"menu"})}closeCalciteDropdownOnClick(t){this.open&&!t.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown(),t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){t.composedPath().includes(this.el)||(this.open=!1)}mouseEnterHandler(){"hover"===this.type&&this.openCalciteDropdown()}mouseLeaveHandler(){"hover"===this.type&&this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:i}=t.detail,e=i.target,n="A"!==e.nodeName?e:e.parentNode,a=0===this.itemIndex(n),r=this.itemIndex(n)===this.items.length-1;switch(i.key){case"Tab":r&&!i.shiftKey||a&&i.shiftKey?this.closeCalciteDropdown():i.shiftKey?this.focusPrevItem(n):this.focusNextItem(n);break;case"ArrowDown":this.focusNextItem(n);break;case"ArrowUp":this.focusPrevItem(n);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit({item:t.detail.requestedDropdownItem}),this.disableCloseOnSelect&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),t.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t}=this;let i,e=0,n=0;return this.groups.forEach((a=>{t>0&&e<t&&Array.from(a.children).forEach(((a,r)=>{0===r&&(isNaN(i)&&(i=a.offsetTop),n+=i),e<t&&(n+=a.offsetHeight,e+=1)}))})),n}closeCalciteDropdown(t=!0){this.open=!1,t&&o(this.triggers[0])}focusFirstItem(){this.getFocusableElement(this.items[0])}focusLastItem(){this.getFocusableElement(this.items[this.items.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.getFocusableElement(this.items[i+1]||this.items[0])}focusPrevItem(t){const i=this.itemIndex(t);this.getFocusableElement(this.items[i-1]||this.items[this.items.length-1])}itemIndex(t){return this.items.indexOf(t)}getFocusableElement(t){if(!t)return;const i=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;o(i)}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"]}}};y.style="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";const v=class{constructor(e){t(this,e),this.calciteInternalDropdownItemChange=i(this,"calciteInternalDropdownItemChange",6),this.selectionMode="single"}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const t=this.scale||s(this.el,"scale","m"),i=this.groupTitle?e("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,a=this.groupPosition>0?e("div",{class:"dropdown-separator",role:"separator"}):null;return e(n,{"aria-label":this.groupTitle,role:"group"},e("div",{class:{container:!0,"container--s":"s"===t,"container--m":"m"===t,"container--l":"l"===t},title:this.groupTitle},a,i,e("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}get el(){return a(this)}};v.style="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{-webkit-margin-after:-1px;margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";const x=class{constructor(e){t(this,e),this.calciteInternalDropdownItemSelect=i(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=i(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=i(this,"calciteInternalDropdownCloseRequest",6),this.active=!1,this.selected=!1}activeHandler(t){this.selected=t}selectedHandler(t){this.active=t}async setFocus(){var t;null===(t=this.el)||void 0===t||t.focus()}componentWillLoad(){this.initialize()}connectedCallback(){const t=this.selected||this.active;t&&(this.activeHandler(t),this.selectedHandler(t)),this.initialize()}render(){const t=s(this.el,"scale","m"),i=e("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),a=e("span",{class:"dropdown-item-content"},e("slot",null)),o=e("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),c=this.iconStart&&this.iconEnd?[i,a,o]:this.iconStart?[i,e("slot",null)]:this.iconEnd?[a,o]:a,l=this.href?e("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:t=>this.childLink=t,rel:this.rel,target:this.target},c):c,d=this.href?null:"single"===this.selectionMode?"menuitemradio":"multi"===this.selectionMode?"menuitemcheckbox":"menuitem",m="none"!==this.selectionMode?r(this.selected):null;return e(n,{"aria-checked":m,role:d,tabindex:"0"},e("div",{class:{container:!0,"container--link":!!this.href,"container--s":"s"===t,"container--m":"m"===t,"container--l":"l"===t,"container--multi-selection":"multi"===this.selectionMode,"container--single-selection":"single"===this.selectionMode,"container--none-selection":"none"===this.selectionMode}},"none"!==this.selectionMode?e("calcite-icon",{class:"dropdown-item-icon",icon:"multi"===this.selectionMode?"check":"bullet-point",scale:"s"}):null,l))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t})}}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem()),t.stopPropagation()}initialize(){this.selectionMode=s(this.el,"selection-mode","single"),this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multi":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],selected:["selectedHandler"]}}};x.style="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-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);text-align:start}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-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)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-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-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";export{y as calcite_dropdown,v as calcite_dropdown_group,x as calcite_dropdown_item}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.568
5
- */
6
- System.register(["./p-41ac4a97.system.js","./p-c45da1eb.system.js","./p-198128a6.system.js","./p-af9c9942.system.js","./p-0f0f314b.system.js","./p-e0d7b0c6.system.js","./p-200b7572.system.js"],(function(t){"use strict";var e,a,n,i,o,r,l,s,c,d,m;return{setters:[function(t){e=t.r;a=t.h;n=t.F;i=t.g;o=t.c;r=t.f},function(t){l=t.g;s=t.a},function(t){c=t.c;d=t.d},function(t){m=t.c},function(){},function(){},function(){}],execute:function(){var p={main:"main",mainReversed:"main--reversed",content:"content",contentBehind:"content--behind",footer:"footer"};var f={centerRow:"center-row",primaryPanel:"primary-panel",contextualPanel:"contextual-panel",panelStart:"panel-start",panelEnd:"panel-end",header:"header",footer:"footer"};var h="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;z-index:1;border-width:0px;display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";var u=t("calcite_shell",function(){function t(t){e(this,t);this.contentBehind=false}t.prototype.connectedCallback=function(){c(this)};t.prototype.disconnectedCallback=function(){d(this)};t.prototype.renderHeader=function(){var t=!!l(this.el,f.header);return t?a("slot",{key:"header",name:f.header}):null};t.prototype.renderContent=function(){var t;var e=a("slot",{key:"default-slot"});var n=a("slot",{key:"center-row-slot",name:f.centerRow});var i="content-container";var o=!!this.contentBehind?[a("div",{class:(t={},t[p.content]=true,t[p.contentBehind]=true,t),key:i},e),n]:[a("div",{class:p.content,key:i},e,n)];return o};t.prototype.renderFooter=function(){var t=!!l(this.el,f.footer);return t?a("div",{class:p.footer,key:"footer"},a("slot",{name:f.footer})):null};t.prototype.renderMain=function(){var t;var e=l(this.el,f.primaryPanel);var n=(t={},t[p.main]=true,t[p.mainReversed]=(e===null||e===void 0?void 0:e.position)==="end",t);return a("div",{class:n},a("slot",{name:f.primaryPanel}),a("slot",{name:f.panelStart}),this.renderContent(),a("slot",{name:f.panelEnd}),a("slot",{name:f.contextualPanel}))};t.prototype.render=function(){return a(n,null,this.renderHeader(),this.renderMain(),this.renderFooter())};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());u.style=h;var w={actionBarContainer:"action-bar-container",content:"content"};var b={actionBar:"action-bar"};var x="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@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)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";var v=t("calcite_shell_center_row",function(){function t(t){e(this,t);this.detached=false;this.heightScale="s";this.position="end"}t.prototype.connectedCallback=function(){c(this)};t.prototype.disconnectedCallback=function(){d(this)};t.prototype.render=function(){var t=this.el;var e=a("div",{class:w.content},a("slot",null));var i=l(t,b.actionBar);var o=i?a("div",{class:w.actionBarContainer,key:"action-bar"},a("slot",{name:b.actionBar})):null;var r=[o,e];if((i===null||i===void 0?void 0:i.position)==="end"){r.reverse()}return a(n,null,r)};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());v.style=x;var y={container:"container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentDetached:"content--detached",separator:"separator"};var k={actionBar:"action-bar",header:"header"};var g={resize:"Resize"};var D="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";var z=t("calcite_shell_panel",function(){function t(t){var a=this;e(this,t);this.calciteShellPanelToggle=o(this,"calciteShellPanelToggle",6);this.collapsed=false;this.detached=false;this.detachedHeightScale="l";this.widthScale="m";this.intlResize=g.resize;this.resizable=false;this.contentWidth=null;this.initialContentWidth=null;this.initialClientX=null;this.contentWidthMax=null;this.contentWidthMin=null;this.step=1;this.stepMultiplier=10;this.storeContentEl=function(t){a.contentEl=t};this.getKeyAdjustedWidth=function(t){var e=t.key;var n=a,i=n.el,o=n.step,r=n.stepMultiplier,l=n.contentWidthMin,c=n.contentWidthMax,d=n.initialContentWidth,m=n.position;var p=o*r;var f=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"];if(f.indexOf(e)>-1){t.preventDefault()}var h=s(i);var u=["ArrowLeft","ArrowRight"];var w=h==="rtl"&&u.includes(e)?-1:1;var b=e==="ArrowUp"||(m==="end"?e===u[0]:e===u[1]);if(b){var x=t.shiftKey?p:o;return d+w*x}var v=e==="ArrowDown"||(m==="end"?e===u[1]:e===u[0]);if(v){var x=t.shiftKey?p:o;return d-w*x}if(typeof l==="number"&&e==="Home"){return l}if(typeof c==="number"&&e==="End"){return c}if(e==="PageDown"){return d-p}if(e==="PageUp"){return d+p}return null};this.separatorKeyDown=function(t){a.setInitialContentWidth();var e=a.getKeyAdjustedWidth(t);if(typeof e==="number"){a.setContentWidth(e)}};this.separatorPointerMove=function(t){t.preventDefault();var e=a,n=e.el,i=e.initialContentWidth,o=e.position,r=e.initialClientX;var l=t.clientX-r;var c=s(n);var d=c==="rtl"?-1:1;var m=o==="end"?-d*l:d*l;var p=i+m;a.setContentWidth(p)};this.separatorPointerUp=function(t){t.preventDefault();document.removeEventListener("pointerup",a.separatorPointerUp);document.removeEventListener("pointermove",a.separatorPointerMove)};this.setInitialContentWidth=function(){var t;a.initialContentWidth=(t=a.contentEl)===null||t===void 0?void 0:t.getBoundingClientRect().width};this.separatorPointerDown=function(t){t.preventDefault();var e=a.separatorEl;e&&document.activeElement!==e&&e.focus();a.setInitialContentWidth();a.initialClientX=t.clientX;document.addEventListener("pointerup",a.separatorPointerUp);document.addEventListener("pointermove",a.separatorPointerMove)};this.connectSeparator=function(t){a.disconnectSeparator();a.separatorEl=t;t.addEventListener("pointerdown",a.separatorPointerDown)};this.disconnectSeparator=function(){var t;(t=a.separatorEl)===null||t===void 0?void 0:t.removeEventListener("pointerdown",a.separatorPointerDown)}}t.prototype.watchHandler=function(){this.calciteShellPanelToggle.emit()};t.prototype.connectedCallback=function(){c(this)};t.prototype.disconnectedCallback=function(){d(this);this.disconnectSeparator()};t.prototype.componentDidLoad=function(){this.updateAriaValues()};t.prototype.renderHeader=function(){var t=this.el;var e=l(t,k.header);return e?a("div",{class:y.contentHeader,key:"header"},a("slot",{name:k.header})):null};t.prototype.render=function(){var t,e;var n=this,i=n.collapsed,o=n.detached,r=n.position,l=n.initialContentWidth,s=n.contentWidth,c=n.contentWidthMax,d=n.contentWidthMin,m=n.intlResize,p=n.resizable;var f=!o&&p;var h=a("div",{class:(t={},t[y.content]=true,t[y.contentDetached]=o,t),hidden:i,key:"content",ref:this.storeContentEl,style:f&&s?{width:"".concat(s,"px")}:null},this.renderHeader(),a("div",{class:y.contentBody},a("slot",null)));var u=f?a("div",{"aria-label":m,"aria-orientation":"horizontal","aria-valuemax":c,"aria-valuemin":d,"aria-valuenow":s!==null&&s!==void 0?s:l,class:y.separator,key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null;var w=a("slot",{key:"action-bar",name:k.actionBar});var b=[w,h,u];if(r==="end"){b.reverse()}return a("div",{class:(e={},e[y.container]=true,e)},b)};t.prototype.setContentWidth=function(t){var e=this,a=e.contentWidthMax,n=e.contentWidthMin;var i=Math.round(t);this.contentWidth=typeof a==="number"&&typeof n==="number"?m(i,n,a):i};t.prototype.updateAriaValues=function(){var t=this.contentEl;var e=t&&getComputedStyle(t);if(!e){return}var a=parseInt(e.getPropertyValue("max-width"),10);var n=parseInt(e.getPropertyValue("min-width"),10);var i=parseInt(e.getPropertyValue("width"),10);if(typeof i==="number"&&!isNaN(i)){this.initialContentWidth=i}if(typeof a==="number"&&!isNaN(a)){this.contentWidthMax=a}if(typeof n==="number"&&!isNaN(n)){this.contentWidthMin=n}r(this)};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{collapsed:["watchHandler"]}},enumerable:false,configurable:true});return t}());z.style=D}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.568
5
- */
6
- import{r as t,c as e,f as i,h as a,H as n,g as r}from"./p-9e95a226.js";import{b as o,f as s,c as l,a as c,p as m,F as d}from"./p-9441bcce.js";import{g as f}from"./p-aac43b1a.js";import{t as p,q as h}from"./p-d60e5938.js";import{c as b,d as w}from"./p-e39aa368.js";import{H as u}from"./p-8e09fa04.js";import{i as k}from"./p-9ebff13e.js";import{c as y}from"./p-ca341909.js";import"./p-0ef09d9e.js";const x=new class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.togglePopovers=t=>{const e=t.composedPath(),i=this.queryPopover(e);!i||i.triggerDisabled?Array.from(this.registeredElements.values()).filter((t=>t.autoClose&&t.open&&!e.includes(t))).forEach((t=>t.toggle(!1))):i.toggle()},this.keyHandler=t=>{!t.defaultPrevented&&k(t.key)&&this.togglePopovers(t)},this.clickHandler=t=>{this.togglePopovers(t)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addListeners(){document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("keydown",this.keyHandler,{capture:!0})}removeListeners(){document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("keydown",this.keyHandler,{capture:!0})}},v=class{constructor(i){t(this,i),this.calcitePopoverBeforeClose=e(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=e(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=e(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",6),this.autoClose=!1,this.closeButton=!1,this.dismissible=!1,this.closable=!1,this.disableFlip=!1,this.disablePointer=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.triggerDisabled=!1,this.intlClose="Close",this.guid=`calcite-popover-${f()}`,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t,b(this)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?s(e,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),l(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:e,effectiveReferenceElement:i}=this;e&&!i&&console.warn(`${t.tagName}: reference-element id "${e}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&"setAttribute"in t&&t.setAttribute("aria-expanded",p(e))},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute("aria-controls",e),x.registerElement(t,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&(t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded")),x.unregisterElement(t))},this.hide=()=>{this.open=!1},this.storeArrowEl=t=>{this.arrowEl=t,this.reposition()}}handleDismissible(t){this.closable=t}handleClosable(t){this.dismissible=t}flipPlacementsHandler(){this.setFilteredPlacements()}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition(),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement(),this.reposition()}connectedCallback(){l(this,this.effectiveReferenceElement,this.el),this.setFilteredPlacements(),b(this),this.dismissible&&this.handleDismissible(this.dismissible),this.closable&&this.handleClosable(this.closable)}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),c(this,this.effectiveReferenceElement,this.el),w(this)}async reposition(){const{el:t,effectiveReferenceElement:e,placement:i,overlayPositioning:a,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l}=this;return m({floatingEl:t,referenceEl:e,overlayPositioning:a,placement:i,disableFlip:n,flipPlacements:r,offsetDistance:o,offsetSkidding:s,arrowEl:l,type:"popover"})}async setFocus(t){var e;const{closeButtonEl:a}=this;if("close-button"===t&&a)return i(a),void a.setFocus();null===(e=this.el)||void 0===e||e.focus()}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?h(e,{id:t}):t)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit()}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit()}renderCloseButton(){const{closeButton:t,intlClose:e,heading:i,closable:n}=this;return n||t?a("div",{class:"close-button-container"},a("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,scale:i?"s":"m",text:e},a("calcite-icon",{icon:"x",scale:i?"s":"m"}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,i=t?a(u,{class:"heading",level:e||2},t):null;return i?a("div",{class:"header"},i,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:i,open:r,disablePointer:o}=this,s=t&&r,l=!s,c=o?null:a("div",{class:"arrow",ref:this.storeArrowEl});return a(n,{"aria-hidden":p(l),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},a("div",{class:{[d.animation]:!0,[d.animationActive]:s},ref:this.setTransitionEl},c,a("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),a("div",{class:"content"},a("slot",null)),e?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{dismissible:["handleDismissible"],closable:["handleClosable"],flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};v.style='@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;block-size:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}';const g=class{constructor(e){t(this,e),this.mutationObserver=y("mutation",(()=>this.setAutoClose())),this.selector="[data-calcite-popover-reference]",this.autoClose=!1}autoCloseHandler(){this.setAutoClose()}connectedCallback(){var t;this.setAutoClose(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return a("slot",null)}setAutoClose(){const{autoClose:t,el:e}=this;e.querySelectorAll("calcite-popover").forEach((e=>e.autoClose=t))}get el(){return r(this)}static get watchers(){return{autoClose:["autoCloseHandler"]}}};g.style="@-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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";export{v as calcite_popover,g as calcite_popover_manager}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.568
5
- */
6
- import{h as t}from"./p-9e95a226.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const a=`h${e.level}`;return delete e.level,t(a,{...e},r)};export{r as H,e as c}