@esri/calcite-components 1.0.0-next.605 → 1.0.0-next.607

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 (679) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +1 -1
  3. package/dist/calcite/{p-da9fb826.js → p-0194be0b.js} +1 -1
  4. package/dist/calcite/{p-c4ec7584.js → p-04cd97f0.js} +2 -2
  5. package/dist/calcite/{p-a3311f4c.entry.js → p-05d91128.entry.js} +2 -2
  6. package/dist/calcite/{p-d22a5a99.entry.js → p-0a89a06d.entry.js} +2 -2
  7. package/dist/calcite/{p-d73bfb49.entry.js → p-0c941429.entry.js} +2 -2
  8. package/dist/calcite/{p-56529171.entry.js → p-10ed6464.entry.js} +2 -2
  9. package/dist/calcite/{p-6fa69299.entry.js → p-1142d6c8.entry.js} +2 -2
  10. package/dist/calcite/p-1305ee55.entry.js +6 -0
  11. package/dist/calcite/p-15fac2ab.js +6 -0
  12. package/dist/calcite/{p-c05f14e1.entry.js → p-215f9b3e.entry.js} +2 -2
  13. package/dist/calcite/{p-47b05392.js → p-228742f9.js} +2 -2
  14. package/dist/calcite/{p-39310407.entry.js → p-233e9c82.entry.js} +2 -2
  15. package/dist/calcite/{p-a7ff8b5e.entry.js → p-2577a91d.entry.js} +2 -2
  16. package/dist/calcite/{p-a4b453ef.entry.js → p-27480e42.entry.js} +2 -2
  17. package/dist/calcite/{p-665d6690.entry.js → p-2824d942.entry.js} +2 -2
  18. package/dist/calcite/{p-7da1bd2d.entry.js → p-29e7d607.entry.js} +2 -2
  19. package/dist/calcite/{p-c4f35c1d.entry.js → p-2a2d9854.entry.js} +2 -2
  20. package/dist/calcite/{p-1b29b480.entry.js → p-2ac4da68.entry.js} +2 -2
  21. package/dist/calcite/{p-c5b161a3.entry.js → p-2b623d7a.entry.js} +2 -2
  22. package/dist/calcite/{p-d6395bde.js → p-2e91306b.js} +1 -1
  23. package/dist/calcite/{p-20cf073f.entry.js → p-3191298d.entry.js} +2 -2
  24. package/dist/calcite/{p-62faaa89.js → p-331f03ef.js} +2 -2
  25. package/dist/calcite/{p-b245e0bd.entry.js → p-35a4696c.entry.js} +2 -2
  26. package/dist/calcite/{p-76b938c3.entry.js → p-35f864c5.entry.js} +2 -2
  27. package/dist/calcite/{p-8bf0b09d.entry.js → p-36207d38.entry.js} +2 -2
  28. package/dist/calcite/{p-143ce726.entry.js → p-389235c5.entry.js} +2 -2
  29. package/dist/calcite/p-3ad75dbc.entry.js +6 -0
  30. package/dist/calcite/{p-c2a1336a.entry.js → p-3c0e6bf9.entry.js} +2 -2
  31. package/dist/calcite/{p-b2a0941a.entry.js → p-3f71cb54.entry.js} +2 -2
  32. package/dist/calcite/{p-5996812a.entry.js → p-4053f375.entry.js} +2 -2
  33. package/dist/calcite/{p-57ea3109.entry.js → p-4054de19.entry.js} +2 -2
  34. package/dist/calcite/{p-53361e13.entry.js → p-4b6ab904.entry.js} +2 -2
  35. package/dist/calcite/{p-16fca6d8.js → p-4bba5de5.js} +2 -2
  36. package/dist/calcite/{p-f5ab8322.entry.js → p-4d118fe7.entry.js} +2 -2
  37. package/dist/calcite/{p-42828fde.js → p-534d76ec.js} +1 -1
  38. package/dist/calcite/{p-2190ab0e.entry.js → p-56e13c26.entry.js} +2 -2
  39. package/dist/calcite/{p-07f07127.entry.js → p-57cd8bf6.entry.js} +2 -2
  40. package/dist/calcite/{p-811b9da2.js → p-5a7d6abb.js} +1 -1
  41. package/dist/calcite/{p-81a65195.js → p-68be1a57.js} +1 -1
  42. package/dist/calcite/{p-0a3c5912.js → p-724ffb2b.js} +1 -1
  43. package/dist/calcite/{p-45e5800d.js → p-792a67ad.js} +1 -1
  44. package/dist/calcite/{p-f614abb8.entry.js → p-7f645e69.entry.js} +2 -2
  45. package/dist/calcite/{p-ca974433.js → p-8027c4fc.js} +2 -2
  46. package/dist/calcite/{p-4ed85873.entry.js → p-860f95db.entry.js} +2 -2
  47. package/dist/calcite/{p-6faba067.entry.js → p-8bbc5021.entry.js} +2 -2
  48. package/dist/calcite/{p-6e531fad.entry.js → p-8ce99d30.entry.js} +2 -2
  49. package/dist/calcite/p-8d64e950.js +6 -0
  50. package/dist/calcite/{p-78f25919.entry.js → p-963f91e7.entry.js} +2 -2
  51. package/dist/calcite/{p-3489af4d.entry.js → p-976bd33d.entry.js} +2 -2
  52. package/dist/calcite/{p-ce4d590c.js → p-9cc66598.js} +2 -2
  53. package/dist/calcite/{p-c3ec4e71.entry.js → p-9ef24687.entry.js} +2 -2
  54. package/dist/calcite/{p-33a88844.js → p-a19ba1b8.js} +1 -1
  55. package/dist/calcite/{p-878d494f.entry.js → p-a214e596.entry.js} +2 -2
  56. package/dist/calcite/p-a4f2a140.js +6 -0
  57. package/dist/calcite/{p-061fbfb7.js → p-a9c93bf7.js} +1 -1
  58. package/dist/calcite/{p-eb756dbe.js → p-ab2f0124.js} +1 -1
  59. package/dist/calcite/{p-46ca1b08.entry.js → p-ae537940.entry.js} +2 -2
  60. package/dist/calcite/{p-ab26cd3b.js → p-aec0e90c.js} +1 -1
  61. package/dist/calcite/{p-4c3134dd.js → p-b068d057.js} +2 -2
  62. package/dist/calcite/{p-42475cf6.entry.js → p-b2c6b06b.entry.js} +2 -2
  63. package/dist/calcite/{p-d5de3abc.entry.js → p-b96cd9fe.entry.js} +2 -2
  64. package/dist/calcite/p-ba8d8dbd.entry.js +6 -0
  65. package/dist/calcite/{p-e9e4fc82.entry.js → p-bd7bf633.entry.js} +2 -2
  66. package/dist/calcite/{p-7f698ba9.js → p-befa72be.js} +1 -1
  67. package/dist/calcite/{p-6ab1706e.entry.js → p-c1f41172.entry.js} +2 -2
  68. package/dist/calcite/{p-63d01694.entry.js → p-c3f0ca58.entry.js} +2 -2
  69. package/dist/calcite/{p-74721533.entry.js → p-c7a40044.entry.js} +2 -2
  70. package/dist/calcite/{p-28680a4a.entry.js → p-c943664b.entry.js} +2 -2
  71. package/dist/calcite/{p-020db3d6.js → p-c9c594e4.js} +2 -2
  72. package/dist/calcite/{p-8d4ba716.entry.js → p-cfd04b12.entry.js} +2 -2
  73. package/dist/calcite/{p-8e3d90c3.js → p-d5d91d87.js} +1 -1
  74. package/dist/calcite/{p-06371a0c.entry.js → p-db5ed768.entry.js} +2 -2
  75. package/dist/calcite/{p-0f6e96a2.entry.js → p-dbd28f14.entry.js} +2 -2
  76. package/dist/calcite/{p-7bc1e82f.js → p-de41e5a9.js} +1 -1
  77. package/dist/calcite/{p-05c81bc1.entry.js → p-de5ad6d3.entry.js} +2 -2
  78. package/dist/calcite/p-dfda39cf.entry.js +6 -0
  79. package/dist/calcite/{p-986d3211.entry.js → p-dfe47ce7.entry.js} +2 -2
  80. package/dist/calcite/{p-c72598c8.entry.js → p-e0cb72b7.entry.js} +2 -2
  81. package/dist/calcite/{p-577950c9.entry.js → p-e423377f.entry.js} +2 -2
  82. package/dist/calcite/{p-738681b2.entry.js → p-e85ec259.entry.js} +2 -2
  83. package/dist/calcite/{p-d177e8a3.entry.js → p-eb088883.entry.js} +2 -2
  84. package/dist/calcite/p-ecd9436e.js +6 -0
  85. package/dist/calcite/{p-da9b728f.entry.js → p-ef74f7df.entry.js} +2 -2
  86. package/dist/calcite/{p-b3d730dc.js → p-f0513696.js} +1 -1
  87. package/dist/calcite/{p-28944c7e.js → p-f478e34c.js} +2 -2
  88. package/dist/calcite/p-f9398f20.entry.js +6 -0
  89. package/dist/calcite/p-fad91c38.entry.js +6 -0
  90. package/dist/calcite/{p-1c6f2bf3.js → p-ff2616f4.js} +1 -1
  91. package/dist/calcite/{p-347cc141.entry.js → p-ffb58fa7.entry.js} +2 -2
  92. package/dist/cjs/{ExpandToggle-f150d947.js → ExpandToggle-e018f211.js} +5 -5
  93. package/dist/cjs/{Heading-5a456260.js → Heading-c23ab3be.js} +2 -2
  94. package/dist/cjs/{app-globals-1c45d3d1.js → app-globals-882315c5.js} +2 -2
  95. package/dist/cjs/{array-ec81caec.js → array-46b159ae.js} +1 -1
  96. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  98. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  99. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  100. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  101. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  102. package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
  103. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  104. package/dist/cjs/calcite-block_2.cjs.entry.js +26 -24
  105. package/dist/cjs/calcite-button.cjs.entry.js +26 -20
  106. package/dist/cjs/calcite-card.cjs.entry.js +14 -13
  107. package/dist/cjs/calcite-checkbox.cjs.entry.js +18 -16
  108. package/dist/cjs/calcite-chip.cjs.entry.js +16 -16
  109. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +52 -55
  110. package/dist/cjs/calcite-combobox_3.cjs.entry.js +52 -44
  111. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
  112. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +38 -27
  113. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  114. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  115. package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
  116. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  117. package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
  118. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  119. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  120. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  121. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +44 -33
  122. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  123. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  124. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  125. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +22 -16
  126. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  127. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  128. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  129. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  130. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  131. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  132. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  133. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  134. package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
  135. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  136. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  137. package/dist/cjs/calcite-popover_2.cjs.entry.js +37 -28
  138. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  139. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  140. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  141. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  142. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  143. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  144. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  145. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  146. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  147. package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -9
  148. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  149. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  150. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  151. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  152. package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -9
  153. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +29 -20
  154. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  155. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  156. package/dist/cjs/calcite.cjs.js +4 -4
  157. package/dist/cjs/{conditionalSlot-2d66c859.js → conditionalSlot-4f4eea6a.js} +3 -3
  158. package/dist/cjs/{debounce-c9573a72.js → debounce-62882659.js} +1 -1
  159. package/dist/cjs/{dom-701c026a.js → dom-4d157abb.js} +3 -3
  160. package/dist/cjs/{filter-6e58d73c.js → filter-da2797e5.js} +2 -2
  161. package/dist/cjs/{floating-ui-6d57c957.js → floating-ui-e4e82078.js} +175 -23
  162. package/dist/cjs/{form-c07a24e1.js → form-2f418822.js} +3 -3
  163. package/dist/cjs/{guid-28a45376.js → guid-1d60d25f.js} +1 -1
  164. package/dist/cjs/{index-06f4e4a7.js → index-9624081e.js} +1 -1
  165. package/dist/cjs/index.cjs.js +1 -1
  166. package/dist/cjs/{interactive-3612d791.js → interactive-f3855fe3.js} +1 -1
  167. package/dist/cjs/{interfaces-ec1e235a.js → interfaces-78ca36e7.js} +1 -1
  168. package/dist/cjs/{key-c4719ef5.js → key-dbb23e1d.js} +1 -1
  169. package/dist/cjs/{label-6a9f46fe.js → label-cf0a7e54.js} +2 -2
  170. package/dist/cjs/loader.cjs.js +4 -4
  171. package/dist/cjs/{locale-ccc83c4a.js → locale-9261eb8c.js} +4 -4
  172. package/dist/cjs/{math-09e9fbc0.js → math-70844c29.js} +1 -1
  173. package/dist/cjs/nonChromiumPlatformUtils-e6d5cb22.js +506 -0
  174. package/dist/cjs/{observers-11c52473.js → observers-53e1a6d6.js} +1 -1
  175. package/dist/cjs/{openCloseComponent-8fa915a1.js → openCloseComponent-af87dcf3.js} +1 -1
  176. package/dist/cjs/{resources-3786d362.js → resources-020cc6d5.js} +1 -1
  177. package/dist/cjs/{resources-fa828919.js → resources-2f6b4dae.js} +1 -1
  178. package/dist/cjs/{resources-1dee3f64.js → resources-375914cd.js} +1 -1
  179. package/dist/cjs/{resources-08e926e6.js → resources-83f09a7b.js} +5 -5
  180. package/dist/cjs/{resources-dd1bf8b6.js → resources-8477fc7e.js} +1 -1
  181. package/dist/cjs/{resources-2fe6016f.js → resources-d07d3444.js} +3 -3
  182. package/dist/cjs/{sortable.esm-091035e0.js → sortable.esm-7dbec412.js} +1 -1
  183. package/dist/cjs/{utils-859c359b.js → utils-a61e740b.js} +1 -1
  184. package/dist/collection/components/accordion/accordion.js +1 -1
  185. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  186. package/dist/collection/components/accordion-item/resources.js +1 -1
  187. package/dist/collection/components/action/action.js +1 -1
  188. package/dist/collection/components/action/resources.js +1 -1
  189. package/dist/collection/components/action-bar/action-bar.js +1 -1
  190. package/dist/collection/components/action-bar/resources.js +1 -1
  191. package/dist/collection/components/action-bar/utils.js +1 -1
  192. package/dist/collection/components/action-group/action-group.js +1 -1
  193. package/dist/collection/components/action-group/resources.js +1 -1
  194. package/dist/collection/components/action-menu/action-menu.js +1 -1
  195. package/dist/collection/components/action-menu/resources.js +1 -1
  196. package/dist/collection/components/action-pad/action-pad.js +1 -1
  197. package/dist/collection/components/action-pad/resources.js +1 -1
  198. package/dist/collection/components/alert/alert.js +1 -1
  199. package/dist/collection/components/alert/interfaces.js +1 -1
  200. package/dist/collection/components/alert/resources.js +1 -1
  201. package/dist/collection/components/avatar/avatar.js +1 -1
  202. package/dist/collection/components/avatar/utils.js +1 -1
  203. package/dist/collection/components/block/block.js +31 -31
  204. package/dist/collection/components/block/resources.js +1 -1
  205. package/dist/collection/components/block-section/block-section.js +15 -13
  206. package/dist/collection/components/block-section/resources.js +1 -1
  207. package/dist/collection/components/button/button.js +49 -34
  208. package/dist/collection/components/button/resources.js +1 -1
  209. package/dist/collection/components/card/card.js +19 -18
  210. package/dist/collection/components/card/resources.js +1 -1
  211. package/dist/collection/components/checkbox/checkbox.css +1 -1
  212. package/dist/collection/components/checkbox/checkbox.js +26 -21
  213. package/dist/collection/components/chip/chip.js +21 -21
  214. package/dist/collection/components/chip/resources.js +1 -1
  215. package/dist/collection/components/color-picker/color-picker.js +65 -66
  216. package/dist/collection/components/color-picker/resources.js +1 -1
  217. package/dist/collection/components/color-picker/utils.js +1 -1
  218. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +12 -14
  219. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  220. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +5 -5
  221. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  222. package/dist/collection/components/combobox/combobox.css +1 -2
  223. package/dist/collection/components/combobox/combobox.js +66 -51
  224. package/dist/collection/components/combobox/resources.js +1 -1
  225. package/dist/collection/components/combobox/utils.js +1 -1
  226. package/dist/collection/components/combobox-item/combobox-item.js +19 -17
  227. package/dist/collection/components/combobox-item/resources.js +1 -1
  228. package/dist/collection/components/combobox-item-group/combobox-item-group.js +3 -3
  229. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  230. package/dist/collection/components/date-picker/date-picker.js +1 -1
  231. package/dist/collection/components/date-picker/resources.js +1 -1
  232. package/dist/collection/components/date-picker/utils.js +1 -1
  233. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  234. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  235. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  236. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  237. package/dist/collection/components/dropdown/dropdown.css +0 -1
  238. package/dist/collection/components/dropdown/dropdown.js +40 -21
  239. package/dist/collection/components/dropdown/resources.js +1 -1
  240. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  241. package/dist/collection/components/dropdown-group/resources.js +1 -1
  242. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  243. package/dist/collection/components/dropdown-item/resources.js +1 -1
  244. package/dist/collection/components/fab/fab.js +1 -1
  245. package/dist/collection/components/fab/resources.js +1 -1
  246. package/dist/collection/components/filter/filter.js +1 -1
  247. package/dist/collection/components/filter/resources.js +1 -1
  248. package/dist/collection/components/flow/flow.js +1 -1
  249. package/dist/collection/components/flow/resources.js +1 -1
  250. package/dist/collection/components/flow-item/flow-item.js +1 -1
  251. package/dist/collection/components/flow-item/resources.js +1 -1
  252. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  253. package/dist/collection/components/functional/Heading.js +1 -1
  254. package/dist/collection/components/graph/graph.js +1 -1
  255. package/dist/collection/components/graph/util.js +1 -1
  256. package/dist/collection/components/handle/handle.css +1 -1
  257. package/dist/collection/components/handle/handle.js +1 -1
  258. package/dist/collection/components/handle/resources.js +1 -1
  259. package/dist/collection/components/icon/icon.js +1 -1
  260. package/dist/collection/components/icon/resources.js +1 -1
  261. package/dist/collection/components/icon/utils.js +1 -1
  262. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  263. package/dist/collection/components/inline-editable/resources.js +1 -1
  264. package/dist/collection/components/input/input.js +1 -1
  265. package/dist/collection/components/input/resources.js +1 -1
  266. package/dist/collection/components/input-date-picker/input-date-picker.css +0 -1
  267. package/dist/collection/components/input-date-picker/input-date-picker.js +49 -30
  268. package/dist/collection/components/input-date-picker/resources.js +1 -1
  269. package/dist/collection/components/input-message/input-message.js +1 -1
  270. package/dist/collection/components/input-message/interfaces.js +1 -1
  271. package/dist/collection/components/input-number/input-number.js +1 -1
  272. package/dist/collection/components/input-number/resources.js +1 -1
  273. package/dist/collection/components/input-text/input-text.js +1 -1
  274. package/dist/collection/components/input-text/resources.js +1 -1
  275. package/dist/collection/components/input-time-picker/input-time-picker.js +25 -10
  276. package/dist/collection/components/label/label.js +1 -1
  277. package/dist/collection/components/label/resources.js +1 -1
  278. package/dist/collection/components/link/link.js +1 -1
  279. package/dist/collection/components/list/list.js +1 -1
  280. package/dist/collection/components/list/resources.js +1 -1
  281. package/dist/collection/components/list-item/list-item.js +1 -1
  282. package/dist/collection/components/list-item/resources.js +1 -1
  283. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  284. package/dist/collection/components/list-item-group/resources.js +1 -1
  285. package/dist/collection/components/loader/loader.js +1 -1
  286. package/dist/collection/components/modal/modal.js +1 -1
  287. package/dist/collection/components/modal/resources.js +1 -1
  288. package/dist/collection/components/notice/notice.js +1 -1
  289. package/dist/collection/components/notice/resources.js +1 -1
  290. package/dist/collection/components/option/option.js +1 -1
  291. package/dist/collection/components/option-group/option-group.js +1 -1
  292. package/dist/collection/components/pagination/pagination.js +1 -1
  293. package/dist/collection/components/pagination/resources.js +1 -1
  294. package/dist/collection/components/panel/panel.js +1 -1
  295. package/dist/collection/components/panel/resources.js +1 -1
  296. package/dist/collection/components/pick-list/pick-list.js +1 -1
  297. package/dist/collection/components/pick-list/resources.js +1 -1
  298. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  299. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  300. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  301. package/dist/collection/components/pick-list-group/resources.js +1 -1
  302. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  303. package/dist/collection/components/pick-list-item/resources.js +1 -1
  304. package/dist/collection/components/popover/PopoverManager.js +1 -1
  305. package/dist/collection/components/popover/popover.css +0 -1
  306. package/dist/collection/components/popover/popover.js +40 -23
  307. package/dist/collection/components/popover/resources.js +1 -1
  308. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  309. package/dist/collection/components/progress/progress.js +1 -1
  310. package/dist/collection/components/radio-button/radio-button.js +1 -1
  311. package/dist/collection/components/radio-button/resources.js +1 -1
  312. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  313. package/dist/collection/components/radio-group/radio-group.js +1 -1
  314. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  315. package/dist/collection/components/radio-group-item/resources.js +1 -1
  316. package/dist/collection/components/rating/rating.js +1 -1
  317. package/dist/collection/components/rating/resources.js +1 -1
  318. package/dist/collection/components/scrim/resources.js +1 -1
  319. package/dist/collection/components/scrim/scrim.js +1 -1
  320. package/dist/collection/components/select/resources.js +1 -1
  321. package/dist/collection/components/select/select.js +1 -1
  322. package/dist/collection/components/shell/resources.js +1 -1
  323. package/dist/collection/components/shell/shell.js +1 -1
  324. package/dist/collection/components/shell-center-row/resources.js +1 -1
  325. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  326. package/dist/collection/components/shell-panel/resources.js +1 -1
  327. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  328. package/dist/collection/components/slider/resources.js +1 -1
  329. package/dist/collection/components/slider/slider.js +1 -1
  330. package/dist/collection/components/sortable-list/resources.js +1 -1
  331. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  332. package/dist/collection/components/split-button/resources.js +1 -1
  333. package/dist/collection/components/split-button/split-button.js +1 -1
  334. package/dist/collection/components/stepper/stepper.js +1 -1
  335. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  336. package/dist/collection/components/switch/switch.js +1 -1
  337. package/dist/collection/components/tab/tab.js +1 -1
  338. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  339. package/dist/collection/components/tab-title/tab-title.js +1 -1
  340. package/dist/collection/components/tabs/resources.js +1 -1
  341. package/dist/collection/components/tabs/tabs.js +1 -1
  342. package/dist/collection/components/tile/resources.js +1 -1
  343. package/dist/collection/components/tile/tile.js +1 -1
  344. package/dist/collection/components/tile-select/resources.js +1 -1
  345. package/dist/collection/components/tile-select/tile-select.js +1 -1
  346. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  347. package/dist/collection/components/time-picker/resources.js +1 -1
  348. package/dist/collection/components/time-picker/time-picker.js +1 -1
  349. package/dist/collection/components/tip/resources.js +1 -1
  350. package/dist/collection/components/tip/tip.js +3 -3
  351. package/dist/collection/components/tip-group/tip-group.js +1 -1
  352. package/dist/collection/components/tip-manager/resources.js +1 -1
  353. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  354. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  355. package/dist/collection/components/tooltip/resources.js +1 -1
  356. package/dist/collection/components/tooltip/tooltip.css +0 -1
  357. package/dist/collection/components/tooltip/tooltip.js +35 -18
  358. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  359. package/dist/collection/components/tree/interfaces.js +1 -1
  360. package/dist/collection/components/tree/tree.js +1 -1
  361. package/dist/collection/components/tree/utils.js +1 -1
  362. package/dist/collection/components/tree-item/resources.js +1 -1
  363. package/dist/collection/components/tree-item/tree-item.js +1 -1
  364. package/dist/collection/components/value-list/resources.js +1 -1
  365. package/dist/collection/components/value-list/utils.js +1 -1
  366. package/dist/collection/components/value-list/value-list.js +1 -1
  367. package/dist/collection/components/value-list-item/resources.js +1 -1
  368. package/dist/collection/components/value-list-item/value-list-item.css +1 -2
  369. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  370. package/dist/collection/utils/array.js +1 -1
  371. package/dist/collection/utils/conditionalSlot.js +1 -1
  372. package/dist/collection/utils/config.js +22 -0
  373. package/dist/collection/utils/date.js +1 -1
  374. package/dist/collection/utils/dom.js +1 -1
  375. package/dist/collection/utils/filter.js +1 -1
  376. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +496 -0
  377. package/dist/collection/utils/floating-ui.js +123 -12
  378. package/dist/collection/utils/form.js +1 -1
  379. package/dist/collection/utils/globalAttributes.js +1 -1
  380. package/dist/collection/utils/globalScript.js +1 -1
  381. package/dist/collection/utils/guid.js +1 -1
  382. package/dist/collection/utils/interactive.js +1 -1
  383. package/dist/collection/utils/key.js +1 -1
  384. package/dist/collection/utils/label.js +1 -1
  385. package/dist/collection/utils/locale.js +1 -1
  386. package/dist/collection/utils/math.js +1 -1
  387. package/dist/collection/utils/number.js +1 -1
  388. package/dist/collection/utils/observers.js +1 -1
  389. package/dist/collection/utils/openCloseComponent.js +1 -1
  390. package/dist/collection/utils/resources.js +1 -1
  391. package/dist/collection/utils/t9n.js +1 -1
  392. package/dist/collection/utils/theme.js +1 -1
  393. package/dist/collection/utils/time.js +1 -1
  394. package/dist/components/ExpandToggle.js +1 -1
  395. package/dist/components/Heading.js +1 -1
  396. package/dist/components/action-group.js +1 -1
  397. package/dist/components/action-menu.js +1 -1
  398. package/dist/components/action.js +1 -1
  399. package/dist/components/array.js +1 -1
  400. package/dist/components/button.js +18 -12
  401. package/dist/components/calcite-accordion-item.js +1 -1
  402. package/dist/components/calcite-accordion.js +1 -1
  403. package/dist/components/calcite-action-bar.js +3 -3
  404. package/dist/components/calcite-action-group.js +1 -1
  405. package/dist/components/calcite-action-menu.js +1 -1
  406. package/dist/components/calcite-action-pad.js +1 -1
  407. package/dist/components/calcite-action.js +1 -1
  408. package/dist/components/calcite-alert.js +1 -1
  409. package/dist/components/calcite-avatar.js +1 -1
  410. package/dist/components/calcite-block-section.js +7 -5
  411. package/dist/components/calcite-block.js +11 -11
  412. package/dist/components/calcite-button.js +1 -1
  413. package/dist/components/calcite-card.js +8 -7
  414. package/dist/components/calcite-checkbox.js +1 -1
  415. package/dist/components/calcite-chip.js +1 -1
  416. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  417. package/dist/components/calcite-color-picker-swatch.js +1 -1
  418. package/dist/components/calcite-color-picker.js +35 -36
  419. package/dist/components/calcite-combobox-item-group.js +1 -1
  420. package/dist/components/calcite-combobox-item.js +7 -5
  421. package/dist/components/calcite-combobox.js +35 -29
  422. package/dist/components/calcite-date-picker-day.js +1 -1
  423. package/dist/components/calcite-date-picker-month-header.js +1 -1
  424. package/dist/components/calcite-date-picker-month.js +1 -1
  425. package/dist/components/calcite-date-picker.js +1 -1
  426. package/dist/components/calcite-dropdown-group.js +1 -1
  427. package/dist/components/calcite-dropdown-item.js +1 -1
  428. package/dist/components/calcite-dropdown.js +1 -1
  429. package/dist/components/calcite-fab.js +1 -1
  430. package/dist/components/calcite-filter.js +1 -1
  431. package/dist/components/calcite-flow-item.js +1 -1
  432. package/dist/components/calcite-flow.js +1 -1
  433. package/dist/components/calcite-graph.js +1 -1
  434. package/dist/components/calcite-handle.js +1 -1
  435. package/dist/components/calcite-icon.js +1 -1
  436. package/dist/components/calcite-inline-editable.js +1 -1
  437. package/dist/components/calcite-input-date-picker.js +31 -21
  438. package/dist/components/calcite-input-message.js +1 -1
  439. package/dist/components/calcite-input-number.js +1 -1
  440. package/dist/components/calcite-input-text.js +1 -1
  441. package/dist/components/calcite-input-time-picker.js +12 -6
  442. package/dist/components/calcite-input.js +1 -1
  443. package/dist/components/calcite-label.js +1 -1
  444. package/dist/components/calcite-link.js +1 -1
  445. package/dist/components/calcite-list-item-group.js +1 -1
  446. package/dist/components/calcite-list-item.js +1 -1
  447. package/dist/components/calcite-list.js +1 -1
  448. package/dist/components/calcite-loader.js +1 -1
  449. package/dist/components/calcite-modal.js +1 -1
  450. package/dist/components/calcite-notice.js +1 -1
  451. package/dist/components/calcite-option-group.js +1 -1
  452. package/dist/components/calcite-option.js +1 -1
  453. package/dist/components/calcite-pagination.js +1 -1
  454. package/dist/components/calcite-panel.js +1 -1
  455. package/dist/components/calcite-pick-list-group.js +1 -1
  456. package/dist/components/calcite-pick-list-item.js +1 -1
  457. package/dist/components/calcite-pick-list.js +1 -1
  458. package/dist/components/calcite-popover-manager.js +1 -1
  459. package/dist/components/calcite-popover.js +1 -1
  460. package/dist/components/calcite-progress.js +1 -1
  461. package/dist/components/calcite-radio-button-group.js +1 -1
  462. package/dist/components/calcite-radio-button.js +1 -1
  463. package/dist/components/calcite-radio-group-item.js +1 -1
  464. package/dist/components/calcite-radio-group.js +1 -1
  465. package/dist/components/calcite-rating.js +1 -1
  466. package/dist/components/calcite-scrim.js +1 -1
  467. package/dist/components/calcite-select.js +1 -1
  468. package/dist/components/calcite-shell-center-row.js +1 -1
  469. package/dist/components/calcite-shell-panel.js +1 -1
  470. package/dist/components/calcite-shell.js +1 -1
  471. package/dist/components/calcite-slider.js +1 -1
  472. package/dist/components/calcite-sortable-list.js +1 -1
  473. package/dist/components/calcite-split-button.js +1 -1
  474. package/dist/components/calcite-stepper-item.js +1 -1
  475. package/dist/components/calcite-stepper.js +1 -1
  476. package/dist/components/calcite-switch.js +1 -1
  477. package/dist/components/calcite-tab-nav.js +1 -1
  478. package/dist/components/calcite-tab-title.js +1 -1
  479. package/dist/components/calcite-tab.js +1 -1
  480. package/dist/components/calcite-tabs.js +1 -1
  481. package/dist/components/calcite-tile-select-group.js +1 -1
  482. package/dist/components/calcite-tile-select.js +1 -1
  483. package/dist/components/calcite-tile.js +1 -1
  484. package/dist/components/calcite-time-picker.js +1 -1
  485. package/dist/components/calcite-tip-group.js +1 -1
  486. package/dist/components/calcite-tip-manager.js +1 -1
  487. package/dist/components/calcite-tip.js +2 -2
  488. package/dist/components/calcite-tooltip-manager.js +1 -1
  489. package/dist/components/calcite-tooltip.js +1 -1
  490. package/dist/components/calcite-tree-item.js +1 -1
  491. package/dist/components/calcite-tree.js +1 -1
  492. package/dist/components/calcite-value-list-item.js +2 -2
  493. package/dist/components/calcite-value-list.js +1 -1
  494. package/dist/components/checkbox.js +10 -8
  495. package/dist/components/chip.js +10 -10
  496. package/dist/components/color-picker-hex-input.js +7 -9
  497. package/dist/components/color-picker-swatch.js +3 -3
  498. package/dist/components/conditionalSlot.js +1 -1
  499. package/dist/components/date-picker-day.js +1 -1
  500. package/dist/components/date-picker-month-header.js +1 -1
  501. package/dist/components/date-picker-month.js +1 -1
  502. package/dist/components/date-picker.js +1 -1
  503. package/dist/components/date.js +1 -1
  504. package/dist/components/debounce.js +1 -1
  505. package/dist/components/dom.js +1 -1
  506. package/dist/components/dropdown.js +29 -19
  507. package/dist/components/filter.js +1 -1
  508. package/dist/components/filter2.js +1 -1
  509. package/dist/components/floating-ui.js +181 -22
  510. package/dist/components/form.js +1 -1
  511. package/dist/components/graph.js +1 -1
  512. package/dist/components/guid.js +1 -1
  513. package/dist/components/handle.js +2 -2
  514. package/dist/components/icon.js +1 -1
  515. package/dist/components/index.js +1 -1
  516. package/dist/components/input.js +1 -1
  517. package/dist/components/interactive.js +1 -1
  518. package/dist/components/interfaces.js +1 -1
  519. package/dist/components/interfaces2.js +1 -1
  520. package/dist/components/key.js +1 -1
  521. package/dist/components/label.js +1 -1
  522. package/dist/components/label2.js +1 -1
  523. package/dist/components/link.js +1 -1
  524. package/dist/components/loader.js +1 -1
  525. package/dist/components/locale.js +1 -1
  526. package/dist/components/math.js +1 -1
  527. package/dist/components/nonChromiumPlatformUtils.js +498 -0
  528. package/dist/components/observers.js +1 -1
  529. package/dist/components/openCloseComponent.js +1 -1
  530. package/dist/components/panel.js +1 -1
  531. package/dist/components/pick-list-item.js +1 -1
  532. package/dist/components/popover.js +28 -20
  533. package/dist/components/progress.js +1 -1
  534. package/dist/components/resources.js +1 -1
  535. package/dist/components/resources2.js +1 -1
  536. package/dist/components/resources3.js +1 -1
  537. package/dist/components/scrim.js +1 -1
  538. package/dist/components/shared-list-render.js +1 -1
  539. package/dist/components/sortable.esm.js +1 -1
  540. package/dist/components/switch.js +1 -1
  541. package/dist/components/tab-nav.js +1 -1
  542. package/dist/components/tab-title.js +1 -1
  543. package/dist/components/tab.js +1 -1
  544. package/dist/components/tabs.js +1 -1
  545. package/dist/components/tile.js +1 -1
  546. package/dist/components/time-picker.js +1 -1
  547. package/dist/components/tooltip.js +24 -16
  548. package/dist/components/utils.js +1 -1
  549. package/dist/components/utils2.js +2 -2
  550. package/dist/esm/{ExpandToggle-b309a912.js → ExpandToggle-c19c7ae6.js} +5 -5
  551. package/dist/esm/{Heading-dfd64184.js → Heading-55c4005d.js} +2 -2
  552. package/dist/esm/{app-globals-332f4aa7.js → app-globals-a52284f2.js} +2 -2
  553. package/dist/esm/{array-b93a5fb6.js → array-740ce6b6.js} +1 -1
  554. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  555. package/dist/esm/calcite-action-bar.entry.js +11 -11
  556. package/dist/esm/calcite-action-group.entry.js +9 -9
  557. package/dist/esm/calcite-action-menu.entry.js +8 -8
  558. package/dist/esm/calcite-action-pad.entry.js +10 -10
  559. package/dist/esm/calcite-action.entry.js +7 -7
  560. package/dist/esm/calcite-alert.entry.js +10 -10
  561. package/dist/esm/calcite-avatar.entry.js +6 -6
  562. package/dist/esm/calcite-block_2.entry.js +26 -24
  563. package/dist/esm/calcite-button.entry.js +26 -20
  564. package/dist/esm/calcite-card.entry.js +14 -13
  565. package/dist/esm/calcite-checkbox.entry.js +18 -16
  566. package/dist/esm/calcite-chip.entry.js +16 -16
  567. package/dist/esm/calcite-color-picker_3.entry.js +52 -55
  568. package/dist/esm/calcite-combobox_3.entry.js +52 -44
  569. package/dist/esm/calcite-date-picker_4.entry.js +11 -11
  570. package/dist/esm/calcite-dropdown_3.entry.js +38 -27
  571. package/dist/esm/calcite-fab.entry.js +6 -6
  572. package/dist/esm/calcite-filter.entry.js +8 -8
  573. package/dist/esm/calcite-flow-item.entry.js +7 -7
  574. package/dist/esm/calcite-flow.entry.js +3 -3
  575. package/dist/esm/calcite-graph_2.entry.js +12 -12
  576. package/dist/esm/calcite-handle.entry.js +6 -6
  577. package/dist/esm/calcite-icon.entry.js +6 -6
  578. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  579. package/dist/esm/calcite-input-date-picker.entry.js +44 -33
  580. package/dist/esm/calcite-input-message.entry.js +5 -5
  581. package/dist/esm/calcite-input-number.entry.js +12 -12
  582. package/dist/esm/calcite-input-text.entry.js +9 -9
  583. package/dist/esm/calcite-input-time-picker_2.entry.js +22 -16
  584. package/dist/esm/calcite-input.entry.js +12 -12
  585. package/dist/esm/calcite-label.entry.js +6 -6
  586. package/dist/esm/calcite-link.entry.js +6 -6
  587. package/dist/esm/calcite-list_3.entry.js +9 -9
  588. package/dist/esm/calcite-loader.entry.js +3 -3
  589. package/dist/esm/calcite-modal.entry.js +8 -8
  590. package/dist/esm/calcite-notice.entry.js +8 -8
  591. package/dist/esm/calcite-option_3.entry.js +9 -9
  592. package/dist/esm/calcite-pagination.entry.js +8 -8
  593. package/dist/esm/calcite-panel.entry.js +10 -10
  594. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  595. package/dist/esm/calcite-popover_2.entry.js +37 -28
  596. package/dist/esm/calcite-progress.entry.js +2 -2
  597. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  598. package/dist/esm/calcite-radio-button.entry.js +9 -9
  599. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  600. package/dist/esm/calcite-rating.entry.js +9 -9
  601. package/dist/esm/calcite-scrim.entry.js +2 -2
  602. package/dist/esm/calcite-shell_3.entry.js +8 -8
  603. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  604. package/dist/esm/calcite-split-button.entry.js +3 -3
  605. package/dist/esm/calcite-stepper_2.entry.js +9 -9
  606. package/dist/esm/calcite-switch.entry.js +9 -9
  607. package/dist/esm/calcite-tab_4.entry.js +7 -7
  608. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  609. package/dist/esm/calcite-tile.entry.js +8 -8
  610. package/dist/esm/calcite-tip_3.entry.js +9 -9
  611. package/dist/esm/calcite-tooltip_2.entry.js +29 -20
  612. package/dist/esm/calcite-tree_2.entry.js +8 -8
  613. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  614. package/dist/esm/calcite.js +4 -4
  615. package/dist/esm/{conditionalSlot-db9ad6d4.js → conditionalSlot-3441e8f2.js} +3 -3
  616. package/dist/esm/{debounce-e42a1373.js → debounce-97857fea.js} +1 -1
  617. package/dist/esm/{dom-a2d12054.js → dom-fbef4a17.js} +3 -3
  618. package/dist/esm/{filter-2e4f1cbb.js → filter-5c7687ab.js} +2 -2
  619. package/dist/esm/{floating-ui-3124e4cb.js → floating-ui-d7d7ebf5.js} +173 -22
  620. package/dist/esm/{form-d0932f60.js → form-6c6f44c9.js} +3 -3
  621. package/dist/esm/{guid-7e7f8cb7.js → guid-46425949.js} +1 -1
  622. package/dist/esm/{index-f0e069a3.js → index-dd350c9e.js} +1 -1
  623. package/dist/esm/index.js +1 -1
  624. package/dist/esm/{interactive-109aac6f.js → interactive-7bb63697.js} +1 -1
  625. package/dist/esm/{interfaces-a195ea5d.js → interfaces-1e4b4247.js} +1 -1
  626. package/dist/esm/{key-c2bf57be.js → key-9fd0ee2d.js} +1 -1
  627. package/dist/esm/{label-289d45ea.js → label-4476feb8.js} +2 -2
  628. package/dist/esm/loader.js +4 -4
  629. package/dist/esm/{locale-a8017a0f.js → locale-59ce851a.js} +4 -4
  630. package/dist/esm/{math-db28d599.js → math-f58b6249.js} +1 -1
  631. package/dist/esm/nonChromiumPlatformUtils-9a77a585.js +502 -0
  632. package/dist/esm/{observers-02263ad9.js → observers-4a45256c.js} +1 -1
  633. package/dist/esm/{openCloseComponent-12bcbae8.js → openCloseComponent-16ae97af.js} +1 -1
  634. package/dist/esm/{resources-565275f0.js → resources-06042c92.js} +1 -1
  635. package/dist/esm/{resources-eeb28d59.js → resources-172c2a25.js} +1 -1
  636. package/dist/esm/{resources-e94ec9de.js → resources-51ebf03b.js} +5 -5
  637. package/dist/esm/{resources-41048db6.js → resources-57d6fea9.js} +3 -3
  638. package/dist/esm/{resources-bd0bd4fb.js → resources-c905d6cb.js} +1 -1
  639. package/dist/esm/{resources-b4d4d0ee.js → resources-f25e2a24.js} +1 -1
  640. package/dist/esm/{sortable.esm-0511272f.js → sortable.esm-6094be14.js} +1 -1
  641. package/dist/esm/{utils-fa27285e.js → utils-94170855.js} +1 -1
  642. package/dist/extras/docs-json.json +238 -188
  643. package/dist/loader/cdn.js +1 -1
  644. package/dist/loader/index.cjs.js +1 -1
  645. package/dist/loader/index.es2017.js +1 -1
  646. package/dist/loader/index.js +1 -1
  647. package/dist/types/components/block/block.d.ts +22 -20
  648. package/dist/types/components/block-section/block-section.d.ts +12 -10
  649. package/dist/types/components/button/button.d.ts +35 -19
  650. package/dist/types/components/card/card.d.ts +11 -10
  651. package/dist/types/components/checkbox/checkbox.d.ts +16 -14
  652. package/dist/types/components/chip/chip.d.ts +12 -12
  653. package/dist/types/components/color-picker/color-picker.d.ts +36 -39
  654. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +6 -8
  655. package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +2 -2
  656. package/dist/types/components/combobox/combobox.d.ts +31 -28
  657. package/dist/types/components/combobox-item/combobox-item.d.ts +14 -12
  658. package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +2 -2
  659. package/dist/types/components/dropdown/dropdown.d.ts +6 -3
  660. package/dist/types/components/input-date-picker/input-date-picker.d.ts +13 -10
  661. package/dist/types/components/input-time-picker/input-time-picker.d.ts +7 -3
  662. package/dist/types/components/popover/popover.d.ts +8 -5
  663. package/dist/types/components/tip/tip.d.ts +1 -1
  664. package/dist/types/components/tooltip/tooltip.d.ts +7 -4
  665. package/dist/types/components.d.ts +314 -294
  666. package/dist/types/utils/config.d.ts +7 -0
  667. package/dist/types/utils/floating-ui/nonChromiumPlatformUtils.d.ts +16 -0
  668. package/dist/types/utils/floating-ui.d.ts +45 -2
  669. package/hydrate/index.js +404 -293
  670. package/package.json +2 -2
  671. package/dist/calcite/p-19449fc2.entry.js +0 -6
  672. package/dist/calcite/p-36270916.entry.js +0 -6
  673. package/dist/calcite/p-3d77c2ee.js +0 -6
  674. package/dist/calcite/p-52b4a671.entry.js +0 -6
  675. package/dist/calcite/p-5875d9d9.entry.js +0 -6
  676. package/dist/calcite/p-6ee9d00f.js +0 -6
  677. package/dist/calcite/p-90cc2b83.entry.js +0 -6
  678. package/dist/calcite/p-e03c020c.js +0 -6
  679. package/dist/calcite/p-e3f1310b.entry.js +0 -6
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.605
4
+ * v1.0.0-next.607
5
5
  */
