@televet/kibble-ui 4.0.0-beta.66 → 4.0.0-beta.67
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-DYf5xFEG.js → alert.types-B7BlPX2-.js} +10 -11
- package/dist/chunks/{alert.types-DYf5xFEG.js.map → alert.types-B7BlPX2-.js.map} +1 -1
- package/dist/chunks/alert.types-BsvcbTZD.js +2 -0
- package/dist/chunks/{alert.types-DbqCOYr5.js.map → alert.types-BsvcbTZD.js.map} +1 -1
- package/dist/chunks/{avatar.component-Bk8VVA0l.js → avatar.component-CB5m8zha.js} +22 -22
- package/dist/chunks/{avatar.component-Bk8VVA0l.js.map → avatar.component-CB5m8zha.js.map} +1 -1
- package/dist/chunks/avatar.component-RKtP3MZt.js +2 -0
- package/dist/chunks/{avatar.component-TAfT1LM1.js.map → avatar.component-RKtP3MZt.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-CZnhQOWy.js → avatarGroup.component-CKFjjo2R.js} +2 -2
- package/dist/chunks/{avatarGroup.component-CZnhQOWy.js.map → avatarGroup.component-CKFjjo2R.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-BGF4gl5d.js → avatarGroup.component-CjBeAxHZ.js} +2 -2
- package/dist/chunks/{avatarGroup.component-BGF4gl5d.js.map → avatarGroup.component-CjBeAxHZ.js.map} +1 -1
- package/dist/chunks/{button.component-Dd9AfGox.js → button.component-BQA_MGYQ.js} +2 -2
- package/dist/chunks/{button.component-Dd9AfGox.js.map → button.component-BQA_MGYQ.js.map} +1 -1
- package/dist/chunks/{button.component-BpF3MzbZ.js → button.component-DahLrK9h.js} +3 -3
- package/dist/chunks/{button.component-BpF3MzbZ.js.map → button.component-DahLrK9h.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-CGxtwaQg.js → buttonGroup.component-BI44nuxH.js} +2 -2
- package/dist/chunks/{buttonGroup.component-CGxtwaQg.js.map → buttonGroup.component-BI44nuxH.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-IGM-yn-V.js → buttonGroup.component-UKmJh2zn.js} +5 -5
- package/dist/chunks/{buttonGroup.component-IGM-yn-V.js.map → buttonGroup.component-UKmJh2zn.js.map} +1 -1
- package/dist/chunks/characterCounter.component-B8efVNy4.js +2 -0
- package/dist/chunks/{characterCounter.component-WOgGxKRq.js.map → characterCounter.component-B8efVNy4.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-CWDjnYNU.js → characterCounter.component-xgc8P1mp.js} +3 -3
- package/dist/chunks/{characterCounter.component-CWDjnYNU.js.map → characterCounter.component-xgc8P1mp.js.map} +1 -1
- package/dist/chunks/{checkbox.component-B6-MOy86.js → checkbox.component-5GtlYTnJ.js} +13 -13
- package/dist/chunks/{checkbox.component-B6-MOy86.js.map → checkbox.component-5GtlYTnJ.js.map} +1 -1
- package/dist/chunks/checkbox.component-DO9NDbmM.js +2 -0
- package/dist/chunks/{checkbox.component-nkydue0g.js.map → checkbox.component-DO9NDbmM.js.map} +1 -1
- package/dist/chunks/{checkbox.records-BtLBaHBy.js → checkbox.records-69wNHjsY.js} +16 -16
- package/dist/chunks/{checkbox.records-BtLBaHBy.js.map → checkbox.records-69wNHjsY.js.map} +1 -1
- package/dist/chunks/{checkbox.records-wbkLltak.js → checkbox.records-D7NUtCRR.js} +2 -2
- package/dist/chunks/{checkbox.records-wbkLltak.js.map → checkbox.records-D7NUtCRR.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-B1HL2vbn.js → checkboxGroup.component-C1sPgVro.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-B1HL2vbn.js.map → checkboxGroup.component-C1sPgVro.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-DCg4fRL0.js → checkboxGroup.component-Dq3jCGDU.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-DCg4fRL0.js.map → checkboxGroup.component-Dq3jCGDU.js.map} +1 -1
- package/dist/chunks/{config-B1FINd7s.js → config-DlTdf-Yt.js} +3 -3
- package/dist/chunks/{config-B1FINd7s.js.map → config-DlTdf-Yt.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-Uv0-JSnX.js → conversationCard.component-LpR5eSru.js} +13 -14
- package/dist/chunks/{conversationCard.component-Uv0-JSnX.js.map → conversationCard.component-LpR5eSru.js.map} +1 -1
- package/dist/chunks/conversationCard.component-qWYvoxVn.js +2 -0
- package/dist/chunks/{conversationCard.component-2jO70XtY.js.map → conversationCard.component-qWYvoxVn.js.map} +1 -1
- package/dist/chunks/datePicker.component-CLR0tErm.js +15 -0
- package/dist/chunks/{datePicker.component-CM8TIMiW.js.map → datePicker.component-CLR0tErm.js.map} +1 -1
- package/dist/chunks/{datePicker.component-DeOquWMk.js → datePicker.component-DVR8Ech4.js} +85 -87
- package/dist/chunks/{datePicker.component-DeOquWMk.js.map → datePicker.component-DVR8Ech4.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-D2uDgMJr.js → dialog-trigger-C6rpz6Do.js} +5 -5
- package/dist/chunks/{dialog-trigger-D2uDgMJr.js.map → dialog-trigger-C6rpz6Do.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-BCeZGpGO.js → dialog-trigger-JNnMRY13.js} +2 -2
- package/dist/chunks/{dialog-trigger-BCeZGpGO.js.map → dialog-trigger-JNnMRY13.js.map} +1 -1
- package/dist/chunks/{group-DPCVolOl.js → group-DKypflCt.js} +2 -2
- package/dist/chunks/{group-DPCVolOl.js.map → group-DKypflCt.js.map} +1 -1
- package/dist/chunks/group-Dv1hO5IW.js +2 -0
- package/dist/chunks/{group-Cv7AQw1b.js.map → group-Dv1hO5IW.js.map} +1 -1
- package/dist/chunks/heading.component-DkT5GYvU.js +2 -0
- package/dist/chunks/heading.component-DkT5GYvU.js.map +1 -0
- package/dist/chunks/heading.component-d5jKnwm5.js +976 -0
- package/dist/chunks/heading.component-d5jKnwm5.js.map +1 -0
- package/dist/chunks/icon-button-BTDZq0Tr.js +121 -0
- package/dist/chunks/icon-button-BTDZq0Tr.js.map +1 -0
- package/dist/chunks/icon-button-khcu437F.js +2 -0
- package/dist/chunks/icon-button-khcu437F.js.map +1 -0
- package/dist/chunks/{typography-Cqrokog3.js → icon.component-D84o075X.js} +43 -6
- package/dist/chunks/icon.component-D84o075X.js.map +1 -0
- package/dist/chunks/icon.component-DjiNNeqF.js +2 -0
- package/dist/chunks/icon.component-DjiNNeqF.js.map +1 -0
- package/dist/chunks/{index-CZPHIn6T.js → index-B9cDqm2a.js} +3 -3
- package/dist/chunks/{index-CZPHIn6T.js.map → index-B9cDqm2a.js.map} +1 -1
- package/dist/chunks/{index-BmcSWiFh.js → index-BDCLWoQU.js} +2 -2
- package/dist/chunks/{index-BmcSWiFh.js.map → index-BDCLWoQU.js.map} +1 -1
- package/dist/chunks/{index-WyVSig7F.js → index-BIjZoyJk.js} +4 -4
- package/dist/chunks/{index-WyVSig7F.js.map → index-BIjZoyJk.js.map} +1 -1
- package/dist/chunks/{index-D5Dscg8T.js → index-BL1VW2oK.js} +11 -11
- package/dist/chunks/{index-D5Dscg8T.js.map → index-BL1VW2oK.js.map} +1 -1
- package/dist/chunks/{index-CEYJbpt4.js → index-BiyIeWSg.js} +2 -2
- package/dist/chunks/{index-CEYJbpt4.js.map → index-BiyIeWSg.js.map} +1 -1
- package/dist/chunks/{index-Dx94WMw1.js → index-Bn03tQNC.js} +31 -31
- package/dist/chunks/{index-Dx94WMw1.js.map → index-Bn03tQNC.js.map} +1 -1
- package/dist/chunks/{index-hGlTuPbK.js → index-BpKhRg2I.js} +2 -2
- package/dist/chunks/{index-hGlTuPbK.js.map → index-BpKhRg2I.js.map} +1 -1
- package/dist/chunks/{index-C323eOJV.js → index-Cb49D-ky.js} +122 -122
- package/dist/chunks/{index-C323eOJV.js.map → index-Cb49D-ky.js.map} +1 -1
- package/dist/chunks/{index-DMSZTX7A.js → index-Ciu8P7c-.js} +11 -11
- package/dist/chunks/{index-DMSZTX7A.js.map → index-Ciu8P7c-.js.map} +1 -1
- package/dist/chunks/{index-5cRW642o.js → index-CmVbgcH8.js} +2 -2
- package/dist/chunks/{index-5cRW642o.js.map → index-CmVbgcH8.js.map} +1 -1
- package/dist/chunks/{index-Cuu1x05z.js → index-CxHMu1In.js} +14 -15
- package/dist/chunks/{index-Cuu1x05z.js.map → index-CxHMu1In.js.map} +1 -1
- package/dist/chunks/index-CzzrUbmu.js +2 -0
- package/dist/chunks/{index-CFnNmQf0.js.map → index-CzzrUbmu.js.map} +1 -1
- package/dist/chunks/{index-CedYIQt5.js → index-DFbSzgk8.js} +2 -2
- package/dist/chunks/{index-CedYIQt5.js.map → index-DFbSzgk8.js.map} +1 -1
- package/dist/chunks/{index-Cqwkg1hU.js → index-DRABh-Lp.js} +3 -3
- package/dist/chunks/{index-Cqwkg1hU.js.map → index-DRABh-Lp.js.map} +1 -1
- package/dist/chunks/{index-BfD9Ne2e.js → index-DeprNCOL.js} +2 -2
- package/dist/chunks/{index-BfD9Ne2e.js.map → index-DeprNCOL.js.map} +1 -1
- package/dist/chunks/{index-Dq91nN6-.js → index-YfA5zlSf.js} +5 -5
- package/dist/chunks/{index-Dq91nN6-.js.map → index-YfA5zlSf.js.map} +1 -1
- package/dist/chunks/{link.component-CCFg-LIe.js → link.component-BQJI6gPi.js} +2 -2
- package/dist/chunks/{link.component-CCFg-LIe.js.map → link.component-BQJI6gPi.js.map} +1 -1
- package/dist/chunks/{link.component-DprieyUG.js → link.component-Cs05IsXP.js} +2 -2
- package/dist/chunks/{link.component-DprieyUG.js.map → link.component-Cs05IsXP.js.map} +1 -1
- package/dist/chunks/{logo.types-CXQsathd.js → logo.types-By8TqyNf.js} +2 -2
- package/dist/chunks/{logo.types-CXQsathd.js.map → logo.types-By8TqyNf.js.map} +1 -1
- package/dist/chunks/menu.component-BgAx3SsR.js +2 -0
- package/dist/chunks/{menu.component-DllVICUa.js.map → menu.component-BgAx3SsR.js.map} +1 -1
- package/dist/chunks/{menu.component-BKY1dybr.js → menu.component-CAr2xdZY.js} +10 -10
- package/dist/chunks/{menu.component-BKY1dybr.js.map → menu.component-CAr2xdZY.js.map} +1 -1
- package/dist/chunks/{modal.types-CRH5aJ0U.js → modal.types-B7PDc2GJ.js} +5 -5
- package/dist/chunks/{modal.types-CRH5aJ0U.js.map → modal.types-B7PDc2GJ.js.map} +1 -1
- package/dist/chunks/{modal.types-Bsq-uLZ0.js → modal.types-CtHJAyfq.js} +2 -2
- package/dist/chunks/{modal.types-Bsq-uLZ0.js.map → modal.types-CtHJAyfq.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js → notificationCounter.component-Bei8mHSZ.js} +2 -2
- package/dist/chunks/{notificationCounter.component-DMr4Mlm9.js.map → notificationCounter.component-Bei8mHSZ.js.map} +1 -1
- package/dist/chunks/{pinInput.types-B-BknmcG.js → pinInput.types-TfkrphC7.js} +15 -15
- package/dist/chunks/{pinInput.types-B-BknmcG.js.map → pinInput.types-TfkrphC7.js.map} +1 -1
- package/dist/chunks/{pinInput.types-tJTQQJxe.js → pinInput.types-a0_2OLBO.js} +2 -2
- package/dist/chunks/{pinInput.types-tJTQQJxe.js.map → pinInput.types-a0_2OLBO.js.map} +1 -1
- package/dist/chunks/portal-CtkZ5xTm.js +3087 -0
- package/dist/chunks/portal-CtkZ5xTm.js.map +1 -0
- package/dist/chunks/portal-kmAjRmaV.js +22 -0
- package/dist/chunks/portal-kmAjRmaV.js.map +1 -0
- package/dist/chunks/{radio.records-CzNYznSb.js → radio.records-DBS_lqNe.js} +15 -15
- package/dist/chunks/{radio.records-CzNYznSb.js.map → radio.records-DBS_lqNe.js.map} +1 -1
- package/dist/chunks/{radio.records-CEgwvLIL.js → radio.records-zKzNxtns.js} +2 -2
- package/dist/chunks/{radio.records-CEgwvLIL.js.map → radio.records-zKzNxtns.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DEPDXEhQ.js → radioGroup.component-DBLLIgCZ.js} +13 -13
- package/dist/chunks/{radioGroup.component-DEPDXEhQ.js.map → radioGroup.component-DBLLIgCZ.js.map} +1 -1
- package/dist/chunks/radioGroup.component-fpo_KMOY.js +2 -0
- package/dist/chunks/{radioGroup.component-DAGmgDZ2.js.map → radioGroup.component-fpo_KMOY.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-C32gNAmO.js → ratingDots.component-DG2nCpxT.js} +6 -6
- package/dist/chunks/{ratingDots.component-C32gNAmO.js.map → ratingDots.component-DG2nCpxT.js.map} +1 -1
- package/dist/chunks/ratingDots.component-DJEDUD_9.js +2 -0
- package/dist/chunks/{ratingDots.component-BB7vPYdN.js.map → ratingDots.component-DJEDUD_9.js.map} +1 -1
- package/dist/chunks/{render-strategy-CdSSbgPU.js → render-strategy-C80bGq2n.js} +2 -2
- package/dist/chunks/{render-strategy-CdSSbgPU.js.map → render-strategy-C80bGq2n.js.map} +1 -1
- package/dist/chunks/{render-strategy-ql9Qx5Cz.js → render-strategy-DN75XQJB.js} +2 -2
- package/dist/chunks/{render-strategy-ql9Qx5Cz.js.map → render-strategy-DN75XQJB.js.map} +1 -1
- package/dist/chunks/select.component-Bmop2_tX.js +2 -0
- package/dist/chunks/{select.component-BtBJUTF2.js.map → select.component-Bmop2_tX.js.map} +1 -1
- package/dist/chunks/{select.component-DfkLDyYt.js → select.component-DyXwbDeO.js} +11 -11
- package/dist/chunks/{select.component-DfkLDyYt.js.map → select.component-DyXwbDeO.js.map} +1 -1
- package/dist/chunks/{sortableList.component-B88NRcwx.js → sortableList.component-CbZAQrKl.js} +4 -4
- package/dist/chunks/{sortableList.component-B88NRcwx.js.map → sortableList.component-CbZAQrKl.js.map} +1 -1
- package/dist/chunks/{sortableList.component-B0lnVMXW.js → sortableList.component-b2t_K7ho.js} +3 -3
- package/dist/chunks/{sortableList.component-B0lnVMXW.js.map → sortableList.component-b2t_K7ho.js.map} +1 -1
- package/dist/chunks/{spinner.component-DWh3YuBJ.js → spinner.component-B1vU-FCd.js} +5 -5
- package/dist/chunks/{spinner.component-DWh3YuBJ.js.map → spinner.component-B1vU-FCd.js.map} +1 -1
- package/dist/chunks/spinner.component-CjQb7JjK.js +2 -0
- package/dist/chunks/{spinner.component-DVjwuOVs.js.map → spinner.component-CjQb7JjK.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-ClVT0QDd.js → styledAvatar.types-D8VWyELN.js} +2 -2
- package/dist/chunks/{styledAvatar.types-ClVT0QDd.js.map → styledAvatar.types-D8VWyELN.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-DamSY23W.js → styledAvatar.types-DstfmllC.js} +2 -2
- package/dist/chunks/{styledAvatar.types-DamSY23W.js.map → styledAvatar.types-DstfmllC.js.map} +1 -1
- package/dist/chunks/{swatch.types-B8OSJZ-a.js → swatch.types-DbgA3RWc.js} +2 -2
- package/dist/chunks/{swatch.types-B8OSJZ-a.js.map → swatch.types-DbgA3RWc.js.map} +1 -1
- package/dist/chunks/switch.component-ARZzuYrq.js +2 -0
- package/dist/chunks/{switch.component-DjbXfvMa.js.map → switch.component-ARZzuYrq.js.map} +1 -1
- package/dist/chunks/{switch.component-BEkYEUKY.js → switch.component-DO9fxk_-.js} +17 -17
- package/dist/chunks/{switch.component-BEkYEUKY.js.map → switch.component-DO9fxk_-.js.map} +1 -1
- package/dist/chunks/{tabs.component-Bmg0kB-p.js → tabs.component-BWTDtLWN.js} +36 -36
- package/dist/chunks/{tabs.component-Bmg0kB-p.js.map → tabs.component-BWTDtLWN.js.map} +1 -1
- package/dist/chunks/{tabs.component-Bn_7bf0X.js → tabs.component-DRpNF8p-.js} +2 -2
- package/dist/chunks/{tabs.component-Bn_7bf0X.js.map → tabs.component-DRpNF8p-.js.map} +1 -1
- package/dist/chunks/tagBlock.component-Bahf1v33.js +2 -0
- package/dist/chunks/{tagBlock.component-x3oh7uht.js.map → tagBlock.component-Bahf1v33.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-3ypfB6tz.js → tagBlock.component-C3BrjwNJ.js} +16 -17
- package/dist/chunks/{tagBlock.component-3ypfB6tz.js.map → tagBlock.component-C3BrjwNJ.js.map} +1 -1
- package/dist/chunks/{textInput.component-B1--78Mp.js → textInput.component-DDo9eUvp.js} +2 -2
- package/dist/chunks/{textInput.component-B1--78Mp.js.map → textInput.component-DDo9eUvp.js.map} +1 -1
- package/dist/chunks/{textInput.component-D9Dl8cP3.js → textInput.component-LPGbDHwZ.js} +8 -8
- package/dist/chunks/{textInput.component-D9Dl8cP3.js.map → textInput.component-LPGbDHwZ.js.map} +1 -1
- package/dist/chunks/{textarea.component-BxC5lB4t.js → textarea.component-5Ou5g_MJ.js} +2 -2
- package/dist/chunks/{textarea.component-BxC5lB4t.js.map → textarea.component-5Ou5g_MJ.js.map} +1 -1
- package/dist/chunks/{textarea.component-DZXDIbZg.js → textarea.component-ClYqhTJX.js} +13 -13
- package/dist/chunks/{textarea.component-DZXDIbZg.js.map → textarea.component-ClYqhTJX.js.map} +1 -1
- package/dist/chunks/theme.provider-DWJTtjw5.js +26 -0
- package/dist/chunks/{theme.provider-CpxxMiXd.js.map → theme.provider-DWJTtjw5.js.map} +1 -1
- package/dist/chunks/{theme.provider-DmGvaymX.js → theme.provider-vZgSb-q5.js} +268 -271
- package/dist/chunks/{theme.provider-DmGvaymX.js.map → theme.provider-vZgSb-q5.js.map} +1 -1
- package/dist/chunks/{timePicker.component-DnFPWIcy.js → timePicker.component-AgnrqtFu.js} +5 -5
- package/dist/chunks/{timePicker.component-DnFPWIcy.js.map → timePicker.component-AgnrqtFu.js.map} +1 -1
- package/dist/chunks/{timePicker.component-F9o8MNWu.js → timePicker.component-Bx0fHgrN.js} +2 -2
- package/dist/chunks/{timePicker.component-F9o8MNWu.js.map → timePicker.component-Bx0fHgrN.js.map} +1 -1
- package/dist/chunks/{timeRange.component-Bj-9ynHS.js → timeRange.component-B3Nv-nLB.js} +2 -2
- package/dist/chunks/{timeRange.component-Bj-9ynHS.js.map → timeRange.component-B3Nv-nLB.js.map} +1 -1
- package/dist/chunks/{timeRange.component-Bh2FiRi8.js → timeRange.component-C14RiUcS.js} +2 -2
- package/dist/chunks/{timeRange.component-Bh2FiRi8.js.map → timeRange.component-C14RiUcS.js.map} +1 -1
- package/dist/chunks/timestamp.component-DEx0cUkA.js +2 -0
- package/dist/chunks/{timestamp.component-CfjeVkJs.js.map → timestamp.component-DEx0cUkA.js.map} +1 -1
- package/dist/chunks/{timestamp.component-BKr4dkxB.js → timestamp.component-Kxi_bKp1.js} +2 -2
- package/dist/chunks/{timestamp.component-BKr4dkxB.js.map → timestamp.component-Kxi_bKp1.js.map} +1 -1
- package/dist/chunks/{toaster.records-Cf8bpHo8.js → toaster.records-CKeu_PyD.js} +2 -2
- package/dist/chunks/{toaster.records-Cf8bpHo8.js.map → toaster.records-CKeu_PyD.js.map} +1 -1
- package/dist/chunks/{typography.records-Xg59taw9.js → typography.records-XkUlmiSk.js} +2 -2
- package/dist/chunks/{typography.records-Xg59taw9.js.map → typography.records-XkUlmiSk.js.map} +1 -1
- package/dist/chunks/{use-field-context-C4IwmN39.js → use-field-context-1gfMkjvo.js} +2 -2
- package/dist/chunks/{use-field-context-C4IwmN39.js.map → use-field-context-1gfMkjvo.js.map} +1 -1
- package/dist/chunks/{use-field-context-xBX4EpFz.js → use-field-context-DnTe9gdc.js} +2 -2
- package/dist/chunks/{use-field-context-xBX4EpFz.js.map → use-field-context-DnTe9gdc.js.map} +1 -1
- package/dist/chunks/{withFormControl-KA9fAHrR.js → withFormControl-DfqMqkSU.js} +42 -42
- package/dist/chunks/{withFormControl-KA9fAHrR.js.map → withFormControl-DfqMqkSU.js.map} +1 -1
- package/dist/chunks/withFormControl-kyGjRFza.js +2 -0
- package/dist/chunks/{withFormControl-BHjeRAfg.js.map → withFormControl-kyGjRFza.js.map} +1 -1
- package/dist/chunks/{wrap-CYgSj8wY.js → wrap-B8tBNeBY.js} +2 -2
- package/dist/chunks/{wrap-CYgSj8wY.js.map → wrap-B8tBNeBY.js.map} +1 -1
- package/dist/cjs/chakra/index.cjs +1 -1
- package/dist/cjs/chakra/index.cjs.map +1 -1
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/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/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 +196 -197
- 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/Logo/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +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 +89 -91
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/index.js +111 -113
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
- package/dist/types/components/Tooltip/tooltip.component.d.ts +1 -1
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +6 -6
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +2 -2
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +6 -6
- package/package.json +1 -1
- package/dist/chunks/alert.types-DbqCOYr5.js +0 -2
- package/dist/chunks/attr-BMs6szZx.js +0 -2
- package/dist/chunks/attr-BMs6szZx.js.map +0 -1
- package/dist/chunks/attr-sm10PXOd.js +0 -5
- package/dist/chunks/attr-sm10PXOd.js.map +0 -1
- package/dist/chunks/avatar.component-TAfT1LM1.js +0 -2
- package/dist/chunks/characterCounter.component-WOgGxKRq.js +0 -2
- package/dist/chunks/checkbox.component-nkydue0g.js +0 -2
- package/dist/chunks/conversationCard.component-2jO70XtY.js +0 -2
- package/dist/chunks/datePicker.component-CM8TIMiW.js +0 -15
- package/dist/chunks/group-Cv7AQw1b.js +0 -2
- package/dist/chunks/heading.component-Bu1JbEVn.js +0 -12
- package/dist/chunks/heading.component-Bu1JbEVn.js.map +0 -1
- package/dist/chunks/heading.component-wD7BkQLG.js +0 -2
- package/dist/chunks/heading.component-wD7BkQLG.js.map +0 -1
- package/dist/chunks/icon-button-DTZOklQ9.js +0 -119
- package/dist/chunks/icon-button-DTZOklQ9.js.map +0 -1
- package/dist/chunks/icon-button-DtjZ-SdQ.js +0 -2
- package/dist/chunks/icon-button-DtjZ-SdQ.js.map +0 -1
- package/dist/chunks/icon.component-C0e0UGBw.js +0 -2
- package/dist/chunks/icon.component-C0e0UGBw.js.map +0 -1
- package/dist/chunks/icon.component-DGNCL1Yc.js +0 -42
- package/dist/chunks/icon.component-DGNCL1Yc.js.map +0 -1
- package/dist/chunks/index-B4fjIWcA.js +0 -2
- package/dist/chunks/index-B4fjIWcA.js.map +0 -1
- package/dist/chunks/index-CBh9RZVL.js +0 -375
- package/dist/chunks/index-CBh9RZVL.js.map +0 -1
- package/dist/chunks/index-CFnNmQf0.js +0 -2
- package/dist/chunks/index-DZGYG5M4.js +0 -2
- package/dist/chunks/index-DZGYG5M4.js.map +0 -1
- package/dist/chunks/index-f4Ba8Pq7.js +0 -389
- package/dist/chunks/index-f4Ba8Pq7.js.map +0 -1
- package/dist/chunks/menu.component-DllVICUa.js +0 -2
- package/dist/chunks/popover-D0QoPsrG.js +0 -110
- package/dist/chunks/popover-D0QoPsrG.js.map +0 -1
- package/dist/chunks/popover-DPEovmxh.js +0 -2
- package/dist/chunks/popover-DPEovmxh.js.map +0 -1
- package/dist/chunks/popover-root-provider-BYJE5I-P.js +0 -2
- package/dist/chunks/popover-root-provider-BYJE5I-P.js.map +0 -1
- package/dist/chunks/popover-root-provider-Dt02njg5.js +0 -43
- package/dist/chunks/popover-root-provider-Dt02njg5.js.map +0 -1
- package/dist/chunks/popover.component-CLMQkEDo.js +0 -2
- package/dist/chunks/popover.component-CLMQkEDo.js.map +0 -1
- package/dist/chunks/popover.component-MbM0Ajnr.js +0 -264
- package/dist/chunks/popover.component-MbM0Ajnr.js.map +0 -1
- package/dist/chunks/popover.recipe-BLsWPsAa.js +0 -124
- package/dist/chunks/popover.recipe-BLsWPsAa.js.map +0 -1
- package/dist/chunks/popover.recipe-av5Jdn1r.js +0 -2
- package/dist/chunks/popover.recipe-av5Jdn1r.js.map +0 -1
- package/dist/chunks/portal-D2KZrSzZ.js +0 -2301
- package/dist/chunks/portal-D2KZrSzZ.js.map +0 -1
- package/dist/chunks/portal-TWtD47zg.js +0 -22
- package/dist/chunks/portal-TWtD47zg.js.map +0 -1
- package/dist/chunks/radioGroup.component-DAGmgDZ2.js +0 -2
- package/dist/chunks/ratingDots.component-BB7vPYdN.js +0 -2
- package/dist/chunks/select.component-BtBJUTF2.js +0 -2
- package/dist/chunks/spinner-BWqSIW6m.js +0 -8
- package/dist/chunks/spinner-BWqSIW6m.js.map +0 -1
- package/dist/chunks/spinner-BnpL14kK.js +0 -2
- package/dist/chunks/spinner-BnpL14kK.js.map +0 -1
- package/dist/chunks/spinner.component-DVjwuOVs.js +0 -2
- package/dist/chunks/switch.component-DjbXfvMa.js +0 -2
- package/dist/chunks/tagBlock.component-x3oh7uht.js +0 -2
- package/dist/chunks/theme.provider-CpxxMiXd.js +0 -26
- package/dist/chunks/timestamp.component-CfjeVkJs.js +0 -2
- package/dist/chunks/typography-Cqrokog3.js.map +0 -1
- package/dist/chunks/typography-CtiaGoJG.js +0 -2
- package/dist/chunks/typography-CtiaGoJG.js.map +0 -1
- package/dist/chunks/withFormControl-BHjeRAfg.js +0 -2
- package/dist/chunks/withTruncation-CQUQzrTa.js +0 -561
- package/dist/chunks/withTruncation-CQUQzrTa.js.map +0 -1
- package/dist/chunks/withTruncation-DguVvIAI.js +0 -2
- package/dist/chunks/withTruncation-DguVvIAI.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./jsx-runtime-BjDatQAs.js"),m=require("react"),a=require("./withTruncation-DguVvIAI.js"),s=require("./format-BRt-TIiQ.js");function x(t){return s.constructFrom(t,Date.now())}function f(t,e,r){const[n,i]=s.normalizeDates(r?.in,t,e);return+s.startOfDay(n)==+s.startOfDay(i)}function p(t,e){return f(s.constructFrom(t,t),x(t))}const l=({date:t,timeFormat:e="h:mma",dateFormat:r="M/d/yy",shouldTodayDisplayTimeOnly:n=!0,tooltipLabel:i,textProps:c})=>{const u=m.useMemo(()=>s.format(t,p(t)&&n?e:r),[t,r,n,e]);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:u})})};exports.Timestamp=l;
|
|
2
|
-
//# sourceMappingURL=timestamp.component-CfjeVkJs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography-Cqrokog3.js","sources":["../../src/shared/records/typography.ts"],"sourcesContent":["import { SystemStyleObject } from \"@chakra-ui/react/styled-system\";\nimport { TypographyVariant } from \"shared/types/typography\";\nimport { FontWeight } from \"theme/tokens/typography\";\n\nexport const typographyVariantStyles: Record<\n TypographyVariant,\n SystemStyleObject\n> = {\n accent: {\n color: \"text.accent\",\n },\n accentSubtle: {\n color: \"text.accent.subtle\",\n },\n brand: {\n color: \"text.brand\",\n },\n brandOnContrast: {\n color: \"text.brand.contrast\",\n },\n danger: {\n color: \"text.danger\",\n },\n dangerOnContrast: {\n color: \"text.danger.contrast\",\n },\n default: {\n color: \"text.default\",\n },\n info: {\n color: \"text.info\",\n },\n interactive: {\n color: \"text.interactive\",\n _hover: {\n color: \"text.interactive.hover\",\n },\n },\n interactiveOnContrast: {\n color: \"text.interactive.contrast\",\n _hover: {\n color: \"text.interactive.contrast.hover\",\n },\n },\n onContrast: {\n color: \"text.contrast\",\n },\n placeholder: {\n color: \"text.placeholder\",\n },\n placeholderOnContrast: {\n color: \"text.placeholder.contrast\",\n },\n subtle: {\n color: \"text.subtle\",\n },\n subtleOnContrast: {\n color: \"text.subtle.contrast\",\n },\n success: {\n color: \"text.success\",\n },\n warning: {\n color: \"text.warning\",\n },\n};\n\nexport const fontWeightStyles: Record<FontWeight, SystemStyleObject> = {\n normal: { fontWeight: \"normal\" },\n semibold: { fontWeight: \"semibold\" },\n bold: { fontWeight: \"bold\" },\n};\n"],"names":["typographyVariantStyles","fontWeightStyles"],"mappings":"AAIO,MAAMA,IAGT;AAAA,EACF,QAAQ;AAAA,IACN,OAAO;AAAA,EACT;AAAA,EACA,cAAc;AAAA,IACZ,OAAO;AAAA,EACT;AAAA,EACA,OAAO;AAAA,IACL,OAAO;AAAA,EACT;AAAA,EACA,iBAAiB;AAAA,IACf,OAAO;AAAA,EACT;AAAA,EACA,QAAQ;AAAA,IACN,OAAO;AAAA,EACT;AAAA,EACA,kBAAkB;AAAA,IAChB,OAAO;AAAA,EACT;AAAA,EACA,SAAS;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA,MAAM;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA,aAAa;AAAA,IACX,OAAO;AAAA,IACP,QAAQ;AAAA,MACN,OAAO;AAAA,IAAA;AAAA,EAEX;AAAA,EACA,uBAAuB;AAAA,IACrB,OAAO;AAAA,IACP,QAAQ;AAAA,MACN,OAAO;AAAA,IAAA;AAAA,EAEX;AAAA,EACA,YAAY;AAAA,IACV,OAAO;AAAA,EACT;AAAA,EACA,aAAa;AAAA,IACX,OAAO;AAAA,EACT;AAAA,EACA,uBAAuB;AAAA,IACrB,OAAO;AAAA,EACT;AAAA,EACA,QAAQ;AAAA,IACN,OAAO;AAAA,EACT;AAAA,EACA,kBAAkB;AAAA,IAChB,OAAO;AAAA,EACT;AAAA,EACA,SAAS;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA,SAAS;AAAA,IACP,OAAO;AAAA,EAAA;AAEX,GAEaC,IAA0D;AAAA,EACrE,QAAQ,EAAE,YAAY,SAAS;AAAA,EAC/B,UAAU,EAAE,YAAY,WAAW;AAAA,EACnC,MAAM,EAAE,YAAY,OAAO;AAC7B;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const t={accent:{color:"text.accent"},accentSubtle:{color:"text.accent.subtle"},brand:{color:"text.brand"},brandOnContrast:{color:"text.brand.contrast"},danger:{color:"text.danger"},dangerOnContrast:{color:"text.danger.contrast"},default:{color:"text.default"},info:{color:"text.info"},interactive:{color:"text.interactive",_hover:{color:"text.interactive.hover"}},interactiveOnContrast:{color:"text.interactive.contrast",_hover:{color:"text.interactive.contrast.hover"}},onContrast:{color:"text.contrast"},placeholder:{color:"text.placeholder"},placeholderOnContrast:{color:"text.placeholder.contrast"},subtle:{color:"text.subtle"},subtleOnContrast:{color:"text.subtle.contrast"},success:{color:"text.success"},warning:{color:"text.warning"}},o={normal:{fontWeight:"normal"},semibold:{fontWeight:"semibold"},bold:{fontWeight:"bold"}};exports.fontWeightStyles=o;exports.typographyVariantStyles=t;
|
|
2
|
-
//# sourceMappingURL=typography-CtiaGoJG.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography-CtiaGoJG.js","sources":["../../src/shared/records/typography.ts"],"sourcesContent":["import { SystemStyleObject } from \"@chakra-ui/react/styled-system\";\nimport { TypographyVariant } from \"shared/types/typography\";\nimport { FontWeight } from \"theme/tokens/typography\";\n\nexport const typographyVariantStyles: Record<\n TypographyVariant,\n SystemStyleObject\n> = {\n accent: {\n color: \"text.accent\",\n },\n accentSubtle: {\n color: \"text.accent.subtle\",\n },\n brand: {\n color: \"text.brand\",\n },\n brandOnContrast: {\n color: \"text.brand.contrast\",\n },\n danger: {\n color: \"text.danger\",\n },\n dangerOnContrast: {\n color: \"text.danger.contrast\",\n },\n default: {\n color: \"text.default\",\n },\n info: {\n color: \"text.info\",\n },\n interactive: {\n color: \"text.interactive\",\n _hover: {\n color: \"text.interactive.hover\",\n },\n },\n interactiveOnContrast: {\n color: \"text.interactive.contrast\",\n _hover: {\n color: \"text.interactive.contrast.hover\",\n },\n },\n onContrast: {\n color: \"text.contrast\",\n },\n placeholder: {\n color: \"text.placeholder\",\n },\n placeholderOnContrast: {\n color: \"text.placeholder.contrast\",\n },\n subtle: {\n color: \"text.subtle\",\n },\n subtleOnContrast: {\n color: \"text.subtle.contrast\",\n },\n success: {\n color: \"text.success\",\n },\n warning: {\n color: \"text.warning\",\n },\n};\n\nexport const fontWeightStyles: Record<FontWeight, SystemStyleObject> = {\n normal: { fontWeight: \"normal\" },\n semibold: { fontWeight: \"semibold\" },\n bold: { fontWeight: \"bold\" },\n};\n"],"names":["typographyVariantStyles","fontWeightStyles"],"mappings":"aAIO,MAAMA,EAGT,CACF,OAAQ,CACN,MAAO,aACT,EACA,aAAc,CACZ,MAAO,oBACT,EACA,MAAO,CACL,MAAO,YACT,EACA,gBAAiB,CACf,MAAO,qBACT,EACA,OAAQ,CACN,MAAO,aACT,EACA,iBAAkB,CAChB,MAAO,sBACT,EACA,QAAS,CACP,MAAO,cACT,EACA,KAAM,CACJ,MAAO,WACT,EACA,YAAa,CACX,MAAO,mBACP,OAAQ,CACN,MAAO,wBAAA,CAEX,EACA,sBAAuB,CACrB,MAAO,4BACP,OAAQ,CACN,MAAO,iCAAA,CAEX,EACA,WAAY,CACV,MAAO,eACT,EACA,YAAa,CACX,MAAO,kBACT,EACA,sBAAuB,CACrB,MAAO,2BACT,EACA,OAAQ,CACN,MAAO,aACT,EACA,iBAAkB,CAChB,MAAO,sBACT,EACA,QAAS,CACP,MAAO,cACT,EACA,QAAS,CACP,MAAO,cAAA,CAEX,EAEaC,EAA0D,CACrE,OAAQ,CAAE,WAAY,QAAS,EAC/B,SAAU,CAAE,WAAY,UAAW,EACnC,KAAM,CAAE,WAAY,MAAO,CAC7B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./jsx-runtime-BjDatQAs.js"),Z=require("./withTruncation-DguVvIAI.js"),h=require("./typography.records-BeoK0Uyj.js"),G=require("./icon.component-C0e0UGBw.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-xBX4EpFz.js"),F=require("./portal-TWtD47zg.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 _=l.getWindow(j),A=_.document,S=()=>{p(!!A.getElementById(f)),b(!!A.getElementById(u))};S();const M=new _.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:q,useStyles:oe,useClassNames:ae}=J.createSlotRecipeContext({key:"field"}),ne=se($,"root",{forwardAsChild:!0}),ie=q(O,"label",{forwardAsChild:!0}),le=q(L,"helperText",{forwardAsChild:!0}),de=q(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-BHjeRAfg.js.map
|
|
@@ -1,561 +0,0 @@
|
|
|
1
|
-
import { j as s } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { forwardRef as g, useId as Y, memo as y, useState as z, useRef as N, useCallback as q, useEffect as J } from "react";
|
|
3
|
-
import { B as K } from "./box-Ck9I7FYv.js";
|
|
4
|
-
import { c as Q } from "./create-recipe-context-D7FewUR4.js";
|
|
5
|
-
import { c as X, f as O, u as k, h as Z, g as x, d as ee, b as te, i as oe, j as re, k as ne, n as se, s as L, l as I, m as H, P as ie } from "./portal-D2KZrSzZ.js";
|
|
6
|
-
import { c as ae } from "./create-slot-recipe-context-BJmsuxih.js";
|
|
7
|
-
import { a1 as u, c as ce, z as le, t as de, b as pe } from "./index-C323eOJV.js";
|
|
8
|
-
const { withContext: ue } = Q({
|
|
9
|
-
key: "text"
|
|
10
|
-
}), ge = ue("p"), [D, C] = X({
|
|
11
|
-
name: "HoverCardContext",
|
|
12
|
-
hookName: "useHoverCardContext",
|
|
13
|
-
providerName: "<HoverCardProvider />"
|
|
14
|
-
}), _ = g((e, t) => {
|
|
15
|
-
const o = C(), r = u(o.getArrowProps(), e);
|
|
16
|
-
return /* @__PURE__ */ s.jsx(O.div, { ...r, ref: t });
|
|
17
|
-
});
|
|
18
|
-
_.displayName = "HoverCardArrow";
|
|
19
|
-
const j = g((e, t) => {
|
|
20
|
-
const o = C(), r = u(o.getArrowTipProps(), e);
|
|
21
|
-
return /* @__PURE__ */ s.jsx(O.div, { ...r, ref: t });
|
|
22
|
-
});
|
|
23
|
-
j.displayName = "HoverCardArrowTip";
|
|
24
|
-
const A = g((e, t) => {
|
|
25
|
-
const o = C(), r = k(), n = u(o.getContentProps(), r.getPresenceProps(), e);
|
|
26
|
-
return r.unmounted ? null : /* @__PURE__ */ s.jsx(O.div, { ...n, ref: Z(r.ref, t) });
|
|
27
|
-
});
|
|
28
|
-
A.displayName = "HoverCardContent";
|
|
29
|
-
const Ce = (e) => e.children(C()), S = g((e, t) => {
|
|
30
|
-
const o = C(), r = u(o.getPositionerProps(), e);
|
|
31
|
-
return k().unmounted ? null : /* @__PURE__ */ s.jsx(O.div, { ...r, ref: t });
|
|
32
|
-
});
|
|
33
|
-
S.displayName = "HoverCardPositioner";
|
|
34
|
-
var Pe = pe("hoverCard").parts("arrow", "arrowTip", "trigger", "positioner", "content"), v = Pe.build(), $ = (e) => e.ids?.trigger ?? `hover-card:${e.id}:trigger`, G = (e) => e.ids?.content ?? `hover-card:${e.id}:content`, F = (e) => e.ids?.positioner ?? `hover-card:${e.id}:popper`, ve = (e) => e.ids?.arrow ?? `hover-card:${e.id}:arrow`, w = (e) => e.getById($(e)), Oe = (e) => e.getById(G(e)), R = (e) => e.getById(F(e));
|
|
35
|
-
function me(e, t) {
|
|
36
|
-
const { state: o, send: r, prop: n, context: a, scope: c } = e, l = o.hasTag("open"), d = ee({
|
|
37
|
-
...n("positioning"),
|
|
38
|
-
placement: a.get("currentPlacement")
|
|
39
|
-
});
|
|
40
|
-
return {
|
|
41
|
-
open: l,
|
|
42
|
-
setOpen(i) {
|
|
43
|
-
o.hasTag("open") !== i && r({ type: i ? "OPEN" : "CLOSE" });
|
|
44
|
-
},
|
|
45
|
-
reposition(i = {}) {
|
|
46
|
-
r({ type: "POSITIONING.SET", options: i });
|
|
47
|
-
},
|
|
48
|
-
getArrowProps() {
|
|
49
|
-
return t.element({
|
|
50
|
-
id: ve(c),
|
|
51
|
-
...v.arrow.attrs,
|
|
52
|
-
dir: n("dir"),
|
|
53
|
-
style: d.arrow
|
|
54
|
-
});
|
|
55
|
-
},
|
|
56
|
-
getArrowTipProps() {
|
|
57
|
-
return t.element({
|
|
58
|
-
...v.arrowTip.attrs,
|
|
59
|
-
dir: n("dir"),
|
|
60
|
-
style: d.arrowTip
|
|
61
|
-
});
|
|
62
|
-
},
|
|
63
|
-
getTriggerProps() {
|
|
64
|
-
return t.element({
|
|
65
|
-
...v.trigger.attrs,
|
|
66
|
-
dir: n("dir"),
|
|
67
|
-
"data-placement": a.get("currentPlacement"),
|
|
68
|
-
id: $(c),
|
|
69
|
-
"data-state": l ? "open" : "closed",
|
|
70
|
-
onPointerEnter(i) {
|
|
71
|
-
i.pointerType !== "touch" && r({ type: "POINTER_ENTER", src: "trigger" });
|
|
72
|
-
},
|
|
73
|
-
onPointerLeave(i) {
|
|
74
|
-
i.pointerType !== "touch" && r({ type: "POINTER_LEAVE", src: "trigger" });
|
|
75
|
-
},
|
|
76
|
-
onFocus() {
|
|
77
|
-
r({ type: "TRIGGER_FOCUS" });
|
|
78
|
-
},
|
|
79
|
-
onBlur() {
|
|
80
|
-
r({ type: "TRIGGER_BLUR" });
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
},
|
|
84
|
-
getPositionerProps() {
|
|
85
|
-
return t.element({
|
|
86
|
-
id: F(c),
|
|
87
|
-
...v.positioner.attrs,
|
|
88
|
-
dir: n("dir"),
|
|
89
|
-
style: d.floating
|
|
90
|
-
});
|
|
91
|
-
},
|
|
92
|
-
getContentProps() {
|
|
93
|
-
return t.element({
|
|
94
|
-
...v.content.attrs,
|
|
95
|
-
dir: n("dir"),
|
|
96
|
-
id: G(c),
|
|
97
|
-
hidden: !l,
|
|
98
|
-
tabIndex: -1,
|
|
99
|
-
"data-state": l ? "open" : "closed",
|
|
100
|
-
"data-placement": a.get("currentPlacement"),
|
|
101
|
-
onPointerEnter(i) {
|
|
102
|
-
i.pointerType !== "touch" && r({ type: "POINTER_ENTER", src: "content" });
|
|
103
|
-
},
|
|
104
|
-
onPointerLeave(i) {
|
|
105
|
-
i.pointerType !== "touch" && r({ type: "POINTER_LEAVE", src: "content" });
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
var { not: E, and: b } = le(), Te = ce({
|
|
112
|
-
props({ props: e }) {
|
|
113
|
-
return {
|
|
114
|
-
openDelay: 700,
|
|
115
|
-
closeDelay: 300,
|
|
116
|
-
...e,
|
|
117
|
-
positioning: {
|
|
118
|
-
placement: "bottom",
|
|
119
|
-
...e.positioning
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
},
|
|
123
|
-
initialState({ prop: e }) {
|
|
124
|
-
return e("open") || e("defaultOpen") ? "open" : "closed";
|
|
125
|
-
},
|
|
126
|
-
context({ prop: e, bindable: t }) {
|
|
127
|
-
return {
|
|
128
|
-
open: t(() => ({
|
|
129
|
-
defaultValue: e("defaultOpen"),
|
|
130
|
-
value: e("open"),
|
|
131
|
-
onChange(o) {
|
|
132
|
-
e("onOpenChange")?.({ open: o });
|
|
133
|
-
}
|
|
134
|
-
})),
|
|
135
|
-
currentPlacement: t(() => ({
|
|
136
|
-
defaultValue: void 0
|
|
137
|
-
})),
|
|
138
|
-
isPointer: t(() => ({
|
|
139
|
-
defaultValue: !1
|
|
140
|
-
}))
|
|
141
|
-
};
|
|
142
|
-
},
|
|
143
|
-
watch({ track: e, context: t, action: o }) {
|
|
144
|
-
e([() => t.get("open")], () => {
|
|
145
|
-
o(["toggleVisibility"]);
|
|
146
|
-
});
|
|
147
|
-
},
|
|
148
|
-
states: {
|
|
149
|
-
closed: {
|
|
150
|
-
tags: ["closed"],
|
|
151
|
-
entry: ["clearIsPointer"],
|
|
152
|
-
on: {
|
|
153
|
-
"CONTROLLED.OPEN": {
|
|
154
|
-
target: "open"
|
|
155
|
-
},
|
|
156
|
-
POINTER_ENTER: {
|
|
157
|
-
target: "opening",
|
|
158
|
-
actions: ["setIsPointer"]
|
|
159
|
-
},
|
|
160
|
-
TRIGGER_FOCUS: {
|
|
161
|
-
target: "opening"
|
|
162
|
-
},
|
|
163
|
-
OPEN: {
|
|
164
|
-
target: "opening"
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
opening: {
|
|
169
|
-
tags: ["closed"],
|
|
170
|
-
effects: ["waitForOpenDelay"],
|
|
171
|
-
on: {
|
|
172
|
-
OPEN_DELAY: [
|
|
173
|
-
{
|
|
174
|
-
guard: "isOpenControlled",
|
|
175
|
-
actions: ["invokeOnOpen"]
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
target: "open",
|
|
179
|
-
actions: ["invokeOnOpen"]
|
|
180
|
-
}
|
|
181
|
-
],
|
|
182
|
-
"CONTROLLED.OPEN": {
|
|
183
|
-
target: "open"
|
|
184
|
-
},
|
|
185
|
-
"CONTROLLED.CLOSE": {
|
|
186
|
-
target: "closed"
|
|
187
|
-
},
|
|
188
|
-
POINTER_LEAVE: [
|
|
189
|
-
{
|
|
190
|
-
guard: "isOpenControlled",
|
|
191
|
-
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
192
|
-
actions: ["invokeOnClose", "toggleVisibility"]
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
target: "closed",
|
|
196
|
-
actions: ["invokeOnClose"]
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
TRIGGER_BLUR: [
|
|
200
|
-
{
|
|
201
|
-
guard: b("isOpenControlled", E("isPointer")),
|
|
202
|
-
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
203
|
-
actions: ["invokeOnClose", "toggleVisibility"]
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
guard: E("isPointer"),
|
|
207
|
-
target: "closed",
|
|
208
|
-
actions: ["invokeOnClose"]
|
|
209
|
-
}
|
|
210
|
-
],
|
|
211
|
-
CLOSE: [
|
|
212
|
-
{
|
|
213
|
-
guard: "isOpenControlled",
|
|
214
|
-
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
215
|
-
actions: ["invokeOnClose", "toggleVisibility"]
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
target: "closed",
|
|
219
|
-
actions: ["invokeOnClose"]
|
|
220
|
-
}
|
|
221
|
-
]
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
open: {
|
|
225
|
-
tags: ["open"],
|
|
226
|
-
effects: ["trackDismissableElement", "trackPositioning"],
|
|
227
|
-
on: {
|
|
228
|
-
"CONTROLLED.CLOSE": {
|
|
229
|
-
target: "closed"
|
|
230
|
-
},
|
|
231
|
-
POINTER_ENTER: {
|
|
232
|
-
actions: ["setIsPointer"]
|
|
233
|
-
},
|
|
234
|
-
POINTER_LEAVE: {
|
|
235
|
-
target: "closing"
|
|
236
|
-
},
|
|
237
|
-
CLOSE: [
|
|
238
|
-
{
|
|
239
|
-
guard: "isOpenControlled",
|
|
240
|
-
actions: ["invokeOnClose"]
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
target: "closed",
|
|
244
|
-
actions: ["invokeOnClose"]
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
TRIGGER_BLUR: [
|
|
248
|
-
{
|
|
249
|
-
guard: b("isOpenControlled", E("isPointer")),
|
|
250
|
-
actions: ["invokeOnClose"]
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
guard: E("isPointer"),
|
|
254
|
-
target: "closed",
|
|
255
|
-
actions: ["invokeOnClose"]
|
|
256
|
-
}
|
|
257
|
-
],
|
|
258
|
-
"POSITIONING.SET": {
|
|
259
|
-
actions: ["reposition"]
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
closing: {
|
|
264
|
-
tags: ["open"],
|
|
265
|
-
effects: ["trackPositioning", "waitForCloseDelay"],
|
|
266
|
-
on: {
|
|
267
|
-
CLOSE_DELAY: [
|
|
268
|
-
{
|
|
269
|
-
guard: "isOpenControlled",
|
|
270
|
-
actions: ["invokeOnClose"]
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
target: "closed",
|
|
274
|
-
actions: ["invokeOnClose"]
|
|
275
|
-
}
|
|
276
|
-
],
|
|
277
|
-
"CONTROLLED.CLOSE": {
|
|
278
|
-
target: "closed"
|
|
279
|
-
},
|
|
280
|
-
"CONTROLLED.OPEN": {
|
|
281
|
-
target: "open"
|
|
282
|
-
},
|
|
283
|
-
POINTER_ENTER: {
|
|
284
|
-
target: "open",
|
|
285
|
-
// no need to invokeOnOpen here because it's still open (but about to close)
|
|
286
|
-
actions: ["setIsPointer"]
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
implementations: {
|
|
292
|
-
guards: {
|
|
293
|
-
isPointer: ({ context: e }) => !!e.get("isPointer"),
|
|
294
|
-
isOpenControlled: ({ prop: e }) => e("open") != null
|
|
295
|
-
},
|
|
296
|
-
effects: {
|
|
297
|
-
waitForOpenDelay({ send: e, prop: t }) {
|
|
298
|
-
const o = setTimeout(() => {
|
|
299
|
-
e({ type: "OPEN_DELAY" });
|
|
300
|
-
}, t("openDelay"));
|
|
301
|
-
return () => clearTimeout(o);
|
|
302
|
-
},
|
|
303
|
-
waitForCloseDelay({ send: e, prop: t }) {
|
|
304
|
-
const o = setTimeout(() => {
|
|
305
|
-
e({ type: "CLOSE_DELAY" });
|
|
306
|
-
}, t("closeDelay"));
|
|
307
|
-
return () => clearTimeout(o);
|
|
308
|
-
},
|
|
309
|
-
trackPositioning({ context: e, prop: t, scope: o }) {
|
|
310
|
-
e.get("currentPlacement") || e.set("currentPlacement", t("positioning").placement);
|
|
311
|
-
const r = () => R(o);
|
|
312
|
-
return x(w(o), r, {
|
|
313
|
-
...t("positioning"),
|
|
314
|
-
defer: !0,
|
|
315
|
-
onComplete(n) {
|
|
316
|
-
e.set("currentPlacement", n.placement);
|
|
317
|
-
}
|
|
318
|
-
});
|
|
319
|
-
},
|
|
320
|
-
trackDismissableElement({ send: e, scope: t, prop: o }) {
|
|
321
|
-
return de(() => Oe(t), {
|
|
322
|
-
defer: !0,
|
|
323
|
-
exclude: [w(t)],
|
|
324
|
-
onDismiss() {
|
|
325
|
-
e({ type: "CLOSE", src: "interact-outside" });
|
|
326
|
-
},
|
|
327
|
-
onInteractOutside: o("onInteractOutside"),
|
|
328
|
-
onPointerDownOutside: o("onPointerDownOutside"),
|
|
329
|
-
onFocusOutside(n) {
|
|
330
|
-
n.preventDefault(), o("onFocusOutside")?.(n);
|
|
331
|
-
}
|
|
332
|
-
});
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
actions: {
|
|
336
|
-
invokeOnClose({ prop: e }) {
|
|
337
|
-
e("onOpenChange")?.({ open: !1 });
|
|
338
|
-
},
|
|
339
|
-
invokeOnOpen({ prop: e }) {
|
|
340
|
-
e("onOpenChange")?.({ open: !0 });
|
|
341
|
-
},
|
|
342
|
-
setIsPointer({ context: e }) {
|
|
343
|
-
e.set("isPointer", !0);
|
|
344
|
-
},
|
|
345
|
-
clearIsPointer({ context: e }) {
|
|
346
|
-
e.set("isPointer", !1);
|
|
347
|
-
},
|
|
348
|
-
reposition({ context: e, prop: t, scope: o, event: r }) {
|
|
349
|
-
const n = () => R(o);
|
|
350
|
-
x(w(o), n, {
|
|
351
|
-
...t("positioning"),
|
|
352
|
-
...r.options,
|
|
353
|
-
defer: !0,
|
|
354
|
-
listeners: !1,
|
|
355
|
-
onComplete(a) {
|
|
356
|
-
e.set("currentPlacement", a.placement);
|
|
357
|
-
}
|
|
358
|
-
});
|
|
359
|
-
},
|
|
360
|
-
toggleVisibility({ prop: e, event: t, send: o }) {
|
|
361
|
-
queueMicrotask(() => {
|
|
362
|
-
o({ type: e("open") ? "CONTROLLED.OPEN" : "CONTROLLED.CLOSE", previousEvent: t });
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
});
|
|
368
|
-
te()([
|
|
369
|
-
"closeDelay",
|
|
370
|
-
"dir",
|
|
371
|
-
"getRootNode",
|
|
372
|
-
"id",
|
|
373
|
-
"ids",
|
|
374
|
-
"onOpenChange",
|
|
375
|
-
"defaultOpen",
|
|
376
|
-
"open",
|
|
377
|
-
"openDelay",
|
|
378
|
-
"positioning",
|
|
379
|
-
"onInteractOutside",
|
|
380
|
-
"onPointerDownOutside",
|
|
381
|
-
"onFocusOutside"
|
|
382
|
-
]);
|
|
383
|
-
const Ee = (e) => {
|
|
384
|
-
const t = Y(), { getRootNode: o } = oe(), { dir: r } = re(), n = {
|
|
385
|
-
id: t,
|
|
386
|
-
dir: r,
|
|
387
|
-
getRootNode: o,
|
|
388
|
-
...e
|
|
389
|
-
}, a = ne(Te, n);
|
|
390
|
-
return me(a, se);
|
|
391
|
-
}, fe = (e) => {
|
|
392
|
-
const [t, { children: o, ...r }] = L(e), n = Ee(r), a = I(u({ present: n.open }, t));
|
|
393
|
-
return /* @__PURE__ */ s.jsx(D, { value: n, children: /* @__PURE__ */ s.jsx(H, { value: a, children: o }) });
|
|
394
|
-
}, he = (e) => {
|
|
395
|
-
const [t, { value: o, children: r }] = L(e), n = I(u({ present: o.open }, t));
|
|
396
|
-
return /* @__PURE__ */ s.jsx(D, { value: o, children: /* @__PURE__ */ s.jsx(H, { value: n, children: r }) });
|
|
397
|
-
}, V = g((e, t) => {
|
|
398
|
-
const o = C(), r = u(o.getTriggerProps(), e);
|
|
399
|
-
return /* @__PURE__ */ s.jsx(O.button, { ...r, ref: t });
|
|
400
|
-
});
|
|
401
|
-
V.displayName = "HoverCardTrigger";
|
|
402
|
-
const {
|
|
403
|
-
withRootProvider: B,
|
|
404
|
-
withContext: m,
|
|
405
|
-
PropsProvider: we
|
|
406
|
-
} = ae({ key: "hoverCard" }), $e = B(he), ye = B(
|
|
407
|
-
fe
|
|
408
|
-
), Ge = we, Ne = m(V, "trigger", { forwardAsChild: !0 }), xe = m(S, "positioner", { forwardAsChild: !0 }), Re = m(A, "content", { forwardAsChild: !0 }), U = m(j, "arrowTip", { forwardAsChild: !0 }), be = m(
|
|
409
|
-
_,
|
|
410
|
-
"arrow",
|
|
411
|
-
{
|
|
412
|
-
forwardAsChild: !0,
|
|
413
|
-
defaultProps: { children: /* @__PURE__ */ s.jsx(U, {}) }
|
|
414
|
-
}
|
|
415
|
-
), Fe = Ce, M = ({ children: e, ...t }) => /* @__PURE__ */ s.jsx(ge, { className: "Text", "data-testid": "kibble-text", ...t, children: e });
|
|
416
|
-
M.displayName = "Text";
|
|
417
|
-
const ke = Le(M), W = g(
|
|
418
|
-
(e, t) => {
|
|
419
|
-
const {
|
|
420
|
-
children: o,
|
|
421
|
-
disabled: r = !1,
|
|
422
|
-
openDelay: n = 350,
|
|
423
|
-
placement: a = "top",
|
|
424
|
-
positioning: c,
|
|
425
|
-
portalled: l = !0,
|
|
426
|
-
label: d,
|
|
427
|
-
...i
|
|
428
|
-
} = e;
|
|
429
|
-
return r ? o : /* @__PURE__ */ s.jsxs(
|
|
430
|
-
ye,
|
|
431
|
-
{
|
|
432
|
-
openDelay: n,
|
|
433
|
-
positioning: {
|
|
434
|
-
...c,
|
|
435
|
-
placement: c?.placement || a
|
|
436
|
-
},
|
|
437
|
-
...i,
|
|
438
|
-
children: [
|
|
439
|
-
/* @__PURE__ */ s.jsx(
|
|
440
|
-
Ne,
|
|
441
|
-
{
|
|
442
|
-
asChild: !0,
|
|
443
|
-
className: "Tooltip__Trigger",
|
|
444
|
-
"data-testid": "kibble-tooltip-trigger",
|
|
445
|
-
display: "inline-block",
|
|
446
|
-
children: o
|
|
447
|
-
}
|
|
448
|
-
),
|
|
449
|
-
/* @__PURE__ */ s.jsx(ie, { disabled: !l, children: /* @__PURE__ */ s.jsx(
|
|
450
|
-
xe,
|
|
451
|
-
{
|
|
452
|
-
className: "Tooltip",
|
|
453
|
-
"data-testid": "kibble-tooltip",
|
|
454
|
-
children: /* @__PURE__ */ s.jsxs(
|
|
455
|
-
Re,
|
|
456
|
-
{
|
|
457
|
-
className: "Tooltip__Content",
|
|
458
|
-
"data-testid": "kibble-tooltip-content",
|
|
459
|
-
ref: t,
|
|
460
|
-
p: 2,
|
|
461
|
-
w: "auto",
|
|
462
|
-
border: "none",
|
|
463
|
-
boxShadow: "none",
|
|
464
|
-
children: [
|
|
465
|
-
/* @__PURE__ */ s.jsx(
|
|
466
|
-
be,
|
|
467
|
-
{
|
|
468
|
-
className: "Tooltip__Arrow",
|
|
469
|
-
"data-testid": "kibble-tooltip-arrow",
|
|
470
|
-
css: { "--arrow-size": "10px" },
|
|
471
|
-
children: /* @__PURE__ */ s.jsx(U, { border: "none" })
|
|
472
|
-
}
|
|
473
|
-
),
|
|
474
|
-
/* @__PURE__ */ s.jsx(ke, { variant: "onContrast", size: "sm", truncate: !1, children: d })
|
|
475
|
-
]
|
|
476
|
-
}
|
|
477
|
-
)
|
|
478
|
-
}
|
|
479
|
-
) })
|
|
480
|
-
]
|
|
481
|
-
}
|
|
482
|
-
);
|
|
483
|
-
}
|
|
484
|
-
);
|
|
485
|
-
W.displayName = "Tooltip";
|
|
486
|
-
const Le = (e) => {
|
|
487
|
-
const t = y(e);
|
|
488
|
-
function o({
|
|
489
|
-
truncated: r = !1,
|
|
490
|
-
noOfLines: n = 1,
|
|
491
|
-
children: a,
|
|
492
|
-
tooltipProps: c,
|
|
493
|
-
...l
|
|
494
|
-
}) {
|
|
495
|
-
const [d, i] = z(!1), p = N(null), T = N(null), f = q(() => {
|
|
496
|
-
if (p.current) {
|
|
497
|
-
const P = p.current?.children[0].scrollHeight || 0, h = p.current?.offsetHeight || 0;
|
|
498
|
-
i(P > h);
|
|
499
|
-
}
|
|
500
|
-
}, []);
|
|
501
|
-
return J(() => {
|
|
502
|
-
if (r && p.current) {
|
|
503
|
-
let P;
|
|
504
|
-
const h = () => {
|
|
505
|
-
window.clearTimeout(P), P = window.setTimeout(f, 100);
|
|
506
|
-
};
|
|
507
|
-
return T.current = new ResizeObserver(() => {
|
|
508
|
-
h();
|
|
509
|
-
}), T.current.observe(p.current), f(), () => {
|
|
510
|
-
window.clearTimeout(P), T.current && T.current.disconnect();
|
|
511
|
-
};
|
|
512
|
-
}
|
|
513
|
-
}, [r, f]), r ? /* @__PURE__ */ s.jsx(
|
|
514
|
-
W,
|
|
515
|
-
{
|
|
516
|
-
...c,
|
|
517
|
-
label: c?.label || a?.toLocaleString() || "",
|
|
518
|
-
disabled: !d,
|
|
519
|
-
"data-testid": "kibble-truncated-text-tooltip",
|
|
520
|
-
children: /* @__PURE__ */ s.jsx(
|
|
521
|
-
K,
|
|
522
|
-
{
|
|
523
|
-
ref: p,
|
|
524
|
-
display: "inline-block",
|
|
525
|
-
position: "relative",
|
|
526
|
-
className: "TruncatedText__Wrapper",
|
|
527
|
-
"data-testid": "kibble-truncated-text-wrapper",
|
|
528
|
-
children: /* @__PURE__ */ s.jsx(
|
|
529
|
-
t,
|
|
530
|
-
{
|
|
531
|
-
className: "TruncatedText__TextContent",
|
|
532
|
-
"data-testid": "kibble-truncated-text-content",
|
|
533
|
-
lineClamp: n,
|
|
534
|
-
...l,
|
|
535
|
-
children: a
|
|
536
|
-
}
|
|
537
|
-
)
|
|
538
|
-
}
|
|
539
|
-
)
|
|
540
|
-
}
|
|
541
|
-
) : /* @__PURE__ */ s.jsx(t, { ...l, children: a });
|
|
542
|
-
}
|
|
543
|
-
return o.displayName = `withTruncation(${e.displayName || e.name}`, y(o);
|
|
544
|
-
};
|
|
545
|
-
export {
|
|
546
|
-
be as H,
|
|
547
|
-
W as T,
|
|
548
|
-
ke as W,
|
|
549
|
-
U as a,
|
|
550
|
-
Re as b,
|
|
551
|
-
Fe as c,
|
|
552
|
-
xe as d,
|
|
553
|
-
Ge as e,
|
|
554
|
-
ye as f,
|
|
555
|
-
$e as g,
|
|
556
|
-
Ne as h,
|
|
557
|
-
Pe as i,
|
|
558
|
-
C as u,
|
|
559
|
-
Le as w
|
|
560
|
-
};
|
|
561
|
-
//# sourceMappingURL=withTruncation-CQUQzrTa.js.map
|