@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,2 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./jsx-runtime-BjDatQAs.js"),u=require("react"),a=require("./heading.component-DkT5GYvU.js"),e=require("./format-BRt-TIiQ.js");function p(t){return e.constructFrom(t,Date.now())}function x(t,s,r){const[n,i]=e.normalizeDates(r?.in,t,s);return+e.startOfDay(n)==+e.startOfDay(i)}function f(t,s){return x(e.constructFrom(t,t),p(t))}const l=({date:t,timeFormat:s="h:mma",dateFormat:r="M/d/yy",shouldTodayDisplayTimeOnly:n=!0,tooltipLabel:i,textProps:c})=>{const m=u.useMemo(()=>e.format(t,f(t)&&n?s:r),[t,r,n,s]);return o.jsxRuntimeExports.jsx(a.Tooltip,{disabled:!i,label:i||"",children:o.jsxRuntimeExports.jsx(a.WrappedText,{className:"Timestamp","data-testid":"kibble-timestamp",variant:"subtle",size:"xs",textTransform:"lowercase",...c,children:m})})};exports.Timestamp=l;
|
|
2
|
-
//# sourceMappingURL=timestamp.component-DEx0cUkA.js.map
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { j as o } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { useMemo as f } from "react";
|
|
3
|
-
import { T as p, a as u } from "./heading.component-d5jKnwm5.js";
|
|
4
|
-
import { c as i, n as x, s as n, f as l } from "./format-DgHM6wFr.js";
|
|
5
|
-
function T(t) {
|
|
6
|
-
return i(t, Date.now());
|
|
7
|
-
}
|
|
8
|
-
function b(t, s, r) {
|
|
9
|
-
const [a, e] = x(
|
|
10
|
-
r?.in,
|
|
11
|
-
t,
|
|
12
|
-
s
|
|
13
|
-
);
|
|
14
|
-
return +n(a) == +n(e);
|
|
15
|
-
}
|
|
16
|
-
function d(t, s) {
|
|
17
|
-
return b(
|
|
18
|
-
i(t, t),
|
|
19
|
-
T(t)
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
const y = ({
|
|
23
|
-
date: t,
|
|
24
|
-
timeFormat: s = "h:mma",
|
|
25
|
-
dateFormat: r = "M/d/yy",
|
|
26
|
-
shouldTodayDisplayTimeOnly: a = !0,
|
|
27
|
-
tooltipLabel: e,
|
|
28
|
-
textProps: m
|
|
29
|
-
}) => {
|
|
30
|
-
const c = f(
|
|
31
|
-
() => l(
|
|
32
|
-
t,
|
|
33
|
-
d(t) && a ? s : r
|
|
34
|
-
),
|
|
35
|
-
[t, r, a, s]
|
|
36
|
-
);
|
|
37
|
-
return /* @__PURE__ */ o.jsx(p, { disabled: !e, label: e || "", children: /* @__PURE__ */ o.jsx(
|
|
38
|
-
u,
|
|
39
|
-
{
|
|
40
|
-
className: "Timestamp",
|
|
41
|
-
"data-testid": "kibble-timestamp",
|
|
42
|
-
variant: "subtle",
|
|
43
|
-
size: "xs",
|
|
44
|
-
textTransform: "lowercase",
|
|
45
|
-
...m,
|
|
46
|
-
children: c
|
|
47
|
-
}
|
|
48
|
-
) });
|
|
49
|
-
};
|
|
50
|
-
export {
|
|
51
|
-
y as T
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=timestamp.component-Kxi_bKp1.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("./index-BlGAWSIX.js");var K=c.createAnatomy("toast").parts("group","root","title","description","actionTrigger","closeTrigger"),D=K.build(),W=t=>`toast-group:${t}`,L=(t,e)=>t.getById(`toast-group:${e}`),B=t=>`toast:${t.id}`,H=t=>t.getById(B(t)),U=t=>`toast:${t.id}:title`,V=t=>`toast:${t.id}:description`,j=t=>`toast${t.id}:close`,G={info:5e3,error:5e3,success:2e3,loading:1/0,DEFAULT:5e3};function w(t,e){return t??G[e]??G.DEFAULT}var q=t=>typeof t=="string"?{left:t,right:t,bottom:t,top:t}:t;function X(t,e){const{prop:o,computed:s,context:i}=t,{offsets:r,gap:l}=o("store").attrs,u=i.get("heights"),g=q(r),v=o("dir")==="rtl",d=e.replace("-start",v?"-right":"-left").replace("-end",v?"-left":"-right"),m=d.includes("right"),E=d.includes("left"),f={position:"fixed",pointerEvents:s("count")>0?void 0:"none",display:"flex",flexDirection:"column","--gap":`${l}px`,"--first-height":`${u[0]?.height||0}px`,zIndex:c.MAX_Z_INDEX};let h="center";if(m&&(h="flex-end"),E&&(h="flex-start"),f.alignItems=h,d.includes("top")){const y=g.top;f.top=`max(env(safe-area-inset-top, 0px), ${y})`}if(d.includes("bottom")){const y=g.bottom;f.bottom=`max(env(safe-area-inset-bottom, 0px), ${y})`}if(!d.includes("left")){const y=g.right;f.insetInlineEnd=`calc(env(safe-area-inset-right, 0px) + ${y})`}if(!d.includes("right")){const y=g.left;f.insetInlineStart=`calc(env(safe-area-inset-left, 0px) + ${y})`}return f}function Q(t,e){const{prop:o,context:s,computed:i}=t,r=o("parent"),l=r.computed("placement"),{gap:u}=r.prop("store").attrs,[g]=l.split("-"),v=s.get("mounted"),d=s.get("remainingTime"),m=i("height"),E=i("frontmost"),f=!E,h=!o("stacked"),y=o("stacked"),M=o("type")==="loading"?Number.MAX_SAFE_INTEGER:d,A=i("heightIndex")*u+i("heightBefore"),k={position:"absolute",pointerEvents:"auto","--opacity":"0","--remove-delay":`${o("removeDelay")}ms`,"--duration":`${M}ms`,"--initial-height":`${m}px`,"--offset":`${A}px`,"--index":o("index"),"--z-index":i("zIndex"),"--lift-amount":"calc(var(--lift) * var(--gap))","--y":"100%","--x":"0"},p=N=>Object.assign(k,N);return g==="top"?p({top:"0","--sign":"-1","--y":"-100%","--lift":"1"}):g==="bottom"&&p({bottom:"0","--sign":"1","--y":"100%","--lift":"-1"}),v&&(p({"--y":"0","--opacity":"1"}),y&&p({"--y":"calc(var(--lift) * var(--offset))","--height":"var(--initial-height)"})),e||p({"--opacity":"0",pointerEvents:"none"}),f&&h&&(p({"--base-scale":"var(--index) * 0.05 + 1","--y":"calc(var(--lift-amount) * var(--index))","--scale":"calc(-1 * var(--base-scale))","--height":"var(--first-height)"}),e||p({"--y":"calc(var(--sign) * 40%)"})),f&&y&&!e&&p({"--y":"calc(var(--lift) * var(--offset) + var(--lift) * -100%)"}),E&&!e&&p({"--y":"calc(var(--lift) * -100%)"}),k}function Y(t,e){const{computed:o}=t,s={position:"absolute",inset:"0",scale:"1 2",pointerEvents:e?"none":"auto"},i=r=>Object.assign(s,r);return o("frontmost")&&!e&&i({height:"calc(var(--initial-height) + 80%)"}),s}function Z(){return{position:"absolute",left:"0",height:"calc(var(--gap) + 2px)",bottom:"100%",width:"100%"}}function J(t,e){const{context:o,prop:s,send:i,refs:r,computed:l}=t;return{getCount(){return o.get("toasts").length},getToasts(){return o.get("toasts")},getGroupProps(u={}){const{label:g="Notifications"}=u,{hotkey:v}=s("store").attrs,d=v.join("+").replace(/Key/g,"").replace(/Digit/g,""),m=l("placement"),[E,f="center"]=m.split("-");return e.element({...D.group.attrs,dir:s("dir"),tabIndex:-1,"aria-label":`${m} ${g} ${d}`,id:W(m),"data-placement":m,"data-side":E,"data-align":f,"aria-live":"polite",role:"region",style:X(t,m),onMouseMove(){i({type:"REGION.POINTER_ENTER",placement:m})},onMouseLeave(){i({type:"REGION.POINTER_LEAVE",placement:m})},onFocus(h){i({type:"REGION.FOCUS",target:h.relatedTarget})},onBlur(h){r.get("isFocusWithin")&&!c.contains(h.currentTarget,h.relatedTarget)&&queueMicrotask(()=>i({type:"REGION.BLUR"}))}})},subscribe(u){return s("store").subscribe(()=>u(o.get("toasts")))}}}var z=c.createMachine({props({props:t}){return{dir:"ltr",id:c.uuid(),...t,store:t.store}},initialState({prop:t}){return t("store").attrs.overlap?"overlap":"stack"},refs(){return{lastFocusedEl:null,isFocusWithin:!1,dismissableCleanup:void 0}},context({bindable:t}){return{toasts:t(()=>({defaultValue:[],sync:!0,hash:e=>e.map(o=>o.id).join(",")})),heights:t(()=>({defaultValue:[],sync:!0}))}},computed:{count:({context:t})=>t.get("toasts").length,overlap:({prop:t})=>t("store").attrs.overlap,placement:({prop:t})=>t("store").attrs.placement},effects:["subscribeToStore","trackDocumentVisibility","trackHotKeyPress"],watch({track:t,context:e,action:o}){t([()=>e.hash("toasts")],()=>{queueMicrotask(()=>{o(["collapsedIfEmpty","setDismissableBranch"])})})},exit:["clearDismissableBranch","clearLastFocusedEl"],on:{"DOC.HOTKEY":{actions:["focusRegionEl"]},"REGION.BLUR":[{guard:"isOverlapping",target:"overlap",actions:["collapseToasts","resumeToasts","restoreLastFocusedEl"]},{target:"stack",actions:["resumeToasts","restoreLastFocusedEl"]}],"TOAST.REMOVE":{actions:["removeToast","removeHeight"]},"TOAST.PAUSE":{actions:["pauseToasts"]}},states:{stack:{on:{"REGION.POINTER_LEAVE":[{guard:"isOverlapping",target:"overlap",actions:["resumeToasts","collapseToasts"]},{actions:["resumeToasts"]}],"REGION.OVERLAP":{target:"overlap",actions:["collapseToasts"]},"REGION.FOCUS":{actions:["setLastFocusedEl","pauseToasts"]},"REGION.POINTER_ENTER":{actions:["pauseToasts"]}}},overlap:{on:{"REGION.STACK":{target:"stack",actions:["expandToasts"]},"REGION.POINTER_ENTER":{target:"stack",actions:["pauseToasts","expandToasts"]},"REGION.FOCUS":{target:"stack",actions:["setLastFocusedEl","pauseToasts","expandToasts"]}}}},implementations:{guards:{isOverlapping:({computed:t})=>t("overlap")},effects:{subscribeToStore({context:t,prop:e}){return e("store").subscribe(o=>{if(o.dismiss){t.set("toasts",s=>s.filter(i=>i.id!==o.id));return}t.set("toasts",s=>{const i=s.findIndex(r=>r.id===o.id);return i!==-1?[...s.slice(0,i),{...s[i],...o},...s.slice(i+1)]:[o,...s]})})},trackHotKeyPress({prop:t,send:e}){const o=s=>{const{hotkey:i}=t("store").attrs;i.every(l=>s[l]||s.code===l)&&e({type:"DOC.HOTKEY"})};return c.addDomEvent(document,"keydown",o,{capture:!0})},trackDocumentVisibility({prop:t,send:e,scope:o}){const{pauseOnPageIdle:s}=t("store").attrs;if(!s)return;const i=o.getDoc();return c.addDomEvent(i,"visibilitychange",()=>{const r=i.visibilityState==="hidden";e({type:r?"PAUSE_ALL":"RESUME_ALL"})})}},actions:{setDismissableBranch({refs:t,context:e,computed:o,scope:s}){const i=e.get("toasts"),r=o("placement"),l=i.length>0;if(!l){t.get("dismissableCleanup")?.();return}if(l&&t.get("dismissableCleanup"))return;const u=()=>L(s,r),g=c.trackDismissableBranch(u,{defer:!0});t.set("dismissableCleanup",g)},clearDismissableBranch({refs:t}){t.get("dismissableCleanup")?.()},focusRegionEl({scope:t,computed:e}){queueMicrotask(()=>{L(t,e("placement"))?.focus()})},pauseToasts({prop:t}){t("store").pause()},resumeToasts({prop:t}){t("store").resume()},expandToasts({prop:t}){t("store").expand()},collapseToasts({prop:t}){t("store").collapse()},removeToast({prop:t,event:e}){t("store").remove(e.id)},removeHeight({event:t,context:e}){t?.id!=null&&queueMicrotask(()=>{e.set("heights",o=>o.filter(s=>s.id!==t.id))})},collapsedIfEmpty({send:t,computed:e}){!e("overlap")||e("count")>1||t({type:"REGION.OVERLAP"})},setLastFocusedEl({refs:t,event:e}){t.get("isFocusWithin")||!e.target||(t.set("isFocusWithin",!0),t.set("lastFocusedEl",e.target))},restoreLastFocusedEl({refs:t}){t.get("lastFocusedEl")&&(t.get("lastFocusedEl")?.focus({preventScroll:!0}),t.set("lastFocusedEl",null),t.set("isFocusWithin",!1))},clearLastFocusedEl({refs:t}){t.get("lastFocusedEl")&&(t.get("lastFocusedEl")?.focus({preventScroll:!0}),t.set("lastFocusedEl",null),t.set("isFocusWithin",!1))}}}});function tt(t,e){const{state:o,send:s,prop:i,scope:r,context:l,computed:u}=t,g=o.hasTag("visible"),v=o.hasTag("paused"),d=l.get("mounted"),m=u("frontmost"),E=i("parent").computed("placement"),f=i("type"),h=i("stacked"),y=i("title"),F=i("description"),M=i("action"),[A,k="center"]=E.split("-");return{type:f,title:y,description:F,placement:E,visible:g,paused:v,closable:!!i("closable"),pause(){s({type:"PAUSE"})},resume(){s({type:"RESUME"})},dismiss(){s({type:"DISMISS",src:"programmatic"})},getRootProps(){return e.element({...D.root.attrs,dir:i("dir"),id:B(r),"data-state":g?"open":"closed","data-type":f,"data-placement":E,"data-align":k,"data-side":A,"data-mounted":c.dataAttr(d),"data-paused":c.dataAttr(v),"data-first":c.dataAttr(m),"data-sibling":c.dataAttr(!m),"data-stack":c.dataAttr(h),"data-overlap":c.dataAttr(!h),role:"status","aria-atomic":"true","aria-describedby":F?V(r):void 0,"aria-labelledby":y?U(r):void 0,tabIndex:0,style:Q(t,g),onKeyDown(p){p.defaultPrevented||p.key=="Escape"&&(s({type:"DISMISS",src:"keyboard"}),p.preventDefault())}})},getGhostBeforeProps(){return e.element({"data-ghost":"before",style:Y(t,g)})},getGhostAfterProps(){return e.element({"data-ghost":"after",style:Z()})},getTitleProps(){return e.element({...D.title.attrs,id:U(r)})},getDescriptionProps(){return e.element({...D.description.attrs,id:V(r)})},getActionTriggerProps(){return e.button({...D.actionTrigger.attrs,type:"button",onClick(p){p.defaultPrevented||(M?.onClick?.(),s({type:"DISMISS",src:"user"}))}})},getCloseTriggerProps(){return e.button({id:j(r),...D.closeTrigger.attrs,type:"button","aria-label":"Dismiss notification",onClick(p){p.defaultPrevented||s({type:"DISMISS",src:"user"})}})}}}var{not:et}=c.createGuards(),st=c.createMachine({props({props:t}){return c.ensureProps(t,["id","type","parent","removeDelay"],"toast"),{closable:!0,...t,duration:w(t.duration,t.type)}},initialState({prop:t}){return t("type")==="loading"||t("duration")===1/0?"visible:persist":"visible"},context({prop:t,bindable:e}){return{remainingTime:e(()=>({defaultValue:w(t("duration"),t("type"))})),createdAt:e(()=>({defaultValue:Date.now()})),mounted:e(()=>({defaultValue:!1})),initialHeight:e(()=>({defaultValue:0}))}},refs(){return{closeTimerStartTime:Date.now(),lastCloseStartTimerStartTime:0}},computed:{zIndex:({prop:t})=>{const e=t("parent").context.get("toasts"),o=e.findIndex(s=>s.id===t("id"));return e.length-o},height:({prop:t})=>t("parent").context.get("heights").find(s=>s.id===t("id"))?.height??0,heightIndex:({prop:t})=>t("parent").context.get("heights").findIndex(o=>o.id===t("id")),frontmost:({prop:t})=>t("index")===0,heightBefore:({prop:t})=>{const e=t("parent").context.get("heights"),o=e.findIndex(s=>s.id===t("id"));return e.reduce((s,i,r)=>r>=o?s:s+i.height,0)},shouldPersist:({prop:t})=>t("type")==="loading"||t("duration")===1/0},watch({track:t,prop:e,send:o}){t([()=>e("message")],()=>{const s=e("message");s&&o({type:s,src:"programmatic"})}),t([()=>e("type"),()=>e("duration")],()=>{o({type:"UPDATE"})})},on:{UPDATE:[{guard:"shouldPersist",target:"visible:persist",actions:["resetCloseTimer"]},{target:"visible:updating",actions:["resetCloseTimer"]}],MEASURE:{actions:["measureHeight"]}},entry:["setMounted","measureHeight","invokeOnVisible"],effects:["trackHeight"],states:{"visible:updating":{tags:["visible","updating"],effects:["waitForNextTick"],on:{SHOW:{target:"visible"}}},"visible:persist":{tags:["visible","paused"],on:{RESUME:{guard:et("isLoadingType"),target:"visible",actions:["setCloseTimer"]},DISMISS:{target:"dismissing"}}},visible:{tags:["visible"],effects:["waitForDuration"],on:{DISMISS:{target:"dismissing"},PAUSE:{target:"visible:persist",actions:["syncRemainingTime"]}}},dismissing:{entry:["invokeOnDismiss"],effects:["waitForRemoveDelay"],on:{REMOVE:{target:"unmounted",actions:["notifyParentToRemove"]}}},unmounted:{entry:["invokeOnUnmount"]}},implementations:{effects:{waitForRemoveDelay({prop:t,send:e}){return c.setRafTimeout(()=>{e({type:"REMOVE",src:"timer"})},t("removeDelay"))},waitForDuration({send:t,context:e,computed:o}){if(!o("shouldPersist"))return c.setRafTimeout(()=>{t({type:"DISMISS",src:"timer"})},e.get("remainingTime"))},waitForNextTick({send:t}){return c.setRafTimeout(()=>{t({type:"SHOW",src:"timer"})},0)},trackHeight({scope:t,prop:e}){let o;return c.raf(()=>{const s=H(t);if(!s)return;const i=()=>{const u=s.style.height;s.style.height="auto";const g=s.getBoundingClientRect().height;s.style.height=u;const v={id:e("id"),height:g};$(e("parent"),v)},r=t.getWin(),l=new r.MutationObserver(i);l.observe(s,{childList:!0,subtree:!0,characterData:!0}),o=()=>l.disconnect()}),()=>o?.()}},guards:{isLoadingType:({prop:t})=>t("type")==="loading",shouldPersist:({computed:t})=>t("shouldPersist")},actions:{setMounted({context:t}){c.raf(()=>{t.set("mounted",!0)})},measureHeight({scope:t,prop:e,context:o}){queueMicrotask(()=>{const s=H(t);if(!s)return;const i=s.style.height;s.style.height="auto";const r=s.getBoundingClientRect().height;s.style.height=i,o.set("initialHeight",r);const l={id:e("id"),height:r};$(e("parent"),l)})},setCloseTimer({refs:t}){t.set("closeTimerStartTime",Date.now())},resetCloseTimer({context:t,refs:e,prop:o}){e.set("closeTimerStartTime",Date.now()),t.set("remainingTime",w(o("duration"),o("type")))},syncRemainingTime({context:t,refs:e}){t.set("remainingTime",o=>{const s=e.get("closeTimerStartTime"),i=Date.now()-s;return e.set("lastCloseStartTimerStartTime",Date.now()),o-i})},notifyParentToRemove({prop:t}){t("parent").send({type:"TOAST.REMOVE",id:t("id")})},invokeOnDismiss({prop:t,event:e}){t("onStatusChange")?.({status:"dismissing",src:e.src})},invokeOnUnmount({prop:t}){t("onStatusChange")?.({status:"unmounted"})},invokeOnVisible({prop:t}){t("onStatusChange")?.({status:"visible"})}}}});function $(t,e){const{id:o,height:s}=e;t.context.set("heights",i=>i.find(l=>l.id===o)?i.map(l=>l.id===o?{...l,height:s}:l):[{id:o,height:s},...i])}var ot=(t,e)=>({...e,...c.compact(t)});function nt(t){const e=ot(t,{placement:"bottom",overlap:!1,max:24,gap:16,offsets:"1rem",hotkey:["altKey","KeyT"],removeDelay:200,pauseOnPageIdle:!0});let o=[],s=[],i=new Set,r=[];const l=n=>(o.push(n),()=>{const a=o.indexOf(n);o.splice(a,1)}),u=n=>(o.forEach(a=>a(n)),n),g=n=>{if(s.length>=e.max){r.push(n);return}u(n),s.unshift(n)},v=()=>{for(;r.length>0&&s.length<e.max;){const n=r.shift();n&&(u(n),s.unshift(n))}},d=n=>{const a=n.id??`toast:${c.uuid()}`,S=s.find(T=>T.id===a);return i.has(a)&&i.delete(a),S?s=s.map(T=>T.id===a?u({...T,...n,id:a}):T):g({id:a,duration:e.duration,removeDelay:e.removeDelay,type:"info",...n,stacked:!e.overlap,gap:e.gap}),a},m=n=>(i.add(n),n?(o.forEach(a=>a({id:n,dismiss:!0})),s=s.filter(a=>a.id!==n),v()):(s.forEach(a=>{o.forEach(S=>S({id:a.id,dismiss:!0}))}),s=[],r=[]),n);return{attrs:e,subscribe:l,create:d,update:(n,a)=>d({id:n,...a}),remove:m,dismiss:n=>{n!=null?s=s.map(a=>a.id===n?u({...a,message:"DISMISS"}):a):s=s.map(a=>u({...a,message:"DISMISS"}))},error:n=>d({...n,type:"error"}),success:n=>d({...n,type:"success"}),info:n=>d({...n,type:"info"}),warning:n=>d({...n,type:"warning"}),loading:n=>d({...n,type:"loading"}),getVisibleToasts:()=>s.filter(n=>!i.has(n.id)),getCount:()=>s.length,promise:(n,a,S={})=>{if(!a)return;let T;a.loading!==void 0&&(T=d({...S,...a.loading,promise:n,type:"loading"}));let C=T!==void 0,P;const _=c.runIfFn(n).then(async b=>{if(P=["resolve",b],it(b)&&!b.ok){C=!1;const I=c.runIfFn(a.error,`HTTP Error! status: ${b.status}`);d({...S,...I,id:T,type:"error"})}else if(a.success!==void 0){C=!1;const I=c.runIfFn(a.success,b);d({...S,...I,id:T,type:"success"})}}).catch(async b=>{if(P=["reject",b],a.error!==void 0){C=!1;const I=c.runIfFn(a.error,b);d({...S,...I,id:T,type:"error"})}}).finally(()=>{C&&(m(T),T=void 0),a.finally?.()});return{id:T,unwrap:()=>new Promise((b,I)=>_.then(()=>P[0]==="reject"?I(P[1]):b(P[1])).catch(I))}},pause:n=>{n!=null?s=s.map(a=>a.id===n?u({...a,message:"PAUSE"}):a):s=s.map(a=>u({...a,message:"PAUSE"}))},resume:n=>{n!=null?s=s.map(a=>a.id===n?u({...a,message:"RESUME"}):a):s=s.map(a=>u({...a,message:"RESUME"}))},isVisible:n=>!i.has(n)&&!!s.find(a=>a.id===n),isDismissed:n=>i.has(n),expand:()=>{s=s.map(n=>u({...n,stacked:!0}))},collapse:()=>{s=s.map(n=>u({...n,stacked:!1}))}}}var it=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",at={connect:J,machine:z};const O=t=>nt(t),x={duration:5e3,hotkey:void 0,max:24,offsets:"1rem",overlap:!1,pauseOnPageIdle:!0,removeDelay:0},R={bottom:{...x,placement:"bottom"},"bottom-end":{...x,placement:"bottom-end"},"bottom-start":{...x,placement:"bottom-start"},top:{...x,placement:"top"},"top-end":{...x,placement:"top-end"},"top-start":{...x,placement:"top-start"}},rt=O(R.bottom),ct=O(R["bottom-end"]),lt=O(R["bottom-start"]),ut=O(R.top),dt=O(R["top-end"]),gt=O(R["top-start"]);exports.bottomEndToaster=ct;exports.bottomStartToaster=lt;exports.bottomToaster=rt;exports.connect=tt;exports.defaultToasterConfig=x;exports.group=at;exports.machine=st;exports.topEndToaster=dt;exports.topStartToaster=gt;exports.topToaster=ut;
|
|
2
|
-
//# sourceMappingURL=toaster.records-CGym-iT-.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./jsx-runtime-BjDatQAs.js"),Z=require("./heading.component-DkT5GYvU.js"),h=require("./typography.records-BeoK0Uyj.js"),G=require("./icon.component-DjiNNeqF.js"),k=require("./flex-D14H6HbP.js"),o=require("react"),w=require("./factory-D6tdBUPG.js"),J=require("./create-slot-recipe-context-IwVIgtBt.js"),K=require("./create-recipe-context-sESms8Eo.js"),P=require("./use-field-context-DnTe9gdc.js"),F=require("./portal-kmAjRmaV.js"),l=require("./index-BlGAWSIX.js");function Q(e){if(e&&e.__esModule)return e;const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>e[s]})}}return r.default=e,Object.freeze(r)}const U=Q(o),H=o.forwardRef((e,r)=>{const s=P.useFieldContext(),t=l.mergeProps(s.getErrorTextProps(),e);return s?.invalid?n.jsxRuntimeExports.jsx(F.ark.span,{...t,ref:r}):null});H.displayName="FieldErrorText";const L=o.forwardRef((e,r)=>{const s=P.useFieldContext(),t=l.mergeProps(s?.getHelperTextProps(),e);return n.jsxRuntimeExports.jsx(F.ark.span,{...t,ref:r})});L.displayName="FieldHelperText";const O=o.forwardRef((e,r)=>{const s=P.useFieldContext(),t=l.mergeProps(s?.getLabelProps(),e);return n.jsxRuntimeExports.jsx(F.ark.label,{...t,ref:r})});O.displayName="FieldLabel";const V=typeof window<"u"?o.useLayoutEffect:o.useEffect,[pe,X]=F.createContext({name:"FieldsetContext",hookName:"useFieldsetContext",providerName:"<FieldsetProvider />",strict:!1}),Y=(e={})=>{const r=X(),{ids:s,disabled:t=!!r?.disabled,invalid:a=!1,readOnly:i=!1,required:d=!1}=e,[x,p]=o.useState(!1),[y,b]=o.useState(!1),c=e.id??o.useId(),C=o.useRef(null),m=s?.control??`field::${c}`,f=s?.errorText??`field::${c}::error-text`,u=s?.helperText??`field::${c}::helper-text`,E=s?.label??`field::${c}::label`;V(()=>{const j=C.current;if(!j)return;const q=l.getWindow(j),A=q.document,S=()=>{p(!!A.getElementById(f)),b(!!A.getElementById(u))};S();const M=new q.MutationObserver(S);return M.observe(j,{childList:!0,subtree:!0}),()=>M.disconnect()},[f,u]);const R=o.useMemo(()=>{const j=[];return x&&a&&j.push(f),y&&j.push(u),j.join(" ")||void 0},[a,f,u,x,y]),N=o.useMemo(()=>()=>({...h.parts.root.attrs,id:m,ref:C,role:"group","data-disabled":l.dataAttr(t),"data-invalid":l.dataAttr(a),"data-readonly":l.dataAttr(i)}),[t,a,i,m]),v=o.useMemo(()=>()=>({...h.parts.label.attrs,id:E,"data-disabled":l.dataAttr(t),"data-invalid":l.dataAttr(a),"data-readonly":l.dataAttr(i),htmlFor:c}),[t,a,i,c,E]),g=o.useMemo(()=>()=>({"aria-describedby":R,"aria-invalid":l.ariaAttr(a),"data-invalid":l.dataAttr(a),"data-required":l.dataAttr(d),"data-readonly":l.dataAttr(i),id:c,required:d,disabled:t,readOnly:i}),[R,a,d,i,c,t]),T=o.useMemo(()=>()=>({...g(),...h.parts.input.attrs}),[g]),I=o.useMemo(()=>()=>({...g(),...h.parts.textarea.attrs}),[g]),z=o.useMemo(()=>()=>({...g(),...h.parts.select.attrs}),[g]),B=o.useMemo(()=>()=>({id:u,...h.parts.helperText.attrs,"data-disabled":l.dataAttr(t)}),[t,u]),D=o.useMemo(()=>()=>({id:f,...h.parts.errorText.attrs,"aria-live":"polite"}),[f]),W=o.useMemo(()=>()=>({"aria-hidden":!0,...h.parts.requiredIndicator.attrs}),[]);return{ariaDescribedby:R,ids:{root:m,control:c,label:E,errorText:f,helperText:u},refs:{rootRef:C},disabled:t,invalid:a,readOnly:i,required:d,getLabelProps:v,getRootProps:N,getInputProps:T,getTextareaProps:I,getSelectProps:z,getHelperTextProps:B,getErrorTextProps:D,getRequiredIndicatorProps:W}},$=o.forwardRef((e,r)=>{const[s,t]=F.createSplitProps()(e,["id","ids","disabled","invalid","readOnly","required"]),a=Y(s),i=l.mergeProps(a.getRootProps(),t);return n.jsxRuntimeExports.jsx(P.FieldProvider,{value:a,children:n.jsxRuntimeExports.jsx(F.ark.div,{...i,ref:F.composeRefs(r,a.refs.rootRef)})})});$.displayName="FieldRoot";const{useRecipeResult:ee}=K.createRecipeContext({key:"icon"}),te=U.forwardRef(function(r,s){const{styles:t,className:a,props:i}=ee({asChild:!r.as,...r});return n.jsxRuntimeExports.jsx(w.chakra.svg,{ref:s,focusable:!1,"aria-hidden":"true",...i,css:[t,r.css],className:w.cx(a,r.className)})});function re(e){const{viewBox:r="0 0 24 24",d:s,displayName:t,defaultProps:a={}}=e,i=o.Children.toArray(e.path),d=o.forwardRef((x,p)=>n.jsxRuntimeExports.jsx(te,{ref:p,asChild:!1,viewBox:r,...a,...x,children:i.length?i:n.jsxRuntimeExports.jsx("path",{fill:"currentColor",d:s})}));return d.displayName=t,d}const{withProvider:se,withContext:_,useStyles:oe,useClassNames:ae}=J.createSlotRecipeContext({key:"field"}),ne=se($,"root",{forwardAsChild:!0}),ie=_(O,"label",{forwardAsChild:!0}),le=_(L,"helperText",{forwardAsChild:!0}),de=_(H,"errorText",{forwardAsChild:!0});re({d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"});const ce=o.forwardRef(function(r,s){const{fallback:t,children:a="*",...i}=r,d=P.useFieldContext(),x=ae(),p=oe();return d?.required?n.jsxRuntimeExports.jsx(w.chakra.span,{ref:s,"aria-hidden":"true",...i,className:w.cx(x.requiredIndicator,r.className),css:[p.requiredIndicator,r.css],children:a}):t}),ue={sm:10,md:12,lg:14},xe=e=>{const r=({disabled:s=!1,errorText:t="Field is invalid",formControlStyle:a,fullWidth:i=!0,helperText:d,inlineField:x=!1,invalid:p=!1,invalidIconColor:y="danger",label:b,labelPosition:c="start",labelStyle:C,onContrast:m=!1,readOnly:f=!1,required:u=!1,showOptionalElement:E=!1,size:R="md",useInvalidIcon:N=!1,useInvalidText:v=!0,...g})=>{const T=n.jsxRuntimeExports.jsxs(ie,{className:"FormControl__Label",color:m?"text.contrast":"text",fontSize:h.fontSizes[R],...C,onClick:I=>{I.stopPropagation()},children:[b,n.jsxRuntimeExports.jsx(ce,{className:"FormControl__RequiredIndicator",color:m?"text.danger.contrast":"text.danger",...!u&&{fallback:E?n.jsxRuntimeExports.jsxs(Z.WrappedText,{variant:m?"subtleOnContrast":"subtle",fontSize:ue[R],children:[" ","(Optional)"]}):n.jsxRuntimeExports.jsx(n.jsxRuntimeExports.Fragment,{})}})]});return n.jsxRuntimeExports.jsxs(ne,{className:"FormControl group",disabled:s,invalid:p,readOnly:f,required:u,width:i?"100%":"auto",...a,children:[n.jsxRuntimeExports.jsxs(k.Flex,{className:"FormControl__Container",flexDirection:x?"row":"column",w:x?"max-content":"100%",gap:2,children:[b&&c==="start"&&T,n.jsxRuntimeExports.jsxs(k.Flex,{className:"FormControl__Content",alignItems:"center",gap:2,w:x?"max-content":"100%",children:[n.jsxRuntimeExports.jsx(e,{disabled:s,invalid:p,onContrast:m,readOnly:f,required:u,size:R,...g}),N&&p&&n.jsxRuntimeExports.jsx(G.Icon,{className:"FormControl__InvalidIcon",name:"warningSign",variant:y,size:R})]}),b&&c==="end"&&T]}),v&&p&&n.jsxRuntimeExports.jsx(de,{className:"FormControl__ErrorText",fontSize:"xs",color:m?"text.danger.contrast":"text.danger",children:t}),d&&n.jsxRuntimeExports.jsx(le,{className:"FormControl__HelperText",fontSize:"xs",color:m?"text.subtle.contrast":"text.subtle",children:d})]})};return r.displayName=`withFormControl(${e.displayName||e.name}`,r};exports.withFormControl=xe;
|
|
2
|
-
//# sourceMappingURL=withFormControl-kyGjRFza.js.map
|