@televet/kibble-ui 4.0.0-beta.62 → 4.0.0-beta.63
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-Drmhsarm.js → alert.types-D-Oi8lzU.js} +2 -2
- package/dist/chunks/{alert.types-Drmhsarm.js.map → alert.types-D-Oi8lzU.js.map} +1 -1
- package/dist/chunks/{alert.types-DzQFs0lR.js → alert.types-QjdV89J8.js} +3 -3
- package/dist/chunks/{alert.types-DzQFs0lR.js.map → alert.types-QjdV89J8.js.map} +1 -1
- package/dist/chunks/avatar.component-Bx-G6wRN.js +2 -0
- package/dist/chunks/{avatar.component-BsLD7swi.js.map → avatar.component-Bx-G6wRN.js.map} +1 -1
- package/dist/chunks/{avatar.component-BvnohMit.js → avatar.component-DhnsK_Su.js} +14 -14
- package/dist/chunks/{avatar.component-BvnohMit.js.map → avatar.component-DhnsK_Su.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-BlBlSEzG.js → avatarGroup.component-BuIOss-r.js} +2 -2
- package/dist/chunks/{avatarGroup.component-BlBlSEzG.js.map → avatarGroup.component-BuIOss-r.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-DIFhg6s2.js → avatarGroup.component-DQ-llmL4.js} +2 -2
- package/dist/chunks/{avatarGroup.component-DIFhg6s2.js.map → avatarGroup.component-DQ-llmL4.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-JGTE03ym.js → buttonGroup.component-BniN5aY0.js} +2 -2
- package/dist/chunks/{buttonGroup.component-JGTE03ym.js.map → buttonGroup.component-BniN5aY0.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-C7fLZ6bu.js → buttonGroup.component-CUgf40bo.js} +2 -2
- package/dist/chunks/{buttonGroup.component-C7fLZ6bu.js.map → buttonGroup.component-CUgf40bo.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-Bw5t3Lme.js → characterCounter.component-0krhcDgO.js} +3 -3
- package/dist/chunks/{characterCounter.component-Bw5t3Lme.js.map → characterCounter.component-0krhcDgO.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-TfF2D3d5.js → characterCounter.component-C5Ju67wX.js} +2 -2
- package/dist/chunks/{characterCounter.component-TfF2D3d5.js.map → characterCounter.component-C5Ju67wX.js.map} +1 -1
- package/dist/chunks/checkbox.component-CanZsQHo.js +2 -0
- package/dist/chunks/{checkbox.component-CcG-gktf.js.map → checkbox.component-CanZsQHo.js.map} +1 -1
- package/dist/chunks/{checkbox.component-BkZ5Vryu.js → checkbox.component-D1hf8o_B.js} +10 -10
- package/dist/chunks/{checkbox.component-BkZ5Vryu.js.map → checkbox.component-D1hf8o_B.js.map} +1 -1
- package/dist/chunks/{checkbox.records-CIoa-J68.js → checkbox.records-BtLBaHBy.js} +12 -12
- package/dist/chunks/{checkbox.records-CIoa-J68.js.map → checkbox.records-BtLBaHBy.js.map} +1 -1
- package/dist/chunks/checkbox.records-wbkLltak.js +2 -0
- package/dist/chunks/{checkbox.records-FPSZIvGa.js.map → checkbox.records-wbkLltak.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-DlhqnGf3.js → checkboxGroup.component-CfynWbnU.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-DlhqnGf3.js.map → checkboxGroup.component-CfynWbnU.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-B6mGFJjN.js → checkboxGroup.component-yDUy5BQi.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-B6mGFJjN.js.map → checkboxGroup.component-yDUy5BQi.js.map} +1 -1
- package/dist/chunks/{config-DlTdf-Yt.js → config-B1FINd7s.js} +3 -3
- package/dist/chunks/{config-DlTdf-Yt.js.map → config-B1FINd7s.js.map} +1 -1
- package/dist/chunks/conversationCard.component-C5lvyhtU.js +2 -0
- package/dist/chunks/{conversationCard.component-BpJWXB1C.js.map → conversationCard.component-C5lvyhtU.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-CLDj5iM-.js → conversationCard.component-E9e_Kl-G.js} +17 -18
- package/dist/chunks/{conversationCard.component-CLDj5iM-.js.map → conversationCard.component-E9e_Kl-G.js.map} +1 -1
- package/dist/chunks/{datePicker.component-C7nA5KqB.js → datePicker.component-Cv88ibpq.js} +8 -8
- package/dist/chunks/{datePicker.component-C7nA5KqB.js.map → datePicker.component-Cv88ibpq.js.map} +1 -1
- package/dist/chunks/datePicker.component-DabILO51.js +15 -0
- package/dist/chunks/{datePicker.component-B_LcrVdQ.js.map → datePicker.component-DabILO51.js.map} +1 -1
- package/dist/chunks/dialog-trigger-BCeZGpGO.js +2 -0
- package/dist/chunks/{dialog-trigger-B5NK0lr-.js.map → dialog-trigger-BCeZGpGO.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-BPlPzPU-.js → dialog-trigger-D2uDgMJr.js} +9 -9
- package/dist/chunks/{dialog-trigger-BPlPzPU-.js.map → dialog-trigger-D2uDgMJr.js.map} +1 -1
- package/dist/chunks/{heading.component-Dbv1l38e.js → heading.component-CcrIqjxB.js} +2 -2
- package/dist/chunks/{heading.component-Dbv1l38e.js.map → heading.component-CcrIqjxB.js.map} +1 -1
- package/dist/chunks/{heading.component-CSfaj4T8.js → heading.component-DZ7kmGcE.js} +2 -2
- package/dist/chunks/{heading.component-CSfaj4T8.js.map → heading.component-DZ7kmGcE.js.map} +1 -1
- package/dist/chunks/index-5cRW642o.js +2 -0
- package/dist/chunks/{index-DTJtldfK.js.map → index-5cRW642o.js.map} +1 -1
- package/dist/chunks/index-B4fjIWcA.js +2 -0
- package/dist/chunks/{index-CZz7hHWb.js.map → index-B4fjIWcA.js.map} +1 -1
- package/dist/chunks/index-BfD9Ne2e.js +2 -0
- package/dist/chunks/{index-BYf7SZUC.js.map → index-BfD9Ne2e.js.map} +1 -1
- package/dist/chunks/index-BlGAWSIX.js +3 -0
- package/dist/chunks/index-BlGAWSIX.js.map +1 -0
- package/dist/chunks/index-BmcSWiFh.js +2 -0
- package/dist/chunks/{index-ZaGEDS_0.js.map → index-BmcSWiFh.js.map} +1 -1
- package/dist/chunks/index-C323eOJV.js +1328 -0
- package/dist/chunks/index-C323eOJV.js.map +1 -0
- package/dist/chunks/{index-BNYygzo-.js → index-CBh9RZVL.js} +17 -18
- package/dist/chunks/{index-BNYygzo-.js.map → index-CBh9RZVL.js.map} +1 -1
- package/dist/chunks/index-CEYJbpt4.js +2 -0
- package/dist/chunks/{index-BDnnTdaJ.js.map → index-CEYJbpt4.js.map} +1 -1
- package/dist/chunks/index-CFnNmQf0.js +2 -0
- package/dist/chunks/{index-MlhL0PDC.js.map → index-CFnNmQf0.js.map} +1 -1
- package/dist/chunks/{index-Co91SHhW.js → index-CZPHIn6T.js} +3 -3
- package/dist/chunks/{index-Co91SHhW.js.map → index-CZPHIn6T.js.map} +1 -1
- package/dist/chunks/index-CedYIQt5.js +8 -0
- package/dist/chunks/{index-UWtj4ULm.js.map → index-CedYIQt5.js.map} +1 -1
- package/dist/chunks/{index-CjNAJEk5.js → index-Cqwkg1hU.js} +105 -106
- package/dist/chunks/{index-CjNAJEk5.js.map → index-Cqwkg1hU.js.map} +1 -1
- package/dist/chunks/{index-C2kxTsiE.js → index-Cuu1x05z.js} +16 -17
- package/dist/chunks/{index-C2kxTsiE.js.map → index-Cuu1x05z.js.map} +1 -1
- package/dist/chunks/{index-D9DU-5GF.js → index-D5Dscg8T.js} +48 -49
- package/dist/chunks/{index-D9DU-5GF.js.map → index-D5Dscg8T.js.map} +1 -1
- package/dist/chunks/{index-DkJX2kvl.js → index-DMSZTX7A.js} +9 -9
- package/dist/chunks/{index-DkJX2kvl.js.map → index-DMSZTX7A.js.map} +1 -1
- package/dist/chunks/{index-BBZxmcrY.js → index-DZGYG5M4.js} +2 -2
- package/dist/chunks/{index-BBZxmcrY.js.map → index-DZGYG5M4.js.map} +1 -1
- package/dist/chunks/{index-S1uNQPZj.js → index-Dq91nN6-.js} +3 -3
- package/dist/chunks/{index-S1uNQPZj.js.map → index-Dq91nN6-.js.map} +1 -1
- package/dist/chunks/{index-DcJZ8q0f.js → index-Dx94WMw1.js} +43 -44
- package/dist/chunks/{index-DcJZ8q0f.js.map → index-Dx94WMw1.js.map} +1 -1
- package/dist/chunks/index-Fztcdoo_.js +2 -0
- package/dist/chunks/index-Fztcdoo_.js.map +1 -0
- package/dist/chunks/index-WyVSig7F.js +70 -0
- package/dist/chunks/index-WyVSig7F.js.map +1 -0
- package/dist/chunks/{index-DUHFrLMI.js → index-f4Ba8Pq7.js} +15 -15
- package/dist/chunks/{index-DUHFrLMI.js.map → index-f4Ba8Pq7.js.map} +1 -1
- package/dist/chunks/index-hGlTuPbK.js +2 -0
- package/dist/chunks/{index-COoMV9Mh.js.map → index-hGlTuPbK.js.map} +1 -1
- package/dist/chunks/{logo.types-By8TqyNf.js → logo.types-CXQsathd.js} +2 -2
- package/dist/chunks/{logo.types-By8TqyNf.js.map → logo.types-CXQsathd.js.map} +1 -1
- package/dist/chunks/menu.component-BsIFHOah.js +2 -0
- package/dist/chunks/{menu.component-CDC_QKyu.js.map → menu.component-BsIFHOah.js.map} +1 -1
- package/dist/chunks/{menu.component-DRvQQe9M.js → menu.component-bdDcCEay.js} +26 -26
- package/dist/chunks/{menu.component-DRvQQe9M.js.map → menu.component-bdDcCEay.js.map} +1 -1
- package/dist/chunks/modal.context-DSKLfsJK.js +12 -0
- package/dist/chunks/modal.context-DSKLfsJK.js.map +1 -0
- package/dist/chunks/modal.context-EJ67QNzq.js +2 -0
- package/dist/chunks/modal.context-EJ67QNzq.js.map +1 -0
- package/dist/chunks/modal.types-DYw_hPtT.js +2 -0
- package/dist/chunks/{modal.types-Ctu6GZqZ.js.map → modal.types-DYw_hPtT.js.map} +1 -1
- package/dist/chunks/{modal.types-BXVbMaDF.js → modal.types-vrGXh5fF.js} +5 -5
- package/dist/chunks/{modal.types-BXVbMaDF.js.map → modal.types-vrGXh5fF.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-Bei8mHSZ.js → notificationCounter.component-DMr4Mlm9.js} +2 -2
- package/dist/chunks/{notificationCounter.component-Bei8mHSZ.js.map → notificationCounter.component-DMr4Mlm9.js.map} +1 -1
- package/dist/chunks/pinInput.types-DHBICngh.js +2 -0
- package/dist/chunks/{pinInput.types-BrSgAnPk.js.map → pinInput.types-DHBICngh.js.map} +1 -1
- package/dist/chunks/{pinInput.types-D8WW9fg2.js → pinInput.types-jvCDRIOC.js} +8 -8
- package/dist/chunks/{pinInput.types-D8WW9fg2.js.map → pinInput.types-jvCDRIOC.js.map} +1 -1
- package/dist/chunks/{popover-B9rNOU0g.js → popover-D0QoPsrG.js} +26 -26
- package/dist/chunks/{popover-B9rNOU0g.js.map → popover-D0QoPsrG.js.map} +1 -1
- package/dist/chunks/popover-DPEovmxh.js +2 -0
- package/dist/chunks/{popover-80QH8HEJ.js.map → popover-DPEovmxh.js.map} +1 -1
- package/dist/chunks/popover-root-provider-BYJE5I-P.js +2 -0
- package/dist/chunks/{popover-root-provider-DAMDDAHQ.js.map → popover-root-provider-BYJE5I-P.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-CeLLpesI.js → popover-root-provider-Dt02njg5.js} +8 -8
- package/dist/chunks/{popover-root-provider-CeLLpesI.js.map → popover-root-provider-Dt02njg5.js.map} +1 -1
- package/dist/chunks/popover.component-BmB0qwpj.js +264 -0
- package/dist/chunks/popover.component-BmB0qwpj.js.map +1 -0
- package/dist/chunks/popover.component-DUX4fJNk.js +2 -0
- package/dist/chunks/popover.component-DUX4fJNk.js.map +1 -0
- package/dist/chunks/popover.recipe-BLsWPsAa.js +124 -0
- package/dist/chunks/popover.recipe-BLsWPsAa.js.map +1 -0
- package/dist/chunks/popover.recipe-av5Jdn1r.js +2 -0
- package/dist/chunks/popover.recipe-av5Jdn1r.js.map +1 -0
- package/dist/chunks/{use-locale-context-D-agiW5E.js → portal-D2KZrSzZ.js} +242 -242
- package/dist/chunks/portal-D2KZrSzZ.js.map +1 -0
- package/dist/chunks/portal-TWtD47zg.js +22 -0
- package/dist/chunks/portal-TWtD47zg.js.map +1 -0
- package/dist/chunks/radio.records-CEgwvLIL.js +2 -0
- package/dist/chunks/{radio.records-Bl1r1zAL.js.map → radio.records-CEgwvLIL.js.map} +1 -1
- package/dist/chunks/{radio.records-ASPGnfUI.js → radio.records-CzNYznSb.js} +16 -16
- package/dist/chunks/{radio.records-ASPGnfUI.js.map → radio.records-CzNYznSb.js.map} +1 -1
- package/dist/chunks/radioGroup.component-BhR1aKj7.js +2 -0
- package/dist/chunks/{radioGroup.component-Cm4XNt6V.js.map → radioGroup.component-BhR1aKj7.js.map} +1 -1
- package/dist/chunks/{radioGroup.component-DdbV3DhY.js → radioGroup.component-CyJiJHx5.js} +11 -11
- package/dist/chunks/{radioGroup.component-DdbV3DhY.js.map → radioGroup.component-CyJiJHx5.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-C29qdjq4.js → ratingDots.component-BKUKL6Mz.js} +2 -2
- package/dist/chunks/{ratingDots.component-C29qdjq4.js.map → ratingDots.component-BKUKL6Mz.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-DMpVMl56.js → ratingDots.component-HUIKoSFb.js} +4 -4
- package/dist/chunks/{ratingDots.component-DMpVMl56.js.map → ratingDots.component-HUIKoSFb.js.map} +1 -1
- package/dist/chunks/render-strategy-CdSSbgPU.js +2 -0
- package/dist/chunks/{render-strategy-BmWbSgqh.js.map → render-strategy-CdSSbgPU.js.map} +1 -1
- package/dist/chunks/{render-strategy-C8hwN3bm.js → render-strategy-ql9Qx5Cz.js} +2 -2
- package/dist/chunks/{render-strategy-C8hwN3bm.js.map → render-strategy-ql9Qx5Cz.js.map} +1 -1
- package/dist/chunks/select.component-8ukrnBdk.js +2 -0
- package/dist/chunks/{select.component-BW4T3WXu.js.map → select.component-8ukrnBdk.js.map} +1 -1
- package/dist/chunks/{select.component-BgBg4Lti.js → select.component-DLt_2xlg.js} +44 -44
- package/dist/chunks/{select.component-BgBg4Lti.js.map → select.component-DLt_2xlg.js.map} +1 -1
- package/dist/chunks/{sortableList.component-CsJc009c.js → sortableList.component-B_7TyrzG.js} +3 -3
- package/dist/chunks/{sortableList.component-CsJc009c.js.map → sortableList.component-B_7TyrzG.js.map} +1 -1
- package/dist/chunks/{sortableList.component-B4oyHvop.js → sortableList.component-CR53llzt.js} +3 -3
- package/dist/chunks/{sortableList.component-B4oyHvop.js.map → sortableList.component-CR53llzt.js.map} +1 -1
- package/dist/chunks/{spinner.component-BIk6KPaO.js → spinner.component-Bir81DbZ.js} +3 -3
- package/dist/chunks/{spinner.component-BIk6KPaO.js.map → spinner.component-Bir81DbZ.js.map} +1 -1
- package/dist/chunks/{spinner.component-CxRLUzju.js → spinner.component-DIyDNcWp.js} +2 -2
- package/dist/chunks/{spinner.component-CxRLUzju.js.map → spinner.component-DIyDNcWp.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-D9gs5qgU.js → styledAvatar.types-BjuO516j.js} +2 -2
- package/dist/chunks/{styledAvatar.types-D9gs5qgU.js.map → styledAvatar.types-BjuO516j.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-2wZJjpPn.js → styledAvatar.types-CbfoVHIB.js} +2 -2
- package/dist/chunks/{styledAvatar.types-2wZJjpPn.js.map → styledAvatar.types-CbfoVHIB.js.map} +1 -1
- package/dist/chunks/{swatch.types-DbgA3RWc.js → swatch.types-B8OSJZ-a.js} +2 -2
- package/dist/chunks/{swatch.types-DbgA3RWc.js.map → swatch.types-B8OSJZ-a.js.map} +1 -1
- package/dist/chunks/switch.component-CPhSaMqG.js +2 -0
- package/dist/chunks/{switch.component-eY_h1Ybs.js.map → switch.component-CPhSaMqG.js.map} +1 -1
- package/dist/chunks/{switch.component-CfVjV1Ue.js → switch.component-Dpu_wRns.js} +11 -11
- package/dist/chunks/{switch.component-CfVjV1Ue.js.map → switch.component-Dpu_wRns.js.map} +1 -1
- package/dist/chunks/{tabs.component-CMIwLzI3.js → tabs.component-BHGBxzEH.js} +48 -48
- package/dist/chunks/{tabs.component-CMIwLzI3.js.map → tabs.component-BHGBxzEH.js.map} +1 -1
- package/dist/chunks/tabs.component-CY9u7o56.js +2 -0
- package/dist/chunks/{tabs.component-CzR7A6PQ.js.map → tabs.component-CY9u7o56.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-B5nam_ih.js → tagBlock.component-3imRPwFH.js} +5 -5
- package/dist/chunks/{tagBlock.component-B5nam_ih.js.map → tagBlock.component-3imRPwFH.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-xYSTqOZ3.js → tagBlock.component-LnQADvWP.js} +2 -2
- package/dist/chunks/{tagBlock.component-xYSTqOZ3.js.map → tagBlock.component-LnQADvWP.js.map} +1 -1
- package/dist/chunks/{textInput.component-BS85e6rj.js → textInput.component-4YWnSJOZ.js} +12 -12
- package/dist/chunks/{textInput.component-BS85e6rj.js.map → textInput.component-4YWnSJOZ.js.map} +1 -1
- package/dist/chunks/textInput.component-BJ3ija0b.js +2 -0
- package/dist/chunks/{textInput.component-Cyu1zXr7.js.map → textInput.component-BJ3ija0b.js.map} +1 -1
- package/dist/chunks/{textarea.component-Bv4aHURS.js → textarea.component-GhlEwhHu.js} +7 -7
- package/dist/chunks/{textarea.component-Bv4aHURS.js.map → textarea.component-GhlEwhHu.js.map} +1 -1
- package/dist/chunks/textarea.component-zej8Yk62.js +2 -0
- package/dist/chunks/{textarea.component-BxuJw-8y.js.map → textarea.component-zej8Yk62.js.map} +1 -1
- package/dist/chunks/theme.provider-CkBtkwtf.js +26 -0
- package/dist/chunks/theme.provider-CkBtkwtf.js.map +1 -0
- package/dist/chunks/{theme.provider-DTTXhNoX.js → theme.provider-D_vTiS-g.js} +1830 -1699
- package/dist/chunks/theme.provider-D_vTiS-g.js.map +1 -0
- package/dist/chunks/{timePicker.component-OiS6NoVE.js → timePicker.component-C7StGDmo.js} +2 -2
- package/dist/chunks/{timePicker.component-OiS6NoVE.js.map → timePicker.component-C7StGDmo.js.map} +1 -1
- package/dist/chunks/{timePicker.component-Dhvin2SE.js → timePicker.component-DBzIM9G4.js} +4 -4
- package/dist/chunks/{timePicker.component-Dhvin2SE.js.map → timePicker.component-DBzIM9G4.js.map} +1 -1
- package/dist/chunks/{timeRange.component-BKCL9z1j.js → timeRange.component-BceK2COI.js} +2 -2
- package/dist/chunks/{timeRange.component-BKCL9z1j.js.map → timeRange.component-BceK2COI.js.map} +1 -1
- package/dist/chunks/{timeRange.component-cN_7CZt6.js → timeRange.component-CNLSxsSZ.js} +2 -2
- package/dist/chunks/{timeRange.component-cN_7CZt6.js.map → timeRange.component-CNLSxsSZ.js.map} +1 -1
- package/dist/chunks/timestamp.component-CbhzpqAt.js +53 -0
- package/dist/chunks/{timestamp.component-DH5g5v08.js.map → timestamp.component-CbhzpqAt.js.map} +1 -1
- package/dist/chunks/timestamp.component-DWGPmV_e.js +2 -0
- package/dist/chunks/{timestamp.component-BQO8617_.js.map → timestamp.component-DWGPmV_e.js.map} +1 -1
- package/dist/chunks/toaster.records-CGym-iT-.js +2 -0
- package/dist/chunks/{toaster.records-BJo0j1IZ.js.map → toaster.records-CGym-iT-.js.map} +1 -1
- package/dist/chunks/{toaster.records-BGfpUOVt.js → toaster.records-Cf8bpHo8.js} +21 -22
- package/dist/chunks/{toaster.records-BGfpUOVt.js.map → toaster.records-Cf8bpHo8.js.map} +1 -1
- package/dist/chunks/{typography.records-C6G_65b4.js → typography.records-BeoK0Uyj.js} +2 -2
- package/dist/chunks/{typography.records-C6G_65b4.js.map → typography.records-BeoK0Uyj.js.map} +1 -1
- package/dist/chunks/{typography.records-jnjWfTLS.js → typography.records-Xg59taw9.js} +2 -2
- package/dist/chunks/{typography.records-jnjWfTLS.js.map → typography.records-Xg59taw9.js.map} +1 -1
- package/dist/chunks/{use-field-context-B_G7Yziz.js → use-field-context-C4IwmN39.js} +2 -2
- package/dist/chunks/{use-field-context-B_G7Yziz.js.map → use-field-context-C4IwmN39.js.map} +1 -1
- package/dist/chunks/use-field-context-xBX4EpFz.js +2 -0
- package/dist/chunks/{use-field-context--wBJQY1R.js.map → use-field-context-xBX4EpFz.js.map} +1 -1
- package/dist/chunks/withFormControl-BI8pqhZl.js +2 -0
- package/dist/chunks/{withFormControl-BI5J885a.js.map → withFormControl-BI8pqhZl.js.map} +1 -1
- package/dist/chunks/{withFormControl-TnKXd5oM.js → withFormControl-Cb632r_x.js} +49 -49
- package/dist/chunks/{withFormControl-TnKXd5oM.js.map → withFormControl-Cb632r_x.js.map} +1 -1
- package/dist/chunks/withTruncation-CDgWfFpO.js +562 -0
- package/dist/chunks/withTruncation-CDgWfFpO.js.map +1 -0
- package/dist/chunks/withTruncation-XdRr8uDJ.js +2 -0
- package/dist/chunks/withTruncation-XdRr8uDJ.js.map +1 -0
- package/dist/chunks/{wrap-B8tBNeBY.js → wrap-CYgSj8wY.js} +2 -2
- package/dist/chunks/{wrap-B8tBNeBY.js.map → wrap-CYgSj8wY.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/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/components/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs +1 -1
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Toast/index.cjs +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/esm/chakra/index.js +69 -69
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/components/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Logo/index.js +1 -1
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +1 -1
- package/dist/esm/components/Toast/index.js +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +41 -42
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/index.js +60 -61
- 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/TimePicker/timePicker.recipe.d.ts +1 -1
- package/dist/types/components/Tooltip/tooltip.component.d.ts +4 -2
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +3 -3
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +3 -3
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +10 -10
- package/package.json +1 -1
- package/dist/chunks/avatar.component-BsLD7swi.js +0 -2
- package/dist/chunks/checkbox.component-CcG-gktf.js +0 -2
- package/dist/chunks/checkbox.records-FPSZIvGa.js +0 -2
- package/dist/chunks/conversationCard.component-BpJWXB1C.js +0 -2
- package/dist/chunks/datePicker.component-B_LcrVdQ.js +0 -15
- package/dist/chunks/dialog-trigger-B5NK0lr-.js +0 -2
- package/dist/chunks/index-BDnnTdaJ.js +0 -2
- package/dist/chunks/index-BGwwyukg.js +0 -2
- package/dist/chunks/index-BGwwyukg.js.map +0 -1
- package/dist/chunks/index-BYf7SZUC.js +0 -2
- package/dist/chunks/index-COoMV9Mh.js +0 -2
- package/dist/chunks/index-CYk-7wwG.js +0 -1018
- package/dist/chunks/index-CYk-7wwG.js.map +0 -1
- package/dist/chunks/index-CZ42b9rT.js +0 -3
- package/dist/chunks/index-CZ42b9rT.js.map +0 -1
- package/dist/chunks/index-CZz7hHWb.js +0 -2
- package/dist/chunks/index-DTJtldfK.js +0 -2
- package/dist/chunks/index-MlhL0PDC.js +0 -2
- package/dist/chunks/index-UWtj4ULm.js +0 -8
- package/dist/chunks/index-ZaGEDS_0.js +0 -2
- package/dist/chunks/index-j7W9Hyzx.js +0 -322
- package/dist/chunks/index-j7W9Hyzx.js.map +0 -1
- package/dist/chunks/menu.component-CDC_QKyu.js +0 -2
- package/dist/chunks/modal.types-Ctu6GZqZ.js +0 -2
- package/dist/chunks/pinInput.types-BrSgAnPk.js +0 -2
- package/dist/chunks/popover-80QH8HEJ.js +0 -2
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js +0 -2
- package/dist/chunks/popover.component-BSIk0lQx.js +0 -2
- package/dist/chunks/popover.component-BSIk0lQx.js.map +0 -1
- package/dist/chunks/popover.component-CUecFqu0.js +0 -322
- package/dist/chunks/popover.component-CUecFqu0.js.map +0 -1
- package/dist/chunks/popover.recipe--gMRcQTS.js +0 -479
- package/dist/chunks/popover.recipe--gMRcQTS.js.map +0 -1
- package/dist/chunks/popover.recipe-DLeyokHo.js +0 -2
- package/dist/chunks/popover.recipe-DLeyokHo.js.map +0 -1
- package/dist/chunks/radio.records-Bl1r1zAL.js +0 -2
- package/dist/chunks/radioGroup.component-Cm4XNt6V.js +0 -2
- package/dist/chunks/render-strategy-BmWbSgqh.js +0 -2
- package/dist/chunks/select.component-BW4T3WXu.js +0 -2
- package/dist/chunks/switch.component-eY_h1Ybs.js +0 -2
- package/dist/chunks/tabs.component-CzR7A6PQ.js +0 -2
- package/dist/chunks/text.component--epnA3h2.js +0 -2
- package/dist/chunks/text.component--epnA3h2.js.map +0 -1
- package/dist/chunks/text.component-Ci1Zx-Vb.js +0 -12
- package/dist/chunks/text.component-Ci1Zx-Vb.js.map +0 -1
- package/dist/chunks/textInput.component-Cyu1zXr7.js +0 -2
- package/dist/chunks/textarea.component-BxuJw-8y.js +0 -2
- package/dist/chunks/theme.provider-Bu7WNqkS.js +0 -26
- package/dist/chunks/theme.provider-Bu7WNqkS.js.map +0 -1
- package/dist/chunks/theme.provider-DTTXhNoX.js.map +0 -1
- package/dist/chunks/timestamp.component-BQO8617_.js +0 -2
- package/dist/chunks/timestamp.component-DH5g5v08.js +0 -54
- package/dist/chunks/toaster.records-BJo0j1IZ.js +0 -2
- package/dist/chunks/tooltip.component-Yu5bnnPc.js +0 -2
- package/dist/chunks/tooltip.component-Yu5bnnPc.js.map +0 -1
- package/dist/chunks/tooltip.component-oofe83RC.js +0 -761
- package/dist/chunks/tooltip.component-oofe83RC.js.map +0 -1
- package/dist/chunks/use-field-context--wBJQY1R.js +0 -2
- package/dist/chunks/use-locale-context-BdqHZ8L8.js +0 -22
- package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +0 -1
- package/dist/chunks/use-locale-context-D-agiW5E.js.map +0 -1
- package/dist/chunks/withFormControl-BI5J885a.js +0 -2
- package/dist/chunks/withTruncation-D0L2lj30.js +0 -67
- package/dist/chunks/withTruncation-D0L2lj30.js.map +0 -1
- package/dist/chunks/withTruncation-DdNEpmRa.js +0 -2
- package/dist/chunks/withTruncation-DdNEpmRa.js.map +0 -1
|
@@ -1,761 +0,0 @@
|
|
|
1
|
-
import { j as f } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { forwardRef as L, useId as Le, createContext as Se, useContext as De } from "react";
|
|
3
|
-
import { c as Ae, f as R, u as ie, h as je, g as ee, d as Re, b as Ve, i as xe, j as Ie, k as _e, n as Ne, s as ae, l as le, m as ce, P as Fe } from "./use-locale-context-D-agiW5E.js";
|
|
4
|
-
import { c as Ke } from "./create-slot-recipe-context-BJmsuxih.js";
|
|
5
|
-
import { Y as E, Z as j, a2 as Z, au as $e, D as de, av as We, c as Be, y as ze, R as B, aw as Ge, b as qe, d as He, m as Ue } from "./index-CYk-7wwG.js";
|
|
6
|
-
const [pe, V] = Ae({
|
|
7
|
-
name: "TooltipContext",
|
|
8
|
-
hookName: "useTooltipContext",
|
|
9
|
-
providerName: "<TooltipProvider />"
|
|
10
|
-
}), ue = L((e, t) => {
|
|
11
|
-
const o = V(), n = E(o.getArrowProps(), e);
|
|
12
|
-
return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
13
|
-
});
|
|
14
|
-
ue.displayName = "TooltipArrow";
|
|
15
|
-
const fe = L((e, t) => {
|
|
16
|
-
const o = V(), n = E(o.getArrowTipProps(), e);
|
|
17
|
-
return /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
18
|
-
});
|
|
19
|
-
fe.displayName = "TooltipArrowTip";
|
|
20
|
-
const ge = L((e, t) => {
|
|
21
|
-
const o = V(), n = ie(), r = E(o.getContentProps(), n.getPresenceProps(), e);
|
|
22
|
-
return n.unmounted ? null : /* @__PURE__ */ f.jsx(R.div, { ...r, ref: je(n.ref, t) });
|
|
23
|
-
});
|
|
24
|
-
ge.displayName = "TooltipContent";
|
|
25
|
-
const ve = L((e, t) => {
|
|
26
|
-
const o = V(), n = E(o.getPositionerProps(), e);
|
|
27
|
-
return ie().unmounted ? null : /* @__PURE__ */ f.jsx(R.div, { ...n, ref: t });
|
|
28
|
-
});
|
|
29
|
-
ve.displayName = "TooltipPositioner";
|
|
30
|
-
function Ye(e) {
|
|
31
|
-
return !(e.metaKey || !We() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
32
|
-
}
|
|
33
|
-
var Ze = /* @__PURE__ */ new Set(["checkbox", "radio", "range", "color", "file", "image", "button", "submit", "reset"]);
|
|
34
|
-
function Je(e, t, o) {
|
|
35
|
-
const n = o ? de(o) : null, r = j(n);
|
|
36
|
-
return e = e || n instanceof r.HTMLInputElement && !Ze.has(n?.type) || n instanceof r.HTMLTextAreaElement || n instanceof r.HTMLElement && n.isContentEditable, !(e && t === "keyboard" && o instanceof r.KeyboardEvent && !Reflect.has(Qe, o.key));
|
|
37
|
-
}
|
|
38
|
-
var T = null, G = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Map(), k = !1, q = !1, Qe = {
|
|
39
|
-
Tab: !0,
|
|
40
|
-
Escape: !0
|
|
41
|
-
};
|
|
42
|
-
function $(e, t) {
|
|
43
|
-
for (let o of G)
|
|
44
|
-
o(e, t);
|
|
45
|
-
}
|
|
46
|
-
function F(e) {
|
|
47
|
-
k = !0, Ye(e) && (T = "keyboard", $("keyboard", e));
|
|
48
|
-
}
|
|
49
|
-
function P(e) {
|
|
50
|
-
T = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (k = !0, $("pointer", e));
|
|
51
|
-
}
|
|
52
|
-
function ye(e) {
|
|
53
|
-
$e(e) && (k = !0, T = "virtual");
|
|
54
|
-
}
|
|
55
|
-
function me(e) {
|
|
56
|
-
const t = de(e);
|
|
57
|
-
t === j(t) || t === Z(t) || (!k && !q && (T = "virtual", $("virtual", e)), k = !1, q = !1);
|
|
58
|
-
}
|
|
59
|
-
function Pe() {
|
|
60
|
-
k = !1, q = !0;
|
|
61
|
-
}
|
|
62
|
-
function Xe(e) {
|
|
63
|
-
if (typeof window > "u" || A.get(j(e)))
|
|
64
|
-
return;
|
|
65
|
-
const t = j(e), o = Z(e);
|
|
66
|
-
let n = t.HTMLElement.prototype.focus;
|
|
67
|
-
t.HTMLElement.prototype.focus = function() {
|
|
68
|
-
T = "virtual", $("virtual", null), k = !0, n.apply(this, arguments);
|
|
69
|
-
}, o.addEventListener("keydown", F, !0), o.addEventListener("keyup", F, !0), o.addEventListener("click", ye, !0), t.addEventListener("focus", me, !0), t.addEventListener("blur", Pe, !1), typeof t.PointerEvent < "u" ? (o.addEventListener("pointerdown", P, !0), o.addEventListener("pointermove", P, !0), o.addEventListener("pointerup", P, !0)) : (o.addEventListener("mousedown", P, !0), o.addEventListener("mousemove", P, !0), o.addEventListener("mouseup", P, !0)), t.addEventListener(
|
|
70
|
-
"beforeunload",
|
|
71
|
-
() => {
|
|
72
|
-
et(e);
|
|
73
|
-
},
|
|
74
|
-
{ once: !0 }
|
|
75
|
-
), A.set(t, { focus: n });
|
|
76
|
-
}
|
|
77
|
-
var et = (e, t) => {
|
|
78
|
-
const o = j(e), n = Z(e);
|
|
79
|
-
A.has(o) && (o.HTMLElement.prototype.focus = A.get(o).focus, n.removeEventListener("keydown", F, !0), n.removeEventListener("keyup", F, !0), n.removeEventListener("click", ye, !0), o.removeEventListener("focus", me, !0), o.removeEventListener("blur", Pe, !1), typeof o.PointerEvent < "u" ? (n.removeEventListener("pointerdown", P, !0), n.removeEventListener("pointermove", P, !0), n.removeEventListener("pointerup", P, !0)) : (n.removeEventListener("mousedown", P, !0), n.removeEventListener("mousemove", P, !0), n.removeEventListener("mouseup", P, !0)), A.delete(o));
|
|
80
|
-
};
|
|
81
|
-
function H() {
|
|
82
|
-
return T === "keyboard";
|
|
83
|
-
}
|
|
84
|
-
function tt(e = {}) {
|
|
85
|
-
const { isTextInput: t, autoFocus: o, onChange: n, root: r } = e;
|
|
86
|
-
Xe(r), n?.({ isFocusVisible: o || H(), modality: T });
|
|
87
|
-
const c = (p, a) => {
|
|
88
|
-
Je(!!t, p, a) && n?.({ isFocusVisible: H(), modality: p });
|
|
89
|
-
};
|
|
90
|
-
return G.add(c), () => {
|
|
91
|
-
G.delete(c);
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
const ot = Symbol(), te = Object.getPrototypeOf, U = /* @__PURE__ */ new WeakMap(), nt = (e) => e && (U.has(e) ? U.get(e) : te(e) === Object.prototype || te(e) === Array.prototype), rt = (e) => nt(e) && e[ot] || null, oe = (e, t = !0) => {
|
|
95
|
-
U.set(e, t);
|
|
96
|
-
};
|
|
97
|
-
function st() {
|
|
98
|
-
if (typeof globalThis < "u") return globalThis;
|
|
99
|
-
if (typeof self < "u") return self;
|
|
100
|
-
if (typeof window < "u") return window;
|
|
101
|
-
if (typeof global < "u") return global;
|
|
102
|
-
}
|
|
103
|
-
function Oe(e, t) {
|
|
104
|
-
const o = st();
|
|
105
|
-
return o ? (o[e] || (o[e] = t()), o[e]) : t();
|
|
106
|
-
}
|
|
107
|
-
var N = Oe("__zag__refSet", () => /* @__PURE__ */ new WeakSet()), it = (e) => typeof e == "object" && e !== null && "$$typeof" in e && "props" in e, at = (e) => typeof e == "object" && e !== null && "__v_isVNode" in e, lt = (e) => typeof e == "object" && e !== null && "nodeType" in e && typeof e.nodeName == "string", ct = (e) => it(e) || at(e) || lt(e), Y = (e) => e !== null && typeof e == "object", ne = (e) => Y(e) && !N.has(e) && (Array.isArray(e) || !(Symbol.iterator in e)) && !ct(e) && !(e instanceof WeakMap) && !(e instanceof WeakSet) && !(e instanceof Error) && !(e instanceof Number) && !(e instanceof Date) && !(e instanceof String) && !(e instanceof RegExp) && !(e instanceof ArrayBuffer) && !(e instanceof Promise), K = () => process.env.NODE_ENV !== "production", h = Oe("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap()), dt = (e = Object.is, t = (a, y) => new Proxy(a, y), o = /* @__PURE__ */ new WeakMap(), n = (a, y) => {
|
|
108
|
-
const g = o.get(a);
|
|
109
|
-
if (g?.[0] === y)
|
|
110
|
-
return g[1];
|
|
111
|
-
const u = Array.isArray(a) ? [] : Object.create(Object.getPrototypeOf(a));
|
|
112
|
-
return oe(u, !0), o.set(a, [y, u]), Reflect.ownKeys(a).forEach((O) => {
|
|
113
|
-
const m = Reflect.get(a, O);
|
|
114
|
-
N.has(m) ? (oe(m, !1), u[O] = m) : h.has(m) ? u[O] = ft(m) : u[O] = m;
|
|
115
|
-
}), Object.freeze(u);
|
|
116
|
-
}, r = /* @__PURE__ */ new WeakMap(), c = [1, 1], p = (a) => {
|
|
117
|
-
if (!Y(a))
|
|
118
|
-
throw new Error("object required");
|
|
119
|
-
const y = r.get(a);
|
|
120
|
-
if (y)
|
|
121
|
-
return y;
|
|
122
|
-
let g = c[0];
|
|
123
|
-
const u = /* @__PURE__ */ new Set(), O = (i, s = ++c[0]) => {
|
|
124
|
-
g !== s && (g = s, u.forEach((l) => l(i, s)));
|
|
125
|
-
};
|
|
126
|
-
let m = c[1];
|
|
127
|
-
const w = (i = ++c[1]) => (m !== i && !u.size && (m = i, d.forEach(([s]) => {
|
|
128
|
-
const l = s[1](i);
|
|
129
|
-
l > g && (g = l);
|
|
130
|
-
})), g), C = (i) => (s, l) => {
|
|
131
|
-
const v = [...s];
|
|
132
|
-
v[1] = [i, ...v[1]], O(v, l);
|
|
133
|
-
}, d = /* @__PURE__ */ new Map(), J = (i, s) => {
|
|
134
|
-
if (K() && d.has(i))
|
|
135
|
-
throw new Error("prop listener already exists");
|
|
136
|
-
if (u.size) {
|
|
137
|
-
const l = s[3](C(i));
|
|
138
|
-
d.set(i, [s, l]);
|
|
139
|
-
} else
|
|
140
|
-
d.set(i, [s]);
|
|
141
|
-
}, Q = (i) => {
|
|
142
|
-
const s = d.get(i);
|
|
143
|
-
s && (d.delete(i), s[1]?.());
|
|
144
|
-
}, Ce = (i) => (u.add(i), u.size === 1 && d.forEach(([l, v], M) => {
|
|
145
|
-
if (K() && v)
|
|
146
|
-
throw new Error("remove already exists");
|
|
147
|
-
const S = l[3](C(M));
|
|
148
|
-
d.set(M, [l, S]);
|
|
149
|
-
}), () => {
|
|
150
|
-
u.delete(i), u.size === 0 && d.forEach(([l, v], M) => {
|
|
151
|
-
v && (v(), d.set(M, [l]));
|
|
152
|
-
});
|
|
153
|
-
}), W = Array.isArray(a) ? [] : Object.create(Object.getPrototypeOf(a)), I = t(W, {
|
|
154
|
-
deleteProperty(i, s) {
|
|
155
|
-
const l = Reflect.get(i, s);
|
|
156
|
-
Q(s);
|
|
157
|
-
const v = Reflect.deleteProperty(i, s);
|
|
158
|
-
return v && O(["delete", [s], l]), v;
|
|
159
|
-
},
|
|
160
|
-
set(i, s, l, v) {
|
|
161
|
-
const M = Reflect.has(i, s), S = Reflect.get(i, s, v);
|
|
162
|
-
if (M && (e(S, l) || r.has(l) && e(S, r.get(l))))
|
|
163
|
-
return !0;
|
|
164
|
-
Q(s), Y(l) && (l = rt(l) || l);
|
|
165
|
-
let _ = l;
|
|
166
|
-
if (!Object.getOwnPropertyDescriptor(i, s)?.set) {
|
|
167
|
-
!h.has(l) && ne(l) && (_ = we(l));
|
|
168
|
-
const X = !N.has(_) && h.get(_);
|
|
169
|
-
X && J(s, X);
|
|
170
|
-
}
|
|
171
|
-
return Reflect.set(i, s, _, v), O(["set", [s], l, S]), !0;
|
|
172
|
-
}
|
|
173
|
-
});
|
|
174
|
-
r.set(a, I);
|
|
175
|
-
const Me = [W, w, n, Ce];
|
|
176
|
-
return h.set(I, Me), Reflect.ownKeys(a).forEach((i) => {
|
|
177
|
-
const s = Object.getOwnPropertyDescriptor(a, i);
|
|
178
|
-
s.get || s.set ? Object.defineProperty(W, i, s) : I[i] = a[i];
|
|
179
|
-
}), I;
|
|
180
|
-
}) => [
|
|
181
|
-
// public functions
|
|
182
|
-
p,
|
|
183
|
-
// shared state
|
|
184
|
-
h,
|
|
185
|
-
N,
|
|
186
|
-
// internal things
|
|
187
|
-
e,
|
|
188
|
-
t,
|
|
189
|
-
ne,
|
|
190
|
-
o,
|
|
191
|
-
n,
|
|
192
|
-
r,
|
|
193
|
-
c
|
|
194
|
-
], [pt] = dt();
|
|
195
|
-
function we(e = {}) {
|
|
196
|
-
return pt(e);
|
|
197
|
-
}
|
|
198
|
-
function ut(e, t, o) {
|
|
199
|
-
const n = h.get(e);
|
|
200
|
-
K() && !n && console.warn("Please use proxy object");
|
|
201
|
-
let r;
|
|
202
|
-
const c = [], p = n[3];
|
|
203
|
-
let a = !1;
|
|
204
|
-
const g = p((u) => {
|
|
205
|
-
c.push(u), r || (r = Promise.resolve().then(() => {
|
|
206
|
-
r = void 0, a && t(c.splice(0));
|
|
207
|
-
}));
|
|
208
|
-
});
|
|
209
|
-
return a = !0, () => {
|
|
210
|
-
a = !1, g();
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
function ft(e) {
|
|
214
|
-
const t = h.get(e);
|
|
215
|
-
K() && !t && console.warn("Please use proxy object");
|
|
216
|
-
const [o, n, r] = t;
|
|
217
|
-
return r(o, n());
|
|
218
|
-
}
|
|
219
|
-
var gt = qe("tooltip").parts("trigger", "arrow", "arrowTip", "positioner", "content"), D = gt.build(), be = (e) => e.ids?.trigger ?? `tooltip:${e.id}:trigger`, vt = (e) => e.ids?.content ?? `tooltip:${e.id}:content`, yt = (e) => e.ids?.arrow ?? `tooltip:${e.id}:arrow`, he = (e) => e.ids?.positioner ?? `tooltip:${e.id}:popper`, z = (e) => e.getById(be(e)), re = (e) => e.getById(he(e)), b = we({ id: null });
|
|
220
|
-
function mt(e, t) {
|
|
221
|
-
const { state: o, context: n, send: r, scope: c, prop: p, event: a } = e, y = p("id"), g = !!p("aria-label"), u = o.matches("open", "closing"), O = be(c), m = vt(c), w = p("disabled"), C = Re({
|
|
222
|
-
...p("positioning"),
|
|
223
|
-
placement: n.get("currentPlacement")
|
|
224
|
-
});
|
|
225
|
-
return {
|
|
226
|
-
open: u,
|
|
227
|
-
setOpen(d) {
|
|
228
|
-
o.matches("open", "closing") !== d && r({ type: d ? "open" : "close" });
|
|
229
|
-
},
|
|
230
|
-
reposition(d = {}) {
|
|
231
|
-
r({ type: "positioning.set", options: d });
|
|
232
|
-
},
|
|
233
|
-
getTriggerProps() {
|
|
234
|
-
return t.button({
|
|
235
|
-
...D.trigger.attrs,
|
|
236
|
-
id: O,
|
|
237
|
-
dir: p("dir"),
|
|
238
|
-
"data-expanded": He(u),
|
|
239
|
-
"data-state": u ? "open" : "closed",
|
|
240
|
-
"aria-describedby": u ? m : void 0,
|
|
241
|
-
onClick(d) {
|
|
242
|
-
d.defaultPrevented || w || p("closeOnClick") && r({ type: "close", src: "trigger.click" });
|
|
243
|
-
},
|
|
244
|
-
onFocus(d) {
|
|
245
|
-
queueMicrotask(() => {
|
|
246
|
-
d.defaultPrevented || w || a.src !== "trigger.pointerdown" && H() && r({ type: "open", src: "trigger.focus" });
|
|
247
|
-
});
|
|
248
|
-
},
|
|
249
|
-
onBlur(d) {
|
|
250
|
-
d.defaultPrevented || w || y === b.id && r({ type: "close", src: "trigger.blur" });
|
|
251
|
-
},
|
|
252
|
-
onPointerDown(d) {
|
|
253
|
-
d.defaultPrevented || w || p("closeOnPointerDown") && y === b.id && r({ type: "close", src: "trigger.pointerdown" });
|
|
254
|
-
},
|
|
255
|
-
onPointerMove(d) {
|
|
256
|
-
d.defaultPrevented || w || d.pointerType !== "touch" && r({ type: "pointer.move" });
|
|
257
|
-
},
|
|
258
|
-
onPointerLeave() {
|
|
259
|
-
w || r({ type: "pointer.leave" });
|
|
260
|
-
},
|
|
261
|
-
onPointerCancel() {
|
|
262
|
-
w || r({ type: "pointer.leave" });
|
|
263
|
-
}
|
|
264
|
-
});
|
|
265
|
-
},
|
|
266
|
-
getArrowProps() {
|
|
267
|
-
return t.element({
|
|
268
|
-
id: yt(c),
|
|
269
|
-
...D.arrow.attrs,
|
|
270
|
-
dir: p("dir"),
|
|
271
|
-
style: C.arrow
|
|
272
|
-
});
|
|
273
|
-
},
|
|
274
|
-
getArrowTipProps() {
|
|
275
|
-
return t.element({
|
|
276
|
-
...D.arrowTip.attrs,
|
|
277
|
-
dir: p("dir"),
|
|
278
|
-
style: C.arrowTip
|
|
279
|
-
});
|
|
280
|
-
},
|
|
281
|
-
getPositionerProps() {
|
|
282
|
-
return t.element({
|
|
283
|
-
id: he(c),
|
|
284
|
-
...D.positioner.attrs,
|
|
285
|
-
dir: p("dir"),
|
|
286
|
-
style: C.floating
|
|
287
|
-
});
|
|
288
|
-
},
|
|
289
|
-
getContentProps() {
|
|
290
|
-
return t.element({
|
|
291
|
-
...D.content.attrs,
|
|
292
|
-
dir: p("dir"),
|
|
293
|
-
hidden: !u,
|
|
294
|
-
"data-state": u ? "open" : "closed",
|
|
295
|
-
role: g ? void 0 : "tooltip",
|
|
296
|
-
id: g ? void 0 : m,
|
|
297
|
-
"data-placement": n.get("currentPlacement"),
|
|
298
|
-
onPointerEnter() {
|
|
299
|
-
r({ type: "content.pointer.move" });
|
|
300
|
-
},
|
|
301
|
-
onPointerLeave() {
|
|
302
|
-
r({ type: "content.pointer.leave" });
|
|
303
|
-
},
|
|
304
|
-
style: {
|
|
305
|
-
pointerEvents: p("interactive") ? "auto" : "none"
|
|
306
|
-
}
|
|
307
|
-
});
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
var { and: Pt, not: se } = ze(), Ot = Be({
|
|
312
|
-
initialState: ({ prop: e }) => e("open") || e("defaultOpen") ? "open" : "closed",
|
|
313
|
-
props({ props: e }) {
|
|
314
|
-
return {
|
|
315
|
-
id: "x",
|
|
316
|
-
openDelay: 1e3,
|
|
317
|
-
closeDelay: 500,
|
|
318
|
-
closeOnPointerDown: !0,
|
|
319
|
-
closeOnEscape: !0,
|
|
320
|
-
interactive: !1,
|
|
321
|
-
closeOnScroll: !0,
|
|
322
|
-
closeOnClick: !0,
|
|
323
|
-
disabled: !1,
|
|
324
|
-
...e,
|
|
325
|
-
positioning: {
|
|
326
|
-
placement: "bottom",
|
|
327
|
-
...e.positioning
|
|
328
|
-
}
|
|
329
|
-
};
|
|
330
|
-
},
|
|
331
|
-
effects: ["trackFocusVisible", "trackStore"],
|
|
332
|
-
context: ({ bindable: e }) => ({
|
|
333
|
-
currentPlacement: e(() => ({ defaultValue: void 0 })),
|
|
334
|
-
hasPointerMoveOpened: e(() => ({ defaultValue: !1 }))
|
|
335
|
-
}),
|
|
336
|
-
watch({ track: e, action: t, prop: o }) {
|
|
337
|
-
e([() => o("disabled")], () => {
|
|
338
|
-
t(["closeIfDisabled"]);
|
|
339
|
-
}), e([() => o("open")], () => {
|
|
340
|
-
t(["toggleVisibility"]);
|
|
341
|
-
});
|
|
342
|
-
},
|
|
343
|
-
states: {
|
|
344
|
-
closed: {
|
|
345
|
-
entry: ["clearGlobalId"],
|
|
346
|
-
on: {
|
|
347
|
-
"controlled.open": {
|
|
348
|
-
target: "open"
|
|
349
|
-
},
|
|
350
|
-
open: [
|
|
351
|
-
{
|
|
352
|
-
guard: "isOpenControlled",
|
|
353
|
-
actions: ["invokeOnOpen"]
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
target: "open",
|
|
357
|
-
actions: ["invokeOnOpen"]
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
"pointer.leave": {
|
|
361
|
-
actions: ["clearPointerMoveOpened"]
|
|
362
|
-
},
|
|
363
|
-
"pointer.move": [
|
|
364
|
-
{
|
|
365
|
-
guard: Pt("noVisibleTooltip", se("hasPointerMoveOpened")),
|
|
366
|
-
target: "opening"
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
guard: se("hasPointerMoveOpened"),
|
|
370
|
-
target: "open",
|
|
371
|
-
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
372
|
-
}
|
|
373
|
-
]
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
opening: {
|
|
377
|
-
effects: ["trackScroll", "trackPointerlockChange", "waitForOpenDelay"],
|
|
378
|
-
on: {
|
|
379
|
-
"after.openDelay": [
|
|
380
|
-
{
|
|
381
|
-
guard: "isOpenControlled",
|
|
382
|
-
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
target: "open",
|
|
386
|
-
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
387
|
-
}
|
|
388
|
-
],
|
|
389
|
-
"controlled.open": {
|
|
390
|
-
target: "open"
|
|
391
|
-
},
|
|
392
|
-
"controlled.close": {
|
|
393
|
-
target: "closed"
|
|
394
|
-
},
|
|
395
|
-
open: [
|
|
396
|
-
{
|
|
397
|
-
guard: "isOpenControlled",
|
|
398
|
-
actions: ["invokeOnOpen"]
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
target: "open",
|
|
402
|
-
actions: ["invokeOnOpen"]
|
|
403
|
-
}
|
|
404
|
-
],
|
|
405
|
-
"pointer.leave": [
|
|
406
|
-
{
|
|
407
|
-
guard: "isOpenControlled",
|
|
408
|
-
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
409
|
-
actions: ["clearPointerMoveOpened", "invokeOnClose", "toggleVisibility"]
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
target: "closed",
|
|
413
|
-
actions: ["clearPointerMoveOpened", "invokeOnClose"]
|
|
414
|
-
}
|
|
415
|
-
],
|
|
416
|
-
close: [
|
|
417
|
-
{
|
|
418
|
-
guard: "isOpenControlled",
|
|
419
|
-
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
420
|
-
actions: ["invokeOnClose", "toggleVisibility"]
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
target: "closed",
|
|
424
|
-
actions: ["invokeOnClose"]
|
|
425
|
-
}
|
|
426
|
-
]
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
open: {
|
|
430
|
-
effects: ["trackEscapeKey", "trackScroll", "trackPointerlockChange", "trackPositioning"],
|
|
431
|
-
entry: ["setGlobalId"],
|
|
432
|
-
on: {
|
|
433
|
-
"controlled.close": {
|
|
434
|
-
target: "closed"
|
|
435
|
-
},
|
|
436
|
-
close: [
|
|
437
|
-
{
|
|
438
|
-
guard: "isOpenControlled",
|
|
439
|
-
actions: ["invokeOnClose"]
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
target: "closed",
|
|
443
|
-
actions: ["invokeOnClose"]
|
|
444
|
-
}
|
|
445
|
-
],
|
|
446
|
-
"pointer.leave": [
|
|
447
|
-
{
|
|
448
|
-
guard: "isVisible",
|
|
449
|
-
target: "closing",
|
|
450
|
-
actions: ["clearPointerMoveOpened"]
|
|
451
|
-
},
|
|
452
|
-
// == group ==
|
|
453
|
-
{
|
|
454
|
-
guard: "isOpenControlled",
|
|
455
|
-
actions: ["clearPointerMoveOpened", "invokeOnClose"]
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
target: "closed",
|
|
459
|
-
actions: ["clearPointerMoveOpened", "invokeOnClose"]
|
|
460
|
-
}
|
|
461
|
-
],
|
|
462
|
-
"content.pointer.leave": {
|
|
463
|
-
guard: "isInteractive",
|
|
464
|
-
target: "closing"
|
|
465
|
-
},
|
|
466
|
-
"positioning.set": {
|
|
467
|
-
actions: ["reposition"]
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
|
-
closing: {
|
|
472
|
-
effects: ["trackPositioning", "waitForCloseDelay"],
|
|
473
|
-
on: {
|
|
474
|
-
"after.closeDelay": [
|
|
475
|
-
{
|
|
476
|
-
guard: "isOpenControlled",
|
|
477
|
-
actions: ["invokeOnClose"]
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
target: "closed",
|
|
481
|
-
actions: ["invokeOnClose"]
|
|
482
|
-
}
|
|
483
|
-
],
|
|
484
|
-
"controlled.close": {
|
|
485
|
-
target: "closed"
|
|
486
|
-
},
|
|
487
|
-
"controlled.open": {
|
|
488
|
-
target: "open"
|
|
489
|
-
},
|
|
490
|
-
close: [
|
|
491
|
-
{
|
|
492
|
-
guard: "isOpenControlled",
|
|
493
|
-
actions: ["invokeOnClose"]
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
target: "closed",
|
|
497
|
-
actions: ["invokeOnClose"]
|
|
498
|
-
}
|
|
499
|
-
],
|
|
500
|
-
"pointer.move": [
|
|
501
|
-
{
|
|
502
|
-
guard: "isOpenControlled",
|
|
503
|
-
// We trigger toggleVisibility manually since the `ctx.open` has not changed yet (at this point)
|
|
504
|
-
actions: ["setPointerMoveOpened", "invokeOnOpen", "toggleVisibility"]
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
target: "open",
|
|
508
|
-
actions: ["setPointerMoveOpened", "invokeOnOpen"]
|
|
509
|
-
}
|
|
510
|
-
],
|
|
511
|
-
"content.pointer.move": {
|
|
512
|
-
guard: "isInteractive",
|
|
513
|
-
target: "open"
|
|
514
|
-
},
|
|
515
|
-
"positioning.set": {
|
|
516
|
-
actions: ["reposition"]
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
implementations: {
|
|
522
|
-
guards: {
|
|
523
|
-
noVisibleTooltip: () => b.id === null,
|
|
524
|
-
isVisible: ({ prop: e }) => e("id") === b.id,
|
|
525
|
-
isInteractive: ({ prop: e }) => !!e("interactive"),
|
|
526
|
-
hasPointerMoveOpened: ({ context: e }) => e.get("hasPointerMoveOpened"),
|
|
527
|
-
isOpenControlled: ({ prop: e }) => e("open") !== void 0
|
|
528
|
-
},
|
|
529
|
-
actions: {
|
|
530
|
-
setGlobalId: ({ prop: e }) => {
|
|
531
|
-
b.id = e("id");
|
|
532
|
-
},
|
|
533
|
-
clearGlobalId: ({ prop: e }) => {
|
|
534
|
-
e("id") === b.id && (b.id = null);
|
|
535
|
-
},
|
|
536
|
-
invokeOnOpen: ({ prop: e }) => {
|
|
537
|
-
e("onOpenChange")?.({ open: !0 });
|
|
538
|
-
},
|
|
539
|
-
invokeOnClose: ({ prop: e }) => {
|
|
540
|
-
e("onOpenChange")?.({ open: !1 });
|
|
541
|
-
},
|
|
542
|
-
closeIfDisabled: ({ prop: e, send: t }) => {
|
|
543
|
-
e("disabled") && t({ type: "close", src: "disabled.change" });
|
|
544
|
-
},
|
|
545
|
-
reposition: ({ context: e, event: t, prop: o, scope: n }) => {
|
|
546
|
-
if (t.type !== "positioning.set") return;
|
|
547
|
-
const r = () => re(n);
|
|
548
|
-
return ee(z(n), r, {
|
|
549
|
-
...o("positioning"),
|
|
550
|
-
...t.options,
|
|
551
|
-
defer: !0,
|
|
552
|
-
listeners: !1,
|
|
553
|
-
onComplete(c) {
|
|
554
|
-
e.set("currentPlacement", c.placement);
|
|
555
|
-
}
|
|
556
|
-
});
|
|
557
|
-
},
|
|
558
|
-
toggleVisibility: ({ prop: e, event: t, send: o }) => {
|
|
559
|
-
queueMicrotask(() => {
|
|
560
|
-
o({
|
|
561
|
-
type: e("open") ? "controlled.open" : "controlled.close",
|
|
562
|
-
previousEvent: t
|
|
563
|
-
});
|
|
564
|
-
});
|
|
565
|
-
},
|
|
566
|
-
setPointerMoveOpened: ({ context: e }) => {
|
|
567
|
-
e.set("hasPointerMoveOpened", !0);
|
|
568
|
-
},
|
|
569
|
-
clearPointerMoveOpened: ({ context: e }) => {
|
|
570
|
-
e.set("hasPointerMoveOpened", !1);
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
effects: {
|
|
574
|
-
trackFocusVisible: ({ scope: e }) => tt({ root: e.getRootNode?.() }),
|
|
575
|
-
trackPositioning: ({ context: e, prop: t, scope: o }) => {
|
|
576
|
-
e.get("currentPlacement") || e.set("currentPlacement", t("positioning").placement);
|
|
577
|
-
const n = () => re(o);
|
|
578
|
-
return ee(z(o), n, {
|
|
579
|
-
...t("positioning"),
|
|
580
|
-
defer: !0,
|
|
581
|
-
onComplete(r) {
|
|
582
|
-
e.set("currentPlacement", r.placement);
|
|
583
|
-
}
|
|
584
|
-
});
|
|
585
|
-
},
|
|
586
|
-
trackPointerlockChange: ({ send: e, scope: t }) => {
|
|
587
|
-
const o = t.getDoc();
|
|
588
|
-
return B(o, "pointerlockchange", () => e({ type: "close", src: "pointerlock:change" }), !1);
|
|
589
|
-
},
|
|
590
|
-
trackScroll: ({ send: e, prop: t, scope: o }) => {
|
|
591
|
-
if (!t("closeOnScroll")) return;
|
|
592
|
-
const n = z(o);
|
|
593
|
-
if (!n) return;
|
|
594
|
-
const c = Ge(n).map((p) => B(p, "scroll", () => {
|
|
595
|
-
e({ type: "close", src: "scroll" });
|
|
596
|
-
}, {
|
|
597
|
-
passive: !0,
|
|
598
|
-
capture: !0
|
|
599
|
-
}));
|
|
600
|
-
return () => {
|
|
601
|
-
c.forEach((p) => p?.());
|
|
602
|
-
};
|
|
603
|
-
},
|
|
604
|
-
trackStore: ({ prop: e, send: t }) => {
|
|
605
|
-
let o;
|
|
606
|
-
return queueMicrotask(() => {
|
|
607
|
-
o = ut(b, () => {
|
|
608
|
-
b.id !== e("id") && t({ type: "close", src: "id.change" });
|
|
609
|
-
});
|
|
610
|
-
}), () => o?.();
|
|
611
|
-
},
|
|
612
|
-
trackEscapeKey: ({ send: e, prop: t }) => t("closeOnEscape") ? B(document, "keydown", (n) => {
|
|
613
|
-
Ue(n) || n.key === "Escape" && (n.stopPropagation(), e({ type: "close", src: "keydown.escape" }));
|
|
614
|
-
}, !0) : void 0,
|
|
615
|
-
waitForOpenDelay: ({ send: e, prop: t }) => {
|
|
616
|
-
const o = setTimeout(() => {
|
|
617
|
-
e({ type: "after.openDelay" });
|
|
618
|
-
}, t("openDelay"));
|
|
619
|
-
return () => clearTimeout(o);
|
|
620
|
-
},
|
|
621
|
-
waitForCloseDelay: ({ send: e, prop: t }) => {
|
|
622
|
-
const o = setTimeout(() => {
|
|
623
|
-
e({ type: "after.closeDelay" });
|
|
624
|
-
}, t("closeDelay"));
|
|
625
|
-
return () => clearTimeout(o);
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
});
|
|
630
|
-
Ve()([
|
|
631
|
-
"aria-label",
|
|
632
|
-
"closeDelay",
|
|
633
|
-
"closeOnEscape",
|
|
634
|
-
"closeOnPointerDown",
|
|
635
|
-
"closeOnScroll",
|
|
636
|
-
"closeOnClick",
|
|
637
|
-
"dir",
|
|
638
|
-
"disabled",
|
|
639
|
-
"getRootNode",
|
|
640
|
-
"id",
|
|
641
|
-
"ids",
|
|
642
|
-
"interactive",
|
|
643
|
-
"onOpenChange",
|
|
644
|
-
"defaultOpen",
|
|
645
|
-
"open",
|
|
646
|
-
"openDelay",
|
|
647
|
-
"positioning"
|
|
648
|
-
]);
|
|
649
|
-
const wt = (e) => {
|
|
650
|
-
const t = Le(), { getRootNode: o } = xe(), { dir: n } = Ie(), r = {
|
|
651
|
-
id: t,
|
|
652
|
-
dir: n,
|
|
653
|
-
getRootNode: o,
|
|
654
|
-
...e
|
|
655
|
-
}, c = _e(Ot, r);
|
|
656
|
-
return mt(c, Ne);
|
|
657
|
-
}, bt = (e) => {
|
|
658
|
-
const [t, { children: o, ...n }] = ae(e), r = wt(n), c = le(E({ present: r.open }, t));
|
|
659
|
-
return /* @__PURE__ */ f.jsx(pe, { value: r, children: /* @__PURE__ */ f.jsx(ce, { value: c, children: o }) });
|
|
660
|
-
}, ht = (e) => {
|
|
661
|
-
const [t, { value: o, children: n }] = ae(e), r = le(E({ present: o.open }, t));
|
|
662
|
-
return /* @__PURE__ */ f.jsx(pe, { value: o, children: /* @__PURE__ */ f.jsx(ce, { value: r, children: n }) });
|
|
663
|
-
}, ke = L((e, t) => {
|
|
664
|
-
const o = V(), n = E(o.getTriggerProps(), e);
|
|
665
|
-
return /* @__PURE__ */ f.jsx(R.button, { ...n, ref: t });
|
|
666
|
-
});
|
|
667
|
-
ke.displayName = "TooltipTrigger";
|
|
668
|
-
const {
|
|
669
|
-
withRootProvider: Ee,
|
|
670
|
-
withContext: x
|
|
671
|
-
} = Ke({ key: "tooltip" });
|
|
672
|
-
Ee(
|
|
673
|
-
ht
|
|
674
|
-
);
|
|
675
|
-
const kt = Ee(bt, {
|
|
676
|
-
defaultProps: { lazyMount: !0, unmountOnExit: !0 }
|
|
677
|
-
}), Et = x(ke, "trigger", { forwardAsChild: !0 }), Tt = x(ve, "positioner", { forwardAsChild: !0 }), Ct = x(
|
|
678
|
-
ge,
|
|
679
|
-
"content",
|
|
680
|
-
{ forwardAsChild: !0 }
|
|
681
|
-
), Te = x(fe, "arrowTip", { forwardAsChild: !0 }), Mt = x(
|
|
682
|
-
ue,
|
|
683
|
-
"arrow",
|
|
684
|
-
{ forwardAsChild: !0, defaultProps: { children: /* @__PURE__ */ f.jsx(Te, {}) } }
|
|
685
|
-
), Lt = Se(
|
|
686
|
-
void 0
|
|
687
|
-
), St = () => {
|
|
688
|
-
const e = De(Lt);
|
|
689
|
-
return e === void 0 ? { contentRef: null } : e;
|
|
690
|
-
}, Dt = L(
|
|
691
|
-
(e, t) => {
|
|
692
|
-
const { contentRef: o } = St(), {
|
|
693
|
-
children: n,
|
|
694
|
-
disabled: r = !1,
|
|
695
|
-
openDelay: c = 350,
|
|
696
|
-
placement: p = "top",
|
|
697
|
-
positioning: a,
|
|
698
|
-
portalled: y = !0,
|
|
699
|
-
label: g,
|
|
700
|
-
...u
|
|
701
|
-
} = e;
|
|
702
|
-
return n ? r ? n : /* @__PURE__ */ f.jsxs(
|
|
703
|
-
kt,
|
|
704
|
-
{
|
|
705
|
-
positioning: {
|
|
706
|
-
...a,
|
|
707
|
-
placement: a?.placement || p
|
|
708
|
-
},
|
|
709
|
-
openDelay: c,
|
|
710
|
-
...u,
|
|
711
|
-
children: [
|
|
712
|
-
/* @__PURE__ */ f.jsx(
|
|
713
|
-
Et,
|
|
714
|
-
{
|
|
715
|
-
asChild: !0,
|
|
716
|
-
className: "Tooltip__Trigger",
|
|
717
|
-
"data-testid": "kibble-tooltip-trigger",
|
|
718
|
-
display: "inline-block",
|
|
719
|
-
children: n
|
|
720
|
-
}
|
|
721
|
-
),
|
|
722
|
-
/* @__PURE__ */ f.jsx(Fe, { disabled: !y, container: o || void 0, children: /* @__PURE__ */ f.jsx(Tt, { className: "Tooltip", "data-testid": "kibble-tooltip", children: /* @__PURE__ */ f.jsxs(
|
|
723
|
-
Ct,
|
|
724
|
-
{
|
|
725
|
-
className: "Tooltip__Content",
|
|
726
|
-
"data-testid": "kibble-tooltip-content",
|
|
727
|
-
ref: t,
|
|
728
|
-
fontSize: "sm",
|
|
729
|
-
p: 2,
|
|
730
|
-
color: "text.contrast",
|
|
731
|
-
css: { "--tooltip-bg": "colors.background.overlay.contrast" },
|
|
732
|
-
zIndex: "tooltipExtra",
|
|
733
|
-
children: [
|
|
734
|
-
/* @__PURE__ */ f.jsx(
|
|
735
|
-
Mt,
|
|
736
|
-
{
|
|
737
|
-
className: "Tooltip__Arrow",
|
|
738
|
-
"data-testid": "kibble-tooltip-arrow",
|
|
739
|
-
css: { "--arrow-size": "10px" },
|
|
740
|
-
children: /* @__PURE__ */ f.jsx(Te, {})
|
|
741
|
-
}
|
|
742
|
-
),
|
|
743
|
-
g
|
|
744
|
-
]
|
|
745
|
-
}
|
|
746
|
-
) }) })
|
|
747
|
-
]
|
|
748
|
-
}
|
|
749
|
-
) : /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
750
|
-
}
|
|
751
|
-
);
|
|
752
|
-
Dt.displayName = "Tooltip";
|
|
753
|
-
export {
|
|
754
|
-
Lt as M,
|
|
755
|
-
Dt as T,
|
|
756
|
-
gt as a,
|
|
757
|
-
H as i,
|
|
758
|
-
tt as t,
|
|
759
|
-
St as u
|
|
760
|
-
};
|
|
761
|
-
//# sourceMappingURL=tooltip.component-oofe83RC.js.map
|