@televet/kibble-ui 4.0.0-beta.64 → 4.0.0-beta.65
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/chunks/{alert.types-C1GVh2D6.js → alert.types-BvnpOwve.js} +2 -2
- package/dist/chunks/{alert.types-C1GVh2D6.js.map → alert.types-BvnpOwve.js.map} +1 -1
- package/dist/chunks/{alert.types-BdMaGbwu.js → alert.types-Dth5h5qO.js} +3 -3
- package/dist/chunks/{alert.types-BdMaGbwu.js.map → alert.types-Dth5h5qO.js.map} +1 -1
- package/dist/chunks/{avatar.component-BKp_pbGA.js → avatar.component-BPCJZRyT.js} +14 -14
- package/dist/chunks/{avatar.component-BKp_pbGA.js.map → avatar.component-BPCJZRyT.js.map} +1 -1
- package/dist/chunks/avatar.component-y7gTa1dV.js +2 -0
- package/dist/chunks/{avatar.component-BRjxOsjQ.js.map → avatar.component-y7gTa1dV.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-DIfCXmiw.js → avatarGroup.component-BnRXVOIV.js} +2 -2
- package/dist/chunks/{avatarGroup.component-DIfCXmiw.js.map → avatarGroup.component-BnRXVOIV.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-B3cA6J2Z.js → avatarGroup.component-Mfl8jvgp.js} +2 -2
- package/dist/chunks/{avatarGroup.component-B3cA6J2Z.js.map → avatarGroup.component-Mfl8jvgp.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-DuNSCwga.js → buttonGroup.component-6ZBOJbfR.js} +2 -2
- package/dist/chunks/{buttonGroup.component-DuNSCwga.js.map → buttonGroup.component-6ZBOJbfR.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-CLTkO5BF.js → buttonGroup.component-DQfB4Nj3.js} +2 -2
- package/dist/chunks/{buttonGroup.component-CLTkO5BF.js.map → buttonGroup.component-DQfB4Nj3.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-C2e2l-WJ.js → characterCounter.component-4T8NHb11.js} +2 -2
- package/dist/chunks/{characterCounter.component-C2e2l-WJ.js.map → characterCounter.component-4T8NHb11.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-BEg4MItI.js → characterCounter.component-Cs0y0DOj.js} +3 -3
- package/dist/chunks/{characterCounter.component-BEg4MItI.js.map → characterCounter.component-Cs0y0DOj.js.map} +1 -1
- package/dist/chunks/checkbox.component-CFuJaYmY.js +2 -0
- package/dist/chunks/{checkbox.component-CYpG_LI3.js.map → checkbox.component-CFuJaYmY.js.map} +1 -1
- package/dist/chunks/{checkbox.component-Dxvk8exv.js → checkbox.component-DqlWmIyY.js} +10 -10
- package/dist/chunks/{checkbox.component-Dxvk8exv.js.map → checkbox.component-DqlWmIyY.js.map} +1 -1
- package/dist/chunks/{checkbox.records-BtLBaHBy.js → checkbox.records-08YIiUZO.js} +12 -12
- package/dist/chunks/{checkbox.records-BtLBaHBy.js.map → checkbox.records-08YIiUZO.js.map} +1 -1
- package/dist/chunks/checkbox.records-B7refmmT.js +2 -0
- package/dist/chunks/{checkbox.records-wbkLltak.js.map → checkbox.records-B7refmmT.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-CCY-tnlz.js → checkboxGroup.component-DBqDJvPC.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-CCY-tnlz.js.map → checkboxGroup.component-DBqDJvPC.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-DXuYKyDD.js → checkboxGroup.component-DaxmsqdZ.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-DXuYKyDD.js.map → checkboxGroup.component-DaxmsqdZ.js.map} +1 -1
- package/dist/chunks/{config-B1FINd7s.js → config-DlTdf-Yt.js} +3 -3
- package/dist/chunks/{config-B1FINd7s.js.map → config-DlTdf-Yt.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-DvUZFdws.js → conversationCard.component-Bg1Q9FdN.js} +18 -17
- package/dist/chunks/{conversationCard.component-DvUZFdws.js.map → conversationCard.component-Bg1Q9FdN.js.map} +1 -1
- package/dist/chunks/conversationCard.component-CBrw3VnT.js +2 -0
- package/dist/chunks/{conversationCard.component-BbV9kzvn.js.map → conversationCard.component-CBrw3VnT.js.map} +1 -1
- package/dist/chunks/{datePicker.component-CfULnyaz.js → datePicker.component-DfQNebKg.js} +8 -8
- package/dist/chunks/{datePicker.component-CfULnyaz.js.map → datePicker.component-DfQNebKg.js.map} +1 -1
- package/dist/chunks/datePicker.component-u52NQcza.js +15 -0
- package/dist/chunks/{datePicker.component-CaX-nDYU.js.map → datePicker.component-u52NQcza.js.map} +1 -1
- package/dist/chunks/dialog-trigger-B5NK0lr-.js +2 -0
- package/dist/chunks/{dialog-trigger-BCeZGpGO.js.map → dialog-trigger-B5NK0lr-.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-D2uDgMJr.js → dialog-trigger-BPlPzPU-.js} +9 -9
- package/dist/chunks/{dialog-trigger-D2uDgMJr.js.map → dialog-trigger-BPlPzPU-.js.map} +1 -1
- package/dist/chunks/{heading.component-CUa8MRJt.js → heading.component-BXcyhAEU.js} +2 -2
- package/dist/chunks/{heading.component-CUa8MRJt.js.map → heading.component-BXcyhAEU.js.map} +1 -1
- package/dist/chunks/{heading.component-Cuqs0DsG.js → heading.component-ZD_UVarx.js} +2 -2
- package/dist/chunks/{heading.component-Cuqs0DsG.js.map → heading.component-ZD_UVarx.js.map} +1 -1
- package/dist/chunks/{index-DZGYG5M4.js → index-BBZxmcrY.js} +2 -2
- package/dist/chunks/{index-DZGYG5M4.js.map → index-BBZxmcrY.js.map} +1 -1
- package/dist/chunks/index-BDnnTdaJ.js +2 -0
- package/dist/chunks/{index-CEYJbpt4.js.map → index-BDnnTdaJ.js.map} +1 -1
- package/dist/chunks/index-BGwwyukg.js +2 -0
- package/dist/chunks/index-BGwwyukg.js.map +1 -0
- package/dist/chunks/{index-CBh9RZVL.js → index-BNYygzo-.js} +18 -17
- package/dist/chunks/{index-CBh9RZVL.js.map → index-BNYygzo-.js.map} +1 -1
- package/dist/chunks/index-BYf7SZUC.js +2 -0
- package/dist/chunks/{index-BfD9Ne2e.js.map → index-BYf7SZUC.js.map} +1 -1
- package/dist/chunks/{index-Cuu1x05z.js → index-C2kxTsiE.js} +17 -16
- package/dist/chunks/{index-Cuu1x05z.js.map → index-C2kxTsiE.js.map} +1 -1
- package/dist/chunks/index-COoMV9Mh.js +2 -0
- package/dist/chunks/{index-hGlTuPbK.js.map → index-COoMV9Mh.js.map} +1 -1
- package/dist/chunks/index-CYk-7wwG.js +1018 -0
- package/dist/chunks/index-CYk-7wwG.js.map +1 -0
- package/dist/chunks/index-CZ42b9rT.js +3 -0
- package/dist/chunks/index-CZ42b9rT.js.map +1 -0
- package/dist/chunks/index-CZz7hHWb.js +2 -0
- package/dist/chunks/{index-B4fjIWcA.js.map → index-CZz7hHWb.js.map} +1 -1
- package/dist/chunks/{index-Cqwkg1hU.js → index-CjNAJEk5.js} +106 -105
- package/dist/chunks/{index-Cqwkg1hU.js.map → index-CjNAJEk5.js.map} +1 -1
- package/dist/chunks/{index-CZPHIn6T.js → index-Co91SHhW.js} +3 -3
- package/dist/chunks/{index-CZPHIn6T.js.map → index-Co91SHhW.js.map} +1 -1
- package/dist/chunks/{index-D5Dscg8T.js → index-D9DU-5GF.js} +49 -48
- package/dist/chunks/{index-D5Dscg8T.js.map → index-D9DU-5GF.js.map} +1 -1
- package/dist/chunks/{index-f4Ba8Pq7.js → index-DUHFrLMI.js} +15 -15
- package/dist/chunks/{index-f4Ba8Pq7.js.map → index-DUHFrLMI.js.map} +1 -1
- package/dist/chunks/{index-Dx94WMw1.js → index-DcJZ8q0f.js} +44 -43
- package/dist/chunks/{index-Dx94WMw1.js.map → index-DcJZ8q0f.js.map} +1 -1
- package/dist/chunks/index-Dyxhds_1.js +2 -0
- package/dist/chunks/{index-5cRW642o.js.map → index-Dyxhds_1.js.map} +1 -1
- package/dist/chunks/{index-DMSZTX7A.js → index-MDMqrELk.js} +9 -9
- package/dist/chunks/{index-DMSZTX7A.js.map → index-MDMqrELk.js.map} +1 -1
- package/dist/chunks/index-MlhL0PDC.js +2 -0
- package/dist/chunks/{index-CFnNmQf0.js.map → index-MlhL0PDC.js.map} +1 -1
- package/dist/chunks/{index-Dq91nN6-.js → index-S1uNQPZj.js} +3 -3
- package/dist/chunks/{index-Dq91nN6-.js.map → index-S1uNQPZj.js.map} +1 -1
- package/dist/chunks/index-UWtj4ULm.js +8 -0
- package/dist/chunks/{index-CedYIQt5.js.map → index-UWtj4ULm.js.map} +1 -1
- package/dist/chunks/index-ZaGEDS_0.js +2 -0
- package/dist/chunks/{index-BmcSWiFh.js.map → index-ZaGEDS_0.js.map} +1 -1
- package/dist/chunks/index-j7W9Hyzx.js +322 -0
- package/dist/chunks/index-j7W9Hyzx.js.map +1 -0
- package/dist/chunks/{logo.types-CXQsathd.js → logo.types-By8TqyNf.js} +2 -2
- package/dist/chunks/{logo.types-CXQsathd.js.map → logo.types-By8TqyNf.js.map} +1 -1
- package/dist/chunks/menu.component-CiZzHc2D.js +2 -0
- package/dist/chunks/{menu.component-DzEdcGnQ.js.map → menu.component-CiZzHc2D.js.map} +1 -1
- package/dist/chunks/{menu.component-DuEKWjJe.js → menu.component-D4gknsq1.js} +26 -26
- package/dist/chunks/{menu.component-DuEKWjJe.js.map → menu.component-D4gknsq1.js.map} +1 -1
- package/dist/chunks/modal.types-9-Bz6ybC.js +2 -0
- package/dist/chunks/{modal.types-SzYLypgs.js.map → modal.types-9-Bz6ybC.js.map} +1 -1
- package/dist/chunks/{modal.types-Cg8WeIe5.js → modal.types-BV8Eand2.js} +5 -5
- package/dist/chunks/{modal.types-Cg8WeIe5.js.map → modal.types-BV8Eand2.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js → notificationCounter.component-Bei8mHSZ.js} +2 -2
- package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js.map → notificationCounter.component-Bei8mHSZ.js.map} +1 -1
- package/dist/chunks/pinInput.types-B-RchRm_.js +2 -0
- package/dist/chunks/{pinInput.types-D73AXb6j.js.map → pinInput.types-B-RchRm_.js.map} +1 -1
- package/dist/chunks/{pinInput.types-DzJ8G-cv.js → pinInput.types-U7Tfj5It.js} +8 -8
- package/dist/chunks/{pinInput.types-DzJ8G-cv.js.map → pinInput.types-U7Tfj5It.js.map} +1 -1
- package/dist/chunks/popover-80QH8HEJ.js +2 -0
- package/dist/chunks/{popover-DPEovmxh.js.map → popover-80QH8HEJ.js.map} +1 -1
- package/dist/chunks/{popover-D0QoPsrG.js → popover-B9rNOU0g.js} +26 -26
- package/dist/chunks/{popover-D0QoPsrG.js.map → popover-B9rNOU0g.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-Dt02njg5.js → popover-root-provider-CeLLpesI.js} +8 -8
- package/dist/chunks/{popover-root-provider-Dt02njg5.js.map → popover-root-provider-CeLLpesI.js.map} +1 -1
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js +2 -0
- package/dist/chunks/{popover-root-provider-BYJE5I-P.js.map → popover-root-provider-DAMDDAHQ.js.map} +1 -1
- package/dist/chunks/popover.component-A8In7d2B.js +2 -0
- package/dist/chunks/popover.component-A8In7d2B.js.map +1 -0
- package/dist/chunks/popover.component-BR8W3Jb8.js +322 -0
- package/dist/chunks/popover.component-BR8W3Jb8.js.map +1 -0
- package/dist/chunks/popover.recipe--gMRcQTS.js +479 -0
- package/dist/chunks/popover.recipe--gMRcQTS.js.map +1 -0
- package/dist/chunks/popover.recipe-DLeyokHo.js +2 -0
- package/dist/chunks/popover.recipe-DLeyokHo.js.map +1 -0
- package/dist/chunks/{radio.records-CzNYznSb.js → radio.records-D7VFHW-s.js} +16 -16
- package/dist/chunks/{radio.records-CzNYznSb.js.map → radio.records-D7VFHW-s.js.map} +1 -1
- package/dist/chunks/radio.records-DLffZyeq.js +2 -0
- package/dist/chunks/{radio.records-CEgwvLIL.js.map → radio.records-DLffZyeq.js.map} +1 -1
- package/dist/chunks/radioGroup.component-CZwrCppd.js +2 -0
- package/dist/chunks/{radioGroup.component-6Sb4sfkk.js.map → radioGroup.component-CZwrCppd.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-Dy-hsu8-.js → radioGroup.component-DVsMiHFI.js} +11 -11
- package/dist/chunks/{radioGroup.component-Dy-hsu8-.js.map → radioGroup.component-DVsMiHFI.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-k9LJL9Eu.js → ratingDots.component-1U-hoEpC.js} +4 -4
- package/dist/chunks/{ratingDots.component-k9LJL9Eu.js.map → ratingDots.component-1U-hoEpC.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-DMe19wON.js → ratingDots.component-qbroWQhZ.js} +2 -2
- package/dist/chunks/{ratingDots.component-DMe19wON.js.map → ratingDots.component-qbroWQhZ.js.map} +1 -1
- package/dist/chunks/render-strategy-BmWbSgqh.js +2 -0
- package/dist/chunks/{render-strategy-CdSSbgPU.js.map → render-strategy-BmWbSgqh.js.map} +1 -1
- package/dist/chunks/{render-strategy-ql9Qx5Cz.js → render-strategy-C8hwN3bm.js} +2 -2
- package/dist/chunks/{render-strategy-ql9Qx5Cz.js.map → render-strategy-C8hwN3bm.js.map} +1 -1
- package/dist/chunks/{select.component-InxmAsNH.js → select.component-5vAzdrZa.js} +44 -44
- package/dist/chunks/{select.component-InxmAsNH.js.map → select.component-5vAzdrZa.js.map} +1 -1
- package/dist/chunks/select.component-C_Fs6Xeq.js +2 -0
- package/dist/chunks/{select.component-CuiKCzV4.js.map → select.component-C_Fs6Xeq.js.map} +1 -1
- package/dist/chunks/{sortableList.component-B9CPjKG7.js → sortableList.component-BX3EvpRM.js} +3 -3
- package/dist/chunks/{sortableList.component-B9CPjKG7.js.map → sortableList.component-BX3EvpRM.js.map} +1 -1
- package/dist/chunks/{sortableList.component-CaPRUdXt.js → sortableList.component-B_O-YB3I.js} +3 -3
- package/dist/chunks/{sortableList.component-CaPRUdXt.js.map → sortableList.component-B_O-YB3I.js.map} +1 -1
- package/dist/chunks/{spinner.component-CWdZsQ1n.js → spinner.component-CzhcJOwX.js} +2 -2
- package/dist/chunks/{spinner.component-CWdZsQ1n.js.map → spinner.component-CzhcJOwX.js.map} +1 -1
- package/dist/chunks/{spinner.component-DWZ_4aTj.js → spinner.component-lHj69hIF.js} +3 -3
- package/dist/chunks/{spinner.component-DWZ_4aTj.js.map → spinner.component-lHj69hIF.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-D4XrEFve.js → styledAvatar.types-B9SHiNfg.js} +2 -2
- package/dist/chunks/{styledAvatar.types-D4XrEFve.js.map → styledAvatar.types-B9SHiNfg.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-BXftd-Wf.js → styledAvatar.types-BvHm6hKS.js} +2 -2
- package/dist/chunks/{styledAvatar.types-BXftd-Wf.js.map → styledAvatar.types-BvHm6hKS.js.map} +1 -1
- package/dist/chunks/{swatch.types-B8OSJZ-a.js → swatch.types-DbgA3RWc.js} +2 -2
- package/dist/chunks/{swatch.types-B8OSJZ-a.js.map → swatch.types-DbgA3RWc.js.map} +1 -1
- package/dist/chunks/switch.component-B3Gfgft9.js +2 -0
- package/dist/chunks/{switch.component-Ct8hEoT2.js.map → switch.component-B3Gfgft9.js.map} +1 -1
- package/dist/chunks/{switch.component-vDh8eC0O.js → switch.component-DjOGsCIQ.js} +11 -11
- package/dist/chunks/{switch.component-vDh8eC0O.js.map → switch.component-DjOGsCIQ.js.map} +1 -1
- package/dist/chunks/{tabs.component-CuCzoee6.js → tabs.component-Ca9jVGv0.js} +48 -48
- package/dist/chunks/{tabs.component-CuCzoee6.js.map → tabs.component-Ca9jVGv0.js.map} +1 -1
- package/dist/chunks/tabs.component-pl0kO5_M.js +2 -0
- package/dist/chunks/{tabs.component-DDmnq9Yj.js.map → tabs.component-pl0kO5_M.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-Cvlqt0tt.js → tagBlock.component-C2DAQrQE.js} +2 -2
- package/dist/chunks/{tagBlock.component-Cvlqt0tt.js.map → tagBlock.component-C2DAQrQE.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-LJYc9GiQ.js → tagBlock.component-CnPbyaGH.js} +5 -5
- package/dist/chunks/{tagBlock.component-LJYc9GiQ.js.map → tagBlock.component-CnPbyaGH.js.map} +1 -1
- package/dist/chunks/text.component-CnnBhB3c.js +2 -0
- package/dist/chunks/text.component-CnnBhB3c.js.map +1 -0
- package/dist/chunks/text.component-Cpruo7MB.js +12 -0
- package/dist/chunks/text.component-Cpruo7MB.js.map +1 -0
- package/dist/chunks/textInput.component-D-galjwy.js +2 -0
- package/dist/chunks/{textInput.component-HHNykQ9Q.js.map → textInput.component-D-galjwy.js.map} +1 -1
- package/dist/chunks/{textInput.component--WvGHJxt.js → textInput.component-DXtEgbkr.js} +12 -12
- package/dist/chunks/{textInput.component--WvGHJxt.js.map → textInput.component-DXtEgbkr.js.map} +1 -1
- package/dist/chunks/textarea.component-DmxMuMCU.js +2 -0
- package/dist/chunks/{textarea.component-FFs6Uln9.js.map → textarea.component-DmxMuMCU.js.map} +1 -1
- package/dist/chunks/{textarea.component--AjIMSc1.js → textarea.component-Do0zHf-1.js} +7 -7
- package/dist/chunks/{textarea.component--AjIMSc1.js.map → textarea.component-Do0zHf-1.js.map} +1 -1
- package/dist/chunks/theme.provider-CIJGn9Kh.js +26 -0
- package/dist/chunks/theme.provider-CIJGn9Kh.js.map +1 -0
- package/dist/chunks/{theme.provider-C5Ltz2zj.js → theme.provider-Dj4pZ815.js} +1699 -1830
- package/dist/chunks/theme.provider-Dj4pZ815.js.map +1 -0
- package/dist/chunks/{timePicker.component-BxmUXWNg.js → timePicker.component-CophNE3d.js} +2 -2
- package/dist/chunks/{timePicker.component-BxmUXWNg.js.map → timePicker.component-CophNE3d.js.map} +1 -1
- package/dist/chunks/{timePicker.component-Bah1y2Pc.js → timePicker.component-DTs3MjOx.js} +4 -4
- package/dist/chunks/{timePicker.component-Bah1y2Pc.js.map → timePicker.component-DTs3MjOx.js.map} +1 -1
- package/dist/chunks/{timeRange.component-C0ZHjvEa.js → timeRange.component-C5dt8sZn.js} +2 -2
- package/dist/chunks/{timeRange.component-C0ZHjvEa.js.map → timeRange.component-C5dt8sZn.js.map} +1 -1
- package/dist/chunks/{timeRange.component-BhdUqy0y.js → timeRange.component-C5wSyUiZ.js} +2 -2
- package/dist/chunks/{timeRange.component-BhdUqy0y.js.map → timeRange.component-C5wSyUiZ.js.map} +1 -1
- package/dist/chunks/timestamp.component-BPU8bf7p.js +54 -0
- package/dist/chunks/{timestamp.component-BOksAchA.js.map → timestamp.component-BPU8bf7p.js.map} +1 -1
- package/dist/chunks/timestamp.component-rTLrzBPA.js +2 -0
- package/dist/chunks/{timestamp.component-DLh53lam.js.map → timestamp.component-rTLrzBPA.js.map} +1 -1
- package/dist/chunks/{toaster.records-Cf8bpHo8.js → toaster.records-BGfpUOVt.js} +22 -21
- package/dist/chunks/{toaster.records-Cf8bpHo8.js.map → toaster.records-BGfpUOVt.js.map} +1 -1
- package/dist/chunks/toaster.records-BJo0j1IZ.js +2 -0
- package/dist/chunks/{toaster.records-CGym-iT-.js.map → toaster.records-BJo0j1IZ.js.map} +1 -1
- package/dist/chunks/tooltip.component-CwrXAVEq.js +2 -0
- package/dist/chunks/tooltip.component-CwrXAVEq.js.map +1 -0
- package/dist/chunks/tooltip.component-DgOzrNG3.js +758 -0
- package/dist/chunks/tooltip.component-DgOzrNG3.js.map +1 -0
- package/dist/chunks/{typography.records-BeoK0Uyj.js → typography.records-C6G_65b4.js} +2 -2
- package/dist/chunks/{typography.records-BeoK0Uyj.js.map → typography.records-C6G_65b4.js.map} +1 -1
- package/dist/chunks/{typography.records-Xg59taw9.js → typography.records-jnjWfTLS.js} +2 -2
- package/dist/chunks/{typography.records-Xg59taw9.js.map → typography.records-jnjWfTLS.js.map} +1 -1
- package/dist/chunks/use-field-context--wBJQY1R.js +2 -0
- package/dist/chunks/{use-field-context-xBX4EpFz.js.map → use-field-context--wBJQY1R.js.map} +1 -1
- package/dist/chunks/{use-field-context-C4IwmN39.js → use-field-context-B_G7Yziz.js} +2 -2
- package/dist/chunks/{use-field-context-C4IwmN39.js.map → use-field-context-B_G7Yziz.js.map} +1 -1
- package/dist/chunks/use-locale-context-BdqHZ8L8.js +22 -0
- package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +1 -0
- package/dist/chunks/{portal-D2KZrSzZ.js → use-locale-context-D-agiW5E.js} +242 -242
- package/dist/chunks/use-locale-context-D-agiW5E.js.map +1 -0
- package/dist/chunks/{withFormControl-3s6IRbl0.js → withFormControl-BDuV97Vb.js} +49 -49
- package/dist/chunks/{withFormControl-3s6IRbl0.js.map → withFormControl-BDuV97Vb.js.map} +1 -1
- package/dist/chunks/withFormControl-DpytztWF.js +2 -0
- package/dist/chunks/{withFormControl-DhWavZor.js.map → withFormControl-DpytztWF.js.map} +1 -1
- package/dist/chunks/withTruncation-DPbMF-jg.js +2 -0
- package/dist/chunks/withTruncation-DPbMF-jg.js.map +1 -0
- package/dist/chunks/withTruncation-DoQriKuH.js +67 -0
- package/dist/chunks/withTruncation-DoQriKuH.js.map +1 -0
- package/dist/chunks/{wrap-CYgSj8wY.js → wrap-B8tBNeBY.js} +2 -2
- package/dist/chunks/{wrap-CYgSj8wY.js.map → wrap-B8tBNeBY.js.map} +1 -1
- package/dist/cjs/chakra/index.cjs +1 -1
- package/dist/cjs/chakra/index.cjs.map +1 -1
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs +1 -1
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Toast/index.cjs +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/esm/chakra/index.js +69 -69
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Logo/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +1 -1
- package/dist/esm/components/Toast/index.js +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +42 -41
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/index.js +61 -60
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/types/components/Menu/menu.recipe.d.ts +1 -1
- package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
- package/dist/types/components/TimePicker/timePicker.recipe.d.ts +1 -1
- package/dist/types/components/Tooltip/tooltip.component.d.ts +6 -5
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +3 -3
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
- package/package.json +1 -1
- package/dist/chunks/avatar.component-BRjxOsjQ.js +0 -2
- package/dist/chunks/checkbox.component-CYpG_LI3.js +0 -2
- package/dist/chunks/checkbox.records-wbkLltak.js +0 -2
- package/dist/chunks/conversationCard.component-BbV9kzvn.js +0 -2
- package/dist/chunks/datePicker.component-CaX-nDYU.js +0 -15
- package/dist/chunks/dialog-trigger-BCeZGpGO.js +0 -2
- package/dist/chunks/index-5cRW642o.js +0 -2
- package/dist/chunks/index-B4fjIWcA.js +0 -2
- package/dist/chunks/index-BfD9Ne2e.js +0 -2
- package/dist/chunks/index-BlGAWSIX.js +0 -3
- package/dist/chunks/index-BlGAWSIX.js.map +0 -1
- package/dist/chunks/index-BmcSWiFh.js +0 -2
- package/dist/chunks/index-C323eOJV.js +0 -1328
- package/dist/chunks/index-C323eOJV.js.map +0 -1
- package/dist/chunks/index-CEYJbpt4.js +0 -2
- package/dist/chunks/index-CFnNmQf0.js +0 -2
- package/dist/chunks/index-CedYIQt5.js +0 -8
- package/dist/chunks/index-Fztcdoo_.js +0 -2
- package/dist/chunks/index-Fztcdoo_.js.map +0 -1
- package/dist/chunks/index-WyVSig7F.js +0 -70
- package/dist/chunks/index-WyVSig7F.js.map +0 -1
- package/dist/chunks/index-hGlTuPbK.js +0 -2
- package/dist/chunks/menu.component-DzEdcGnQ.js +0 -2
- package/dist/chunks/modal.context-DSKLfsJK.js +0 -12
- package/dist/chunks/modal.context-DSKLfsJK.js.map +0 -1
- package/dist/chunks/modal.context-EJ67QNzq.js +0 -2
- package/dist/chunks/modal.context-EJ67QNzq.js.map +0 -1
- package/dist/chunks/modal.types-SzYLypgs.js +0 -2
- package/dist/chunks/pinInput.types-D73AXb6j.js +0 -2
- package/dist/chunks/popover-DPEovmxh.js +0 -2
- package/dist/chunks/popover-root-provider-BYJE5I-P.js +0 -2
- package/dist/chunks/popover.component-BNH2Qyh6.js +0 -264
- package/dist/chunks/popover.component-BNH2Qyh6.js.map +0 -1
- package/dist/chunks/popover.component-DXcu1TE5.js +0 -2
- package/dist/chunks/popover.component-DXcu1TE5.js.map +0 -1
- package/dist/chunks/popover.recipe-BLsWPsAa.js +0 -124
- package/dist/chunks/popover.recipe-BLsWPsAa.js.map +0 -1
- package/dist/chunks/popover.recipe-av5Jdn1r.js +0 -2
- package/dist/chunks/popover.recipe-av5Jdn1r.js.map +0 -1
- package/dist/chunks/portal-D2KZrSzZ.js.map +0 -1
- package/dist/chunks/portal-TWtD47zg.js +0 -22
- package/dist/chunks/portal-TWtD47zg.js.map +0 -1
- package/dist/chunks/radio.records-CEgwvLIL.js +0 -2
- package/dist/chunks/radioGroup.component-6Sb4sfkk.js +0 -2
- package/dist/chunks/render-strategy-CdSSbgPU.js +0 -2
- package/dist/chunks/select.component-CuiKCzV4.js +0 -2
- package/dist/chunks/switch.component-Ct8hEoT2.js +0 -2
- package/dist/chunks/tabs.component-DDmnq9Yj.js +0 -2
- package/dist/chunks/textInput.component-HHNykQ9Q.js +0 -2
- package/dist/chunks/textarea.component-FFs6Uln9.js +0 -2
- package/dist/chunks/theme.provider-BEb3gD55.js +0 -26
- package/dist/chunks/theme.provider-BEb3gD55.js.map +0 -1
- package/dist/chunks/theme.provider-C5Ltz2zj.js.map +0 -1
- package/dist/chunks/timestamp.component-BOksAchA.js +0 -53
- package/dist/chunks/timestamp.component-DLh53lam.js +0 -2
- package/dist/chunks/toaster.records-CGym-iT-.js +0 -2
- package/dist/chunks/use-field-context-xBX4EpFz.js +0 -2
- package/dist/chunks/withFormControl-DhWavZor.js +0 -2
- package/dist/chunks/withTruncation-D8W737TN.js +0 -562
- package/dist/chunks/withTruncation-D8W737TN.js.map +0 -1
- package/dist/chunks/withTruncation-nuzHzFsq.js +0 -2
- package/dist/chunks/withTruncation-nuzHzFsq.js.map +0 -1
|
@@ -0,0 +1,758 @@
|
|
|
1
|
+
import { j as f } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { forwardRef as j, useId as Le, createContext as Se, useContext as De } from "react";
|
|
3
|
+
import { c as Ae, f as R, u as ie, h as je, g as ee, d as Re, b as xe, i as Ve, j as Ie, k as _e, n as Fe, s as ae, l as le, m as ce, P as Ne } from "./use-locale-context-D-agiW5E.js";
|
|
4
|
+
import { c as Ke } from "./create-slot-recipe-context-BJmsuxih.js";
|
|
5
|
+
import { Y as E, Z as A, a2 as Z, au as $e, D as de, av as We, c as Be, y as ze, R as B, aw as Ge, b as qe, d as He, m as Ue } from "./index-CYk-7wwG.js";
|
|
6
|
+
const [pe, x] = Ae({
|
|
7
|
+
name: "TooltipContext",
|
|
8
|
+
hookName: "useTooltipContext",
|
|
9
|
+
providerName: "<TooltipProvider />"
|
|
10
|
+
}), ue = j((e, t) => {
|
|
11
|
+
const o = x(), n = E(o.getArrowProps(), e);
|
|
12
|
+
return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
13
|
+
});
|
|
14
|
+
ue.displayName = "TooltipArrow";
|
|
15
|
+
const fe = j((e, t) => {
|
|
16
|
+
const o = x(), n = E(o.getArrowTipProps(), e);
|
|
17
|
+
return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
18
|
+
});
|
|
19
|
+
fe.displayName = "TooltipArrowTip";
|
|
20
|
+
const ge = j((e, t) => {
|
|
21
|
+
const o = x(), n = ie(), r = E(o.getContentProps(), n.getPresenceProps(), e);
|
|
22
|
+
return n.unmounted ? null : /* @__PURE__ */ f.jsx(R.div, { ...r, ref: je(n.ref, t) });
|
|
23
|
+
});
|
|
24
|
+
ge.displayName = "TooltipContent";
|
|
25
|
+
const ve = j((e, t) => {
|
|
26
|
+
const o = x(), n = E(o.getPositionerProps(), e);
|
|
27
|
+
return ie().unmounted ? null : /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
28
|
+
});
|
|
29
|
+
ve.displayName = "TooltipPositioner";
|
|
30
|
+
function Ye(e) {
|
|
31
|
+
return !(e.metaKey || !We() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
32
|
+
}
|
|
33
|
+
var Ze = /* @__PURE__ */ new Set(["checkbox", "radio", "range", "color", "file", "image", "button", "submit", "reset"]);
|
|
34
|
+
function Je(e, t, o) {
|
|
35
|
+
const n = o ? de(o) : null, r = A(n);
|
|
36
|
+
return e = e || n instanceof r.HTMLInputElement && !Ze.has(n?.type) || n instanceof r.HTMLTextAreaElement || n instanceof r.HTMLElement && n.isContentEditable, !(e && t === "keyboard" && o instanceof r.KeyboardEvent && !Reflect.has(Qe, o.key));
|
|
37
|
+
}
|
|
38
|
+
var T = null, G = /* @__PURE__ */ new Set(), D = /* @__PURE__ */ new Map(), k = !1, q = !1, Qe = {
|
|
39
|
+
Tab: !0,
|
|
40
|
+
Escape: !0
|
|
41
|
+
};
|
|
42
|
+
function $(e, t) {
|
|
43
|
+
for (let o of G)
|
|
44
|
+
o(e, t);
|
|
45
|
+
}
|
|
46
|
+
function N(e) {
|
|
47
|
+
k = !0, Ye(e) && (T = "keyboard", $("keyboard", e));
|
|
48
|
+
}
|
|
49
|
+
function P(e) {
|
|
50
|
+
T = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (k = !0, $("pointer", e));
|
|
51
|
+
}
|
|
52
|
+
function ye(e) {
|
|
53
|
+
$e(e) && (k = !0, T = "virtual");
|
|
54
|
+
}
|
|
55
|
+
function me(e) {
|
|
56
|
+
const t = de(e);
|
|
57
|
+
t === A(t) || t === Z(t) || (!k && !q && (T = "virtual", $("virtual", e)), k = !1, q = !1);
|
|
58
|
+
}
|
|
59
|
+
function Pe() {
|
|
60
|
+
k = !1, q = !0;
|
|
61
|
+
}
|
|
62
|
+
function Xe(e) {
|
|
63
|
+
if (typeof window > "u" || D.get(A(e)))
|
|
64
|
+
return;
|
|
65
|
+
const t = A(e), o = Z(e);
|
|
66
|
+
let n = t.HTMLElement.prototype.focus;
|
|
67
|
+
t.HTMLElement.prototype.focus = function() {
|
|
68
|
+
T = "virtual", $("virtual", null), k = !0, n.apply(this, arguments);
|
|
69
|
+
}, o.addEventListener("keydown", N, !0), o.addEventListener("keyup", N, !0), o.addEventListener("click", ye, !0), t.addEventListener("focus", me, !0), t.addEventListener("blur", Pe, !1), typeof t.PointerEvent < "u" ? (o.addEventListener("pointerdown", P, !0), o.addEventListener("pointermove", P, !0), o.addEventListener("pointerup", P, !0)) : (o.addEventListener("mousedown", P, !0), o.addEventListener("mousemove", P, !0), o.addEventListener("mouseup", P, !0)), t.addEventListener(
|
|
70
|
+
"beforeunload",
|
|
71
|
+
() => {
|
|
72
|
+
et(e);
|
|
73
|
+
},
|
|
74
|
+
{ once: !0 }
|
|
75
|
+
), D.set(t, { focus: n });
|
|
76
|
+
}
|
|
77
|
+
var et = (e, t) => {
|
|
78
|
+
const o = A(e), n = Z(e);
|
|
79
|
+
D.has(o) && (o.HTMLElement.prototype.focus = D.get(o).focus, n.removeEventListener("keydown", N, !0), n.removeEventListener("keyup", N, !0), n.removeEventListener("click", ye, !0), o.removeEventListener("focus", me, !0), o.removeEventListener("blur", Pe, !1), typeof o.PointerEvent < "u" ? (n.removeEventListener("pointerdown", P, !0), n.removeEventListener("pointermove", P, !0), n.removeEventListener("pointerup", P, !0)) : (n.removeEventListener("mousedown", P, !0), n.removeEventListener("mousemove", P, !0), n.removeEventListener("mouseup", P, !0)), D.delete(o));
|
|
80
|
+
};
|
|
81
|
+
function H() {
|
|
82
|
+
return T === "keyboard";
|
|
83
|
+
}
|
|
84
|
+
function tt(e = {}) {
|
|
85
|
+
const { isTextInput: t, autoFocus: o, onChange: n, root: r } = e;
|
|
86
|
+
Xe(r), n?.({ isFocusVisible: o || H(), modality: T });
|
|
87
|
+
const c = (p, a) => {
|
|
88
|
+
Je(!!t, p, a) && n?.({ isFocusVisible: H(), modality: p });
|
|
89
|
+
};
|
|
90
|
+
return G.add(c), () => {
|
|
91
|
+
G.delete(c);
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
const ot = Symbol(), te = Object.getPrototypeOf, U = /* @__PURE__ */ new WeakMap(), nt = (e) => e && (U.has(e) ? U.get(e) : te(e) === Object.prototype || te(e) === Array.prototype), rt = (e) => nt(e) && e[ot] || null, oe = (e, t = !0) => {
|
|
95
|
+
U.set(e, t);
|
|
96
|
+
};
|
|
97
|
+
function st() {
|
|
98
|
+
if (typeof globalThis < "u") return globalThis;
|
|
99
|
+
if (typeof self < "u") return self;
|
|
100
|
+
if (typeof window < "u") return window;
|
|
101
|
+
if (typeof global < "u") return global;
|
|
102
|
+
}
|
|
103
|
+
function Oe(e, t) {
|
|
104
|
+
const o = st();
|
|
105
|
+
return o ? (o[e] || (o[e] = t()), o[e]) : t();
|
|
106
|
+
}
|
|
107
|
+
var F = Oe("__zag__refSet", () => /* @__PURE__ */ new WeakSet()), it = (e) => typeof e == "object" && e !== null && "$$typeof" in e && "props" in e, at = (e) => typeof e == "object" && e !== null && "__v_isVNode" in e, lt = (e) => typeof e == "object" && e !== null && "nodeType" in e && typeof e.nodeName == "string", ct = (e) => it(e) || at(e) || lt(e), Y = (e) => e !== null && typeof e == "object", ne = (e) => Y(e) && !F.has(e) && (Array.isArray(e) || !(Symbol.iterator in e)) && !ct(e) && !(e instanceof WeakMap) && !(e instanceof WeakSet) && !(e instanceof Error) && !(e instanceof Number) && !(e instanceof Date) && !(e instanceof String) && !(e instanceof RegExp) && !(e instanceof ArrayBuffer) && !(e instanceof Promise), K = () => process.env.NODE_ENV !== "production", b = Oe("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap()), dt = (e = Object.is, t = (a, v) => new Proxy(a, v), o = /* @__PURE__ */ new WeakMap(), n = (a, v) => {
|
|
108
|
+
const y = o.get(a);
|
|
109
|
+
if (y?.[0] === v)
|
|
110
|
+
return y[1];
|
|
111
|
+
const u = Array.isArray(a) ? [] : Object.create(Object.getPrototypeOf(a));
|
|
112
|
+
return oe(u, !0), o.set(a, [v, u]), Reflect.ownKeys(a).forEach((O) => {
|
|
113
|
+
const m = Reflect.get(a, O);
|
|
114
|
+
F.has(m) ? (oe(m, !1), u[O] = m) : b.has(m) ? u[O] = ft(m) : u[O] = m;
|
|
115
|
+
}), Object.freeze(u);
|
|
116
|
+
}, r = /* @__PURE__ */ new WeakMap(), c = [1, 1], p = (a) => {
|
|
117
|
+
if (!Y(a))
|
|
118
|
+
throw new Error("object required");
|
|
119
|
+
const v = r.get(a);
|
|
120
|
+
if (v)
|
|
121
|
+
return v;
|
|
122
|
+
let y = c[0];
|
|
123
|
+
const u = /* @__PURE__ */ new Set(), O = (i, s = ++c[0]) => {
|
|
124
|
+
y !== s && (y = s, u.forEach((l) => l(i, s)));
|
|
125
|
+
};
|
|
126
|
+
let m = c[1];
|
|
127
|
+
const w = (i = ++c[1]) => (m !== i && !u.size && (m = i, d.forEach(([s]) => {
|
|
128
|
+
const l = s[1](i);
|
|
129
|
+
l > y && (y = l);
|
|
130
|
+
})), y), C = (i) => (s, l) => {
|
|
131
|
+
const g = [...s];
|
|
132
|
+
g[1] = [i, ...g[1]], O(g, l);
|
|
133
|
+
}, d = /* @__PURE__ */ new Map(), J = (i, s) => {
|
|
134
|
+
if (K() && d.has(i))
|
|
135
|
+
throw new Error("prop listener already exists");
|
|
136
|
+
if (u.size) {
|
|
137
|
+
const l = s[3](C(i));
|
|
138
|
+
d.set(i, [s, l]);
|
|
139
|
+
} else
|
|
140
|
+
d.set(i, [s]);
|
|
141
|
+
}, Q = (i) => {
|
|
142
|
+
const s = d.get(i);
|
|
143
|
+
s && (d.delete(i), s[1]?.());
|
|
144
|
+
}, Ce = (i) => (u.add(i), u.size === 1 && d.forEach(([l, g], M) => {
|
|
145
|
+
if (K() && g)
|
|
146
|
+
throw new Error("remove already exists");
|
|
147
|
+
const L = l[3](C(M));
|
|
148
|
+
d.set(M, [l, L]);
|
|
149
|
+
}), () => {
|
|
150
|
+
u.delete(i), u.size === 0 && d.forEach(([l, g], M) => {
|
|
151
|
+
g && (g(), d.set(M, [l]));
|
|
152
|
+
});
|
|
153
|
+
}), W = Array.isArray(a) ? [] : Object.create(Object.getPrototypeOf(a)), I = t(W, {
|
|
154
|
+
deleteProperty(i, s) {
|
|
155
|
+
const l = Reflect.get(i, s);
|
|
156
|
+
Q(s);
|
|
157
|
+
const g = Reflect.deleteProperty(i, s);
|
|
158
|
+
return g && O(["delete", [s], l]), g;
|
|
159
|
+
},
|
|
160
|
+
set(i, s, l, g) {
|
|
161
|
+
const M = Reflect.has(i, s), L = Reflect.get(i, s, g);
|
|
162
|
+
if (M && (e(L, l) || r.has(l) && e(L, r.get(l))))
|
|
163
|
+
return !0;
|
|
164
|
+
Q(s), Y(l) && (l = rt(l) || l);
|
|
165
|
+
let _ = l;
|
|
166
|
+
if (!Object.getOwnPropertyDescriptor(i, s)?.set) {
|
|
167
|
+
!b.has(l) && ne(l) && (_ = we(l));
|
|
168
|
+
const X = !F.has(_) && b.get(_);
|
|
169
|
+
X && J(s, X);
|
|
170
|
+
}
|
|
171
|
+
return Reflect.set(i, s, _, g), O(["set", [s], l, L]), !0;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
r.set(a, I);
|
|
175
|
+
const Me = [W, w, n, Ce];
|
|
176
|
+
return b.set(I, Me), Reflect.ownKeys(a).forEach((i) => {
|
|
177
|
+
const s = Object.getOwnPropertyDescriptor(a, i);
|
|
178
|
+
s.get || s.set ? Object.defineProperty(W, i, s) : I[i] = a[i];
|
|
179
|
+
}), I;
|
|
180
|
+
}) => [
|
|
181
|
+
// public functions
|
|
182
|
+
p,
|
|
183
|
+
// shared state
|
|
184
|
+
b,
|
|
185
|
+
F,
|
|
186
|
+
// internal things
|
|
187
|
+
e,
|
|
188
|
+
t,
|
|
189
|
+
ne,
|
|
190
|
+
o,
|
|
191
|
+
n,
|
|
192
|
+
r,
|
|
193
|
+
c
|
|
194
|
+
], [pt] = dt();
|
|
195
|
+
function we(e = {}) {
|
|
196
|
+
return pt(e);
|
|
197
|
+
}
|
|
198
|
+
function ut(e, t, o) {
|
|
199
|
+
const n = b.get(e);
|
|
200
|
+
K() && !n && console.warn("Please use proxy object");
|
|
201
|
+
let r;
|
|
202
|
+
const c = [], p = n[3];
|
|
203
|
+
let a = !1;
|
|
204
|
+
const y = p((u) => {
|
|
205
|
+
c.push(u), r || (r = Promise.resolve().then(() => {
|
|
206
|
+
r = void 0, a && t(c.splice(0));
|
|
207
|
+
}));
|
|
208
|
+
});
|
|
209
|
+
return a = !0, () => {
|
|
210
|
+
a = !1, y();
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
function ft(e) {
|
|
214
|
+
const t = b.get(e);
|
|
215
|
+
K() && !t && console.warn("Please use proxy object");
|
|
216
|
+
const [o, n, r] = t;
|
|
217
|
+
return r(o, n());
|
|
218
|
+
}
|
|
219
|
+
var gt = qe("tooltip").parts("trigger", "arrow", "arrowTip", "positioner", "content"), S = gt.build(), he = (e) => e.ids?.trigger ?? `tooltip:${e.id}:trigger`, vt = (e) => e.ids?.content ?? `tooltip:${e.id}:content`, yt = (e) => e.ids?.arrow ?? `tooltip:${e.id}:arrow`, be = (e) => e.ids?.positioner ?? `tooltip:${e.id}:popper`, z = (e) => e.getById(he(e)), re = (e) => e.getById(be(e)), h = we({ id: null });
|
|
220
|
+
function mt(e, t) {
|
|
221
|
+
const { state: o, context: n, send: r, scope: c, prop: p, event: a } = e, v = p("id"), y = !!p("aria-label"), u = o.matches("open", "closing"), O = he(c), m = vt(c), w = p("disabled"), C = Re({
|
|
222
|
+
...p("positioning"),
|
|
223
|
+
placement: n.get("currentPlacement")
|
|
224
|
+
});
|
|
225
|
+
return {
|
|
226
|
+
open: u,
|
|
227
|
+
setOpen(d) {
|
|
228
|
+
o.matches("open", "closing") !== d && r({ type: d ? "open" : "close" });
|
|
229
|
+
},
|
|
230
|
+
reposition(d = {}) {
|
|
231
|
+
r({ type: "positioning.set", options: d });
|
|
232
|
+
},
|
|
233
|
+
getTriggerProps() {
|
|
234
|
+
return t.button({
|
|
235
|
+
...S.trigger.attrs,
|
|
236
|
+
id: O,
|
|
237
|
+
dir: p("dir"),
|
|
238
|
+
"data-expanded": He(u),
|
|
239
|
+
"data-state": u ? "open" : "closed",
|
|
240
|
+
"aria-describedby": u ? m : void 0,
|
|
241
|
+
onClick(d) {
|
|
242
|
+
d.defaultPrevented || w || p("closeOnClick") && r({ type: "close", src: "trigger.click" });
|
|
243
|
+
},
|
|
244
|
+
onFocus(d) {
|
|
245
|
+
queueMicrotask(() => {
|
|
246
|
+
d.defaultPrevented || w || a.src !== "trigger.pointerdown" && H() && r({ type: "open", src: "trigger.focus" });
|
|
247
|
+
});
|
|
248
|
+
},
|
|
249
|
+
onBlur(d) {
|
|
250
|
+
d.defaultPrevented || w || v === h.id && r({ type: "close", src: "trigger.blur" });
|
|
251
|
+
},
|
|
252
|
+
onPointerDown(d) {
|
|
253
|
+
d.defaultPrevented || w || p("closeOnPointerDown") && v === h.id && r({ type: "close", src: "trigger.pointerdown" });
|
|
254
|
+
},
|
|
255
|
+
onPointerMove(d) {
|
|
256
|
+
d.defaultPrevented || w || d.pointerType !== "touch" && r({ type: "pointer.move" });
|
|
257
|
+
},
|
|
258
|
+
onPointerLeave() {
|
|
259
|
+
w || r({ type: "pointer.leave" });
|
|
260
|
+
},
|
|
261
|
+
onPointerCancel() {
|
|
262
|
+
w || r({ type: "pointer.leave" });
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
},
|
|
266
|
+
getArrowProps() {
|
|
267
|
+
return t.element({
|
|
268
|
+
id: yt(c),
|
|
269
|
+
...S.arrow.attrs,
|
|
270
|
+
dir: p("dir"),
|
|
271
|
+
style: C.arrow
|
|
272
|
+
});
|
|
273
|
+
},
|
|
274
|
+
getArrowTipProps() {
|
|
275
|
+
return t.element({
|
|
276
|
+
...S.arrowTip.attrs,
|
|
277
|
+
dir: p("dir"),
|
|
278
|
+
style: C.arrowTip
|
|
279
|
+
});
|
|
280
|
+
},
|
|
281
|
+
getPositionerProps() {
|
|
282
|
+
return t.element({
|
|
283
|
+
id: be(c),
|
|
284
|
+
...S.positioner.attrs,
|
|
285
|
+
dir: p("dir"),
|
|
286
|
+
style: C.floating
|
|
287
|
+
});
|
|
288
|
+
},
|
|
289
|
+
getContentProps() {
|
|
290
|
+
return t.element({
|
|
291
|
+
...S.content.attrs,
|
|
292
|
+
dir: p("dir"),
|
|
293
|
+
hidden: !u,
|
|
294
|
+
"data-state": u ? "open" : "closed",
|
|
295
|
+
role: y ? void 0 : "tooltip",
|
|
296
|
+
id: y ? void 0 : m,
|
|
297
|
+
"data-placement": n.get("currentPlacement"),
|
|
298
|
+
onPointerEnter() {
|
|
299
|
+
r({ type: "content.pointer.move" });
|
|
300
|
+
},
|
|
301
|
+
onPointerLeave() {
|
|
302
|
+
r({ type: "content.pointer.leave" });
|
|
303
|
+
},
|
|
304
|
+
style: {
|
|
305
|
+
pointerEvents: p("interactive") ? "auto" : "none"
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
var { and: Pt, not: se } = ze(), Ot = Be({
|
|
312
|
+
initialState: ({ prop: e }) => e("open") || e("defaultOpen") ? "open" : "closed",
|
|
313
|
+
props({ props: e }) {
|
|
314
|
+
return {
|
|
315
|
+
id: "x",
|
|
316
|
+
openDelay: 1e3,
|
|
317
|
+
closeDelay: 500,
|
|
318
|
+
closeOnPointerDown: !0,
|
|
319
|
+
closeOnEscape: !0,
|
|
320
|
+
interactive: !1,
|
|
321
|
+
closeOnScroll: !0,
|
|
322
|
+
closeOnClick: !0,
|
|
323
|
+
disabled: !1,
|
|
324
|
+
...e,
|
|
325
|
+
positioning: {
|
|
326
|
+
placement: "bottom",
|
|
327
|
+
...e.positioning
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
},
|
|
331
|
+
effects: ["trackFocusVisible", "trackStore"],
|
|
332
|
+
context: ({ bindable: e }) => ({
|
|
333
|
+
currentPlacement: e(() => ({ defaultValue: void 0 })),
|
|
334
|
+
hasPointerMoveOpened: e(() => ({ defaultValue: !1 }))
|
|
335
|
+
}),
|
|
336
|
+
watch({ track: e, action: t, prop: o }) {
|
|
337
|
+
e([() => o("disabled")], () => {
|
|
338
|
+
t(["closeIfDisabled"]);
|
|
339
|
+
}), e([() => o("open")], () => {
|
|
340
|
+
t(["toggleVisibility"]);
|
|
341
|
+
});
|
|
342
|
+
},
|
|
343
|
+
states: {
|
|
344
|
+
closed: {
|
|
345
|
+
entry: ["clearGlobalId"],
|
|
346
|
+
on: {
|
|
347
|
+
"controlled.open": {
|
|
348
|
+
target: "open"
|
|
349
|
+
},
|
|
350
|
+
open: [
|
|
351
|
+
{
|
|
352
|
+
guard: "isOpenControlled",
|
|
353
|
+
actions: ["invokeOnOpen"]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
target: "open",
|
|
357
|
+
actions: ["invokeOnOpen"]
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"pointer.leave": {
|
|
361
|
+
actions: ["clearPointerMoveOpened"]
|
|
362
|
+
},
|
|
363
|
+
"pointer.move": [
|
|
364
|
+
{
|
|
365
|
+
guard: Pt("noVisibleTooltip", se("hasPointerMoveOpened")),
|
|
366
|
+
target: "opening"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
guard: se("hasPointerMoveOpened"),
|
|
370
|
+
target: "open",
|
|
371
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
opening: {
|
|
377
|
+
effects: ["trackScroll", "trackPointerlockChange", "waitForOpenDelay"],
|
|
378
|
+
on: {
|
|
379
|
+
"after.openDelay": [
|
|
380
|
+
{
|
|
381
|
+
guard: "isOpenControlled",
|
|
382
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
target: "open",
|
|
386
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"controlled.open": {
|
|
390
|
+
target: "open"
|
|
391
|
+
},
|
|
392
|
+
"controlled.close": {
|
|
393
|
+
target: "closed"
|
|
394
|
+
},
|
|
395
|
+
open: [
|
|
396
|
+
{
|
|
397
|
+
guard: "isOpenControlled",
|
|
398
|
+
actions: ["invokeOnOpen"]
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
target: "open",
|
|
402
|
+
actions: ["invokeOnOpen"]
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"pointer.leave": [
|
|
406
|
+
{
|
|
407
|
+
guard: "isOpenControlled",
|
|
408
|
+
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
409
|
+
actions: ["clearPointerMoveOpened", "invokeOnClose", "toggleVisibility"]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
target: "closed",
|
|
413
|
+
actions: ["clearPointerMoveOpened", "invokeOnClose"]
|
|
414
|
+
}
|
|
415
|
+
],
|
|
416
|
+
close: [
|
|
417
|
+
{
|
|
418
|
+
guard: "isOpenControlled",
|
|
419
|
+
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
420
|
+
actions: ["invokeOnClose", "toggleVisibility"]
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
target: "closed",
|
|
424
|
+
actions: ["invokeOnClose"]
|
|
425
|
+
}
|
|
426
|
+
]
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
open: {
|
|
430
|
+
effects: ["trackEscapeKey", "trackScroll", "trackPointerlockChange", "trackPositioning"],
|
|
431
|
+
entry: ["setGlobalId"],
|
|
432
|
+
on: {
|
|
433
|
+
"controlled.close": {
|
|
434
|
+
target: "closed"
|
|
435
|
+
},
|
|
436
|
+
close: [
|
|
437
|
+
{
|
|
438
|
+
guard: "isOpenControlled",
|
|
439
|
+
actions: ["invokeOnClose"]
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
target: "closed",
|
|
443
|
+
actions: ["invokeOnClose"]
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
"pointer.leave": [
|
|
447
|
+
{
|
|
448
|
+
guard: "isVisible",
|
|
449
|
+
target: "closing",
|
|
450
|
+
actions: ["clearPointerMoveOpened"]
|
|
451
|
+
},
|
|
452
|
+
// == group ==
|
|
453
|
+
{
|
|
454
|
+
guard: "isOpenControlled",
|
|
455
|
+
actions: ["clearPointerMoveOpened", "invokeOnClose"]
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
target: "closed",
|
|
459
|
+
actions: ["clearPointerMoveOpened", "invokeOnClose"]
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"content.pointer.leave": {
|
|
463
|
+
guard: "isInteractive",
|
|
464
|
+
target: "closing"
|
|
465
|
+
},
|
|
466
|
+
"positioning.set": {
|
|
467
|
+
actions: ["reposition"]
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
closing: {
|
|
472
|
+
effects: ["trackPositioning", "waitForCloseDelay"],
|
|
473
|
+
on: {
|
|
474
|
+
"after.closeDelay": [
|
|
475
|
+
{
|
|
476
|
+
guard: "isOpenControlled",
|
|
477
|
+
actions: ["invokeOnClose"]
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
target: "closed",
|
|
481
|
+
actions: ["invokeOnClose"]
|
|
482
|
+
}
|
|
483
|
+
],
|
|
484
|
+
"controlled.close": {
|
|
485
|
+
target: "closed"
|
|
486
|
+
},
|
|
487
|
+
"controlled.open": {
|
|
488
|
+
target: "open"
|
|
489
|
+
},
|
|
490
|
+
close: [
|
|
491
|
+
{
|
|
492
|
+
guard: "isOpenControlled",
|
|
493
|
+
actions: ["invokeOnClose"]
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
target: "closed",
|
|
497
|
+
actions: ["invokeOnClose"]
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"pointer.move": [
|
|
501
|
+
{
|
|
502
|
+
guard: "isOpenControlled",
|
|
503
|
+
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
504
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen", "toggleVisibility"]
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
target: "open",
|
|
508
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"content.pointer.move": {
|
|
512
|
+
guard: "isInteractive",
|
|
513
|
+
target: "open"
|
|
514
|
+
},
|
|
515
|
+
"positioning.set": {
|
|
516
|
+
actions: ["reposition"]
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
implementations: {
|
|
522
|
+
guards: {
|
|
523
|
+
noVisibleTooltip: () => h.id === null,
|
|
524
|
+
isVisible: ({ prop: e }) => e("id") === h.id,
|
|
525
|
+
isInteractive: ({ prop: e }) => !!e("interactive"),
|
|
526
|
+
hasPointerMoveOpened: ({ context: e }) => e.get("hasPointerMoveOpened"),
|
|
527
|
+
isOpenControlled: ({ prop: e }) => e("open") !== void 0
|
|
528
|
+
},
|
|
529
|
+
actions: {
|
|
530
|
+
setGlobalId: ({ prop: e }) => {
|
|
531
|
+
h.id = e("id");
|
|
532
|
+
},
|
|
533
|
+
clearGlobalId: ({ prop: e }) => {
|
|
534
|
+
e("id") === h.id && (h.id = null);
|
|
535
|
+
},
|
|
536
|
+
invokeOnOpen: ({ prop: e }) => {
|
|
537
|
+
e("onOpenChange")?.({ open: !0 });
|
|
538
|
+
},
|
|
539
|
+
invokeOnClose: ({ prop: e }) => {
|
|
540
|
+
e("onOpenChange")?.({ open: !1 });
|
|
541
|
+
},
|
|
542
|
+
closeIfDisabled: ({ prop: e, send: t }) => {
|
|
543
|
+
e("disabled") && t({ type: "close", src: "disabled.change" });
|
|
544
|
+
},
|
|
545
|
+
reposition: ({ context: e, event: t, prop: o, scope: n }) => {
|
|
546
|
+
if (t.type !== "positioning.set") return;
|
|
547
|
+
const r = () => re(n);
|
|
548
|
+
return ee(z(n), r, {
|
|
549
|
+
...o("positioning"),
|
|
550
|
+
...t.options,
|
|
551
|
+
defer: !0,
|
|
552
|
+
listeners: !1,
|
|
553
|
+
onComplete(c) {
|
|
554
|
+
e.set("currentPlacement", c.placement);
|
|
555
|
+
}
|
|
556
|
+
});
|
|
557
|
+
},
|
|
558
|
+
toggleVisibility: ({ prop: e, event: t, send: o }) => {
|
|
559
|
+
queueMicrotask(() => {
|
|
560
|
+
o({
|
|
561
|
+
type: e("open") ? "controlled.open" : "controlled.close",
|
|
562
|
+
previousEvent: t
|
|
563
|
+
});
|
|
564
|
+
});
|
|
565
|
+
},
|
|
566
|
+
setPointerMoveOpened: ({ context: e }) => {
|
|
567
|
+
e.set("hasPointerMoveOpened", !0);
|
|
568
|
+
},
|
|
569
|
+
clearPointerMoveOpened: ({ context: e }) => {
|
|
570
|
+
e.set("hasPointerMoveOpened", !1);
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
effects: {
|
|
574
|
+
trackFocusVisible: ({ scope: e }) => tt({ root: e.getRootNode?.() }),
|
|
575
|
+
trackPositioning: ({ context: e, prop: t, scope: o }) => {
|
|
576
|
+
e.get("currentPlacement") || e.set("currentPlacement", t("positioning").placement);
|
|
577
|
+
const n = () => re(o);
|
|
578
|
+
return ee(z(o), n, {
|
|
579
|
+
...t("positioning"),
|
|
580
|
+
defer: !0,
|
|
581
|
+
onComplete(r) {
|
|
582
|
+
e.set("currentPlacement", r.placement);
|
|
583
|
+
}
|
|
584
|
+
});
|
|
585
|
+
},
|
|
586
|
+
trackPointerlockChange: ({ send: e, scope: t }) => {
|
|
587
|
+
const o = t.getDoc();
|
|
588
|
+
return B(o, "pointerlockchange", () => e({ type: "close", src: "pointerlock:change" }), !1);
|
|
589
|
+
},
|
|
590
|
+
trackScroll: ({ send: e, prop: t, scope: o }) => {
|
|
591
|
+
if (!t("closeOnScroll")) return;
|
|
592
|
+
const n = z(o);
|
|
593
|
+
if (!n) return;
|
|
594
|
+
const c = Ge(n).map((p) => B(p, "scroll", () => {
|
|
595
|
+
e({ type: "close", src: "scroll" });
|
|
596
|
+
}, {
|
|
597
|
+
passive: !0,
|
|
598
|
+
capture: !0
|
|
599
|
+
}));
|
|
600
|
+
return () => {
|
|
601
|
+
c.forEach((p) => p?.());
|
|
602
|
+
};
|
|
603
|
+
},
|
|
604
|
+
trackStore: ({ prop: e, send: t }) => {
|
|
605
|
+
let o;
|
|
606
|
+
return queueMicrotask(() => {
|
|
607
|
+
o = ut(h, () => {
|
|
608
|
+
h.id !== e("id") && t({ type: "close", src: "id.change" });
|
|
609
|
+
});
|
|
610
|
+
}), () => o?.();
|
|
611
|
+
},
|
|
612
|
+
trackEscapeKey: ({ send: e, prop: t }) => t("closeOnEscape") ? B(document, "keydown", (n) => {
|
|
613
|
+
Ue(n) || n.key === "Escape" && (n.stopPropagation(), e({ type: "close", src: "keydown.escape" }));
|
|
614
|
+
}, !0) : void 0,
|
|
615
|
+
waitForOpenDelay: ({ send: e, prop: t }) => {
|
|
616
|
+
const o = setTimeout(() => {
|
|
617
|
+
e({ type: "after.openDelay" });
|
|
618
|
+
}, t("openDelay"));
|
|
619
|
+
return () => clearTimeout(o);
|
|
620
|
+
},
|
|
621
|
+
waitForCloseDelay: ({ send: e, prop: t }) => {
|
|
622
|
+
const o = setTimeout(() => {
|
|
623
|
+
e({ type: "after.closeDelay" });
|
|
624
|
+
}, t("closeDelay"));
|
|
625
|
+
return () => clearTimeout(o);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
});
|
|
630
|
+
xe()([
|
|
631
|
+
"aria-label",
|
|
632
|
+
"closeDelay",
|
|
633
|
+
"closeOnEscape",
|
|
634
|
+
"closeOnPointerDown",
|
|
635
|
+
"closeOnScroll",
|
|
636
|
+
"closeOnClick",
|
|
637
|
+
"dir",
|
|
638
|
+
"disabled",
|
|
639
|
+
"getRootNode",
|
|
640
|
+
"id",
|
|
641
|
+
"ids",
|
|
642
|
+
"interactive",
|
|
643
|
+
"onOpenChange",
|
|
644
|
+
"defaultOpen",
|
|
645
|
+
"open",
|
|
646
|
+
"openDelay",
|
|
647
|
+
"positioning"
|
|
648
|
+
]);
|
|
649
|
+
const wt = (e) => {
|
|
650
|
+
const t = Le(), { getRootNode: o } = Ve(), { dir: n } = Ie(), r = {
|
|
651
|
+
id: t,
|
|
652
|
+
dir: n,
|
|
653
|
+
getRootNode: o,
|
|
654
|
+
...e
|
|
655
|
+
}, c = _e(Ot, r);
|
|
656
|
+
return mt(c, Fe);
|
|
657
|
+
}, ht = (e) => {
|
|
658
|
+
const [t, { children: o, ...n }] = ae(e), r = wt(n), c = le(E({ present: r.open }, t));
|
|
659
|
+
return /* @__PURE__ */ f.jsx(pe, { value: r, children: /* @__PURE__ */ f.jsx(ce, { value: c, children: o }) });
|
|
660
|
+
}, bt = (e) => {
|
|
661
|
+
const [t, { value: o, children: n }] = ae(e), r = le(E({ present: o.open }, t));
|
|
662
|
+
return /* @__PURE__ */ f.jsx(pe, { value: o, children: /* @__PURE__ */ f.jsx(ce, { value: r, children: n }) });
|
|
663
|
+
}, ke = j((e, t) => {
|
|
664
|
+
const o = x(), n = E(o.getTriggerProps(), e);
|
|
665
|
+
return /* @__PURE__ */ f.jsx(R.button, { ...n, ref: t });
|
|
666
|
+
});
|
|
667
|
+
ke.displayName = "TooltipTrigger";
|
|
668
|
+
const {
|
|
669
|
+
withRootProvider: Ee,
|
|
670
|
+
withContext: V
|
|
671
|
+
} = Ke({ key: "tooltip" });
|
|
672
|
+
Ee(
|
|
673
|
+
bt
|
|
674
|
+
);
|
|
675
|
+
const kt = Ee(ht, {
|
|
676
|
+
defaultProps: { lazyMount: !0, unmountOnExit: !0 }
|
|
677
|
+
}), Et = V(ke, "trigger", { forwardAsChild: !0 }), Tt = V(ve, "positioner", { forwardAsChild: !0 }), Ct = V(
|
|
678
|
+
ge,
|
|
679
|
+
"content",
|
|
680
|
+
{ forwardAsChild: !0 }
|
|
681
|
+
), Te = V(fe, "arrowTip", { forwardAsChild: !0 }), Mt = V(
|
|
682
|
+
ue,
|
|
683
|
+
"arrow",
|
|
684
|
+
{ forwardAsChild: !0, defaultProps: { children: /* @__PURE__ */ f.jsx(Te, {}) } }
|
|
685
|
+
), Lt = Se(
|
|
686
|
+
void 0
|
|
687
|
+
), St = () => {
|
|
688
|
+
const e = De(Lt);
|
|
689
|
+
return e === void 0 ? { contentRef: null } : e;
|
|
690
|
+
}, Dt = ({
|
|
691
|
+
children: e,
|
|
692
|
+
disabled: t = !1,
|
|
693
|
+
openDelay: o = 350,
|
|
694
|
+
placement: n = "top",
|
|
695
|
+
positioning: r,
|
|
696
|
+
portalled: c = !0,
|
|
697
|
+
label: p,
|
|
698
|
+
...a
|
|
699
|
+
}) => {
|
|
700
|
+
const { contentRef: v } = St();
|
|
701
|
+
return e ? t ? /* @__PURE__ */ f.jsx(f.Fragment, { children: "children" }) : /* @__PURE__ */ f.jsxs(
|
|
702
|
+
kt,
|
|
703
|
+
{
|
|
704
|
+
positioning: {
|
|
705
|
+
...r,
|
|
706
|
+
placement: r?.placement || n
|
|
707
|
+
},
|
|
708
|
+
openDelay: o,
|
|
709
|
+
...a,
|
|
710
|
+
children: [
|
|
711
|
+
/* @__PURE__ */ f.jsx(
|
|
712
|
+
Et,
|
|
713
|
+
{
|
|
714
|
+
asChild: !0,
|
|
715
|
+
className: "Tooltip__Trigger",
|
|
716
|
+
"data-testid": "kibble-tooltip-trigger",
|
|
717
|
+
display: "inline-block",
|
|
718
|
+
children: e
|
|
719
|
+
}
|
|
720
|
+
),
|
|
721
|
+
/* @__PURE__ */ f.jsx(Ne, { disabled: !c, container: v || void 0, children: /* @__PURE__ */ f.jsx(Tt, { className: "Tooltip", "data-testid": "kibble-tooltip", children: /* @__PURE__ */ f.jsxs(
|
|
722
|
+
Ct,
|
|
723
|
+
{
|
|
724
|
+
className: "Tooltip__Content",
|
|
725
|
+
"data-testid": "kibble-tooltip-content",
|
|
726
|
+
fontSize: "sm",
|
|
727
|
+
p: 2,
|
|
728
|
+
color: "text.contrast",
|
|
729
|
+
css: { "--tooltip-bg": "colors.background.overlay.contrast" },
|
|
730
|
+
zIndex: "tooltipExtra",
|
|
731
|
+
children: [
|
|
732
|
+
/* @__PURE__ */ f.jsx(
|
|
733
|
+
Mt,
|
|
734
|
+
{
|
|
735
|
+
className: "Tooltip__Arrow",
|
|
736
|
+
"data-testid": "kibble-tooltip-arrow",
|
|
737
|
+
css: { "--arrow-size": "10px" },
|
|
738
|
+
children: /* @__PURE__ */ f.jsx(Te, {})
|
|
739
|
+
}
|
|
740
|
+
),
|
|
741
|
+
p
|
|
742
|
+
]
|
|
743
|
+
}
|
|
744
|
+
) }) })
|
|
745
|
+
]
|
|
746
|
+
}
|
|
747
|
+
) : /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
748
|
+
};
|
|
749
|
+
Dt.displayName = "Tooltip";
|
|
750
|
+
export {
|
|
751
|
+
Lt as M,
|
|
752
|
+
Dt as T,
|
|
753
|
+
gt as a,
|
|
754
|
+
H as i,
|
|
755
|
+
tt as t,
|
|
756
|
+
St as u
|
|
757
|
+
};
|
|
758
|
+
//# sourceMappingURL=tooltip.component-DgOzrNG3.js.map
|