@esri/calcite-components 1.0.0-next.445 → 1.0.0-next.448

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 (800) 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-d4f2f493.system.js → p-01b1cc17.system.js} +2 -2
  5. package/dist/calcite/{p-090880ec.entry.js → p-026da492.entry.js} +2 -2
  6. package/dist/calcite/{p-fe25dd66.js → p-02bec8a3.js} +1 -1
  7. package/dist/calcite/{p-4cff6ed2.system.entry.js → p-02e07e7c.system.entry.js} +2 -2
  8. package/dist/calcite/{p-be653c75.js → p-030c631e.js} +1 -1
  9. package/dist/calcite/{p-d0dd920e.system.js → p-03699d0f.system.js} +2 -2
  10. package/dist/calcite/{p-8491b37f.entry.js → p-041225fa.entry.js} +2 -2
  11. package/dist/calcite/{p-041b61cd.js → p-04c221b0.js} +2 -2
  12. package/dist/calcite/{p-df191ce8.system.entry.js → p-05909457.system.entry.js} +2 -2
  13. package/dist/calcite/{p-e455cf93.system.entry.js → p-06161665.system.entry.js} +2 -2
  14. package/dist/calcite/{p-ae1dd9d3.entry.js → p-063676a9.entry.js} +2 -2
  15. package/dist/calcite/{p-8f061a44.entry.js → p-06547a6f.entry.js} +2 -2
  16. package/dist/calcite/p-07a74ef2.system.entry.js +6 -0
  17. package/dist/calcite/{p-311f6ae3.system.js → p-08c914b0.system.js} +2 -2
  18. package/dist/calcite/{p-319fca0a.system.entry.js → p-0953c811.system.entry.js} +2 -2
  19. package/dist/calcite/{p-9500d5a1.entry.js → p-0a816f05.entry.js} +2 -2
  20. package/dist/calcite/{p-b0a06984.entry.js → p-0ac85d35.entry.js} +2 -2
  21. package/dist/calcite/{p-99b56a57.system.js → p-0c7b39db.system.js} +1 -1
  22. package/dist/calcite/{p-31197ab6.system.js → p-12d4a5f1.system.js} +1 -1
  23. package/dist/calcite/{p-258de3b5.system.js → p-12da5100.system.js} +1 -1
  24. package/dist/calcite/{p-a01d5702.system.js → p-12deb8e2.system.js} +1 -1
  25. package/dist/calcite/{p-27627646.entry.js → p-13c3a48a.entry.js} +2 -2
  26. package/dist/calcite/{p-3b2f0536.js → p-141d280a.js} +2 -2
  27. package/dist/calcite/{p-27d2b999.entry.js → p-1607bfb6.entry.js} +2 -2
  28. package/dist/calcite/{p-29ffb1a4.system.entry.js → p-169ed046.system.entry.js} +2 -2
  29. package/dist/calcite/{p-25ee06e8.entry.js → p-16fc66a8.entry.js} +2 -2
  30. package/dist/calcite/{p-dcd66dbe.entry.js → p-175c4971.entry.js} +2 -2
  31. package/dist/calcite/{p-28ab1bdc.system.entry.js → p-1d9d9727.system.entry.js} +2 -2
  32. package/dist/calcite/{p-ea01de75.js → p-20eee135.js} +2 -2
  33. package/dist/calcite/{p-569ab61c.entry.js → p-210e2fbe.entry.js} +2 -2
  34. package/dist/calcite/{p-fbcdf49c.system.js → p-229d4c7d.system.js} +1 -1
  35. package/dist/calcite/{p-dd2433b8.js → p-243dcc84.js} +1 -1
  36. package/dist/calcite/{p-3dba8986.entry.js → p-25dc7a3b.entry.js} +2 -2
  37. package/dist/calcite/{p-e5c97b3c.system.entry.js → p-282cefae.system.entry.js} +2 -2
  38. package/dist/calcite/{p-1d36af45.system.js → p-28b5b7e7.system.js} +1 -1
  39. package/dist/calcite/{p-74c3913a.entry.js → p-2b9bf6e4.entry.js} +2 -2
  40. package/dist/calcite/{p-de88a90d.system.entry.js → p-2bce172a.system.entry.js} +2 -2
  41. package/dist/calcite/{p-dac748b6.entry.js → p-2cc1c3b2.entry.js} +2 -2
  42. package/dist/calcite/{p-b02dac57.entry.js → p-2cc4a38c.entry.js} +2 -2
  43. package/dist/calcite/{p-d9639ef6.system.entry.js → p-2fd9db65.system.entry.js} +2 -2
  44. package/dist/calcite/{p-cbed5ee5.entry.js → p-314ee74c.entry.js} +2 -2
  45. package/dist/calcite/{p-4a910e1a.system.entry.js → p-3185fbb1.system.entry.js} +2 -2
  46. package/dist/calcite/{p-2e5debed.system.js → p-32fc7d08.system.js} +1 -1
  47. package/dist/calcite/{p-14ec9332.system.entry.js → p-335ca82c.system.entry.js} +2 -2
  48. package/dist/calcite/{p-5500906f.entry.js → p-35edae18.entry.js} +2 -2
  49. package/dist/calcite/p-3a3cfe0d.entry.js +6 -0
  50. package/dist/calcite/{p-fecc0290.entry.js → p-3b40988a.entry.js} +2 -2
  51. package/dist/calcite/p-3c2079c1.system.js +6 -0
  52. package/dist/calcite/p-3d7a9888.system.entry.js +6 -0
  53. package/dist/calcite/{p-f7d5923a.system.entry.js → p-3f938b8c.system.entry.js} +2 -2
  54. package/dist/calcite/{p-355798dd.js → p-429681dc.js} +1 -1
  55. package/dist/calcite/{p-ad7a67c5.js → p-4309bd5a.js} +1 -1
  56. package/dist/calcite/{p-2d00654f.entry.js → p-43a0d015.entry.js} +2 -2
  57. package/dist/calcite/{p-6723c6d8.entry.js → p-4686d0bb.entry.js} +2 -2
  58. package/dist/calcite/{p-a7793b59.system.js → p-490b2b57.system.js} +1 -1
  59. package/dist/calcite/p-4a7097c5.js +6 -0
  60. package/dist/calcite/{p-0f89e70c.entry.js → p-4af3700a.entry.js} +2 -2
  61. package/dist/calcite/{p-99b389a4.system.entry.js → p-4d1db9b7.system.entry.js} +2 -2
  62. package/dist/calcite/p-4d7a082a.js +6 -0
  63. package/dist/calcite/{p-dd148aa5.entry.js → p-5659eb52.entry.js} +2 -2
  64. package/dist/calcite/{p-ff6ac4c3.system.entry.js → p-57ff3d4e.system.entry.js} +2 -2
  65. package/dist/calcite/{p-26a03754.system.entry.js → p-597831a9.system.entry.js} +3 -3
  66. package/dist/calcite/{p-8b8402ab.entry.js → p-5dc52feb.entry.js} +2 -2
  67. package/dist/calcite/{p-f984a8fb.system.entry.js → p-6093c924.system.entry.js} +2 -2
  68. package/dist/calcite/{p-ff8e5fb9.system.entry.js → p-62b4fac5.system.entry.js} +2 -2
  69. package/dist/calcite/{p-28383893.system.entry.js → p-65a8a4ab.system.entry.js} +2 -2
  70. package/dist/calcite/{p-8eb729b2.entry.js → p-66cca937.entry.js} +2 -2
  71. package/dist/calcite/{p-57d67d2d.js → p-680fc7a5.js} +1 -1
  72. package/dist/calcite/{p-e5147246.entry.js → p-6956c26a.entry.js} +2 -2
  73. package/dist/calcite/{p-381ae536.system.entry.js → p-695a157a.system.entry.js} +2 -2
  74. package/dist/calcite/{p-02fd2883.system.entry.js → p-6a396bbd.system.entry.js} +2 -2
  75. package/dist/calcite/{p-2ffe62e7.entry.js → p-6be8d5fa.entry.js} +2 -2
  76. package/dist/calcite/{p-f713dcde.system.js → p-6dd02e3f.system.js} +2 -2
  77. package/dist/calcite/p-709fd531.entry.js +6 -0
  78. package/dist/calcite/{p-97dd099f.system.entry.js → p-71887235.system.entry.js} +2 -2
  79. package/dist/calcite/{p-a6c8b4f4.system.entry.js → p-71caddce.system.entry.js} +2 -2
  80. package/dist/calcite/{p-47872617.entry.js → p-721bb711.entry.js} +2 -2
  81. package/dist/calcite/{p-37d36485.system.entry.js → p-72c0bfd4.system.entry.js} +2 -2
  82. package/dist/calcite/{p-b8d7f7c8.system.entry.js → p-738e1327.system.entry.js} +2 -2
  83. package/dist/calcite/{p-ced91d61.entry.js → p-74982f54.entry.js} +2 -2
  84. package/dist/calcite/{p-a39a6120.entry.js → p-75d566f8.entry.js} +2 -2
  85. package/dist/calcite/{p-204cff7c.system.entry.js → p-76865cbe.system.entry.js} +2 -2
  86. package/dist/calcite/p-77cb1549.js +6 -0
  87. package/dist/calcite/{p-4393b27e.system.entry.js → p-7c27f0fe.system.entry.js} +2 -2
  88. package/dist/calcite/{p-4039990d.system.entry.js → p-7c5b4fa8.system.entry.js} +2 -2
  89. package/dist/calcite/{p-16dde710.system.js → p-7d69e4d7.system.js} +1 -1
  90. package/dist/calcite/{p-d57599f3.system.js → p-7ea54b66.system.js} +1 -1
  91. package/dist/calcite/{p-bf8a1a90.entry.js → p-8118a198.entry.js} +2 -2
  92. package/dist/calcite/{p-d647b605.js → p-81cd3e3f.js} +2 -2
  93. package/dist/calcite/{p-0f5a49ed.system.entry.js → p-81f00229.system.entry.js} +2 -2
  94. package/dist/calcite/{p-a39652a8.entry.js → p-83389696.entry.js} +2 -2
  95. package/dist/calcite/{p-886b7bfa.system.entry.js → p-84900e91.system.entry.js} +2 -2
  96. package/dist/calcite/{p-d6ef83f2.system.js → p-8644e8cf.system.js} +1 -1
  97. package/dist/calcite/{p-6bef1081.system.entry.js → p-87199b41.system.entry.js} +2 -2
  98. package/dist/calcite/{p-5a60f994.system.entry.js → p-8bf8ac39.system.entry.js} +2 -2
  99. package/dist/calcite/{p-9988579e.entry.js → p-8d481287.entry.js} +2 -2
  100. package/dist/calcite/{p-b4d3d3e3.js → p-8dee96c2.js} +2 -2
  101. package/dist/calcite/p-8f8353ca.js +6 -0
  102. package/dist/calcite/{p-bcbdb44e.entry.js → p-919d27cd.entry.js} +2 -2
  103. package/dist/calcite/{p-abc466c1.system.entry.js → p-95044c27.system.entry.js} +2 -2
  104. package/dist/calcite/{p-266d8bf5.entry.js → p-95869087.entry.js} +2 -2
  105. package/dist/calcite/{p-34e35997.system.js → p-963fabd6.system.js} +2 -2
  106. package/dist/calcite/{p-ff299c31.entry.js → p-96481f10.entry.js} +2 -2
  107. package/dist/calcite/{p-11ba757d.system.entry.js → p-9730f87a.system.entry.js} +2 -2
  108. package/dist/calcite/{p-161c0fe3.system.entry.js → p-97c04c2d.system.entry.js} +2 -2
  109. package/dist/calcite/{p-42dc5adc.entry.js → p-98228fcf.entry.js} +2 -2
  110. package/dist/calcite/{p-0b025cd8.system.entry.js → p-98c991e1.system.entry.js} +2 -2
  111. package/dist/calcite/{p-7ebc43e6.entry.js → p-991a6773.entry.js} +2 -2
  112. package/dist/calcite/{p-01713417.entry.js → p-995451f8.entry.js} +2 -2
  113. package/dist/calcite/{p-8b3108fe.system.entry.js → p-9c624a2a.system.entry.js} +2 -2
  114. package/dist/calcite/{p-50b46f23.system.entry.js → p-9c8e8d30.system.entry.js} +2 -2
  115. package/dist/calcite/{p-b0f109f2.entry.js → p-9d349f44.entry.js} +2 -2
  116. package/dist/calcite/p-9d359a87.entry.js +6 -0
  117. package/dist/calcite/{p-b2caaa6b.js → p-9d367557.js} +2 -2
  118. package/dist/calcite/{p-7c2843ca.system.entry.js → p-a0a91dac.system.entry.js} +2 -2
  119. package/dist/calcite/{p-f53b0e25.js → p-a2466d63.js} +1 -1
  120. package/dist/calcite/{p-ec8f422f.js → p-a31ac638.js} +1 -1
  121. package/dist/calcite/{p-d49affe7.system.entry.js → p-a5b32e80.system.entry.js} +2 -2
  122. package/dist/calcite/p-a8f6fe18.entry.js +6 -0
  123. package/dist/calcite/{p-108d9717.system.entry.js → p-a9de795d.system.entry.js} +2 -2
  124. package/dist/calcite/{p-4a13b25d.system.js → p-aa337bbd.system.js} +1 -1
  125. package/dist/calcite/{p-bbb08025.entry.js → p-ace78842.entry.js} +2 -2
  126. package/dist/calcite/{p-2daf552b.entry.js → p-b4e61614.entry.js} +2 -2
  127. package/dist/calcite/{p-1f2f75cb.entry.js → p-b69c2739.entry.js} +2 -2
  128. package/dist/calcite/{p-be089f07.entry.js → p-b9d0bc5b.entry.js} +2 -2
  129. package/dist/calcite/{p-3fea8ac9.system.js → p-b9ddd8af.system.js} +1 -1
  130. package/dist/calcite/{p-d3a24a92.system.entry.js → p-bd984030.system.entry.js} +2 -2
  131. package/dist/calcite/{p-b9a581df.entry.js → p-bfc096ee.entry.js} +2 -2
  132. package/dist/calcite/{p-84d89c27.system.entry.js → p-c2f271da.system.entry.js} +3 -3
  133. package/dist/calcite/{p-253921ef.js → p-c5d3f1cd.js} +1 -1
  134. package/dist/calcite/{p-dcd26c5b.system.js → p-c68c113c.system.js} +2 -2
  135. package/dist/calcite/{p-58a52a1c.system.js → p-c7f94a9c.system.js} +1 -1
  136. package/dist/calcite/{p-7d21684c.system.entry.js → p-ca32d999.system.entry.js} +2 -2
  137. package/dist/calcite/{p-6aa710a4.js → p-cd84fe71.js} +1 -1
  138. package/dist/calcite/{p-97fd0700.js → p-cf7a47e5.js} +2 -2
  139. package/dist/calcite/{p-336577c6.js → p-d12c0f1f.js} +1 -1
  140. package/dist/calcite/{p-e798397b.system.entry.js → p-d26e4ae7.system.entry.js} +2 -2
  141. package/dist/calcite/{p-0ccf95ca.system.entry.js → p-d2715db0.system.entry.js} +2 -2
  142. package/dist/calcite/{p-39bc7480.entry.js → p-d2ff035d.entry.js} +2 -2
  143. package/dist/calcite/{p-05751f2e.entry.js → p-d3a57c13.entry.js} +2 -2
  144. package/dist/calcite/{p-a284f057.entry.js → p-d55ee299.entry.js} +2 -2
  145. package/dist/calcite/{p-cc496db8.entry.js → p-d684b6e5.entry.js} +2 -2
  146. package/dist/calcite/{p-9ffb0f8e.system.entry.js → p-d98e128e.system.entry.js} +2 -2
  147. package/dist/calcite/{p-8b808b4a.system.entry.js → p-db5ae93e.system.entry.js} +2 -2
  148. package/dist/calcite/{p-4b259c5a.entry.js → p-df8037b4.entry.js} +2 -2
  149. package/dist/calcite/{p-fa493d09.js → p-dfcd2444.js} +1 -1
  150. package/dist/calcite/{p-133372fd.system.entry.js → p-e0837c38.system.entry.js} +2 -2
  151. package/dist/calcite/{p-f6795331.entry.js → p-e0937b3c.entry.js} +2 -2
  152. package/dist/calcite/{p-926b60ef.entry.js → p-e328cc0c.entry.js} +2 -2
  153. package/dist/calcite/{p-cb4a4c11.js → p-e4810e15.js} +1 -1
  154. package/dist/calcite/{p-95bfbf7e.system.entry.js → p-e5e1ddee.system.entry.js} +2 -2
  155. package/dist/calcite/{p-5e296f6a.system.js → p-e6ff5a02.system.js} +2 -2
  156. package/dist/calcite/{p-aa8cd021.system.entry.js → p-eaaf7f44.system.entry.js} +2 -2
  157. package/dist/calcite/{p-548dfc90.system.entry.js → p-eb0fa7fb.system.entry.js} +2 -2
  158. package/dist/calcite/p-ed925721.system.js +6 -0
  159. package/dist/calcite/{p-a4be4ad7.entry.js → p-ee52bbcf.entry.js} +2 -2
  160. package/dist/calcite/{p-5bf8f6e9.system.js → p-f0c1fe5e.system.js} +2 -2
  161. package/dist/calcite/{p-a544af14.entry.js → p-f1b7283a.entry.js} +2 -2
  162. package/dist/calcite/{p-cc06ca0e.system.entry.js → p-f2a3837b.system.entry.js} +2 -2
  163. package/dist/calcite/{p-2ef6c164.system.entry.js → p-f638b86d.system.entry.js} +2 -2
  164. package/dist/calcite/{p-e7b32606.system.entry.js → p-f89ad05b.system.entry.js} +2 -2
  165. package/dist/calcite/{p-f3465688.system.entry.js → p-fa3fb40b.system.entry.js} +2 -2
  166. package/dist/calcite/{p-b31c76ec.system.js → p-fbe7b8eb.system.js} +2 -2
  167. package/dist/calcite/{p-390993de.system.js → p-fed7917d.system.js} +3 -3
  168. package/dist/cjs/{ExpandToggle-1d84a30f.js → ExpandToggle-d8601baf.js} +5 -5
  169. package/dist/cjs/{Heading-6c577985.js → Heading-1b55f276.js} +2 -2
  170. package/dist/cjs/{array-ad1d1402.js → array-5d2f2ad9.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  176. package/dist/cjs/calcite-action.cjs.entry.js +4 -4
  177. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-button.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -15
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  190. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  207. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +100 -43
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite.cjs.js +3 -3
  229. package/dist/cjs/{conditionalSlot-df594efd.js → conditionalSlot-23675e58.js} +3 -3
  230. package/dist/cjs/{debounce-24461fe6.js → debounce-9b409752.js} +1 -1
  231. package/dist/cjs/{dom-9a2cf963.js → dom-a22a0ff0.js} +2 -2
  232. package/dist/cjs/{forIn-90fffb54.js → forIn-9b55cd39.js} +2 -2
  233. package/dist/cjs/{form-9e6d03ef.js → form-41e3772f.js} +3 -3
  234. package/dist/cjs/{guid-618238ed.js → guid-12c9f767.js} +1 -1
  235. package/dist/cjs/{index-2e55547d.js → index-4f75564a.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-1f751ab7.js → interactive-245a7f6f.js} +1 -1
  238. package/dist/cjs/{interfaces-c964aaab.js → interfaces-bd0c7f81.js} +1 -1
  239. package/dist/cjs/{label-1069d8bd.js → label-ce7cd434.js} +2 -2
  240. package/dist/cjs/loader.cjs.js +3 -3
  241. package/dist/cjs/{locale-8fe40b14.js → locale-b1b2d07e.js} +2 -2
  242. package/dist/cjs/{math-d3124585.js → math-706c6110.js} +1 -1
  243. package/dist/cjs/{number-80fc2025.js → number-fd8196bb.js} +1 -1
  244. package/dist/cjs/{observers-c763e03a.js → observers-1247a401.js} +1 -1
  245. package/dist/cjs/{popper-8e628970.js → popper-43afcfd4.js} +2 -2
  246. package/dist/cjs/{resources-cc8ca6f0.js → resources-055962ae.js} +3 -3
  247. package/dist/cjs/{resources-7d180442.js → resources-22166421.js} +1 -1
  248. package/dist/cjs/{resources-245a82b3.js → resources-967b3887.js} +1 -1
  249. package/dist/cjs/{resources-1233bb3e.js → resources-e9b73c1e.js} +5 -5
  250. package/dist/cjs/{sortable.esm-42e8dec9.js → sortable.esm-4a512e06.js} +1 -1
  251. package/dist/cjs/{utils-0d52eee6.js → utils-3d83d34c.js} +1 -1
  252. package/dist/collection/components/accordion/accordion.js +1 -1
  253. package/dist/collection/components/accordion/interfaces.js +1 -1
  254. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  255. package/dist/collection/components/action/action.js +1 -1
  256. package/dist/collection/components/action/resources.js +1 -1
  257. package/dist/collection/components/action-bar/action-bar.js +2 -2
  258. package/dist/collection/components/action-bar/resources.js +1 -1
  259. package/dist/collection/components/action-bar/utils.js +1 -1
  260. package/dist/collection/components/action-group/action-group.js +1 -1
  261. package/dist/collection/components/action-group/resources.js +1 -1
  262. package/dist/collection/components/action-menu/action-menu.js +1 -1
  263. package/dist/collection/components/action-menu/resources.js +1 -1
  264. package/dist/collection/components/action-pad/action-pad.js +2 -2
  265. package/dist/collection/components/action-pad/resources.js +1 -1
  266. package/dist/collection/components/alert/alert.js +1 -1
  267. package/dist/collection/components/alert/interfaces.js +1 -1
  268. package/dist/collection/components/alert/resources.js +1 -1
  269. package/dist/collection/components/avatar/avatar.js +1 -1
  270. package/dist/collection/components/avatar/utils.js +1 -1
  271. package/dist/collection/components/block/block.js +1 -1
  272. package/dist/collection/components/block/resources.js +1 -1
  273. package/dist/collection/components/block-section/block-section.js +1 -1
  274. package/dist/collection/components/block-section/interfaces.js +1 -1
  275. package/dist/collection/components/block-section/resources.js +1 -1
  276. package/dist/collection/components/button/button.js +1 -1
  277. package/dist/collection/components/button/interfaces.js +1 -1
  278. package/dist/collection/components/button/resources.js +1 -1
  279. package/dist/collection/components/card/card.js +1 -1
  280. package/dist/collection/components/card/resources.js +1 -1
  281. package/dist/collection/components/checkbox/checkbox.js +1 -1
  282. package/dist/collection/components/chip/chip.js +1 -1
  283. package/dist/collection/components/chip/interfaces.js +1 -1
  284. package/dist/collection/components/chip/resources.js +1 -1
  285. package/dist/collection/components/color-picker/color-picker.js +1 -1
  286. package/dist/collection/components/color-picker/interfaces.js +1 -1
  287. package/dist/collection/components/color-picker/resources.js +1 -1
  288. package/dist/collection/components/color-picker/utils.js +1 -1
  289. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  291. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  293. package/dist/collection/components/combobox/combobox.js +3 -4
  294. package/dist/collection/components/combobox/interfaces.js +1 -1
  295. package/dist/collection/components/combobox/resources.js +1 -1
  296. package/dist/collection/components/combobox/utils.js +1 -1
  297. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  298. package/dist/collection/components/combobox-item/resources.js +1 -1
  299. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  300. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  301. package/dist/collection/components/date-picker/date-picker.js +1 -1
  302. package/dist/collection/components/date-picker/interfaces.js +1 -1
  303. package/dist/collection/components/date-picker/resources.js +1 -1
  304. package/dist/collection/components/date-picker/utils.js +1 -1
  305. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  306. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  307. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  308. package/dist/collection/components/dropdown/dropdown.js +1 -1
  309. package/dist/collection/components/dropdown/interfaces.js +1 -1
  310. package/dist/collection/components/dropdown/resources.js +1 -1
  311. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  312. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  313. package/dist/collection/components/dropdown-group/resources.js +1 -1
  314. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  315. package/dist/collection/components/dropdown-item/resources.js +1 -1
  316. package/dist/collection/components/fab/fab.js +1 -1
  317. package/dist/collection/components/fab/resources.js +1 -1
  318. package/dist/collection/components/filter/filter.js +1 -1
  319. package/dist/collection/components/filter/resources.js +1 -1
  320. package/dist/collection/components/flow/flow.js +1 -1
  321. package/dist/collection/components/flow/interfaces.js +1 -1
  322. package/dist/collection/components/flow/resources.js +1 -1
  323. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  324. package/dist/collection/components/functional/Heading.js +1 -1
  325. package/dist/collection/components/graph/graph.js +1 -1
  326. package/dist/collection/components/graph/interfaces.js +1 -1
  327. package/dist/collection/components/graph/util.js +1 -1
  328. package/dist/collection/components/handle/handle.js +1 -1
  329. package/dist/collection/components/handle/resources.js +1 -1
  330. package/dist/collection/components/icon/icon.js +1 -1
  331. package/dist/collection/components/icon/resources.js +1 -1
  332. package/dist/collection/components/icon/utils.js +1 -1
  333. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  334. package/dist/collection/components/inline-editable/resources.js +1 -1
  335. package/dist/collection/components/input/input.js +1 -1
  336. package/dist/collection/components/input/interfaces.js +1 -1
  337. package/dist/collection/components/input/resources.js +1 -1
  338. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  339. package/dist/collection/components/input-message/input-message.js +1 -1
  340. package/dist/collection/components/input-message/interfaces.js +1 -1
  341. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  342. package/dist/collection/components/interfaces.js +1 -1
  343. package/dist/collection/components/label/label.js +1 -1
  344. package/dist/collection/components/label/resources.js +1 -1
  345. package/dist/collection/components/link/link.js +1 -1
  346. package/dist/collection/components/list/list.js +1 -1
  347. package/dist/collection/components/list/resources.js +1 -1
  348. package/dist/collection/components/list-item/list-item.js +1 -1
  349. package/dist/collection/components/list-item/resources.js +1 -1
  350. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  351. package/dist/collection/components/list-item-group/resources.js +1 -1
  352. package/dist/collection/components/loader/loader.js +1 -1
  353. package/dist/collection/components/modal/interfaces.js +1 -1
  354. package/dist/collection/components/modal/modal.js +1 -1
  355. package/dist/collection/components/modal/resources.js +1 -1
  356. package/dist/collection/components/notice/notice.js +1 -1
  357. package/dist/collection/components/notice/resources.js +1 -1
  358. package/dist/collection/components/option/option.js +1 -1
  359. package/dist/collection/components/option-group/option-group.js +1 -1
  360. package/dist/collection/components/pagination/pagination.js +1 -1
  361. package/dist/collection/components/pagination/resources.js +1 -1
  362. package/dist/collection/components/panel/panel.js +1 -1
  363. package/dist/collection/components/panel/resources.js +1 -1
  364. package/dist/collection/components/pick-list/pick-list.js +1 -1
  365. package/dist/collection/components/pick-list/resources.js +1 -1
  366. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  368. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  369. package/dist/collection/components/pick-list-group/resources.js +1 -1
  370. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  371. package/dist/collection/components/pick-list-item/resources.js +1 -1
  372. package/dist/collection/components/popover/PopoverManager.js +64 -0
  373. package/dist/collection/components/popover/popover.js +28 -4
  374. package/dist/collection/components/popover/resources.js +1 -2
  375. package/dist/collection/components/popover-manager/popover-manager.js +32 -45
  376. package/dist/collection/components/progress/progress.js +1 -1
  377. package/dist/collection/components/radio-button/radio-button.js +1 -1
  378. package/dist/collection/components/radio-button/resources.js +1 -1
  379. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  380. package/dist/collection/components/radio-group/interfaces.js +1 -1
  381. package/dist/collection/components/radio-group/radio-group.js +1 -1
  382. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  383. package/dist/collection/components/radio-group-item/resources.js +1 -1
  384. package/dist/collection/components/rating/rating.js +1 -1
  385. package/dist/collection/components/rating/resources.js +1 -1
  386. package/dist/collection/components/scrim/resources.js +1 -1
  387. package/dist/collection/components/scrim/scrim.js +1 -1
  388. package/dist/collection/components/select/resources.js +1 -1
  389. package/dist/collection/components/select/select.js +1 -1
  390. package/dist/collection/components/shell/resources.js +1 -1
  391. package/dist/collection/components/shell/shell.js +1 -1
  392. package/dist/collection/components/shell-center-row/resources.js +1 -1
  393. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  394. package/dist/collection/components/shell-panel/resources.js +1 -1
  395. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  396. package/dist/collection/components/slider/slider.js +1 -1
  397. package/dist/collection/components/sortable-list/resources.js +1 -1
  398. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  399. package/dist/collection/components/split-button/resources.js +1 -1
  400. package/dist/collection/components/split-button/split-button.js +1 -1
  401. package/dist/collection/components/stepper/stepper.js +1 -1
  402. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  403. package/dist/collection/components/switch/switch.js +1 -1
  404. package/dist/collection/components/tab/interfaces.js +1 -1
  405. package/dist/collection/components/tab/tab.js +1 -1
  406. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  407. package/dist/collection/components/tab-title/tab-title.js +1 -1
  408. package/dist/collection/components/tabs/interfaces.js +1 -1
  409. package/dist/collection/components/tabs/resources.js +1 -1
  410. package/dist/collection/components/tabs/tabs.js +1 -1
  411. package/dist/collection/components/tile/resources.js +1 -1
  412. package/dist/collection/components/tile/tile.css +1 -0
  413. package/dist/collection/components/tile/tile.js +1 -1
  414. package/dist/collection/components/tile-select/interfaces.js +1 -1
  415. package/dist/collection/components/tile-select/resources.js +1 -1
  416. package/dist/collection/components/tile-select/tile-select.js +1 -1
  417. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  418. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  419. package/dist/collection/components/time-picker/resources.js +1 -1
  420. package/dist/collection/components/time-picker/time-picker.js +1 -1
  421. package/dist/collection/components/tip/resources.js +1 -1
  422. package/dist/collection/components/tip/tip.js +1 -1
  423. package/dist/collection/components/tip-group/tip-group.js +1 -1
  424. package/dist/collection/components/tip-manager/resources.js +1 -1
  425. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  426. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  427. package/dist/collection/components/tooltip/resources.js +1 -1
  428. package/dist/collection/components/tooltip/tooltip.js +1 -1
  429. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  430. package/dist/collection/components/tree/interfaces.js +1 -1
  431. package/dist/collection/components/tree/tree.js +1 -1
  432. package/dist/collection/components/tree-item/interfaces.js +1 -1
  433. package/dist/collection/components/tree-item/resources.js +1 -1
  434. package/dist/collection/components/tree-item/tree-item.js +1 -1
  435. package/dist/collection/components/value-list/resources.js +1 -1
  436. package/dist/collection/components/value-list/value-list.js +1 -1
  437. package/dist/collection/components/value-list-item/resources.js +1 -1
  438. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  439. package/dist/collection/utils/array.js +1 -1
  440. package/dist/collection/utils/conditionalSlot.js +1 -1
  441. package/dist/collection/utils/date.js +1 -1
  442. package/dist/collection/utils/dom.js +1 -1
  443. package/dist/collection/utils/filter.js +1 -1
  444. package/dist/collection/utils/form.js +1 -1
  445. package/dist/collection/utils/globalAttributes.js +1 -1
  446. package/dist/collection/utils/guid.js +1 -1
  447. package/dist/collection/utils/interactive.js +1 -1
  448. package/dist/collection/utils/key.js +1 -1
  449. package/dist/collection/utils/label.js +1 -1
  450. package/dist/collection/utils/locale.js +1 -1
  451. package/dist/collection/utils/math.js +1 -1
  452. package/dist/collection/utils/number.js +1 -1
  453. package/dist/collection/utils/observers.js +1 -1
  454. package/dist/collection/utils/popper.js +1 -1
  455. package/dist/collection/utils/resources.js +1 -1
  456. package/dist/collection/utils/time.js +1 -1
  457. package/dist/components/ExpandToggle.js +1 -1
  458. package/dist/components/Heading.js +1 -1
  459. package/dist/components/action-group.js +1 -1
  460. package/dist/components/action-menu.js +1 -1
  461. package/dist/components/action.js +1 -1
  462. package/dist/components/array.js +1 -1
  463. package/dist/components/button.js +2 -2
  464. package/dist/components/calcite-accordion-item.js +1 -1
  465. package/dist/components/calcite-accordion.js +1 -1
  466. package/dist/components/calcite-action-bar.js +2 -2
  467. package/dist/components/calcite-action-group.js +1 -1
  468. package/dist/components/calcite-action-menu.js +1 -1
  469. package/dist/components/calcite-action-pad.js +2 -2
  470. package/dist/components/calcite-action.js +1 -1
  471. package/dist/components/calcite-alert.js +1 -1
  472. package/dist/components/calcite-avatar.js +2 -2
  473. package/dist/components/calcite-block-section.js +1 -1
  474. package/dist/components/calcite-block.js +1 -1
  475. package/dist/components/calcite-button.js +1 -1
  476. package/dist/components/calcite-card.js +1 -1
  477. package/dist/components/calcite-checkbox.js +1 -1
  478. package/dist/components/calcite-chip.js +1 -1
  479. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  480. package/dist/components/calcite-color-picker-swatch.js +1 -1
  481. package/dist/components/calcite-color-picker.js +1 -1
  482. package/dist/components/calcite-combobox-item-group.js +1 -1
  483. package/dist/components/calcite-combobox-item.js +1 -1
  484. package/dist/components/calcite-combobox.js +3 -4
  485. package/dist/components/calcite-date-picker-day.js +1 -1
  486. package/dist/components/calcite-date-picker-month-header.js +1 -1
  487. package/dist/components/calcite-date-picker-month.js +1 -1
  488. package/dist/components/calcite-date-picker.js +1 -1
  489. package/dist/components/calcite-dropdown-group.js +1 -1
  490. package/dist/components/calcite-dropdown-item.js +1 -1
  491. package/dist/components/calcite-dropdown.js +1 -1
  492. package/dist/components/calcite-fab.js +1 -1
  493. package/dist/components/calcite-filter.js +1 -1
  494. package/dist/components/calcite-flow.js +1 -1
  495. package/dist/components/calcite-graph.js +1 -1
  496. package/dist/components/calcite-handle.js +1 -1
  497. package/dist/components/calcite-icon.js +1 -1
  498. package/dist/components/calcite-inline-editable.js +1 -1
  499. package/dist/components/calcite-input-date-picker.js +1 -1
  500. package/dist/components/calcite-input-message.js +1 -1
  501. package/dist/components/calcite-input-time-picker.js +1 -1
  502. package/dist/components/calcite-input.js +1 -1
  503. package/dist/components/calcite-label.js +1 -1
  504. package/dist/components/calcite-link.js +1 -1
  505. package/dist/components/calcite-list-item-group.js +1 -1
  506. package/dist/components/calcite-list-item.js +1 -1
  507. package/dist/components/calcite-list.js +1 -1
  508. package/dist/components/calcite-loader.js +1 -1
  509. package/dist/components/calcite-modal.js +2 -2
  510. package/dist/components/calcite-notice.js +1 -1
  511. package/dist/components/calcite-option-group.js +1 -1
  512. package/dist/components/calcite-option.js +1 -1
  513. package/dist/components/calcite-pagination.js +1 -1
  514. package/dist/components/calcite-panel.js +1 -1
  515. package/dist/components/calcite-pick-list-group.js +2 -2
  516. package/dist/components/calcite-pick-list-item.js +1 -1
  517. package/dist/components/calcite-pick-list.js +2 -2
  518. package/dist/components/calcite-popover-manager.js +30 -38
  519. package/dist/components/calcite-popover.js +1 -1
  520. package/dist/components/calcite-progress.js +1 -1
  521. package/dist/components/calcite-radio-button-group.js +1 -1
  522. package/dist/components/calcite-radio-button.js +1 -1
  523. package/dist/components/calcite-radio-group-item.js +1 -1
  524. package/dist/components/calcite-radio-group.js +1 -1
  525. package/dist/components/calcite-rating.js +1 -1
  526. package/dist/components/calcite-scrim.js +1 -1
  527. package/dist/components/calcite-select.js +1 -1
  528. package/dist/components/calcite-shell-center-row.js +1 -1
  529. package/dist/components/calcite-shell-panel.js +1 -1
  530. package/dist/components/calcite-shell.js +1 -1
  531. package/dist/components/calcite-slider.js +1 -1
  532. package/dist/components/calcite-sortable-list.js +1 -1
  533. package/dist/components/calcite-split-button.js +1 -1
  534. package/dist/components/calcite-stepper-item.js +1 -1
  535. package/dist/components/calcite-stepper.js +1 -1
  536. package/dist/components/calcite-switch.js +1 -1
  537. package/dist/components/calcite-tab-nav.js +1 -1
  538. package/dist/components/calcite-tab-title.js +1 -1
  539. package/dist/components/calcite-tab.js +1 -1
  540. package/dist/components/calcite-tabs.js +1 -1
  541. package/dist/components/calcite-tile-select-group.js +1 -1
  542. package/dist/components/calcite-tile-select.js +1 -1
  543. package/dist/components/calcite-tile.js +1 -1
  544. package/dist/components/calcite-time-picker.js +1 -1
  545. package/dist/components/calcite-tip-group.js +1 -1
  546. package/dist/components/calcite-tip-manager.js +2 -2
  547. package/dist/components/calcite-tip.js +2 -2
  548. package/dist/components/calcite-tooltip-manager.js +1 -1
  549. package/dist/components/calcite-tooltip.js +2 -2
  550. package/dist/components/calcite-tree-item.js +2 -2
  551. package/dist/components/calcite-tree.js +1 -1
  552. package/dist/components/calcite-value-list-item.js +2 -2
  553. package/dist/components/calcite-value-list.js +1 -1
  554. package/dist/components/checkbox.js +1 -1
  555. package/dist/components/chip.js +1 -1
  556. package/dist/components/color-picker-hex-input.js +1 -1
  557. package/dist/components/color-picker-swatch.js +2 -2
  558. package/dist/components/conditionalSlot.js +1 -1
  559. package/dist/components/date-picker-day.js +1 -1
  560. package/dist/components/date-picker-month-header.js +1 -1
  561. package/dist/components/date-picker-month.js +1 -1
  562. package/dist/components/date-picker.js +1 -1
  563. package/dist/components/date.js +1 -1
  564. package/dist/components/debounce.js +1 -1
  565. package/dist/components/dom.js +2 -2
  566. package/dist/components/dropdown.js +1 -1
  567. package/dist/components/filter.js +1 -1
  568. package/dist/components/forIn.js +1 -1
  569. package/dist/components/form.js +2 -2
  570. package/dist/components/graph.js +1 -1
  571. package/dist/components/guid.js +1 -1
  572. package/dist/components/handle.js +1 -1
  573. package/dist/components/icon.js +1 -1
  574. package/dist/components/index.js +1 -1
  575. package/dist/components/input.js +1 -1
  576. package/dist/components/interactive.js +1 -1
  577. package/dist/components/interfaces.js +1 -1
  578. package/dist/components/interfaces2.js +1 -1
  579. package/dist/components/label.js +2 -2
  580. package/dist/components/label2.js +1 -1
  581. package/dist/components/link.js +1 -1
  582. package/dist/components/loader.js +1 -1
  583. package/dist/components/locale.js +1 -1
  584. package/dist/components/math.js +1 -1
  585. package/dist/components/number.js +1 -1
  586. package/dist/components/observers.js +1 -1
  587. package/dist/components/pick-list-item.js +2 -2
  588. package/dist/components/popover.js +89 -5
  589. package/dist/components/popper.js +1 -1
  590. package/dist/components/progress.js +1 -1
  591. package/dist/components/resources.js +11 -19
  592. package/dist/components/resources2.js +7 -10
  593. package/dist/components/resources3.js +23 -6
  594. package/dist/components/scrim.js +1 -1
  595. package/dist/components/shared-list-render.js +3 -3
  596. package/dist/components/sortable.esm.js +1 -1
  597. package/dist/components/switch.js +1 -1
  598. package/dist/components/tab-nav.js +2 -2
  599. package/dist/components/tab-title.js +1 -1
  600. package/dist/components/tab.js +1 -1
  601. package/dist/components/tabs.js +1 -1
  602. package/dist/components/tile.js +2 -2
  603. package/dist/components/time-picker.js +1 -1
  604. package/dist/components/utils.js +1 -1
  605. package/dist/components/utils2.js +1 -1
  606. package/dist/custom-elements/index.js +101 -46
  607. package/dist/esm/{ExpandToggle-2718b8f6.js → ExpandToggle-3f2e2529.js} +5 -5
  608. package/dist/esm/{Heading-0e4aea69.js → Heading-91ae0a64.js} +2 -2
  609. package/dist/esm/{array-9f67c25d.js → array-ac015b27.js} +1 -1
  610. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  611. package/dist/esm/calcite-action-bar.entry.js +11 -11
  612. package/dist/esm/calcite-action-group.entry.js +8 -8
  613. package/dist/esm/calcite-action-menu.entry.js +8 -8
  614. package/dist/esm/calcite-action-pad.entry.js +10 -10
  615. package/dist/esm/calcite-action.entry.js +4 -4
  616. package/dist/esm/calcite-alert.entry.js +5 -5
  617. package/dist/esm/calcite-avatar.entry.js +5 -5
  618. package/dist/esm/calcite-block_2.entry.js +8 -8
  619. package/dist/esm/calcite-button.entry.js +7 -7
  620. package/dist/esm/calcite-card.entry.js +6 -6
  621. package/dist/esm/calcite-checkbox.entry.js +7 -7
  622. package/dist/esm/calcite-chip.entry.js +6 -6
  623. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  624. package/dist/esm/calcite-combobox_3.entry.js +14 -15
  625. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  626. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  627. package/dist/esm/calcite-fab.entry.js +5 -5
  628. package/dist/esm/calcite-filter.entry.js +7 -7
  629. package/dist/esm/calcite-flow.entry.js +3 -3
  630. package/dist/esm/calcite-graph_2.entry.js +9 -9
  631. package/dist/esm/calcite-handle.entry.js +2 -2
  632. package/dist/esm/calcite-icon.entry.js +5 -5
  633. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  634. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  635. package/dist/esm/calcite-input-message.entry.js +4 -4
  636. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  637. package/dist/esm/calcite-input.entry.js +11 -11
  638. package/dist/esm/calcite-label.entry.js +5 -5
  639. package/dist/esm/calcite-link.entry.js +5 -5
  640. package/dist/esm/calcite-list_3.entry.js +8 -8
  641. package/dist/esm/calcite-loader.entry.js +3 -3
  642. package/dist/esm/calcite-modal.entry.js +6 -6
  643. package/dist/esm/calcite-notice.entry.js +7 -7
  644. package/dist/esm/calcite-option_3.entry.js +8 -8
  645. package/dist/esm/calcite-pagination.entry.js +2 -2
  646. package/dist/esm/calcite-panel.entry.js +9 -9
  647. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  648. package/dist/esm/calcite-popover_2.entry.js +100 -43
  649. package/dist/esm/calcite-progress.entry.js +2 -2
  650. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  651. package/dist/esm/calcite-radio-button.entry.js +8 -8
  652. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  653. package/dist/esm/calcite-rating.entry.js +7 -7
  654. package/dist/esm/calcite-scrim.entry.js +2 -2
  655. package/dist/esm/calcite-shell_3.entry.js +7 -7
  656. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  657. package/dist/esm/calcite-split-button.entry.js +3 -3
  658. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  659. package/dist/esm/calcite-switch.entry.js +7 -7
  660. package/dist/esm/calcite-tab_4.entry.js +6 -6
  661. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  662. package/dist/esm/calcite-tile.entry.js +8 -8
  663. package/dist/esm/calcite-tip_3.entry.js +7 -7
  664. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  665. package/dist/esm/calcite-tree_2.entry.js +6 -6
  666. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  667. package/dist/esm/calcite.js +3 -3
  668. package/dist/esm/{conditionalSlot-2522e30f.js → conditionalSlot-691ce9ca.js} +3 -3
  669. package/dist/esm/{debounce-1b741867.js → debounce-fa1e1647.js} +1 -1
  670. package/dist/esm/{dom-db598077.js → dom-290f3af6.js} +2 -2
  671. package/dist/esm/{forIn-c5b795e6.js → forIn-f20d0141.js} +2 -2
  672. package/dist/esm/{form-61a289f0.js → form-528f73bb.js} +3 -3
  673. package/dist/esm/{guid-9fa375f5.js → guid-7933b2cc.js} +1 -1
  674. package/dist/esm/{index-894dfc81.js → index-92504161.js} +1 -1
  675. package/dist/esm/index.js +1 -1
  676. package/dist/esm/{interactive-09f3618d.js → interactive-c059baa1.js} +1 -1
  677. package/dist/esm/{interfaces-a5204d8f.js → interfaces-bba5f5dd.js} +1 -1
  678. package/dist/esm/{label-6c0e1ae1.js → label-42ce112b.js} +2 -2
  679. package/dist/esm/loader.js +3 -3
  680. package/dist/esm/{locale-3981cfde.js → locale-d17235f3.js} +2 -2
  681. package/dist/esm/{math-acdc37ac.js → math-7afc6cf5.js} +1 -1
  682. package/dist/esm/{number-84278938.js → number-181c4550.js} +1 -1
  683. package/dist/esm/{observers-9608d2fa.js → observers-a4f027a4.js} +1 -1
  684. package/dist/esm/{popper-7f6cf197.js → popper-0c675fb8.js} +2 -2
  685. package/dist/esm/{resources-2275dd9a.js → resources-39f0680b.js} +3 -3
  686. package/dist/esm/{resources-b0ef8228.js → resources-5cec7a36.js} +1 -1
  687. package/dist/esm/{resources-b064c016.js → resources-99fb266f.js} +1 -1
  688. package/dist/esm/{resources-7941421d.js → resources-b18ac0da.js} +5 -5
  689. package/dist/esm/{sortable.esm-a9eb30f8.js → sortable.esm-b8bcf719.js} +1 -1
  690. package/dist/esm/{utils-442279d6.js → utils-4739b1d9.js} +1 -1
  691. package/dist/esm-es5/{ExpandToggle-2718b8f6.js → ExpandToggle-3f2e2529.js} +2 -2
  692. package/dist/esm-es5/{Heading-0e4aea69.js → Heading-91ae0a64.js} +2 -2
  693. package/dist/esm-es5/{array-9f67c25d.js → array-ac015b27.js} +1 -1
  694. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  695. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  699. package/dist/esm-es5/calcite-action.entry.js +2 -2
  700. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  701. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  702. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  703. package/dist/esm-es5/calcite-button.entry.js +2 -2
  704. package/dist/esm-es5/calcite-card.entry.js +2 -2
  705. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  706. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  707. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  708. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  709. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  710. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  711. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  712. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  713. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  714. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  715. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  716. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  717. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  718. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input.entry.js +2 -2
  722. package/dist/esm-es5/calcite-label.entry.js +2 -2
  723. package/dist/esm-es5/calcite-link.entry.js +2 -2
  724. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  725. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  726. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  727. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  728. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  730. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  731. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  732. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  733. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  734. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  736. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  737. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  738. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  739. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  740. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  741. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  742. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  743. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  744. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  748. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite.js +2 -2
  752. package/dist/esm-es5/{conditionalSlot-2522e30f.js → conditionalSlot-691ce9ca.js} +2 -2
  753. package/dist/esm-es5/{debounce-1b741867.js → debounce-fa1e1647.js} +1 -1
  754. package/dist/esm-es5/{dom-db598077.js → dom-290f3af6.js} +2 -2
  755. package/dist/esm-es5/{forIn-c5b795e6.js → forIn-f20d0141.js} +2 -2
  756. package/dist/esm-es5/{form-61a289f0.js → form-528f73bb.js} +2 -2
  757. package/dist/esm-es5/{guid-9fa375f5.js → guid-7933b2cc.js} +1 -1
  758. package/dist/esm-es5/{index-894dfc81.js → index-92504161.js} +1 -1
  759. package/dist/esm-es5/index.js +1 -1
  760. package/dist/esm-es5/{interactive-09f3618d.js → interactive-c059baa1.js} +1 -1
  761. package/dist/esm-es5/{interfaces-a5204d8f.js → interfaces-bba5f5dd.js} +1 -1
  762. package/dist/esm-es5/{label-6c0e1ae1.js → label-42ce112b.js} +2 -2
  763. package/dist/esm-es5/loader.js +2 -2
  764. package/dist/esm-es5/{locale-3981cfde.js → locale-d17235f3.js} +2 -2
  765. package/dist/esm-es5/{math-acdc37ac.js → math-7afc6cf5.js} +1 -1
  766. package/dist/esm-es5/{number-84278938.js → number-181c4550.js} +1 -1
  767. package/dist/esm-es5/{observers-9608d2fa.js → observers-a4f027a4.js} +1 -1
  768. package/dist/esm-es5/{popper-7f6cf197.js → popper-0c675fb8.js} +2 -2
  769. package/dist/esm-es5/{resources-2275dd9a.js → resources-39f0680b.js} +2 -2
  770. package/dist/esm-es5/{resources-b0ef8228.js → resources-5cec7a36.js} +1 -1
  771. package/dist/esm-es5/{resources-b064c016.js → resources-99fb266f.js} +1 -1
  772. package/dist/esm-es5/{resources-7941421d.js → resources-b18ac0da.js} +2 -2
  773. package/dist/esm-es5/{sortable.esm-a9eb30f8.js → sortable.esm-b8bcf719.js} +1 -1
  774. package/dist/esm-es5/{utils-442279d6.js → utils-4739b1d9.js} +1 -1
  775. package/dist/extras/docs-json.json +26 -11
  776. package/dist/loader/cdn.js +1 -1
  777. package/dist/loader/index.cjs.js +1 -1
  778. package/dist/loader/index.es2017.js +1 -1
  779. package/dist/loader/index.js +1 -1
  780. package/dist/types/components/popover/PopoverManager.d.ts +10 -0
  781. package/dist/types/components/popover/popover.d.ts +4 -0
  782. package/dist/types/components/popover/resources.d.ts +0 -1
  783. package/dist/types/components/popover-manager/popover-manager.d.ts +6 -2
  784. package/dist/types/components.d.ts +8 -0
  785. package/hydrate/index.js +103 -46
  786. package/package.json +3 -3
  787. package/readme.md +2 -2
  788. package/dist/calcite/p-07e641ba.js +0 -6
  789. package/dist/calcite/p-0e9766c8.entry.js +0 -6
  790. package/dist/calcite/p-1deaa010.entry.js +0 -6
  791. package/dist/calcite/p-27bf89cf.system.js +0 -6
  792. package/dist/calcite/p-3746cde8.entry.js +0 -6
  793. package/dist/calcite/p-4985c997.entry.js +0 -6
  794. package/dist/calcite/p-4bbc21ae.system.entry.js +0 -6
  795. package/dist/calcite/p-80e9f473.system.entry.js +0 -6
  796. package/dist/calcite/p-b17f15dc.js +0 -6
  797. package/dist/calcite/p-b1b979a8.system.js +0 -6
  798. package/dist/calcite/p-d1b2d2c5.js +0 -6
  799. package/dist/calcite/p-f37cb564.js +0 -6
  800. package/dist/components/resources4.js +0 -33
@@ -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.445
4
+ * v1.0.0-next.448
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.445
4
+ * v1.0.0-next.448
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.445
4
+ * v1.0.0-next.448
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.445
4
+ * v1.0.0-next.448
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';
@@ -0,0 +1,10 @@
1
+ export default class PopoverManager {
2
+ private registeredElements;
3
+ private registeredElementCount;
4
+ registerElement(referenceEl: HTMLElement, popover: HTMLCalcitePopoverElement): void;
5
+ unregisterElement(referenceEl: HTMLElement): void;
6
+ private queryPopover;
7
+ private clickHandler;
8
+ private addListeners;
9
+ private removeListeners;
10
+ }
@@ -6,6 +6,10 @@ import { HeadingLevel } from "../functional/Heading";
6
6
  * @slot - A slot for adding custom content.
7
7
  */
8
8
  export declare class Popover {
9
+ /**
10
+ * Automatically closes any currently open popovers when clicking outside of a popover.
11
+ */
12
+ autoClose: boolean;
9
13
  /**
10
14
  * Display a close button within the Popover.
11
15
  * @deprecated use dismissible instead.
@@ -14,7 +14,6 @@ export declare const TEXT: {
14
14
  close: string;
15
15
  };
16
16
  export declare const defaultPopoverPlacement = "auto";
17
- export declare const POPOVER_REFERENCE = "data-calcite-popover-reference";
18
17
  export declare const ARIA_CONTROLS = "aria-controls";
19
18
  export declare const ARIA_EXPANDED = "aria-expanded";
20
19
  export declare const HEADING_LEVEL = 2;
@@ -1,9 +1,11 @@
1
1
  import { VNode } from "../../stencil-public-runtime";
2
2
  /**
3
3
  * @slot - A slot for adding elements that reference a 'calcite-popover' by the 'selector' property.
4
+ * @deprecated No longer required for popover usage.
4
5
  */
5
6
  export declare class PopoverManager {
6
7
  el: HTMLCalcitePopoverManagerElement;
8
+ mutationObserver: MutationObserver;
7
9
  /**
8
10
  * CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.
9
11
  * @default `[data-calcite-popover-reference]`
@@ -13,7 +15,9 @@ export declare class PopoverManager {
13
15
  * Automatically closes any currently open popovers when clicking outside of a popover.
14
16
  */
15
17
  autoClose: boolean;
18
+ autoCloseHandler(): void;
19
+ connectedCallback(): void;
20
+ disconnectedCallback(): void;
16
21
  render(): VNode;
17
- queryPopover: (composedPath: EventTarget[]) => HTMLCalcitePopoverElement;
18
- closeOpenPopovers(event: Event): void;
22
+ setAutoClose(): void;
19
23
  }
@@ -2311,6 +2311,10 @@ export namespace Components {
2311
2311
  "value": any;
2312
2312
  }
2313
2313
  interface CalcitePopover {
2314
+ /**
2315
+ * Automatically closes any currently open popovers when clicking outside of a popover.
2316
+ */
2317
+ "autoClose": boolean;
2314
2318
  /**
2315
2319
  * Display a close button within the Popover.
2316
2320
  * @deprecated use dismissible instead.
@@ -6451,6 +6455,10 @@ declare namespace LocalJSX {
6451
6455
  "value": any;
6452
6456
  }
6453
6457
  interface CalcitePopover {
6458
+ /**
6459
+ * Automatically closes any currently open popovers when clicking outside of a popover.
6460
+ */
6461
+ "autoClose"?: boolean;
6454
6462
  /**
6455
6463
  * Display a close button within the Popover.
6456
6464
  * @deprecated use dismissible instead.
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.445
4
+ * v1.0.0-next.448
5
5
  */
6
6
  'use strict';
7
7
 
@@ -7755,6 +7755,7 @@ class ActionBar {
7755
7755
  };
7756
7756
  this.toggleExpand = () => {
7757
7757
  this.expanded = !this.expanded;
7758
+ this.calciteActionBarToggle.emit();
7758
7759
  };
7759
7760
  this.setExpandToggleRef = (el) => {
7760
7761
  this.expandToggleEl = el;
@@ -7765,7 +7766,6 @@ class ActionBar {
7765
7766
  }
7766
7767
  expandedHandler(expanded) {
7767
7768
  toggleChildActionText({ parent: this.el, expanded });
7768
- this.calciteActionBarToggle.emit();
7769
7769
  }
7770
7770
  overflowDisabledHandler(overflowActionsDisabled) {
7771
7771
  overflowActionsDisabled
@@ -8309,6 +8309,7 @@ class ActionPad {
8309
8309
  };
8310
8310
  this.toggleExpand = () => {
8311
8311
  this.expanded = !this.expanded;
8312
+ this.calciteActionPadToggle.emit();
8312
8313
  };
8313
8314
  this.setExpandToggleRef = (el) => {
8314
8315
  this.expandToggleEl = el;
@@ -8316,7 +8317,6 @@ class ActionPad {
8316
8317
  }
8317
8318
  expandedHandler(expanded) {
8318
8319
  toggleChildActionText({ parent: this.el, expanded });
8319
- this.calciteActionPadToggle.emit();
8320
8320
  }
8321
8321
  // --------------------------------------------------------------------------
8322
8322
  //
@@ -15561,7 +15561,7 @@ class Combobox {
15561
15561
  const find = (item, filteredData) => item &&
15562
15562
  filteredData.some(({ label, value }) => {
15563
15563
  if (isGroup(item)) {
15564
- return value === item.label || value === item.label;
15564
+ return value === item.label;
15565
15565
  }
15566
15566
  return (value === item.textLabel ||
15567
15567
  value === item.value ||
@@ -15888,8 +15888,7 @@ class Combobox {
15888
15888
  return this.items.map((item) => ({
15889
15889
  constant: item.constant,
15890
15890
  value: item.value,
15891
- label: item.textLabel,
15892
- guid: item.guid
15891
+ label: item.textLabel
15893
15892
  }));
15894
15893
  }
15895
15894
  getNeedsIcon() {
@@ -23289,13 +23288,72 @@ const TEXT$6 = {
23289
23288
  close: "Close"
23290
23289
  };
23291
23290
  const defaultPopoverPlacement = "auto";
23292
- const POPOVER_REFERENCE = "data-calcite-popover-reference";
23293
23291
  const ARIA_CONTROLS = "aria-controls";
23294
23292
  const ARIA_EXPANDED = "aria-expanded";
23295
23293
  const HEADING_LEVEL$2 = 2;
23296
23294
 
23295
+ class PopoverManager$1 {
23296
+ constructor() {
23297
+ // --------------------------------------------------------------------------
23298
+ //
23299
+ // Private Properties
23300
+ //
23301
+ // --------------------------------------------------------------------------
23302
+ this.registeredElements = new WeakMap();
23303
+ this.registeredElementCount = 0;
23304
+ // --------------------------------------------------------------------------
23305
+ //
23306
+ // Private Methods
23307
+ //
23308
+ // --------------------------------------------------------------------------
23309
+ this.queryPopover = (composedPath) => {
23310
+ const { registeredElements } = this;
23311
+ const registeredElement = composedPath.find((pathEl) => registeredElements.has(pathEl));
23312
+ return registeredElements.get(registeredElement);
23313
+ };
23314
+ this.clickHandler = (event) => {
23315
+ const composedPath = event.composedPath();
23316
+ const popover = this.queryPopover(composedPath);
23317
+ if (popover) {
23318
+ popover.toggle();
23319
+ return;
23320
+ }
23321
+ queryElementsRoots(event.target, "calcite-popover")
23322
+ .filter((popover) => popover.autoClose && popover.open && !composedPath.includes(popover))
23323
+ .forEach((popover) => popover.toggle(false));
23324
+ };
23325
+ }
23326
+ // --------------------------------------------------------------------------
23327
+ //
23328
+ // Public Methods
23329
+ //
23330
+ // --------------------------------------------------------------------------
23331
+ registerElement(referenceEl, popover) {
23332
+ this.registeredElementCount++;
23333
+ this.registeredElements.set(referenceEl, popover);
23334
+ if (this.registeredElementCount === 1) {
23335
+ this.addListeners();
23336
+ }
23337
+ }
23338
+ unregisterElement(referenceEl) {
23339
+ if (this.registeredElements.delete(referenceEl)) {
23340
+ this.registeredElementCount--;
23341
+ }
23342
+ if (this.registeredElementCount === 0) {
23343
+ this.removeListeners();
23344
+ }
23345
+ }
23346
+ addListeners() {
23347
+ document.addEventListener("pointerdown", this.clickHandler, { capture: true });
23348
+ }
23349
+ removeListeners() {
23350
+ document.removeEventListener("pointerdown", this.clickHandler, { capture: true });
23351
+ }
23352
+ }
23353
+
23297
23354
  const popoverCss = "@-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-popover: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-popover{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-popover{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-popover:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@:host([data-popper-placement^=bottom]) .calcite-popper-anim*/[data-popper-placement^=bottom].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@:host([data-popper-placement^=top]) .calcite-popper-anim*/[data-popper-placement^=top].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@:host([data-popper-placement^=left]) .calcite-popper-anim*/[data-popper-placement^=left].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@:host([data-popper-placement^=right]) .calcite-popper-anim*/[data-popper-placement^=right].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@:host([data-popper-placement]) .calcite-popper-anim--active*/[data-popper-placement].sc-calcite-popover-h .calcite-popper-anim--active.sc-calcite-popover{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([data-popper-placement][data-popper-reference-hidden])*/[data-popper-placement][data-popper-reference-hidden].sc-calcite-popover-h{pointer-events:none;opacity:0}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-popover,.arrow.sc-calcite-popover::before{position:absolute;width:8px;height:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-popover::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-popper-placement^=top]) .arrow*/[data-popper-placement^=top].sc-calcite-popover-h .arrow.sc-calcite-popover{bottom:-4px}/*!@:host([data-popper-placement^=bottom]) .arrow*/[data-popper-placement^=bottom].sc-calcite-popover-h .arrow.sc-calcite-popover{top:-4px}/*!@:host([data-popper-placement^=left]) .arrow*/[data-popper-placement^=left].sc-calcite-popover-h .arrow.sc-calcite-popover{right:-4px}/*!@:host([data-popper-placement^=right]) .arrow*/[data-popper-placement^=right].sc-calcite-popover-h .arrow.sc-calcite-popover{left:-4px}/*!@:host*/.sc-calcite-popover-h{pointer-events:none}/*!@:host([open])*/[open].sc-calcite-popover-h{pointer-events:initial}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{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*/.arrow.sc-calcite-popover::before{outline:1px solid var(--calcite-ui-border-3)}/*!@.header*/.header.sc-calcite-popover{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-bottom-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-bottom-color:var(--calcite-ui-border-3)}/*!@.heading*/.heading.sc-calcite-popover{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-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom: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*/.container.sc-calcite-popover{position:relative;display:-ms-flexbox;display:flex;height: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*/.container.has-header.sc-calcite-popover{-ms-flex-direction:column;flex-direction:column}/*!@.content*/.content.sc-calcite-popover{display:-ms-flexbox;display:flex;height:100%;width: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*/.close-button-container.sc-calcite-popover{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)*/.sc-calcite-popover-s>calcite-panel,.sc-calcite-popover-s>calcite-flow{height:100%}";
23298
23355
 
23356
+ const manager$1 = new PopoverManager$1();
23299
23357
  /**
23300
23358
  * @slot - A slot for adding custom content.
23301
23359
  */
@@ -23309,6 +23367,10 @@ class Popover {
23309
23367
  // Properties
23310
23368
  //
23311
23369
  // --------------------------------------------------------------------------
23370
+ /**
23371
+ * Automatically closes any currently open popovers when clicking outside of a popover.
23372
+ */
23373
+ this.autoClose = false;
23312
23374
  /**
23313
23375
  * Display a close button within the Popover.
23314
23376
  * @deprecated use dismissible instead.
@@ -23391,8 +23453,8 @@ class Popover {
23391
23453
  return;
23392
23454
  }
23393
23455
  const id = this.getId();
23394
- effectiveReferenceElement.setAttribute(POPOVER_REFERENCE, id);
23395
23456
  effectiveReferenceElement.setAttribute(ARIA_CONTROLS, id);
23457
+ manager$1.registerElement(effectiveReferenceElement, this.el);
23396
23458
  this.setExpandedAttr();
23397
23459
  };
23398
23460
  this.removeReferences = () => {
@@ -23400,9 +23462,9 @@ class Popover {
23400
23462
  if (!effectiveReferenceElement) {
23401
23463
  return;
23402
23464
  }
23403
- effectiveReferenceElement.removeAttribute(POPOVER_REFERENCE);
23404
23465
  effectiveReferenceElement.removeAttribute(ARIA_CONTROLS);
23405
23466
  effectiveReferenceElement.removeAttribute(ARIA_EXPANDED);
23467
+ manager$1.unregisterElement(effectiveReferenceElement);
23406
23468
  };
23407
23469
  this.hide = () => {
23408
23470
  this.open = false;
@@ -23582,6 +23644,7 @@ class Popover {
23582
23644
  "$flags$": 9,
23583
23645
  "$tagName$": "calcite-popover",
23584
23646
  "$members$": {
23647
+ "autoClose": [516, "auto-close"],
23585
23648
  "closeButton": [516, "close-button"],
23586
23649
  "dismissible": [516],
23587
23650
  "disableFlip": [516, "disable-flip"],
@@ -23604,7 +23667,7 @@ class Popover {
23604
23667
  },
23605
23668
  "$listeners$": undefined,
23606
23669
  "$lazyBundleId$": "-",
23607
- "$attrsToReflect$": [["closeButton", "close-button"], ["dismissible", "dismissible"], ["disableFlip", "disable-flip"], ["disablePointer", "disable-pointer"], ["offsetDistance", "offset-distance"], ["offsetSkidding", "offset-skidding"], ["open", "open"], ["placement", "placement"]]
23670
+ "$attrsToReflect$": [["autoClose", "auto-close"], ["closeButton", "close-button"], ["dismissible", "dismissible"], ["disableFlip", "disable-flip"], ["disablePointer", "disable-pointer"], ["offsetDistance", "offset-distance"], ["offsetSkidding", "offset-skidding"], ["open", "open"], ["placement", "placement"]]
23608
23671
  }; }
23609
23672
  }
23610
23673
 
@@ -23612,10 +23675,12 @@ const popoverManagerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@k
23612
23675
 
23613
23676
  /**
23614
23677
  * @slot - A slot for adding elements that reference a 'calcite-popover' by the 'selector' property.
23678
+ * @deprecated No longer required for popover usage.
23615
23679
  */
23616
23680
  class PopoverManager {
23617
23681
  constructor(hostRef) {
23618
23682
  registerInstance(this, hostRef);
23683
+ this.mutationObserver = createObserver();
23619
23684
  // --------------------------------------------------------------------------
23620
23685
  //
23621
23686
  // Properties
@@ -23625,28 +23690,28 @@ class PopoverManager {
23625
23690
  * CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.
23626
23691
  * @default `[data-calcite-popover-reference]`
23627
23692
  */
23628
- this.selector = `[${POPOVER_REFERENCE}]`;
23693
+ this.selector = "[data-calcite-popover-reference]";
23629
23694
  /**
23630
23695
  * Automatically closes any currently open popovers when clicking outside of a popover.
23631
23696
  */
23632
23697
  this.autoClose = false;
23633
- //--------------------------------------------------------------------------
23634
- //
23635
- // Private Methods
23636
- //
23637
- //--------------------------------------------------------------------------
23638
- this.queryPopover = (composedPath) => {
23639
- const { el } = this;
23640
- if (!composedPath.includes(el)) {
23641
- return null;
23642
- }
23643
- const referenceElement = composedPath.find((pathEl) => { var _a; return (_a = pathEl === null || pathEl === void 0 ? void 0 : pathEl.hasAttribute) === null || _a === void 0 ? void 0 : _a.call(pathEl, POPOVER_REFERENCE); });
23644
- if (!referenceElement) {
23645
- return null;
23646
- }
23647
- const id = referenceElement.getAttribute(POPOVER_REFERENCE);
23648
- return queryElementRoots(el, { id });
23649
- };
23698
+ }
23699
+ autoCloseHandler() {
23700
+ this.setAutoClose();
23701
+ }
23702
+ // --------------------------------------------------------------------------
23703
+ //
23704
+ // Lifecycle
23705
+ //
23706
+ // --------------------------------------------------------------------------
23707
+ connectedCallback() {
23708
+ var _a;
23709
+ this.setAutoClose();
23710
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
23711
+ }
23712
+ disconnectedCallback() {
23713
+ var _a;
23714
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
23650
23715
  }
23651
23716
  // --------------------------------------------------------------------------
23652
23717
  //
@@ -23656,27 +23721,19 @@ class PopoverManager {
23656
23721
  render() {
23657
23722
  return hAsync("slot", null);
23658
23723
  }
23659
- //--------------------------------------------------------------------------
23724
+ // --------------------------------------------------------------------------
23660
23725
  //
23661
- // Event Listeners
23726
+ // Private Methods
23662
23727
  //
23663
- //--------------------------------------------------------------------------
23664
- closeOpenPopovers(event) {
23728
+ // --------------------------------------------------------------------------
23729
+ setAutoClose() {
23665
23730
  const { autoClose, el } = this;
23666
- const popoverSelector = "calcite-popover";
23667
- const composedPath = event.composedPath();
23668
- const popover = this.queryPopover(composedPath);
23669
- if (popover) {
23670
- popover.toggle();
23671
- return;
23672
- }
23673
- if (autoClose) {
23674
- queryElementsRoots(el, popoverSelector)
23675
- .filter((popover) => popover.open && !composedPath.includes(popover))
23676
- .forEach((popover) => popover.toggle(false));
23677
- }
23731
+ el.querySelectorAll("calcite-popover").forEach((popover) => (popover.autoClose = autoClose));
23678
23732
  }
23679
23733
  get el() { return getElement(this); }
23734
+ static get watchers() { return {
23735
+ "autoClose": ["autoCloseHandler"]
23736
+ }; }
23680
23737
  static get style() { return popoverManagerCss; }
23681
23738
  static get cmpMeta() { return {
23682
23739
  "$flags$": 9,
@@ -23685,7 +23742,7 @@ class PopoverManager {
23685
23742
  "selector": [1],
23686
23743
  "autoClose": [516, "auto-close"]
23687
23744
  },
23688
- "$listeners$": [[10, "click", "closeOpenPopovers"]],
23745
+ "$listeners$": undefined,
23689
23746
  "$lazyBundleId$": "-",
23690
23747
  "$attrsToReflect$": [["autoClose", "auto-close"]]
23691
23748
  }; }
@@ -30582,7 +30639,7 @@ const SLOTS$3 = {
30582
30639
  contentEnd: "content-end"
30583
30640
  };
30584
30641
 
30585
- const tileCss = "@-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-tile: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-tile{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-tile{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tile{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tile{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tile{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tile:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tile-h{display:none}/*!@:host*/.sc-calcite-tile-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .container*/.sc-calcite-tile-h .container.sc-calcite-tile{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}/*!@:host .content*/.sc-calcite-tile-h .content.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;gap:0.5rem;width:10%}/*!@:host .content-container*/.sc-calcite-tile-h .content-container.sc-calcite-tile{display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}/*!@:host .content-slot-container*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}/*!@:host .content-slot-container:first-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:first-child{padding-inline:0 0.75rem}/*!@:host .content-slot-container:last-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:last-child{padding-inline:0.75rem 0}/*!@:host .heading*/.sc-calcite-tile-h .heading.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .large-visual*/.sc-calcite-tile-h .large-visual.sc-calcite-tile{-ms-flex-align:center;align-items:center;text-align:center;min-height:12rem}/*!@:host .large-visual .icon*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:end;align-self:flex-end}/*!@:host .large-visual .content-container*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .content-container.sc-calcite-tile{-ms-flex-item-align:center;align-self:center}/*!@:host .description*/.sc-calcite-tile-h .description.sc-calcite-tile{pointer-events:none;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host(:not([embed]))*/.sc-calcite-tile-h:not([embed]){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}/*!@:host(:not([embed])[href]:hover)*/.sc-calcite-tile-h:not([embed])[href]:hover{cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}/*!@:host(:not([embed])[href]:active)*/.sc-calcite-tile-h:not([embed])[href]:active{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}/*!@:host([icon][heading]:not([description]):not([embed]))*/[icon][heading].sc-calcite-tile-h:not([description]):not([embed]){padding:0px}/*!@:host([icon][heading]:not([description])) .icon*/[icon][heading].sc-calcite-tile-h:not([description]) .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@:host([icon][heading]:not([description])) .large-visual*/[icon][heading].sc-calcite-tile-h:not([description]) .large-visual.sc-calcite-tile{text-align:center}/*!@:host([disabled])*/[disabled].sc-calcite-tile-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tile-h[disabled] .sc-calcite-tile-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tile-h [calcite-hydrated][disabled].sc-calcite-tile{opacity:1}/*!@:host(:hover) .heading, :host([active]) .heading*/.sc-calcite-tile-h:hover .heading.sc-calcite-tile,[active].sc-calcite-tile-h .heading.sc-calcite-tile{color:var(--calcite-ui-text-1)}/*!@:host(:hover) .description, :host([active]) .description*/.sc-calcite-tile-h:hover .description.sc-calcite-tile,[active].sc-calcite-tile-h .description.sc-calcite-tile{color:var(--calcite-ui-text-2)}";
30642
+ const tileCss = "@-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-tile: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-tile{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-tile{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tile{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tile{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tile{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tile:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tile-h{display:none}/*!@:host*/.sc-calcite-tile-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .container*/.sc-calcite-tile-h .container.sc-calcite-tile{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}/*!@:host .content*/.sc-calcite-tile-h .content.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;gap:0.5rem;width:10%}/*!@:host .content-container*/.sc-calcite-tile-h .content-container.sc-calcite-tile{display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}/*!@:host .content-slot-container*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}/*!@:host .content-slot-container:first-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:first-child{padding-inline:0 0.75rem}/*!@:host .content-slot-container:last-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:last-child{padding-inline:0.75rem 0}/*!@:host .heading*/.sc-calcite-tile-h .heading.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .large-visual*/.sc-calcite-tile-h .large-visual.sc-calcite-tile{-ms-flex-align:center;align-items:center;text-align:center;min-height:12rem}/*!@:host .large-visual .icon*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:end;align-self:flex-end}/*!@:host .large-visual .content-container*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .content-container.sc-calcite-tile{-ms-flex-item-align:center;align-self:center}/*!@:host .description*/.sc-calcite-tile-h .description.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host(:not([embed]))*/.sc-calcite-tile-h:not([embed]){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}/*!@:host(:not([embed])[href]:hover)*/.sc-calcite-tile-h:not([embed])[href]:hover{cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}/*!@:host(:not([embed])[href]:active)*/.sc-calcite-tile-h:not([embed])[href]:active{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}/*!@:host([icon][heading]:not([description]):not([embed]))*/[icon][heading].sc-calcite-tile-h:not([description]):not([embed]){padding:0px}/*!@:host([icon][heading]:not([description])) .icon*/[icon][heading].sc-calcite-tile-h:not([description]) .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@:host([icon][heading]:not([description])) .large-visual*/[icon][heading].sc-calcite-tile-h:not([description]) .large-visual.sc-calcite-tile{text-align:center}/*!@:host([disabled])*/[disabled].sc-calcite-tile-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tile-h[disabled] .sc-calcite-tile-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tile-h [calcite-hydrated][disabled].sc-calcite-tile{opacity:1}/*!@:host(:hover) .heading, :host([active]) .heading*/.sc-calcite-tile-h:hover .heading.sc-calcite-tile,[active].sc-calcite-tile-h .heading.sc-calcite-tile{color:var(--calcite-ui-text-1)}/*!@:host(:hover) .description, :host([active]) .description*/.sc-calcite-tile-h:hover .description.sc-calcite-tile,[active].sc-calcite-tile-h .description.sc-calcite-tile{color:var(--calcite-ui-text-2)}";
30586
30643
 
30587
30644
  /**
30588
30645
  * @slot content-start - A slot for adding non-actionable elements before the tile content.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.445",
3
+ "version": "1.0.0-next.448",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -99,7 +99,7 @@
99
99
  "@whitespace/storybook-addon-html": "5.0.0",
100
100
  "autoprefixer": "10.4.4",
101
101
  "axe-core": "4.4.1",
102
- "babel-loader": "8.2.4",
102
+ "babel-loader": "8.2.5",
103
103
  "chalk": "4.1.2",
104
104
  "cheerio": "1.0.0-rc.10",
105
105
  "chokidar": "3.5.3",
@@ -119,7 +119,7 @@
119
119
  "jest": "26.6.3",
120
120
  "jest-axe": "6.0.0",
121
121
  "jest-cli": "26.6.3",
122
- "lint-staged": "12.3.8",
122
+ "lint-staged": "12.4.0",
123
123
  "pify": "5.0.0",
124
124
  "postcss": "8.4.12",
125
125
  "prettier": "2.6.2",
package/readme.md CHANGED
@@ -107,12 +107,12 @@ This will provide autocomplete of component names/properties, as well as additio
107
107
  // created elements will implicitly have the correct type already
108
108
  const loader = document.createElement("calcite-loader");
109
109
  document.body.appendChild(loader);
110
- loader.isActive = true;
110
+ loader.active = true;
111
111
 
112
112
  // you can also explicitly type an element using the generated types
113
113
  // the type name will always be formatted like HTML{CamelCaseComponentName}Element
114
114
  const loader = document.querySelector(".my-loader-element") as HTMLCalciteLoaderElement;
115
- loader.isActive = true;
115
+ loader.active = true;
116
116
  ```
117
117
 
118
118
  ## Browser Support
@@ -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.445
5
- */
6
- import{c as n}from"./p-b2caaa6b.js";import{h as t}from"./p-cb4a4c11.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(t){const{el:o,value:r}=t,s=n(o,"form");if(!s||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(s,o))return;t.formEl=s,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const u=(t.onFormReset||c).bind(t);s.addEventListener("reset",u),i.add(o)}function c(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function s(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function u(n,t){n.defaultValue=t}function a(n,t,o){var i;const{defaultValue:r,disabled:c,name:s,required:u}=n;t.defaultValue=r,t.disabled=c,t.name=s,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",c||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const l=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,c=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void c.forEach((n=>n.remove()));const s=Array.isArray(i)?i:[i],u=[],l=new Set;let f;c.forEach((t=>{const e=s.find((n=>n==t.value));null!=e?(l.add(e),a(n,t,e)):u.push(t)})),s.forEach((t=>{if(l.has(t))return;let e=u.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),f||(f=r.createDocumentFragment()),f.append(e),a(n,e,t)})),f&&t.append(f),u.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{l as H,u as a,r as c,s 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.445
5
- */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-cb4a4c11.js";import{g as r}from"./p-fa493d09.js";import{a as n,f as s}from"./p-b2caaa6b.js";import{c,d,g as l}from"./p-ea01de75.js";import{c as h,d as m,H as p}from"./p-07e641ba.js";import{g as b}from"./p-be653c75.js";import{u}from"./p-ad7a67c5.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-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-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_button}
@@ -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.445
5
- */
6
- import{r as t,c as e,f as a,h as i,H as n,g as r}from"./p-cb4a4c11.js";import{a as o,f as s,u as l,c,C as p}from"./p-97fd0700.js";import{g as m}from"./p-fa493d09.js";import{q as d,h as f}from"./p-b2caaa6b.js";import{H as h}from"./p-b17f15dc.js";const b="data-calcite-popover-reference",w=class{constructor(a){t(this,a),this.calcitePopoverClose=e(this,"calcitePopoverClose",7),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",7),this.closeButton=!1,this.dismissible=!1,this.disableFlip=!1,this.disablePointer=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.intlClose="Close",this.guid=`calcite-popover-${m()}`,this.activeTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?s(e,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement();const{el:t,referenceElement:e,effectiveReferenceElement:a}=this;e&&!a&&console.warn(`${t.tagName}: reference-element id "${e}" was not found.`,{el:t}),this.addReferences(),this.createPopper()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&t.setAttribute("aria-expanded",e.toString())},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();t.setAttribute(b,e),t.setAttribute("aria-controls",e),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&(t.removeAttribute(b),t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded"))},this.hide=()=>{this.open=!1},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.open?this.calcitePopoverOpen.emit():this.calcitePopoverClose.emit())}}flipPlacementsHandler(){this.setFilteredPlacements()}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition(),this.setExpandedAttr()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setFilteredPlacements()}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),this.destroyPopper()}async reposition(){const{popper:t,el:e,placement:a}=this,i=this.getModifiers();t?await l({el:e,modifiers:i,placement:a,popper:t}):this.createPopper()}async setFocus(t){var e;const{closeButtonEl:i}=this;if("close-button"===t&&i)return a(i),void i.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?d(e,{id:t}):t)||null}getModifiers(){const{arrowEl:t,disableFlip:e,disablePointer:a,offsetDistance:i,offsetSkidding:n,filteredFlipPlacements:r}=this,o={name:"flip",enabled:!e};r&&(o.options={fallbackPlacements:r});const s={name:"arrow",enabled:!a};return t&&(s.options={element:t}),[s,o,{name:"offset",enabled:!0,options:{offset:[n,i]}},{name:"eventListeners",enabled:this.open}]}createPopper(){this.destroyPopper();const{el:t,placement:e,effectiveReferenceElement:a,overlayPositioning:i}=this,n=this.getModifiers();this.popper=c({el:t,modifiers:n,overlayPositioning:i,placement:e,referenceEl:a})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}renderCloseButton(){const{dismissible:t,closeButton:e,intlClose:a}=this;return t||e?i("div",{class:"close-button-container"},i("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,text:a},i("calcite-icon",{icon:"x",scale:"m"}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,a=t?i(h,{class:"heading",level:e||2},t):null;return a?i("div",{class:"header"},a,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:a,open:r,disablePointer:o}=this,s=t&&r,l=!s,c=o?null:i("div",{class:"arrow",ref:t=>this.arrowEl=t});return i(n,{"aria-hidden":l.toString(),"aria-label":a,"calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},i("div",{class:{[p.animation]:!0,[p.animationActive]:s},onTransitionEnd:this.transitionEnd},c,i("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),i("div",{class:"content"},i("slot",null)),e?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};w.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-popper-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-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host([data-popper-placement^=bottom]) .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([data-popper-placement][data-popper-reference-hidden]){pointer-events:none;opacity:0}.arrow,.arrow::before{position:absolute;width:8px;height: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-popper-placement^=top]) .arrow{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-popper-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-bottom-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-bottom-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-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom: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;height: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;height:100%;width: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){height:100%}';const u=class{constructor(e){t(this,e),this.selector=`[${b}]`,this.autoClose=!1,this.queryPopover=t=>{const{el:e}=this;if(!t.includes(e))return null;const a=t.find((t=>{var e;return null===(e=null==t?void 0:t.hasAttribute)||void 0===e?void 0:e.call(t,b)}));if(!a)return null;const i=a.getAttribute(b);return d(e,{id:i})}}render(){return i("slot",null)}closeOpenPopovers(t){const{autoClose:e,el:a}=this,i=t.composedPath(),n=this.queryPopover(i);n?n.toggle():e&&f(a,"calcite-popover").filter((t=>t.open&&!i.includes(t))).forEach((t=>t.toggle(!1)))}get el(){return r(this)}};u.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";export{w as calcite_popover,u 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.445
5
- */
6
- System.register(["./p-31197ab6.system.js","./p-2e5debed.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.f},function(e){n=e.c}],execute:function(){e({c:i,d:o});var r=new Set;var s;var c={childList:true};function i(e){if(!s){s=n("mutation",u)}s.observe(e.el,c)}function o(e){r.delete(e.el);u(s.takeRecords());s.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];s.observe(i,c)}}function u(e){e.forEach((function(e){var n=e.target;t(n)}))}}}}));
@@ -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.445
5
- */
6
- import{a,r as t,h as i,H as n,g as e}from"./p-cb4a4c11.js";import{a as r}from"./p-b2caaa6b.js";import{c as s}from"./p-6aa710a4.js";import"./p-fa493d09.js";const o={},c={},l={s:16,m:24,l:32};const m=class{constructor(a){t(this,a),this.icon=null,this.flipRtl=!1,this.scale="m",this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var a;null===(a=this.intersectionObserver)||void 0===a||a.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:a,flipRtl:t,pathData:e,scale:s,textLabel:o}=this,c=r(a),m=l[s],h=!!o,f=[].concat(e||"");return i(n,{"aria-hidden":(!h).toString(),"aria-label":h?o:null,role:h?"img":null},i("svg",{class:{"flip-rtl":"rtl"===c&&t,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${m} ${m}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},f.map((a=>i("path","string"==typeof a?{d:a}:{d:a.d,opacity:"opacity"in a?a.opacity:1})))))}async loadIconPathData(){const{icon:t,scale:i,visible:n}=this;t&&n&&(this.pathData=await async function({icon:t,scale:i}){const n=l[i],e=function(a){const t=!isNaN(Number(a.charAt(0))),i=a.split("-");return 1===i.length?t?`i${a}`:a:i.map(((a,i)=>0===i?t?`i${a.toUpperCase()}`:a:a.charAt(0).toUpperCase()+a.slice(1))).join("")}(t),r="F"===e.charAt(e.length-1),s=`${r?e.substring(0,e.length-1):e}${n}${r?"F":""}`;if(o[s])return o[s];c[s]||(c[s]=fetch(a(`./assets/icon/${s}.json`)).then((a=>a.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const m=await c[s];return o[s]=m,m}({icon:t,scale:i}))}waitUntilVisible(a){this.intersectionObserver=s("intersection",(t=>{t.forEach((t=>{t.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,a())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):a()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};m.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";export{m as calcite_icon}