@esri/calcite-components 1.0.0-next.486 → 1.0.0-next.487

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 (790) 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-00c189d6.js +6 -0
  5. package/dist/calcite/{p-daad29ab.system.entry.js → p-03be6f68.system.entry.js} +2 -2
  6. package/dist/calcite/{p-d078ca4c.system.js → p-05a8e5c5.system.js} +1 -1
  7. package/dist/calcite/{p-a7fc37b5.system.entry.js → p-07472b0c.system.entry.js} +2 -2
  8. package/dist/calcite/{p-0afe76cf.js → p-07d5908e.js} +1 -1
  9. package/dist/calcite/{p-1d3376dc.system.entry.js → p-0bcfb639.system.entry.js} +2 -2
  10. package/dist/calcite/{p-a51572a2.entry.js → p-0bd6843f.entry.js} +2 -2
  11. package/dist/calcite/{p-a6e6dcf1.system.entry.js → p-0c184757.system.entry.js} +2 -2
  12. package/dist/calcite/{p-d317678c.system.entry.js → p-0ffea937.system.entry.js} +2 -2
  13. package/dist/calcite/{p-1fe4a202.entry.js → p-11fe3417.entry.js} +2 -2
  14. package/dist/calcite/{p-ca53cdf8.system.entry.js → p-121af6bc.system.entry.js} +2 -2
  15. package/dist/calcite/{p-6dfac994.entry.js → p-12dbf781.entry.js} +2 -2
  16. package/dist/calcite/p-13fc3a5a.entry.js +6 -0
  17. package/dist/calcite/{p-62601b03.entry.js → p-14eb6e6e.entry.js} +2 -2
  18. package/dist/calcite/{p-b71ccd97.entry.js → p-15a516a8.entry.js} +2 -2
  19. package/dist/calcite/{p-8361e4e0.js → p-160f0f6d.js} +1 -1
  20. package/dist/calcite/{p-defa2e52.system.entry.js → p-164a374f.system.entry.js} +3 -3
  21. package/dist/calcite/{p-129df2a2.entry.js → p-169855aa.entry.js} +2 -2
  22. package/dist/calcite/{p-12337354.entry.js → p-1801bb51.entry.js} +2 -2
  23. package/dist/calcite/{p-3795de9c.system.entry.js → p-1b1e4dd7.system.entry.js} +2 -2
  24. package/dist/calcite/{p-17f945ea.js → p-1d512f46.js} +2 -2
  25. package/dist/calcite/{p-5d602aa3.system.entry.js → p-1f650d9f.system.entry.js} +2 -2
  26. package/dist/calcite/{p-2135908a.js → p-1fdf9e82.js} +1 -1
  27. package/dist/calcite/{p-7cf7fa89.js → p-20145a0d.js} +1 -1
  28. package/dist/calcite/{p-ada348e5.js → p-2073c2b1.js} +2 -2
  29. package/dist/calcite/p-27cf12c9.entry.js +6 -0
  30. package/dist/calcite/{p-805934ce.system.entry.js → p-2a6cb3f2.system.entry.js} +2 -2
  31. package/dist/calcite/{p-b3dc8874.entry.js → p-2c78c95d.entry.js} +2 -2
  32. package/dist/calcite/{p-55d5bd3a.system.js → p-2cb028f1.system.js} +1 -1
  33. package/dist/calcite/{p-f43a54de.system.entry.js → p-2d9965fc.system.entry.js} +2 -2
  34. package/dist/calcite/{p-a81bd3e9.entry.js → p-2f5f21be.entry.js} +2 -2
  35. package/dist/calcite/{p-71de7e68.entry.js → p-2fe928d5.entry.js} +2 -2
  36. package/dist/calcite/{p-ee899bfb.system.entry.js → p-30574ebf.system.entry.js} +2 -2
  37. package/dist/calcite/{p-34620db0.system.entry.js → p-31369aa5.system.entry.js} +2 -2
  38. package/dist/calcite/{p-36b74715.js → p-327abf39.js} +2 -2
  39. package/dist/calcite/{p-37bf4ced.entry.js → p-336b39da.entry.js} +2 -2
  40. package/dist/calcite/{p-0eb37c10.js → p-362fffc3.js} +2 -2
  41. package/dist/calcite/{p-9e7d64cd.entry.js → p-36925d13.entry.js} +2 -2
  42. package/dist/calcite/{p-fc7e912d.system.entry.js → p-3693b1b1.system.entry.js} +2 -2
  43. package/dist/calcite/{p-814fe899.system.js → p-36b55879.system.js} +2 -2
  44. package/dist/calcite/{p-61298a50.entry.js → p-3c9a8151.entry.js} +2 -2
  45. package/dist/calcite/{p-075d76a8.entry.js → p-3f34c511.entry.js} +2 -2
  46. package/dist/calcite/{p-6614287e.system.entry.js → p-3ff6d2e6.system.entry.js} +2 -2
  47. package/dist/calcite/{p-f8326641.system.entry.js → p-41122229.system.entry.js} +2 -2
  48. package/dist/calcite/{p-fbcab444.system.entry.js → p-41a0afdd.system.entry.js} +2 -2
  49. package/dist/calcite/{p-22bbff5b.entry.js → p-424c0b53.entry.js} +2 -2
  50. package/dist/calcite/{p-b9e7a2ae.system.js → p-43325a0d.system.js} +2 -2
  51. package/dist/calcite/{p-299a8a9d.system.entry.js → p-4558b023.system.entry.js} +2 -2
  52. package/dist/calcite/{p-7e2a0813.system.entry.js → p-45d37962.system.entry.js} +2 -2
  53. package/dist/calcite/{p-5f842d14.entry.js → p-46ea4e35.entry.js} +2 -2
  54. package/dist/calcite/{p-d930ce1f.entry.js → p-47bcaca9.entry.js} +2 -2
  55. package/dist/calcite/{p-4e230de7.system.js → p-48434924.system.js} +3 -3
  56. package/dist/calcite/p-48e955da.system.js +6 -0
  57. package/dist/calcite/{p-b333402b.system.entry.js → p-50da51e9.system.entry.js} +2 -2
  58. package/dist/calcite/{p-13958212.entry.js → p-5107f254.entry.js} +2 -2
  59. package/dist/calcite/{p-c76a0023.js → p-55c38df7.js} +1 -1
  60. package/dist/calcite/{p-057d339f.system.js → p-56c87808.system.js} +2 -2
  61. package/dist/calcite/{p-7244daec.entry.js → p-5a9bccd3.entry.js} +2 -2
  62. package/dist/calcite/{p-93681aa8.system.js → p-5ca5a70f.system.js} +1 -1
  63. package/dist/calcite/{p-2dc2fa20.entry.js → p-5e87d46c.entry.js} +2 -2
  64. package/dist/calcite/{p-fbbd7106.js → p-5ecacf66.js} +2 -2
  65. package/dist/calcite/{p-2cf4a5e0.entry.js → p-60079d05.entry.js} +2 -2
  66. package/dist/calcite/{p-8879b8ab.system.entry.js → p-62916c69.system.entry.js} +3 -3
  67. package/dist/calcite/{p-73872fa3.entry.js → p-6655c5b4.entry.js} +2 -2
  68. package/dist/calcite/{p-24aaa4ae.entry.js → p-684d26bd.entry.js} +2 -2
  69. package/dist/calcite/{p-f2d31932.entry.js → p-68687b92.entry.js} +2 -2
  70. package/dist/calcite/{p-a6facda5.system.js → p-6af1e71f.system.js} +1 -1
  71. package/dist/calcite/{p-a125d00c.system.entry.js → p-6ee5bd2a.system.entry.js} +2 -2
  72. package/dist/calcite/{p-55f83a88.entry.js → p-6fde35d3.entry.js} +2 -2
  73. package/dist/calcite/{p-a032eadb.entry.js → p-6feccea7.entry.js} +2 -2
  74. package/dist/calcite/{p-994fae30.system.entry.js → p-725e85eb.system.entry.js} +2 -2
  75. package/dist/calcite/{p-090d89ad.system.entry.js → p-72efd1a3.system.entry.js} +3 -3
  76. package/dist/calcite/{p-3ae2d6f0.system.entry.js → p-7432a6e8.system.entry.js} +2 -2
  77. package/dist/calcite/{p-52796761.entry.js → p-78bb20e7.entry.js} +2 -2
  78. package/dist/calcite/{p-93689487.entry.js → p-78e9df8e.entry.js} +2 -2
  79. package/dist/calcite/{p-c61d1967.system.js → p-7b429a2b.system.js} +2 -2
  80. package/dist/calcite/{p-a0c35bbc.system.entry.js → p-7cea360c.system.entry.js} +2 -2
  81. package/dist/calcite/{p-6a462c6d.entry.js → p-7dfafa90.entry.js} +2 -2
  82. package/dist/calcite/{p-12d2a06b.system.entry.js → p-7e178f7f.system.entry.js} +2 -2
  83. package/dist/calcite/{p-dc6e56fe.system.entry.js → p-80745b38.system.entry.js} +2 -2
  84. package/dist/calcite/{p-f7c9c30e.entry.js → p-81d75a43.entry.js} +2 -2
  85. package/dist/calcite/{p-157b506c.system.entry.js → p-847800df.system.entry.js} +2 -2
  86. package/dist/calcite/{p-07ce7da6.entry.js → p-866cbb45.entry.js} +2 -2
  87. package/dist/calcite/{p-1055195b.system.entry.js → p-8eb49cfa.system.entry.js} +2 -2
  88. package/dist/calcite/{p-571747cf.entry.js → p-90aadd0e.entry.js} +2 -2
  89. package/dist/calcite/{p-ddd82e07.system.js → p-90d9621c.system.js} +1 -1
  90. package/dist/calcite/{p-ebfaf1b2.entry.js → p-90dd5d9d.entry.js} +2 -2
  91. package/dist/calcite/{p-4761e073.system.js → p-91024fa5.system.js} +2 -2
  92. package/dist/calcite/{p-51431a1e.js → p-92410772.js} +1 -1
  93. package/dist/calcite/{p-eaac890f.js → p-92747cfd.js} +1 -1
  94. package/dist/calcite/{p-5c5e244f.js → p-92864c61.js} +1 -1
  95. package/dist/calcite/{p-234ff4f5.entry.js → p-930683ba.entry.js} +2 -2
  96. package/dist/calcite/{p-f69b3db6.system.entry.js → p-951b6cea.system.entry.js} +2 -2
  97. package/dist/calcite/{p-88349078.entry.js → p-95b567e7.entry.js} +2 -2
  98. package/dist/calcite/{p-b72aefe2.system.entry.js → p-975b0aa1.system.entry.js} +2 -2
  99. package/dist/calcite/{p-c7bff6cb.system.js → p-9a2c6e24.system.js} +1 -1
  100. package/dist/calcite/{p-5b869be7.js → p-9bfd9045.js} +2 -2
  101. package/dist/calcite/{p-e8c326ac.system.js → p-9d271702.system.js} +3 -3
  102. package/dist/calcite/{p-10fa9100.system.js → p-9e75e3a8.system.js} +2 -2
  103. package/dist/calcite/{p-545eaf70.entry.js → p-9f118339.entry.js} +2 -2
  104. package/dist/calcite/{p-d877dbeb.system.js → p-a0399842.system.js} +1 -1
  105. package/dist/calcite/{p-fa88578f.js → p-a270bff2.js} +1 -1
  106. package/dist/calcite/{p-0c4212c4.system.entry.js → p-a4db059f.system.entry.js} +2 -2
  107. package/dist/calcite/{p-58279955.js → p-a51918e4.js} +2 -2
  108. package/dist/calcite/{p-a2980828.entry.js → p-a529dd74.entry.js} +2 -2
  109. package/dist/calcite/{p-744ce211.js → p-a5c35ac3.js} +1 -1
  110. package/dist/calcite/{p-58d81b18.system.entry.js → p-a99e612a.system.entry.js} +2 -2
  111. package/dist/calcite/{p-6576d714.system.entry.js → p-a9ba6e60.system.entry.js} +2 -2
  112. package/dist/calcite/{p-36ec5a7d.system.entry.js → p-ab1e7836.system.entry.js} +2 -2
  113. package/dist/calcite/{p-993d6c83.system.js → p-acdf3d8c.system.js} +1 -1
  114. package/dist/calcite/{p-88760e24.entry.js → p-ae844914.entry.js} +2 -2
  115. package/dist/calcite/{p-e802c1fe.system.entry.js → p-af65da9e.system.entry.js} +2 -2
  116. package/dist/calcite/{p-2318681d.entry.js → p-b1da4572.entry.js} +2 -2
  117. package/dist/calcite/{p-c6f1ddf7.system.entry.js → p-b53836fc.system.entry.js} +3 -3
  118. package/dist/calcite/{p-05e63710.entry.js → p-b7853393.entry.js} +2 -2
  119. package/dist/calcite/{p-465a9391.entry.js → p-b95ee89d.entry.js} +2 -2
  120. package/dist/calcite/{p-d5a47be0.system.js → p-b9b50a9f.system.js} +2 -2
  121. package/dist/calcite/p-bb24cb2b.system.entry.js +6 -0
  122. package/dist/calcite/{p-771a79b6.entry.js → p-bfee9701.entry.js} +2 -2
  123. package/dist/calcite/{p-50bda21e.entry.js → p-c00c3d72.entry.js} +2 -2
  124. package/dist/calcite/{p-2932fec4.js → p-c3981379.js} +1 -1
  125. package/dist/calcite/{p-f991fad7.system.entry.js → p-c7d8f780.system.entry.js} +3 -3
  126. package/dist/calcite/{p-e2c1894a.system.entry.js → p-c82a26c5.system.entry.js} +2 -2
  127. package/dist/calcite/{p-f1cf8eb7.system.js → p-c96be558.system.js} +1 -1
  128. package/dist/calcite/{p-9cbb6c16.system.entry.js → p-cf52a540.system.entry.js} +2 -2
  129. package/dist/calcite/{p-0120b7f1.system.entry.js → p-d30b0282.system.entry.js} +2 -2
  130. package/dist/calcite/{p-05e19ef7.system.js → p-d5ddded1.system.js} +1 -1
  131. package/dist/calcite/{p-f9474f17.system.js → p-d6ce7656.system.js} +1 -1
  132. package/dist/calcite/{p-5c2f0db8.system.entry.js → p-d9af53e5.system.entry.js} +2 -2
  133. package/dist/calcite/{p-96e3042d.entry.js → p-daec4655.entry.js} +2 -2
  134. package/dist/calcite/{p-62369a64.system.js → p-daec8d64.system.js} +1 -1
  135. package/dist/calcite/{p-dd44aba6.system.entry.js → p-dccb44f9.system.entry.js} +3 -3
  136. package/dist/calcite/{p-80a50c9a.entry.js → p-dce202af.entry.js} +2 -2
  137. package/dist/calcite/{p-621daf7e.system.entry.js → p-dd161e02.system.entry.js} +2 -2
  138. package/dist/calcite/{p-5d49371b.system.entry.js → p-ddea9961.system.entry.js} +2 -2
  139. package/dist/calcite/{p-dd868b5a.js → p-de211e45.js} +1 -1
  140. package/dist/calcite/{p-40d94804.system.js → p-de39953b.system.js} +1 -1
  141. package/dist/calcite/{p-6111a9ea.system.entry.js → p-de50b524.system.entry.js} +2 -2
  142. package/dist/calcite/{p-c3d77f0a.entry.js → p-e19bf824.entry.js} +2 -2
  143. package/dist/calcite/{p-59d39e09.system.entry.js → p-e20a2f3d.system.entry.js} +2 -2
  144. package/dist/calcite/{p-92d8168b.system.entry.js → p-e352d398.system.entry.js} +2 -2
  145. package/dist/calcite/{p-50123aa2.entry.js → p-e3d1ef81.entry.js} +2 -2
  146. package/dist/calcite/{p-27cc1e5d.entry.js → p-e3f49ab3.entry.js} +2 -2
  147. package/dist/calcite/{p-52ca64cc.entry.js → p-e4bffdef.entry.js} +2 -2
  148. package/dist/calcite/{p-035730ac.js → p-e66e9a62.js} +2 -2
  149. package/dist/calcite/{p-1c48e821.system.entry.js → p-e8909eaf.system.entry.js} +2 -2
  150. package/dist/calcite/{p-971d263d.js → p-e90aecc5.js} +1 -1
  151. package/dist/calcite/{p-4010cef0.js → p-ea4ae829.js} +2 -2
  152. package/dist/calcite/{p-c92c29d1.system.entry.js → p-eb67fe32.system.entry.js} +2 -2
  153. package/dist/calcite/{p-8326765e.entry.js → p-edb355c0.entry.js} +2 -2
  154. package/dist/calcite/{p-d477a669.system.entry.js → p-ee5b2db5.system.entry.js} +2 -2
  155. package/dist/calcite/{p-657ca6cc.system.js → p-efca2989.system.js} +1 -1
  156. package/dist/calcite/{p-cc87e781.entry.js → p-eff1a83e.entry.js} +2 -2
  157. package/dist/calcite/{p-f74146c0.system.entry.js → p-f0ab4fa6.system.entry.js} +2 -2
  158. package/dist/calcite/{p-0645a1ae.system.js → p-f0fafce6.system.js} +2 -2
  159. package/dist/calcite/{p-1c9bfc4f.system.entry.js → p-f2c33a4a.system.entry.js} +2 -2
  160. package/dist/calcite/{p-2a8485f5.entry.js → p-f45456c0.entry.js} +2 -2
  161. package/dist/calcite/{p-42a71ff0.entry.js → p-f4bbc501.entry.js} +2 -2
  162. package/dist/calcite/{p-5f7d4111.system.entry.js → p-f6f89d71.system.entry.js} +2 -2
  163. package/dist/calcite/{p-aa1cce29.entry.js → p-f96005a6.entry.js} +2 -2
  164. package/dist/calcite/p-fa055a7b.system.js +6 -0
  165. package/dist/calcite/{p-13682b7a.system.entry.js → p-fb259809.system.entry.js} +2 -2
  166. package/dist/calcite/{p-a2d675f5.entry.js → p-fd658176.entry.js} +2 -2
  167. package/dist/calcite/{p-ba7974a8.js → p-ffec5194.js} +2 -2
  168. package/dist/cjs/{ExpandToggle-9cab0ead.js → ExpandToggle-c78877c4.js} +5 -5
  169. package/dist/cjs/{Heading-91aa527c.js → Heading-7cbef67f.js} +2 -2
  170. package/dist/cjs/{array-aad47766.js → array-2959cb60.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  177. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +29 -11
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  190. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  207. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite.cjs.js +2 -2
  229. package/dist/cjs/{conditionalSlot-88e7d11e.js → conditionalSlot-661a4a0e.js} +3 -3
  230. package/dist/cjs/{debounce-382fe57d.js → debounce-d61eb9e7.js} +1 -1
  231. package/dist/cjs/{dom-6a385ae4.js → dom-ae8675e0.js} +2 -2
  232. package/dist/cjs/{forIn-c386afd0.js → forIn-8961b77c.js} +2 -2
  233. package/dist/cjs/{form-68a6f817.js → form-a3cd04e5.js} +3 -3
  234. package/dist/cjs/{guid-d4fe59b2.js → guid-68e85260.js} +1 -1
  235. package/dist/cjs/{index-e8c184a6.js → index-1bb1ad8c.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-0df34b58.js → interactive-634560ec.js} +1 -1
  238. package/dist/cjs/{interfaces-60c62f0e.js → interfaces-d5450ddb.js} +1 -1
  239. package/dist/cjs/{label-0a9b47c5.js → label-0dffd7ee.js} +2 -2
  240. package/dist/cjs/loader.cjs.js +2 -2
  241. package/dist/cjs/{locale-085fc1fb.js → locale-6e116b29.js} +2 -2
  242. package/dist/cjs/{math-f612606b.js → math-74203454.js} +1 -1
  243. package/dist/cjs/{number-626da1cd.js → number-d7448cad.js} +1 -1
  244. package/dist/cjs/{observers-4f3ab189.js → observers-ab098001.js} +1 -1
  245. package/dist/cjs/{popper-606b196b.js → popper-c3e848dd.js} +2 -2
  246. package/dist/cjs/{resources-46f534d7.js → resources-185714dc.js} +5 -5
  247. package/dist/cjs/{resources-13b11108.js → resources-1e3e3231.js} +3 -3
  248. package/dist/cjs/{resources-3d3a384c.js → resources-58ddcaf3.js} +1 -1
  249. package/dist/cjs/{resources-66e5b55f.js → resources-8cf18050.js} +1 -1
  250. package/dist/cjs/{sortable.esm-d9b62dd2.js → sortable.esm-62229482.js} +1 -1
  251. package/dist/cjs/{utils-53842995.js → utils-b2b2150d.js} +1 -1
  252. package/dist/collection/components/accordion/accordion.js +1 -1
  253. package/dist/collection/components/accordion/interfaces.js +1 -1
  254. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  255. package/dist/collection/components/action/action.js +1 -1
  256. package/dist/collection/components/action/resources.js +1 -1
  257. package/dist/collection/components/action-bar/action-bar.js +1 -1
  258. package/dist/collection/components/action-bar/resources.js +1 -1
  259. package/dist/collection/components/action-bar/utils.js +1 -1
  260. package/dist/collection/components/action-group/action-group.js +1 -1
  261. package/dist/collection/components/action-group/resources.js +1 -1
  262. package/dist/collection/components/action-menu/action-menu.js +1 -1
  263. package/dist/collection/components/action-menu/resources.js +1 -1
  264. package/dist/collection/components/action-pad/action-pad.js +1 -1
  265. package/dist/collection/components/action-pad/resources.js +1 -1
  266. package/dist/collection/components/alert/alert.js +1 -1
  267. package/dist/collection/components/alert/interfaces.js +1 -1
  268. package/dist/collection/components/alert/resources.js +1 -1
  269. package/dist/collection/components/avatar/avatar.js +1 -1
  270. package/dist/collection/components/avatar/utils.js +1 -1
  271. package/dist/collection/components/block/block.js +1 -1
  272. package/dist/collection/components/block/resources.js +1 -1
  273. package/dist/collection/components/block-section/block-section.js +1 -1
  274. package/dist/collection/components/block-section/interfaces.js +1 -1
  275. package/dist/collection/components/block-section/resources.js +1 -1
  276. package/dist/collection/components/button/button.js +1 -1
  277. package/dist/collection/components/button/interfaces.js +1 -1
  278. package/dist/collection/components/button/resources.js +1 -1
  279. package/dist/collection/components/card/card.js +1 -1
  280. package/dist/collection/components/card/resources.js +1 -1
  281. package/dist/collection/components/checkbox/checkbox.js +1 -1
  282. package/dist/collection/components/chip/chip.js +1 -1
  283. package/dist/collection/components/chip/interfaces.js +1 -1
  284. package/dist/collection/components/chip/resources.js +1 -1
  285. package/dist/collection/components/color-picker/color-picker.js +1 -1
  286. package/dist/collection/components/color-picker/interfaces.js +1 -1
  287. package/dist/collection/components/color-picker/resources.js +1 -1
  288. package/dist/collection/components/color-picker/utils.js +1 -1
  289. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  291. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  293. package/dist/collection/components/combobox/combobox.js +1 -1
  294. package/dist/collection/components/combobox/interfaces.js +1 -1
  295. package/dist/collection/components/combobox/resources.js +1 -1
  296. package/dist/collection/components/combobox/utils.js +1 -1
  297. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  298. package/dist/collection/components/combobox-item/resources.js +1 -1
  299. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  300. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  301. package/dist/collection/components/date-picker/date-picker.js +1 -1
  302. package/dist/collection/components/date-picker/interfaces.js +1 -1
  303. package/dist/collection/components/date-picker/resources.js +1 -1
  304. package/dist/collection/components/date-picker/utils.js +1 -1
  305. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  306. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  307. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  308. package/dist/collection/components/dropdown/dropdown.css +0 -1
  309. package/dist/collection/components/dropdown/dropdown.js +25 -8
  310. package/dist/collection/components/dropdown/interfaces.js +1 -1
  311. package/dist/collection/components/dropdown/resources.js +1 -1
  312. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  313. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  314. package/dist/collection/components/dropdown-group/resources.js +1 -1
  315. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  316. package/dist/collection/components/dropdown-item/resources.js +1 -1
  317. package/dist/collection/components/fab/fab.js +1 -1
  318. package/dist/collection/components/fab/resources.js +1 -1
  319. package/dist/collection/components/filter/filter.js +1 -1
  320. package/dist/collection/components/filter/resources.js +1 -1
  321. package/dist/collection/components/flow/flow.js +1 -1
  322. package/dist/collection/components/flow/interfaces.js +1 -1
  323. package/dist/collection/components/flow/resources.js +1 -1
  324. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  325. package/dist/collection/components/functional/Heading.js +1 -1
  326. package/dist/collection/components/graph/graph.js +1 -1
  327. package/dist/collection/components/graph/interfaces.js +1 -1
  328. package/dist/collection/components/graph/util.js +1 -1
  329. package/dist/collection/components/handle/handle.js +1 -1
  330. package/dist/collection/components/handle/resources.js +1 -1
  331. package/dist/collection/components/icon/icon.js +1 -1
  332. package/dist/collection/components/icon/resources.js +1 -1
  333. package/dist/collection/components/icon/utils.js +1 -1
  334. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  335. package/dist/collection/components/inline-editable/resources.js +1 -1
  336. package/dist/collection/components/input/input.js +1 -1
  337. package/dist/collection/components/input/interfaces.js +1 -1
  338. package/dist/collection/components/input/resources.js +1 -1
  339. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  340. package/dist/collection/components/input-message/input-message.js +1 -1
  341. package/dist/collection/components/input-message/interfaces.js +1 -1
  342. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  343. package/dist/collection/components/interfaces.js +1 -1
  344. package/dist/collection/components/label/label.js +1 -1
  345. package/dist/collection/components/label/resources.js +1 -1
  346. package/dist/collection/components/link/link.js +1 -1
  347. package/dist/collection/components/list/list.js +1 -1
  348. package/dist/collection/components/list/resources.js +1 -1
  349. package/dist/collection/components/list-item/list-item.js +1 -1
  350. package/dist/collection/components/list-item/resources.js +1 -1
  351. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  352. package/dist/collection/components/list-item-group/resources.js +1 -1
  353. package/dist/collection/components/loader/loader.js +1 -1
  354. package/dist/collection/components/modal/interfaces.js +1 -1
  355. package/dist/collection/components/modal/modal.js +1 -1
  356. package/dist/collection/components/modal/resources.js +1 -1
  357. package/dist/collection/components/notice/notice.js +1 -1
  358. package/dist/collection/components/notice/resources.js +1 -1
  359. package/dist/collection/components/option/option.js +1 -1
  360. package/dist/collection/components/option-group/option-group.js +1 -1
  361. package/dist/collection/components/pagination/pagination.js +1 -1
  362. package/dist/collection/components/pagination/resources.js +1 -1
  363. package/dist/collection/components/panel/panel.js +1 -1
  364. package/dist/collection/components/panel/resources.js +1 -1
  365. package/dist/collection/components/pick-list/pick-list.js +1 -1
  366. package/dist/collection/components/pick-list/resources.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  368. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  369. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  370. package/dist/collection/components/pick-list-group/resources.js +1 -1
  371. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  372. package/dist/collection/components/pick-list-item/resources.js +1 -1
  373. package/dist/collection/components/popover/PopoverManager.js +1 -1
  374. package/dist/collection/components/popover/popover.js +1 -1
  375. package/dist/collection/components/popover/resources.js +1 -1
  376. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  377. package/dist/collection/components/progress/progress.js +1 -1
  378. package/dist/collection/components/radio-button/radio-button.js +1 -1
  379. package/dist/collection/components/radio-button/resources.js +1 -1
  380. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  381. package/dist/collection/components/radio-group/interfaces.js +1 -1
  382. package/dist/collection/components/radio-group/radio-group.js +1 -1
  383. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  384. package/dist/collection/components/radio-group-item/resources.js +1 -1
  385. package/dist/collection/components/rating/rating.js +1 -1
  386. package/dist/collection/components/rating/resources.js +1 -1
  387. package/dist/collection/components/scrim/resources.js +1 -1
  388. package/dist/collection/components/scrim/scrim.js +1 -1
  389. package/dist/collection/components/select/resources.js +1 -1
  390. package/dist/collection/components/select/select.js +1 -1
  391. package/dist/collection/components/shell/resources.js +1 -1
  392. package/dist/collection/components/shell/shell.js +1 -1
  393. package/dist/collection/components/shell-center-row/resources.js +1 -1
  394. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  395. package/dist/collection/components/shell-panel/resources.js +1 -1
  396. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  397. package/dist/collection/components/slider/slider.js +1 -1
  398. package/dist/collection/components/sortable-list/resources.js +1 -1
  399. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  400. package/dist/collection/components/split-button/resources.js +1 -1
  401. package/dist/collection/components/split-button/split-button.js +1 -1
  402. package/dist/collection/components/stepper/interfaces.js +1 -1
  403. package/dist/collection/components/stepper/stepper.js +1 -1
  404. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  405. package/dist/collection/components/switch/switch.js +1 -1
  406. package/dist/collection/components/tab/interfaces.js +1 -1
  407. package/dist/collection/components/tab/tab.js +1 -1
  408. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  409. package/dist/collection/components/tab-title/tab-title.js +1 -1
  410. package/dist/collection/components/tabs/interfaces.js +1 -1
  411. package/dist/collection/components/tabs/resources.js +1 -1
  412. package/dist/collection/components/tabs/tabs.js +1 -1
  413. package/dist/collection/components/tile/resources.js +1 -1
  414. package/dist/collection/components/tile/tile.js +1 -1
  415. package/dist/collection/components/tile-select/interfaces.js +1 -1
  416. package/dist/collection/components/tile-select/resources.js +1 -1
  417. package/dist/collection/components/tile-select/tile-select.js +1 -1
  418. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  419. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  420. package/dist/collection/components/time-picker/resources.js +1 -1
  421. package/dist/collection/components/time-picker/time-picker.js +1 -1
  422. package/dist/collection/components/tip/resources.js +1 -1
  423. package/dist/collection/components/tip/tip.js +1 -1
  424. package/dist/collection/components/tip-group/tip-group.js +1 -1
  425. package/dist/collection/components/tip-manager/resources.js +1 -1
  426. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  427. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  428. package/dist/collection/components/tooltip/resources.js +1 -1
  429. package/dist/collection/components/tooltip/tooltip.js +1 -1
  430. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  431. package/dist/collection/components/tree/interfaces.js +1 -1
  432. package/dist/collection/components/tree/tree.js +1 -1
  433. package/dist/collection/components/tree-item/interfaces.js +1 -1
  434. package/dist/collection/components/tree-item/resources.js +1 -1
  435. package/dist/collection/components/tree-item/tree-item.js +1 -1
  436. package/dist/collection/components/value-list/resources.js +1 -1
  437. package/dist/collection/components/value-list/value-list.js +1 -1
  438. package/dist/collection/components/value-list-item/resources.js +1 -1
  439. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  440. package/dist/collection/utils/array.js +1 -1
  441. package/dist/collection/utils/conditionalSlot.js +1 -1
  442. package/dist/collection/utils/date.js +1 -1
  443. package/dist/collection/utils/dom.js +1 -1
  444. package/dist/collection/utils/filter.js +1 -1
  445. package/dist/collection/utils/form.js +1 -1
  446. package/dist/collection/utils/globalAttributes.js +1 -1
  447. package/dist/collection/utils/guid.js +1 -1
  448. package/dist/collection/utils/interactive.js +1 -1
  449. package/dist/collection/utils/key.js +1 -1
  450. package/dist/collection/utils/label.js +1 -1
  451. package/dist/collection/utils/locale.js +1 -1
  452. package/dist/collection/utils/math.js +1 -1
  453. package/dist/collection/utils/number.js +1 -1
  454. package/dist/collection/utils/observers.js +1 -1
  455. package/dist/collection/utils/popper.js +1 -1
  456. package/dist/collection/utils/resources.js +1 -1
  457. package/dist/collection/utils/time.js +1 -1
  458. package/dist/components/ExpandToggle.js +1 -1
  459. package/dist/components/Heading.js +1 -1
  460. package/dist/components/action-group.js +1 -1
  461. package/dist/components/action-menu.js +1 -1
  462. package/dist/components/action.js +1 -1
  463. package/dist/components/array.js +1 -1
  464. package/dist/components/button.js +1 -1
  465. package/dist/components/calcite-accordion-item.js +1 -1
  466. package/dist/components/calcite-accordion.js +1 -1
  467. package/dist/components/calcite-action-bar.js +1 -1
  468. package/dist/components/calcite-action-group.js +1 -1
  469. package/dist/components/calcite-action-menu.js +1 -1
  470. package/dist/components/calcite-action-pad.js +1 -1
  471. package/dist/components/calcite-action.js +1 -1
  472. package/dist/components/calcite-alert.js +1 -1
  473. package/dist/components/calcite-avatar.js +1 -1
  474. package/dist/components/calcite-block-section.js +1 -1
  475. package/dist/components/calcite-block.js +1 -1
  476. package/dist/components/calcite-button.js +1 -1
  477. package/dist/components/calcite-card.js +1 -1
  478. package/dist/components/calcite-checkbox.js +1 -1
  479. package/dist/components/calcite-chip.js +1 -1
  480. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  481. package/dist/components/calcite-color-picker-swatch.js +1 -1
  482. package/dist/components/calcite-color-picker.js +1 -1
  483. package/dist/components/calcite-combobox-item-group.js +1 -1
  484. package/dist/components/calcite-combobox-item.js +1 -1
  485. package/dist/components/calcite-combobox.js +1 -1
  486. package/dist/components/calcite-date-picker-day.js +1 -1
  487. package/dist/components/calcite-date-picker-month-header.js +1 -1
  488. package/dist/components/calcite-date-picker-month.js +1 -1
  489. package/dist/components/calcite-date-picker.js +1 -1
  490. package/dist/components/calcite-dropdown-group.js +1 -1
  491. package/dist/components/calcite-dropdown-item.js +1 -1
  492. package/dist/components/calcite-dropdown.js +1 -1
  493. package/dist/components/calcite-fab.js +1 -1
  494. package/dist/components/calcite-filter.js +1 -1
  495. package/dist/components/calcite-flow.js +1 -1
  496. package/dist/components/calcite-graph.js +1 -1
  497. package/dist/components/calcite-handle.js +1 -1
  498. package/dist/components/calcite-icon.js +1 -1
  499. package/dist/components/calcite-inline-editable.js +1 -1
  500. package/dist/components/calcite-input-date-picker.js +1 -1
  501. package/dist/components/calcite-input-message.js +1 -1
  502. package/dist/components/calcite-input-time-picker.js +1 -1
  503. package/dist/components/calcite-input.js +1 -1
  504. package/dist/components/calcite-label.js +1 -1
  505. package/dist/components/calcite-link.js +1 -1
  506. package/dist/components/calcite-list-item-group.js +1 -1
  507. package/dist/components/calcite-list-item.js +1 -1
  508. package/dist/components/calcite-list.js +1 -1
  509. package/dist/components/calcite-loader.js +1 -1
  510. package/dist/components/calcite-modal.js +1 -1
  511. package/dist/components/calcite-notice.js +1 -1
  512. package/dist/components/calcite-option-group.js +1 -1
  513. package/dist/components/calcite-option.js +1 -1
  514. package/dist/components/calcite-pagination.js +1 -1
  515. package/dist/components/calcite-panel.js +1 -1
  516. package/dist/components/calcite-pick-list-group.js +1 -1
  517. package/dist/components/calcite-pick-list-item.js +1 -1
  518. package/dist/components/calcite-pick-list.js +1 -1
  519. package/dist/components/calcite-popover-manager.js +1 -1
  520. package/dist/components/calcite-popover.js +1 -1
  521. package/dist/components/calcite-progress.js +1 -1
  522. package/dist/components/calcite-radio-button-group.js +1 -1
  523. package/dist/components/calcite-radio-button.js +1 -1
  524. package/dist/components/calcite-radio-group-item.js +1 -1
  525. package/dist/components/calcite-radio-group.js +1 -1
  526. package/dist/components/calcite-rating.js +1 -1
  527. package/dist/components/calcite-scrim.js +1 -1
  528. package/dist/components/calcite-select.js +1 -1
  529. package/dist/components/calcite-shell-center-row.js +1 -1
  530. package/dist/components/calcite-shell-panel.js +1 -1
  531. package/dist/components/calcite-shell.js +1 -1
  532. package/dist/components/calcite-slider.js +1 -1
  533. package/dist/components/calcite-sortable-list.js +1 -1
  534. package/dist/components/calcite-split-button.js +1 -1
  535. package/dist/components/calcite-stepper-item.js +1 -1
  536. package/dist/components/calcite-stepper.js +1 -1
  537. package/dist/components/calcite-switch.js +1 -1
  538. package/dist/components/calcite-tab-nav.js +1 -1
  539. package/dist/components/calcite-tab-title.js +1 -1
  540. package/dist/components/calcite-tab.js +1 -1
  541. package/dist/components/calcite-tabs.js +1 -1
  542. package/dist/components/calcite-tile-select-group.js +1 -1
  543. package/dist/components/calcite-tile-select.js +1 -1
  544. package/dist/components/calcite-tile.js +1 -1
  545. package/dist/components/calcite-time-picker.js +1 -1
  546. package/dist/components/calcite-tip-group.js +1 -1
  547. package/dist/components/calcite-tip-manager.js +1 -1
  548. package/dist/components/calcite-tip.js +1 -1
  549. package/dist/components/calcite-tooltip-manager.js +1 -1
  550. package/dist/components/calcite-tooltip.js +1 -1
  551. package/dist/components/calcite-tree-item.js +1 -1
  552. package/dist/components/calcite-tree.js +1 -1
  553. package/dist/components/calcite-value-list-item.js +1 -1
  554. package/dist/components/calcite-value-list.js +1 -1
  555. package/dist/components/checkbox.js +1 -1
  556. package/dist/components/chip.js +1 -1
  557. package/dist/components/color-picker-hex-input.js +1 -1
  558. package/dist/components/color-picker-swatch.js +1 -1
  559. package/dist/components/conditionalSlot.js +1 -1
  560. package/dist/components/date-picker-day.js +1 -1
  561. package/dist/components/date-picker-month-header.js +1 -1
  562. package/dist/components/date-picker-month.js +1 -1
  563. package/dist/components/date-picker.js +1 -1
  564. package/dist/components/date.js +1 -1
  565. package/dist/components/debounce.js +1 -1
  566. package/dist/components/dom.js +1 -1
  567. package/dist/components/dropdown.js +23 -5
  568. package/dist/components/filter.js +1 -1
  569. package/dist/components/forIn.js +1 -1
  570. package/dist/components/form.js +1 -1
  571. package/dist/components/graph.js +1 -1
  572. package/dist/components/guid.js +1 -1
  573. package/dist/components/handle.js +1 -1
  574. package/dist/components/icon.js +1 -1
  575. package/dist/components/index.js +1 -1
  576. package/dist/components/input.js +1 -1
  577. package/dist/components/interactive.js +1 -1
  578. package/dist/components/interfaces.js +1 -1
  579. package/dist/components/interfaces2.js +1 -1
  580. package/dist/components/label.js +1 -1
  581. package/dist/components/label2.js +1 -1
  582. package/dist/components/link.js +1 -1
  583. package/dist/components/loader.js +1 -1
  584. package/dist/components/locale.js +1 -1
  585. package/dist/components/math.js +1 -1
  586. package/dist/components/number.js +1 -1
  587. package/dist/components/observers.js +1 -1
  588. package/dist/components/pick-list-item.js +1 -1
  589. package/dist/components/popover.js +1 -1
  590. package/dist/components/popper.js +1 -1
  591. package/dist/components/progress.js +1 -1
  592. package/dist/components/resources.js +1 -1
  593. package/dist/components/resources2.js +1 -1
  594. package/dist/components/resources3.js +1 -1
  595. package/dist/components/scrim.js +1 -1
  596. package/dist/components/shared-list-render.js +1 -1
  597. package/dist/components/sortable.esm.js +1 -1
  598. package/dist/components/switch.js +1 -1
  599. package/dist/components/tab-nav.js +1 -1
  600. package/dist/components/tab-title.js +1 -1
  601. package/dist/components/tab.js +1 -1
  602. package/dist/components/tabs.js +1 -1
  603. package/dist/components/tile.js +1 -1
  604. package/dist/components/time-picker.js +1 -1
  605. package/dist/components/utils.js +1 -1
  606. package/dist/components/utils2.js +1 -1
  607. package/dist/custom-elements/index.js +23 -5
  608. package/dist/esm/{ExpandToggle-173ed8b5.js → ExpandToggle-bc5757ab.js} +5 -5
  609. package/dist/esm/{Heading-84e0f46a.js → Heading-71fe8cf9.js} +2 -2
  610. package/dist/esm/{array-b57aba51.js → array-ee9aed2f.js} +1 -1
  611. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  612. package/dist/esm/calcite-action-bar.entry.js +10 -10
  613. package/dist/esm/calcite-action-group.entry.js +8 -8
  614. package/dist/esm/calcite-action-menu.entry.js +8 -8
  615. package/dist/esm/calcite-action-pad.entry.js +9 -9
  616. package/dist/esm/calcite-action.entry.js +6 -6
  617. package/dist/esm/calcite-alert.entry.js +5 -5
  618. package/dist/esm/calcite-avatar.entry.js +5 -5
  619. package/dist/esm/calcite-block_2.entry.js +8 -8
  620. package/dist/esm/calcite-button.entry.js +8 -8
  621. package/dist/esm/calcite-card.entry.js +6 -6
  622. package/dist/esm/calcite-checkbox.entry.js +7 -7
  623. package/dist/esm/calcite-chip.entry.js +6 -6
  624. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  625. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  626. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  627. package/dist/esm/calcite-dropdown_3.entry.js +29 -11
  628. package/dist/esm/calcite-fab.entry.js +5 -5
  629. package/dist/esm/calcite-filter.entry.js +7 -7
  630. package/dist/esm/calcite-flow.entry.js +2 -2
  631. package/dist/esm/calcite-graph_2.entry.js +9 -9
  632. package/dist/esm/calcite-handle.entry.js +4 -4
  633. package/dist/esm/calcite-icon.entry.js +5 -5
  634. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  635. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  636. package/dist/esm/calcite-input-message.entry.js +4 -4
  637. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  638. package/dist/esm/calcite-input.entry.js +11 -11
  639. package/dist/esm/calcite-label.entry.js +5 -5
  640. package/dist/esm/calcite-link.entry.js +5 -5
  641. package/dist/esm/calcite-list_3.entry.js +8 -8
  642. package/dist/esm/calcite-loader.entry.js +3 -3
  643. package/dist/esm/calcite-modal.entry.js +6 -6
  644. package/dist/esm/calcite-notice.entry.js +7 -7
  645. package/dist/esm/calcite-option_3.entry.js +8 -8
  646. package/dist/esm/calcite-pagination.entry.js +5 -5
  647. package/dist/esm/calcite-panel.entry.js +9 -9
  648. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  649. package/dist/esm/calcite-popover_2.entry.js +7 -7
  650. package/dist/esm/calcite-progress.entry.js +2 -2
  651. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  652. package/dist/esm/calcite-radio-button.entry.js +8 -8
  653. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  654. package/dist/esm/calcite-rating.entry.js +7 -7
  655. package/dist/esm/calcite-scrim.entry.js +2 -2
  656. package/dist/esm/calcite-shell_3.entry.js +7 -7
  657. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  658. package/dist/esm/calcite-split-button.entry.js +3 -3
  659. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  660. package/dist/esm/calcite-switch.entry.js +7 -7
  661. package/dist/esm/calcite-tab_4.entry.js +6 -6
  662. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  663. package/dist/esm/calcite-tile.entry.js +7 -7
  664. package/dist/esm/calcite-tip_3.entry.js +7 -7
  665. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  666. package/dist/esm/calcite-tree_2.entry.js +6 -6
  667. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  668. package/dist/esm/calcite.js +2 -2
  669. package/dist/esm/{conditionalSlot-2708ca83.js → conditionalSlot-c0486fcb.js} +3 -3
  670. package/dist/esm/{debounce-14729f27.js → debounce-2fe6f2b1.js} +1 -1
  671. package/dist/esm/{dom-b1a34a18.js → dom-1bf2e65a.js} +2 -2
  672. package/dist/esm/{forIn-d137bfa1.js → forIn-eaca969d.js} +2 -2
  673. package/dist/esm/{form-e8104d46.js → form-127795fc.js} +3 -3
  674. package/dist/esm/{guid-d814c5ee.js → guid-08a18ddc.js} +1 -1
  675. package/dist/esm/{index-a590b5c9.js → index-20e18ff1.js} +1 -1
  676. package/dist/esm/index.js +1 -1
  677. package/dist/esm/{interactive-abe4ffbf.js → interactive-d9036f8d.js} +1 -1
  678. package/dist/esm/{interfaces-bf68b992.js → interfaces-19468c71.js} +1 -1
  679. package/dist/esm/{label-7699817b.js → label-2189201a.js} +2 -2
  680. package/dist/esm/loader.js +2 -2
  681. package/dist/esm/{locale-bf49ad8b.js → locale-c2772b56.js} +2 -2
  682. package/dist/esm/{math-d3e0a5fc.js → math-81b5806a.js} +1 -1
  683. package/dist/esm/{number-cdfe6bd5.js → number-020b29a1.js} +1 -1
  684. package/dist/esm/{observers-8fb3d6c1.js → observers-ce9a0c10.js} +1 -1
  685. package/dist/esm/{popper-3b648b00.js → popper-8d69ef7a.js} +2 -2
  686. package/dist/esm/{resources-ef8118c1.js → resources-286999ca.js} +3 -3
  687. package/dist/esm/{resources-3a8f8769.js → resources-732f00b9.js} +1 -1
  688. package/dist/esm/{resources-b601622b.js → resources-8befbeb1.js} +5 -5
  689. package/dist/esm/{resources-8a337746.js → resources-a0b9919d.js} +1 -1
  690. package/dist/esm/{sortable.esm-3be9ed6d.js → sortable.esm-c09f7821.js} +1 -1
  691. package/dist/esm/{utils-4478f101.js → utils-4c6c4db5.js} +1 -1
  692. package/dist/esm-es5/{ExpandToggle-173ed8b5.js → ExpandToggle-bc5757ab.js} +2 -2
  693. package/dist/esm-es5/{Heading-84e0f46a.js → Heading-71fe8cf9.js} +2 -2
  694. package/dist/esm-es5/{array-b57aba51.js → array-ee9aed2f.js} +1 -1
  695. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  699. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  700. package/dist/esm-es5/calcite-action.entry.js +2 -2
  701. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  702. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  703. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  704. package/dist/esm-es5/calcite-button.entry.js +2 -2
  705. package/dist/esm-es5/calcite-card.entry.js +2 -2
  706. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  707. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  708. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  709. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
  710. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  711. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  712. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  713. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  714. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  715. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  716. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  717. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  718. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  722. package/dist/esm-es5/calcite-input.entry.js +2 -2
  723. package/dist/esm-es5/calcite-label.entry.js +2 -2
  724. package/dist/esm-es5/calcite-link.entry.js +2 -2
  725. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  726. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  727. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  728. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  729. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  730. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  731. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  732. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  733. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  734. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  736. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  737. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  738. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  739. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  740. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  741. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  742. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  743. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  744. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  748. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  752. package/dist/esm-es5/calcite.js +2 -2
  753. package/dist/esm-es5/{conditionalSlot-2708ca83.js → conditionalSlot-c0486fcb.js} +2 -2
  754. package/dist/esm-es5/{debounce-14729f27.js → debounce-2fe6f2b1.js} +1 -1
  755. package/dist/esm-es5/{dom-b1a34a18.js → dom-1bf2e65a.js} +2 -2
  756. package/dist/esm-es5/{forIn-d137bfa1.js → forIn-eaca969d.js} +2 -2
  757. package/dist/esm-es5/{form-e8104d46.js → form-127795fc.js} +2 -2
  758. package/dist/esm-es5/{guid-d814c5ee.js → guid-08a18ddc.js} +1 -1
  759. package/dist/esm-es5/{index-a590b5c9.js → index-20e18ff1.js} +1 -1
  760. package/dist/esm-es5/index.js +1 -1
  761. package/dist/esm-es5/{interactive-abe4ffbf.js → interactive-d9036f8d.js} +1 -1
  762. package/dist/esm-es5/{interfaces-bf68b992.js → interfaces-19468c71.js} +1 -1
  763. package/dist/esm-es5/{label-7699817b.js → label-2189201a.js} +2 -2
  764. package/dist/esm-es5/loader.js +2 -2
  765. package/dist/esm-es5/{locale-bf49ad8b.js → locale-c2772b56.js} +2 -2
  766. package/dist/esm-es5/{math-d3e0a5fc.js → math-81b5806a.js} +1 -1
  767. package/dist/esm-es5/{number-cdfe6bd5.js → number-020b29a1.js} +1 -1
  768. package/dist/esm-es5/{observers-8fb3d6c1.js → observers-ce9a0c10.js} +1 -1
  769. package/dist/esm-es5/{popper-3b648b00.js → popper-8d69ef7a.js} +2 -2
  770. package/dist/esm-es5/{resources-ef8118c1.js → resources-286999ca.js} +2 -2
  771. package/dist/esm-es5/{resources-3a8f8769.js → resources-732f00b9.js} +1 -1
  772. package/dist/esm-es5/{resources-b601622b.js → resources-8befbeb1.js} +2 -2
  773. package/dist/esm-es5/{resources-8a337746.js → resources-a0b9919d.js} +1 -1
  774. package/dist/esm-es5/{sortable.esm-3be9ed6d.js → sortable.esm-c09f7821.js} +1 -1
  775. package/dist/esm-es5/{utils-4478f101.js → utils-4c6c4db5.js} +1 -1
  776. package/dist/extras/docs-json.json +3 -4
  777. package/dist/loader/cdn.js +1 -1
  778. package/dist/loader/index.cjs.js +1 -1
  779. package/dist/loader/index.es2017.js +1 -1
  780. package/dist/loader/index.js +1 -1
  781. package/dist/types/components/dropdown/dropdown.d.ts +4 -2
  782. package/dist/types/components.d.ts +3 -3
  783. package/hydrate/index.js +22 -4
  784. package/package.json +1 -1
  785. package/dist/calcite/p-07da5986.entry.js +0 -6
  786. package/dist/calcite/p-0efae4ab.system.js +0 -6
  787. package/dist/calcite/p-135d6687.system.js +0 -6
  788. package/dist/calcite/p-6e838c71.entry.js +0 -6
  789. package/dist/calcite/p-cf162337.system.entry.js +0 -6
  790. package/dist/calcite/p-d4fb1f91.js +0 -6
@@ -51,8 +51,8 @@ export declare class Dropdown implements InteractiveComponent {
51
51
  selectedItems: HTMLCalciteDropdownItemElement[];
52
52
  /** specify whether the dropdown is opened by hover or click of a trigger element */
53
53
  type: "hover" | "click";
54
- /** specify the width of dropdown, defaults to m */
55
- width: Scale;
54
+ /** specify the width of dropdown */
55
+ width?: Scale;
56
56
  connectedCallback(): void;
57
57
  componentDidLoad(): void;
58
58
  componentDidRender(): void;
@@ -89,6 +89,8 @@ export declare class Dropdown implements InteractiveComponent {
89
89
  updateTriggers: (event: Event) => void;
90
90
  updateItems: () => void;
91
91
  updateGroups: (event: Event) => void;
92
+ resizeObserverCallback: (entries: ResizeObserverEntry[]) => void;
93
+ setDropdownWidth: () => void;
92
94
  setMaxScrollerHeight: () => void;
93
95
  setScrollerEl: (scrollerEl: HTMLDivElement) => void;
94
96
  transitionEnd: (event: TransitionEvent) => void;
@@ -1204,9 +1204,9 @@ export namespace Components {
1204
1204
  */
1205
1205
  "type": "hover" | "click";
1206
1206
  /**
1207
- * specify the width of dropdown, defaults to m
1207
+ * specify the width of dropdown
1208
1208
  */
1209
- "width": Scale;
1209
+ "width"?: Scale;
1210
1210
  }
1211
1211
  interface CalciteDropdownGroup {
1212
1212
  /**
@@ -5657,7 +5657,7 @@ declare namespace LocalJSX {
5657
5657
  */
5658
5658
  "type"?: "hover" | "click";
5659
5659
  /**
5660
- * specify the width of dropdown, defaults to m
5660
+ * specify the width of dropdown
5661
5661
  */
5662
5662
  "width"?: Scale;
5663
5663
  }
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.486
4
+ * v1.0.0-next.487
5
5
  */
6
6
  'use strict';
7
7
 
@@ -17866,7 +17866,7 @@ const SLOTS$h = {
17866
17866
  dropdownTrigger: "dropdown-trigger"
17867
17867
  };
17868
17868
 
17869
- const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-dropdown{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-dropdown:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host*/.sc-calcite-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{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*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{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*/.calcite-dropdown-wrapper[data-popper-placement^=bottom].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=top].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=left].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=right].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active*/.calcite-dropdown-wrapper[data-popper-placement].sc-calcite-dropdown .calcite-popper-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([active]) .calcite-dropdown-wrapper*/[active].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{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*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
17869
+ const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-dropdown:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-dropdown{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-dropdown:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host*/.sc-calcite-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-dropdown-h[disabled] .sc-calcite-dropdown-s>[calcite-hydrated][disabled],[disabled].sc-calcite-dropdown-h [calcite-hydrated][disabled].sc-calcite-dropdown{opacity:1}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{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*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{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*/.calcite-dropdown-wrapper[data-popper-placement^=bottom].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=top].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=left].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=right].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active*/.calcite-dropdown-wrapper[data-popper-placement].sc-calcite-dropdown .calcite-popper-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([active]) .calcite-dropdown-wrapper*/[active].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{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*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:-ms-flexbox;display:flex}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
17870
17870
 
17871
17871
  /**
17872
17872
  * @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.
@@ -17915,8 +17915,6 @@ class Dropdown {
17915
17915
  this.selectedItems = [];
17916
17916
  /** specify whether the dropdown is opened by hover or click of a trigger element */
17917
17917
  this.type = "click";
17918
- /** specify the width of dropdown, defaults to m */
17919
- this.width = "m";
17920
17918
  this.items = [];
17921
17919
  this.groups = [];
17922
17920
  this.activeTransitionProp = "visibility";
@@ -17953,6 +17951,25 @@ class Dropdown {
17953
17951
  this.groups = groups;
17954
17952
  this.updateItems();
17955
17953
  };
17954
+ this.resizeObserverCallback = (entries) => {
17955
+ entries.forEach((entry) => {
17956
+ const { target } = entry;
17957
+ if (target === this.referenceEl) {
17958
+ this.setDropdownWidth();
17959
+ }
17960
+ else if (target === this.scrollerEl) {
17961
+ this.setMaxScrollerHeight();
17962
+ }
17963
+ });
17964
+ };
17965
+ this.setDropdownWidth = () => {
17966
+ const { referenceEl, scrollerEl } = this;
17967
+ const referenceElWidth = referenceEl === null || referenceEl === void 0 ? void 0 : referenceEl.clientWidth;
17968
+ if (!referenceElWidth || !scrollerEl) {
17969
+ return;
17970
+ }
17971
+ scrollerEl.style.minWidth = `${referenceElWidth}px`;
17972
+ };
17956
17973
  this.setMaxScrollerHeight = () => {
17957
17974
  const { active, scrollerEl } = this;
17958
17975
  if (!scrollerEl || !active) {
@@ -17974,6 +17991,7 @@ class Dropdown {
17974
17991
  };
17975
17992
  this.setReferenceEl = (el) => {
17976
17993
  this.referenceEl = el;
17994
+ this.resizeObserver.observe(el);
17977
17995
  };
17978
17996
  this.setMenuEl = (el) => {
17979
17997
  this.menuEl = el;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.486",
3
+ "version": "1.0.0-next.487",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.486
5
- */
6
- import{a,r as t,h as i,H as n,g as e}from"./p-7cf7fa89.js";import{a as r,t as s}from"./p-ada348e5.js";import{c as o}from"./p-2932fec4.js";import"./p-2135908a.js";const c={},l={},m={s:16,m:24,l:32};const f=class{constructor(a){t(this,a),this.icon=null,this.flipRtl=!1,this.scale="m",this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var a;null===(a=this.intersectionObserver)||void 0===a||a.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:a,flipRtl:t,pathData:e,scale:o,textLabel:c}=this,l=r(a),f=m[o],h=!!c,p=[].concat(e||"");return i(n,{"aria-hidden":s(!h),"aria-label":h?c:null,role:h?"img":null},i("svg",{class:{"flip-rtl":"rtl"===l&&t,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${f} ${f}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},p.map((a=>i("path","string"==typeof a?{d:a}:{d:a.d,opacity:"opacity"in a?a.opacity:1})))))}async loadIconPathData(){const{icon:t,scale:i,visible:n}=this;t&&n&&(this.pathData=await async function({icon:t,scale:i}){const n=m[i],e=function(a){const t=!isNaN(Number(a.charAt(0))),i=a.split("-");return 1===i.length?t?`i${a}`:a:i.map(((a,i)=>0===i?t?`i${a.toUpperCase()}`:a:a.charAt(0).toUpperCase()+a.slice(1))).join("")}(t),r="F"===e.charAt(e.length-1),s=`${r?e.substring(0,e.length-1):e}${n}${r?"F":""}`;if(c[s])return c[s];l[s]||(l[s]=fetch(a(`./assets/icon/${s}.json`)).then((a=>a.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const o=await l[s];return c[s]=o,o}({icon:t,scale:i}))}waitUntilVisible(a){this.intersectionObserver=o("intersection",(t=>{t.forEach((t=>{t.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,a())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):a()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};f.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";export{f as calcite_icon}
@@ -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.486
5
- */
6
- System.register(["./p-62369a64.system.js","./p-10fa9100.system.js","./p-f9474f17.system.js","./p-55d5bd3a.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.f;n=t.h},function(t){r=t.a},function(t){o=t.S},function(t){i=t.S}],execute:function(){t("t",p);var a=t("o",150);var c=2;var u=function(t){var e=t.height,n=t.actionHeight,r=t.groupCount;return Math.floor((e-r*c)/n)};var l=t("g",(function(t){var e=t.actionCount,n=t.actionHeight,r=t.height,o=t.groupCount;return Math.max(e-u({height:r,actionHeight:n,groupCount:o}),0)}));var f=t("q",(function(t){return Array.from(t.querySelectorAll("calcite-action")).filter((function(t){return t.closest("calcite-action-menu")?t.slot===o.trigger:true}))}));var s=t("a",(function(t){var n=t.actionGroups,r=t.expanded,o=t.overflowCount;var a=o;n.reverse().forEach((function(t){var n=0;var o=f(t).reverse();o.forEach((function(t){if(t.slot===i.menuActions){t.removeAttribute("slot");t.textEnabled=r}}));if(a>0){o.some((function(t){var e=o.filter((function(t){return!t.slot}));if(e.length>1&&o.length>2&&!t.closest("calcite-action-menu")){t.textEnabled=true;t.setAttribute("slot",i.menuActions);n++;if(n>1){a--}}return a<1}))}e(t)}))}));var v={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function h(t,e){var n;return t||((n=e.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function p(t){var e=t.parent,n=t.expanded;f(e).filter((function(t){return t.slot!==i.menuActions})).forEach((function(t){return t.textEnabled=n}));e.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(t){return t.expanded=n}))}var d=function(t){var e=t.tooltip,n=t.referenceElement,r=t.expanded,o=t.ref;if(e){e.referenceElement=!r&&n?n:null}if(o){o(n)}return n};var g=t("E",(function(t){var e=t.expanded,o=t.intlExpand,i=t.intlCollapse,a=t.toggle,c=t.el,u=t.position,l=t.tooltip,f=t.ref,s=t.scale;var p=r(c)==="rtl";var g=e?i:o;var m=[v.chevronsLeft,v.chevronsRight];if(p){m.reverse()}var x=h(u,c)==="end";var E=x?m[1]:m[0];var y=x?m[0]:m[1];var A=n("calcite-action",{icon:e?E:y,onClick:a,ref:function(t){return d({tooltip:l,referenceElement:t,expanded:e,ref:f})},scale:s,text:g,textEnabled:e});return A}))}}}));
@@ -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.486
5
- */
6
- System.register(["./p-62369a64.system.js","./p-93681aa8.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.f},function(e){n=e.c}],execute:function(){e({c:i,d:o});var r=new Set;var s;var c={childList:true};function i(e){if(!s){s=n("mutation",a)}s.observe(e.el,c)}function o(e){r.delete(e.el);a(s.takeRecords());s.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];s.observe(i,c)}}function a(e){e.forEach((function(e){var n=e.target;t(n)}))}}}}));
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.486
5
- */
6
- import{r as t,c as i,h as e,H as n,g as a}from"./p-7cf7fa89.js";import{t as r,f as o,d as s}from"./p-ada348e5.js";import{d as c,f as l,C as m,u as d,c as p,p as h}from"./p-fbbd7106.js";import{c as w}from"./p-2932fec4.js";import{u as f}from"./p-5c5e244f.js";import"./p-2135908a.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.width="m",this.items=[],this.groups=[],this.activeTransitionProp="visibility",this.mutationObserver=w("mutation",(()=>this.updateItems())),this.resizeObserver=w("resize",(()=>this.setMaxScrollerHeight())),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.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.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;-ms-flex:1 1 auto;flex:1 1 auto}: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(){this.el.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
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{c(n.next(t))}catch(t){r(t)}}function s(t){try{c(n["throw"](t))}catch(t){r(t)}}function c(t){t.done?i(t.value):a(t.value).then(o,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,a,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var n=0,a=e.length,r;n<a;n++){if(r||!(n in e)){if(!r)r=Array.prototype.slice.call(e,0,n);r[n]=e[n]}}return t.concat(r||Array.prototype.slice.call(e))};
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.486
6
- */System.register(["./p-62369a64.system.js","./p-10fa9100.system.js","./p-c61d1967.system.js","./p-93681aa8.system.js","./p-c7bff6cb.system.js","./p-993d6c83.system.js"],(function(t){"use strict";var e,i,n,a,r,o,s,c,l,p,d,m,f,u,h,w;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;r=t.g},function(t){o=t.t;s=t.f;c=t.d},function(t){l=t.d;p=t.f;d=t.C;m=t.u;f=t.c;u=t.p},function(t){h=t.c},function(t){w=t.u},function(){}],execute:function(){var b={dropdownTrigger:"dropdown-trigger"};var v="@-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;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";var g=t("calcite_dropdown",function(){function t(t){var n=this;e(this,t);this.calciteDropdownSelect=i(this,"calciteDropdownSelect",7);this.calciteDropdownOpen=i(this,"calciteDropdownOpen",7);this.calciteDropdownClose=i(this,"calciteDropdownClose",7);this.active=false;this.disableCloseOnSelect=false;this.disabled=false;this.maxItems=0;this.overlayPositioning="absolute";this.placement=l;this.scale="m";this.selectedItems=[];this.type="click";this.width="m";this.items=[];this.groups=[];this.activeTransitionProp="visibility";this.mutationObserver=h("mutation",(function(){return n.updateItems()}));this.resizeObserver=h("resize",(function(){return n.setMaxScrollerHeight()}));this.setFilteredPlacements=function(){var t=n,e=t.el,i=t.flipPlacements;n.filteredFlipPlacements=i?p(i,e):null};this.updateTriggers=function(t){n.triggers=t.target.assignedElements({flatten:true});n.reposition()};this.updateItems=function(){n.items=n.groups.map((function(t){return Array.from(t===null||t===void 0?void 0:t.querySelectorAll("calcite-dropdown-item"))})).reduce((function(t,e){return __spreadArray(__spreadArray([],t,true),e,true)}),[]);n.updateSelectedItems();n.reposition()};this.updateGroups=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-dropdown-group")}));n.groups=e;n.updateItems()};this.setMaxScrollerHeight=function(){var t=n,e=t.active,i=t.scrollerEl;if(!i||!e){return}n.reposition();var a=n.getMaxScrollerHeight();i.style.maxHeight=a>0?"".concat(a,"px"):"";n.reposition()};this.setScrollerEl=function(t){n.resizeObserver.observe(t);n.scrollerEl=t};this.transitionEnd=function(t){if(t.propertyName===n.activeTransitionProp){n.active?n.calciteDropdownOpen.emit():n.calciteDropdownClose.emit()}};this.setReferenceEl=function(t){n.referenceEl=t};this.setMenuEl=function(t){n.menuEl=t};this.keyDownHandler=function(t){var e=t.target;if(e!==n.referenceEl){return}var i=t.key;if(n.active&&(i==="Escape"||t.shiftKey&&i==="Tab")){n.closeCalciteDropdown();return}switch(i){case" ":case"Enter":n.openCalciteDropdown();break;case"Escape":n.closeCalciteDropdown();break}};this.focusOnFirstActiveOrFirstItem=function(){n.getFocusableElement(n.items.find((function(t){return t.active}))||n.items[0])};this.toggleOpenEnd=function(){n.focusOnFirstActiveOrFirstItem();n.el.removeEventListener("calciteDropdownOpen",n.toggleOpenEnd)};this.openCalciteDropdown=function(){n.active=!n.active;if(n.active){n.el.addEventListener("calciteDropdownOpen",n.toggleOpenEnd)}}}t.prototype.activeHandler=function(){if(!this.disabled){this.reposition();return}this.active=false};t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};t.prototype.maxItemsHandler=function(){this.setMaxScrollerHeight()};t.prototype.placementHandler=function(){this.reposition()};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.createPopper();this.setFilteredPlacements()};t.prototype.componentDidLoad=function(){this.reposition()};t.prototype.componentDidRender=function(){w(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();this.destroyPopper()};t.prototype.render=function(){var t;var e=this.active;return n(a,null,n("div",{class:"calcite-dropdown-trigger-container",onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},n("slot",{"aria-expanded":o(e),"aria-haspopup":"true",name:b.dropdownTrigger,onSlotchange:this.updateTriggers})),n("div",{"aria-hidden":o(!e),class:"calcite-dropdown-wrapper",ref:this.setMenuEl},n("div",{class:(t={},t["calcite-dropdown-content"]=true,t[d.animation]=true,t[d.animationActive]=e,t),onTransitionEnd:this.transitionEnd,ref:this.setScrollerEl},n("div",{hidden:!this.active},n("slot",{onSlotchange:this.updateGroups})))))};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,n,a,r;return __generator(this,(function(o){switch(o.label){case 0:t=this,e=t.popper,i=t.menuEl,n=t.placement;a=this.getModifiers();if(!e)return[3,2];return[4,m({el:i,modifiers:a,placement:n,popper:e})];case 1:r=o.sent();return[3,3];case 2:r=this.createPopper();o.label=3;case 3:r;return[2]}}))}))};t.prototype.closeCalciteDropdownOnClick=function(t){if(!this.active||t.composedPath().includes(this.el)){return}this.closeCalciteDropdown(false)};t.prototype.closeCalciteDropdownOnEvent=function(t){this.closeCalciteDropdown();t.stopPropagation()};t.prototype.closeCalciteDropdownOnOpenEvent=function(t){if(t.composedPath().includes(this.el)){return}this.active=false};t.prototype.mouseEnterHandler=function(){if(this.type==="hover"){this.openCalciteDropdown()}};t.prototype.mouseLeaveHandler=function(){if(this.type==="hover"){this.closeCalciteDropdown()}};t.prototype.calciteInternalDropdownItemKeyEvent=function(t){var e=t.detail.keyboardEvent;var i=e.target;var n=i.nodeName!=="A"?i:i.parentNode;var a=this.itemIndex(n)===0;var r=this.itemIndex(n)===this.items.length-1;switch(e.key){case"Tab":if(r&&!e.shiftKey){this.closeCalciteDropdown()}else if(a&&e.shiftKey){this.closeCalciteDropdown()}else if(e.shiftKey){this.focusPrevItem(n)}else{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();break}t.stopPropagation()};t.prototype.handleItemSelect=function(t){this.updateSelectedItems();t.stopPropagation();this.calciteDropdownSelect.emit();if(!this.disableCloseOnSelect||t.detail.requestedDropdownGroup.selectionMode==="none"){this.closeCalciteDropdown()}t.stopPropagation()};t.prototype.getModifiers=function(){var t={name:"flip",enabled:true};t.options={fallbackPlacements:this.filteredFlipPlacements||u};var e={name:"eventListeners",enabled:this.active};return[t,e]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.menuEl,i=t.referenceEl,n=t.placement,a=t.overlayPositioning;var r=this.getModifiers();this.popper=f({el:e,modifiers:r,overlayPositioning:a,placement:n,referenceEl:i})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.updateSelectedItems=function(){this.selectedItems=this.items.filter((function(t){return t.active}))};t.prototype.getMaxScrollerHeight=function(){var t=this.maxItems;var e=0;var i=0;var n;this.groups.forEach((function(a){if(t>0&&e<t){Array.from(a.children).forEach((function(a,r){if(r===0){if(isNaN(n)){n=a.offsetTop}i+=n}if(e<t){i+=a.offsetHeight;e+=1}}))}}));return i};t.prototype.closeCalciteDropdown=function(t){if(t===void 0){t=true}this.active=false;if(t){s(this.triggers[0])}};t.prototype.focusFirstItem=function(){var t=this.items[0];this.getFocusableElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.getFocusableElement(t)};t.prototype.focusNextItem=function(t){var e=this.itemIndex(t);var i=this.items[e+1]||this.items[0];this.getFocusableElement(i)};t.prototype.focusPrevItem=function(t){var e=this.itemIndex(t);var i=this.items[e-1]||this.items[this.items.length-1];this.getFocusableElement(i)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.getFocusableElement=function(t){if(!t){return}var e=t.attributes.isLink?t.shadowRoot.querySelector("a"):t;s(e)};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],placement:["placementHandler"]}},enumerable:false,configurable:true});return t}());g.style=v;var y={containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l"};var k="@-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)}";var D=t("calcite_dropdown_group",function(){function t(t){e(this,t);this.calciteInternalDropdownItemChange=i(this,"calciteInternalDropdownItemChange",7);this.selectionMode="single"}t.prototype.componentWillLoad=function(){this.groupPosition=this.getGroupPosition()};t.prototype.render=function(){var t;var e=this.scale||c(this.el,"scale","m");var i=this.groupTitle?n("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;var r=this.groupPosition>0?n("div",{class:"dropdown-separator",role:"separator"}):null;return n(a,{role:"menu"},n("div",{class:(t={container:true},t[y.containerSmall]=e==="s",t[y.containerMedium]=e==="m",t[y.containerLarge]=e==="l",t),title:this.groupTitle},r,i,n("slot",null)))};t.prototype.updateActiveItemOnChange=function(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})};t.prototype.getGroupPosition=function(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());D.style=k;var x={containerLink:"container--link",containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l",containerMulti:"container--multi-selection",containerSingle:"container--single-selection",containerNone:"container--none-selection"};var I="@-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}";var E=t("calcite_dropdown_item",function(){function t(t){e(this,t);this.calciteInternalDropdownItemSelect=i(this,"calciteInternalDropdownItemSelect",7);this.calciteInternalDropdownItemKeyEvent=i(this,"calciteInternalDropdownItemKeyEvent",7);this.calciteInternalDropdownCloseRequest=i(this,"calciteInternalDropdownCloseRequest",7);this.active=false}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.el.focus();return[2]}))}))};t.prototype.componentWillLoad=function(){this.initialize()};t.prototype.connectedCallback=function(){this.initialize()};t.prototype.render=function(){var t;var e=this;var i=c(this.el,"scale","m");var r=n("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var s=n("span",{class:"dropdown-item-content"},n("slot",null));var l=n("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var p=this.iconStart&&this.iconEnd?[r,s,l]:this.iconStart?[r,n("slot",null)]:this.iconEnd?[s,l]:s;var d=!this.href?p:n("a",{"aria-label":this.label,class:"dropdown-link",href:this.href,ref:function(t){return e.childLink=t},rel:this.rel,target:this.target},p);var m=this.href?null:this.selectionMode==="single"?"menuitemradio":this.selectionMode==="multi"?"menuitemcheckbox":"menuitem";var f=this.selectionMode!=="none"?o(this.active):null;return n(a,{"aria-checked":f,role:m,tabindex:"0"},n("div",{class:(t={container:true},t[x.containerLink]=!!this.href,t[x.containerSmall]=i==="s",t[x.containerMedium]=i==="m",t[x.containerLarge]=i==="l",t[x.containerMulti]=this.selectionMode==="multi",t[x.containerSingle]=this.selectionMode==="single",t[x.containerNone]=this.selectionMode==="none",t)},this.selectionMode!=="none"?n("calcite-icon",{class:"dropdown-item-icon",icon:this.selectionMode==="multi"?"check":"bullet-point",scale:"s"}):null,d))};t.prototype.onClick=function(){this.emitRequestedItem()};t.prototype.keyDownHandler=function(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem();if(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});break}};t.prototype.updateActiveItemOnChange=function(t){var e=t.composedPath().includes(this.parentDropdownGroupEl);if(e){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.determineActiveItem()}t.stopPropagation()};t.prototype.initialize=function(){this.selectionMode=c(this.el,"selection-mode","single");this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group");if(this.selectionMode==="none"){this.active=false}};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedDropdownItem){this.active=!this.active}break;case"single":if(this.el===this.requestedDropdownItem){this.active=true}else if(this.requestedDropdownGroup===this.parentDropdownGroupEl){this.active=false}break;case"none":this.active=false;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());E.style=I}}}));
@@ -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.486
5
- */
6
- import{f as t}from"./p-7cf7fa89.js";import{c as o}from"./p-2932fec4.js";const c=new Set;let f;const n={childList:!0};function s(t){f||(f=o("mutation",a)),f.observe(t.el,n)}function i(t){c.delete(t.el),a(f.takeRecords()),f.disconnect();for(const[t]of c.entries())f.observe(t,n)}function a(o){o.forEach((({target:o})=>{t(o)}))}export{s as c,i as d}