@esri/calcite-components 1.0.0-next.606 → 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 (665) 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-8faadeb1.js → p-0194be0b.js} +1 -1
  4. package/dist/calcite/{p-dbb8e6a4.js → p-04cd97f0.js} +2 -2
  5. package/dist/calcite/{p-404c6db8.entry.js → p-05d91128.entry.js} +2 -2
  6. package/dist/calcite/{p-ac96d103.entry.js → p-0a89a06d.entry.js} +2 -2
  7. package/dist/calcite/{p-791e76fc.entry.js → p-0c941429.entry.js} +2 -2
  8. package/dist/calcite/{p-967401e4.entry.js → p-10ed6464.entry.js} +2 -2
  9. package/dist/calcite/{p-1e3fdded.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-0020d7d5.entry.js → p-215f9b3e.entry.js} +2 -2
  13. package/dist/calcite/{p-ccd21f8c.js → p-228742f9.js} +2 -2
  14. package/dist/calcite/{p-06c6854a.entry.js → p-233e9c82.entry.js} +2 -2
  15. package/dist/calcite/{p-1e8d2fd7.entry.js → p-2577a91d.entry.js} +2 -2
  16. package/dist/calcite/{p-39ebfe9e.entry.js → p-27480e42.entry.js} +2 -2
  17. package/dist/calcite/{p-441037a9.entry.js → p-2824d942.entry.js} +2 -2
  18. package/dist/calcite/{p-96f53f90.entry.js → p-29e7d607.entry.js} +2 -2
  19. package/dist/calcite/{p-1eb05bb2.entry.js → p-2a2d9854.entry.js} +2 -2
  20. package/dist/calcite/{p-e5b5b117.entry.js → p-2ac4da68.entry.js} +2 -2
  21. package/dist/calcite/{p-33732b8f.entry.js → p-2b623d7a.entry.js} +2 -2
  22. package/dist/calcite/{p-54c6ec8e.js → p-2e91306b.js} +1 -1
  23. package/dist/calcite/{p-d973937d.entry.js → p-3191298d.entry.js} +2 -2
  24. package/dist/calcite/{p-98a6c8a4.js → p-331f03ef.js} +2 -2
  25. package/dist/calcite/{p-da82a06e.entry.js → p-35a4696c.entry.js} +2 -2
  26. package/dist/calcite/{p-1b06322f.entry.js → p-35f864c5.entry.js} +2 -2
  27. package/dist/calcite/{p-c8ffd3f8.entry.js → p-36207d38.entry.js} +2 -2
  28. package/dist/calcite/{p-36522d79.entry.js → p-389235c5.entry.js} +2 -2
  29. package/dist/calcite/p-3ad75dbc.entry.js +6 -0
  30. package/dist/calcite/{p-1de1447f.entry.js → p-3c0e6bf9.entry.js} +2 -2
  31. package/dist/calcite/{p-4d4bc233.entry.js → p-3f71cb54.entry.js} +2 -2
  32. package/dist/calcite/{p-8cf35eb8.entry.js → p-4053f375.entry.js} +2 -2
  33. package/dist/calcite/{p-c416a37b.entry.js → p-4054de19.entry.js} +2 -2
  34. package/dist/calcite/{p-cafb01e6.entry.js → p-4b6ab904.entry.js} +2 -2
  35. package/dist/calcite/{p-9df2c651.js → p-4bba5de5.js} +2 -2
  36. package/dist/calcite/{p-d5b3c1bb.entry.js → p-4d118fe7.entry.js} +2 -2
  37. package/dist/calcite/{p-9c59c88e.js → p-534d76ec.js} +1 -1
  38. package/dist/calcite/{p-9f88a197.entry.js → p-56e13c26.entry.js} +2 -2
  39. package/dist/calcite/{p-bf16098b.entry.js → p-57cd8bf6.entry.js} +2 -2
  40. package/dist/calcite/{p-74cc2ffc.js → p-5a7d6abb.js} +1 -1
  41. package/dist/calcite/{p-58a34298.js → p-68be1a57.js} +1 -1
  42. package/dist/calcite/{p-2eeff261.js → p-724ffb2b.js} +1 -1
  43. package/dist/calcite/{p-59bddc1f.js → p-792a67ad.js} +1 -1
  44. package/dist/calcite/{p-af04fadb.entry.js → p-7f645e69.entry.js} +2 -2
  45. package/dist/calcite/{p-37141771.js → p-8027c4fc.js} +2 -2
  46. package/dist/calcite/{p-718e40b5.entry.js → p-860f95db.entry.js} +2 -2
  47. package/dist/calcite/{p-7be2ad3b.entry.js → p-8bbc5021.entry.js} +2 -2
  48. package/dist/calcite/{p-c8f9eae5.entry.js → p-8ce99d30.entry.js} +2 -2
  49. package/dist/calcite/p-8d64e950.js +6 -0
  50. package/dist/calcite/{p-f8706ae9.entry.js → p-963f91e7.entry.js} +2 -2
  51. package/dist/calcite/{p-72c5d8e9.entry.js → p-976bd33d.entry.js} +2 -2
  52. package/dist/calcite/{p-452356bd.js → p-9cc66598.js} +2 -2
  53. package/dist/calcite/{p-b5284c7c.entry.js → p-9ef24687.entry.js} +2 -2
  54. package/dist/calcite/{p-a88b4c26.js → p-a19ba1b8.js} +1 -1
  55. package/dist/calcite/{p-32ef135d.entry.js → p-a214e596.entry.js} +2 -2
  56. package/dist/calcite/p-a4f2a140.js +6 -0
  57. package/dist/calcite/{p-edbb9009.js → p-a9c93bf7.js} +1 -1
  58. package/dist/calcite/{p-1e272a5d.js → p-ab2f0124.js} +1 -1
  59. package/dist/calcite/{p-72b59949.entry.js → p-ae537940.entry.js} +2 -2
  60. package/dist/calcite/{p-eb47be9d.js → p-aec0e90c.js} +1 -1
  61. package/dist/calcite/{p-a6373ef6.js → p-b068d057.js} +2 -2
  62. package/dist/calcite/{p-c7447ff5.entry.js → p-b2c6b06b.entry.js} +2 -2
  63. package/dist/calcite/{p-d2f79079.entry.js → p-b96cd9fe.entry.js} +2 -2
  64. package/dist/calcite/p-ba8d8dbd.entry.js +6 -0
  65. package/dist/calcite/{p-ba03e197.entry.js → p-bd7bf633.entry.js} +2 -2
  66. package/dist/calcite/{p-c564ee3d.js → p-befa72be.js} +1 -1
  67. package/dist/calcite/{p-a322bb86.entry.js → p-c1f41172.entry.js} +2 -2
  68. package/dist/calcite/{p-c5b28b2a.entry.js → p-c3f0ca58.entry.js} +2 -2
  69. package/dist/calcite/{p-8599b693.entry.js → p-c7a40044.entry.js} +2 -2
  70. package/dist/calcite/{p-20ab02b7.entry.js → p-c943664b.entry.js} +2 -2
  71. package/dist/calcite/{p-4b1cc441.js → p-c9c594e4.js} +2 -2
  72. package/dist/calcite/{p-5ef97e90.entry.js → p-cfd04b12.entry.js} +2 -2
  73. package/dist/calcite/{p-8d075e37.js → p-d5d91d87.js} +1 -1
  74. package/dist/calcite/p-db5ed768.entry.js +6 -0
  75. package/dist/calcite/{p-5a979e32.entry.js → p-dbd28f14.entry.js} +2 -2
  76. package/dist/calcite/{p-40e1d497.js → p-de41e5a9.js} +1 -1
  77. package/dist/calcite/{p-538fd2ae.entry.js → p-de5ad6d3.entry.js} +2 -2
  78. package/dist/calcite/p-dfda39cf.entry.js +6 -0
  79. package/dist/calcite/{p-1dd5f101.entry.js → p-dfe47ce7.entry.js} +2 -2
  80. package/dist/calcite/{p-52d3de61.entry.js → p-e0cb72b7.entry.js} +2 -2
  81. package/dist/calcite/{p-187c562d.entry.js → p-e423377f.entry.js} +2 -2
  82. package/dist/calcite/{p-a3f7f3c6.entry.js → p-e85ec259.entry.js} +2 -2
  83. package/dist/calcite/{p-f532a20d.entry.js → p-eb088883.entry.js} +2 -2
  84. package/dist/calcite/p-ecd9436e.js +6 -0
  85. package/dist/calcite/{p-aed4b6fc.entry.js → p-ef74f7df.entry.js} +2 -2
  86. package/dist/calcite/{p-1ed53169.js → p-f0513696.js} +1 -1
  87. package/dist/calcite/{p-7b0c6ea0.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-f69de408.js → p-ff2616f4.js} +1 -1
  91. package/dist/calcite/{p-d90a2e81.entry.js → p-ffb58fa7.entry.js} +2 -2
  92. package/dist/cjs/{ExpandToggle-4c94697a.js → ExpandToggle-e018f211.js} +5 -5
  93. package/dist/cjs/{Heading-3af0e212.js → Heading-c23ab3be.js} +2 -2
  94. package/dist/cjs/{app-globals-3186acc4.js → app-globals-882315c5.js} +2 -2
  95. package/dist/cjs/{array-4f023a91.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 +10 -10
  105. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  106. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  107. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  108. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  109. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  110. package/dist/cjs/calcite-combobox_3.cjs.entry.js +33 -27
  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 +5 -5
  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 +37 -26
  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 +21 -15
  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 +36 -27
  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 +8 -8
  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 +12 -12
  156. package/dist/cjs/calcite.cjs.js +4 -4
  157. package/dist/cjs/{conditionalSlot-cb35bd49.js → conditionalSlot-4f4eea6a.js} +3 -3
  158. package/dist/cjs/{debounce-7c328f60.js → debounce-62882659.js} +1 -1
  159. package/dist/cjs/{dom-c8d2699b.js → dom-4d157abb.js} +3 -3
  160. package/dist/cjs/{filter-9a46e30b.js → filter-da2797e5.js} +2 -2
  161. package/dist/cjs/{floating-ui-1eb7dfe6.js → floating-ui-e4e82078.js} +175 -23
  162. package/dist/cjs/{form-131e64b8.js → form-2f418822.js} +3 -3
  163. package/dist/cjs/{guid-ad9b119b.js → guid-1d60d25f.js} +1 -1
  164. package/dist/cjs/{index-b1ba5282.js → index-9624081e.js} +1 -1
  165. package/dist/cjs/index.cjs.js +1 -1
  166. package/dist/cjs/{interactive-baf36661.js → interactive-f3855fe3.js} +1 -1
  167. package/dist/cjs/{interfaces-084c0793.js → interfaces-78ca36e7.js} +1 -1
  168. package/dist/cjs/{key-59a119b9.js → key-dbb23e1d.js} +1 -1
  169. package/dist/cjs/{label-415bc940.js → label-cf0a7e54.js} +2 -2
  170. package/dist/cjs/loader.cjs.js +4 -4
  171. package/dist/cjs/{locale-02d3d5ef.js → locale-9261eb8c.js} +4 -4
  172. package/dist/cjs/{math-45a2d4c0.js → math-70844c29.js} +1 -1
  173. package/dist/cjs/nonChromiumPlatformUtils-e6d5cb22.js +506 -0
  174. package/dist/cjs/{observers-bf725ee8.js → observers-53e1a6d6.js} +1 -1
  175. package/dist/cjs/{openCloseComponent-f4966a6b.js → openCloseComponent-af87dcf3.js} +1 -1
  176. package/dist/cjs/{resources-55a2a593.js → resources-020cc6d5.js} +1 -1
  177. package/dist/cjs/{resources-79bc4e72.js → resources-2f6b4dae.js} +1 -1
  178. package/dist/cjs/{resources-ef23c4c9.js → resources-375914cd.js} +1 -1
  179. package/dist/cjs/{resources-12c592bb.js → resources-83f09a7b.js} +5 -5
  180. package/dist/cjs/{resources-f51e581d.js → resources-8477fc7e.js} +1 -1
  181. package/dist/cjs/{resources-0da64a64.js → resources-d07d3444.js} +3 -3
  182. package/dist/cjs/{sortable.esm-f5415dc8.js → sortable.esm-7dbec412.js} +1 -1
  183. package/dist/cjs/{utils-332df7b7.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 +1 -1
  204. package/dist/collection/components/block/resources.js +1 -1
  205. package/dist/collection/components/block-section/block-section.js +1 -1
  206. package/dist/collection/components/block-section/resources.js +1 -1
  207. package/dist/collection/components/button/button.js +1 -1
  208. package/dist/collection/components/button/resources.js +1 -1
  209. package/dist/collection/components/card/card.js +1 -1
  210. package/dist/collection/components/card/resources.js +1 -1
  211. package/dist/collection/components/checkbox/checkbox.js +1 -1
  212. package/dist/collection/components/chip/chip.js +1 -1
  213. package/dist/collection/components/chip/resources.js +1 -1
  214. package/dist/collection/components/color-picker/color-picker.js +1 -1
  215. package/dist/collection/components/color-picker/resources.js +1 -1
  216. package/dist/collection/components/color-picker/utils.js +1 -1
  217. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  218. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  219. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  220. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  221. package/dist/collection/components/combobox/combobox.css +0 -1
  222. package/dist/collection/components/combobox/combobox.js +32 -17
  223. package/dist/collection/components/combobox/resources.js +1 -1
  224. package/dist/collection/components/combobox/utils.js +1 -1
  225. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  226. package/dist/collection/components/combobox-item/resources.js +1 -1
  227. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  228. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  229. package/dist/collection/components/date-picker/date-picker.js +1 -1
  230. package/dist/collection/components/date-picker/resources.js +1 -1
  231. package/dist/collection/components/date-picker/utils.js +1 -1
  232. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  233. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  234. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  235. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  236. package/dist/collection/components/dropdown/dropdown.css +0 -1
  237. package/dist/collection/components/dropdown/dropdown.js +40 -21
  238. package/dist/collection/components/dropdown/resources.js +1 -1
  239. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  240. package/dist/collection/components/dropdown-group/resources.js +1 -1
  241. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  242. package/dist/collection/components/dropdown-item/resources.js +1 -1
  243. package/dist/collection/components/fab/fab.js +1 -1
  244. package/dist/collection/components/fab/resources.js +1 -1
  245. package/dist/collection/components/filter/filter.js +1 -1
  246. package/dist/collection/components/filter/resources.js +1 -1
  247. package/dist/collection/components/flow/flow.js +1 -1
  248. package/dist/collection/components/flow/resources.js +1 -1
  249. package/dist/collection/components/flow-item/flow-item.js +1 -1
  250. package/dist/collection/components/flow-item/resources.js +1 -1
  251. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  252. package/dist/collection/components/functional/Heading.js +1 -1
  253. package/dist/collection/components/graph/graph.js +1 -1
  254. package/dist/collection/components/graph/util.js +1 -1
  255. package/dist/collection/components/handle/handle.js +1 -1
  256. package/dist/collection/components/handle/resources.js +1 -1
  257. package/dist/collection/components/icon/icon.js +1 -1
  258. package/dist/collection/components/icon/resources.js +1 -1
  259. package/dist/collection/components/icon/utils.js +1 -1
  260. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  261. package/dist/collection/components/inline-editable/resources.js +1 -1
  262. package/dist/collection/components/input/input.js +1 -1
  263. package/dist/collection/components/input/resources.js +1 -1
  264. package/dist/collection/components/input-date-picker/input-date-picker.css +0 -1
  265. package/dist/collection/components/input-date-picker/input-date-picker.js +35 -16
  266. package/dist/collection/components/input-date-picker/resources.js +1 -1
  267. package/dist/collection/components/input-message/input-message.js +1 -1
  268. package/dist/collection/components/input-message/interfaces.js +1 -1
  269. package/dist/collection/components/input-number/input-number.js +1 -1
  270. package/dist/collection/components/input-number/resources.js +1 -1
  271. package/dist/collection/components/input-text/input-text.js +1 -1
  272. package/dist/collection/components/input-text/resources.js +1 -1
  273. package/dist/collection/components/input-time-picker/input-time-picker.js +23 -8
  274. package/dist/collection/components/label/label.js +1 -1
  275. package/dist/collection/components/label/resources.js +1 -1
  276. package/dist/collection/components/link/link.js +1 -1
  277. package/dist/collection/components/list/list.js +1 -1
  278. package/dist/collection/components/list/resources.js +1 -1
  279. package/dist/collection/components/list-item/list-item.js +1 -1
  280. package/dist/collection/components/list-item/resources.js +1 -1
  281. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  282. package/dist/collection/components/list-item-group/resources.js +1 -1
  283. package/dist/collection/components/loader/loader.js +1 -1
  284. package/dist/collection/components/modal/modal.js +1 -1
  285. package/dist/collection/components/modal/resources.js +1 -1
  286. package/dist/collection/components/notice/notice.js +1 -1
  287. package/dist/collection/components/notice/resources.js +1 -1
  288. package/dist/collection/components/option/option.js +1 -1
  289. package/dist/collection/components/option-group/option-group.js +1 -1
  290. package/dist/collection/components/pagination/pagination.js +1 -1
  291. package/dist/collection/components/pagination/resources.js +1 -1
  292. package/dist/collection/components/panel/panel.js +1 -1
  293. package/dist/collection/components/panel/resources.js +1 -1
  294. package/dist/collection/components/pick-list/pick-list.js +1 -1
  295. package/dist/collection/components/pick-list/resources.js +1 -1
  296. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  297. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  298. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  299. package/dist/collection/components/pick-list-group/resources.js +1 -1
  300. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  301. package/dist/collection/components/pick-list-item/resources.js +1 -1
  302. package/dist/collection/components/popover/PopoverManager.js +1 -1
  303. package/dist/collection/components/popover/popover.css +0 -1
  304. package/dist/collection/components/popover/popover.js +38 -21
  305. package/dist/collection/components/popover/resources.js +1 -1
  306. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  307. package/dist/collection/components/progress/progress.js +1 -1
  308. package/dist/collection/components/radio-button/radio-button.js +1 -1
  309. package/dist/collection/components/radio-button/resources.js +1 -1
  310. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  311. package/dist/collection/components/radio-group/radio-group.js +1 -1
  312. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  313. package/dist/collection/components/radio-group-item/resources.js +1 -1
  314. package/dist/collection/components/rating/rating.js +1 -1
  315. package/dist/collection/components/rating/resources.js +1 -1
  316. package/dist/collection/components/scrim/resources.js +1 -1
  317. package/dist/collection/components/scrim/scrim.js +1 -1
  318. package/dist/collection/components/select/resources.js +1 -1
  319. package/dist/collection/components/select/select.js +1 -1
  320. package/dist/collection/components/shell/resources.js +1 -1
  321. package/dist/collection/components/shell/shell.js +1 -1
  322. package/dist/collection/components/shell-center-row/resources.js +1 -1
  323. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  324. package/dist/collection/components/shell-panel/resources.js +1 -1
  325. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  326. package/dist/collection/components/slider/resources.js +1 -1
  327. package/dist/collection/components/slider/slider.js +1 -1
  328. package/dist/collection/components/sortable-list/resources.js +1 -1
  329. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  330. package/dist/collection/components/split-button/resources.js +1 -1
  331. package/dist/collection/components/split-button/split-button.js +1 -1
  332. package/dist/collection/components/stepper/stepper.js +1 -1
  333. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  334. package/dist/collection/components/switch/switch.js +1 -1
  335. package/dist/collection/components/tab/tab.js +1 -1
  336. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  337. package/dist/collection/components/tab-title/tab-title.js +1 -1
  338. package/dist/collection/components/tabs/resources.js +1 -1
  339. package/dist/collection/components/tabs/tabs.js +1 -1
  340. package/dist/collection/components/tile/resources.js +1 -1
  341. package/dist/collection/components/tile/tile.js +1 -1
  342. package/dist/collection/components/tile-select/resources.js +1 -1
  343. package/dist/collection/components/tile-select/tile-select.js +1 -1
  344. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  345. package/dist/collection/components/time-picker/resources.js +1 -1
  346. package/dist/collection/components/time-picker/time-picker.js +1 -1
  347. package/dist/collection/components/tip/resources.js +1 -1
  348. package/dist/collection/components/tip/tip.js +1 -1
  349. package/dist/collection/components/tip-group/tip-group.js +1 -1
  350. package/dist/collection/components/tip-manager/resources.js +1 -1
  351. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  352. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  353. package/dist/collection/components/tooltip/resources.js +1 -1
  354. package/dist/collection/components/tooltip/tooltip.css +0 -1
  355. package/dist/collection/components/tooltip/tooltip.js +35 -18
  356. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  357. package/dist/collection/components/tree/interfaces.js +1 -1
  358. package/dist/collection/components/tree/tree.js +1 -1
  359. package/dist/collection/components/tree/utils.js +1 -1
  360. package/dist/collection/components/tree-item/resources.js +1 -1
  361. package/dist/collection/components/tree-item/tree-item.js +1 -1
  362. package/dist/collection/components/value-list/resources.js +1 -1
  363. package/dist/collection/components/value-list/utils.js +1 -1
  364. package/dist/collection/components/value-list/value-list.js +1 -1
  365. package/dist/collection/components/value-list-item/resources.js +1 -1
  366. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  367. package/dist/collection/utils/array.js +1 -1
  368. package/dist/collection/utils/conditionalSlot.js +1 -1
  369. package/dist/collection/utils/config.js +22 -0
  370. package/dist/collection/utils/date.js +1 -1
  371. package/dist/collection/utils/dom.js +1 -1
  372. package/dist/collection/utils/filter.js +1 -1
  373. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +496 -0
  374. package/dist/collection/utils/floating-ui.js +123 -12
  375. package/dist/collection/utils/form.js +1 -1
  376. package/dist/collection/utils/globalAttributes.js +1 -1
  377. package/dist/collection/utils/globalScript.js +1 -1
  378. package/dist/collection/utils/guid.js +1 -1
  379. package/dist/collection/utils/interactive.js +1 -1
  380. package/dist/collection/utils/key.js +1 -1
  381. package/dist/collection/utils/label.js +1 -1
  382. package/dist/collection/utils/locale.js +1 -1
  383. package/dist/collection/utils/math.js +1 -1
  384. package/dist/collection/utils/number.js +1 -1
  385. package/dist/collection/utils/observers.js +1 -1
  386. package/dist/collection/utils/openCloseComponent.js +1 -1
  387. package/dist/collection/utils/resources.js +1 -1
  388. package/dist/collection/utils/t9n.js +1 -1
  389. package/dist/collection/utils/theme.js +1 -1
  390. package/dist/collection/utils/time.js +1 -1
  391. package/dist/components/ExpandToggle.js +1 -1
  392. package/dist/components/Heading.js +1 -1
  393. package/dist/components/action-group.js +1 -1
  394. package/dist/components/action-menu.js +1 -1
  395. package/dist/components/action.js +1 -1
  396. package/dist/components/array.js +1 -1
  397. package/dist/components/button.js +1 -1
  398. package/dist/components/calcite-accordion-item.js +1 -1
  399. package/dist/components/calcite-accordion.js +1 -1
  400. package/dist/components/calcite-action-bar.js +3 -3
  401. package/dist/components/calcite-action-group.js +1 -1
  402. package/dist/components/calcite-action-menu.js +1 -1
  403. package/dist/components/calcite-action-pad.js +1 -1
  404. package/dist/components/calcite-action.js +1 -1
  405. package/dist/components/calcite-alert.js +1 -1
  406. package/dist/components/calcite-avatar.js +1 -1
  407. package/dist/components/calcite-block-section.js +1 -1
  408. package/dist/components/calcite-block.js +1 -1
  409. package/dist/components/calcite-button.js +1 -1
  410. package/dist/components/calcite-card.js +1 -1
  411. package/dist/components/calcite-checkbox.js +1 -1
  412. package/dist/components/calcite-chip.js +1 -1
  413. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  414. package/dist/components/calcite-color-picker-swatch.js +1 -1
  415. package/dist/components/calcite-color-picker.js +1 -1
  416. package/dist/components/calcite-combobox-item-group.js +1 -1
  417. package/dist/components/calcite-combobox-item.js +1 -1
  418. package/dist/components/calcite-combobox.js +22 -16
  419. package/dist/components/calcite-date-picker-day.js +1 -1
  420. package/dist/components/calcite-date-picker-month-header.js +1 -1
  421. package/dist/components/calcite-date-picker-month.js +1 -1
  422. package/dist/components/calcite-date-picker.js +1 -1
  423. package/dist/components/calcite-dropdown-group.js +1 -1
  424. package/dist/components/calcite-dropdown-item.js +1 -1
  425. package/dist/components/calcite-dropdown.js +1 -1
  426. package/dist/components/calcite-fab.js +1 -1
  427. package/dist/components/calcite-filter.js +1 -1
  428. package/dist/components/calcite-flow-item.js +1 -1
  429. package/dist/components/calcite-flow.js +1 -1
  430. package/dist/components/calcite-graph.js +1 -1
  431. package/dist/components/calcite-handle.js +1 -1
  432. package/dist/components/calcite-icon.js +1 -1
  433. package/dist/components/calcite-inline-editable.js +1 -1
  434. package/dist/components/calcite-input-date-picker.js +24 -14
  435. package/dist/components/calcite-input-message.js +1 -1
  436. package/dist/components/calcite-input-number.js +1 -1
  437. package/dist/components/calcite-input-text.js +1 -1
  438. package/dist/components/calcite-input-time-picker.js +11 -5
  439. package/dist/components/calcite-input.js +1 -1
  440. package/dist/components/calcite-label.js +1 -1
  441. package/dist/components/calcite-link.js +1 -1
  442. package/dist/components/calcite-list-item-group.js +1 -1
  443. package/dist/components/calcite-list-item.js +1 -1
  444. package/dist/components/calcite-list.js +1 -1
  445. package/dist/components/calcite-loader.js +1 -1
  446. package/dist/components/calcite-modal.js +1 -1
  447. package/dist/components/calcite-notice.js +1 -1
  448. package/dist/components/calcite-option-group.js +1 -1
  449. package/dist/components/calcite-option.js +1 -1
  450. package/dist/components/calcite-pagination.js +1 -1
  451. package/dist/components/calcite-panel.js +1 -1
  452. package/dist/components/calcite-pick-list-group.js +1 -1
  453. package/dist/components/calcite-pick-list-item.js +1 -1
  454. package/dist/components/calcite-pick-list.js +1 -1
  455. package/dist/components/calcite-popover-manager.js +1 -1
  456. package/dist/components/calcite-popover.js +1 -1
  457. package/dist/components/calcite-progress.js +1 -1
  458. package/dist/components/calcite-radio-button-group.js +1 -1
  459. package/dist/components/calcite-radio-button.js +1 -1
  460. package/dist/components/calcite-radio-group-item.js +1 -1
  461. package/dist/components/calcite-radio-group.js +1 -1
  462. package/dist/components/calcite-rating.js +1 -1
  463. package/dist/components/calcite-scrim.js +1 -1
  464. package/dist/components/calcite-select.js +1 -1
  465. package/dist/components/calcite-shell-center-row.js +1 -1
  466. package/dist/components/calcite-shell-panel.js +1 -1
  467. package/dist/components/calcite-shell.js +1 -1
  468. package/dist/components/calcite-slider.js +1 -1
  469. package/dist/components/calcite-sortable-list.js +1 -1
  470. package/dist/components/calcite-split-button.js +1 -1
  471. package/dist/components/calcite-stepper-item.js +1 -1
  472. package/dist/components/calcite-stepper.js +1 -1
  473. package/dist/components/calcite-switch.js +1 -1
  474. package/dist/components/calcite-tab-nav.js +1 -1
  475. package/dist/components/calcite-tab-title.js +1 -1
  476. package/dist/components/calcite-tab.js +1 -1
  477. package/dist/components/calcite-tabs.js +1 -1
  478. package/dist/components/calcite-tile-select-group.js +1 -1
  479. package/dist/components/calcite-tile-select.js +1 -1
  480. package/dist/components/calcite-tile.js +1 -1
  481. package/dist/components/calcite-time-picker.js +1 -1
  482. package/dist/components/calcite-tip-group.js +1 -1
  483. package/dist/components/calcite-tip-manager.js +1 -1
  484. package/dist/components/calcite-tip.js +1 -1
  485. package/dist/components/calcite-tooltip-manager.js +1 -1
  486. package/dist/components/calcite-tooltip.js +1 -1
  487. package/dist/components/calcite-tree-item.js +1 -1
  488. package/dist/components/calcite-tree.js +1 -1
  489. package/dist/components/calcite-value-list-item.js +1 -1
  490. package/dist/components/calcite-value-list.js +1 -1
  491. package/dist/components/checkbox.js +1 -1
  492. package/dist/components/chip.js +1 -1
  493. package/dist/components/color-picker-hex-input.js +1 -1
  494. package/dist/components/color-picker-swatch.js +1 -1
  495. package/dist/components/conditionalSlot.js +1 -1
  496. package/dist/components/date-picker-day.js +1 -1
  497. package/dist/components/date-picker-month-header.js +1 -1
  498. package/dist/components/date-picker-month.js +1 -1
  499. package/dist/components/date-picker.js +1 -1
  500. package/dist/components/date.js +1 -1
  501. package/dist/components/debounce.js +1 -1
  502. package/dist/components/dom.js +1 -1
  503. package/dist/components/dropdown.js +29 -19
  504. package/dist/components/filter.js +1 -1
  505. package/dist/components/filter2.js +1 -1
  506. package/dist/components/floating-ui.js +181 -22
  507. package/dist/components/form.js +1 -1
  508. package/dist/components/graph.js +1 -1
  509. package/dist/components/guid.js +1 -1
  510. package/dist/components/handle.js +1 -1
  511. package/dist/components/icon.js +1 -1
  512. package/dist/components/index.js +1 -1
  513. package/dist/components/input.js +1 -1
  514. package/dist/components/interactive.js +1 -1
  515. package/dist/components/interfaces.js +1 -1
  516. package/dist/components/interfaces2.js +1 -1
  517. package/dist/components/key.js +1 -1
  518. package/dist/components/label.js +1 -1
  519. package/dist/components/label2.js +1 -1
  520. package/dist/components/link.js +1 -1
  521. package/dist/components/loader.js +1 -1
  522. package/dist/components/locale.js +1 -1
  523. package/dist/components/math.js +1 -1
  524. package/dist/components/nonChromiumPlatformUtils.js +498 -0
  525. package/dist/components/observers.js +1 -1
  526. package/dist/components/openCloseComponent.js +1 -1
  527. package/dist/components/panel.js +1 -1
  528. package/dist/components/pick-list-item.js +1 -1
  529. package/dist/components/popover.js +27 -19
  530. package/dist/components/progress.js +1 -1
  531. package/dist/components/resources.js +1 -1
  532. package/dist/components/resources2.js +1 -1
  533. package/dist/components/resources3.js +1 -1
  534. package/dist/components/scrim.js +1 -1
  535. package/dist/components/shared-list-render.js +1 -1
  536. package/dist/components/sortable.esm.js +1 -1
  537. package/dist/components/switch.js +1 -1
  538. package/dist/components/tab-nav.js +1 -1
  539. package/dist/components/tab-title.js +1 -1
  540. package/dist/components/tab.js +1 -1
  541. package/dist/components/tabs.js +1 -1
  542. package/dist/components/tile.js +1 -1
  543. package/dist/components/time-picker.js +1 -1
  544. package/dist/components/tooltip.js +24 -16
  545. package/dist/components/utils.js +1 -1
  546. package/dist/components/utils2.js +2 -2
  547. package/dist/esm/{ExpandToggle-246dd7c6.js → ExpandToggle-c19c7ae6.js} +5 -5
  548. package/dist/esm/{Heading-11c2a834.js → Heading-55c4005d.js} +2 -2
  549. package/dist/esm/{app-globals-1b919870.js → app-globals-a52284f2.js} +2 -2
  550. package/dist/esm/{array-16ebf5c6.js → array-740ce6b6.js} +1 -1
  551. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  552. package/dist/esm/calcite-action-bar.entry.js +11 -11
  553. package/dist/esm/calcite-action-group.entry.js +9 -9
  554. package/dist/esm/calcite-action-menu.entry.js +8 -8
  555. package/dist/esm/calcite-action-pad.entry.js +10 -10
  556. package/dist/esm/calcite-action.entry.js +7 -7
  557. package/dist/esm/calcite-alert.entry.js +10 -10
  558. package/dist/esm/calcite-avatar.entry.js +6 -6
  559. package/dist/esm/calcite-block_2.entry.js +10 -10
  560. package/dist/esm/calcite-button.entry.js +9 -9
  561. package/dist/esm/calcite-card.entry.js +7 -7
  562. package/dist/esm/calcite-checkbox.entry.js +9 -9
  563. package/dist/esm/calcite-chip.entry.js +7 -7
  564. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  565. package/dist/esm/calcite-combobox_3.entry.js +33 -27
  566. package/dist/esm/calcite-date-picker_4.entry.js +11 -11
  567. package/dist/esm/calcite-dropdown_3.entry.js +38 -27
  568. package/dist/esm/calcite-fab.entry.js +6 -6
  569. package/dist/esm/calcite-filter.entry.js +8 -8
  570. package/dist/esm/calcite-flow-item.entry.js +7 -7
  571. package/dist/esm/calcite-flow.entry.js +3 -3
  572. package/dist/esm/calcite-graph_2.entry.js +12 -12
  573. package/dist/esm/calcite-handle.entry.js +5 -5
  574. package/dist/esm/calcite-icon.entry.js +6 -6
  575. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  576. package/dist/esm/calcite-input-date-picker.entry.js +37 -26
  577. package/dist/esm/calcite-input-message.entry.js +5 -5
  578. package/dist/esm/calcite-input-number.entry.js +12 -12
  579. package/dist/esm/calcite-input-text.entry.js +9 -9
  580. package/dist/esm/calcite-input-time-picker_2.entry.js +21 -15
  581. package/dist/esm/calcite-input.entry.js +12 -12
  582. package/dist/esm/calcite-label.entry.js +6 -6
  583. package/dist/esm/calcite-link.entry.js +6 -6
  584. package/dist/esm/calcite-list_3.entry.js +9 -9
  585. package/dist/esm/calcite-loader.entry.js +3 -3
  586. package/dist/esm/calcite-modal.entry.js +8 -8
  587. package/dist/esm/calcite-notice.entry.js +8 -8
  588. package/dist/esm/calcite-option_3.entry.js +9 -9
  589. package/dist/esm/calcite-pagination.entry.js +8 -8
  590. package/dist/esm/calcite-panel.entry.js +10 -10
  591. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  592. package/dist/esm/calcite-popover_2.entry.js +36 -27
  593. package/dist/esm/calcite-progress.entry.js +2 -2
  594. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  595. package/dist/esm/calcite-radio-button.entry.js +9 -9
  596. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  597. package/dist/esm/calcite-rating.entry.js +9 -9
  598. package/dist/esm/calcite-scrim.entry.js +2 -2
  599. package/dist/esm/calcite-shell_3.entry.js +8 -8
  600. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  601. package/dist/esm/calcite-split-button.entry.js +3 -3
  602. package/dist/esm/calcite-stepper_2.entry.js +9 -9
  603. package/dist/esm/calcite-switch.entry.js +9 -9
  604. package/dist/esm/calcite-tab_4.entry.js +7 -7
  605. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  606. package/dist/esm/calcite-tile.entry.js +8 -8
  607. package/dist/esm/calcite-tip_3.entry.js +8 -8
  608. package/dist/esm/calcite-tooltip_2.entry.js +29 -20
  609. package/dist/esm/calcite-tree_2.entry.js +8 -8
  610. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  611. package/dist/esm/calcite.js +4 -4
  612. package/dist/esm/{conditionalSlot-833c523f.js → conditionalSlot-3441e8f2.js} +3 -3
  613. package/dist/esm/{debounce-98d20a38.js → debounce-97857fea.js} +1 -1
  614. package/dist/esm/{dom-640caf51.js → dom-fbef4a17.js} +3 -3
  615. package/dist/esm/{filter-38e63edc.js → filter-5c7687ab.js} +2 -2
  616. package/dist/esm/{floating-ui-b2f9718e.js → floating-ui-d7d7ebf5.js} +173 -22
  617. package/dist/esm/{form-493b70e6.js → form-6c6f44c9.js} +3 -3
  618. package/dist/esm/{guid-11f68c50.js → guid-46425949.js} +1 -1
  619. package/dist/esm/{index-06118eda.js → index-dd350c9e.js} +1 -1
  620. package/dist/esm/index.js +1 -1
  621. package/dist/esm/{interactive-fccdf326.js → interactive-7bb63697.js} +1 -1
  622. package/dist/esm/{interfaces-d9428b54.js → interfaces-1e4b4247.js} +1 -1
  623. package/dist/esm/{key-754bbff1.js → key-9fd0ee2d.js} +1 -1
  624. package/dist/esm/{label-57dd65d4.js → label-4476feb8.js} +2 -2
  625. package/dist/esm/loader.js +4 -4
  626. package/dist/esm/{locale-4e463ebf.js → locale-59ce851a.js} +4 -4
  627. package/dist/esm/{math-99ba6bfb.js → math-f58b6249.js} +1 -1
  628. package/dist/esm/nonChromiumPlatformUtils-9a77a585.js +502 -0
  629. package/dist/esm/{observers-74e54f0e.js → observers-4a45256c.js} +1 -1
  630. package/dist/esm/{openCloseComponent-ccf3f367.js → openCloseComponent-16ae97af.js} +1 -1
  631. package/dist/esm/{resources-f7ec4e42.js → resources-06042c92.js} +1 -1
  632. package/dist/esm/{resources-9331d9fa.js → resources-172c2a25.js} +1 -1
  633. package/dist/esm/{resources-bad5148f.js → resources-51ebf03b.js} +5 -5
  634. package/dist/esm/{resources-d9cf35ab.js → resources-57d6fea9.js} +3 -3
  635. package/dist/esm/{resources-f3f5aa83.js → resources-c905d6cb.js} +1 -1
  636. package/dist/esm/{resources-64b0963b.js → resources-f25e2a24.js} +1 -1
  637. package/dist/esm/{sortable.esm-76542737.js → sortable.esm-6094be14.js} +1 -1
  638. package/dist/esm/{utils-703b7ab8.js → utils-94170855.js} +1 -1
  639. package/dist/extras/docs-json.json +43 -13
  640. package/dist/loader/cdn.js +1 -1
  641. package/dist/loader/index.cjs.js +1 -1
  642. package/dist/loader/index.es2017.js +1 -1
  643. package/dist/loader/index.js +1 -1
  644. package/dist/types/components/combobox/combobox.d.ts +6 -3
  645. package/dist/types/components/dropdown/dropdown.d.ts +6 -3
  646. package/dist/types/components/input-date-picker/input-date-picker.d.ts +6 -3
  647. package/dist/types/components/input-time-picker/input-time-picker.d.ts +6 -2
  648. package/dist/types/components/popover/popover.d.ts +7 -4
  649. package/dist/types/components/tooltip/tooltip.d.ts +7 -4
  650. package/dist/types/components.d.ts +12 -6
  651. package/dist/types/utils/config.d.ts +7 -0
  652. package/dist/types/utils/floating-ui/nonChromiumPlatformUtils.d.ts +16 -0
  653. package/dist/types/utils/floating-ui.d.ts +45 -2
  654. package/hydrate/index.js +266 -165
  655. package/package.json +2 -2
  656. package/dist/calcite/p-03afda80.entry.js +0 -6
  657. package/dist/calcite/p-0ae7c12f.js +0 -6
  658. package/dist/calcite/p-22cfa796.entry.js +0 -6
  659. package/dist/calcite/p-2a78a458.entry.js +0 -6
  660. package/dist/calcite/p-2d12183c.entry.js +0 -6
  661. package/dist/calcite/p-91036706.js +0 -6
  662. package/dist/calcite/p-c3e7ad35.entry.js +0 -6
  663. package/dist/calcite/p-cff1af31.entry.js +0 -6
  664. package/dist/calcite/p-da13cffd.entry.js +0 -6
  665. package/dist/calcite/p-fe3f8e2f.js +0 -6
@@ -1,23 +1,22 @@
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.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { t as toAriaBoolean, i as isPrimaryPointerButton, f as focusElement } from './dom.js';
8
- import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, a as disconnectFloatingUI, F as FloatingCSS, p as positionFloatingUI, r as repositionDebounceTimeout } from './floating-ui.js';
8
+ import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, a as disconnectFloatingUI, F as FloatingCSS, r as reposition } from './floating-ui.js';
9
9
  import { c as createObserver } from './observers.js';
