@techzyapp/ui-library 1.0.32 → 1.0.34
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-C_SNXQkB.js +107 -0
- package/dist/AdminRoot-C_SNXQkB.js.map +1 -0
- package/dist/AdminRoot-D97qDVTM.cjs +2 -0
- package/dist/AdminRoot-D97qDVTM.cjs.map +1 -0
- package/dist/{Alert-B7w9xD2p.js → Alert-BXtQFAVl.js} +3 -3
- package/dist/{Alert-B7w9xD2p.js.map → Alert-BXtQFAVl.js.map} +1 -1
- package/dist/{Alert-B9l1VhIr.cjs → Alert-CggrNMn5.cjs} +2 -2
- package/dist/{Alert-B9l1VhIr.cjs.map → Alert-CggrNMn5.cjs.map} +1 -1
- package/dist/{AuthLayout-m1BQ6Ixx.js → AuthLayout-C47vXKYp.js} +2 -2
- package/dist/{AuthLayout-m1BQ6Ixx.js.map → AuthLayout-C47vXKYp.js.map} +1 -1
- package/dist/{AuthLayout-DIcR__vo.cjs → AuthLayout-Cl3tb4-E.cjs} +2 -2
- package/dist/{AuthLayout-DIcR__vo.cjs.map → AuthLayout-Cl3tb4-E.cjs.map} +1 -1
- package/dist/{Breadcrumbs-B1JMwCjO.cjs → Breadcrumbs-Cpa_LSY2.cjs} +2 -2
- package/dist/{Breadcrumbs-B1JMwCjO.cjs.map → Breadcrumbs-Cpa_LSY2.cjs.map} +1 -1
- package/dist/{Breadcrumbs-Cl1CgKkk.js → Breadcrumbs-D_QnKw8q.js} +3 -3
- package/dist/{Breadcrumbs-Cl1CgKkk.js.map → Breadcrumbs-D_QnKw8q.js.map} +1 -1
- package/dist/{Button-BJ5Xd10u.js → Button-BQ7jsm5P.js} +2 -2
- package/dist/{Button-BJ5Xd10u.js.map → Button-BQ7jsm5P.js.map} +1 -1
- package/dist/{Button-BZq1mIUH.cjs → Button-Cm64ROip.cjs} +2 -2
- package/dist/{Button-BZq1mIUH.cjs.map → Button-Cm64ROip.cjs.map} +1 -1
- package/dist/{Calendar-rRPnaU9M.js → Calendar-BrpJOBTt.js} +3 -3
- package/dist/{Calendar-rRPnaU9M.js.map → Calendar-BrpJOBTt.js.map} +1 -1
- package/dist/{Calendar-r-dDXWEp.cjs → Calendar-C2x9ZtPV.cjs} +2 -2
- package/dist/{Calendar-r-dDXWEp.cjs.map → Calendar-C2x9ZtPV.cjs.map} +1 -1
- package/dist/{Card-Cr3D2bzJ.js → Card-kizK1B7N.js} +2 -2
- package/dist/{Card-Cr3D2bzJ.js.map → Card-kizK1B7N.js.map} +1 -1
- package/dist/{Card-KsczbH5c.cjs → Card-yhly3Xdp.cjs} +2 -2
- package/dist/{Card-KsczbH5c.cjs.map → Card-yhly3Xdp.cjs.map} +1 -1
- package/dist/{Chip-BZ3I4Lbe.cjs → Chip-BPcnO5WI.cjs} +2 -2
- package/dist/{Chip-BZ3I4Lbe.cjs.map → Chip-BPcnO5WI.cjs.map} +1 -1
- package/dist/{Chip-DEp1zWh1.js → Chip-BzyzLEeX.js} +2 -2
- package/dist/{Chip-DEp1zWh1.js.map → Chip-BzyzLEeX.js.map} +1 -1
- package/dist/{ChoiceCardGroup-BTbKjJdp.js → ChoiceCardGroup-BBD8ai4s.js} +2 -2
- package/dist/{ChoiceCardGroup-BTbKjJdp.js.map → ChoiceCardGroup-BBD8ai4s.js.map} +1 -1
- package/dist/{ChoiceCardGroup-Bg2jtFpe.cjs → ChoiceCardGroup-BWsG_Vh5.cjs} +2 -2
- package/dist/{ChoiceCardGroup-Bg2jtFpe.cjs.map → ChoiceCardGroup-BWsG_Vh5.cjs.map} +1 -1
- package/dist/{CodeBlock-CMHqvoBJ.js → CodeBlock-BTt40oh5.js} +3 -3
- package/dist/{CodeBlock-CMHqvoBJ.js.map → CodeBlock-BTt40oh5.js.map} +1 -1
- package/dist/{CodeBlock-DIkyeG4S.cjs → CodeBlock-BgSum_bB.cjs} +2 -2
- package/dist/{CodeBlock-DIkyeG4S.cjs.map → CodeBlock-BgSum_bB.cjs.map} +1 -1
- package/dist/{ColorPicker-5SMyU5oh.js → ColorPicker-BNM75F5E.js} +4 -4
- package/dist/{ColorPicker-5SMyU5oh.js.map → ColorPicker-BNM75F5E.js.map} +1 -1
- package/dist/{ColorPicker-B1riGs1z.cjs → ColorPicker-C33dlkhN.cjs} +2 -2
- package/dist/{ColorPicker-B1riGs1z.cjs.map → ColorPicker-C33dlkhN.cjs.map} +1 -1
- package/dist/{ColorPickerPanel-CzBlh0zw.cjs → ColorPickerPanel-BZ_ZNu2B.cjs} +2 -2
- package/dist/{ColorPickerPanel-CzBlh0zw.cjs.map → ColorPickerPanel-BZ_ZNu2B.cjs.map} +1 -1
- package/dist/{ColorPickerPanel-4Y6oXL7v.js → ColorPickerPanel-Bh1K0YS8.js} +2 -2
- package/dist/{ColorPickerPanel-4Y6oXL7v.js.map → ColorPickerPanel-Bh1K0YS8.js.map} +1 -1
- package/dist/{ColorRamp-D_h-hp7n.cjs → ColorRamp-BJWNKzoX.cjs} +2 -2
- package/dist/{ColorRamp-D_h-hp7n.cjs.map → ColorRamp-BJWNKzoX.cjs.map} +1 -1
- package/dist/{ColorRamp-Qc8ZtPDh.js → ColorRamp-BnuXrSxa.js} +3 -3
- package/dist/{ColorRamp-Qc8ZtPDh.js.map → ColorRamp-BnuXrSxa.js.map} +1 -1
- package/dist/{ConfigProvider-D2svpXFu.js → ConfigProvider-DZMtq2Fz.js} +2 -2
- package/dist/ConfigProvider-DZMtq2Fz.js.map +1 -0
- package/dist/{ConfigProvider-CzAQf_d_.cjs → ConfigProvider-th4GYhcU.cjs} +2 -2
- package/dist/ConfigProvider-th4GYhcU.cjs.map +1 -0
- package/dist/{CopyButton-DUtx2-Gi.cjs → CopyButton-C9oHGs6W.cjs} +2 -2
- package/dist/{CopyButton-DUtx2-Gi.cjs.map → CopyButton-C9oHGs6W.cjs.map} +1 -1
- package/dist/{CopyButton-BNcW9-KU.js → CopyButton-hZqLdXJq.js} +3 -3
- package/dist/{CopyButton-BNcW9-KU.js.map → CopyButton-hZqLdXJq.js.map} +1 -1
- package/dist/{DatePicker-D2PyGdec.js → DatePicker-B6ZL_T-E.js} +5 -5
- package/dist/{DatePicker-D2PyGdec.js.map → DatePicker-B6ZL_T-E.js.map} +1 -1
- package/dist/{DatePicker-D_PqDvKt.cjs → DatePicker-DXwJB4MH.cjs} +2 -2
- package/dist/{DatePicker-D_PqDvKt.cjs.map → DatePicker-DXwJB4MH.cjs.map} +1 -1
- package/dist/{DateTimePicker-DdXFzqO_.js → DateTimePicker-BynW1Eeg.js} +8 -8
- package/dist/{DateTimePicker-DdXFzqO_.js.map → DateTimePicker-BynW1Eeg.js.map} +1 -1
- package/dist/{DateTimePicker-C3Kq5hKE.cjs → DateTimePicker-CHi1H2k1.cjs} +2 -2
- package/dist/{DateTimePicker-C3Kq5hKE.cjs.map → DateTimePicker-CHi1H2k1.cjs.map} +1 -1
- package/dist/{DescriptionList-C7AOcw_2.cjs → DescriptionList-BqYwp08t.cjs} +2 -2
- package/dist/{DescriptionList-C7AOcw_2.cjs.map → DescriptionList-BqYwp08t.cjs.map} +1 -1
- package/dist/{DescriptionList-DxRgKNEJ.js → DescriptionList-C6Gfk6I_.js} +5 -5
- package/dist/{DescriptionList-DxRgKNEJ.js.map → DescriptionList-C6Gfk6I_.js.map} +1 -1
- package/dist/{EmptyState-CvpKSYY4.js → EmptyState-BvAA5mYO.js} +2 -2
- package/dist/{EmptyState-CvpKSYY4.js.map → EmptyState-BvAA5mYO.js.map} +1 -1
- package/dist/{EmptyState-ECc6e_En.cjs → EmptyState-CZ6X5-Zy.cjs} +2 -2
- package/dist/{EmptyState-ECc6e_En.cjs.map → EmptyState-CZ6X5-Zy.cjs.map} +1 -1
- package/dist/ErrorBoundary-BS0x9RVO.js +57 -0
- package/dist/ErrorBoundary-BS0x9RVO.js.map +1 -0
- package/dist/ErrorBoundary-WwmJrL6o.cjs +2 -0
- package/dist/ErrorBoundary-WwmJrL6o.cjs.map +1 -0
- package/dist/ErrorState-BTSGKrJq.js +178 -0
- package/dist/ErrorState-BTSGKrJq.js.map +1 -0
- package/dist/ErrorState-DRXuV6na.cjs +4 -0
- package/dist/ErrorState-DRXuV6na.cjs.map +1 -0
- package/dist/{FileCard-D4t0-ms2.js → FileCard-CxZ3o4BO.js} +4 -4
- package/dist/{FileCard-D4t0-ms2.js.map → FileCard-CxZ3o4BO.js.map} +1 -1
- package/dist/{FileCard-Bjqsgi7S.cjs → FileCard-ZZNd_tUN.cjs} +2 -2
- package/dist/{FileCard-Bjqsgi7S.cjs.map → FileCard-ZZNd_tUN.cjs.map} +1 -1
- package/dist/{FileUploader-DWM8WrY6.cjs → FileUploader-B--hPV3b.cjs} +2 -2
- package/dist/{FileUploader-DWM8WrY6.cjs.map → FileUploader-B--hPV3b.cjs.map} +1 -1
- package/dist/{FileUploader-DdcvZoUb.js → FileUploader-CPah0hUe.js} +6 -6
- package/dist/{FileUploader-DdcvZoUb.js.map → FileUploader-CPah0hUe.js.map} +1 -1
- package/dist/{Flag-D5rqScYG.cjs → Flag-C4La35rA.cjs} +2 -2
- package/dist/{Flag-D5rqScYG.cjs.map → Flag-C4La35rA.cjs.map} +1 -1
- package/dist/{Flag-BLEBMdb-.js → Flag-DikEV1jI.js} +2 -2
- package/dist/{Flag-BLEBMdb-.js.map → Flag-DikEV1jI.js.map} +1 -1
- package/dist/{FullscreenToggle-DZnKK1Lj.js → FullscreenToggle-CTt7_Kv_.js} +3 -3
- package/dist/{FullscreenToggle-DZnKK1Lj.js.map → FullscreenToggle-CTt7_Kv_.js.map} +1 -1
- package/dist/{FullscreenToggle-CZoc5pYg.cjs → FullscreenToggle-ejjFFd9a.cjs} +2 -2
- package/dist/{FullscreenToggle-CZoc5pYg.cjs.map → FullscreenToggle-ejjFFd9a.cjs.map} +1 -1
- package/dist/{IconButton-CqFgam3J.js → IconButton-BUmXN_lD.js} +2 -2
- package/dist/{IconButton-CqFgam3J.js.map → IconButton-BUmXN_lD.js.map} +1 -1
- package/dist/{IconButton-V8tjArlt.cjs → IconButton-CYMvszcM.cjs} +2 -2
- package/dist/{IconButton-V8tjArlt.cjs.map → IconButton-CYMvszcM.cjs.map} +1 -1
- package/dist/{Loader-CqRaCdzF.cjs → Loader-DkwiCGbB.cjs} +2 -2
- package/dist/{Loader-CqRaCdzF.cjs.map → Loader-DkwiCGbB.cjs.map} +1 -1
- package/dist/{Loader-Bsz0BkGr.js → Loader-jh7XMRhy.js} +2 -2
- package/dist/{Loader-Bsz0BkGr.js.map → Loader-jh7XMRhy.js.map} +1 -1
- package/dist/{LocationPicker-DtMDpPFZ.js → LocationPicker-Cdm7BCX5.js} +7 -7
- package/dist/{LocationPicker-DtMDpPFZ.js.map → LocationPicker-Cdm7BCX5.js.map} +1 -1
- package/dist/{LocationPicker-BRGNcTd_.cjs → LocationPicker-D-9mrCVD.cjs} +2 -2
- package/dist/{LocationPicker-BRGNcTd_.cjs.map → LocationPicker-D-9mrCVD.cjs.map} +1 -1
- package/dist/{Modal-DCee1a9m.js → Modal-CrvOHbNy.js} +3 -3
- package/dist/{Modal-DCee1a9m.js.map → Modal-CrvOHbNy.js.map} +1 -1
- package/dist/{Modal-CcrqM4kn.cjs → Modal-eI6QL-LM.cjs} +2 -2
- package/dist/{Modal-CcrqM4kn.cjs.map → Modal-eI6QL-LM.cjs.map} +1 -1
- package/dist/{MultiSelect-JQ6iKHyI.js → MultiSelect-BTilYrXp.js} +5 -5
- package/dist/{MultiSelect-JQ6iKHyI.js.map → MultiSelect-BTilYrXp.js.map} +1 -1
- package/dist/{MultiSelect-BJ-qMpA5.cjs → MultiSelect-B_Jenpgv.cjs} +2 -2
- package/dist/{MultiSelect-BJ-qMpA5.cjs.map → MultiSelect-B_Jenpgv.cjs.map} +1 -1
- package/dist/{MultilineTextField-BgfBFeeF.js → MultilineTextField-DJ26nTdF.js} +2 -2
- package/dist/{MultilineTextField-BgfBFeeF.js.map → MultilineTextField-DJ26nTdF.js.map} +1 -1
- package/dist/{MultilineTextField-B6EYAdik.cjs → MultilineTextField-ihcPDX3D.cjs} +2 -2
- package/dist/{MultilineTextField-B6EYAdik.cjs.map → MultilineTextField-ihcPDX3D.cjs.map} +1 -1
- package/dist/{NumberField-Bf-vDNLy.js → NumberField-DEoaxFJj.js} +4 -4
- package/dist/{NumberField-Bf-vDNLy.js.map → NumberField-DEoaxFJj.js.map} +1 -1
- package/dist/{NumberField-mZjwZB8E.cjs → NumberField-czWHuAyt.cjs} +2 -2
- package/dist/{NumberField-mZjwZB8E.cjs.map → NumberField-czWHuAyt.cjs.map} +1 -1
- package/dist/{OtpField-TdjMkgQi.cjs → OtpField-DK5KikOt.cjs} +2 -2
- package/dist/{OtpField-TdjMkgQi.cjs.map → OtpField-DK5KikOt.cjs.map} +1 -1
- package/dist/{OtpField-DaAIBp6C.js → OtpField-v2RuXdsE.js} +3 -3
- package/dist/{OtpField-DaAIBp6C.js.map → OtpField-v2RuXdsE.js.map} +1 -1
- package/dist/PageError-CIVYNLTW.cjs +2 -0
- package/dist/PageError-CIVYNLTW.cjs.map +1 -0
- package/dist/PageError-CyMdVrxL.js +70 -0
- package/dist/PageError-CyMdVrxL.js.map +1 -0
- package/dist/{PageLayout-Bwv8Oohb.js → PageLayout-BtukUUfe.js} +2 -2
- package/dist/{PageLayout-Bwv8Oohb.js.map → PageLayout-BtukUUfe.js.map} +1 -1
- package/dist/{PageLayout-BoHvt2cT.cjs → PageLayout-C_daDKkg.cjs} +2 -2
- package/dist/{PageLayout-BoHvt2cT.cjs.map → PageLayout-C_daDKkg.cjs.map} +1 -1
- package/dist/PageNotFound-CHb8DlqC.cjs +2 -0
- package/dist/PageNotFound-CHb8DlqC.cjs.map +1 -0
- package/dist/PageNotFound-DQ-OvU_O.js +24 -0
- package/dist/PageNotFound-DQ-OvU_O.js.map +1 -0
- package/dist/{Pagination-C0xr3D-g.js → Pagination-BjufY1mt.js} +2 -2
- package/dist/{Pagination-C0xr3D-g.js.map → Pagination-BjufY1mt.js.map} +1 -1
- package/dist/{Pagination-DzkTjEZL.cjs → Pagination-jLyJa8iL.cjs} +2 -2
- package/dist/{Pagination-DzkTjEZL.cjs.map → Pagination-jLyJa8iL.cjs.map} +1 -1
- package/dist/{PaletteField-CQV2dll0.cjs → PaletteField-DGaV7VJ9.cjs} +2 -2
- package/dist/{PaletteField-CQV2dll0.cjs.map → PaletteField-DGaV7VJ9.cjs.map} +1 -1
- package/dist/{PaletteField-CQv6MBKe.js → PaletteField-DTfV8Lny.js} +3 -3
- package/dist/{PaletteField-CQv6MBKe.js.map → PaletteField-DTfV8Lny.js.map} +1 -1
- package/dist/{PhoneField-Bqj5-33G.js → PhoneField-BSIhBMW2.js} +5 -5
- package/dist/{PhoneField-Bqj5-33G.js.map → PhoneField-BSIhBMW2.js.map} +1 -1
- package/dist/{PhoneField-Dzdm5hfY.cjs → PhoneField-DchrnSiE.cjs} +2 -2
- package/dist/{PhoneField-Dzdm5hfY.cjs.map → PhoneField-DchrnSiE.cjs.map} +1 -1
- package/dist/{Popconfirm-DS6tCxV0.cjs → Popconfirm-l9au66oY.cjs} +2 -2
- package/dist/{Popconfirm-DS6tCxV0.cjs.map → Popconfirm-l9au66oY.cjs.map} +1 -1
- package/dist/{Popconfirm-CYkwGTh-.js → Popconfirm-p2O8Vmz0.js} +3 -3
- package/dist/{Popconfirm-CYkwGTh-.js.map → Popconfirm-p2O8Vmz0.js.map} +1 -1
- package/dist/{Progress-DZUtn3Sh.js → Progress-C-VGs3yJ.js} +2 -2
- package/dist/{Progress-DZUtn3Sh.js.map → Progress-C-VGs3yJ.js.map} +1 -1
- package/dist/{Progress-lf9vIKIk.cjs → Progress-Cqr2_BF1.cjs} +2 -2
- package/dist/{Progress-lf9vIKIk.cjs.map → Progress-Cqr2_BF1.cjs.map} +1 -1
- package/dist/{QrCode-osD23Vkt.js → QrCode-B9YbQNVc.js} +2 -2
- package/dist/{QrCode-osD23Vkt.js.map → QrCode-B9YbQNVc.js.map} +1 -1
- package/dist/{QrCode-BQ1eUiAJ.cjs → QrCode-CNVYpz9j.cjs} +2 -2
- package/dist/{QrCode-BQ1eUiAJ.cjs.map → QrCode-CNVYpz9j.cjs.map} +1 -1
- package/dist/{RadioGroup-CvC2yc4p.cjs → RadioGroup-687BVZ7k.cjs} +2 -2
- package/dist/{RadioGroup-CvC2yc4p.cjs.map → RadioGroup-687BVZ7k.cjs.map} +1 -1
- package/dist/{RadioGroup-CTAayuMv.js → RadioGroup-CD209tlb.js} +2 -2
- package/dist/{RadioGroup-CTAayuMv.js.map → RadioGroup-CD209tlb.js.map} +1 -1
- package/dist/{RemoveDialog-DaWh4xmW.js → RemoveDialog-BKgWohkG.js} +6 -6
- package/dist/{RemoveDialog-DaWh4xmW.js.map → RemoveDialog-BKgWohkG.js.map} +1 -1
- package/dist/{RemoveDialog-Csfhv9ve.cjs → RemoveDialog-eGCbOuuM.cjs} +2 -2
- package/dist/{RemoveDialog-Csfhv9ve.cjs.map → RemoveDialog-eGCbOuuM.cjs.map} +1 -1
- package/dist/{RichTextEditor-Eo8uLXlI.cjs → RichTextEditor-BPAD4ISz.cjs} +2 -2
- package/dist/{RichTextEditor-Eo8uLXlI.cjs.map → RichTextEditor-BPAD4ISz.cjs.map} +1 -1
- package/dist/{RichTextEditor-BLEDQq2H.js → RichTextEditor-C24uBIWh.js} +8 -8
- package/dist/{RichTextEditor-BLEDQq2H.js.map → RichTextEditor-C24uBIWh.js.map} +1 -1
- package/dist/RootLayout-BY_BxQ0C.cjs +2 -0
- package/dist/RootLayout-BY_BxQ0C.cjs.map +1 -0
- package/dist/RootLayout-CicjlAUF.js +641 -0
- package/dist/RootLayout-CicjlAUF.js.map +1 -0
- package/dist/{Select-CH3mF6y1.cjs → Select-BbgueWwN.cjs} +2 -2
- package/dist/{Select-CH3mF6y1.cjs.map → Select-BbgueWwN.cjs.map} +1 -1
- package/dist/{Select-C0UBQXhg.js → Select-DEi_ZUHR.js} +4 -4
- package/dist/{Select-C0UBQXhg.js.map → Select-DEi_ZUHR.js.map} +1 -1
- package/dist/{Sidebar-6wu2fuPT.cjs → Sidebar-D-nR8Cu6.cjs} +2 -2
- package/dist/{Sidebar-6wu2fuPT.cjs.map → Sidebar-D-nR8Cu6.cjs.map} +1 -1
- package/dist/{Sidebar--rOPtrqa.js → Sidebar-nORfjIg8.js} +4 -4
- package/dist/{Sidebar--rOPtrqa.js.map → Sidebar-nORfjIg8.js.map} +1 -1
- package/dist/{Slider-Cu1FhxR2.cjs → Slider-0joKXhPo.cjs} +2 -2
- package/dist/{Slider-Cu1FhxR2.cjs.map → Slider-0joKXhPo.cjs.map} +1 -1
- package/dist/{Slider-DoQJWgGU.js → Slider-CwZYxDO0.js} +2 -2
- package/dist/{Slider-DoQJWgGU.js.map → Slider-CwZYxDO0.js.map} +1 -1
- package/dist/{SpeedDial-BIodC6td.js → SpeedDial-BMpJtYP6.js} +2 -2
- package/dist/{SpeedDial-BIodC6td.js.map → SpeedDial-BMpJtYP6.js.map} +1 -1
- package/dist/{SpeedDial-BtxXH6Ij.cjs → SpeedDial-D5uk_E5v.cjs} +2 -2
- package/dist/{SpeedDial-BtxXH6Ij.cjs.map → SpeedDial-D5uk_E5v.cjs.map} +1 -1
- package/dist/{Stepper-B38I8PBS.cjs → Stepper-BRksGDK1.cjs} +2 -2
- package/dist/{Stepper-B38I8PBS.cjs.map → Stepper-BRksGDK1.cjs.map} +1 -1
- package/dist/{Stepper-CPBPTxbP.js → Stepper-D8bRyyhl.js} +2 -2
- package/dist/{Stepper-CPBPTxbP.js.map → Stepper-D8bRyyhl.js.map} +1 -1
- package/dist/{SwatchPicker-CpwVq0xp.cjs → SwatchPicker-BVW_yhRU.cjs} +2 -2
- package/dist/{SwatchPicker-CpwVq0xp.cjs.map → SwatchPicker-BVW_yhRU.cjs.map} +1 -1
- package/dist/{SwatchPicker-BAKslSY4.js → SwatchPicker-C-_wLaf6.js} +2 -2
- package/dist/{SwatchPicker-BAKslSY4.js.map → SwatchPicker-C-_wLaf6.js.map} +1 -1
- package/dist/{Table-BV-dr36o.js → Table-C0RDylA0.js} +155 -154
- package/dist/Table-C0RDylA0.js.map +1 -0
- package/dist/Table-CGIip6UL.cjs +2 -0
- package/dist/Table-CGIip6UL.cjs.map +1 -0
- package/dist/{Tabs-DIs8iFA-.cjs → Tabs-BzbSNmBj.cjs} +2 -2
- package/dist/{Tabs-DIs8iFA-.cjs.map → Tabs-BzbSNmBj.cjs.map} +1 -1
- package/dist/{Tabs-RjyUkLTB.js → Tabs-CQvfqazt.js} +2 -2
- package/dist/{Tabs-RjyUkLTB.js.map → Tabs-CQvfqazt.js.map} +1 -1
- package/dist/{TagsField-B3MtFiFs.js → TagsField-BdM-xre0.js} +5 -5
- package/dist/{TagsField-B3MtFiFs.js.map → TagsField-BdM-xre0.js.map} +1 -1
- package/dist/{TagsField-CJ10-kFr.cjs → TagsField-CGL1oI7b.cjs} +2 -2
- package/dist/{TagsField-CJ10-kFr.cjs.map → TagsField-CGL1oI7b.cjs.map} +1 -1
- package/dist/{TextField-D_hzd5Gf.cjs → TextField-D49Lpbjt.cjs} +2 -2
- package/dist/{TextField-D_hzd5Gf.cjs.map → TextField-D49Lpbjt.cjs.map} +1 -1
- package/dist/{TextField-CInaL0FR.js → TextField-otYGVuwF.js} +4 -4
- package/dist/{TextField-CInaL0FR.js.map → TextField-otYGVuwF.js.map} +1 -1
- package/dist/{ThemeToggle-DkhhlH_r.cjs → ThemeToggle-B8rkRTis.cjs} +2 -2
- package/dist/{ThemeToggle-DkhhlH_r.cjs.map → ThemeToggle-B8rkRTis.cjs.map} +1 -1
- package/dist/{ThemeToggle-CWfuK0tZ.js → ThemeToggle-D33Tqv2F.js} +3 -3
- package/dist/{ThemeToggle-CWfuK0tZ.js.map → ThemeToggle-D33Tqv2F.js.map} +1 -1
- package/dist/{TimeColumns-fD6dosYP.js → TimeColumns-DyjTpZbD.js} +2 -2
- package/dist/{TimeColumns-fD6dosYP.js.map → TimeColumns-DyjTpZbD.js.map} +1 -1
- package/dist/{TimeColumns-t3Pn01v5.cjs → TimeColumns-qEHHZC1N.cjs} +2 -2
- package/dist/{TimeColumns-t3Pn01v5.cjs.map → TimeColumns-qEHHZC1N.cjs.map} +1 -1
- package/dist/{TimePicker-DOwQF7sX.cjs → TimePicker-DJrNO01U.cjs} +2 -2
- package/dist/{TimePicker-DOwQF7sX.cjs.map → TimePicker-DJrNO01U.cjs.map} +1 -1
- package/dist/{TimePicker-DypTHDW0.js → TimePicker-yfYqLbj3.js} +6 -6
- package/dist/{TimePicker-DypTHDW0.js.map → TimePicker-yfYqLbj3.js.map} +1 -1
- package/dist/{Toaster-DdUOwi7L.cjs → Toaster-B7Xd2IaM.cjs} +2 -2
- package/dist/{Toaster-DdUOwi7L.cjs.map → Toaster-B7Xd2IaM.cjs.map} +1 -1
- package/dist/{Toaster-BwNAKDMc.js → Toaster-D8cxkhwr.js} +2 -2
- package/dist/{Toaster-BwNAKDMc.js.map → Toaster-D8cxkhwr.js.map} +1 -1
- package/dist/{TranslatedFields-D9FQlxiQ.cjs → TranslatedFields-BvqqdNWz.cjs} +2 -2
- package/dist/{TranslatedFields-D9FQlxiQ.cjs.map → TranslatedFields-BvqqdNWz.cjs.map} +1 -1
- package/dist/{TranslatedFields-C_-qPixE.js → TranslatedFields-CsSsTrnF.js} +5 -5
- package/dist/{TranslatedFields-C_-qPixE.js.map → TranslatedFields-CsSsTrnF.js.map} +1 -1
- package/dist/Typography-ChSuxgkc.js +74 -0
- package/dist/Typography-ChSuxgkc.js.map +1 -0
- package/dist/Typography-d97DdbNd.cjs +2 -0
- package/dist/Typography-d97DdbNd.cjs.map +1 -0
- package/dist/{UserCard-CwWv0HXD.js → UserCard-CsZ4Ogac.js} +4 -4
- package/dist/{UserCard-CwWv0HXD.js.map → UserCard-CsZ4Ogac.js.map} +1 -1
- package/dist/{UserCard-C-q2s2Cw.cjs → UserCard-Die7JV4z.cjs} +2 -2
- package/dist/{UserCard-C-q2s2Cw.cjs.map → UserCard-Die7JV4z.cjs.map} +1 -1
- package/dist/app/AdminRoot.d.cts +75 -4
- package/dist/app/AdminRoot.d.ts +75 -4
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/AuthLayout/index.cjs +1 -1
- package/dist/components/AuthLayout/index.js +1 -1
- 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/ChoiceCard/index.cjs +1 -1
- package/dist/components/ChoiceCard/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/EmptyState/index.cjs +1 -1
- package/dist/components/EmptyState/index.js +1 -1
- package/dist/components/ErrorState/ErrorBoundary.d.cts +3 -3
- package/dist/components/ErrorState/ErrorBoundary.d.ts +3 -3
- package/dist/components/ErrorState/ErrorDetailsModal.d.cts +12 -0
- package/dist/components/ErrorState/ErrorDetailsModal.d.ts +12 -0
- package/dist/components/ErrorState/ErrorState.d.cts +45 -18
- package/dist/components/ErrorState/ErrorState.d.ts +45 -18
- package/dist/components/ErrorState/QueryError.d.cts +3 -3
- package/dist/components/ErrorState/QueryError.d.ts +3 -3
- package/dist/components/ErrorState/errorMessage.d.cts +35 -3
- package/dist/components/ErrorState/errorMessage.d.ts +35 -3
- package/dist/components/ErrorState/index.cjs +1 -1
- package/dist/components/ErrorState/index.d.cts +2 -2
- package/dist/components/ErrorState/index.d.ts +2 -2
- package/dist/components/ErrorState/index.js +15 -10
- package/dist/components/ErrorState/index.js.map +1 -1
- 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/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/MultiSelect.d.cts +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/components/MultiSelect/index.cjs +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/MultilineTextField/index.cjs +1 -1
- package/dist/components/MultilineTextField/index.js +1 -1
- package/dist/components/NumberField/index.cjs +1 -1
- package/dist/components/NumberField/index.js +1 -1
- package/dist/components/OptionMenu/OptionMenu.d.cts +1 -1
- package/dist/components/OptionMenu/OptionMenu.d.ts +1 -1
- package/dist/components/OtpField/index.cjs +1 -1
- package/dist/components/OtpField/index.js +1 -1
- package/dist/components/PageError/PageError.d.cts +53 -0
- package/dist/components/PageError/PageError.d.ts +53 -0
- package/dist/components/PageError/index.cjs +2 -0
- package/dist/components/PageError/index.cjs.map +1 -0
- package/dist/components/PageError/index.d.cts +2 -0
- package/dist/components/PageError/index.d.ts +2 -0
- package/dist/components/PageError/index.js +6 -0
- package/dist/components/PageError/index.js.map +1 -0
- 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/PageNotFound/useHomeTo.d.cts +10 -0
- package/dist/components/PageNotFound/useHomeTo.d.ts +10 -0
- 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/Radio/index.cjs +1 -1
- package/dist/components/Radio/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/RootLayout.d.cts +6 -1
- package/dist/components/RootLayout/RootLayout.d.ts +6 -1
- package/dist/components/RootLayout/index.cjs +1 -1
- package/dist/components/RootLayout/index.js +1 -1
- package/dist/components/Select/Select.d.cts +1 -1
- package/dist/components/Select/Select.d.ts +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/SwatchPicker/index.cjs +1 -1
- package/dist/components/SwatchPicker/index.js +1 -1
- package/dist/components/Table/Table.d.cts +1 -1
- package/dist/components/Table/Table.d.ts +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/TagsField.d.cts +1 -1
- package/dist/components/TagsField/TagsField.d.ts +1 -1
- package/dist/components/TagsField/index.cjs +1 -1
- package/dist/components/TagsField/index.js +1 -1
- package/dist/components/TextField/TextField.d.cts +1 -1
- package/dist/components/TextField/TextField.d.ts +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/Typography/Typography.d.cts +7 -1
- package/dist/components/Typography/Typography.d.ts +7 -1
- package/dist/components/Typography/index.cjs +1 -1
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/UserCard/UserCard.d.cts +1 -1
- package/dist/components/UserCard/UserCard.d.ts +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.d.cts +1 -1
- package/dist/entries/app.d.ts +1 -1
- package/dist/entries/app.js +1 -1
- package/dist/entries/components.cjs +1 -1
- package/dist/entries/components.js +168 -161
- 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.d.cts +1 -1
- package/dist/entries/theme.d.ts +1 -1
- package/dist/entries/theme.js +1 -1
- package/dist/errorMessage-C7N4KvUS.cjs +2 -0
- package/dist/errorMessage-C7N4KvUS.cjs.map +1 -0
- package/dist/errorMessage-C83fB2h5.js +98 -0
- package/dist/errorMessage-C83fB2h5.js.map +1 -0
- package/dist/i18n/messages.d.cts +21 -1
- package/dist/i18n/messages.d.ts +21 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +213 -206
- package/dist/index.js.map +1 -1
- package/dist/messages-DYXyWU3X.cjs +36 -0
- package/dist/messages-DYXyWU3X.cjs.map +1 -0
- package/dist/{messages-BOJsnD0O.js → messages-zarEtcsN.js} +147 -77
- package/dist/messages-zarEtcsN.js.map +1 -0
- package/dist/theme/ConfigProvider.d.cts +38 -5
- package/dist/theme/ConfigProvider.d.ts +38 -5
- package/dist/theme/index.d.cts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/useHomeTo-DVMyLZbb.js +25 -0
- package/dist/useHomeTo-DVMyLZbb.js.map +1 -0
- package/dist/useHomeTo-Dnu6VAvU.cjs +2 -0
- package/dist/useHomeTo-Dnu6VAvU.cjs.map +1 -0
- package/dist/{useOptionMenu-C1wOZ9NT.js → useOptionMenu-DNYlfNO_.js} +4 -4
- package/dist/{useOptionMenu-C1wOZ9NT.js.map → useOptionMenu-DNYlfNO_.js.map} +1 -1
- package/dist/{useOptionMenu-8hjCTNL4.cjs → useOptionMenu-OAYGUWP_.cjs} +2 -2
- package/dist/{useOptionMenu-8hjCTNL4.cjs.map → useOptionMenu-OAYGUWP_.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/AdminRoot-B9A4Hoz0.js +0 -57
- package/dist/AdminRoot-B9A4Hoz0.js.map +0 -1
- package/dist/AdminRoot-BVUEWczU.cjs +0 -2
- package/dist/AdminRoot-BVUEWczU.cjs.map +0 -1
- package/dist/ConfigProvider-CzAQf_d_.cjs.map +0 -1
- package/dist/ConfigProvider-D2svpXFu.js.map +0 -1
- package/dist/ErrorBoundary-CJx5E9wJ.js +0 -163
- package/dist/ErrorBoundary-CJx5E9wJ.js.map +0 -1
- package/dist/ErrorBoundary-DbKRtdgS.cjs +0 -2
- package/dist/ErrorBoundary-DbKRtdgS.cjs.map +0 -1
- package/dist/PageNotFound-CMt8vnky.js +0 -39
- package/dist/PageNotFound-CMt8vnky.js.map +0 -1
- package/dist/PageNotFound-DDm6nwQh.cjs +0 -2
- package/dist/PageNotFound-DDm6nwQh.cjs.map +0 -1
- package/dist/QueryError-Dl8yzdxw.js +0 -19
- package/dist/QueryError-Dl8yzdxw.js.map +0 -1
- package/dist/QueryError-RF7Mh5zg.cjs +0 -2
- package/dist/QueryError-RF7Mh5zg.cjs.map +0 -1
- package/dist/RootLayout-BvyeNM9_.cjs +0 -2
- package/dist/RootLayout-BvyeNM9_.cjs.map +0 -1
- package/dist/RootLayout-D-ZlsTXF.js +0 -604
- package/dist/RootLayout-D-ZlsTXF.js.map +0 -1
- package/dist/Table-1RVWzyS6.cjs +0 -2
- package/dist/Table-1RVWzyS6.cjs.map +0 -1
- package/dist/Table-BV-dr36o.js.map +0 -1
- package/dist/Typography-B6ASPrzT.cjs +0 -2
- package/dist/Typography-B6ASPrzT.cjs.map +0 -1
- package/dist/Typography-CJv5AnRP.js +0 -70
- package/dist/Typography-CJv5AnRP.js.map +0 -1
- package/dist/messages-BOJsnD0O.js.map +0 -1
- package/dist/messages-ejfYfHwL.cjs +0 -36
- package/dist/messages-ejfYfHwL.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserCard-
|
|
1
|
+
{"version":3,"file":"UserCard-Die7JV4z.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 + fonts + button). 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. Drop it into\n * the `RootLayout` `sidebarFooter` (or anywhere) for a consistent signed-in-user block across apps,\n * instead of hand-rolling the markup each time. 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 + type; `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":"0bA+CaA,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"}
|
package/dist/app/AdminRoot.d.cts
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import { type ErrorBoundaryProps, type RootLayoutHeader, type RootLayoutProps } from '../components';
|
|
2
|
+
import { type ErrorBoundaryProps, type IconName, type RootLayoutHeader, type RootLayoutProps } from '../components';
|
|
3
|
+
import { type ThemeColor } from '../theme';
|
|
4
|
+
/** Why the session can't be used — see `AdminRootUnavailable.reason`. */
|
|
5
|
+
export type AdminRootUnavailableReason = 'forbidden' | 'unreachable';
|
|
6
|
+
/** The `unavailable` state of `AdminRoot` — the session could not be checked, or may not be used here. */
|
|
7
|
+
export interface AdminRootUnavailable {
|
|
8
|
+
/** What failed — passed to `QueryError` (message, trace id). */
|
|
9
|
+
error: unknown;
|
|
10
|
+
/**
|
|
11
|
+
* Why. `'forbidden'` = a valid session this panel may not use (no retry, only Sign Out).
|
|
12
|
+
* `'unreachable'` = the check itself failed (Try Again + Sign Out). Defaults to `'forbidden'` when the
|
|
13
|
+
* error carries HTTP status 403 (`error.status` or `error.response.status`), else `'unreachable'`.
|
|
14
|
+
*/
|
|
15
|
+
reason?: AdminRootUnavailableReason;
|
|
16
|
+
/** Re-runs the session check. Shown as "Try Again" for `'unreachable'` only. */
|
|
17
|
+
onRetry?: () => void;
|
|
18
|
+
/**
|
|
19
|
+
* The `AuthLayout` icon. Default: none — apps differ here (one shows a tinted `CloudCross`, another keeps
|
|
20
|
+
* every auth page icon-free), so it's the app's choice.
|
|
21
|
+
*/
|
|
22
|
+
icon?: IconName | false;
|
|
23
|
+
/** Tint for `icon` (`AuthLayout`'s `color`). Default `'error'`. */
|
|
24
|
+
color?: ThemeColor;
|
|
25
|
+
}
|
|
26
|
+
/** What an `unavailableFallback` receives. */
|
|
27
|
+
export interface AdminRootUnavailableFallbackProps {
|
|
28
|
+
/** The `unavailable.error`. */
|
|
29
|
+
error: unknown;
|
|
30
|
+
/** The resolved reason (explicit, or inferred from a 403). */
|
|
31
|
+
reason: AdminRootUnavailableReason;
|
|
32
|
+
/** `unavailable.onRetry`, when given — whatever the reason (the fallback decides whether to offer it). */
|
|
33
|
+
retry?: () => void;
|
|
34
|
+
/** The shell's Sign Out: `onLogout()`, then navigate to `loginPath`. */
|
|
35
|
+
signOut: () => void;
|
|
36
|
+
}
|
|
3
37
|
/** The minimal user shape `AdminRoot` reads — apps pass their own richer type via the generic. */
|
|
4
38
|
export interface AdminUser {
|
|
5
39
|
name?: string;
|
|
@@ -32,9 +66,31 @@ export interface AdminRootProps<U extends AdminUser = AdminUser> {
|
|
|
32
66
|
/**
|
|
33
67
|
* Wrap the page content in an `ErrorBoundary` (reset on navigation), so a crashing page shows an
|
|
34
68
|
* `ErrorState` inside the shell instead of a white screen. Default `true`; `false` opts out; an object
|
|
35
|
-
* configures it (e.g. `{ onError: Sentry.captureException }` or a custom `fallback`).
|
|
69
|
+
* configures it (e.g. `{ onError: Sentry.captureException }` or a custom `fallback`). It only catches what
|
|
70
|
+
* the router doesn't: TanStack Router catches a route's component / `loader` / `beforeLoad` errors in its own
|
|
71
|
+
* per-route boundary, so page crashes need `createRouter({ defaultErrorComponent: PageError })`.
|
|
36
72
|
*/
|
|
37
73
|
errorBoundary?: boolean | Omit<ErrorBoundaryProps, 'children' | 'resetKeys'>;
|
|
74
|
+
/**
|
|
75
|
+
* The app is still finding out who is signed in (e.g. verifying a stored token or refreshing a cookie
|
|
76
|
+
* session). While `true`, AdminRoot renders only `pendingFallback` — no shell, no public page, no
|
|
77
|
+
* `AuthGuard`, and `getUser()` isn't read — so a signed-in admin is never redirected to sign-in before the
|
|
78
|
+
* check resolves. Route `beforeLoad` guards (e.g. `authLayoutRoute`) still run in the router, independent
|
|
79
|
+
* of this — they must tolerate the unknown state themselves. No minimum display time. Default `false`.
|
|
80
|
+
*/
|
|
81
|
+
pending?: boolean;
|
|
82
|
+
/** What to show while `pending`. Default: a `Loader size="lg"` centred in the full viewport. */
|
|
83
|
+
pendingFallback?: ReactNode;
|
|
84
|
+
/**
|
|
85
|
+
* The session could not be checked, or the server will not serve this account here. While set, AdminRoot
|
|
86
|
+
* renders a standalone `AuthLayout` screen (the app's `logo`, a `QueryError`, Try Again / Sign Out) instead
|
|
87
|
+
* of the shell or a public page — and never redirects. Sign Out calls `onLogout` then navigates to
|
|
88
|
+
* `loginPath`, so **`onLogout` must clear whatever set `unavailable`** (or this screen shows again).
|
|
89
|
+
* `pending` wins when both are set. `null` / `undefined` = not unavailable (the default).
|
|
90
|
+
*/
|
|
91
|
+
unavailable?: AdminRootUnavailable | null;
|
|
92
|
+
/** Replaces the whole `unavailable` screen — for an app that needs its own wording or extra actions. */
|
|
93
|
+
unavailableFallback?: (props: AdminRootUnavailableFallbackProps) => ReactNode;
|
|
38
94
|
}
|
|
39
95
|
/**
|
|
40
96
|
* Root-route component for admin apps — it wires up the whole shell orchestration so an app only has to
|
|
@@ -43,6 +99,10 @@ export interface AdminRootProps<U extends AdminUser = AdminUser> {
|
|
|
43
99
|
* `AuthGuard` (signed-out visitors bounce to `loginPath`). Logout clears the session and navigates to
|
|
44
100
|
* `loginPath`. Mounts exactly one app-wide `<Toaster/>` (the inner `RootLayout` gets `toaster={false}`),
|
|
45
101
|
* and wraps the page in an `ErrorBoundary` that resets on navigation (`errorBoundary`, default on).
|
|
102
|
+
* While the app is still checking the session, pass `pending` (a full-screen loader instead of a premature
|
|
103
|
+
* sign-in redirect); when the check failed or the server refuses this account, pass `unavailable` (a
|
|
104
|
+
* standalone "Cannot Reach the Server" / "No Access" screen with Try Again / Sign Out). The `Toaster` stays
|
|
105
|
+
* mounted in both.
|
|
46
106
|
*
|
|
47
107
|
* `loginPath` is a plain string, cast loosely to the router's `to` type (the library can't know the
|
|
48
108
|
* app's typed route tree). The generic `<U>` preserves the app's own user type through `getUser`.
|
|
@@ -50,7 +110,18 @@ export interface AdminRootProps<U extends AdminUser = AdminUser> {
|
|
|
50
110
|
* @example
|
|
51
111
|
* // routes/__root.tsx
|
|
52
112
|
* export const Route = createRootRoute({
|
|
53
|
-
* component: () =>
|
|
113
|
+
* component: () => {
|
|
114
|
+
* const { status, error, retry } = useSession()
|
|
115
|
+
* return (
|
|
116
|
+
* <AdminRoot<AuthUser>
|
|
117
|
+
* pending={status === 'loading'}
|
|
118
|
+
* unavailable={status === 'unavailable' ? { error, onRetry: retry } : null}
|
|
119
|
+
* logo={<Logo />}
|
|
120
|
+
* getUser={getUser}
|
|
121
|
+
* onLogout={logout}
|
|
122
|
+
* />
|
|
123
|
+
* )
|
|
124
|
+
* },
|
|
54
125
|
* })
|
|
55
126
|
*/
|
|
56
|
-
export declare const AdminRoot: <U extends AdminUser = AdminUser>({ logo, logoTo, getUser, onLogout, authRouteId, loginPath, showUserCard, header, errorBoundary, }: AdminRootProps<U>) => import("react/jsx-runtime").JSX.Element;
|
|
127
|
+
export declare const AdminRoot: <U extends AdminUser = AdminUser>({ logo, logoTo, getUser, onLogout, authRouteId, loginPath, showUserCard, header, errorBoundary, pending, pendingFallback, unavailable, unavailableFallback, }: AdminRootProps<U>) => import("react/jsx-runtime").JSX.Element;
|
package/dist/app/AdminRoot.d.ts
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import { type ErrorBoundaryProps, type RootLayoutHeader, type RootLayoutProps } from '../components';
|
|
2
|
+
import { type ErrorBoundaryProps, type IconName, type RootLayoutHeader, type RootLayoutProps } from '../components';
|
|
3
|
+
import { type ThemeColor } from '../theme';
|
|
4
|
+
/** Why the session can't be used — see `AdminRootUnavailable.reason`. */
|
|
5
|
+
export type AdminRootUnavailableReason = 'forbidden' | 'unreachable';
|
|
6
|
+
/** The `unavailable` state of `AdminRoot` — the session could not be checked, or may not be used here. */
|
|
7
|
+
export interface AdminRootUnavailable {
|
|
8
|
+
/** What failed — passed to `QueryError` (message, trace id). */
|
|
9
|
+
error: unknown;
|
|
10
|
+
/**
|
|
11
|
+
* Why. `'forbidden'` = a valid session this panel may not use (no retry, only Sign Out).
|
|
12
|
+
* `'unreachable'` = the check itself failed (Try Again + Sign Out). Defaults to `'forbidden'` when the
|
|
13
|
+
* error carries HTTP status 403 (`error.status` or `error.response.status`), else `'unreachable'`.
|
|
14
|
+
*/
|
|
15
|
+
reason?: AdminRootUnavailableReason;
|
|
16
|
+
/** Re-runs the session check. Shown as "Try Again" for `'unreachable'` only. */
|
|
17
|
+
onRetry?: () => void;
|
|
18
|
+
/**
|
|
19
|
+
* The `AuthLayout` icon. Default: none — apps differ here (one shows a tinted `CloudCross`, another keeps
|
|
20
|
+
* every auth page icon-free), so it's the app's choice.
|
|
21
|
+
*/
|
|
22
|
+
icon?: IconName | false;
|
|
23
|
+
/** Tint for `icon` (`AuthLayout`'s `color`). Default `'error'`. */
|
|
24
|
+
color?: ThemeColor;
|
|
25
|
+
}
|
|
26
|
+
/** What an `unavailableFallback` receives. */
|
|
27
|
+
export interface AdminRootUnavailableFallbackProps {
|
|
28
|
+
/** The `unavailable.error`. */
|
|
29
|
+
error: unknown;
|
|
30
|
+
/** The resolved reason (explicit, or inferred from a 403). */
|
|
31
|
+
reason: AdminRootUnavailableReason;
|
|
32
|
+
/** `unavailable.onRetry`, when given — whatever the reason (the fallback decides whether to offer it). */
|
|
33
|
+
retry?: () => void;
|
|
34
|
+
/** The shell's Sign Out: `onLogout()`, then navigate to `loginPath`. */
|
|
35
|
+
signOut: () => void;
|
|
36
|
+
}
|
|
3
37
|
/** The minimal user shape `AdminRoot` reads — apps pass their own richer type via the generic. */
|
|
4
38
|
export interface AdminUser {
|
|
5
39
|
name?: string;
|
|
@@ -32,9 +66,31 @@ export interface AdminRootProps<U extends AdminUser = AdminUser> {
|
|
|
32
66
|
/**
|
|
33
67
|
* Wrap the page content in an `ErrorBoundary` (reset on navigation), so a crashing page shows an
|
|
34
68
|
* `ErrorState` inside the shell instead of a white screen. Default `true`; `false` opts out; an object
|
|
35
|
-
* configures it (e.g. `{ onError: Sentry.captureException }` or a custom `fallback`).
|
|
69
|
+
* configures it (e.g. `{ onError: Sentry.captureException }` or a custom `fallback`). It only catches what
|
|
70
|
+
* the router doesn't: TanStack Router catches a route's component / `loader` / `beforeLoad` errors in its own
|
|
71
|
+
* per-route boundary, so page crashes need `createRouter({ defaultErrorComponent: PageError })`.
|
|
36
72
|
*/
|
|
37
73
|
errorBoundary?: boolean | Omit<ErrorBoundaryProps, 'children' | 'resetKeys'>;
|
|
74
|
+
/**
|
|
75
|
+
* The app is still finding out who is signed in (e.g. verifying a stored token or refreshing a cookie
|
|
76
|
+
* session). While `true`, AdminRoot renders only `pendingFallback` — no shell, no public page, no
|
|
77
|
+
* `AuthGuard`, and `getUser()` isn't read — so a signed-in admin is never redirected to sign-in before the
|
|
78
|
+
* check resolves. Route `beforeLoad` guards (e.g. `authLayoutRoute`) still run in the router, independent
|
|
79
|
+
* of this — they must tolerate the unknown state themselves. No minimum display time. Default `false`.
|
|
80
|
+
*/
|
|
81
|
+
pending?: boolean;
|
|
82
|
+
/** What to show while `pending`. Default: a `Loader size="lg"` centred in the full viewport. */
|
|
83
|
+
pendingFallback?: ReactNode;
|
|
84
|
+
/**
|
|
85
|
+
* The session could not be checked, or the server will not serve this account here. While set, AdminRoot
|
|
86
|
+
* renders a standalone `AuthLayout` screen (the app's `logo`, a `QueryError`, Try Again / Sign Out) instead
|
|
87
|
+
* of the shell or a public page — and never redirects. Sign Out calls `onLogout` then navigates to
|
|
88
|
+
* `loginPath`, so **`onLogout` must clear whatever set `unavailable`** (or this screen shows again).
|
|
89
|
+
* `pending` wins when both are set. `null` / `undefined` = not unavailable (the default).
|
|
90
|
+
*/
|
|
91
|
+
unavailable?: AdminRootUnavailable | null;
|
|
92
|
+
/** Replaces the whole `unavailable` screen — for an app that needs its own wording or extra actions. */
|
|
93
|
+
unavailableFallback?: (props: AdminRootUnavailableFallbackProps) => ReactNode;
|
|
38
94
|
}
|
|
39
95
|
/**
|
|
40
96
|
* Root-route component for admin apps — it wires up the whole shell orchestration so an app only has to
|
|
@@ -43,6 +99,10 @@ export interface AdminRootProps<U extends AdminUser = AdminUser> {
|
|
|
43
99
|
* `AuthGuard` (signed-out visitors bounce to `loginPath`). Logout clears the session and navigates to
|
|
44
100
|
* `loginPath`. Mounts exactly one app-wide `<Toaster/>` (the inner `RootLayout` gets `toaster={false}`),
|
|
45
101
|
* and wraps the page in an `ErrorBoundary` that resets on navigation (`errorBoundary`, default on).
|
|
102
|
+
* While the app is still checking the session, pass `pending` (a full-screen loader instead of a premature
|
|
103
|
+
* sign-in redirect); when the check failed or the server refuses this account, pass `unavailable` (a
|
|
104
|
+
* standalone "Cannot Reach the Server" / "No Access" screen with Try Again / Sign Out). The `Toaster` stays
|
|
105
|
+
* mounted in both.
|
|
46
106
|
*
|
|
47
107
|
* `loginPath` is a plain string, cast loosely to the router's `to` type (the library can't know the
|
|
48
108
|
* app's typed route tree). The generic `<U>` preserves the app's own user type through `getUser`.
|
|
@@ -50,7 +110,18 @@ export interface AdminRootProps<U extends AdminUser = AdminUser> {
|
|
|
50
110
|
* @example
|
|
51
111
|
* // routes/__root.tsx
|
|
52
112
|
* export const Route = createRootRoute({
|
|
53
|
-
* component: () =>
|
|
113
|
+
* component: () => {
|
|
114
|
+
* const { status, error, retry } = useSession()
|
|
115
|
+
* return (
|
|
116
|
+
* <AdminRoot<AuthUser>
|
|
117
|
+
* pending={status === 'loading'}
|
|
118
|
+
* unavailable={status === 'unavailable' ? { error, onRetry: retry } : null}
|
|
119
|
+
* logo={<Logo />}
|
|
120
|
+
* getUser={getUser}
|
|
121
|
+
* onLogout={logout}
|
|
122
|
+
* />
|
|
123
|
+
* )
|
|
124
|
+
* },
|
|
54
125
|
* })
|
|
55
126
|
*/
|
|
56
|
-
export declare const AdminRoot: <U extends AdminUser = AdminUser>({ logo, logoTo, getUser, onLogout, authRouteId, loginPath, showUserCard, header, errorBoundary, }: AdminRootProps<U>) => import("react/jsx-runtime").JSX.Element;
|
|
127
|
+
export declare const AdminRoot: <U extends AdminUser = AdminUser>({ logo, logoTo, getUser, onLogout, authRouteId, loginPath, showUserCard, header, errorBoundary, pending, pendingFallback, unavailable, unavailableFallback, }: AdminRootProps<U>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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-CggrNMn5.cjs");exports.Alert=e.Alert;exports.default=e.Alert;
|
|
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("../../AuthLayout-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../AuthLayout-Cl3tb4-E.cjs");exports.AuthLayout=t.AuthLayout;exports.default=t.AuthLayout;
|
|
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("../../Breadcrumbs-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Breadcrumbs-Cpa_LSY2.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-Cm64ROip.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-yhly3Xdp.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-BPcnO5WI.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("../../ChoiceCardGroup-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ChoiceCardGroup-BWsG_Vh5.cjs");exports.ChoiceCard=e.ChoiceCard;exports.ChoiceCardGroup=e.ChoiceCardGroup;exports.default=e.ChoiceCard;
|
|
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-BgSum_bB.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-C33dlkhN.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-BJWNKzoX.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-C9oHGs6W.cjs");exports.CopyButton=t.CopyButton;exports.default=t.CopyButton;
|
|
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("../../DatePicker-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../DatePicker-DXwJB4MH.cjs");exports.DatePicker=e.DatePicker;exports.default=e.DatePicker;
|
|
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("../../DateTimePicker-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../DateTimePicker-CHi1H2k1.cjs");exports.DateTimePicker=e.DateTimePicker;exports.default=e.DateTimePicker;
|
|
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("../../DescriptionList-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../DescriptionList-BqYwp08t.cjs");exports.DescriptionList=e.DescriptionList;exports.default=e.DescriptionList;
|
|
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("../../EmptyState-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../EmptyState-CZ6X5-Zy.cjs");exports.EmptyState=t.EmptyState;exports.default=t.EmptyState;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -2,12 +2,12 @@ import { Component, type ErrorInfo, type ReactNode } from 'react';
|
|
|
2
2
|
export interface ErrorBoundaryProps {
|
|
3
3
|
/**
|
|
4
4
|
* What to render after a crash — a node, or `(error, reset) => node`. Defaults to an `ErrorState` with
|
|
5
|
-
* a friendly description, a **Try
|
|
5
|
+
* a friendly description, a **Try Again** button (`reset`) and the stack in dev.
|
|
6
6
|
*/
|
|
7
7
|
fallback?: ReactNode | ((error: Error, reset: () => void) => ReactNode);
|
|
8
8
|
/** Report the crash (e.g. `Sentry.captureException`). */
|
|
9
9
|
onError?: (error: Error, info: ErrorInfo) => void;
|
|
10
|
-
/** Called after the boundary resets (Try
|
|
10
|
+
/** Called after the boundary resets (Try Again, or a `resetKeys` change). */
|
|
11
11
|
onReset?: () => void;
|
|
12
12
|
/** Reset automatically when any of these change (shallow) — e.g. `[location.pathname]` clears on navigation. */
|
|
13
13
|
resetKeys?: unknown[];
|
|
@@ -19,7 +19,7 @@ interface ErrorBoundaryState {
|
|
|
19
19
|
/**
|
|
20
20
|
* Catches render errors in its subtree and shows a fallback instead of unmounting the whole app (a
|
|
21
21
|
* white screen). The one class component in the library — React only offers error boundaries as
|
|
22
|
-
* classes. `fallback` is a node or `(error, reset) => node` (default: an `ErrorState` with Try
|
|
22
|
+
* classes. `fallback` is a node or `(error, reset) => node` (default: an `ErrorState` with Try Again);
|
|
23
23
|
* `onError` reports the crash (Sentry); `resetKeys` resets it when they change (e.g. the route path, so
|
|
24
24
|
* navigating away recovers); `onReset` runs after any reset. `AdminRoot` mounts one around the page
|
|
25
25
|
* content automatically, so a crashing page keeps the sidebar + header.
|
|
@@ -2,12 +2,12 @@ import { Component, type ErrorInfo, type ReactNode } from 'react';
|
|
|
2
2
|
export interface ErrorBoundaryProps {
|
|
3
3
|
/**
|
|
4
4
|
* What to render after a crash — a node, or `(error, reset) => node`. Defaults to an `ErrorState` with
|
|
5
|
-
* a friendly description, a **Try
|
|
5
|
+
* a friendly description, a **Try Again** button (`reset`) and the stack in dev.
|
|
6
6
|
*/
|
|
7
7
|
fallback?: ReactNode | ((error: Error, reset: () => void) => ReactNode);
|
|
8
8
|
/** Report the crash (e.g. `Sentry.captureException`). */
|
|
9
9
|
onError?: (error: Error, info: ErrorInfo) => void;
|
|
10
|
-
/** Called after the boundary resets (Try
|
|
10
|
+
/** Called after the boundary resets (Try Again, or a `resetKeys` change). */
|
|
11
11
|
onReset?: () => void;
|
|
12
12
|
/** Reset automatically when any of these change (shallow) — e.g. `[location.pathname]` clears on navigation. */
|
|
13
13
|
resetKeys?: unknown[];
|
|
@@ -19,7 +19,7 @@ interface ErrorBoundaryState {
|
|
|
19
19
|
/**
|
|
20
20
|
* Catches render errors in its subtree and shows a fallback instead of unmounting the whole app (a
|
|
21
21
|
* white screen). The one class component in the library — React only offers error boundaries as
|
|
22
|
-
* classes. `fallback` is a node or `(error, reset) => node` (default: an `ErrorState` with Try
|
|
22
|
+
* classes. `fallback` is a node or `(error, reset) => node` (default: an `ErrorState` with Try Again);
|
|
23
23
|
* `onError` reports the crash (Sentry); `resetKeys` resets it when they change (e.g. the route path, so
|
|
24
24
|
* navigating away recovers); `onReset` runs after any reset. `AdminRoot` mounts one around the page
|
|
25
25
|
* content automatically, so a crashing page keeps the sidebar + header.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ErrorDetailsModalProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
/** The whole report — shown as-is and copied by the Copy button. */
|
|
5
|
+
report: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Internal to `ErrorState`: the "Details" dialog — the error report (trace id, status, message, then the stack /
|
|
9
|
+
* raw dump when allowed) in one monospace block, with **Copy** (the whole report, flips to "Copied!") and
|
|
10
|
+
* **Close** in the footer, so a user can paste it into a support ticket in one go.
|
|
11
|
+
*/
|
|
12
|
+
export declare function ErrorDetailsModal({ open, onClose, report }: ErrorDetailsModalProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ErrorDetailsModalProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
/** The whole report — shown as-is and copied by the Copy button. */
|
|
5
|
+
report: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Internal to `ErrorState`: the "Details" dialog — the error report (trace id, status, message, then the stack /
|
|
9
|
+
* raw dump when allowed) in one monospace block, with **Copy** (the whole report, flips to "Copied!") and
|
|
10
|
+
* **Close** in the footer, so a user can paste it into a support ticket in one go.
|
|
11
|
+
*/
|
|
12
|
+
export declare function ErrorDetailsModal({ open, onClose, report }: ErrorDetailsModalProps): import("react/jsx-runtime").JSX.Element;
|