@techzyapp/ui-library 1.0.21 → 1.0.25
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-BDRLuMX6.cjs → AdminRoot-BkPPRkyQ.cjs} +2 -2
- package/dist/AdminRoot-BkPPRkyQ.cjs.map +1 -0
- package/dist/{AdminRoot-DvF0js0q.js → AdminRoot-CgvtgUpW.js} +4 -4
- package/dist/AdminRoot-CgvtgUpW.js.map +1 -0
- package/dist/Alert-DXmzM_rh.js +71 -0
- package/dist/{Alert-DPYmdaWs.js.map → Alert-DXmzM_rh.js.map} +1 -1
- package/dist/Alert-udX1ybuC.cjs +2 -0
- package/dist/{Alert-CwoRkKq4.cjs.map → Alert-udX1ybuC.cjs.map} +1 -1
- package/dist/Blockquote-BWGxIL_V.cjs +2 -0
- package/dist/{Blockquote-CxHwOecc.cjs.map → Blockquote-BWGxIL_V.cjs.map} +1 -1
- package/dist/Blockquote-Ma-2naET.js +46 -0
- package/dist/{Blockquote-CNIuJFHq.js.map → Blockquote-Ma-2naET.js.map} +1 -1
- package/dist/{Breadcrumbs-CknDBLMw.cjs → Breadcrumbs-CsYTiX2h.cjs} +2 -2
- package/dist/{Breadcrumbs-CknDBLMw.cjs.map → Breadcrumbs-CsYTiX2h.cjs.map} +1 -1
- package/dist/{Breadcrumbs-l0PlUpQ4.js → Breadcrumbs-DQHHeLId.js} +3 -3
- package/dist/{Breadcrumbs-l0PlUpQ4.js.map → Breadcrumbs-DQHHeLId.js.map} +1 -1
- package/dist/{Button-BdihbLYJ.cjs → Button-CXmDOzPk.cjs} +2 -2
- package/dist/{Button-BdihbLYJ.cjs.map → Button-CXmDOzPk.cjs.map} +1 -1
- package/dist/{Button-RljTGqHl.js → Button-DBs8xnA5.js} +2 -2
- package/dist/{Button-RljTGqHl.js.map → Button-DBs8xnA5.js.map} +1 -1
- package/dist/{Calendar-DVg1uQuj.cjs → Calendar-B2nMXk4C.cjs} +2 -2
- package/dist/{Calendar-DVg1uQuj.cjs.map → Calendar-B2nMXk4C.cjs.map} +1 -1
- package/dist/{Calendar-CKCikOQL.js → Calendar-CtteUt82.js} +3 -3
- package/dist/{Calendar-CKCikOQL.js.map → Calendar-CtteUt82.js.map} +1 -1
- package/dist/{Card-BYFuYD-a.cjs → Card-DGF22HbS.cjs} +2 -2
- package/dist/{Card-BYFuYD-a.cjs.map → Card-DGF22HbS.cjs.map} +1 -1
- package/dist/{Card-B0bYi4g2.js → Card-DYKnWt-L.js} +2 -2
- package/dist/{Card-B0bYi4g2.js.map → Card-DYKnWt-L.js.map} +1 -1
- package/dist/{Chip-BiqfnRUi.js → Chip-DdKhcstm.js} +2 -2
- package/dist/{Chip-BiqfnRUi.js.map → Chip-DdKhcstm.js.map} +1 -1
- package/dist/{Chip-CdKUtUGE.cjs → Chip-gUH_7nQc.cjs} +2 -2
- package/dist/{Chip-CdKUtUGE.cjs.map → Chip-gUH_7nQc.cjs.map} +1 -1
- package/dist/{CodeBlock-CAAggVXS.cjs → CodeBlock-C6tQtbHU.cjs} +2 -2
- package/dist/{CodeBlock-CAAggVXS.cjs.map → CodeBlock-C6tQtbHU.cjs.map} +1 -1
- package/dist/{CodeBlock-BX_0tpk3.js → CodeBlock-DD_d3-sM.js} +3 -3
- package/dist/{CodeBlock-BX_0tpk3.js.map → CodeBlock-DD_d3-sM.js.map} +1 -1
- package/dist/{ColorPicker-BCSaT1A-.cjs → ColorPicker-DtzFwNWk.cjs} +2 -2
- package/dist/{ColorPicker-BCSaT1A-.cjs.map → ColorPicker-DtzFwNWk.cjs.map} +1 -1
- package/dist/{ColorPicker-DhSlvwNj.js → ColorPicker-Dw6Qk0iy.js} +3 -3
- package/dist/{ColorPicker-DhSlvwNj.js.map → ColorPicker-Dw6Qk0iy.js.map} +1 -1
- package/dist/{ColorPickerPanel-BOGYXXF1.cjs → ColorPickerPanel--wBX-m7J.cjs} +2 -2
- package/dist/{ColorPickerPanel-BOGYXXF1.cjs.map → ColorPickerPanel--wBX-m7J.cjs.map} +1 -1
- package/dist/{ColorPickerPanel-D4t3b9bB.js → ColorPickerPanel-Dp7bnnVf.js} +2 -2
- package/dist/{ColorPickerPanel-D4t3b9bB.js.map → ColorPickerPanel-Dp7bnnVf.js.map} +1 -1
- package/dist/ConfigProvider-Bszl3Wr3.cjs +2 -0
- package/dist/ConfigProvider-Bszl3Wr3.cjs.map +1 -0
- package/dist/ConfigProvider-DR9YMy9U.js +320 -0
- package/dist/ConfigProvider-DR9YMy9U.js.map +1 -0
- package/dist/{CopyButton-3585thVM.cjs → CopyButton-Ct-8AmmX.cjs} +2 -2
- package/dist/{CopyButton-3585thVM.cjs.map → CopyButton-Ct-8AmmX.cjs.map} +1 -1
- package/dist/{CopyButton-BEY1gJzK.js → CopyButton-DJ1PSJZU.js} +3 -3
- package/dist/{CopyButton-BEY1gJzK.js.map → CopyButton-DJ1PSJZU.js.map} +1 -1
- package/dist/{DatePicker-Dyj2halw.cjs → DatePicker-BxEydgfu.cjs} +2 -2
- package/dist/{DatePicker-Dyj2halw.cjs.map → DatePicker-BxEydgfu.cjs.map} +1 -1
- package/dist/{DatePicker-CEFGgXLF.js → DatePicker-CJioG5M7.js} +4 -4
- package/dist/{DatePicker-CEFGgXLF.js.map → DatePicker-CJioG5M7.js.map} +1 -1
- package/dist/{DateTimePicker-CjX4-8PP.cjs → DateTimePicker-COEj2Z0F.cjs} +2 -2
- package/dist/{DateTimePicker-CjX4-8PP.cjs.map → DateTimePicker-COEj2Z0F.cjs.map} +1 -1
- package/dist/{DateTimePicker-hmYBEuUM.js → DateTimePicker-e2zj2bhS.js} +7 -7
- package/dist/{DateTimePicker-hmYBEuUM.js.map → DateTimePicker-e2zj2bhS.js.map} +1 -1
- package/dist/{EmptyState-DJDNLKT7.js → EmptyState-BTd7aVgu.js} +12 -12
- package/dist/{EmptyState-DJDNLKT7.js.map → EmptyState-BTd7aVgu.js.map} +1 -1
- package/dist/EmptyState-Bv4XXnD1.cjs +2 -0
- package/dist/{EmptyState-Bj-vX_UV.cjs.map → EmptyState-Bv4XXnD1.cjs.map} +1 -1
- package/dist/{FileCard-Dr5-z1R3.cjs → FileCard-DW5Ur8Aj.cjs} +2 -2
- package/dist/{FileCard-Dr5-z1R3.cjs.map → FileCard-DW5Ur8Aj.cjs.map} +1 -1
- package/dist/{FileCard-C9Ncifnu.js → FileCard-DY8N9Lzz.js} +3 -3
- package/dist/{FileCard-C9Ncifnu.js.map → FileCard-DY8N9Lzz.js.map} +1 -1
- package/dist/{FileUploader-DeyZENqq.cjs → FileUploader-B7VfhcR7.cjs} +2 -2
- package/dist/{FileUploader-DeyZENqq.cjs.map → FileUploader-B7VfhcR7.cjs.map} +1 -1
- package/dist/{FileUploader-XFmBNkA0.js → FileUploader-BYF5FvUc.js} +5 -5
- package/dist/{FileUploader-XFmBNkA0.js.map → FileUploader-BYF5FvUc.js.map} +1 -1
- package/dist/{Flag-Bxnx26DM.cjs → Flag-CB4YyPj3.cjs} +2 -2
- package/dist/{Flag-Bxnx26DM.cjs.map → Flag-CB4YyPj3.cjs.map} +1 -1
- package/dist/{Flag-Bs0xNP-P.js → Flag-yA1y5XzR.js} +2 -2
- package/dist/{Flag-Bs0xNP-P.js.map → Flag-yA1y5XzR.js.map} +1 -1
- package/dist/{FullscreenToggle-BncatGKj.cjs → FullscreenToggle-0lskYnpx.cjs} +2 -2
- package/dist/{FullscreenToggle-BncatGKj.cjs.map → FullscreenToggle-0lskYnpx.cjs.map} +1 -1
- package/dist/{FullscreenToggle-DMlp05UN.js → FullscreenToggle-jSLruiKt.js} +3 -3
- package/dist/{FullscreenToggle-DMlp05UN.js.map → FullscreenToggle-jSLruiKt.js.map} +1 -1
- package/dist/{IconButton-DXMmtuLA.js → IconButton-BEGWfcVc.js} +2 -2
- package/dist/{IconButton-DXMmtuLA.js.map → IconButton-BEGWfcVc.js.map} +1 -1
- package/dist/{IconButton-Lv0sDDR9.cjs → IconButton-BN-bZxEi.cjs} +2 -2
- package/dist/{IconButton-Lv0sDDR9.cjs.map → IconButton-BN-bZxEi.cjs.map} +1 -1
- package/dist/Link-BQlvsu9V.js +48 -0
- package/dist/Link-BQlvsu9V.js.map +1 -0
- package/dist/Link-GZT51mKx.cjs +2 -0
- package/dist/Link-GZT51mKx.cjs.map +1 -0
- package/dist/{Loader-53HFNMVX.cjs → Loader-B5YqzEYy.cjs} +2 -2
- package/dist/{Loader-53HFNMVX.cjs.map → Loader-B5YqzEYy.cjs.map} +1 -1
- package/dist/Loader-BZIa8hwv.js +29 -0
- package/dist/{Loader-WsjQFl4p.js.map → Loader-BZIa8hwv.js.map} +1 -1
- package/dist/Modal-0V-REVV-.cjs +2 -0
- package/dist/{Modal-V6eyGSzW.cjs.map → Modal-0V-REVV-.cjs.map} +1 -1
- package/dist/Modal-B7yoFC3o.js +195 -0
- package/dist/{Modal-DBYcoCbJ.js.map → Modal-B7yoFC3o.js.map} +1 -1
- package/dist/{MultiSelect-BsYPr3LD.js → MultiSelect-C8xuXaoR.js} +4 -4
- package/dist/{MultiSelect-BsYPr3LD.js.map → MultiSelect-C8xuXaoR.js.map} +1 -1
- package/dist/{MultiSelect-DS2DRpaP.cjs → MultiSelect-gj9Ymeh2.cjs} +2 -2
- package/dist/{MultiSelect-DS2DRpaP.cjs.map → MultiSelect-gj9Ymeh2.cjs.map} +1 -1
- package/dist/{NumberField-mFb9pKCx.js → NumberField-2yM0mmyj.js} +3 -3
- package/dist/{NumberField-mFb9pKCx.js.map → NumberField-2yM0mmyj.js.map} +1 -1
- package/dist/{NumberField-DC3TdGTt.cjs → NumberField-CEt95jcC.cjs} +2 -2
- package/dist/{NumberField-DC3TdGTt.cjs.map → NumberField-CEt95jcC.cjs.map} +1 -1
- package/dist/OtpField-CkliY82J.js +174 -0
- package/dist/OtpField-CkliY82J.js.map +1 -0
- package/dist/OtpField-on-K0_fM.cjs +2 -0
- package/dist/OtpField-on-K0_fM.cjs.map +1 -0
- package/dist/{PageLayout-pYL43wI9.cjs → PageLayout-DGHu7Vm3.cjs} +2 -2
- package/dist/{PageLayout-pYL43wI9.cjs.map → PageLayout-DGHu7Vm3.cjs.map} +1 -1
- package/dist/{PageLayout-qf0H_EmS.js → PageLayout-DzPh_G6H.js} +2 -2
- package/dist/{PageLayout-qf0H_EmS.js.map → PageLayout-DzPh_G6H.js.map} +1 -1
- package/dist/{PageNotFound-D1795gJ7.cjs → PageNotFound-B8_eIT8p.cjs} +2 -2
- package/dist/{PageNotFound-D1795gJ7.cjs.map → PageNotFound-B8_eIT8p.cjs.map} +1 -1
- package/dist/{PageNotFound-YGVMVvyG.js → PageNotFound-CCFfPHgA.js} +5 -5
- package/dist/{PageNotFound-YGVMVvyG.js.map → PageNotFound-CCFfPHgA.js.map} +1 -1
- package/dist/{Pagination-WJq_7QNi.cjs → Pagination-BdVebW2L.cjs} +2 -2
- package/dist/{Pagination-WJq_7QNi.cjs.map → Pagination-BdVebW2L.cjs.map} +1 -1
- package/dist/{Pagination-BTvUJiee.js → Pagination-CmskZjcz.js} +2 -2
- package/dist/{Pagination-BTvUJiee.js.map → Pagination-CmskZjcz.js.map} +1 -1
- package/dist/QrCode-Bcj9_Emc.js +70 -0
- package/dist/QrCode-Bcj9_Emc.js.map +1 -0
- package/dist/QrCode-DfDfGhG-.cjs +2 -0
- package/dist/QrCode-DfDfGhG-.cjs.map +1 -0
- package/dist/{RemoveDialog-BSQ6EMW-.js → RemoveDialog-CV75B0aN.js} +4 -4
- package/dist/{RemoveDialog-BSQ6EMW-.js.map → RemoveDialog-CV75B0aN.js.map} +1 -1
- package/dist/{RemoveDialog-BhcwsY0q.cjs → RemoveDialog-DmOk0ezc.cjs} +2 -2
- package/dist/{RemoveDialog-BhcwsY0q.cjs.map → RemoveDialog-DmOk0ezc.cjs.map} +1 -1
- package/dist/{RichTextEditor-CaGPtwXe.js → RichTextEditor-Bm8FFbcR.js} +7 -7
- package/dist/{RichTextEditor-CaGPtwXe.js.map → RichTextEditor-Bm8FFbcR.js.map} +1 -1
- package/dist/{RichTextEditor-Bc1fhvzn.cjs → RichTextEditor-uXddgtlk.cjs} +2 -2
- package/dist/{RichTextEditor-Bc1fhvzn.cjs.map → RichTextEditor-uXddgtlk.cjs.map} +1 -1
- package/dist/RootLayout-Cf7Rr9Iz.js +515 -0
- package/dist/RootLayout-Cf7Rr9Iz.js.map +1 -0
- package/dist/RootLayout-kssj9exn.cjs +2 -0
- package/dist/RootLayout-kssj9exn.cjs.map +1 -0
- package/dist/{Select-Cx1Yl8nq.cjs → Select-7vEGJCvA.cjs} +2 -2
- package/dist/{Select-Cx1Yl8nq.cjs.map → Select-7vEGJCvA.cjs.map} +1 -1
- package/dist/{Select-vKZzS9K4.js → Select-CdX3Ks7y.js} +3 -3
- package/dist/{Select-vKZzS9K4.js.map → Select-CdX3Ks7y.js.map} +1 -1
- package/dist/Sidebar-DcKIEfhy.cjs +2 -0
- package/dist/Sidebar-DcKIEfhy.cjs.map +1 -0
- package/dist/Sidebar-YH-DoNG9.js +553 -0
- package/dist/Sidebar-YH-DoNG9.js.map +1 -0
- package/dist/{SpeedDial-D6sO-9ES.cjs → SpeedDial-9_Yk8AGx.cjs} +2 -2
- package/dist/{SpeedDial-D6sO-9ES.cjs.map → SpeedDial-9_Yk8AGx.cjs.map} +1 -1
- package/dist/{SpeedDial-Bb0ioXaO.js → SpeedDial-DWNuC6f8.js} +2 -2
- package/dist/{SpeedDial-Bb0ioXaO.js.map → SpeedDial-DWNuC6f8.js.map} +1 -1
- package/dist/{Stepper-CVY8NJEI.cjs → Stepper-B1z_u650.cjs} +2 -2
- package/dist/{Stepper-CVY8NJEI.cjs.map → Stepper-B1z_u650.cjs.map} +1 -1
- package/dist/{Stepper-BaEOUnYe.js → Stepper-CuqFpamY.js} +2 -2
- package/dist/{Stepper-BaEOUnYe.js.map → Stepper-CuqFpamY.js.map} +1 -1
- package/dist/{Table-AQ7yJhtW.cjs → Table-BPit83Pn.cjs} +2 -2
- package/dist/{Table-AQ7yJhtW.cjs.map → Table-BPit83Pn.cjs.map} +1 -1
- package/dist/{Table-wn-B7iLj.js → Table-Drdhfm99.js} +15 -15
- package/dist/{Table-wn-B7iLj.js.map → Table-Drdhfm99.js.map} +1 -1
- package/dist/{Tabs-BtcJ2jBl.cjs → Tabs-BiKDy_fv.cjs} +2 -2
- package/dist/{Tabs-BtcJ2jBl.cjs.map → Tabs-BiKDy_fv.cjs.map} +1 -1
- package/dist/{Tabs-DJMfAUni.js → Tabs-ytbBzAxG.js} +2 -2
- package/dist/{Tabs-DJMfAUni.js.map → Tabs-ytbBzAxG.js.map} +1 -1
- package/dist/{TagsField-Bvh6Fm5Y.js → TagsField-CEt_PC5y.js} +4 -4
- package/dist/{TagsField-Bvh6Fm5Y.js.map → TagsField-CEt_PC5y.js.map} +1 -1
- package/dist/{TagsField-4x3RmGwt.cjs → TagsField-DpDbf0ru.cjs} +2 -2
- package/dist/{TagsField-4x3RmGwt.cjs.map → TagsField-DpDbf0ru.cjs.map} +1 -1
- package/dist/{TextField-DcdwUA9d.js → TextField-BWdmF-HE.js} +3 -3
- package/dist/{TextField-DcdwUA9d.js.map → TextField-BWdmF-HE.js.map} +1 -1
- package/dist/{TextField-DNqnpAWB.cjs → TextField-Df_kGy2l.cjs} +2 -2
- package/dist/{TextField-DNqnpAWB.cjs.map → TextField-Df_kGy2l.cjs.map} +1 -1
- package/dist/{ThemeToggle-isboxfZk.cjs → ThemeToggle-BJdXhmfc.cjs} +2 -2
- package/dist/{ThemeToggle-isboxfZk.cjs.map → ThemeToggle-BJdXhmfc.cjs.map} +1 -1
- package/dist/{ThemeToggle-BVQmSMsj.js → ThemeToggle-CgxF6oUu.js} +3 -3
- package/dist/{ThemeToggle-BVQmSMsj.js.map → ThemeToggle-CgxF6oUu.js.map} +1 -1
- package/dist/{TimeColumns-DxFjjtc7.cjs → TimeColumns-DxVN0V8l.cjs} +2 -2
- package/dist/{TimeColumns-DxFjjtc7.cjs.map → TimeColumns-DxVN0V8l.cjs.map} +1 -1
- package/dist/{TimeColumns-CFy_PynH.js → TimeColumns-n-fz50mr.js} +2 -2
- package/dist/{TimeColumns-CFy_PynH.js.map → TimeColumns-n-fz50mr.js.map} +1 -1
- package/dist/{TimePicker-ZO7jOJVa.js → TimePicker-Bopxx3zU.js} +5 -5
- package/dist/{TimePicker-ZO7jOJVa.js.map → TimePicker-Bopxx3zU.js.map} +1 -1
- package/dist/{TimePicker-v1yA7Igl.cjs → TimePicker-DvoemiGz.cjs} +2 -2
- package/dist/{TimePicker-v1yA7Igl.cjs.map → TimePicker-DvoemiGz.cjs.map} +1 -1
- package/dist/{Toaster-C6UK_2TB.js → Toaster-BxIY2H4V.js} +2 -2
- package/dist/{Toaster-C6UK_2TB.js.map → Toaster-BxIY2H4V.js.map} +1 -1
- package/dist/{Toaster-Qnsq3guQ.cjs → Toaster-DZSzFse_.cjs} +2 -2
- package/dist/{Toaster-Qnsq3guQ.cjs.map → Toaster-DZSzFse_.cjs.map} +1 -1
- package/dist/{TranslatedFields-CLMvRpJi.cjs → TranslatedFields-BtDLkQy7.cjs} +2 -2
- package/dist/{TranslatedFields-CLMvRpJi.cjs.map → TranslatedFields-BtDLkQy7.cjs.map} +1 -1
- package/dist/{TranslatedFields-Bo5rZ7so.js → TranslatedFields-DmR8LKSG.js} +5 -5
- package/dist/{TranslatedFields-Bo5rZ7so.js.map → TranslatedFields-DmR8LKSG.js.map} +1 -1
- package/dist/{UserCard-CIjZz5xd.cjs → UserCard-C1yFvVIc.cjs} +2 -2
- package/dist/{UserCard-CIjZz5xd.cjs.map → UserCard-C1yFvVIc.cjs.map} +1 -1
- package/dist/{UserCard-454Kc7JS.js → UserCard-J8Bpbh3x.js} +3 -3
- package/dist/{UserCard-454Kc7JS.js.map → UserCard-J8Bpbh3x.js.map} +1 -1
- package/dist/app/AdminRoot.d.cts +4 -1
- package/dist/app/AdminRoot.d.ts +4 -1
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Blockquote/Blockquote.d.cts +1 -1
- package/dist/components/Blockquote/Blockquote.d.ts +1 -1
- package/dist/components/Blockquote/index.cjs +1 -1
- package/dist/components/Blockquote/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/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/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/EmptyState/index.cjs +1 -1
- package/dist/components/EmptyState/index.js +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/Link/Link.d.cts +44 -0
- package/dist/components/Link/Link.d.ts +44 -0
- package/dist/components/Link/index.cjs +2 -0
- package/dist/components/Link/index.cjs.map +1 -0
- package/dist/components/Link/index.d.cts +3 -0
- package/dist/components/Link/index.d.ts +3 -0
- package/dist/components/Link/index.js +6 -0
- package/dist/components/Link/index.js.map +1 -0
- package/dist/components/Loader/index.cjs +1 -1
- package/dist/components/Loader/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/OtpField.d.cts +3 -0
- package/dist/components/OtpField/OtpField.d.ts +3 -0
- package/dist/components/OtpField/index.cjs +1 -1
- package/dist/components/OtpField/index.d.cts +1 -1
- package/dist/components/OtpField/index.d.ts +1 -1
- package/dist/components/OtpField/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/QrCode/QrCode.d.cts +46 -0
- package/dist/components/QrCode/QrCode.d.ts +46 -0
- package/dist/components/QrCode/index.cjs +2 -0
- package/dist/components/QrCode/index.cjs.map +1 -0
- package/dist/components/QrCode/index.d.cts +2 -0
- package/dist/components/QrCode/index.d.ts +2 -0
- package/dist/components/QrCode/index.js +6 -0
- package/dist/components/QrCode/index.js.map +1 -0
- 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/ActionSet.d.cts +27 -0
- package/dist/components/RootLayout/ActionSet.d.ts +27 -0
- package/dist/components/RootLayout/SettingsDrawer.d.cts +3 -1
- package/dist/components/RootLayout/SettingsDrawer.d.ts +3 -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/Sidebar.d.cts +55 -3
- package/dist/components/Sidebar/Sidebar.d.ts +55 -3
- package/dist/components/Sidebar/index.cjs +1 -1
- package/dist/components/Sidebar/index.d.cts +1 -0
- package/dist/components/Sidebar/index.d.ts +1 -0
- package/dist/components/Sidebar/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 +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/entries/app.cjs +1 -1
- package/dist/entries/app.js +1 -1
- package/dist/entries/components.cjs +1 -1
- package/dist/entries/components.js +112 -108
- 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/i18n/messages.d.cts +7 -0
- package/dist/i18n/messages.d.ts +7 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +25 -2
- package/dist/index.js +116 -112
- package/dist/index.js.map +1 -1
- package/dist/messages-DKT0SRM0.cjs +36 -0
- package/dist/messages-DKT0SRM0.cjs.map +1 -0
- package/dist/{messages-CGHhwf6F.js → messages-ogohLC5P.js} +74 -25
- package/dist/messages-ogohLC5P.js.map +1 -0
- package/dist/theme/ConfigProvider.d.cts +41 -1
- package/dist/theme/ConfigProvider.d.ts +41 -1
- package/dist/theme/index.d.cts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/package.json +6 -1
- package/dist/AdminRoot-BDRLuMX6.cjs.map +0 -1
- package/dist/AdminRoot-DvF0js0q.js.map +0 -1
- package/dist/Alert-CwoRkKq4.cjs +0 -2
- package/dist/Alert-DPYmdaWs.js +0 -71
- package/dist/Blockquote-CNIuJFHq.js +0 -46
- package/dist/Blockquote-CxHwOecc.cjs +0 -2
- package/dist/ConfigProvider-C7DUWHrb.cjs +0 -2
- package/dist/ConfigProvider-C7DUWHrb.cjs.map +0 -1
- package/dist/ConfigProvider-DT0yrgmd.js +0 -296
- package/dist/ConfigProvider-DT0yrgmd.js.map +0 -1
- package/dist/EmptyState-Bj-vX_UV.cjs +0 -2
- package/dist/Loader-WsjQFl4p.js +0 -28
- package/dist/Modal-DBYcoCbJ.js +0 -195
- package/dist/Modal-V6eyGSzW.cjs +0 -2
- package/dist/OtpField-1ullIIZQ.js +0 -171
- package/dist/OtpField-1ullIIZQ.js.map +0 -1
- package/dist/OtpField-BYj9SDHb.cjs +0 -2
- package/dist/OtpField-BYj9SDHb.cjs.map +0 -1
- package/dist/RootLayout-BNwHsuhC.js +0 -422
- package/dist/RootLayout-BNwHsuhC.js.map +0 -1
- package/dist/RootLayout-CB-3FgOp.cjs +0 -2
- package/dist/RootLayout-CB-3FgOp.cjs.map +0 -1
- package/dist/Sidebar-CJ7DtOqb.js +0 -513
- package/dist/Sidebar-CJ7DtOqb.js.map +0 -1
- package/dist/Sidebar-Cv95DJxZ.cjs +0 -2
- package/dist/Sidebar-Cv95DJxZ.cjs.map +0 -1
- package/dist/messages-CGHhwf6F.js.map +0 -1
- package/dist/messages-DZJyiaf9.cjs +0 -36
- package/dist/messages-DZJyiaf9.cjs.map +0 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import type { ThemeColor } from '../../theme';
|
|
3
|
+
export type QrCodeLevel = 'L' | 'M' | 'Q' | 'H';
|
|
4
|
+
export interface QrCodeProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'> {
|
|
5
|
+
/** The encoded text (URL, `otpauth://…` URI, plain string). Required. */
|
|
6
|
+
value: string;
|
|
7
|
+
/** Rendered edge length in px. Default `180`. */
|
|
8
|
+
size?: number;
|
|
9
|
+
/** Error-correction level. Default `'M'` (`'H'` when `image` is set, so the logo can cover the middle). */
|
|
10
|
+
level?: QrCodeLevel;
|
|
11
|
+
/** Module (foreground) tint — a theme token. Default `'text'` (so it follows light/dark). */
|
|
12
|
+
color?: ThemeColor | 'text';
|
|
13
|
+
/** Quiet zone in modules. Default `2`. */
|
|
14
|
+
margin?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Optional centre image (a brand mark), as a URL or `{ src, width?, height?, excavate? }`.
|
|
17
|
+
* `excavate` clears the modules under it (default `true`). Sizes default to ~22% of `size`.
|
|
18
|
+
*/
|
|
19
|
+
image?: string | {
|
|
20
|
+
src: string;
|
|
21
|
+
width?: number;
|
|
22
|
+
height?: number;
|
|
23
|
+
excavate?: boolean;
|
|
24
|
+
};
|
|
25
|
+
/** Caption rendered under the code (muted, centred) — e.g. "Scan with your authenticator app". */
|
|
26
|
+
caption?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Wrap the code in a soft `surface` frame with padding and radius, so it sits cleanly on the
|
|
29
|
+
* page `background`. Default `true`. Pass `false` for a bare SVG.
|
|
30
|
+
*/
|
|
31
|
+
framed?: boolean;
|
|
32
|
+
/** Accessible name. Default `"QR code"`. The `value` is never exposed as text by this component. */
|
|
33
|
+
'aria-label'?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A QR code, rendered as a crisp **SVG** — wraps the optional peer **`qrcode.react`** (`npm i
|
|
37
|
+
* qrcode.react`) so apps don't pull in their own encoder. The modules take a theme `color` token
|
|
38
|
+
* (default `text`) via the `--tz-qr-fg` var; `framed` (default) wraps the code in a soft, elevated card.
|
|
39
|
+
*
|
|
40
|
+
* **Scannability:** a framed code always sits on a **white** card in both light and dark mode, and its
|
|
41
|
+
* default modules stay **dark** in both — a QR must be dark-on-light to read reliably, so the frame is
|
|
42
|
+
* kept white even in dark mode (a deliberate literal-color exception, like `CodeBlock`'s dark surface).
|
|
43
|
+
* A custom `color` is honored as-is (pick one dark enough to scan). The wrapper is `role="img"` with an
|
|
44
|
+
* `aria-label`; the SVG itself is `aria-hidden`, so the encoded `value` is never read out as text.
|
|
45
|
+
*/
|
|
46
|
+
export declare const QrCode: import("react").ForwardRefExoticComponent<QrCodeProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import type { ThemeColor } from '../../theme';
|
|
3
|
+
export type QrCodeLevel = 'L' | 'M' | 'Q' | 'H';
|
|
4
|
+
export interface QrCodeProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'> {
|
|
5
|
+
/** The encoded text (URL, `otpauth://…` URI, plain string). Required. */
|
|
6
|
+
value: string;
|
|
7
|
+
/** Rendered edge length in px. Default `180`. */
|
|
8
|
+
size?: number;
|
|
9
|
+
/** Error-correction level. Default `'M'` (`'H'` when `image` is set, so the logo can cover the middle). */
|
|
10
|
+
level?: QrCodeLevel;
|
|
11
|
+
/** Module (foreground) tint — a theme token. Default `'text'` (so it follows light/dark). */
|
|
12
|
+
color?: ThemeColor | 'text';
|
|
13
|
+
/** Quiet zone in modules. Default `2`. */
|
|
14
|
+
margin?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Optional centre image (a brand mark), as a URL or `{ src, width?, height?, excavate? }`.
|
|
17
|
+
* `excavate` clears the modules under it (default `true`). Sizes default to ~22% of `size`.
|
|
18
|
+
*/
|
|
19
|
+
image?: string | {
|
|
20
|
+
src: string;
|
|
21
|
+
width?: number;
|
|
22
|
+
height?: number;
|
|
23
|
+
excavate?: boolean;
|
|
24
|
+
};
|
|
25
|
+
/** Caption rendered under the code (muted, centred) — e.g. "Scan with your authenticator app". */
|
|
26
|
+
caption?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Wrap the code in a soft `surface` frame with padding and radius, so it sits cleanly on the
|
|
29
|
+
* page `background`. Default `true`. Pass `false` for a bare SVG.
|
|
30
|
+
*/
|
|
31
|
+
framed?: boolean;
|
|
32
|
+
/** Accessible name. Default `"QR code"`. The `value` is never exposed as text by this component. */
|
|
33
|
+
'aria-label'?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A QR code, rendered as a crisp **SVG** — wraps the optional peer **`qrcode.react`** (`npm i
|
|
37
|
+
* qrcode.react`) so apps don't pull in their own encoder. The modules take a theme `color` token
|
|
38
|
+
* (default `text`) via the `--tz-qr-fg` var; `framed` (default) wraps the code in a soft, elevated card.
|
|
39
|
+
*
|
|
40
|
+
* **Scannability:** a framed code always sits on a **white** card in both light and dark mode, and its
|
|
41
|
+
* default modules stay **dark** in both — a QR must be dark-on-light to read reliably, so the frame is
|
|
42
|
+
* kept white even in dark mode (a deliberate literal-color exception, like `CodeBlock`'s dark surface).
|
|
43
|
+
* A custom `color` is honored as-is (pick one dark enough to scan). The wrapper is `role="img"` with an
|
|
44
|
+
* `aria-label`; the SVG itself is `aria-hidden`, so the encoded `value` is never read out as text.
|
|
45
|
+
*/
|
|
46
|
+
export declare const QrCode: import("react").ForwardRefExoticComponent<QrCodeProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -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":";"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../RemoveDialog-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../RemoveDialog-DmOk0ezc.cjs");exports.RemoveDialog=e.RemoveDialog;exports.default=e.RemoveDialog;
|
|
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("../../RichTextEditor-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../RichTextEditor-uXddgtlk.cjs");exports.RichTextEditor=e.RichTextEditor;exports.default=e.RichTextEditor;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type MouseEvent, type ReactNode } from 'react';
|
|
2
|
+
import { type ThemeColor } from '../../theme';
|
|
3
|
+
import type { IconName } from '../../icons/names';
|
|
4
|
+
import { type ButtonVariant } from '../Button';
|
|
5
|
+
/** A resolved page action — rendered as a `Button` (inline) or a `SpeedDial` action (collapsed). */
|
|
6
|
+
export interface PageAction {
|
|
7
|
+
/** Visible label (button text; the SpeedDial action's tooltip when collapsed). */
|
|
8
|
+
label: ReactNode;
|
|
9
|
+
/** Leading icon — an `IconName` or any node. When omitted, the collapsed dial shows the label's first letter. */
|
|
10
|
+
icon?: IconName | ReactNode;
|
|
11
|
+
/** Click handler. */
|
|
12
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
13
|
+
/** Button color / tint. */
|
|
14
|
+
color?: ThemeColor;
|
|
15
|
+
/** Inline-button variant (ignored when collapsed). Defaults to `contained`. */
|
|
16
|
+
variant?: ButtonVariant;
|
|
17
|
+
/** Renders the action disabled. */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Renders a set of page actions in the shell's page-title row: inline `Button`s on wider screens,
|
|
22
|
+
* **collapsed into a `SpeedDial`** (a fixed bottom-right FAB) on the `xs` breakpoint (≤767.98px) when
|
|
23
|
+
* there are **2 or more**. Fed by a route's `staticData.actions` (resolved by `RootLayout`). Internal.
|
|
24
|
+
*/
|
|
25
|
+
export declare function ActionSet({ actions }: {
|
|
26
|
+
actions: PageAction[];
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type MouseEvent, type ReactNode } from 'react';
|
|
2
|
+
import { type ThemeColor } from '../../theme';
|
|
3
|
+
import type { IconName } from '../../icons/names';
|
|
4
|
+
import { type ButtonVariant } from '../Button';
|
|
5
|
+
/** A resolved page action — rendered as a `Button` (inline) or a `SpeedDial` action (collapsed). */
|
|
6
|
+
export interface PageAction {
|
|
7
|
+
/** Visible label (button text; the SpeedDial action's tooltip when collapsed). */
|
|
8
|
+
label: ReactNode;
|
|
9
|
+
/** Leading icon — an `IconName` or any node. When omitted, the collapsed dial shows the label's first letter. */
|
|
10
|
+
icon?: IconName | ReactNode;
|
|
11
|
+
/** Click handler. */
|
|
12
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
13
|
+
/** Button color / tint. */
|
|
14
|
+
color?: ThemeColor;
|
|
15
|
+
/** Inline-button variant (ignored when collapsed). Defaults to `contained`. */
|
|
16
|
+
variant?: ButtonVariant;
|
|
17
|
+
/** Renders the action disabled. */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Renders a set of page actions in the shell's page-title row: inline `Button`s on wider screens,
|
|
22
|
+
* **collapsed into a `SpeedDial`** (a fixed bottom-right FAB) on the `xs` breakpoint (≤767.98px) when
|
|
23
|
+
* there are **2 or more**. Fed by a route's `staticData.actions` (resolved by `RootLayout`). Internal.
|
|
24
|
+
*/
|
|
25
|
+
export declare function ActionSet({ actions }: {
|
|
26
|
+
actions: PageAction[];
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -18,6 +18,8 @@ export interface SettingsDrawerProps {
|
|
|
18
18
|
* shows (the other is pointless without a theme switch);
|
|
19
19
|
* a **Font** section (a searchable `Select` — Inter preset + type any Google Font — driving
|
|
20
20
|
* `setFontFamily`); and a **Header** section (an exclusive `ChoiceCardGroup` **Scrollable** / **Fixed**
|
|
21
|
-
* driving `setHeaderSticky`)
|
|
21
|
+
* driving `setHeaderSticky`); and a **Shape** section (an exclusive `ChoiceCardGroup` **Rounded** /
|
|
22
|
+
* **Square** driving `setShape` — `square` flattens every corner in the panel to `border-radius: 0`).
|
|
23
|
+
* Internal to the admin shell — not a public export.
|
|
22
24
|
*/
|
|
23
25
|
export declare function SettingsDrawer({ open, onClose, showTheme }: SettingsDrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,6 +18,8 @@ export interface SettingsDrawerProps {
|
|
|
18
18
|
* shows (the other is pointless without a theme switch);
|
|
19
19
|
* a **Font** section (a searchable `Select` — Inter preset + type any Google Font — driving
|
|
20
20
|
* `setFontFamily`); and a **Header** section (an exclusive `ChoiceCardGroup` **Scrollable** / **Fixed**
|
|
21
|
-
* driving `setHeaderSticky`)
|
|
21
|
+
* driving `setHeaderSticky`); and a **Shape** section (an exclusive `ChoiceCardGroup` **Rounded** /
|
|
22
|
+
* **Square** driving `setShape` — `square` flattens every corner in the panel to `border-radius: 0`).
|
|
23
|
+
* Internal to the admin shell — not a public export.
|
|
22
24
|
*/
|
|
23
25
|
export declare function SettingsDrawer({ open, onClose, showTheme }: SettingsDrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../../RootLayout-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../../RootLayout-kssj9exn.cjs");exports.RootLayout=o.RootLayout;exports.default=o.RootLayout;
|
|
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("../../Select-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Select-7vEGJCvA.cjs");exports.Select=e.Select;exports.default=e.Select;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -2,7 +2,34 @@ import { type ReactNode } from 'react';
|
|
|
2
2
|
import { type StaticDataRouteOption } from '@tanstack/react-router';
|
|
3
3
|
import { type ThemeColor } from '../../theme';
|
|
4
4
|
import type { IconName } from '../../icons/names';
|
|
5
|
+
import type { ButtonVariant } from '../Button';
|
|
5
6
|
export type { IconName };
|
|
7
|
+
/**
|
|
8
|
+
* A declarative page action for a route's `staticData.actions` — rendered by `RootLayout` in the
|
|
9
|
+
* page-title row (inline `Button`s, collapsing to a `SpeedDial` on `xs` when there are 2+). Because it
|
|
10
|
+
* lives in static route data (no hooks), navigation goes through **`to`** (+ `params` / `search`), which
|
|
11
|
+
* `RootLayout` runs via the router; use **`onClick`** for a plain, module-level handler.
|
|
12
|
+
*/
|
|
13
|
+
export interface RouteAction {
|
|
14
|
+
/** Visible label (button text; the SpeedDial tooltip when collapsed). */
|
|
15
|
+
label: string;
|
|
16
|
+
/** Leading icon. When omitted, the collapsed dial shows the label's first letter. */
|
|
17
|
+
icon?: IconName;
|
|
18
|
+
/** Navigate target — `RootLayout` calls the router's `navigate({ to, params, search })`. */
|
|
19
|
+
to?: string;
|
|
20
|
+
/** Route params for `to`. */
|
|
21
|
+
params?: Record<string, string>;
|
|
22
|
+
/** Search params for `to`. */
|
|
23
|
+
search?: Record<string, unknown>;
|
|
24
|
+
/** Plain click handler (alternative to `to`; can't use React hooks — it's static route data). */
|
|
25
|
+
onClick?: () => void;
|
|
26
|
+
/** Button color / tint. */
|
|
27
|
+
color?: ThemeColor;
|
|
28
|
+
/** Inline-button variant (ignored when collapsed). Defaults to `contained`. */
|
|
29
|
+
variant?: ButtonVariant;
|
|
30
|
+
/** Renders the action disabled. */
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
}
|
|
6
33
|
declare module '@tanstack/react-router' {
|
|
7
34
|
interface StaticDataRouteOption {
|
|
8
35
|
/** Menu label. A route with no `name` never appears in the menu. */
|
|
@@ -30,6 +57,13 @@ declare module '@tanstack/react-router' {
|
|
|
30
57
|
* from the leaf matched route; does **not** affect the sidebar.
|
|
31
58
|
*/
|
|
32
59
|
back?: boolean | string | ((params: Record<string, string>) => string);
|
|
60
|
+
/**
|
|
61
|
+
* Declarative **page actions** for this route — rendered by `RootLayout` in the page-title row, right
|
|
62
|
+
* of the `h2` (inline `Button`s, collapsing to a `SpeedDial` on `xs` when there are 2+). Read from the
|
|
63
|
+
* leaf matched route. Use `to` for navigation actions; `onClick` for a static handler. Does **not**
|
|
64
|
+
* affect the sidebar.
|
|
65
|
+
*/
|
|
66
|
+
actions?: RouteAction[];
|
|
33
67
|
/** Optional menu icon (the library's `IconName` union). */
|
|
34
68
|
icon?: IconName;
|
|
35
69
|
/** Sort order within the parent (ascending); falls back to alphabetical. */
|
|
@@ -64,6 +98,18 @@ export interface NavModule {
|
|
|
64
98
|
icon?: IconName;
|
|
65
99
|
groups: NavGroup[];
|
|
66
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* One **top-level** sidebar entry, in the unified order — either a standalone page `link` or a `module`.
|
|
103
|
+
* Top links and modules share a single `staticData.order` scale, so a module can sit before, after, or
|
|
104
|
+
* between the standalone page links (not always after them). Produced by `buildNavTree` as `items`.
|
|
105
|
+
*/
|
|
106
|
+
export type NavItem = {
|
|
107
|
+
kind: 'link';
|
|
108
|
+
link: NavLeaf;
|
|
109
|
+
} | {
|
|
110
|
+
kind: 'module';
|
|
111
|
+
module: NavModule;
|
|
112
|
+
};
|
|
67
113
|
/** A single route, reduced to what the menu needs. */
|
|
68
114
|
export interface NavRoute {
|
|
69
115
|
fullPath: string;
|
|
@@ -74,13 +120,17 @@ export interface NavRoute {
|
|
|
74
120
|
* Kept router-free so it's unit-testable; `useNavTree` feeds it the live routes.
|
|
75
121
|
*/
|
|
76
122
|
export declare function buildNavTree(routes: NavRoute[]): {
|
|
123
|
+
items: NavItem[];
|
|
77
124
|
links: NavLeaf[];
|
|
78
125
|
modules: NavModule[];
|
|
79
126
|
};
|
|
80
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* The first menu destination, following the **unified top-level order** (`items`) — so a module ordered
|
|
129
|
+
* ahead of the page links wins. A link resolves to itself; a module to its first group page / leaf. Used
|
|
130
|
+
* by `FirstRouteRedirect`.
|
|
131
|
+
*/
|
|
81
132
|
export declare function firstNavTo(tree: {
|
|
82
|
-
|
|
83
|
-
modules: NavModule[];
|
|
133
|
+
items: NavItem[];
|
|
84
134
|
}): string | undefined;
|
|
85
135
|
/**
|
|
86
136
|
* A `normalized fullPath → staticData.name` map from **all** routes (index routes included), the same
|
|
@@ -127,6 +177,8 @@ export declare function resolveBackTarget(back: boolean | string | ((params: Rec
|
|
|
127
177
|
* by `RootLayout` to render the back arrow beside the page title.
|
|
128
178
|
*/
|
|
129
179
|
export declare function usePageBack(): (() => void) | undefined;
|
|
180
|
+
/** The deepest matched route's `staticData.actions` (the page-title-row action buttons), if any. */
|
|
181
|
+
export declare function useLeafActions(): RouteAction[] | undefined;
|
|
130
182
|
/**
|
|
131
183
|
* The current page's title. Priority: the leaf matched route's explicit **`staticData.title`** (works on
|
|
132
184
|
* dynamic routes, read from the match chain), else the **last** recognized name along the current
|
|
@@ -2,7 +2,34 @@ import { type ReactNode } from 'react';
|
|
|
2
2
|
import { type StaticDataRouteOption } from '@tanstack/react-router';
|
|
3
3
|
import { type ThemeColor } from '../../theme';
|
|
4
4
|
import type { IconName } from '../../icons/names';
|
|
5
|
+
import type { ButtonVariant } from '../Button';
|
|
5
6
|
export type { IconName };
|
|
7
|
+
/**
|
|
8
|
+
* A declarative page action for a route's `staticData.actions` — rendered by `RootLayout` in the
|
|
9
|
+
* page-title row (inline `Button`s, collapsing to a `SpeedDial` on `xs` when there are 2+). Because it
|
|
10
|
+
* lives in static route data (no hooks), navigation goes through **`to`** (+ `params` / `search`), which
|
|
11
|
+
* `RootLayout` runs via the router; use **`onClick`** for a plain, module-level handler.
|
|
12
|
+
*/
|
|
13
|
+
export interface RouteAction {
|
|
14
|
+
/** Visible label (button text; the SpeedDial tooltip when collapsed). */
|
|
15
|
+
label: string;
|
|
16
|
+
/** Leading icon. When omitted, the collapsed dial shows the label's first letter. */
|
|
17
|
+
icon?: IconName;
|
|
18
|
+
/** Navigate target — `RootLayout` calls the router's `navigate({ to, params, search })`. */
|
|
19
|
+
to?: string;
|
|
20
|
+
/** Route params for `to`. */
|
|
21
|
+
params?: Record<string, string>;
|
|
22
|
+
/** Search params for `to`. */
|
|
23
|
+
search?: Record<string, unknown>;
|
|
24
|
+
/** Plain click handler (alternative to `to`; can't use React hooks — it's static route data). */
|
|
25
|
+
onClick?: () => void;
|
|
26
|
+
/** Button color / tint. */
|
|
27
|
+
color?: ThemeColor;
|
|
28
|
+
/** Inline-button variant (ignored when collapsed). Defaults to `contained`. */
|
|
29
|
+
variant?: ButtonVariant;
|
|
30
|
+
/** Renders the action disabled. */
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
}
|
|
6
33
|
declare module '@tanstack/react-router' {
|
|
7
34
|
interface StaticDataRouteOption {
|
|
8
35
|
/** Menu label. A route with no `name` never appears in the menu. */
|
|
@@ -30,6 +57,13 @@ declare module '@tanstack/react-router' {
|
|
|
30
57
|
* from the leaf matched route; does **not** affect the sidebar.
|
|
31
58
|
*/
|
|
32
59
|
back?: boolean | string | ((params: Record<string, string>) => string);
|
|
60
|
+
/**
|
|
61
|
+
* Declarative **page actions** for this route — rendered by `RootLayout` in the page-title row, right
|
|
62
|
+
* of the `h2` (inline `Button`s, collapsing to a `SpeedDial` on `xs` when there are 2+). Read from the
|
|
63
|
+
* leaf matched route. Use `to` for navigation actions; `onClick` for a static handler. Does **not**
|
|
64
|
+
* affect the sidebar.
|
|
65
|
+
*/
|
|
66
|
+
actions?: RouteAction[];
|
|
33
67
|
/** Optional menu icon (the library's `IconName` union). */
|
|
34
68
|
icon?: IconName;
|
|
35
69
|
/** Sort order within the parent (ascending); falls back to alphabetical. */
|
|
@@ -64,6 +98,18 @@ export interface NavModule {
|
|
|
64
98
|
icon?: IconName;
|
|
65
99
|
groups: NavGroup[];
|
|
66
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* One **top-level** sidebar entry, in the unified order — either a standalone page `link` or a `module`.
|
|
103
|
+
* Top links and modules share a single `staticData.order` scale, so a module can sit before, after, or
|
|
104
|
+
* between the standalone page links (not always after them). Produced by `buildNavTree` as `items`.
|
|
105
|
+
*/
|
|
106
|
+
export type NavItem = {
|
|
107
|
+
kind: 'link';
|
|
108
|
+
link: NavLeaf;
|
|
109
|
+
} | {
|
|
110
|
+
kind: 'module';
|
|
111
|
+
module: NavModule;
|
|
112
|
+
};
|
|
67
113
|
/** A single route, reduced to what the menu needs. */
|
|
68
114
|
export interface NavRoute {
|
|
69
115
|
fullPath: string;
|
|
@@ -74,13 +120,17 @@ export interface NavRoute {
|
|
|
74
120
|
* Kept router-free so it's unit-testable; `useNavTree` feeds it the live routes.
|
|
75
121
|
*/
|
|
76
122
|
export declare function buildNavTree(routes: NavRoute[]): {
|
|
123
|
+
items: NavItem[];
|
|
77
124
|
links: NavLeaf[];
|
|
78
125
|
modules: NavModule[];
|
|
79
126
|
};
|
|
80
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* The first menu destination, following the **unified top-level order** (`items`) — so a module ordered
|
|
129
|
+
* ahead of the page links wins. A link resolves to itself; a module to its first group page / leaf. Used
|
|
130
|
+
* by `FirstRouteRedirect`.
|
|
131
|
+
*/
|
|
81
132
|
export declare function firstNavTo(tree: {
|
|
82
|
-
|
|
83
|
-
modules: NavModule[];
|
|
133
|
+
items: NavItem[];
|
|
84
134
|
}): string | undefined;
|
|
85
135
|
/**
|
|
86
136
|
* A `normalized fullPath → staticData.name` map from **all** routes (index routes included), the same
|
|
@@ -127,6 +177,8 @@ export declare function resolveBackTarget(back: boolean | string | ((params: Rec
|
|
|
127
177
|
* by `RootLayout` to render the back arrow beside the page title.
|
|
128
178
|
*/
|
|
129
179
|
export declare function usePageBack(): (() => void) | undefined;
|
|
180
|
+
/** The deepest matched route's `staticData.actions` (the page-title-row action buttons), if any. */
|
|
181
|
+
export declare function useLeafActions(): RouteAction[] | undefined;
|
|
130
182
|
/**
|
|
131
183
|
* The current page's title. Priority: the leaf matched route's explicit **`staticData.title`** (works on
|
|
132
184
|
* dynamic routes, read from the match chain), else the **last** recognized name along the current
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Sidebar-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Sidebar-DcKIEfhy.cjs");exports.FirstRouteRedirect=e.FirstRouteRedirect;exports.Sidebar=e.Sidebar;exports.default=e.Sidebar;
|
|
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("../../SpeedDial-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../SpeedDial-9_Yk8AGx.cjs");exports.SpeedDial=e.SpeedDial;exports.SpeedDialAction=e.SpeedDialAction;exports.default=e.SpeedDial;
|
|
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("../../Stepper-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Stepper-B1z_u650.cjs");exports.Stepper=e.Stepper;exports.default=e.Stepper;
|
|
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("../../Table-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Table-BPit83Pn.cjs");exports.Table=e.Table;exports.default=e.Table;
|
|
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("../../Tabs-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Tabs-BiKDy_fv.cjs");exports.Tabs=e.Tabs;exports.default=e.Tabs;
|
|
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("../../TagsField-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../TagsField-DpDbf0ru.cjs");exports.TagsField=e.TagsField;exports.default=e.TagsField;
|
|
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("../../TextField-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../TextField-Df_kGy2l.cjs");exports.TextField=e.TextField;exports.default=e.TextField;
|
|
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("../../ThemeToggle-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ThemeToggle-BJdXhmfc.cjs");exports.ThemeToggle=e.ThemeToggle;exports.default=e.ThemeToggle;
|
|
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("../../TimePicker-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../TimePicker-DvoemiGz.cjs");exports.TimePicker=e.TimePicker;exports.default=e.TimePicker;
|
|
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("../../Toaster-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../Toaster-DZSzFse_.cjs"),t=require("../../toastStore-B4Tk2Xk7.cjs");exports.Toaster=e.Toaster;exports.default=e.Toaster;exports.toast=t.toast;
|
|
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("../../TranslatedFields-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../TranslatedFields-BtDLkQy7.cjs");exports.TranslatedFields=e.TranslatedFields;exports.default=e.TranslatedFields;
|
|
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("../../UserCard-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../UserCard-C1yFvVIc.cjs");exports.UserCard=e.UserCard;exports.default=e.UserCard;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|