@esri/calcite-components 1.0.0-next.702 → 1.0.0-next.704

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 (815) hide show
  1. package/dist/calcite/assets/icon/allServers16.json +1 -0
  2. package/dist/calcite/assets/icon/allServers24.json +1 -0
  3. package/dist/calcite/assets/icon/allServers32.json +1 -0
  4. package/dist/calcite/assets/icon/decreaseLinkChartSymbolSize16.json +1 -0
  5. package/dist/calcite/assets/icon/decreaseLinkChartSymbolSize24.json +1 -0
  6. package/dist/calcite/assets/icon/decreaseLinkChartSymbolSize32.json +1 -0
  7. package/dist/calcite/assets/icon/findPath16.json +1 -0
  8. package/dist/calcite/assets/icon/findPath24.json +1 -0
  9. package/dist/calcite/assets/icon/findPath32.json +1 -0
  10. package/dist/calcite/assets/icon/geoanalyticsServer16.json +1 -0
  11. package/dist/calcite/assets/icon/geoanalyticsServer24.json +1 -0
  12. package/dist/calcite/assets/icon/geoanalyticsServer32.json +1 -0
  13. package/dist/calcite/assets/icon/geoeventServer16.json +1 -0
  14. package/dist/calcite/assets/icon/geoeventServer24.json +1 -0
  15. package/dist/calcite/assets/icon/geoeventServer32.json +1 -0
  16. package/dist/calcite/assets/icon/geographicLinkChartLayout16.json +1 -0
  17. package/dist/calcite/assets/icon/geographicLinkChartLayout24.json +1 -0
  18. package/dist/calcite/assets/icon/geographicLinkChartLayout32.json +1 -0
  19. package/dist/calcite/assets/icon/gisServer16.json +1 -0
  20. package/dist/calcite/assets/icon/gisServer24.json +1 -0
  21. package/dist/calcite/assets/icon/gisServer32.json +1 -0
  22. package/dist/calcite/assets/icon/imageServer16.json +1 -0
  23. package/dist/calcite/assets/icon/imageServer24.json +1 -0
  24. package/dist/calcite/assets/icon/imageServer32.json +1 -0
  25. package/dist/calcite/assets/icon/increaseLinkChartSymbolSize16.json +1 -0
  26. package/dist/calcite/assets/icon/increaseLinkChartSymbolSize24.json +1 -0
  27. package/dist/calcite/assets/icon/increaseLinkChartSymbolSize32.json +1 -0
  28. package/dist/calcite/assets/icon/investigation16.json +1 -0
  29. package/dist/calcite/assets/icon/investigation24.json +1 -0
  30. package/dist/calcite/assets/icon/investigation32.json +1 -0
  31. package/dist/calcite/assets/icon/knowledgeGraph16.json +1 -0
  32. package/dist/calcite/assets/icon/knowledgeGraph24.json +1 -0
  33. package/dist/calcite/assets/icon/knowledgeGraph32.json +1 -0
  34. package/dist/calcite/assets/icon/knowledgeGraphDashboard16.json +1 -0
  35. package/dist/calcite/assets/icon/knowledgeGraphDashboard24.json +1 -0
  36. package/dist/calcite/assets/icon/knowledgeGraphDashboard32.json +1 -0
  37. package/dist/calcite/assets/icon/knowledgeGraphDataModel16.json +1 -0
  38. package/dist/calcite/assets/icon/knowledgeGraphDataModel24.json +1 -0
  39. package/dist/calcite/assets/icon/knowledgeGraphDataModel32.json +1 -0
  40. package/dist/calcite/assets/icon/knowledgeGraphExport16.json +1 -0
  41. package/dist/calcite/assets/icon/knowledgeGraphExport24.json +1 -0
  42. package/dist/calcite/assets/icon/knowledgeGraphExport32.json +1 -0
  43. package/dist/calcite/assets/icon/knowledgeGraphImport16.json +1 -0
  44. package/dist/calcite/assets/icon/knowledgeGraphImport24.json +1 -0
  45. package/dist/calcite/assets/icon/knowledgeGraphImport32.json +1 -0
  46. package/dist/calcite/assets/icon/knowledgeGraphNew16.json +1 -0
  47. package/dist/calcite/assets/icon/knowledgeGraphNew24.json +1 -0
  48. package/dist/calcite/assets/icon/knowledgeGraphNew32.json +1 -0
  49. package/dist/calcite/assets/icon/knowledgeGraphRelationship16.json +1 -0
  50. package/dist/calcite/assets/icon/knowledgeGraphRelationship24.json +1 -0
  51. package/dist/calcite/assets/icon/knowledgeGraphRelationship32.json +1 -0
  52. package/dist/calcite/assets/icon/knowledgeLayer16.json +1 -0
  53. package/dist/calcite/assets/icon/knowledgeLayer24.json +1 -0
  54. package/dist/calcite/assets/icon/knowledgeLayer32.json +1 -0
  55. package/dist/calcite/assets/icon/knowledgeServer16.json +1 -0
  56. package/dist/calcite/assets/icon/knowledgeServer24.json +1 -0
  57. package/dist/calcite/assets/icon/knowledgeServer32.json +1 -0
  58. package/dist/calcite/assets/icon/labelOff16.json +1 -0
  59. package/dist/calcite/assets/icon/labelOff24.json +1 -0
  60. package/dist/calcite/assets/icon/labelOff32.json +1 -0
  61. package/dist/calcite/assets/icon/linkChart16.json +1 -0
  62. package/dist/calcite/assets/icon/linkChart24.json +1 -0
  63. package/dist/calcite/assets/icon/linkChart32.json +1 -0
  64. package/dist/calcite/assets/icon/notebookServer16.json +1 -0
  65. package/dist/calcite/assets/icon/notebookServer24.json +1 -0
  66. package/dist/calcite/assets/icon/notebookServer32.json +1 -0
  67. package/dist/calcite/assets/icon/workflowManagerServer16.json +1 -0
  68. package/dist/calcite/assets/icon/workflowManagerServer24.json +1 -0
  69. package/dist/calcite/assets/icon/workflowManagerServer32.json +1 -0
  70. package/dist/calcite/calcite.esm.js +2 -2
  71. package/dist/calcite/index.esm.js +1 -1
  72. package/dist/calcite/{p-08af6c70.entry.js → p-02e9b1cd.entry.js} +2 -2
  73. package/dist/calcite/{p-f1eff1e1.entry.js → p-0548b2ec.entry.js} +2 -2
  74. package/dist/calcite/{p-c0ad8bfc.js → p-0784baff.js} +2 -2
  75. package/dist/calcite/{p-ec016afe.entry.js → p-0bf1f525.entry.js} +2 -2
  76. package/dist/calcite/{p-3cf89419.entry.js → p-0d4e55a7.entry.js} +2 -2
  77. package/dist/calcite/{p-f5200ac8.entry.js → p-0f7844c9.entry.js} +2 -2
  78. package/dist/calcite/{p-f899f474.js → p-109e0ec8.js} +1 -1
  79. package/dist/calcite/{p-3ffa53b5.js → p-19a6ec8b.js} +2 -2
  80. package/dist/calcite/{p-9057d48a.entry.js → p-1aacd6c7.entry.js} +2 -2
  81. package/dist/calcite/{p-94d1ab82.js → p-1adbba2b.js} +2 -2
  82. package/dist/calcite/{p-fca49121.entry.js → p-1e18610a.entry.js} +2 -2
  83. package/dist/calcite/{p-8a647669.entry.js → p-203ba04c.entry.js} +2 -2
  84. package/dist/calcite/{p-ff7f2520.entry.js → p-2058ef5d.entry.js} +2 -2
  85. package/dist/calcite/{p-1c328c37.entry.js → p-2089fd82.entry.js} +2 -2
  86. package/dist/calcite/{p-09f93be2.js → p-213f60fa.js} +1 -1
  87. package/dist/calcite/{p-c1326463.entry.js → p-22e75102.entry.js} +2 -2
  88. package/dist/calcite/p-22e9cd94.js +6 -0
  89. package/dist/calcite/{p-46d054bb.entry.js → p-233bd5a1.entry.js} +2 -2
  90. package/dist/calcite/{p-e1b07bec.entry.js → p-26868888.entry.js} +2 -2
  91. package/dist/calcite/{p-8ed698f1.js → p-287048c6.js} +1 -1
  92. package/dist/calcite/{p-03affb1f.entry.js → p-291238ba.entry.js} +2 -2
  93. package/dist/calcite/{p-f22125c8.entry.js → p-2b4256cf.entry.js} +2 -2
  94. package/dist/calcite/{p-ff7639ec.entry.js → p-2daa2f8d.entry.js} +2 -2
  95. package/dist/calcite/{p-5d03b5c2.entry.js → p-34f8db3b.entry.js} +2 -2
  96. package/dist/calcite/{p-0643a222.entry.js → p-36e0699e.entry.js} +2 -2
  97. package/dist/calcite/{p-b715dec3.entry.js → p-3995cbb7.entry.js} +2 -2
  98. package/dist/calcite/{p-5747784a.entry.js → p-3ccf9174.entry.js} +2 -2
  99. package/dist/calcite/{p-3055866d.js → p-3dd4f134.js} +2 -2
  100. package/dist/calcite/{p-87e1d2c4.entry.js → p-3e40c086.entry.js} +2 -2
  101. package/dist/calcite/{p-2a62244a.entry.js → p-412851aa.entry.js} +2 -2
  102. package/dist/calcite/{p-44f85e3f.js → p-456e0fd5.js} +1 -1
  103. package/dist/calcite/{p-131fedd0.js → p-4f3470b2.js} +1 -1
  104. package/dist/calcite/{p-9fab656c.js → p-4fe3e401.js} +2 -2
  105. package/dist/calcite/{p-b8b66740.entry.js → p-592df9f4.entry.js} +2 -2
  106. package/dist/calcite/{p-c858778e.entry.js → p-5c09a6de.entry.js} +2 -2
  107. package/dist/calcite/{p-fcfc8e6e.entry.js → p-5e1b9d2b.entry.js} +2 -2
  108. package/dist/calcite/{p-5d506a9f.entry.js → p-61392ad3.entry.js} +2 -2
  109. package/dist/calcite/{p-f605736c.entry.js → p-61bdcdd9.entry.js} +2 -2
  110. package/dist/calcite/{p-258877a2.entry.js → p-633c9dd1.entry.js} +2 -2
  111. package/dist/calcite/p-662119d6.entry.js +6 -0
  112. package/dist/calcite/{p-f43fe740.entry.js → p-693e8bbd.entry.js} +2 -2
  113. package/dist/calcite/{p-04f33e06.entry.js → p-6d66a55f.entry.js} +2 -2
  114. package/dist/calcite/{p-455ba011.js → p-6eb4b6dd.js} +1 -1
  115. package/dist/calcite/{p-650129bf.js → p-6f589999.js} +1 -1
  116. package/dist/calcite/{p-5478f9f6.entry.js → p-701aaae8.entry.js} +2 -2
  117. package/dist/calcite/p-713db7b2.entry.js +6 -0
  118. package/dist/calcite/{p-f946f34d.entry.js → p-7f4925b3.entry.js} +2 -2
  119. package/dist/calcite/{p-7e33d488.entry.js → p-80fc2dc0.entry.js} +2 -2
  120. package/dist/calcite/{p-6278ef0c.js → p-8426ad9d.js} +2 -2
  121. package/dist/calcite/{p-1df68a88.entry.js → p-86134d6a.entry.js} +2 -2
  122. package/dist/calcite/{p-276a70de.entry.js → p-8cf2e4f6.entry.js} +2 -2
  123. package/dist/calcite/{p-f87d2ad1.entry.js → p-8d581fff.entry.js} +2 -2
  124. package/dist/calcite/{p-155b8150.js → p-91f0c386.js} +2 -2
  125. package/dist/calcite/{p-038ffd98.entry.js → p-92e6d875.entry.js} +2 -2
  126. package/dist/calcite/{p-08a2a0a3.js → p-94bd22d2.js} +2 -2
  127. package/dist/calcite/{p-0995ff5c.js → p-970d9cb9.js} +1 -1
  128. package/dist/calcite/{p-9536ace3.entry.js → p-9711317b.entry.js} +2 -2
  129. package/dist/calcite/{p-87255f92.entry.js → p-97f83a50.entry.js} +2 -2
  130. package/dist/calcite/{p-444dd465.entry.js → p-9a8a9e67.entry.js} +2 -2
  131. package/dist/calcite/{p-4baf236a.entry.js → p-9bec1eac.entry.js} +2 -2
  132. package/dist/calcite/{p-4d180a60.js → p-9d9200ec.js} +1 -1
  133. package/dist/calcite/p-9e4c0974.entry.js +6 -0
  134. package/dist/calcite/{p-14afd90f.js → p-9fa0bf89.js} +1 -1
  135. package/dist/calcite/{p-da257b46.entry.js → p-a1ad2d2f.entry.js} +2 -2
  136. package/dist/calcite/{p-81261215.entry.js → p-a42bf833.entry.js} +2 -2
  137. package/dist/calcite/{p-3b99344c.entry.js → p-a65db9c7.entry.js} +2 -2
  138. package/dist/calcite/{p-ce99e979.js → p-ac253e04.js} +1 -1
  139. package/dist/calcite/{p-29904e44.js → p-afe9237c.js} +2 -2
  140. package/dist/calcite/{p-bbe97b11.js → p-afedfc47.js} +1 -1
  141. package/dist/calcite/{p-3a88d975.entry.js → p-b3ffb3c5.entry.js} +2 -2
  142. package/dist/calcite/{p-7fc01add.entry.js → p-b4bde3ee.entry.js} +2 -2
  143. package/dist/calcite/{p-74ee8396.js → p-b7caa1d8.js} +1 -1
  144. package/dist/calcite/{p-45e34c7e.entry.js → p-b95b1056.entry.js} +2 -2
  145. package/dist/calcite/p-c3e119d7.js +6 -0
  146. package/dist/calcite/{p-68d792f8.js → p-cfe3b1f8.js} +1 -1
  147. package/dist/calcite/{p-bace456d.entry.js → p-d10d56cc.entry.js} +2 -2
  148. package/dist/calcite/{p-9f347585.js → p-d26b5d10.js} +1 -1
  149. package/dist/calcite/{p-1de5063e.js → p-d4536926.js} +1 -1
  150. package/dist/calcite/{p-efa67668.js → p-d5e45086.js} +2 -2
  151. package/dist/calcite/{p-5f158a85.entry.js → p-d9346ecc.entry.js} +2 -2
  152. package/dist/calcite/{p-25b959ab.entry.js → p-d97ae24b.entry.js} +2 -2
  153. package/dist/calcite/p-dbd5faca.js +6 -0
  154. package/dist/calcite/p-e4d78922.entry.js +6 -0
  155. package/dist/calcite/{p-f4da6114.js → p-e4dc8527.js} +3 -3
  156. package/dist/calcite/{p-09c2e3af.entry.js → p-e89d573a.entry.js} +2 -2
  157. package/dist/calcite/{p-00afc72e.entry.js → p-e95f1ce4.entry.js} +2 -2
  158. package/dist/calcite/{p-d9101232.entry.js → p-e995b5b8.entry.js} +2 -2
  159. package/dist/calcite/{p-15975845.js → p-f63f2a96.js} +2 -2
  160. package/dist/calcite/{p-5fa846e8.entry.js → p-f64c2ca0.entry.js} +2 -2
  161. package/dist/calcite/{p-9a827321.entry.js → p-fb27af35.entry.js} +2 -2
  162. package/dist/calcite/{p-e450127a.js → p-fd594e44.js} +2 -2
  163. package/dist/calcite/{p-50d43cad.entry.js → p-fe5f6c17.entry.js} +2 -2
  164. package/dist/cjs/{ExpandToggle-ad96108e.js → ExpandToggle-f644a4e4.js} +5 -5
  165. package/dist/cjs/{Heading-6395d8b1.js → Heading-3652e2e4.js} +2 -2
  166. package/dist/cjs/{app-globals-6390cd2a.js → app-globals-fc78d19f.js} +2 -2
  167. package/dist/cjs/{array-a11ff3ac.js → array-35ff3f06.js} +1 -1
  168. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  169. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  170. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  171. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  172. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  173. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  174. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  175. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  176. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  177. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  178. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  179. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  180. package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
  181. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
  182. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  183. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
  184. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  185. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  186. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  187. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  188. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  189. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  190. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  191. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  192. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  193. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +24 -20
  194. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  195. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  196. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
  198. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  199. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  200. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  204. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  207. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  209. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  214. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  220. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  223. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  225. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  228. package/dist/cjs/calcite.cjs.js +5 -5
  229. package/dist/cjs/{conditionalSlot-f6070588.js → conditionalSlot-50276472.js} +3 -3
  230. package/dist/cjs/{debounce-1dfbaddc.js → debounce-3886405a.js} +1 -1
  231. package/dist/cjs/{dom-c171a774.js → dom-60bee9cc.js} +3 -3
  232. package/dist/cjs/{filter-ae18b0fc.js → filter-c5334237.js} +2 -2
  233. package/dist/cjs/{floating-ui-6c4af6f9.js → floating-ui-d68cb1af.js} +157 -234
  234. package/dist/cjs/{focusTrapComponent-d07bc8b9.js → focusTrapComponent-ba42cb92.js} +2 -2
  235. package/dist/cjs/{form-1ad5b459.js → form-fe1cad9f.js} +3 -3
  236. package/dist/cjs/{guid-be2b55bb.js → guid-f31c67c6.js} +1 -1
  237. package/dist/cjs/{index-ab60fe30.js → index-40e91d53.js} +1 -1
  238. package/dist/cjs/index.cjs.js +1 -1
  239. package/dist/cjs/{interactive-0bf45603.js → interactive-0de0886c.js} +1 -1
  240. package/dist/cjs/{key-d4b16f6e.js → key-417c449f.js} +1 -1
  241. package/dist/cjs/{label-e0337647.js → label-3f932cde.js} +2 -2
  242. package/dist/cjs/{loadable-d0eb534b.js → loadable-0b06f202.js} +1 -1
  243. package/dist/cjs/loader.cjs.js +5 -5
  244. package/dist/cjs/{locale-d6be4a64.js → locale-7a82b94d.js} +4 -4
  245. package/dist/cjs/{math-867d8959.js → math-b7264bea.js} +1 -1
  246. package/dist/cjs/{nonChromiumPlatformUtils-efab5da6.js → nonChromiumPlatformUtils-453d73b1.js} +6 -6
  247. package/dist/cjs/{observers-95f29589.js → observers-c1f1c520.js} +1 -1
  248. package/dist/cjs/{openCloseComponent-bdc5bbe7.js → openCloseComponent-9ee6119b.js} +2 -2
  249. package/dist/cjs/{resources-09c59164.js → resources-00637df0.js} +1 -1
  250. package/dist/cjs/{resources-51b4dc3f.js → resources-4a8a1fd0.js} +1 -1
  251. package/dist/cjs/{resources-53358703.js → resources-79397f00.js} +1 -1
  252. package/dist/cjs/{resources-10a70c95.js → resources-b913a6ba.js} +1 -1
  253. package/dist/cjs/{resources-1beb4322.js → resources-cf6c522e.js} +1 -1
  254. package/dist/cjs/{resources-684b6bdf.js → resources-d9fbb06f.js} +5 -5
  255. package/dist/cjs/{sortable.esm-4d5b3abe.js → sortable.esm-0400782d.js} +1 -1
  256. package/dist/cjs/{t9n-ded232d9.js → t9n-8ed58ec7.js} +3 -3
  257. package/dist/cjs/{utils-bf8ba896.js → utils-d6c7c90e.js} +3 -3
  258. package/dist/cjs/{utils-93d6e6ae.js → utils-d9116995.js} +1 -1
  259. package/dist/collection/components/accordion/accordion.js +1 -1
  260. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  261. package/dist/collection/components/accordion-item/resources.js +1 -1
  262. package/dist/collection/components/action/action.js +1 -1
  263. package/dist/collection/components/action/resources.js +1 -1
  264. package/dist/collection/components/action-bar/action-bar.js +4 -4
  265. package/dist/collection/components/action-bar/resources.js +1 -1
  266. package/dist/collection/components/action-bar/utils.js +1 -1
  267. package/dist/collection/components/action-group/action-group.js +1 -1
  268. package/dist/collection/components/action-group/resources.js +1 -1
  269. package/dist/collection/components/action-menu/action-menu.js +1 -1
  270. package/dist/collection/components/action-menu/resources.js +1 -1
  271. package/dist/collection/components/action-pad/action-pad.js +2 -2
  272. package/dist/collection/components/action-pad/resources.js +1 -1
  273. package/dist/collection/components/alert/alert.js +7 -4
  274. package/dist/collection/components/alert/resources.js +1 -1
  275. package/dist/collection/components/avatar/avatar.js +1 -1
  276. package/dist/collection/components/avatar/utils.js +1 -1
  277. package/dist/collection/components/block/block.js +3 -3
  278. package/dist/collection/components/block/resources.js +1 -1
  279. package/dist/collection/components/block-section/block-section.js +2 -2
  280. package/dist/collection/components/block-section/resources.js +1 -1
  281. package/dist/collection/components/button/button.js +1 -1
  282. package/dist/collection/components/button/resources.js +1 -1
  283. package/dist/collection/components/card/card.js +1 -1
  284. package/dist/collection/components/card/resources.js +1 -1
  285. package/dist/collection/components/checkbox/checkbox.js +1 -1
  286. package/dist/collection/components/chip/chip.js +1 -1
  287. package/dist/collection/components/chip/resources.js +1 -1
  288. package/dist/collection/components/color-picker/color-picker.js +1 -1
  289. package/dist/collection/components/color-picker/resources.js +1 -1
  290. package/dist/collection/components/color-picker/utils.js +1 -1
  291. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  292. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  293. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  294. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  295. package/dist/collection/components/combobox/combobox.js +1 -1
  296. package/dist/collection/components/combobox/resources.js +1 -1
  297. package/dist/collection/components/combobox/utils.js +1 -1
  298. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  299. package/dist/collection/components/combobox-item/resources.js +1 -1
  300. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  301. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  302. package/dist/collection/components/date-picker/date-picker.js +1 -1
  303. package/dist/collection/components/date-picker/resources.js +1 -1
  304. package/dist/collection/components/date-picker/utils.js +1 -1
  305. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  306. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  307. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  308. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  309. package/dist/collection/components/dropdown/dropdown.js +2 -2
  310. package/dist/collection/components/dropdown/resources.js +1 -1
  311. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  312. package/dist/collection/components/dropdown-group/resources.js +1 -1
  313. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  314. package/dist/collection/components/dropdown-item/resources.js +1 -1
  315. package/dist/collection/components/fab/fab.js +1 -1
  316. package/dist/collection/components/fab/resources.js +1 -1
  317. package/dist/collection/components/filter/filter.js +1 -1
  318. package/dist/collection/components/filter/resources.js +1 -1
  319. package/dist/collection/components/flow/flow.js +2 -2
  320. package/dist/collection/components/flow/resources.js +1 -1
  321. package/dist/collection/components/flow-item/flow-item.js +7 -4
  322. package/dist/collection/components/flow-item/resources.js +1 -1
  323. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  324. package/dist/collection/components/functional/Heading.js +1 -1
  325. package/dist/collection/components/graph/graph.js +1 -1
  326. package/dist/collection/components/graph/util.js +1 -1
  327. package/dist/collection/components/handle/handle.js +1 -1
  328. package/dist/collection/components/handle/resources.js +1 -1
  329. package/dist/collection/components/icon/assets/icon/allServers16.json +1 -0
  330. package/dist/collection/components/icon/assets/icon/allServers24.json +1 -0
  331. package/dist/collection/components/icon/assets/icon/allServers32.json +1 -0
  332. package/dist/collection/components/icon/assets/icon/decreaseLinkChartSymbolSize16.json +1 -0
  333. package/dist/collection/components/icon/assets/icon/decreaseLinkChartSymbolSize24.json +1 -0
  334. package/dist/collection/components/icon/assets/icon/decreaseLinkChartSymbolSize32.json +1 -0
  335. package/dist/collection/components/icon/assets/icon/findPath16.json +1 -0
  336. package/dist/collection/components/icon/assets/icon/findPath24.json +1 -0
  337. package/dist/collection/components/icon/assets/icon/findPath32.json +1 -0
  338. package/dist/collection/components/icon/assets/icon/geoanalyticsServer16.json +1 -0
  339. package/dist/collection/components/icon/assets/icon/geoanalyticsServer24.json +1 -0
  340. package/dist/collection/components/icon/assets/icon/geoanalyticsServer32.json +1 -0
  341. package/dist/collection/components/icon/assets/icon/geoeventServer16.json +1 -0
  342. package/dist/collection/components/icon/assets/icon/geoeventServer24.json +1 -0
  343. package/dist/collection/components/icon/assets/icon/geoeventServer32.json +1 -0
  344. package/dist/collection/components/icon/assets/icon/geographicLinkChartLayout16.json +1 -0
  345. package/dist/collection/components/icon/assets/icon/geographicLinkChartLayout24.json +1 -0
  346. package/dist/collection/components/icon/assets/icon/geographicLinkChartLayout32.json +1 -0
  347. package/dist/collection/components/icon/assets/icon/gisServer16.json +1 -0
  348. package/dist/collection/components/icon/assets/icon/gisServer24.json +1 -0
  349. package/dist/collection/components/icon/assets/icon/gisServer32.json +1 -0
  350. package/dist/collection/components/icon/assets/icon/imageServer16.json +1 -0
  351. package/dist/collection/components/icon/assets/icon/imageServer24.json +1 -0
  352. package/dist/collection/components/icon/assets/icon/imageServer32.json +1 -0
  353. package/dist/collection/components/icon/assets/icon/increaseLinkChartSymbolSize16.json +1 -0
  354. package/dist/collection/components/icon/assets/icon/increaseLinkChartSymbolSize24.json +1 -0
  355. package/dist/collection/components/icon/assets/icon/increaseLinkChartSymbolSize32.json +1 -0
  356. package/dist/collection/components/icon/assets/icon/investigation16.json +1 -0
  357. package/dist/collection/components/icon/assets/icon/investigation24.json +1 -0
  358. package/dist/collection/components/icon/assets/icon/investigation32.json +1 -0
  359. package/dist/collection/components/icon/assets/icon/knowledgeGraph16.json +1 -0
  360. package/dist/collection/components/icon/assets/icon/knowledgeGraph24.json +1 -0
  361. package/dist/collection/components/icon/assets/icon/knowledgeGraph32.json +1 -0
  362. package/dist/collection/components/icon/assets/icon/knowledgeGraphDashboard16.json +1 -0
  363. package/dist/collection/components/icon/assets/icon/knowledgeGraphDashboard24.json +1 -0
  364. package/dist/collection/components/icon/assets/icon/knowledgeGraphDashboard32.json +1 -0
  365. package/dist/collection/components/icon/assets/icon/knowledgeGraphDataModel16.json +1 -0
  366. package/dist/collection/components/icon/assets/icon/knowledgeGraphDataModel24.json +1 -0
  367. package/dist/collection/components/icon/assets/icon/knowledgeGraphDataModel32.json +1 -0
  368. package/dist/collection/components/icon/assets/icon/knowledgeGraphExport16.json +1 -0
  369. package/dist/collection/components/icon/assets/icon/knowledgeGraphExport24.json +1 -0
  370. package/dist/collection/components/icon/assets/icon/knowledgeGraphExport32.json +1 -0
  371. package/dist/collection/components/icon/assets/icon/knowledgeGraphImport16.json +1 -0
  372. package/dist/collection/components/icon/assets/icon/knowledgeGraphImport24.json +1 -0
  373. package/dist/collection/components/icon/assets/icon/knowledgeGraphImport32.json +1 -0
  374. package/dist/collection/components/icon/assets/icon/knowledgeGraphNew16.json +1 -0
  375. package/dist/collection/components/icon/assets/icon/knowledgeGraphNew24.json +1 -0
  376. package/dist/collection/components/icon/assets/icon/knowledgeGraphNew32.json +1 -0
  377. package/dist/collection/components/icon/assets/icon/knowledgeGraphRelationship16.json +1 -0
  378. package/dist/collection/components/icon/assets/icon/knowledgeGraphRelationship24.json +1 -0
  379. package/dist/collection/components/icon/assets/icon/knowledgeGraphRelationship32.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/knowledgeLayer16.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/knowledgeLayer24.json +1 -0
  382. package/dist/collection/components/icon/assets/icon/knowledgeLayer32.json +1 -0
  383. package/dist/collection/components/icon/assets/icon/knowledgeServer16.json +1 -0
  384. package/dist/collection/components/icon/assets/icon/knowledgeServer24.json +1 -0
  385. package/dist/collection/components/icon/assets/icon/knowledgeServer32.json +1 -0
  386. package/dist/collection/components/icon/assets/icon/labelOff16.json +1 -0
  387. package/dist/collection/components/icon/assets/icon/labelOff24.json +1 -0
  388. package/dist/collection/components/icon/assets/icon/labelOff32.json +1 -0
  389. package/dist/collection/components/icon/assets/icon/linkChart16.json +1 -0
  390. package/dist/collection/components/icon/assets/icon/linkChart24.json +1 -0
  391. package/dist/collection/components/icon/assets/icon/linkChart32.json +1 -0
  392. package/dist/collection/components/icon/assets/icon/notebookServer16.json +1 -0
  393. package/dist/collection/components/icon/assets/icon/notebookServer24.json +1 -0
  394. package/dist/collection/components/icon/assets/icon/notebookServer32.json +1 -0
  395. package/dist/collection/components/icon/assets/icon/workflowManagerServer16.json +1 -0
  396. package/dist/collection/components/icon/assets/icon/workflowManagerServer24.json +1 -0
  397. package/dist/collection/components/icon/assets/icon/workflowManagerServer32.json +1 -0
  398. package/dist/collection/components/icon/icon.js +1 -1
  399. package/dist/collection/components/icon/resources.js +1 -1
  400. package/dist/collection/components/icon/utils.js +1 -1
  401. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  402. package/dist/collection/components/inline-editable/resources.js +1 -1
  403. package/dist/collection/components/input/input.js +1 -1
  404. package/dist/collection/components/input/resources.js +1 -1
  405. package/dist/collection/components/input-date-picker/input-date-picker.js +9 -5
  406. package/dist/collection/components/input-date-picker/resources.js +1 -1
  407. package/dist/collection/components/input-message/input-message.js +1 -1
  408. package/dist/collection/components/input-message/interfaces.js +1 -1
  409. package/dist/collection/components/input-number/input-number.js +1 -1
  410. package/dist/collection/components/input-number/resources.js +1 -1
  411. package/dist/collection/components/input-text/input-text.js +1 -1
  412. package/dist/collection/components/input-text/resources.js +1 -1
  413. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  414. package/dist/collection/components/label/label.js +1 -1
  415. package/dist/collection/components/label/resources.js +1 -1
  416. package/dist/collection/components/link/link.js +1 -1
  417. package/dist/collection/components/list/list.js +1 -1
  418. package/dist/collection/components/list/resources.js +1 -1
  419. package/dist/collection/components/list-item/list-item.js +1 -1
  420. package/dist/collection/components/list-item/resources.js +1 -1
  421. package/dist/collection/components/list-item/utils.js +1 -1
  422. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  423. package/dist/collection/components/list-item-group/resources.js +1 -1
  424. package/dist/collection/components/loader/loader.js +1 -1
  425. package/dist/collection/components/modal/modal.js +1 -1
  426. package/dist/collection/components/modal/resources.js +1 -1
  427. package/dist/collection/components/notice/notice.js +8 -5
  428. package/dist/collection/components/notice/resources.js +1 -1
  429. package/dist/collection/components/option/option.js +1 -1
  430. package/dist/collection/components/option-group/option-group.js +1 -1
  431. package/dist/collection/components/pagination/pagination.css +4 -11
  432. package/dist/collection/components/pagination/pagination.js +1 -1
  433. package/dist/collection/components/pagination/resources.js +1 -1
  434. package/dist/collection/components/panel/panel.js +1 -1
  435. package/dist/collection/components/panel/resources.js +1 -1
  436. package/dist/collection/components/pick-list/pick-list.js +1 -1
  437. package/dist/collection/components/pick-list/resources.js +1 -1
  438. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  439. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  440. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  441. package/dist/collection/components/pick-list-group/resources.js +1 -1
  442. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  443. package/dist/collection/components/pick-list-item/resources.js +1 -1
  444. package/dist/collection/components/popover/PopoverManager.js +1 -1
  445. package/dist/collection/components/popover/popover.js +1 -1
  446. package/dist/collection/components/popover/resources.js +1 -1
  447. package/dist/collection/components/progress/progress.js +1 -1
  448. package/dist/collection/components/radio-button/radio-button.js +1 -1
  449. package/dist/collection/components/radio-button/resources.js +1 -1
  450. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  451. package/dist/collection/components/radio-group/radio-group.js +1 -1
  452. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  453. package/dist/collection/components/radio-group-item/resources.js +1 -1
  454. package/dist/collection/components/rating/function/star.js +1 -1
  455. package/dist/collection/components/rating/rating.js +1 -1
  456. package/dist/collection/components/resources.js +1 -1
  457. package/dist/collection/components/scrim/resources.js +1 -1
  458. package/dist/collection/components/scrim/scrim.js +2 -2
  459. package/dist/collection/components/select/resources.js +1 -1
  460. package/dist/collection/components/select/select.js +1 -1
  461. package/dist/collection/components/shell/resources.js +1 -1
  462. package/dist/collection/components/shell/shell.js +2 -2
  463. package/dist/collection/components/shell-center-row/resources.js +1 -1
  464. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  465. package/dist/collection/components/shell-panel/resources.js +1 -1
  466. package/dist/collection/components/shell-panel/shell-panel.js +2 -2
  467. package/dist/collection/components/slider/resources.js +1 -1
  468. package/dist/collection/components/slider/slider.js +1 -1
  469. package/dist/collection/components/sortable-list/resources.js +1 -1
  470. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  471. package/dist/collection/components/split-button/resources.js +1 -1
  472. package/dist/collection/components/split-button/split-button.js +1 -1
  473. package/dist/collection/components/stepper/stepper.js +2 -2
  474. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  475. package/dist/collection/components/switch/switch.js +1 -1
  476. package/dist/collection/components/tab/tab.js +2 -2
  477. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  478. package/dist/collection/components/tab-title/tab-title.js +1 -1
  479. package/dist/collection/components/tabs/resources.js +1 -1
  480. package/dist/collection/components/tabs/tabs.js +1 -1
  481. package/dist/collection/components/tile/resources.js +1 -1
  482. package/dist/collection/components/tile/tile.js +1 -1
  483. package/dist/collection/components/tile-select/resources.js +1 -1
  484. package/dist/collection/components/tile-select/tile-select.js +1 -1
  485. package/dist/collection/components/tile-select-group/tile-select-group.js +2 -2
  486. package/dist/collection/components/time-picker/resources.js +1 -1
  487. package/dist/collection/components/time-picker/time-picker.js +1 -1
  488. package/dist/collection/components/tip/resources.js +1 -1
  489. package/dist/collection/components/tip/tip.js +1 -1
  490. package/dist/collection/components/tip-group/tip-group.js +1 -1
  491. package/dist/collection/components/tip-manager/resources.js +1 -1
  492. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  493. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  494. package/dist/collection/components/tooltip/resources.js +1 -1
  495. package/dist/collection/components/tooltip/tooltip.js +1 -1
  496. package/dist/collection/components/tree/tree.js +1 -1
  497. package/dist/collection/components/tree/utils.js +1 -1
  498. package/dist/collection/components/tree-item/resources.js +1 -1
  499. package/dist/collection/components/tree-item/tree-item.js +2 -2
  500. package/dist/collection/components/value-list/resources.js +1 -1
  501. package/dist/collection/components/value-list/utils.js +1 -1
  502. package/dist/collection/components/value-list/value-list.js +1 -1
  503. package/dist/collection/components/value-list-item/resources.js +1 -1
  504. package/dist/collection/components/value-list-item/value-list-item.js +3 -3
  505. package/dist/collection/utils/array.js +1 -1
  506. package/dist/collection/utils/conditionalSlot.js +1 -1
  507. package/dist/collection/utils/config.js +1 -1
  508. package/dist/collection/utils/date.js +1 -1
  509. package/dist/collection/utils/dom.js +1 -1
  510. package/dist/collection/utils/filter.js +1 -1
  511. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  512. package/dist/collection/utils/floating-ui.js +1 -1
  513. package/dist/collection/utils/focusTrapComponent.js +1 -1
  514. package/dist/collection/utils/form.js +1 -1
  515. package/dist/collection/utils/globalAttributes.js +1 -1
  516. package/dist/collection/utils/globalScript.js +1 -1
  517. package/dist/collection/utils/guid.js +1 -1
  518. package/dist/collection/utils/interactive.js +1 -1
  519. package/dist/collection/utils/key.js +1 -1
  520. package/dist/collection/utils/label.js +1 -1
  521. package/dist/collection/utils/loadable.js +1 -1
  522. package/dist/collection/utils/locale.js +1 -1
  523. package/dist/collection/utils/math.js +1 -1
  524. package/dist/collection/utils/number.js +1 -1
  525. package/dist/collection/utils/observers.js +1 -1
  526. package/dist/collection/utils/openCloseComponent.js +1 -1
  527. package/dist/collection/utils/resources.js +1 -1
  528. package/dist/collection/utils/t9n.js +1 -1
  529. package/dist/collection/utils/theme.js +1 -1
  530. package/dist/collection/utils/time.js +1 -1
  531. package/dist/components/ExpandToggle.js +1 -1
  532. package/dist/components/Heading.js +1 -1
  533. package/dist/components/action-group.js +1 -1
  534. package/dist/components/action-menu.js +1 -1
  535. package/dist/components/action.js +1 -1
  536. package/dist/components/array.js +1 -1
  537. package/dist/components/button.js +1 -1
  538. package/dist/components/calcite-accordion-item.js +1 -1
  539. package/dist/components/calcite-accordion.js +1 -1
  540. package/dist/components/calcite-action-bar.js +1 -1
  541. package/dist/components/calcite-action-group.js +1 -1
  542. package/dist/components/calcite-action-menu.js +1 -1
  543. package/dist/components/calcite-action-pad.js +1 -1
  544. package/dist/components/calcite-action.js +1 -1
  545. package/dist/components/calcite-alert.js +1 -1
  546. package/dist/components/calcite-avatar.js +1 -1
  547. package/dist/components/calcite-block-section.js +1 -1
  548. package/dist/components/calcite-block.js +1 -1
  549. package/dist/components/calcite-button.js +1 -1
  550. package/dist/components/calcite-card.js +1 -1
  551. package/dist/components/calcite-checkbox.js +1 -1
  552. package/dist/components/calcite-chip.js +1 -1
  553. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  554. package/dist/components/calcite-color-picker-swatch.js +1 -1
  555. package/dist/components/calcite-color-picker.js +1 -1
  556. package/dist/components/calcite-combobox-item-group.js +1 -1
  557. package/dist/components/calcite-combobox-item.js +1 -1
  558. package/dist/components/calcite-combobox.js +1 -1
  559. package/dist/components/calcite-date-picker-day.js +1 -1
  560. package/dist/components/calcite-date-picker-month-header.js +1 -1
  561. package/dist/components/calcite-date-picker-month.js +1 -1
  562. package/dist/components/calcite-date-picker.js +1 -1
  563. package/dist/components/calcite-dropdown-group.js +1 -1
  564. package/dist/components/calcite-dropdown-item.js +1 -1
  565. package/dist/components/calcite-dropdown.js +1 -1
  566. package/dist/components/calcite-fab.js +1 -1
  567. package/dist/components/calcite-filter.js +1 -1
  568. package/dist/components/calcite-flow-item.js +2 -2
  569. package/dist/components/calcite-flow.js +1 -1
  570. package/dist/components/calcite-graph.js +1 -1
  571. package/dist/components/calcite-handle.js +1 -1
  572. package/dist/components/calcite-icon.js +1 -1
  573. package/dist/components/calcite-inline-editable.js +1 -1
  574. package/dist/components/calcite-input-date-picker.js +9 -5
  575. package/dist/components/calcite-input-message.js +1 -1
  576. package/dist/components/calcite-input-number.js +1 -1
  577. package/dist/components/calcite-input-text.js +1 -1
  578. package/dist/components/calcite-input-time-picker.js +1 -1
  579. package/dist/components/calcite-input.js +1 -1
  580. package/dist/components/calcite-label.js +1 -1
  581. package/dist/components/calcite-link.js +1 -1
  582. package/dist/components/calcite-list-item-group.js +1 -1
  583. package/dist/components/calcite-list-item.js +1 -1
  584. package/dist/components/calcite-list.js +1 -1
  585. package/dist/components/calcite-loader.js +1 -1
  586. package/dist/components/calcite-modal.js +1 -1
  587. package/dist/components/calcite-notice.js +1 -1
  588. package/dist/components/calcite-option-group.js +1 -1
  589. package/dist/components/calcite-option.js +1 -1
  590. package/dist/components/calcite-pagination.js +2 -2
  591. package/dist/components/calcite-panel.js +1 -1
  592. package/dist/components/calcite-pick-list-group.js +1 -1
  593. package/dist/components/calcite-pick-list-item.js +1 -1
  594. package/dist/components/calcite-pick-list.js +1 -1
  595. package/dist/components/calcite-popover.js +1 -1
  596. package/dist/components/calcite-progress.js +1 -1
  597. package/dist/components/calcite-radio-button-group.js +1 -1
  598. package/dist/components/calcite-radio-button.js +1 -1
  599. package/dist/components/calcite-radio-group-item.js +1 -1
  600. package/dist/components/calcite-radio-group.js +1 -1
  601. package/dist/components/calcite-rating.js +1 -1
  602. package/dist/components/calcite-scrim.js +1 -1
  603. package/dist/components/calcite-select.js +1 -1
  604. package/dist/components/calcite-shell-center-row.js +1 -1
  605. package/dist/components/calcite-shell-panel.js +1 -1
  606. package/dist/components/calcite-shell.js +1 -1
  607. package/dist/components/calcite-slider.js +1 -1
  608. package/dist/components/calcite-sortable-list.js +1 -1
  609. package/dist/components/calcite-split-button.js +1 -1
  610. package/dist/components/calcite-stepper-item.js +1 -1
  611. package/dist/components/calcite-stepper.js +1 -1
  612. package/dist/components/calcite-switch.js +1 -1
  613. package/dist/components/calcite-tab-nav.js +1 -1
  614. package/dist/components/calcite-tab-title.js +1 -1
  615. package/dist/components/calcite-tab.js +1 -1
  616. package/dist/components/calcite-tabs.js +1 -1
  617. package/dist/components/calcite-tile-select-group.js +1 -1
  618. package/dist/components/calcite-tile-select.js +1 -1
  619. package/dist/components/calcite-tile.js +1 -1
  620. package/dist/components/calcite-time-picker.js +1 -1
  621. package/dist/components/calcite-tip-group.js +1 -1
  622. package/dist/components/calcite-tip-manager.js +1 -1
  623. package/dist/components/calcite-tip.js +1 -1
  624. package/dist/components/calcite-tooltip.js +1 -1
  625. package/dist/components/calcite-tree-item.js +1 -1
  626. package/dist/components/calcite-tree.js +1 -1
  627. package/dist/components/calcite-value-list-item.js +1 -1
  628. package/dist/components/calcite-value-list.js +1 -1
  629. package/dist/components/checkbox.js +1 -1
  630. package/dist/components/chip.js +1 -1
  631. package/dist/components/color-picker-hex-input.js +1 -1
  632. package/dist/components/color-picker-swatch.js +1 -1
  633. package/dist/components/conditionalSlot.js +1 -1
  634. package/dist/components/date-picker-day.js +1 -1
  635. package/dist/components/date-picker-month-header.js +1 -1
  636. package/dist/components/date-picker-month.js +1 -1
  637. package/dist/components/date-picker.js +1 -1
  638. package/dist/components/date.js +1 -1
  639. package/dist/components/debounce.js +1 -1
  640. package/dist/components/dom.js +1 -1
  641. package/dist/components/dropdown.js +1 -1
  642. package/dist/components/filter.js +1 -1
  643. package/dist/components/filter2.js +1 -1
  644. package/dist/components/floating-ui.js +154 -231
  645. package/dist/components/focusTrapComponent.js +1 -1
  646. package/dist/components/form.js +1 -1
  647. package/dist/components/graph.js +1 -1
  648. package/dist/components/guid.js +1 -1
  649. package/dist/components/handle.js +1 -1
  650. package/dist/components/icon.js +1 -1
  651. package/dist/components/index.js +1 -1
  652. package/dist/components/input.js +1 -1
  653. package/dist/components/interactive.js +1 -1
  654. package/dist/components/key.js +1 -1
  655. package/dist/components/label.js +1 -1
  656. package/dist/components/label2.js +1 -1
  657. package/dist/components/link.js +1 -1
  658. package/dist/components/loadable.js +1 -1
  659. package/dist/components/loader.js +1 -1
  660. package/dist/components/locale.js +1 -1
  661. package/dist/components/math.js +1 -1
  662. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  663. package/dist/components/observers.js +1 -1
  664. package/dist/components/openCloseComponent.js +1 -1
  665. package/dist/components/panel.js +1 -1
  666. package/dist/components/pick-list-item.js +1 -1
  667. package/dist/components/popover.js +1 -1
  668. package/dist/components/progress.js +1 -1
  669. package/dist/components/resources.js +1 -1
  670. package/dist/components/resources2.js +1 -1
  671. package/dist/components/resources3.js +1 -1
  672. package/dist/components/resources4.js +1 -1
  673. package/dist/components/scrim.js +1 -1
  674. package/dist/components/shared-list-render.js +1 -1
  675. package/dist/components/sortable.esm.js +1 -1
  676. package/dist/components/switch.js +1 -1
  677. package/dist/components/t9n.js +1 -1
  678. package/dist/components/tab-nav.js +1 -1
  679. package/dist/components/tab-title.js +1 -1
  680. package/dist/components/tab.js +1 -1
  681. package/dist/components/tabs.js +1 -1
  682. package/dist/components/tile.js +1 -1
  683. package/dist/components/time-picker.js +1 -1
  684. package/dist/components/tooltip.js +1 -1
  685. package/dist/components/utils.js +1 -1
  686. package/dist/components/utils2.js +1 -1
  687. package/dist/esm/{ExpandToggle-484ede7d.js → ExpandToggle-0e2ba5f6.js} +5 -5
  688. package/dist/esm/{Heading-90b4a47e.js → Heading-f5afb8a1.js} +2 -2
  689. package/dist/esm/{app-globals-469bd94b.js → app-globals-b283114a.js} +2 -2
  690. package/dist/esm/{array-a371b415.js → array-f2438ae4.js} +1 -1
  691. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  692. package/dist/esm/calcite-action-bar.entry.js +15 -15
  693. package/dist/esm/calcite-action-group.entry.js +12 -12
  694. package/dist/esm/calcite-action-menu.entry.js +9 -9
  695. package/dist/esm/calcite-action-pad.entry.js +14 -14
  696. package/dist/esm/calcite-action.entry.js +11 -11
  697. package/dist/esm/calcite-alert.entry.js +12 -12
  698. package/dist/esm/calcite-avatar.entry.js +6 -6
  699. package/dist/esm/calcite-block_2.entry.js +12 -12
  700. package/dist/esm/calcite-button.entry.js +13 -13
  701. package/dist/esm/calcite-card.entry.js +10 -10
  702. package/dist/esm/calcite-checkbox.entry.js +10 -10
  703. package/dist/esm/calcite-chip.entry.js +11 -11
  704. package/dist/esm/calcite-color-picker_3.entry.js +14 -14
  705. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  706. package/dist/esm/calcite-date-picker_4.entry.js +12 -12
  707. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  708. package/dist/esm/calcite-fab.entry.js +7 -7
  709. package/dist/esm/calcite-filter.entry.js +13 -13
  710. package/dist/esm/calcite-flow-item.entry.js +12 -12
  711. package/dist/esm/calcite-flow.entry.js +3 -3
  712. package/dist/esm/calcite-graph_2.entry.js +13 -13
  713. package/dist/esm/calcite-handle.entry.js +6 -6
  714. package/dist/esm/calcite-icon.entry.js +6 -6
  715. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  716. package/dist/esm/calcite-input-date-picker.entry.js +24 -20
  717. package/dist/esm/calcite-input-message.entry.js +5 -5
  718. package/dist/esm/calcite-input-number.entry.js +14 -14
  719. package/dist/esm/calcite-input-text.entry.js +13 -13
  720. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
  721. package/dist/esm/calcite-input.entry.js +14 -14
  722. package/dist/esm/calcite-label.entry.js +6 -6
  723. package/dist/esm/calcite-link.entry.js +7 -7
  724. package/dist/esm/calcite-list_3.entry.js +9 -9
  725. package/dist/esm/calcite-loader.entry.js +3 -3
  726. package/dist/esm/calcite-modal.entry.js +13 -13
  727. package/dist/esm/calcite-notice.entry.js +12 -12
  728. package/dist/esm/calcite-option_3.entry.js +10 -10
  729. package/dist/esm/calcite-pagination.entry.js +10 -10
  730. package/dist/esm/calcite-panel.entry.js +14 -14
  731. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  732. package/dist/esm/calcite-popover.entry.js +15 -15
  733. package/dist/esm/calcite-progress.entry.js +2 -2
  734. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  735. package/dist/esm/calcite-radio-button.entry.js +10 -10
  736. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  737. package/dist/esm/calcite-rating.entry.js +13 -13
  738. package/dist/esm/calcite-scrim.entry.js +9 -9
  739. package/dist/esm/calcite-shell_3.entry.js +11 -11
  740. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  741. package/dist/esm/calcite-split-button.entry.js +3 -3
  742. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  743. package/dist/esm/calcite-switch.entry.js +10 -10
  744. package/dist/esm/calcite-tab_4.entry.js +7 -7
  745. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  746. package/dist/esm/calcite-tile.entry.js +8 -8
  747. package/dist/esm/calcite-tip_3.entry.js +11 -11
  748. package/dist/esm/calcite-tooltip.entry.js +8 -8
  749. package/dist/esm/calcite-tree_2.entry.js +8 -8
  750. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  751. package/dist/esm/calcite.js +5 -5
  752. package/dist/esm/{conditionalSlot-e57231c0.js → conditionalSlot-0d1291a8.js} +3 -3
  753. package/dist/esm/{debounce-752519d2.js → debounce-c4cb494a.js} +1 -1
  754. package/dist/esm/{dom-a9ba459c.js → dom-0bf7f8e7.js} +3 -3
  755. package/dist/esm/{filter-580c893b.js → filter-7bb003e3.js} +2 -2
  756. package/dist/esm/{floating-ui-a6cb80ab.js → floating-ui-6640a3a1.js} +157 -234
  757. package/dist/esm/{focusTrapComponent-7044677e.js → focusTrapComponent-dfae5757.js} +2 -2
  758. package/dist/esm/{form-239ab500.js → form-91dcba1d.js} +3 -3
  759. package/dist/esm/{guid-1b3b1a75.js → guid-39c561d1.js} +1 -1
  760. package/dist/esm/{index-306667e4.js → index-cb9d63d5.js} +1 -1
  761. package/dist/esm/index.js +1 -1
  762. package/dist/esm/{interactive-25955d50.js → interactive-688b7505.js} +1 -1
  763. package/dist/esm/{key-a0012884.js → key-c174419f.js} +1 -1
  764. package/dist/esm/{label-1a53b3e5.js → label-f1a7f8b6.js} +2 -2
  765. package/dist/esm/{loadable-4ca1f25f.js → loadable-45a4e767.js} +1 -1
  766. package/dist/esm/loader.js +5 -5
  767. package/dist/esm/{locale-f3b45ca4.js → locale-fb6b90bc.js} +4 -4
  768. package/dist/esm/{math-cb0c9a42.js → math-0bdb2b13.js} +1 -1
  769. package/dist/esm/{nonChromiumPlatformUtils-97c67aed.js → nonChromiumPlatformUtils-204821d7.js} +6 -6
  770. package/dist/esm/{observers-944ea463.js → observers-ca1ec37f.js} +1 -1
  771. package/dist/esm/{openCloseComponent-0f72e798.js → openCloseComponent-540d11b1.js} +2 -2
  772. package/dist/esm/{resources-6fe56f3f.js → resources-057f1ec0.js} +1 -1
  773. package/dist/esm/{resources-2dc287e4.js → resources-905e7f73.js} +1 -1
  774. package/dist/esm/{resources-5e48a8a1.js → resources-dab33130.js} +5 -5
  775. package/dist/esm/{resources-ba1cce6d.js → resources-dbe957f0.js} +1 -1
  776. package/dist/esm/{resources-25ea993d.js → resources-f5ea9f9c.js} +1 -1
  777. package/dist/esm/{resources-2988145f.js → resources-f93681ec.js} +1 -1
  778. package/dist/esm/{sortable.esm-dddff7ed.js → sortable.esm-70f3f344.js} +1 -1
  779. package/dist/esm/{t9n-ef976e46.js → t9n-6142e648.js} +3 -3
  780. package/dist/esm/{utils-75acecf1.js → utils-0a987fa3.js} +1 -1
  781. package/dist/esm/{utils-8eb026bf.js → utils-e89ec8e6.js} +3 -3
  782. package/dist/extras/docs-json.json +45 -84
  783. package/dist/extras/vscode-data.json +1 -17
  784. package/dist/loader/cdn.js +1 -1
  785. package/dist/loader/index.cjs.js +1 -1
  786. package/dist/loader/index.es2017.js +1 -1
  787. package/dist/loader/index.js +1 -1
  788. package/dist/types/components/action-bar/action-bar.d.ts +3 -3
  789. package/dist/types/components/action-pad/action-pad.d.ts +1 -1
  790. package/dist/types/components/alert/alert.d.ts +2 -2
  791. package/dist/types/components/block/block.d.ts +2 -2
  792. package/dist/types/components/block-section/block-section.d.ts +1 -1
  793. package/dist/types/components/dropdown/dropdown.d.ts +1 -1
  794. package/dist/types/components/flow/flow.d.ts +1 -1
  795. package/dist/types/components/flow-item/flow-item.d.ts +2 -1
  796. package/dist/types/components/input-date-picker/input-date-picker.d.ts +1 -0
  797. package/dist/types/components/notice/notice.d.ts +3 -3
  798. package/dist/types/components/scrim/scrim.d.ts +0 -2
  799. package/dist/types/components/shell/shell.d.ts +1 -1
  800. package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
  801. package/dist/types/components/stepper/stepper.d.ts +1 -1
  802. package/dist/types/components/tab/tab.d.ts +1 -1
  803. package/dist/types/components/tile-select-group/tile-select-group.d.ts +1 -1
  804. package/dist/types/components/tree-item/tree-item.d.ts +1 -1
  805. package/dist/types/components/value-list-item/value-list-item.d.ts +2 -2
  806. package/dist/types/components.d.ts +19 -11
  807. package/hydrate/index.js +174 -235
  808. package/package.json +14 -14
  809. package/dist/calcite/p-0e4780d7.js +0 -6
  810. package/dist/calcite/p-70b4f71d.js +0 -6
  811. package/dist/calcite/p-9c01e157.entry.js +0 -6
  812. package/dist/calcite/p-9d5c3896.entry.js +0 -6
  813. package/dist/calcite/p-a82bb0ad.entry.js +0 -6
  814. package/dist/calcite/p-c3bef4be.js +0 -6
  815. package/dist/calcite/p-ffcbbbba.entry.js +0 -6
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.702
4
+ * v1.0.0-next.704
5
5
  */
