@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
|
@@ -1,976 +0,0 @@
|
|
|
1
|
-
import { j as n } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import fe, { forwardRef as l, useId as Te, memo as H, useState as be, useRef as D, useCallback as Oe, useEffect as we } from "react";
|
|
3
|
-
import { c as F } from "./create-slot-recipe-context-BJmsuxih.js";
|
|
4
|
-
import { v as h, h as g, m as E, w as xe, x as ye, y as Ee, z as Ne, A as Re, c as ke, i as Ae, g as L, e as je, b as _e, u as Ie, j as He, k as De, n as Le, s as B, l as V, o as G, P as Se } from "./portal-CtkZ5xTm.js";
|
|
5
|
-
import { a0 as p, c as $e, w as Fe, t as Be, b as Ve } from "./index-Cb49D-ky.js";
|
|
6
|
-
import { c as z } from "./create-recipe-context-D7FewUR4.js";
|
|
7
|
-
import { B as A } from "./button.component-DahLrK9h.js";
|
|
8
|
-
import { a as Ge } from "./config-DlTdf-Yt.js";
|
|
9
|
-
import { u as _ } from "./use-slot-recipe-DhtQ1j_5.js";
|
|
10
|
-
import { F as j } from "./flex-smlF8uQG.js";
|
|
11
|
-
import { c as ze } from "./factory-Ctbv0Ozn.js";
|
|
12
|
-
import { B as W } from "./box-Ck9I7FYv.js";
|
|
13
|
-
const { withContext: We } = z({
|
|
14
|
-
key: "heading"
|
|
15
|
-
}), Me = We("h2"), { withContext: Ue } = z({
|
|
16
|
-
key: "text"
|
|
17
|
-
}), Ye = Ue("p"), M = l((e, o) => {
|
|
18
|
-
const r = h(), t = p(r.getAnchorProps(), e);
|
|
19
|
-
return /* @__PURE__ */ n.jsx(g.div, { ...t, ref: o });
|
|
20
|
-
});
|
|
21
|
-
M.displayName = "PopoverAnchor";
|
|
22
|
-
const U = l((e, o) => {
|
|
23
|
-
const r = h(), t = p(r.getArrowProps(), e);
|
|
24
|
-
return /* @__PURE__ */ n.jsx(g.div, { ...t, ref: o });
|
|
25
|
-
});
|
|
26
|
-
U.displayName = "PopoverArrow";
|
|
27
|
-
const Y = l((e, o) => {
|
|
28
|
-
const r = h(), t = p(r.getArrowTipProps(), e);
|
|
29
|
-
return /* @__PURE__ */ n.jsx(g.div, { ...t, ref: o });
|
|
30
|
-
});
|
|
31
|
-
Y.displayName = "PopoverArrowTip";
|
|
32
|
-
const q = l((e, o) => {
|
|
33
|
-
const r = h(), t = p(r.getDescriptionProps(), e);
|
|
34
|
-
return /* @__PURE__ */ n.jsx(g.div, { ...t, ref: o });
|
|
35
|
-
});
|
|
36
|
-
q.displayName = "PopoverDescription";
|
|
37
|
-
const J = l((e, o) => {
|
|
38
|
-
const r = h(), t = p(r.getIndicatorProps(), e);
|
|
39
|
-
return /* @__PURE__ */ n.jsx(g.div, { ...t, ref: o });
|
|
40
|
-
});
|
|
41
|
-
J.displayName = "PopoverIndicator";
|
|
42
|
-
const K = l((e, o) => {
|
|
43
|
-
const r = h(), t = E(), s = p(r.getPositionerProps(), e);
|
|
44
|
-
return t.unmounted ? null : /* @__PURE__ */ n.jsx(g.div, { ...s, ref: o });
|
|
45
|
-
});
|
|
46
|
-
K.displayName = "PopoverPositioner";
|
|
47
|
-
const Q = l((e, o) => {
|
|
48
|
-
const r = h(), t = p(r.getTitleProps(), e);
|
|
49
|
-
return /* @__PURE__ */ n.jsx(g.div, { ...t, ref: o });
|
|
50
|
-
});
|
|
51
|
-
Q.displayName = "PopoverTitle";
|
|
52
|
-
const X = l((e, o) => {
|
|
53
|
-
const r = h(), t = E(), s = p(
|
|
54
|
-
{
|
|
55
|
-
...r.getTriggerProps(),
|
|
56
|
-
"aria-controls": t.unmounted ? void 0 : r.getTriggerProps()["aria-controls"]
|
|
57
|
-
},
|
|
58
|
-
e
|
|
59
|
-
);
|
|
60
|
-
return /* @__PURE__ */ n.jsx(g.button, { ...s, ref: o });
|
|
61
|
-
});
|
|
62
|
-
X.displayName = "PopoverTrigger";
|
|
63
|
-
const {
|
|
64
|
-
withRootProvider: Z,
|
|
65
|
-
withContext: v,
|
|
66
|
-
useStyles: qe,
|
|
67
|
-
PropsProvider: Je
|
|
68
|
-
} = F({ key: "popover" }), Ke = Z(
|
|
69
|
-
Re
|
|
70
|
-
), Qe = Z(Ne), Xe = Je, Ze = v(X, "trigger", { forwardAsChild: !0 }), eo = v(K, "positioner", { forwardAsChild: !0 }), oo = v(
|
|
71
|
-
ye,
|
|
72
|
-
"content",
|
|
73
|
-
{ forwardAsChild: !0 }
|
|
74
|
-
), ee = v(Y, "arrowTip", { forwardAsChild: !0 }), ro = v(
|
|
75
|
-
U,
|
|
76
|
-
"arrow",
|
|
77
|
-
{
|
|
78
|
-
forwardAsChild: !0,
|
|
79
|
-
defaultProps: { children: /* @__PURE__ */ n.jsx(ee, {}) }
|
|
80
|
-
}
|
|
81
|
-
), to = v(Ee, "closeTrigger", { forwardAsChild: !0 });
|
|
82
|
-
v(J, "indicator", { forwardAsChild: !0 });
|
|
83
|
-
const no = v(
|
|
84
|
-
Q,
|
|
85
|
-
"title",
|
|
86
|
-
{ forwardAsChild: !0 }
|
|
87
|
-
), so = v(q, "description", { forwardAsChild: !0 }), io = v(
|
|
88
|
-
"footer",
|
|
89
|
-
"footer"
|
|
90
|
-
), ao = v(
|
|
91
|
-
"header",
|
|
92
|
-
"header"
|
|
93
|
-
), co = v(
|
|
94
|
-
"div",
|
|
95
|
-
"body"
|
|
96
|
-
), po = v(
|
|
97
|
-
M,
|
|
98
|
-
void 0,
|
|
99
|
-
{ forwardAsChild: !0 }
|
|
100
|
-
), lo = xe, uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
101
|
-
__proto__: null,
|
|
102
|
-
Anchor: po,
|
|
103
|
-
Arrow: ro,
|
|
104
|
-
ArrowTip: ee,
|
|
105
|
-
Body: co,
|
|
106
|
-
CloseTrigger: to,
|
|
107
|
-
Content: oo,
|
|
108
|
-
Context: lo,
|
|
109
|
-
Description: so,
|
|
110
|
-
Footer: io,
|
|
111
|
-
Header: ao,
|
|
112
|
-
Positioner: eo,
|
|
113
|
-
PropsProvider: Xe,
|
|
114
|
-
Root: Qe,
|
|
115
|
-
RootProvider: Ke,
|
|
116
|
-
Title: no,
|
|
117
|
-
Trigger: Ze,
|
|
118
|
-
usePopoverStyles: qe
|
|
119
|
-
}, Symbol.toStringTag, { value: "Module" })), [oe, T] = ke({
|
|
120
|
-
name: "HoverCardContext",
|
|
121
|
-
hookName: "useHoverCardContext",
|
|
122
|
-
providerName: "<HoverCardProvider />"
|
|
123
|
-
}), re = l((e, o) => {
|
|
124
|
-
const r = T(), t = p(r.getArrowProps(), e);
|
|
125
|
-
return /* @__PURE__ */ n.jsx(g.div, { ...t, ref: o });
|
|
126
|
-
});
|
|
127
|
-
re.displayName = "HoverCardArrow";
|
|
128
|
-
const te = l((e, o) => {
|
|
129
|
-
const r = T(), t = p(r.getArrowTipProps(), e);
|
|
130
|
-
return /* @__PURE__ */ n.jsx(g.div, { ...t, ref: o });
|
|
131
|
-
});
|
|
132
|
-
te.displayName = "HoverCardArrowTip";
|
|
133
|
-
const ne = l((e, o) => {
|
|
134
|
-
const r = T(), t = E(), s = p(r.getContentProps(), t.getPresenceProps(), e);
|
|
135
|
-
return t.unmounted ? null : /* @__PURE__ */ n.jsx(g.div, { ...s, ref: Ae(t.ref, o) });
|
|
136
|
-
});
|
|
137
|
-
ne.displayName = "HoverCardContent";
|
|
138
|
-
const go = (e) => e.children(T()), se = l((e, o) => {
|
|
139
|
-
const r = T(), t = p(r.getPositionerProps(), e);
|
|
140
|
-
return E().unmounted ? null : /* @__PURE__ */ n.jsx(g.div, { ...t, ref: o });
|
|
141
|
-
});
|
|
142
|
-
se.displayName = "HoverCardPositioner";
|
|
143
|
-
var vo = Ve("hoverCard").parts("arrow", "arrowTip", "trigger", "positioner", "content"), w = vo.build(), ie = (e) => e.ids?.trigger ?? `hover-card:${e.id}:trigger`, ae = (e) => e.ids?.content ?? `hover-card:${e.id}:content`, ce = (e) => e.ids?.positioner ?? `hover-card:${e.id}:popper`, Po = (e) => e.ids?.arrow ?? `hover-card:${e.id}:arrow`, k = (e) => e.getById(ie(e)), Co = (e) => e.getById(ae(e)), S = (e) => e.getById(ce(e));
|
|
144
|
-
function mo(e, o) {
|
|
145
|
-
const { state: r, send: t, prop: s, context: i, scope: c } = e, d = r.hasTag("open"), m = je({
|
|
146
|
-
...s("positioning"),
|
|
147
|
-
placement: i.get("currentPlacement")
|
|
148
|
-
});
|
|
149
|
-
return {
|
|
150
|
-
open: d,
|
|
151
|
-
setOpen(a) {
|
|
152
|
-
r.hasTag("open") !== a && t({ type: a ? "OPEN" : "CLOSE" });
|
|
153
|
-
},
|
|
154
|
-
reposition(a = {}) {
|
|
155
|
-
t({ type: "POSITIONING.SET", options: a });
|
|
156
|
-
},
|
|
157
|
-
getArrowProps() {
|
|
158
|
-
return o.element({
|
|
159
|
-
id: Po(c),
|
|
160
|
-
...w.arrow.attrs,
|
|
161
|
-
dir: s("dir"),
|
|
162
|
-
style: m.arrow
|
|
163
|
-
});
|
|
164
|
-
},
|
|
165
|
-
getArrowTipProps() {
|
|
166
|
-
return o.element({
|
|
167
|
-
...w.arrowTip.attrs,
|
|
168
|
-
dir: s("dir"),
|
|
169
|
-
style: m.arrowTip
|
|
170
|
-
});
|
|
171
|
-
},
|
|
172
|
-
getTriggerProps() {
|
|
173
|
-
return o.element({
|
|
174
|
-
...w.trigger.attrs,
|
|
175
|
-
dir: s("dir"),
|
|
176
|
-
"data-placement": i.get("currentPlacement"),
|
|
177
|
-
id: ie(c),
|
|
178
|
-
"data-state": d ? "open" : "closed",
|
|
179
|
-
onPointerEnter(a) {
|
|
180
|
-
a.pointerType !== "touch" && t({ type: "POINTER_ENTER", src: "trigger" });
|
|
181
|
-
},
|
|
182
|
-
onPointerLeave(a) {
|
|
183
|
-
a.pointerType !== "touch" && t({ type: "POINTER_LEAVE", src: "trigger" });
|
|
184
|
-
},
|
|
185
|
-
onFocus() {
|
|
186
|
-
t({ type: "TRIGGER_FOCUS" });
|
|
187
|
-
},
|
|
188
|
-
onBlur() {
|
|
189
|
-
t({ type: "TRIGGER_BLUR" });
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
},
|
|
193
|
-
getPositionerProps() {
|
|
194
|
-
return o.element({
|
|
195
|
-
id: ce(c),
|
|
196
|
-
...w.positioner.attrs,
|
|
197
|
-
dir: s("dir"),
|
|
198
|
-
style: m.floating
|
|
199
|
-
});
|
|
200
|
-
},
|
|
201
|
-
getContentProps() {
|
|
202
|
-
return o.element({
|
|
203
|
-
...w.content.attrs,
|
|
204
|
-
dir: s("dir"),
|
|
205
|
-
id: ae(c),
|
|
206
|
-
hidden: !d,
|
|
207
|
-
tabIndex: -1,
|
|
208
|
-
"data-state": d ? "open" : "closed",
|
|
209
|
-
"data-placement": i.get("currentPlacement"),
|
|
210
|
-
onPointerEnter(a) {
|
|
211
|
-
a.pointerType !== "touch" && t({ type: "POINTER_ENTER", src: "content" });
|
|
212
|
-
},
|
|
213
|
-
onPointerLeave(a) {
|
|
214
|
-
a.pointerType !== "touch" && t({ type: "POINTER_LEAVE", src: "content" });
|
|
215
|
-
}
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
var { not: y, and: $ } = Fe(), ho = $e({
|
|
221
|
-
props({ props: e }) {
|
|
222
|
-
return {
|
|
223
|
-
openDelay: 700,
|
|
224
|
-
closeDelay: 300,
|
|
225
|
-
...e,
|
|
226
|
-
positioning: {
|
|
227
|
-
placement: "bottom",
|
|
228
|
-
...e.positioning
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
},
|
|
232
|
-
initialState({ prop: e }) {
|
|
233
|
-
return e("open") || e("defaultOpen") ? "open" : "closed";
|
|
234
|
-
},
|
|
235
|
-
context({ prop: e, bindable: o }) {
|
|
236
|
-
return {
|
|
237
|
-
open: o(() => ({
|
|
238
|
-
defaultValue: e("defaultOpen"),
|
|
239
|
-
value: e("open"),
|
|
240
|
-
onChange(r) {
|
|
241
|
-
e("onOpenChange")?.({ open: r });
|
|
242
|
-
}
|
|
243
|
-
})),
|
|
244
|
-
currentPlacement: o(() => ({
|
|
245
|
-
defaultValue: void 0
|
|
246
|
-
})),
|
|
247
|
-
isPointer: o(() => ({
|
|
248
|
-
defaultValue: !1
|
|
249
|
-
}))
|
|
250
|
-
};
|
|
251
|
-
},
|
|
252
|
-
watch({ track: e, context: o, action: r }) {
|
|
253
|
-
e([() => o.get("open")], () => {
|
|
254
|
-
r(["toggleVisibility"]);
|
|
255
|
-
});
|
|
256
|
-
},
|
|
257
|
-
states: {
|
|
258
|
-
closed: {
|
|
259
|
-
tags: ["closed"],
|
|
260
|
-
entry: ["clearIsPointer"],
|
|
261
|
-
on: {
|
|
262
|
-
"CONTROLLED.OPEN": {
|
|
263
|
-
target: "open"
|
|
264
|
-
},
|
|
265
|
-
POINTER_ENTER: {
|
|
266
|
-
target: "opening",
|
|
267
|
-
actions: ["setIsPointer"]
|
|
268
|
-
},
|
|
269
|
-
TRIGGER_FOCUS: {
|
|
270
|
-
target: "opening"
|
|
271
|
-
},
|
|
272
|
-
OPEN: {
|
|
273
|
-
target: "opening"
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
opening: {
|
|
278
|
-
tags: ["closed"],
|
|
279
|
-
effects: ["waitForOpenDelay"],
|
|
280
|
-
on: {
|
|
281
|
-
OPEN_DELAY: [
|
|
282
|
-
{
|
|
283
|
-
guard: "isOpenControlled",
|
|
284
|
-
actions: ["invokeOnOpen"]
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
target: "open",
|
|
288
|
-
actions: ["invokeOnOpen"]
|
|
289
|
-
}
|
|
290
|
-
],
|
|
291
|
-
"CONTROLLED.OPEN": {
|
|
292
|
-
target: "open"
|
|
293
|
-
},
|
|
294
|
-
"CONTROLLED.CLOSE": {
|
|
295
|
-
target: "closed"
|
|
296
|
-
},
|
|
297
|
-
POINTER_LEAVE: [
|
|
298
|
-
{
|
|
299
|
-
guard: "isOpenControlled",
|
|
300
|
-
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
301
|
-
actions: ["invokeOnClose", "toggleVisibility"]
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
target: "closed",
|
|
305
|
-
actions: ["invokeOnClose"]
|
|
306
|
-
}
|
|
307
|
-
],
|
|
308
|
-
TRIGGER_BLUR: [
|
|
309
|
-
{
|
|
310
|
-
guard: $("isOpenControlled", y("isPointer")),
|
|
311
|
-
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
312
|
-
actions: ["invokeOnClose", "toggleVisibility"]
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
guard: y("isPointer"),
|
|
316
|
-
target: "closed",
|
|
317
|
-
actions: ["invokeOnClose"]
|
|
318
|
-
}
|
|
319
|
-
],
|
|
320
|
-
CLOSE: [
|
|
321
|
-
{
|
|
322
|
-
guard: "isOpenControlled",
|
|
323
|
-
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
324
|
-
actions: ["invokeOnClose", "toggleVisibility"]
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
target: "closed",
|
|
328
|
-
actions: ["invokeOnClose"]
|
|
329
|
-
}
|
|
330
|
-
]
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
open: {
|
|
334
|
-
tags: ["open"],
|
|
335
|
-
effects: ["trackDismissableElement", "trackPositioning"],
|
|
336
|
-
on: {
|
|
337
|
-
"CONTROLLED.CLOSE": {
|
|
338
|
-
target: "closed"
|
|
339
|
-
},
|
|
340
|
-
POINTER_ENTER: {
|
|
341
|
-
actions: ["setIsPointer"]
|
|
342
|
-
},
|
|
343
|
-
POINTER_LEAVE: {
|
|
344
|
-
target: "closing"
|
|
345
|
-
},
|
|
346
|
-
CLOSE: [
|
|
347
|
-
{
|
|
348
|
-
guard: "isOpenControlled",
|
|
349
|
-
actions: ["invokeOnClose"]
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
target: "closed",
|
|
353
|
-
actions: ["invokeOnClose"]
|
|
354
|
-
}
|
|
355
|
-
],
|
|
356
|
-
TRIGGER_BLUR: [
|
|
357
|
-
{
|
|
358
|
-
guard: $("isOpenControlled", y("isPointer")),
|
|
359
|
-
actions: ["invokeOnClose"]
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
guard: y("isPointer"),
|
|
363
|
-
target: "closed",
|
|
364
|
-
actions: ["invokeOnClose"]
|
|
365
|
-
}
|
|
366
|
-
],
|
|
367
|
-
"POSITIONING.SET": {
|
|
368
|
-
actions: ["reposition"]
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
closing: {
|
|
373
|
-
tags: ["open"],
|
|
374
|
-
effects: ["trackPositioning", "waitForCloseDelay"],
|
|
375
|
-
on: {
|
|
376
|
-
CLOSE_DELAY: [
|
|
377
|
-
{
|
|
378
|
-
guard: "isOpenControlled",
|
|
379
|
-
actions: ["invokeOnClose"]
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
target: "closed",
|
|
383
|
-
actions: ["invokeOnClose"]
|
|
384
|
-
}
|
|
385
|
-
],
|
|
386
|
-
"CONTROLLED.CLOSE": {
|
|
387
|
-
target: "closed"
|
|
388
|
-
},
|
|
389
|
-
"CONTROLLED.OPEN": {
|
|
390
|
-
target: "open"
|
|
391
|
-
},
|
|
392
|
-
POINTER_ENTER: {
|
|
393
|
-
target: "open",
|
|
394
|
-
// no need to invokeOnOpen here because it's still open (but about to close)
|
|
395
|
-
actions: ["setIsPointer"]
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
implementations: {
|
|
401
|
-
guards: {
|
|
402
|
-
isPointer: ({ context: e }) => !!e.get("isPointer"),
|
|
403
|
-
isOpenControlled: ({ prop: e }) => e("open") != null
|
|
404
|
-
},
|
|
405
|
-
effects: {
|
|
406
|
-
waitForOpenDelay({ send: e, prop: o }) {
|
|
407
|
-
const r = setTimeout(() => {
|
|
408
|
-
e({ type: "OPEN_DELAY" });
|
|
409
|
-
}, o("openDelay"));
|
|
410
|
-
return () => clearTimeout(r);
|
|
411
|
-
},
|
|
412
|
-
waitForCloseDelay({ send: e, prop: o }) {
|
|
413
|
-
const r = setTimeout(() => {
|
|
414
|
-
e({ type: "CLOSE_DELAY" });
|
|
415
|
-
}, o("closeDelay"));
|
|
416
|
-
return () => clearTimeout(r);
|
|
417
|
-
},
|
|
418
|
-
trackPositioning({ context: e, prop: o, scope: r }) {
|
|
419
|
-
e.get("currentPlacement") || e.set("currentPlacement", o("positioning").placement);
|
|
420
|
-
const t = () => S(r);
|
|
421
|
-
return L(k(r), t, {
|
|
422
|
-
...o("positioning"),
|
|
423
|
-
defer: !0,
|
|
424
|
-
onComplete(s) {
|
|
425
|
-
e.set("currentPlacement", s.placement);
|
|
426
|
-
}
|
|
427
|
-
});
|
|
428
|
-
},
|
|
429
|
-
trackDismissableElement({ send: e, scope: o, prop: r }) {
|
|
430
|
-
return Be(() => Co(o), {
|
|
431
|
-
defer: !0,
|
|
432
|
-
exclude: [k(o)],
|
|
433
|
-
onDismiss() {
|
|
434
|
-
e({ type: "CLOSE", src: "interact-outside" });
|
|
435
|
-
},
|
|
436
|
-
onInteractOutside: r("onInteractOutside"),
|
|
437
|
-
onPointerDownOutside: r("onPointerDownOutside"),
|
|
438
|
-
onFocusOutside(s) {
|
|
439
|
-
s.preventDefault(), r("onFocusOutside")?.(s);
|
|
440
|
-
}
|
|
441
|
-
});
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
actions: {
|
|
445
|
-
invokeOnClose({ prop: e }) {
|
|
446
|
-
e("onOpenChange")?.({ open: !1 });
|
|
447
|
-
},
|
|
448
|
-
invokeOnOpen({ prop: e }) {
|
|
449
|
-
e("onOpenChange")?.({ open: !0 });
|
|
450
|
-
},
|
|
451
|
-
setIsPointer({ context: e }) {
|
|
452
|
-
e.set("isPointer", !0);
|
|
453
|
-
},
|
|
454
|
-
clearIsPointer({ context: e }) {
|
|
455
|
-
e.set("isPointer", !1);
|
|
456
|
-
},
|
|
457
|
-
reposition({ context: e, prop: o, scope: r, event: t }) {
|
|
458
|
-
const s = () => S(r);
|
|
459
|
-
L(k(r), s, {
|
|
460
|
-
...o("positioning"),
|
|
461
|
-
...t.options,
|
|
462
|
-
defer: !0,
|
|
463
|
-
listeners: !1,
|
|
464
|
-
onComplete(i) {
|
|
465
|
-
e.set("currentPlacement", i.placement);
|
|
466
|
-
}
|
|
467
|
-
});
|
|
468
|
-
},
|
|
469
|
-
toggleVisibility({ prop: e, event: o, send: r }) {
|
|
470
|
-
queueMicrotask(() => {
|
|
471
|
-
r({ type: e("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE", previousEvent: o });
|
|
472
|
-
});
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
});
|
|
477
|
-
_e()([
|
|
478
|
-
"closeDelay",
|
|
479
|
-
"dir",
|
|
480
|
-
"getRootNode",
|
|
481
|
-
"id",
|
|
482
|
-
"ids",
|
|
483
|
-
"onOpenChange",
|
|
484
|
-
"defaultOpen",
|
|
485
|
-
"open",
|
|
486
|
-
"openDelay",
|
|
487
|
-
"positioning",
|
|
488
|
-
"onInteractOutside",
|
|
489
|
-
"onPointerDownOutside",
|
|
490
|
-
"onFocusOutside"
|
|
491
|
-
]);
|
|
492
|
-
const fo = (e) => {
|
|
493
|
-
const o = Te(), { getRootNode: r } = Ie(), { dir: t } = He(), s = {
|
|
494
|
-
id: o,
|
|
495
|
-
dir: t,
|
|
496
|
-
getRootNode: r,
|
|
497
|
-
...e
|
|
498
|
-
}, i = De(ho, s);
|
|
499
|
-
return mo(i, Le);
|
|
500
|
-
}, To = (e) => {
|
|
501
|
-
const [o, { children: r, ...t }] = B(e), s = fo(t), i = V(p({ present: s.open }, o));
|
|
502
|
-
return /* @__PURE__ */ n.jsx(oe, { value: s, children: /* @__PURE__ */ n.jsx(G, { value: i, children: r }) });
|
|
503
|
-
}, bo = (e) => {
|
|
504
|
-
const [o, { value: r, children: t }] = B(e), s = V(p({ present: r.open }, o));
|
|
505
|
-
return /* @__PURE__ */ n.jsx(oe, { value: r, children: /* @__PURE__ */ n.jsx(G, { value: s, children: t }) });
|
|
506
|
-
}, de = l((e, o) => {
|
|
507
|
-
const r = T(), t = p(r.getTriggerProps(), e);
|
|
508
|
-
return /* @__PURE__ */ n.jsx(g.button, { ...t, ref: o });
|
|
509
|
-
});
|
|
510
|
-
de.displayName = "HoverCardTrigger";
|
|
511
|
-
const {
|
|
512
|
-
withRootProvider: pe,
|
|
513
|
-
withContext: x,
|
|
514
|
-
PropsProvider: Oo
|
|
515
|
-
} = F({ key: "hoverCard" }), wo = pe(bo), xo = pe(
|
|
516
|
-
To
|
|
517
|
-
), yo = Oo, Eo = x(de, "trigger", { forwardAsChild: !0 }), No = x(se, "positioner", { forwardAsChild: !0 }), Ro = x(ne, "content", { forwardAsChild: !0 }), le = x(te, "arrowTip", { forwardAsChild: !0 }), ko = x(
|
|
518
|
-
re,
|
|
519
|
-
"arrow",
|
|
520
|
-
{
|
|
521
|
-
forwardAsChild: !0,
|
|
522
|
-
defaultProps: { children: /* @__PURE__ */ n.jsx(le, {}) }
|
|
523
|
-
}
|
|
524
|
-
), Ao = go, jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
525
|
-
__proto__: null,
|
|
526
|
-
Arrow: ko,
|
|
527
|
-
ArrowTip: le,
|
|
528
|
-
Content: Ro,
|
|
529
|
-
Context: Ao,
|
|
530
|
-
Positioner: No,
|
|
531
|
-
PropsProvider: yo,
|
|
532
|
-
Root: xo,
|
|
533
|
-
RootProvider: wo,
|
|
534
|
-
Trigger: Eo
|
|
535
|
-
}, Symbol.toStringTag, { value: "Module" })), ue = ({ children: e, ...o }) => /* @__PURE__ */ n.jsx(Ye, { className: "Text", "data-testid": "kibble-text", ...o, children: e });
|
|
536
|
-
ue.displayName = "Text";
|
|
537
|
-
const _o = Ce(ue), Io = [
|
|
538
|
-
"root",
|
|
539
|
-
"content",
|
|
540
|
-
"arrow",
|
|
541
|
-
"arrowTip",
|
|
542
|
-
"body",
|
|
543
|
-
"header",
|
|
544
|
-
"footer"
|
|
545
|
-
], Ho = {
|
|
546
|
-
xs: {
|
|
547
|
-
content: {
|
|
548
|
-
width: 160
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
sm: {
|
|
552
|
-
content: {
|
|
553
|
-
width: 200
|
|
554
|
-
}
|
|
555
|
-
},
|
|
556
|
-
md: {
|
|
557
|
-
content: {
|
|
558
|
-
width: 260
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
lg: {
|
|
562
|
-
content: {
|
|
563
|
-
width: 320
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
|
-
xl: {
|
|
567
|
-
content: {
|
|
568
|
-
width: 480
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
}, Do = {
|
|
572
|
-
default: {
|
|
573
|
-
arrowTip: {
|
|
574
|
-
borderColor: "border"
|
|
575
|
-
},
|
|
576
|
-
content: {
|
|
577
|
-
"--popover-bg": "colors.background.default",
|
|
578
|
-
"--hovercard-bg": "colors.background.default",
|
|
579
|
-
borderColor: "border",
|
|
580
|
-
color: "text.default"
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
defaultDestructive: {
|
|
584
|
-
arrowTip: {
|
|
585
|
-
borderColor: "border"
|
|
586
|
-
},
|
|
587
|
-
content: {
|
|
588
|
-
"--popover-bg": "colors.background.default",
|
|
589
|
-
"--hovercard-bg": "colors.background.default",
|
|
590
|
-
borderColor: "border",
|
|
591
|
-
color: "text.default"
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
contrast: {
|
|
595
|
-
arrowTip: {
|
|
596
|
-
borderColor: "border.contrast"
|
|
597
|
-
},
|
|
598
|
-
content: {
|
|
599
|
-
"--popover-bg": "colors.background.contrast",
|
|
600
|
-
"--hovercard-bg": "colors.background.contrast",
|
|
601
|
-
borderColor: "border.contrast",
|
|
602
|
-
color: "text.contrast"
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
contrastDestructive: {
|
|
606
|
-
arrowTip: {
|
|
607
|
-
borderColor: "border.contrast"
|
|
608
|
-
},
|
|
609
|
-
content: {
|
|
610
|
-
"--popover-bg": "colors.background.contrast",
|
|
611
|
-
"--hovercard-bg": "colors.background.contrast",
|
|
612
|
-
borderColor: "border.contrast",
|
|
613
|
-
color: "text.contrast"
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
}, I = Ge({
|
|
617
|
-
slots: Io,
|
|
618
|
-
base: {
|
|
619
|
-
arrowTip: {
|
|
620
|
-
borderTopWidth: "1px",
|
|
621
|
-
borderInlineStartWidth: "1px"
|
|
622
|
-
},
|
|
623
|
-
body: {
|
|
624
|
-
p: 3
|
|
625
|
-
},
|
|
626
|
-
content: {
|
|
627
|
-
borderRadius: "base",
|
|
628
|
-
border: "1px"
|
|
629
|
-
},
|
|
630
|
-
footer: {
|
|
631
|
-
borderTop: 0,
|
|
632
|
-
borderRadius: "inherit",
|
|
633
|
-
pb: 3,
|
|
634
|
-
pt: 0,
|
|
635
|
-
px: 3
|
|
636
|
-
},
|
|
637
|
-
header: {
|
|
638
|
-
borderBottom: 0,
|
|
639
|
-
borderRadius: "inherit",
|
|
640
|
-
minH: 6,
|
|
641
|
-
pb: 0,
|
|
642
|
-
pt: 3,
|
|
643
|
-
px: 3,
|
|
644
|
-
w: "100%"
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
variants: {
|
|
648
|
-
size: Ho,
|
|
649
|
-
variant: Do
|
|
650
|
-
},
|
|
651
|
-
defaultVariants: {
|
|
652
|
-
size: "sm",
|
|
653
|
-
variant: "default"
|
|
654
|
-
}
|
|
655
|
-
}), Lo = ({
|
|
656
|
-
children: e,
|
|
657
|
-
color: o,
|
|
658
|
-
hideCloseButton: r = !1,
|
|
659
|
-
onContrast: t = !0,
|
|
660
|
-
onClose: s,
|
|
661
|
-
size: i = "sm",
|
|
662
|
-
trigger: c,
|
|
663
|
-
...d
|
|
664
|
-
}) => {
|
|
665
|
-
const a = _({ recipe: I })(), { setOpen: u } = (
|
|
666
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
667
|
-
c === "hover" ? T() : h()
|
|
668
|
-
);
|
|
669
|
-
return /* @__PURE__ */ n.jsxs(
|
|
670
|
-
j,
|
|
671
|
-
{
|
|
672
|
-
className: "Popover__HeaderWrapper",
|
|
673
|
-
"data-testid": "kibble-popover-header-wrapper",
|
|
674
|
-
css: a.header,
|
|
675
|
-
...d,
|
|
676
|
-
children: [
|
|
677
|
-
/* @__PURE__ */ n.jsx(
|
|
678
|
-
$o,
|
|
679
|
-
{
|
|
680
|
-
className: "Popover__Header",
|
|
681
|
-
"data-testid": "kibble-popover-header",
|
|
682
|
-
size: i,
|
|
683
|
-
color: o || "inherit",
|
|
684
|
-
children: e
|
|
685
|
-
}
|
|
686
|
-
),
|
|
687
|
-
!r && /* @__PURE__ */ n.jsx(
|
|
688
|
-
A,
|
|
689
|
-
{
|
|
690
|
-
className: "Popover__CloseButton",
|
|
691
|
-
"data-testid": "kibble-popover-close-button",
|
|
692
|
-
variant: "ghostNeutral",
|
|
693
|
-
onContrast: t,
|
|
694
|
-
onClick: s || (() => u(!1)),
|
|
695
|
-
iconName: "close",
|
|
696
|
-
position: "absolute",
|
|
697
|
-
right: 1,
|
|
698
|
-
top: 1,
|
|
699
|
-
size: "xs"
|
|
700
|
-
}
|
|
701
|
-
)
|
|
702
|
-
]
|
|
703
|
-
}
|
|
704
|
-
);
|
|
705
|
-
}, ge = ze("div", {
|
|
706
|
-
base: {
|
|
707
|
-
flex: 1,
|
|
708
|
-
justifySelf: "stretch",
|
|
709
|
-
alignSelf: "stretch"
|
|
710
|
-
}
|
|
711
|
-
});
|
|
712
|
-
ge.displayName = "Spacer";
|
|
713
|
-
const So = ({
|
|
714
|
-
children: e,
|
|
715
|
-
disabled: o,
|
|
716
|
-
hideButtons: r = !1,
|
|
717
|
-
hideCancelButton: t = !1,
|
|
718
|
-
destructive: s,
|
|
719
|
-
loading: i,
|
|
720
|
-
onCancel: c,
|
|
721
|
-
onContrast: d = !0,
|
|
722
|
-
onSubmit: m,
|
|
723
|
-
submitText: a = "Submit",
|
|
724
|
-
trigger: u,
|
|
725
|
-
...f
|
|
726
|
-
}) => {
|
|
727
|
-
const C = _({ recipe: I })(), { setOpen: P } = (
|
|
728
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
729
|
-
u === "hover" ? T() : h()
|
|
730
|
-
), N = () => {
|
|
731
|
-
c && c(), P(!1);
|
|
732
|
-
};
|
|
733
|
-
return /* @__PURE__ */ n.jsxs(
|
|
734
|
-
j,
|
|
735
|
-
{
|
|
736
|
-
className: "Popover__Footer",
|
|
737
|
-
"data-testid": "kibble-popover-footer",
|
|
738
|
-
css: C.footer,
|
|
739
|
-
...f,
|
|
740
|
-
children: [
|
|
741
|
-
e,
|
|
742
|
-
!r && /* @__PURE__ */ n.jsxs(j, { w: "100%", children: [
|
|
743
|
-
!t && /* @__PURE__ */ n.jsx(
|
|
744
|
-
A,
|
|
745
|
-
{
|
|
746
|
-
variant: "tertiary",
|
|
747
|
-
onContrast: d,
|
|
748
|
-
size: "sm",
|
|
749
|
-
onClick: N,
|
|
750
|
-
children: "Cancel"
|
|
751
|
-
}
|
|
752
|
-
),
|
|
753
|
-
/* @__PURE__ */ n.jsx(ge, {}),
|
|
754
|
-
/* @__PURE__ */ n.jsx(
|
|
755
|
-
A,
|
|
756
|
-
{
|
|
757
|
-
onClick: m,
|
|
758
|
-
loading: i,
|
|
759
|
-
disabled: o,
|
|
760
|
-
size: "sm",
|
|
761
|
-
onContrast: d,
|
|
762
|
-
variant: s ? "primaryDestructive" : "primary",
|
|
763
|
-
children: a
|
|
764
|
-
}
|
|
765
|
-
)
|
|
766
|
-
] })
|
|
767
|
-
]
|
|
768
|
-
}
|
|
769
|
-
);
|
|
770
|
-
}, ve = fe.forwardRef(
|
|
771
|
-
(e, o) => {
|
|
772
|
-
const {
|
|
773
|
-
allowEscape: r = !0,
|
|
774
|
-
anchor: t,
|
|
775
|
-
children: s,
|
|
776
|
-
contentProps: i,
|
|
777
|
-
footerProps: c,
|
|
778
|
-
headerProps: d,
|
|
779
|
-
disabled: m = !1,
|
|
780
|
-
portalled: a = !0,
|
|
781
|
-
placement: u = "bottom",
|
|
782
|
-
positioning: f,
|
|
783
|
-
size: b = "sm",
|
|
784
|
-
trigger: C = "click",
|
|
785
|
-
variant: P = "default",
|
|
786
|
-
...N
|
|
787
|
-
} = e, O = C === "hover" ? jo : uo, he = _({ recipe: I })({ variant: P, size: b });
|
|
788
|
-
if (!s || m) return /* @__PURE__ */ n.jsx(n.Fragment, {});
|
|
789
|
-
const R = P === "contrast" || P === "contrastDestructive";
|
|
790
|
-
return /* @__PURE__ */ n.jsxs(
|
|
791
|
-
O.Root,
|
|
792
|
-
{
|
|
793
|
-
closeOnEscape: r,
|
|
794
|
-
closeOnInteractOutside: r,
|
|
795
|
-
positioning: {
|
|
796
|
-
...f,
|
|
797
|
-
placement: f?.placement || u
|
|
798
|
-
},
|
|
799
|
-
size: b,
|
|
800
|
-
variant: P,
|
|
801
|
-
...N,
|
|
802
|
-
children: [
|
|
803
|
-
/* @__PURE__ */ n.jsx(
|
|
804
|
-
O.Trigger,
|
|
805
|
-
{
|
|
806
|
-
className: "Popover__Trigger",
|
|
807
|
-
"data-testid": "kibble-popover-trigger",
|
|
808
|
-
width: "max-content",
|
|
809
|
-
asChild: !0,
|
|
810
|
-
children: t
|
|
811
|
-
}
|
|
812
|
-
),
|
|
813
|
-
/* @__PURE__ */ n.jsx(Se, { disabled: !a, children: /* @__PURE__ */ n.jsx(O.Positioner, { className: "Popover", "data-testid": "kibble-popover", children: /* @__PURE__ */ n.jsxs(
|
|
814
|
-
O.Content,
|
|
815
|
-
{
|
|
816
|
-
className: "Popover__Content",
|
|
817
|
-
"data-testid": "kibble-popover-content",
|
|
818
|
-
ref: o,
|
|
819
|
-
p: 0,
|
|
820
|
-
...i,
|
|
821
|
-
children: [
|
|
822
|
-
/* @__PURE__ */ n.jsx(
|
|
823
|
-
O.Arrow,
|
|
824
|
-
{
|
|
825
|
-
className: "Popover__Arrow",
|
|
826
|
-
"data-testid": "kibble-popover-arrow",
|
|
827
|
-
children: /* @__PURE__ */ n.jsx(O.ArrowTip, { top: "-1px !important" })
|
|
828
|
-
}
|
|
829
|
-
),
|
|
830
|
-
d && /* @__PURE__ */ n.jsx(
|
|
831
|
-
Lo,
|
|
832
|
-
{
|
|
833
|
-
trigger: C,
|
|
834
|
-
onContrast: R,
|
|
835
|
-
...d
|
|
836
|
-
}
|
|
837
|
-
),
|
|
838
|
-
/* @__PURE__ */ n.jsx(
|
|
839
|
-
W,
|
|
840
|
-
{
|
|
841
|
-
className: "Popover__Body",
|
|
842
|
-
"data-testid": "kibble-popover-body",
|
|
843
|
-
css: he.body,
|
|
844
|
-
children: typeof s == "string" ? /* @__PURE__ */ n.jsx(
|
|
845
|
-
_o,
|
|
846
|
-
{
|
|
847
|
-
variant: R ? "onContrast" : "default",
|
|
848
|
-
size: "sm",
|
|
849
|
-
children: s
|
|
850
|
-
}
|
|
851
|
-
) : s
|
|
852
|
-
}
|
|
853
|
-
),
|
|
854
|
-
c && /* @__PURE__ */ n.jsx(
|
|
855
|
-
So,
|
|
856
|
-
{
|
|
857
|
-
trigger: C,
|
|
858
|
-
destructive: P === "contrastDestructive" || P === "defaultDestructive",
|
|
859
|
-
onContrast: R,
|
|
860
|
-
...c
|
|
861
|
-
}
|
|
862
|
-
)
|
|
863
|
-
]
|
|
864
|
-
}
|
|
865
|
-
) }) })
|
|
866
|
-
]
|
|
867
|
-
}
|
|
868
|
-
);
|
|
869
|
-
}
|
|
870
|
-
);
|
|
871
|
-
ve.displayName = "Popover";
|
|
872
|
-
const Pe = l(
|
|
873
|
-
(e, o) => {
|
|
874
|
-
const {
|
|
875
|
-
children: r,
|
|
876
|
-
disabled: t = !1,
|
|
877
|
-
openDelay: s = 350,
|
|
878
|
-
placement: i = "top",
|
|
879
|
-
label: c,
|
|
880
|
-
...d
|
|
881
|
-
} = e;
|
|
882
|
-
return r ? t ? r : /* @__PURE__ */ n.jsx(
|
|
883
|
-
ve,
|
|
884
|
-
{
|
|
885
|
-
placement: i,
|
|
886
|
-
trigger: "hover",
|
|
887
|
-
anchor: r,
|
|
888
|
-
variant: "contrast",
|
|
889
|
-
openDelay: s,
|
|
890
|
-
contentProps: {
|
|
891
|
-
width: "auto"
|
|
892
|
-
},
|
|
893
|
-
ref: o,
|
|
894
|
-
...d,
|
|
895
|
-
children: c
|
|
896
|
-
}
|
|
897
|
-
) : /* @__PURE__ */ n.jsx(n.Fragment, {});
|
|
898
|
-
}
|
|
899
|
-
);
|
|
900
|
-
Pe.displayName = "Tooltip";
|
|
901
|
-
const Ce = (e) => {
|
|
902
|
-
const o = H(e);
|
|
903
|
-
function r({
|
|
904
|
-
truncated: t = !1,
|
|
905
|
-
noOfLines: s = 1,
|
|
906
|
-
children: i,
|
|
907
|
-
tooltipProps: c,
|
|
908
|
-
...d
|
|
909
|
-
}) {
|
|
910
|
-
const [m, a] = be(!1), u = D(null), f = D(null), b = Oe(() => {
|
|
911
|
-
if (u.current) {
|
|
912
|
-
const C = u.current?.children[0].scrollHeight || 0, P = u.current?.offsetHeight || 0;
|
|
913
|
-
a(C > P);
|
|
914
|
-
}
|
|
915
|
-
}, []);
|
|
916
|
-
return we(() => {
|
|
917
|
-
if (t && u.current) {
|
|
918
|
-
let C;
|
|
919
|
-
const P = () => {
|
|
920
|
-
window.clearTimeout(C), C = window.setTimeout(b, 100);
|
|
921
|
-
};
|
|
922
|
-
return f.current = new ResizeObserver(() => {
|
|
923
|
-
P();
|
|
924
|
-
}), f.current.observe(u.current), b(), () => {
|
|
925
|
-
window.clearTimeout(C), f.current && f.current.disconnect();
|
|
926
|
-
};
|
|
927
|
-
}
|
|
928
|
-
}, [t, b]), t ? /* @__PURE__ */ n.jsx(
|
|
929
|
-
Pe,
|
|
930
|
-
{
|
|
931
|
-
...c,
|
|
932
|
-
label: c?.label || i?.toLocaleString() || "",
|
|
933
|
-
disabled: !m,
|
|
934
|
-
"data-testid": "kibble-truncated-text-tooltip",
|
|
935
|
-
children: /* @__PURE__ */ n.jsx(
|
|
936
|
-
W,
|
|
937
|
-
{
|
|
938
|
-
ref: u,
|
|
939
|
-
display: "inline-block",
|
|
940
|
-
position: "relative",
|
|
941
|
-
className: "TruncatedText__Wrapper",
|
|
942
|
-
"data-testid": "kibble-truncated-text-wrapper",
|
|
943
|
-
children: /* @__PURE__ */ n.jsx(
|
|
944
|
-
o,
|
|
945
|
-
{
|
|
946
|
-
className: "TruncatedText__TextContent",
|
|
947
|
-
"data-testid": "kibble-truncated-text-content",
|
|
948
|
-
lineClamp: s,
|
|
949
|
-
...d,
|
|
950
|
-
children: i
|
|
951
|
-
}
|
|
952
|
-
)
|
|
953
|
-
}
|
|
954
|
-
)
|
|
955
|
-
}
|
|
956
|
-
) : /* @__PURE__ */ n.jsx(o, { ...d, children: i });
|
|
957
|
-
}
|
|
958
|
-
return r.displayName = `withTruncation(${e.displayName || e.name}`, H(r);
|
|
959
|
-
}, me = ({ children: e, ...o }) => /* @__PURE__ */ n.jsx(Me, { className: "Heading", "data-testid": "kibble-heading", ...o, children: e });
|
|
960
|
-
me.displayName = "Heading";
|
|
961
|
-
const $o = Ce(me);
|
|
962
|
-
export {
|
|
963
|
-
ve as P,
|
|
964
|
-
Pe as T,
|
|
965
|
-
$o as W,
|
|
966
|
-
_o as a,
|
|
967
|
-
Qe as b,
|
|
968
|
-
Ze as c,
|
|
969
|
-
eo as d,
|
|
970
|
-
oo as e,
|
|
971
|
-
ro as f,
|
|
972
|
-
co as g,
|
|
973
|
-
vo as h,
|
|
974
|
-
I as p
|
|
975
|
-
};
|
|
976
|
-
//# sourceMappingURL=heading.component-d5jKnwm5.js.map
|