10
10
  import { u as updateHostInteraction } from './interactive.js';
11
11
  import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent.js';
12
12
  import { g as guid } from './guid.js';
13
13
  import { i as isActivationKey } from './key.js';
14
- import { d as debounce } from './debounce.js';
15
14
 
16
15
  const SLOTS = {
17
16
  dropdownTrigger: "dropdown-trigger"
18
17
  };
19
18
 
20
- 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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{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{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{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}:host .calcite-dropdown-content{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{position:relative;display:flex;flex:1 1 auto}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
19
+ 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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{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{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{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}:host .calcite-dropdown-content{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{position:relative;display:flex;flex:1 1 auto}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
21
20
 
22
21
  const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
23
22
  constructor() {
@@ -91,7 +90,6 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
91
90
  // Private Methods
92
91
  //
93
92
  //--------------------------------------------------------------------------
94
- this.debouncedReposition = debounce(() => this.reposition(), repositionDebounceTimeout);
95
93
  this.slotChangeHandler = (event) => {
96
94
  this.defaultAssignedElements = event.target.assignedElements({
97
95
  flatten: true
@@ -108,14 +106,14 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
108
106
  this.triggers = event.target.assignedElements({
109
107
  flatten: true
110
108
  });
111
- this.debouncedReposition();
109
+ this.reposition(true);
112
110
  };
113
111
  this.updateItems = () => {
114
112
  this.items = this.groups
115
113
  .map((group) => Array.from(group === null || group === void 0 ? void 0 : group.querySelectorAll("calcite-dropdown-item")))
116
114
  .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
117
115
  this.updateSelectedItems();
118
- this.debouncedReposition();
116
+ this.reposition(true);
119
117
  };
120
118
  this.updateGroups = (event) => {
121
119
  const groups = event.target
@@ -148,10 +146,10 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
148
146
  if (!scrollerEl) {
149
147
  return;
150
148
  }
151
- this.debouncedReposition();
149
+ this.reposition(true);
152
150
  const maxScrollerHeight = this.getMaxScrollerHeight();
153
151
  scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
154
- this.debouncedReposition();
152
+ this.reposition(true);
155
153
  };
156
154
  this.setScrollerAndTransitionEl = (el) => {
157
155
  this.resizeObserver.observe(el);
@@ -217,10 +215,18 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
217
215
  }
218
216
  openHandler(value) {
219
217
  if (!this.disabled) {
220
- this.debouncedReposition();
218
+ if (value) {
219
+ this.reposition(true);
220
+ }
221
+ else {
222
+ updateAfterClose(this.floatingEl);
223
+ }
221
224
  this.active = value;
222
225
  return;
223
226
  }
227
+ if (!value) {
228
+ updateAfterClose(this.floatingEl);
229
+ }
224
230
  this.open = false;
225
231
  }
226
232
  handleDisabledChange(value) {
@@ -230,16 +236,16 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
230
236
  }
231
237
  flipPlacementsHandler() {
232
238
  this.setFilteredPlacements();
233
- this.debouncedReposition();
239
+ this.reposition(true);
234
240
  }
235
241
  maxItemsHandler() {
236
242
  this.setMaxScrollerHeight();
237
243
  }
238
244
  overlayPositioningHandler() {
239
- this.debouncedReposition();
245
+ this.reposition(true);
240
246
  }
241
247
  placementHandler() {
242
- this.debouncedReposition();
248
+ this.reposition(true);
243
249
  }
244
250
  //--------------------------------------------------------------------------
245
251
  //
@@ -250,7 +256,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
250
256
  var _a;
251
257
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
252
258
  this.setFilteredPlacements();
253
- this.debouncedReposition();
259
+ this.reposition(true);
254
260
  if (this.open) {
255
261
  this.openHandler(this.open);
256
262
  }
@@ -260,7 +266,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
260
266
  connectOpenCloseComponent(this);
261
267
  }
262
268
  componentDidLoad() {
263
- this.debouncedReposition();
269
+ this.reposition(true);
264
270
  }
265
271
  componentDidRender() {
266
272
  updateHostInteraction(this);
@@ -285,17 +291,21 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
285
291
  // Public Methods
286
292
  //
287
293
  //--------------------------------------------------------------------------
288
- /** Updates the position of the component. */
289
- async reposition() {
294
+ /**
295
+ * Updates the position of the component.
296
+ *
297
+ * @param delayed
298
+ */
299
+ async reposition(delayed = false) {
290
300
  const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
291
- return positionFloatingUI({
301
+ return reposition(this, {
292
302
  floatingEl,
293
303
  referenceEl,
294
304
  overlayPositioning,
295
305
  placement,
296
306
  flipPlacements: filteredFlipPlacements,
297
307
  type: "menu"
298
- });
308
+ }, delayed);
299
309
  }
300
310
  closeCalciteDropdownOnClick(event) {
301
311
  if (!isPrimaryPointerButton(event) || !this.open || event.composedPath().includes(this.el)) {
@@ -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.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
7
7
  import { f as focusElement } from './dom.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce.js';
7
7
 
@@ -1,9 +1,11 @@
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.606
4
+ * v1.0.0-next.607
5
5
  */
6
- import { c as getElementDir } from './dom.js';
6
+ import { c as getElementDir, o as closestElementCrossShadowBoundary } from './dom.js';
7
+ import { Build } from '@stencil/core/internal/client/index.js';
8
+ import { d as debounce } from './debounce.js';
7
9
 
8
10
  function getSide(placement) {
9
11
  return placement.split('-')[0];
@@ -893,9 +895,10 @@ function isOverflowElement(element) {
893
895
  const {
894
896
  overflow,
895
897
  overflowX,
896
- overflowY
898
+ overflowY,
899
+ display
897
900
  } = getComputedStyle(element);
898
- return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
901
+ return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
899
902
  }
900
903
  function isTableElement(element) {
901
904
  return ['table', 'td', 'th'].includes(getNodeName(element));
@@ -907,8 +910,11 @@ function isContainingBlock(element) {
907
910
  // create a containing block.
908
911
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
909
912
 
910
- return css.transform !== 'none' || css.perspective !== 'none' || // @ts-ignore (TS 4.1 compat)
911
- css.contain === 'paint' || ['transform', 'perspective'].includes(css.willChange) || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false);
913
+ 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
914
+ value => {
915
+ const contain = css.contain;
916
+ return contain != null ? contain.includes(value) : false;
917
+ });
912
918
  }
913
919
  function isLayoutViewport() {
914
920
  // Not Safari
@@ -918,6 +924,9 @@ function isLayoutViewport() {
918
924
  // const vV = win.visualViewport;
919
925
  // return vV ? Math.abs(win.innerWidth / vV.scale - vV.width) < 0.5 : true;
920
926
  }
927
+ function isLastTraversableNode(node) {
928
+ return ['html', 'body', '#document'].includes(getNodeName(node));
929
+ }
921
930
 
922
931
  const min = Math.min;
923
932
  const max = Math.max;
@@ -1056,7 +1065,7 @@ function getContainingBlock(element) {
1056
1065
  currentNode = currentNode.host;
1057
1066
  }
1058
1067
 
1059
- while (isHTMLElement(currentNode) && !['html', 'body'].includes(getNodeName(currentNode))) {
1068
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
1060
1069
  if (isContainingBlock(currentNode)) {
1061
1070
  return currentNode;
1062
1071
  } else {
@@ -1200,7 +1209,7 @@ function getDocumentRect(element) {
1200
1209
  function getNearestOverflowAncestor(node) {
1201
1210
  const parentNode = getParentNode(node);
1202
1211
 
1203
- if (['html', 'body', '#document'].includes(getNodeName(parentNode))) {
1212
+ if (isLastTraversableNode(parentNode)) {
1204
1213
  // @ts-ignore assume body is always available
1205
1214
  return node.ownerDocument.body;
1206
1215
  }
@@ -1251,6 +1260,22 @@ function contains(parent, child) {
1251
1260
  return false;
1252
1261
  }
1253
1262
 
1263
+ function getNearestParentCapableOfEscapingClipping(element, clippingAncestors) {
1264
+ let currentNode = element;
1265
+
1266
+ while (currentNode && !isLastTraversableNode(currentNode) && // @ts-expect-error
1267
+ !clippingAncestors.includes(currentNode)) {
1268
+ if (isElement(currentNode) && ['absolute', 'fixed'].includes(getComputedStyle(currentNode).position)) {
1269
+ break;
1270
+ }
1271
+
1272
+ const parentNode = getParentNode(currentNode);
1273
+ currentNode = isShadowRoot(parentNode) ? parentNode.host : parentNode;
1274
+ }
1275
+
1276
+ return currentNode;
1277
+ }
1278
+
1254
1279
  function getInnerBoundingClientRect(element, strategy) {
1255
1280
  const clientRect = getBoundingClientRect(element, false, strategy === 'fixed');
1256
1281
  const top = clientRect.top + element.clientTop;
@@ -1284,15 +1309,25 @@ function getClientRectFromClippingAncestor(element, clippingParent, strategy) {
1284
1309
 
1285
1310
  function getClippingAncestors(element) {
1286
1311
  const clippingAncestors = getOverflowAncestors(element);
1287
- const canEscapeClipping = ['absolute', 'fixed'].includes(getComputedStyle(element).position);
1288
- const clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
1312
+ const nearestEscapableParent = getNearestParentCapableOfEscapingClipping(element, clippingAncestors);
1313
+ let clipperElement = null;
1314
+
1315
+ if (nearestEscapableParent && isHTMLElement(nearestEscapableParent)) {
1316
+ const offsetParent = getOffsetParent(nearestEscapableParent);
1317
+
1318
+ if (isOverflowElement(nearestEscapableParent)) {
1319
+ clipperElement = nearestEscapableParent;
1320
+ } else if (isHTMLElement(offsetParent)) {
1321
+ clipperElement = offsetParent;
1322
+ }
1323
+ }
1289
1324
 
1290
1325
  if (!isElement(clipperElement)) {
1291
1326
  return [];
1292
1327
  } // @ts-ignore isElement check ensures we return Array<Element>
1293
1328
 
1294
1329
 
1295
- return clippingAncestors.filter(clippingAncestors => isElement(clippingAncestors) && contains(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
1330
+ return clippingAncestors.filter(clippingAncestors => clipperElement && isElement(clippingAncestors) && contains(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
1296
1331
  } // Gets the maximum area that the element is visible in due to any number of
1297
1332
  // clipping ancestors
1298
1333
 
@@ -1359,12 +1394,11 @@ function autoUpdate(reference, floating, update, options) {
1359
1394
 
1360
1395
  const {
1361
1396
  ancestorScroll: _ancestorScroll = true,
1362
- ancestorResize: _ancestorResize = true,
1397
+ ancestorResize = true,
1363
1398
  elementResize = true,
1364
1399
  animationFrame = false
1365
1400
  } = options;
1366
1401
  const ancestorScroll = _ancestorScroll && !animationFrame;
1367
- const ancestorResize = _ancestorResize && !animationFrame;
1368
1402
  const ancestors = ancestorScroll || ancestorResize ? [...(isElement(reference) ? getOverflowAncestors(reference) : []), ...getOverflowAncestors(floating)] : [];
1369
1403
  ancestors.forEach(ancestor => {
1370
1404
  ancestorScroll && ancestor.addEventListener('scroll', update, {
@@ -1433,6 +1467,46 @@ const computePosition = (reference, floating, options) => computePosition$1(refe
1433
1467
  ...options
1434
1468
  });
1435
1469
 
1470
+ /**
1471
+ * This module helps users provide custom configuration for component internals.
1472
+ *
1473
+ * @internal
1474
+ */
1475
+ const configOverrides = globalThis["calciteComponentsConfig"];
1476
+ const config = {
1477
+ /**
1478
+ * We apply a custom fix to improve positioning for non-Chromium browsers.
1479
+ * The fix comes at a performance cost, so provides users a way to opt-out if necessary.
1480
+ *
1481
+ * @internal
1482
+ */
1483
+ floatingUINonChromiumPositioningFix: true,
1484
+ ...configOverrides
1485
+ };
1486
+
1487
+ const floatingUIBrowserCheck = patchFloatingUiForNonChromiumBrowsers();
1488
+ async function patchFloatingUiForNonChromiumBrowsers() {
1489
+ function getUAString() {
1490
+ const uaData = navigator.userAgentData;
1491
+ if (uaData === null || uaData === void 0 ? void 0 : uaData.brands) {
1492
+ return uaData.brands.map((item) => `${item.brand}/${item.version}`).join(" ");
1493
+ }
1494
+ return navigator.userAgent;
1495
+ }
1496
+ if (Build.isBrowser &&
1497
+ config.floatingUINonChromiumPositioningFix &&
1498
+ // ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️
1499
+ /firefox|safari/i.test(getUAString())) {
1500
+ const { getClippingRect, getElementRects, getOffsetParent } = await import('./nonChromiumPlatformUtils.js');
1501
+ platform.getClippingRect = getClippingRect;
1502
+ platform.getOffsetParent = getOffsetParent;
1503
+ platform.getElementRects = getElementRects;
1504
+ }
1505
+ }
1506
+ const placementDataAttribute = "data-placement";
1507
+ /**
1508
+ * Exported for testing purposes only
1509
+ */
1436
1510
  const repositionDebounceTimeout = 100;
1437
1511
  const effectivePlacements = [
1438
1512
  "top",
@@ -1513,9 +1587,40 @@ function getEffectivePlacement(floatingEl, placement) {
1513
1587
  .replace(/leading/gi, placements[0])
1514
1588
  .replace(/trailing/gi, placements[1]);
1515
1589
  }
1590
+ /**
1591
+ * Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
1592
+ *
1593
+ * Note: this is not needed for components that use `calcite-popover`.
1594
+ *
1595
+ * @param component
1596
+ * @param options
1597
+ * @param options.referenceEl
1598
+ * @param options.floatingEl
1599
+ * @param options.overlayPositioning
1600
+ * @param options.placement
1601
+ * @param options.disableFlip
1602
+ * @param options.flipPlacements
1603
+ * @param options.offsetDistance
1604
+ * @param options.offsetSkidding
1605
+ * @param options.arrowEl
1606
+ * @param options.type
1607
+ * @param delayed
1608
+ */
1609
+ async function reposition(component, options, delayed = false) {
1610
+ if (!component.open) {
1611
+ return;
1612
+ }
1613
+ return delayed ? debouncedReposition(options) : positionFloatingUI(options);
1614
+ }
1615
+ const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeout, {
1616
+ leading: true,
1617
+ maxWait: repositionDebounceTimeout
1618
+ });
1516
1619
  /**
1517
1620
  * Positions the floating element relative to the reference element.
1518
1621
  *
1622
+ * **Note:** exported for testing purposes only
1623
+ *
1519
1624
  * @param root0
1520
1625
  * @param root0.referenceEl
1521
1626
  * @param root0.floatingEl
@@ -1527,12 +1632,14 @@ function getEffectivePlacement(floatingEl, placement) {
1527
1632
  * @param root0.offsetSkidding
1528
1633
  * @param root0.arrowEl
1529
1634
  * @param root0.type
1635
+ * @param root0.includeArrow
1530
1636
  */
1531
- async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning = "absolute", placement, disableFlip, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
1637
+ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning = "absolute", placement, disableFlip, flipPlacements, offsetDistance, offsetSkidding, includeArrow = false, arrowEl, type }) {
1532
1638
  var _a;
1533
- if (!referenceEl || !floatingEl) {
1639
+ if (!referenceEl || !floatingEl || (includeArrow && !arrowEl)) {
1534
1640
  return null;
1535
1641
  }
1642
+ await floatingUIBrowserCheck;
1536
1643
  const { x, y, placement: effectivePlacement, strategy: position, middlewareData } = await computePosition(referenceEl, floatingEl, {
1537
1644
  strategy: overlayPositioning,
1538
1645
  placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
@@ -1558,7 +1665,7 @@ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning
1558
1665
  const referenceHidden = (_a = middlewareData === null || middlewareData === void 0 ? void 0 : middlewareData.hide) === null || _a === void 0 ? void 0 : _a.referenceHidden;
1559
1666
  const visibility = referenceHidden ? "hidden" : null;
1560
1667
  const pointerEvents = visibility ? "none" : null;
1561
- floatingEl.setAttribute("data-placement", effectivePlacement);
1668
+ floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
1562
1669
  const transform = `translate(${Math.round(x)}px,${Math.round(y)}px)`;
1563
1670
  Object.assign(floatingEl.style, {
1564
1671
  visibility,
@@ -1569,6 +1676,11 @@ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning
1569
1676
  transform
1570
1677
  });
1571
1678
  }
1679
+ /**
1680
+ * Exported for testing purposes only
1681
+ *
1682
+ * @internal
1683
+ */
1572
1684
  const cleanupMap = new WeakMap();
1573
1685
  /**
1574
1686
  * Helper to set up floating element interactions on connectedCallback.
@@ -1582,11 +1694,21 @@ function connectFloatingUI(component, referenceEl, floatingEl) {
1582
1694
  return;
1583
1695
  }
1584
1696
  disconnectFloatingUI(component, referenceEl, floatingEl);
1585
- cleanupMap.set(component, autoUpdate(referenceEl, floatingEl, () => {
1586
- if (component.open) {
1587
- component.reposition();
1588
- }
1589
- }));
1697
+ const position = component.overlayPositioning;
1698
+ // ensure position matches for initial positioning
1699
+ floatingEl.style.position = position;
1700
+ if (position === "absolute") {
1701
+ moveOffScreen(floatingEl);
1702
+ }
1703
+ const runAutoUpdate = Build.isBrowser
1704
+ ? autoUpdate
1705
+ : (_refEl, _floatingEl, updateCallback) => {
1706
+ updateCallback();
1707
+ return () => {
1708
+ /* noop */
1709
+ };
1710
+ };
1711
+ cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
1590
1712
  }
1591
1713
  /**
1592
1714
  * Helper to tear down floating element interactions on disconnectedCallback.
@@ -1599,6 +1721,7 @@ function disconnectFloatingUI(component, referenceEl, floatingEl) {
1599
1721
  if (!floatingEl || !referenceEl) {
1600
1722
  return;
1601
1723
  }
1724
+ getTransitionTarget(floatingEl).removeEventListener("transitionend", handleTransitionElTransitionEnd);
1602
1725
  const cleanup = cleanupMap.get(component);
1603
1726
  if (cleanup) {
1604
1727
  cleanup();
@@ -1612,5 +1735,41 @@ const visiblePointerSize = 4;
1612
1735
  * @default 6
1613
1736
  */
1614
1737
  const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
1738
+ /**
1739
+ * This utils applies floating element styles to avoid affecting layout when closed.
1740
+ *
1741
+ * This should be called when the closing transition will start.
1742
+ *
1743
+ * @param floatingEl
1744
+ */
1745
+ function updateAfterClose(floatingEl) {
1746
+ if (!floatingEl || floatingEl.style.position !== "absolute") {
1747
+ return;
1748
+ }
1749
+ getTransitionTarget(floatingEl).addEventListener("transitionend", handleTransitionElTransitionEnd);
1750
+ }
1751
+ function getTransitionTarget(floatingEl) {
1752
+ // assumes floatingEl w/ shadowRoot is a FloatingUIComponent
1753
+ return floatingEl.shadowRoot || floatingEl;
1754
+ }
1755
+ function handleTransitionElTransitionEnd(event) {
1756
+ const floatingTransitionEl = event.target;
1757
+ if (
1758
+ // using any prop from floating-ui transition
1759
+ event.propertyName === "opacity" &&
1760
+ floatingTransitionEl.classList.contains(FloatingCSS.animation)) {
1761
+ const floatingEl = getFloatingElFromTransitionTarget(floatingTransitionEl);
1762
+ moveOffScreen(floatingEl);
1763
+ getTransitionTarget(floatingEl).removeEventListener("transitionend", handleTransitionElTransitionEnd);
1764
+ }
1765
+ }
1766
+ function moveOffScreen(floatingEl) {
1767
+ floatingEl.style.transform = "";
1768
+ floatingEl.style.top = "-99999px";
1769
+ floatingEl.style.left = "-99999px";
1770
+ }
1771
+ function getFloatingElFromTransitionTarget(floatingTransitionEl) {
1772
+ return closestElementCrossShadowBoundary(floatingTransitionEl, `[${placementDataAttribute}]`);
1773
+ }
1615
1774
 
1616
- export { FloatingCSS as F, disconnectFloatingUI as a, defaultOffsetDistance as b, connectFloatingUI as c, defaultMenuPlacement as d, filterComputedPlacements as f, positionFloatingUI as p, repositionDebounceTimeout as r };
1775
+ export { FloatingCSS as F, disconnectFloatingUI as a, defaultOffsetDistance as b, connectFloatingUI as c, defaultMenuPlacement as d, rectToClientRect as e, filterComputedPlacements as f, reposition as r, updateAfterClose as u };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { o as closestElementCrossShadowBoundary } from './dom.js';
7
7
  import { h } from '@stencil/core/internal/client/index.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client/index.js';
7
7
  import { g as guid } from './guid.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  function gen(counts) {
7
7
  return counts
@@ -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.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
7
7
  import { t as toAriaBoolean } from './dom.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { getAssetPath, proxyCustomElement, HTMLElement, h, Host, Build } from '@stencil/core/internal/client/index.js';
7
7
  import { c as getElementDir, t as toAriaBoolean } from './dom.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client/index.js';
7
7
  import { d as darkTheme, a as autoTheme } from './dom.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { T as TEXT$1, b as getSlotted, i as isPrimaryPointerButton, s as setRequestedIcon, g as getElementProp, c as getElementDir, C as CSS_UTILITY } from './dom.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  function noopClick() {
7
7
  /** noop */
@@ -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.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  var StatusIcons;
7
7
  (function (StatusIcons) {
@@ -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.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  var TreeSelectionMode;
7
7
  (function (TreeSelectionMode) {
@@ -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.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  function isActivationKey(key) {
7
7
  return key === "Enter" || key === " ";
@@ -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.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label2.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { q as queryElementRoots, o as closestElementCrossShadowBoundary } from './dom.js';
7
7
 
@@ -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.606
4
+ * v1.0.0-next.607
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
7
7
  import { c as getElementDir, C as CSS_UTILITY, f as focusElement } from './dom.js';