@koide-labs/ui 0.0.14 → 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 (310) hide show
  1. package/dist/-utils.d.ts +2 -2
  2. package/dist/-utils.js +1 -1
  3. package/dist/{Button-DrPFFzo7.js → Button-BmcVHRRW.js} +2 -2
  4. package/dist/{CompositeRoot-CVk5a-pR.js → CompositeRoot-CCgh2M64.js} +6 -6
  5. package/dist/{FloatingPortal-tWyuKRSN.js → FloatingPortal-BQsQhvIr.js} +27 -27
  6. package/dist/{FloatingPortalLite-DVyq6YhV.js → FloatingPortalLite-_ECdFE7b.js} +1 -1
  7. package/dist/{InternalBackdrop-jYAiOJ8v.js → InternalBackdrop-BSMKU-hc.js} +13 -13
  8. package/dist/{LabelableContext-BMvjVwor.js → LabelableContext-Be1u-eFg.js} +2 -2
  9. package/dist/accordion.css +1 -0
  10. package/dist/alert-dialog.css +1 -0
  11. package/dist/anchor.css +1 -0
  12. package/dist/avatar.css +1 -0
  13. package/dist/badge.css +1 -0
  14. package/dist/button.css +1 -0
  15. package/dist/checkbox.css +1 -0
  16. package/dist/code.css +1 -0
  17. package/dist/collapse.css +1 -0
  18. package/dist/command.css +1 -0
  19. package/dist/components/accordion/accordion.d.ts +19 -0
  20. package/dist/components/accordion/accordion.js +701 -0
  21. package/dist/components/accordion/index.d.ts +1 -12
  22. package/dist/components/accordion/index.js +2 -697
  23. package/dist/components/alert-dialog/alert-dialog.d.ts +36 -0
  24. package/dist/components/alert-dialog/alert-dialog.js +138 -0
  25. package/dist/components/alert-dialog/index.d.ts +1 -26
  26. package/dist/components/alert-dialog/index.js +2 -134
  27. package/dist/components/anchor/anchor.d.ts +12 -0
  28. package/dist/components/anchor/anchor.js +21 -0
  29. package/dist/components/anchor/index.d.ts +1 -8
  30. package/dist/components/anchor/index.js +2 -19
  31. package/dist/components/avatar/avatar.d.ts +25 -0
  32. package/dist/components/avatar/avatar.js +161 -0
  33. package/dist/components/avatar/index.d.ts +1 -21
  34. package/dist/components/avatar/index.js +2 -159
  35. package/dist/components/badge/badge.d.ts +20 -0
  36. package/dist/components/badge/badge.js +42 -0
  37. package/dist/components/badge/index.d.ts +1 -16
  38. package/dist/components/badge/index.js +2 -40
  39. package/dist/components/button/button.d.ts +27 -0
  40. package/dist/components/button/button.js +47 -0
  41. package/dist/components/button/index.d.ts +1 -24
  42. package/dist/components/button/index.js +2 -45
  43. package/dist/components/checkbox/checkbox.d.ts +13 -0
  44. package/dist/components/checkbox/checkbox.js +269 -0
  45. package/dist/components/checkbox/index.d.ts +1 -9
  46. package/dist/components/checkbox/index.js +2 -267
  47. package/dist/components/code/code.d.ts +13 -0
  48. package/dist/components/code/code.js +1206 -0
  49. package/dist/components/code/index.d.ts +1 -9
  50. package/dist/components/code/index.js +2 -1204
  51. package/dist/components/collapse/collapse.d.ts +14 -0
  52. package/dist/components/collapse/collapse.js +35 -0
  53. package/dist/components/collapse/index.d.ts +1 -11
  54. package/dist/components/collapse/index.js +2 -33
  55. package/dist/components/command/command.d.ts +36 -0
  56. package/dist/components/command/command.js +1695 -0
  57. package/dist/components/command/index.d.ts +1 -15
  58. package/dist/components/command/index.js +2 -1693
  59. package/dist/components/context-menu/context-menu.d.ts +82 -0
  60. package/dist/components/context-menu/context-menu.js +1445 -0
  61. package/dist/components/context-menu/index.d.ts +1 -42
  62. package/dist/components/context-menu/index.js +2 -1442
  63. package/dist/components/dialog/dialog.d.ts +22 -0
  64. package/dist/components/dialog/dialog.js +140 -0
  65. package/dist/components/dialog/dialog.types.d.ts +38 -0
  66. package/dist/components/dialog/index.d.ts +1 -48
  67. package/dist/components/dialog/index.js +2 -136
  68. package/dist/components/heading/heading.d.ts +25 -0
  69. package/dist/components/heading/heading.js +36 -0
  70. package/dist/components/heading/index.d.ts +1 -44
  71. package/dist/components/heading/index.js +2 -49
  72. package/dist/components/icon/icon.d.ts +28 -0
  73. package/dist/components/icon/icon.js +43 -0
  74. package/dist/components/icon/{icon-names.d.ts → icon.types.d.ts} +4 -0
  75. package/dist/components/icon/icon.types.js +1 -0
  76. package/dist/components/icon/index.d.ts +2 -24
  77. package/dist/components/icon/index.js +2 -41
  78. package/dist/components/icon-button/icon-button.d.ts +16 -0
  79. package/dist/components/icon-button/icon-button.js +46 -0
  80. package/dist/components/icon-button/index.d.ts +1 -12
  81. package/dist/components/icon-button/index.js +2 -44
  82. package/dist/components/inline-code/index.d.ts +1 -6
  83. package/dist/components/inline-code/index.js +2 -20
  84. package/dist/components/inline-code/inline-code.d.ts +10 -0
  85. package/dist/components/inline-code/inline-code.js +25 -0
  86. package/dist/components/input/index.d.ts +1 -3
  87. package/dist/components/input/index.js +2 -117
  88. package/dist/components/input/input.d.ts +9 -0
  89. package/dist/components/input/input.js +126 -0
  90. package/dist/components/meter/index.d.ts +1 -18
  91. package/dist/components/meter/index.js +2 -163
  92. package/dist/components/meter/meter.d.ts +22 -0
  93. package/dist/components/meter/meter.js +165 -0
  94. package/dist/components/multiline-input/index.d.ts +1 -6
  95. package/dist/components/multiline-input/index.js +2 -98
  96. package/dist/components/multiline-input/multiline-input.d.ts +10 -0
  97. package/dist/components/multiline-input/multiline-input.js +100 -0
  98. package/dist/components/number-input/index.d.ts +1 -10
  99. package/dist/components/number-input/index.js +2 -1167
  100. package/dist/components/number-input/number-input.d.ts +14 -0
  101. package/dist/components/number-input/number-input.js +1169 -0
  102. package/dist/components/password-input/index.d.ts +1 -2
  103. package/dist/components/password-input/index.js +2 -27
  104. package/dist/components/password-input/password-input.d.ts +7 -0
  105. package/dist/components/password-input/password-input.js +29 -0
  106. package/dist/components/pill/index.d.ts +1 -13
  107. package/dist/components/pill/index.js +2 -36
  108. package/dist/components/pill/pill.d.ts +17 -0
  109. package/dist/components/pill/pill.js +38 -0
  110. package/dist/components/popover/index.d.ts +1 -21
  111. package/dist/components/popover/index.js +2 -634
  112. package/dist/components/popover/popover.d.ts +22 -0
  113. package/dist/components/popover/popover.js +634 -0
  114. package/dist/components/preview-card/index.d.ts +1 -17
  115. package/dist/components/preview-card/index.js +2 -400
  116. package/dist/components/preview-card/preview-card.d.ts +21 -0
  117. package/dist/components/preview-card/preview-card.js +402 -0
  118. package/dist/components/radio-group/index.d.ts +1 -0
  119. package/dist/components/radio-group/index.js +5 -0
  120. package/dist/components/radio-group/radio-group.d.ts +25 -0
  121. package/dist/components/{radio/index.js → radio-group/radio-group.js} +91 -90
  122. package/dist/components/search-bar/index.d.ts +1 -12
  123. package/dist/components/search-bar/index.js +2 -46
  124. package/dist/components/search-bar/search-bar.d.ts +16 -0
  125. package/dist/components/search-bar/search-bar.js +43 -0
  126. package/dist/components/select/index.d.ts +1 -16
  127. package/dist/components/select/index.js +2 -1261
  128. package/dist/components/select/select.d.ts +22 -0
  129. package/dist/components/select/select.js +1263 -0
  130. package/dist/components/separator/index.d.ts +1 -7
  131. package/dist/components/separator/index.js +2 -4
  132. package/dist/components/separator/separator.d.ts +10 -0
  133. package/dist/components/separator/separator.js +6 -0
  134. package/dist/components/slider/index.d.ts +1 -5
  135. package/dist/components/slider/index.js +2 -900
  136. package/dist/components/slider/slider.d.ts +10 -0
  137. package/dist/components/slider/slider.js +899 -0
  138. package/dist/components/spinner/index.d.ts +1 -2
  139. package/dist/components/spinner/index.js +2 -11
  140. package/dist/components/spinner/spinner.d.ts +7 -0
  141. package/dist/components/spinner/spinner.js +13 -0
  142. package/dist/components/stacked-avatars/index.d.ts +1 -14
  143. package/dist/components/stacked-avatars/index.js +2 -90
  144. package/dist/components/stacked-avatars/stacked-avatars.d.ts +18 -0
  145. package/dist/components/stacked-avatars/stacked-avatars.js +92 -0
  146. package/dist/components/status-banner/index.d.ts +1 -17
  147. package/dist/components/status-banner/index.js +2 -69
  148. package/dist/components/status-banner/status-banner.d.ts +22 -0
  149. package/dist/components/status-banner/status-banner.js +71 -0
  150. package/dist/components/surface/index.d.ts +2 -27
  151. package/dist/components/surface/index.js +2 -39
  152. package/dist/components/surface/surface.d.ts +26 -0
  153. package/dist/components/surface/surface.js +36 -0
  154. package/dist/components/surface/surface.types.d.ts +1 -0
  155. package/dist/components/surface/surface.types.js +1 -0
  156. package/dist/components/switch/index.d.ts +1 -5
  157. package/dist/components/switch/index.js +2 -194
  158. package/dist/components/switch/switch.d.ts +10 -0
  159. package/dist/components/switch/switch.js +193 -0
  160. package/dist/components/tabs/index.d.ts +1 -18
  161. package/dist/components/tabs/index.js +2 -507
  162. package/dist/components/tabs/tabs.d.ts +28 -0
  163. package/dist/components/tabs/tabs.js +511 -0
  164. package/dist/components/text/index.d.ts +1 -26
  165. package/dist/components/text/index.js +2 -46
  166. package/dist/components/text/text.d.ts +29 -0
  167. package/dist/components/text/text.js +48 -0
  168. package/dist/components/theme-provider/index.d.ts +1 -1
  169. package/dist/components/theme-provider/theme-provider.d.ts +8 -4
  170. package/dist/components/theme-provider/theme-provider.js +3 -3
  171. package/dist/components/timestamp/index.d.ts +1 -23
  172. package/dist/components/timestamp/index.js +2 -1390
  173. package/dist/components/timestamp/timestamp.d.ts +26 -0
  174. package/dist/components/timestamp/timestamp.js +1391 -0
  175. package/dist/components/toaster/index.d.ts +2 -0
  176. package/dist/components/toaster/index.js +7 -0
  177. package/dist/components/toaster/toaster.d.ts +7 -0
  178. package/dist/components/toaster/toaster.js +923 -0
  179. package/dist/components/{toast → toaster}/use-toast-manager.d.ts +3 -3
  180. package/dist/components/tooltip/index.d.ts +1 -14
  181. package/dist/components/tooltip/index.js +2 -710
  182. package/dist/components/tooltip/tooltip.d.ts +24 -0
  183. package/dist/components/tooltip/tooltip.js +9 -0
  184. package/dist/components/view/index.d.ts +2 -30
  185. package/dist/components/view/index.js +2 -79
  186. package/dist/components/view/view.d.ts +31 -0
  187. package/dist/components/view/view.js +83 -0
  188. package/dist/components/view/view.types.d.ts +5 -0
  189. package/dist/components/view/view.types.js +1 -0
  190. package/dist/components/visually-hidden/index.d.ts +5 -1
  191. package/dist/{composite-Bx7Szd_T.js → composite-BZzP-LlG.js} +3 -3
  192. package/dist/{composite-C9L5QmZL.js → composite-BwEK5cWH.js} +1 -1
  193. package/dist/context-menu.css +1 -0
  194. package/dist/{createBaseUIEventDetails-D8M2Yl-a.js → createBaseUIEventDetails-CCSfZ2vM.js} +7 -7
  195. package/dist/{detectBrowser-I-s3yzIE.js → detectBrowser-Bl8Ki_1I.js} +2 -2
  196. package/dist/dialog.css +1 -1
  197. package/dist/{dialog.module-BeF-6XAo.js → dialog.module-DsbQRp-d.js} +55 -55
  198. package/dist/{element-CZEOj04G.js → element-u5WgOZX1.js} +7 -7
  199. package/dist/{event-CKoGyQEJ.js → event-B89-Ng5h.js} +4 -4
  200. package/dist/{floating-ui.utils-C7pRWMZ_.js → floating-ui.utils-DUVaIF3G.js} +7 -7
  201. package/dist/{floating-ui.utils.dom-C7FS5id0.js → floating-ui.utils.dom-cbi420Pg.js} +4 -4
  202. package/dist/{getDisabledMountTransitionStyles-YfHPge6T.js → getDisabledMountTransitionStyles-E2x-_lte.js} +7 -7
  203. package/dist/heading.css +1 -0
  204. package/dist/icon-button.css +1 -0
  205. package/dist/icon.css +1 -0
  206. package/dist/index.d.ts +10 -10
  207. package/dist/index.js +86 -104
  208. package/dist/{inertValue-BCYGsdmf.js → inertValue-BTpPjX30.js} +1 -1
  209. package/dist/inline-code.css +1 -0
  210. package/dist/input.css +1 -1
  211. package/dist/input.module-CtE19OH8.js +8 -0
  212. package/dist/integrations/react-markdown/index.js +12 -12
  213. package/dist/meter.css +1 -0
  214. package/dist/number-input.css +1 -0
  215. package/dist/password-input.css +1 -0
  216. package/dist/pill.css +1 -0
  217. package/dist/popover.css +1 -0
  218. package/dist/preview-card.css +1 -0
  219. package/dist/radio-group.css +1 -0
  220. package/dist/safePolygon-DnkzOIur.js +558 -0
  221. package/dist/search-bar.css +1 -0
  222. package/dist/select.css +1 -0
  223. package/dist/{index-DVjyPAD4.js → separator-fh_wDZNf.js} +7 -11
  224. package/dist/separator.css +1 -0
  225. package/dist/slider.css +1 -0
  226. package/dist/spinner.css +1 -0
  227. package/dist/stacked-avatars.css +1 -0
  228. package/dist/status-banner.css +1 -0
  229. package/dist/styles/core.css +1 -1
  230. package/dist/surface.css +1 -0
  231. package/dist/switch.css +1 -0
  232. package/dist/tabs.css +1 -0
  233. package/dist/text.css +1 -0
  234. package/dist/timestamp.css +1 -0
  235. package/dist/toaster.css +1 -0
  236. package/dist/tooltip-oCp-elli.js +765 -0
  237. package/dist/tooltip.css +1 -0
  238. package/dist/transitions.css +1 -1
  239. package/dist/{transitions.module-CWX8e5cx.js → transitions.module-D9mMAtfI.js} +11 -11
  240. package/dist/{useAnimationFrame-451ugS_6.js → useAnimationFrame-DvK1s63A.js} +1 -1
  241. package/dist/{useButton-DfIwsdb8.js → useButton-d3_JgBNr.js} +3 -3
  242. package/dist/{useCompositeListItem-OkcAim_1.js → useCompositeListItem-CZp9WTnF.js} +2 -2
  243. package/dist/{useLabelableId-Ci_jDvmv.js → useLabelableId-CX4tcfzK.js} +3 -3
  244. package/dist/{useOpenChangeComplete-Dse9kY9E.js → useOpenChangeComplete-BHd-N7Ig.js} +5 -5
  245. package/dist/{useRender-CLx7dR_1.js → useRender-C3vlzS3t.js} +1 -1
  246. package/dist/{useRenderElement-DwToLA61.js → useRenderElement-DngNDu_P.js} +2 -2
  247. package/dist/{useRole-oDBdbuwQ.js → useRole-BD3OL1rr.js} +3 -3
  248. package/dist/{useStableCallback-CkTrVkNX.js → useStableCallback-DKZHlUAT.js} +1 -1
  249. package/dist/{useSyncedFloatingRootContext-Dorsv-jf.js → useSyncedFloatingRootContext-BB1vwkV-.js} +20 -20
  250. package/dist/{useTimeout-CflX-kz3.js → useTimeout-BNni6aw5.js} +1 -1
  251. package/dist/{useTransitionStatus-CUfcuGAV.js → useTransitionStatus-CmMyUh74.js} +1 -1
  252. package/dist/{useTypeahead-D85V2IUx.js → useTypeahead-BiL5IAVb.js} +11 -11
  253. package/dist/{useValueAsRef-HURLzret.js → useValueAsRef-B4EriRsI.js} +1 -1
  254. package/dist/{useValueChanged-DL757-yD.js → useValueChanged-MJRmEWz1.js} +1 -1
  255. package/dist/view.css +1 -1
  256. package/dist/view.module-Dj7wj0kk.js +6 -0
  257. package/dist/view2.css +1 -0
  258. package/package.json +16 -19
  259. package/dist/components/radio/index.d.ts +0 -13
  260. package/dist/components/toast/index.d.ts +0 -2
  261. package/dist/components/toast/index.js +0 -8
  262. package/dist/components/toast/toast.d.ts +0 -2
  263. package/dist/components/toast/toast.js +0 -921
  264. package/dist/components/tooltip/tooltip-arrow.d.ts +0 -3
  265. package/dist/components/tooltip/tooltip-arrow.js +0 -6
  266. package/dist/index10.css +0 -1
  267. package/dist/index11.css +0 -1
  268. package/dist/index12.css +0 -1
  269. package/dist/index13.css +0 -1
  270. package/dist/index14.css +0 -1
  271. package/dist/index15.css +0 -1
  272. package/dist/index16.css +0 -1
  273. package/dist/index17.css +0 -1
  274. package/dist/index18.css +0 -1
  275. package/dist/index19.css +0 -1
  276. package/dist/index20.css +0 -1
  277. package/dist/index21.css +0 -1
  278. package/dist/index22.css +0 -1
  279. package/dist/index23.css +0 -1
  280. package/dist/index24.css +0 -1
  281. package/dist/index25.css +0 -1
  282. package/dist/index26.css +0 -1
  283. package/dist/index27.css +0 -1
  284. package/dist/index28.css +0 -1
  285. package/dist/index29.css +0 -1
  286. package/dist/index3.css +0 -1
  287. package/dist/index30.css +0 -1
  288. package/dist/index31.css +0 -1
  289. package/dist/index32.css +0 -1
  290. package/dist/index33.css +0 -1
  291. package/dist/index34.css +0 -1
  292. package/dist/index35.css +0 -1
  293. package/dist/index36.css +0 -1
  294. package/dist/index37.css +0 -1
  295. package/dist/index4.css +0 -1
  296. package/dist/index5.css +0 -1
  297. package/dist/index6.css +0 -1
  298. package/dist/index7.css +0 -1
  299. package/dist/index8.css +0 -1
  300. package/dist/index9.css +0 -1
  301. package/dist/input.module-DDQY_Ij6.js +0 -7
  302. package/dist/safePolygon-DWy1dGKJ.js +0 -308
  303. package/dist/toast.css +0 -1
  304. package/dist/tooltip-arrow-cs6vjjqZ.js +0 -24
  305. package/dist/tooltip-arrow.css +0 -1
  306. package/dist/useHoverReferenceInteraction-SfOBPoXM.js +0 -264
  307. package/dist/usePopupAutoResize-CNR6Ekmx.js +0 -85
  308. package/dist/view.module-DfDLgJE0.js +0 -6
  309. /package/dist/components/{icon/icon-names.js → dialog/dialog.types.js} +0 -0
  310. /package/dist/components/{toast → toaster}/use-toast-manager.js +0 -0
