@poveste/vendors 0.1.0

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 (269) hide show
  1. package/LICENSE +22 -0
  2. package/dist/client/b-floating-vue.d.ts +3 -0
  3. package/dist/client/b-floating-vue.js +3377 -0
  4. package/dist/client/b-iconify.d.ts +1 -0
  5. package/dist/client/b-iconify.js +1883 -0
  6. package/dist/client/b-pinia.d.ts +1 -0
  7. package/dist/client/b-pinia.js +2069 -0
  8. package/dist/client/b-scroll.d.ts +2 -0
  9. package/dist/client/b-scroll.js +7 -0
  10. package/dist/client/b-vue-router.d.ts +1 -0
  11. package/dist/client/b-vue-router.js +2773 -0
  12. package/dist/client/b-vue-use.d.ts +1 -0
  13. package/dist/client/b-vue-use.js +9626 -0
  14. package/dist/client/b-vue.d.ts +1 -0
  15. package/dist/client/b-vue.js +1 -0
  16. package/dist/client/index.js +169 -0
  17. package/dist/client/node_modules/@babel/helper-string-parser/package.json +31 -0
  18. package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  19. package/dist/client/node_modules/@babel/parser/package.json +50 -0
  20. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +262 -0
  21. package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +2796 -0
  22. package/dist/client/node_modules/@babel/types/lib/index.d.ts +3616 -0
  23. package/dist/client/node_modules/@babel/types/package.json +39 -0
  24. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.mts +535 -0
  25. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +535 -0
  26. package/dist/client/node_modules/@floating-ui/core/package.json +63 -0
  27. package/dist/client/node_modules/@floating-ui/dom/index.d.ts +1 -0
  28. package/dist/client/node_modules/@floating-ui/dom/package.json +74 -0
  29. package/dist/client/node_modules/@floating-ui/dom/src/autoUpdate.d.ts +31 -0
  30. package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +11 -0
  31. package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +2 -0
  32. package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +128 -0
  33. package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +6 -0
  34. package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +2 -0
  35. package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingRect.d.ts +12 -0
  36. package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +1 -0
  37. package/dist/client/node_modules/@floating-ui/dom/src/utils/getCssDimensions.d.ts +4 -0
  38. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +2 -0
  39. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +1 -0
  40. package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +2 -0
  41. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNearestOverflowAncestor.d.ts +1 -0
  42. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +1 -0
  43. package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +2 -0
  44. package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +1 -0
  45. package/dist/client/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts +3 -0
  46. package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +1 -0
  47. package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +2 -0
  48. package/dist/client/node_modules/@floating-ui/dom/src/utils/getScale.d.ts +7 -0
  49. package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -0
  50. package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -0
  51. package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +17 -0
  52. package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +3 -0
  53. package/dist/client/node_modules/@floating-ui/dom/src/utils/unwrapElement.d.ts +2 -0
  54. package/dist/client/node_modules/@floating-ui/dom/src/utils/userAgent.d.ts +1 -0
  55. package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +1 -0
  56. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.mts +105 -0
  57. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts +105 -0
  58. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.mts +47 -0
  59. package/dist/client/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.d.ts +47 -0
  60. package/dist/client/node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts +47 -0
  61. package/dist/client/node_modules/@floating-ui/utils/dom/package.json +6 -0
  62. package/dist/client/node_modules/@floating-ui/utils/package.json +70 -0
  63. package/dist/client/node_modules/@iconify/types/package.json +23 -0
  64. package/dist/client/node_modules/@iconify/types/provider.d.ts +44 -0
  65. package/dist/client/node_modules/@iconify/types/types.d.ts +272 -0
  66. package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +475 -0
  67. package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +114 -0
  68. package/dist/client/node_modules/@iconify/vue/offline/package.json +14 -0
  69. package/dist/client/node_modules/@iconify/vue/package.json +65 -0
  70. package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +63 -0
  71. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +50 -0
  72. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +9 -0
  73. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +16 -0
  74. package/dist/client/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +7 -0
  75. package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +265 -0
  76. package/dist/client/node_modules/@types/web-bluetooth/package.json +46 -0
  77. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +1100 -0
  78. package/dist/client/node_modules/@vue/compiler-core/package.json +58 -0
  79. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +45 -0
  80. package/dist/client/node_modules/@vue/compiler-dom/package.json +57 -0
  81. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +485 -0
  82. package/dist/client/node_modules/@vue/compiler-sfc/package.json +67 -0
  83. package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +4 -0
  84. package/dist/client/node_modules/@vue/compiler-ssr/package.json +34 -0
  85. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +108 -0
  86. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +1 -0
  87. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +78 -0
  88. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +5 -0
  89. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +180 -0
  90. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +6 -0
  91. package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +4 -0
  92. package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +2 -0
  93. package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +15 -0
  94. package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +18 -0
  95. package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +47 -0
  96. package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +20 -0
  97. package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +2 -0
  98. package/dist/client/node_modules/@vue/devtools-api/package.json +37 -0
  99. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +753 -0
  100. package/dist/client/node_modules/@vue/reactivity/package.json +55 -0
  101. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +1839 -0
  102. package/dist/client/node_modules/@vue/runtime-core/package.json +52 -0
  103. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1430 -0
  104. package/dist/client/node_modules/@vue/runtime-dom/package.json +60 -0
  105. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +65 -0
  106. package/dist/client/node_modules/@vue/server-renderer/package.json +55 -0
  107. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +334 -0
  108. package/dist/client/node_modules/@vue/shared/package.json +47 -0
  109. package/dist/client/node_modules/@vueuse/core/index.d.mts +6221 -0
  110. package/dist/client/node_modules/@vueuse/core/index.d.ts +6221 -0
  111. package/dist/client/node_modules/@vueuse/core/metadata.d.mts +1 -0
  112. package/dist/client/node_modules/@vueuse/core/metadata.d.ts +1 -0
  113. package/dist/client/node_modules/@vueuse/core/package.json +57 -0
  114. package/dist/client/node_modules/@vueuse/metadata/index.d.mts +78 -0
  115. package/dist/client/node_modules/@vueuse/metadata/index.d.ts +78 -0
  116. package/dist/client/node_modules/@vueuse/metadata/package.json +46 -0
  117. package/dist/client/node_modules/@vueuse/shared/index.d.mts +1260 -0
  118. package/dist/client/node_modules/@vueuse/shared/index.d.ts +1260 -0
  119. package/dist/client/node_modules/@vueuse/shared/package.json +49 -0
  120. package/dist/client/node_modules/compute-scroll-into-view/dist/index.d.ts +75 -0
  121. package/dist/client/node_modules/compute-scroll-into-view/package.json +82 -0
  122. package/dist/client/node_modules/csstype/index.d.ts +22569 -0
  123. package/dist/client/node_modules/csstype/package.json +70 -0
  124. package/dist/client/node_modules/entities/decode.d.ts +3 -0
  125. package/dist/client/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  126. package/dist/client/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
  127. package/dist/client/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  128. package/dist/client/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
  129. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  130. package/dist/client/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  131. package/dist/client/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
  132. package/dist/client/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  133. package/dist/client/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
  134. package/dist/client/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
  135. package/dist/client/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
  136. package/dist/client/node_modules/entities/dist/commonjs/package.json +3 -0
  137. package/dist/client/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  138. package/dist/client/node_modules/entities/dist/esm/decode.d.ts +205 -0
  139. package/dist/client/node_modules/entities/dist/esm/encode.d.ts +22 -0
  140. package/dist/client/node_modules/entities/dist/esm/escape.d.ts +46 -0
  141. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  142. package/dist/client/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  143. package/dist/client/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
  144. package/dist/client/node_modules/entities/dist/esm/index.d.ts +96 -0
  145. package/dist/client/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
  146. package/dist/client/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
  147. package/dist/client/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
  148. package/dist/client/node_modules/entities/dist/esm/package.json +3 -0
  149. package/dist/client/node_modules/entities/escape.d.ts +3 -0
  150. package/dist/client/node_modules/entities/package.json +120 -0
  151. package/dist/client/node_modules/estree-walker/dist/esm/package.json +1 -0
  152. package/dist/client/node_modules/estree-walker/package.json +37 -0
  153. package/dist/client/node_modules/estree-walker/src/package.json +1 -0
  154. package/dist/client/node_modules/estree-walker/types/async.d.ts +53 -0
  155. package/dist/client/node_modules/estree-walker/types/index.d.ts +56 -0
  156. package/dist/client/node_modules/estree-walker/types/sync.d.ts +53 -0
  157. package/dist/client/node_modules/estree-walker/types/walker.d.ts +37 -0
  158. package/dist/client/node_modules/floating-vue/dist/components/Dropdown.d.ts +398 -0
  159. package/dist/client/node_modules/floating-vue/dist/components/Menu.d.ts +398 -0
  160. package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +495 -0
  161. package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +474 -0
  162. package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +37 -0
  163. package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +9 -0
  164. package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +414 -0
  165. package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +6 -0
  166. package/dist/client/node_modules/floating-vue/dist/components/Tooltip.d.ts +398 -0
  167. package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +67 -0
  168. package/dist/client/node_modules/floating-vue/dist/config.d.ts +11 -0
  169. package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +13 -0
  170. package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +27 -0
  171. package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +1 -0
  172. package/dist/client/node_modules/floating-vue/dist/index.d.ts +2239 -0
  173. package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +1 -0
  174. package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +2 -0
  175. package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +14 -0
  176. package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +1 -0
  177. package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +1 -0
  178. package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +3 -0
  179. package/dist/client/node_modules/floating-vue/package.json +80 -0
  180. package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +289 -0
  181. package/dist/client/node_modules/magic-string/dist/magic-string.es.d.mts +289 -0
  182. package/dist/client/node_modules/magic-string/package.json +67 -0
  183. package/dist/client/node_modules/nanoid/async/index.d.ts +56 -0
  184. package/dist/client/node_modules/nanoid/async/package.json +12 -0
  185. package/dist/client/node_modules/nanoid/index.d.ts +91 -0
  186. package/dist/client/node_modules/nanoid/non-secure/index.d.ts +33 -0
  187. package/dist/client/node_modules/nanoid/non-secure/package.json +6 -0
  188. package/dist/client/node_modules/nanoid/package.json +89 -0
  189. package/dist/client/node_modules/nanoid/url-alphabet/package.json +6 -0
  190. package/dist/client/node_modules/picocolors/package.json +25 -0
  191. package/dist/client/node_modules/picocolors/picocolors.d.ts +5 -0
  192. package/dist/client/node_modules/picocolors/types.d.ts +51 -0
  193. package/dist/client/node_modules/pinia/dist/pinia.d.ts +1074 -0
  194. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +22 -0
  195. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +33 -0
  196. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +38 -0
  197. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
  198. package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +47 -0
  199. package/dist/client/node_modules/pinia/package.json +96 -0
  200. package/dist/client/node_modules/postcss/lib/at-rule.d.ts +139 -0
  201. package/dist/client/node_modules/postcss/lib/comment.d.ts +67 -0
  202. package/dist/client/node_modules/postcss/lib/container.d.ts +478 -0
  203. package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +247 -0
  204. package/dist/client/node_modules/postcss/lib/declaration.d.ts +150 -0
  205. package/dist/client/node_modules/postcss/lib/document.d.ts +68 -0
  206. package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +9 -0
  207. package/dist/client/node_modules/postcss/lib/input.d.ts +226 -0
  208. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +189 -0
  209. package/dist/client/node_modules/postcss/lib/list.d.ts +60 -0
  210. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +45 -0
  211. package/dist/client/node_modules/postcss/lib/node.d.ts +555 -0
  212. package/dist/client/node_modules/postcss/lib/parse.d.ts +9 -0
  213. package/dist/client/node_modules/postcss/lib/postcss.d.mts +66 -0
  214. package/dist/client/node_modules/postcss/lib/postcss.d.ts +464 -0
  215. package/dist/client/node_modules/postcss/lib/previous-map.d.ts +80 -0
  216. package/dist/client/node_modules/postcss/lib/processor.d.ts +114 -0
  217. package/dist/client/node_modules/postcss/lib/result.d.ts +204 -0
  218. package/dist/client/node_modules/postcss/lib/root.d.ts +86 -0
  219. package/dist/client/node_modules/postcss/lib/rule.d.ts +126 -0
  220. package/dist/client/node_modules/postcss/lib/stringifier.d.ts +45 -0
  221. package/dist/client/node_modules/postcss/lib/stringify.d.ts +9 -0
  222. package/dist/client/node_modules/postcss/lib/warning.d.ts +146 -0
  223. package/dist/client/node_modules/postcss/package.json +88 -0
  224. package/dist/client/node_modules/scroll-into-view-if-needed/dist/index.d.ts +79 -0
  225. package/dist/client/node_modules/scroll-into-view-if-needed/package.json +80 -0
  226. package/dist/client/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
  227. package/dist/client/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
  228. package/dist/client/node_modules/source-map-js/lib/source-node.d.ts +1 -0
  229. package/dist/client/node_modules/source-map-js/package.json +71 -0
  230. package/dist/client/node_modules/source-map-js/source-map.d.ts +104 -0
  231. package/dist/client/node_modules/vue/compiler-sfc/index.d.mts +1 -0
  232. package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +1 -0
  233. package/dist/client/node_modules/vue/compiler-sfc/package.json +4 -0
  234. package/dist/client/node_modules/vue/dist/vue.d.mts +7 -0
  235. package/dist/client/node_modules/vue/dist/vue.d.ts +7 -0
  236. package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +25 -0
  237. package/dist/client/node_modules/vue/jsx-runtime/package.json +5 -0
  238. package/dist/client/node_modules/vue/jsx.d.ts +22 -0
  239. package/dist/client/node_modules/vue/package.json +112 -0
  240. package/dist/client/node_modules/vue/server-renderer/index.d.mts +1 -0
  241. package/dist/client/node_modules/vue/server-renderer/index.d.ts +1 -0
  242. package/dist/client/node_modules/vue/server-renderer/package.json +4 -0
  243. package/dist/client/node_modules/vue-resize/package.json +77 -0
  244. package/dist/client/node_modules/vue-router/dist/experimental/index.d.mts +38 -0
  245. package/dist/client/node_modules/vue-router/dist/router-CWoNjPRp.d.mts +1973 -0
  246. package/dist/client/node_modules/vue-router/dist/vue-router.d.mts +361 -0
  247. package/dist/client/node_modules/vue-router/package.json +153 -0
  248. package/dist/client/node_modules/vue-router/vue-router-auto-resolver.d.mts +22 -0
  249. package/dist/client/node_modules/vue-router/vue-router-auto-routes.d.ts +4 -0
  250. package/dist/client/node_modules/vue-router/vue-router-auto.d.ts +1 -0
  251. package/dist/client/vue.runtime.esm-bundler.js +13167 -0
  252. package/entries.js +9 -0
  253. package/floating-vue.d.ts +4 -0
  254. package/iconify.d.ts +4 -0
  255. package/package.json +50 -0
  256. package/pinia.d.ts +4 -0
  257. package/rollup.config.mjs +119 -0
  258. package/scroll.d.ts +4 -0
  259. package/src/client/b-floating-vue.ts +5 -0
  260. package/src/client/b-iconify.ts +1 -0
  261. package/src/client/b-pinia.ts +1 -0
  262. package/src/client/b-scroll.ts +4 -0
  263. package/src/client/b-vue-router.ts +1 -0
  264. package/src/client/b-vue-use.ts +1 -0
  265. package/src/client/b-vue.ts +1 -0
  266. package/tsconfig.json +34 -0
  267. package/vue-router.d.ts +4 -0
  268. package/vue-use.d.ts +4 -0
  269. package/vue.d.ts +4 -0
