@esri/calcite-components 1.0.0-next.500 → 1.0.0-next.501

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 (796) 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-2c0d7e71.entry.js → p-0248396c.entry.js} +2 -2
  5. package/dist/calcite/{p-a60cb38a.js → p-02e4a067.js} +2 -2
  6. package/dist/calcite/{p-63468c52.js → p-02e6cb99.js} +1 -1
  7. package/dist/calcite/{p-21d1677e.system.entry.js → p-04019b0a.system.entry.js} +3 -3
  8. package/dist/calcite/{p-5834932a.system.entry.js → p-0483899b.system.entry.js} +2 -2
  9. package/dist/calcite/{p-9fda93a4.entry.js → p-056ba3a3.entry.js} +2 -2
  10. package/dist/calcite/{p-024332c5.entry.js → p-06e292bc.entry.js} +2 -2
  11. package/dist/calcite/{p-8c18840f.system.entry.js → p-07b72bfe.system.entry.js} +2 -2
  12. package/dist/calcite/{p-706febe5.system.js → p-087892c9.system.js} +1 -1
  13. package/dist/calcite/{p-0ce50c1d.system.js → p-0971e9d7.system.js} +2 -2
  14. package/dist/calcite/{p-28050de4.system.js → p-0b13198d.system.js} +1 -1
  15. package/dist/calcite/{p-8cf8e1e7.js → p-0bfc6a90.js} +1 -1
  16. package/dist/calcite/{p-31c4bc1b.system.entry.js → p-0fa769ae.system.entry.js} +2 -2
  17. package/dist/calcite/{p-82ea6a13.system.js → p-103015b8.system.js} +2 -2
  18. package/dist/calcite/{p-853d3805.system.entry.js → p-111490fd.system.entry.js} +2 -2
  19. package/dist/calcite/{p-d7680abe.system.entry.js → p-11acb660.system.entry.js} +2 -2
  20. package/dist/calcite/{p-46bdd669.system.entry.js → p-15c053c1.system.entry.js} +2 -2
  21. package/dist/calcite/{p-e16a826a.js → p-186cf6d6.js} +1 -1
  22. package/dist/calcite/{p-00b11741.system.js → p-18b0488a.system.js} +1 -1
  23. package/dist/calcite/{p-ffa00a8f.system.js → p-1a84a05d.system.js} +1 -1
  24. package/dist/calcite/p-1cc3f54c.system.entry.js +6 -0
  25. package/dist/calcite/{p-12871022.entry.js → p-1d48ddad.entry.js} +2 -2
  26. package/dist/calcite/{p-edd5687b.system.entry.js → p-1d4e6bf7.system.entry.js} +3 -3
  27. package/dist/calcite/{p-9dc73184.system.entry.js → p-1fe3111b.system.entry.js} +2 -2
  28. package/dist/calcite/{p-86b0e535.system.entry.js → p-22fddc3d.system.entry.js} +2 -2
  29. package/dist/calcite/{p-271b25d1.system.entry.js → p-25abbe57.system.entry.js} +2 -2
  30. package/dist/calcite/{p-1d1a2389.system.entry.js → p-2a950a43.system.entry.js} +2 -2
  31. package/dist/calcite/{p-b17079bd.entry.js → p-2d34a974.entry.js} +2 -2
  32. package/dist/calcite/{p-03186f6e.system.entry.js → p-2e46ef83.system.entry.js} +3 -3
  33. package/dist/calcite/{p-bd4edca6.system.js → p-2e7ff3bd.system.js} +2 -2
  34. package/dist/calcite/{p-901f5a26.system.js → p-2e883a3b.system.js} +1 -1
  35. package/dist/calcite/{p-e9695326.entry.js → p-32ce90dd.entry.js} +2 -2
  36. package/dist/calcite/{p-6a0467c3.system.entry.js → p-35372c34.system.entry.js} +2 -2
  37. package/dist/calcite/{p-4d03105f.system.entry.js → p-3684490a.system.entry.js} +2 -2
  38. package/dist/calcite/{p-c9dcae21.entry.js → p-36f8b8e9.entry.js} +2 -2
  39. package/dist/calcite/{p-107a38c5.system.entry.js → p-37dc6b6c.system.entry.js} +2 -2
  40. package/dist/calcite/{p-f0a4d40b.system.js → p-3a2fb54f.system.js} +1 -1
  41. package/dist/calcite/{p-480ed9b7.system.js → p-3b814a72.system.js} +2 -2
  42. package/dist/calcite/{p-bb446144.system.entry.js → p-3cd6ebf5.system.entry.js} +2 -2
  43. package/dist/calcite/{p-028956df.entry.js → p-3f1bc879.entry.js} +2 -2
  44. package/dist/calcite/{p-01589b5a.entry.js → p-3f7e2a96.entry.js} +2 -2
  45. package/dist/calcite/{p-27c2a702.entry.js → p-42871e38.entry.js} +2 -2
  46. package/dist/calcite/p-454ecde1.entry.js +6 -0
  47. package/dist/calcite/{p-fad0120e.system.entry.js → p-46c78219.system.entry.js} +2 -2
  48. package/dist/calcite/{p-216cb23b.entry.js → p-46d4a47d.entry.js} +2 -2
  49. package/dist/calcite/{p-d7e2d5ee.js → p-4a1b5196.js} +1 -1
  50. package/dist/calcite/{p-ab2e0e5c.system.js → p-4a367063.system.js} +1 -1
  51. package/dist/calcite/{p-04414e6a.entry.js → p-4aed327a.entry.js} +2 -2
  52. package/dist/calcite/p-5390458e.entry.js +6 -0
  53. package/dist/calcite/{p-dd687065.system.entry.js → p-55a4d9c7.system.entry.js} +2 -2
  54. package/dist/calcite/p-588bb4d5.system.js +6 -0
  55. package/dist/calcite/{p-c177bb05.system.entry.js → p-5976b82f.system.entry.js} +2 -2
  56. package/dist/calcite/{p-278e7c29.js → p-5b3fcf1a.js} +1 -1
  57. package/dist/calcite/{p-25882dfa.js → p-5cb1a2a6.js} +2 -2
  58. package/dist/calcite/{p-b976a6d4.entry.js → p-5cde7c93.entry.js} +2 -2
  59. package/dist/calcite/{p-fcb11ad6.entry.js → p-5d740302.entry.js} +2 -2
  60. package/dist/calcite/{p-e8f98b57.system.entry.js → p-5dfa50cf.system.entry.js} +2 -2
  61. package/dist/calcite/{p-5bf4139d.entry.js → p-5e9c45ea.entry.js} +2 -2
  62. package/dist/calcite/{p-638e7dd0.system.js → p-637d7f34.system.js} +2 -2
  63. package/dist/calcite/{p-292d90f7.system.entry.js → p-63b5c75f.system.entry.js} +2 -2
  64. package/dist/calcite/{p-51234c26.entry.js → p-65c6ce56.entry.js} +2 -2
  65. package/dist/calcite/{p-49e08b65.system.entry.js → p-65fa8f7c.system.entry.js} +2 -2
  66. package/dist/calcite/{p-e3d8cbf1.system.js → p-66b899d4.system.js} +2 -2
  67. package/dist/calcite/{p-e4008a99.entry.js → p-673560da.entry.js} +2 -2
  68. package/dist/calcite/{p-912531ed.entry.js → p-6791409c.entry.js} +2 -2
  69. package/dist/calcite/{p-ba1409bd.system.entry.js → p-680cbe72.system.entry.js} +2 -2
  70. package/dist/calcite/{p-91f33424.system.entry.js → p-6ab5cb71.system.entry.js} +2 -2
  71. package/dist/calcite/{p-73256618.entry.js → p-6ed01d01.entry.js} +2 -2
  72. package/dist/calcite/{p-6f5090c1.entry.js → p-6f91a10c.entry.js} +2 -2
  73. package/dist/calcite/{p-13f53f4e.js → p-70096ba0.js} +1 -1
  74. package/dist/calcite/{p-31b0c477.entry.js → p-7033e6fc.entry.js} +2 -2
  75. package/dist/calcite/{p-6984e53d.system.entry.js → p-70436555.system.entry.js} +2 -2
  76. package/dist/calcite/{p-454d8127.js → p-728c435f.js} +2 -2
  77. package/dist/calcite/{p-3b07f204.entry.js → p-72d22e1d.entry.js} +2 -2
  78. package/dist/calcite/{p-0d080947.js → p-76880def.js} +1 -1
  79. package/dist/calcite/{p-97a8fcc0.entry.js → p-793ba059.entry.js} +2 -2
  80. package/dist/calcite/{p-32f5c996.entry.js → p-796b51d6.entry.js} +2 -2
  81. package/dist/calcite/{p-6d77e67a.entry.js → p-79cc5f2b.entry.js} +2 -2
  82. package/dist/calcite/{p-d5530135.system.js → p-7a908748.system.js} +2 -2
  83. package/dist/calcite/p-7b01ff59.js +6 -0
  84. package/dist/calcite/{p-a6dc1ac5.system.entry.js → p-7b839627.system.entry.js} +3 -3
  85. package/dist/calcite/{p-600f0689.system.entry.js → p-7cb5af6b.system.entry.js} +2 -2
  86. package/dist/calcite/{p-b6b481a6.entry.js → p-7cea1069.entry.js} +2 -2
  87. package/dist/calcite/{p-d6b1fd7e.entry.js → p-7f5a6444.entry.js} +2 -2
  88. package/dist/calcite/{p-3a1a3746.entry.js → p-7feb8812.entry.js} +2 -2
  89. package/dist/calcite/{p-f75621bf.entry.js → p-82abc94d.entry.js} +2 -2
  90. package/dist/calcite/p-8325357f.js +6 -0
  91. package/dist/calcite/{p-2198ecda.system.js → p-83c61c8e.system.js} +1 -1
  92. package/dist/calcite/{p-d52c8379.js → p-84d9a615.js} +2 -2
  93. package/dist/calcite/{p-6093b6eb.entry.js → p-87bebe5a.entry.js} +2 -2
  94. package/dist/calcite/{p-ee9a71d5.system.entry.js → p-8a406fd5.system.entry.js} +2 -2
  95. package/dist/calcite/{p-360defbb.system.entry.js → p-8c950687.system.entry.js} +2 -2
  96. package/dist/calcite/{p-9e207ca9.system.entry.js → p-92afabf0.system.entry.js} +2 -2
  97. package/dist/calcite/{p-ebc525c8.js → p-93c12409.js} +2 -2
  98. package/dist/calcite/{p-8098473f.entry.js → p-96048485.entry.js} +2 -2
  99. package/dist/calcite/{p-fdb738aa.system.entry.js → p-98c3794c.system.entry.js} +2 -2
  100. package/dist/calcite/{p-6bc5ea75.system.entry.js → p-9a3182cf.system.entry.js} +2 -2
  101. package/dist/calcite/{p-ec4ebf9b.system.js → p-9b4406e2.system.js} +2 -2
  102. package/dist/calcite/{p-9d4c73a8.system.js → p-9e8c8d50.system.js} +1 -1
  103. package/dist/calcite/{p-1c8916be.system.entry.js → p-a03396ec.system.entry.js} +2 -2
  104. package/dist/calcite/{p-2f10d6d5.system.entry.js → p-a0d26074.system.entry.js} +2 -2
  105. package/dist/calcite/{p-60722785.system.entry.js → p-a0e6b85c.system.entry.js} +2 -2
  106. package/dist/calcite/{p-f19e82cf.entry.js → p-a3747c05.entry.js} +2 -2
  107. package/dist/calcite/{p-0e3ebc14.system.entry.js → p-a3bba3f3.system.entry.js} +2 -2
  108. package/dist/calcite/{p-04d972d8.entry.js → p-a8ae223b.entry.js} +2 -2
  109. package/dist/calcite/{p-57242bcd.entry.js → p-ab474a74.entry.js} +2 -2
  110. package/dist/calcite/{p-93adaae5.entry.js → p-ac73ab10.entry.js} +2 -2
  111. package/dist/calcite/{p-f24ef041.system.entry.js → p-acd013bb.system.entry.js} +2 -2
  112. package/dist/calcite/{p-690df16d.system.entry.js → p-ae9ac311.system.entry.js} +2 -2
  113. package/dist/calcite/{p-0df8150a.js → p-aed59365.js} +1 -1
  114. package/dist/calcite/{p-1d3a0cf2.entry.js → p-afc9798a.entry.js} +2 -2
  115. package/dist/calcite/{p-425974a8.system.entry.js → p-b0f12620.system.entry.js} +2 -2
  116. package/dist/calcite/{p-0c89504b.system.entry.js → p-b162ac2c.system.entry.js} +2 -2
  117. package/dist/calcite/{p-b62527f2.system.entry.js → p-b708599e.system.entry.js} +2 -2
  118. package/dist/calcite/{p-514fc3cf.system.js → p-b71be267.system.js} +1 -1
  119. package/dist/calcite/{p-d9d93d74.system.entry.js → p-b9e9734a.system.entry.js} +2 -2
  120. package/dist/calcite/{p-cb1badfb.js → p-bce66d51.js} +1 -1
  121. package/dist/calcite/{p-7e5c3523.entry.js → p-bce6d6ce.entry.js} +2 -2
  122. package/dist/calcite/{p-1612f85b.system.entry.js → p-bcfc40b1.system.entry.js} +2 -2
  123. package/dist/calcite/{p-c33e59ee.entry.js → p-be010151.entry.js} +2 -2
  124. package/dist/calcite/{p-107977e5.system.entry.js → p-bfabba2e.system.entry.js} +2 -2
  125. package/dist/calcite/{p-7d1caa28.entry.js → p-c03171f6.entry.js} +2 -2
  126. package/dist/calcite/{p-60dbe1f1.system.js → p-c05912f7.system.js} +2 -2
  127. package/dist/calcite/{p-5dbfb736.system.entry.js → p-c0706353.system.entry.js} +2 -2
  128. package/dist/calcite/{p-c9dc34e6.js → p-c10ae96e.js} +2 -2
  129. package/dist/calcite/{p-6bf9e932.system.entry.js → p-c5e5e92b.system.entry.js} +2 -2
  130. package/dist/calcite/p-c7437654.entry.js +6 -0
  131. package/dist/calcite/{p-d55bbd0d.entry.js → p-cb747392.entry.js} +2 -2
  132. package/dist/calcite/{p-0ad4d5e2.system.entry.js → p-cc0868de.system.entry.js} +2 -2
  133. package/dist/calcite/{p-c60c53c2.entry.js → p-cd618d39.entry.js} +2 -2
  134. package/dist/calcite/{p-5c824e7d.system.entry.js → p-cebc6e8d.system.entry.js} +2 -2
  135. package/dist/calcite/{p-9c732aa9.js → p-cfe4355b.js} +1 -1
  136. package/dist/calcite/{p-96af2cc0.system.entry.js → p-d3ebb149.system.entry.js} +2 -2
  137. package/dist/calcite/{p-82d4364d.system.entry.js → p-d70aa4e2.system.entry.js} +2 -2
  138. package/dist/calcite/{p-3b70a57e.system.entry.js → p-d79f148f.system.entry.js} +2 -2
  139. package/dist/calcite/p-d903e0e7.entry.js +6 -0
  140. package/dist/calcite/{p-a092a0ea.system.js → p-d9a61215.system.js} +1 -1
  141. package/dist/calcite/{p-aaf813c2.system.js → p-da3acc27.system.js} +1 -1
  142. package/dist/calcite/{p-3ee161a4.system.entry.js → p-dac8c093.system.entry.js} +2 -2
  143. package/dist/calcite/p-daffe62f.entry.js +6 -0
  144. package/dist/calcite/p-db71e64d.entry.js +6 -0
  145. package/dist/calcite/{p-6643f5fa.entry.js → p-de4a6a89.entry.js} +2 -2
  146. package/dist/calcite/{p-25d121fe.system.entry.js → p-de633948.system.entry.js} +2 -2
  147. package/dist/calcite/{p-46dd562a.entry.js → p-e1c0b932.entry.js} +2 -2
  148. package/dist/calcite/{p-296ed385.entry.js → p-e1f11cf2.entry.js} +2 -2
  149. package/dist/calcite/{p-a5ad91d2.js → p-e543dc25.js} +1 -1
  150. package/dist/calcite/{p-94021df2.system.entry.js → p-e6b9049a.system.entry.js} +2 -2
  151. package/dist/calcite/{p-8d0edc2f.entry.js → p-e710baa6.entry.js} +2 -2
  152. package/dist/calcite/{p-fb8404a4.js → p-e80e7717.js} +1 -1
  153. package/dist/calcite/{p-24b76f43.js → p-e98a3fa9.js} +1 -1
  154. package/dist/calcite/p-ec0cdae5.entry.js +6 -0
  155. package/dist/calcite/{p-6b21229f.js → p-ed016d2b.js} +2 -2
  156. package/dist/calcite/{p-d94f2b29.entry.js → p-f0f43e9a.entry.js} +2 -2
  157. package/dist/calcite/{p-1ff17e8e.system.js → p-f2a2c051.system.js} +1 -1
  158. package/dist/calcite/{p-3d60c8d9.system.js → p-f31a81d5.system.js} +1 -1
  159. package/dist/calcite/p-f95d1df7.js +6 -0
  160. package/dist/calcite/{p-3995f80f.system.entry.js → p-fa5b8379.system.entry.js} +2 -2
  161. package/dist/calcite/{p-e899a610.entry.js → p-faf94e01.entry.js} +2 -2
  162. package/dist/calcite/{p-c2d00a06.entry.js → p-fb4b979b.entry.js} +2 -2
  163. package/dist/calcite/{p-bdee5114.entry.js → p-fbb95908.entry.js} +2 -2
  164. package/dist/calcite/{p-9d773c11.entry.js → p-fce90f30.entry.js} +2 -2
  165. package/dist/calcite/{p-3274c9e4.system.js → p-ffd24611.system.js} +2 -2
  166. package/dist/cjs/{ExpandToggle-be235918.js → ExpandToggle-a661df08.js} +5 -5
  167. package/dist/cjs/{Heading-100f372b.js → Heading-f7ce34f8.js} +2 -2
  168. package/dist/cjs/{array-3b4f2e77.js → array-54eb267b.js} +1 -1
  169. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  170. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  171. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  172. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  173. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  174. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  175. package/dist/cjs/calcite-alert.cjs.entry.js +15 -17
  176. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  177. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  179. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  180. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -20
  184. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +32 -8
  186. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  187. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  189. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  190. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  191. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  192. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +10 -10
  194. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  196. package/dist/cjs/calcite-input.cjs.entry.js +10 -10
  197. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  198. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  199. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  200. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  201. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  202. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  203. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  204. package/dist/cjs/calcite-pagination.cjs.entry.js +4 -4
  205. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  206. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  207. package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  209. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  210. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  211. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  212. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  216. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  217. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  219. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  220. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  221. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  222. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  225. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  226. package/dist/cjs/calcite.cjs.js +2 -2
  227. package/dist/cjs/{conditionalSlot-0cf2783c.js → conditionalSlot-7ad93346.js} +3 -3
  228. package/dist/cjs/{debounce-73591a26.js → debounce-226bcfad.js} +1 -1
  229. package/dist/cjs/{dom-a95f2c56.js → dom-73966364.js} +2 -29
  230. package/dist/cjs/{forIn-c6d7050d.js → forIn-a22974fb.js} +2 -2
  231. package/dist/cjs/{form-04beb022.js → form-08520550.js} +3 -3
  232. package/dist/cjs/{guid-835850bf.js → guid-b0d1c63f.js} +1 -1
  233. package/dist/cjs/{index-45d31612.js → index-f4a68f01.js} +1 -1
  234. package/dist/cjs/index.cjs.js +1 -1
  235. package/dist/cjs/{interactive-5bc5f329.js → interactive-3f8000d4.js} +1 -1
  236. package/dist/cjs/{interfaces-17d4ca70.js → interfaces-3c6de282.js} +1 -1
  237. package/dist/cjs/{label-b17de694.js → label-213b9807.js} +2 -2
  238. package/dist/cjs/loader.cjs.js +2 -2
  239. package/dist/cjs/{locale-5e3075c9.js → locale-9005c661.js} +1 -1
  240. package/dist/cjs/{math-32fe631f.js → math-35aaa764.js} +1 -1
  241. package/dist/cjs/{observers-691aebef.js → observers-e859e0e7.js} +1 -1
  242. package/dist/cjs/{popper-97d0e13a.js → popper-b89ef648.js} +2 -2
  243. package/dist/cjs/{resources-4c2c2199.js → resources-4f3c50be.js} +3 -3
  244. package/dist/cjs/{resources-2c2f005f.js → resources-50ffe5d9.js} +1 -1
  245. package/dist/cjs/{resources-233b6cfa.js → resources-59d31092.js} +5 -5
  246. package/dist/cjs/{resources-116a5f3d.js → resources-bad877b0.js} +1 -1
  247. package/dist/cjs/{sortable.esm-8439e56d.js → sortable.esm-93f1297e.js} +1 -1
  248. package/dist/cjs/{utils-18645410.js → utils-fcea2ea1.js} +1 -1
  249. package/dist/collection/components/accordion/accordion.js +1 -1
  250. package/dist/collection/components/accordion/interfaces.js +1 -1
  251. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  252. package/dist/collection/components/action/action.js +1 -1
  253. package/dist/collection/components/action/resources.js +1 -1
  254. package/dist/collection/components/action-bar/action-bar.js +1 -1
  255. package/dist/collection/components/action-bar/resources.js +1 -1
  256. package/dist/collection/components/action-bar/utils.js +1 -1
  257. package/dist/collection/components/action-group/action-group.js +1 -1
  258. package/dist/collection/components/action-group/resources.js +1 -1
  259. package/dist/collection/components/action-menu/action-menu.js +1 -1
  260. package/dist/collection/components/action-menu/resources.js +1 -1
  261. package/dist/collection/components/action-pad/action-pad.js +1 -1
  262. package/dist/collection/components/action-pad/resources.js +1 -1
  263. package/dist/collection/components/alert/alert.js +39 -25
  264. package/dist/collection/components/alert/interfaces.js +1 -1
  265. package/dist/collection/components/alert/resources.js +1 -1
  266. package/dist/collection/components/avatar/avatar.js +1 -1
  267. package/dist/collection/components/avatar/utils.js +1 -1
  268. package/dist/collection/components/block/block.js +1 -1
  269. package/dist/collection/components/block/resources.js +1 -1
  270. package/dist/collection/components/block-section/block-section.js +1 -1
  271. package/dist/collection/components/block-section/interfaces.js +1 -1
  272. package/dist/collection/components/block-section/resources.js +1 -1
  273. package/dist/collection/components/button/button.js +1 -1
  274. package/dist/collection/components/button/interfaces.js +1 -1
  275. package/dist/collection/components/button/resources.js +1 -1
  276. package/dist/collection/components/card/card.js +1 -1
  277. package/dist/collection/components/card/resources.js +1 -1
  278. package/dist/collection/components/checkbox/checkbox.js +1 -1
  279. package/dist/collection/components/chip/chip.js +1 -1
  280. package/dist/collection/components/chip/interfaces.js +1 -1
  281. package/dist/collection/components/chip/resources.js +1 -1
  282. package/dist/collection/components/color-picker/color-picker.js +1 -1
  283. package/dist/collection/components/color-picker/interfaces.js +1 -1
  284. package/dist/collection/components/color-picker/resources.js +1 -1
  285. package/dist/collection/components/color-picker/utils.js +1 -1
  286. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  287. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  288. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  289. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  290. package/dist/collection/components/combobox/combobox.js +7 -9
  291. package/dist/collection/components/combobox/interfaces.js +1 -1
  292. package/dist/collection/components/combobox/resources.js +1 -1
  293. package/dist/collection/components/combobox/utils.js +1 -1
  294. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  295. package/dist/collection/components/combobox-item/resources.js +1 -1
  296. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  297. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  298. package/dist/collection/components/date-picker/date-picker.js +1 -1
  299. package/dist/collection/components/date-picker/interfaces.js +1 -1
  300. package/dist/collection/components/date-picker/resources.js +1 -1
  301. package/dist/collection/components/date-picker/utils.js +1 -1
  302. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  303. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  304. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  305. package/dist/collection/components/dropdown/dropdown.js +78 -10
  306. package/dist/collection/components/dropdown/interfaces.js +1 -1
  307. package/dist/collection/components/dropdown/resources.js +4 -1
  308. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  309. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  310. package/dist/collection/components/dropdown-group/resources.js +1 -1
  311. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  312. package/dist/collection/components/dropdown-item/resources.js +1 -1
  313. package/dist/collection/components/fab/fab.js +1 -1
  314. package/dist/collection/components/fab/resources.js +1 -1
  315. package/dist/collection/components/filter/filter.js +1 -1
  316. package/dist/collection/components/filter/resources.js +1 -1
  317. package/dist/collection/components/flow/flow.js +1 -1
  318. package/dist/collection/components/flow/interfaces.js +1 -1
  319. package/dist/collection/components/flow/resources.js +1 -1
  320. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  321. package/dist/collection/components/functional/Heading.js +1 -1
  322. package/dist/collection/components/graph/graph.js +1 -1
  323. package/dist/collection/components/graph/interfaces.js +1 -1
  324. package/dist/collection/components/graph/util.js +1 -1
  325. package/dist/collection/components/handle/handle.js +1 -1
  326. package/dist/collection/components/handle/resources.js +1 -1
  327. package/dist/collection/components/icon/icon.js +1 -1
  328. package/dist/collection/components/icon/resources.js +1 -1
  329. package/dist/collection/components/icon/utils.js +1 -1
  330. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  331. package/dist/collection/components/inline-editable/resources.js +1 -1
  332. package/dist/collection/components/input/input.js +1 -1
  333. package/dist/collection/components/input/interfaces.js +1 -1
  334. package/dist/collection/components/input/resources.js +1 -1
  335. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  336. package/dist/collection/components/input-message/input-message.js +1 -1
  337. package/dist/collection/components/input-message/interfaces.js +1 -1
  338. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  339. package/dist/collection/components/interfaces.js +1 -1
  340. package/dist/collection/components/label/label.js +1 -1
  341. package/dist/collection/components/label/resources.js +1 -1
  342. package/dist/collection/components/link/link.js +1 -1
  343. package/dist/collection/components/list/list.js +1 -1
  344. package/dist/collection/components/list/resources.js +1 -1
  345. package/dist/collection/components/list-item/list-item.js +1 -1
  346. package/dist/collection/components/list-item/resources.js +1 -1
  347. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  348. package/dist/collection/components/list-item-group/resources.js +1 -1
  349. package/dist/collection/components/loader/loader.js +1 -1
  350. package/dist/collection/components/modal/interfaces.js +1 -1
  351. package/dist/collection/components/modal/modal.js +1 -1
  352. package/dist/collection/components/modal/resources.js +1 -1
  353. package/dist/collection/components/notice/notice.js +1 -1
  354. package/dist/collection/components/notice/resources.js +1 -1
  355. package/dist/collection/components/option/option.js +1 -1
  356. package/dist/collection/components/option-group/option-group.js +1 -1
  357. package/dist/collection/components/pagination/pagination.js +1 -1
  358. package/dist/collection/components/pagination/resources.js +1 -1
  359. package/dist/collection/components/panel/panel.js +1 -1
  360. package/dist/collection/components/panel/resources.js +1 -1
  361. package/dist/collection/components/pick-list/pick-list.js +1 -1
  362. package/dist/collection/components/pick-list/resources.js +1 -1
  363. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  364. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  365. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  366. package/dist/collection/components/pick-list-group/resources.js +1 -1
  367. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  368. package/dist/collection/components/pick-list-item/resources.js +1 -1
  369. package/dist/collection/components/popover/PopoverManager.js +3 -4
  370. package/dist/collection/components/popover/popover.js +1 -1
  371. package/dist/collection/components/popover/resources.js +1 -1
  372. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  373. package/dist/collection/components/progress/progress.js +1 -1
  374. package/dist/collection/components/radio-button/radio-button.js +1 -1
  375. package/dist/collection/components/radio-button/resources.js +1 -1
  376. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  377. package/dist/collection/components/radio-group/interfaces.js +1 -1
  378. package/dist/collection/components/radio-group/radio-group.js +1 -1
  379. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  380. package/dist/collection/components/radio-group-item/resources.js +1 -1
  381. package/dist/collection/components/rating/rating.js +1 -1
  382. package/dist/collection/components/rating/resources.js +1 -1
  383. package/dist/collection/components/scrim/resources.js +1 -1
  384. package/dist/collection/components/scrim/scrim.js +1 -1
  385. package/dist/collection/components/select/resources.js +1 -1
  386. package/dist/collection/components/select/select.js +1 -1
  387. package/dist/collection/components/shell/resources.js +1 -1
  388. package/dist/collection/components/shell/shell.js +1 -1
  389. package/dist/collection/components/shell-center-row/resources.js +1 -1
  390. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  391. package/dist/collection/components/shell-panel/resources.js +1 -1
  392. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  393. package/dist/collection/components/slider/slider.js +1 -1
  394. package/dist/collection/components/sortable-list/resources.js +1 -1
  395. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  396. package/dist/collection/components/split-button/resources.js +1 -1
  397. package/dist/collection/components/split-button/split-button.js +1 -1
  398. package/dist/collection/components/stepper/interfaces.js +1 -1
  399. package/dist/collection/components/stepper/stepper.js +1 -1
  400. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  401. package/dist/collection/components/switch/switch.js +1 -1
  402. package/dist/collection/components/tab/interfaces.js +1 -1
  403. package/dist/collection/components/tab/tab.js +1 -1
  404. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  405. package/dist/collection/components/tab-title/tab-title.js +1 -1
  406. package/dist/collection/components/tabs/interfaces.js +1 -1
  407. package/dist/collection/components/tabs/resources.js +1 -1
  408. package/dist/collection/components/tabs/tabs.js +1 -1
  409. package/dist/collection/components/tile/resources.js +1 -1
  410. package/dist/collection/components/tile/tile.js +1 -1
  411. package/dist/collection/components/tile-select/interfaces.js +1 -1
  412. package/dist/collection/components/tile-select/resources.js +1 -1
  413. package/dist/collection/components/tile-select/tile-select.js +1 -1
  414. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  415. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  416. package/dist/collection/components/time-picker/resources.js +1 -1
  417. package/dist/collection/components/time-picker/time-picker.js +1 -1
  418. package/dist/collection/components/tip/resources.js +1 -1
  419. package/dist/collection/components/tip/tip.js +1 -1
  420. package/dist/collection/components/tip-group/tip-group.js +1 -1
  421. package/dist/collection/components/tip-manager/resources.js +1 -1
  422. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  423. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  424. package/dist/collection/components/tooltip/resources.js +1 -1
  425. package/dist/collection/components/tooltip/tooltip.js +1 -1
  426. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  427. package/dist/collection/components/tree/interfaces.js +1 -1
  428. package/dist/collection/components/tree/tree.js +1 -1
  429. package/dist/collection/components/tree-item/interfaces.js +1 -1
  430. package/dist/collection/components/tree-item/resources.js +1 -1
  431. package/dist/collection/components/tree-item/tree-item.js +1 -1
  432. package/dist/collection/components/value-list/resources.js +1 -1
  433. package/dist/collection/components/value-list/value-list.js +1 -1
  434. package/dist/collection/components/value-list-item/resources.js +1 -1
  435. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  436. package/dist/collection/utils/array.js +1 -1
  437. package/dist/collection/utils/conditionalSlot.js +1 -1
  438. package/dist/collection/utils/date.js +1 -1
  439. package/dist/collection/utils/dom.js +1 -27
  440. package/dist/collection/utils/filter.js +1 -1
  441. package/dist/collection/utils/form.js +1 -1
  442. package/dist/collection/utils/globalAttributes.js +1 -1
  443. package/dist/collection/utils/guid.js +1 -1
  444. package/dist/collection/utils/interactive.js +1 -1
  445. package/dist/collection/utils/key.js +1 -1
  446. package/dist/collection/utils/label.js +1 -1
  447. package/dist/collection/utils/locale.js +1 -1
  448. package/dist/collection/utils/math.js +1 -1
  449. package/dist/collection/utils/number.js +1 -1
  450. package/dist/collection/utils/observers.js +1 -1
  451. package/dist/collection/utils/popper.js +1 -1
  452. package/dist/collection/utils/resources.js +1 -1
  453. package/dist/collection/utils/time.js +1 -1
  454. package/dist/components/ExpandToggle.js +1 -1
  455. package/dist/components/Heading.js +1 -1
  456. package/dist/components/action-group.js +1 -1
  457. package/dist/components/action-menu.js +1 -1
  458. package/dist/components/action.js +1 -1
  459. package/dist/components/array.js +1 -1
  460. package/dist/components/button.js +1 -1
  461. package/dist/components/calcite-accordion-item.js +1 -1
  462. package/dist/components/calcite-accordion.js +1 -1
  463. package/dist/components/calcite-action-bar.js +1 -1
  464. package/dist/components/calcite-action-group.js +1 -1
  465. package/dist/components/calcite-action-menu.js +1 -1
  466. package/dist/components/calcite-action-pad.js +1 -1
  467. package/dist/components/calcite-action.js +1 -1
  468. package/dist/components/calcite-alert.js +11 -13
  469. package/dist/components/calcite-avatar.js +1 -1
  470. package/dist/components/calcite-block-section.js +1 -1
  471. package/dist/components/calcite-block.js +1 -1
  472. package/dist/components/calcite-button.js +1 -1
  473. package/dist/components/calcite-card.js +1 -1
  474. package/dist/components/calcite-checkbox.js +1 -1
  475. package/dist/components/calcite-chip.js +1 -1
  476. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  477. package/dist/components/calcite-color-picker-swatch.js +1 -1
  478. package/dist/components/calcite-color-picker.js +1 -1
  479. package/dist/components/calcite-combobox-item-group.js +1 -1
  480. package/dist/components/calcite-combobox-item.js +1 -1
  481. package/dist/components/calcite-combobox.js +7 -9
  482. package/dist/components/calcite-date-picker-day.js +1 -1
  483. package/dist/components/calcite-date-picker-month-header.js +1 -1
  484. package/dist/components/calcite-date-picker-month.js +1 -1
  485. package/dist/components/calcite-date-picker.js +1 -1
  486. package/dist/components/calcite-dropdown-group.js +1 -1
  487. package/dist/components/calcite-dropdown-item.js +1 -1
  488. package/dist/components/calcite-dropdown.js +1 -1
  489. package/dist/components/calcite-fab.js +1 -1
  490. package/dist/components/calcite-filter.js +1 -1
  491. package/dist/components/calcite-flow.js +1 -1
  492. package/dist/components/calcite-graph.js +1 -1
  493. package/dist/components/calcite-handle.js +1 -1
  494. package/dist/components/calcite-icon.js +1 -1
  495. package/dist/components/calcite-inline-editable.js +1 -1
  496. package/dist/components/calcite-input-date-picker.js +1 -1
  497. package/dist/components/calcite-input-message.js +1 -1
  498. package/dist/components/calcite-input-time-picker.js +1 -1
  499. package/dist/components/calcite-input.js +1 -1
  500. package/dist/components/calcite-label.js +1 -1
  501. package/dist/components/calcite-link.js +1 -1
  502. package/dist/components/calcite-list-item-group.js +1 -1
  503. package/dist/components/calcite-list-item.js +1 -1
  504. package/dist/components/calcite-list.js +1 -1
  505. package/dist/components/calcite-loader.js +1 -1
  506. package/dist/components/calcite-modal.js +1 -1
  507. package/dist/components/calcite-notice.js +1 -1
  508. package/dist/components/calcite-option-group.js +1 -1
  509. package/dist/components/calcite-option.js +1 -1
  510. package/dist/components/calcite-pagination.js +1 -1
  511. package/dist/components/calcite-panel.js +1 -1
  512. package/dist/components/calcite-pick-list-group.js +1 -1
  513. package/dist/components/calcite-pick-list-item.js +1 -1
  514. package/dist/components/calcite-pick-list.js +1 -1
  515. package/dist/components/calcite-popover-manager.js +1 -1
  516. package/dist/components/calcite-popover.js +1 -1
  517. package/dist/components/calcite-progress.js +1 -1
  518. package/dist/components/calcite-radio-button-group.js +1 -1
  519. package/dist/components/calcite-radio-button.js +1 -1
  520. package/dist/components/calcite-radio-group-item.js +1 -1
  521. package/dist/components/calcite-radio-group.js +1 -1
  522. package/dist/components/calcite-rating.js +1 -1
  523. package/dist/components/calcite-scrim.js +1 -1
  524. package/dist/components/calcite-select.js +1 -1
  525. package/dist/components/calcite-shell-center-row.js +1 -1
  526. package/dist/components/calcite-shell-panel.js +1 -1
  527. package/dist/components/calcite-shell.js +1 -1
  528. package/dist/components/calcite-slider.js +1 -1
  529. package/dist/components/calcite-sortable-list.js +1 -1
  530. package/dist/components/calcite-split-button.js +1 -1
  531. package/dist/components/calcite-stepper-item.js +1 -1
  532. package/dist/components/calcite-stepper.js +1 -1
  533. package/dist/components/calcite-switch.js +1 -1
  534. package/dist/components/calcite-tab-nav.js +1 -1
  535. package/dist/components/calcite-tab-title.js +1 -1
  536. package/dist/components/calcite-tab.js +1 -1
  537. package/dist/components/calcite-tabs.js +1 -1
  538. package/dist/components/calcite-tile-select-group.js +1 -1
  539. package/dist/components/calcite-tile-select.js +1 -1
  540. package/dist/components/calcite-tile.js +1 -1
  541. package/dist/components/calcite-time-picker.js +1 -1
  542. package/dist/components/calcite-tip-group.js +1 -1
  543. package/dist/components/calcite-tip-manager.js +1 -1
  544. package/dist/components/calcite-tip.js +1 -1
  545. package/dist/components/calcite-tooltip-manager.js +1 -1
  546. package/dist/components/calcite-tooltip.js +1 -1
  547. package/dist/components/calcite-tree-item.js +1 -1
  548. package/dist/components/calcite-tree.js +1 -1
  549. package/dist/components/calcite-value-list-item.js +1 -1
  550. package/dist/components/calcite-value-list.js +1 -1
  551. package/dist/components/checkbox.js +1 -1
  552. package/dist/components/chip.js +1 -1
  553. package/dist/components/color-picker-hex-input.js +1 -1
  554. package/dist/components/color-picker-swatch.js +1 -1
  555. package/dist/components/conditionalSlot.js +1 -1
  556. package/dist/components/date-picker-day.js +1 -1
  557. package/dist/components/date-picker-month-header.js +1 -1
  558. package/dist/components/date-picker-month.js +1 -1
  559. package/dist/components/date-picker.js +1 -1
  560. package/dist/components/date.js +1 -1
  561. package/dist/components/debounce.js +1 -1
  562. package/dist/components/dom.js +2 -28
  563. package/dist/components/dropdown.js +26 -2
  564. package/dist/components/filter.js +1 -1
  565. package/dist/components/forIn.js +1 -1
  566. package/dist/components/form.js +1 -1
  567. package/dist/components/graph.js +1 -1
  568. package/dist/components/guid.js +1 -1
  569. package/dist/components/handle.js +1 -1
  570. package/dist/components/icon.js +1 -1
  571. package/dist/components/index.js +1 -1
  572. package/dist/components/input.js +1 -1
  573. package/dist/components/interactive.js +1 -1
  574. package/dist/components/interfaces.js +1 -1
  575. package/dist/components/interfaces2.js +1 -1
  576. package/dist/components/label.js +1 -1
  577. package/dist/components/label2.js +1 -1
  578. package/dist/components/link.js +1 -1
  579. package/dist/components/loader.js +1 -1
  580. package/dist/components/locale.js +1 -1
  581. package/dist/components/math.js +1 -1
  582. package/dist/components/observers.js +1 -1
  583. package/dist/components/pick-list-item.js +1 -1
  584. package/dist/components/popover.js +4 -4
  585. package/dist/components/popper.js +1 -1
  586. package/dist/components/progress.js +1 -1
  587. package/dist/components/resources.js +1 -1
  588. package/dist/components/resources2.js +1 -1
  589. package/dist/components/resources3.js +1 -1
  590. package/dist/components/scrim.js +1 -1
  591. package/dist/components/shared-list-render.js +1 -1
  592. package/dist/components/sortable.esm.js +1 -1
  593. package/dist/components/switch.js +1 -1
  594. package/dist/components/tab-nav.js +1 -1
  595. package/dist/components/tab-title.js +1 -1
  596. package/dist/components/tab.js +1 -1
  597. package/dist/components/tabs.js +1 -1
  598. package/dist/components/tile.js +1 -1
  599. package/dist/components/time-picker.js +1 -1
  600. package/dist/components/utils.js +1 -1
  601. package/dist/components/utils2.js +1 -1
  602. package/dist/custom-elements/index.js +44 -50
  603. package/dist/esm/{ExpandToggle-3a403664.js → ExpandToggle-a56d8385.js} +5 -5
  604. package/dist/esm/{Heading-d8a27bcf.js → Heading-0d1a9345.js} +2 -2
  605. package/dist/esm/{array-812e7dc8.js → array-ddfcb78d.js} +1 -1
  606. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  607. package/dist/esm/calcite-action-bar.entry.js +10 -10
  608. package/dist/esm/calcite-action-group.entry.js +8 -8
  609. package/dist/esm/calcite-action-menu.entry.js +8 -8
  610. package/dist/esm/calcite-action-pad.entry.js +9 -9
  611. package/dist/esm/calcite-action.entry.js +6 -6
  612. package/dist/esm/calcite-alert.entry.js +15 -17
  613. package/dist/esm/calcite-avatar.entry.js +5 -5
  614. package/dist/esm/calcite-block_2.entry.js +8 -8
  615. package/dist/esm/calcite-button.entry.js +8 -8
  616. package/dist/esm/calcite-card.entry.js +6 -6
  617. package/dist/esm/calcite-checkbox.entry.js +7 -7
  618. package/dist/esm/calcite-chip.entry.js +6 -6
  619. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  620. package/dist/esm/calcite-combobox_3.entry.js +18 -20
  621. package/dist/esm/calcite-date-picker_4.entry.js +8 -8
  622. package/dist/esm/calcite-dropdown_3.entry.js +32 -8
  623. package/dist/esm/calcite-fab.entry.js +5 -5
  624. package/dist/esm/calcite-filter.entry.js +7 -7
  625. package/dist/esm/calcite-flow.entry.js +2 -2
  626. package/dist/esm/calcite-graph_2.entry.js +9 -9
  627. package/dist/esm/calcite-handle.entry.js +4 -4
  628. package/dist/esm/calcite-icon.entry.js +5 -5
  629. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  630. package/dist/esm/calcite-input-date-picker.entry.js +10 -10
  631. package/dist/esm/calcite-input-message.entry.js +4 -4
  632. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  633. package/dist/esm/calcite-input.entry.js +10 -10
  634. package/dist/esm/calcite-label.entry.js +5 -5
  635. package/dist/esm/calcite-link.entry.js +5 -5
  636. package/dist/esm/calcite-list_3.entry.js +8 -8
  637. package/dist/esm/calcite-loader.entry.js +3 -3
  638. package/dist/esm/calcite-modal.entry.js +6 -6
  639. package/dist/esm/calcite-notice.entry.js +7 -7
  640. package/dist/esm/calcite-option_3.entry.js +8 -8
  641. package/dist/esm/calcite-pagination.entry.js +4 -4
  642. package/dist/esm/calcite-panel.entry.js +9 -9
  643. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  644. package/dist/esm/calcite-popover_2.entry.js +9 -9
  645. package/dist/esm/calcite-progress.entry.js +2 -2
  646. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  647. package/dist/esm/calcite-radio-button.entry.js +8 -8
  648. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  649. package/dist/esm/calcite-rating.entry.js +7 -7
  650. package/dist/esm/calcite-scrim.entry.js +2 -2
  651. package/dist/esm/calcite-shell_3.entry.js +7 -7
  652. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  653. package/dist/esm/calcite-split-button.entry.js +3 -3
  654. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  655. package/dist/esm/calcite-switch.entry.js +7 -7
  656. package/dist/esm/calcite-tab_4.entry.js +6 -6
  657. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  658. package/dist/esm/calcite-tile.entry.js +7 -7
  659. package/dist/esm/calcite-tip_3.entry.js +7 -7
  660. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  661. package/dist/esm/calcite-tree_2.entry.js +6 -6
  662. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  663. package/dist/esm/calcite.js +2 -2
  664. package/dist/esm/{conditionalSlot-fcbe0a06.js → conditionalSlot-4392e28e.js} +3 -3
  665. package/dist/esm/{debounce-11c54254.js → debounce-eb293fe1.js} +1 -1
  666. package/dist/esm/{dom-4984236e.js → dom-b6731284.js} +3 -29
  667. package/dist/esm/{forIn-d6be6d9f.js → forIn-6418dc7d.js} +2 -2
  668. package/dist/esm/{form-2a8c5369.js → form-337e0ed2.js} +3 -3
  669. package/dist/esm/{guid-2e4ddd2f.js → guid-86c740ed.js} +1 -1
  670. package/dist/esm/{index-7f50e8db.js → index-c96475fc.js} +1 -1
  671. package/dist/esm/index.js +1 -1
  672. package/dist/esm/{interactive-d38732dc.js → interactive-59b90475.js} +1 -1
  673. package/dist/esm/{interfaces-c821da27.js → interfaces-db91b4fc.js} +1 -1
  674. package/dist/esm/{label-0979c74a.js → label-cf14be3b.js} +2 -2
  675. package/dist/esm/loader.js +2 -2
  676. package/dist/esm/{locale-2c29ab60.js → locale-5e7bf684.js} +1 -1
  677. package/dist/esm/{math-7ee12000.js → math-e98fee05.js} +1 -1
  678. package/dist/esm/{observers-cf78bec4.js → observers-c043dfde.js} +1 -1
  679. package/dist/esm/{popper-a82fb77f.js → popper-9e47c507.js} +2 -2
  680. package/dist/esm/{resources-2c1bd7f0.js → resources-b1f9839b.js} +5 -5
  681. package/dist/esm/{resources-c44164b3.js → resources-d0de1957.js} +1 -1
  682. package/dist/esm/{resources-49e5176e.js → resources-e19f744d.js} +3 -3
  683. package/dist/esm/{resources-02b77e63.js → resources-f31766b3.js} +1 -1
  684. package/dist/esm/{sortable.esm-2c1502f9.js → sortable.esm-17b433d7.js} +1 -1
  685. package/dist/esm/{utils-2fba47db.js → utils-9b274fcf.js} +1 -1
  686. package/dist/esm-es5/{ExpandToggle-3a403664.js → ExpandToggle-a56d8385.js} +2 -2
  687. package/dist/esm-es5/Heading-0d1a9345.js +6 -0
  688. package/dist/esm-es5/{array-812e7dc8.js → array-ddfcb78d.js} +1 -1
  689. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  690. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  691. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  692. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  693. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  694. package/dist/esm-es5/calcite-action.entry.js +2 -2
  695. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  696. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  697. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  698. package/dist/esm-es5/calcite-button.entry.js +2 -2
  699. package/dist/esm-es5/calcite-card.entry.js +2 -2
  700. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  701. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  702. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  703. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  704. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  705. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  706. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  707. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  708. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  709. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  710. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  711. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  712. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  713. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  714. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  715. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  716. package/dist/esm-es5/calcite-input.entry.js +2 -2
  717. package/dist/esm-es5/calcite-label.entry.js +2 -2
  718. package/dist/esm-es5/calcite-link.entry.js +2 -2
  719. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  720. package/dist/esm-es5/calcite-loader.entry.js +3 -3
  721. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  722. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  723. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  724. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  725. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  726. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  727. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  728. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  729. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  730. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  731. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  732. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  733. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  734. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  735. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  736. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  737. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  738. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  739. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  740. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  741. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  742. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  743. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  744. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  745. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite.js +2 -2
  747. package/dist/esm-es5/{conditionalSlot-fcbe0a06.js → conditionalSlot-4392e28e.js} +2 -2
  748. package/dist/esm-es5/{debounce-11c54254.js → debounce-eb293fe1.js} +1 -1
  749. package/dist/esm-es5/dom-b6731284.js +6 -0
  750. package/dist/esm-es5/{forIn-d6be6d9f.js → forIn-6418dc7d.js} +2 -2
  751. package/dist/esm-es5/{form-2a8c5369.js → form-337e0ed2.js} +2 -2
  752. package/dist/esm-es5/{guid-2e4ddd2f.js → guid-86c740ed.js} +1 -1
  753. package/dist/esm-es5/{index-7f50e8db.js → index-c96475fc.js} +1 -1
  754. package/dist/esm-es5/index.js +1 -1
  755. package/dist/esm-es5/{interactive-d38732dc.js → interactive-59b90475.js} +1 -1
  756. package/dist/esm-es5/{interfaces-c821da27.js → interfaces-db91b4fc.js} +1 -1
  757. package/dist/esm-es5/{label-0979c74a.js → label-cf14be3b.js} +2 -2
  758. package/dist/esm-es5/loader.js +2 -2
  759. package/dist/esm-es5/{locale-2c29ab60.js → locale-5e7bf684.js} +1 -1
  760. package/dist/esm-es5/{math-7ee12000.js → math-e98fee05.js} +1 -1
  761. package/dist/esm-es5/{observers-cf78bec4.js → observers-c043dfde.js} +1 -1
  762. package/dist/esm-es5/{popper-a82fb77f.js → popper-9e47c507.js} +2 -2
  763. package/dist/esm-es5/{resources-2c1bd7f0.js → resources-b1f9839b.js} +2 -2
  764. package/dist/esm-es5/{resources-c44164b3.js → resources-d0de1957.js} +1 -1
  765. package/dist/esm-es5/{resources-49e5176e.js → resources-e19f744d.js} +2 -2
  766. package/dist/esm-es5/{resources-02b77e63.js → resources-f31766b3.js} +1 -1
  767. package/dist/esm-es5/{sortable.esm-2c1502f9.js → sortable.esm-17b433d7.js} +1 -1
  768. package/dist/esm-es5/{utils-2fba47db.js → utils-9b274fcf.js} +1 -1
  769. package/dist/extras/docs-json.json +27 -9
  770. package/dist/loader/cdn.js +1 -1
  771. package/dist/loader/index.cjs.js +1 -1
  772. package/dist/loader/index.es2017.js +1 -1
  773. package/dist/loader/index.js +1 -1
  774. package/dist/types/components/alert/alert.d.ts +18 -6
  775. package/dist/types/components/combobox/combobox.d.ts +2 -2
  776. package/dist/types/components/dropdown/dropdown.d.ts +14 -4
  777. package/dist/types/components/dropdown/resources.d.ts +3 -0
  778. package/dist/types/components.d.ts +20 -12
  779. package/dist/types/preact.d.ts +3 -1
  780. package/dist/types/utils/dom.d.ts +0 -8
  781. package/hydrate/index.js +44 -50
  782. package/package.json +3 -3
  783. package/dist/calcite/p-09f17e1a.js +0 -6
  784. package/dist/calcite/p-1cb30534.entry.js +0 -6
  785. package/dist/calcite/p-294fec7c.entry.js +0 -6
  786. package/dist/calcite/p-35921e9d.system.js +0 -6
  787. package/dist/calcite/p-6d4b9f85.system.entry.js +0 -6
  788. package/dist/calcite/p-7b41b466.entry.js +0 -6
  789. package/dist/calcite/p-86d513d5.js +0 -6
  790. package/dist/calcite/p-9e9e03db.entry.js +0 -6
  791. package/dist/calcite/p-a26699dd.entry.js +0 -6
  792. package/dist/calcite/p-b88ea9a9.entry.js +0 -6
  793. package/dist/calcite/p-bd5ec28b.js +0 -6
  794. package/dist/calcite/p-ca729c64.entry.js +0 -6
  795. package/dist/esm-es5/Heading-d8a27bcf.js +0 -6
  796. package/dist/esm-es5/dom-4984236e.js +0 -6