6
6
  'use strict';
7
7
 
@@ -9786,10 +9786,10 @@ const Heading = (props, children) => {
9786
9786
  const blockCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-block: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-block{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-block{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-block{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-block{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-block{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-block:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-block-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-block-h *.sc-calcite-block{box-sizing:border-box}/*!@:host*/.sc-calcite-block-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-block:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-block-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-block-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-block-h{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-block-h[disabled] .sc-calcite-block-s>[calcite-hydrated][disabled],[disabled].sc-calcite-block-h [calcite-hydrated][disabled].sc-calcite-block{opacity:1}/*!@.header*/.header.sc-calcite-block{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-block{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-block .heading.sc-calcite-block{flex:1 1 auto;padding:0.5rem}/*!@.header*/.header.sc-calcite-block{justify-content:flex-start;padding:0px}/*!@.header,\n.toggle*/.header.sc-calcite-block,.toggle.sc-calcite-block{grid-area:header}/*!@.header-container*/.header-container.sc-calcite-block{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}/*!@.toggle*/.toggle.sc-calcite-block{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}/*!@.toggle:hover*/.toggle.sc-calcite-block:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.toggle:focus*/.toggle.sc-calcite-block:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@calcite-loader[inline]*/calcite-loader[inline].sc-calcite-block{grid-area:control;align-self:center}/*!@calcite-handle*/calcite-handle.sc-calcite-block{grid-area:handle}/*!@.title*/.title.sc-calcite-block{margin:0px;padding:0.75rem}/*!@.header .title .heading*/.header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}/*!@.description*/.description.sc-calcite-block{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}/*!@.icon*/.icon.sc-calcite-block{margin-inline-start:0.75rem;margin-inline-end:0px;margin-block:0.75rem}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block{color:var(--calcite-ui-danger)}/*!@.status-icon.loading*/.status-icon.loading.sc-calcite-block{animation:spin var(--calcite-internal-animation-timing-medium) linear infinite}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}/*!@.toggle-icon*/.toggle-icon.sc-calcite-block{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}/*!@.toggle:hover .toggle-icon*/.toggle.sc-calcite-block:hover .toggle-icon.sc-calcite-block{color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-block{display:flex;block-size:100%;flex-direction:column}/*!@.content*/.content.sc-calcite-block{position:relative;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@.content*/.content.sc-calcite-block{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.content--spaced*/.content--spaced.sc-calcite-block{padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}/*!@.control-container*/.control-container.sc-calcite-block{margin:0px;display:flex;grid-area:control}/*!@calcite-action-menu*/calcite-action-menu.sc-calcite-block{grid-area:menu}/*!@:host([open])*/[open].sc-calcite-block-h{margin-block:0.5rem}/*!@:host([open]) .header .title .heading*/[open].sc-calcite-block-h .header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{color:var(--calcite-ui-text-1)}";
9787
9787
 
9788
9788
  /**
9789
- * @slot - A slot for adding content to the block.
9790
- * @slot icon - A slot for adding a leading header icon.
9789
+ * @slot - A slot for adding content to the component.
9790
+ * @slot icon - A slot for adding a leading header icon with `calcite-icon`.
9791
9791
  * @slot control - A slot for adding a single HTML input element in a header.
9792
- * @slot header-menu-actions - a slot for adding an overflow menu with actions inside a dropdown.
9792
+ * @slot header-menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a dropdown.
9793
9793
  */
9794
9794
  class Block {
9795
9795
  constructor(hostRef) {
@@ -9801,51 +9801,51 @@ class Block {
9801
9801
  //
9802
9802
  // --------------------------------------------------------------------------
9803
9803
  /**
9804
- * When true, this block will be collapsible.
9804
+ * When `true`, the component is collapsible.
9805
9805
  */
9806
9806
  this.collapsible = false;
9807
9807
  /**
9808
- * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
9808
+ * When `true`, interaction is prevented and the component is displayed with lower opacity.
9809
9809
  */
9810
9810
  this.disabled = false;
9811
9811
  /**
9812
- * When true, displays a drag handle in the header.
9812
+ * When `true`, displays a drag handle in the header.
9813
9813
  */
9814
9814
  this.dragHandle = false;
9815
9815
  /**
9816
- * Aria-label for collapsing the toggle and tooltip used for the toggle when expanded.
9816
+ * Accessible name for the component's collapse button.
9817
9817
  *
9818
9818
  * @default "Collapse"
9819
9819
  */
9820
9820
  this.intlCollapse = TEXT$p.collapse;
9821
9821
  /**
9822
- * Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
9822
+ * Accessible name for the component's expand button.
9823
9823
  *
9824
9824
  * @default "Expand"
9825
9825
  */
9826
9826
  this.intlExpand = TEXT$p.expand;
9827
9827
  /**
9828
- * string to override English loading text
9828
+ * Accessible name when the component is loading.
9829
9829
  *
9830
9830
  * @default "Loading"
9831
9831
  */
9832
9832
  this.intlLoading = TEXT$p.loading;
9833
9833
  /**
9834
- * Text string used for the actions menu
9834
+ * Accessible name for the component's options button.
9835
9835
  *
9836
9836
  * @default "Options"
9837
9837
  */
9838
9838
  this.intlOptions = TEXT$p.options;
9839
9839
  /**
9840
- * When true, content is waiting to be loaded. This state shows a busy indicator.
9840
+ * When `true`, a busy indicator is displayed.
9841
9841
  */
9842
9842
  this.loading = false;
9843
9843
  /**
9844
- * When true, the block's content will be displayed.
9844
+ * When `true`, expands the component and its contents.
9845
9845
  */
9846
9846
  this.open = false;
9847
9847
  /**
9848
- * When true, removes padding for the slotted content
9848
+ * When `true`, removes padding for the slotted content.
9849
9849
  *
9850
9850
  * @deprecated Use `--calcite-block-padding` CSS variable instead.
9851
9851
  */
@@ -9980,20 +9980,22 @@ const ICONS$c = {
9980
9980
  const blockSectionCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-block-section: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-block-section{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-block-section{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-block-section{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-block-section{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-block-section{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-block-section:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-block-section:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-block-section-h{display:none}/*!@:host*/.sc-calcite-block-section-h{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}/*!@:host([open])*/[open].sc-calcite-block-section-h{border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}/*!@:host(:last-child)*/.sc-calcite-block-section-h:last-child{border-block-end-width:0px}/*!@.toggle*/.toggle.sc-calcite-block-section{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@.toggle--switch, \n.section-header*/.toggle--switch.sc-calcite-block-section,.section-header.sc-calcite-block-section{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}/*!@.toggle--switch:focus, \n.section-header:focus*/.toggle--switch.sc-calcite-block-section:focus,.section-header.sc-calcite-block-section:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.toggle--switch:hover, \n.section-header:hover*/.toggle--switch.sc-calcite-block-section:hover,.section-header.sc-calcite-block-section:hover{color:var(--calcite-ui-text-1)}/*!@.section-header .status-icon*/.section-header.sc-calcite-block-section .status-icon.sc-calcite-block-section{align-self:flex-end}/*!@.section-header__text*/.section-header__text.sc-calcite-block-section{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}/*!@.toggle--switch calcite-switch*/.toggle--switch.sc-calcite-block-section calcite-switch.sc-calcite-block-section{pointer-events:none;margin-inline-start:0.25rem}/*!@.toggle--switch .status-icon*/.toggle--switch.sc-calcite-block-section .status-icon.sc-calcite-block-section{margin-inline-start:0.5rem}/*!@.toggle--switch__content*/.toggle--switch__content.sc-calcite-block-section{display:flex;flex:1 1 auto;align-items:center}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block-section{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block-section{color:var(--calcite-ui-danger)}";
9981
9981
 
9982
9982
  /**
9983
- * @slot - A slot for adding content to the block section.
9983
+ * @slot - A slot for adding content to the component.
9984
9984
  */
9985
9985
  class BlockSection {
9986
9986
  constructor(hostRef) {
9987
9987
  registerInstance(this, hostRef);
9988
9988
  this.calciteBlockSectionToggle = createEvent(this, "calciteBlockSectionToggle", 6);
9989
9989
  /**
9990
- * When true, the block's section content will be displayed.
9990
+ * When `true`, expands the component and its contents.
9991
9991
  */
9992
9992
  this.open = false;
9993
9993
  /**
9994
- * This property determines the look of the section toggle.
9995
- * If the value is "switch", a toggle-switch will be displayed.
9996
- * If the value is "button", a clickable header is displayed.
9994
+ * Specifies the component's toggle display -
9995
+ *
9996
+ * `"button"` (selectable header), or
9997
+ *
9998
+ * `"switch"` (toggle switch).
9997
9999
  */
9998
10000
  this.toggleDisplay = "button";
9999
10001
  this.guid = guid();
@@ -10459,31 +10461,37 @@ class Button {
10459
10461
  // Properties
10460
10462
  //
10461
10463
  //--------------------------------------------------------------------------
10462
- /** optionally specify alignment of button elements. */
10464
+ /** Specifies the alignment of the component's elements. */
10463
10465
  this.alignment = "center";
10464
- /** specify the appearance style of the button, defaults to solid. */
10466
+ /** Specifies the appearance style of the component. */
10465
10467
  this.appearance = "solid";
10466
- /** specify the color of the button, defaults to blue */
10468
+ /** Specifies the color of the component. */
10467
10469
  this.color = "blue";
10468
- /** is the button disabled */
10470
+ /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
10469
10471
  this.disabled = false;
10470
10472
  /**
10471
- * string to override English loading text
10473
+ * Accessible name when the component is loading.
10472
10474
  *
10473
10475
  * @default "Loading"
10474
10476
  */
10475
10477
  this.intlLoading = TEXT$n.loading;
10476
- /** optionally add a calcite-loader component to the button, disabling interaction. */
10478
+ /**
10479
+ * When `true`, a busy indicator is displayed and interaction is disabled.
10480
+ */
10477
10481
  this.loading = false;
10478
- /** optionally add a round style to the button */
10482
+ /** When `true`, adds a round style to the component. */
10479
10483
  this.round = false;
10480
- /** specify the scale of the button, defaults to m */
10484
+ /** Specifies the size of the component. */
10481
10485
  this.scale = "m";
10482
- /** is the button a child of a calcite-split-button */
10486
+ /** Specifies if the component is a child of a `calcite-split-button`. */
10483
10487
  this.splitChild = false;
10484
- /** The type attribute to apply to the button */
10488
+ /**
10489
+ * Specifies the default behavior of the button.
10490
+ *
10491
+ * @mdn [type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)
10492
+ */
10485
10493
  this.type = "button";
10486
- /** specify the width of the button, defaults to auto */
10494
+ /** Specifies the width of the component. */
10487
10495
  this.width = "auto";
10488
10496
  /** watches for changing text content */
10489
10497
  this.mutationObserver = createObserver();
@@ -10651,9 +10659,9 @@ const cardCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0
10651
10659
  */
10652
10660
  /**
10653
10661
  * @slot - A slot for adding subheader/description content.
10654
- * @slot thumbnail - A slot for adding a thumbnail to the card.
10655
- * @slot title - A slot for adding a card title.
10656
- * @slot subtitle - A slot for adding a card subtitle or short summary.
10662
+ * @slot thumbnail - A slot for adding a thumbnail to the component.
10663
+ * @slot title - A slot for adding a title.
10664
+ * @slot subtitle - A slot for adding a subtitle or short summary.
10657
10665
  * @slot footer-leading - A slot for adding a leading footer.
10658
10666
  * @slot footer-trailing - A slot for adding a trailing footer.
10659
10667
  */
@@ -10666,30 +10674,31 @@ class Card {
10666
10674
  // Public Properties
10667
10675
  //
10668
10676
  //--------------------------------------------------------------------------
10669
- /** When true, the cards content is waiting to be loaded. This state shows a busy indicator.*/
10677
+ /** When `true`, a busy indicator is displayed. */
10670
10678
  this.loading = false;
10671
- /** Indicates whether the card is selected. */
10679
+ /** When `true`, the component is selected. */
10672
10680
  this.selected = false;
10673
- /** Indicates whether the card is selectable. */
10681
+ /** When `true`, the component is selectable. */
10674
10682
  this.selectable = false;
10675
10683
  /**
10676
- * string to override English loading text
10684
+ * Accessible name when the component is loading.
10677
10685
  *
10678
10686
  * @default "Loading"
10679
10687
  */
10680
10688
  this.intlLoading = TEXT$m.loading;
10681
10689
  /**
10682
- * string to override English select text for checkbox when selectable is true
10690
+ * When `selectable` is `true`, the accessible name for the component's checkbox for selection.
10683
10691
  *
10684
10692
  * @default "Select"
10685
10693
  */
10686
10694
  this.intlSelect = TEXT$m.select;
10687
10695
  /**
10688
- * string to override English deselect text for checkbox when selectable is true
10696
+ * When `selectable` is `true`, the accessible name for the component's checkbox for deselection.
10689
10697
  *
10690
10698
  * @default "Deselect"
10691
10699
  */
10692
10700
  this.intlDeselect = TEXT$m.deselect;
10701
+ /** Sets the placement of the thumbnail defined in the `thumbnail` slot. */
10693
10702
  this.thumbnailPosition = "block-start";
10694
10703
  //--------------------------------------------------------------------------
10695
10704
  //
@@ -10788,9 +10797,9 @@ class Checkbox {
10788
10797
  // Properties
10789
10798
  //
10790
10799
  //--------------------------------------------------------------------------
10791
- /** The checked state of the checkbox. */
10800
+ /** When `true`, the component is checked. */
10792
10801
  this.checked = false;
10793
- /** True if the checkbox is disabled */
10802
+ /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
10794
10803
  this.disabled = false;
10795
10804
  /**
10796
10805
  * The hovered state of the checkbox.
@@ -10799,18 +10808,20 @@ class Checkbox {
10799
10808
  */
10800
10809
  this.hovered = false;
10801
10810
  /**
10802
- * True if the checkbox is initially indeterminate,
10803
- * which is independent from its checked state
10804
- * https://css-tricks.com/indeterminate-checkboxes/
10811
+ * When `true`, the component is initially indeterminate, which is independent from its `checked` value.
10812
+ *
10813
+ * The state is visual only, and can look different across browsers.
10814
+ *
10815
+ * @mdn [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)
10805
10816
  */
10806
10817
  this.indeterminate = false;
10807
10818
  /**
10808
- * When true, the component must have a value in order for the form to submit.
10819
+ * When `true`, the component must have a value in order for the form to submit.
10809
10820
  *
10810
10821
  * @internal
10811
10822
  */
10812
10823
  this.required = false;
10813
- /** specify the scale of the checkbox, defaults to m */
10824
+ /** Specifies the size of the component. */
10814
10825
  this.scale = "m";
10815
10826
  //--------------------------------------------------------------------------
10816
10827
  //
@@ -10948,29 +10959,29 @@ class Chip {
10948
10959
  // Public Properties
10949
10960
  //
10950
10961
  //--------------------------------------------------------------------------
10951
- /** specify the appearance style of the button, defaults to solid. */
10962
+ /** Specifies the appearance style of the component. */
10952
10963
  this.appearance = "solid";
10953
- /** specify the color of the button, defaults to blue */
10964
+ /** Specifies the color for the component. */
10954
10965
  this.color = "grey";
10955
10966
  /**
10956
- * Optionally show a button the user can click to dismiss the chip
10967
+ * When `true`, a close button is added to the component.
10957
10968
  *
10958
- * @deprecated use closable instead
10969
+ * @deprecated use `closable` instead.
10959
10970
  */
10960
10971
  this.dismissible = false;
10961
- /** When true, show abutton user can click to dismiss the chip. */
10972
+ /** When `true`, a close button is added to the component. */
10962
10973
  this.closable = false;
10963
10974
  /**
10964
- * Aria label for the "x" button
10975
+ * Accessible name for the component's close button.
10965
10976
  *
10966
10977
  * @default "Close"
10967
10978
  */
10968
10979
  this.dismissLabel = TEXT$l.close;
10969
- /** When true, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
10980
+ /** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
10970
10981
  this.iconFlipRtl = false;
10971
- /** specify the scale of the chip, defaults to m */
10982
+ /** Specifies the size of the component. */
10972
10983
  this.scale = "m";
10973
- /** When true, hides the chip */
10984
+ /** When `true`, hides the component. */
10974
10985
  this.closed = false;
10975
10986
  // --------------------------------------------------------------------------
10976
10987
  //
@@ -13300,12 +13311,16 @@ class ColorPicker {
13300
13311
  //
13301
13312
  //--------------------------------------------------------------------------
13302
13313
  /**
13303
- * When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.
13314
+ * When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
13304
13315
  *
13305
- * When true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.
13316
+ * When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
13306
13317
  */
13307
13318
  this.allowEmpty = false;
13308
- /** specify the appearance - solid (containing border), or minimal (no containing border) */
13319
+ /**
13320
+ * Specifies the appearance style of the component -
13321
+ *
13322
+ * `"solid"` (containing border) or `"minimal"` (no containing border).
13323
+ */
13309
13324
  this.appearance = "solid";
13310
13325
  /**
13311
13326
  * Internal prop for advanced use-cases.
@@ -13314,146 +13329,141 @@ class ColorPicker {
13314
13329
  */
13315
13330
  this.color = DEFAULT_COLOR$1;
13316
13331
  /**
13317
- * When true, disabled prevents user interaction.
13332
+ * When `true`, interaction is prevented and the component is displayed with lower opacity.
13318
13333
  */
13319
13334
  this.disabled = false;
13320
13335
  /**
13321
- * The format of the value property.
13336
+ * The format of `value`.
13322
13337
  *
13323
- * When "auto", the format will be inferred from `value` when set.
13338
+ * When `"auto"`, the format will be inferred from `value` when set.
13324
13339
  *
13325
13340
  * @default "auto"
13326
13341
  */
13327
13342
  this.format = defaultFormat;
13328
- /** When true, hides the hex input */
13343
+ /** When `true`, hides the Hex input. */
13329
13344
  this.hideHex = false;
13330
- /** When true, hides the RGB/HSV channel inputs */
13345
+ /** When `true`, hides the RGB/HSV channel inputs. */
13331
13346
  this.hideChannels = false;
13332
- /** When true, hides the saved colors section */
13347
+ /** When `true`, hides the saved colors section. */
13333
13348
  this.hideSaved = false;
13334
13349
  /**
13335
- * Label used for the blue channel
13350
+ * Accessible name for the RGB section's blue channel.
13336
13351
  *
13337
13352
  * @default "B"
13338
13353
  */
13339
13354
  this.intlB = TEXT$k.b;
13340
13355
  /**
13341
- * Label used for the blue channel description
13356
+ * Accessible name for the RGB section's blue channel description.
13342
13357
  *
13343
13358
  * @default "Blue"
13344
13359
  */
13345
13360
  this.intlBlue = TEXT$k.blue;
13346
13361
  /**
13347
- * Label used for the delete color button.
13362
+ * Accessible name for the delete color button.
13348
13363
  *
13349
13364
  * @default "Delete color"
13350
13365
  */
13351
13366
  this.intlDeleteColor = TEXT$k.deleteColor;
13352
13367
  /**
13353
- * Label used for the green channel
13368
+ * Accessible name for the RGB section's green channel.
13354
13369
  *
13355
13370
  * @default "G"
13356
13371
  */
13357
13372
  this.intlG = TEXT$k.g;
13358
13373
  /**
13359
- * Label used for the green channel description
13374
+ * Accessible name for the RGB section's green channel description.
13360
13375
  *
13361
13376
  * @default "Green"
13362
13377
  */
13363
13378
  this.intlGreen = TEXT$k.green;
13364
13379
  /**
13365
- * Label used for the hue channel
13380
+ * Accessible name for the HSV section's hue channel.
13366
13381
  *
13367
13382
  * @default "H"
13368
13383
  */
13369
13384
  this.intlH = TEXT$k.h;
13370
13385
  /**
13371
- * Label used for the HSV mode
13386
+ * Accessible name for the HSV mode.
13372
13387
  *
13373
13388
  * @default "HSV"
13374
13389
  */
13375
13390
  this.intlHsv = TEXT$k.hsv;
13376
13391
  /**
13377
- * Label used for the hex input
13392
+ * Accessible name for the Hex input.
13378
13393
  *
13379
13394
  * @default "Hex"
13380
13395
  */
13381
13396
  this.intlHex = TEXT$k.hex;
13382
13397
  /**
13383
- * Label used for the hue channel description
13398
+ * Accessible name for the HSV section's hue channel description.
13384
13399
  *
13385
13400
  * @default "Hue"
13386
13401
  */
13387
13402
  this.intlHue = TEXT$k.hue;
13388
13403
  /**
13389
- * Label used for the hex input when there is no color selected.
13404
+ * Accessible name for the Hex input when there is no color selected.
13390
13405
  *
13391
13406
  * @default "No color"
13392
13407
  */
13393
13408
  this.intlNoColor = TEXT$k.noColor;
13394
13409
  /**
13395
- * Label used for the red channel
13410
+ * Accessible name for the RGB section's red channel.
13396
13411
  *
13397
13412
  * @default "R"
13398
13413
  */
13399
13414
  this.intlR = TEXT$k.r;
13400
13415
  /**
13401
- * Label used for the red channel description
13416
+ * Accessible name for the RGB section's red channel description.
13402
13417
  *
13403
13418
  * @default "Red"
13404
13419
  */
13405
13420
  this.intlRed = TEXT$k.red;
13406
13421
  /**
13407
- * Label used for the RGB mode
13422
+ * Accessible name for the RGB mode.
13408
13423
  *
13409
13424
  * @default "RGB"
13410
13425
  */
13411
13426
  this.intlRgb = TEXT$k.rgb;
13412
13427
  /**
13413
- * Label used for the saturation channel
13428
+ * Accessible name for the HSV section's saturation channel.
13414
13429
  *
13415
13430
  * @default "S"
13416
13431
  */
13417
13432
  this.intlS = TEXT$k.s;
13418
13433
  /**
13419
- * Label used for the saturation channel description
13434
+ * Accessible name for the HSV section's saturation channel description.
13420
13435
  *
13421
13436
  * @default "Saturation"
13422
13437
  */
13423
13438
  this.intlSaturation = TEXT$k.saturation;
13424
13439
  /**
13425
- * Label used for the save color button.
13440
+ * Accessible name for the save color button.
13426
13441
  *
13427
13442
  * @default "Save color"
13428
13443
  */
13429
13444
  this.intlSaveColor = TEXT$k.saveColor;
13430
13445
  /**
13431
- * Label used for the saved colors section
13446
+ * Accessible name for the saved colors section.
13432
13447
  *
13433
13448
  * @default "Saved"
13434
13449
  */
13435
13450
  this.intlSaved = TEXT$k.saved;
13436
13451
  /**
13437
- * Label used for the value channel
13452
+ * Accessible name for the HSV section's value channel.
13438
13453
  *
13439
13454
  * @default "V"
13440
13455
  */
13441
13456
  this.intlV = TEXT$k.v;
13442
13457
  /**
13443
- * Label used for the
13458
+ * Accessible name for the HSV section's value channel description.
13444
13459
  *
13445
13460
  * @default "Value"
13446
13461
  */
13447
13462
  this.intlValue = TEXT$k.value;
13448
- /**
13449
- * The scale of the color picker.
13450
- */
13463
+ /** Specifies the size of the component. */
13451
13464
  this.scale = "m";
13452
13465
  /**
13453
- * The component's value.
13454
- *
13455
- * This value can be either a CSS color string,
13456
- * a RGB, HSL or HSV object.
13466
+ * The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.
13457
13467
  *
13458
13468
  * The type will be preserved as the color is updated.
13459
13469
  *
@@ -14184,29 +14194,27 @@ class ColorPickerHexInput {
14184
14194
  //
14185
14195
  //--------------------------------------------------------------------------
14186
14196
  /**
14187
- * When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.
14197
+ * When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
14188
14198
  *
14189
- * When true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.
14199
+ * When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
14190
14200
  */
14191
14201
  this.allowEmpty = false;
14192
14202
  /**
14193
- * Label used for the hex input.
14203
+ * Accessible name for the Hex input.
14194
14204
  *
14195
14205
  * @default "Hex"
14196
14206
  */
14197
14207
  this.intlHex = TEXT$k.hex;
14198
14208
  /**
14199
- * Label used for the hex input when there is no color selected.
14209
+ * Accessible name for the Hex input when there is no color selected.
14200
14210
  *
14201
14211
  * @default "No color"
14202
14212
  */
14203
14213
  this.intlNoColor = TEXT$k.noColor;
14204
- /**
14205
- * The component's scale.
14206
- */
14214
+ /** Specifies the size of the component. */
14207
14215
  this.scale = "m";
14208
14216
  /**
14209
- * The hex value.
14217
+ * The Hex value.
14210
14218
  */
14211
14219
  this.value = normalizeHex(DEFAULT_COLOR.hex());
14212
14220
  this.onCalciteInternalInputBlur = () => {
@@ -14397,11 +14405,11 @@ class ColorPickerSwatch {
14397
14405
  //
14398
14406
  //--------------------------------------------------------------------------
14399
14407
  /**
14400
- * Used to display whether the swatch is active or not.
14408
+ * When `true`, the component is active.
14401
14409
  */
14402
14410
  this.active = false;
14403
14411
  /**
14404
- * The component scale.
14412
+ * Specifies the size of the component.
14405
14413
  */
14406
14414
  this.scale = "m";
14407
14415
  }
@@ -15364,9 +15372,10 @@ function isOverflowElement(element) {
15364
15372
  const {
15365
15373
  overflow,
15366
15374
  overflowX,
15367
- overflowY
15375
+ overflowY,
15376
+ display
15368
15377
  } = getComputedStyle$1(element);
15369
- return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
15378
+ return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
15370
15379
  }
15371
15380
  function isTableElement(element) {
15372
15381
  return ['table', 'td', 'th'].includes(getNodeName(element));
@@ -15378,8 +15387,11 @@ function isContainingBlock(element) {
15378
15387
  // create a containing block.
15379
15388
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
15380
15389
 
15381
- return css.transform !== 'none' || css.perspective !== 'none' || // @ts-ignore (TS 4.1 compat)
15382
- css.contain === 'paint' || ['transform', 'perspective'].includes(css.willChange) || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false);
15390
+ return css.transform !== 'none' || css.perspective !== 'none' || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective'].some(value => css.willChange.includes(value)) || ['paint', 'layout', 'strict', 'content'].some( // TS 4.1 compat
15391
+ value => {
15392
+ const contain = css.contain;
15393
+ return contain != null ? contain.includes(value) : false;
15394
+ });
15383
15395
  }
15384
15396
  function isLayoutViewport() {
15385
15397
  // Not Safari
@@ -15389,6 +15401,9 @@ function isLayoutViewport() {
15389
15401
  // const vV = win.visualViewport;
15390
15402
  // return vV ? Math.abs(win.innerWidth / vV.scale - vV.width) < 0.5 : true;
15391
15403
  }
15404
+ function isLastTraversableNode(node) {
15405
+ return ['html', 'body', '#document'].includes(getNodeName(node));
15406
+ }
15392
15407
 
15393
15408
  const min = Math.min;
15394
15409
  const max = Math.max;
@@ -15527,7 +15542,7 @@ function getContainingBlock(element) {
15527
15542
  currentNode = currentNode.host;
15528
15543
  }
15529
15544
 
15530
- while (isHTMLElement(currentNode) && !['html', 'body'].includes(getNodeName(currentNode))) {
15545
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
15531
15546
  if (isContainingBlock(currentNode)) {
15532
15547
  return currentNode;
15533
15548
  } else {
@@ -15671,7 +15686,7 @@ function getDocumentRect(element) {
15671
15686
  function getNearestOverflowAncestor(node) {
15672
15687
  const parentNode = getParentNode(node);
15673
15688
 
15674
- if (['html', 'body', '#document'].includes(getNodeName(parentNode))) {
15689
+ if (isLastTraversableNode(parentNode)) {
15675
15690
  // @ts-ignore assume body is always available
15676
15691
  return node.ownerDocument.body;
15677
15692
  }
@@ -15722,6 +15737,22 @@ function contains(parent, child) {
15722
15737
  return false;
15723
15738
  }
15724
15739
 
15740
+ function getNearestParentCapableOfEscapingClipping(element, clippingAncestors) {
15741
+ let currentNode = element;
15742
+
15743
+ while (currentNode && !isLastTraversableNode(currentNode) && // @ts-expect-error
15744
+ !clippingAncestors.includes(currentNode)) {
15745
+ if (isElement(currentNode) && ['absolute', 'fixed'].includes(getComputedStyle$1(currentNode).position)) {
15746
+ break;
15747
+ }
15748
+
15749
+ const parentNode = getParentNode(currentNode);
15750
+ currentNode = isShadowRoot(parentNode) ? parentNode.host : parentNode;
15751
+ }
15752
+
15753
+ return currentNode;
15754
+ }
15755
+
15725
15756
  function getInnerBoundingClientRect(element, strategy) {
15726
15757
  const clientRect = getBoundingClientRect(element, false, strategy === 'fixed');
15727
15758
  const top = clientRect.top + element.clientTop;
@@ -15755,15 +15786,25 @@ function getClientRectFromClippingAncestor(element, clippingParent, strategy) {
15755
15786
 
15756
15787
  function getClippingAncestors(element) {
15757
15788
  const clippingAncestors = getOverflowAncestors(element);
15758
- const canEscapeClipping = ['absolute', 'fixed'].includes(getComputedStyle$1(element).position);
15759
- const clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
15789
+ const nearestEscapableParent = getNearestParentCapableOfEscapingClipping(element, clippingAncestors);
15790
+ let clipperElement = null;
15791
+
15792
+ if (nearestEscapableParent && isHTMLElement(nearestEscapableParent)) {
15793
+ const offsetParent = getOffsetParent(nearestEscapableParent);
15794
+
15795
+ if (isOverflowElement(nearestEscapableParent)) {
15796
+ clipperElement = nearestEscapableParent;
15797
+ } else if (isHTMLElement(offsetParent)) {
15798
+ clipperElement = offsetParent;
15799
+ }
15800
+ }
15760
15801
 
15761
15802
  if (!isElement(clipperElement)) {
15762
15803
  return [];
15763
15804
  } // @ts-ignore isElement check ensures we return Array<Element>
15764
15805
 
15765
15806
 
15766
- return clippingAncestors.filter(clippingAncestors => isElement(clippingAncestors) && contains(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
15807
+ return clippingAncestors.filter(clippingAncestors => clipperElement && isElement(clippingAncestors) && contains(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
15767
15808
  } // Gets the maximum area that the element is visible in due to any number of
15768
15809
  // clipping ancestors
15769
15810
 
@@ -15819,80 +15860,6 @@ const platform = {
15819
15860
  isRTL: element => getComputedStyle$1(element).direction === 'rtl'
15820
15861
  };
15821
15862
 
15822
- /**
15823
- * Automatically updates the position of the floating element when necessary.
15824
- * @see https://floating-ui.com/docs/autoUpdate
15825
- */
15826
- function autoUpdate(reference, floating, update, options) {
15827
- if (options === void 0) {
15828
- options = {};
15829
- }
15830
-
15831
- const {
15832
- ancestorScroll: _ancestorScroll = true,
15833
- ancestorResize: _ancestorResize = true,
15834
- elementResize = true,
15835
- animationFrame = false
15836
- } = options;
15837
- const ancestorScroll = _ancestorScroll && !animationFrame;
15838
- const ancestorResize = _ancestorResize && !animationFrame;
15839
- const ancestors = ancestorScroll || ancestorResize ? [...(isElement(reference) ? getOverflowAncestors(reference) : []), ...getOverflowAncestors(floating)] : [];
15840
- ancestors.forEach(ancestor => {
15841
- ancestorScroll && ancestor.addEventListener('scroll', update, {
15842
- passive: true
15843
- });
15844
- ancestorResize && ancestor.addEventListener('resize', update);
15845
- });
15846
- let observer = null;
15847
-
15848
- if (elementResize) {
15849
- let initialUpdate = true;
15850
- observer = new ResizeObserver(() => {
15851
- if (!initialUpdate) {
15852
- update();
15853
- }
15854
-
15855
- initialUpdate = false;
15856
- });
15857
- isElement(reference) && !animationFrame && observer.observe(reference);
15858
- observer.observe(floating);
15859
- }
15860
-
15861
- let frameId;
15862
- let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
15863
-
15864
- if (animationFrame) {
15865
- frameLoop();
15866
- }
15867
-
15868
- function frameLoop() {
15869
- const nextRefRect = getBoundingClientRect(reference);
15870
-
15871
- if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
15872
- update();
15873
- }
15874
-
15875
- prevRefRect = nextRefRect;
15876
- frameId = requestAnimationFrame(frameLoop);
15877
- }
15878
-
15879
- update();
15880
- return () => {
15881
- var _observer;
15882
-
15883
- ancestors.forEach(ancestor => {
15884
- ancestorScroll && ancestor.removeEventListener('scroll', update);
15885
- ancestorResize && ancestor.removeEventListener('resize', update);
15886
- });
15887
- (_observer = observer) == null ? void 0 : _observer.disconnect();
15888
- observer = null;
15889
-
15890
- if (animationFrame) {
15891
- cancelAnimationFrame(frameId);
15892
- }
15893
- };
15894
- }
15895
-
15896
15863
  /**
15897
15864
  * Computes the `x` and `y` coordinates that will place the floating element
15898
15865
  * next to a reference element when it is given a certain CSS positioning
@@ -15904,6 +15871,13 @@ const computePosition = (reference, floating, options) => computePosition$1(refe
15904
15871
  ...options
15905
15872
  });
15906
15873
 
15874
+ const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
15875
+ async function patchFloatingUiForNonChromiumBrowsers() {
15876
+ }
15877
+ const placementDataAttribute = "data-placement";
15878
+ /**
15879
+ * Exported for testing purposes only
15880
+ */
15907
15881
  const repositionDebounceTimeout = 100;
15908
15882
  const effectivePlacements = [
15909
15883
  "top",
@@ -15984,9 +15958,40 @@ function getEffectivePlacement(floatingEl, placement) {
15984
15958
  .replace(/leading/gi, placements[0])
15985
15959
  .replace(/trailing/gi, placements[1]);
15986
15960
  }
15961
+ /**
15962
+ * Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
15963
+ *
15964
+ * Note: this is not needed for components that use `calcite-popover`.
15965
+ *
15966
+ * @param component
15967
+ * @param options
15968
+ * @param options.referenceEl
15969
+ * @param options.floatingEl
15970
+ * @param options.overlayPositioning
15971
+ * @param options.placement
15972
+ * @param options.disableFlip
15973
+ * @param options.flipPlacements
15974
+ * @param options.offsetDistance
15975
+ * @param options.offsetSkidding
15976
+ * @param options.arrowEl
15977
+ * @param options.type
15978
+ * @param delayed
15979
+ */
15980
+ async function reposition(component, options, delayed = false) {
15981
+ if (!component.open) {
15982
+ return;
15983
+ }
15984
+ return delayed ? debouncedReposition(options) : positionFloatingUI(options);
15985
+ }
15986
+ const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeout, {
15987
+ leading: true,
15988
+ maxWait: repositionDebounceTimeout
15989
+ });
15987
15990
  /**
15988
15991
  * Positions the floating element relative to the reference element.
15989
15992
  *
15993
+ * **Note:** exported for testing purposes only
15994
+ *
15990
15995
  * @param root0
15991
15996
  * @param root0.referenceEl
15992
15997
  * @param root0.floatingEl
@@ -15998,12 +16003,14 @@ function getEffectivePlacement(floatingEl, placement) {
15998
16003
  * @param root0.offsetSkidding
15999
16004
  * @param root0.arrowEl
16000
16005
  * @param root0.type
16006
+ * @param root0.includeArrow
16001
16007
  */
16002
- async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning = "absolute", placement, disableFlip, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
16008
+ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning = "absolute", placement, disableFlip, flipPlacements, offsetDistance, offsetSkidding, includeArrow = false, arrowEl, type }) {
16003
16009
  var _a;
16004
- if (!referenceEl || !floatingEl) {
16010
+ if (!referenceEl || !floatingEl || (includeArrow && !arrowEl)) {
16005
16011
  return null;
16006
16012
  }
16013
+ await floatingUIBrowserCheck;
16007
16014
  const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
16008
16015
  strategy: overlayPositioning,
16009
16016
  placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
@@ -16029,7 +16036,7 @@ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning
16029
16036
  const referenceHidden = (_a = middlewareData === null || middlewareData === void 0 ? void 0 : middlewareData.hide) === null || _a === void 0 ? void 0 : _a.referenceHidden;
16030
16037
  const visibility = referenceHidden ? "hidden" : null;
16031
16038
  const pointerEvents = visibility ? "none" : null;
16032
- floatingEl.setAttribute("data-placement", effectivePlacement);
16039
+ floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
16033
16040
  const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
16034
16041
  Object.assign(floatingEl.style, {
16035
16042
  visibility,
@@ -16040,6 +16047,11 @@ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning
16040
16047
  transform
16041
16048
  });
16042
16049
  }
16050
+ /**
16051
+ * Exported for testing purposes only
16052
+ *
16053
+ * @internal
16054
+ */
16043
16055
  const cleanupMap = new WeakMap();
16044
16056
  /**
16045
16057
  * Helper to set up floating element interactions on connectedCallback.
@@ -16053,11 +16065,19 @@ function connectFloatingUI(component, referenceEl, floatingEl) {
16053
16065
  return;
16054
16066
  }
16055
16067
  disconnectFloatingUI(component, referenceEl, floatingEl);
16056
- cleanupMap.set(component, autoUpdate(referenceEl, floatingEl, () => {
16057
- if (component.open) {
16058
- component.reposition();
16059
- }
16060
- }));
16068
+ const position = component.overlayPositioning;
16069
+ // ensure position matches for initial positioning
16070
+ floatingEl.style.position = position;
16071
+ if (position === "absolute") {
16072
+ moveOffScreen(floatingEl);
16073
+ }
16074
+ const runAutoUpdate = (_refEl, _floatingEl, updateCallback) => {
16075
+ updateCallback();
16076
+ return () => {
16077
+ /* noop */
16078
+ };
16079
+ };
16080
+ cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
16061
16081
  }
16062
16082
  /**
16063
16083
  * Helper to tear down floating element interactions on disconnectedCallback.
@@ -16070,6 +16090,7 @@ function disconnectFloatingUI(component, referenceEl, floatingEl) {
16070
16090
  if (!floatingEl || !referenceEl) {
16071
16091
  return;
16072
16092
  }
16093
+ getTransitionTarget(floatingEl).removeEventListener("transitionend", handleTransitionElTransitionEnd);
16073
16094
  const cleanup = cleanupMap.get(component);
16074
16095
  if (cleanup) {
16075
16096
  cleanup();
@@ -16083,6 +16104,42 @@ const visiblePointerSize = 4;
16083
16104
  * @default 6
16084
16105
  */
16085
16106
  const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
16107
+ /**
16108
+ * This utils applies floating element styles to avoid affecting layout when closed.
16109
+ *
16110
+ * This should be called when the closing transition will start.
16111
+ *
16112
+ * @param floatingEl
16113
+ */
16114
+ function updateAfterClose(floatingEl) {
16115
+ if (!floatingEl || floatingEl.style.position !== "absolute") {
16116
+ return;
16117
+ }
16118
+ getTransitionTarget(floatingEl).addEventListener("transitionend", handleTransitionElTransitionEnd);
16119
+ }
16120
+ function getTransitionTarget(floatingEl) {
16121
+ // assumes floatingEl w/ shadowRoot is a FloatingUIComponent
16122
+ return floatingEl.shadowRoot || floatingEl;
16123
+ }
16124
+ function handleTransitionElTransitionEnd(event) {
16125
+ const floatingTransitionEl = event.target;
16126
+ if (
16127
+ // using any prop from floating-ui transition
16128
+ event.propertyName === "opacity" &&
16129
+ floatingTransitionEl.classList.contains(FloatingCSS.animation)) {
16130
+ const floatingEl = getFloatingElFromTransitionTarget(floatingTransitionEl);
16131
+ moveOffScreen(floatingEl);
16132
+ getTransitionTarget(floatingEl).removeEventListener("transitionend", handleTransitionElTransitionEnd);
16133
+ }
16134
+ }
16135
+ function moveOffScreen(floatingEl) {
16136
+ floatingEl.style.transform = "";
16137
+ floatingEl.style.top = "-99999px";
16138
+ floatingEl.style.left = "-99999px";
16139
+ }
16140
+ function getFloatingElFromTransitionTarget(floatingTransitionEl) {
16141
+ return closestElementCrossShadowBoundary(floatingTransitionEl, `[${placementDataAttribute}]`);
16142
+ }
16086
16143
 
16087
16144
  const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
16088
16145
  const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
@@ -16114,7 +16171,7 @@ function getDepth(element) {
16114
16171
  }
16115
16172
  }
16116
16173
 
16117
- const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-combobox: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-combobox{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-combobox{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-combobox:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-combobox:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper, \n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:flex;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end, \n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:flex;inline-size:1rem;cursor:pointer;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{display:block;position:absolute;z-index:900;transform:scale(0);visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;visibility:visible;transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){/*!@.wrapper,\n.floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
16174
+ const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-combobox: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-combobox{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-combobox{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-combobox{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-combobox{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-combobox{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-combobox:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-combobox:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper, \n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:flex;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end, \n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:flex;inline-size:1rem;cursor:pointer;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;visibility:visible;transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){/*!@.wrapper,\n.floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
16118
16175
 
16119
16176
  const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
16120
16177
  const itemUidPrefix = "combobox-item-";
@@ -16142,16 +16199,16 @@ class Combobox {
16142
16199
  //
16143
16200
  //--------------------------------------------------------------------------
16144
16201
  /**
16145
- * When true, opens the combobox
16202
+ * When `true`, displays and positions the component.
16146
16203
  *
16147
- * @deprecated use open instead
16204
+ * @deprecated use `open` instead.
16148
16205
  */
16149
16206
  this.active = false;
16150
- /**When true, opens the combobox */
16207
+ /**When `true`, displays and positions the component. */
16151
16208
  this.open = false;
16152
- /** Disable combobox input */
16209
+ /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
16153
16210
  this.disabled = false;
16154
- /** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
16211
+ /** Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar. */
16155
16212
  this.maxItems = 0;
16156
16213
  /**
16157
16214
  * Determines the type of positioning to use for the overlaid content.
@@ -16163,24 +16220,24 @@ class Combobox {
16163
16220
  */
16164
16221
  this.overlayPositioning = "absolute";
16165
16222
  /**
16166
- * When true, the component must have a value in order for the form to submit.
16223
+ * When `true`, the component must have a value in order for the form to submit.
16167
16224
  *
16168
16225
  * @internal
16169
16226
  */
16170
16227
  this.required = false;
16171
16228
  /**
16172
- * specify the selection mode
16173
- * - multi: allow any number of selected items (default)
16174
- * - single: only one selection)
16175
- * - ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips
16229
+ * Specifies the selection mode -
16230
+ * `"multi"` (allow any number of selected items),
16231
+ * `"single"` (allow only one selection), or
16232
+ * `"ancestors"` (like `"multi"`, but show ancestors of selected items as selected. Only the deepest children are shown in `calcite-chip`s).
16176
16233
  */
16177
16234
  this.selectionMode = "multi";
16178
- /** Specify the scale of the combobox, defaults to m */
16235
+ /** Specifies the size of the component. */
16179
16236
  this.scale = "m";
16180
- /** The value(s) of the selectedItem(s) */
16237
+ /** The component's value(s) from the selected `calcite-combobox-item`(s). */
16181
16238
  this.value = null;
16182
16239
  /**
16183
- * string to override the English "Remove tag" text for when an item is selected.
16240
+ * Accessible name for the component's remove tag when a `calcite-combobox-item` is selected.
16184
16241
  *
16185
16242
  * @default "Remove tag"
16186
16243
  */
@@ -16212,7 +16269,6 @@ class Combobox {
16212
16269
  // Private Methods
16213
16270
  //
16214
16271
  // --------------------------------------------------------------------------
16215
- this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
16216
16272
  this.setFilteredPlacements = () => {
16217
16273
  const { el, flipPlacements } = this;
16218
16274
  this.filteredFlipPlacements = flipPlacements
@@ -16344,11 +16400,11 @@ class Combobox {
16344
16400
  if (!listContainerEl || !open) {
16345
16401
  return;
16346
16402
  }
16347
- await this.debouncedReposition();
16403
+ await this.reposition(true);
16348
16404
  const maxScrollerHeight = this.getMaxScrollerHeight();
16349
16405
  listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
16350
16406
  listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;
16351
- await this.debouncedReposition();
16407
+ await this.reposition(true);
16352
16408
  };
16353
16409
  this.calciteChipDismissHandler = (event, comboboxItem) => {
16354
16410
  this.open = false;
@@ -16483,6 +16539,9 @@ class Combobox {
16483
16539
  this.open = value;
16484
16540
  }
16485
16541
  openHandler(value) {
16542
+ if (!value) {
16543
+ updateAfterClose(this.floatingEl);
16544
+ }
16486
16545
  if (this.disabled) {
16487
16546
  this.active = false;
16488
16547
  this.open = false;
@@ -16501,7 +16560,7 @@ class Combobox {
16501
16560
  this.setMaxScrollerHeight();
16502
16561
  }
16503
16562
  overlayPositioningHandler() {
16504
- this.debouncedReposition();
16563
+ this.reposition(true);
16505
16564
  }
16506
16565
  valueHandler(value) {
16507
16566
  if (!this.internalValueChangeFlag) {
@@ -16520,7 +16579,7 @@ class Combobox {
16520
16579
  }
16521
16580
  flipPlacementsHandler() {
16522
16581
  this.setFilteredPlacements();
16523
- this.debouncedReposition();
16582
+ this.reposition(true);
16524
16583
  }
16525
16584
  //--------------------------------------------------------------------------
16526
16585
  //
@@ -16547,17 +16606,21 @@ class Combobox {
16547
16606
  // Public Methods
16548
16607
  //
16549
16608
  //--------------------------------------------------------------------------
16550
- /** Updates the position of the component. */
16551
- async reposition() {
16609
+ /**
16610
+ * Updates the position of the component.
16611
+ *
16612
+ * @param delayed
16613
+ */
16614
+ async reposition(delayed = false) {
16552
16615
  const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
16553
- return positionFloatingUI({
16616
+ return reposition(this, {
16554
16617
  floatingEl,
16555
16618
  referenceEl,
16556
16619
  overlayPositioning,
16557
16620
  placement,
16558
16621
  flipPlacements: filteredFlipPlacements,
16559
16622
  type: "menu"
16560
- });
16623
+ }, delayed);
16561
16624
  }
16562
16625
  /** Sets focus on the component. */
16563
16626
  async setFocus() {
@@ -16581,7 +16644,7 @@ class Combobox {
16581
16644
  connectForm(this);
16582
16645
  connectOpenCloseComponent(this);
16583
16646
  this.setFilteredPlacements();
16584
- this.debouncedReposition();
16647
+ this.reposition(true);
16585
16648
  if (this.active) {
16586
16649
  this.activeHandler(this.active);
16587
16650
  }
@@ -16594,11 +16657,11 @@ class Combobox {
16594
16657
  }
16595
16658
  componentDidLoad() {
16596
16659
  afterConnectDefaultValueSet(this, this.getValue());
16597
- this.debouncedReposition();
16660
+ this.reposition(true);
16598
16661
  }
16599
16662
  componentDidRender() {
16600
16663
  if (this.el.offsetHeight !== this.inputHeight) {
16601
- this.debouncedReposition();
16664
+ this.reposition(true);
16602
16665
  this.inputHeight = this.el.offsetHeight;
16603
16666
  }
16604
16667
  updateHostInteraction(this);
@@ -17011,13 +17074,15 @@ class ComboboxItem {
17011
17074
  // Properties
17012
17075
  //
17013
17076
  // --------------------------------------------------------------------------
17014
- /** When true, the item cannot be clicked and is visually muted. */
17077
+ /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
17015
17078
  this.disabled = false;
17016
- /** Set this to true to pre-select an item. Toggles when an item is checked/unchecked. */
17079
+ /**
17080
+ * When `true`, the component is selected.
17081
+ */
17017
17082
  this.selected = false;
17018
- /** True when item is highlighted either from keyboard or mouse hover */
17083
+ /** When `true`, the component is active. */
17019
17084
  this.active = false;
17020
- /** Unique identifier, used for accessibility */
17085
+ /** The `id` attribute of the component. When omitted, a globally unique identifier is used. */
17021
17086
  this.guid = guid();
17022
17087
  this.scale = "m";
17023
17088
  // --------------------------------------------------------------------------
@@ -18432,7 +18497,7 @@ const SLOTS$k = {
18432
18497
  dropdownTrigger: "dropdown-trigger"
18433
18498
  };
18434
18499
 
18435
- const dropdownCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown:root{--calcite-internal-duration-factor:0.01}}/*!@: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;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-dropdown-h{display:inline-flex;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;transform:scale(0);visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{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{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{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{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;transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-dropdown-trigger-container*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:flex;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}";
18500
+ const dropdownCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown:root{--calcite-internal-duration-factor:0.01}}/*!@: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;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-dropdown-h{display:inline-flex;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;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}/*!@.calcite-dropdown-wrapper .calcite-floating-ui-anim*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim*/.calcite-dropdown-wrapper[data-placement^=bottom].sc-calcite-dropdown .calcite-floating-ui-anim.sc-calcite-dropdown{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{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{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{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;transform:translate(0)}/*!@:host([open]) .calcite-dropdown-wrapper*/[open].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.calcite-dropdown-trigger-container*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:flex;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}";
18436
18501
 
18437
18502
  /**
18438
18503
  * @slot - A slot for adding `calcite-dropdown-group` components. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
@@ -18508,7 +18573,6 @@ class Dropdown {
18508
18573
  // Private Methods
18509
18574
  //
18510
18575
  //--------------------------------------------------------------------------
18511
- this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
18512
18576
  this.slotChangeHandler = (event) => {
18513
18577
  this.defaultAssignedElements = event.target.assignedElements({
18514
18578
  flatten: true
@@ -18525,14 +18589,14 @@ class Dropdown {
18525
18589
  this.triggers = event.target.assignedElements({
18526
18590
  flatten: true
18527
18591
  });
18528
- this.debouncedReposition();
18592
+ this.reposition(true);
18529
18593
  };
18530
18594
  this.updateItems = () => {
18531
18595
  this.items = this.groups
18532
18596
  .map((group) => Array.from(group === null || group === void 0 ? void 0 : group.querySelectorAll("calcite-dropdown-item")))
18533
18597
  .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
18534
18598
  this.updateSelectedItems();
18535
- this.debouncedReposition();
18599
+ this.reposition(true);
18536
18600
  };
18537
18601
  this.updateGroups = (event) => {
18538
18602
  const groups = event.target
@@ -18565,10 +18629,10 @@ class Dropdown {
18565
18629
  if (!scrollerEl) {
18566
18630
  return;
18567
18631
  }
18568
- this.debouncedReposition();
18632
+ this.reposition(true);
18569
18633
  const maxScrollerHeight = this.getMaxScrollerHeight();
18570
18634
  scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
18571
- this.debouncedReposition();
18635
+ this.reposition(true);
18572
18636
  };
18573
18637
  this.setScrollerAndTransitionEl = (el) => {
18574
18638
  this.resizeObserver.observe(el);
@@ -18634,10 +18698,18 @@ class Dropdown {
18634
18698
  }
18635
18699
  openHandler(value) {
18636
18700
  if (!this.disabled) {
18637
- this.debouncedReposition();
18701
+ if (value) {
18702
+ this.reposition(true);
18703
+ }
18704
+ else {
18705
+ updateAfterClose(this.floatingEl);
18706
+ }
18638
18707
  this.active = value;
18639
18708
  return;
18640
18709
  }
18710
+ if (!value) {
18711
+ updateAfterClose(this.floatingEl);
18712
+ }
18641
18713
  this.open = false;
18642
18714
  }
18643
18715
  handleDisabledChange(value) {
@@ -18647,16 +18719,16 @@ class Dropdown {
18647
18719
  }
18648
18720
  flipPlacementsHandler() {
18649
18721
  this.setFilteredPlacements();
18650
- this.debouncedReposition();
18722
+ this.reposition(true);
18651
18723
  }
18652
18724
  maxItemsHandler() {
18653
18725
  this.setMaxScrollerHeight();
18654
18726
  }
18655
18727
  overlayPositioningHandler() {
18656
- this.debouncedReposition();
18728
+ this.reposition(true);
18657
18729
  }
18658
18730
  placementHandler() {
18659
- this.debouncedReposition();
18731
+ this.reposition(true);
18660
18732
  }
18661
18733
  //--------------------------------------------------------------------------
18662
18734
  //
@@ -18667,7 +18739,7 @@ class Dropdown {
18667
18739
  var _a;
18668
18740
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
18669
18741
  this.setFilteredPlacements();
18670
- this.debouncedReposition();
18742
+ this.reposition(true);
18671
18743
  if (this.open) {
18672
18744
  this.openHandler(this.open);
18673
18745
  }
@@ -18677,7 +18749,7 @@ class Dropdown {
18677
18749
  connectOpenCloseComponent(this);
18678
18750
  }
18679
18751
  componentDidLoad() {
18680
- this.debouncedReposition();
18752
+ this.reposition(true);
18681
18753
  }
18682
18754
  componentDidRender() {
18683
18755
  updateHostInteraction(this);
@@ -18702,17 +18774,21 @@ class Dropdown {
18702
18774
  // Public Methods
18703
18775
  //
18704
18776
  //--------------------------------------------------------------------------
18705
- /** Updates the position of the component. */
18706
- async reposition() {
18777
+ /**
18778
+ * Updates the position of the component.
18779
+ *
18780
+ * @param delayed
18781
+ */
18782
+ async reposition(delayed = false) {
18707
18783
  const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
18708
- return positionFloatingUI({
18784
+ return reposition(this, {
18709
18785
  floatingEl,
18710
18786
  referenceEl,
18711
18787
  overlayPositioning,
18712
18788
  placement,
18713
18789
  flipPlacements: filteredFlipPlacements,
18714
18790
  type: "menu"
18715
- });
18791
+ }, delayed);
18716
18792
  }
18717
18793
  closeCalciteDropdownOnClick(event) {
18718
18794
  if (!isPrimaryPointerButton(event) || !this.open || event.composedPath().includes(this.el)) {
@@ -20009,7 +20085,7 @@ const ICONS$6 = {
20009
20085
  drag: "drag"
20010
20086
  };
20011
20087
 
20012
- const handleCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-handle: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-handle{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-handle{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-handle{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-handle{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-handle{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-handle:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-handle:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-handle-h{display:none}/*!@:host*/.sc-calcite-handle-h{display:flex}/*!@.handle*/.handle.sc-calcite-handle{display:flex;cursor:move;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-ui-border-3);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}/*!@.handle:hover*/.handle.sc-calcite-handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.handle:focus*/.handle.sc-calcite-handle:focus{color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.handle--activated*/.handle--activated.sc-calcite-handle{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@.handle calcite-icon*/.handle.sc-calcite-handle calcite-icon.sc-calcite-handle{color:inherit}";
20088
+ const handleCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-handle: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-handle{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-handle{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-handle{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-handle{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-handle{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-handle:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-handle:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-handle-h{display:none}/*!@:host*/.sc-calcite-handle-h{display:flex}/*!@.handle*/.handle.sc-calcite-handle{display:flex;cursor:move;align-items:center;justify-content:center;align-self:stretch;border-style:none;background-color:transparent;outline-color:transparent;color:var(--calcite-ui-border-input);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}/*!@.handle:hover*/.handle.sc-calcite-handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.handle:focus*/.handle.sc-calcite-handle:focus{color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.handle--activated*/.handle--activated.sc-calcite-handle{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@.handle calcite-icon*/.handle.sc-calcite-handle calcite-icon.sc-calcite-handle{color:inherit}";
20013
20089
 
20014
20090
  class Handle {
20015
20091
  constructor(hostRef) {
@@ -21157,7 +21233,7 @@ const CSS$u = {
21157
21233
  menuActive: "menu-container--active"
21158
21234
  };
21159
21235
 
21160
- const inputDatePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-date-picker: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-input-date-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-date-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-date-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-date-picker{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-date-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-input-date-picker-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-date-picker-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-date-picker-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-date-picker-h{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host .menu-container .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(-5px)}/*!@:host .menu-container[data-placement^=top] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(5px)}/*!@:host .menu-container[data-placement^=left] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(5px)}/*!@:host .menu-container[data-placement^=right] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(-5px)}/*!@:host .menu-container[data-placement] .calcite-floating-ui-anim--active*/.sc-calcite-input-date-picker-h .menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-date-picker-h[disabled] .sc-calcite-input-date-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-date-picker-h [calcite-hydrated][disabled].sc-calcite-input-date-picker{opacity:1}/*!@.calendar-picker-wrapper*/.calendar-picker-wrapper.sc-calcite-input-date-picker{position:static;inline-size:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-date-picker{position:relative}/*!@:host([range]) .input-container*/[range].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{display:flex}/*!@:host([range]) .input-wrapper*/[range].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{flex:1 1 auto}/*!@:host([range]) .horizontal-arrow-container*/[range].sc-calcite-input-date-picker-h .horizontal-arrow-container.sc-calcite-input-date-picker{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}/*!@:host([range][layout=vertical]) .input-wrapper*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{inline-size:100%}/*!@:host([range][layout=vertical]) .input-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{flex-direction:column;align-items:flex-start}/*!@:host([range][layout=vertical]) .calendar-picker-wrapper--end*/[range][layout=vertical].sc-calcite-input-date-picker-h .calendar-picker-wrapper--end.sc-calcite-input-date-picker{transform:translate3d(0, 0, 0)}/*!@:host([range][layout=vertical]) .vertical-arrow-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;position:absolute;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}/*!@:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=s][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:216px}/*!@:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=m][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:286px}/*!@:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=l][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:398px}/*!@.menu-container*/.menu-container.sc-calcite-input-date-picker{display:block;position:absolute;z-index:900;transform:scale(0);inline-size:0;block-size:0;overflow:hidden;pointer-events:none;visibility:hidden}/*!@.menu-container .calcite-floating-ui-anim*/.menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(-5px)}/*!@.menu-container[data-placement^=top] .calcite-floating-ui-anim*/.menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(5px)}/*!@.menu-container[data-placement^=left] .calcite-floating-ui-anim*/.menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(5px)}/*!@.menu-container[data-placement^=right] .calcite-floating-ui-anim*/.menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(-5px)}/*!@.menu-container[data-placement] .calcite-floating-ui-anim--active*/.menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([open]) .menu-container*/[open].sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.menu-container--active*/.menu-container--active.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.input .calcite-input__wrapper*/.input.sc-calcite-input-date-picker .calcite-input__wrapper.sc-calcite-input-date-picker{margin-block-start:0px}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;padding-inline-start:0.75rem}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker calcite-icon.sc-calcite-input-date-picker{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}/*!@:host([range][layout=vertical][scale=l]) .vertical-arrow-container*/[range][layout=vertical][scale=l].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:2.25rem;padding-inline:0.875rem}/*!@:host([range][layout=vertical][open]) .vertical-arrow-container*/[range][layout=vertical][open].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{display:none}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-date-picker-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
21236
+ const inputDatePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-input-date-picker: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-input-date-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-date-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-date-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-date-picker{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-date-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-internal-duration-factor:0.01}}/*!@:host*/.sc-calcite-input-date-picker-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-input-date-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-input-date-picker-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-date-picker-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-date-picker-h{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host .menu-container .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(-5px)}/*!@:host .menu-container[data-placement^=top] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(5px)}/*!@:host .menu-container[data-placement^=left] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(5px)}/*!@:host .menu-container[data-placement^=right] .calcite-floating-ui-anim*/.sc-calcite-input-date-picker-h .menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(-5px)}/*!@:host .menu-container[data-placement] .calcite-floating-ui-anim--active*/.sc-calcite-input-date-picker-h .menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-date-picker-h[disabled] .sc-calcite-input-date-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-date-picker-h [calcite-hydrated][disabled].sc-calcite-input-date-picker{opacity:1}/*!@.calendar-picker-wrapper*/.calendar-picker-wrapper.sc-calcite-input-date-picker{position:static;inline-size:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}/*!@.input-wrapper*/.input-wrapper.sc-calcite-input-date-picker{position:relative}/*!@:host([range]) .input-container*/[range].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{display:flex}/*!@:host([range]) .input-wrapper*/[range].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{flex:1 1 auto}/*!@:host([range]) .horizontal-arrow-container*/[range].sc-calcite-input-date-picker-h .horizontal-arrow-container.sc-calcite-input-date-picker{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}/*!@:host([range][layout=vertical]) .input-wrapper*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-wrapper.sc-calcite-input-date-picker{inline-size:100%}/*!@:host([range][layout=vertical]) .input-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .input-container.sc-calcite-input-date-picker{flex-direction:column;align-items:flex-start}/*!@:host([range][layout=vertical]) .calendar-picker-wrapper--end*/[range][layout=vertical].sc-calcite-input-date-picker-h .calendar-picker-wrapper--end.sc-calcite-input-date-picker{transform:translate3d(0, 0, 0)}/*!@:host([range][layout=vertical]) .vertical-arrow-container*/[range][layout=vertical].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;position:absolute;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}/*!@:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=s][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:216px}/*!@:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=m][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:286px}/*!@:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper*/[scale=l][range].sc-calcite-input-date-picker-h:not([layout=vertical]) .calendar-picker-wrapper.sc-calcite-input-date-picker{inline-size:398px}/*!@.menu-container*/.menu-container.sc-calcite-input-date-picker{display:block;position:absolute;z-index:900;inline-size:0;block-size:0;overflow:hidden;pointer-events:none;visibility:hidden}/*!@.menu-container .calcite-floating-ui-anim*/.menu-container.sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@.menu-container[data-placement^=bottom] .calcite-floating-ui-anim*/.menu-container[data-placement^=bottom].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(-5px)}/*!@.menu-container[data-placement^=top] .calcite-floating-ui-anim*/.menu-container[data-placement^=top].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateY(5px)}/*!@.menu-container[data-placement^=left] .calcite-floating-ui-anim*/.menu-container[data-placement^=left].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(5px)}/*!@.menu-container[data-placement^=right] .calcite-floating-ui-anim*/.menu-container[data-placement^=right].sc-calcite-input-date-picker .calcite-floating-ui-anim.sc-calcite-input-date-picker{transform:translateX(-5px)}/*!@.menu-container[data-placement] .calcite-floating-ui-anim--active*/.menu-container[data-placement].sc-calcite-input-date-picker .calcite-floating-ui-anim--active.sc-calcite-input-date-picker{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([open]) .menu-container*/[open].sc-calcite-input-date-picker-h .menu-container.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.menu-container--active*/.menu-container--active.sc-calcite-input-date-picker{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}/*!@.input .calcite-input__wrapper*/.input.sc-calcite-input-date-picker .calcite-input__wrapper.sc-calcite-input-date-picker{margin-block-start:0px}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:1.5rem;padding-inline-start:0.75rem}/*!@:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon*/[range][layout=vertical][scale=m].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker calcite-icon.sc-calcite-input-date-picker{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}/*!@:host([range][layout=vertical][scale=l]) .vertical-arrow-container*/[range][layout=vertical][scale=l].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{inset-block-start:2.25rem;padding-inline:0.875rem}/*!@:host([range][layout=vertical][open]) .vertical-arrow-container*/[range][layout=vertical][open].sc-calcite-input-date-picker-h .vertical-arrow-container.sc-calcite-input-date-picker{display:none}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-date-picker-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
21161
21237
 
21162
21238
  class InputDatePicker {
21163
21239
  constructor(hostRef) {
@@ -21175,22 +21251,22 @@ class InputDatePicker {
21175
21251
  //
21176
21252
  //--------------------------------------------------------------------------
21177
21253
  /**
21178
- * When true, interaction is prevented and the component is displayed with lower opacity.
21254
+ * When `true`, interaction is prevented and the component is displayed with lower opacity.
21179
21255
  */
21180
21256
  this.disabled = false;
21181
21257
  /**
21182
- * When true, the component's value can be read, but controls are not accessible and the value cannot be modified.
21258
+ * When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.
21183
21259
  *
21184
21260
  * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
21185
21261
  */
21186
21262
  this.readOnly = false;
21187
21263
  /**
21188
- * When true, the component is active.
21264
+ * When `true`, the component is active.
21189
21265
  *
21190
21266
  * @deprecated use `open` instead.
21191
21267
  */
21192
21268
  this.active = false;
21193
- /** When true, displays the `calcite-date-picker` component. */
21269
+ /** When `true`, displays the `calcite-date-picker` component. */
21194
21270
  this.open = false;
21195
21271
  /**
21196
21272
  * Accessible name for the component's previous month button.
@@ -21218,10 +21294,10 @@ class InputDatePicker {
21218
21294
  * @default "bottom-start"
21219
21295
  */
21220
21296
  this.placement = defaultMenuPlacement;
21221
- /** When true, activates a range for the component. */
21297
+ /** When `true`, activates a range for the component. */
21222
21298
  this.range = false;
21223
21299
  /**
21224
- * When true, the component must have a value in order for the form to submit.
21300
+ * When `true`, the component must have a value in order for the form to submit.
21225
21301
  *
21226
21302
  * @internal
21227
21303
  */
@@ -21236,7 +21312,7 @@ class InputDatePicker {
21236
21312
  */
21237
21313
  this.overlayPositioning = "absolute";
21238
21314
  /**
21239
- * When true, disables the default behavior on the third click of narrowing or extending the range.
21315
+ * When `true`, disables the default behavior on the third click of narrowing or extending the range.
21240
21316
  * Instead starts a new range.
21241
21317
  */
21242
21318
  this.proximitySelectionDisabled = false;
@@ -21251,7 +21327,6 @@ class InputDatePicker {
21251
21327
  // Private Methods
21252
21328
  //
21253
21329
  //--------------------------------------------------------------------------
21254
- this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
21255
21330
  this.setFilteredPlacements = () => {
21256
21331
  const { el, flipPlacements } = this;
21257
21332
  this.filteredFlipPlacements = flipPlacements
@@ -21396,7 +21471,7 @@ class InputDatePicker {
21396
21471
  }
21397
21472
  flipPlacementsHandler() {
21398
21473
  this.setFilteredPlacements();
21399
- this.debouncedReposition();
21474
+ this.reposition(true);
21400
21475
  }
21401
21476
  onMinChanged(min) {
21402
21477
  if (min) {
@@ -21414,13 +21489,21 @@ class InputDatePicker {
21414
21489
  openHandler(value) {
21415
21490
  this.active = value;
21416
21491
  if (this.disabled || this.readOnly) {
21492
+ if (!value) {
21493
+ updateAfterClose(this.floatingEl);
21494
+ }
21417
21495
  this.open = false;
21418
21496
  return;
21419
21497
  }
21420
- this.debouncedReposition();
21498
+ if (value) {
21499
+ this.reposition(true);
21500
+ }
21501
+ else {
21502
+ updateAfterClose(this.floatingEl);
21503
+ }
21421
21504
  }
21422
21505
  overlayPositioningHandler() {
21423
- this.debouncedReposition();
21506
+ this.reposition(true);
21424
21507
  }
21425
21508
  //--------------------------------------------------------------------------
21426
21509
  //
@@ -21446,17 +21529,21 @@ class InputDatePicker {
21446
21529
  var _a;
21447
21530
  (_a = this.startInput) === null || _a === void 0 ? void 0 : _a.setFocus();
21448
21531
  }
21449
- /** Updates the position of the component. */
21450
- async reposition() {
21532
+ /**
21533
+ * Updates the position of the component.
21534
+ *
21535
+ * @param delayed
21536
+ */
21537
+ async reposition(delayed = false) {
21451
21538
  const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
21452
- return positionFloatingUI({
21539
+ return reposition(this, {
21453
21540
  floatingEl,
21454
21541
  referenceEl,
21455
21542
  overlayPositioning,
21456
21543
  placement,
21457
21544
  flipPlacements: filteredFlipPlacements,
21458
21545
  type: "menu"
21459
- });
21546
+ }, delayed);
21460
21547
  }
21461
21548
  // --------------------------------------------------------------------------
21462
21549
  //
@@ -21494,7 +21581,7 @@ class InputDatePicker {
21494
21581
  connectForm(this);
21495
21582
  connectOpenCloseComponent(this);
21496
21583
  this.setFilteredPlacements();
21497
- this.debouncedReposition();
21584
+ this.reposition(true);
21498
21585
  numberStringFormatter.numberFormatOptions = {
21499
21586
  numberingSystem: this.numberingSystem,
21500
21587
  locale: this.effectiveLocale,
@@ -21507,7 +21594,7 @@ class InputDatePicker {
21507
21594
  this.onMaxChanged(this.max);
21508
21595
  }
21509
21596
  componentDidLoad() {
21510
- this.debouncedReposition();
21597
+ this.reposition(true);
21511
21598
  }
21512
21599
  disconnectedCallback() {
21513
21600
  disconnectLabel(this);
@@ -23014,7 +23101,7 @@ class InputTimePicker {
23014
23101
  */
23015
23102
  this.readOnly = false;
23016
23103
  /**
23017
- * When true, the component must have a value in order for the form to submit.
23104
+ * When `true`, the component must have a value in order for the form to submit.
23018
23105
  *
23019
23106
  * @internal
23020
23107
  */
@@ -23193,7 +23280,9 @@ class InputTimePicker {
23193
23280
  this.open = false;
23194
23281
  return;
23195
23282
  }
23196
- this.reposition();
23283
+ if (value) {
23284
+ this.reposition(true);
23285
+ }
23197
23286
  }
23198
23287
  handleDisabledAndReadOnlyChange(value) {
23199
23288
  if (!value) {
@@ -23245,10 +23334,14 @@ class InputTimePicker {
23245
23334
  var _a;
23246
23335
  (_a = this.calciteInputEl) === null || _a === void 0 ? void 0 : _a.setFocus();
23247
23336
  }
23248
- /** Updates the position of the component. */
23249
- async reposition() {
23337
+ /**
23338
+ * Updates the position of the component.
23339
+ *
23340
+ * @param delayed
23341
+ */
23342
+ async reposition(delayed = false) {
23250
23343
  var _a;
23251
- (_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition();
23344
+ (_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
23252
23345
  }
23253
23346
  onLabelClick() {
23254
23347
  this.setFocus();
@@ -26083,7 +26176,7 @@ class PopoverManager$1 {
26083
26176
  }
26084
26177
  }
26085
26178
 
26086
- const popoverCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-popover:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-popover{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-popover{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-popover:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-popover:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{display:block;position:absolute;z-index:900;transform:scale(0)}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-popover{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-popover-h .calcite-floating-ui-anim--active.sc-calcite-popover{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-popover-h{visibility:hidden !important;pointer-events:none}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-popover,.arrow.sc-calcite-popover::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-placement^=top]) .arrow*/[data-placement^=top].sc-calcite-popover-h .arrow.sc-calcite-popover{inset-block-end:-4px}/*!@:host([data-placement^=bottom]) .arrow*/[data-placement^=bottom].sc-calcite-popover-h .arrow.sc-calcite-popover{inset-block-start:-4px}/*!@:host([data-placement^=left]) .arrow*/[data-placement^=left].sc-calcite-popover-h .arrow.sc-calcite-popover{direction:ltr;inset-inline-end:-4px}/*!@:host([data-placement^=right]) .arrow*/[data-placement^=right].sc-calcite-popover-h .arrow.sc-calcite-popover{direction:ltr;inset-inline-start:-4px}/*!@:host*/.sc-calcite-popover-h{pointer-events:none}/*!@:host([open])*/[open].sc-calcite-popover-h{pointer-events:initial}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-popover{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{outline:1px solid var(--calcite-ui-border-3)}/*!@.header*/.header.sc-calcite-popover{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}/*!@.heading*/.heading.sc-calcite-popover{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}/*!@.container*/.container.sc-calcite-popover{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}/*!@.container.has-header*/.container.has-header.sc-calcite-popover{flex-direction:column}/*!@.content*/.content.sc-calcite-popover{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}/*!@.close-button-container*/.close-button-container.sc-calcite-popover{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}/*!@::slotted(calcite-panel), \n::slotted(calcite-flow)*/.sc-calcite-popover-s>calcite-panel,.sc-calcite-popover-s>calcite-flow{block-size:100%}";
26179
+ const popoverCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-popover:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-popover{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-popover{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-popover:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-popover:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{display:block;position:absolute;z-index:900}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-popover{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-popover-h .calcite-floating-ui-anim--active.sc-calcite-popover{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-popover-h{visibility:hidden !important;pointer-events:none}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-popover,.arrow.sc-calcite-popover::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-placement^=top]) .arrow*/[data-placement^=top].sc-calcite-popover-h .arrow.sc-calcite-popover{inset-block-end:-4px}/*!@:host([data-placement^=bottom]) .arrow*/[data-placement^=bottom].sc-calcite-popover-h .arrow.sc-calcite-popover{inset-block-start:-4px}/*!@:host([data-placement^=left]) .arrow*/[data-placement^=left].sc-calcite-popover-h .arrow.sc-calcite-popover{direction:ltr;inset-inline-end:-4px}/*!@:host([data-placement^=right]) .arrow*/[data-placement^=right].sc-calcite-popover-h .arrow.sc-calcite-popover{direction:ltr;inset-inline-start:-4px}/*!@:host*/.sc-calcite-popover-h{pointer-events:none}/*!@:host([open])*/[open].sc-calcite-popover-h{pointer-events:initial}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-popover{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{outline:1px solid var(--calcite-ui-border-3)}/*!@.header*/.header.sc-calcite-popover{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}/*!@.heading*/.heading.sc-calcite-popover{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}/*!@.container*/.container.sc-calcite-popover{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}/*!@.container.has-header*/.container.has-header.sc-calcite-popover{flex-direction:column}/*!@.content*/.content.sc-calcite-popover{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}/*!@.close-button-container*/.close-button-container.sc-calcite-popover{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}/*!@::slotted(calcite-panel), \n::slotted(calcite-flow)*/.sc-calcite-popover-s>calcite-panel,.sc-calcite-popover-s>calcite-flow{block-size:100%}";
26087
26180
 
26088
26181
  const manager$1 = new PopoverManager$1();
26089
26182
  /**
@@ -26102,7 +26195,7 @@ class Popover {
26102
26195
  //
26103
26196
  // --------------------------------------------------------------------------
26104
26197
  /**
26105
- * When true and clicking outside of the component, automatically closes open `calcite-popover`s.
26198
+ * When `true`, clicking outside of the component automatically closes open `calcite-popover`s.
26106
26199
  */
26107
26200
  this.autoClose = false;
26108
26201
  /**
@@ -26176,7 +26269,6 @@ class Popover {
26176
26269
  // Private Methods
26177
26270
  //
26178
26271
  // --------------------------------------------------------------------------
26179
- this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
26180
26272
  this.setTransitionEl = (el) => {
26181
26273
  this.transitionEl = el;
26182
26274
  connectOpenCloseComponent(this);
@@ -26239,7 +26331,7 @@ class Popover {
26239
26331
  };
26240
26332
  this.storeArrowEl = (el) => {
26241
26333
  this.arrowEl = el;
26242
- this.debouncedReposition();
26334
+ this.reposition(true);
26243
26335
  };
26244
26336
  }
26245
26337
  handleDismissible(value) {
@@ -26250,27 +26342,32 @@ class Popover {
26250
26342
  }
26251
26343
  flipPlacementsHandler() {
26252
26344
  this.setFilteredPlacements();
26253
- this.debouncedReposition();
26345
+ this.reposition(true);
26254
26346
  }
26255
26347
  offsetDistanceOffsetHandler() {
26256
- this.debouncedReposition();
26348
+ this.reposition(true);
26257
26349
  }
26258
26350
  offsetSkiddingHandler() {
26259
- this.debouncedReposition();
26351
+ this.reposition(true);
26260
26352
  }
26261
- openHandler() {
26262
- this.debouncedReposition();
26353
+ openHandler(value) {
26354
+ if (value) {
26355
+ this.reposition(true);
26356
+ }
26357
+ else {
26358
+ updateAfterClose(this.el);
26359
+ }
26263
26360
  this.setExpandedAttr();
26264
26361
  }
26265
26362
  overlayPositioningHandler() {
26266
- this.debouncedReposition();
26363
+ this.reposition(true);
26267
26364
  }
26268
26365
  placementHandler() {
26269
- this.debouncedReposition();
26366
+ this.reposition(true);
26270
26367
  }
26271
26368
  referenceElementHandler() {
26272
26369
  this.setUpReferenceElement();
26273
- this.debouncedReposition();
26370
+ this.reposition(true);
26274
26371
  }
26275
26372
  // --------------------------------------------------------------------------
26276
26373
  //
@@ -26293,7 +26390,7 @@ class Popover {
26293
26390
  if (this.referenceElement && !this.effectiveReferenceElement) {
26294
26391
  this.setUpReferenceElement();
26295
26392
  }
26296
- this.debouncedReposition();
26393
+ this.reposition();
26297
26394
  this.hasLoaded = true;
26298
26395
  }
26299
26396
  disconnectedCallback() {
@@ -26306,10 +26403,14 @@ class Popover {
26306
26403
  // Public Methods
26307
26404
  //
26308
26405
  // --------------------------------------------------------------------------
26309
- /** Updates the position of the component. */
26310
- async reposition() {
26406
+ /**
26407
+ * Updates the position of the component.
26408
+ *
26409
+ * @param delayed
26410
+ */
26411
+ async reposition(delayed = false) {
26311
26412
  const { el, effectiveReferenceElement, placement, overlayPositioning, disableFlip, filteredFlipPlacements, offsetDistance, offsetSkidding, arrowEl } = this;
26312
- return positionFloatingUI({
26413
+ return reposition(this, {
26313
26414
  floatingEl: el,
26314
26415
  referenceEl: effectiveReferenceElement,
26315
26416
  overlayPositioning,
@@ -26318,9 +26419,10 @@ class Popover {
26318
26419
  flipPlacements: filteredFlipPlacements,
26319
26420
  offsetDistance,
26320
26421
  offsetSkidding,
26422
+ includeArrow: !this.disablePointer,
26321
26423
  arrowEl,
26322
26424
  type: "popover"
26323
- });
26425
+ }, delayed);
26324
26426
  }
26325
26427
  /**
26326
26428
  * Sets focus on the component.
@@ -34859,7 +34961,7 @@ class Tip {
34859
34961
  */
34860
34962
  this.nonDismissible = false;
34861
34963
  /**
34862
- * When true and if it has a parent `calcite-tip-manager`, the component is selected.
34964
+ * When `true`, the component is selected if it has a parent `calcite-tip-manager`.
34863
34965
  *
34864
34966
  * Only one tip can be selected within the `calcite-tip-manager` parent.
34865
34967
  */
@@ -35311,7 +35413,7 @@ class TooltipManager$1 {
35311
35413
  }
35312
35414
  }
35313
35415
 
35314
- const tooltipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tooltip: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-tooltip{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tooltip{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tooltip{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tooltip{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tooltip{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tooltip:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tooltip-h{display:none}/*!@:host*/.sc-calcite-tooltip-h{display:block;position:absolute;z-index:999;transform:scale(0)}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-tooltip-h .calcite-floating-ui-anim--active.sc-calcite-tooltip{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tooltip-h{visibility:hidden !important;pointer-events:none}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-tooltip,.arrow.sc-calcite-tooltip::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-tooltip::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-placement^=top]) .arrow*/[data-placement^=top].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-block-end:-4px}/*!@:host([data-placement^=bottom]) .arrow*/[data-placement^=bottom].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-block-start:-4px}/*!@:host([data-placement^=left]) .arrow*/[data-placement^=left].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{direction:ltr;inset-inline-end:-4px}/*!@:host([data-placement^=right]) .arrow*/[data-placement^=right].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{direction:ltr;inset-inline-start:-4px}/*!@.container*/.container.sc-calcite-tooltip{position:relative;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-tooltip::before{outline:1px solid var(--calcite-ui-border-3)}";
35416
+ const tooltipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tooltip: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-tooltip{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tooltip{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tooltip{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tooltip{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tooltip{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tooltip:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tooltip-h{display:none}/*!@:host*/.sc-calcite-tooltip-h{display:block;position:absolute;z-index:999}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-tooltip-h .calcite-floating-ui-anim--active.sc-calcite-tooltip{opacity:1;visibility:visible;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tooltip-h{visibility:hidden !important;pointer-events:none}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-tooltip,.arrow.sc-calcite-tooltip::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-tooltip::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-placement^=top]) .arrow*/[data-placement^=top].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-block-end:-4px}/*!@:host([data-placement^=bottom]) .arrow*/[data-placement^=bottom].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{inset-block-start:-4px}/*!@:host([data-placement^=left]) .arrow*/[data-placement^=left].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{direction:ltr;inset-inline-end:-4px}/*!@:host([data-placement^=right]) .arrow*/[data-placement^=right].sc-calcite-tooltip-h .arrow.sc-calcite-tooltip{direction:ltr;inset-inline-start:-4px}/*!@.container*/.container.sc-calcite-tooltip{position:relative;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-tooltip::before{outline:1px solid var(--calcite-ui-border-3)}";
35315
35417
 
35316
35418
  const manager = new TooltipManager$1();
35317
35419
  /**
@@ -35363,7 +35465,6 @@ class Tooltip {
35363
35465
  // Private Methods
35364
35466
  //
35365
35467
  // --------------------------------------------------------------------------
35366
- this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
35367
35468
  this.setUpReferenceElement = (warn = true) => {
35368
35469
  this.removeReferences();
35369
35470
  this.effectiveReferenceElement = this.getReferenceElement();
@@ -35402,19 +35503,24 @@ class Tooltip {
35402
35503
  };
35403
35504
  }
35404
35505
  offsetDistanceOffsetHandler() {
35405
- this.debouncedReposition();
35506
+ this.reposition(true);
35406
35507
  }
35407
35508
  offsetSkiddingHandler() {
35408
- this.debouncedReposition();
35509
+ this.reposition(true);
35409
35510
  }
35410
- openHandler() {
35411
- this.debouncedReposition();
35511
+ openHandler(value) {
35512
+ if (value) {
35513
+ this.reposition(true);
35514
+ }
35515
+ else {
35516
+ updateAfterClose(this.el);
35517
+ }
35412
35518
  }
35413
35519
  overlayPositioningHandler() {
35414
- this.debouncedReposition();
35520
+ this.reposition(true);
35415
35521
  }
35416
35522
  placementHandler() {
35417
- this.debouncedReposition();
35523
+ this.reposition(true);
35418
35524
  }
35419
35525
  referenceElementHandler() {
35420
35526
  this.setUpReferenceElement();
@@ -35431,7 +35537,7 @@ class Tooltip {
35431
35537
  if (this.referenceElement && !this.effectiveReferenceElement) {
35432
35538
  this.setUpReferenceElement();
35433
35539
  }
35434
- this.debouncedReposition();
35540
+ this.reposition(true);
35435
35541
  this.hasLoaded = true;
35436
35542
  }
35437
35543
  disconnectedCallback() {
@@ -35443,19 +35549,24 @@ class Tooltip {
35443
35549
  // Public Methods
35444
35550
  //
35445
35551
  // --------------------------------------------------------------------------
35446
- /** Updates the position of the component. */
35447
- async reposition() {
35552
+ /**
35553
+ * Updates the position of the component.
35554
+ *
35555
+ * @param delayed
35556
+ */
35557
+ async reposition(delayed = false) {
35448
35558
  const { el, effectiveReferenceElement, placement, overlayPositioning, offsetDistance, offsetSkidding, arrowEl } = this;
35449
- return positionFloatingUI({
35559
+ return reposition(this, {
35450
35560
  floatingEl: el,
35451
35561
  referenceEl: effectiveReferenceElement,
35452
35562
  overlayPositioning,
35453
35563
  placement,
35454
35564
  offsetDistance,
35455
35565
  offsetSkidding,
35566
+ includeArrow: true,
35456
35567
  arrowEl,
35457
35568
  type: "tooltip"
35458
- });
35569
+ }, delayed);
35459
35570
  }
35460
35571
  getReferenceElement() {
35461
35572
  const { referenceElement, el } = this;
@@ -36443,7 +36554,7 @@ const SLOTS = {
36443
36554
  actionsStart: "actions-start"
36444
36555
  };
36445
36556
 
36446
- const valueListItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-value-list-item: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-value-list-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-value-list-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-value-list-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-value-list-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-value-list-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-value-list-item:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-value-list-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-value-list-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-value-list-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-value-list-item-h{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}/*!@:host **/.sc-calcite-value-list-item-h *.sc-calcite-value-list-item{box-sizing:border-box}/*!@calcite-pick-list-item*/calcite-pick-list-item.sc-calcite-value-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([active]), \n:host([selected])*/[active].sc-calcite-value-list-item-h,[selected].sc-calcite-value-list-item-h{--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.handle*/.handle.sc-calcite-value-list-item{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-text-1);color:var(--calcite-ui-border-1);outline-color:transparent}/*!@.handle:hover*/.handle.sc-calcite-value-list-item:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.handle:focus*/.handle.sc-calcite-value-list-item:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.handle--activated*/.handle--activated.sc-calcite-value-list-item{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@.handle calcite-icon*/.handle.sc-calcite-value-list-item calcite-icon.sc-calcite-value-list-item{color:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-value-list-item-h[disabled] .sc-calcite-value-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-value-list-item-h [calcite-hydrated][disabled].sc-calcite-value-list-item{opacity:1}";
36557
+ const valueListItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-value-list-item: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-value-list-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-value-list-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-value-list-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-value-list-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-value-list-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-value-list-item:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-value-list-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-value-list-item-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-value-list-item-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-value-list-item-h{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}/*!@:host **/.sc-calcite-value-list-item-h *.sc-calcite-value-list-item{box-sizing:border-box}/*!@calcite-pick-list-item*/calcite-pick-list-item.sc-calcite-value-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@:host([active]), \n:host([selected])*/[active].sc-calcite-value-list-item-h,[selected].sc-calcite-value-list-item-h{--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.handle*/.handle.sc-calcite-value-list-item{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-border-input);outline-color:transparent}/*!@.handle:hover*/.handle.sc-calcite-value-list-item:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.handle:focus*/.handle.sc-calcite-value-list-item:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.handle--activated*/.handle--activated.sc-calcite-value-list-item{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@.handle calcite-icon*/.handle.sc-calcite-value-list-item calcite-icon.sc-calcite-value-list-item{color:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-value-list-item-h[disabled] .sc-calcite-value-list-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-value-list-item-h [calcite-hydrated][disabled].sc-calcite-value-list-item{opacity:1}";
36447
36558
 
36448
36559
  /**
36449
36560
  * @slot actions-end - A slot for adding actions or content to the end side of the component.