@televet/kibble-ui 4.0.0-beta.67 → 4.0.0-beta.69
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-B7BlPX2-.js → alert.types-BTwB1SOp.js} +11 -10
- package/dist/chunks/{alert.types-B7BlPX2-.js.map → alert.types-BTwB1SOp.js.map} +1 -1
- package/dist/chunks/alert.types-Cjh2MIRP.js +2 -0
- package/dist/chunks/{alert.types-BsvcbTZD.js.map → alert.types-Cjh2MIRP.js.map} +1 -1
- package/dist/chunks/attr-BMs6szZx.js +2 -0
- package/dist/chunks/attr-BMs6szZx.js.map +1 -0
- package/dist/chunks/attr-sm10PXOd.js +5 -0
- package/dist/chunks/attr-sm10PXOd.js.map +1 -0
- package/dist/chunks/{avatar.component-CB5m8zha.js → avatar.component-BnOmYhL2.js} +27 -27
- package/dist/chunks/{avatar.component-CB5m8zha.js.map → avatar.component-BnOmYhL2.js.map} +1 -1
- package/dist/chunks/avatar.component-CbtJE4RJ.js +2 -0
- package/dist/chunks/{avatar.component-RKtP3MZt.js.map → avatar.component-CbtJE4RJ.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-CKFjjo2R.js → avatarGroup.component-Bcb1Fxwv.js} +2 -2
- package/dist/chunks/{avatarGroup.component-CKFjjo2R.js.map → avatarGroup.component-Bcb1Fxwv.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-CjBeAxHZ.js → avatarGroup.component-D4lmT752.js} +2 -2
- package/dist/chunks/{avatarGroup.component-CjBeAxHZ.js.map → avatarGroup.component-D4lmT752.js.map} +1 -1
- package/dist/chunks/{button.component-DahLrK9h.js → button.component-BpF3MzbZ.js} +3 -3
- package/dist/chunks/{button.component-DahLrK9h.js.map → button.component-BpF3MzbZ.js.map} +1 -1
- package/dist/chunks/{button.component-BQA_MGYQ.js → button.component-Dd9AfGox.js} +2 -2
- package/dist/chunks/{button.component-BQA_MGYQ.js.map → button.component-Dd9AfGox.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-UKmJh2zn.js → buttonGroup.component-DzQFhbS7.js} +5 -5
- package/dist/chunks/{buttonGroup.component-UKmJh2zn.js.map → buttonGroup.component-DzQFhbS7.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-BI44nuxH.js → buttonGroup.component-aes3EERQ.js} +2 -2
- package/dist/chunks/{buttonGroup.component-BI44nuxH.js.map → buttonGroup.component-aes3EERQ.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-xgc8P1mp.js → characterCounter.component-UgnBVIt2.js} +2 -2
- package/dist/chunks/{characterCounter.component-xgc8P1mp.js.map → characterCounter.component-UgnBVIt2.js.map} +1 -1
- package/dist/chunks/characterCounter.component-WGffeYNG.js +2 -0
- package/dist/chunks/{characterCounter.component-B8efVNy4.js.map → characterCounter.component-WGffeYNG.js.map} +1 -1
- package/dist/chunks/checkbox.component-BEP-GPhs.js +2 -0
- package/dist/chunks/{checkbox.component-DO9NDbmM.js.map → checkbox.component-BEP-GPhs.js.map} +1 -1
- package/dist/chunks/{checkbox.component-5GtlYTnJ.js → checkbox.component-C6lXKzXZ.js} +16 -16
- package/dist/chunks/{checkbox.component-5GtlYTnJ.js.map → checkbox.component-C6lXKzXZ.js.map} +1 -1
- package/dist/chunks/checkbox.records-CXszv_gF.js +2 -0
- package/dist/chunks/{checkbox.records-D7NUtCRR.js.map → checkbox.records-CXszv_gF.js.map} +1 -1
- package/dist/chunks/{checkbox.records-69wNHjsY.js → checkbox.records-Gz6DOO_0.js} +8 -8
- package/dist/chunks/{checkbox.records-69wNHjsY.js.map → checkbox.records-Gz6DOO_0.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-C1sPgVro.js → checkboxGroup.component-Dc_r6mYN.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-C1sPgVro.js.map → checkboxGroup.component-Dc_r6mYN.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-Dq3jCGDU.js → checkboxGroup.component-DhXdSILq.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-Dq3jCGDU.js.map → checkboxGroup.component-DhXdSILq.js.map} +1 -1
- package/dist/chunks/conversationCard.component-1OCCeSNc.js +2 -0
- package/dist/chunks/{conversationCard.component-qWYvoxVn.js.map → conversationCard.component-1OCCeSNc.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-LpR5eSru.js → conversationCard.component-Eb3E-4jY.js} +20 -18
- package/dist/chunks/{conversationCard.component-LpR5eSru.js.map → conversationCard.component-Eb3E-4jY.js.map} +1 -1
- package/dist/chunks/{datePicker.component-DVR8Ech4.js → datePicker.component-CTbeLdvH.js} +87 -85
- package/dist/chunks/{datePicker.component-DVR8Ech4.js.map → datePicker.component-CTbeLdvH.js.map} +1 -1
- package/dist/chunks/datePicker.component-DvAwsX_7.js +15 -0
- package/dist/chunks/{datePicker.component-CLR0tErm.js.map → datePicker.component-DvAwsX_7.js.map} +1 -1
- package/dist/chunks/dialog-trigger-B5NK0lr-.js +2 -0
- package/dist/chunks/{dialog-trigger-JNnMRY13.js.map → dialog-trigger-B5NK0lr-.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-C6rpz6Do.js → dialog-trigger-BPlPzPU-.js} +9 -9
- package/dist/chunks/{dialog-trigger-C6rpz6Do.js.map → dialog-trigger-BPlPzPU-.js.map} +1 -1
- package/dist/chunks/group-Cv7AQw1b.js +2 -0
- package/dist/chunks/{group-Dv1hO5IW.js.map → group-Cv7AQw1b.js.map} +1 -1
- package/dist/chunks/{group-DKypflCt.js → group-DPCVolOl.js} +2 -2
- package/dist/chunks/{group-DKypflCt.js.map → group-DPCVolOl.js.map} +1 -1
- package/dist/chunks/heading.component-DJaIpxi0.js +12 -0
- package/dist/chunks/heading.component-DJaIpxi0.js.map +1 -0
- package/dist/chunks/heading.component-lFK21HJl.js +2 -0
- package/dist/chunks/heading.component-lFK21HJl.js.map +1 -0
- package/dist/chunks/icon-button-DTZOklQ9.js +119 -0
- package/dist/chunks/icon-button-DTZOklQ9.js.map +1 -0
- package/dist/chunks/icon-button-DtjZ-SdQ.js +2 -0
- package/dist/chunks/icon-button-DtjZ-SdQ.js.map +1 -0
- package/dist/chunks/icon.component-C0e0UGBw.js +2 -0
- package/dist/chunks/icon.component-C0e0UGBw.js.map +1 -0
- package/dist/chunks/icon.component-DGNCL1Yc.js +42 -0
- package/dist/chunks/icon.component-DGNCL1Yc.js.map +1 -0
- package/dist/chunks/index-BBZxmcrY.js +2 -0
- package/dist/chunks/index-BBZxmcrY.js.map +1 -0
- package/dist/chunks/index-BDnnTdaJ.js +2 -0
- package/dist/chunks/{index-BiyIeWSg.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-BNYygzo-.js +376 -0
- package/dist/chunks/index-BNYygzo-.js.map +1 -0
- package/dist/chunks/index-BYf7SZUC.js +2 -0
- package/dist/chunks/{index-DeprNCOL.js.map → index-BYf7SZUC.js.map} +1 -1
- package/dist/chunks/{index-CxHMu1In.js → index-C2kxTsiE.js} +23 -21
- package/dist/chunks/{index-CxHMu1In.js.map → index-C2kxTsiE.js.map} +1 -1
- package/dist/chunks/index-COoMV9Mh.js +2 -0
- package/dist/chunks/{index-BpKhRg2I.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-CZz7hHWb.js.map +1 -0
- package/dist/chunks/{index-DRABh-Lp.js → index-CjNAJEk5.js} +106 -105
- package/dist/chunks/{index-DRABh-Lp.js.map → index-CjNAJEk5.js.map} +1 -1
- package/dist/chunks/{index-B9cDqm2a.js → index-Co91SHhW.js} +3 -3
- package/dist/chunks/{index-B9cDqm2a.js.map → index-Co91SHhW.js.map} +1 -1
- package/dist/chunks/index-D-rN7ETu.js +2 -0
- package/dist/chunks/{index-CmVbgcH8.js.map → index-D-rN7ETu.js.map} +1 -1
- package/dist/chunks/{index-BL1VW2oK.js → index-D9DU-5GF.js} +55 -54
- package/dist/chunks/{index-BL1VW2oK.js.map → index-D9DU-5GF.js.map} +1 -1
- package/dist/chunks/index-DUHFrLMI.js +389 -0
- package/dist/chunks/index-DUHFrLMI.js.map +1 -0
- package/dist/chunks/{index-Bn03tQNC.js → index-DcJZ8q0f.js} +20 -19
- package/dist/chunks/{index-Bn03tQNC.js.map → index-DcJZ8q0f.js.map} +1 -1
- package/dist/chunks/index-MlhL0PDC.js +2 -0
- package/dist/chunks/{index-CzzrUbmu.js.map → index-MlhL0PDC.js.map} +1 -1
- package/dist/chunks/{index-YfA5zlSf.js → index-S1uNQPZj.js} +5 -5
- package/dist/chunks/{index-YfA5zlSf.js.map → index-S1uNQPZj.js.map} +1 -1
- package/dist/chunks/index-UWtj4ULm.js +8 -0
- package/dist/chunks/{index-DFbSzgk8.js.map → index-UWtj4ULm.js.map} +1 -1
- package/dist/chunks/index-ZaGEDS_0.js +2 -0
- package/dist/chunks/{index-BDCLWoQU.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/{index-Ciu8P7c-.js → index-ryFIinh4.js} +7 -7
- package/dist/chunks/{index-Ciu8P7c-.js.map → index-ryFIinh4.js.map} +1 -1
- package/dist/chunks/{link.component-BQJI6gPi.js → link.component-CCFg-LIe.js} +2 -2
- package/dist/chunks/{link.component-BQJI6gPi.js.map → link.component-CCFg-LIe.js.map} +1 -1
- package/dist/chunks/{link.component-Cs05IsXP.js → link.component-DprieyUG.js} +2 -2
- package/dist/chunks/{link.component-Cs05IsXP.js.map → link.component-DprieyUG.js.map} +1 -1
- package/dist/chunks/{menu.component-CAr2xdZY.js → menu.component-CrRs7bHi.js} +28 -28
- package/dist/chunks/{menu.component-CAr2xdZY.js.map → menu.component-CrRs7bHi.js.map} +1 -1
- package/dist/chunks/menu.component-Ob_ob-5Z.js +2 -0
- package/dist/chunks/{menu.component-BgAx3SsR.js.map → menu.component-Ob_ob-5Z.js.map} +1 -1
- package/dist/chunks/modal.types-Bq8QqBuR.js +2 -0
- package/dist/chunks/{modal.types-CtHJAyfq.js.map → modal.types-Bq8QqBuR.js.map} +1 -1
- package/dist/chunks/{modal.types-B7PDc2GJ.js → modal.types-DCe2G-mT.js} +6 -6
- package/dist/chunks/{modal.types-B7PDc2GJ.js.map → modal.types-DCe2G-mT.js.map} +1 -1
- package/dist/chunks/{pinInput.types-TfkrphC7.js → pinInput.types-ChHs2RV-.js} +17 -17
- package/dist/chunks/{pinInput.types-TfkrphC7.js.map → pinInput.types-ChHs2RV-.js.map} +1 -1
- package/dist/chunks/pinInput.types-hI4GxH_1.js +2 -0
- package/dist/chunks/{pinInput.types-a0_2OLBO.js.map → pinInput.types-hI4GxH_1.js.map} +1 -1
- package/dist/chunks/popover-80QH8HEJ.js +2 -0
- package/dist/chunks/popover-80QH8HEJ.js.map +1 -0
- package/dist/chunks/popover-B9rNOU0g.js +110 -0
- package/dist/chunks/popover-B9rNOU0g.js.map +1 -0
- package/dist/chunks/popover-root-provider-CeLLpesI.js +43 -0
- package/dist/chunks/popover-root-provider-CeLLpesI.js.map +1 -0
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js +2 -0
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js.map +1 -0
- package/dist/chunks/popover.component-BIpq3zkh.js +322 -0
- package/dist/chunks/popover.component-BIpq3zkh.js.map +1 -0
- package/dist/chunks/popover.component-Dz0_vSF2.js +2 -0
- package/dist/chunks/popover.component-Dz0_vSF2.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-CAWibIHJ.js +2 -0
- package/dist/chunks/{radio.records-zKzNxtns.js.map → radio.records-CAWibIHJ.js.map} +1 -1
- package/dist/chunks/{radio.records-DBS_lqNe.js → radio.records-gz4RRw4x.js} +9 -9
- package/dist/chunks/{radio.records-DBS_lqNe.js.map → radio.records-gz4RRw4x.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DBLLIgCZ.js → radioGroup.component-wTDMlFMI.js} +17 -17
- package/dist/chunks/{radioGroup.component-DBLLIgCZ.js.map → radioGroup.component-wTDMlFMI.js.map} +1 -1
- package/dist/chunks/radioGroup.component-xCr6p4DS.js +2 -0
- package/dist/chunks/{radioGroup.component-fpo_KMOY.js.map → radioGroup.component-xCr6p4DS.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-DG2nCpxT.js → ratingDots.component-DNeSgGRt.js} +5 -5
- package/dist/chunks/{ratingDots.component-DG2nCpxT.js.map → ratingDots.component-DNeSgGRt.js.map} +1 -1
- package/dist/chunks/ratingDots.component-DvlGbBPz.js +2 -0
- package/dist/chunks/{ratingDots.component-DJEDUD_9.js.map → ratingDots.component-DvlGbBPz.js.map} +1 -1
- package/dist/chunks/render-strategy-BmWbSgqh.js +2 -0
- package/dist/chunks/{render-strategy-C80bGq2n.js.map → render-strategy-BmWbSgqh.js.map} +1 -1
- package/dist/chunks/{render-strategy-DN75XQJB.js → render-strategy-C8hwN3bm.js} +2 -2
- package/dist/chunks/{render-strategy-DN75XQJB.js.map → render-strategy-C8hwN3bm.js.map} +1 -1
- package/dist/chunks/select.component-1__YvaFF.js +2 -0
- package/dist/chunks/{select.component-Bmop2_tX.js.map → select.component-1__YvaFF.js.map} +1 -1
- package/dist/chunks/{select.component-DyXwbDeO.js → select.component-DN5g4aQG.js} +46 -46
- package/dist/chunks/{select.component-DyXwbDeO.js.map → select.component-DN5g4aQG.js.map} +1 -1
- package/dist/chunks/{sortableList.component-CbZAQrKl.js → sortableList.component-DI2da4B_.js} +4 -4
- package/dist/chunks/{sortableList.component-CbZAQrKl.js.map → sortableList.component-DI2da4B_.js.map} +1 -1
- package/dist/chunks/{sortableList.component-b2t_K7ho.js → sortableList.component-U3Kci1Jk.js} +2 -2
- package/dist/chunks/{sortableList.component-b2t_K7ho.js.map → sortableList.component-U3Kci1Jk.js.map} +1 -1
- package/dist/chunks/spinner-BWqSIW6m.js +8 -0
- package/dist/chunks/spinner-BWqSIW6m.js.map +1 -0
- package/dist/chunks/spinner-BnpL14kK.js +2 -0
- package/dist/chunks/spinner-BnpL14kK.js.map +1 -0
- package/dist/chunks/{spinner.component-B1vU-FCd.js → spinner.component-DER6c5R6.js} +4 -4
- package/dist/chunks/{spinner.component-B1vU-FCd.js.map → spinner.component-DER6c5R6.js.map} +1 -1
- package/dist/chunks/spinner.component-DUIpnXU8.js +2 -0
- package/dist/chunks/{spinner.component-CjQb7JjK.js.map → spinner.component-DUIpnXU8.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-DstfmllC.js → styledAvatar.types-EGc1-I1N.js} +2 -2
- package/dist/chunks/{styledAvatar.types-DstfmllC.js.map → styledAvatar.types-EGc1-I1N.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-D8VWyELN.js → styledAvatar.types-HA5wRy7y.js} +2 -2
- package/dist/chunks/{styledAvatar.types-D8VWyELN.js.map → styledAvatar.types-HA5wRy7y.js.map} +1 -1
- package/dist/chunks/{switch.component-DO9fxk_-.js → switch.component-6TiuST9H.js} +22 -22
- package/dist/chunks/{switch.component-DO9fxk_-.js.map → switch.component-6TiuST9H.js.map} +1 -1
- package/dist/chunks/switch.component-BPS2pQZx.js +2 -0
- package/dist/chunks/{switch.component-ARZzuYrq.js.map → switch.component-BPS2pQZx.js.map} +1 -1
- package/dist/chunks/tabs.component-DnbHYXT-.js +2 -0
- package/dist/chunks/{tabs.component-DRpNF8p-.js.map → tabs.component-DnbHYXT-.js.map} +1 -1
- package/dist/chunks/{tabs.component-BWTDtLWN.js → tabs.component-RpmipiEe.js} +55 -55
- package/dist/chunks/{tabs.component-BWTDtLWN.js.map → tabs.component-RpmipiEe.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-C3BrjwNJ.js → tagBlock.component-C-CNF4In.js} +17 -16
- package/dist/chunks/{tagBlock.component-C3BrjwNJ.js.map → tagBlock.component-C-CNF4In.js.map} +1 -1
- package/dist/chunks/tagBlock.component-DgmTLlRz.js +2 -0
- package/dist/chunks/{tagBlock.component-Bahf1v33.js.map → tagBlock.component-DgmTLlRz.js.map} +1 -1
- package/dist/chunks/text.component-BGUHMpKP.js +12 -0
- package/dist/chunks/text.component-BGUHMpKP.js.map +1 -0
- package/dist/chunks/text.component-BJ5u8GVO.js +2 -0
- package/dist/chunks/text.component-BJ5u8GVO.js.map +1 -0
- package/dist/chunks/{textInput.component-LPGbDHwZ.js → textInput.component-B2S0GcHU.js} +14 -14
- package/dist/chunks/{textInput.component-LPGbDHwZ.js.map → textInput.component-B2S0GcHU.js.map} +1 -1
- package/dist/chunks/textInput.component-D1L2qv1M.js +2 -0
- package/dist/chunks/{textInput.component-DDo9eUvp.js.map → textInput.component-D1L2qv1M.js.map} +1 -1
- package/dist/chunks/textarea.component-BEgF2Yny.js +2 -0
- package/dist/chunks/{textarea.component-5Ou5g_MJ.js.map → textarea.component-BEgF2Yny.js.map} +1 -1
- package/dist/chunks/{textarea.component-ClYqhTJX.js → textarea.component-DB51bevU.js} +12 -12
- package/dist/chunks/{textarea.component-ClYqhTJX.js.map → textarea.component-DB51bevU.js.map} +1 -1
- package/dist/chunks/{theme.provider-vZgSb-q5.js → theme.provider-Dez6uepg.js} +1900 -2011
- package/dist/chunks/theme.provider-Dez6uepg.js.map +1 -0
- package/dist/chunks/theme.provider-u0ofgWRM.js +26 -0
- package/dist/chunks/theme.provider-u0ofgWRM.js.map +1 -0
- package/dist/chunks/{timePicker.component-AgnrqtFu.js → timePicker.component-DsQUV8fR.js} +4 -4
- package/dist/chunks/{timePicker.component-AgnrqtFu.js.map → timePicker.component-DsQUV8fR.js.map} +1 -1
- package/dist/chunks/{timePicker.component-Bx0fHgrN.js → timePicker.component-av1t2G-i.js} +2 -2
- package/dist/chunks/{timePicker.component-Bx0fHgrN.js.map → timePicker.component-av1t2G-i.js.map} +1 -1
- package/dist/chunks/{timeRange.component-B3Nv-nLB.js → timeRange.component-B7syLsrU.js} +2 -2
- package/dist/chunks/{timeRange.component-B3Nv-nLB.js.map → timeRange.component-B7syLsrU.js.map} +1 -1
- package/dist/chunks/{timeRange.component-C14RiUcS.js → timeRange.component-bIQZJ4MP.js} +2 -2
- package/dist/chunks/{timeRange.component-C14RiUcS.js.map → timeRange.component-bIQZJ4MP.js.map} +1 -1
- package/dist/chunks/timestamp.component-CNlZ6Jw2.js +2 -0
- package/dist/chunks/{timestamp.component-DEx0cUkA.js.map → timestamp.component-CNlZ6Jw2.js.map} +1 -1
- package/dist/chunks/timestamp.component-ZcL8FlD-.js +54 -0
- package/dist/chunks/{timestamp.component-Kxi_bKp1.js.map → timestamp.component-ZcL8FlD-.js.map} +1 -1
- package/dist/chunks/{toaster.records-CKeu_PyD.js → toaster.records-BGfpUOVt.js} +22 -21
- package/dist/chunks/{toaster.records-CKeu_PyD.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-B4S3qwsH.js +2 -0
- package/dist/chunks/tooltip.component-B4S3qwsH.js.map +1 -0
- package/dist/chunks/tooltip.component-OLohVRIH.js +755 -0
- package/dist/chunks/tooltip.component-OLohVRIH.js.map +1 -0
- package/dist/chunks/{icon.component-D84o075X.js → typography-Cqrokog3.js} +6 -43
- package/dist/chunks/typography-Cqrokog3.js.map +1 -0
- package/dist/chunks/typography-CtiaGoJG.js +2 -0
- package/dist/chunks/typography-CtiaGoJG.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-XkUlmiSk.js → typography.records-jnjWfTLS.js} +2 -2
- package/dist/chunks/{typography.records-XkUlmiSk.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-DnTe9gdc.js.map → use-field-context--wBJQY1R.js.map} +1 -1
- package/dist/chunks/{use-field-context-1gfMkjvo.js → use-field-context-B_G7Yziz.js} +2 -2
- package/dist/chunks/{use-field-context-1gfMkjvo.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/use-locale-context-D-agiW5E.js +2301 -0
- package/dist/chunks/use-locale-context-D-agiW5E.js.map +1 -0
- package/dist/chunks/{withFormControl-DfqMqkSU.js → withFormControl-DIT4DbIl.js} +39 -39
- package/dist/chunks/{withFormControl-DfqMqkSU.js.map → withFormControl-DIT4DbIl.js.map} +1 -1
- package/dist/chunks/withFormControl-DzgoWpP6.js +2 -0
- package/dist/chunks/{withFormControl-kyGjRFza.js.map → withFormControl-DzgoWpP6.js.map} +1 -1
- package/dist/chunks/withTruncation-CVhXtaaF.js +67 -0
- package/dist/chunks/withTruncation-CVhXtaaF.js.map +1 -0
- package/dist/chunks/withTruncation-CYH02HoE.js +2 -0
- package/dist/chunks/withTruncation-CYH02HoE.js.map +1 -0
- 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/Button/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/Icon/index.cjs +1 -1
- package/dist/cjs/components/Link/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 +147 -146
- package/dist/esm/chakra/index.js.map +1 -1
- 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/Button/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/Icon/index.js +1 -1
- package/dist/esm/components/Link/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/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/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 +2 -2
- 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 +92 -89
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/index.js +114 -111
- 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/PinInput/pinInput.recipe.d.ts +1 -1
- package/dist/types/components/Spinner/spinner.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 +2 -4
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -0
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +8 -8
- package/package.json +1 -1
- package/dist/chunks/alert.types-BsvcbTZD.js +0 -2
- package/dist/chunks/avatar.component-RKtP3MZt.js +0 -2
- package/dist/chunks/characterCounter.component-B8efVNy4.js +0 -2
- package/dist/chunks/checkbox.component-DO9NDbmM.js +0 -2
- package/dist/chunks/checkbox.records-D7NUtCRR.js +0 -2
- package/dist/chunks/conversationCard.component-qWYvoxVn.js +0 -2
- package/dist/chunks/datePicker.component-CLR0tErm.js +0 -15
- package/dist/chunks/dialog-trigger-JNnMRY13.js +0 -2
- package/dist/chunks/group-Dv1hO5IW.js +0 -2
- package/dist/chunks/heading.component-DkT5GYvU.js +0 -2
- package/dist/chunks/heading.component-DkT5GYvU.js.map +0 -1
- package/dist/chunks/heading.component-d5jKnwm5.js +0 -976
- package/dist/chunks/heading.component-d5jKnwm5.js.map +0 -1
- package/dist/chunks/icon-button-BTDZq0Tr.js +0 -121
- package/dist/chunks/icon-button-BTDZq0Tr.js.map +0 -1
- package/dist/chunks/icon-button-khcu437F.js +0 -2
- package/dist/chunks/icon-button-khcu437F.js.map +0 -1
- package/dist/chunks/icon.component-D84o075X.js.map +0 -1
- package/dist/chunks/icon.component-DjiNNeqF.js +0 -2
- package/dist/chunks/icon.component-DjiNNeqF.js.map +0 -1
- package/dist/chunks/index-BDCLWoQU.js +0 -2
- package/dist/chunks/index-BIjZoyJk.js +0 -70
- package/dist/chunks/index-BIjZoyJk.js.map +0 -1
- package/dist/chunks/index-BiyIeWSg.js +0 -2
- package/dist/chunks/index-BlGAWSIX.js +0 -3
- package/dist/chunks/index-BlGAWSIX.js.map +0 -1
- package/dist/chunks/index-BpKhRg2I.js +0 -2
- package/dist/chunks/index-Cb49D-ky.js +0 -1328
- package/dist/chunks/index-Cb49D-ky.js.map +0 -1
- package/dist/chunks/index-CmVbgcH8.js +0 -2
- package/dist/chunks/index-CzzrUbmu.js +0 -2
- package/dist/chunks/index-DFbSzgk8.js +0 -8
- package/dist/chunks/index-DeprNCOL.js +0 -2
- package/dist/chunks/index-Fztcdoo_.js +0 -2
- package/dist/chunks/index-Fztcdoo_.js.map +0 -1
- package/dist/chunks/menu.component-BgAx3SsR.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-CtHJAyfq.js +0 -2
- package/dist/chunks/pinInput.types-a0_2OLBO.js +0 -2
- package/dist/chunks/portal-CtkZ5xTm.js +0 -3087
- package/dist/chunks/portal-CtkZ5xTm.js.map +0 -1
- package/dist/chunks/portal-kmAjRmaV.js +0 -22
- package/dist/chunks/portal-kmAjRmaV.js.map +0 -1
- package/dist/chunks/radio.records-zKzNxtns.js +0 -2
- package/dist/chunks/radioGroup.component-fpo_KMOY.js +0 -2
- package/dist/chunks/ratingDots.component-DJEDUD_9.js +0 -2
- package/dist/chunks/render-strategy-C80bGq2n.js +0 -2
- package/dist/chunks/select.component-Bmop2_tX.js +0 -2
- package/dist/chunks/spinner.component-CjQb7JjK.js +0 -2
- package/dist/chunks/switch.component-ARZzuYrq.js +0 -2
- package/dist/chunks/tabs.component-DRpNF8p-.js +0 -2
- package/dist/chunks/tagBlock.component-Bahf1v33.js +0 -2
- package/dist/chunks/textInput.component-DDo9eUvp.js +0 -2
- package/dist/chunks/textarea.component-5Ou5g_MJ.js +0 -2
- package/dist/chunks/theme.provider-DWJTtjw5.js +0 -26
- package/dist/chunks/theme.provider-DWJTtjw5.js.map +0 -1
- package/dist/chunks/theme.provider-vZgSb-q5.js.map +0 -1
- package/dist/chunks/timestamp.component-DEx0cUkA.js +0 -2
- package/dist/chunks/timestamp.component-Kxi_bKp1.js +0 -53
- package/dist/chunks/toaster.records-CGym-iT-.js +0 -2
- package/dist/chunks/use-field-context-DnTe9gdc.js +0 -2
- package/dist/chunks/withFormControl-kyGjRFza.js +0 -2
|
@@ -0,0 +1,755 @@
|
|
|
1
|
+
import { j as f } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { forwardRef as L, useId as Le, createContext as De, useContext as Se } from "react";
|
|
3
|
+
import { c as Ae, f as R, u as ie, h as je, g as ee, d as Re, b as Ve, i as _e, j as Ie, k as xe, n as Ne, s as ae, l as le, m as ce, P as Fe } 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 j, a2 as Z, au as $e, D as de, av as We, c as Be, y as Ge, R as B, aw as ze, b as qe, d as He, m as Ue } from "./index-CYk-7wwG.js";
|
|
6
|
+
const [pe, V] = Ae({
|
|
7
|
+
name: "TooltipContext",
|
|
8
|
+
hookName: "useTooltipContext",
|
|
9
|
+
providerName: "<TooltipProvider />"
|
|
10
|
+
}), ue = L((e, t) => {
|
|
11
|
+
const o = V(), n = E(o.getArrowProps(), e);
|
|
12
|
+
return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
13
|
+
});
|
|
14
|
+
ue.displayName = "TooltipArrow";
|
|
15
|
+
const fe = L((e, t) => {
|
|
16
|
+
const o = V(), n = E(o.getArrowTipProps(), e);
|
|
17
|
+
return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
18
|
+
});
|
|
19
|
+
fe.displayName = "TooltipArrowTip";
|
|
20
|
+
const ge = L((e, t) => {
|
|
21
|
+
const o = V(), 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 = L((e, t) => {
|
|
26
|
+
const o = V(), 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 = j(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, z = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Map(), k = !1, q = !1, Qe = {
|
|
39
|
+
Tab: !0,
|
|
40
|
+
Escape: !0
|
|
41
|
+
};
|
|
42
|
+
function $(e, t) {
|
|
43
|
+
for (let o of z)
|
|
44
|
+
o(e, t);
|
|
45
|
+
}
|
|
46
|
+
function F(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 === j(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" || A.get(j(e)))
|
|
64
|
+
return;
|
|
65
|
+
const t = j(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", F, !0), o.addEventListener("keyup", F, !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
|
+
), A.set(t, { focus: n });
|
|
76
|
+
}
|
|
77
|
+
var et = (e, t) => {
|
|
78
|
+
const o = j(e), n = Z(e);
|
|
79
|
+
A.has(o) && (o.HTMLElement.prototype.focus = A.get(o).focus, n.removeEventListener("keydown", F, !0), n.removeEventListener("keyup", F, !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)), A.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 z.add(c), () => {
|
|
91
|
+
z.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 N = 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) && !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", b = Oe("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap()), dt = (e = Object.is, t = (a, y) => new Proxy(a, y), o = /* @__PURE__ */ new WeakMap(), n = (a, y) => {
|
|
108
|
+
const g = o.get(a);
|
|
109
|
+
if (g?.[0] === y)
|
|
110
|
+
return g[1];
|
|
111
|
+
const u = Array.isArray(a) ? [] : Object.create(Object.getPrototypeOf(a));
|
|
112
|
+
return oe(u, !0), o.set(a, [y, u]), Reflect.ownKeys(a).forEach((O) => {
|
|
113
|
+
const m = Reflect.get(a, O);
|
|
114
|
+
N.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 y = r.get(a);
|
|
120
|
+
if (y)
|
|
121
|
+
return y;
|
|
122
|
+
let g = c[0];
|
|
123
|
+
const u = /* @__PURE__ */ new Set(), O = (i, s = ++c[0]) => {
|
|
124
|
+
g !== s && (g = 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 > g && (g = l);
|
|
130
|
+
})), g), C = (i) => (s, l) => {
|
|
131
|
+
const v = [...s];
|
|
132
|
+
v[1] = [i, ...v[1]], O(v, 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, v], M) => {
|
|
145
|
+
if (K() && v)
|
|
146
|
+
throw new Error("remove already exists");
|
|
147
|
+
const D = l[3](C(M));
|
|
148
|
+
d.set(M, [l, D]);
|
|
149
|
+
}), () => {
|
|
150
|
+
u.delete(i), u.size === 0 && d.forEach(([l, v], M) => {
|
|
151
|
+
v && (v(), 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 v = Reflect.deleteProperty(i, s);
|
|
158
|
+
return v && O(["delete", [s], l]), v;
|
|
159
|
+
},
|
|
160
|
+
set(i, s, l, v) {
|
|
161
|
+
const M = Reflect.has(i, s), D = Reflect.get(i, s, v);
|
|
162
|
+
if (M && (e(D, l) || r.has(l) && e(D, r.get(l))))
|
|
163
|
+
return !0;
|
|
164
|
+
Q(s), Y(l) && (l = rt(l) || l);
|
|
165
|
+
let x = l;
|
|
166
|
+
if (!Object.getOwnPropertyDescriptor(i, s)?.set) {
|
|
167
|
+
!b.has(l) && ne(l) && (x = we(l));
|
|
168
|
+
const X = !N.has(x) && b.get(x);
|
|
169
|
+
X && J(s, X);
|
|
170
|
+
}
|
|
171
|
+
return Reflect.set(i, s, x, v), O(["set", [s], l, D]), !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
|
+
N,
|
|
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 g = 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, g();
|
|
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`, G = (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, y = p("id"), g = !!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 || y === h.id && r({ type: "close", src: "trigger.blur" });
|
|
251
|
+
},
|
|
252
|
+
onPointerDown(d) {
|
|
253
|
+
d.defaultPrevented || w || p("closeOnPointerDown") && y === 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: g ? void 0 : "tooltip",
|
|
296
|
+
id: g ? 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 } = Ge(), 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(G(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(G(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 = G(o);
|
|
593
|
+
if (!n) return;
|
|
594
|
+
const c = ze(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
|
+
Ve()([
|
|
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 } = _e(), { dir: n } = Ie(), r = {
|
|
651
|
+
id: t,
|
|
652
|
+
dir: n,
|
|
653
|
+
getRootNode: o,
|
|
654
|
+
...e
|
|
655
|
+
}, c = xe(Ot, r);
|
|
656
|
+
return mt(c, Ne);
|
|
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 = L((e, t) => {
|
|
664
|
+
const o = V(), 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: _
|
|
671
|
+
} = Ke({ key: "tooltip" });
|
|
672
|
+
Ee(
|
|
673
|
+
bt
|
|
674
|
+
);
|
|
675
|
+
const kt = Ee(ht, {
|
|
676
|
+
defaultProps: { lazyMount: !0, unmountOnExit: !0 }
|
|
677
|
+
}), Et = _(ke, "trigger", { forwardAsChild: !0 }), Tt = _(ve, "positioner", { forwardAsChild: !0 }), Ct = _(
|
|
678
|
+
ge,
|
|
679
|
+
"content",
|
|
680
|
+
{ forwardAsChild: !0 }
|
|
681
|
+
), Te = _(fe, "arrowTip", { forwardAsChild: !0 }), Mt = _(
|
|
682
|
+
ue,
|
|
683
|
+
"arrow",
|
|
684
|
+
{ forwardAsChild: !0, defaultProps: { children: /* @__PURE__ */ f.jsx(Te, {}) } }
|
|
685
|
+
), Lt = De(
|
|
686
|
+
void 0
|
|
687
|
+
), Dt = () => {
|
|
688
|
+
const e = Se(Lt);
|
|
689
|
+
return e === void 0 ? { contentRef: null } : e;
|
|
690
|
+
}, St = L(
|
|
691
|
+
(e, t) => {
|
|
692
|
+
const { contentRef: o } = Dt(), {
|
|
693
|
+
children: n,
|
|
694
|
+
disabled: r = !1,
|
|
695
|
+
openDelay: c = 350,
|
|
696
|
+
placement: p = "top",
|
|
697
|
+
positioning: a,
|
|
698
|
+
portalled: y = !0,
|
|
699
|
+
label: g,
|
|
700
|
+
...u
|
|
701
|
+
} = e;
|
|
702
|
+
return n ? r ? n : /* @__PURE__ */ f.jsxs(
|
|
703
|
+
kt,
|
|
704
|
+
{
|
|
705
|
+
open: !0,
|
|
706
|
+
positioning: {
|
|
707
|
+
...a,
|
|
708
|
+
placement: a?.placement || p
|
|
709
|
+
},
|
|
710
|
+
openDelay: c,
|
|
711
|
+
...u,
|
|
712
|
+
children: [
|
|
713
|
+
/* @__PURE__ */ f.jsx(
|
|
714
|
+
Et,
|
|
715
|
+
{
|
|
716
|
+
asChild: !0,
|
|
717
|
+
className: "Tooltip__Trigger",
|
|
718
|
+
"data-testid": "kibble-tooltip-trigger",
|
|
719
|
+
children: n
|
|
720
|
+
}
|
|
721
|
+
),
|
|
722
|
+
/* @__PURE__ */ f.jsx(Fe, { disabled: !y, container: o || void 0, children: /* @__PURE__ */ f.jsx(Tt, { className: "Tooltip", "data-testid": "kibble-tooltip", children: /* @__PURE__ */ f.jsxs(
|
|
723
|
+
Ct,
|
|
724
|
+
{
|
|
725
|
+
className: "Tooltip__Content",
|
|
726
|
+
"data-testid": "kibble-tooltip-content",
|
|
727
|
+
ref: t,
|
|
728
|
+
children: [
|
|
729
|
+
/* @__PURE__ */ f.jsx(
|
|
730
|
+
Mt,
|
|
731
|
+
{
|
|
732
|
+
className: "Tooltip__Arrow",
|
|
733
|
+
"data-testid": "kibble-tooltip-arrow",
|
|
734
|
+
children: /* @__PURE__ */ f.jsx(Te, {})
|
|
735
|
+
}
|
|
736
|
+
),
|
|
737
|
+
g
|
|
738
|
+
]
|
|
739
|
+
}
|
|
740
|
+
) }) })
|
|
741
|
+
]
|
|
742
|
+
}
|
|
743
|
+
) : /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
744
|
+
}
|
|
745
|
+
);
|
|
746
|
+
St.displayName = "Tooltip";
|
|
747
|
+
export {
|
|
748
|
+
Lt as M,
|
|
749
|
+
St as T,
|
|
750
|
+
gt as a,
|
|
751
|
+
H as i,
|
|
752
|
+
tt as t,
|
|
753
|
+
Dt as u
|
|
754
|
+
};
|
|
755
|
+
//# sourceMappingURL=tooltip.component-OLohVRIH.js.map
|