@@ -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.500
4
+ * v1.0.0-next.501
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.500
4
+ * v1.0.0-next.501
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.500
4
+ * v1.0.0-next.501
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.500
4
+ * v1.0.0-next.501
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';
@@ -44,10 +44,22 @@ export declare class Alert {
44
44
  componentWillLoad(): void;
45
45
  disconnectedCallback(): void;
46
46
  render(): VNode;
47
- calciteAlertBeforeClose: EventEmitter;
48
- calciteAlertClose: EventEmitter;
49
- calciteAlertBeforeOpen: EventEmitter;
50
- calciteAlertOpen: EventEmitter;
47
+ calciteAlertBeforeClose: EventEmitter<{
48
+ el: HTMLCalciteAlertElement;
49
+ queue: HTMLCalciteAlertElement[];
50
+ }>;
51
+ calciteAlertClose: EventEmitter<{
52
+ el: HTMLCalciteAlertElement;
53
+ queue: HTMLCalciteAlertElement[];
54
+ }>;
55
+ calciteAlertBeforeOpen: EventEmitter<{
56
+ el: HTMLCalciteAlertElement;
57
+ queue: HTMLCalciteAlertElement[];
58
+ }>;
59
+ calciteAlertOpen: EventEmitter<{
60
+ el: HTMLCalciteAlertElement;
61
+ queue: HTMLCalciteAlertElement[];
62
+ }>;
51
63
  /**
52
64
  * Fires to sync queue when opened or closed.
53
65
  *
@@ -84,9 +96,9 @@ export declare class Alert {
84
96
  private determineActiveAlert;
85
97
  /** close and emit calciteInternalAlertSync event with the updated queue payload */
86
98
  private closeAlert;
87
- onTransitionRun: (event: TransitionEvent) => void;
99
+ transitionRunHandler: (event: TransitionEvent) => void;
88
100
  transitionEnd: (event: TransitionEvent) => void;
89
101
  /** remove queued class after animation completes */
90
102
  private openAlert;
91
- private openCloseEventEmitter;
103
+ private emitOpenCloseEvent;
92
104
  }
