@gv-tech/ui-web 2.28.0 → 2.29.1
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.
- package/dist/__contracts.d.ts +44 -2
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/accordion-D5QXSsCK.mjs +248 -0
- package/dist/accordion-DjyDOX-h.js +1 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.d.ts +5 -5
- package/dist/accordion.d.ts.map +1 -1
- package/dist/accordion.mjs +1 -1
- package/dist/alert-dialog-B-a0Wa1M.mjs +182 -0
- package/dist/alert-dialog-DYQAhGBC.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +13 -13
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.mjs +1 -1
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +5 -5
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.mjs +4 -4
- package/dist/aspect-ratio-C-KOOyGP.js +1 -0
- package/dist/{aspect-ratio-DnChDaBi.mjs → aspect-ratio-s7Ji1MSr.mjs} +10 -9
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.d.ts +2 -2
- package/dist/aspect-ratio.d.ts.map +1 -1
- package/dist/aspect-ratio.mjs +1 -1
- package/dist/attachment.cjs +1 -0
- package/dist/attachment.d.ts +23 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.mjs +101 -0
- package/dist/attachment.test.d.ts +2 -0
- package/dist/attachment.test.d.ts.map +1 -0
- package/dist/avatar-4K3XjhP8.js +1 -0
- package/dist/avatar-d8Di248f.mjs +138 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +7 -7
- package/dist/avatar.d.ts.map +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +2 -2
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.mjs +2 -2
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts +7 -7
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.mjs +25 -27
- package/dist/bubble.cjs +1 -0
- package/dist/bubble.d.ts +13 -0
- package/dist/bubble.d.ts.map +1 -0
- package/dist/bubble.mjs +72 -0
- package/dist/bubble.test.d.ts +2 -0
- package/dist/bubble.test.d.ts.map +1 -0
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.d.ts +4 -4
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button-group.mjs +7 -8
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts +2 -2
- package/dist/button.d.ts.map +1 -1
- package/dist/button.mjs +7 -7
- package/dist/calendar-DFj14O6r.js +1 -0
- package/dist/{calendar-Dg6VGycy.mjs → calendar-UW8h9dfh.mjs} +870 -842
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +3 -3
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +7 -7
- package/dist/card.d.ts.map +1 -1
- package/dist/card.mjs +5 -5
- package/dist/carousel-CNGpg5df.js +1 -0
- package/dist/{carousel-DbDoNdqJ.mjs → carousel-DG9xGJns.mjs} +53 -55
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +6 -6
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/chart.cjs +1 -1
- package/dist/chart.d.ts +4 -4
- package/dist/chart.d.ts.map +1 -1
- package/dist/chart.mjs +1 -1
- package/dist/checkbox-BCgbTAdU.js +1 -0
- package/dist/checkbox-Dq8VHKDH.mjs +186 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.d.ts +2 -2
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-HBS6WEDP-CQNaACTf.js +1 -0
- package/dist/chunk-HBS6WEDP-aK8IuEX9.mjs +63 -0
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.d.ts +4 -4
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/collapsible.mjs +7 -7
- package/dist/combobox-CpPIGtPJ.js +4 -0
- package/dist/combobox-b4OmCNw1.mjs +5887 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.d.ts +14 -14
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.mjs +1 -1
- package/dist/command-5hobOyGG.mjs +545 -0
- package/dist/command-Dbqnm9kI.js +1 -0
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +10 -10
- package/dist/command.d.ts.map +1 -1
- package/dist/command.mjs +1 -1
- package/dist/context-menu-DyTUismw.js +1 -0
- package/dist/context-menu-DzzU-_v8.mjs +317 -0
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +16 -16
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.mjs +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +11 -11
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.mjs +25 -25
- package/dist/direction.cjs +1 -1
- package/dist/direction.d.ts +2 -2
- package/dist/direction.d.ts.map +1 -1
- package/dist/direction.mjs +1 -1
- package/dist/dist-1zUKVGvf.js +1 -0
- package/dist/dist-B057I8ju.mjs +30 -0
- package/dist/dist-BB78QQyQ.mjs +41 -0
- package/dist/dist-BBvidwzC.js +1 -0
- package/dist/{dist-Cacc4QIh.mjs → dist-BEbV0Hal.mjs} +9 -5
- package/dist/dist-BPL7gUpg.mjs +18 -0
- package/dist/dist-BTUvBzOm.js +1 -0
- package/dist/dist-BU-TFzJf.js +1 -0
- package/dist/dist-Bb5W_J2F.mjs +39 -0
- package/dist/dist-BbI6NHqR.mjs +23 -0
- package/dist/dist-BexAB6yo.mjs +192 -0
- package/dist/dist-BgXIqHHq.js +1 -0
- package/dist/dist-Bvfb4y_L.mjs +100 -0
- package/dist/dist-C8Pm6LRc.js +1 -0
- package/dist/dist-CPAF050o.mjs +90 -0
- package/dist/dist-CS572Be42.mjs +11 -0
- package/dist/dist-CUvxOuXM.mjs +551 -0
- package/dist/dist-C_iFkwIX.js +1 -0
- package/dist/dist-ClYM7l1t.js +1 -0
- package/dist/dist-CpKLY_uZ.mjs +96 -0
- package/dist/dist-D1qkELLT.js +1 -0
- package/dist/dist-D7-Fky36.js +1 -0
- package/dist/dist-DEpkkABT.js +1 -0
- package/dist/dist-DI1vapnL.mjs +20 -0
- package/dist/dist-DJqkhIXb2.js +1 -0
- package/dist/dist-DKXojpVG.js +1 -0
- package/dist/dist-DYUvPCPC.js +1 -0
- package/dist/dist-DZiOPWLp.js +1 -0
- package/dist/dist-DatgTWLz.mjs +202 -0
- package/dist/dist-Dm3IQk5b.mjs +685 -0
- package/dist/dist-DoivLw3t.js +1 -0
- package/dist/dist-Dq-h6VAy.mjs +118 -0
- package/dist/dist-Dt6m-kwU.mjs +221 -0
- package/dist/dist-E8ieJTBC.mjs +190 -0
- package/dist/{dist-C9PlF532.mjs → dist-GazS1kfR.mjs} +1 -1
- package/dist/dist-N97cIp0_.js +1 -0
- package/dist/dist-OqDzLHTa.mjs +460 -0
- package/dist/dist-Qm9hFvM1.js +1 -0
- package/dist/dist-UkWa-Arh.mjs +16 -0
- package/dist/dist-UnTrOmPV.js +1 -0
- package/dist/dist-YAADIsyo.js +1 -0
- package/dist/dist-Zs2sjYhL.js +1 -0
- package/dist/dist-hFLuJoMi.js +1 -0
- package/dist/dist-s7ibhASj.mjs +181 -0
- package/dist/dist-vu20fMUK.mjs +93 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts +11 -11
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.mjs +2 -2
- package/dist/{dropdown-menu-CriaO1_i.mjs → dropdown-menu-BqAhn64y.mjs} +109 -143
- package/dist/dropdown-menu-BtKOr--r.js +1 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +16 -16
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.mjs +1 -1
- package/dist/empty.cjs +1 -1
- package/dist/empty.d.ts +7 -7
- package/dist/empty.d.ts.map +1 -1
- package/dist/empty.mjs +2 -2
- package/dist/es2015-DbAsWDbs.js +41 -0
- package/dist/es2015-DbsmTzuc.mjs +571 -0
- package/dist/field.cjs +1 -1
- package/dist/field.d.ts +12 -12
- package/dist/field.d.ts.map +1 -1
- package/dist/field.mjs +6 -7
- package/dist/floating-ui.react-dom-BwFRxNGc.js +1 -0
- package/dist/{floating-ui.react-dom-DgS_bqyY.mjs → floating-ui.react-dom-CyupHsR6.mjs} +249 -276
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +8 -6
- package/dist/form.d.ts.map +1 -1
- package/dist/form.mjs +8 -8
- package/dist/hover-card-DMsxpR9G.mjs +178 -0
- package/dist/hover-card-DWXusgiI.js +1 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.d.ts +4 -4
- package/dist/hover-card.d.ts.map +1 -1
- package/dist/hover-card.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +40 -34
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.d.ts +7 -7
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-group.mjs +6 -11
- package/dist/input-otp-D49Y9VcH.mjs +409 -0
- package/dist/input-otp-u3obpt-Q.js +20 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +5 -5
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.mjs +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts +1 -1
- package/dist/input.d.ts.map +1 -1
- package/dist/input.mjs +1 -1
- package/dist/item.cjs +1 -1
- package/dist/item.d.ts +11 -11
- package/dist/item.d.ts.map +1 -1
- package/dist/item.mjs +7 -8
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.d.ts +2 -2
- package/dist/kbd.d.ts.map +1 -1
- package/dist/kbd.mjs +2 -2
- package/dist/label-Dacwh21G.js +1 -0
- package/dist/label-DsSICLPc.mjs +28 -0
- package/dist/label.cjs +1 -1
- package/dist/label.d.ts +2 -2
- package/dist/label.d.ts.map +1 -1
- package/dist/label.mjs +1 -1
- package/dist/marker.cjs +1 -0
- package/dist/marker.d.ts +12 -0
- package/dist/marker.d.ts.map +1 -0
- package/dist/marker.mjs +40 -0
- package/dist/marker.test.d.ts +2 -0
- package/dist/marker.test.d.ts.map +1 -0
- package/dist/menubar-BYNeRuzx.js +1 -0
- package/dist/{menubar-BcyqIJgy.mjs → menubar-DZqEj6S1.mjs} +138 -172
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +17 -17
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.mjs +1 -1
- package/dist/message-scroller-CS4t7Ypn.mjs +824 -0
- package/dist/message-scroller-DqLu0YI6.js +1 -0
- package/dist/message-scroller.cjs +1 -0
- package/dist/message-scroller.d.ts +13 -0
- package/dist/message-scroller.d.ts.map +1 -0
- package/dist/message-scroller.mjs +3 -0
- package/dist/message-scroller.test.d.ts +2 -0
- package/dist/message-scroller.test.d.ts.map +1 -0
- package/dist/message.cjs +1 -0
- package/dist/message.d.ts +11 -0
- package/dist/message.d.ts.map +1 -0
- package/dist/message.mjs +50 -0
- package/dist/message.test.d.ts +2 -0
- package/dist/message.test.d.ts.map +1 -0
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.d.ts +3 -3
- package/dist/native-select.d.ts.map +1 -1
- package/dist/native-select.mjs +12 -12
- package/dist/navigation-menu-B36G3O83.js +1 -0
- package/dist/navigation-menu-RO6thDOF.mjs +636 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.d.ts +9 -9
- package/dist/navigation-menu.d.ts.map +1 -1
- package/dist/navigation-menu.mjs +1 -1
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +8 -8
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.mjs +42 -35
- package/dist/popover-DSBkc70V.mjs +243 -0
- package/dist/popover-DUHbvKB8.js +1 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts +8 -8
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/progress-B9z08UXf.js +6 -0
- package/dist/progress-CQ4nQ85t.mjs +92 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +2 -2
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.mjs +1 -1
- package/dist/questionnaire-CVED7G7R.mjs +1159 -0
- package/dist/questionnaire-PWClWvST.js +1 -0
- package/dist/questionnaire.cjs +1 -0
- package/dist/questionnaire.d.ts +22 -0
- package/dist/questionnaire.d.ts.map +1 -0
- package/dist/questionnaire.mjs +4 -0
- package/dist/questionnaire.test.d.ts +2 -0
- package/dist/questionnaire.test.d.ts.map +1 -0
- package/dist/radio-group-Bd3WbH5I.js +1 -0
- package/dist/radio-group-TRiAhMZB.mjs +266 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.d.ts +2 -2
- package/dist/radio-group.d.ts.map +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/resizable-Cq60hEWB.js +1 -0
- package/dist/resizable-Qc8cVUKd.mjs +2857 -0
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.d.ts +3 -3
- package/dist/resizable.d.ts.map +1 -1
- package/dist/resizable.mjs +1 -1
- package/dist/scroll-area-D6MiNHnJ.mjs +564 -0
- package/dist/scroll-area-DFUdJeSZ.js +1 -0
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.d.ts +3 -3
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.mjs +1 -1
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.d.ts +1 -1
- package/dist/scroll-to-top.d.ts.map +1 -1
- package/dist/scroll-to-top.mjs +18 -16
- package/dist/search.cjs +1 -1
- package/dist/search.d.ts +1 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.mjs +17 -17
- package/dist/select-BFJUmjvX.mjs +830 -0
- package/dist/select-iQFoKU1s.js +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +11 -11
- package/dist/select.d.ts.map +1 -1
- package/dist/select.mjs +1 -1
- package/dist/separator-2kr96SyF.mjs +40 -0
- package/dist/separator-Bo49G2aj.js +1 -0
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +2 -2
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.mjs +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +9 -9
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.mjs +23 -23
- package/dist/sidebar-C6O8hLkz.js +1 -0
- package/dist/{sidebar-B-sWccYh.mjs → sidebar-DM9ee9wf.mjs} +66 -66
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.d.ts +24 -24
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/sidebar.mjs +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.mjs +1 -1
- package/dist/slider-CagVxozY.js +1 -0
- package/dist/slider-CdTCoQu1.mjs +485 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +2 -2
- package/dist/slider.d.ts.map +1 -1
- package/dist/slider.mjs +1 -1
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.d.ts +2 -4
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.mjs +8 -8
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.d.ts +2 -1
- package/dist/spinner.d.ts.map +1 -1
- package/dist/spinner.mjs +12 -7
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.d.ts +1 -1
- package/dist/support-fab.d.ts.map +1 -1
- package/dist/support-fab.mjs +22 -22
- package/dist/switch-CoeAC1Wk.js +1 -0
- package/dist/switch-zUBdj7jK.mjs +174 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +2 -2
- package/dist/switch.d.ts.map +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.d.ts +9 -13
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents.mjs +3 -2
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +8 -8
- package/dist/table.d.ts.map +1 -1
- package/dist/table.mjs +1 -1
- package/dist/tabs-DaE9pEbo.mjs +160 -0
- package/dist/tabs-TMhXe20x.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +5 -5
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.mjs +1 -1
- package/dist/text.cjs +1 -1
- package/dist/text.d.ts +1 -1
- package/dist/text.d.ts.map +1 -1
- package/dist/text.mjs +3 -3
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts +1 -1
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.mjs +1 -1
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/theme-toggle-3RStptYf.mjs +73 -0
- package/dist/theme-toggle-DKh8WFLT.js +1 -0
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.d.ts +1 -1
- package/dist/theme-toggle.d.ts.map +1 -1
- package/dist/theme-toggle.mjs +1 -1
- package/dist/toast-B0S3F09s.js +1 -0
- package/dist/toast-D0Yb-K84.mjs +445 -0
- package/dist/toast.cjs +1 -1
- package/dist/toast.d.ts +1 -1
- package/dist/toast.d.ts.map +1 -1
- package/dist/toast.mjs +1 -1
- package/dist/{toaster-DfDb2-aI.js → toaster-CX9im8R_.js} +1 -1
- package/dist/{toaster-Czhz-ktg.mjs → toaster-gT2b7mfE.mjs} +1 -1
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.d.ts +1 -1
- package/dist/toaster.d.ts.map +1 -1
- package/dist/toaster.mjs +1 -1
- package/dist/toggle-B0hXPsi7.js +1 -0
- package/dist/toggle-BAeKd2N0.mjs +59 -0
- package/dist/toggle-group-CEKhUozD.mjs +167 -0
- package/dist/toggle-group-htyug3G7.js +1 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.d.ts +3 -3
- package/dist/toggle-group.d.ts.map +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.d.ts +2 -2
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.mjs +1 -1
- package/dist/tooltip-BZazhXDZ.js +1 -0
- package/dist/tooltip-R_nK_Qh5.mjs +390 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.d.ts +5 -5
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +18 -16
- package/src/__contracts.ts +438 -278
- package/src/accordion.tsx +4 -6
- package/src/alert-dialog.tsx +6 -7
- package/src/alert.tsx +5 -7
- package/src/aspect-ratio.tsx +1 -2
- package/src/attachment.tsx +202 -0
- package/src/avatar.tsx +1 -2
- package/src/badge.tsx +2 -3
- package/src/breadcrumb.tsx +4 -8
- package/src/bubble.tsx +115 -0
- package/src/button-group.tsx +7 -8
- package/src/button.tsx +7 -9
- package/src/calendar.tsx +14 -14
- package/src/card.tsx +6 -7
- package/src/carousel.tsx +16 -17
- package/src/chart.tsx +1 -4
- package/src/checkbox.tsx +4 -6
- package/src/collapsible.tsx +1 -2
- package/src/combobox.tsx +8 -8
- package/src/command.tsx +8 -9
- package/src/context-menu.tsx +10 -12
- package/src/dialog.tsx +6 -7
- package/src/direction.tsx +1 -2
- package/src/drawer.tsx +3 -5
- package/src/dropdown-menu.tsx +10 -12
- package/src/empty.tsx +3 -5
- package/src/field.tsx +10 -11
- package/src/form.tsx +8 -8
- package/src/hooks/use-mobile.ts +1 -1
- package/src/hover-card.tsx +3 -5
- package/src/index.ts +54 -0
- package/src/input-group.tsx +14 -22
- package/src/input-otp.tsx +5 -6
- package/src/input.tsx +2 -4
- package/src/item.tsx +11 -12
- package/src/kbd.tsx +2 -2
- package/src/label.tsx +2 -4
- package/src/marker.tsx +61 -0
- package/src/menubar.tsx +11 -13
- package/src/message-scroller.tsx +133 -0
- package/src/message.tsx +85 -0
- package/src/native-select.tsx +2 -3
- package/src/navigation-menu.tsx +8 -10
- package/src/pagination.tsx +11 -10
- package/src/popover.tsx +3 -5
- package/src/progress.tsx +2 -4
- package/src/questionnaire.tsx +333 -0
- package/src/radio-group.tsx +2 -3
- package/src/resizable.tsx +1 -4
- package/src/scroll-area.tsx +3 -5
- package/src/scroll-to-top.tsx +7 -2
- package/src/search.tsx +2 -1
- package/src/select.tsx +8 -10
- package/src/separator.tsx +4 -6
- package/src/setupTests.ts +9 -9
- package/src/sheet.tsx +6 -7
- package/src/sidebar.tsx +17 -17
- package/src/skeleton.tsx +1 -2
- package/src/slider.tsx +5 -7
- package/src/sonner.tsx +0 -5
- package/src/spinner.tsx +14 -5
- package/src/support-fab.tsx +5 -1
- package/src/switch.tsx +4 -6
- package/src/table-of-contents.tsx +15 -13
- package/src/table.tsx +2 -4
- package/src/tabs.tsx +9 -11
- package/src/text.tsx +4 -4
- package/src/textarea.tsx +2 -4
- package/src/theme-provider.tsx +1 -1
- package/src/theme-toggle.tsx +26 -23
- package/src/toast.tsx +3 -4
- package/src/toaster.tsx +2 -1
- package/src/toggle-group.tsx +5 -6
- package/src/toggle.tsx +5 -7
- package/src/tooltip.tsx +3 -5
- package/dist/accordion-Dd8Hrexd.mjs +0 -244
- package/dist/accordion-DdSOiVyo.js +0 -1
- package/dist/alert-dialog-B7zX3gJX.js +0 -7
- package/dist/alert-dialog-BQoG5g_w.mjs +0 -213
- package/dist/aspect-ratio-QD1ZXP2B.js +0 -1
- package/dist/avatar-C4onD8-4.mjs +0 -127
- package/dist/avatar-ki_M47qG.js +0 -1
- package/dist/calendar-D9sapvfY.js +0 -1
- package/dist/carousel-6oFHLN7R.js +0 -1
- package/dist/checkbox-BLgY82mB.js +0 -1
- package/dist/checkbox-Bts_zfqd.mjs +0 -173
- package/dist/combobox-6qNx9Wbb.js +0 -4
- package/dist/combobox-yDMqxM_J.mjs +0 -5522
- package/dist/command-C6wJ5giF.mjs +0 -576
- package/dist/command-DCrPL1iW.js +0 -1
- package/dist/context-menu-CydUpD4W.mjs +0 -349
- package/dist/context-menu-DQ7XuuG5.js +0 -1
- package/dist/dist-1C8JOpVg.js +0 -1
- package/dist/dist-B1OcuinL.mjs +0 -558
- package/dist/dist-BGZDG175.mjs +0 -199
- package/dist/dist-BPBwSSyk.mjs +0 -8
- package/dist/dist-BPX1UGAz2.js +0 -1
- package/dist/dist-BRsDdVlJ.js +0 -1
- package/dist/dist-BWwCr-xN.mjs +0 -118
- package/dist/dist-BYdcKuDi.mjs +0 -16
- package/dist/dist-BlB11V_z.mjs +0 -27
- package/dist/dist-Bm8Cuttq.mjs +0 -76
- package/dist/dist-Byhx2fDJ.js +0 -1
- package/dist/dist-CCXBcfM3.js +0 -1
- package/dist/dist-CCokLFyA.mjs +0 -10
- package/dist/dist-CDU9vno-.mjs +0 -18
- package/dist/dist-CEJNUZGZ.js +0 -1
- package/dist/dist-CJolxugc.js +0 -1
- package/dist/dist-CQhWBhaI.mjs +0 -91
- package/dist/dist-CRLbUj9C.js +0 -1
- package/dist/dist-CSkpam6a.js +0 -1
- package/dist/dist-CWElW7UD.js +0 -1
- package/dist/dist-CXbzwSnE.js +0 -1
- package/dist/dist-CYj6O95k.mjs +0 -220
- package/dist/dist-C_45sBzc2.js +0 -1
- package/dist/dist-Cb7OVHcJ.js +0 -1
- package/dist/dist-Ccv5O-Vw.js +0 -1
- package/dist/dist-ChuP-5Gb.js +0 -1
- package/dist/dist-CiM892Rg.js +0 -1
- package/dist/dist-CuMQq0hV.js +0 -1
- package/dist/dist-DGzGsPqo2.mjs +0 -6
- package/dist/dist-DMnXk8Uo.js +0 -1
- package/dist/dist-DPBTfUqI.mjs +0 -96
- package/dist/dist-DR0lXVFG.js +0 -1
- package/dist/dist-Da7BU5sd.js +0 -5
- package/dist/dist-Df2ez-DA.mjs +0 -12
- package/dist/dist-DuTFGM_g.mjs +0 -45
- package/dist/dist-DynSBUGq.js +0 -1
- package/dist/dist-Dz3LbuDd.mjs +0 -60
- package/dist/dist-GhACpuJb2.mjs +0 -73
- package/dist/dist-N3JLy7yk.mjs +0 -29
- package/dist/dist-o4zlRoDG.js +0 -1
- package/dist/dist-rGeQfsgN.mjs +0 -66
- package/dist/dist-tvb2Wafb.mjs +0 -153
- package/dist/dist-xgVOvcNx.mjs +0 -11
- package/dist/dropdown-menu-BoJvZ3Fj.js +0 -1
- package/dist/es2015-BhmbVcui.mjs +0 -701
- package/dist/es2015-D22cM8Q_.js +0 -41
- package/dist/floating-ui.react-dom-DpCJEf_x.js +0 -1
- package/dist/hover-card-CJ-ibpbC.mjs +0 -187
- package/dist/hover-card-CK5SjVLL.js +0 -1
- package/dist/input-otp-BH_9dVhh.mjs +0 -391
- package/dist/input-otp-BibboKMt.js +0 -20
- package/dist/label-BXMSoyyu.js +0 -1
- package/dist/label-C8GNfPU0.mjs +0 -25
- package/dist/menubar-DPxokWFI.js +0 -1
- package/dist/navigation-menu-2yE2MUu-.js +0 -1
- package/dist/navigation-menu-N8gkxEXE.mjs +0 -628
- package/dist/popover-D1AO-E8p.js +0 -1
- package/dist/popover-wQACF3ut.mjs +0 -245
- package/dist/progress-DPWSEWa5.mjs +0 -86
- package/dist/progress-ShXZwOfj.js +0 -6
- package/dist/radio-group-CQbZCQmj.mjs +0 -199
- package/dist/radio-group-DAEi5vW_.js +0 -1
- package/dist/resizable-Cv-mKMKP.js +0 -1
- package/dist/resizable-DJSE3e5L.mjs +0 -1561
- package/dist/scroll-area-8QcqkHnC.mjs +0 -530
- package/dist/scroll-area-Cqqinhxf.js +0 -1
- package/dist/select-DdUveoSA.js +0 -1
- package/dist/select-yoeH35x2.mjs +0 -778
- package/dist/separator-BU1ea5gl.mjs +0 -35
- package/dist/separator-DBjErwHf.js +0 -1
- package/dist/shim-B5sEfNEJ.js +0 -1
- package/dist/shim-DX33EwUw.mjs +0 -91
- package/dist/sidebar-DIW-1cin.js +0 -1
- package/dist/slider-CCPXejUF.mjs +0 -388
- package/dist/slider-w05gD_Ix.js +0 -1
- package/dist/switch-CDBqsWQa.mjs +0 -112
- package/dist/switch-X2WBJsUu.js +0 -1
- package/dist/tabs-DzvgrVzk.js +0 -1
- package/dist/tabs-KDeHjVQU.mjs +0 -160
- package/dist/theme-toggle-C2Y4bIM3.js +0 -1
- package/dist/theme-toggle-clE-HpSS.mjs +0 -64
- package/dist/toast-1keyrzem.js +0 -1
- package/dist/toast-DVI6jPq5.mjs +0 -428
- package/dist/toggle-BGkq5XDM.js +0 -1
- package/dist/toggle-BfIIdlA6.mjs +0 -58
- package/dist/toggle-group-CbqgoPFU.mjs +0 -167
- package/dist/toggle-group-D7hR4BT2.js +0 -1
- package/dist/tooltip-CAIbshMk.js +0 -1
- package/dist/tooltip-D_o8Z-Ya.mjs +0 -380
package/dist/field.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
1
|
import { FieldBaseProps, FieldContentBaseProps, FieldDescriptionBaseProps, FieldErrorBaseProps, FieldGroupBaseProps, FieldLabelBaseProps, FieldLegendBaseProps, FieldSeparatorBaseProps, FieldSetBaseProps, FieldTitleBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
import { Label } from './label';
|
|
4
|
-
declare function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'> & FieldSetBaseProps): import(
|
|
5
|
-
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<'legend'> & FieldLegendBaseProps): import(
|
|
6
|
-
declare function FieldGroup({ className, ...props }: React.ComponentProps<'div'> & FieldGroupBaseProps): import(
|
|
4
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'> & FieldSetBaseProps): import('react').JSX.Element;
|
|
5
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<'legend'> & FieldLegendBaseProps): import('react').JSX.Element;
|
|
6
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<'div'> & FieldGroupBaseProps): import('react').JSX.Element;
|
|
7
7
|
declare const fieldVariants: (props?: ({
|
|
8
|
-
orientation?: "
|
|
8
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
-
declare function Field({ className, orientation, ...props }: React.ComponentProps<'
|
|
11
|
-
declare function FieldContent({ className, ...props }: React.ComponentProps<'div'> & FieldContentBaseProps): import(
|
|
12
|
-
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label> & FieldLabelBaseProps): import(
|
|
13
|
-
declare function FieldTitle({ className, ...props }: React.ComponentProps<'div'> & FieldTitleBaseProps): import(
|
|
14
|
-
declare function FieldDescription({ className, ...props }: React.ComponentProps<'p'> & FieldDescriptionBaseProps): import(
|
|
15
|
-
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<'div'> & FieldSeparatorBaseProps): import(
|
|
16
|
-
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<'div'> & FieldErrorBaseProps): import(
|
|
10
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<'fieldset'> & VariantProps<typeof fieldVariants> & FieldBaseProps): import('react').JSX.Element;
|
|
11
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<'div'> & FieldContentBaseProps): import('react').JSX.Element;
|
|
12
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label> & FieldLabelBaseProps): import('react').JSX.Element;
|
|
13
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<'div'> & FieldTitleBaseProps): import('react').JSX.Element;
|
|
14
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<'p'> & FieldDescriptionBaseProps): import('react').JSX.Element;
|
|
15
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<'div'> & FieldSeparatorBaseProps): import('react').JSX.Element;
|
|
16
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<'div'> & FieldErrorBaseProps): import('react').JSX.Element | null;
|
|
17
17
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, };
|
|
18
18
|
//# sourceMappingURL=field.d.ts.map
|
package/dist/field.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../src/field.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../src/field.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAGlC,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,iBAAiB,+BAW9F;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAkB,EAClB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG,oBAAoB,+BASvD;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,mBAAmB,+BAW7F;AAED,QAAA,MAAM,aAAa;;8EAajB,CAAC;AAEH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG,cAAc,+BASxF;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,qBAAqB,+BAQjG;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,GAAG,mBAAmB,+BAYpG;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,mBAAmB,+BAW7F;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG,yBAAyB,+BAavG;AAED,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,uBAAuB,+BAmB/G;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,mBAAmB,sCAqC/G;AAED,OAAO,EACL,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,QAAQ,EACR,UAAU,GACX,CAAC"}
|
package/dist/field.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { t as e } from "./
|
|
4
|
-
import { t } from "./label-
|
|
5
|
-
import { t as n } from "./separator-
|
|
3
|
+
import { t as e } from "./dist-Dm3IQk5b.mjs";
|
|
4
|
+
import { t } from "./label-DsSICLPc.mjs";
|
|
5
|
+
import { t as n } from "./separator-2kr96SyF.mjs";
|
|
6
6
|
import { useMemo as r } from "react";
|
|
7
7
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
8
8
|
import { cva as o } from "class-variance-authority";
|
|
@@ -29,7 +29,7 @@ function l({ className: t, ...n }) {
|
|
|
29
29
|
...n
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
var u = o("group/field
|
|
32
|
+
var u = o("group/field data-[invalid=true]:text-destructive flex w-full gap-2", {
|
|
33
33
|
variants: { orientation: {
|
|
34
34
|
vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
|
|
35
35
|
horizontal: "flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
|
|
@@ -38,8 +38,7 @@ var u = o("group/field flex w-full gap-2 data-[invalid=true]:text-destructive",
|
|
|
38
38
|
defaultVariants: { orientation: "vertical" }
|
|
39
39
|
});
|
|
40
40
|
function d({ className: t, orientation: n = "vertical", ...r }) {
|
|
41
|
-
return /* @__PURE__ */ i("
|
|
42
|
-
role: "group",
|
|
41
|
+
return /* @__PURE__ */ i("fieldset", {
|
|
43
42
|
"data-slot": "field",
|
|
44
43
|
"data-orientation": n,
|
|
45
44
|
className: e(u({ orientation: n }), t),
|
|
@@ -56,7 +55,7 @@ function f({ className: t, ...n }) {
|
|
|
56
55
|
function p({ className: n, ...r }) {
|
|
57
56
|
return /* @__PURE__ */ i(t, {
|
|
58
57
|
"data-slot": "field-label",
|
|
59
|
-
className: e("group/field-label peer/field-label has-data-
|
|
58
|
+
className: e("group/field-label peer/field-label has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10 flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 *:data-[slot=field]:p-2.5", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", n),
|
|
60
59
|
...r
|
|
61
60
|
});
|
|
62
61
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);let n=require("react-dom");n=e.r(n,1);var r=[`top`,`right`,`bottom`,`left`],i=Math.min,a=Math.max,o=Math.round,s=Math.floor,c=e=>({x:e,y:e}),l={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function u(e,t,n){return a(e,i(t,n))}function d(e,t){return typeof e==`function`?e(t):e}function f(e){return e.split(`-`)[0]}function p(e){return e.split(`-`)[1]}function m(e){return e===`x`?`y`:`x`}function h(e){return e===`y`?`height`:`width`}function g(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function _(e){return m(g(e))}function v(e,t,n){n===void 0&&(n=!1);let r=p(e),i=_(e),a=h(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=D(o)),[o,D(o)]}function y(e){let t=D(e);return[b(e),t,b(t)]}function b(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var x=[`left`,`right`],S=[`right`,`left`],C=[`top`,`bottom`],w=[`bottom`,`top`];function T(e,t,n){switch(e){case`top`:case`bottom`:return n?t?S:x:t?x:S;case`left`:case`right`:return t?C:w;default:return[]}}function E(e,t,n,r){let i=p(e),a=T(f(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(b)))),a}function D(e){let t=f(e);return l[t]+e.slice(t.length)}function O(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function k(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:O(e)}function A(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function j(e,t,n){let{reference:r,floating:i}=e,a=g(t),o=_(t),s=h(o),c=f(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,m=r[s]/2-i[s]/2,v;switch(c){case`top`:v={x:u,y:r.y-i.height};break;case`bottom`:v={x:u,y:r.y+r.height};break;case`right`:v={x:r.x+r.width,y:d};break;case`left`:v={x:r.x-i.width,y:d};break;default:v={x:r.x,y:r.y}}let y=p(t);return y&&(v[o]+=m*(y===`end`?1:-1)*(n&&l?-1:1)),v}async function M(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:f=!1,padding:p=0}=d(t,e),m=k(p),h=o[f?u===`floating`?`reference`:`floating`:u],g=A(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(h))??!0?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),_=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),y=await(i.isElement==null?void 0:i.isElement(v))&&await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1},b=A(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:_,offsetParent:v,strategy:s}):_);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}var N=50,P=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:M},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=j(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<N&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=j(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},F=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:a,rects:o,platform:s,elements:c,middlewareData:l}=t,{element:f,padding:m=0}=d(e,t)||{};if(f==null)return{};let g=k(m),v={x:n,y:r},y=_(a),b=h(y),x=await s.getDimensions(f),S=y===`y`,C=S?`top`:`left`,w=S?`bottom`:`right`,T=S?`clientHeight`:`clientWidth`,E=o.reference[b]+o.reference[y]-v[y]-o.floating[b],D=v[y]-o.reference[y],O=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f)),A=O?O[T]:0;(!A||!await(s.isElement==null?void 0:s.isElement(O)))&&(A=c.floating[T]||o.floating[b]);let j=E/2-D/2,M=A/2-x[b]/2-1,N=i(g[C],M),P=i(g[w],M),F=A-x[b]-P,I=A/2-x[b]/2+j,L=u(N,I,F),R=!l.arrow&&p(a)!=null&&I!==L&&o.reference[b]/2-(I<N?N:P)-x[b]/2<0,ee=R?I<N?I-N:I-F:0;return{[y]:v[y]+ee,data:{[y]:L,centerOffset:I-L-ee,...R&&{alignmentOffset:ee}},reset:R}}}),I=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:m=`bestFit`,fallbackAxisSideDirection:h=`none`,flipAlignment:_=!0,...b}=d(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let x=f(r),S=g(o),C=f(o)===o,w=await(s.isRTL==null?void 0:s.isRTL(c.floating)),T=p||(C||!_?[D(o)]:y(o)),O=h!==`none`;!p&&O&&T.push(...E(o,_,h,w));let k=[o,...T],A=await s.detectOverflow(t,b),j=[],M=i.flip?.overflows||[];if(l&&j.push(A[x]),u){let e=v(r,a,w);j.push(A[e[0]],A[e[1]])}if(M=[...M,{placement:r,overflows:j}],!j.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=k[e];if(t&&(!(u===`alignment`&&S!==g(t))||M.every(e=>g(e.placement)===S?e.overflows[0]>0:!0)))return{data:{index:e,overflows:M},reset:{placement:t}};let n=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(m){case`bestFit`:{let e=M.filter(e=>{if(O){let t=g(e.placement);return t===S||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function L(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return r.some(t=>e[t]>=0)}var ee=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=d(e,t);switch(i){case`referenceHidden`:{let e=L(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:R(e)}}}case`escaped`:{let e=L(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:R(e)}}}default:return{}}}}},te=new Set([`left`,`top`]);async function ne(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=f(n),s=p(n),c=g(n)===`y`,l=te.has(o)?-1:1,u=a&&c?-1:1,m=d(t,e),{mainAxis:h,crossAxis:_,alignmentAxis:v}=typeof m==`number`?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return s&&typeof v==`number`&&(_=s===`end`?v*-1:v),c?{x:_*u,y:h*l}:{x:h*l,y:_*u}}var re=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await ne(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},ie=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=d(e,t),f={x:n,y:r},p=await a.detectOverflow(t,l),h=g(i),_=m(h),v=f[_],y=f[h],b=(e,t)=>u(t+p[e===`y`?`top`:`left`],t,t-p[e===`y`?`bottom`:`right`]);o&&(v=b(_,v)),s&&(y=b(h,y));let x=c.fn({...t,[_]:v,[h]:y});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[_]:o,[h]:s}}}}}},ae=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=d(e,t),u={x:n,y:r},p=g(i),h=m(p),_=u[h],v=u[p],y=d(s,t),b=typeof y==`number`?{mainAxis:y,crossAxis:0}:{mainAxis:y.mainAxis??0,crossAxis:y.crossAxis??0};if(c){let e=h===`y`?`height`:`width`,t=a.reference[h]-a.floating[e]+b.mainAxis,n=a.reference[h]+a.reference[e]-b.mainAxis;_<t?_=t:_>n&&(_=n)}if(l){let e=h===`y`?`width`:`height`,t=te.has(f(i)),n=a.reference[p]-a.floating[e]+(t&&o.offset?.[p]||0)+(t?0:b.crossAxis),r=a.reference[p]+a.reference[e]+(t?0:o.offset?.[p]||0)-(t?b.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[h]:_,[p]:v}}}},oe=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:o,elements:s}=t,{apply:c=()=>{},...l}=d(e,t),u=await o.detectOverflow(t,l),m=f(n),h=p(n),_=g(n)===`y`,{width:v,height:y}=r.floating,b,x;m===`top`||m===`bottom`?(b=m,x=h===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(x=m,b=h===`end`?`top`:`bottom`);let S=y-u.top-u.bottom,C=v-u.left-u.right,w=i(y-u[b],S),T=i(v-u[x],C),E=t.middlewareData.shift,D=!E,O=w,k=T;E!=null&&E.enabled.x&&(k=C),E!=null&&E.enabled.y&&(O=S),D&&!h&&(_?k=v-2*a(u.left,u.right):O=y-2*a(u.top,u.bottom)),await c({...t,availableWidth:k,availableHeight:O});let A=await o.getDimensions(s.floating);return v!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function se(){return typeof window<`u`}function z(e){return ce(e)?(e.nodeName||``).toLowerCase():`#document`}function B(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function V(e){return((ce(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function ce(e){return se()?e instanceof Node||e instanceof B(e).Node:!1}function H(e){return se()?e instanceof Element||e instanceof B(e).Element:!1}function U(e){return se()?e instanceof HTMLElement||e instanceof B(e).HTMLElement:!1}function le(e){return!se()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof B(e).ShadowRoot}function W(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=J(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function ue(e){return/^(table|td|th)$/.test(z(e))}function G(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var de=/transform|translate|scale|rotate|perspective|filter/,fe=/paint|layout|strict|content/,K=e=>!!e&&e!==`none`,pe;function me(e){let t=H(e)?J(e):e;return K(t.transform)||K(t.translate)||K(t.scale)||K(t.rotate)||K(t.perspective)||!ge()&&(K(t.backdropFilter)||K(t.filter))||de.test(t.willChange||``)||fe.test(t.contain||``)}function he(e){let t=Y(e);for(;U(t)&&!q(t);){if(me(t))return t;if(G(t))return null;t=Y(t)}return null}function ge(){return pe??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),pe}function q(e){return/^(html|body|#document)$/.test(z(e))}function J(e){return B(e).getComputedStyle(e)}function _e(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Y(e){if(z(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||le(e)&&e.host||V(e);return le(t)?t.host:t}function ve(e){let t=Y(e);return q(t)?(e.ownerDocument||e).body:U(t)&&W(t)?t:ve(t)}function X(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=ve(e),i=r===e.ownerDocument?.body,a=B(r);if(i){let e=ye(a);return t.concat(a,a.visualViewport||[],W(r)?r:[],e&&n?X(e):[])}else return t.concat(r,X(r,[],n))}function ye(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function be(e){let t=J(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=U(e),a=i?e.offsetWidth:n,s=i?e.offsetHeight:r,c=o(n)!==a||o(r)!==s;return c&&(n=a,r=s),{width:n,height:r,$:c}}function xe(e){return H(e)?e:e.contextElement}function Z(e){let t=xe(e);if(!U(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=be(t),s=(a?o(n.width):n.width)/r,l=(a?o(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Se=c(0);function Ce(e){let t=B(e);return!ge()||!t.visualViewport?Se:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function we(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===B(e)}function Q(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=xe(e),o=c(1);t&&(r?H(r)&&(o=Z(r)):o=Z(e));let s=we(a,n,r)?Ce(a):c(0),l=(i.left+s.x)/o.x,u=(i.top+s.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(a&&r){let e=B(a),t=H(r)?B(r):r,n=e,i=ye(n);for(;i&&t!==n;){let e=Z(i),t=i.getBoundingClientRect(),r=J(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,u*=e.y,d*=e.x,f*=e.y,l+=a,u+=o,n=B(i),i=ye(n)}}return A({width:d,height:f,x:l,y:u})}function Te(e,t){let n=_e(e).scrollLeft;return t?t.left+n:Q(V(e)).left+n}function Ee(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Te(e,n),y:n.top+t.scrollTop}}function De(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=V(r),s=t?G(t.floating):!1;if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=c(1),d=c(0),f=U(r);if((f||!a)&&((z(r)!==`body`||W(o))&&(l=_e(r)),f)){let e=Q(r);u=Z(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let p=o&&!f&&!a?Ee(o,l):c(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-l.scrollTop*u.y+d.y+p.y}}function Oe(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function ke(e){let t=_e(e),n=e.ownerDocument.body,r=a(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=a(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),o=-t.scrollLeft+Te(e),s=-t.scrollTop;return J(n).direction===`rtl`&&(o+=a(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:o,y:s}}var Ae=25;function je(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=B(e),a=V(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!ge()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Te(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=Ae&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Me(e,t){let n=Q(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Z(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Ne(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=je(e,n,t);else if(t===`document`)r=ke(V(e));else if(H(t))r=Me(t,n);else{let n=Ce(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return A(r)}function Pe(e,t){let n=t.get(e);if(n)return n;let r=X(e,[],!1).filter(e=>H(e)&&z(e)!==`body`),i=null,a=J(e).position===`fixed`,o=a?Y(e):e;for(;H(o)&&!q(o);){let e=J(o),t=me(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=Y(o)}return t.set(e,r),r}function Fe(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,s=[...n===`clippingAncestors`?G(t)?[]:Pe(t,this._c):[].concat(n),r],c=Ne(t,s[0],o),l=c.top,u=c.right,d=c.bottom,f=c.left;for(let e=1;e<s.length;e++){let n=Ne(t,s[e],o);l=a(n.top,l),u=i(n.right,u),d=i(n.bottom,d),f=a(n.left,f)}return{width:u-f,height:d-l,x:f,y:l}}function Ie(e){let{width:t,height:n}=be(e);return{width:t,height:n}}function Le(e,t,n){let r=U(t),i=V(t),a=n===`fixed`,o=Q(e,!0,a,t),s={scrollLeft:0,scrollTop:0},l=c(0);if((r||!a)&&((z(t)!==`body`||W(i))&&(s=_e(t)),r)){let e=Q(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}!r&&i&&(l.x=Te(i));let u=i&&!r&&!a?Ee(i,s):c(0);return{x:o.left+s.scrollLeft-l.x-u.x,y:o.top+s.scrollTop-l.y-u.y,width:o.width,height:o.height}}function Re(e){return J(e).position===`static`}function ze(e,t){if(!U(e)||J(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return V(e)===n&&(n=n.ownerDocument.body),n}function Be(e,t){let n=B(e);if(G(e))return n;if(!U(e)){let t=Y(e);for(;t&&!q(t);){if(H(t)&&!Re(t))return t;t=Y(t)}return n}let r=ze(e,t);for(;r&&ue(r)&&Re(r);)r=ze(r,t);return r&&q(r)&&Re(r)&&!me(r)?n:r||he(e)||n}var Ve=async function(e){let t=this.getOffsetParent||Be,n=this.getDimensions,r=await n(e.floating);return{reference:Le(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function He(e){return J(e).direction===`rtl`}var Ue={convertOffsetParentRelativeRectToViewportRelativeRect:De,getDocumentElement:V,getClippingRect:Fe,getOffsetParent:Be,getElementRects:Ve,getClientRects:Oe,getDimensions:Ie,getScale:Z,isElement:H,isRTL:He};function We(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ge(e,t,n){let r=null,o,c=V(e);function l(){var e;clearTimeout(o),(e=r)==null||e.disconnect(),r=null}function u(n,d){n===void 0&&(n=!1),d===void 0&&(d=1),l();let f=e.getBoundingClientRect(),{left:p,top:m,width:h,height:g}=f;if(n||t(),!h||!g)return;let _=s(m),v=s(c.clientWidth-(p+h)),y=s(c.clientHeight-(m+g)),b=s(p),x={rootMargin:-_+`px `+-v+`px `+-y+`px `+-b+`px`,threshold:a(0,i(1,d))||1},S=!0;function C(t){let n=t[0].intersectionRatio;if(!We(f,e.getBoundingClientRect()))return u();if(n!==d){if(!S)return u();n?u(!1,n):o=setTimeout(()=>{u(!1,1e-7)},1e3)}S=!1}try{r=new IntersectionObserver(C,{...x,root:c.ownerDocument})}catch{r=new IntersectionObserver(C,x)}r.observe(e)}let d=B(e),f=()=>u(n);return d.addEventListener(`resize`,f),u(!0),()=>{d.removeEventListener(`resize`,f),l()}}function Ke(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=xe(e),u=i||a?[...l?X(l):[],...t?X(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Ge(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Q(e):null;c&&g();function g(){let t=Q(e);h&&!We(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var qe=re,Je=ie,Ye=I,Xe=oe,Ze=ee,Qe=F,$e=ae,et=(e,t,n)=>{let r=new Map,i=n??{},a={...Ue,...i.platform,_c:r};return P(e,t,{...i,platform:a})},$=typeof document<`u`?t.useLayoutEffect:function(){};function tt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!tt(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!tt(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function nt(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rt(e,t){let n=nt(e);return Math.round(t*n)/n}function it(e){let n=t.useRef(e);return $(()=>{n.current=e}),n}function at(e){e===void 0&&(e={});let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o,elements:{reference:s,floating:c}={},transform:l=!0,whileElementsMounted:u,open:d}=e,[f,p]=t.useState({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),[m,h]=t.useState(a);tt(m,a)||h(a);let[g,_]=t.useState(null),[v,y]=t.useState(null),b=t.useCallback(e=>{e!==w.current&&(w.current=e,_(e))},[]),x=t.useCallback(e=>{e!==T.current&&(T.current=e,y(e))},[]),S=s||g,C=c||v,w=t.useRef(null),T=t.useRef(null),E=t.useRef(f),D=u!=null,O=it(u),k=it(o),A=it(d),j=t.useCallback(()=>{if(!w.current||!T.current)return;let e={placement:r,strategy:i,middleware:m};k.current&&(e.platform=k.current),et(w.current,T.current,e).then(e=>{let t={...e,isPositioned:A.current!==!1};M.current&&!tt(E.current,t)&&(E.current=t,n.flushSync(()=>{p(t)}))})},[m,r,i,k,A]);$(()=>{d===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let M=t.useRef(!1);$(()=>(M.current=!0,()=>{M.current=!1}),[]),$(()=>{if(S&&(w.current=S),C&&(T.current=C),S&&C){if(O.current)return O.current(S,C,j);j()}},[S,C,j,O,D]);let N=t.useMemo(()=>({reference:w,floating:T,setReference:b,setFloating:x}),[b,x]),P=t.useMemo(()=>({reference:S,floating:C}),[S,C]),F=t.useMemo(()=>{let e={position:i,left:0,top:0};if(!P.floating)return e;let t=rt(P.floating,f.x),n=rt(P.floating,f.y);return l?{...e,transform:`translate(`+t+`px, `+n+`px)`,...nt(P.floating)>=1.5&&{willChange:`transform`}}:{position:i,left:t,top:n}},[i,l,P.floating,f.x,f.y]);return t.useMemo(()=>({...f,update:j,refs:N,elements:P,floatingStyles:F}),[f,j,N,P,F])}var ot=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:Qe({element:r.current,padding:i}).fn(n):r?Qe({element:r,padding:i}).fn(n):{}}}},st=(e,t)=>{let n=qe(e);return{name:n.name,fn:n.fn,options:[e,t]}},ct=(e,t)=>{let n=Je(e);return{name:n.name,fn:n.fn,options:[e,t]}},lt=(e,t)=>({fn:$e(e).fn,options:[e,t]}),ut=(e,t)=>{let n=Ye(e);return{name:n.name,fn:n.fn,options:[e,t]}},dt=(e,t)=>{let n=Xe(e);return{name:n.name,fn:n.fn,options:[e,t]}},ft=(e,t)=>{let n=Ze(e);return{name:n.name,fn:n.fn,options:[e,t]}},pt=(e,t)=>{let n=ot(e);return{name:n.name,fn:n.fn,options:[e,t]}};Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"D",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"E",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"O",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return st}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return le}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return at}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return lt}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return Ke}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return B}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return ut}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return ct}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return ft}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return dt}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return pt}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return ce}}),Object.defineProperty(exports,"w",{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return W}});
|