6
6
  import { c as getElementDir, r as closestElementCrossShadowBoundary } from './dom.js';
7
7
  import { Build } from '@stencil/core/internal/client/index.js';
@@ -36,7 +36,6 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
36
36
  const side = getSide(placement);
37
37
  const isVertical = mainAxis === 'x';
38
38
  let coords;
39
-
40
39
  switch (side) {
41
40
  case 'top':
42
41
  coords = {
@@ -44,45 +43,38 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
44
43
  y: reference.y - floating.height
45
44
  };
46
45
  break;
47
-
48
46
  case 'bottom':
49
47
  coords = {
50
48
  x: commonX,
51
49
  y: reference.y + reference.height
52
50
  };
53
51
  break;
54
-
55
52
  case 'right':
56
53
  coords = {
57
54
  x: reference.x + reference.width,
58
55
  y: commonY
59
56
  };
60
57
  break;
61
-
62
58
  case 'left':
63
59
  coords = {
64
60
  x: reference.x - floating.width,
65
61
  y: commonY
66
62
  };
67
63
  break;
68
-
69
64
  default:
70
65
  coords = {
71
66
  x: reference.x,
72
67
  y: reference.y
73
68
  };
74
69
  }
75
-
76
70
  switch (getAlignment(placement)) {
77
71
  case 'start':
78
72
  coords[mainAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
79
73
  break;
80
-
81
74
  case 'end':
82
75
  coords[mainAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
83
76
  break;
84
77
  }
85
-
86
78
  return coords;
87
79
  }
88
80
 
@@ -93,7 +85,6 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
93
85
  * This export does not have any `platform` interface logic. You will need to
94
86
  * write one for the platform you are using Floating UI with.
95
87
  */
96
-
97
88
  const computePosition$1 = async (reference, floating, config) => {
98
89
  const {
99
90
  placement = 'bottom',
@@ -103,7 +94,6 @@ const computePosition$1 = async (reference, floating, config) => {
103
94
  } = config;
104
95
  const validMiddleware = middleware.filter(Boolean);
105
96
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
106
-
107
97
  let rects = await platform.getElementRects({
108
98
  reference,
109
99
  floating,
@@ -116,7 +106,6 @@ const computePosition$1 = async (reference, floating, config) => {
116
106
  let statefulPlacement = placement;
117
107
  let middlewareData = {};
118
108
  let resetCount = 0;
119
-
120
109
  for (let i = 0; i < validMiddleware.length; i++) {
121
110
  const {
122
111
  name,
@@ -143,20 +132,19 @@ const computePosition$1 = async (reference, floating, config) => {
143
132
  });
144
133
  x = nextX != null ? nextX : x;
145
134
  y = nextY != null ? nextY : y;
146
- middlewareData = { ...middlewareData,
147
- [name]: { ...middlewareData[name],
135
+ middlewareData = {
136
+ ...middlewareData,
137
+ [name]: {
138
+ ...middlewareData[name],
148
139
  ...data
149
140
  }
150
141
  };
151
-
152
142
  if (reset && resetCount <= 50) {
153
143
  resetCount++;
154
-
155
144
  if (typeof reset === 'object') {
156
145
  if (reset.placement) {
157
146
  statefulPlacement = reset.placement;
158
147
  }
159
-
160
148
  if (reset.rects) {
161
149
  rects = reset.rects === true ? await platform.getElementRects({
162
150
  reference,
@@ -164,18 +152,15 @@ const computePosition$1 = async (reference, floating, config) => {
164
152
  strategy
165
153
  }) : reset.rects;
166
154
  }
167
-
168
155
  ({
169
156
  x,
170
157
  y
171
158
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
172
159
  }
173
-
174
160
  i = -1;
175
161
  continue;
176
162
  }
177
163
  }
178
-
179
164
  return {
180
165
  x,
181
166
  y,
@@ -205,7 +190,8 @@ function getSideObjectFromPadding(padding) {
205
190
  }
206
191
 
207
192
  function rectToClientRect(rect) {
208
- return { ...rect,
193
+ return {
194
+ ...rect,
209
195
  top: rect.y,
210
196
  left: rect.x,
211
197
  right: rect.x + rect.width,
@@ -223,11 +209,9 @@ function rectToClientRect(rect) {
223
209
  */
224
210
  async function detectOverflow(middlewareArguments, options) {
225
211
  var _await$platform$isEle;
226
-
227
212
  if (options === void 0) {
228
213
  options = {};
229
214
  }
230
-
231
215
  const {
232
216
  x,
233
217
  y,
@@ -252,7 +236,8 @@ async function detectOverflow(middlewareArguments, options) {
252
236
  rootBoundary,
253
237
  strategy
254
238
  }));
255
- const rect = elementContext === 'floating' ? { ...rects.floating,
239
+ const rect = elementContext === 'floating' ? {
240
+ ...rects.floating,
256
241
  x,
257
242
  y
258
243
  } : rects.reference;
@@ -269,7 +254,6 @@ async function detectOverflow(middlewareArguments, options) {
269
254
  offsetParent,
270
255
  strategy
271
256
  }) : rect);
272
-
273
257
  return {
274
258
  top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
275
259
  bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
@@ -293,7 +277,6 @@ function within(min$1$1, value, max$1$1) {
293
277
  const arrow = options => ({
294
278
  name: 'arrow',
295
279
  options,
296
-
297
280
  async fn(middlewareArguments) {
298
281
  // Since `element` is required, we don't Partial<> the type
299
282
  const {
@@ -307,19 +290,15 @@ const arrow = options => ({
307
290
  rects,
308
291
  platform
309
292
  } = middlewareArguments;
310
-
311
293
  if (element == null) {
312
-
313
294
  return {};
314
295
  }
315
-
316
296
  const paddingObject = getSideObjectFromPadding(padding);
317
297
  const coords = {
318
298
  x,
319
299
  y
320
300
  };
321
301
  const axis = getMainAxisFromPlacement(placement);
322
- const alignment = getAlignment(placement);
323
302
  const length = getLengthFromAxis(axis);
324
303
  const arrowDimensions = await platform.getDimensions(element);
325
304
  const minProp = axis === 'y' ? 'top' : 'left';
@@ -328,21 +307,23 @@ const arrow = options => ({
328
307
  const startDiff = coords[axis] - rects.reference[axis];
329
308
  const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
330
309
  let clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
331
-
332
310
  if (clientSize === 0) {
333
311
  clientSize = rects.floating[length];
334
312
  }
313
+ const centerToReference = endDiff / 2 - startDiff / 2;
335
314
 
336
- const centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the floating element if the center
315
+ // Make sure the arrow doesn't overflow the floating element if the center
337
316
  // point is outside the floating element's bounds
338
-
339
317
  const min = paddingObject[minProp];
340
318
  const max = clientSize - arrowDimensions[length] - paddingObject[maxProp];
341
319
  const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
342
- const offset = within(min, center, max); // Make sure that arrow points at the reference
320
+ const offset = within(min, center, max);
343
321
 
344
- const alignmentPadding = alignment === 'start' ? paddingObject[minProp] : paddingObject[maxProp];
345
- const shouldAddOffset = alignmentPadding > 0 && center !== offset && rects.reference[length] <= rects.floating[length];
322
+ // If the reference is small enough that the arrow's padding causes it to
323
+ // to point to nothing for an aligned placement, adjust the offset of the
324
+ // floating element itself. This stops `shift()` from taking action, but can
325
+ // be worked around by calling it again after the `arrow()` if desired.
326
+ const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min ? paddingObject[minProp] : paddingObject[maxProp]) - arrowDimensions[length] / 2 < 0;
346
327
  const alignmentOffset = shouldAddOffset ? center < min ? min - center : max - center : 0;
347
328
  return {
348
329
  [axis]: coords[axis] - alignmentOffset,
@@ -352,7 +333,6 @@ const arrow = options => ({
352
333
  }
353
334
  };
354
335
  }
355
-
356
336
  });
357
337
 
358
338
  const hash$1 = {
@@ -369,16 +349,13 @@ function getAlignmentSides(placement, rects, rtl) {
369
349
  if (rtl === void 0) {
370
350
  rtl = false;
371
351
  }
372
-
373
352
  const alignment = getAlignment(placement);
374
353
  const mainAxis = getMainAxisFromPlacement(placement);
375
354
  const length = getLengthFromAxis(mainAxis);
376
355
  let mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
377
-
378
356
  if (rects.reference[length] > rects.floating[length]) {
379
357
  mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
380
358
  }
381
-
382
359
  return {
383
360
  main: mainAlignmentSide,
384
361
  cross: getOppositePlacement(mainAlignmentSide)
@@ -402,11 +379,9 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
402
379
  if (alignment) {
403
380
  return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
404
381
  }
405
-
406
382
  return true;
407
383
  });
408
384
  }
409
-
410
385
  /**
411
386
  * Automatically chooses the `placement` which has the most space available.
412
387
  * @see https://floating-ui.com/docs/autoPlacement
@@ -415,14 +390,11 @@ const autoPlacement = function (options) {
415
390
  if (options === void 0) {
416
391
  options = {};
417
392
  }
418
-
419
393
  return {
420
394
  name: 'autoPlacement',
421
395
  options,
422
-
423
396
  async fn(middlewareArguments) {
424
397
  var _middlewareData$autoP, _middlewareData$autoP2, _middlewareData$autoP3, _middlewareData$autoP4, _placementsSortedByLe;
425
-
426
398
  const {
427
399
  x,
428
400
  y,
@@ -433,25 +405,24 @@ const autoPlacement = function (options) {
433
405
  elements
434
406
  } = middlewareArguments;
435
407
  const {
436
- alignment = null,
408
+ alignment,
437
409
  allowedPlacements = allPlacements,
438
410
  autoAlignment = true,
439
411
  ...detectOverflowOptions
440
412
  } = options;
441
- const placements = getPlacementList(alignment, autoAlignment, allowedPlacements);
413
+ const placements = alignment !== undefined || allowedPlacements === allPlacements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
442
414
  const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);
443
415
  const currentIndex = (_middlewareData$autoP = (_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.index) != null ? _middlewareData$autoP : 0;
444
416
  const currentPlacement = placements[currentIndex];
445
-
446
417
  if (currentPlacement == null) {
447
418
  return {};
448
419
  }
449
-
450
420
  const {
451
421
  main,
452
422
  cross
453
- } = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))); // Make `computeCoords` start from the right place
423
+ } = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
454
424
 
425
+ // Make `computeCoords` start from the right place
455
426
  if (placement !== currentPlacement) {
456
427
  return {
457
428
  x,
@@ -461,14 +432,14 @@ const autoPlacement = function (options) {
461
432
  }
462
433
  };
463
434
  }
464
-
465
435
  const currentOverflows = [overflow[getSide(currentPlacement)], overflow[main], overflow[cross]];
466
436
  const allOverflows = [...((_middlewareData$autoP3 = (_middlewareData$autoP4 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP4.overflows) != null ? _middlewareData$autoP3 : []), {
467
437
  placement: currentPlacement,
468
438
  overflows: currentOverflows
469
439
  }];
470
- const nextPlacement = placements[currentIndex + 1]; // There are more placements to check
440
+ const nextPlacement = placements[currentIndex + 1];
471
441
 
442
+ // There are more placements to check
472
443
  if (nextPlacement) {
473
444
  return {
474
445
  data: {
@@ -480,7 +451,6 @@ const autoPlacement = function (options) {
480
451
  }
481
452
  };
482
453
  }
483
-
484
454
  const placementsSortedByLeastOverflow = allOverflows.slice().sort((a, b) => a.overflows[0] - b.overflows[0]);
485
455
  const placementThatFitsOnAllSides = (_placementsSortedByLe = placementsSortedByLeastOverflow.find(_ref => {
486
456
  let {
@@ -489,7 +459,6 @@ const autoPlacement = function (options) {
489
459
  return overflows.every(overflow => overflow <= 0);
490
460
  })) == null ? void 0 : _placementsSortedByLe.placement;
491
461
  const resetPlacement = placementThatFitsOnAllSides != null ? placementThatFitsOnAllSides : placementsSortedByLeastOverflow[0].placement;
492
-
493
462
  if (resetPlacement !== placement) {
494
463
  return {
495
464
  data: {
@@ -501,10 +470,8 @@ const autoPlacement = function (options) {
501
470
  }
502
471
  };
503
472
  }
504
-
505
473
  return {};
506
474
  }
507
-
508
475
  };
509
476
  };
510
477
 
@@ -522,14 +489,11 @@ const flip = function (options) {
522
489
  if (options === void 0) {
523
490
  options = {};
524
491
  }
525
-
526
492
  return {
527
493
  name: 'flip',
528
494
  options,
529
-
530
495
  async fn(middlewareArguments) {
531
496
  var _middlewareData$flip;
532
-
533
497
  const {
534
498
  placement,
535
499
  middlewareData,
@@ -553,11 +517,9 @@ const flip = function (options) {
553
517
  const overflow = await detectOverflow(middlewareArguments, detectOverflowOptions);
554
518
  const overflows = [];
555
519
  let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
556
-
557
520
  if (checkMainAxis) {
558
521
  overflows.push(overflow[side]);
559
522
  }
560
-
561
523
  if (checkCrossAxis) {
562
524
  const {
563
525
  main,
@@ -565,18 +527,16 @@ const flip = function (options) {
565
527
  } = getAlignmentSides(placement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
566
528
  overflows.push(overflow[main], overflow[cross]);
567
529
  }
568
-
569
530
  overflowsData = [...overflowsData, {
570
531
  placement,
571
532
  overflows
572
- }]; // One or more sides is overflowing
533
+ }];
573
534
 
535
+ // One or more sides is overflowing
574
536
  if (!overflows.every(side => side <= 0)) {
575
537
  var _middlewareData$flip$, _middlewareData$flip2;
576
-
577
538
  const nextIndex = ((_middlewareData$flip$ = (_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) != null ? _middlewareData$flip$ : 0) + 1;
578
539
  const nextPlacement = placements[nextIndex];
579
-
580
540
  if (nextPlacement) {
581
541
  // Try next placement and re-run the lifecycle
582
542
  return {
@@ -589,28 +549,21 @@ const flip = function (options) {
589
549
  }
590
550
  };
591
551
  }
592
-
593
552
  let resetPlacement = 'bottom';
594
-
595
553
  switch (fallbackStrategy) {
596
554
  case 'bestFit':
597
555
  {
598
556
  var _overflowsData$map$so;
599
-
600
557
  const placement = (_overflowsData$map$so = overflowsData.map(d => [d, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0].placement;
601
-
602
558
  if (placement) {
603
559
  resetPlacement = placement;
604
560
  }
605
-
606
561
  break;
607
562
  }
608
-
609
563
  case 'initialPlacement':
610
564
  resetPlacement = initialPlacement;
611
565
  break;
612
566
  }
613
-
614
567
  if (placement !== resetPlacement) {
615
568
  return {
616
569
  reset: {
@@ -619,10 +572,8 @@ const flip = function (options) {
619
572
  };
620
573
  }
621
574
  }
622
-
623
575
  return {};
624
576
  }
625
-
626
577
  };
627
578
  };
628
579
 
@@ -634,33 +585,34 @@ function getSideOffsets(overflow, rect) {
634
585
  left: overflow.left - rect.width
635
586
  };
636
587
  }
637
-
638
588
  function isAnySideFullyClipped(overflow) {
639
589
  return sides.some(side => overflow[side] >= 0);
640
590
  }
641
-
642
591
  /**
643
592
  * Provides data to hide the floating element in applicable situations, such as
644
593
  * when it is not in the same clipping context as the reference element.
645
594
  * @see https://floating-ui.com/docs/hide
646
595
  */
647
- const hide = function (_temp) {
648
- let {
649
- strategy = 'referenceHidden',
650
- ...detectOverflowOptions
651
- } = _temp === void 0 ? {} : _temp;
596
+ const hide = function (options) {
597
+ if (options === void 0) {
598
+ options = {};
599
+ }
652
600
  return {
653
601
  name: 'hide',
654
-
602
+ options,
655
603
  async fn(middlewareArguments) {
604
+ const {
605
+ strategy = 'referenceHidden',
606
+ ...detectOverflowOptions
607
+ } = options;
656
608
  const {
657
609
  rects
658
610
  } = middlewareArguments;
659
-
660
611
  switch (strategy) {
661
612
  case 'referenceHidden':
662
613
  {
663
- const overflow = await detectOverflow(middlewareArguments, { ...detectOverflowOptions,
614
+ const overflow = await detectOverflow(middlewareArguments, {
615
+ ...detectOverflowOptions,
664
616
  elementContext: 'reference'
665
617
  });
666
618
  const offsets = getSideOffsets(overflow, rects.reference);
@@ -671,10 +623,10 @@ const hide = function (_temp) {
671
623
  }
672
624
  };
673
625
  }
674
-
675
626
  case 'escaped':
676
627
  {
677
- const overflow = await detectOverflow(middlewareArguments, { ...detectOverflowOptions,
628
+ const overflow = await detectOverflow(middlewareArguments, {
629
+ ...detectOverflowOptions,
678
630
  altBoundary: true
679
631
  });
680
632
  const offsets = getSideOffsets(overflow, rects.floating);
@@ -685,14 +637,12 @@ const hide = function (_temp) {
685
637
  }
686
638
  };
687
639
  }
688
-
689
640
  default:
690
641
  {
691
642
  return {};
692
643
  }
693
644
  }
694
645
  }
695
-
696
646
  };
697
647
  };
698
648
 
@@ -708,8 +658,9 @@ async function convertValueToCoords(middlewareArguments, value) {
708
658
  const isVertical = getMainAxisFromPlacement(placement) === 'x';
709
659
  const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
710
660
  const crossAxisMulti = rtl && isVertical ? -1 : 1;
711
- const rawValue = typeof value === 'function' ? value(middlewareArguments) : value; // eslint-disable-next-line prefer-const
661
+ const rawValue = typeof value === 'function' ? value(middlewareArguments) : value;
712
662
 
663
+ // eslint-disable-next-line prefer-const
713
664
  let {
714
665
  mainAxis,
715
666
  crossAxis,
@@ -724,11 +675,9 @@ async function convertValueToCoords(middlewareArguments, value) {
724
675
  alignmentAxis: null,
725
676
  ...rawValue
726
677
  };
727
-
728
678
  if (alignment && typeof alignmentAxis === 'number') {
729
679
  crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
730
680
  }
731
-
732
681
  return isVertical ? {
733
682
  x: crossAxis * crossAxisMulti,
734
683
  y: mainAxis * mainAxisMulti
@@ -737,20 +686,18 @@ async function convertValueToCoords(middlewareArguments, value) {
737
686
  y: crossAxis * crossAxisMulti
738
687
  };
739
688
  }
689
+
740
690
  /**
741
691
  * Displaces the floating element from its reference element.
742
692
  * @see https://floating-ui.com/docs/offset
743
693
  */
744
-
745
694
  const offset = function (value) {
746
695
  if (value === void 0) {
747
696
  value = 0;
748
697
  }
749
-
750
698
  return {
751
699
  name: 'offset',
752
700
  options: value,
753
-
754
701
  async fn(middlewareArguments) {
755
702
  const {
756
703
  x,
@@ -763,7 +710,6 @@ const offset = function (value) {
763
710
  data: diffCoords
764
711
  };
765
712
  }
766
-
767
713
  };
768
714
  };
769
715
 
@@ -780,11 +726,9 @@ const shift = function (options) {
780
726
  if (options === void 0) {
781
727
  options = {};
782
728
  }
783
-
784
729
  return {
785
730
  name: 'shift',
786
731
  options,
787
-
788
732
  async fn(middlewareArguments) {
789
733
  const {
790
734
  x,
@@ -817,7 +761,6 @@ const shift = function (options) {
817
761
  const crossAxis = getCrossAxis(mainAxis);
818
762
  let mainAxisCoord = coords[mainAxis];
819
763
  let crossAxisCoord = coords[crossAxis];
820
-
821
764
  if (checkMainAxis) {
822
765
  const minSide = mainAxis === 'y' ? 'top' : 'left';
823
766
  const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
@@ -825,7 +768,6 @@ const shift = function (options) {
825
768
  const max = mainAxisCoord - overflow[maxSide];
826
769
  mainAxisCoord = within(min, mainAxisCoord, max);
827
770
  }
828
-
829
771
  if (checkCrossAxis) {
830
772
  const minSide = crossAxis === 'y' ? 'top' : 'left';
831
773
  const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
@@ -833,29 +775,28 @@ const shift = function (options) {
833
775
  const max = crossAxisCoord - overflow[maxSide];
834
776
  crossAxisCoord = within(min, crossAxisCoord, max);
835
777
  }
836
-
837
- const limitedCoords = limiter.fn({ ...middlewareArguments,
778
+ const limitedCoords = limiter.fn({
779
+ ...middlewareArguments,
838
780
  [mainAxis]: mainAxisCoord,
839
781
  [crossAxis]: crossAxisCoord
840
782
  });
841
- return { ...limitedCoords,
783
+ return {
784
+ ...limitedCoords,
842
785
  data: {
843
786
  x: limitedCoords.x - x,
844
787
  y: limitedCoords.y - y
845
788
  }
846
789
  };
847
790
  }
848
-
849
791
  };
850
792
  };
851
793
 
852
794
  function getWindow(node) {
853
795
  var _node$ownerDocument;
854
-
855
796
  return ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
856
797
  }
857
798
 
858
- function getComputedStyle(element) {
799
+ function getComputedStyle$1(element) {
859
800
  return getWindow(element).getComputedStyle(element);
860
801
  }
861
802
 
@@ -868,14 +809,11 @@ function getUAString() {
868
809
  if (uaString) {
869
810
  return uaString;
870
811
  }
871
-
872
812
  const uaData = navigator.userAgentData;
873
-
874
813
  if (uaData && Array.isArray(uaData.brands)) {
875
814
  uaString = uaData.brands.map(item => item.brand + "/" + item.version).join(' ');
876
815
  return uaString;
877
816
  }
878
-
879
817
  return navigator.userAgent;
880
818
  }
881
819
 
@@ -893,19 +831,17 @@ function isShadowRoot(node) {
893
831
  if (typeof ShadowRoot === 'undefined') {
894
832
  return false;
895
833
  }
896
-
897
834
  const OwnElement = getWindow(node).ShadowRoot;
898
835
  return node instanceof OwnElement || node instanceof ShadowRoot;
899
836
  }
900
837
  function isOverflowElement(element) {
901
- // Firefox wants us to check `-x` and `-y` variations as well
902
838
  const {
903
839
  overflow,
904
840
  overflowX,
905
841
  overflowY,
906
842
  display
907
- } = getComputedStyle(element);
908
- return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
843
+ } = getComputedStyle$1(element);
844
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
909
845
  }
910
846
  function isTableElement(element) {
911
847
  return ['table', 'td', 'th'].includes(getNodeName(element));
@@ -913,12 +849,14 @@ function isTableElement(element) {
913
849
  function isContainingBlock(element) {
914
850
  // TODO: Try and use feature detection here instead
915
851
  const isFirefox = /firefox/i.test(getUAString());
916
- const css = getComputedStyle(element);
917
- const backdropFilter = css.backdropFilter || css.WebkitBackdropFilter; // This is non-exhaustive but covers the most common CSS properties that
852
+ const css = getComputedStyle$1(element);
853
+ const backdropFilter = css.backdropFilter || css.WebkitBackdropFilter;
854
+
855
+ // This is non-exhaustive but covers the most common CSS properties that
918
856
  // create a containing block.
919
857
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
920
-
921
- return css.transform !== 'none' || css.perspective !== 'none' || (backdropFilter ? backdropFilter !== 'none' : false) || 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
858
+ return css.transform !== 'none' || css.perspective !== 'none' || (backdropFilter ? backdropFilter !== 'none' : false) || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective'].some(value => css.willChange.includes(value)) || ['paint', 'layout', 'strict', 'content'].some(
859
+ // TS 4.1 compat
922
860
  value => {
923
861
  const contain = css.contain;
924
862
  return contain != null ? contain.includes(value) : false;
@@ -926,40 +864,70 @@ function isContainingBlock(element) {
926
864
  }
927
865
  function isLayoutViewport() {
928
866
  // Not Safari
929
- return !/^((?!chrome|android).)*safari/i.test(getUAString()); // Feature detection for this fails in various ways
867
+ return !/^((?!chrome|android).)*safari/i.test(getUAString());
868
+ // Feature detection for this fails in various ways
930
869
  // • Always-visible scrollbar or not
931
870
  // • Width of <html>, etc.
932
871
  // const vV = win.visualViewport;
933
872
  // return vV ? Math.abs(win.innerWidth / vV.scale - vV.width) < 0.5 : true;
934
873
  }
874
+
935
875
  function isLastTraversableNode(node) {
936
876
  return ['html', 'body', '#document'].includes(getNodeName(node));
937
877
  }
938
878
 
879
+ const min = Math.min;
880
+ const max = Math.max;
881
+ const round = Math.round;
882
+
883
+ function getCssDimensions(element) {
884
+ const css = getComputedStyle$1(element);
885
+ let width = parseFloat(css.width);
886
+ let height = parseFloat(css.height);
887
+ const offsetWidth = element.offsetWidth;
888
+ const offsetHeight = element.offsetHeight;
889
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
890
+ if (shouldFallback) {
891
+ width = offsetWidth;
892
+ height = offsetHeight;
893
+ }
894
+ return {
895
+ width,
896
+ height,
897
+ fallback: shouldFallback
898
+ };
899
+ }
900
+
901
+ function unwrapElement(element) {
902
+ return !isElement(element) ? element.contextElement : element;
903
+ }
904
+
939
905
  const FALLBACK_SCALE = {
940
906
  x: 1,
941
907
  y: 1
942
908
  };
943
909
  function getScale(element) {
944
- const domElement = !isElement(element) && element.contextElement ? element.contextElement : isElement(element) ? element : null;
945
-
946
- if (!domElement) {
910
+ const domElement = unwrapElement(element);
911
+ if (!isHTMLElement(domElement)) {
947
912
  return FALLBACK_SCALE;
948
913
  }
949
-
950
914
  const rect = domElement.getBoundingClientRect();
951
- const css = getComputedStyle(domElement);
952
- let x = rect.width / parseFloat(css.width);
953
- let y = rect.height / parseFloat(css.height); // 0, NaN, or Infinity should always fallback to 1.
915
+ const {
916
+ width,
917
+ height,
918
+ fallback
919
+ } = getCssDimensions(domElement);
920
+ let x = (fallback ? round(rect.width) : rect.width) / width;
921
+ let y = (fallback ? round(rect.height) : rect.height) / height;
922
+
923
+ // 0, NaN, or Infinity should always fallback to 1.
954
924
 
955
925
  if (!x || !Number.isFinite(x)) {
956
926
  x = 1;
957
927
  }
958
-
959
928
  if (!y || !Number.isFinite(y)) {
960
929
  y = 1;
961
930
  }
962
-
963
931
  return {
964
932
  x,
965
933
  y
@@ -967,19 +935,16 @@ function getScale(element) {
967
935
  }
968
936
 
969
937
  function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
970
- var _win$visualViewport$o, _win$visualViewport, _win$visualViewport$o2, _win$visualViewport2;
971
-
938
+ var _win$visualViewport, _win$visualViewport2;
972
939
  if (includeScale === void 0) {
973
940
  includeScale = false;
974
941
  }
975
-
976
942
  if (isFixedStrategy === void 0) {
977
943
  isFixedStrategy = false;
978
944
  }
979
-
980
945
  const clientRect = element.getBoundingClientRect();
946
+ const domElement = unwrapElement(element);
981
947
  let scale = FALLBACK_SCALE;
982
-
983
948
  if (includeScale) {
984
949
  if (offsetParent) {
985
950
  if (isElement(offsetParent)) {
@@ -989,13 +954,31 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
989
954
  scale = getScale(element);
990
955
  }
991
956
  }
992
-
993
- const win = isElement(element) ? getWindow(element) : window;
957
+ const win = domElement ? getWindow(domElement) : window;
994
958
  const addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
995
- const x = (clientRect.left + (addVisualOffsets ? (_win$visualViewport$o = (_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) != null ? _win$visualViewport$o : 0 : 0)) / scale.x;
996
- const y = (clientRect.top + (addVisualOffsets ? (_win$visualViewport$o2 = (_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) != null ? _win$visualViewport$o2 : 0 : 0)) / scale.y;
997
- const width = clientRect.width / scale.x;
998
- const height = clientRect.height / scale.y;
959
+ let x = (clientRect.left + (addVisualOffsets ? ((_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) || 0 : 0)) / scale.x;
960
+ let y = (clientRect.top + (addVisualOffsets ? ((_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) || 0 : 0)) / scale.y;
961
+ let width = clientRect.width / scale.x;
962
+ let height = clientRect.height / scale.y;
963
+ if (domElement) {
964
+ const win = getWindow(domElement);
965
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
966
+ let currentIFrame = win.frameElement;
967
+ while (currentIFrame && offsetParent && offsetWin !== win) {
968
+ const iframeScale = getScale(currentIFrame);
969
+ const iframeRect = currentIFrame.getBoundingClientRect();
970
+ const css = getComputedStyle(currentIFrame);
971
+ iframeRect.x += (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
972
+ iframeRect.y += (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
973
+ x *= iframeScale.x;
974
+ y *= iframeScale.y;
975
+ width *= iframeScale.x;
976
+ height *= iframeScale.y;
977
+ x += iframeRect.x;
978
+ y += iframeRect.y;
979
+ currentIFrame = getWindow(currentIFrame).frameElement;
980
+ }
981
+ }
999
982
  return {
1000
983
  width,
1001
984
  height,
@@ -1019,7 +1002,6 @@ function getNodeScroll(element) {
1019
1002
  scrollTop: element.scrollTop
1020
1003
  };
1021
1004
  }
1022
-
1023
1005
  return {
1024
1006
  scrollLeft: element.pageXOffset,
1025
1007
  scrollTop: element.pageYOffset
@@ -1044,12 +1026,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1044
1026
  x: 0,
1045
1027
  y: 0
1046
1028
  };
1047
-
1048
1029
  if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
1049
1030
  if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1050
1031
  scroll = getNodeScroll(offsetParent);
1051
1032
  }
1052
-
1053
1033
  if (isHTMLElement(offsetParent)) {
1054
1034
  const offsetRect = getBoundingClientRect(offsetParent, true);
1055
1035
  offsets.x = offsetRect.x + offsetParent.clientLeft;
@@ -1058,7 +1038,6 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1058
1038
  offsets.x = getWindowScrollBarX(documentElement);
1059
1039
  }
1060
1040
  }
1061
-
1062
1041
  return {
1063
1042
  x: rect.left + scroll.scrollLeft - offsets.x,
1064
1043
  y: rect.top + scroll.scrollTop - offsets.y,
@@ -1071,26 +1050,26 @@ function getParentNode(node) {
1071
1050
  if (getNodeName(node) === 'html') {
1072
1051
  return node;
1073
1052
  }
1074
-
1075
- const result = // Step into the shadow DOM of the parent of a slotted node
1076
- node.assignedSlot || // DOM Element detected
1077
- node.parentNode || ( // ShadowRoot detected
1078
- isShadowRoot(node) ? node.host : null) || // Fallback
1053
+ const result =
1054
+ // Step into the shadow DOM of the parent of a slotted node
1055
+ node.assignedSlot ||
1056
+ // DOM Element detected
1057
+ node.parentNode || (
1058
+ // ShadowRoot detected
1059
+ isShadowRoot(node) ? node.host : null) ||
1060
+ // Fallback
1079
1061
  getDocumentElement(node);
1080
1062
  return isShadowRoot(result) ? result.host : result;
1081
1063
  }
1082
1064
 
1083
1065
  function getTrueOffsetParent(element) {
1084
- if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
1066
+ if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
1085
1067
  return null;
1086
1068
  }
1087
-
1088
1069
  return element.offsetParent;
1089
1070
  }
1090
-
1091
1071
  function getContainingBlock(element) {
1092
1072
  let currentNode = getParentNode(element);
1093
-
1094
1073
  while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
1095
1074
  if (isContainingBlock(currentNode)) {
1096
1075
  return currentNode;
@@ -1098,40 +1077,25 @@ function getContainingBlock(element) {
1098
1077
  currentNode = getParentNode(currentNode);
1099
1078
  }
1100
1079
  }
1101
-
1102
1080
  return null;
1103
- } // Gets the closest ancestor positioned element. Handles some edge cases,
1104
- // such as table ancestors and cross browser bugs.
1105
-
1081
+ }
1106
1082
 
1083
+ // Gets the closest ancestor positioned element. Handles some edge cases,
1084
+ // such as table ancestors and cross browser bugs.
1107
1085
  function getOffsetParent(element) {
1108
1086
  const window = getWindow(element);
1109
1087
  let offsetParent = getTrueOffsetParent(element);
1110
-
1111
- while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
1088
+ while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
1112
1089
  offsetParent = getTrueOffsetParent(offsetParent);
1113
1090
  }
1114
-
1115
- if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
1091
+ if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
1116
1092
  return window;
1117
1093
  }
1118
-
1119
1094
  return offsetParent || getContainingBlock(element) || window;
1120
1095
  }
1121
1096
 
1122
1097
  function getDimensions(element) {
1123
- if (isHTMLElement(element)) {
1124
- return {
1125
- width: element.offsetWidth,
1126
- height: element.offsetHeight
1127
- };
1128
- }
1129
-
1130
- const rect = getBoundingClientRect(element);
1131
- return {
1132
- width: rect.width,
1133
- height: rect.height
1134
- };
1098
+ return getCssDimensions(element);
1135
1099
  }
1136
1100
 
1137
1101
  function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
@@ -1142,11 +1106,9 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1142
1106
  } = _ref;
1143
1107
  const isOffsetParentAnElement = isHTMLElement(offsetParent);
1144
1108
  const documentElement = getDocumentElement(offsetParent);
1145
-
1146
1109
  if (offsetParent === documentElement) {
1147
1110
  return rect;
1148
1111
  }
1149
-
1150
1112
  let scroll = {
1151
1113
  scrollLeft: 0,
1152
1114
  scrollTop: 0
@@ -1159,22 +1121,20 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1159
1121
  x: 0,
1160
1122
  y: 0
1161
1123
  };
1162
-
1163
1124
  if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
1164
1125
  if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1165
1126
  scroll = getNodeScroll(offsetParent);
1166
1127
  }
1167
-
1168
1128
  if (isHTMLElement(offsetParent)) {
1169
1129
  const offsetRect = getBoundingClientRect(offsetParent);
1170
1130
  scale = getScale(offsetParent);
1171
1131
  offsets.x = offsetRect.x + offsetParent.clientLeft;
1172
1132
  offsets.y = offsetRect.y + offsetParent.clientTop;
1173
- } // This doesn't appear to need to be negated.
1133
+ }
1134
+ // This doesn't appear to need to be negated.
1174
1135
  // else if (documentElement) {
1175
1136
  // offsets.x = getWindowScrollBarX(documentElement);
1176
1137
  // }
1177
-
1178
1138
  }
1179
1139
 
1180
1140
  return {
@@ -1193,18 +1153,15 @@ function getViewportRect(element, strategy) {
1193
1153
  let height = html.clientHeight;
1194
1154
  let x = 0;
1195
1155
  let y = 0;
1196
-
1197
1156
  if (visualViewport) {
1198
1157
  width = visualViewport.width;
1199
1158
  height = visualViewport.height;
1200
1159
  const layoutViewport = isLayoutViewport();
1201
-
1202
1160
  if (layoutViewport || !layoutViewport && strategy === 'fixed') {
1203
1161
  x = visualViewport.offsetLeft;
1204
1162
  y = visualViewport.offsetTop;
1205
1163
  }
1206
1164
  }
1207
-
1208
1165
  return {
1209
1166
  width,
1210
1167
  height,
@@ -1213,14 +1170,10 @@ function getViewportRect(element, strategy) {
1213
1170
  };
1214
1171
  }
1215
1172
 
1216
- const min = Math.min;
1217
- const max = Math.max;
1218
-
1173
+ // Gets the entire size of the scrollable document area, even extending outside
1219
1174
  // of the `<html>` and `<body>` rect bounds if horizontally scrollable
1220
-
1221
1175
  function getDocumentRect(element) {
1222
1176
  var _element$ownerDocumen;
1223
-
1224
1177
  const html = getDocumentElement(element);
1225
1178
  const scroll = getNodeScroll(element);
1226
1179
  const body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
@@ -1228,11 +1181,9 @@ function getDocumentRect(element) {
1228
1181
  const height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
1229
1182
  let x = -scroll.scrollLeft + getWindowScrollBarX(element);
1230
1183
  const y = -scroll.scrollTop;
1231
-
1232
- if (getComputedStyle(body || html).direction === 'rtl') {
1184
+ if (getComputedStyle$1(body || html).direction === 'rtl') {
1233
1185
  x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
1234
1186
  }
1235
-
1236
1187
  return {
1237
1188
  width,
1238
1189
  height,
@@ -1243,34 +1194,27 @@ function getDocumentRect(element) {
1243
1194
 
1244
1195
  function getNearestOverflowAncestor(node) {
1245
1196
  const parentNode = getParentNode(node);
1246
-
1247
1197
  if (isLastTraversableNode(parentNode)) {
1248
1198
  // @ts-ignore assume body is always available
1249
1199
  return node.ownerDocument.body;
1250
1200
  }
1251
-
1252
1201
  if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
1253
1202
  return parentNode;
1254
1203
  }
1255
-
1256
1204
  return getNearestOverflowAncestor(parentNode);
1257
1205
  }
1258
1206
 
1259
1207
  function getOverflowAncestors(node, list) {
1260
1208
  var _node$ownerDocument;
1261
-
1262
1209
  if (list === void 0) {
1263
1210
  list = [];
1264
1211
  }
1265
-
1266
1212
  const scrollableAncestor = getNearestOverflowAncestor(node);
1267
1213
  const isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);
1268
1214
  const win = getWindow(scrollableAncestor);
1269
-
1270
1215
  if (isBody) {
1271
1216
  return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
1272
1217
  }
1273
-
1274
1218
  return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
1275
1219
  }
1276
1220
 
@@ -1298,39 +1242,34 @@ function getInnerBoundingClientRect(element, strategy) {
1298
1242
  height
1299
1243
  };
1300
1244
  }
1301
-
1302
1245
  function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1303
1246
  if (clippingAncestor === 'viewport') {
1304
1247
  return rectToClientRect(getViewportRect(element, strategy));
1305
1248
  }
1306
-
1307
1249
  if (isElement(clippingAncestor)) {
1308
1250
  return getInnerBoundingClientRect(clippingAncestor, strategy);
1309
1251
  }
1310
-
1311
1252
  return rectToClientRect(getDocumentRect(getDocumentElement(element)));
1312
- } // A "clipping ancestor" is an `overflow` element with the characteristic of
1253
+ }
1254
+
1255
+ // A "clipping ancestor" is an `overflow` element with the characteristic of
1313
1256
  // clipping (or hiding) child elements. This returns all clipping ancestors
1314
1257
  // of the given element up the tree.
1315
-
1316
-
1317
1258
  function getClippingElementAncestors(element, cache) {
1318
1259
  const cachedResult = cache.get(element);
1319
-
1320
1260
  if (cachedResult) {
1321
1261
  return cachedResult;
1322
1262
  }
1323
-
1324
1263
  let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
1325
1264
  let currentContainingBlockComputedStyle = null;
1326
- const elementIsFixed = getComputedStyle(element).position === 'fixed';
1327
- let currentNode = elementIsFixed ? getParentNode(element) : element; // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1265
+ const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
1266
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
1328
1267
 
1268
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1329
1269
  while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1330
- const computedStyle = getComputedStyle(currentNode);
1270
+ const computedStyle = getComputedStyle$1(currentNode);
1331
1271
  const containingBlock = isContainingBlock(currentNode);
1332
1272
  const shouldDropCurrentNode = elementIsFixed ? !containingBlock && !currentContainingBlockComputedStyle : !containingBlock && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position);
1333
-
1334
1273
  if (shouldDropCurrentNode) {
1335
1274
  // Drop non-containing blocks
1336
1275
  result = result.filter(ancestor => ancestor !== currentNode);
@@ -1338,16 +1277,14 @@ function getClippingElementAncestors(element, cache) {
1338
1277
  // Record last containing block for next iteration
1339
1278
  currentContainingBlockComputedStyle = computedStyle;
1340
1279
  }
1341
-
1342
1280
  currentNode = getParentNode(currentNode);
1343
1281
  }
1344
-
1345
1282
  cache.set(element, result);
1346
1283
  return result;
1347
- } // Gets the maximum area that the element is visible in due to any number of
1348
- // clipping ancestors
1349
-
1284
+ }
1350
1285
 
1286
+ // Gets the maximum area that the element is visible in due to any number of
1287
+ // clipping ancestors
1351
1288
  function getClippingRect(_ref) {
1352
1289
  let {
1353
1290
  element,
@@ -1382,7 +1319,6 @@ const platform = {
1382
1319
  getOffsetParent,
1383
1320
  getDocumentElement,
1384
1321
  getScale,
1385
-
1386
1322
  async getElementRects(_ref) {
1387
1323
  let {
1388
1324
  reference,
@@ -1400,9 +1336,8 @@ const platform = {
1400
1336
  }
1401
1337
  };
1402
1338
  },
1403
-
1404
1339
  getClientRects: element => Array.from(element.getClientRects()),
1405
- isRTL: element => getComputedStyle(element).direction === 'rtl'
1340
+ isRTL: element => getComputedStyle$1(element).direction === 'rtl'
1406
1341
  };
1407
1342
 
1408
1343
  /**
@@ -1413,7 +1348,6 @@ function autoUpdate(reference, floating, update, options) {
1413
1348
  if (options === void 0) {
1414
1349
  options = {};
1415
1350
  }
1416
-
1417
1351
  const {
1418
1352
  ancestorScroll: _ancestorScroll = true,
1419
1353
  ancestorResize = true,
@@ -1429,54 +1363,42 @@ function autoUpdate(reference, floating, update, options) {
1429
1363
  ancestorResize && ancestor.addEventListener('resize', update);
1430
1364
  });
1431
1365
  let observer = null;
1432
-
1433
1366
  if (elementResize) {
1434
1367
  let initialUpdate = true;
1435
1368
  observer = new ResizeObserver(() => {
1436
1369
  if (!initialUpdate) {
1437
1370
  update();
1438
1371
  }
1439
-
1440
1372
  initialUpdate = false;
1441
1373
  });
1442
1374
  isElement(reference) && !animationFrame && observer.observe(reference);
1443
-
1444
1375
  if (!isElement(reference) && reference.contextElement && !animationFrame) {
1445
1376
  observer.observe(reference.contextElement);
1446
1377
  }
1447
-
1448
1378
  observer.observe(floating);
1449
1379
  }
1450
-
1451
1380
  let frameId;
1452
1381
  let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1453
-
1454
1382
  if (animationFrame) {
1455
1383
  frameLoop();
1456
1384
  }
1457
-
1458
1385
  function frameLoop() {
1459
1386
  const nextRefRect = getBoundingClientRect(reference);
1460
-
1461
1387
  if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
1462
1388
  update();
1463
1389
  }
1464
-
1465
1390
  prevRefRect = nextRefRect;
1466
1391
  frameId = requestAnimationFrame(frameLoop);
1467
1392
  }
1468
-
1469
1393
  update();
1470
1394
  return () => {
1471
1395
  var _observer;
1472
-
1473
1396
  ancestors.forEach(ancestor => {
1474
1397
  ancestorScroll && ancestor.removeEventListener('scroll', update);
1475
1398
  ancestorResize && ancestor.removeEventListener('resize', update);
1476
1399
  });
1477
1400
  (_observer = observer) == null ? void 0 : _observer.disconnect();
1478
1401
  observer = null;
1479
-
1480
1402
  if (animationFrame) {
1481
1403
  cancelAnimationFrame(frameId);
1482
1404
  }
@@ -1488,7 +1410,6 @@ function autoUpdate(reference, floating, update, options) {
1488
1410
  * next to a reference element when it is given a certain CSS positioning
1489
1411
  * strategy.
1490
1412
  */
1491
-
1492
1413
  const computePosition = (reference, floating, options) => {
1493
1414
  // This caches the expensive `getClippingElementAncestors` function so that
1494
1415
  // multiple lifecycle resets re-use the same result. It only lives for a
@@ -1498,10 +1419,12 @@ const computePosition = (reference, floating, options) => {
1498
1419
  platform,
1499
1420
  ...options
1500
1421
  };
1501
- const platformWithCache = { ...mergedOptions.platform,
1422
+ const platformWithCache = {
1423
+ ...mergedOptions.platform,
1502
1424
  _c: cache
1503
1425
  };
1504
- return computePosition$1(reference, floating, { ...mergedOptions,
1426
+ return computePosition$1(reference, floating, {
1427
+ ...mergedOptions,
1505
1428
  platform: platformWithCache
1506
1429
  });
1507
1430
  };