@techzyapp/ui-library 1.0.50 → 1.0.51
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/{AdminRoot-MEfy9xtz.cjs → AdminRoot-CFDMjB1A.cjs} +2 -2
- package/dist/{AdminRoot-MEfy9xtz.cjs.map → AdminRoot-CFDMjB1A.cjs.map} +1 -1
- package/dist/{AdminRoot-C5l8PIyi.js → AdminRoot-D4GGvprQ.js} +8 -8
- package/dist/{AdminRoot-C5l8PIyi.js.map → AdminRoot-D4GGvprQ.js.map} +1 -1
- package/dist/{Alert--ZnlCjaL.cjs → Alert-CC4gxX9w.cjs} +2 -2
- package/dist/{Alert--ZnlCjaL.cjs.map → Alert-CC4gxX9w.cjs.map} +1 -1
- package/dist/{Alert-BVs-GcZQ.js → Alert-D56N-LeR.js} +3 -3
- package/dist/{Alert-BVs-GcZQ.js.map → Alert-D56N-LeR.js.map} +1 -1
- package/dist/{AuthGuard-DJ_mMwfg.js → AuthGuard-D6_sTASu.js} +2 -2
- package/dist/{AuthGuard-DJ_mMwfg.js.map → AuthGuard-D6_sTASu.js.map} +1 -1
- package/dist/{AuthGuard-Cm-tqCto.cjs → AuthGuard-DM1nDTE5.cjs} +2 -2
- package/dist/{AuthGuard-Cm-tqCto.cjs.map → AuthGuard-DM1nDTE5.cjs.map} +1 -1
- package/dist/BottomSheet-0oqSWjBx.js +646 -0
- package/dist/BottomSheet-0oqSWjBx.js.map +1 -0
- package/dist/BottomSheet-BWTYMGOU.cjs +2 -0
- package/dist/BottomSheet-BWTYMGOU.cjs.map +1 -0
- package/dist/{Breadcrumbs-HGk4DKrc.js → Breadcrumbs-BEcEVdRt.js} +3 -3
- package/dist/{Breadcrumbs-HGk4DKrc.js.map → Breadcrumbs-BEcEVdRt.js.map} +1 -1
- package/dist/{Breadcrumbs-D4wv2-T7.cjs → Breadcrumbs-DGyb8ntF.cjs} +2 -2
- package/dist/{Breadcrumbs-D4wv2-T7.cjs.map → Breadcrumbs-DGyb8ntF.cjs.map} +1 -1
- package/dist/{Button-7mgXcRdw.js → Button-CwwuhATn.js} +2 -2
- package/dist/{Button-7mgXcRdw.js.map → Button-CwwuhATn.js.map} +1 -1
- package/dist/{Button-DAvQCGIw.cjs → Button-D6f4SooD.cjs} +2 -2
- package/dist/{Button-DAvQCGIw.cjs.map → Button-D6f4SooD.cjs.map} +1 -1
- package/dist/{Calendar-B1ZJHqjB.js → Calendar-CGLl3HmM.js} +3 -3
- package/dist/{Calendar-B1ZJHqjB.js.map → Calendar-CGLl3HmM.js.map} +1 -1
- package/dist/{Calendar-BPYjqBy9.cjs → Calendar-CjHLOfVw.cjs} +2 -2
- package/dist/{Calendar-BPYjqBy9.cjs.map → Calendar-CjHLOfVw.cjs.map} +1 -1
- package/dist/{Card-B-Qso__1.cjs → Card-BbfesgrZ.cjs} +2 -2
- package/dist/{Card-B-Qso__1.cjs.map → Card-BbfesgrZ.cjs.map} +1 -1
- package/dist/{Card-vFsIhkyR.js → Card-DTmvoxKG.js} +3 -3
- package/dist/{Card-vFsIhkyR.js.map → Card-DTmvoxKG.js.map} +1 -1
- package/dist/{Chip-CovsonP1.cjs → Chip-CguuQYqY.cjs} +2 -2
- package/dist/{Chip-CovsonP1.cjs.map → Chip-CguuQYqY.cjs.map} +1 -1
- package/dist/{Chip-CU0J7HJa.js → Chip-DRwzCG96.js} +2 -2
- package/dist/{Chip-CU0J7HJa.js.map → Chip-DRwzCG96.js.map} +1 -1
- package/dist/{CodeBlock-DvJ45qEp.js → CodeBlock-C-8MTy4V.js} +3 -3
- package/dist/{CodeBlock-DvJ45qEp.js.map → CodeBlock-C-8MTy4V.js.map} +1 -1
- package/dist/{CodeBlock-B404V_cc.cjs → CodeBlock-Dv7hXdPl.cjs} +2 -2
- package/dist/{CodeBlock-B404V_cc.cjs.map → CodeBlock-Dv7hXdPl.cjs.map} +1 -1
- package/dist/{ColorPicker-_RBW51XB.cjs → ColorPicker-B4UqiIvG.cjs} +2 -2
- package/dist/{ColorPicker-_RBW51XB.cjs.map → ColorPicker-B4UqiIvG.cjs.map} +1 -1
- package/dist/{ColorPicker-C4slmEZC.js → ColorPicker-Rva-0w3d.js} +3 -3
- package/dist/{ColorPicker-C4slmEZC.js.map → ColorPicker-Rva-0w3d.js.map} +1 -1
- package/dist/{ColorPickerPanel-CNspBZre.cjs → ColorPickerPanel-DRJzClGA.cjs} +2 -2
- package/dist/{ColorPickerPanel-CNspBZre.cjs.map → ColorPickerPanel-DRJzClGA.cjs.map} +1 -1
- package/dist/{ColorPickerPanel-CQNfIbgc.js → ColorPickerPanel-Dx_TIReY.js} +2 -2
- package/dist/{ColorPickerPanel-CQNfIbgc.js.map → ColorPickerPanel-Dx_TIReY.js.map} +1 -1
- package/dist/{ColorRamp-DuO7gkru.cjs → ColorRamp-C5KkZS8L.cjs} +2 -2
- package/dist/{ColorRamp-DuO7gkru.cjs.map → ColorRamp-C5KkZS8L.cjs.map} +1 -1
- package/dist/{ColorRamp-DQZZiE5I.js → ColorRamp-CBkbpBHf.js} +2 -2
- package/dist/{ColorRamp-DQZZiE5I.js.map → ColorRamp-CBkbpBHf.js.map} +1 -1
- package/dist/{ConfigProvider-bXX8dnhY.js → ConfigProvider-BOcVBt4M.js} +2 -2
- package/dist/{ConfigProvider-bXX8dnhY.js.map → ConfigProvider-BOcVBt4M.js.map} +1 -1
- package/dist/{ConfigProvider-BFhkb0BV.cjs → ConfigProvider-DPk0aHDG.cjs} +2 -2
- package/dist/{ConfigProvider-BFhkb0BV.cjs.map → ConfigProvider-DPk0aHDG.cjs.map} +1 -1
- package/dist/{CopyButton-DfYAslz-.js → CopyButton-BjNknp73.js} +3 -3
- package/dist/{CopyButton-DfYAslz-.js.map → CopyButton-BjNknp73.js.map} +1 -1
- package/dist/{CopyButton-B2V6guZ0.cjs → CopyButton-BxOhFQiM.cjs} +2 -2
- package/dist/{CopyButton-B2V6guZ0.cjs.map → CopyButton-BxOhFQiM.cjs.map} +1 -1
- package/dist/{DatePicker-DrIHa1j1.cjs → DatePicker-DCCq8OCQ.cjs} +2 -2
- package/dist/{DatePicker-DrIHa1j1.cjs.map → DatePicker-DCCq8OCQ.cjs.map} +1 -1
- package/dist/{DatePicker-CNUDjOxA.js → DatePicker-UCzOaIUQ.js} +4 -4
- package/dist/{DatePicker-CNUDjOxA.js.map → DatePicker-UCzOaIUQ.js.map} +1 -1
- package/dist/{DateTimePicker-CvWNDbib.js → DateTimePicker-1716FCsy.js} +7 -7
- package/dist/{DateTimePicker-CvWNDbib.js.map → DateTimePicker-1716FCsy.js.map} +1 -1
- package/dist/{DateTimePicker-BzwxaOPb.cjs → DateTimePicker-nN9Okf1Y.cjs} +2 -2
- package/dist/{DateTimePicker-BzwxaOPb.cjs.map → DateTimePicker-nN9Okf1Y.cjs.map} +1 -1
- package/dist/{DescriptionList-BgMNjHJQ.js → DescriptionList-BTdmaD1T.js} +4 -4
- package/dist/{DescriptionList-BgMNjHJQ.js.map → DescriptionList-BTdmaD1T.js.map} +1 -1
- package/dist/{DescriptionList-Bed1MHU8.cjs → DescriptionList-BbLVh3eI.cjs} +2 -2
- package/dist/{DescriptionList-Bed1MHU8.cjs.map → DescriptionList-BbLVh3eI.cjs.map} +1 -1
- package/dist/{Dropdown-iWbHokT7.js → Dropdown-CmEWQTdx.js} +2 -2
- package/dist/{Dropdown-iWbHokT7.js.map → Dropdown-CmEWQTdx.js.map} +1 -1
- package/dist/{Dropdown-DNL7RWdL.cjs → Dropdown-DC0Cl9Tb.cjs} +2 -2
- package/dist/{Dropdown-DNL7RWdL.cjs.map → Dropdown-DC0Cl9Tb.cjs.map} +1 -1
- package/dist/{EmptyState-CmcjJl_K.js → EmptyState-Cd1IxApj.js} +2 -2
- package/dist/{EmptyState-CmcjJl_K.js.map → EmptyState-Cd1IxApj.js.map} +1 -1
- package/dist/{EmptyState-BzwrOICc.cjs → EmptyState-DQJ1JswD.cjs} +2 -2
- package/dist/{EmptyState-BzwrOICc.cjs.map → EmptyState-DQJ1JswD.cjs.map} +1 -1
- package/dist/{ErrorBoundary-BcZgeSsu.cjs → ErrorBoundary-CXhzkfEl.cjs} +2 -2
- package/dist/{ErrorBoundary-BcZgeSsu.cjs.map → ErrorBoundary-CXhzkfEl.cjs.map} +1 -1
- package/dist/{ErrorBoundary-TfeJetWc.js → ErrorBoundary-DUbPB1_a.js} +3 -3
- package/dist/{ErrorBoundary-TfeJetWc.js.map → ErrorBoundary-DUbPB1_a.js.map} +1 -1
- package/dist/{ErrorState-EjIhdq7S.js → ErrorState-CbKuo8cI.js} +7 -7
- package/dist/{ErrorState-EjIhdq7S.js.map → ErrorState-CbKuo8cI.js.map} +1 -1
- package/dist/{ErrorState-CzWz5UcX.cjs → ErrorState-URYycye9.cjs} +2 -2
- package/dist/{ErrorState-CzWz5UcX.cjs.map → ErrorState-URYycye9.cjs.map} +1 -1
- package/dist/{FileCard-CmMxVyk3.js → FileCard-DxwKSMN1.js} +3 -3
- package/dist/{FileCard-CmMxVyk3.js.map → FileCard-DxwKSMN1.js.map} +1 -1
- package/dist/{FileCard-Cxr1_eF2.cjs → FileCard-o7zymUXi.cjs} +2 -2
- package/dist/{FileCard-Cxr1_eF2.cjs.map → FileCard-o7zymUXi.cjs.map} +1 -1
- package/dist/{FileUploader-2cXBI4Nh.js → FileUploader-CS5HbKW3.js} +6 -6
- package/dist/{FileUploader-2cXBI4Nh.js.map → FileUploader-CS5HbKW3.js.map} +1 -1
- package/dist/{FileUploader-BkM1t2aE.cjs → FileUploader-uaTl82eB.cjs} +2 -2
- package/dist/{FileUploader-BkM1t2aE.cjs.map → FileUploader-uaTl82eB.cjs.map} +1 -1
- package/dist/{Flag-CWp81_zX.cjs → Flag-BodaDmHB.cjs} +2 -2
- package/dist/{Flag-CWp81_zX.cjs.map → Flag-BodaDmHB.cjs.map} +1 -1
- package/dist/{Flag-IQolG3j6.js → Flag-CS4SH1Nt.js} +2 -2
- package/dist/{Flag-IQolG3j6.js.map → Flag-CS4SH1Nt.js.map} +1 -1
- package/dist/{FullscreenToggle-DXVAeN3M.cjs → FullscreenToggle--qqOi3Bw.cjs} +2 -2
- package/dist/{FullscreenToggle-DXVAeN3M.cjs.map → FullscreenToggle--qqOi3Bw.cjs.map} +1 -1
- package/dist/{FullscreenToggle-B1DH_-k3.js → FullscreenToggle-CI3fmt9Q.js} +3 -3
- package/dist/{FullscreenToggle-B1DH_-k3.js.map → FullscreenToggle-CI3fmt9Q.js.map} +1 -1
- package/dist/{IconButton-s5hohjxu.js → IconButton-CCxNWwlu.js} +2 -2
- package/dist/{IconButton-s5hohjxu.js.map → IconButton-CCxNWwlu.js.map} +1 -1
- package/dist/{IconButton-ChhZqleN.cjs → IconButton-DOlCOuKu.cjs} +2 -2
- package/dist/{IconButton-ChhZqleN.cjs.map → IconButton-DOlCOuKu.cjs.map} +1 -1
- package/dist/{ImageEditor-DWbWjGQ8.js → ImageEditor-CKfaHNGz.js} +7 -7
- package/dist/{ImageEditor-DWbWjGQ8.js.map → ImageEditor-CKfaHNGz.js.map} +1 -1
- package/dist/{ImageEditor-C8tFTX4e.cjs → ImageEditor-CWISFJ1J.cjs} +2 -2
- package/dist/{ImageEditor-C8tFTX4e.cjs.map → ImageEditor-CWISFJ1J.cjs.map} +1 -1
- package/dist/{List-Dfa7mlSZ.cjs → List-4VSERgRp.cjs} +2 -2
- package/dist/{List-Dfa7mlSZ.cjs.map → List-4VSERgRp.cjs.map} +1 -1
- package/dist/{List-DQlEG_S5.js → List-H70lnOLB.js} +2 -2
- package/dist/{List-DQlEG_S5.js.map → List-H70lnOLB.js.map} +1 -1
- package/dist/ListItem-DRzwCAvN.js +79 -0
- package/dist/ListItem-DRzwCAvN.js.map +1 -0
- package/dist/ListItem-wMTmx1yX.cjs +2 -0
- package/dist/ListItem-wMTmx1yX.cjs.map +1 -0
- package/dist/{Loader-BCrMy9NU.cjs → Loader-DUp5O6pO.cjs} +2 -2
- package/dist/{Loader-BCrMy9NU.cjs.map → Loader-DUp5O6pO.cjs.map} +1 -1
- package/dist/{Loader-CShIWNfG.js → Loader-Dj_lwZT2.js} +2 -2
- package/dist/{Loader-CShIWNfG.js.map → Loader-Dj_lwZT2.js.map} +1 -1
- package/dist/{LocationPicker-DsV_s2Ur.js → LocationPicker-CB2vrhu0.js} +7 -7
- package/dist/{LocationPicker-DsV_s2Ur.js.map → LocationPicker-CB2vrhu0.js.map} +1 -1
- package/dist/{LocationPicker-8Tt0zJU4.cjs → LocationPicker-DzCmt8Xb.cjs} +2 -2
- package/dist/{LocationPicker-8Tt0zJU4.cjs.map → LocationPicker-DzCmt8Xb.cjs.map} +1 -1
- package/dist/{Modal-yj92WLay.cjs → Modal-C5sKj4UK.cjs} +2 -2
- package/dist/{Modal-yj92WLay.cjs.map → Modal-C5sKj4UK.cjs.map} +1 -1
- package/dist/{Modal-BO7fHn0r.js → Modal-Cr1aqYgb.js} +3 -3
- package/dist/{Modal-BO7fHn0r.js.map → Modal-Cr1aqYgb.js.map} +1 -1
- package/dist/{MultiSelect-D-QWlfwD.js → MultiSelect-DgrL23Nr.js} +4 -4
- package/dist/{MultiSelect-D-QWlfwD.js.map → MultiSelect-DgrL23Nr.js.map} +1 -1
- package/dist/{MultiSelect-B6JZb_5N.cjs → MultiSelect-mY7X3O7V.cjs} +2 -2
- package/dist/{MultiSelect-B6JZb_5N.cjs.map → MultiSelect-mY7X3O7V.cjs.map} +1 -1
- package/dist/{NumberField-CS5VMnk4.cjs → NumberField-CnsHPDuN.cjs} +2 -2
- package/dist/{NumberField-CS5VMnk4.cjs.map → NumberField-CnsHPDuN.cjs.map} +1 -1
- package/dist/{NumberField-D_UxKjVN.js → NumberField-GxQeV07e.js} +3 -3
- package/dist/{NumberField-D_UxKjVN.js.map → NumberField-GxQeV07e.js.map} +1 -1
- package/dist/{OtpField-BuS_8j9L.cjs → OtpField-Dt71t0PF.cjs} +2 -2
- package/dist/{OtpField-BuS_8j9L.cjs.map → OtpField-Dt71t0PF.cjs.map} +1 -1
- package/dist/{OtpField-CpjDid5_.js → OtpField-b31rUMV1.js} +2 -2
- package/dist/{OtpField-CpjDid5_.js.map → OtpField-b31rUMV1.js.map} +1 -1
- package/dist/{PageError-DjyJrGmR.js → PageError-0it6u2r9.js} +5 -5
- package/dist/{PageError-DjyJrGmR.js.map → PageError-0it6u2r9.js.map} +1 -1
- package/dist/{PageError-CTEOASeb.cjs → PageError-BYIkzEfs.cjs} +2 -2
- package/dist/{PageError-CTEOASeb.cjs.map → PageError-BYIkzEfs.cjs.map} +1 -1
- package/dist/{PageLayout-BYKRmCAL.cjs → PageLayout-8ZHBwDeC.cjs} +2 -2
- package/dist/{PageLayout-BYKRmCAL.cjs.map → PageLayout-8ZHBwDeC.cjs.map} +1 -1
- package/dist/{PageLayout-Cz1OhQZ7.js → PageLayout-Cqb2pczH.js} +4 -4
- package/dist/{PageLayout-Cz1OhQZ7.js.map → PageLayout-Cqb2pczH.js.map} +1 -1
- package/dist/{PageNotFound-u9Q4KG6B.cjs → PageNotFound-BCX-XQLA.cjs} +2 -2
- package/dist/{PageNotFound-u9Q4KG6B.cjs.map → PageNotFound-BCX-XQLA.cjs.map} +1 -1
- package/dist/{PageNotFound-CwBtrllo.js → PageNotFound-ChpqEtgV.js} +5 -5
- package/dist/{PageNotFound-CwBtrllo.js.map → PageNotFound-ChpqEtgV.js.map} +1 -1
- package/dist/{Pagination-HtS5gPnd.cjs → Pagination-DSdcF9UF.cjs} +2 -2
- package/dist/{Pagination-HtS5gPnd.cjs.map → Pagination-DSdcF9UF.cjs.map} +1 -1
- package/dist/{Pagination-CLjNwqie.js → Pagination-Du6tATTZ.js} +2 -2
- package/dist/{Pagination-CLjNwqie.js.map → Pagination-Du6tATTZ.js.map} +1 -1
- package/dist/{PaletteField-BSgx5pxh.cjs → PaletteField-D_wYeYEx.cjs} +2 -2
- package/dist/{PaletteField-BSgx5pxh.cjs.map → PaletteField-D_wYeYEx.cjs.map} +1 -1
- package/dist/{PaletteField-Bk7cnSla.js → PaletteField-F-6hF1Ly.js} +3 -3
- package/dist/{PaletteField-Bk7cnSla.js.map → PaletteField-F-6hF1Ly.js.map} +1 -1
- package/dist/{PhoneField-CzFv2Vci.cjs → PhoneField-BdRlvj7L.cjs} +2 -2
- package/dist/{PhoneField-CzFv2Vci.cjs.map → PhoneField-BdRlvj7L.cjs.map} +1 -1
- package/dist/{PhoneField-DhoumZNG.js → PhoneField-D99W6Abz.js} +4 -4
- package/dist/{PhoneField-DhoumZNG.js.map → PhoneField-D99W6Abz.js.map} +1 -1
- package/dist/{Popconfirm-Cb9LlmZb.cjs → Popconfirm-B4506C47.cjs} +2 -2
- package/dist/{Popconfirm-Cb9LlmZb.cjs.map → Popconfirm-B4506C47.cjs.map} +1 -1
- package/dist/{Popconfirm-D7J5JbF-.js → Popconfirm-C5ldh11s.js} +3 -3
- package/dist/{Popconfirm-D7J5JbF-.js.map → Popconfirm-C5ldh11s.js.map} +1 -1
- package/dist/{Progress-Bt2LDqbD.js → Progress-C71Yo8Mw.js} +2 -2
- package/dist/{Progress-Bt2LDqbD.js.map → Progress-C71Yo8Mw.js.map} +1 -1
- package/dist/{Progress-dAtQ2BN-.cjs → Progress-sa-c4iAK.cjs} +2 -2
- package/dist/{Progress-dAtQ2BN-.cjs.map → Progress-sa-c4iAK.cjs.map} +1 -1
- package/dist/{QrCode-jaDZxZkv.js → QrCode-CMLPHVUN.js} +2 -2
- package/dist/{QrCode-jaDZxZkv.js.map → QrCode-CMLPHVUN.js.map} +1 -1
- package/dist/{QrCode-FHUAxI8u.cjs → QrCode-lWfNmqL8.cjs} +2 -2
- package/dist/{QrCode-FHUAxI8u.cjs.map → QrCode-lWfNmqL8.cjs.map} +1 -1
- package/dist/{RemoveDialog-eGNxdyoO.cjs → RemoveDialog-C6XRG1SG.cjs} +2 -2
- package/dist/{RemoveDialog-eGNxdyoO.cjs.map → RemoveDialog-C6XRG1SG.cjs.map} +1 -1
- package/dist/{RemoveDialog-DdO5E3Wl.js → RemoveDialog-D01OLxbj.js} +5 -5
- package/dist/{RemoveDialog-DdO5E3Wl.js.map → RemoveDialog-D01OLxbj.js.map} +1 -1
- package/dist/{RichTextEditor-DHRiJchI.js → RichTextEditor-BFzWo8Ih.js} +9 -9
- package/dist/{RichTextEditor-DHRiJchI.js.map → RichTextEditor-BFzWo8Ih.js.map} +1 -1
- package/dist/{RichTextEditor-CoYuQurR.cjs → RichTextEditor-JpvFdJMa.cjs} +2 -2
- package/dist/{RichTextEditor-CoYuQurR.cjs.map → RichTextEditor-JpvFdJMa.cjs.map} +1 -1
- package/dist/{RootLayout-pd66MZtI.js → RootLayout-Dbika05Y.js} +17 -17
- package/dist/{RootLayout-pd66MZtI.js.map → RootLayout-Dbika05Y.js.map} +1 -1
- package/dist/{RootLayout-CEplIlVR.cjs → RootLayout-IwlWqYVL.cjs} +2 -2
- package/dist/{RootLayout-CEplIlVR.cjs.map → RootLayout-IwlWqYVL.cjs.map} +1 -1
- package/dist/{Select-CvW_T9R-.cjs → Select-CioU7fV7.cjs} +2 -2
- package/dist/{Select-CvW_T9R-.cjs.map → Select-CioU7fV7.cjs.map} +1 -1
- package/dist/{Select-C2iiQLMh.js → Select-DKaKdvG0.js} +3 -3
- package/dist/{Select-C2iiQLMh.js.map → Select-DKaKdvG0.js.map} +1 -1
- package/dist/{Sidebar-CqGCazeA.cjs → Sidebar-B7mCqEkl.cjs} +2 -2
- package/dist/{Sidebar-CqGCazeA.cjs.map → Sidebar-B7mCqEkl.cjs.map} +1 -1
- package/dist/{Sidebar-DuUhzQBi.js → Sidebar-D0pNTtIb.js} +6 -6
- package/dist/{Sidebar-DuUhzQBi.js.map → Sidebar-D0pNTtIb.js.map} +1 -1
- package/dist/{Slider-UY29adRu.js → Slider-BVM_MXjM.js} +2 -2
- package/dist/{Slider-UY29adRu.js.map → Slider-BVM_MXjM.js.map} +1 -1
- package/dist/{Slider-DlPMPdHA.cjs → Slider-RpFfWXLX.cjs} +2 -2
- package/dist/{Slider-DlPMPdHA.cjs.map → Slider-RpFfWXLX.cjs.map} +1 -1
- package/dist/{SpeedDial-DOWefQgo.js → SpeedDial-BMd4lvc6.js} +2 -2
- package/dist/{SpeedDial-DOWefQgo.js.map → SpeedDial-BMd4lvc6.js.map} +1 -1
- package/dist/{SpeedDial-Cms5pJ9t.cjs → SpeedDial-BpHZ09TN.cjs} +2 -2
- package/dist/{SpeedDial-Cms5pJ9t.cjs.map → SpeedDial-BpHZ09TN.cjs.map} +1 -1
- package/dist/{Stepper-4wCyTnwi.cjs → Stepper-BhtP1FgK.cjs} +2 -2
- package/dist/{Stepper-4wCyTnwi.cjs.map → Stepper-BhtP1FgK.cjs.map} +1 -1
- package/dist/{Stepper-yQEJkbUJ.js → Stepper-CedGw8c6.js} +2 -2
- package/dist/{Stepper-yQEJkbUJ.js.map → Stepper-CedGw8c6.js.map} +1 -1
- package/dist/{Table-D4pqLNtE.cjs → Table-C-s1M3ZJ.cjs} +2 -2
- package/dist/{Table-D4pqLNtE.cjs.map → Table-C-s1M3ZJ.cjs.map} +1 -1
- package/dist/{Table-CNrt1EWm.js → Table-CEIZw6O7.js} +18 -18
- package/dist/{Table-CNrt1EWm.js.map → Table-CEIZw6O7.js.map} +1 -1
- package/dist/{Tabs-lezN63jW.js → Tabs-BryFjibj.js} +2 -2
- package/dist/{Tabs-lezN63jW.js.map → Tabs-BryFjibj.js.map} +1 -1
- package/dist/{Tabs-D6qrgZTM.cjs → Tabs-DXb1phlV.cjs} +2 -2
- package/dist/{Tabs-D6qrgZTM.cjs.map → Tabs-DXb1phlV.cjs.map} +1 -1
- package/dist/{TagsField-BIJEDyfz.cjs → TagsField-BG7ianZI.cjs} +2 -2
- package/dist/{TagsField-BIJEDyfz.cjs.map → TagsField-BG7ianZI.cjs.map} +1 -1
- package/dist/{TagsField-D_a2I8eU.js → TagsField-Dju_vk92.js} +4 -4
- package/dist/{TagsField-D_a2I8eU.js.map → TagsField-Dju_vk92.js.map} +1 -1
- package/dist/{TextField-CXDBlP-8.cjs → TextField-D5NDKrbU.cjs} +2 -2
- package/dist/{TextField-CXDBlP-8.cjs.map → TextField-D5NDKrbU.cjs.map} +1 -1
- package/dist/{TextField-BsC2zoHI.js → TextField-DATNsTzX.js} +3 -3
- package/dist/{TextField-BsC2zoHI.js.map → TextField-DATNsTzX.js.map} +1 -1
- package/dist/{ThemeToggle-Dh6XxqM7.js → ThemeToggle-CCSi6b_Z.js} +3 -3
- package/dist/{ThemeToggle-Dh6XxqM7.js.map → ThemeToggle-CCSi6b_Z.js.map} +1 -1
- package/dist/{ThemeToggle-zbKf4ph5.cjs → ThemeToggle-or27hawd.cjs} +2 -2
- package/dist/{ThemeToggle-zbKf4ph5.cjs.map → ThemeToggle-or27hawd.cjs.map} +1 -1
- package/dist/{TimeColumns-CR__2LXh.js → TimeColumns-B5LAStb0.js} +2 -2
- package/dist/{TimeColumns-CR__2LXh.js.map → TimeColumns-B5LAStb0.js.map} +1 -1
- package/dist/{TimeColumns-CjBeUPtV.cjs → TimeColumns-BNmC-5do.cjs} +2 -2
- package/dist/{TimeColumns-CjBeUPtV.cjs.map → TimeColumns-BNmC-5do.cjs.map} +1 -1
- package/dist/{TimePicker-DtqmD2bH.cjs → TimePicker-CKNymi90.cjs} +2 -2
- package/dist/{TimePicker-DtqmD2bH.cjs.map → TimePicker-CKNymi90.cjs.map} +1 -1
- package/dist/{TimePicker-BakQ-wPd.js → TimePicker-D43aa4JA.js} +5 -5
- package/dist/{TimePicker-BakQ-wPd.js.map → TimePicker-D43aa4JA.js.map} +1 -1
- package/dist/{Toaster-C5jWNL-o.js → Toaster-BmH9V76v.js} +3 -3
- package/dist/{Toaster-C5jWNL-o.js.map → Toaster-BmH9V76v.js.map} +1 -1
- package/dist/{Toaster-BpXPWJ_n.cjs → Toaster-CvtKx3FV.cjs} +2 -2
- package/dist/{Toaster-BpXPWJ_n.cjs.map → Toaster-CvtKx3FV.cjs.map} +1 -1
- package/dist/{TranslatedFields-C8oxlGIQ.js → TranslatedFields-Bn0cR47v.js} +5 -5
- package/dist/{TranslatedFields-C8oxlGIQ.js.map → TranslatedFields-Bn0cR47v.js.map} +1 -1
- package/dist/{TranslatedFields-Che_ZPHk.cjs → TranslatedFields-U1cjZKWn.cjs} +2 -2
- package/dist/{TranslatedFields-Che_ZPHk.cjs.map → TranslatedFields-U1cjZKWn.cjs.map} +1 -1
- package/dist/{UserCard-Dr1A_bdA.js → UserCard-BNKMs48t.js} +3 -3
- package/dist/{UserCard-Dr1A_bdA.js.map → UserCard-BNKMs48t.js.map} +1 -1
- package/dist/{UserCard-DlrdIJHW.cjs → UserCard-D0RokNh8.cjs} +2 -2
- package/dist/{UserCard-DlrdIJHW.cjs.map → UserCard-D0RokNh8.cjs.map} +1 -1
- package/dist/{authLayoutRoute-CPLqQVvx.cjs → authLayoutRoute-23XOJ9q9.cjs} +2 -2
- package/dist/{authLayoutRoute-CPLqQVvx.cjs.map → authLayoutRoute-23XOJ9q9.cjs.map} +1 -1
- package/dist/{authLayoutRoute-nSZq8JYA.js → authLayoutRoute-BE0nGH_N.js} +2 -2
- package/dist/{authLayoutRoute-nSZq8JYA.js.map → authLayoutRoute-BE0nGH_N.js.map} +1 -1
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/BottomSheet/BottomSheet.d.cts +59 -0
- package/dist/components/BottomSheet/BottomSheet.d.ts +59 -0
- package/dist/components/BottomSheet/gesture.d.cts +51 -0
- package/dist/components/BottomSheet/gesture.d.ts +51 -0
- package/dist/components/BottomSheet/index.cjs +2 -0
- package/dist/components/BottomSheet/index.cjs.map +1 -0
- package/dist/components/BottomSheet/index.d.cts +2 -0
- package/dist/components/BottomSheet/index.d.ts +2 -0
- package/dist/components/BottomSheet/index.js +6 -0
- package/dist/components/BottomSheet/index.js.map +1 -0
- package/dist/components/BottomSheet/motion.d.cts +47 -0
- package/dist/components/BottomSheet/motion.d.ts +47 -0
- package/dist/components/Breadcrumbs/index.cjs +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.cjs +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Card/index.cjs +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Chip/index.cjs +1 -1
- package/dist/components/Chip/index.js +1 -1
- package/dist/components/CodeBlock/index.cjs +1 -1
- package/dist/components/CodeBlock/index.js +1 -1
- package/dist/components/ColorPicker/index.cjs +1 -1
- package/dist/components/ColorPicker/index.js +1 -1
- package/dist/components/ColorRamp/index.cjs +1 -1
- package/dist/components/ColorRamp/index.js +1 -1
- package/dist/components/CopyButton/index.cjs +1 -1
- package/dist/components/CopyButton/index.js +1 -1
- package/dist/components/DatePicker/index.cjs +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/DateTimePicker/index.cjs +1 -1
- package/dist/components/DateTimePicker/index.js +1 -1
- package/dist/components/DescriptionList/index.cjs +1 -1
- package/dist/components/DescriptionList/index.js +1 -1
- package/dist/components/Dropdown/index.cjs +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/EmptyState/index.cjs +1 -1
- package/dist/components/EmptyState/index.js +1 -1
- package/dist/components/ErrorState/index.cjs +1 -1
- package/dist/components/ErrorState/index.js +2 -2
- package/dist/components/FileCard/index.cjs +1 -1
- package/dist/components/FileCard/index.js +1 -1
- package/dist/components/FileUploader/index.cjs +1 -1
- package/dist/components/FileUploader/index.js +1 -1
- package/dist/components/Flag/index.cjs +1 -1
- package/dist/components/Flag/index.js +1 -1
- package/dist/components/FullscreenToggle/index.cjs +1 -1
- package/dist/components/FullscreenToggle/index.js +1 -1
- package/dist/components/IconButton/index.cjs +1 -1
- package/dist/components/IconButton/index.js +1 -1
- package/dist/components/ImageEditor/index.cjs +1 -1
- package/dist/components/ImageEditor/index.js +1 -1
- package/dist/components/List/ListItem.d.cts +9 -1
- package/dist/components/List/ListItem.d.ts +9 -1
- package/dist/components/List/index.cjs +1 -1
- package/dist/components/List/index.d.cts +1 -1
- package/dist/components/List/index.d.ts +1 -1
- package/dist/components/List/index.js +2 -2
- package/dist/components/Loader/index.cjs +1 -1
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/LocationPicker/index.cjs +1 -1
- package/dist/components/LocationPicker/index.js +1 -1
- package/dist/components/Modal/index.cjs +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/MultiSelect/index.cjs +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/NumberField/index.cjs +1 -1
- package/dist/components/NumberField/index.js +1 -1
- package/dist/components/OtpField/index.cjs +1 -1
- package/dist/components/OtpField/index.js +1 -1
- package/dist/components/PageError/index.cjs +1 -1
- package/dist/components/PageError/index.js +1 -1
- package/dist/components/PageLayout/index.cjs +1 -1
- package/dist/components/PageLayout/index.js +1 -1
- package/dist/components/PageNotFound/index.cjs +1 -1
- package/dist/components/PageNotFound/index.js +1 -1
- package/dist/components/Pagination/index.cjs +1 -1
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/PaletteField/index.cjs +1 -1
- package/dist/components/PaletteField/index.js +1 -1
- package/dist/components/PhoneField/index.cjs +1 -1
- package/dist/components/PhoneField/index.js +1 -1
- package/dist/components/Popconfirm/index.cjs +1 -1
- package/dist/components/Popconfirm/index.js +1 -1
- package/dist/components/Progress/index.cjs +1 -1
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/QrCode/index.cjs +1 -1
- package/dist/components/QrCode/index.js +1 -1
- package/dist/components/RemoveDialog/index.cjs +1 -1
- package/dist/components/RemoveDialog/index.js +1 -1
- package/dist/components/RichTextEditor/index.cjs +1 -1
- package/dist/components/RichTextEditor/index.js +1 -1
- package/dist/components/RootLayout/index.cjs +1 -1
- package/dist/components/RootLayout/index.js +1 -1
- package/dist/components/Select/index.cjs +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Sidebar/index.cjs +1 -1
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/Slider/index.cjs +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/SpeedDial/index.cjs +1 -1
- package/dist/components/SpeedDial/index.js +1 -1
- package/dist/components/Stepper/index.cjs +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Table/index.cjs +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/index.cjs +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/TagsField/index.cjs +1 -1
- package/dist/components/TagsField/index.js +1 -1
- package/dist/components/TextField/index.cjs +1 -1
- package/dist/components/TextField/index.js +1 -1
- package/dist/components/ThemeToggle/index.cjs +1 -1
- package/dist/components/ThemeToggle/index.js +1 -1
- package/dist/components/TimePicker/index.cjs +1 -1
- package/dist/components/TimePicker/index.js +1 -1
- package/dist/components/Toast/index.cjs +1 -1
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/TranslatedFields/index.cjs +1 -1
- package/dist/components/TranslatedFields/index.js +1 -1
- package/dist/components/UserCard/index.cjs +1 -1
- package/dist/components/UserCard/index.js +1 -1
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/entries/app.cjs +1 -1
- package/dist/entries/app.js +1 -1
- package/dist/entries/auth.cjs +1 -1
- package/dist/entries/auth.js +2 -2
- package/dist/entries/components.cjs +1 -1
- package/dist/entries/components.js +186 -184
- package/dist/entries/components.js.map +1 -1
- package/dist/entries/i18n.cjs +1 -1
- package/dist/entries/i18n.js +2 -2
- package/dist/entries/theme.cjs +1 -1
- package/dist/entries/theme.js +1 -1
- package/dist/i18n/messages.d.cts +2 -0
- package/dist/i18n/messages.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +193 -191
- package/dist/index.js.map +1 -1
- package/dist/messages-C2DUaZkS.cjs +36 -0
- package/dist/messages-C2DUaZkS.cjs.map +1 -0
- package/dist/{messages-CZbb1xNN.js → messages-DWL0ZaKa.js} +8 -1
- package/dist/messages-DWL0ZaKa.js.map +1 -0
- package/dist/{useHomeTo---51HTJ0.cjs → useHomeTo-Ao53ZjWz.cjs} +2 -2
- package/dist/{useHomeTo---51HTJ0.cjs.map → useHomeTo-Ao53ZjWz.cjs.map} +1 -1
- package/dist/{useHomeTo-CJj94TdV.js → useHomeTo-DG69efNE.js} +2 -2
- package/dist/{useHomeTo-CJj94TdV.js.map → useHomeTo-DG69efNE.js.map} +1 -1
- package/dist/{useOptionMenu-DS___46k.cjs → useOptionMenu-B9zQfGTN.cjs} +2 -2
- package/dist/{useOptionMenu-DS___46k.cjs.map → useOptionMenu-B9zQfGTN.cjs.map} +1 -1
- package/dist/{useOptionMenu-Sp2d3Bzi.js → useOptionMenu-C8SEMVFV.js} +5 -5
- package/dist/{useOptionMenu-Sp2d3Bzi.js.map → useOptionMenu-C8SEMVFV.js.map} +1 -1
- package/package.json +1 -1
- package/dist/ListItem-CLmg9xKQ.js +0 -76
- package/dist/ListItem-CLmg9xKQ.js.map +0 -1
- package/dist/ListItem-CWM2fUS2.cjs +0 -2
- package/dist/ListItem-CWM2fUS2.cjs.map +0 -1
- package/dist/messages-CZbb1xNN.js.map +0 -1
- package/dist/messages-D4ooXnUr.cjs +0 -36
- package/dist/messages-D4ooXnUr.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserCard-
|
|
1
|
+
{"version":3,"file":"UserCard-BNKMs48t.js","sources":["../src/components/UserCard/UserCard.tsx"],"sourcesContent":["import { forwardRef, type CSSProperties, type HTMLAttributes, type ReactNode } from 'react'\nimport { clsx } from 'clsx'\nimport { useT, type ThemeColor } from '../../theme'\nimport type { IconName } from '../../icons/names'\nimport { Avatar } from '../Avatar'\nimport { Button } from '../Button'\nimport { Icon } from '../Icon'\nimport { Skeleton } from '../Skeleton'\nimport { Typography } from '../Typography'\nimport styles from './UserCard.module.css'\n\nexport type UserCardSize = 'sm' | 'md' | 'lg'\n\nexport interface UserCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'> {\n /**\n * Display name — the primary line, and the source of the avatar initials. When omitted, the primary\n * line falls back to a localized **\"Welcome\"** greeting (and the avatar shows the `icon`).\n */\n name?: string\n /** Secondary line under the name (usually the email). */\n email?: ReactNode\n /** Avatar image URL (falls back to the initials from `name`, else the `icon`). */\n avatar?: string\n /** Fallback avatar icon when there's no image or name. Defaults to `'User'`. */\n icon?: IconName\n /** Theme palette token tinting the avatar. Defaults to `'primary'`. */\n color?: ThemeColor\n /** Preset size (avatar + button + card padding; the text stays fixed). Defaults to `'md'`. */\n size?: UserCardSize\n /** When provided, a **Sign out** button is shown that calls this. */\n onLogout?: () => void\n /** Sign-out button label. Defaults to `'Sign Out'`. */\n logoutLabel?: ReactNode\n /** Extra content between the identity row and the sign-out button (e.g. a link or menu). */\n children?: ReactNode\n /** Show skeletons for the avatar, name and email while the user is being fetched (sign-out stays usable). Defaults to `false`. */\n loading?: boolean\n}\n\n/**\n * A compact account card — an `Avatar` + name/email and an optional **Sign out** button — for a consistent\n * signed-in-user block across apps, instead of hand-rolling the markup each time. The shell's sidebar renders\n * one itself (`config.sidebar.userCard` / the `RootLayout` `showUserCard` prop), so place it by hand only\n * elsewhere. Shows the image (`avatar`) → initials (from `name`) →\n * `icon` (default `User`) in priority order; renders the sign-out `Button` (filled `error`) only when\n * `onLogout` is given. `size` (`sm`/`md`/`lg`) scales the avatar, button and padding; `color` (default `primary`)\n * tints the avatar. `loading` swaps the avatar + name + email for skeletons. Own CSS module (token-only).\n */\nexport const UserCard = forwardRef<HTMLDivElement, UserCardProps>(function UserCard(\n {\n name,\n email,\n avatar,\n icon = 'User',\n color = 'primary',\n size = 'md',\n onLogout,\n logoutLabel,\n children,\n loading = false,\n className,\n style,\n ...props\n },\n ref,\n) {\n const t = useT()\n // the identity row + the sign-out button share the same visual size step\n const avatarSize = size === 'lg' ? 'lg' : size === 'sm' ? 'sm' : 'md'\n const buttonSize = size === 'lg' ? 'md' : 'sm'\n\n return (\n <div\n ref={ref}\n className={clsx(styles.card, styles[size], className)}\n style={style as CSSProperties}\n aria-busy={loading || undefined}\n {...props}\n >\n <div className={styles.identity}>\n {/* Avatar priority is image → icon → initials, so pass `icon` only as the last resort (no\n name), otherwise a name would still show the icon instead of its initials */}\n <Avatar\n size={avatarSize}\n name={name}\n src={avatar}\n icon={name ? undefined : icon}\n color={color}\n loading={loading}\n />\n <div className={styles.text}>\n {/* primary line: the name, or a \"Welcome\" greeting fallback when no name is given */}\n <Typography variant=\"bodySmall\" truncate>\n {loading ? <Skeleton width=\"60%\" /> : (name ?? t('userCard.welcome'))}\n </Typography>\n {(loading || email != null) && (\n <Typography variant=\"caption\" color=\"muted\" truncate>\n {loading ? <Skeleton width=\"85%\" /> : email}\n </Typography>\n )}\n </div>\n </div>\n\n {children}\n\n {onLogout ? (\n <Button\n variant=\"filled\"\n color=\"error\"\n size={buttonSize}\n fullWidth\n startIcon={<Icon name=\"Logout2\" />}\n onClick={onLogout}\n >\n {logoutLabel ?? t('userCard.signOut')}\n </Button>\n ) : null}\n </div>\n )\n})\n"],"names":["UserCard","forwardRef","name","email","avatar","icon","color","size","onLogout","logoutLabel","children","loading","className","style","props","ref","t","useT","avatarSize","buttonSize","jsxs","clsx","styles","jsx","Avatar","Typography","Skeleton","Button","Icon"],"mappings":";;;;;;;;;;;;;;;GAgDaA,IAAWC,EAA0C,SAChE;AAAA,EACE,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,OAAAC,IAAQ;AAAA,EACR,MAAAC,IAAO;AAAA,EACP,UAAAC;AAAA,EACA,aAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,GAAGC;AACL,GACAC,GACA;AACA,QAAMC,IAAIC,EAAA,GAEJC,IAAaX,MAAS,OAAO,OAAOA,MAAS,OAAO,OAAO,MAC3DY,IAAaZ,MAAS,OAAO,OAAO;AAE1C,SACE,gBAAAa;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAAL;AAAA,MACA,WAAWM,EAAKC,EAAO,MAAMA,EAAOf,CAAI,GAAGK,CAAS;AAAA,MACpD,OAAAC;AAAA,MACA,aAAWF,KAAW;AAAA,MACrB,GAAGG;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAM,EAAC,OAAA,EAAI,WAAWE,EAAO,UAGrB,UAAA;AAAA,UAAA,gBAAAC;AAAA,YAACC;AAAA,YAAA;AAAA,cACC,MAAMN;AAAA,cACN,MAAAhB;AAAA,cACA,KAAKE;AAAA,cACL,MAAMF,IAAO,SAAYG;AAAA,cACzB,OAAAC;AAAA,cACA,SAAAK;AAAA,YAAA;AAAA,UAAA;AAAA,UAEF,gBAAAS,EAAC,OAAA,EAAI,WAAWE,EAAO,MAErB,UAAA;AAAA,YAAA,gBAAAC,EAACE,GAAA,EAAW,SAAQ,aAAY,UAAQ,IACrC,UAAAd,IAAU,gBAAAY,EAACG,GAAA,EAAS,OAAM,MAAA,CAAM,IAAMxB,KAAQc,EAAE,kBAAkB,GACrE;AAAA,aACEL,KAAWR,KAAS,SACpB,gBAAAoB,EAACE,GAAA,EAAW,SAAQ,WAAU,OAAM,SAAQ,UAAQ,IACjD,UAAAd,IAAU,gBAAAY,EAACG,KAAS,OAAM,OAAM,IAAKvB,EAAA,CACxC;AAAA,UAAA,EAAA,CAEJ;AAAA,QAAA,GACF;AAAA,QAECO;AAAA,QAEAF,IACC,gBAAAe;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,SAAQ;AAAA,YACR,OAAM;AAAA,YACN,MAAMR;AAAA,YACN,WAAS;AAAA,YACT,WAAW,gBAAAI,EAACK,GAAA,EAAK,MAAK,UAAA,CAAU;AAAA,YAChC,SAASpB;AAAA,YAER,UAAAC,KAAeO,EAAE,kBAAkB;AAAA,UAAA;AAAA,QAAA,IAEpC;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGV,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),q=require("react"),p=require("clsx"),g=require("./Avatar-BwGJl-ru.cjs"),C=require("./Button-
|
|
2
|
-
//# sourceMappingURL=UserCard-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),q=require("react"),p=require("clsx"),g=require("./Avatar-BwGJl-ru.cjs"),C=require("./Button-D6f4SooD.cjs"),S=require("./Icon-BoQmbW7j.cjs"),a=require("./Skeleton-DK0lAjS9.cjs"),d=require("./Typography-d97DdbNd.cjs"),w=require("./ConfigProvider-DPk0aHDG.cjs"),T="_card_1fykc_3",U="_identity_1fykc_16",b="_text_1fykc_20",I="_sm_1fykc_33",N="_lg_1fykc_37",s={card:T,identity:U,text:b,sm:I,lg:N},A=q.forwardRef(function({name:c,email:n,avatar:l,icon:u="User",color:y="primary",size:e="md",onLogout:i,logoutLabel:x,children:m,loading:r=!1,className:_,style:f,...h},v){const o=w.useT(),j=e==="lg"?"lg":e==="sm"?"sm":"md",k=e==="lg"?"md":"sm";return t.jsxs("div",{ref:v,className:p.clsx(s.card,s[e],_),style:f,"aria-busy":r||void 0,...h,children:[t.jsxs("div",{className:s.identity,children:[t.jsx(g.Avatar,{size:j,name:c,src:l,icon:c?void 0:u,color:y,loading:r}),t.jsxs("div",{className:s.text,children:[t.jsx(d.Typography,{variant:"bodySmall",truncate:!0,children:r?t.jsx(a.Skeleton,{width:"60%"}):c??o("userCard.welcome")}),(r||n!=null)&&t.jsx(d.Typography,{variant:"caption",color:"muted",truncate:!0,children:r?t.jsx(a.Skeleton,{width:"85%"}):n})]})]}),m,i?t.jsx(C.Button,{variant:"filled",color:"error",size:k,fullWidth:!0,startIcon:t.jsx(S.Icon,{name:"Logout2"}),onClick:i,children:x??o("userCard.signOut")}):null]})});exports.UserCard=A;
|
|
2
|
+
//# sourceMappingURL=UserCard-D0RokNh8.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserCard-
|
|
1
|
+
{"version":3,"file":"UserCard-D0RokNh8.cjs","sources":["../src/components/UserCard/UserCard.tsx"],"sourcesContent":["import { forwardRef, type CSSProperties, type HTMLAttributes, type ReactNode } from 'react'\nimport { clsx } from 'clsx'\nimport { useT, type ThemeColor } from '../../theme'\nimport type { IconName } from '../../icons/names'\nimport { Avatar } from '../Avatar'\nimport { Button } from '../Button'\nimport { Icon } from '../Icon'\nimport { Skeleton } from '../Skeleton'\nimport { Typography } from '../Typography'\nimport styles from './UserCard.module.css'\n\nexport type UserCardSize = 'sm' | 'md' | 'lg'\n\nexport interface UserCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'> {\n /**\n * Display name — the primary line, and the source of the avatar initials. When omitted, the primary\n * line falls back to a localized **\"Welcome\"** greeting (and the avatar shows the `icon`).\n */\n name?: string\n /** Secondary line under the name (usually the email). */\n email?: ReactNode\n /** Avatar image URL (falls back to the initials from `name`, else the `icon`). */\n avatar?: string\n /** Fallback avatar icon when there's no image or name. Defaults to `'User'`. */\n icon?: IconName\n /** Theme palette token tinting the avatar. Defaults to `'primary'`. */\n color?: ThemeColor\n /** Preset size (avatar + button + card padding; the text stays fixed). Defaults to `'md'`. */\n size?: UserCardSize\n /** When provided, a **Sign out** button is shown that calls this. */\n onLogout?: () => void\n /** Sign-out button label. Defaults to `'Sign Out'`. */\n logoutLabel?: ReactNode\n /** Extra content between the identity row and the sign-out button (e.g. a link or menu). */\n children?: ReactNode\n /** Show skeletons for the avatar, name and email while the user is being fetched (sign-out stays usable). Defaults to `false`. */\n loading?: boolean\n}\n\n/**\n * A compact account card — an `Avatar` + name/email and an optional **Sign out** button — for a consistent\n * signed-in-user block across apps, instead of hand-rolling the markup each time. The shell's sidebar renders\n * one itself (`config.sidebar.userCard` / the `RootLayout` `showUserCard` prop), so place it by hand only\n * elsewhere. Shows the image (`avatar`) → initials (from `name`) →\n * `icon` (default `User`) in priority order; renders the sign-out `Button` (filled `error`) only when\n * `onLogout` is given. `size` (`sm`/`md`/`lg`) scales the avatar, button and padding; `color` (default `primary`)\n * tints the avatar. `loading` swaps the avatar + name + email for skeletons. Own CSS module (token-only).\n */\nexport const UserCard = forwardRef<HTMLDivElement, UserCardProps>(function UserCard(\n {\n name,\n email,\n avatar,\n icon = 'User',\n color = 'primary',\n size = 'md',\n onLogout,\n logoutLabel,\n children,\n loading = false,\n className,\n style,\n ...props\n },\n ref,\n) {\n const t = useT()\n // the identity row + the sign-out button share the same visual size step\n const avatarSize = size === 'lg' ? 'lg' : size === 'sm' ? 'sm' : 'md'\n const buttonSize = size === 'lg' ? 'md' : 'sm'\n\n return (\n <div\n ref={ref}\n className={clsx(styles.card, styles[size], className)}\n style={style as CSSProperties}\n aria-busy={loading || undefined}\n {...props}\n >\n <div className={styles.identity}>\n {/* Avatar priority is image → icon → initials, so pass `icon` only as the last resort (no\n name), otherwise a name would still show the icon instead of its initials */}\n <Avatar\n size={avatarSize}\n name={name}\n src={avatar}\n icon={name ? undefined : icon}\n color={color}\n loading={loading}\n />\n <div className={styles.text}>\n {/* primary line: the name, or a \"Welcome\" greeting fallback when no name is given */}\n <Typography variant=\"bodySmall\" truncate>\n {loading ? <Skeleton width=\"60%\" /> : (name ?? t('userCard.welcome'))}\n </Typography>\n {(loading || email != null) && (\n <Typography variant=\"caption\" color=\"muted\" truncate>\n {loading ? <Skeleton width=\"85%\" /> : email}\n </Typography>\n )}\n </div>\n </div>\n\n {children}\n\n {onLogout ? (\n <Button\n variant=\"filled\"\n color=\"error\"\n size={buttonSize}\n fullWidth\n startIcon={<Icon name=\"Logout2\" />}\n onClick={onLogout}\n >\n {logoutLabel ?? t('userCard.signOut')}\n </Button>\n ) : null}\n </div>\n )\n})\n"],"names":["UserCard","forwardRef","name","email","avatar","icon","color","size","onLogout","logoutLabel","children","loading","className","style","props","ref","t","useT","avatarSize","buttonSize","jsxs","clsx","styles","jsx","Avatar","Typography","Skeleton","Button","Icon"],"mappings":"0bAgDaA,EAAWC,EAAAA,WAA0C,SAChE,CACE,KAAAC,EACA,MAAAC,EACA,OAAAC,EACA,KAAAC,EAAO,OACP,MAAAC,EAAQ,UACR,KAAAC,EAAO,KACP,SAAAC,EACA,YAAAC,EACA,SAAAC,EACA,QAAAC,EAAU,GACV,UAAAC,EACA,MAAAC,EACA,GAAGC,CACL,EACAC,EACA,CACA,MAAMC,EAAIC,EAAAA,KAAA,EAEJC,EAAaX,IAAS,KAAO,KAAOA,IAAS,KAAO,KAAO,KAC3DY,EAAaZ,IAAS,KAAO,KAAO,KAE1C,OACEa,EAAAA,KAAC,MAAA,CACC,IAAAL,EACA,UAAWM,EAAAA,KAAKC,EAAO,KAAMA,EAAOf,CAAI,EAAGK,CAAS,EACpD,MAAAC,EACA,YAAWF,GAAW,OACrB,GAAGG,EAEJ,SAAA,CAAAM,EAAAA,KAAC,MAAA,CAAI,UAAWE,EAAO,SAGrB,SAAA,CAAAC,EAAAA,IAACC,EAAAA,OAAA,CACC,KAAMN,EACN,KAAAhB,EACA,IAAKE,EACL,KAAMF,EAAO,OAAYG,EACzB,MAAAC,EACA,QAAAK,CAAA,CAAA,EAEFS,EAAAA,KAAC,MAAA,CAAI,UAAWE,EAAO,KAErB,SAAA,CAAAC,EAAAA,IAACE,EAAAA,WAAA,CAAW,QAAQ,YAAY,SAAQ,GACrC,SAAAd,EAAUY,EAAAA,IAACG,WAAA,CAAS,MAAM,KAAA,CAAM,EAAMxB,GAAQc,EAAE,kBAAkB,EACrE,GACEL,GAAWR,GAAS,OACpBoB,EAAAA,IAACE,EAAAA,WAAA,CAAW,QAAQ,UAAU,MAAM,QAAQ,SAAQ,GACjD,SAAAd,EAAUY,MAACG,EAAAA,UAAS,MAAM,MAAM,EAAKvB,CAAA,CACxC,CAAA,CAAA,CAEJ,CAAA,EACF,EAECO,EAEAF,EACCe,EAAAA,IAACI,EAAAA,OAAA,CACC,QAAQ,SACR,MAAM,QACN,KAAMR,EACN,UAAS,GACT,UAAWI,EAAAA,IAACK,EAAAA,KAAA,CAAK,KAAK,SAAA,CAAU,EAChC,QAASpB,EAER,SAAAC,GAAeO,EAAE,kBAAkB,CAAA,CAAA,EAEpC,IAAA,CAAA,CAAA,CAGV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const h=require("@tanstack/react-router"),n=require("./AuthGuard-
|
|
2
|
-
//# sourceMappingURL=authLayoutRoute-
|
|
1
|
+
"use strict";const h=require("@tanstack/react-router"),n=require("./AuthGuard-DM1nDTE5.cjs"),p=({isAuthenticated:s,redirectTo:r="/"})=>({beforeLoad:({location:e}={})=>{if(!s())return;const t=typeof window>"u"?void 0:window.location,a=(e==null?void 0:e.searchStr)??(t==null?void 0:t.search)??"",d=(e==null?void 0:e.pathname)??(t==null?void 0:t.pathname);let u=n.resolveAuthRedirect(a,r);throw u.split(/[?#]/)[0]===d&&(u=r),h.redirect({to:u,replace:!0})},component:h.Outlet});exports.authLayoutRoute=p;
|
|
2
|
+
//# sourceMappingURL=authLayoutRoute-23XOJ9q9.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authLayoutRoute-
|
|
1
|
+
{"version":3,"file":"authLayoutRoute-23XOJ9q9.cjs","sources":["../src/auth/authLayoutRoute.ts"],"sourcesContent":["import { Outlet, redirect, type LinkProps, type ParsedLocation } from '@tanstack/react-router'\nimport { resolveAuthRedirect } from './authRedirect'\n\nexport interface AuthLayoutRouteOptions {\n /** Session check — returns whether the visitor is already signed in. */\n isAuthenticated: () => boolean\n /**\n * Where to send an **already signed-in** visitor when no page is remembered (no safe `?redirect=`, nothing\n * in memory — see `getAuthRedirect`). Defaults to `'/'`.\n */\n redirectTo?: string\n}\n\n/**\n * Route options for the pathless `_auth` layout that groups the public auth pages (login,\n * forgot-password, reset-password, otp, …). In `beforeLoad` it bounces an already signed-in visitor to\n * the return target (the safe `?redirect=` param, else this tab's memory — see `getAuthRedirect`),\n * falling back to `redirectTo`; otherwise it renders its children standalone (`component: Outlet`). The\n * bounce only **reads** the target — unlike `getAuthRedirect` / `useAuthRedirect` it never remembers the\n * param (a signed-in visitor has no later sign-in step to keep it for).\n *\n * Returns only the route **options** (`beforeLoad` + `component`) — not a whole route — because the\n * router plugin needs the literal path in the file. Compose it with `createFileRoute('/_auth')`.\n * `redirectTo` is a plain string, cast loosely to the router's `to` type (the library can't know the\n * app's typed route tree).\n *\n * @example\n * // routes/_auth.tsx\n * export const Route = createFileRoute('/_auth')(\n * authLayoutRoute({ isAuthenticated: session.isAuthenticated }),\n * )\n */\nexport const authLayoutRoute = ({ isAuthenticated, redirectTo = '/' }: AuthLayoutRouteOptions) => ({\n beforeLoad: ({ location }: { location?: ParsedLocation } = {}) => {\n if (!isAuthenticated()) return\n // the router's location (works with a memory history); `window.location` if called without one\n const browser = typeof window === 'undefined' ? undefined : window.location\n const searchStr = location?.searchStr ?? browser?.search ?? ''\n const pathname = location?.pathname ?? browser?.pathname\n let to = resolveAuthRedirect(searchStr, redirectTo)\n // never back onto this same page (a crafted param naming another auth page settles on the next hop)\n if (to.split(/[?#]/)[0] === pathname) to = redirectTo\n throw redirect({ to: to as LinkProps['to'], replace: true })\n },\n component: Outlet,\n})\n"],"names":["authLayoutRoute","isAuthenticated","redirectTo","location","browser","searchStr","pathname","to","resolveAuthRedirect","redirect","Outlet"],"mappings":"6FAgCaA,EAAkB,CAAC,CAAE,gBAAAC,EAAiB,WAAAC,EAAa,QAAmC,CACjG,WAAY,CAAC,CAAE,SAAAC,CAAA,EAA4C,KAAO,CAChE,GAAI,CAACF,IAAmB,OAExB,MAAMG,EAAU,OAAO,OAAW,IAAc,OAAY,OAAO,SAC7DC,GAAYF,GAAA,YAAAA,EAAU,aAAaC,GAAA,YAAAA,EAAS,SAAU,GACtDE,GAAWH,GAAA,YAAAA,EAAU,YAAYC,GAAA,YAAAA,EAAS,UAChD,IAAIG,EAAKC,EAAAA,oBAAoBH,EAAWH,CAAU,EAElD,MAAIK,EAAG,MAAM,MAAM,EAAE,CAAC,IAAMD,IAAUC,EAAKL,GACrCO,EAAAA,SAAS,CAAE,GAAAF,EAA2B,QAAS,GAAM,CAC7D,EACA,UAAWG,EAAAA,MACb"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Outlet as s, redirect as u } from "@tanstack/react-router";
|
|
2
|
-
import { r as d } from "./AuthGuard-
|
|
2
|
+
import { r as d } from "./AuthGuard-D6_sTASu.js";
|
|
3
3
|
const c = ({ isAuthenticated: h, redirectTo: p = "/" }) => ({
|
|
4
4
|
beforeLoad: ({ location: e } = {}) => {
|
|
5
5
|
if (!h()) return;
|
|
@@ -12,4 +12,4 @@ const c = ({ isAuthenticated: h, redirectTo: p = "/" }) => ({
|
|
|
12
12
|
export {
|
|
13
13
|
c as a
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=authLayoutRoute-
|
|
15
|
+
//# sourceMappingURL=authLayoutRoute-BE0nGH_N.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authLayoutRoute-
|
|
1
|
+
{"version":3,"file":"authLayoutRoute-BE0nGH_N.js","sources":["../src/auth/authLayoutRoute.ts"],"sourcesContent":["import { Outlet, redirect, type LinkProps, type ParsedLocation } from '@tanstack/react-router'\nimport { resolveAuthRedirect } from './authRedirect'\n\nexport interface AuthLayoutRouteOptions {\n /** Session check — returns whether the visitor is already signed in. */\n isAuthenticated: () => boolean\n /**\n * Where to send an **already signed-in** visitor when no page is remembered (no safe `?redirect=`, nothing\n * in memory — see `getAuthRedirect`). Defaults to `'/'`.\n */\n redirectTo?: string\n}\n\n/**\n * Route options for the pathless `_auth` layout that groups the public auth pages (login,\n * forgot-password, reset-password, otp, …). In `beforeLoad` it bounces an already signed-in visitor to\n * the return target (the safe `?redirect=` param, else this tab's memory — see `getAuthRedirect`),\n * falling back to `redirectTo`; otherwise it renders its children standalone (`component: Outlet`). The\n * bounce only **reads** the target — unlike `getAuthRedirect` / `useAuthRedirect` it never remembers the\n * param (a signed-in visitor has no later sign-in step to keep it for).\n *\n * Returns only the route **options** (`beforeLoad` + `component`) — not a whole route — because the\n * router plugin needs the literal path in the file. Compose it with `createFileRoute('/_auth')`.\n * `redirectTo` is a plain string, cast loosely to the router's `to` type (the library can't know the\n * app's typed route tree).\n *\n * @example\n * // routes/_auth.tsx\n * export const Route = createFileRoute('/_auth')(\n * authLayoutRoute({ isAuthenticated: session.isAuthenticated }),\n * )\n */\nexport const authLayoutRoute = ({ isAuthenticated, redirectTo = '/' }: AuthLayoutRouteOptions) => ({\n beforeLoad: ({ location }: { location?: ParsedLocation } = {}) => {\n if (!isAuthenticated()) return\n // the router's location (works with a memory history); `window.location` if called without one\n const browser = typeof window === 'undefined' ? undefined : window.location\n const searchStr = location?.searchStr ?? browser?.search ?? ''\n const pathname = location?.pathname ?? browser?.pathname\n let to = resolveAuthRedirect(searchStr, redirectTo)\n // never back onto this same page (a crafted param naming another auth page settles on the next hop)\n if (to.split(/[?#]/)[0] === pathname) to = redirectTo\n throw redirect({ to: to as LinkProps['to'], replace: true })\n },\n component: Outlet,\n})\n"],"names":["authLayoutRoute","isAuthenticated","redirectTo","location","browser","searchStr","pathname","to","resolveAuthRedirect","redirect","Outlet"],"mappings":";;AAgCO,MAAMA,IAAkB,CAAC,EAAE,iBAAAC,GAAiB,YAAAC,IAAa,WAAmC;AAAA,EACjG,YAAY,CAAC,EAAE,UAAAC,EAAA,IAA4C,OAAO;AAChE,QAAI,CAACF,IAAmB;AAExB,UAAMG,IAAU,OAAO,SAAW,MAAc,SAAY,OAAO,UAC7DC,KAAYF,KAAA,gBAAAA,EAAU,eAAaC,KAAA,gBAAAA,EAAS,WAAU,IACtDE,KAAWH,KAAA,gBAAAA,EAAU,cAAYC,KAAA,gBAAAA,EAAS;AAChD,QAAIG,IAAKC,EAAoBH,GAAWH,CAAU;AAElD,UAAIK,EAAG,MAAM,MAAM,EAAE,CAAC,MAAMD,MAAUC,IAAKL,IACrCO,EAAS,EAAE,IAAAF,GAA2B,SAAS,IAAM;AAAA,EAC7D;AAAA,EACA,WAAWG;AACb;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Alert
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Alert-CC4gxX9w.cjs");exports.Alert=e.Alert;exports.default=e.Alert;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type BottomSheetSnapPoint } from './motion';
|
|
3
|
+
export type { BottomSheetSnapPoint } from './motion';
|
|
4
|
+
export interface BottomSheetProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> {
|
|
5
|
+
/** Whether the sheet is open — it slides up on open and down on close (then unmounts). */
|
|
6
|
+
open: boolean;
|
|
7
|
+
/** Called when a dismiss is requested — a swipe down past the lowest snap, a backdrop click, Escape or the ×. */
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
/**
|
|
10
|
+
* The heights the sheet rests at — px, a percentage of the viewport height (`'50%'`), or `'content'` (the
|
|
11
|
+
* sheet's own content height: handle + header + body content + footer, followed as it changes). Sorted
|
|
12
|
+
* ascending and de-duplicated; each is capped at 96% of the visible height (it never reaches the top edge).
|
|
13
|
+
* Defaults to `['50%', '100%']`.
|
|
14
|
+
*/
|
|
15
|
+
snapPoints?: BottomSheetSnapPoint[];
|
|
16
|
+
/** The snap point (index into `snapPoints`, after sorting) the sheet opens at. Defaults to `0`. */
|
|
17
|
+
defaultSnapIndex?: number;
|
|
18
|
+
/** Called with the new snap index each time the sheet comes to rest at a different snap point. */
|
|
19
|
+
onSnapChange?: (index: number) => void;
|
|
20
|
+
/** Swiping down past the lowest snap point closes the sheet. Defaults to `true`. */
|
|
21
|
+
swipeToClose?: boolean;
|
|
22
|
+
/** Close when the backdrop (above the sheet) is clicked. Defaults to `true`. */
|
|
23
|
+
closeOnBackdrop?: boolean;
|
|
24
|
+
/** Close when Escape is pressed. Defaults to `true`. */
|
|
25
|
+
closeOnEscape?: boolean;
|
|
26
|
+
/** Header title. When set, labels the sheet (`aria-labelledby`). */
|
|
27
|
+
title?: ReactNode;
|
|
28
|
+
/** Muted description line under the title. */
|
|
29
|
+
description?: ReactNode;
|
|
30
|
+
/** Footer slot — pinned to the bottom of the screen at every snap point (e.g. Cancel / Apply). */
|
|
31
|
+
footer?: ReactNode;
|
|
32
|
+
/** Show a header × close button. Defaults to `false` (the handle, a swipe, the backdrop and Escape close it). */
|
|
33
|
+
showCloseButton?: boolean;
|
|
34
|
+
/** Accessible label — used when there's no `title`. */
|
|
35
|
+
ariaLabel?: string;
|
|
36
|
+
/** Backdrop darkness at the lowest snap and above (0–1). Defaults to `0.45`. */
|
|
37
|
+
dim?: number;
|
|
38
|
+
/** Extra class on the scrollable body element. */
|
|
39
|
+
bodyClassName?: string;
|
|
40
|
+
/** Sheet body — scrolls inside the sheet. */
|
|
41
|
+
children?: ReactNode;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* A bottom sheet: a panel that slides up from the bottom of the screen and rests at one of its
|
|
45
|
+
* **`snapPoints`**. Drag its handle / header to move it — it follows the finger, resists past the top
|
|
46
|
+
* (rubber band), carries a fling into the next snap point, and closes when pulled below the lowest one
|
|
47
|
+
* (`swipeToClose`). Motion is transform-only (GPU) with a spring that keeps the release velocity; the
|
|
48
|
+
* backdrop dims in proportion to the height. Portaled over a dimmed backdrop (the shared `Overlay`): page
|
|
49
|
+
* scroll is locked (on a touch screen the page is pinned), focus moves into the sheet and is trapped there,
|
|
50
|
+
* and returns to the opener on close unless something else took it.
|
|
51
|
+
* The handle is a button: Enter / Space / a tap step to the next snap point, Arrow Up / Down move one,
|
|
52
|
+
* Home / End jump to the lowest / highest. Controlled by `open` + `onClose`; the ref points at the sheet.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* <BottomSheet open={isOpen} onClose={close} title="Filters" footer={<Button onClick={close}>Apply</Button>}>
|
|
56
|
+
* …
|
|
57
|
+
* </BottomSheet>
|
|
58
|
+
*/
|
|
59
|
+
export declare const BottomSheet: import("react").ForwardRefExoticComponent<BottomSheetProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type BottomSheetSnapPoint } from './motion';
|
|
3
|
+
export type { BottomSheetSnapPoint } from './motion';
|
|
4
|
+
export interface BottomSheetProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'color'> {
|
|
5
|
+
/** Whether the sheet is open — it slides up on open and down on close (then unmounts). */
|
|
6
|
+
open: boolean;
|
|
7
|
+
/** Called when a dismiss is requested — a swipe down past the lowest snap, a backdrop click, Escape or the ×. */
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
/**
|
|
10
|
+
* The heights the sheet rests at — px, a percentage of the viewport height (`'50%'`), or `'content'` (the
|
|
11
|
+
* sheet's own content height: handle + header + body content + footer, followed as it changes). Sorted
|
|
12
|
+
* ascending and de-duplicated; each is capped at 96% of the visible height (it never reaches the top edge).
|
|
13
|
+
* Defaults to `['50%', '100%']`.
|
|
14
|
+
*/
|
|
15
|
+
snapPoints?: BottomSheetSnapPoint[];
|
|
16
|
+
/** The snap point (index into `snapPoints`, after sorting) the sheet opens at. Defaults to `0`. */
|
|
17
|
+
defaultSnapIndex?: number;
|
|
18
|
+
/** Called with the new snap index each time the sheet comes to rest at a different snap point. */
|
|
19
|
+
onSnapChange?: (index: number) => void;
|
|
20
|
+
/** Swiping down past the lowest snap point closes the sheet. Defaults to `true`. */
|
|
21
|
+
swipeToClose?: boolean;
|
|
22
|
+
/** Close when the backdrop (above the sheet) is clicked. Defaults to `true`. */
|
|
23
|
+
closeOnBackdrop?: boolean;
|
|
24
|
+
/** Close when Escape is pressed. Defaults to `true`. */
|
|
25
|
+
closeOnEscape?: boolean;
|
|
26
|
+
/** Header title. When set, labels the sheet (`aria-labelledby`). */
|
|
27
|
+
title?: ReactNode;
|
|
28
|
+
/** Muted description line under the title. */
|
|
29
|
+
description?: ReactNode;
|
|
30
|
+
/** Footer slot — pinned to the bottom of the screen at every snap point (e.g. Cancel / Apply). */
|
|
31
|
+
footer?: ReactNode;
|
|
32
|
+
/** Show a header × close button. Defaults to `false` (the handle, a swipe, the backdrop and Escape close it). */
|
|
33
|
+
showCloseButton?: boolean;
|
|
34
|
+
/** Accessible label — used when there's no `title`. */
|
|
35
|
+
ariaLabel?: string;
|
|
36
|
+
/** Backdrop darkness at the lowest snap and above (0–1). Defaults to `0.45`. */
|
|
37
|
+
dim?: number;
|
|
38
|
+
/** Extra class on the scrollable body element. */
|
|
39
|
+
bodyClassName?: string;
|
|
40
|
+
/** Sheet body — scrolls inside the sheet. */
|
|
41
|
+
children?: ReactNode;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* A bottom sheet: a panel that slides up from the bottom of the screen and rests at one of its
|
|
45
|
+
* **`snapPoints`**. Drag its handle / header to move it — it follows the finger, resists past the top
|
|
46
|
+
* (rubber band), carries a fling into the next snap point, and closes when pulled below the lowest one
|
|
47
|
+
* (`swipeToClose`). Motion is transform-only (GPU) with a spring that keeps the release velocity; the
|
|
48
|
+
* backdrop dims in proportion to the height. Portaled over a dimmed backdrop (the shared `Overlay`): page
|
|
49
|
+
* scroll is locked (on a touch screen the page is pinned), focus moves into the sheet and is trapped there,
|
|
50
|
+
* and returns to the opener on close unless something else took it.
|
|
51
|
+
* The handle is a button: Enter / Space / a tap step to the next snap point, Arrow Up / Down move one,
|
|
52
|
+
* Home / End jump to the lowest / highest. Controlled by `open` + `onClose`; the ref points at the sheet.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* <BottomSheet open={isOpen} onClose={close} title="Filters" footer={<Button onClick={close}>Apply</Button>}>
|
|
56
|
+
* …
|
|
57
|
+
* </BottomSheet>
|
|
58
|
+
*/
|
|
59
|
+
export declare const BottomSheet: import("react").ForwardRefExoticComponent<BottomSheetProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Who owns the current touch on the body:
|
|
3
|
+
* - `pending` — not decided yet (still within the slop);
|
|
4
|
+
* - `sheet` — the finger moves the sheet (the native scroll is prevented);
|
|
5
|
+
* - `scroll` — the sheet is at its tallest and the finger scrolls the content, driven by us (the gesture
|
|
6
|
+
* started as a sheet drag, so the native scroll was already prevented — the scroll is emulated);
|
|
7
|
+
* - `native` — the browser scrolls the content natively, and the sheet stays put for this gesture.
|
|
8
|
+
*/
|
|
9
|
+
export type BodyGestureMode = 'pending' | 'sheet' | 'scroll' | 'native';
|
|
10
|
+
/** What the first decisive move sees. */
|
|
11
|
+
export interface GestureStart {
|
|
12
|
+
/** The sheet's offset (0 = at its tallest snap). */
|
|
13
|
+
offset: number;
|
|
14
|
+
/** The body's scrollTop. */
|
|
15
|
+
scrollTop: number;
|
|
16
|
+
/** Whether the body's content is taller than the body (it can scroll at all). */
|
|
17
|
+
canScroll: boolean;
|
|
18
|
+
/** Total finger movement so far, px (`dy` positive = down). */
|
|
19
|
+
dx: number;
|
|
20
|
+
dy: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The owner of a gesture, decided on its first decisive move:
|
|
24
|
+
* - a mostly horizontal move is never the sheet's (a carousel, a wide table) → `native`;
|
|
25
|
+
* - the sheet below its tallest snap → `sheet` (it grows / shrinks before anything scrolls);
|
|
26
|
+
* - at its tallest, content scrolled down → `native` (the content scrolls; the sheet waits for the next gesture);
|
|
27
|
+
* - at its tallest, content at its top: pulling down → `sheet`; pushing up → `native` when there's content to
|
|
28
|
+
* scroll, else `sheet` (the rubber band).
|
|
29
|
+
*/
|
|
30
|
+
export declare function decideBodyGesture({ offset, scrollTop, canScroll, dx, dy }: GestureStart): "sheet" | "native";
|
|
31
|
+
/** A gesture's moving parts: who owns it, the sheet's raw (un-rubber-banded) offset, the body's scrollTop. */
|
|
32
|
+
export interface HandoffState {
|
|
33
|
+
mode: 'sheet' | 'scroll';
|
|
34
|
+
raw: number;
|
|
35
|
+
scrollTop: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Apply a finger move of `dy` px (positive = down) to an owned gesture, handing over between the sheet and the
|
|
39
|
+
* content: pushing up moves the sheet to its tallest, then scrolls the content (up to `scrollMax`); pulling down
|
|
40
|
+
* scrolls the content back to its top, then moves the sheet down. With no content left to scroll the sheet takes
|
|
41
|
+
* the overshoot (the caller rubber-bands a negative `raw`).
|
|
42
|
+
*/
|
|
43
|
+
export declare function handoff(state: HandoffState, dy: number, scrollMax: number): HandoffState;
|
|
44
|
+
/**
|
|
45
|
+
* One frame of iOS-like momentum for an emulated scroll: `velocity` in px / s (positive = scrollTop growing),
|
|
46
|
+
* `dt` in seconds. Returns the new scrollTop (clamped to `0…max`) and velocity (0 once it stops or hits an end).
|
|
47
|
+
*/
|
|
48
|
+
export declare function momentumStep(scrollTop: number, velocity: number, dt: number, max: number, deceleration?: number): {
|
|
49
|
+
scrollTop: number;
|
|
50
|
+
velocity: number;
|
|
51
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Who owns the current touch on the body:
|
|
3
|
+
* - `pending` — not decided yet (still within the slop);
|
|
4
|
+
* - `sheet` — the finger moves the sheet (the native scroll is prevented);
|
|
5
|
+
* - `scroll` — the sheet is at its tallest and the finger scrolls the content, driven by us (the gesture
|
|
6
|
+
* started as a sheet drag, so the native scroll was already prevented — the scroll is emulated);
|
|
7
|
+
* - `native` — the browser scrolls the content natively, and the sheet stays put for this gesture.
|
|
8
|
+
*/
|
|
9
|
+
export type BodyGestureMode = 'pending' | 'sheet' | 'scroll' | 'native';
|
|
10
|
+
/** What the first decisive move sees. */
|
|
11
|
+
export interface GestureStart {
|
|
12
|
+
/** The sheet's offset (0 = at its tallest snap). */
|
|
13
|
+
offset: number;
|
|
14
|
+
/** The body's scrollTop. */
|
|
15
|
+
scrollTop: number;
|
|
16
|
+
/** Whether the body's content is taller than the body (it can scroll at all). */
|
|
17
|
+
canScroll: boolean;
|
|
18
|
+
/** Total finger movement so far, px (`dy` positive = down). */
|
|
19
|
+
dx: number;
|
|
20
|
+
dy: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The owner of a gesture, decided on its first decisive move:
|
|
24
|
+
* - a mostly horizontal move is never the sheet's (a carousel, a wide table) → `native`;
|
|
25
|
+
* - the sheet below its tallest snap → `sheet` (it grows / shrinks before anything scrolls);
|
|
26
|
+
* - at its tallest, content scrolled down → `native` (the content scrolls; the sheet waits for the next gesture);
|
|
27
|
+
* - at its tallest, content at its top: pulling down → `sheet`; pushing up → `native` when there's content to
|
|
28
|
+
* scroll, else `sheet` (the rubber band).
|
|
29
|
+
*/
|
|
30
|
+
export declare function decideBodyGesture({ offset, scrollTop, canScroll, dx, dy }: GestureStart): "sheet" | "native";
|
|
31
|
+
/** A gesture's moving parts: who owns it, the sheet's raw (un-rubber-banded) offset, the body's scrollTop. */
|
|
32
|
+
export interface HandoffState {
|
|
33
|
+
mode: 'sheet' | 'scroll';
|
|
34
|
+
raw: number;
|
|
35
|
+
scrollTop: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Apply a finger move of `dy` px (positive = down) to an owned gesture, handing over between the sheet and the
|
|
39
|
+
* content: pushing up moves the sheet to its tallest, then scrolls the content (up to `scrollMax`); pulling down
|
|
40
|
+
* scrolls the content back to its top, then moves the sheet down. With no content left to scroll the sheet takes
|
|
41
|
+
* the overshoot (the caller rubber-bands a negative `raw`).
|
|
42
|
+
*/
|
|
43
|
+
export declare function handoff(state: HandoffState, dy: number, scrollMax: number): HandoffState;
|
|
44
|
+
/**
|
|
45
|
+
* One frame of iOS-like momentum for an emulated scroll: `velocity` in px / s (positive = scrollTop growing),
|
|
46
|
+
* `dt` in seconds. Returns the new scrollTop (clamped to `0…max`) and velocity (0 once it stops or hits an end).
|
|
47
|
+
*/
|
|
48
|
+
export declare function momentumStep(scrollTop: number, velocity: number, dt: number, max: number, deceleration?: number): {
|
|
49
|
+
scrollTop: number;
|
|
50
|
+
velocity: number;
|
|
51
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A snap point — a height in px, a percentage of the viewport height (`'50%'`), or `'content'`: the height of
|
|
3
|
+
* the sheet's own content (handle + header + body + footer).
|
|
4
|
+
*/
|
|
5
|
+
export type BottomSheetSnapPoint = number | `${number}%` | 'content';
|
|
6
|
+
/**
|
|
7
|
+
* Snap points → visible heights in px, ascending and de-duplicated, each clamped to `1…max` (`max` = the
|
|
8
|
+
* tallest the sheet may be). A percentage is of `viewport`; `'content'` is `content` (the measured content
|
|
9
|
+
* height — `max` when unknown); anything unparsable is dropped. Never empty: with nothing usable it falls
|
|
10
|
+
* back to `[max]`.
|
|
11
|
+
*/
|
|
12
|
+
export declare function resolveSnapPoints(points: readonly BottomSheetSnapPoint[], viewport: number, max: number, content?: number): number[];
|
|
13
|
+
/**
|
|
14
|
+
* How far an overshoot of `distance` px past a limit is shown — iOS-style resistance that never reaches
|
|
15
|
+
* `dimension` (`c` sets how stiff it feels).
|
|
16
|
+
*/
|
|
17
|
+
export declare function rubberBand(distance: number, dimension: number, c?: number): number;
|
|
18
|
+
/** A pointer sample for the release velocity. */
|
|
19
|
+
export interface MotionSample {
|
|
20
|
+
/** Time in ms (an event `timeStamp`). */
|
|
21
|
+
t: number;
|
|
22
|
+
/** Position in px. */
|
|
23
|
+
y: number;
|
|
24
|
+
}
|
|
25
|
+
/** px / s over the last `VELOCITY_WINDOW` ms of `samples` (positive = moving down); `0` with too little data. */
|
|
26
|
+
export declare function releaseVelocity(samples: readonly MotionSample[]): number;
|
|
27
|
+
/** A release faster than this (px / s) is a fling: it moves to the next snap in its direction. */
|
|
28
|
+
export declare const FLING_VELOCITY = 800;
|
|
29
|
+
/**
|
|
30
|
+
* Where a release lands, as a height: `height` is the sheet's visible height at release, `velocity` its
|
|
31
|
+
* rate of change in px / s (positive = growing, i.e. the finger moving UP), `snaps` the ascending snap
|
|
32
|
+
* heights. With `dismissible`, `0` (closed) is a candidate too. A fling goes to the next candidate in its
|
|
33
|
+
* direction; a slow release goes to the nearest one.
|
|
34
|
+
*/
|
|
35
|
+
export declare function pickSnap(height: number, velocity: number, snaps: readonly number[], dismissible: boolean): number;
|
|
36
|
+
/** Whether the user asked for reduced motion (then a spring jumps straight to its target). */
|
|
37
|
+
export declare const prefersReducedMotion: () => boolean;
|
|
38
|
+
export interface SheetSpringOptions {
|
|
39
|
+
stiffness?: number;
|
|
40
|
+
damping?: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Spring a value `from` → `to`, starting at `velocity` (units / s), calling `onFrame(value, velocity)` every
|
|
44
|
+
* animation frame and once with `to` at the end, then `onDone`. Returns a cancel function. Jumps straight
|
|
45
|
+
* to `to` under reduced motion (or without `requestAnimationFrame`).
|
|
46
|
+
*/
|
|
47
|
+
export declare function animateSpring(from: number, to: number, velocity: number, onFrame: (value: number, velocity: number) => void, onDone?: () => void, { stiffness, damping }?: SheetSpringOptions): () => void;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A snap point — a height in px, a percentage of the viewport height (`'50%'`), or `'content'`: the height of
|
|
3
|
+
* the sheet's own content (handle + header + body + footer).
|
|
4
|
+
*/
|
|
5
|
+
export type BottomSheetSnapPoint = number | `${number}%` | 'content';
|
|
6
|
+
/**
|
|
7
|
+
* Snap points → visible heights in px, ascending and de-duplicated, each clamped to `1…max` (`max` = the
|
|
8
|
+
* tallest the sheet may be). A percentage is of `viewport`; `'content'` is `content` (the measured content
|
|
9
|
+
* height — `max` when unknown); anything unparsable is dropped. Never empty: with nothing usable it falls
|
|
10
|
+
* back to `[max]`.
|
|
11
|
+
*/
|
|
12
|
+
export declare function resolveSnapPoints(points: readonly BottomSheetSnapPoint[], viewport: number, max: number, content?: number): number[];
|
|
13
|
+
/**
|
|
14
|
+
* How far an overshoot of `distance` px past a limit is shown — iOS-style resistance that never reaches
|
|
15
|
+
* `dimension` (`c` sets how stiff it feels).
|
|
16
|
+
*/
|
|
17
|
+
export declare function rubberBand(distance: number, dimension: number, c?: number): number;
|
|
18
|
+
/** A pointer sample for the release velocity. */
|
|
19
|
+
export interface MotionSample {
|
|
20
|
+
/** Time in ms (an event `timeStamp`). */
|
|
21
|
+
t: number;
|
|
22
|
+
/** Position in px. */
|
|
23
|
+
y: number;
|
|
24
|
+
}
|
|
25
|
+
/** px / s over the last `VELOCITY_WINDOW` ms of `samples` (positive = moving down); `0` with too little data. */
|
|
26
|
+
export declare function releaseVelocity(samples: readonly MotionSample[]): number;
|
|
27
|
+
/** A release faster than this (px / s) is a fling: it moves to the next snap in its direction. */
|
|
28
|
+
export declare const FLING_VELOCITY = 800;
|
|
29
|
+
/**
|
|
30
|
+
* Where a release lands, as a height: `height` is the sheet's visible height at release, `velocity` its
|
|
31
|
+
* rate of change in px / s (positive = growing, i.e. the finger moving UP), `snaps` the ascending snap
|
|
32
|
+
* heights. With `dismissible`, `0` (closed) is a candidate too. A fling goes to the next candidate in its
|
|
33
|
+
* direction; a slow release goes to the nearest one.
|
|
34
|
+
*/
|
|
35
|
+
export declare function pickSnap(height: number, velocity: number, snaps: readonly number[], dismissible: boolean): number;
|
|
36
|
+
/** Whether the user asked for reduced motion (then a spring jumps straight to its target). */
|
|
37
|
+
export declare const prefersReducedMotion: () => boolean;
|
|
38
|
+
export interface SheetSpringOptions {
|
|
39
|
+
stiffness?: number;
|
|
40
|
+
damping?: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Spring a value `from` → `to`, starting at `velocity` (units / s), calling `onFrame(value, velocity)` every
|
|
44
|
+
* animation frame and once with `to` at the end, then `onDone`. Returns a cancel function. Jumps straight
|
|
45
|
+
* to `to` under reduced motion (or without `requestAnimationFrame`).
|
|
46
|
+
*/
|
|
47
|
+
export declare function animateSpring(from: number, to: number, velocity: number, onFrame: (value: number, velocity: number) => void, onDone?: () => void, { stiffness, damping }?: SheetSpringOptions): () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Breadcrumbs-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Breadcrumbs-DGyb8ntF.cjs");exports.Breadcrumbs=e.Breadcrumbs;exports.default=e.Breadcrumbs;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../Button-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../Button-D6f4SooD.cjs");exports.Button=t.Button;exports.default=t.Button;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Card-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Card-BbfesgrZ.cjs");exports.Card=e.Card;exports.default=e.Card;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Chip-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Chip-CguuQYqY.cjs");exports.Chip=e.Chip;exports.default=e.Chip;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../CodeBlock-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../CodeBlock-Dv7hXdPl.cjs");exports.CodeBlock=e.CodeBlock;exports.default=e.CodeBlock;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ColorPicker-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ColorPicker-B4UqiIvG.cjs");exports.ColorPicker=e.ColorPicker;exports.default=e.ColorPicker;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ColorRamp-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ColorRamp-C5KkZS8L.cjs");exports.ColorRamp=e.ColorRamp;exports.default=e.ColorRamp;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../CopyButton-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../CopyButton-BxOhFQiM.cjs");exports.CopyButton=t.CopyButton;exports.default=t.CopyButton;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|