@@ -143,8 +143,8 @@ export declare class Combobox implements LabelableComponent, FormComponent, Inte
143
143
  private toggleCloseEnd;
144
144
  private toggleOpenEnd;
145
145
  transitionEnd: (event: TransitionEvent) => void;
146
- onTransitionRun: (event: TransitionEvent) => void;
147
- private openCloseEventEmitter;
146
+ transitionRunHandler: (event: TransitionEvent) => void;
147
+ private emitOpenCloseEvent;
148
148
  setMaxScrollerHeight: () => void;
149
149
  calciteChipDismissHandler: (event: CustomEvent<HTMLCalciteChipElement>, comboboxItem: HTMLCalciteComboboxItemElement) => void;
150
150
  clickHandler: (event: MouseEvent) => void;
@@ -62,10 +62,18 @@ export declare class Dropdown implements InteractiveComponent {
62
62
  reposition(): Promise<void>;
63
63
  /** fires when a dropdown item has been selected or deselected */
64
64
  calciteDropdownSelect: EventEmitter<void>;
65
- /** fires when a dropdown has been opened */
66
- calciteDropdownOpen: EventEmitter<void>;
67
- /** fires when a dropdown has been closed */
68
- calciteDropdownClose: EventEmitter<void>;
65
+ calciteDropdownBeforeOpen: EventEmitter<{
66
+ el: HTMLCalciteDropdownElement;
67
+ }>;
68
+ calciteDropdownOpen: EventEmitter<{
69
+ el: HTMLCalciteDropdownElement;
70
+ }>;
71
+ calciteDropdownBeforeClose: EventEmitter<{
72
+ el: HTMLCalciteDropdownElement;
73
+ }>;
74
+ calciteDropdownClose: EventEmitter<{
75
+ el: HTMLCalciteDropdownElement;
76
+ }>;
69
77
  closeCalciteDropdownOnClick(e: Event): void;
70
78
  closeCalciteDropdownOnEvent(e: Event): void;
71
79
  closeCalciteDropdownOnOpenEvent(e: Event): void;
@@ -94,6 +102,8 @@ export declare class Dropdown implements InteractiveComponent {
94
102
  setMaxScrollerHeight: () => void;
95
103
  setScrollerEl: (scrollerEl: HTMLDivElement) => void;
96
104
  transitionEnd: (event: TransitionEvent) => void;
105
+ transitionRunHandler: (event: TransitionEvent) => void;
106
+ private emitOpenCloseEvent;
97
107
  setReferenceEl: (el: HTMLDivElement) => void;
98
108
  setMenuEl: (el: HTMLDivElement) => void;
99
109
  getModifiers(): Partial<StrictModifiers>[];
@@ -1,3 +1,6 @@
1
1
  export declare const SLOTS: {
2
2
  dropdownTrigger: string;
3
3
  };
4
+ export declare const CSS: {
5
+ calciteDropdownContent: string;
6
+ };
@@ -4764,10 +4764,22 @@ declare namespace LocalJSX {
4764
4764
  * Specifies an accessible name for the component.
4765
4765
  */
4766
4766
  "label": string;
4767
- "onCalciteAlertBeforeClose"?: (event: CalciteAlertCustomEvent<any>) => void;
4768
- "onCalciteAlertBeforeOpen"?: (event: CalciteAlertCustomEvent<any>) => void;
4769
- "onCalciteAlertClose"?: (event: CalciteAlertCustomEvent<any>) => void;
4770
- "onCalciteAlertOpen"?: (event: CalciteAlertCustomEvent<any>) => void;
4767
+ "onCalciteAlertBeforeClose"?: (event: CalciteAlertCustomEvent<{
4768
+ el: HTMLCalciteAlertElement;
4769
+ queue: HTMLCalciteAlertElement[];
4770
+ }>) => void;
4771
+ "onCalciteAlertBeforeOpen"?: (event: CalciteAlertCustomEvent<{
4772
+ el: HTMLCalciteAlertElement;
4773
+ queue: HTMLCalciteAlertElement[];
4774
+ }>) => void;
4775
+ "onCalciteAlertClose"?: (event: CalciteAlertCustomEvent<{
4776
+ el: HTMLCalciteAlertElement;
4777
+ queue: HTMLCalciteAlertElement[];
4778
+ }>) => void;
4779
+ "onCalciteAlertOpen"?: (event: CalciteAlertCustomEvent<{
4780
+ el: HTMLCalciteAlertElement;
4781
+ queue: HTMLCalciteAlertElement[];
4782
+ }>) => void;
4771
4783
  /**
4772
4784
  * Specifies the placement of the component
4773
4785
  */
@@ -5683,14 +5695,10 @@ declare namespace LocalJSX {
5683
5695
  * specify the maximum number of calcite-dropdown-items to display before showing the scroller, must be greater than 0 - this value does not include groupTitles passed to calcite-dropdown-group
5684
5696
  */
5685
5697
  "maxItems"?: number;
5686
- /**
5687
- * fires when a dropdown has been closed
5688
- */
5689
- "onCalciteDropdownClose"?: (event: CalciteDropdownCustomEvent<void>) => void;
5690
- /**
5691
- * fires when a dropdown has been opened
5692
- */
5693
- "onCalciteDropdownOpen"?: (event: CalciteDropdownCustomEvent<void>) => void;
5698
+ "onCalciteDropdownBeforeClose"?: (event: CalciteDropdownCustomEvent<{ el: HTMLCalciteDropdownElement }>) => void;
5699
+ "onCalciteDropdownBeforeOpen"?: (event: CalciteDropdownCustomEvent<{ el: HTMLCalciteDropdownElement }>) => void;
5700
+ "onCalciteDropdownClose"?: (event: CalciteDropdownCustomEvent<{ el: HTMLCalciteDropdownElement }>) => void;
5701
+ "onCalciteDropdownOpen"?: (event: CalciteDropdownCustomEvent<{ el: HTMLCalciteDropdownElement }>) => void;
5694
5702
  /**
5695
5703
  * fires when a dropdown item has been selected or deselected
5696
5704
  */
@@ -119,9 +119,11 @@ declare module "preact/src/jsx" {
119
119
  "oncalciteDatePickerSelect"?: (event: CustomEvent<any>) => void;
120
120
  }
121
121
 
122
- "calcite-dropdown": Omit<JSX.CalciteDropdown, "onCalciteDropdownSelect" | "onCalciteDropdownOpen" | "onCalciteDropdownClose"> & JSXInternal.HTMLAttributes<HTMLCalciteDropdownElement> & {
122
+ "calcite-dropdown": Omit<JSX.CalciteDropdown, "onCalciteDropdownSelect" | "onCalciteDropdownBeforeOpen" | "onCalciteDropdownOpen" | "onCalciteDropdownBeforeClose" | "onCalciteDropdownClose"> & JSXInternal.HTMLAttributes<HTMLCalciteDropdownElement> & {
123
123
  "oncalciteDropdownSelect"?: (event: CustomEvent<any>) => void;
124
+ "oncalciteDropdownBeforeOpen"?: (event: CustomEvent<any>) => void;
124
125
  "oncalciteDropdownOpen"?: (event: CustomEvent<any>) => void;
126
+ "oncalciteDropdownBeforeClose"?: (event: CustomEvent<any>) => void;
125
127
  "oncalciteDropdownClose"?: (event: CustomEvent<any>) => void;
126
128
  }
127
129
 
@@ -14,14 +14,6 @@ export declare function getElementDir(el: HTMLElement): Direction;
14
14
  export declare function getElementProp(el: Element, prop: string, fallbackValue: any): any;
15
15
  export declare function getRootNode(el: Element): Document | ShadowRoot;
16
16
  export declare function getHost(root: Document | ShadowRoot): Element | null;
17
- /**
18
- * This helper queries an element's rootNodes and any ancestor rootNodes.
19
- *
20
- * @param element
21
- * @param selector
22
- * @returns {Element[]} The elements.
23
- */
24
- export declare function queryElementsRoots<T extends Element = Element>(element: Element, selector: string): T[];
25
17
  /**
26
18
  * This helper queries an element's rootNode and any ancestor rootNodes.
27
19
  *
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.500
4
+ * v1.0.0-next.501
5
5
  */
6
6
  'use strict';
7
7
 
@@ -5924,32 +5924,6 @@ function getRootNode(el) {
5924
5924
  function getHost(root) {
5925
5925
  return root.host || null;
5926
5926
  }
5927
- /**
5928
- * This helper queries an element's rootNodes and any ancestor rootNodes.
5929
- *
5930
- * @param element
5931
- * @param selector
5932
- * @returns {Element[]} The elements.
5933
- */
5934
- function queryElementsRoots(element, selector) {
5935
- // Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
5936
- // Based on: https://stackoverflow.com/q/54520554/194216
5937
- function queryFromAll(el, allResults) {
5938
- if (!el) {
5939
- return allResults;
5940
- }
5941
- if (el.assignedSlot) {
5942
- el = el.assignedSlot;
5943
- }
5944
- const rootNode = getRootNode(el);
5945
- const results = Array.from(rootNode.querySelectorAll(selector));
5946
- const uniqueResults = results.filter((result) => !allResults.includes(result));
5947
- allResults = [...allResults, ...uniqueResults];
5948
- const host = getHost(rootNode);
5949
- return host ? queryFromAll(host, allResults) : allResults;
5950
- }
5951
- return queryFromAll(element, []);
5952
- }
5953
5927
  /**
5954
5928
  * This helper queries an element's rootNode and any ancestor rootNodes.
5955
5929
  *
@@ -8661,7 +8635,7 @@ class Alert {
8661
8635
  this.queued = false;
8662
8636
  this.setContainerDiv = (el) => {
8663
8637
  this.containerDiv = el;
8664
- this.containerDiv.addEventListener("transitionrun", this.onTransitionRun);
8638
+ this.containerDiv.addEventListener("transitionrun", this.transitionRunHandler);
8665
8639
  };
8666
8640
  this.autoDismissTimeoutId = null;
8667
8641
  this.trackTimer = Date.now();
@@ -8679,16 +8653,14 @@ class Alert {
8679
8653
  - `transitionrun` fires when the transition is created at the start of any delay and is not cancellable once started.
8680
8654
  - if there is no transition delay, both `transitionrun` and `transitionstart` are fired at the same time.
8681
8655
  */
8682
- this.onTransitionRun = (event) => {
8656
+ this.transitionRunHandler = (event) => {
8683
8657
  if (event.propertyName === this.activeTransitionProp) {
8684
- this.active
8685
- ? this.openCloseEventEmitter("beforeOpening")
8686
- : this.openCloseEventEmitter("beforeClosing");
8658
+ this.active ? this.emitOpenCloseEvent("beforeOpen") : this.emitOpenCloseEvent("beforeClose");
8687
8659
  }
8688
8660
  };
8689
8661
  this.transitionEnd = (event) => {
8690
8662
  if (event.propertyName === this.activeTransitionProp) {
8691
- this.active ? this.openCloseEventEmitter("isOpen") : this.openCloseEventEmitter("isClosed");
8663
+ this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
8692
8664
  }
8693
8665
  };
8694
8666
  }
@@ -8726,7 +8698,7 @@ class Alert {
8726
8698
  disconnectedCallback() {
8727
8699
  window.clearTimeout(this.autoDismissTimeoutId);
8728
8700
  if (this.containerDiv) {
8729
- this.containerDiv.removeEventListener("transitionrun", this.onTransitionRun);
8701
+ this.containerDiv.removeEventListener("transitionrun", this.transitionRunHandler);
8730
8702
  }
8731
8703
  }
8732
8704
  render() {
@@ -8802,16 +8774,16 @@ class Alert {
8802
8774
  window.clearTimeout(this.queueTimeout);
8803
8775
  this.queueTimeout = window.setTimeout(() => (this.queued = false), 300);
8804
8776
  }
8805
- openCloseEventEmitter(componentVisibilityState) {
8777
+ emitOpenCloseEvent(componentVisibilityState) {
8806
8778
  const payload = {
8807
8779
  el: this.el,
8808
8780
  queue: this.queue
8809
8781
  };
8810
8782
  const emitComponentState = {
8811
- beforeOpening: () => this.calciteAlertBeforeOpen.emit(payload),
8812
- isOpen: () => this.calciteAlertOpen.emit(payload),
8813
- beforeClosing: () => this.calciteAlertBeforeClose.emit(payload),
8814
- isClosed: () => this.calciteAlertClose.emit(payload)
8783
+ beforeOpen: () => this.calciteAlertBeforeOpen.emit(payload),
8784
+ open: () => this.calciteAlertOpen.emit(payload),
8785
+ beforeClose: () => this.calciteAlertBeforeClose.emit(payload),
8786
+ close: () => this.calciteAlertClose.emit(payload)
8815
8787
  };
8816
8788
  (emitComponentState[componentVisibilityState] ||
8817
8789
  emitComponentState["The component state is unknown."])();
@@ -15863,18 +15835,16 @@ class Combobox {
15863
15835
  };
15864
15836
  this.transitionEnd = (event) => {
15865
15837
  if (event.propertyName === this.activeTransitionProp) {
15866
- this.active ? this.openCloseEventEmitter("open") : this.openCloseEventEmitter("close");
15838
+ this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
15867
15839
  }
15868
15840
  };
15869
15841
  /* *
15870
15842
  - `transitionrun` fires when the transition is created at the start of any delay and is not cancellable once started.
15871
15843
  - if there is no transition delay, both `transitionrun` and `transitionstart` are fired at the same time.
15872
15844
  */
15873
- this.onTransitionRun = (event) => {
15845
+ this.transitionRunHandler = (event) => {
15874
15846
  if (event.propertyName === this.activeTransitionProp) {
15875
- this.active
15876
- ? this.openCloseEventEmitter("beforeOpen")
15877
- : this.openCloseEventEmitter("beforeClose");
15847
+ this.active ? this.emitOpenCloseEvent("beforeOpen") : this.emitOpenCloseEvent("beforeClose");
15878
15848
  }
15879
15849
  };
15880
15850
  this.setMaxScrollerHeight = () => {
@@ -15927,7 +15897,7 @@ class Combobox {
15927
15897
  this.setListContainerEl = (el) => {
15928
15898
  this.resizeObserver.observe(el);
15929
15899
  this.listContainerEl = el;
15930
- this.listContainerEl.addEventListener("transitionrun", this.onTransitionRun);
15900
+ this.listContainerEl.addEventListener("transitionrun", this.transitionRunHandler);
15931
15901
  };
15932
15902
  this.setReferenceEl = (el) => {
15933
15903
  this.referenceEl = el;
@@ -16120,7 +16090,7 @@ class Combobox {
16120
16090
  disconnectLabel(this);
16121
16091
  disconnectForm(this);
16122
16092
  if (this.listContainerEl) {
16123
- this.listContainerEl.removeEventListener("transitionrun", this.onTransitionRun);
16093
+ this.listContainerEl.removeEventListener("transitionrun", this.transitionRunHandler);
16124
16094
  }
16125
16095
  }
16126
16096
  selectedItemsHandler() {
@@ -16139,7 +16109,7 @@ class Combobox {
16139
16109
  bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&
16140
16110
  bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));
16141
16111
  }
16142
- openCloseEventEmitter(componentVisibilityState) {
16112
+ emitOpenCloseEvent(componentVisibilityState) {
16143
16113
  const payload = {
16144
16114
  el: this.el
16145
16115
  };
@@ -18151,7 +18121,9 @@ class Dropdown {
18151
18121
  constructor(hostRef) {
18152
18122
  registerInstance(this, hostRef);
18153
18123
  this.calciteDropdownSelect = createEvent(this, "calciteDropdownSelect", 7);
18124
+ this.calciteDropdownBeforeOpen = createEvent(this, "calciteDropdownBeforeOpen", 7);
18154
18125
  this.calciteDropdownOpen = createEvent(this, "calciteDropdownOpen", 7);
18126
+ this.calciteDropdownBeforeClose = createEvent(this, "calciteDropdownBeforeClose", 7);
18155
18127
  this.calciteDropdownClose = createEvent(this, "calciteDropdownClose", 7);
18156
18128
  //--------------------------------------------------------------------------
18157
18129
  //
@@ -18258,10 +18230,16 @@ class Dropdown {
18258
18230
  this.setScrollerEl = (scrollerEl) => {
18259
18231
  this.resizeObserver.observe(scrollerEl);
18260
18232
  this.scrollerEl = scrollerEl;
18233
+ this.scrollerEl.addEventListener("transitionrun", this.transitionRunHandler);
18261
18234
  };
18262
18235
  this.transitionEnd = (event) => {
18263
18236
  if (event.propertyName === this.activeTransitionProp) {
18264
- this.active ? this.calciteDropdownOpen.emit() : this.calciteDropdownClose.emit();
18237
+ this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
18238
+ }
18239
+ };
18240
+ this.transitionRunHandler = (event) => {
18241
+ if (event.propertyName === this.activeTransitionProp) {
18242
+ this.active ? this.emitOpenCloseEvent("beforeOpen") : this.emitOpenCloseEvent("beforeClose");
18265
18243
  }
18266
18244
  };
18267
18245
  this.setReferenceEl = (el) => {
@@ -18348,6 +18326,9 @@ class Dropdown {
18348
18326
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
18349
18327
  (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
18350
18328
  this.destroyPopper();
18329
+ if (this.scrollerEl) {
18330
+ this.scrollerEl.removeEventListener("transitionrun", this.transitionRunHandler);
18331
+ }
18351
18332
  }
18352
18333
  render() {
18353
18334
  const { active } = this;
@@ -18448,6 +18429,19 @@ class Dropdown {
18448
18429
  }
18449
18430
  event.stopPropagation();
18450
18431
  }
18432
+ emitOpenCloseEvent(componentVisibilityState) {
18433
+ const payload = {
18434
+ el: this.el
18435
+ };
18436
+ const emitComponentState = {
18437
+ beforeOpen: () => this.calciteDropdownBeforeOpen.emit(payload),
18438
+ open: () => this.calciteDropdownOpen.emit(payload),
18439
+ beforeClose: () => this.calciteDropdownBeforeClose.emit(payload),
18440
+ close: () => this.calciteDropdownClose.emit(payload)
18441
+ };
18442
+ (emitComponentState[componentVisibilityState] ||
18443
+ emitComponentState["The component state is unknown."])();
18444
+ }
18451
18445
  getModifiers() {
18452
18446
  const flipModifier = {
18453
18447
  name: "flip",
@@ -24129,7 +24123,7 @@ class PopoverManager$1 {
24129
24123
  // Private Properties
24130
24124
  //
24131
24125
  // --------------------------------------------------------------------------
24132
- this.registeredElements = new WeakMap();
24126
+ this.registeredElements = new Map();
24133
24127
  this.registeredElementCount = 0;
24134
24128
  // --------------------------------------------------------------------------
24135
24129
  //
@@ -24148,7 +24142,7 @@ class PopoverManager$1 {
24148
24142
  popover.toggle();
24149
24143
  return;
24150
24144
  }
24151
- queryElementsRoots(event.target, "calcite-popover")
24145
+ Array.from(this.registeredElements.values())
24152
24146
  .filter((popover) => popover.autoClose && popover.open && !composedPath.includes(popover))
24153
24147
  .forEach((popover) => popover.toggle(false));
24154
24148
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.500",
3
+ "version": "1.0.0-next.501",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -87,7 +87,7 @@
87
87
  "@types/dedent": "0.7.0",
88
88
  "@types/git-semver-tags": "4.1.1",
89
89
  "@types/jest": "26.0.21",
90
- "@types/jest-axe": "3.5.3",
90
+ "@types/jest-axe": "3.5.4",
91
91
  "@types/lodash-es": "4.17.6",
92
92
  "@types/pify": "5.0.1",
93
93
  "@types/rimraf": "3.0.2",
@@ -112,7 +112,7 @@
112
112
  "eslint": "8.18.0",
113
113
  "eslint-config-prettier": "8.5.0",
114
114
  "eslint-plugin-jest": "26.5.3",
115
- "eslint-plugin-jsdoc": "39.3.2",
115
+ "eslint-plugin-jsdoc": "39.3.3",
116
116
  "eslint-plugin-prettier": "4.0.0",
117
117
  "eslint-plugin-react": "7.30.0",
118
118
  "eslint-plugin-unicorn": "42.0.0",
@@ -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.500
5
- */
6
- import{f as t}from"./p-9c732aa9.js";import{c as o}from"./p-a5ad91d2.js";const n=new Set;let a;const c={childList:!0};function s(t){a||(a=o("mutation",i)),a.observe(t.el,c)}function f(t){n.delete(t.el),i(a.takeRecords()),a.disconnect();for(const[t]of n.entries())a.observe(t,c)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,f as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.500
5
- */
6
- import{r as t,c as i,h as e,H as n,g as a}from"./p-9c732aa9.js";import{t as r,f as o,d as s}from"./p-bd5ec28b.js";import{d as c,f as l,C as m,u as d,c as p,p as h}from"./p-d52c8379.js";import{c as w}from"./p-a5ad91d2.js";import{u as f}from"./p-63468c52.js";import"./p-24b76f43.js";const b=class{constructor(e){t(this,e),this.calciteDropdownSelect=i(this,"calciteDropdownSelect",7),this.calciteDropdownOpen=i(this,"calciteDropdownOpen",7),this.calciteDropdownClose=i(this,"calciteDropdownClose",7),this.active=!1,this.disableCloseOnSelect=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.placement=c,this.scale="m",this.selectedItems=[],this.type="click",this.items=[],this.groups=[],this.activeTransitionProp="visibility",this.mutationObserver=w("mutation",(()=>this.updateItems())),this.resizeObserver=w("resize",(t=>this.resizeObserverCallback(t))),this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?l(i,t):null},this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:!0}),this.reposition()},this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(null==t?void 0:t.querySelectorAll("calcite-dropdown-item")))).reduce(((t,i)=>[...t,...i]),[]),this.updateSelectedItems(),this.reposition()},this.updateGroups=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-dropdown-group")));this.groups=i,this.updateItems()},this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:i}=t;i===this.referenceEl?this.setDropdownWidth():i===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:i}=this,e=null==t?void 0:t.clientWidth;e&&i&&(i.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{active:t,scrollerEl:i}=this;if(!i||!t)return;this.reposition();const e=this.getMaxScrollerHeight();i.style.maxHeight=e>0?`${e}px`:"",this.reposition()},this.setScrollerEl=t=>{this.resizeObserver.observe(t),this.scrollerEl=t},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.active?this.calciteDropdownOpen.emit():this.calciteDropdownClose.emit())},this.setReferenceEl=t=>{this.referenceEl=t,this.resizeObserver.observe(t)},this.setMenuEl=t=>{this.menuEl=t},this.keyDownHandler=t=>{if(t.target!==this.referenceEl)return;const i=t.key;if(this.active&&("Escape"===i||t.shiftKey&&"Tab"===i))this.closeCalciteDropdown();else switch(i){case" ":case"Enter":this.openCalciteDropdown();break;case"Escape":this.closeCalciteDropdown()}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((t=>t.active))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.active=!this.active,this.active&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)}}activeHandler(){this.disabled?this.active=!1:this.reposition()}handleDisabledChange(t){t||(this.active=!1)}flipPlacementsHandler(){this.setFilteredPlacements()}maxItemsHandler(){this.setMaxScrollerHeight()}placementHandler(){this.reposition()}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.createPopper(),this.setFilteredPlacements()}componentDidLoad(){this.reposition()}componentDidRender(){f(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),this.destroyPopper()}render(){const{active:t}=this;return e(n,null,e("div",{class:"calcite-dropdown-trigger-container",onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},e("slot",{"aria-expanded":r(t),"aria-haspopup":"true",name:"dropdown-trigger",onSlotchange:this.updateTriggers})),e("div",{"aria-hidden":r(!t),class:"calcite-dropdown-wrapper",ref:this.setMenuEl},e("div",{class:{"calcite-dropdown-content":!0,[m.animation]:!0,[m.animationActive]:t},onTransitionEnd:this.transitionEnd,ref:this.setScrollerEl},e("div",{hidden:!this.active},e("slot",{onSlotchange:this.updateGroups})))))}async reposition(){const{popper:t,menuEl:i,placement:e}=this,n=this.getModifiers();t?await d({el:i,modifiers:n,placement:e,popper:t}):this.createPopper()}closeCalciteDropdownOnClick(t){this.active&&!t.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown(),t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){t.composedPath().includes(this.el)||(this.active=!1)}mouseEnterHandler(){"hover"===this.type&&this.openCalciteDropdown()}mouseLeaveHandler(){"hover"===this.type&&this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:i}=t.detail,e=i.target,n="A"!==e.nodeName?e:e.parentNode,a=0===this.itemIndex(n),r=this.itemIndex(n)===this.items.length-1;switch(i.key){case"Tab":r&&!i.shiftKey||a&&i.shiftKey?this.closeCalciteDropdown():i.shiftKey?this.focusPrevItem(n):this.focusNextItem(n);break;case"ArrowDown":this.focusNextItem(n);break;case"ArrowUp":this.focusPrevItem(n);break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem()}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit(),this.disableCloseOnSelect&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),t.stopPropagation()}getModifiers(){const t={name:"flip",enabled:!0};return t.options={fallbackPlacements:this.filteredFlipPlacements||h},[t,{name:"eventListeners",enabled:this.active}]}createPopper(){this.destroyPopper();const{menuEl:t,referenceEl:i,placement:e,overlayPositioning:n}=this,a=this.getModifiers();this.popper=p({el:t,modifiers:a,overlayPositioning:n,placement:e,referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.active))}getMaxScrollerHeight(){const{maxItems:t}=this;let i,e=0,n=0;return this.groups.forEach((a=>{t>0&&e<t&&Array.from(a.children).forEach(((a,r)=>{0===r&&(isNaN(i)&&(i=a.offsetTop),n+=i),e<t&&(n+=a.offsetHeight,e+=1)}))})),n}closeCalciteDropdown(t=!0){this.active=!1,t&&o(this.triggers[0])}focusFirstItem(){this.getFocusableElement(this.items[0])}focusLastItem(){this.getFocusableElement(this.items[this.items.length-1])}focusNextItem(t){const i=this.itemIndex(t);this.getFocusableElement(this.items[i+1]||this.items[0])}focusPrevItem(t){const i=this.itemIndex(t);this.getFocusableElement(this.items[i-1]||this.items[this.items.length-1])}itemIndex(t){return this.items.indexOf(t)}getFocusableElement(t){if(!t)return;const i=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;o(i)}get el(){return a(this)}static get watchers(){return{active:["activeHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],placement:["placementHandler"]}}};b.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;-ms-flex:0 1 auto;flex:0 1 auto}: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]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-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}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";const k=class{constructor(e){t(this,e),this.calciteInternalDropdownItemChange=i(this,"calciteInternalDropdownItemChange",7),this.selectionMode="single"}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const t=this.scale||s(this.el,"scale","m"),i=this.groupTitle?e("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,a=this.groupPosition>0?e("div",{class:"dropdown-separator",role:"separator"}):null;return e(n,{role:"menu"},e("div",{class:{container:!0,"container--s":"s"===t,"container--m":"m"===t,"container--l":"l"===t},title:this.groupTitle},a,i,e("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}get el(){return a(this)}};k.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}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-bottom:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;height:1px;background-color:var(--calcite-ui-border-3)}";const u=class{constructor(e){t(this,e),this.calciteInternalDropdownItemSelect=i(this,"calciteInternalDropdownItemSelect",7),this.calciteInternalDropdownItemKeyEvent=i(this,"calciteInternalDropdownItemKeyEvent",7),this.calciteInternalDropdownCloseRequest=i(this,"calciteInternalDropdownCloseRequest",7),this.active=!1}async setFocus(){var t;null===(t=this.el)||void 0===t||t.focus()}componentWillLoad(){this.initialize()}connectedCallback(){this.initialize()}render(){const t=s(this.el,"scale","m"),i=e("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),a=e("span",{class:"dropdown-item-content"},e("slot",null)),o=e("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),c=this.iconStart&&this.iconEnd?[i,a,o]:this.iconStart?[i,e("slot",null)]:this.iconEnd?[a,o]:a,l=this.href?e("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:t=>this.childLink=t,rel:this.rel,target:this.target},c):c,m=this.href?null:"single"===this.selectionMode?"menuitemradio":"multi"===this.selectionMode?"menuitemcheckbox":"menuitem",d="none"!==this.selectionMode?r(this.active):null;return e(n,{"aria-checked":d,role:m,tabindex:"0"},e("div",{class:{container:!0,"container--link":!!this.href,"container--s":"s"===t,"container--m":"m"===t,"container--l":"l"===t,"container--multi-selection":"multi"===this.selectionMode,"container--single-selection":"single"===this.selectionMode,"container--none-selection":"none"===this.selectionMode}},"none"!==this.selectionMode?e("calcite-icon",{class:"dropdown-item-icon",icon:"multi"===this.selectionMode?"check":"bullet-point",scale:"s"}):null,l))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t})}}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem()),t.stopPropagation()}initialize(){this.selectionMode=s(this.el,"selection-mode","single"),this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.active=!1)}determineActiveItem(){switch(this.selectionMode){case"multi":this.el===this.requestedDropdownItem&&(this.active=!this.active);break;case"single":this.el===this.requestedDropdownItem?this.active=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.active=!1);break;case"none":this.active=!1}}emitRequestedItem(){this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return a(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}.container--s{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";export{b as calcite_dropdown,k as calcite_dropdown_group,u as calcite_dropdown_item}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.500
5
- */
6
- import{r as t,c as i,h as a,H as e,g as n}from"./p-9c732aa9.js";import{f as r,t as o}from"./p-bd5ec28b.js";import{c as s,d as c,g as l}from"./p-454d8127.js";import{c as d,d as m,H as h}from"./p-25882dfa.js";import{u as p}from"./p-63468c52.js";import"./p-24b76f43.js";const b=class{constructor(a){t(this,a),this.calciteSwitchChange=i(this,"calciteSwitchChange",7),this.disabled=!1,this.scale="m",this.switched=!1,this.checked=!1,this.keyDownHandler=t=>{const i=t.key;this.disabled||" "!==i&&"Enter"!==i||(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.toggle()},this.setSwitchEl=t=>{this.switchEl=t}}switchedWatcher(t){this.checked=t}async setFocus(){r(this.switchEl)}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit({switched:this.checked})}connectedCallback(){const t=this.checked||this.switched;t&&(this.switched=this.checked=t),s(this),d(this)}disconnectedCallback(){c(this),m(this)}componentDidRender(){p(this)}render(){return a(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},a("div",{"aria-checked":o(this.checked),"aria-label":l(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},a("div",{class:"track"},a("div",{class:"handle"})),a(h,{component:this})))}get el(){return n(this)}static get watchers(){return{switched:["switchedWatcher"]}}};b.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([scale=s]) .container{height:0.75rem}:host([scale=s]) .track{height:0.75rem;width:1.5rem}:host([scale=s]) .handle{height:0.5rem;width:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{height:1rem;width:2rem}:host([scale=m]) .handle{height:0.75rem;width:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{height:1.5rem;width:3rem}:host([scale=l]) .handle{height:1.25rem;width:1.25rem}:host{position:relative;display:inline-block;width:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}: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]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{width:auto;outline-color:transparent}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-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)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);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);top:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::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{b as calcite_switch}
@@ -1,6 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(r,t,e,n){function o(r){return r instanceof e?r:new e((function(t){t(r)}))}return new(e||(e=Promise))((function(e,i){function u(r){try{l(n.next(r))}catch(r){i(r)}}function a(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?e(r.value):o(r.value).then(u,a)}l((n=n.apply(r,t||[])).next())}))};var __generator=this&&this.__generator||function(r,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(r){return function(t){return l([r,t])}}function l(u){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;o=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1];i=u;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(u);break}if(i[2])e.ops.pop();e.trys.pop();continue}u=t.call(r,e)}catch(r){u=[6,r];o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return r.concat(i||Array.prototype.slice.call(t))};
2
- /*!
3
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.500
6
- */System.register(["./p-a092a0ea.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.g}],execute:function(){r({a:f,b:c,c:m,d:s,e:a,f:g,g:_,h:h,i:p,j:T,k:k,n:l,q:y,s:q,t:x});var e="calcite-theme-auto";var n="calcite-theme-dark";var o="calcite-theme-light";var i=r("C",{autoTheme:e,darkTheme:n,lightTheme:o,rtl:"calcite--rtl"});var u=r("T",{loading:"Loading"});function a(r){if(!r){return""}return r.id=r.id||"".concat(r.tagName.toLowerCase(),"-").concat(t())}function l(r){return Array.isArray(r)?r:Array.from(r)}function c(r){var t=m(r,".".concat(i.darkTheme,", .").concat(i.lightTheme));return(t===null||t===void 0?void 0:t.classList.contains("calcite-theme-dark"))?"dark":"light"}function f(r){var t="dir";var e="[".concat(t,"]");var n=m(r,e);return n?n.getAttribute(t):"ltr"}function s(r,t,e){var n="[".concat(t,"]");var o=r.closest(n);return o?o.getAttribute(t):e}function d(r){return r.getRootNode()}function v(r){return r.host||null}function h(r,t){function e(r,n){if(!r){return n}if(r.assignedSlot){r=r.assignedSlot}var o=d(r);var i=Array.from(o.querySelectorAll(t));var u=i.filter((function(r){return!n.includes(r)}));n=__spreadArray(__spreadArray([],n,true),u,true);var a=v(o);return a?e(a,n):n}return e(r,[])}function y(r,t){var e=t.selector,n=t.id;function o(r){if(!r){return null}if(r.assignedSlot){r=r.assignedSlot}var t=d(r);var i=n?"getElementById"in t?t.getElementById(n):null:e?t.querySelector(e):null;var u=v(t);return i?i:u?o(u):null}return o(r)}function m(r,t){function e(r){return r?r.closest(t)||e(v(d(r))):null}return e(r)}function p(r){return typeof(r===null||r===void 0?void 0:r.setFocus)==="function"}function g(r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!r){return[2]}return[2,p(r)?r.setFocus():r.focus()]}))}))}var A=":not([slot])";function _(r,t,e){if(t&&!Array.isArray(t)&&typeof t!=="string"){e=t;t=null}var n=t?Array.isArray(t)?t.map((function(r){return'[slot="'.concat(r,'"]')})).join(","):'[slot="'.concat(t,'"]'):A;if(e===null||e===void 0?void 0:e.all){return w(r,n,e)}return S(r,n,e)}function b(r,t){return r?Array.from(r.children||[]).filter((function(r){return r===null||r===void 0?void 0:r.matches(t)})):[]}function w(r,t,e){var n=t===A?b(r,A):Array.from(r.querySelectorAll(t));n=e&&e.direct===false?n:n.filter((function(t){return t.parentElement===r}));n=(e===null||e===void 0?void 0:e.matches)?n.filter((function(r){return r===null||r===void 0?void 0:r.matches(e.matches)})):n;var o=e===null||e===void 0?void 0:e.selector;return o?n.map((function(r){return Array.from(r.querySelectorAll(o))})).reduce((function(r,t){return __spreadArray(__spreadArray([],r,true),t,true)}),[]).filter((function(r){return!!r})):n}function S(r,t,e){var n=t===A?b(r,A)[0]||null:r.querySelector(t);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===r?n:null;n=(e===null||e===void 0?void 0:e.matches)?(n===null||n===void 0?void 0:n.matches(e.matches))?n:null:n;var o=e===null||e===void 0?void 0:e.selector;return o?n===null||n===void 0?void 0:n.querySelector(o):n}function k(r,t){return Array.from(r.children).filter((function(r){return r.matches(t)}))}function q(r,t,e){if(typeof t==="string"&&t!==""){return t}else if(t===""){return r[e]}}function T(r,t){return!(t.left>r.right||t.right<r.left||t.top>r.bottom||t.bottom<r.top)}function x(r){return Boolean(r).toString()}}}}));