@televet/kibble-ui 4.0.0-beta.66 → 4.0.0-beta.68
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-DbqCOYr5.js → alert.types-B3CIqC3D.js} +2 -2
- package/dist/chunks/{alert.types-DbqCOYr5.js.map → alert.types-B3CIqC3D.js.map} +1 -1
- package/dist/chunks/{alert.types-DYf5xFEG.js → alert.types-D-Nx7EKC.js} +3 -3
- package/dist/chunks/{alert.types-DYf5xFEG.js.map → alert.types-D-Nx7EKC.js.map} +1 -1
- package/dist/chunks/{avatar.component-Bk8VVA0l.js → avatar.component-5acA2X5n.js} +14 -14
- package/dist/chunks/{avatar.component-Bk8VVA0l.js.map → avatar.component-5acA2X5n.js.map} +1 -1
- package/dist/chunks/avatar.component-BBewTMu9.js +2 -0
- package/dist/chunks/{avatar.component-TAfT1LM1.js.map → avatar.component-BBewTMu9.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-BGF4gl5d.js → avatarGroup.component-Cyoh97E9.js} +2 -2
- package/dist/chunks/{avatarGroup.component-BGF4gl5d.js.map → avatarGroup.component-Cyoh97E9.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-CZnhQOWy.js → avatarGroup.component-lvFlOaqP.js} +2 -2
- package/dist/chunks/{avatarGroup.component-CZnhQOWy.js.map → avatarGroup.component-lvFlOaqP.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-CGxtwaQg.js → buttonGroup.component-B21h-pcF.js} +2 -2
- package/dist/chunks/{buttonGroup.component-CGxtwaQg.js.map → buttonGroup.component-B21h-pcF.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-IGM-yn-V.js → buttonGroup.component-CwN1OcaS.js} +2 -2
- package/dist/chunks/{buttonGroup.component-IGM-yn-V.js.map → buttonGroup.component-CwN1OcaS.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-CWDjnYNU.js → characterCounter.component-B0MF_ObL.js} +3 -3
- package/dist/chunks/{characterCounter.component-CWDjnYNU.js.map → characterCounter.component-B0MF_ObL.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-WOgGxKRq.js → characterCounter.component-MBtgMpUc.js} +2 -2
- package/dist/chunks/{characterCounter.component-WOgGxKRq.js.map → characterCounter.component-MBtgMpUc.js.map} +1 -1
- package/dist/chunks/{checkbox.component-nkydue0g.js → checkbox.component-CWN9kU5p.js} +2 -2
- package/dist/chunks/{checkbox.component-nkydue0g.js.map → checkbox.component-CWN9kU5p.js.map} +1 -1
- package/dist/chunks/{checkbox.component-B6-MOy86.js → checkbox.component-HWkdi-Dt.js} +10 -10
- package/dist/chunks/{checkbox.component-B6-MOy86.js.map → checkbox.component-HWkdi-Dt.js.map} +1 -1
- package/dist/chunks/checkbox.records-djqGyo0P.js +2 -0
- package/dist/chunks/{checkbox.records-wbkLltak.js.map → checkbox.records-djqGyo0P.js.map} +1 -1
- package/dist/chunks/{checkbox.records-BtLBaHBy.js → checkbox.records-kuynkQ3J.js} +12 -12
- package/dist/chunks/{checkbox.records-BtLBaHBy.js.map → checkbox.records-kuynkQ3J.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-DCg4fRL0.js → checkboxGroup.component-CMyApVxs.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-DCg4fRL0.js.map → checkboxGroup.component-CMyApVxs.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-B1HL2vbn.js → checkboxGroup.component-DYiLp3m_.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-B1HL2vbn.js.map → checkboxGroup.component-DYiLp3m_.js.map} +1 -1
- package/dist/chunks/{config-B1FINd7s.js → config-DVtggL6z.js} +6 -6
- package/dist/chunks/{config-B1FINd7s.js.map → config-DVtggL6z.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-Uv0-JSnX.js → conversationCard.component-BirDNlVs.js} +18 -17
- package/dist/chunks/{conversationCard.component-Uv0-JSnX.js.map → conversationCard.component-BirDNlVs.js.map} +1 -1
- package/dist/chunks/conversationCard.component-CMI6oti9.js +2 -0
- package/dist/chunks/{conversationCard.component-2jO70XtY.js.map → conversationCard.component-CMI6oti9.js.map} +1 -1
- package/dist/chunks/{datePicker.component-CM8TIMiW.js → datePicker.component-DSGJKErd.js} +3 -3
- package/dist/chunks/{datePicker.component-CM8TIMiW.js.map → datePicker.component-DSGJKErd.js.map} +1 -1
- package/dist/chunks/{datePicker.component-DeOquWMk.js → datePicker.component-Wac_ZnvV.js} +8 -8
- package/dist/chunks/{datePicker.component-DeOquWMk.js.map → datePicker.component-Wac_ZnvV.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-BCeZGpGO.js → dialog-trigger-6j0ZA8bc.js} +2 -2
- package/dist/chunks/{dialog-trigger-BCeZGpGO.js.map → dialog-trigger-6j0ZA8bc.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-D2uDgMJr.js → dialog-trigger-rbYorcnG.js} +9 -9
- package/dist/chunks/{dialog-trigger-D2uDgMJr.js.map → dialog-trigger-rbYorcnG.js.map} +1 -1
- package/dist/chunks/{heading.component-Bu1JbEVn.js → heading.component-Cum2BALi.js} +2 -2
- package/dist/chunks/{heading.component-Bu1JbEVn.js.map → heading.component-Cum2BALi.js.map} +1 -1
- package/dist/chunks/{heading.component-wD7BkQLG.js → heading.component-a6IrCj7l.js} +2 -2
- package/dist/chunks/{heading.component-wD7BkQLG.js.map → heading.component-a6IrCj7l.js.map} +1 -1
- package/dist/chunks/index-B3Uf1AVX.js +3 -0
- package/dist/chunks/index-B3Uf1AVX.js.map +1 -0
- package/dist/chunks/index-B4rwgehU.js +2 -0
- package/dist/chunks/{index-B4fjIWcA.js.map → index-B4rwgehU.js.map} +1 -1
- package/dist/chunks/{index-Dq91nN6-.js → index-BQusETZC.js} +3 -3
- package/dist/chunks/{index-Dq91nN6-.js.map → index-BQusETZC.js.map} +1 -1
- package/dist/chunks/{index-Dx94WMw1.js → index-BmJA4z7Y.js} +44 -43
- package/dist/chunks/{index-Dx94WMw1.js.map → index-BmJA4z7Y.js.map} +1 -1
- package/dist/chunks/{index-BfD9Ne2e.js → index-C-VkceKb.js} +2 -2
- package/dist/chunks/{index-BfD9Ne2e.js.map → index-C-VkceKb.js.map} +1 -1
- package/dist/chunks/{index-CZPHIn6T.js → index-C4xXAinc.js} +3 -3
- package/dist/chunks/{index-CZPHIn6T.js.map → index-C4xXAinc.js.map} +1 -1
- package/dist/chunks/{index-D5Dscg8T.js → index-CBVOChyW.js} +49 -48
- package/dist/chunks/{index-D5Dscg8T.js.map → index-CBVOChyW.js.map} +1 -1
- package/dist/chunks/{index-f4Ba8Pq7.js → index-CL5b64u0.js} +15 -15
- package/dist/chunks/{index-f4Ba8Pq7.js.map → index-CL5b64u0.js.map} +1 -1
- package/dist/chunks/{index-DMSZTX7A.js → index-CWZQythd.js} +9 -9
- package/dist/chunks/{index-DMSZTX7A.js.map → index-CWZQythd.js.map} +1 -1
- package/dist/chunks/index-Cd776OkZ.js +2 -0
- package/dist/chunks/index-Cd776OkZ.js.map +1 -0
- package/dist/chunks/{index-Cuu1x05z.js → index-Csfb-K1K.js} +17 -16
- package/dist/chunks/{index-Cuu1x05z.js.map → index-Csfb-K1K.js.map} +1 -1
- package/dist/chunks/index-Cw75JjHp.js +2 -0
- package/dist/chunks/{index-CEYJbpt4.js.map → index-Cw75JjHp.js.map} +1 -1
- package/dist/chunks/index-Cwl9h4X_.js +2 -0
- package/dist/chunks/{index-BmcSWiFh.js.map → index-Cwl9h4X_.js.map} +1 -1
- package/dist/chunks/index-D8ghhfzK.js +322 -0
- package/dist/chunks/index-D8ghhfzK.js.map +1 -0
- package/dist/chunks/index-DUEcH1Ul.js +2 -0
- package/dist/chunks/{index-5cRW642o.js.map → index-DUEcH1Ul.js.map} +1 -1
- package/dist/chunks/index-DX-8RG9n.js +8 -0
- package/dist/chunks/{index-CedYIQt5.js.map → index-DX-8RG9n.js.map} +1 -1
- package/dist/chunks/{index-DZGYG5M4.js → index-PD_OmAnh.js} +2 -2
- package/dist/chunks/{index-DZGYG5M4.js.map → index-PD_OmAnh.js.map} +1 -1
- package/dist/chunks/{index-hGlTuPbK.js → index-U8SN9h_h.js} +2 -2
- package/dist/chunks/{index-hGlTuPbK.js.map → index-U8SN9h_h.js.map} +1 -1
- package/dist/chunks/index-c2eCwOCU.js +1018 -0
- package/dist/chunks/index-c2eCwOCU.js.map +1 -0
- package/dist/chunks/index-iPTsth-y.js +2 -0
- package/dist/chunks/{index-CFnNmQf0.js.map → index-iPTsth-y.js.map} +1 -1
- package/dist/chunks/{index-Cqwkg1hU.js → index-vVG7UN0y.js} +106 -105
- package/dist/chunks/{index-Cqwkg1hU.js.map → index-vVG7UN0y.js.map} +1 -1
- package/dist/chunks/{index-CBh9RZVL.js → index-zgGK8otr.js} +18 -17
- package/dist/chunks/{index-CBh9RZVL.js.map → index-zgGK8otr.js.map} +1 -1
- package/dist/chunks/{logo.types-CXQsathd.js → logo.types-DVfuQmDd.js} +2 -2
- package/dist/chunks/{logo.types-CXQsathd.js.map → logo.types-DVfuQmDd.js.map} +1 -1
- package/dist/chunks/{menu.component-BKY1dybr.js → menu.component-ColftkpF.js} +26 -26
- package/dist/chunks/{menu.component-BKY1dybr.js.map → menu.component-ColftkpF.js.map} +1 -1
- package/dist/chunks/{menu.component-DllVICUa.js → menu.component-Ct_9TaWj.js} +2 -2
- package/dist/chunks/{menu.component-DllVICUa.js.map → menu.component-Ct_9TaWj.js.map} +1 -1
- package/dist/chunks/{modal.types-CRH5aJ0U.js → modal.types-BJDq3ofH.js} +4 -4
- package/dist/chunks/{modal.types-CRH5aJ0U.js.map → modal.types-BJDq3ofH.js.map} +1 -1
- package/dist/chunks/{modal.types-Bsq-uLZ0.js → modal.types-CsGdjZZf.js} +2 -2
- package/dist/chunks/{modal.types-Bsq-uLZ0.js.map → modal.types-CsGdjZZf.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js → notificationCounter.component-CHlLTEiF.js} +2 -2
- package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js.map → notificationCounter.component-CHlLTEiF.js.map} +1 -1
- package/dist/chunks/{pinInput.types-tJTQQJxe.js → pinInput.types-GznuQbzY.js} +2 -2
- package/dist/chunks/{pinInput.types-tJTQQJxe.js.map → pinInput.types-GznuQbzY.js.map} +1 -1
- package/dist/chunks/{pinInput.types-B-BknmcG.js → pinInput.types-k-MTZ5SR.js} +8 -8
- package/dist/chunks/{pinInput.types-B-BknmcG.js.map → pinInput.types-k-MTZ5SR.js.map} +1 -1
- package/dist/chunks/{popover-D0QoPsrG.js → popover-JzE_u7E-.js} +26 -26
- package/dist/chunks/{popover-D0QoPsrG.js.map → popover-JzE_u7E-.js.map} +1 -1
- package/dist/chunks/{popover-DPEovmxh.js → popover-ZImHeDTu.js} +2 -2
- package/dist/chunks/{popover-DPEovmxh.js.map → popover-ZImHeDTu.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-BYJE5I-P.js → popover-root-provider-RWj-0mRI.js} +2 -2
- package/dist/chunks/{popover-root-provider-BYJE5I-P.js.map → popover-root-provider-RWj-0mRI.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-Dt02njg5.js → popover-root-provider-S83-0n0E.js} +8 -8
- package/dist/chunks/{popover-root-provider-Dt02njg5.js.map → popover-root-provider-S83-0n0E.js.map} +1 -1
- package/dist/chunks/popover.component-Bh32Kl6i.js +322 -0
- package/dist/chunks/popover.component-Bh32Kl6i.js.map +1 -0
- package/dist/chunks/popover.component-D4NdsCQv.js +2 -0
- package/dist/chunks/popover.component-D4NdsCQv.js.map +1 -0
- package/dist/chunks/popover.recipe-D7Q80iWn.js +2 -0
- package/dist/chunks/popover.recipe-D7Q80iWn.js.map +1 -0
- package/dist/chunks/popover.recipe-DhQtUTnw.js +479 -0
- package/dist/chunks/popover.recipe-DhQtUTnw.js.map +1 -0
- package/dist/chunks/{portal-D2KZrSzZ.js → portal-C7cdrplU.js} +427 -427
- package/dist/chunks/portal-C7cdrplU.js.map +1 -0
- package/dist/chunks/portal-JkodPmk7.js +22 -0
- package/dist/chunks/portal-JkodPmk7.js.map +1 -0
- package/dist/chunks/{radio.records-CzNYznSb.js → radio.records-BD5zaE5E.js} +16 -16
- package/dist/chunks/{radio.records-CzNYznSb.js.map → radio.records-BD5zaE5E.js.map} +1 -1
- package/dist/chunks/radio.records-BKkl9Mk4.js +2 -0
- package/dist/chunks/{radio.records-CEgwvLIL.js.map → radio.records-BKkl9Mk4.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DAGmgDZ2.js → radioGroup.component-C6wU0Srn.js} +2 -2
- package/dist/chunks/{radioGroup.component-DAGmgDZ2.js.map → radioGroup.component-C6wU0Srn.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DEPDXEhQ.js → radioGroup.component-DbslYk4o.js} +11 -11
- package/dist/chunks/{radioGroup.component-DEPDXEhQ.js.map → radioGroup.component-DbslYk4o.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-C32gNAmO.js → ratingDots.component-B2jdV6Uk.js} +4 -4
- package/dist/chunks/{ratingDots.component-C32gNAmO.js.map → ratingDots.component-B2jdV6Uk.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-BB7vPYdN.js → ratingDots.component-DV7pmIJJ.js} +2 -2
- package/dist/chunks/{ratingDots.component-BB7vPYdN.js.map → ratingDots.component-DV7pmIJJ.js.map} +1 -1
- package/dist/chunks/{render-strategy-CdSSbgPU.js → render-strategy-BCWksbL8.js} +2 -2
- package/dist/chunks/{render-strategy-CdSSbgPU.js.map → render-strategy-BCWksbL8.js.map} +1 -1
- package/dist/chunks/{render-strategy-ql9Qx5Cz.js → render-strategy-DaeRfJpM.js} +2 -2
- package/dist/chunks/{render-strategy-ql9Qx5Cz.js.map → render-strategy-DaeRfJpM.js.map} +1 -1
- package/dist/chunks/{select.component-DfkLDyYt.js → select.component-CRmnH0Ty.js} +43 -43
- package/dist/chunks/{select.component-DfkLDyYt.js.map → select.component-CRmnH0Ty.js.map} +1 -1
- package/dist/chunks/{select.component-BtBJUTF2.js → select.component-DDRV0zBf.js} +2 -2
- package/dist/chunks/{select.component-BtBJUTF2.js.map → select.component-DDRV0zBf.js.map} +1 -1
- package/dist/chunks/{sortableList.component-B0lnVMXW.js → sortableList.component-B59RwzTi.js} +3 -3
- package/dist/chunks/{sortableList.component-B0lnVMXW.js.map → sortableList.component-B59RwzTi.js.map} +1 -1
- package/dist/chunks/{sortableList.component-B88NRcwx.js → sortableList.component-Dlq8P2tc.js} +3 -3
- package/dist/chunks/{sortableList.component-B88NRcwx.js.map → sortableList.component-Dlq8P2tc.js.map} +1 -1
- package/dist/chunks/{spinner.component-DVjwuOVs.js → spinner.component-DBCa-ZPE.js} +2 -2
- package/dist/chunks/{spinner.component-DVjwuOVs.js.map → spinner.component-DBCa-ZPE.js.map} +1 -1
- package/dist/chunks/{spinner.component-DWh3YuBJ.js → spinner.component-DsDyKpq2.js} +3 -3
- package/dist/chunks/{spinner.component-DWh3YuBJ.js.map → spinner.component-DsDyKpq2.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-ClVT0QDd.js → styledAvatar.types-BUyxKyGa.js} +2 -2
- package/dist/chunks/{styledAvatar.types-ClVT0QDd.js.map → styledAvatar.types-BUyxKyGa.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-DamSY23W.js → styledAvatar.types-X9FV2vOM.js} +2 -2
- package/dist/chunks/{styledAvatar.types-DamSY23W.js.map → styledAvatar.types-X9FV2vOM.js.map} +1 -1
- package/dist/chunks/{swatch.types-B8OSJZ-a.js → swatch.types-Dsv11aQw.js} +2 -2
- package/dist/chunks/{swatch.types-B8OSJZ-a.js.map → swatch.types-Dsv11aQw.js.map} +1 -1
- package/dist/chunks/{switch.component-DjbXfvMa.js → switch.component-BZh12RCT.js} +2 -2
- package/dist/chunks/{switch.component-DjbXfvMa.js.map → switch.component-BZh12RCT.js.map} +1 -1
- package/dist/chunks/{switch.component-BEkYEUKY.js → switch.component-DR4jYcSz.js} +11 -11
- package/dist/chunks/{switch.component-BEkYEUKY.js.map → switch.component-DR4jYcSz.js.map} +1 -1
- package/dist/chunks/{tabs.component-Bmg0kB-p.js → tabs.component-C_4sO8kW.js} +48 -48
- package/dist/chunks/{tabs.component-Bmg0kB-p.js.map → tabs.component-C_4sO8kW.js.map} +1 -1
- package/dist/chunks/{tabs.component-Bn_7bf0X.js → tabs.component-CzyTXhJp.js} +2 -2
- package/dist/chunks/{tabs.component-Bn_7bf0X.js.map → tabs.component-CzyTXhJp.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-x3oh7uht.js → tagBlock.component-BI1AmbDR.js} +2 -2
- package/dist/chunks/{tagBlock.component-x3oh7uht.js.map → tagBlock.component-BI1AmbDR.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-3ypfB6tz.js → tagBlock.component-B_dQ7rGS.js} +5 -5
- package/dist/chunks/{tagBlock.component-3ypfB6tz.js.map → tagBlock.component-B_dQ7rGS.js.map} +1 -1
- package/dist/chunks/text.component-BA-9q9gX.js +12 -0
- package/dist/chunks/text.component-BA-9q9gX.js.map +1 -0
- package/dist/chunks/text.component-ColgFnqE.js +2 -0
- package/dist/chunks/text.component-ColgFnqE.js.map +1 -0
- package/dist/chunks/{textInput.component-D9Dl8cP3.js → textInput.component-BttHjzdC.js} +12 -12
- package/dist/chunks/{textInput.component-D9Dl8cP3.js.map → textInput.component-BttHjzdC.js.map} +1 -1
- package/dist/chunks/{textInput.component-B1--78Mp.js → textInput.component-cFmQkIXY.js} +2 -2
- package/dist/chunks/{textInput.component-B1--78Mp.js.map → textInput.component-cFmQkIXY.js.map} +1 -1
- package/dist/chunks/{textarea.component-DZXDIbZg.js → textarea.component-DKiTZ2bP.js} +7 -7
- package/dist/chunks/{textarea.component-DZXDIbZg.js.map → textarea.component-DKiTZ2bP.js.map} +1 -1
- package/dist/chunks/{textarea.component-BxC5lB4t.js → textarea.component-cEtZ6ReA.js} +2 -2
- package/dist/chunks/{textarea.component-BxC5lB4t.js.map → textarea.component-cEtZ6ReA.js.map} +1 -1
- package/dist/chunks/{theme.provider-DmGvaymX.js → theme.provider-Dd0L8qXA.js} +3200 -3331
- package/dist/chunks/theme.provider-Dd0L8qXA.js.map +1 -0
- package/dist/chunks/theme.provider-Dh_N0A6U.js +26 -0
- package/dist/chunks/theme.provider-Dh_N0A6U.js.map +1 -0
- package/dist/chunks/{timePicker.component-F9o8MNWu.js → timePicker.component-CegBtxsl.js} +2 -2
- package/dist/chunks/{timePicker.component-F9o8MNWu.js.map → timePicker.component-CegBtxsl.js.map} +1 -1
- package/dist/chunks/{timePicker.component-DnFPWIcy.js → timePicker.component-D0WsvkI5.js} +4 -4
- package/dist/chunks/{timePicker.component-DnFPWIcy.js.map → timePicker.component-D0WsvkI5.js.map} +1 -1
- package/dist/chunks/{timeRange.component-Bh2FiRi8.js → timeRange.component-C1p0bfmg.js} +2 -2
- package/dist/chunks/{timeRange.component-Bh2FiRi8.js.map → timeRange.component-C1p0bfmg.js.map} +1 -1
- package/dist/chunks/{timeRange.component-Bj-9ynHS.js → timeRange.component-Cc3ZfoeN.js} +2 -2
- package/dist/chunks/{timeRange.component-Bj-9ynHS.js.map → timeRange.component-Cc3ZfoeN.js.map} +1 -1
- package/dist/chunks/timestamp.component-CZGCU-JV.js +54 -0
- package/dist/chunks/{timestamp.component-BKr4dkxB.js.map → timestamp.component-CZGCU-JV.js.map} +1 -1
- package/dist/chunks/timestamp.component-ZDbg3G8Z.js +2 -0
- package/dist/chunks/{timestamp.component-CfjeVkJs.js.map → timestamp.component-ZDbg3G8Z.js.map} +1 -1
- package/dist/chunks/toaster.records-3VWRSgsn.js +2 -0
- package/dist/chunks/{toaster.records-CGym-iT-.js.map → toaster.records-3VWRSgsn.js.map} +1 -1
- package/dist/chunks/{toaster.records-Cf8bpHo8.js → toaster.records-DeXyJQpa.js} +22 -21
- package/dist/chunks/{toaster.records-Cf8bpHo8.js.map → toaster.records-DeXyJQpa.js.map} +1 -1
- package/dist/chunks/tooltip.component-BiDAtm5N.js +2 -0
- package/dist/chunks/tooltip.component-BiDAtm5N.js.map +1 -0
- package/dist/chunks/tooltip.component-C5FgUWfB.js +713 -0
- package/dist/chunks/tooltip.component-C5FgUWfB.js.map +1 -0
- package/dist/chunks/{typography.records-BeoK0Uyj.js → typography.records-CIqVDP87.js} +2 -2
- package/dist/chunks/{typography.records-BeoK0Uyj.js.map → typography.records-CIqVDP87.js.map} +1 -1
- package/dist/chunks/{typography.records-Xg59taw9.js → typography.records-QKCR4PDO.js} +2 -2
- package/dist/chunks/{typography.records-Xg59taw9.js.map → typography.records-QKCR4PDO.js.map} +1 -1
- package/dist/chunks/{use-field-context-xBX4EpFz.js → use-field-context-BJ7xh7mY.js} +2 -2
- package/dist/chunks/{use-field-context-xBX4EpFz.js.map → use-field-context-BJ7xh7mY.js.map} +1 -1
- package/dist/chunks/{use-field-context-C4IwmN39.js → use-field-context-PoccdU55.js} +2 -2
- package/dist/chunks/{use-field-context-C4IwmN39.js.map → use-field-context-PoccdU55.js.map} +1 -1
- package/dist/chunks/{withFormControl-KA9fAHrR.js → withFormControl-DA1TgH2T.js} +49 -49
- package/dist/chunks/{withFormControl-KA9fAHrR.js.map → withFormControl-DA1TgH2T.js.map} +1 -1
- package/dist/chunks/{withFormControl-BHjeRAfg.js → withFormControl-PaMa_BVC.js} +2 -2
- package/dist/chunks/{withFormControl-BHjeRAfg.js.map → withFormControl-PaMa_BVC.js.map} +1 -1
- package/dist/chunks/withTruncation-GECNx84Z.js +67 -0
- package/dist/chunks/withTruncation-GECNx84Z.js.map +1 -0
- package/dist/chunks/withTruncation-lxIe2bbU.js +2 -0
- package/dist/chunks/withTruncation-lxIe2bbU.js.map +1 -0
- package/dist/chunks/{wrap-CYgSj8wY.js → wrap-Dk19PFnP.js} +2 -2
- package/dist/chunks/{wrap-CYgSj8wY.js.map → wrap-Dk19PFnP.js.map} +1 -1
- package/dist/cjs/chakra/index.cjs +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/Button/button.recipe.d.ts +1 -1
- package/dist/types/components/Logo/logo.recipe.d.ts +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 +8 -6
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +7 -7
- package/package.json +1 -1
- package/dist/chunks/avatar.component-TAfT1LM1.js +0 -2
- package/dist/chunks/checkbox.records-wbkLltak.js +0 -2
- package/dist/chunks/conversationCard.component-2jO70XtY.js +0 -2
- package/dist/chunks/index-5cRW642o.js +0 -2
- package/dist/chunks/index-B4fjIWcA.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/popover.component-CLMQkEDo.js +0 -2
- package/dist/chunks/popover.component-CLMQkEDo.js.map +0 -1
- package/dist/chunks/popover.component-MbM0Ajnr.js +0 -264
- package/dist/chunks/popover.component-MbM0Ajnr.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/theme.provider-CpxxMiXd.js +0 -26
- package/dist/chunks/theme.provider-CpxxMiXd.js.map +0 -1
- package/dist/chunks/theme.provider-DmGvaymX.js.map +0 -1
- package/dist/chunks/timestamp.component-BKr4dkxB.js +0 -53
- package/dist/chunks/timestamp.component-CfjeVkJs.js +0 -2
- package/dist/chunks/toaster.records-CGym-iT-.js +0 -2
- package/dist/chunks/withTruncation-CQUQzrTa.js +0 -561
- package/dist/chunks/withTruncation-CQUQzrTa.js.map +0 -1
- package/dist/chunks/withTruncation-DguVvIAI.js +0 -2
- package/dist/chunks/withTruncation-DguVvIAI.js.map +0 -1
|
@@ -0,0 +1,713 @@
|
|
|
1
|
+
import { j as f } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import * as Le from "react";
|
|
3
|
+
import { forwardRef as j, useId as Se } from "react";
|
|
4
|
+
import { c as De, f as R, u as ie, h as Ae, g as ee, d as je, b as Re, i as Ve, j as Ie, k as Fe, n as _e, s as ae, l as ce, m as le, P as Ne } from "./portal-C7cdrplU.js";
|
|
5
|
+
import { c as xe } from "./create-slot-recipe-context-BJmsuxih.js";
|
|
6
|
+
import { Z as A, a2 as Z, au as Ke, D as de, av as $e, Y as k, c as We, y as Be, R as B, aw as Ge, b as ze, d as qe, m as He } from "./index-c2eCwOCU.js";
|
|
7
|
+
function Ue(e) {
|
|
8
|
+
return !(e.metaKey || !$e() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
9
|
+
}
|
|
10
|
+
var Ye = /* @__PURE__ */ new Set(["checkbox", "radio", "range", "color", "file", "image", "button", "submit", "reset"]);
|
|
11
|
+
function Ze(e, t, o) {
|
|
12
|
+
const n = o ? de(o) : null, r = A(n);
|
|
13
|
+
return e = e || n instanceof r.HTMLInputElement && !Ye.has(n?.type) || n instanceof r.HTMLTextAreaElement || n instanceof r.HTMLElement && n.isContentEditable, !(e && t === "keyboard" && o instanceof r.KeyboardEvent && !Reflect.has(Je, o.key));
|
|
14
|
+
}
|
|
15
|
+
var T = null, z = /* @__PURE__ */ new Set(), D = /* @__PURE__ */ new Map(), b = !1, q = !1, Je = {
|
|
16
|
+
Tab: !0,
|
|
17
|
+
Escape: !0
|
|
18
|
+
};
|
|
19
|
+
function $(e, t) {
|
|
20
|
+
for (let o of z)
|
|
21
|
+
o(e, t);
|
|
22
|
+
}
|
|
23
|
+
function x(e) {
|
|
24
|
+
b = !0, Ue(e) && (T = "keyboard", $("keyboard", e));
|
|
25
|
+
}
|
|
26
|
+
function P(e) {
|
|
27
|
+
T = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (b = !0, $("pointer", e));
|
|
28
|
+
}
|
|
29
|
+
function pe(e) {
|
|
30
|
+
Ke(e) && (b = !0, T = "virtual");
|
|
31
|
+
}
|
|
32
|
+
function ue(e) {
|
|
33
|
+
const t = de(e);
|
|
34
|
+
t === A(t) || t === Z(t) || (!b && !q && (T = "virtual", $("virtual", e)), b = !1, q = !1);
|
|
35
|
+
}
|
|
36
|
+
function fe() {
|
|
37
|
+
b = !1, q = !0;
|
|
38
|
+
}
|
|
39
|
+
function Qe(e) {
|
|
40
|
+
if (typeof window > "u" || D.get(A(e)))
|
|
41
|
+
return;
|
|
42
|
+
const t = A(e), o = Z(e);
|
|
43
|
+
let n = t.HTMLElement.prototype.focus;
|
|
44
|
+
t.HTMLElement.prototype.focus = function() {
|
|
45
|
+
T = "virtual", $("virtual", null), b = !0, n.apply(this, arguments);
|
|
46
|
+
}, o.addEventListener("keydown", x, !0), o.addEventListener("keyup", x, !0), o.addEventListener("click", pe, !0), t.addEventListener("focus", ue, !0), t.addEventListener("blur", fe, !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(
|
|
47
|
+
"beforeunload",
|
|
48
|
+
() => {
|
|
49
|
+
Xe(e);
|
|
50
|
+
},
|
|
51
|
+
{ once: !0 }
|
|
52
|
+
), D.set(t, { focus: n });
|
|
53
|
+
}
|
|
54
|
+
var Xe = (e, t) => {
|
|
55
|
+
const o = A(e), n = Z(e);
|
|
56
|
+
D.has(o) && (o.HTMLElement.prototype.focus = D.get(o).focus, n.removeEventListener("keydown", x, !0), n.removeEventListener("keyup", x, !0), n.removeEventListener("click", pe, !0), o.removeEventListener("focus", ue, !0), o.removeEventListener("blur", fe, !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));
|
|
57
|
+
};
|
|
58
|
+
function H() {
|
|
59
|
+
return T === "keyboard";
|
|
60
|
+
}
|
|
61
|
+
function et(e = {}) {
|
|
62
|
+
const { isTextInput: t, autoFocus: o, onChange: n, root: r } = e;
|
|
63
|
+
Qe(r), n?.({ isFocusVisible: o || H(), modality: T });
|
|
64
|
+
const l = (p, a) => {
|
|
65
|
+
Ze(!!t, p, a) && n?.({ isFocusVisible: H(), modality: p });
|
|
66
|
+
};
|
|
67
|
+
return z.add(l), () => {
|
|
68
|
+
z.delete(l);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
const tt = Symbol(), te = Object.getPrototypeOf, U = /* @__PURE__ */ new WeakMap(), ot = (e) => e && (U.has(e) ? U.get(e) : te(e) === Object.prototype || te(e) === Array.prototype), nt = (e) => ot(e) && e[tt] || null, oe = (e, t = !0) => {
|
|
72
|
+
U.set(e, t);
|
|
73
|
+
};
|
|
74
|
+
function rt() {
|
|
75
|
+
if (typeof globalThis < "u") return globalThis;
|
|
76
|
+
if (typeof self < "u") return self;
|
|
77
|
+
if (typeof window < "u") return window;
|
|
78
|
+
if (typeof global < "u") return global;
|
|
79
|
+
}
|
|
80
|
+
function ge(e, t) {
|
|
81
|
+
const o = rt();
|
|
82
|
+
return o ? (o[e] || (o[e] = t()), o[e]) : t();
|
|
83
|
+
}
|
|
84
|
+
var N = ge("__zag__refSet", () => /* @__PURE__ */ new WeakSet()), st = (e) => typeof e == "object" && e !== null && "$$typeof" in e && "props" in e, it = (e) => typeof e == "object" && e !== null && "__v_isVNode" in e, at = (e) => typeof e == "object" && e !== null && "nodeType" in e && typeof e.nodeName == "string", ct = (e) => st(e) || it(e) || at(e), Y = (e) => e !== null && typeof e == "object", ne = (e) => Y(e) && !N.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", E = ge("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap()), lt = (e = Object.is, t = (a, y) => new Proxy(a, y), o = /* @__PURE__ */ new WeakMap(), n = (a, y) => {
|
|
85
|
+
const g = o.get(a);
|
|
86
|
+
if (g?.[0] === y)
|
|
87
|
+
return g[1];
|
|
88
|
+
const u = Array.isArray(a) ? [] : Object.create(Object.getPrototypeOf(a));
|
|
89
|
+
return oe(u, !0), o.set(a, [y, u]), Reflect.ownKeys(a).forEach((O) => {
|
|
90
|
+
const m = Reflect.get(a, O);
|
|
91
|
+
N.has(m) ? (oe(m, !1), u[O] = m) : E.has(m) ? u[O] = ut(m) : u[O] = m;
|
|
92
|
+
}), Object.freeze(u);
|
|
93
|
+
}, r = /* @__PURE__ */ new WeakMap(), l = [1, 1], p = (a) => {
|
|
94
|
+
if (!Y(a))
|
|
95
|
+
throw new Error("object required");
|
|
96
|
+
const y = r.get(a);
|
|
97
|
+
if (y)
|
|
98
|
+
return y;
|
|
99
|
+
let g = l[0];
|
|
100
|
+
const u = /* @__PURE__ */ new Set(), O = (i, s = ++l[0]) => {
|
|
101
|
+
g !== s && (g = s, u.forEach((c) => c(i, s)));
|
|
102
|
+
};
|
|
103
|
+
let m = l[1];
|
|
104
|
+
const w = (i = ++l[1]) => (m !== i && !u.size && (m = i, d.forEach(([s]) => {
|
|
105
|
+
const c = s[1](i);
|
|
106
|
+
c > g && (g = c);
|
|
107
|
+
})), g), C = (i) => (s, c) => {
|
|
108
|
+
const v = [...s];
|
|
109
|
+
v[1] = [i, ...v[1]], O(v, c);
|
|
110
|
+
}, d = /* @__PURE__ */ new Map(), J = (i, s) => {
|
|
111
|
+
if (K() && d.has(i))
|
|
112
|
+
throw new Error("prop listener already exists");
|
|
113
|
+
if (u.size) {
|
|
114
|
+
const c = s[3](C(i));
|
|
115
|
+
d.set(i, [s, c]);
|
|
116
|
+
} else
|
|
117
|
+
d.set(i, [s]);
|
|
118
|
+
}, Q = (i) => {
|
|
119
|
+
const s = d.get(i);
|
|
120
|
+
s && (d.delete(i), s[1]?.());
|
|
121
|
+
}, Ce = (i) => (u.add(i), u.size === 1 && d.forEach(([c, v], M) => {
|
|
122
|
+
if (K() && v)
|
|
123
|
+
throw new Error("remove already exists");
|
|
124
|
+
const L = c[3](C(M));
|
|
125
|
+
d.set(M, [c, L]);
|
|
126
|
+
}), () => {
|
|
127
|
+
u.delete(i), u.size === 0 && d.forEach(([c, v], M) => {
|
|
128
|
+
v && (v(), d.set(M, [c]));
|
|
129
|
+
});
|
|
130
|
+
}), W = Array.isArray(a) ? [] : Object.create(Object.getPrototypeOf(a)), F = t(W, {
|
|
131
|
+
deleteProperty(i, s) {
|
|
132
|
+
const c = Reflect.get(i, s);
|
|
133
|
+
Q(s);
|
|
134
|
+
const v = Reflect.deleteProperty(i, s);
|
|
135
|
+
return v && O(["delete", [s], c]), v;
|
|
136
|
+
},
|
|
137
|
+
set(i, s, c, v) {
|
|
138
|
+
const M = Reflect.has(i, s), L = Reflect.get(i, s, v);
|
|
139
|
+
if (M && (e(L, c) || r.has(c) && e(L, r.get(c))))
|
|
140
|
+
return !0;
|
|
141
|
+
Q(s), Y(c) && (c = nt(c) || c);
|
|
142
|
+
let _ = c;
|
|
143
|
+
if (!Object.getOwnPropertyDescriptor(i, s)?.set) {
|
|
144
|
+
!E.has(c) && ne(c) && (_ = ve(c));
|
|
145
|
+
const X = !N.has(_) && E.get(_);
|
|
146
|
+
X && J(s, X);
|
|
147
|
+
}
|
|
148
|
+
return Reflect.set(i, s, _, v), O(["set", [s], c, L]), !0;
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
r.set(a, F);
|
|
152
|
+
const Me = [W, w, n, Ce];
|
|
153
|
+
return E.set(F, Me), Reflect.ownKeys(a).forEach((i) => {
|
|
154
|
+
const s = Object.getOwnPropertyDescriptor(a, i);
|
|
155
|
+
s.get || s.set ? Object.defineProperty(W, i, s) : F[i] = a[i];
|
|
156
|
+
}), F;
|
|
157
|
+
}) => [
|
|
158
|
+
// public functions
|
|
159
|
+
p,
|
|
160
|
+
// shared state
|
|
161
|
+
E,
|
|
162
|
+
N,
|
|
163
|
+
// internal things
|
|
164
|
+
e,
|
|
165
|
+
t,
|
|
166
|
+
ne,
|
|
167
|
+
o,
|
|
168
|
+
n,
|
|
169
|
+
r,
|
|
170
|
+
l
|
|
171
|
+
], [dt] = lt();
|
|
172
|
+
function ve(e = {}) {
|
|
173
|
+
return dt(e);
|
|
174
|
+
}
|
|
175
|
+
function pt(e, t, o) {
|
|
176
|
+
const n = E.get(e);
|
|
177
|
+
K() && !n && console.warn("Please use proxy object");
|
|
178
|
+
let r;
|
|
179
|
+
const l = [], p = n[3];
|
|
180
|
+
let a = !1;
|
|
181
|
+
const g = p((u) => {
|
|
182
|
+
l.push(u), r || (r = Promise.resolve().then(() => {
|
|
183
|
+
r = void 0, a && t(l.splice(0));
|
|
184
|
+
}));
|
|
185
|
+
});
|
|
186
|
+
return a = !0, () => {
|
|
187
|
+
a = !1, g();
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
function ut(e) {
|
|
191
|
+
const t = E.get(e);
|
|
192
|
+
K() && !t && console.warn("Please use proxy object");
|
|
193
|
+
const [o, n, r] = t;
|
|
194
|
+
return r(o, n());
|
|
195
|
+
}
|
|
196
|
+
const [ye, V] = De({
|
|
197
|
+
name: "TooltipContext",
|
|
198
|
+
hookName: "useTooltipContext",
|
|
199
|
+
providerName: "<TooltipProvider />"
|
|
200
|
+
}), me = j((e, t) => {
|
|
201
|
+
const o = V(), n = k(o.getArrowProps(), e);
|
|
202
|
+
return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
203
|
+
});
|
|
204
|
+
me.displayName = "TooltipArrow";
|
|
205
|
+
const Pe = j((e, t) => {
|
|
206
|
+
const o = V(), n = k(o.getArrowTipProps(), e);
|
|
207
|
+
return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
208
|
+
});
|
|
209
|
+
Pe.displayName = "TooltipArrowTip";
|
|
210
|
+
const Oe = j((e, t) => {
|
|
211
|
+
const o = V(), n = ie(), r = k(o.getContentProps(), n.getPresenceProps(), e);
|
|
212
|
+
return n.unmounted ? null : /* @__PURE__ */ f.jsx(R.div, { ...r, ref: Ae(n.ref, t) });
|
|
213
|
+
});
|
|
214
|
+
Oe.displayName = "TooltipContent";
|
|
215
|
+
const we = j((e, t) => {
|
|
216
|
+
const o = V(), n = k(o.getPositionerProps(), e);
|
|
217
|
+
return ie().unmounted ? null : /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
218
|
+
});
|
|
219
|
+
we.displayName = "TooltipPositioner";
|
|
220
|
+
var ft = ze("tooltip").parts("trigger", "arrow", "arrowTip", "positioner", "content"), S = ft.build(), he = (e) => e.ids?.trigger ?? `tooltip:${e.id}:trigger`, gt = (e) => e.ids?.content ?? `tooltip:${e.id}:content`, vt = (e) => e.ids?.arrow ?? `tooltip:${e.id}:arrow`, Ee = (e) => e.ids?.positioner ?? `tooltip:${e.id}:popper`, G = (e) => e.getById(he(e)), re = (e) => e.getById(Ee(e)), h = ve({ id: null });
|
|
221
|
+
function yt(e, t) {
|
|
222
|
+
const { state: o, context: n, send: r, scope: l, prop: p, event: a } = e, y = p("id"), g = !!p("aria-label"), u = o.matches("open", "closing"), O = he(l), m = gt(l), w = p("disabled"), C = je({
|
|
223
|
+
...p("positioning"),
|
|
224
|
+
placement: n.get("currentPlacement")
|
|
225
|
+
});
|
|
226
|
+
return {
|
|
227
|
+
open: u,
|
|
228
|
+
setOpen(d) {
|
|
229
|
+
o.matches("open", "closing") !== d && r({ type: d ? "open" : "close" });
|
|
230
|
+
},
|
|
231
|
+
reposition(d = {}) {
|
|
232
|
+
r({ type: "positioning.set", options: d });
|
|
233
|
+
},
|
|
234
|
+
getTriggerProps() {
|
|
235
|
+
return t.button({
|
|
236
|
+
...S.trigger.attrs,
|
|
237
|
+
id: O,
|
|
238
|
+
dir: p("dir"),
|
|
239
|
+
"data-expanded": qe(u),
|
|
240
|
+
"data-state": u ? "open" : "closed",
|
|
241
|
+
"aria-describedby": u ? m : void 0,
|
|
242
|
+
onClick(d) {
|
|
243
|
+
d.defaultPrevented || w || p("closeOnClick") && r({ type: "close", src: "trigger.click" });
|
|
244
|
+
},
|
|
245
|
+
onFocus(d) {
|
|
246
|
+
queueMicrotask(() => {
|
|
247
|
+
d.defaultPrevented || w || a.src !== "trigger.pointerdown" && H() && r({ type: "open", src: "trigger.focus" });
|
|
248
|
+
});
|
|
249
|
+
},
|
|
250
|
+
onBlur(d) {
|
|
251
|
+
d.defaultPrevented || w || y === h.id && r({ type: "close", src: "trigger.blur" });
|
|
252
|
+
},
|
|
253
|
+
onPointerDown(d) {
|
|
254
|
+
d.defaultPrevented || w || p("closeOnPointerDown") && y === h.id && r({ type: "close", src: "trigger.pointerdown" });
|
|
255
|
+
},
|
|
256
|
+
onPointerMove(d) {
|
|
257
|
+
d.defaultPrevented || w || d.pointerType !== "touch" && r({ type: "pointer.move" });
|
|
258
|
+
},
|
|
259
|
+
onPointerLeave() {
|
|
260
|
+
w || r({ type: "pointer.leave" });
|
|
261
|
+
},
|
|
262
|
+
onPointerCancel() {
|
|
263
|
+
w || r({ type: "pointer.leave" });
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
},
|
|
267
|
+
getArrowProps() {
|
|
268
|
+
return t.element({
|
|
269
|
+
id: vt(l),
|
|
270
|
+
...S.arrow.attrs,
|
|
271
|
+
dir: p("dir"),
|
|
272
|
+
style: C.arrow
|
|
273
|
+
});
|
|
274
|
+
},
|
|
275
|
+
getArrowTipProps() {
|
|
276
|
+
return t.element({
|
|
277
|
+
...S.arrowTip.attrs,
|
|
278
|
+
dir: p("dir"),
|
|
279
|
+
style: C.arrowTip
|
|
280
|
+
});
|
|
281
|
+
},
|
|
282
|
+
getPositionerProps() {
|
|
283
|
+
return t.element({
|
|
284
|
+
id: Ee(l),
|
|
285
|
+
...S.positioner.attrs,
|
|
286
|
+
dir: p("dir"),
|
|
287
|
+
style: C.floating
|
|
288
|
+
});
|
|
289
|
+
},
|
|
290
|
+
getContentProps() {
|
|
291
|
+
return t.element({
|
|
292
|
+
...S.content.attrs,
|
|
293
|
+
dir: p("dir"),
|
|
294
|
+
hidden: !u,
|
|
295
|
+
"data-state": u ? "open" : "closed",
|
|
296
|
+
role: g ? void 0 : "tooltip",
|
|
297
|
+
id: g ? void 0 : m,
|
|
298
|
+
"data-placement": n.get("currentPlacement"),
|
|
299
|
+
onPointerEnter() {
|
|
300
|
+
r({ type: "content.pointer.move" });
|
|
301
|
+
},
|
|
302
|
+
onPointerLeave() {
|
|
303
|
+
r({ type: "content.pointer.leave" });
|
|
304
|
+
},
|
|
305
|
+
style: {
|
|
306
|
+
pointerEvents: p("interactive") ? "auto" : "none"
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
var { and: mt, not: se } = Be(), Pt = We({
|
|
313
|
+
initialState: ({ prop: e }) => e("open") || e("defaultOpen") ? "open" : "closed",
|
|
314
|
+
props({ props: e }) {
|
|
315
|
+
return {
|
|
316
|
+
id: "x",
|
|
317
|
+
openDelay: 1e3,
|
|
318
|
+
closeDelay: 500,
|
|
319
|
+
closeOnPointerDown: !0,
|
|
320
|
+
closeOnEscape: !0,
|
|
321
|
+
interactive: !1,
|
|
322
|
+
closeOnScroll: !0,
|
|
323
|
+
closeOnClick: !0,
|
|
324
|
+
disabled: !1,
|
|
325
|
+
...e,
|
|
326
|
+
positioning: {
|
|
327
|
+
placement: "bottom",
|
|
328
|
+
...e.positioning
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
},
|
|
332
|
+
effects: ["trackFocusVisible", "trackStore"],
|
|
333
|
+
context: ({ bindable: e }) => ({
|
|
334
|
+
currentPlacement: e(() => ({ defaultValue: void 0 })),
|
|
335
|
+
hasPointerMoveOpened: e(() => ({ defaultValue: !1 }))
|
|
336
|
+
}),
|
|
337
|
+
watch({ track: e, action: t, prop: o }) {
|
|
338
|
+
e([() => o("disabled")], () => {
|
|
339
|
+
t(["closeIfDisabled"]);
|
|
340
|
+
}), e([() => o("open")], () => {
|
|
341
|
+
t(["toggleVisibility"]);
|
|
342
|
+
});
|
|
343
|
+
},
|
|
344
|
+
states: {
|
|
345
|
+
closed: {
|
|
346
|
+
entry: ["clearGlobalId"],
|
|
347
|
+
on: {
|
|
348
|
+
"controlled.open": {
|
|
349
|
+
target: "open"
|
|
350
|
+
},
|
|
351
|
+
open: [
|
|
352
|
+
{
|
|
353
|
+
guard: "isOpenControlled",
|
|
354
|
+
actions: ["invokeOnOpen"]
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
target: "open",
|
|
358
|
+
actions: ["invokeOnOpen"]
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"pointer.leave": {
|
|
362
|
+
actions: ["clearPointerMoveOpened"]
|
|
363
|
+
},
|
|
364
|
+
"pointer.move": [
|
|
365
|
+
{
|
|
366
|
+
guard: mt("noVisibleTooltip", se("hasPointerMoveOpened")),
|
|
367
|
+
target: "opening"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
guard: se("hasPointerMoveOpened"),
|
|
371
|
+
target: "open",
|
|
372
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
opening: {
|
|
378
|
+
effects: ["trackScroll", "trackPointerlockChange", "waitForOpenDelay"],
|
|
379
|
+
on: {
|
|
380
|
+
"after.openDelay": [
|
|
381
|
+
{
|
|
382
|
+
guard: "isOpenControlled",
|
|
383
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
target: "open",
|
|
387
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"controlled.open": {
|
|
391
|
+
target: "open"
|
|
392
|
+
},
|
|
393
|
+
"controlled.close": {
|
|
394
|
+
target: "closed"
|
|
395
|
+
},
|
|
396
|
+
open: [
|
|
397
|
+
{
|
|
398
|
+
guard: "isOpenControlled",
|
|
399
|
+
actions: ["invokeOnOpen"]
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
target: "open",
|
|
403
|
+
actions: ["invokeOnOpen"]
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
"pointer.leave": [
|
|
407
|
+
{
|
|
408
|
+
guard: "isOpenControlled",
|
|
409
|
+
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
410
|
+
actions: ["clearPointerMoveOpened", "invokeOnClose", "toggleVisibility"]
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
target: "closed",
|
|
414
|
+
actions: ["clearPointerMoveOpened", "invokeOnClose"]
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
close: [
|
|
418
|
+
{
|
|
419
|
+
guard: "isOpenControlled",
|
|
420
|
+
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
421
|
+
actions: ["invokeOnClose", "toggleVisibility"]
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
target: "closed",
|
|
425
|
+
actions: ["invokeOnClose"]
|
|
426
|
+
}
|
|
427
|
+
]
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
open: {
|
|
431
|
+
effects: ["trackEscapeKey", "trackScroll", "trackPointerlockChange", "trackPositioning"],
|
|
432
|
+
entry: ["setGlobalId"],
|
|
433
|
+
on: {
|
|
434
|
+
"controlled.close": {
|
|
435
|
+
target: "closed"
|
|
436
|
+
},
|
|
437
|
+
close: [
|
|
438
|
+
{
|
|
439
|
+
guard: "isOpenControlled",
|
|
440
|
+
actions: ["invokeOnClose"]
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
target: "closed",
|
|
444
|
+
actions: ["invokeOnClose"]
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
"pointer.leave": [
|
|
448
|
+
{
|
|
449
|
+
guard: "isVisible",
|
|
450
|
+
target: "closing",
|
|
451
|
+
actions: ["clearPointerMoveOpened"]
|
|
452
|
+
},
|
|
453
|
+
// == group ==
|
|
454
|
+
{
|
|
455
|
+
guard: "isOpenControlled",
|
|
456
|
+
actions: ["clearPointerMoveOpened", "invokeOnClose"]
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
target: "closed",
|
|
460
|
+
actions: ["clearPointerMoveOpened", "invokeOnClose"]
|
|
461
|
+
}
|
|
462
|
+
],
|
|
463
|
+
"content.pointer.leave": {
|
|
464
|
+
guard: "isInteractive",
|
|
465
|
+
target: "closing"
|
|
466
|
+
},
|
|
467
|
+
"positioning.set": {
|
|
468
|
+
actions: ["reposition"]
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
closing: {
|
|
473
|
+
effects: ["trackPositioning", "waitForCloseDelay"],
|
|
474
|
+
on: {
|
|
475
|
+
"after.closeDelay": [
|
|
476
|
+
{
|
|
477
|
+
guard: "isOpenControlled",
|
|
478
|
+
actions: ["invokeOnClose"]
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
target: "closed",
|
|
482
|
+
actions: ["invokeOnClose"]
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
"controlled.close": {
|
|
486
|
+
target: "closed"
|
|
487
|
+
},
|
|
488
|
+
"controlled.open": {
|
|
489
|
+
target: "open"
|
|
490
|
+
},
|
|
491
|
+
close: [
|
|
492
|
+
{
|
|
493
|
+
guard: "isOpenControlled",
|
|
494
|
+
actions: ["invokeOnClose"]
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
target: "closed",
|
|
498
|
+
actions: ["invokeOnClose"]
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
"pointer.move": [
|
|
502
|
+
{
|
|
503
|
+
guard: "isOpenControlled",
|
|
504
|
+
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
505
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen", "toggleVisibility"]
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
target: "open",
|
|
509
|
+
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"content.pointer.move": {
|
|
513
|
+
guard: "isInteractive",
|
|
514
|
+
target: "open"
|
|
515
|
+
},
|
|
516
|
+
"positioning.set": {
|
|
517
|
+
actions: ["reposition"]
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
implementations: {
|
|
523
|
+
guards: {
|
|
524
|
+
noVisibleTooltip: () => h.id === null,
|
|
525
|
+
isVisible: ({ prop: e }) => e("id") === h.id,
|
|
526
|
+
isInteractive: ({ prop: e }) => !!e("interactive"),
|
|
527
|
+
hasPointerMoveOpened: ({ context: e }) => e.get("hasPointerMoveOpened"),
|
|
528
|
+
isOpenControlled: ({ prop: e }) => e("open") !== void 0
|
|
529
|
+
},
|
|
530
|
+
actions: {
|
|
531
|
+
setGlobalId: ({ prop: e }) => {
|
|
532
|
+
h.id = e("id");
|
|
533
|
+
},
|
|
534
|
+
clearGlobalId: ({ prop: e }) => {
|
|
535
|
+
e("id") === h.id && (h.id = null);
|
|
536
|
+
},
|
|
537
|
+
invokeOnOpen: ({ prop: e }) => {
|
|
538
|
+
e("onOpenChange")?.({ open: !0 });
|
|
539
|
+
},
|
|
540
|
+
invokeOnClose: ({ prop: e }) => {
|
|
541
|
+
e("onOpenChange")?.({ open: !1 });
|
|
542
|
+
},
|
|
543
|
+
closeIfDisabled: ({ prop: e, send: t }) => {
|
|
544
|
+
e("disabled") && t({ type: "close", src: "disabled.change" });
|
|
545
|
+
},
|
|
546
|
+
reposition: ({ context: e, event: t, prop: o, scope: n }) => {
|
|
547
|
+
if (t.type !== "positioning.set") return;
|
|
548
|
+
const r = () => re(n);
|
|
549
|
+
return ee(G(n), r, {
|
|
550
|
+
...o("positioning"),
|
|
551
|
+
...t.options,
|
|
552
|
+
defer: !0,
|
|
553
|
+
listeners: !1,
|
|
554
|
+
onComplete(l) {
|
|
555
|
+
e.set("currentPlacement", l.placement);
|
|
556
|
+
}
|
|
557
|
+
});
|
|
558
|
+
},
|
|
559
|
+
toggleVisibility: ({ prop: e, event: t, send: o }) => {
|
|
560
|
+
queueMicrotask(() => {
|
|
561
|
+
o({
|
|
562
|
+
type: e("open") ? "controlled.open" : "controlled.close",
|
|
563
|
+
previousEvent: t
|
|
564
|
+
});
|
|
565
|
+
});
|
|
566
|
+
},
|
|
567
|
+
setPointerMoveOpened: ({ context: e }) => {
|
|
568
|
+
e.set("hasPointerMoveOpened", !0);
|
|
569
|
+
},
|
|
570
|
+
clearPointerMoveOpened: ({ context: e }) => {
|
|
571
|
+
e.set("hasPointerMoveOpened", !1);
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
effects: {
|
|
575
|
+
trackFocusVisible: ({ scope: e }) => et({ root: e.getRootNode?.() }),
|
|
576
|
+
trackPositioning: ({ context: e, prop: t, scope: o }) => {
|
|
577
|
+
e.get("currentPlacement") || e.set("currentPlacement", t("positioning").placement);
|
|
578
|
+
const n = () => re(o);
|
|
579
|
+
return ee(G(o), n, {
|
|
580
|
+
...t("positioning"),
|
|
581
|
+
defer: !0,
|
|
582
|
+
onComplete(r) {
|
|
583
|
+
e.set("currentPlacement", r.placement);
|
|
584
|
+
}
|
|
585
|
+
});
|
|
586
|
+
},
|
|
587
|
+
trackPointerlockChange: ({ send: e, scope: t }) => {
|
|
588
|
+
const o = t.getDoc();
|
|
589
|
+
return B(o, "pointerlockchange", () => e({ type: "close", src: "pointerlock:change" }), !1);
|
|
590
|
+
},
|
|
591
|
+
trackScroll: ({ send: e, prop: t, scope: o }) => {
|
|
592
|
+
if (!t("closeOnScroll")) return;
|
|
593
|
+
const n = G(o);
|
|
594
|
+
if (!n) return;
|
|
595
|
+
const l = Ge(n).map((p) => B(p, "scroll", () => {
|
|
596
|
+
e({ type: "close", src: "scroll" });
|
|
597
|
+
}, {
|
|
598
|
+
passive: !0,
|
|
599
|
+
capture: !0
|
|
600
|
+
}));
|
|
601
|
+
return () => {
|
|
602
|
+
l.forEach((p) => p?.());
|
|
603
|
+
};
|
|
604
|
+
},
|
|
605
|
+
trackStore: ({ prop: e, send: t }) => {
|
|
606
|
+
let o;
|
|
607
|
+
return queueMicrotask(() => {
|
|
608
|
+
o = pt(h, () => {
|
|
609
|
+
h.id !== e("id") && t({ type: "close", src: "id.change" });
|
|
610
|
+
});
|
|
611
|
+
}), () => o?.();
|
|
612
|
+
},
|
|
613
|
+
trackEscapeKey: ({ send: e, prop: t }) => t("closeOnEscape") ? B(document, "keydown", (n) => {
|
|
614
|
+
He(n) || n.key === "Escape" && (n.stopPropagation(), e({ type: "close", src: "keydown.escape" }));
|
|
615
|
+
}, !0) : void 0,
|
|
616
|
+
waitForOpenDelay: ({ send: e, prop: t }) => {
|
|
617
|
+
const o = setTimeout(() => {
|
|
618
|
+
e({ type: "after.openDelay" });
|
|
619
|
+
}, t("openDelay"));
|
|
620
|
+
return () => clearTimeout(o);
|
|
621
|
+
},
|
|
622
|
+
waitForCloseDelay: ({ send: e, prop: t }) => {
|
|
623
|
+
const o = setTimeout(() => {
|
|
624
|
+
e({ type: "after.closeDelay" });
|
|
625
|
+
}, t("closeDelay"));
|
|
626
|
+
return () => clearTimeout(o);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
Re()([
|
|
632
|
+
"aria-label",
|
|
633
|
+
"closeDelay",
|
|
634
|
+
"closeOnEscape",
|
|
635
|
+
"closeOnPointerDown",
|
|
636
|
+
"closeOnScroll",
|
|
637
|
+
"closeOnClick",
|
|
638
|
+
"dir",
|
|
639
|
+
"disabled",
|
|
640
|
+
"getRootNode",
|
|
641
|
+
"id",
|
|
642
|
+
"ids",
|
|
643
|
+
"interactive",
|
|
644
|
+
"onOpenChange",
|
|
645
|
+
"defaultOpen",
|
|
646
|
+
"open",
|
|
647
|
+
"openDelay",
|
|
648
|
+
"positioning"
|
|
649
|
+
]);
|
|
650
|
+
const Ot = (e) => {
|
|
651
|
+
const t = Se(), { getRootNode: o } = Ve(), { dir: n } = Ie(), r = {
|
|
652
|
+
id: t,
|
|
653
|
+
dir: n,
|
|
654
|
+
getRootNode: o,
|
|
655
|
+
...e
|
|
656
|
+
}, l = Fe(Pt, r);
|
|
657
|
+
return yt(l, _e);
|
|
658
|
+
}, wt = (e) => {
|
|
659
|
+
const [t, { children: o, ...n }] = ae(e), r = Ot(n), l = ce(k({ present: r.open }, t));
|
|
660
|
+
return /* @__PURE__ */ f.jsx(ye, { value: r, children: /* @__PURE__ */ f.jsx(le, { value: l, children: o }) });
|
|
661
|
+
}, ht = (e) => {
|
|
662
|
+
const [t, { value: o, children: n }] = ae(e), r = ce(k({ present: o.open }, t));
|
|
663
|
+
return /* @__PURE__ */ f.jsx(ye, { value: o, children: /* @__PURE__ */ f.jsx(le, { value: r, children: n }) });
|
|
664
|
+
}, be = j((e, t) => {
|
|
665
|
+
const o = V(), n = k(o.getTriggerProps(), e);
|
|
666
|
+
return /* @__PURE__ */ f.jsx(R.button, { ...n, ref: t });
|
|
667
|
+
});
|
|
668
|
+
be.displayName = "TooltipTrigger";
|
|
669
|
+
const {
|
|
670
|
+
withRootProvider: ke,
|
|
671
|
+
withContext: I
|
|
672
|
+
} = xe({ key: "tooltip" });
|
|
673
|
+
ke(
|
|
674
|
+
ht
|
|
675
|
+
);
|
|
676
|
+
const Et = ke(wt, {
|
|
677
|
+
defaultProps: { lazyMount: !0, unmountOnExit: !0 }
|
|
678
|
+
}), bt = I(be, "trigger", { forwardAsChild: !0 }), kt = I(we, "positioner", { forwardAsChild: !0 }), Tt = I(
|
|
679
|
+
Oe,
|
|
680
|
+
"content",
|
|
681
|
+
{ forwardAsChild: !0 }
|
|
682
|
+
), Te = I(Pe, "arrowTip", { forwardAsChild: !0 }), Ct = I(
|
|
683
|
+
me,
|
|
684
|
+
"arrow",
|
|
685
|
+
{ forwardAsChild: !0, defaultProps: { children: /* @__PURE__ */ f.jsx(Te, {}) } }
|
|
686
|
+
), Rt = Le.forwardRef(
|
|
687
|
+
function(t, o) {
|
|
688
|
+
const {
|
|
689
|
+
showArrow: n = !0,
|
|
690
|
+
children: r,
|
|
691
|
+
disabled: l,
|
|
692
|
+
portalled: p = !0,
|
|
693
|
+
label: a,
|
|
694
|
+
contentProps: y,
|
|
695
|
+
portalRef: g,
|
|
696
|
+
...u
|
|
697
|
+
} = t;
|
|
698
|
+
return l ? r : /* @__PURE__ */ f.jsxs(Et, { ...u, children: [
|
|
699
|
+
/* @__PURE__ */ f.jsx(bt, { asChild: !0, children: r }),
|
|
700
|
+
/* @__PURE__ */ f.jsx(Ne, { disabled: !p, container: g, children: /* @__PURE__ */ f.jsx(kt, { children: /* @__PURE__ */ f.jsxs(Tt, { ref: o, ...y, children: [
|
|
701
|
+
n && /* @__PURE__ */ f.jsx(Ct, { children: /* @__PURE__ */ f.jsx(Te, {}) }),
|
|
702
|
+
a
|
|
703
|
+
] }) }) })
|
|
704
|
+
] });
|
|
705
|
+
}
|
|
706
|
+
);
|
|
707
|
+
export {
|
|
708
|
+
Rt as T,
|
|
709
|
+
ft as a,
|
|
710
|
+
H as i,
|
|
711
|
+
et as t
|
|
712
|
+
};
|
|
713
|
+
//# sourceMappingURL=tooltip.component-C5FgUWfB.js.map
|