@esri/calcite-components 1.0.0-next.540 → 1.0.0-next.541

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 (809) 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-c3ffab5f.system.entry.js → p-022bfda9.system.entry.js} +2 -2
  5. package/dist/calcite/{p-7b352412.system.entry.js → p-06e4362b.system.entry.js} +2 -2
  6. package/dist/calcite/{p-4fa871b3.entry.js → p-0772194e.entry.js} +2 -2
  7. package/dist/calcite/{p-f3df7ed6.js → p-09a784ef.js} +1 -1
  8. package/dist/calcite/{p-86e847b0.system.entry.js → p-0a0c9fb1.system.entry.js} +2 -2
  9. package/dist/calcite/{p-3faf664a.entry.js → p-0bc8ceda.entry.js} +2 -2
  10. package/dist/calcite/{p-57518b2c.entry.js → p-0c2126c3.entry.js} +2 -2
  11. package/dist/calcite/{p-4120d714.entry.js → p-0ce017af.entry.js} +2 -2
  12. package/dist/calcite/{p-668344b9.js → p-0e96136e.js} +1 -1
  13. package/dist/calcite/{p-9b9ab3be.system.js → p-10080780.system.js} +2 -2
  14. package/dist/calcite/{p-825fe8c3.system.js → p-114329fd.system.js} +2 -2
  15. package/dist/calcite/{p-ad3541d1.system.js → p-125dc43c.system.js} +1 -1
  16. package/dist/calcite/{p-297f9e1d.js → p-139e5ea1.js} +2 -2
  17. package/dist/calcite/{p-782aa3a2.entry.js → p-147c243c.entry.js} +2 -2
  18. package/dist/calcite/{p-50fbd196.entry.js → p-16352c50.entry.js} +2 -2
  19. package/dist/calcite/{p-83a1a1a0.system.js → p-183a8c1d.system.js} +2 -2
  20. package/dist/calcite/{p-25c58362.entry.js → p-19c714b0.entry.js} +2 -2
  21. package/dist/calcite/{p-f6f0ef1a.entry.js → p-19caa7ad.entry.js} +2 -2
  22. package/dist/calcite/{p-f2ebaed2.entry.js → p-1c6de284.entry.js} +2 -2
  23. package/dist/calcite/{p-430013af.system.entry.js → p-1e508d0f.system.entry.js} +2 -2
  24. package/dist/calcite/{p-b8ac5258.system.js → p-1eef9bb6.system.js} +1 -1
  25. package/dist/calcite/{p-139be3ba.system.js → p-1f513500.system.js} +1 -1
  26. package/dist/calcite/{p-b16b6419.system.js → p-20821ca5.system.js} +1 -1
  27. package/dist/calcite/{p-a47affe1.system.entry.js → p-225d4dbf.system.entry.js} +2 -2
  28. package/dist/calcite/{p-06dd5021.js → p-23fbea45.js} +1 -1
  29. package/dist/calcite/{p-1255d678.system.entry.js → p-25292326.system.entry.js} +2 -2
  30. package/dist/calcite/{p-282779ab.js → p-29a87c80.js} +2 -2
  31. package/dist/calcite/{p-98b5a5fb.system.entry.js → p-29b31c8c.system.entry.js} +2 -2
  32. package/dist/calcite/{p-1d8cb69f.entry.js → p-2a9ee718.entry.js} +2 -2
  33. package/dist/calcite/{p-04b8ad5f.entry.js → p-2bd06ea0.entry.js} +2 -2
  34. package/dist/calcite/{p-23300b5b.system.entry.js → p-2c14d2e4.system.entry.js} +2 -2
  35. package/dist/calcite/{p-cbd07d72.system.js → p-2d0560c3.system.js} +1 -1
  36. package/dist/calcite/p-2f3135e5.js +6 -0
  37. package/dist/calcite/{p-24c6115f.system.entry.js → p-30313817.system.entry.js} +2 -2
  38. package/dist/calcite/{p-0264a02d.system.entry.js → p-32a0b6fb.system.entry.js} +2 -2
  39. package/dist/calcite/{p-b5e9d382.system.entry.js → p-32ca28f1.system.entry.js} +2 -2
  40. package/dist/calcite/{p-69bf90b4.system.entry.js → p-344b08b0.system.entry.js} +2 -2
  41. package/dist/calcite/{p-fa3d3f2e.js → p-351d758b.js} +1 -1
  42. package/dist/calcite/{p-988abea8.system.js → p-373c3525.system.js} +1 -1
  43. package/dist/calcite/{p-c4d6600e.system.entry.js → p-391a3c15.system.entry.js} +2 -2
  44. package/dist/calcite/{p-8aea3e1d.js → p-392d3088.js} +1 -1
  45. package/dist/calcite/{p-fd33a805.entry.js → p-3c8adba0.entry.js} +2 -2
  46. package/dist/calcite/{p-9eafb72e.entry.js → p-3e5f7ea2.entry.js} +2 -2
  47. package/dist/calcite/{p-85433ab6.system.js → p-402d5d66.system.js} +1 -1
  48. package/dist/calcite/{p-bed4ca2d.system.js → p-425efb05.system.js} +1 -1
  49. package/dist/calcite/{p-33b52921.entry.js → p-4266ea8e.entry.js} +2 -2
  50. package/dist/calcite/{p-3407f93a.entry.js → p-42793962.entry.js} +2 -2
  51. package/dist/calcite/{p-36932349.entry.js → p-4421ad7f.entry.js} +2 -2
  52. package/dist/calcite/{p-6bce0861.entry.js → p-45216cf8.entry.js} +2 -2
  53. package/dist/calcite/{p-cb36c8af.system.entry.js → p-458ee586.system.entry.js} +2 -2
  54. package/dist/calcite/{p-45fad0a6.js → p-459c4595.js} +1 -1
  55. package/dist/calcite/{p-4766e16c.js → p-4628af8a.js} +2 -2
  56. package/dist/calcite/{p-e7557189.system.js → p-4ab23e26.system.js} +2 -2
  57. package/dist/calcite/{p-2ed089c9.system.entry.js → p-4b686f0d.system.entry.js} +2 -2
  58. package/dist/calcite/{p-d422d2ca.entry.js → p-4f73c72f.entry.js} +2 -2
  59. package/dist/calcite/{p-97d19a09.system.entry.js → p-50508b4c.system.entry.js} +2 -2
  60. package/dist/calcite/{p-181e8d7e.system.entry.js → p-513c299d.system.entry.js} +2 -2
  61. package/dist/calcite/{p-41ece470.entry.js → p-5255410e.entry.js} +2 -2
  62. package/dist/calcite/{p-bf24af9f.system.js → p-544fd9bd.system.js} +1 -1
  63. package/dist/calcite/p-56571584.system.entry.js +6 -0
  64. package/dist/calcite/{p-968e8e9e.entry.js → p-576fd86d.entry.js} +2 -2
  65. package/dist/calcite/{p-d14f54a8.system.entry.js → p-57b2682b.system.entry.js} +2 -2
  66. package/dist/calcite/{p-a576ac8b.entry.js → p-5b2a6ff2.entry.js} +2 -2
  67. package/dist/calcite/{p-d80d6bd7.system.entry.js → p-5c17d27c.system.entry.js} +2 -2
  68. package/dist/calcite/{p-3aa49808.system.entry.js → p-5c9aee9b.system.entry.js} +2 -2
  69. package/dist/calcite/{p-a5a20085.system.entry.js → p-5d45c1c5.system.entry.js} +2 -2
  70. package/dist/calcite/{p-eb851d93.system.js → p-5e64c4aa.system.js} +2 -2
  71. package/dist/calcite/p-5eaab115.entry.js +6 -0
  72. package/dist/calcite/{p-d2bee20b.system.entry.js → p-5eac94d6.system.entry.js} +2 -2
  73. package/dist/calcite/{p-0d9247a1.system.entry.js → p-5f902b7e.system.entry.js} +2 -2
  74. package/dist/calcite/{p-455a09fa.entry.js → p-6027f8df.entry.js} +2 -2
  75. package/dist/calcite/{p-1f594421.js → p-639566f0.js} +1 -1
  76. package/dist/calcite/{p-7e88e90e.entry.js → p-63ff362d.entry.js} +2 -2
  77. package/dist/calcite/{p-e9325ead.system.js → p-64c19446.system.js} +1 -1
  78. package/dist/calcite/{p-6ccd08a2.entry.js → p-6659bc18.entry.js} +2 -2
  79. package/dist/calcite/{p-2878d8ea.system.entry.js → p-68b856a6.system.entry.js} +2 -2
  80. package/dist/calcite/{p-bab9b04d.entry.js → p-6a3e681f.entry.js} +2 -2
  81. package/dist/calcite/{p-56119945.system.entry.js → p-6ad72e5d.system.entry.js} +2 -2
  82. package/dist/calcite/{p-4d21107f.system.entry.js → p-6b8ec16d.system.entry.js} +2 -2
  83. package/dist/calcite/{p-e826221d.js → p-6fdf2cd3.js} +1 -1
  84. package/dist/calcite/{p-2b81ac15.system.js → p-716ffd9d.system.js} +2 -2
  85. package/dist/calcite/{p-8bcd756d.entry.js → p-71d9cf19.entry.js} +2 -2
  86. package/dist/calcite/{p-a4da909d.entry.js → p-73821e7e.entry.js} +2 -2
  87. package/dist/calcite/{p-7e30641a.system.entry.js → p-74cc2d04.system.entry.js} +2 -2
  88. package/dist/calcite/{p-7959e391.entry.js → p-74eb09ea.entry.js} +2 -2
  89. package/dist/calcite/{p-e2efbb3f.system.js → p-7616631b.system.js} +2 -2
  90. package/dist/calcite/p-762267da.js +6 -0
  91. package/dist/calcite/{p-284bd0f9.entry.js → p-7a45fc13.entry.js} +2 -2
  92. package/dist/calcite/{p-6741f1d0.system.js → p-7a5558ea.system.js} +1 -1
  93. package/dist/calcite/{p-a60e844d.entry.js → p-7c156c93.entry.js} +2 -2
  94. package/dist/calcite/{p-7147160a.entry.js → p-7c3b08d4.entry.js} +2 -2
  95. package/dist/calcite/{p-03a46980.system.js → p-7c5fc45e.system.js} +2 -2
  96. package/dist/calcite/{p-82421662.system.entry.js → p-7c8f30b3.system.entry.js} +2 -2
  97. package/dist/calcite/{p-3ea3cc27.entry.js → p-811f9c3a.entry.js} +2 -2
  98. package/dist/calcite/{p-843f32cb.system.entry.js → p-82893fd1.system.entry.js} +2 -2
  99. package/dist/calcite/{p-b4afd568.system.entry.js → p-831e1b4b.system.entry.js} +2 -2
  100. package/dist/calcite/{p-940c72de.system.entry.js → p-84602c73.system.entry.js} +2 -2
  101. package/dist/calcite/{p-a938cd5c.entry.js → p-84e09276.entry.js} +2 -2
  102. package/dist/calcite/{p-5e059da1.system.entry.js → p-87f73a5a.system.entry.js} +2 -2
  103. package/dist/calcite/{p-0f119bf9.entry.js → p-89e0b581.entry.js} +2 -2
  104. package/dist/calcite/{p-236df5dc.system.entry.js → p-90faa45d.system.entry.js} +2 -2
  105. package/dist/calcite/{p-c2fcfe6e.js → p-947fd570.js} +2 -2
  106. package/dist/calcite/{p-d13e65c2.entry.js → p-9589b984.entry.js} +2 -2
  107. package/dist/calcite/{p-7f16c375.entry.js → p-964c2611.entry.js} +2 -2
  108. package/dist/calcite/{p-1a483fcc.system.entry.js → p-9660a4e7.system.entry.js} +2 -2
  109. package/dist/calcite/{p-fed97308.system.entry.js → p-99b59527.system.entry.js} +2 -2
  110. package/dist/calcite/{p-41cc3517.entry.js → p-9c6bf62a.entry.js} +2 -2
  111. package/dist/calcite/{p-9081a999.js → p-a1a42618.js} +2 -2
  112. package/dist/calcite/{p-a650a5e5.system.entry.js → p-a4db37f6.system.entry.js} +2 -2
  113. package/dist/calcite/{p-15849a19.entry.js → p-a5dcf117.entry.js} +2 -2
  114. package/dist/calcite/{p-5f55efba.js → p-a608ba0a.js} +2 -2
  115. package/dist/calcite/{p-d85a8a30.entry.js → p-a8eed356.entry.js} +2 -2
  116. package/dist/calcite/{p-4cec4a18.entry.js → p-aaaf4272.entry.js} +2 -2
  117. package/dist/calcite/{p-3b051d3e.system.js → p-ac9811b6.system.js} +1 -1
  118. package/dist/calcite/{p-22eade13.entry.js → p-acb021d5.entry.js} +2 -2
  119. package/dist/calcite/{p-1d246a53.system.entry.js → p-aeed3c1f.system.entry.js} +2 -2
  120. package/dist/calcite/{p-6c93db81.system.entry.js → p-b3e66d43.system.entry.js} +2 -2
  121. package/dist/calcite/p-b66ac006.entry.js +6 -0
  122. package/dist/calcite/{p-796eae33.system.entry.js → p-b66d5eaf.system.entry.js} +3 -3
  123. package/dist/calcite/{p-a407cfff.system.js → p-b94c634f.system.js} +3 -3
  124. package/dist/calcite/{p-98389052.system.entry.js → p-babc3479.system.entry.js} +2 -2
  125. package/dist/calcite/{p-1fc4d3b7.system.entry.js → p-bd26a290.system.entry.js} +2 -2
  126. package/dist/calcite/{p-21ffd209.system.entry.js → p-bf0cb0f3.system.entry.js} +2 -2
  127. package/dist/calcite/{p-5acdd99e.system.entry.js → p-bf149d0c.system.entry.js} +2 -2
  128. package/dist/calcite/{p-31537880.js → p-bf3c3837.js} +1 -1
  129. package/dist/calcite/{p-c55e0d3d.system.entry.js → p-c08f8245.system.entry.js} +2 -2
  130. package/dist/calcite/{p-2176944c.entry.js → p-c30e0dde.entry.js} +2 -2
  131. package/dist/calcite/{p-584cba98.entry.js → p-c4230ef0.entry.js} +2 -2
  132. package/dist/calcite/{p-cf694620.system.entry.js → p-c4c1e154.system.entry.js} +2 -2
  133. package/dist/calcite/{p-5982c91c.system.js → p-c5f731d8.system.js} +1 -1
  134. package/dist/calcite/{p-7f4e44dd.js → p-c77a70b4.js} +2 -2
  135. package/dist/calcite/{p-3091c9bd.entry.js → p-ca907d1e.entry.js} +2 -2
  136. package/dist/calcite/{p-1cbae146.entry.js → p-cc86903f.entry.js} +2 -2
  137. package/dist/calcite/{p-cb4240bf.system.entry.js → p-cdd6df6c.system.entry.js} +2 -2
  138. package/dist/calcite/p-cdec0baf.entry.js +6 -0
  139. package/dist/calcite/{p-06e61757.js → p-d24f45b0.js} +2 -2
  140. package/dist/calcite/{p-c8952d69.entry.js → p-d3dac5eb.entry.js} +2 -2
  141. package/dist/calcite/{p-152cd873.system.js → p-d4db70a1.system.js} +2 -2
  142. package/dist/calcite/p-d7a75a14.entry.js +6 -0
  143. package/dist/calcite/{p-5b4d4cf9.entry.js → p-de2332e1.entry.js} +2 -2
  144. package/dist/calcite/{p-aa4ff8b3.system.entry.js → p-df744686.system.entry.js} +2 -2
  145. package/dist/calcite/{p-8f527752.system.entry.js → p-e05d5ac3.system.entry.js} +2 -2
  146. package/dist/calcite/{p-fcdd43d8.system.entry.js → p-e15a01d6.system.entry.js} +2 -2
  147. package/dist/calcite/{p-6243deb7.system.js → p-e19e017e.system.js} +2 -2
  148. package/dist/calcite/{p-96b98b6d.system.entry.js → p-e2658c82.system.entry.js} +2 -2
  149. package/dist/calcite/{p-97250489.entry.js → p-e394716d.entry.js} +2 -2
  150. package/dist/calcite/{p-5047a1a5.system.entry.js → p-e4134b3d.system.entry.js} +2 -2
  151. package/dist/calcite/{p-03b347a5.system.entry.js → p-e4b3743c.system.entry.js} +2 -2
  152. package/dist/calcite/{p-be057631.js → p-e581002d.js} +1 -1
  153. package/dist/calcite/{p-a7890af0.js → p-e72f0005.js} +1 -1
  154. package/dist/calcite/{p-addeb3a3.entry.js → p-e7df80d6.entry.js} +2 -2
  155. package/dist/calcite/{p-4b4d9aed.system.entry.js → p-e8aba406.system.entry.js} +2 -2
  156. package/dist/calcite/{p-7723d0e4.js → p-eb3b33a9.js} +1 -1
  157. package/dist/calcite/{p-1bcde645.entry.js → p-eb3e4fc5.entry.js} +2 -2
  158. package/dist/calcite/{p-892a91af.entry.js → p-eca79639.entry.js} +2 -2
  159. package/dist/calcite/{p-09f997de.system.entry.js → p-f1d23a04.system.entry.js} +2 -2
  160. package/dist/calcite/{p-de81c890.entry.js → p-f1f2937c.entry.js} +2 -2
  161. package/dist/calcite/{p-5a31353b.system.entry.js → p-f2b42c9a.system.entry.js} +2 -2
  162. package/dist/calcite/{p-65e42525.entry.js → p-f2fb1a5d.entry.js} +2 -2
  163. package/dist/calcite/{p-39888238.system.js → p-f6ad025c.system.js} +1 -1
  164. package/dist/calcite/{p-f55e50a1.js → p-f785647f.js} +1 -1
  165. package/dist/calcite/{p-af6b3d2c.system.entry.js → p-fa257fda.system.entry.js} +2 -2
  166. package/dist/calcite/p-fa6c6568.system.entry.js +6 -0
  167. package/dist/calcite/{p-df7de081.js → p-fd44e962.js} +2 -2
  168. package/dist/calcite/{p-78e4cdf3.entry.js → p-ff5d892d.entry.js} +2 -2
  169. package/dist/calcite/{p-6ad8511d.system.js → p-ffe471b7.system.js} +2 -2
  170. package/dist/cjs/{ExpandToggle-bdbadf09.js → ExpandToggle-4f563a31.js} +5 -5
  171. package/dist/cjs/{Heading-69bc15ec.js → Heading-bba36a0a.js} +2 -2
  172. package/dist/cjs/{array-4af50c1d.js → array-76b08986.js} +1 -1
  173. package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -6
  174. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  175. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  176. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  177. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  178. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  179. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  180. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  181. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  182. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  185. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  186. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  187. package/dist/cjs/calcite-combobox_3.cjs.entry.js +38 -35
  188. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  189. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +56 -46
  190. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  192. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  193. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  194. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  196. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  197. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  198. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  199. package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
  200. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  201. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  202. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  203. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  205. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  206. package/dist/cjs/calcite-modal.cjs.entry.js +12 -12
  207. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  208. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  209. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  210. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  211. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  212. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  213. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  215. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  216. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  218. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  219. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  220. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  221. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  222. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  223. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  225. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  226. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  227. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  229. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  230. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  231. package/dist/cjs/calcite.cjs.js +2 -2
  232. package/dist/cjs/{conditionalSlot-61ae8128.js → conditionalSlot-f7ebfd77.js} +3 -3
  233. package/dist/cjs/{debounce-17d75cb0.js → debounce-381f23b0.js} +1 -1
  234. package/dist/cjs/{dom-7a972f83.js → dom-f4e4f342.js} +2 -2
  235. package/dist/cjs/{filter-c44b5955.js → filter-00472272.js} +2 -2
  236. package/dist/cjs/{floating-ui-b254038e.js → floating-ui-4ccb84f8.js} +2 -2
  237. package/dist/cjs/{form-351a39d4.js → form-c8006a0f.js} +3 -3
  238. package/dist/cjs/{guid-44753eac.js → guid-1c7e7cd2.js} +1 -1
  239. package/dist/cjs/{index-ddace81d.js → index-a21fb32a.js} +1 -1
  240. package/dist/cjs/index.cjs.js +1 -1
  241. package/dist/cjs/{interactive-7f751988.js → interactive-85731aad.js} +1 -1
  242. package/dist/cjs/{interfaces-77d43ebc.js → interfaces-1e601f15.js} +1 -1
  243. package/dist/cjs/{key-c005f343.js → key-b5bec557.js} +1 -1
  244. package/dist/cjs/{label-66c5161f.js → label-25b38b6f.js} +2 -2
  245. package/dist/cjs/loader.cjs.js +2 -2
  246. package/dist/cjs/{locale-47b632ed.js → locale-2bb79108.js} +2 -2
  247. package/dist/cjs/{math-f1ed3643.js → math-7064250f.js} +1 -1
  248. package/dist/cjs/{observers-d1ad3104.js → observers-0e24a1eb.js} +1 -1
  249. package/dist/cjs/{resources-7e94d682.js → resources-06d588bf.js} +1 -1
  250. package/dist/cjs/{resources-c9745971.js → resources-58450e4a.js} +5 -5
  251. package/dist/cjs/{resources-5cd47627.js → resources-6360f2df.js} +1 -1
  252. package/dist/cjs/{resources-67b8eec0.js → resources-b6919944.js} +3 -3
  253. package/dist/cjs/{sortable.esm-b46da72b.js → sortable.esm-8bd96141.js} +1 -1
  254. package/dist/cjs/{utils-17889040.js → utils-a2cd887a.js} +1 -1
  255. package/dist/collection/components/accordion/accordion.js +1 -1
  256. package/dist/collection/components/accordion/interfaces.js +1 -1
  257. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  258. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  259. package/dist/collection/components/accordion-item/resources.js +1 -1
  260. package/dist/collection/components/action/action.js +1 -1
  261. package/dist/collection/components/action/resources.js +1 -1
  262. package/dist/collection/components/action-bar/action-bar.js +1 -1
  263. package/dist/collection/components/action-bar/resources.js +1 -1
  264. package/dist/collection/components/action-bar/utils.js +1 -1
  265. package/dist/collection/components/action-group/action-group.js +1 -1
  266. package/dist/collection/components/action-group/resources.js +1 -1
  267. package/dist/collection/components/action-menu/action-menu.js +1 -1
  268. package/dist/collection/components/action-menu/resources.js +1 -1
  269. package/dist/collection/components/action-pad/action-pad.js +1 -1
  270. package/dist/collection/components/action-pad/resources.js +1 -1
  271. package/dist/collection/components/alert/alert.js +1 -1
  272. package/dist/collection/components/alert/interfaces.js +1 -1
  273. package/dist/collection/components/alert/resources.js +1 -1
  274. package/dist/collection/components/avatar/avatar.js +1 -1
  275. package/dist/collection/components/avatar/utils.js +1 -1
  276. package/dist/collection/components/block/block.js +1 -1
  277. package/dist/collection/components/block/resources.js +1 -1
  278. package/dist/collection/components/block-section/block-section.js +1 -1
  279. package/dist/collection/components/block-section/interfaces.js +1 -1
  280. package/dist/collection/components/block-section/resources.js +1 -1
  281. package/dist/collection/components/button/button.js +1 -1
  282. package/dist/collection/components/button/interfaces.js +1 -1
  283. package/dist/collection/components/button/resources.js +1 -1
  284. package/dist/collection/components/card/card.js +1 -1
  285. package/dist/collection/components/card/resources.js +1 -1
  286. package/dist/collection/components/checkbox/checkbox.js +1 -1
  287. package/dist/collection/components/chip/chip.js +1 -1
  288. package/dist/collection/components/chip/interfaces.js +1 -1
  289. package/dist/collection/components/chip/resources.js +1 -1
  290. package/dist/collection/components/color-picker/color-picker.js +1 -1
  291. package/dist/collection/components/color-picker/interfaces.js +1 -1
  292. package/dist/collection/components/color-picker/resources.js +1 -1
  293. package/dist/collection/components/color-picker/utils.js +1 -1
  294. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  295. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  296. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  297. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  298. package/dist/collection/components/combobox/combobox.js +27 -24
  299. package/dist/collection/components/combobox/interfaces.js +1 -1
  300. package/dist/collection/components/combobox/resources.js +1 -1
  301. package/dist/collection/components/combobox/utils.js +1 -1
  302. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  303. package/dist/collection/components/combobox-item/resources.js +1 -1
  304. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  305. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  306. package/dist/collection/components/date-picker/date-picker.js +1 -1
  307. package/dist/collection/components/date-picker/interfaces.js +1 -1
  308. package/dist/collection/components/date-picker/resources.js +1 -1
  309. package/dist/collection/components/date-picker/utils.js +1 -1
  310. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  311. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  312. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  313. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  314. package/dist/collection/components/dropdown/dropdown.css +1 -3
  315. package/dist/collection/components/dropdown/dropdown.js +51 -41
  316. package/dist/collection/components/dropdown/interfaces.js +1 -1
  317. package/dist/collection/components/dropdown/resources.js +1 -1
  318. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  319. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  320. package/dist/collection/components/dropdown-group/resources.js +1 -1
  321. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  322. package/dist/collection/components/dropdown-item/resources.js +1 -1
  323. package/dist/collection/components/fab/fab.js +1 -1
  324. package/dist/collection/components/fab/resources.js +1 -1
  325. package/dist/collection/components/filter/filter.js +1 -1
  326. package/dist/collection/components/filter/resources.js +1 -1
  327. package/dist/collection/components/flow/flow.js +1 -1
  328. package/dist/collection/components/flow/interfaces.js +1 -1
  329. package/dist/collection/components/flow/resources.js +1 -1
  330. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  331. package/dist/collection/components/functional/Heading.js +1 -1
  332. package/dist/collection/components/graph/graph.js +1 -1
  333. package/dist/collection/components/graph/interfaces.js +1 -1
  334. package/dist/collection/components/graph/util.js +1 -1
  335. package/dist/collection/components/handle/handle.js +1 -1
  336. package/dist/collection/components/handle/resources.js +1 -1
  337. package/dist/collection/components/icon/icon.js +1 -1
  338. package/dist/collection/components/icon/resources.js +1 -1
  339. package/dist/collection/components/icon/utils.js +1 -1
  340. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  341. package/dist/collection/components/inline-editable/resources.js +1 -1
  342. package/dist/collection/components/input/input.js +1 -1
  343. package/dist/collection/components/input/interfaces.js +1 -1
  344. package/dist/collection/components/input/resources.js +1 -1
  345. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  346. package/dist/collection/components/input-date-picker/resources.js +1 -1
  347. package/dist/collection/components/input-message/input-message.js +1 -1
  348. package/dist/collection/components/input-message/interfaces.js +1 -1
  349. package/dist/collection/components/input-number/input-number.js +1 -1
  350. package/dist/collection/components/input-number/interfaces.js +1 -1
  351. package/dist/collection/components/input-number/resources.js +1 -1
  352. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  353. package/dist/collection/components/interfaces.js +1 -1
  354. package/dist/collection/components/label/label.js +1 -1
  355. package/dist/collection/components/label/resources.js +1 -1
  356. package/dist/collection/components/link/link.js +1 -1
  357. package/dist/collection/components/list/list.js +1 -1
  358. package/dist/collection/components/list/resources.js +1 -1
  359. package/dist/collection/components/list-item/list-item.js +1 -1
  360. package/dist/collection/components/list-item/resources.js +1 -1
  361. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  362. package/dist/collection/components/list-item-group/resources.js +1 -1
  363. package/dist/collection/components/loader/loader.js +1 -1
  364. package/dist/collection/components/modal/interfaces.js +1 -1
  365. package/dist/collection/components/modal/modal.js +7 -7
  366. package/dist/collection/components/modal/resources.js +1 -1
  367. package/dist/collection/components/notice/notice.js +1 -1
  368. package/dist/collection/components/notice/resources.js +1 -1
  369. package/dist/collection/components/option/option.js +1 -1
  370. package/dist/collection/components/option-group/option-group.js +1 -1
  371. package/dist/collection/components/pagination/pagination.js +1 -1
  372. package/dist/collection/components/pagination/resources.js +1 -1
  373. package/dist/collection/components/panel/panel.js +1 -1
  374. package/dist/collection/components/panel/resources.js +1 -1
  375. package/dist/collection/components/pick-list/pick-list.js +1 -1
  376. package/dist/collection/components/pick-list/resources.js +1 -1
  377. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  378. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  379. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  380. package/dist/collection/components/pick-list-group/resources.js +1 -1
  381. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  382. package/dist/collection/components/pick-list-item/resources.js +1 -1
  383. package/dist/collection/components/popover/PopoverManager.js +1 -1
  384. package/dist/collection/components/popover/popover.js +1 -1
  385. package/dist/collection/components/popover/resources.js +1 -1
  386. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  387. package/dist/collection/components/progress/progress.js +1 -1
  388. package/dist/collection/components/radio-button/radio-button.js +1 -1
  389. package/dist/collection/components/radio-button/resources.js +1 -1
  390. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  391. package/dist/collection/components/radio-group/interfaces.js +1 -1
  392. package/dist/collection/components/radio-group/radio-group.js +1 -1
  393. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  394. package/dist/collection/components/radio-group-item/resources.js +1 -1
  395. package/dist/collection/components/rating/rating.js +1 -1
  396. package/dist/collection/components/rating/resources.js +1 -1
  397. package/dist/collection/components/scrim/resources.js +1 -1
  398. package/dist/collection/components/scrim/scrim.js +1 -1
  399. package/dist/collection/components/select/resources.js +1 -1
  400. package/dist/collection/components/select/select.js +1 -1
  401. package/dist/collection/components/shell/resources.js +1 -1
  402. package/dist/collection/components/shell/shell.js +1 -1
  403. package/dist/collection/components/shell-center-row/resources.js +1 -1
  404. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  405. package/dist/collection/components/shell-panel/resources.js +1 -1
  406. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  407. package/dist/collection/components/slider/slider.js +1 -1
  408. package/dist/collection/components/sortable-list/resources.js +1 -1
  409. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  410. package/dist/collection/components/split-button/resources.js +1 -1
  411. package/dist/collection/components/split-button/split-button.js +1 -1
  412. package/dist/collection/components/stepper/interfaces.js +1 -1
  413. package/dist/collection/components/stepper/stepper.js +1 -1
  414. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  415. package/dist/collection/components/switch/switch.js +1 -1
  416. package/dist/collection/components/tab/interfaces.js +1 -1
  417. package/dist/collection/components/tab/tab.js +1 -1
  418. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  419. package/dist/collection/components/tab-title/tab-title.js +1 -1
  420. package/dist/collection/components/tabs/interfaces.js +1 -1
  421. package/dist/collection/components/tabs/resources.js +1 -1
  422. package/dist/collection/components/tabs/tabs.js +1 -1
  423. package/dist/collection/components/tile/resources.js +1 -1
  424. package/dist/collection/components/tile/tile.js +1 -1
  425. package/dist/collection/components/tile-select/interfaces.js +1 -1
  426. package/dist/collection/components/tile-select/resources.js +1 -1
  427. package/dist/collection/components/tile-select/tile-select.js +1 -1
  428. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  429. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  430. package/dist/collection/components/time-picker/resources.js +1 -1
  431. package/dist/collection/components/time-picker/time-picker.js +1 -1
  432. package/dist/collection/components/tip/resources.js +1 -1
  433. package/dist/collection/components/tip/tip.js +1 -1
  434. package/dist/collection/components/tip-group/tip-group.js +1 -1
  435. package/dist/collection/components/tip-manager/resources.js +1 -1
  436. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  437. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  438. package/dist/collection/components/tooltip/resources.js +1 -1
  439. package/dist/collection/components/tooltip/tooltip.js +1 -1
  440. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  441. package/dist/collection/components/tree/interfaces.js +1 -1
  442. package/dist/collection/components/tree/tree.js +1 -1
  443. package/dist/collection/components/tree-item/interfaces.js +1 -1
  444. package/dist/collection/components/tree-item/resources.js +1 -1
  445. package/dist/collection/components/tree-item/tree-item.js +1 -1
  446. package/dist/collection/components/value-list/interfaces.js +1 -1
  447. package/dist/collection/components/value-list/resources.js +1 -1
  448. package/dist/collection/components/value-list/utils.js +1 -1
  449. package/dist/collection/components/value-list/value-list.js +1 -1
  450. package/dist/collection/components/value-list-item/resources.js +1 -1
  451. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  452. package/dist/collection/utils/array.js +1 -1
  453. package/dist/collection/utils/conditionalSlot.js +1 -1
  454. package/dist/collection/utils/date.js +1 -1
  455. package/dist/collection/utils/dom.js +1 -1
  456. package/dist/collection/utils/filter.js +1 -1
  457. package/dist/collection/utils/floating-ui.js +1 -1
  458. package/dist/collection/utils/form.js +1 -1
  459. package/dist/collection/utils/globalAttributes.js +1 -1
  460. package/dist/collection/utils/guid.js +1 -1
  461. package/dist/collection/utils/interactive.js +1 -1
  462. package/dist/collection/utils/key.js +1 -1
  463. package/dist/collection/utils/label.js +1 -1
  464. package/dist/collection/utils/locale.js +1 -1
  465. package/dist/collection/utils/math.js +1 -1
  466. package/dist/collection/utils/number.js +1 -1
  467. package/dist/collection/utils/observers.js +1 -1
  468. package/dist/collection/utils/openCloseComponent.js +1 -1
  469. package/dist/collection/utils/resources.js +1 -1
  470. package/dist/collection/utils/time.js +1 -1
  471. package/dist/components/ExpandToggle.js +1 -1
  472. package/dist/components/Heading.js +1 -1
  473. package/dist/components/action-group.js +1 -1
  474. package/dist/components/action-menu.js +1 -1
  475. package/dist/components/action.js +1 -1
  476. package/dist/components/array.js +1 -1
  477. package/dist/components/button.js +1 -1
  478. package/dist/components/calcite-accordion-item.js +1 -1
  479. package/dist/components/calcite-accordion.js +1 -1
  480. package/dist/components/calcite-action-bar.js +1 -1
  481. package/dist/components/calcite-action-group.js +1 -1
  482. package/dist/components/calcite-action-menu.js +1 -1
  483. package/dist/components/calcite-action-pad.js +1 -1
  484. package/dist/components/calcite-action.js +1 -1
  485. package/dist/components/calcite-alert.js +1 -1
  486. package/dist/components/calcite-avatar.js +1 -1
  487. package/dist/components/calcite-block-section.js +1 -1
  488. package/dist/components/calcite-block.js +1 -1
  489. package/dist/components/calcite-button.js +1 -1
  490. package/dist/components/calcite-card.js +1 -1
  491. package/dist/components/calcite-checkbox.js +1 -1
  492. package/dist/components/calcite-chip.js +1 -1
  493. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  494. package/dist/components/calcite-color-picker-swatch.js +1 -1
  495. package/dist/components/calcite-color-picker.js +1 -1
  496. package/dist/components/calcite-combobox-item-group.js +1 -1
  497. package/dist/components/calcite-combobox-item.js +1 -1
  498. package/dist/components/calcite-combobox.js +27 -24
  499. package/dist/components/calcite-date-picker-day.js +1 -1
  500. package/dist/components/calcite-date-picker-month-header.js +1 -1
  501. package/dist/components/calcite-date-picker-month.js +1 -1
  502. package/dist/components/calcite-date-picker.js +1 -1
  503. package/dist/components/calcite-dropdown-group.js +1 -1
  504. package/dist/components/calcite-dropdown-item.js +1 -1
  505. package/dist/components/calcite-dropdown.js +1 -1
  506. package/dist/components/calcite-fab.js +1 -1
  507. package/dist/components/calcite-filter.js +1 -1
  508. package/dist/components/calcite-flow.js +1 -1
  509. package/dist/components/calcite-graph.js +1 -1
  510. package/dist/components/calcite-handle.js +1 -1
  511. package/dist/components/calcite-icon.js +1 -1
  512. package/dist/components/calcite-inline-editable.js +1 -1
  513. package/dist/components/calcite-input-date-picker.js +1 -1
  514. package/dist/components/calcite-input-message.js +1 -1
  515. package/dist/components/calcite-input-number.js +1 -1
  516. package/dist/components/calcite-input-time-picker.js +1 -1
  517. package/dist/components/calcite-input.js +1 -1
  518. package/dist/components/calcite-label.js +1 -1
  519. package/dist/components/calcite-link.js +1 -1
  520. package/dist/components/calcite-list-item-group.js +1 -1
  521. package/dist/components/calcite-list-item.js +1 -1
  522. package/dist/components/calcite-list.js +1 -1
  523. package/dist/components/calcite-loader.js +1 -1
  524. package/dist/components/calcite-modal.js +7 -7
  525. package/dist/components/calcite-notice.js +1 -1
  526. package/dist/components/calcite-option-group.js +1 -1
  527. package/dist/components/calcite-option.js +1 -1
  528. package/dist/components/calcite-pagination.js +1 -1
  529. package/dist/components/calcite-panel.js +1 -1
  530. package/dist/components/calcite-pick-list-group.js +1 -1
  531. package/dist/components/calcite-pick-list-item.js +1 -1
  532. package/dist/components/calcite-pick-list.js +1 -1
  533. package/dist/components/calcite-popover-manager.js +1 -1
  534. package/dist/components/calcite-popover.js +1 -1
  535. package/dist/components/calcite-progress.js +1 -1
  536. package/dist/components/calcite-radio-button-group.js +1 -1
  537. package/dist/components/calcite-radio-button.js +1 -1
  538. package/dist/components/calcite-radio-group-item.js +1 -1
  539. package/dist/components/calcite-radio-group.js +1 -1
  540. package/dist/components/calcite-rating.js +1 -1
  541. package/dist/components/calcite-scrim.js +1 -1
  542. package/dist/components/calcite-select.js +1 -1
  543. package/dist/components/calcite-shell-center-row.js +1 -1
  544. package/dist/components/calcite-shell-panel.js +1 -1
  545. package/dist/components/calcite-shell.js +1 -1
  546. package/dist/components/calcite-slider.js +1 -1
  547. package/dist/components/calcite-sortable-list.js +1 -1
  548. package/dist/components/calcite-split-button.js +1 -1
  549. package/dist/components/calcite-stepper-item.js +1 -1
  550. package/dist/components/calcite-stepper.js +1 -1
  551. package/dist/components/calcite-switch.js +1 -1
  552. package/dist/components/calcite-tab-nav.js +1 -1
  553. package/dist/components/calcite-tab-title.js +1 -1
  554. package/dist/components/calcite-tab.js +1 -1
  555. package/dist/components/calcite-tabs.js +1 -1
  556. package/dist/components/calcite-tile-select-group.js +1 -1
  557. package/dist/components/calcite-tile-select.js +1 -1
  558. package/dist/components/calcite-tile.js +1 -1
  559. package/dist/components/calcite-time-picker.js +1 -1
  560. package/dist/components/calcite-tip-group.js +1 -1
  561. package/dist/components/calcite-tip-manager.js +1 -1
  562. package/dist/components/calcite-tip.js +1 -1
  563. package/dist/components/calcite-tooltip-manager.js +1 -1
  564. package/dist/components/calcite-tooltip.js +1 -1
  565. package/dist/components/calcite-tree-item.js +1 -1
  566. package/dist/components/calcite-tree.js +1 -1
  567. package/dist/components/calcite-value-list-item.js +1 -1
  568. package/dist/components/calcite-value-list.js +1 -1
  569. package/dist/components/checkbox.js +1 -1
  570. package/dist/components/chip.js +1 -1
  571. package/dist/components/color-picker-hex-input.js +1 -1
  572. package/dist/components/color-picker-swatch.js +1 -1
  573. package/dist/components/conditionalSlot.js +1 -1
  574. package/dist/components/date-picker-day.js +1 -1
  575. package/dist/components/date-picker-month-header.js +1 -1
  576. package/dist/components/date-picker-month.js +1 -1
  577. package/dist/components/date-picker.js +1 -1
  578. package/dist/components/date.js +1 -1
  579. package/dist/components/debounce.js +1 -1
  580. package/dist/components/dom.js +1 -1
  581. package/dist/components/dropdown.js +50 -40
  582. package/dist/components/filter.js +1 -1
  583. package/dist/components/filter2.js +1 -1
  584. package/dist/components/floating-ui.js +1 -1
  585. package/dist/components/form.js +1 -1
  586. package/dist/components/graph.js +1 -1
  587. package/dist/components/guid.js +1 -1
  588. package/dist/components/handle.js +1 -1
  589. package/dist/components/icon.js +1 -1
  590. package/dist/components/index.js +1 -1
  591. package/dist/components/input.js +1 -1
  592. package/dist/components/interactive.js +1 -1
  593. package/dist/components/interfaces.js +1 -1
  594. package/dist/components/interfaces2.js +1 -1
  595. package/dist/components/key.js +1 -1
  596. package/dist/components/label.js +1 -1
  597. package/dist/components/label2.js +1 -1
  598. package/dist/components/link.js +1 -1
  599. package/dist/components/loader.js +1 -1
  600. package/dist/components/locale.js +1 -1
  601. package/dist/components/math.js +1 -1
  602. package/dist/components/observers.js +1 -1
  603. package/dist/components/pick-list-item.js +1 -1
  604. package/dist/components/popover.js +1 -1
  605. package/dist/components/progress.js +1 -1
  606. package/dist/components/resources.js +1 -1
  607. package/dist/components/resources2.js +1 -1
  608. package/dist/components/resources3.js +1 -1
  609. package/dist/components/scrim.js +1 -1
  610. package/dist/components/shared-list-render.js +1 -1
  611. package/dist/components/sortable.esm.js +1 -1
  612. package/dist/components/switch.js +1 -1
  613. package/dist/components/tab-nav.js +1 -1
  614. package/dist/components/tab-title.js +1 -1
  615. package/dist/components/tab.js +1 -1
  616. package/dist/components/tabs.js +1 -1
  617. package/dist/components/tile.js +1 -1
  618. package/dist/components/time-picker.js +1 -1
  619. package/dist/components/utils.js +1 -1
  620. package/dist/components/utils2.js +1 -1
  621. package/dist/custom-elements/index.js +82 -69
  622. package/dist/esm/{ExpandToggle-5c167d0d.js → ExpandToggle-91637889.js} +5 -5
  623. package/dist/esm/{Heading-6d97deff.js → Heading-61926aee.js} +2 -2
  624. package/dist/esm/{array-d68030d1.js → array-446667ee.js} +1 -1
  625. package/dist/esm/calcite-accordion_2.entry.js +6 -6
  626. package/dist/esm/calcite-action-bar.entry.js +10 -10
  627. package/dist/esm/calcite-action-group.entry.js +8 -8
  628. package/dist/esm/calcite-action-menu.entry.js +8 -8
  629. package/dist/esm/calcite-action-pad.entry.js +9 -9
  630. package/dist/esm/calcite-action.entry.js +6 -6
  631. package/dist/esm/calcite-alert.entry.js +5 -5
  632. package/dist/esm/calcite-avatar.entry.js +5 -5
  633. package/dist/esm/calcite-block_2.entry.js +8 -8
  634. package/dist/esm/calcite-button.entry.js +8 -8
  635. package/dist/esm/calcite-card.entry.js +6 -6
  636. package/dist/esm/calcite-checkbox.entry.js +7 -7
  637. package/dist/esm/calcite-chip.entry.js +6 -6
  638. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  639. package/dist/esm/calcite-combobox_3.entry.js +38 -35
  640. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  641. package/dist/esm/calcite-dropdown_3.entry.js +56 -46
  642. package/dist/esm/calcite-fab.entry.js +5 -5
  643. package/dist/esm/calcite-filter.entry.js +7 -7
  644. package/dist/esm/calcite-flow.entry.js +3 -3
  645. package/dist/esm/calcite-graph_2.entry.js +9 -9
  646. package/dist/esm/calcite-handle.entry.js +4 -4
  647. package/dist/esm/calcite-icon.entry.js +5 -5
  648. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  649. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  650. package/dist/esm/calcite-input-message.entry.js +4 -4
  651. package/dist/esm/calcite-input-number.entry.js +11 -11
  652. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  653. package/dist/esm/calcite-input.entry.js +11 -11
  654. package/dist/esm/calcite-label.entry.js +5 -5
  655. package/dist/esm/calcite-link.entry.js +5 -5
  656. package/dist/esm/calcite-list_3.entry.js +8 -8
  657. package/dist/esm/calcite-loader.entry.js +3 -3
  658. package/dist/esm/calcite-modal.entry.js +12 -12
  659. package/dist/esm/calcite-notice.entry.js +7 -7
  660. package/dist/esm/calcite-option_3.entry.js +8 -8
  661. package/dist/esm/calcite-pagination.entry.js +5 -5
  662. package/dist/esm/calcite-panel.entry.js +9 -9
  663. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  664. package/dist/esm/calcite-popover_2.entry.js +7 -7
  665. package/dist/esm/calcite-progress.entry.js +2 -2
  666. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  667. package/dist/esm/calcite-radio-button.entry.js +8 -8
  668. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  669. package/dist/esm/calcite-rating.entry.js +8 -8
  670. package/dist/esm/calcite-scrim.entry.js +2 -2
  671. package/dist/esm/calcite-shell_3.entry.js +7 -7
  672. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  673. package/dist/esm/calcite-split-button.entry.js +3 -3
  674. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  675. package/dist/esm/calcite-switch.entry.js +7 -7
  676. package/dist/esm/calcite-tab_4.entry.js +6 -6
  677. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  678. package/dist/esm/calcite-tile.entry.js +7 -7
  679. package/dist/esm/calcite-tip_3.entry.js +7 -7
  680. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  681. package/dist/esm/calcite-tree_2.entry.js +6 -6
  682. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  683. package/dist/esm/calcite.js +2 -2
  684. package/dist/esm/{conditionalSlot-8f5261b8.js → conditionalSlot-cffc171d.js} +3 -3
  685. package/dist/esm/{debounce-d9ca21e6.js → debounce-394ab6b8.js} +1 -1
  686. package/dist/esm/{dom-436db30d.js → dom-77e16eb3.js} +2 -2
  687. package/dist/esm/{filter-ea2019f5.js → filter-c8ed1b03.js} +2 -2
  688. package/dist/esm/{floating-ui-d35ae879.js → floating-ui-a6fc86f1.js} +2 -2
  689. package/dist/esm/{form-9e4ad205.js → form-e735eb58.js} +3 -3
  690. package/dist/esm/{guid-aa232e06.js → guid-eacce60e.js} +1 -1
  691. package/dist/esm/{index-15d8b691.js → index-d514fd3e.js} +1 -1
  692. package/dist/esm/index.js +1 -1
  693. package/dist/esm/{interactive-877546cb.js → interactive-6aaa1825.js} +1 -1
  694. package/dist/esm/{interfaces-4d091984.js → interfaces-38f96b99.js} +1 -1
  695. package/dist/esm/{key-327406fd.js → key-3f3acbfd.js} +1 -1
  696. package/dist/esm/{label-0dfb8331.js → label-3a8694cf.js} +2 -2
  697. package/dist/esm/loader.js +2 -2
  698. package/dist/esm/{locale-fdc3373c.js → locale-cc96165f.js} +2 -2
  699. package/dist/esm/{math-614ab246.js → math-9114578e.js} +1 -1
  700. package/dist/esm/{observers-a928db96.js → observers-3bbc570d.js} +1 -1
  701. package/dist/esm/{resources-e2b96c6a.js → resources-42a9c944.js} +1 -1
  702. package/dist/esm/{resources-6deceede.js → resources-518f9229.js} +1 -1
  703. package/dist/esm/{resources-6ebd7149.js → resources-54cc4b17.js} +3 -3
  704. package/dist/esm/{resources-ebbd1852.js → resources-e4bc31a0.js} +5 -5
  705. package/dist/esm/{sortable.esm-0ad2680c.js → sortable.esm-0fa01988.js} +1 -1
  706. package/dist/esm/{utils-4707c83f.js → utils-58e4f06f.js} +1 -1
  707. package/dist/esm-es5/{ExpandToggle-5c167d0d.js → ExpandToggle-91637889.js} +2 -2
  708. package/dist/esm-es5/Heading-61926aee.js +6 -0
  709. package/dist/esm-es5/{array-d68030d1.js → array-446667ee.js} +1 -1
  710. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  711. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  712. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  713. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  714. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  715. package/dist/esm-es5/calcite-action.entry.js +2 -2
  716. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  717. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  718. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  719. package/dist/esm-es5/calcite-button.entry.js +2 -2
  720. package/dist/esm-es5/calcite-card.entry.js +2 -2
  721. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  722. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  723. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  724. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  725. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  726. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  727. package/dist/esm-es5/calcite-fab.entry.js +3 -3
  728. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  729. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  730. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  731. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  732. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  733. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  734. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  735. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  736. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  737. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  738. package/dist/esm-es5/calcite-input.entry.js +2 -2
  739. package/dist/esm-es5/calcite-label.entry.js +2 -2
  740. package/dist/esm-es5/calcite-link.entry.js +3 -3
  741. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  742. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  743. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  744. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  745. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  746. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  747. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  748. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  749. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  751. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  752. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  753. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  754. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  755. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  756. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  757. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  758. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  759. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  760. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  761. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  762. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  763. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  764. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  765. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  766. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  767. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  768. package/dist/esm-es5/calcite.js +2 -2
  769. package/dist/esm-es5/{conditionalSlot-8f5261b8.js → conditionalSlot-cffc171d.js} +2 -2
  770. package/dist/esm-es5/{debounce-d9ca21e6.js → debounce-394ab6b8.js} +1 -1
  771. package/dist/esm-es5/{dom-436db30d.js → dom-77e16eb3.js} +2 -2
  772. package/dist/esm-es5/{filter-ea2019f5.js → filter-c8ed1b03.js} +2 -2
  773. package/dist/esm-es5/{floating-ui-d35ae879.js → floating-ui-a6fc86f1.js} +2 -2
  774. package/dist/esm-es5/{form-9e4ad205.js → form-e735eb58.js} +2 -2
  775. package/dist/esm-es5/{guid-aa232e06.js → guid-eacce60e.js} +1 -1
  776. package/dist/esm-es5/{index-15d8b691.js → index-d514fd3e.js} +1 -1
  777. package/dist/esm-es5/index.js +1 -1
  778. package/dist/esm-es5/{interactive-877546cb.js → interactive-6aaa1825.js} +1 -1
  779. package/dist/esm-es5/{interfaces-4d091984.js → interfaces-38f96b99.js} +1 -1
  780. package/dist/esm-es5/{key-327406fd.js → key-3f3acbfd.js} +1 -1
  781. package/dist/esm-es5/{label-0dfb8331.js → label-3a8694cf.js} +2 -2
  782. package/dist/esm-es5/loader.js +2 -2
  783. package/dist/esm-es5/{locale-fdc3373c.js → locale-cc96165f.js} +2 -2
  784. package/dist/esm-es5/{math-614ab246.js → math-9114578e.js} +1 -1
  785. package/dist/esm-es5/{observers-a928db96.js → observers-3bbc570d.js} +1 -1
  786. package/dist/esm-es5/{resources-e2b96c6a.js → resources-42a9c944.js} +1 -1
  787. package/dist/esm-es5/{resources-6deceede.js → resources-518f9229.js} +1 -1
  788. package/dist/esm-es5/{resources-6ebd7149.js → resources-54cc4b17.js} +2 -2
  789. package/dist/esm-es5/{resources-ebbd1852.js → resources-e4bc31a0.js} +2 -2
  790. package/dist/esm-es5/{sortable.esm-0ad2680c.js → sortable.esm-0fa01988.js} +1 -1
  791. package/dist/esm-es5/{utils-4707c83f.js → utils-58e4f06f.js} +1 -1
  792. package/dist/extras/docs-json.json +1 -1
  793. package/dist/loader/cdn.js +1 -1
  794. package/dist/loader/index.cjs.js +1 -1
  795. package/dist/loader/index.es2017.js +1 -1
  796. package/dist/loader/index.js +1 -1
  797. package/dist/types/components/combobox/combobox.d.ts +2 -1
  798. package/dist/types/components/dropdown/dropdown.d.ts +4 -1
  799. package/hydrate/index.js +82 -69
  800. package/package.json +1 -1
  801. package/dist/calcite/p-111d2bdd.js +0 -6
  802. package/dist/calcite/p-1508458c.system.entry.js +0 -6
  803. package/dist/calcite/p-213e08e9.entry.js +0 -6
  804. package/dist/calcite/p-266e1c0c.system.entry.js +0 -6
  805. package/dist/calcite/p-2c2e712b.entry.js +0 -6
  806. package/dist/calcite/p-6f19ed5c.entry.js +0 -6
  807. package/dist/calcite/p-71103ef1.js +0 -6
  808. package/dist/calcite/p-ff06b9f4.entry.js +0 -6
  809. package/dist/esm-es5/Heading-6d97deff.js +0 -6
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.540
6
- */import{a as getAssetPath}from"./index-15d8b691.js";import{a as locales}from"./locale-fdc3373c.js";function getSupportedLocale(e){if(e===void 0){e=""}if(locales.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!locales.includes(e)){e=e.split("-")[0]}}return locales.includes(e)?e:"en"}var translationCache={};var requestCache={};function getLocaleData(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){switch(r.label){case 0:t=getSupportedLocale(e);if(translationCache[t]){return[2,translationCache[t]]}if(!requestCache[t]){requestCache[t]=fetch(getAssetPath("./assets/date-picker/nls/".concat(t,".json"))).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'.concat(t,'" not found or invalid, falling back to english'));return getLocaleData("en")}))}return[4,requestCache[t]];case 1:n=r.sent();translationCache[t]=n;return[2,n]}}))}))}function inRange(e,t,n){var r=e.getTime();var a=!(t instanceof Date)||r>=t.getTime();var o=!(n instanceof Date)||r<=n.getTime();return a&&o}function dateFromRange(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var a=t instanceof Date&&r<t.getTime();var o=n instanceof Date&&r>n.getTime();if(a){return t}if(o){return n}return e}function dateFromISO(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function dateToISO(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function sameDate(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function prevMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function nextMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function localizeNumber(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function parseNumber(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function parseDateString(e,t){var n=t.separator,r=t.unitOrder;var a=getOrder(r);var o=replaceArabicNumerals(e).split(n);return{day:parseInt(o[a.indexOf("d")]),month:parseInt(o[a.indexOf("m")])-1,year:parseInt(o[a.indexOf("y")])}}function replaceArabicNumerals(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function getOrder(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function getDaysDiff(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var HEADING_LEVEL=2;var TEXT={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{HEADING_LEVEL as H,TEXT as T,dateFromISO as a,dateFromRange as b,getDaysDiff as c,dateToISO as d,getOrder as e,prevMonth as f,getLocaleData as g,parseNumber as h,inRange as i,localizeNumber as l,nextMonth as n,parseDateString as p,sameDate as s};
5
+ * v1.0.0-next.541
6
+ */import{a as getAssetPath}from"./index-d514fd3e.js";import{a as locales}from"./locale-cc96165f.js";function getSupportedLocale(e){if(e===void 0){e=""}if(locales.indexOf(e)>-1){return e}e=e.toLowerCase();if(e.includes("-")){e=e.replace(/(\w+)-(\w+)/,(function(e,t,n){return"".concat(t,"-").concat(n.toUpperCase())}));if(!locales.includes(e)){e=e.split("-")[0]}}return locales.includes(e)?e:"en"}var translationCache={};var requestCache={};function getLocaleData(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(r){switch(r.label){case 0:t=getSupportedLocale(e);if(translationCache[t]){return[2,translationCache[t]]}if(!requestCache[t]){requestCache[t]=fetch(getAssetPath("./assets/date-picker/nls/".concat(t,".json"))).then((function(e){return e.json()})).catch((function(){console.error('Translations for "'.concat(t,'" not found or invalid, falling back to english'));return getLocaleData("en")}))}return[4,requestCache[t]];case 1:n=r.sent();translationCache[t]=n;return[2,n]}}))}))}function inRange(e,t,n){var r=e.getTime();var a=!(t instanceof Date)||r>=t.getTime();var o=!(n instanceof Date)||r<=n.getTime();return a&&o}function dateFromRange(e,t,n){if(!(e instanceof Date)){return null}var r=e.getTime();var a=t instanceof Date&&r<t.getTime();var o=n instanceof Date&&r>n.getTime();if(a){return t}if(o){return n}return e}function dateFromISO(e){if(e instanceof Date){return e}if(!e||typeof e!=="string"){return null}var t=e.split(/[: T-]/).map(parseFloat);var n=new Date(t[0],(t[1]||1)-1,t[2]||1);n.setFullYear(t[0]);if(isNaN(n.getTime())){throw new Error('Invalid ISO 8601 date: "'.concat(e,'"'))}return n}function dateToISO(e){if(typeof e==="string"){return e}if(e instanceof Date){return new Date(e.getTime()-e.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function sameDate(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function prevMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t-1);if(t===n.getMonth()){return new Date(e.getFullYear(),t,0)}return n}function nextMonth(e){var t=e.getMonth();var n=new Date(e);n.setMonth(t+1);if((t+2)%7===n.getMonth()%7){return new Date(e.getFullYear(),t+2,0)}return n}function localizeNumber(e,t){return String(e).split("").map((function(e){return t.numerals[e]})).join("")}function parseNumber(e,t){var n="0123456789";return parseInt(e.split("").map((function(e){return n[t.numerals.indexOf(e)]})).filter((function(e){return e})).join(""))}function parseDateString(e,t){var n=t.separator,r=t.unitOrder;var a=getOrder(r);var o=replaceArabicNumerals(e).split(n);return{day:parseInt(o[a.indexOf("d")]),month:parseInt(o[a.indexOf("m")])-1,year:parseInt(o[a.indexOf("y")])}}function replaceArabicNumerals(e){if(e===void 0){e=""}return e.replace(/[\u0660-\u0669]/g,(function(e){return e.charCodeAt(0)-1632})).replace(/[\u06f0-\u06f9]/g,(function(e){return e.charCodeAt(0)-1776}))}function getOrder(e){var t=["d","m","y"];var n=e.toLowerCase();return t.sort((function(e,t){return n.indexOf(e)-n.indexOf(t)}))}function getDaysDiff(e,t){var n=e.getTime();var r=t.getTime();return(n-r)/(1e3*3600*24)}var HEADING_LEVEL=2;var TEXT={nextMonth:"Next month",prevMonth:"Previous month",year:"Year"};export{HEADING_LEVEL as H,TEXT as T,dateFromISO as a,dateFromRange as b,getDaysDiff as c,dateToISO as d,getOrder as e,prevMonth as f,getLocaleData as g,parseNumber as h,inRange as i,localizeNumber as l,nextMonth as n,parseDateString as p,sameDate as s};
@@ -2,5 +2,5 @@ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e)
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.540
6
- */import{f as focusElement,g as getSlotted,t as toAriaBoolean}from"./dom-436db30d.js";import{g as getRoundRobinIndex}from"./array-d68030d1.js";import{d as debounce}from"./debounce-d9ca21e6.js";import{h,H as Host}from"./index-15d8b691.js";var CSS$2={heading:"heading",container:"container",indented:"container--indented"};var SLOTS$2={parentItem:"parent-item"};var HEADING_LEVEL=3;function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteInternalListItemValueChangeHandler(e){var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}e.stopPropagation()}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=i.contains(e.relatedTarget);if(l){return}filterOutDisabled(n).forEach((function(t){toggleSingleSelectItemTabbing(t,r.size===0?t.contains(e.target)||e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=moveItemIndex(this,i,t==="ArrowUp"?"up":"down");var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function moveItemIndex(e,t,i){var n=e.items;var a=n.length;var r=n.indexOf(t);var l=i==="up"?-1:1;var s=1;var o=getRoundRobinIndex(r+l*s++,a);var c=o;while(n[o].disabled){o=getRoundRobinIndex(r+l*s++,a);if(o===c){break}}return o}function getItemIndex(e,t){var i=e.items;return i.indexOf(t)}function filterOutDisabled(e){return e.filter((function(e){return!e.disabled}))}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"&&t.slot===SLOTS$2.parentItem){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(e.disabled){return}if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r,l,s;return __generator(this,(function(o){switch(o.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:o.sent();return[2];case 2:i=this,n=i.items,a=i.multiple,r=i.selectionFollowsFocus;if(n.length===0){return[2]}if(a){return[2,(t=filterOutDisabled(n)[0])===null||t===void 0?void 0:t.setFocus()]}l=filterOutDisabled(n);s=l.find((function(e){return e.selected}))||l[0];if(r&&s){s.selected=true}return[2,s.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a&&!a.disabled){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=i.dragEnabled,d=i.storeAssistiveEl,f=__rest(e,["props"]);var v=h("slot",null);return h(Host,__assign({"aria-busy":toAriaBoolean(a),role:"menu"},f),h("section",null,u?h("span",{"aria-live":"assertive",class:"assistive-text",ref:d}):null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a?h("calcite-scrim",{loading:a}):null,v))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,HEADING_LEVEL as H,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,getItemData as b,moveItemIndex as c,deselectRemovedItems as d,initializeObserver as e,cleanUpObserver as f,getItemIndex as g,handleFilter as h,initialize as i,calciteListFocusOutHandler as j,keyDownHandler as k,calciteListItemChangeHandler as l,mutationObserverCallback as m,calciteInternalListItemValueChangeHandler as n,setUpItems as o,setFocus as p,SLOTS$2 as q,removeItem as r,selectSiblings as s,CSS$2 as t,ICONS as u};
5
+ * v1.0.0-next.541
6
+ */import{f as focusElement,g as getSlotted,t as toAriaBoolean}from"./dom-77e16eb3.js";import{g as getRoundRobinIndex}from"./array-446667ee.js";import{d as debounce}from"./debounce-394ab6b8.js";import{h,H as Host}from"./index-d514fd3e.js";var CSS$2={heading:"heading",container:"container",indented:"container--indented"};var SLOTS$2={parentItem:"parent-item"};var HEADING_LEVEL=3;function mutationObserverCallback(){this.setUpItems();this.setUpFilter();this.deselectRemovedItems()}var SUPPORTED_ARROW_KEYS=["ArrowUp","ArrowDown"];function initialize(){this.setUpItems();this.setUpFilter();this.emitCalciteListChange=debounce(internalCalciteListChangeEvent.bind(this),0)}function initializeObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true})}function cleanUpObserver(){var e;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect()}function calciteListItemChangeHandler(e){var t=this.selectedValues;var i=e.detail,n=i.item,a=i.value,r=i.selected,l=i.shiftPressed;if(r){if(this.multiple&&l){this.selectSiblings(n)}if(!this.multiple){this.deselectSiblingItems(n)}t.set(a,n)}else{t.delete(a);if(this.multiple&&l){this.selectSiblings(n,true)}}if(!this.multiple){toggleSingleSelectItemTabbing(n,r);if(r){focusElement(n)}}this.lastSelectedItem=n;this.emitCalciteListChange()}function calciteInternalListItemValueChangeHandler(e){var t=e.detail.oldValue;var i=this.selectedValues;if(i.has(t)){var n=i.get(t);i.delete(t);i.set(e.detail.newValue,n)}e.stopPropagation()}function isValidNavigationKey(e){return!!SUPPORTED_ARROW_KEYS.find((function(t){return t===e}))}function calciteListFocusOutHandler(e){var t=this,i=t.el,n=t.items,a=t.multiple,r=t.selectedValues;if(a){return}var l=i.contains(e.relatedTarget);if(l){return}filterOutDisabled(n).forEach((function(t){toggleSingleSelectItemTabbing(t,r.size===0?t.contains(e.target)||e.target===t:t.selected)}))}function keyDownHandler(e){var t=e.key,i=e.target;if(!isValidNavigationKey(t)){return}var n=this,a=n.items,r=n.multiple,l=n.selectionFollowsFocus;var s=a.length;var o=a.indexOf(i);if(!s||o===-1){return}e.preventDefault();var c=moveItemIndex(this,i,t==="ArrowUp"?"up":"down");var u=a[c];a.forEach((function(e){return toggleSingleSelectItemTabbing(e,e===u)}));if(!r&&l){u.selected=true}focusElement(u)}function moveItemIndex(e,t,i){var n=e.items;var a=n.length;var r=n.indexOf(t);var l=i==="up"?-1:1;var s=1;var o=getRoundRobinIndex(r+l*s++,a);var c=o;while(n[o].disabled){o=getRoundRobinIndex(r+l*s++,a);if(o===c){break}}return o}function getItemIndex(e,t){var i=e.items;return i.indexOf(t)}function filterOutDisabled(e){return e.filter((function(e){return!e.disabled}))}function internalCalciteListChangeEvent(){this.calciteListChange.emit(this.selectedValues)}function removeItem(e){if(e.defaultPrevented){return}var t=e.target;var i=this.selectedValues;if(t.parentElement.tagName==="CALCITE-PICK-LIST-GROUP"&&t.slot===SLOTS$2.parentItem){t.parentElement.remove();Array.from(t.parentElement.children).forEach((function(e){return i.delete(e.value)}))}else{t.remove();i.delete(t.value)}this.emitCalciteListChange()}function toggleSingleSelectItemTabbing(e,t){if(e.disabled){return}if(t){e.removeAttribute("tabindex")}else{e.setAttribute("tabindex","-1")}}function setFocus(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,a,r,l,s;return __generator(this,(function(o){switch(o.label){case 0:if(!(this.filterEnabled&&e==="filter"))return[3,2];return[4,focusElement(this.filterEl)];case 1:o.sent();return[2];case 2:i=this,n=i.items,a=i.multiple,r=i.selectionFollowsFocus;if(n.length===0){return[2]}if(a){return[2,(t=filterOutDisabled(n)[0])===null||t===void 0?void 0:t.setFocus()]}l=filterOutDisabled(n);s=l.find((function(e){return e.selected}))||l[0];if(r&&s){s.selected=true}return[2,s.setFocus()]}}))}))}function setUpItems(e){var t=this;this.items=Array.from(this.el.querySelectorAll(e));var i=false;var n=this.items;n.forEach((function(e){e.icon=t.getIconType();if(!t.multiple){e.disableDeselect=true;toggleSingleSelectItemTabbing(e,false)}if(e.selected){i=true;toggleSingleSelectItemTabbing(e,true);t.selectedValues.set(e.value,e)}}));var a=n[0];if(!i&&a&&!a.disabled){toggleSingleSelectItemTabbing(a,true)}}function deselectRemovedItems(){var e=this;var t=this.selectedValues;var i=this.items.map((function(e){var t=e.value;return t}));t.forEach((function(t){if(!i.includes(t.value)){e.selectedValues.delete(t.value)}}))}function deselectSiblingItems(e){var t=this;this.items.forEach((function(i){if(i.value!==e.value){i.toggleSelected(false);if(t.selectedValues.has(i.value)){t.selectedValues.delete(i.value)}}}))}function selectSiblings(e,t){var i=this;if(t===void 0){t=false}if(!this.lastSelectedItem){return}var n=this.items;var a=n.findIndex((function(e){return e.value===i.lastSelectedItem.value}));var r=n.findIndex((function(t){return t.value===e.value}));n.slice(Math.min(a,r),Math.max(a,r)).forEach((function(e){e.toggleSelected(!t);if(!t){i.selectedValues.set(e.value,e)}else{i.selectedValues.delete(e.value)}}))}var groups;function handleFilter(e){var t=e.currentTarget.filteredItems;var i=t.map((function(e){return e.value}));var n=false;if(!groups){groups=new Set}var a=this.items.filter((function(e){var t=e.parentElement;var a=t.matches("calcite-pick-list-group");if(a){groups.add(t)}var r=i.includes(e.value);e.hidden=!r;if(!n){n=r&&e.selected}return r}));groups.forEach((function(e){var t=a.some((function(t){return e.contains(t)}));e.hidden=!t;if(!t){return}var i=getSlotted(e,"parent-item");if(i){i.hidden=false;if(a.includes(i)){Array.from(e.children).forEach((function(e){return e.hidden=false}))}}}));groups.clear();if(a.length>0&&!n&&!this.multiple){toggleSingleSelectItemTabbing(a[0],true)}}function getItemData(){return this.items.map((function(e){return{label:e.label,description:e.description,metadata:e.metadata,value:e.value}}))}var CSS$1={sticky:"sticky-pos"};var ICON_TYPES;(function(e){e["circle"]="circle";e["square"]="square";e["grip"]="grip"})(ICON_TYPES||(ICON_TYPES={}));var SLOTS$1={menuActions:"menu-actions"};var List=function(e){var t;var i=e.props,n=i.disabled,a=i.loading,r=i.filterEnabled,l=i.dataForFilter,s=i.handleFilter,o=i.filterPlaceholder,c=i.setFilterEl,u=i.dragEnabled,d=i.storeAssistiveEl,f=__rest(e,["props"]);var v=h("slot",null);return h(Host,__assign({"aria-busy":toAriaBoolean(a),role:"menu"},f),h("section",null,u?h("span",{"aria-live":"assertive",class:"assistive-text",ref:d}):null,h("header",{class:(t={},t[CSS$1.sticky]=true,t)},r?h("calcite-filter",{"aria-label":o,disabled:a||n,items:l,onCalciteFilterChange:s,placeholder:o,ref:c}):null,h("slot",{name:SLOTS$1.menuActions})),a?h("calcite-scrim",{loading:a}):null,v))};var CSS={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"};var ICONS={checked:"check",remove:"x"};var SLOTS={actionsEnd:"actions-end",actionsStart:"actions-start"};var TEXT={remove:"Remove"};export{CSS as C,HEADING_LEVEL as H,ICON_TYPES as I,List as L,SLOTS as S,TEXT as T,deselectSiblingItems as a,getItemData as b,moveItemIndex as c,deselectRemovedItems as d,initializeObserver as e,cleanUpObserver as f,getItemIndex as g,handleFilter as h,initialize as i,calciteListFocusOutHandler as j,keyDownHandler as k,calciteListItemChangeHandler as l,mutationObserverCallback as m,calciteInternalListItemValueChangeHandler as n,setUpItems as o,setFocus as p,SLOTS$2 as q,removeItem as r,selectSiblings as s,CSS$2 as t,ICONS as u};
@@ -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.540
4
+ * v1.0.0-next.541
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.540
4
+ * v1.0.0-next.541
5
5
  */
6
6
  function rgbToHex(r){var e=r.r,n=r.g,t=r.b;return"#".concat(e.toString(16).padStart(2,"0")).concat(n.toString(16).padStart(2,"0")).concat(t.toString(16).padStart(2,"0")).toLowerCase()}var hexChar=/^[0-9A-F]$/i;var shortHandHex=/^#[0-9A-F]{3}$/i;var longhandHex=/^#[0-9A-F]{6}$/i;function isValidHex(r){return isShorthandHex(r)||isLonghandHex(r)}function isShorthandHex(r){return r&&r.length===4&&shortHandHex.test(r)}function isLonghandHex(r){return r&&r.length===7&&longhandHex.test(r)}function normalizeHex(r){r=r.toLowerCase();if(!r.startsWith("#")){r="#".concat(r)}if(isShorthandHex(r)){return rgbToHex(hexToRGB(r))}return r}function hexToRGB(r){if(!isValidHex(r)){return null}r=r.replace("#","");if(r.length===3){var e=r.split(""),n=e[0],t=e[1],o=e[2];var a=parseInt("".concat(n).concat(n),16);var s=parseInt("".concat(t).concat(t),16);var i=parseInt("".concat(o).concat(o),16);return{r:a,g:s,b:i}}var h=parseInt(r.slice(0,2),16);var l=parseInt(r.slice(2,4),16);var S=parseInt(r.slice(4,6),16);return{r:h,g:l,b:S}}var enumify=function(r){return r};var CSSColorMode=enumify({HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"});var ObjectColorMode=enumify({RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",HSV:"hsv",HSVA:"hsva"});function parseMode(r){if(typeof r==="string"){if(r.startsWith("#")){var e=r.length;if(e===4||e===7){return CSSColorMode.HEX}if(e===5||e===9){return CSSColorMode.HEXA}}if(r.startsWith("rgba(")){return CSSColorMode.RGBA_CSS}if(r.startsWith("rgb(")){return CSSColorMode.RGB_CSS}if(r.startsWith("hsl(")){return CSSColorMode.HSL_CSS}if(r.startsWith("hsla(")){return CSSColorMode.HSLA_CSS}}if(typeof r==="object"){if(hasChannels(r,"r","g","b")){return hasChannels(r,"a")?ObjectColorMode.RGBA:ObjectColorMode.RGB}if(hasChannels(r,"h","s","l")){return hasChannels(r,"a")?ObjectColorMode.HSLA:ObjectColorMode.HSL}if(hasChannels(r,"h","s","v")){return hasChannels(r,"a")?ObjectColorMode.HSVA:ObjectColorMode.HSV}}return null}function hasChannels(r){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return e.every((function(e){return e&&r&&"".concat(e)in r}))}function colorEqual(r,e){return(r===null||r===void 0?void 0:r.rgbNumber())===(e===null||e===void 0?void 0:e.rgbNumber())}export{CSSColorMode as C,isLonghandHex as a,hexChar as b,colorEqual as c,hexToRGB as h,isValidHex as i,normalizeHex as n,parseMode as p,rgbToHex as r};
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2022-07-26T17:27:05",
2
+ "timestamp": "2022-07-26T21:50:26",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "2.16.1",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.540
4
+ * v1.0.0-next.541
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.540
4
+ * v1.0.0-next.541
5
5
  */
6
6
  module.exports = require('../cjs/loader.cjs.js');
7
7
  module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.540
4
+ * v1.0.0-next.541
5
5
  */
6
6
  export * from '../esm/polyfills/index.js';
7
7
  export * from '../esm/loader.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.540
4
+ * v1.0.0-next.541
5
5
  */
6
6
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
7
7
  export * from '../esm/polyfills/index.js';
@@ -22,9 +22,10 @@ export declare class Combobox implements LabelableComponent, FormComponent, Inte
22
22
  * @deprecated use open instead
23
23
  */
24
24
  active: boolean;
25
- activeHandler(): void;
25
+ activeHandler(value: boolean): void;
26
26
  /**When true, opens the combobox */
27
27
  open: boolean;
28
+ openHandler(value: boolean): void;
28
29
  /** Disable combobox input */
29
30
  disabled: boolean;
30
31
  handleDisabledChange(value: boolean): void;
@@ -16,9 +16,10 @@ export declare class Dropdown implements InteractiveComponent, OpenCloseComponen
16
16
  * @deprecated use open instead.
17
17
  */
18
18
  active: boolean;
19
+ activeHandler(value: boolean): void;
19
20
  /** When true, opens the dropdown */
20
21
  open: boolean;
21
- activeHandler(): void;
22
+ openHandler(value: boolean): void;
22
23
  /**
23
24
  allow the dropdown to remain open after a selection is made
24
25
  if the selection-mode of the selected item's containing group is "none", the dropdown will always close
@@ -86,6 +87,7 @@ export declare class Dropdown implements InteractiveComponent, OpenCloseComponen
86
87
  handleItemSelect(event: CustomEvent): void;
87
88
  filteredFlipPlacements: EffectivePlacement[];
88
89
  private items;
90
+ private groups;
89
91
  /** trigger elements */
90
92
  private triggers;
91
93
  floatingEl: HTMLDivElement;
@@ -100,6 +102,7 @@ export declare class Dropdown implements InteractiveComponent, OpenCloseComponen
100
102
  setFilteredPlacements: () => void;
101
103
  updateTriggers: (event: Event) => void;
102
104
  updateItems: () => void;
105
+ updateGroups: (event: Event) => void;
103
106
  resizeObserverCallback: (entries: ResizeObserverEntry[]) => void;
104
107
  setDropdownWidth: () => void;
105
108
  setMaxScrollerHeight: () => void;
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.540
4
+ * v1.0.0-next.541
5
5
  */
6
6
  'use strict';
7
7
 
@@ -15434,8 +15434,7 @@ class Combobox {
15434
15434
  this.addCustomChip(this.text, true);
15435
15435
  event.preventDefault();
15436
15436
  }
15437
- else if (this.open || this.active) {
15438
- this.active = false;
15437
+ else if (this.open) {
15439
15438
  this.open = false;
15440
15439
  event.preventDefault();
15441
15440
  }
@@ -15453,9 +15452,8 @@ class Combobox {
15453
15452
  }
15454
15453
  break;
15455
15454
  case "ArrowDown":
15456
- if (!(this.open || this.active)) {
15455
+ if (!this.open) {
15457
15456
  event.preventDefault();
15458
- this.active = true;
15459
15457
  this.open = true;
15460
15458
  }
15461
15459
  this.shiftActiveItemIndex(1);
@@ -15466,13 +15464,12 @@ class Combobox {
15466
15464
  case " ":
15467
15465
  if (!this.textInput.value) {
15468
15466
  event.preventDefault();
15469
- this.active = true;
15470
15467
  this.open = true;
15471
15468
  this.shiftActiveItemIndex(1);
15472
15469
  }
15473
15470
  break;
15474
15471
  case "Home":
15475
- if (this.open || this.active) {
15472
+ if (this.open) {
15476
15473
  event.preventDefault();
15477
15474
  }
15478
15475
  this.updateActiveItemIndex(0);
@@ -15482,7 +15479,7 @@ class Combobox {
15482
15479
  }
15483
15480
  break;
15484
15481
  case "End":
15485
- if (this.open || this.active) {
15482
+ if (this.open) {
15486
15483
  event.preventDefault();
15487
15484
  }
15488
15485
  this.updateActiveItemIndex(this.visibleItems.length - 1);
@@ -15492,7 +15489,6 @@ class Combobox {
15492
15489
  }
15493
15490
  break;
15494
15491
  case "Escape":
15495
- this.active = false;
15496
15492
  this.open = false;
15497
15493
  break;
15498
15494
  case "Enter":
@@ -15521,29 +15517,26 @@ class Combobox {
15521
15517
  }
15522
15518
  };
15523
15519
  this.toggleCloseEnd = () => {
15524
- this.active = false;
15525
15520
  this.open = false;
15526
15521
  this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
15527
15522
  };
15528
15523
  this.toggleOpenEnd = () => {
15529
- this.active = true;
15530
15524
  this.open = false;
15531
15525
  this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
15532
15526
  };
15533
15527
  this.transitionEnd = (event) => {
15534
15528
  if (event.propertyName === this.activeTransitionProp && event.target === this.listContainerEl) {
15535
- this.open || this.active ? this.onOpen() : this.onClose();
15529
+ this.open ? this.onOpen() : this.onClose();
15536
15530
  }
15537
15531
  };
15538
15532
  this.transitionStartHandler = (event) => {
15539
15533
  if (event.propertyName === this.activeTransitionProp && event.target === this.listContainerEl) {
15540
- this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
15534
+ this.open ? this.onBeforeOpen() : this.onBeforeClose();
15541
15535
  }
15542
15536
  };
15543
15537
  this.setMaxScrollerHeight = async () => {
15544
- const { active, listContainerEl, open } = this;
15545
- const isOpen = !(active || open);
15546
- if (!listContainerEl || isOpen) {
15538
+ const { listContainerEl, open } = this;
15539
+ if (!listContainerEl || !open) {
15547
15540
  return;
15548
15541
  }
15549
15542
  await this.reposition();
@@ -15552,7 +15545,6 @@ class Combobox {
15552
15545
  await this.reposition();
15553
15546
  };
15554
15547
  this.calciteChipDismissHandler = (event, comboboxItem) => {
15555
- this.active = false;
15556
15548
  this.open = false;
15557
15549
  const selection = this.items.find((item) => item === comboboxItem);
15558
15550
  if (selection) {
@@ -15564,15 +15556,13 @@ class Combobox {
15564
15556
  if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
15565
15557
  return;
15566
15558
  }
15567
- this.active = !this.active;
15568
15559
  this.open = !this.open;
15569
15560
  this.updateActiveItemIndex(0);
15570
15561
  this.setFocus();
15571
15562
  };
15572
15563
  this.setInactiveIfNotContained = (event) => {
15573
15564
  const composedPath = event.composedPath();
15574
- const isOpen = !(this.open || this.active);
15575
- if (isOpen || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
15565
+ if (!this.open || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
15576
15566
  return;
15577
15567
  }
15578
15568
  if (this.allowCustomValues && this.text.trim().length) {
@@ -15586,7 +15576,6 @@ class Combobox {
15586
15576
  this.filterItems("");
15587
15577
  this.updateActiveItemIndex(-1);
15588
15578
  }
15589
- this.active = false;
15590
15579
  this.open = false;
15591
15580
  };
15592
15581
  this.setFloatingEl = (el) => {
@@ -15678,12 +15667,21 @@ class Combobox {
15678
15667
  this.setInactiveIfNotContained(event);
15679
15668
  };
15680
15669
  }
15681
- activeHandler() {
15670
+ activeHandler(value) {
15671
+ if (this.disabled) {
15672
+ this.active = false;
15673
+ this.open = false;
15674
+ return;
15675
+ }
15676
+ this.open = value;
15677
+ }
15678
+ openHandler(value) {
15682
15679
  if (this.disabled) {
15683
15680
  this.active = false;
15684
15681
  this.open = false;
15685
15682
  return;
15686
15683
  }
15684
+ this.active = value;
15687
15685
  this.setMaxScrollerHeight();
15688
15686
  }
15689
15687
  handleDisabledChange(value) {
@@ -15771,6 +15769,12 @@ class Combobox {
15771
15769
  connectForm(this);
15772
15770
  this.reposition();
15773
15771
  this.setFilteredPlacements();
15772
+ if (this.active) {
15773
+ this.activeHandler(this.active);
15774
+ }
15775
+ if (this.open) {
15776
+ this.openHandler(this.open);
15777
+ }
15774
15778
  }
15775
15779
  componentWillLoad() {
15776
15780
  this.updateItems();
@@ -15877,7 +15881,6 @@ class Combobox {
15877
15881
  if (this.textInput) {
15878
15882
  this.textInput.value = item.textLabel;
15879
15883
  }
15880
- this.active = false;
15881
15884
  this.open = false;
15882
15885
  this.updateActiveItemIndex(-1);
15883
15886
  this.resetText();
@@ -16118,7 +16121,7 @@ class Combobox {
16118
16121
  get el() { return getElement(this); }
16119
16122
  static get watchers() { return {
16120
16123
  "active": ["activeHandler"],
16121
- "open": ["activeHandler"],
16124
+ "open": ["openHandler"],
16122
16125
  "disabled": ["handleDisabledChange"],
16123
16126
  "maxItems": ["maxItemsHandler"],
16124
16127
  "overlayPositioning": ["overlayPositioningHandler"],
@@ -17807,7 +17810,7 @@ const SLOTS$i = {
17807
17810
  dropdownTrigger: "dropdown-trigger"
17808
17811
  };
17809
17812
 
17810
- 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-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@: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*/.sc-calcite-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@: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-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{position:relative;z-index:1;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([active]) .calcite-dropdown-wrapper,\n:host([open]) .calcite-dropdown-wrapper*/[active].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown,[open].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{inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-block-size:90vh;inline-size: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}@media (forced-colors: active){/*!@:host([active]) .calcite-dropdown-wrapper,\n:host([open]) .calcite-dropdown-wrapper*/[active].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown,[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@: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}";
17813
+ 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-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@: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*/.sc-calcite-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@: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-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{position:relative;z-index:1;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=top].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=left].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=right].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active*/.calcite-dropdown-wrapper[data-placement].sc-calcite-dropdown .calcite-floating-ui-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].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{inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-block-size:90vh;inline-size: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}@media (forced-colors: active){/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{border:1px solid canvasText}}/*!@: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}";
17811
17814
 
17812
17815
  /**
17813
17816
  * @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.
@@ -17865,6 +17868,7 @@ class Dropdown {
17865
17868
  /** specify whether the dropdown is opened by hover or click of a trigger element */
17866
17869
  this.type = "click";
17867
17870
  this.items = [];
17871
+ this.groups = [];
17868
17872
  this.activeTransitionProp = "visibility";
17869
17873
  this.mutationObserver = createObserver();
17870
17874
  this.resizeObserver = createObserver();
@@ -17894,15 +17898,19 @@ class Dropdown {
17894
17898
  this.reposition();
17895
17899
  };
17896
17900
  this.updateItems = () => {
17897
- const { defaultAssignedElements } = this;
17898
- this.items = defaultAssignedElements.filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group, calcite-dropdown-item"))
17899
- .map((el) => el.matches("calcite-dropdown-group")
17900
- ? Array.from(el.querySelectorAll("calcite-dropdown-item"))
17901
- : [el])
17901
+ this.items = this.groups
17902
+ .map((group) => Array.from(group === null || group === void 0 ? void 0 : group.querySelectorAll("calcite-dropdown-item")))
17902
17903
  .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
17903
17904
  this.updateSelectedItems();
17904
17905
  this.reposition();
17905
17906
  };
17907
+ this.updateGroups = (event) => {
17908
+ const groups = event.target
17909
+ .assignedElements({ flatten: true })
17910
+ .filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-dropdown-group"));
17911
+ this.groups = groups;
17912
+ this.updateItems();
17913
+ };
17906
17914
  this.resizeObserverCallback = (entries) => {
17907
17915
  entries.forEach((entry) => {
17908
17916
  const { target } = entry;
@@ -17923,9 +17931,8 @@ class Dropdown {
17923
17931
  scrollerEl.style.minWidth = `${referenceElWidth}px`;
17924
17932
  };
17925
17933
  this.setMaxScrollerHeight = () => {
17926
- const { active, scrollerEl, open } = this;
17927
- const isOpen = !(active || open);
17928
- if (!scrollerEl || isOpen) {
17934
+ const { scrollerEl, open } = this;
17935
+ if (!scrollerEl || !open) {
17929
17936
  return;
17930
17937
  }
17931
17938
  this.reposition();
@@ -17940,12 +17947,12 @@ class Dropdown {
17940
17947
  };
17941
17948
  this.transitionEnd = (event) => {
17942
17949
  if (event.propertyName === this.activeTransitionProp && event.target === this.scrollerEl) {
17943
- this.open || this.active ? this.onOpen() : this.onClose();
17950
+ this.open ? this.onOpen() : this.onClose();
17944
17951
  }
17945
17952
  };
17946
17953
  this.transitionStartHandler = (event) => {
17947
17954
  if (event.propertyName === this.activeTransitionProp && event.target === this.scrollerEl) {
17948
- this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
17955
+ this.open ? this.onBeforeOpen() : this.onBeforeClose();
17949
17956
  }
17950
17957
  };
17951
17958
  this.setReferenceEl = (el) => {
@@ -17963,7 +17970,7 @@ class Dropdown {
17963
17970
  return;
17964
17971
  }
17965
17972
  const key = event.key;
17966
- if ((this.open || this.active) && (key === "Escape" || (event.shiftKey && key === "Tab"))) {
17973
+ if (this.open && (key === "Escape" || (event.shiftKey && key === "Tab"))) {
17967
17974
  this.closeCalciteDropdown();
17968
17975
  return;
17969
17976
  }
@@ -17985,24 +17992,25 @@ class Dropdown {
17985
17992
  this.el.removeEventListener("calciteDropdownOpen", this.toggleOpenEnd);
17986
17993
  };
17987
17994
  this.openCalciteDropdown = () => {
17988
- this.active = !this.active;
17989
17995
  this.open = !this.open;
17990
- if (this.active || this.open) {
17996
+ if (this.open) {
17991
17997
  this.el.addEventListener("calciteDropdownOpen", this.toggleOpenEnd);
17992
17998
  }
17993
17999
  };
17994
18000
  }
17995
- activeHandler() {
18001
+ activeHandler(value) {
18002
+ this.open = value;
18003
+ }
18004
+ openHandler(value) {
17996
18005
  if (!this.disabled) {
17997
18006
  this.reposition();
18007
+ this.active = value;
17998
18008
  return;
17999
18009
  }
18000
- this.active = false;
18001
18010
  this.open = false;
18002
18011
  }
18003
18012
  handleDisabledChange(value) {
18004
18013
  if (!value) {
18005
- this.active = false;
18006
18014
  this.open = false;
18007
18015
  }
18008
18016
  }
@@ -18028,6 +18036,12 @@ class Dropdown {
18028
18036
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
18029
18037
  this.setFilteredPlacements();
18030
18038
  this.reposition();
18039
+ if (this.open) {
18040
+ this.openHandler(this.open);
18041
+ }
18042
+ if (this.active) {
18043
+ this.activeHandler(this.active);
18044
+ }
18031
18045
  }
18032
18046
  componentDidLoad() {
18033
18047
  this.reposition();
@@ -18043,12 +18057,12 @@ class Dropdown {
18043
18057
  (_c = this.scrollerEl) === null || _c === void 0 ? void 0 : _c.removeEventListener("transitionstart", this.transitionStartHandler);
18044
18058
  }
18045
18059
  render() {
18046
- const { active, open, guid } = this;
18047
- return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "menu", name: SLOTS$i.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
18060
+ const { open, guid } = this;
18061
+ return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$i.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, hAsync("div", { "aria-labelledby": `${guid}-menubutton`, class: {
18048
18062
  ["calcite-dropdown-content"]: true,
18049
18063
  [FloatingCSS.animation]: true,
18050
- [FloatingCSS.animationActive]: active || open
18051
- }, id: `${guid}-menu`, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl, role: "menu" }, hAsync("div", { hidden: !(open || active) }, hAsync("slot", { onSlotchange: this.slotChangeHandler }))))));
18064
+ [FloatingCSS.animationActive]: open
18065
+ }, id: `${guid}-menu`, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl, role: "menu" }, hAsync("div", { hidden: !open }, hAsync("slot", { onSlotchange: this.updateGroups }))))));
18052
18066
  }
18053
18067
  //--------------------------------------------------------------------------
18054
18068
  //
@@ -18067,8 +18081,7 @@ class Dropdown {
18067
18081
  });
18068
18082
  }
18069
18083
  closeCalciteDropdownOnClick(event) {
18070
- const isOpen = !(this.open || this.active);
18071
- if (isOpen || event.composedPath().includes(this.el)) {
18084
+ if (!this.open || event.composedPath().includes(this.el)) {
18072
18085
  return;
18073
18086
  }
18074
18087
  this.closeCalciteDropdown(false);
@@ -18081,7 +18094,6 @@ class Dropdown {
18081
18094
  if (event.composedPath().includes(this.el)) {
18082
18095
  return;
18083
18096
  }
18084
- this.active = false;
18085
18097
  this.open = false;
18086
18098
  }
18087
18099
  mouseEnterHandler() {
@@ -18161,24 +18173,25 @@ class Dropdown {
18161
18173
  let itemsToProcess = 0;
18162
18174
  let maxScrollerHeight = 0;
18163
18175
  let groupHeaderHeight;
18164
- if (maxItems > 0 && itemsToProcess < maxItems) {
18165
- this.items.forEach((item) => {
18166
- if (item.matches("calcite-dropdown-group calcite-dropdown-item:first-child")) {
18167
- if (isNaN(groupHeaderHeight)) {
18168
- groupHeaderHeight = item.offsetTop;
18176
+ this.groups.forEach((group) => {
18177
+ if (maxItems > 0 && itemsToProcess < maxItems) {
18178
+ Array.from(group.children).forEach((item, index) => {
18179
+ if (index === 0) {
18180
+ if (isNaN(groupHeaderHeight)) {
18181
+ groupHeaderHeight = item.offsetTop;
18182
+ }
18183
+ maxScrollerHeight += groupHeaderHeight;
18169
18184
  }
18170
- maxScrollerHeight += groupHeaderHeight;
18171
- }
18172
- if (itemsToProcess < maxItems) {
18173
- maxScrollerHeight += item.offsetHeight;
18174
- itemsToProcess += 1;
18175
- }
18176
- });
18177
- }
18185
+ if (itemsToProcess < maxItems) {
18186
+ maxScrollerHeight += item.offsetHeight;
18187
+ itemsToProcess += 1;
18188
+ }
18189
+ });
18190
+ }
18191
+ });
18178
18192
  return maxScrollerHeight;
18179
18193
  }
18180
18194
  closeCalciteDropdown(focusTrigger = true) {
18181
- this.active = false;
18182
18195
  this.open = false;
18183
18196
  if (focusTrigger) {
18184
18197
  focusElement(this.triggers[0]);
@@ -18217,7 +18230,7 @@ class Dropdown {
18217
18230
  get el() { return getElement(this); }
18218
18231
  static get watchers() { return {
18219
18232
  "active": ["activeHandler"],
18220
- "open": ["activeHandler"],
18233
+ "open": ["openHandler"],
18221
18234
  "disabled": ["handleDisabledChange"],
18222
18235
  "flipPlacements": ["flipPlacementsHandler"],
18223
18236
  "maxItems": ["maxItemsHandler"],
@@ -22582,12 +22595,12 @@ class Modal {
22582
22595
  };
22583
22596
  this.transitionStartHandler = (event) => {
22584
22597
  if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
22585
- this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
22598
+ this.open ? this.onBeforeOpen() : this.onBeforeClose();
22586
22599
  }
22587
22600
  };
22588
22601
  this.transitionEnd = (event) => {
22589
22602
  if (event.propertyName === this.activeTransitionProp && event.target === this.containerEl) {
22590
- this.open || this.active ? this.onOpen() : this.onClose();
22603
+ this.open ? this.onOpen() : this.onClose();
22591
22604
  }
22592
22605
  };
22593
22606
  this.openEnd = () => {
@@ -22603,8 +22616,8 @@ class Modal {
22603
22616
  /** Close the modal, first running the `beforeClose` method */
22604
22617
  this.close = () => {
22605
22618
  return this.beforeClose(this.el).then(() => {
22606
- this.active = false;
22607
22619
  this.open = false;
22620
+ this.active = false;
22608
22621
  focusElement(this.previousActiveElement);
22609
22622
  this.removeOverflowHiddenClass();
22610
22623
  });
@@ -22632,7 +22645,7 @@ class Modal {
22632
22645
  //--------------------------------------------------------------------------
22633
22646
  componentWillLoad() {
22634
22647
  // when modal initially renders, if active was set we need to open as watcher doesn't fire
22635
- if (this.open || this.active) {
22648
+ if (this.open) {
22636
22649
  this.openModal();
22637
22650
  }
22638
22651
  }
@@ -22690,7 +22703,7 @@ class Modal {
22690
22703
  //
22691
22704
  //--------------------------------------------------------------------------
22692
22705
  handleEscape(event) {
22693
- if ((this.open || this.active) && !this.disableEscape && event.key === "Escape") {
22706
+ if (this.open && !this.disableEscape && event.key === "Escape") {
22694
22707
  this.close();
22695
22708
  }
22696
22709
  }
@@ -22766,8 +22779,8 @@ class Modal {
22766
22779
  openModal() {
22767
22780
  this.previousActiveElement = document.activeElement;
22768
22781
  this.el.addEventListener("calciteModalOpen", this.openEnd);
22769
- this.active = true;
22770
22782
  this.open = true;
22783
+ this.active = true;
22771
22784
  const titleEl = getSlotted(this.el, SLOTS$e.header);
22772
22785
  const contentEl = getSlotted(this.el, SLOTS$e.content);
22773
22786
  this.titleId = ensureId(titleEl);