@@ -1,713 +1,5 @@
1
1
  "use client";
2
- import { jsx as O, jsxs as ne } from "react/jsx-runtime";
3
- import { c as Ee } from "../../clsx-OuTLNxxd.js";
4
- import { textify as Se } from "../../-utils.js";
5
- import { Surface as xe } from "../surface/index.js";
6
- import { t as oe, T as be } from "../../tooltip-arrow-cs6vjjqZ.js";
7
- import { R as Oe, P as we, c as N, d as Me, e as Ie, f as Ne, p as $, t as De } from "../../transitions.module-CWX8e5cx.js";
8
- import * as o from "react";
9
- import { u as le, T as Ae } from "../../useTimeout-CflX-kz3.js";
10
- import { u as D } from "../../useIsoLayoutEffect-CIDbvm3Q.js";
11
- import { g as ke, s as Ve } from "../../safePolygon-DWy1dGKJ.js";
12
- import { c as _, n as ce, b as W, a as pe, e as de, t as se, i as Le, g as _e } from "../../createBaseUIEventDetails-D8M2Yl-a.js";
13
- import { f as F } from "../../formatErrorMessage-BqPuTBN-.js";
14
- import * as He from "react-dom";
15
- import { a as Ue, u as B } from "../../useRenderElement-DwToLA61.js";
16
- import { p as Fe, b as Be, c as je, u as Ge, a as Xe, d as Ye } from "../../useSyncedFloatingRootContext-Dorsv-jf.js";
17
- import { d as fe, a as re, i as We } from "../../floating-ui.utils.dom-C7FS5id0.js";
18
- import { e as ze, b as $e } from "../../detectBrowser-I-s3yzIE.js";
19
- import { c as Ke, P as qe } from "../../FloatingPortal-tWyuKRSN.js";
20
- import { e as me, f as z, h as ie, j as Je, m as Qe, d as Ze } from "../../element-CZEOj04G.js";
21
- import { u as ae } from "../../useStableCallback-CkTrVkNX.js";
22
- import { i as et } from "../../event-CKoGyQEJ.js";
23
- import { u as tt } from "../../useBaseUiId-B7WyxtIE.js";
24
- import { u as nt, a as ot } from "../../useHoverReferenceInteraction-SfOBPoXM.js";
25
- import { F as st } from "../../FloatingPortalLite-DVyq6YhV.js";
26
- import { a as rt, b as it, g as ge } from "../../getDisabledMountTransitionStyles-YfHPge6T.js";
27
- import { a as at, t as ut } from "../../useOpenChangeComplete-Dse9kY9E.js";
28
- import { u as lt } from "../../usePopupAutoResize-CNR6Ekmx.js";
29
- import { u as ct } from "../../DirectionContext-C2o_MF_i.js";
30
- const K = /* @__PURE__ */ o.createContext({
31
- hasProvider: !1,
32
- timeoutMs: 0,
33
- delayRef: {
34
- current: 0
35
- },
36
- initialDelayRef: {
37
- current: 0
38
- },
39
- timeout: new Ae(),
40
- currentIdRef: {
41
- current: null
42
- },
43
- currentContextRef: {
44
- current: null
45
- }
46
- });
47
- process.env.NODE_ENV !== "production" && (K.displayName = "FloatingDelayGroupContext");
48
- function pt(s) {
49
- const {
50
- children: e,
51
- delay: t,
52
- timeoutMs: r = 0
53
- } = s, f = o.useRef(t), a = o.useRef(t), c = o.useRef(null), u = o.useRef(null), d = le();
54
- return /* @__PURE__ */ O(K.Provider, {
55
- value: o.useMemo(() => ({
56
- hasProvider: !0,
57
- delayRef: f,
58
- initialDelayRef: a,
59
- currentIdRef: c,
60
- timeoutMs: r,
61
- currentContextRef: u,
62
- timeout: d
63
- }), [r, d]),
64
- children: e
65
- });
66
- }
67
- function dt(s, e = {
68
- open: !1
69
- }) {
70
- const t = "rootStore" in s ? s.rootStore : s, r = t.useState("floatingId"), {
71
- enabled: f = !0,
72
- open: a
73
- } = e, c = o.useContext(K), {
74
- currentIdRef: u,
75
- delayRef: d,
76
- timeoutMs: p,
77
- initialDelayRef: m,
78
- currentContextRef: i,
79
- hasProvider: l,
80
- timeout: n
81
- } = c, [y, g] = o.useState(!1);
82
- return D(() => {
83
- function T() {
84
- g(!1), i.current?.setIsInstantPhase(!1), u.current = null, i.current = null, d.current = m.current;
85
- }
86
- if (f && u.current && !a && u.current === r) {
87
- if (g(!1), p) {
88
- const h = r;
89
- return n.start(p, () => {
90
- t.select("open") || u.current && u.current !== h || T();
91
- }), () => {
92
- n.clear();
93
- };
94
- }
95
- T();
96
- }
97
- }, [f, a, r, u, d, p, m, i, n, t]), D(() => {
98
- if (!f || !a)
99
- return;
100
- const T = i.current, h = u.current;
101
- n.clear(), i.current = {
102
- onOpenChange: t.setOpen,
103
- setIsInstantPhase: g
104
- }, u.current = r, d.current = {
105
- open: 0,
106
- close: ke(m.current, "close")
107
- }, h !== null && h !== r ? (g(!0), T?.setIsInstantPhase(!0), T?.onOpenChange(!1, _(ce))) : (g(!1), T?.setIsInstantPhase(!1));
108
- }, [f, a, r, t, u, d, p, m, i, n]), D(() => () => {
109
- i.current = null;
110
- }, [i]), o.useMemo(() => ({
111
- hasProvider: l,
112
- delayRef: d,
113
- isInstantPhase: y
114
- }), [l, d, y]);
115
- }
116
- function ft(s, e) {
117
- let t = null, r = null, f = !1;
118
- return {
119
- contextElement: s || void 0,
120
- getBoundingClientRect() {
121
- const a = s?.getBoundingClientRect() || {
122
- width: 0,
123
- height: 0,
124
- x: 0,
125
- y: 0
126
- }, c = e.axis === "x" || e.axis === "both", u = e.axis === "y" || e.axis === "both", d = ["mouseenter", "mousemove"].includes(e.dataRef.current.openEvent?.type || "") && e.pointerType !== "touch";
127
- let p = a.width, m = a.height, i = a.x, l = a.y;
128
- return t == null && e.x && c && (t = a.x - e.x), r == null && e.y && u && (r = a.y - e.y), i -= t || 0, l -= r || 0, p = 0, m = 0, !f || d ? (p = e.axis === "y" ? a.width : 0, m = e.axis === "x" ? a.height : 0, i = c && e.x != null ? e.x : i, l = u && e.y != null ? e.y : l) : f && !d && (m = e.axis === "x" ? a.height : m, p = e.axis === "y" ? a.width : p), f = !0, {
129
- width: p,
130
- height: m,
131
- x: i,
132
- y: l,
133
- top: l,
134
- right: i + p,
135
- bottom: l + m,
136
- left: i
137
- };
138
- }
139
- };
140
- }
141
- function ue(s) {
142
- return s != null && s.clientX != null;
143
- }
144
- function mt(s, e = {}) {
145
- const t = "rootStore" in s ? s.rootStore : s, r = t.useState("open"), f = t.useState("floatingElement"), a = t.useState("domReferenceElement"), c = t.context.dataRef, {
146
- enabled: u = !0,
147
- axis: d = "both",
148
- x: p = null,
149
- y: m = null
150
- } = e, i = o.useRef(!1), l = o.useRef(null), [n, y] = o.useState(), [g, T] = o.useState([]), h = ae((v, R) => {
151
- i.current || c.current.openEvent && !ue(c.current.openEvent) || t.set("positionReference", ft(a, {
152
- x: v,
153
- y: R,
154
- axis: d,
155
- dataRef: c,
156
- pointerType: n
157
- }));
158
- }), C = ae((v) => {
159
- p != null || m != null || (r ? l.current || T([]) : h(v.clientX, v.clientY));
160
- }), b = et(n) ? f : r, S = o.useCallback(() => {
161
- if (!b || !u || p != null || m != null)
162
- return;
163
- const v = fe(f);
164
- function R(E) {
165
- const w = me(E);
166
- z(f, w) ? (v.removeEventListener("mousemove", R), l.current = null) : h(E.clientX, E.clientY);
167
- }
168
- if (!c.current.openEvent || ue(c.current.openEvent)) {
169
- v.addEventListener("mousemove", R);
170
- const E = () => {
171
- v.removeEventListener("mousemove", R), l.current = null;
172
- };
173
- return l.current = E, E;
174
- }
175
- t.set("positionReference", a);
176
- }, [b, u, p, m, f, c, a, t, h]);
177
- o.useEffect(() => S(), [S, g]), o.useEffect(() => {
178
- u && !f && (i.current = !1);
179
- }, [u, f]), o.useEffect(() => {
180
- !u && r && (i.current = !0);
181
- }, [u, r]), D(() => {
182
- u && (p != null || m != null) && (i.current = !1, h(p, m));
183
- }, [u, p, m, h]);
184
- const x = o.useMemo(() => {
185
- function v(R) {
186
- y(R.pointerType);
187
- }
188
- return {
189
- onPointerDown: v,
190
- onPointerEnter: v,
191
- onMouseMove: C,
192
- onMouseEnter: C
193
- };
194
- }, [C]);
195
- return o.useMemo(() => u ? {
196
- reference: x
197
- } : {}, [u, x]);
198
- }
199
- const Y = ze && $e;
200
- function gt(s, e = {}) {
201
- const t = "rootStore" in s ? s.rootStore : s, {
202
- events: r,
203
- dataRef: f
204
- } = t.context, {
205
- enabled: a = !0,
206
- visibleOnly: c = !0
207
- } = e, u = o.useRef(!1), d = le(), p = o.useRef(!0);
208
- o.useEffect(() => {
209
- const i = t.select("domReferenceElement");
210
- if (!a)
211
- return;
212
- const l = fe(i);
213
- function n() {
214
- !t.select("open") && We(i) && i === ie(Ze(i)) && (u.current = !0);
215
- }
216
- function y() {
217
- p.current = !0;
218
- }
219
- function g() {
220
- p.current = !1;
221
- }
222
- return l.addEventListener("blur", n), Y && (l.addEventListener("keydown", y, !0), l.addEventListener("pointerdown", g, !0)), () => {
223
- l.removeEventListener("blur", n), Y && (l.removeEventListener("keydown", y, !0), l.removeEventListener("pointerdown", g, !0));
224
- };
225
- }, [t, a]), o.useEffect(() => {
226
- if (!a)
227
- return;
228
- function i(l) {
229
- (l.reason === pe || l.reason === de) && (u.current = !0);
230
- }
231
- return r.on("openchange", i), () => {
232
- r.off("openchange", i);
233
- };
234
- }, [r, a]);
235
- const m = o.useMemo(() => ({
236
- onMouseLeave() {
237
- u.current = !1;
238
- },
239
- onFocus(i) {
240
- if (u.current)
241
- return;
242
- const l = me(i.nativeEvent);
243
- if (c && re(l)) {
244
- if (Y && !i.relatedTarget) {
245
- if (!p.current && !Je(l))
246
- return;
247
- } else if (!Qe(l))
248
- return;
249
- }
250
- t.setOpen(!0, _(W, i.nativeEvent, i.currentTarget));
251
- },
252
- onBlur(i) {
253
- u.current = !1;
254
- const l = i.relatedTarget, n = i.nativeEvent, y = re(l) && l.hasAttribute(Ke("focus-guard")) && l.getAttribute("data-type") === "outside";
255
- d.start(0, () => {
256
- const g = t.select("domReferenceElement"), T = ie(g ? g.ownerDocument : document);
257
- !l && T === g || z(f.current.floatingContext?.refs.floating.current, T) || z(g, T) || y || t.context.triggerElements.hasElement(i.relatedTarget) || t.setOpen(!1, _(W, n));
258
- });
259
- }
260
- }), [f, t, c, d]);
261
- return o.useMemo(() => a ? {
262
- reference: m,
263
- trigger: m
264
- } : {}, [a, m]);
265
- }
266
- const q = /* @__PURE__ */ o.createContext(void 0);
267
- process.env.NODE_ENV !== "production" && (q.displayName = "TooltipRootContext");
268
- function H(s) {
269
- const e = o.useContext(q);
270
- if (e === void 0 && !s)
271
- throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>." : F(72));
272
- return e;
273
- }
274
- const yt = {
275
- ...Fe,
276
- disabled: N((s) => s.disabled),
277
- instantType: N((s) => s.instantType),
278
- isInstantPhase: N((s) => s.isInstantPhase),
279
- trackCursorAxis: N((s) => s.trackCursorAxis),
280
- disableHoverablePopup: N((s) => s.disableHoverablePopup),
281
- lastOpenChangeReason: N((s) => s.openChangeReason),
282
- closeDelay: N((s) => s.closeDelay)
283
- };
284
- class J extends Oe {
285
- constructor(e) {
286
- super({
287
- ...ht(),
288
- ...e
289
- }, {
290
- popupRef: /* @__PURE__ */ o.createRef(),
291
- onOpenChange: void 0,
292
- onOpenChangeComplete: void 0,
293
- triggerElements: new we()
294
- }, yt);
295
- }
296
- setOpen = (e, t) => {
297
- const r = t.reason, f = r === se, a = e && r === W, c = !e && (r === pe || r === de);
298
- if (t.preventUnmountOnClose = () => {
299
- this.set("preventUnmountingOnClose", !0);
300
- }, this.context.onOpenChange?.(e, t), t.isCanceled)
301
- return;
302
- const u = () => {
303
- const d = {
304
- open: e,
305
- openChangeReason: r
306
- };
307
- a ? d.instantType = "focus" : c ? d.instantType = "dismiss" : r === se && (d.instantType = void 0);
308
- const p = t.trigger?.id ?? null;
309
- (p || e) && (d.activeTriggerId = p, d.activeTriggerElement = t.trigger ?? null), this.update(d);
310
- };
311
- f ? He.flushSync(u) : u();
312
- };
313
- static useStore(e, t) {
314
- const r = Ue(() => e ?? new J(t)).current, f = Be({
315
- popupStore: r,
316
- onOpenChange: r.setOpen
317
- });
318
- return r.state.floatingRootContext = f, r;
319
- }
320
- }
321
- function ht() {
322
- return {
323
- ...je(),
324
- disabled: !1,
325
- instantType: void 0,
326
- isInstantPhase: !1,
327
- trackCursorAxis: "none",
328
- disableHoverablePopup: !1,
329
- openChangeReason: null,
330
- closeDelay: 0
331
- };
332
- }
333
- function vt(s) {
334
- const {
335
- disabled: e = !1,
336
- defaultOpen: t = !1,
337
- open: r,
338
- disableHoverablePopup: f = !1,
339
- trackCursorAxis: a = "none",
340
- actionsRef: c,
341
- onOpenChange: u,
342
- onOpenChangeComplete: d,
343
- handle: p,
344
- triggerId: m,
345
- defaultTriggerId: i = null,
346
- children: l
347
- } = s, n = J.useStore(p?.store, {
348
- open: r ?? t,
349
- activeTriggerId: m !== void 0 ? m : i
350
- });
351
- n.useControlledProp("open", r, t), n.useControlledProp("activeTriggerId", m, i), n.useContextCallback("onOpenChange", u), n.useContextCallback("onOpenChangeComplete", d);
352
- const y = n.useState("open"), g = n.useState("activeTriggerId"), T = n.useState("payload");
353
- n.useSyncedValues({
354
- trackCursorAxis: a,
355
- disableHoverablePopup: f
356
- });
357
- const h = !e && y;
358
- D(() => {
359
- y && e && n.setOpen(!1, _(_e));
360
- }, [y, e, n]), n.useSyncedValue("disabled", e), Ge(n);
361
- const {
362
- forceUnmount: C,
363
- transitionStatus: b
364
- } = Xe(h, n), S = n.useState("isInstantPhase"), x = n.useState("instantType"), v = n.useState("lastOpenChangeReason"), R = o.useRef(null);
365
- D(() => {
366
- b === "ending" && v === ce || b !== "ending" && S ? (x !== "delay" && (R.current = x), n.set("instantType", "delay")) : R.current !== null && (n.set("instantType", R.current), R.current = null);
367
- }, [b, S, v, x, n]), D(() => {
368
- h && g == null && n.set("payload", void 0);
369
- }, [n, g, h]);
370
- const E = o.useCallback(() => {
371
- n.setOpen(!1, Tt(n, Le));
372
- }, [n]);
373
- o.useImperativeHandle(c, () => ({
374
- unmount: C,
375
- close: E
376
- }), [C, E]);
377
- const w = n.useState("floatingRootContext"), M = gt(w, {
378
- enabled: !e
379
- }), P = Me(w, {
380
- enabled: !e,
381
- referencePress: !0
382
- }), L = mt(w, {
383
- enabled: !e && a !== "none",
384
- axis: a === "none" ? void 0 : a
385
- }), {
386
- getReferenceProps: I,
387
- getFloatingProps: A,
388
- getTriggerProps: k
389
- } = Ie([M, P, L]), V = o.useMemo(() => I(), [I]), j = o.useMemo(() => k(), [k]), te = o.useMemo(() => A(), [A]);
390
- return n.useSyncedValues({
391
- floatingRootContext: w,
392
- activeTriggerProps: V,
393
- inactiveTriggerProps: j,
394
- popupProps: te
395
- }), /* @__PURE__ */ O(q.Provider, {
396
- value: n,
397
- children: typeof l == "function" ? l({
398
- payload: T
399
- }) : l
400
- });
401
- }
402
- function Tt(s, e) {
403
- const t = _(e);
404
- return t.preventUnmountOnClose = () => {
405
- s.set("preventUnmountingOnClose", !0);
406
- }, t;
407
- }
408
- const Q = /* @__PURE__ */ o.createContext(void 0);
409
- process.env.NODE_ENV !== "production" && (Q.displayName = "TooltipProviderContext");
410
- function Ct() {
411
- return o.useContext(Q);
412
- }
413
- const Pt = 600, ye = /* @__PURE__ */ o.forwardRef(function(e, t) {
414
- const {
415
- className: r,
416
- render: f,
417
- handle: a,
418
- payload: c,
419
- disabled: u,
420
- delay: d,
421
- closeDelay: p,
422
- id: m,
423
- ...i
424
- } = e, l = H(!0), n = a?.store ?? l;
425
- if (!n)
426
- throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: <Tooltip.Trigger> must be either used within a <Tooltip.Root> component or provided with a handle." : F(82));
427
- const y = tt(m), g = n.useState("isTriggerActive", y), T = n.useState("floatingRootContext"), h = n.useState("isOpenedByTrigger", y), C = o.useRef(null), b = d ?? Pt, S = p ?? 0, {
428
- registerTrigger: x,
429
- isMountedByThisTrigger: v
430
- } = Ye(y, C, n, {
431
- payload: c,
432
- closeDelay: S
433
- }), R = Ct(), {
434
- delayRef: E,
435
- isInstantPhase: w,
436
- hasProvider: M
437
- } = dt(T, {
438
- open: h
439
- });
440
- n.useSyncedValue("isInstantPhase", w);
441
- const P = n.useState("disabled"), L = u ?? P, I = n.useState("trackCursorAxis"), A = n.useState("disableHoverablePopup"), k = nt(T, {
442
- enabled: !L,
443
- mouseOnly: !0,
444
- move: !1,
445
- handleClose: !A && I !== "both" ? Ve() : null,
446
- restMs() {
447
- const G = R?.delay, U = typeof E.current == "object" ? E.current.open : void 0;
448
- let X = b;
449
- return M && (U !== 0 ? X = d ?? G ?? b : X = 0), X;
450
- },
451
- delay() {
452
- const G = typeof E.current == "object" ? E.current.close : void 0;
453
- let U = S;
454
- return p == null && M && (U = G), {
455
- close: U
456
- };
457
- },
458
- triggerElementRef: C,
459
- isActiveTrigger: g
460
- }), V = o.useMemo(() => ({
461
- open: h
462
- }), [h]), j = n.useState("triggerProps", v);
463
- return B("button", e, {
464
- state: V,
465
- ref: [t, x, C],
466
- props: [k, j, {
467
- id: y
468
- }, i],
469
- stateAttributesMapping: Ne
470
- });
471
- });
472
- process.env.NODE_ENV !== "production" && (ye.displayName = "TooltipTrigger");
473
- const Z = /* @__PURE__ */ o.createContext(void 0);
474
- process.env.NODE_ENV !== "production" && (Z.displayName = "TooltipPortalContext");
475
- function Rt() {
476
- const s = o.useContext(Z);
477
- if (s === void 0)
478
- throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: <Tooltip.Portal> is missing." : F(70));
479
- return s;
480
- }
481
- const he = /* @__PURE__ */ o.forwardRef(function(e, t) {
482
- const {
483
- keepMounted: r = !1,
484
- ...f
485
- } = e;
486
- return H().useState("mounted") || r ? /* @__PURE__ */ O(Z.Provider, {
487
- value: r,
488
- children: /* @__PURE__ */ O(st, {
489
- ref: t,
490
- ...f
491
- })
492
- }) : null;
493
- });
494
- process.env.NODE_ENV !== "production" && (he.displayName = "TooltipPortal");
495
- const ee = /* @__PURE__ */ o.createContext(void 0);
496
- process.env.NODE_ENV !== "production" && (ee.displayName = "TooltipPositionerContext");
497
- function ve() {
498
- const s = o.useContext(ee);
499
- if (s === void 0)
500
- throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>." : F(71));
501
- return s;
502
- }
503
- const Te = /* @__PURE__ */ o.forwardRef(function(e, t) {
504
- const {
505
- render: r,
506
- className: f,
507
- anchor: a,
508
- positionMethod: c = "absolute",
509
- side: u = "top",
510
- align: d = "center",
511
- sideOffset: p = 0,
512
- alignOffset: m = 0,
513
- collisionBoundary: i = "clipping-ancestors",
514
- collisionPadding: l = 5,
515
- arrowPadding: n = 5,
516
- sticky: y = !1,
517
- disableAnchorTracking: g = !1,
518
- collisionAvoidance: T = qe,
519
- ...h
520
- } = e, C = H(), b = Rt(), S = C.useState("open"), x = C.useState("mounted"), v = C.useState("trackCursorAxis"), R = C.useState("disableHoverablePopup"), E = C.useState("floatingRootContext"), w = C.useState("instantType"), M = C.useState("transitionStatus"), P = rt({
521
- anchor: a,
522
- positionMethod: c,
523
- floatingRootContext: E,
524
- mounted: x,
525
- side: u,
526
- sideOffset: p,
527
- align: d,
528
- alignOffset: m,
529
- collisionBoundary: i,
530
- collisionPadding: l,
531
- sticky: y,
532
- arrowPadding: n,
533
- disableAnchorTracking: g,
534
- keepMounted: b,
535
- collisionAvoidance: T,
536
- adaptiveOrigin: it
537
- }), L = o.useMemo(() => {
538
- const V = {};
539
- return (!S || v === "both" || R) && (V.pointerEvents = "none"), {
540
- role: "presentation",
541
- hidden: !x,
542
- style: {
543
- ...P.positionerStyles,
544
- ...V
545
- }
546
- };
547
- }, [S, v, R, x, P.positionerStyles]), I = o.useMemo(() => ({
548
- open: S,
549
- side: P.side,
550
- align: P.align,
551
- anchorHidden: P.anchorHidden,
552
- instant: v !== "none" ? "tracking-cursor" : w
553
- }), [S, P.side, P.align, P.anchorHidden, v, w]), A = o.useMemo(() => ({
554
- ...I,
555
- arrowRef: P.arrowRef,
556
- arrowStyles: P.arrowStyles,
557
- arrowUncentered: P.arrowUncentered
558
- }), [I, P.arrowRef, P.arrowStyles, P.arrowUncentered]), k = B("div", e, {
559
- state: I,
560
- props: [L, ge(M), h],
561
- ref: [t, C.useStateSetter("positionerElement")],
562
- stateAttributesMapping: $
563
- });
564
- return /* @__PURE__ */ O(ee.Provider, {
565
- value: A,
566
- children: k
567
- });
568
- });
569
- process.env.NODE_ENV !== "production" && (Te.displayName = "TooltipPositioner");
570
- const Et = {
571
- ...$,
572
- ...ut
573
- }, Ce = /* @__PURE__ */ o.forwardRef(function(e, t) {
574
- const {
575
- className: r,
576
- render: f,
577
- ...a
578
- } = e, c = H(), {
579
- side: u,
580
- align: d
581
- } = ve(), p = c.useState("open"), m = c.useState("mounted"), i = c.useState("instantType"), l = c.useState("transitionStatus"), n = c.useState("popupProps"), y = c.useState("payload"), g = c.useState("popupElement"), T = c.useState("positionerElement"), h = c.useState("floatingRootContext"), C = ct();
582
- at({
583
- open: p,
584
- ref: c.context.popupRef,
585
- onComplete() {
586
- p && c.context.onOpenChangeComplete?.(!0);
587
- }
588
- });
589
- function b() {
590
- h.context.events.emit("measure-layout");
591
- }
592
- function S(M, P) {
593
- h.context.events.emit("measure-layout-complete", {
594
- previousDimensions: M,
595
- nextDimensions: P
596
- });
597
- }
598
- const x = o.useCallback(() => c.context.triggerElements.size > 1, [c]);
599
- lt({
600
- popupElement: g,
601
- positionerElement: T,
602
- mounted: m,
603
- content: y,
604
- enabled: x,
605
- onMeasureLayout: b,
606
- onMeasureLayoutComplete: S,
607
- side: u,
608
- direction: C
609
- });
610
- const v = c.useState("disabled"), R = c.useState("closeDelay");
611
- ot(h, {
612
- enabled: !v,
613
- closeDelay: R
614
- });
615
- const E = o.useMemo(() => ({
616
- open: p,
617
- side: u,
618
- align: d,
619
- instant: i,
620
- transitionStatus: l
621
- }), [p, u, d, i, l]);
622
- return B("div", e, {
623
- state: E,
624
- ref: [t, c.context.popupRef, c.useStateSetter("popupElement")],
625
- props: [n, ge(l), a],
626
- stateAttributesMapping: Et
627
- });
628
- });
629
- process.env.NODE_ENV !== "production" && (Ce.displayName = "TooltipPopup");
630
- const Pe = /* @__PURE__ */ o.forwardRef(function(e, t) {
631
- const {
632
- className: r,
633
- render: f,
634
- ...a
635
- } = e, u = H().useState("instantType"), {
636
- open: d,
637
- arrowRef: p,
638
- side: m,
639
- align: i,
640
- arrowUncentered: l,
641
- arrowStyles: n
642
- } = ve(), y = o.useMemo(() => ({
643
- open: d,
644
- side: m,
645
- align: i,
646
- uncentered: l,
647
- instant: u
648
- }), [d, m, i, l, u]);
649
- return B("div", e, {
650
- state: y,
651
- ref: [t, p],
652
- props: [{
653
- style: n,
654
- "aria-hidden": !0
655
- }, a],
656
- stateAttributesMapping: $
657
- });
658
- });
659
- process.env.NODE_ENV !== "production" && (Pe.displayName = "TooltipArrow");
660
- const Re = function(e) {
661
- const {
662
- delay: t,
663
- closeDelay: r,
664
- timeout: f = 400
665
- } = e, a = o.useMemo(() => ({
666
- delay: t,
667
- closeDelay: r
668
- }), [t, r]), c = o.useMemo(() => ({
669
- open: t,
670
- close: r
671
- }), [t, r]);
672
- return /* @__PURE__ */ O(Q.Provider, {
673
- value: a,
674
- children: /* @__PURE__ */ O(pt, {
675
- delay: c,
676
- timeoutMs: f,
677
- children: e.children
678
- })
679
- });
680
- };
681
- process.env.NODE_ENV !== "production" && (Re.displayName = "TooltipProvider");
682
- const qt = Re;
683
- function Jt({
684
- children: s,
685
- trigger: e,
686
- align: t,
687
- side: r,
688
- className: f,
689
- ...a
690
- }) {
691
- return /* @__PURE__ */ ne(vt, { ...a, children: [
692
- e ? /* @__PURE__ */ O(ye, { render: e }) : null,
693
- /* @__PURE__ */ O(he, { children: /* @__PURE__ */ O(Te, { align: t, side: r, sideOffset: 8, children: /* @__PURE__ */ ne(
694
- Ce,
695
- {
696
- render: /* @__PURE__ */ O(xe, { background: "highest" }),
697
- className: Ee(
698
- oe.tooltip,
699
- De.transition_scale,
700
- f
701
- ),
702
- children: [
703
- /* @__PURE__ */ O(Pe, { className: oe.tooltip__arrow, children: /* @__PURE__ */ O(be, {}) }),
704
- Se(s)
705
- ]
706
- }
707
- ) }) })
708
- ] });
709
- }
2
+ import { T as t } from "../../tooltip-oCp-elli.js";
710
3
  export {
711
- Jt as Tooltip,
712
- qt as TooltipProvider
4
+ t as Tooltip
713
5
  };