@@ -0,0 +1,535 @@
1
+ import { AlignedPlacement } from '@floating-ui/utils';
2
+ import { Alignment } from '@floating-ui/utils';
3
+ import { Axis } from '@floating-ui/utils';
4
+ import { ClientRectObject } from '@floating-ui/utils';
5
+ import { Coords } from '@floating-ui/utils';
6
+ import { Dimensions } from '@floating-ui/utils';
7
+ import { ElementRects } from '@floating-ui/utils';
8
+ import { Length } from '@floating-ui/utils';
9
+ import { Padding } from '@floating-ui/utils';
10
+ import { Placement } from '@floating-ui/utils';
11
+ import { Rect } from '@floating-ui/utils';
12
+ import { rectToClientRect } from '@floating-ui/utils';
13
+ import { Side } from '@floating-ui/utils';
14
+ import { SideObject } from '@floating-ui/utils';
15
+ import { Strategy } from '@floating-ui/utils';
16
+ import { VirtualElement } from '@floating-ui/utils';
17
+
18
+ export { AlignedPlacement }
19
+
20
+ export { Alignment }
21
+
22
+ /**
23
+ * Provides data to position an inner element of the floating element so that it
24
+ * appears centered to the reference element.
25
+ * @see https://floating-ui.com/docs/arrow
26
+ */
27
+ export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>) => Middleware;
28
+
29
+ export declare interface ArrowOptions {
30
+ /**
31
+ * The arrow element to be positioned.
32
+ * @default undefined
33
+ */
34
+ element: any;
35
+ /**
36
+ * The padding between the arrow element and the floating element edges.
37
+ * Useful when the floating element has rounded corners.
38
+ * @default 0
39
+ */
40
+ padding?: Padding | undefined;
41
+ }
42
+
43
+ /**
44
+ * Optimizes the visibility of the floating element by choosing the placement
45
+ * that has the most space available automatically, without needing to specify a
46
+ * preferred placement. Alternative to `flip`.
47
+ * @see https://floating-ui.com/docs/autoPlacement
48
+ */
49
+ export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>) => Middleware;
50
+
51
+ export declare interface AutoPlacementOptions extends DetectOverflowOptions {
52
+ /**
53
+ * The axis that runs along the alignment of the floating element. Determines
54
+ * whether to check for most space along this axis.
55
+ * @default false
56
+ */
57
+ crossAxis?: boolean | undefined;
58
+ /**
59
+ * Choose placements with a particular alignment.
60
+ * @default undefined
61
+ */
62
+ alignment?: Alignment | null | undefined;
63
+ /**
64
+ * Whether to choose placements with the opposite alignment if the preferred
65
+ * alignment does not fit.
66
+ * @default true
67
+ */
68
+ autoAlignment?: boolean | undefined;
69
+ /**
70
+ * Which placements are allowed to be chosen. Placements must be within the
71
+ * `alignment` option if explicitly set.
72
+ * @default allPlacements (variable)
73
+ */
74
+ allowedPlacements?: Array<Placement> | undefined;
75
+ }
76
+
77
+ export { Axis }
78
+
79
+ declare type BivariantCallback<T extends (...args: any[]) => any> = {
80
+ bivariance(...args: Parameters<T>): ReturnType<T>;
81
+ }['bivariance'];
82
+
83
+ export declare type Boundary = any;
84
+
85
+ export { ClientRectObject }
86
+
87
+ export declare type ComputePosition = (reference: unknown, floating: unknown, config: ComputePositionConfig) => Promise<ComputePositionReturn>;
88
+
89
+ /**
90
+ * Computes the `x` and `y` coordinates that will place the floating element
91
+ * next to a given reference element.
92
+ *
93
+ * This export does not have any `platform` interface logic. You will need to
94
+ * write one for the platform you are using Floating UI with.
95
+ */
96
+ export declare const computePosition: ComputePosition;
97
+
98
+ export declare interface ComputePositionConfig {
99
+ /**
100
+ * Object to interface with the current platform.
101
+ */
102
+ platform: Platform;
103
+ /**
104
+ * Where to place the floating element relative to the reference element.
105
+ */
106
+ placement?: Placement | undefined;
107
+ /**
108
+ * The strategy to use when positioning the floating element.
109
+ */
110
+ strategy?: Strategy | undefined;
111
+ /**
112
+ * Array of middleware objects to modify the positioning or provide data for
113
+ * rendering.
114
+ */
115
+ middleware?: Array<Middleware | null | undefined | false> | undefined;
116
+ }
117
+
118
+ export declare interface ComputePositionReturn extends Coords {
119
+ /**
120
+ * The final chosen placement of the floating element.
121
+ */
122
+ placement: Placement;
123
+ /**
124
+ * The strategy used to position the floating element.
125
+ */
126
+ strategy: Strategy;
127
+ /**
128
+ * Object containing data returned from all middleware, keyed by their name.
129
+ */
130
+ middlewareData: MiddlewareData;
131
+ }
132
+
133
+ export { Coords }
134
+
135
+ /**
136
+ * Function option to derive middleware options from state.
137
+ */
138
+ export declare type Derivable<T> = (state: MiddlewareState) => T;
139
+
140
+ /**
141
+ * Resolves with an object of overflow side offsets that determine how much the
142
+ * element is overflowing a given clipping boundary on each side.
143
+ * - positive = overflowing the boundary by that number of pixels
144
+ * - negative = how many pixels left before it will overflow
145
+ * - 0 = lies flush with the boundary
146
+ * @see https://floating-ui.com/docs/detectOverflow
147
+ */
148
+ export declare function detectOverflow(state: MiddlewareState, options?: DetectOverflowOptions | Derivable<DetectOverflowOptions>): Promise<SideObject>;
149
+
150
+ export declare interface DetectOverflowOptions {
151
+ /**
152
+ * The clipping element(s) or area in which overflow will be checked.
153
+ * @default 'clippingAncestors'
154
+ */
155
+ boundary?: Boundary | undefined;
156
+ /**
157
+ * The root clipping area in which overflow will be checked.
158
+ * @default 'viewport'
159
+ */
160
+ rootBoundary?: RootBoundary | undefined;
161
+ /**
162
+ * The element in which overflow is being checked relative to a boundary.
163
+ * @default 'floating'
164
+ */
165
+ elementContext?: ElementContext | undefined;
166
+ /**
167
+ * Whether to check for overflow using the alternate element's boundary
168
+ * (`clippingAncestors` boundary only).
169
+ * @default false
170
+ */
171
+ altBoundary?: boolean | undefined;
172
+ /**
173
+ * Virtual padding for the resolved overflow detection offsets.
174
+ * @default 0
175
+ */
176
+ padding?: Padding | undefined;
177
+ }
178
+
179
+ export { Dimensions }
180
+
181
+ export declare type ElementContext = 'reference' | 'floating';
182
+
183
+ export { ElementRects }
184
+
185
+ export declare interface Elements {
186
+ reference: ReferenceElement;
187
+ floating: FloatingElement;
188
+ }
189
+
190
+ /**
191
+ * Optimizes the visibility of the floating element by flipping the `placement`
192
+ * in order to keep it in view when the preferred placement(s) will overflow the
193
+ * clipping boundary. Alternative to `autoPlacement`.
194
+ * @see https://floating-ui.com/docs/flip
195
+ */
196
+ export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>) => Middleware;
197
+
198
+ export declare interface FlipOptions extends DetectOverflowOptions {
199
+ /**
200
+ * The axis that runs along the side of the floating element. Determines
201
+ * whether overflow along this axis is checked to perform a flip.
202
+ * @default true
203
+ */
204
+ mainAxis?: boolean | undefined;
205
+ /**
206
+ * The axis that runs along the alignment of the floating element. Determines
207
+ * whether overflow along this axis is checked to perform a flip.
208
+ * - `true`: Whether to check cross axis overflow for both side and alignment flipping.
209
+ * - `false`: Whether to disable all cross axis overflow checking.
210
+ * - `'alignment'`: Whether to check cross axis overflow for alignment flipping only.
211
+ * @default true
212
+ */
213
+ crossAxis?: boolean | 'alignment' | undefined;
214
+ /**
215
+ * Placements to try sequentially if the preferred `placement` does not fit.
216
+ * @default [oppositePlacement] (computed)
217
+ */
218
+ fallbackPlacements?: Array<Placement> | undefined;
219
+ /**
220
+ * What strategy to use when no placements fit.
221
+ * @default 'bestFit'
222
+ */
223
+ fallbackStrategy?: 'bestFit' | 'initialPlacement' | undefined;
224
+ /**
225
+ * Whether to allow fallback to the perpendicular axis of the preferred
226
+ * placement, and if so, which side direction along the axis to prefer.
227
+ * @default 'none' (disallow fallback)
228
+ */
229
+ fallbackAxisSideDirection?: 'none' | 'start' | 'end' | undefined;
230
+ /**
231
+ * Whether to flip to placements with the opposite alignment if they fit
232
+ * better.
233
+ * @default true
234
+ */
235
+ flipAlignment?: boolean | undefined;
236
+ }
237
+
238
+ export declare type FloatingElement = any;
239
+
240
+ /**
241
+ * Provides data to hide the floating element in applicable situations, such as
242
+ * when it is not in the same clipping context as the reference element.
243
+ * @see https://floating-ui.com/docs/hide
244
+ */
245
+ export declare const hide: (options?: HideOptions | Derivable<HideOptions>) => Middleware;
246
+
247
+ export declare interface HideOptions extends DetectOverflowOptions {
248
+ /**
249
+ * The strategy used to determine when to hide the floating element.
250
+ */
251
+ strategy?: 'referenceHidden' | 'escaped' | undefined;
252
+ }
253
+
254
+ /**
255
+ * Provides improved positioning for inline reference elements that can span
256
+ * over multiple lines, such as hyperlinks or range selections.
257
+ * @see https://floating-ui.com/docs/inline
258
+ */
259
+ export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>) => Middleware;
260
+
261
+ export declare interface InlineOptions {
262
+ /**
263
+ * Viewport-relative `x` coordinate to choose a `ClientRect`.
264
+ * @default undefined
265
+ */
266
+ x?: number | undefined;
267
+ /**
268
+ * Viewport-relative `y` coordinate to choose a `ClientRect`.
269
+ * @default undefined
270
+ */
271
+ y?: number | undefined;
272
+ /**
273
+ * Represents the padding around a disjoined rect when choosing it.
274
+ * @default 2
275
+ */
276
+ padding?: Padding | undefined;
277
+ }
278
+
279
+ export { Length }
280
+
281
+ /**
282
+ * Built-in `limiter` that will stop `shift()` at a certain point.
283
+ */
284
+ export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>) => {
285
+ options: any;
286
+ fn: (state: MiddlewareState) => Coords;
287
+ };
288
+
289
+ declare type LimitShiftOffset = number | {
290
+ /**
291
+ * Offset the limiting of the axis that runs along the alignment of the
292
+ * floating element.
293
+ */
294
+ mainAxis?: number | undefined;
295
+ /**
296
+ * Offset the limiting of the axis that runs along the side of the
297
+ * floating element.
298
+ */
299
+ crossAxis?: number | undefined;
300
+ };
301
+
302
+ export declare interface LimitShiftOptions {
303
+ /**
304
+ * Offset when limiting starts. `0` will limit when the opposite edges of the
305
+ * reference and floating elements are aligned.
306
+ * - positive = start limiting earlier
307
+ * - negative = start limiting later
308
+ */
309
+ offset?: LimitShiftOffset | Derivable<LimitShiftOffset> | undefined;
310
+ /**
311
+ * Whether to limit the axis that runs along the alignment of the floating
312
+ * element.
313
+ */
314
+ mainAxis?: boolean | undefined;
315
+ /**
316
+ * Whether to limit the axis that runs along the side of the floating element.
317
+ */
318
+ crossAxis?: boolean | undefined;
319
+ }
320
+
321
+ export declare type Middleware = {
322
+ name: string;
323
+ options?: any;
324
+ fn: (state: MiddlewareState) => Promisable<MiddlewareReturn>;
325
+ };
326
+
327
+ /**
328
+ * @deprecated use `MiddlewareState` instead.
329
+ */
330
+ export declare type MiddlewareArguments = MiddlewareState;
331
+
332
+ export declare interface MiddlewareData {
333
+ [key: string]: any;
334
+ arrow?: (Partial<Coords> & {
335
+ centerOffset: number;
336
+ alignmentOffset?: number | undefined;
337
+ }) | undefined;
338
+ autoPlacement?: {
339
+ index?: number | undefined;
340
+ overflows: Array<{
341
+ placement: Placement;
342
+ overflows: Array<number>;
343
+ }>;
344
+ } | undefined;
345
+ flip?: {
346
+ index?: number | undefined;
347
+ overflows: Array<{
348
+ placement: Placement;
349
+ overflows: Array<number>;
350
+ }>;
351
+ } | undefined;
352
+ hide?: {
353
+ referenceHidden?: boolean | undefined;
354
+ escaped?: boolean | undefined;
355
+ referenceHiddenOffsets?: SideObject | undefined;
356
+ escapedOffsets?: SideObject | undefined;
357
+ } | undefined;
358
+ offset?: (Coords & {
359
+ placement: Placement;
360
+ }) | undefined;
361
+ shift?: (Coords & {
362
+ enabled: {
363
+ [key in Axis]: boolean;
364
+ };
365
+ }) | undefined;
366
+ }
367
+
368
+ export declare interface MiddlewareReturn extends Partial<Coords> {
369
+ data?: {
370
+ [key: string]: any;
371
+ } | undefined;
372
+ reset?: boolean | {
373
+ placement?: Placement | undefined;
374
+ rects?: boolean | ElementRects | undefined;
375
+ } | undefined;
376
+ }
377
+
378
+ export declare interface MiddlewareState extends Coords {
379
+ initialPlacement: Placement;
380
+ placement: Placement;
381
+ strategy: Strategy;
382
+ middlewareData: MiddlewareData;
383
+ elements: Elements;
384
+ rects: ElementRects;
385
+ platform: {
386
+ detectOverflow: typeof detectOverflow;
387
+ } & Platform;
388
+ }
389
+
390
+ /**
391
+ * Modifies the placement by translating the floating element along the
392
+ * specified axes.
393
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
394
+ * object may be passed.
395
+ * @see https://floating-ui.com/docs/offset
396
+ */
397
+ export declare const offset: (options?: OffsetOptions) => Middleware;
398
+
399
+ export declare type OffsetOptions = OffsetValue | Derivable<OffsetValue>;
400
+
401
+ declare type OffsetValue = number | {
402
+ /**
403
+ * The axis that runs along the side of the floating element. Represents
404
+ * the distance (gutter or margin) between the reference and floating
405
+ * element.
406
+ * @default 0
407
+ */
408
+ mainAxis?: number | undefined;
409
+ /**
410
+ * The axis that runs along the alignment of the floating element.
411
+ * Represents the skidding between the reference and floating element.
412
+ * @default 0
413
+ */
414
+ crossAxis?: number | undefined;
415
+ /**
416
+ * The same axis as `crossAxis` but applies only to aligned placements
417
+ * and inverts the `end` alignment. When set to a number, it overrides the
418
+ * `crossAxis` value.
419
+ *
420
+ * A positive number will move the floating element in the direction of
421
+ * the opposite edge to the one that is aligned, while a negative number
422
+ * the reverse.
423
+ * @default null
424
+ */
425
+ alignmentAxis?: number | null | undefined;
426
+ };
427
+
428
+ export { Padding }
429
+
430
+ export { Placement }
431
+
432
+ /**
433
+ * Platform interface methods to work with the current platform.
434
+ * @see https://floating-ui.com/docs/platform
435
+ */
436
+ export declare interface Platform {
437
+ getElementRects: (args: {
438
+ reference: ReferenceElement;
439
+ floating: FloatingElement;
440
+ strategy: Strategy;
441
+ }) => Promisable<ElementRects>;
442
+ getClippingRect: (args: {
443
+ element: any;
444
+ boundary: Boundary;
445
+ rootBoundary: RootBoundary;
446
+ strategy: Strategy;
447
+ }) => Promisable<Rect>;
448
+ getDimensions: (element: any) => Promisable<Dimensions>;
449
+ convertOffsetParentRelativeRectToViewportRelativeRect?: ((args: {
450
+ elements?: Elements | undefined;
451
+ rect: Rect;
452
+ offsetParent: any;
453
+ strategy: Strategy;
454
+ }) => Promisable<Rect>) | undefined;
455
+ getOffsetParent?: ((element: any) => Promisable<any>) | undefined;
456
+ isElement?: ((value: any) => Promisable<boolean>) | undefined;
457
+ getDocumentElement?: ((element: any) => Promisable<any>) | undefined;
458
+ getClientRects?: ((element: any) => Promisable<Array<ClientRectObject>>) | undefined;
459
+ isRTL?: ((element: any) => Promisable<boolean>) | undefined;
460
+ getScale?: ((element: any) => Promisable<{
461
+ x: number;
462
+ y: number;
463
+ }>) | undefined;
464
+ detectOverflow?: typeof detectOverflow | undefined;
465
+ }
466
+
467
+ declare type Promisable<T> = T | Promise<T>;
468
+
469
+ export { Rect }
470
+
471
+ export { rectToClientRect }
472
+
473
+ export declare type ReferenceElement = any;
474
+
475
+ export declare type RootBoundary = 'viewport' | 'layoutViewport' | 'document' | Rect;
476
+
477
+ /**
478
+ * Optimizes the visibility of the floating element by shifting it in order to
479
+ * keep it in view when it will overflow the clipping boundary.
480
+ * @see https://floating-ui.com/docs/shift
481
+ */
482
+ export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>) => Middleware;
483
+
484
+ export declare interface ShiftOptions extends DetectOverflowOptions {
485
+ /**
486
+ * The axis that runs along the alignment of the floating element. Determines
487
+ * whether overflow along this axis is checked to perform shifting.
488
+ * @default true
489
+ */
490
+ mainAxis?: boolean | undefined;
491
+ /**
492
+ * The axis that runs along the side of the floating element. Determines
493
+ * whether overflow along this axis is checked to perform shifting.
494
+ * @default false
495
+ */
496
+ crossAxis?: boolean | undefined;
497
+ /**
498
+ * Accepts a function that limits the shifting done in order to prevent
499
+ * detachment.
500
+ */
501
+ limiter?: {
502
+ fn: (state: MiddlewareState) => Coords;
503
+ options?: any;
504
+ } | undefined;
505
+ }
506
+
507
+ export { Side }
508
+
509
+ export { SideObject }
510
+
511
+ /**
512
+ * Provides data that allows you to change the size of the floating element —
513
+ * for instance, prevent it from overflowing the clipping boundary or match the
514
+ * width of the reference element.
515
+ * @see https://floating-ui.com/docs/size
516
+ */
517
+ export declare const size: (options?: SizeOptions | Derivable<SizeOptions>) => Middleware;
518
+
519
+ export declare interface SizeOptions extends DetectOverflowOptions {
520
+ /**
521
+ * Function that is called to perform style mutations to the floating element
522
+ * to change its size.
523
+ * @default undefined
524
+ */
525
+ apply?: BivariantCallback<(args: MiddlewareState & {
526
+ availableWidth: number;
527
+ availableHeight: number;
528
+ }) => void | Promise<void>> | undefined;
529
+ }
530
+
531
+ export { Strategy }
532
+
533
+ export { VirtualElement }
534
+
535
+ export { }
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@floating-ui/core",
3
+ "version": "1.8.0",
4
+ "description": "Positioning library for floating elements: tooltips, popovers, dropdowns, and more",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "main": "./dist/floating-ui.core.umd.js",
9
+ "module": "./dist/floating-ui.core.esm.js",
10
+ "unpkg": "./dist/floating-ui.core.umd.min.js",
11
+ "types": "./dist/floating-ui.core.d.ts",
12
+ "exports": {
13
+ "./package.json": "./package.json",
14
+ ".": {
15
+ "import": {
16
+ "types": "./dist/floating-ui.core.d.mts",
17
+ "default": "./dist/floating-ui.core.mjs"
18
+ },
19
+ "types": "./dist/floating-ui.core.d.ts",
20
+ "module": "./dist/floating-ui.core.esm.js",
21
+ "default": "./dist/floating-ui.core.umd.js"
22
+ }
23
+ },
24
+ "sideEffects": false,
25
+ "files": [
26
+ "dist"
27
+ ],
28
+ "author": "atomiks",
29
+ "license": "MIT",
30
+ "bugs": "https://github.com/floating-ui/floating-ui",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/floating-ui/floating-ui.git",
34
+ "directory": "packages/core"
35
+ },
36
+ "homepage": "https://floating-ui.com",
37
+ "keywords": [
38
+ "tooltip",
39
+ "popover",
40
+ "dropdown",
41
+ "menu",
42
+ "popup",
43
+ "positioning"
44
+ ],
45
+ "dependencies": {
46
+ "@floating-ui/utils": "^0.2.12"
47
+ },
48
+ "devDependencies": {
49
+ "config": "0.0.0"
50
+ },
51
+ "scripts": {
52
+ "test": "vitest run",
53
+ "test:watch": "vitest watch",
54
+ "lint": "eslint .",
55
+ "format": "prettier --ignore-path ../../.gitignore --write .",
56
+ "clean": "rimraf dist out-tsc",
57
+ "dev": "rollup -c -w",
58
+ "build": "rollup -c",
59
+ "build:api": "build-api --tsc tsconfig.lib.json",
60
+ "publint": "publint",
61
+ "typecheck": "tsc -b"
62
+ }
63
+ }
@@ -0,0 +1 @@
1
+ export * from './src/types';
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "@floating-ui/dom",
3
+ "version": "1.1.1",
4
+ "@rollingversions": {
5
+ "baseVersion": [
6
+ 0,
7
+ 1,
8
+ 0
9
+ ]
10
+ },
11
+ "description": "Floating UI for the web",
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "main": "./dist/floating-ui.dom.umd.js",
16
+ "module": "./dist/floating-ui.dom.esm.js",
17
+ "unpkg": "./dist/floating-ui.dom.umd.min.js",
18
+ "types": "./index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "types": "./index.d.ts",
22
+ "import": {
23
+ "browser": {
24
+ "development": "./dist/floating-ui.dom.browser.mjs",
25
+ "default": "./dist/floating-ui.dom.browser.min.mjs"
26
+ },
27
+ "default": "./dist/floating-ui.dom.mjs"
28
+ },
29
+ "module": "./dist/floating-ui.dom.esm.js",
30
+ "default": "./dist/floating-ui.dom.umd.js"
31
+ },
32
+ "./package.json": "./package.json"
33
+ },
34
+ "sideEffects": false,
35
+ "files": [
36
+ "dist/",
37
+ "index.d.ts",
38
+ "src/**/*.d.ts"
39
+ ],
40
+ "scripts": {
41
+ "dev": "parcel test/visual/index.html",
42
+ "build": "NODE_ENV=build rollup -c",
43
+ "test": "jest test/unit"
44
+ },
45
+ "author": "atomiks",
46
+ "license": "MIT",
47
+ "bugs": "https://github.com/floating-ui/floating-ui",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/floating-ui/floating-ui.git",
51
+ "directory": "packages/dom"
52
+ },
53
+ "homepage": "https://floating-ui.com",
54
+ "keywords": [
55
+ "tooltip",
56
+ "popover",
57
+ "dropdown",
58
+ "menu",
59
+ "popup",
60
+ "positioning"
61
+ ],
62
+ "dependencies": {
63
+ "@floating-ui/core": "^1.1.0"
64
+ },
65
+ "devDependencies": {
66
+ "@playwright/test": "^1.16.3",
67
+ "@types/react": "^18.0.1",
68
+ "concurrently": "^6.4.0",
69
+ "react": "^18.0.0",
70
+ "react-dom": "^18.0.0",
71
+ "react-router-dom": "^6.1.1",
72
+ "serve": "^13.0.2"
73
+ }
74
+ }
@@ -0,0 +1,31 @@
1
+ import type { FloatingElement, ReferenceElement } from './types';
2
+ export interface Options {
3
+ /**
4
+ * Whether to update the position when an overflow ancestor is scrolled.
5
+ * @default true
6
+ */
7
+ ancestorScroll: boolean;
8
+ /**
9
+ * Whether to update the position when an overflow ancestor is resized. This
10
+ * uses the native `resize` event.
11
+ * @default true
12
+ */
13
+ ancestorResize: boolean;
14
+ /**
15
+ * Whether to update the position when either the reference or floating
16
+ * elements resized. This uses a `ResizeObserver`.
17
+ * @default true
18
+ */
19
+ elementResize: boolean;
20
+ /**
21
+ * Whether to update on every animation frame if necessary. Optimized for
22
+ * performance so updates are only called when necessary, but use sparingly.
23
+ * @default false
24
+ */
25
+ animationFrame: boolean;
26
+ }
27
+ /**
28
+ * Automatically updates the position of the floating element when necessary.
29
+ * @see https://floating-ui.com/docs/autoUpdate
30
+ */
31
+ export declare function autoUpdate(reference: ReferenceElement, floating: FloatingElement, update: () => void, options?: Partial<Options>): () => void;