@wealthx/ui 0.0.1 → 1.0.1
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/.turbo/turbo-build.log +369 -0
- package/CHANGELOG.md +7 -0
- package/dist/accordion-details.d.mts +7 -0
- package/dist/accordion-details.d.ts +7 -0
- package/dist/accordion-details.js +62 -0
- package/dist/accordion-details.mjs +17 -0
- package/dist/accordion-summary.d.mts +7 -0
- package/dist/accordion-summary.d.ts +7 -0
- package/dist/accordion-summary.js +62 -0
- package/dist/accordion-summary.mjs +17 -0
- package/dist/accordion.d.mts +7 -0
- package/dist/accordion.d.ts +7 -0
- package/dist/accordion.js +62 -0
- package/dist/accordion.mjs +17 -0
- package/dist/alert.d.mts +7 -0
- package/dist/alert.d.ts +7 -0
- package/dist/alert.js +62 -0
- package/dist/alert.mjs +17 -0
- package/dist/app-bar.d.mts +7 -0
- package/dist/app-bar.d.ts +7 -0
- package/dist/app-bar.js +62 -0
- package/dist/app-bar.mjs +17 -0
- package/dist/autocomplete.d.mts +7 -0
- package/dist/autocomplete.d.ts +7 -0
- package/dist/autocomplete.js +62 -0
- package/dist/autocomplete.mjs +17 -0
- package/dist/avatar.d.mts +7 -0
- package/dist/avatar.d.ts +7 -0
- package/dist/avatar.js +62 -0
- package/dist/avatar.mjs +17 -0
- package/dist/backdrop.d.mts +7 -0
- package/dist/backdrop.d.ts +7 -0
- package/dist/backdrop.js +62 -0
- package/dist/backdrop.mjs +17 -0
- package/dist/badge.d.mts +7 -0
- package/dist/badge.d.ts +7 -0
- package/dist/badge.js +62 -0
- package/dist/badge.mjs +17 -0
- package/dist/bottom-navigation-action.d.mts +7 -0
- package/dist/bottom-navigation-action.d.ts +7 -0
- package/dist/bottom-navigation-action.js +62 -0
- package/dist/bottom-navigation-action.mjs +17 -0
- package/dist/bottom-navigation.d.mts +7 -0
- package/dist/bottom-navigation.d.ts +7 -0
- package/dist/bottom-navigation.js +62 -0
- package/dist/bottom-navigation.mjs +17 -0
- package/dist/box.d.mts +7 -0
- package/dist/box.d.ts +7 -0
- package/dist/box.js +62 -0
- package/dist/box.mjs +17 -0
- package/dist/breadcrumbs.d.mts +7 -0
- package/dist/breadcrumbs.d.ts +7 -0
- package/dist/breadcrumbs.js +62 -0
- package/dist/breadcrumbs.mjs +17 -0
- package/dist/button-group.d.mts +7 -0
- package/dist/button-group.d.ts +7 -0
- package/dist/button-group.js +62 -0
- package/dist/button-group.mjs +17 -0
- package/dist/button.d.mts +7 -0
- package/dist/button.d.ts +7 -0
- package/dist/button.js +62 -0
- package/dist/button.mjs +17 -0
- package/dist/card-actions.d.mts +7 -0
- package/dist/card-actions.d.ts +7 -0
- package/dist/card-actions.js +62 -0
- package/dist/card-actions.mjs +17 -0
- package/dist/card-content.d.mts +7 -0
- package/dist/card-content.d.ts +7 -0
- package/dist/card-content.js +62 -0
- package/dist/card-content.mjs +17 -0
- package/dist/card-header.d.mts +7 -0
- package/dist/card-header.d.ts +7 -0
- package/dist/card-header.js +62 -0
- package/dist/card-header.mjs +17 -0
- package/dist/card-media.d.mts +7 -0
- package/dist/card-media.d.ts +7 -0
- package/dist/card-media.js +62 -0
- package/dist/card-media.mjs +17 -0
- package/dist/card.d.mts +7 -0
- package/dist/card.d.ts +7 -0
- package/dist/card.js +62 -0
- package/dist/card.mjs +17 -0
- package/dist/charts/index.d.mts +260 -0
- package/dist/charts/index.d.ts +260 -0
- package/dist/charts/index.js +2514 -0
- package/dist/charts/index.mjs +2442 -0
- package/dist/checkbox.d.mts +9 -0
- package/dist/checkbox.d.ts +9 -0
- package/dist/checkbox.js +62 -0
- package/dist/checkbox.mjs +17 -0
- package/dist/chip.d.mts +7 -0
- package/dist/chip.d.ts +7 -0
- package/dist/chip.js +62 -0
- package/dist/chip.mjs +17 -0
- package/dist/chunk-2VVJGTUG.mjs +18 -0
- package/dist/chunk-3INC3CHA.mjs +702 -0
- package/dist/chunk-3LGY4LPH.mjs +671 -0
- package/dist/chunk-3ZAK7JKB.mjs +17 -0
- package/dist/chunk-4PT5CSRI.mjs +635 -0
- package/dist/chunk-4RSXKKJ3.mjs +677 -0
- package/dist/chunk-4YL3IDTL.mjs +712 -0
- package/dist/chunk-5PTI2A2O.mjs +635 -0
- package/dist/chunk-5QGN2CVX.mjs +738 -0
- package/dist/chunk-5WVSR7VI.mjs +30 -0
- package/dist/chunk-6XKA7TMO.mjs +654 -0
- package/dist/chunk-75AEPNQV.mjs +663 -0
- package/dist/chunk-7VN5YMMV.mjs +666 -0
- package/dist/chunk-7Y4J73GF.mjs +22 -0
- package/dist/chunk-A4GTTYXS.mjs +725 -0
- package/dist/chunk-A6UVH2MS.mjs +638 -0
- package/dist/chunk-AFUVAGQ7.mjs +717 -0
- package/dist/chunk-AU6MS36I.mjs +687 -0
- package/dist/chunk-AZ4T75GP.mjs +716 -0
- package/dist/chunk-B26DAG54.mjs +729 -0
- package/dist/chunk-B6MLUNDY.mjs +641 -0
- package/dist/chunk-BEP42F7C.mjs +704 -0
- package/dist/chunk-CDQYIC4L.mjs +638 -0
- package/dist/chunk-CJ5XEQAB.mjs +707 -0
- package/dist/chunk-CLRGEEBS.mjs +695 -0
- package/dist/chunk-EDDP4RXX.mjs +731 -0
- package/dist/chunk-EYFZ6Q2I.mjs +30 -0
- package/dist/chunk-EZEFJ62V.mjs +723 -0
- package/dist/chunk-F3Y22UH3.mjs +704 -0
- package/dist/chunk-FCUQVOXM.mjs +707 -0
- package/dist/chunk-FMFAYI6F.mjs +727 -0
- package/dist/chunk-FWCSY2DS.mjs +37 -0
- package/dist/chunk-FYHAFWVF.mjs +719 -0
- package/dist/chunk-G5LVCGAZ.mjs +715 -0
- package/dist/chunk-GC7M6Q7Q.mjs +712 -0
- package/dist/chunk-GJP3ZHQZ.mjs +712 -0
- package/dist/chunk-GTCMGRVH.mjs +576 -0
- package/dist/chunk-GXYSMEFL.mjs +704 -0
- package/dist/chunk-GYEEDPWP.mjs +646 -0
- package/dist/chunk-H5JOUGZ7.mjs +7 -0
- package/dist/chunk-HAXRNHML.mjs +17 -0
- package/dist/chunk-HGDOFGU4.mjs +717 -0
- package/dist/chunk-HR7CZZZU.mjs +34 -0
- package/dist/chunk-I4E63NIC.mjs +24 -0
- package/dist/chunk-I5H76ESF.mjs +671 -0
- package/dist/chunk-IIBNCIGO.mjs +713 -0
- package/dist/chunk-INHKGMOA.mjs +705 -0
- package/dist/chunk-ISFJIOTZ.mjs +668 -0
- package/dist/chunk-IU4IZB74.mjs +729 -0
- package/dist/chunk-IXJXFW7K.mjs +712 -0
- package/dist/chunk-JUNAYNXW.mjs +667 -0
- package/dist/chunk-K2Z5MFPN.mjs +717 -0
- package/dist/chunk-KJDBWFV4.mjs +15 -0
- package/dist/chunk-KOR3RFXT.mjs +616 -0
- package/dist/chunk-KRCDJE37.mjs +616 -0
- package/dist/chunk-KX3KGQM5.mjs +704 -0
- package/dist/chunk-MJF7PMCN.mjs +713 -0
- package/dist/chunk-MSMSEKLJ.mjs +727 -0
- package/dist/chunk-MWVIJSXF.mjs +723 -0
- package/dist/chunk-MZ6NCHFH.mjs +712 -0
- package/dist/chunk-NHR5EVP5.mjs +34 -0
- package/dist/chunk-NLOG75HP.mjs +712 -0
- package/dist/chunk-NPIFU7NP.mjs +717 -0
- package/dist/chunk-NUTTLEFB.mjs +675 -0
- package/dist/chunk-P3F3JWWN.mjs +707 -0
- package/dist/chunk-PPGJLNI5.mjs +704 -0
- package/dist/chunk-PUPP26OX.mjs +707 -0
- package/dist/chunk-Q43USMAB.mjs +638 -0
- package/dist/chunk-QUYESF5V.mjs +706 -0
- package/dist/chunk-R4NJDEQL.mjs +686 -0
- package/dist/chunk-RE7K3H64.mjs +707 -0
- package/dist/chunk-RIDPXVXH.mjs +706 -0
- package/dist/chunk-RQIAE3MB.mjs +721 -0
- package/dist/chunk-RRYH5A6K.mjs +727 -0
- package/dist/chunk-RTUIKVKP.mjs +705 -0
- package/dist/chunk-RYZ2UYKN.mjs +707 -0
- package/dist/chunk-S37HUFPH.mjs +719 -0
- package/dist/chunk-S4TZORUT.mjs +708 -0
- package/dist/chunk-SOMFG24T.mjs +675 -0
- package/dist/chunk-SP3LL4DC.mjs +704 -0
- package/dist/chunk-TJZXXGH3.mjs +641 -0
- package/dist/chunk-TWFYWUDV.mjs +707 -0
- package/dist/chunk-U2JQUQ2B.mjs +712 -0
- package/dist/chunk-UCFJXIGR.mjs +671 -0
- package/dist/chunk-UFKECQBD.mjs +736 -0
- package/dist/chunk-UNZHSAWG.mjs +704 -0
- package/dist/chunk-UORPGX7S.mjs +637 -0
- package/dist/chunk-VA7BMOMQ.mjs +712 -0
- package/dist/chunk-VKJEODYN.mjs +705 -0
- package/dist/chunk-VST6TRHA.mjs +15 -0
- package/dist/chunk-VSTSMCNW.mjs +169 -0
- package/dist/chunk-W35RLK2G.mjs +714 -0
- package/dist/chunk-WLX3YEFG.mjs +713 -0
- package/dist/chunk-WUKYLWAZ.mjs +0 -0
- package/dist/chunk-XJFQ6VLH.mjs +676 -0
- package/dist/chunk-XUAVHHPE.mjs +715 -0
- package/dist/chunk-YHEJWFKH.mjs +711 -0
- package/dist/chunk-YJ5Q4Z6X.mjs +37 -0
- package/dist/chunk-YMWHUJU5.mjs +15 -0
- package/dist/chunk-YNFJJWV4.mjs +712 -0
- package/dist/chunk-YOEKQLSM.mjs +715 -0
- package/dist/chunk-ZIIKFFIL.mjs +21 -0
- package/dist/chunk-ZLBX4R5M.mjs +711 -0
- package/dist/container.d.mts +7 -0
- package/dist/container.d.ts +7 -0
- package/dist/container.js +62 -0
- package/dist/container.mjs +17 -0
- package/dist/dialog-actions.d.mts +7 -0
- package/dist/dialog-actions.d.ts +7 -0
- package/dist/dialog-actions.js +62 -0
- package/dist/dialog-actions.mjs +17 -0
- package/dist/dialog-content.d.mts +7 -0
- package/dist/dialog-content.d.ts +7 -0
- package/dist/dialog-content.js +62 -0
- package/dist/dialog-content.mjs +17 -0
- package/dist/dialog-title.d.mts +7 -0
- package/dist/dialog-title.d.ts +7 -0
- package/dist/dialog-title.js +62 -0
- package/dist/dialog-title.mjs +17 -0
- package/dist/dialog.d.mts +7 -0
- package/dist/dialog.d.ts +7 -0
- package/dist/dialog.js +62 -0
- package/dist/dialog.mjs +17 -0
- package/dist/divider.d.mts +7 -0
- package/dist/divider.d.ts +7 -0
- package/dist/divider.js +62 -0
- package/dist/divider.mjs +17 -0
- package/dist/drawer.d.mts +7 -0
- package/dist/drawer.d.ts +7 -0
- package/dist/drawer.js +62 -0
- package/dist/drawer.mjs +17 -0
- package/dist/fab.d.mts +7 -0
- package/dist/fab.d.ts +7 -0
- package/dist/fab.js +62 -0
- package/dist/fab.mjs +17 -0
- package/dist/form-control.d.mts +7 -0
- package/dist/form-control.d.ts +7 -0
- package/dist/form-control.js +62 -0
- package/dist/form-control.mjs +17 -0
- package/dist/grid.d.mts +7 -0
- package/dist/grid.d.ts +7 -0
- package/dist/grid.js +62 -0
- package/dist/grid.mjs +17 -0
- package/dist/icon-button.d.mts +7 -0
- package/dist/icon-button.d.ts +7 -0
- package/dist/icon-button.js +62 -0
- package/dist/icon-button.mjs +17 -0
- package/dist/image-list-item.d.mts +7 -0
- package/dist/image-list-item.d.ts +7 -0
- package/dist/image-list-item.js +62 -0
- package/dist/image-list-item.mjs +17 -0
- package/dist/image-list.d.mts +7 -0
- package/dist/image-list.d.ts +7 -0
- package/dist/image-list.js +62 -0
- package/dist/image-list.mjs +17 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +697 -0
- package/dist/index.mjs +61 -0
- package/dist/input-label.d.mts +7 -0
- package/dist/input-label.d.ts +7 -0
- package/dist/input-label.js +62 -0
- package/dist/input-label.mjs +17 -0
- package/dist/link.d.mts +7 -0
- package/dist/link.d.ts +7 -0
- package/dist/link.js +62 -0
- package/dist/link.mjs +17 -0
- package/dist/list-item-icon.d.mts +7 -0
- package/dist/list-item-icon.d.ts +7 -0
- package/dist/list-item-icon.js +62 -0
- package/dist/list-item-icon.mjs +17 -0
- package/dist/list-item-text.d.mts +7 -0
- package/dist/list-item-text.d.ts +7 -0
- package/dist/list-item-text.js +62 -0
- package/dist/list-item-text.mjs +17 -0
- package/dist/list-item.d.mts +7 -0
- package/dist/list-item.d.ts +7 -0
- package/dist/list-item.js +62 -0
- package/dist/list-item.mjs +17 -0
- package/dist/list.d.mts +7 -0
- package/dist/list.d.ts +7 -0
- package/dist/list.js +62 -0
- package/dist/list.mjs +17 -0
- package/dist/masonry.d.mts +7 -0
- package/dist/masonry.d.ts +7 -0
- package/dist/masonry.js +62 -0
- package/dist/masonry.mjs +17 -0
- package/dist/menu-item.d.mts +7 -0
- package/dist/menu-item.d.ts +7 -0
- package/dist/menu-item.js +62 -0
- package/dist/menu-item.mjs +17 -0
- package/dist/menu.d.mts +7 -0
- package/dist/menu.d.ts +7 -0
- package/dist/menu.js +62 -0
- package/dist/menu.mjs +17 -0
- package/dist/mui-augmentation-DKlyQ0kQ.d.mts +19 -0
- package/dist/mui-augmentation-DKlyQ0kQ.d.ts +19 -0
- package/dist/pagination.d.mts +7 -0
- package/dist/pagination.d.ts +7 -0
- package/dist/pagination.js +62 -0
- package/dist/pagination.mjs +17 -0
- package/dist/paper.d.mts +7 -0
- package/dist/paper.d.ts +7 -0
- package/dist/paper.js +62 -0
- package/dist/paper.mjs +17 -0
- package/dist/progress.d.mts +10 -0
- package/dist/progress.d.ts +10 -0
- package/dist/progress.js +71 -0
- package/dist/progress.mjs +25 -0
- package/dist/radio-group.d.mts +7 -0
- package/dist/radio-group.d.ts +7 -0
- package/dist/radio-group.js +62 -0
- package/dist/radio-group.mjs +17 -0
- package/dist/radio.d.mts +10 -0
- package/dist/radio.d.ts +10 -0
- package/dist/radio.js +62 -0
- package/dist/radio.mjs +18 -0
- package/dist/rating.d.mts +7 -0
- package/dist/rating.d.ts +7 -0
- package/dist/rating.js +62 -0
- package/dist/rating.mjs +17 -0
- package/dist/select.d.mts +7 -0
- package/dist/select.d.ts +7 -0
- package/dist/select.js +62 -0
- package/dist/select.mjs +17 -0
- package/dist/selection-button-group.d.mts +16 -0
- package/dist/selection-button-group.d.ts +16 -0
- package/dist/selection-button-group.js +109 -0
- package/dist/selection-button-group.mjs +42 -0
- package/dist/skeleton.d.mts +7 -0
- package/dist/skeleton.d.ts +7 -0
- package/dist/skeleton.js +62 -0
- package/dist/skeleton.mjs +17 -0
- package/dist/slider.d.mts +7 -0
- package/dist/slider.d.ts +7 -0
- package/dist/slider.js +62 -0
- package/dist/slider.mjs +17 -0
- package/dist/snackbar.d.mts +7 -0
- package/dist/snackbar.d.ts +7 -0
- package/dist/snackbar.js +62 -0
- package/dist/snackbar.mjs +17 -0
- package/dist/speed-dial-action.d.mts +7 -0
- package/dist/speed-dial-action.d.ts +7 -0
- package/dist/speed-dial-action.js +62 -0
- package/dist/speed-dial-action.mjs +17 -0
- package/dist/speed-dial.d.mts +7 -0
- package/dist/speed-dial.d.ts +7 -0
- package/dist/speed-dial.js +62 -0
- package/dist/speed-dial.mjs +17 -0
- package/dist/stack.d.mts +7 -0
- package/dist/stack.d.ts +7 -0
- package/dist/stack.js +62 -0
- package/dist/stack.mjs +17 -0
- package/dist/step-content.d.mts +7 -0
- package/dist/step-content.d.ts +7 -0
- package/dist/step-content.js +62 -0
- package/dist/step-content.mjs +17 -0
- package/dist/step-label.d.mts +7 -0
- package/dist/step-label.d.ts +7 -0
- package/dist/step-label.js +62 -0
- package/dist/step-label.mjs +17 -0
- package/dist/step.d.mts +7 -0
- package/dist/step.d.ts +7 -0
- package/dist/step.js +62 -0
- package/dist/step.mjs +17 -0
- package/dist/stepper.d.mts +7 -0
- package/dist/stepper.d.ts +7 -0
- package/dist/stepper.js +62 -0
- package/dist/stepper.mjs +17 -0
- package/dist/switch.d.mts +10 -0
- package/dist/switch.d.ts +10 -0
- package/dist/switch.js +62 -0
- package/dist/switch.mjs +18 -0
- package/dist/tab-context.d.mts +9 -0
- package/dist/tab-context.d.ts +9 -0
- package/dist/tab-context.js +59 -0
- package/dist/tab-context.mjs +14 -0
- package/dist/tab-list.d.mts +7 -0
- package/dist/tab-list.d.ts +7 -0
- package/dist/tab-list.js +62 -0
- package/dist/tab-list.mjs +17 -0
- package/dist/tab-panel.d.mts +7 -0
- package/dist/tab-panel.d.ts +7 -0
- package/dist/tab-panel.js +62 -0
- package/dist/tab-panel.mjs +17 -0
- package/dist/tab.d.mts +7 -0
- package/dist/tab.d.ts +7 -0
- package/dist/tab.js +62 -0
- package/dist/tab.mjs +17 -0
- package/dist/table-body.d.mts +7 -0
- package/dist/table-body.d.ts +7 -0
- package/dist/table-body.js +62 -0
- package/dist/table-body.mjs +17 -0
- package/dist/table-cell.d.mts +7 -0
- package/dist/table-cell.d.ts +7 -0
- package/dist/table-cell.js +62 -0
- package/dist/table-cell.mjs +17 -0
- package/dist/table-container.d.mts +7 -0
- package/dist/table-container.d.ts +7 -0
- package/dist/table-container.js +62 -0
- package/dist/table-container.mjs +17 -0
- package/dist/table-head.d.mts +7 -0
- package/dist/table-head.d.ts +7 -0
- package/dist/table-head.js +62 -0
- package/dist/table-head.mjs +17 -0
- package/dist/table-row.d.mts +7 -0
- package/dist/table-row.d.ts +7 -0
- package/dist/table-row.js +62 -0
- package/dist/table-row.mjs +17 -0
- package/dist/table.d.mts +7 -0
- package/dist/table.d.ts +7 -0
- package/dist/table.js +62 -0
- package/dist/table.mjs +17 -0
- package/dist/tabs.d.mts +7 -0
- package/dist/tabs.d.ts +7 -0
- package/dist/tabs.js +62 -0
- package/dist/tabs.mjs +17 -0
- package/dist/text-field.d.mts +8 -0
- package/dist/text-field.d.ts +8 -0
- package/dist/text-field.js +62 -0
- package/dist/text-field.mjs +17 -0
- package/dist/theme/index.d.mts +255 -0
- package/dist/theme/index.d.ts +255 -0
- package/dist/theme/index.js +811 -0
- package/dist/theme/index.mjs +62 -0
- package/dist/timeline-connector.d.mts +7 -0
- package/dist/timeline-connector.d.ts +7 -0
- package/dist/timeline-connector.js +62 -0
- package/dist/timeline-connector.mjs +17 -0
- package/dist/timeline-content.d.mts +7 -0
- package/dist/timeline-content.d.ts +7 -0
- package/dist/timeline-content.js +62 -0
- package/dist/timeline-content.mjs +17 -0
- package/dist/timeline-dot.d.mts +7 -0
- package/dist/timeline-dot.d.ts +7 -0
- package/dist/timeline-dot.js +62 -0
- package/dist/timeline-dot.mjs +17 -0
- package/dist/timeline-item.d.mts +7 -0
- package/dist/timeline-item.d.ts +7 -0
- package/dist/timeline-item.js +62 -0
- package/dist/timeline-item.mjs +17 -0
- package/dist/timeline-separator.d.mts +7 -0
- package/dist/timeline-separator.d.ts +7 -0
- package/dist/timeline-separator.js +62 -0
- package/dist/timeline-separator.mjs +17 -0
- package/dist/timeline.d.mts +7 -0
- package/dist/timeline.d.ts +7 -0
- package/dist/timeline.js +62 -0
- package/dist/timeline.mjs +17 -0
- package/dist/toggle-button-group.d.mts +14 -0
- package/dist/toggle-button-group.d.ts +14 -0
- package/dist/toggle-button-group.js +90 -0
- package/dist/toggle-button-group.mjs +32 -0
- package/dist/toggle-button.d.mts +8 -0
- package/dist/toggle-button.d.ts +8 -0
- package/dist/toggle-button.js +62 -0
- package/dist/toggle-button.mjs +8 -0
- package/dist/tooltip.d.mts +7 -0
- package/dist/tooltip.d.ts +7 -0
- package/dist/tooltip.js +62 -0
- package/dist/tooltip.mjs +17 -0
- package/dist/typography.d.mts +7 -0
- package/dist/typography.d.ts +7 -0
- package/dist/typography.js +62 -0
- package/dist/typography.mjs +17 -0
- package/package.json +439 -7
- package/src/accordion-details.tsx +14 -0
- package/src/accordion-summary.tsx +14 -0
- package/src/accordion.tsx +14 -0
- package/src/alert.tsx +12 -0
- package/src/app-bar.tsx +12 -0
- package/src/autocomplete.tsx +26 -0
- package/src/avatar.tsx +12 -0
- package/src/backdrop.tsx +14 -0
- package/src/badge.tsx +12 -0
- package/src/bottom-navigation-action.tsx +14 -0
- package/src/bottom-navigation.tsx +14 -0
- package/src/box.tsx +12 -0
- package/src/breadcrumbs.tsx +14 -0
- package/src/button-group.tsx +14 -0
- package/src/button.tsx +9 -4
- package/src/card-actions.tsx +14 -0
- package/src/card-content.tsx +14 -0
- package/src/card-header.tsx +14 -0
- package/src/card-media.tsx +14 -0
- package/src/card.tsx +12 -0
- package/src/charts/BackofficeSwitchableChart.tsx +325 -0
- package/src/charts/FrontendBarChart.tsx +134 -0
- package/src/charts/FrontendDoughnutChart.tsx +372 -0
- package/src/charts/FrontendIncomeExpenseHorizontalBarChart.tsx +138 -0
- package/src/charts/FrontendLiabilitiesChart.tsx +97 -0
- package/src/charts/FrontendLineChart.tsx +299 -0
- package/src/charts/FrontendLineChartMobile.tsx +383 -0
- package/src/charts/FrontendMixedChart.tsx +264 -0
- package/src/charts/FrontendPercentageBar.tsx +247 -0
- package/src/charts/FrontendScenarioLineChart.tsx +308 -0
- package/src/charts/FrontendStackedChart.tsx +184 -0
- package/src/charts/LoadingChartBackdrop.tsx +32 -0
- package/src/charts/chart-utils.ts +58 -0
- package/src/charts/index.ts +59 -0
- package/src/charts/mock-data.ts +153 -0
- package/src/checkbox.tsx +16 -0
- package/src/chip.tsx +12 -0
- package/src/container.tsx +14 -0
- package/src/dialog-actions.tsx +14 -0
- package/src/dialog-content.tsx +14 -0
- package/src/dialog-title.tsx +14 -0
- package/src/dialog.tsx +12 -0
- package/src/divider.tsx +12 -0
- package/src/drawer.tsx +12 -0
- package/src/fab.tsx +12 -0
- package/src/form-control.tsx +14 -0
- package/src/grid.tsx +12 -0
- package/src/icon-button.tsx +14 -0
- package/src/image-list-item.tsx +14 -0
- package/src/image-list.tsx +14 -0
- package/src/input-label.tsx +14 -0
- package/src/link.tsx +12 -0
- package/src/list-item-icon.tsx +14 -0
- package/src/list-item-text.tsx +14 -0
- package/src/list-item.tsx +14 -0
- package/src/list.tsx +12 -0
- package/src/masonry.tsx +14 -0
- package/src/menu-item.tsx +14 -0
- package/src/menu.tsx +12 -0
- package/src/mui-augmentation.ts +23 -0
- package/src/pagination.tsx +14 -0
- package/src/paper.tsx +12 -0
- package/src/progress.tsx +25 -0
- package/src/radio-group.tsx +14 -0
- package/src/radio.tsx +15 -0
- package/src/rating.tsx +12 -0
- package/src/select.tsx +12 -0
- package/src/selection-button-group.tsx +58 -0
- package/src/skeleton.tsx +14 -0
- package/src/slider.tsx +12 -0
- package/src/snackbar.tsx +14 -0
- package/src/speed-dial-action.tsx +14 -0
- package/src/speed-dial.tsx +14 -0
- package/src/stack.tsx +12 -0
- package/src/step-content.tsx +14 -0
- package/src/step-label.tsx +14 -0
- package/src/step.tsx +12 -0
- package/src/stepper.tsx +12 -0
- package/src/switch.tsx +15 -0
- package/src/tab-context.tsx +11 -0
- package/src/tab-list.tsx +14 -0
- package/src/tab-panel.tsx +14 -0
- package/src/tab.tsx +12 -0
- package/src/table-body.tsx +14 -0
- package/src/table-cell.tsx +14 -0
- package/src/table-container.tsx +14 -0
- package/src/table-head.tsx +14 -0
- package/src/table-row.tsx +14 -0
- package/src/table.tsx +12 -0
- package/src/tabs.tsx +12 -0
- package/src/text-field.tsx +14 -0
- package/src/theme/buildCssVariables.ts +6 -0
- package/src/theme/createDesignTheme.ts +118 -2
- package/src/theme/index.ts +1 -0
- package/src/theme/spacing.ts +23 -0
- package/src/timeline-connector.tsx +14 -0
- package/src/timeline-content.tsx +14 -0
- package/src/timeline-dot.tsx +14 -0
- package/src/timeline-item.tsx +14 -0
- package/src/timeline-separator.tsx +14 -0
- package/src/timeline.tsx +14 -0
- package/src/toggle-button-group.tsx +35 -0
- package/src/toggle-button.tsx +15 -0
- package/src/tooltip.tsx +14 -0
- package/src/typography.tsx +14 -0
- package/tsup.config.ts +89 -1
- package/README.md +0 -124
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { LineChartDataset } from "./FrontendLineChart";
|
|
2
|
+
import type { FrontendBarChartData } from "./FrontendBarChart";
|
|
3
|
+
import type { DoughnutChartDataItem } from "./FrontendDoughnutChart";
|
|
4
|
+
import type { MixedChartDataset } from "./FrontendMixedChart";
|
|
5
|
+
import type { PercentageBarPart } from "./FrontendPercentageBar";
|
|
6
|
+
import type { LiabilitiesPart } from "./FrontendLiabilitiesChart";
|
|
7
|
+
import type { ScenarioDataPoint } from "./FrontendScenarioLineChart";
|
|
8
|
+
import type { MobileLineChartDataset } from "./FrontendLineChartMobile";
|
|
9
|
+
|
|
10
|
+
const generateMonthlyPeriods = (months: number = 12): string[] => {
|
|
11
|
+
const periods: string[] = [];
|
|
12
|
+
const now = new Date();
|
|
13
|
+
for (let i = months - 1; i >= 0; i--) {
|
|
14
|
+
const d = new Date(now.getFullYear(), now.getMonth() - i, 1);
|
|
15
|
+
periods.push(d.toISOString().split("T")[0]!);
|
|
16
|
+
}
|
|
17
|
+
return periods;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const randInt = (min: number, max: number) =>
|
|
21
|
+
Math.floor(Math.random() * (max - min + 1)) + min;
|
|
22
|
+
|
|
23
|
+
const periods = generateMonthlyPeriods(12);
|
|
24
|
+
|
|
25
|
+
// ── Frontend Mocks ──
|
|
26
|
+
|
|
27
|
+
export const mockLineChartData: LineChartDataset[] = [
|
|
28
|
+
{
|
|
29
|
+
label: "Portfolio Value",
|
|
30
|
+
data: periods.map((p) => ({ x: p, y: randInt(100000, 500000) })),
|
|
31
|
+
customOptions: {
|
|
32
|
+
borderColor: "#2B72FB",
|
|
33
|
+
backgroundColor: "#2B72FB1A",
|
|
34
|
+
fill: true,
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
|
|
39
|
+
export const mockMobileLineChartData: MobileLineChartDataset[] = [
|
|
40
|
+
{
|
|
41
|
+
label: "Portfolio Value",
|
|
42
|
+
data: periods.map((p) => ({ x: p, y: randInt(100000, 500000) })),
|
|
43
|
+
color: "#162029",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: "Benchmark",
|
|
47
|
+
data: periods.map((p) => ({ x: p, y: randInt(80000, 450000) })),
|
|
48
|
+
color: "#A1B9BD",
|
|
49
|
+
lineSpacing: [5, 5],
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
|
|
53
|
+
export const mockBarChartData: FrontendBarChartData = {
|
|
54
|
+
labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
|
55
|
+
datasets: [
|
|
56
|
+
{
|
|
57
|
+
label: "Income",
|
|
58
|
+
data: Array.from({ length: 12 }, () => randInt(3000, 8000)),
|
|
59
|
+
backgroundColor: "#39FD99",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
label: "Expenses",
|
|
63
|
+
data: Array.from({ length: 12 }, () => -randInt(2000, 6000)),
|
|
64
|
+
backgroundColor: "#F44336",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export const mockDoughnutData: DoughnutChartDataItem = {
|
|
70
|
+
data: [35000, 22000, 18000, 12000, 8000, 5000],
|
|
71
|
+
title: [
|
|
72
|
+
"Property",
|
|
73
|
+
"Shares",
|
|
74
|
+
"Superannuation",
|
|
75
|
+
"Cash",
|
|
76
|
+
"Crypto",
|
|
77
|
+
"Other",
|
|
78
|
+
],
|
|
79
|
+
colors: ["#2B72FB", "#64BDC6", "#EECA34", "#FE6A35", "#7B47E9", "#3FDC7E"],
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export const mockMixedChartDatasets: MixedChartDataset[] = [
|
|
83
|
+
{
|
|
84
|
+
type: "line",
|
|
85
|
+
label: "Estimate Value",
|
|
86
|
+
data: periods.map((p) => ({ x: p, y: randInt(400000, 600000) })),
|
|
87
|
+
borderColor: "#131C24",
|
|
88
|
+
backgroundColor: "#131C24",
|
|
89
|
+
borderWidth: 3,
|
|
90
|
+
fill: false,
|
|
91
|
+
tension: 0.4,
|
|
92
|
+
pointRadius: 0,
|
|
93
|
+
pointStyle: "rect",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: "line",
|
|
97
|
+
label: "Suburb Average",
|
|
98
|
+
data: periods.map((p) => ({ x: p, y: randInt(450000, 550000) })),
|
|
99
|
+
borderColor: "#e8e8eb",
|
|
100
|
+
backgroundColor: "#e8e8eb",
|
|
101
|
+
borderWidth: 1,
|
|
102
|
+
fill: false,
|
|
103
|
+
tension: 0.4,
|
|
104
|
+
pointRadius: 0,
|
|
105
|
+
pointStyle: "rect",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
type: "bar",
|
|
109
|
+
label: "Debt",
|
|
110
|
+
data: periods.map((p) => ({ x: p, y: randInt(200000, 350000) })),
|
|
111
|
+
backgroundColor: "#E9EDF2",
|
|
112
|
+
borderColor: "#E9EDF2",
|
|
113
|
+
fill: false,
|
|
114
|
+
tension: 0.4,
|
|
115
|
+
pointRadius: 0,
|
|
116
|
+
pointStyle: "rect",
|
|
117
|
+
},
|
|
118
|
+
];
|
|
119
|
+
|
|
120
|
+
export const mockPercentageBarParts: PercentageBarPart[] = [
|
|
121
|
+
{ title: "Groceries", percentage: 0.25 },
|
|
122
|
+
{ title: "Transport", percentage: 0.18 },
|
|
123
|
+
{ title: "Entertainment", percentage: 0.15 },
|
|
124
|
+
{ title: "Utilities", percentage: 0.12 },
|
|
125
|
+
{ title: "Dining", percentage: 0.1 },
|
|
126
|
+
{ title: "Shopping", percentage: 0.08 },
|
|
127
|
+
{ title: "Healthcare", percentage: 0.07 },
|
|
128
|
+
{ title: "Education", percentage: 0.05 },
|
|
129
|
+
];
|
|
130
|
+
|
|
131
|
+
export const mockPercentageBarColors = [
|
|
132
|
+
"#2B72FB", "#64BDC6", "#EECA34", "#FE6A35",
|
|
133
|
+
"#FA4B42", "#EE60E0", "#7B47E9", "#3FDC7E",
|
|
134
|
+
];
|
|
135
|
+
|
|
136
|
+
export const mockLiabilitiesParts: LiabilitiesPart[] = [
|
|
137
|
+
{ id: "1", title: "Home Loan", percentage: 0.55 },
|
|
138
|
+
{ id: "2", title: "Car Loan", percentage: 0.25 },
|
|
139
|
+
{ id: "3", title: "Credit Card", percentage: 0.12 },
|
|
140
|
+
{ id: "4", title: "Personal Loan", percentage: 0.08 },
|
|
141
|
+
];
|
|
142
|
+
|
|
143
|
+
export const mockScenarioData: ScenarioDataPoint[] = periods.map((p) => ({
|
|
144
|
+
x: p,
|
|
145
|
+
y: randInt(500000, 800000),
|
|
146
|
+
}));
|
|
147
|
+
|
|
148
|
+
export const mockScenarioSecondaryData: ScenarioDataPoint[] = periods.map(
|
|
149
|
+
(p) => ({
|
|
150
|
+
x: p,
|
|
151
|
+
y: randInt(600000, 900000),
|
|
152
|
+
})
|
|
153
|
+
);
|
package/src/checkbox.tsx
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiCheckbox, {
|
|
3
|
+
type CheckboxProps as MuiCheckboxProps,
|
|
4
|
+
} from "@mui/material/Checkbox";
|
|
5
|
+
|
|
6
|
+
export type CheckboxProps = Omit<MuiCheckboxProps, "size"> & {
|
|
7
|
+
size?: "small" | "medium" | "large";
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const Checkbox = React.forwardRef<HTMLButtonElement, CheckboxProps>(
|
|
11
|
+
(props, ref) => {
|
|
12
|
+
return <MuiCheckbox ref={ref} {...props} />;
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
Checkbox.displayName = "Checkbox";
|
package/src/chip.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiChip, { type ChipProps as MuiChipProps } from "@mui/material/Chip";
|
|
3
|
+
|
|
4
|
+
export type ChipProps = MuiChipProps;
|
|
5
|
+
|
|
6
|
+
export const Chip = React.forwardRef<HTMLDivElement, ChipProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiChip ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Chip.displayName = "Chip";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiContainer, {
|
|
3
|
+
type ContainerProps as MuiContainerProps,
|
|
4
|
+
} from "@mui/material/Container";
|
|
5
|
+
|
|
6
|
+
export type ContainerProps = MuiContainerProps;
|
|
7
|
+
|
|
8
|
+
export const Container = React.forwardRef<HTMLDivElement, ContainerProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiContainer ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
Container.displayName = "Container";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiDialogActions, {
|
|
3
|
+
type DialogActionsProps as MuiDialogActionsProps,
|
|
4
|
+
} from "@mui/material/DialogActions";
|
|
5
|
+
|
|
6
|
+
export type DialogActionsProps = MuiDialogActionsProps;
|
|
7
|
+
|
|
8
|
+
export const DialogActions = React.forwardRef<HTMLDivElement, DialogActionsProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiDialogActions ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
DialogActions.displayName = "DialogActions";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiDialogContent, {
|
|
3
|
+
type DialogContentProps as MuiDialogContentProps,
|
|
4
|
+
} from "@mui/material/DialogContent";
|
|
5
|
+
|
|
6
|
+
export type DialogContentProps = MuiDialogContentProps;
|
|
7
|
+
|
|
8
|
+
export const DialogContent = React.forwardRef<HTMLDivElement, DialogContentProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiDialogContent ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
DialogContent.displayName = "DialogContent";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiDialogTitle, {
|
|
3
|
+
type DialogTitleProps as MuiDialogTitleProps,
|
|
4
|
+
} from "@mui/material/DialogTitle";
|
|
5
|
+
|
|
6
|
+
export type DialogTitleProps = MuiDialogTitleProps;
|
|
7
|
+
|
|
8
|
+
export const DialogTitle = React.forwardRef<HTMLDivElement, DialogTitleProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiDialogTitle ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
DialogTitle.displayName = "DialogTitle";
|
package/src/dialog.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiDialog, { type DialogProps as MuiDialogProps } from "@mui/material/Dialog";
|
|
3
|
+
|
|
4
|
+
export type DialogProps = MuiDialogProps;
|
|
5
|
+
|
|
6
|
+
export const Dialog = React.forwardRef<HTMLDivElement, DialogProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiDialog ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Dialog.displayName = "Dialog";
|
package/src/divider.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiDivider, { type DividerProps as MuiDividerProps } from "@mui/material/Divider";
|
|
3
|
+
|
|
4
|
+
export type DividerProps = MuiDividerProps;
|
|
5
|
+
|
|
6
|
+
export const Divider = React.forwardRef<HTMLHRElement, DividerProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiDivider ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Divider.displayName = "Divider";
|
package/src/drawer.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiDrawer, { type DrawerProps as MuiDrawerProps } from "@mui/material/Drawer";
|
|
3
|
+
|
|
4
|
+
export type DrawerProps = MuiDrawerProps;
|
|
5
|
+
|
|
6
|
+
export const Drawer = React.forwardRef<HTMLDivElement, DrawerProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiDrawer ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Drawer.displayName = "Drawer";
|
package/src/fab.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiFab, { type FabProps as MuiFabProps } from "@mui/material/Fab";
|
|
3
|
+
|
|
4
|
+
export type FabProps = MuiFabProps;
|
|
5
|
+
|
|
6
|
+
export const Fab = React.forwardRef<HTMLButtonElement, FabProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiFab ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Fab.displayName = "Fab";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiFormControl, {
|
|
3
|
+
type FormControlProps as MuiFormControlProps,
|
|
4
|
+
} from "@mui/material/FormControl";
|
|
5
|
+
|
|
6
|
+
export type FormControlProps = MuiFormControlProps;
|
|
7
|
+
|
|
8
|
+
export const FormControl = React.forwardRef<HTMLDivElement, FormControlProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiFormControl ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
FormControl.displayName = "FormControl";
|
package/src/grid.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiGrid, { type GridProps as MuiGridProps } from "@mui/material/Grid";
|
|
3
|
+
|
|
4
|
+
export type GridProps = MuiGridProps;
|
|
5
|
+
|
|
6
|
+
export const Grid = React.forwardRef<HTMLDivElement, GridProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiGrid ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Grid.displayName = "Grid";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiIconButton, {
|
|
3
|
+
type IconButtonProps as MuiIconButtonProps,
|
|
4
|
+
} from "@mui/material/IconButton";
|
|
5
|
+
|
|
6
|
+
export type IconButtonProps = MuiIconButtonProps;
|
|
7
|
+
|
|
8
|
+
export const IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiIconButton ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
IconButton.displayName = "IconButton";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiImageListItem, {
|
|
3
|
+
type ImageListItemProps as MuiImageListItemProps,
|
|
4
|
+
} from "@mui/material/ImageListItem";
|
|
5
|
+
|
|
6
|
+
export type ImageListItemProps = MuiImageListItemProps;
|
|
7
|
+
|
|
8
|
+
export const ImageListItem = React.forwardRef<HTMLLIElement, ImageListItemProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiImageListItem ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
ImageListItem.displayName = "ImageListItem";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiImageList, {
|
|
3
|
+
type ImageListProps as MuiImageListProps,
|
|
4
|
+
} from "@mui/material/ImageList";
|
|
5
|
+
|
|
6
|
+
export type ImageListProps = MuiImageListProps;
|
|
7
|
+
|
|
8
|
+
export const ImageList = React.forwardRef<HTMLUListElement, ImageListProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiImageList ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
ImageList.displayName = "ImageList";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiInputLabel, {
|
|
3
|
+
type InputLabelProps as MuiInputLabelProps,
|
|
4
|
+
} from "@mui/material/InputLabel";
|
|
5
|
+
|
|
6
|
+
export type InputLabelProps = MuiInputLabelProps;
|
|
7
|
+
|
|
8
|
+
export const InputLabel = React.forwardRef<HTMLLabelElement, InputLabelProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiInputLabel ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
InputLabel.displayName = "InputLabel";
|
package/src/link.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiLink, { type LinkProps as MuiLinkProps } from "@mui/material/Link";
|
|
3
|
+
|
|
4
|
+
export type LinkProps = MuiLinkProps;
|
|
5
|
+
|
|
6
|
+
export const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiLink ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Link.displayName = "Link";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiListItemIcon, {
|
|
3
|
+
type ListItemIconProps as MuiListItemIconProps,
|
|
4
|
+
} from "@mui/material/ListItemIcon";
|
|
5
|
+
|
|
6
|
+
export type ListItemIconProps = MuiListItemIconProps;
|
|
7
|
+
|
|
8
|
+
export const ListItemIcon = React.forwardRef<HTMLDivElement, ListItemIconProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiListItemIcon ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
ListItemIcon.displayName = "ListItemIcon";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiListItemText, {
|
|
3
|
+
type ListItemTextProps as MuiListItemTextProps,
|
|
4
|
+
} from "@mui/material/ListItemText";
|
|
5
|
+
|
|
6
|
+
export type ListItemTextProps = MuiListItemTextProps;
|
|
7
|
+
|
|
8
|
+
export const ListItemText = React.forwardRef<HTMLDivElement, ListItemTextProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiListItemText ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
ListItemText.displayName = "ListItemText";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiListItem, {
|
|
3
|
+
type ListItemProps as MuiListItemProps,
|
|
4
|
+
} from "@mui/material/ListItem";
|
|
5
|
+
|
|
6
|
+
export type ListItemProps = MuiListItemProps;
|
|
7
|
+
|
|
8
|
+
export const ListItem = React.forwardRef<HTMLLIElement, ListItemProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiListItem ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
ListItem.displayName = "ListItem";
|
package/src/list.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiList, { type ListProps as MuiListProps } from "@mui/material/List";
|
|
3
|
+
|
|
4
|
+
export type ListProps = MuiListProps;
|
|
5
|
+
|
|
6
|
+
export const List = React.forwardRef<HTMLUListElement, ListProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiList ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
List.displayName = "List";
|
package/src/masonry.tsx
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiMasonry, {
|
|
3
|
+
type MasonryProps as MuiMasonryProps,
|
|
4
|
+
} from "@mui/lab/Masonry";
|
|
5
|
+
|
|
6
|
+
export type MasonryProps = MuiMasonryProps;
|
|
7
|
+
|
|
8
|
+
export const Masonry = React.forwardRef<HTMLDivElement, MasonryProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiMasonry ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
Masonry.displayName = "Masonry";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiMenuItem, {
|
|
3
|
+
type MenuItemProps as MuiMenuItemProps,
|
|
4
|
+
} from "@mui/material/MenuItem";
|
|
5
|
+
|
|
6
|
+
export type MenuItemProps = MuiMenuItemProps;
|
|
7
|
+
|
|
8
|
+
export const MenuItem = React.forwardRef<HTMLLIElement, MenuItemProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiMenuItem ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
MenuItem.displayName = "MenuItem";
|
package/src/menu.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiMenu, { type MenuProps as MuiMenuProps } from "@mui/material/Menu";
|
|
3
|
+
|
|
4
|
+
export type MenuProps = MuiMenuProps;
|
|
5
|
+
|
|
6
|
+
export const Menu = React.forwardRef<HTMLDivElement, MenuProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiMenu ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Menu.displayName = "Menu";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MUI module augmentations for this package.
|
|
3
|
+
* Imported by toggle-button (for ToggleButton) and by createDesignTheme (for theme/Radio/Switch).
|
|
4
|
+
*/
|
|
5
|
+
declare module "@mui/material/Radio" {
|
|
6
|
+
interface RadioPropsSizeOverrides {
|
|
7
|
+
large: true;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module "@mui/material/Switch" {
|
|
12
|
+
interface SwitchPropsSizeOverrides {
|
|
13
|
+
large: true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare module "@mui/material/ToggleButton" {
|
|
18
|
+
interface ToggleButtonOwnProps {
|
|
19
|
+
outlined?: boolean;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiPagination, {
|
|
3
|
+
type PaginationProps as MuiPaginationProps,
|
|
4
|
+
} from "@mui/material/Pagination";
|
|
5
|
+
|
|
6
|
+
export type PaginationProps = MuiPaginationProps;
|
|
7
|
+
|
|
8
|
+
export const Pagination = React.forwardRef<HTMLElement, PaginationProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiPagination ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
Pagination.displayName = "Pagination";
|
package/src/paper.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiPaper, { type PaperProps as MuiPaperProps } from "@mui/material/Paper";
|
|
3
|
+
|
|
4
|
+
export type PaperProps = MuiPaperProps;
|
|
5
|
+
|
|
6
|
+
export const Paper = React.forwardRef<HTMLDivElement, PaperProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiPaper ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Paper.displayName = "Paper";
|
package/src/progress.tsx
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiLinearProgress, {
|
|
3
|
+
type LinearProgressProps as MuiLinearProgressProps,
|
|
4
|
+
} from "@mui/material/LinearProgress";
|
|
5
|
+
import MuiCircularProgress, {
|
|
6
|
+
type CircularProgressProps as MuiCircularProgressProps,
|
|
7
|
+
} from "@mui/material/CircularProgress";
|
|
8
|
+
|
|
9
|
+
export type LinearProgressProps = MuiLinearProgressProps;
|
|
10
|
+
export type CircularProgressProps = MuiCircularProgressProps;
|
|
11
|
+
|
|
12
|
+
export const LinearProgress = React.forwardRef<HTMLSpanElement, LinearProgressProps>(
|
|
13
|
+
(props, ref) => {
|
|
14
|
+
return <MuiLinearProgress ref={ref} {...props} />;
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
export const CircularProgress = React.forwardRef<HTMLSpanElement, CircularProgressProps>(
|
|
19
|
+
(props, ref) => {
|
|
20
|
+
return <MuiCircularProgress ref={ref} {...props} />;
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
LinearProgress.displayName = "LinearProgress";
|
|
25
|
+
CircularProgress.displayName = "CircularProgress";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiRadioGroup, {
|
|
3
|
+
type RadioGroupProps as MuiRadioGroupProps,
|
|
4
|
+
} from "@mui/material/RadioGroup";
|
|
5
|
+
|
|
6
|
+
export type RadioGroupProps = MuiRadioGroupProps;
|
|
7
|
+
|
|
8
|
+
export const RadioGroup = React.forwardRef<HTMLDivElement, RadioGroupProps>(
|
|
9
|
+
(props, ref) => {
|
|
10
|
+
return <MuiRadioGroup ref={ref} {...props} />;
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
RadioGroup.displayName = "RadioGroup";
|
package/src/radio.tsx
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "./mui-augmentation";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import MuiRadio, { type RadioProps as MuiRadioProps } from "@mui/material/Radio";
|
|
4
|
+
|
|
5
|
+
export type RadioProps = Omit<MuiRadioProps, "size"> & {
|
|
6
|
+
size?: "small" | "medium" | "large";
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const Radio = React.forwardRef<HTMLButtonElement, RadioProps>(
|
|
10
|
+
(props, ref) => {
|
|
11
|
+
return <MuiRadio ref={ref} {...(props as MuiRadioProps)} />;
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
Radio.displayName = "Radio";
|
package/src/rating.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiRating, { type RatingProps as MuiRatingProps } from "@mui/material/Rating";
|
|
3
|
+
|
|
4
|
+
export type RatingProps = MuiRatingProps;
|
|
5
|
+
|
|
6
|
+
export const Rating = React.forwardRef<HTMLSpanElement, RatingProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiRating ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
Rating.displayName = "Rating";
|
package/src/select.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import MuiSelect, { type SelectProps as MuiSelectProps } from "@mui/material/Select";
|
|
3
|
+
|
|
4
|
+
export type SelectProps<T = unknown> = MuiSelectProps<T>;
|
|
5
|
+
|
|
6
|
+
export const Select = React.forwardRef<HTMLDivElement, SelectProps>(
|
|
7
|
+
(props, ref) => {
|
|
8
|
+
return <MuiSelect ref={ref} {...props} />;
|
|
9
|
+
}
|
|
10
|
+
) as <T = unknown>(props: SelectProps<T> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
11
|
+
|
|
12
|
+
(Select as React.FC).displayName = "Select";
|