@wealthx/ui 1.0.0 → 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 +359 -14
- package/CHANGELOG.md +3 -7
- 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 +2 -4
- package/dist/button.d.ts +2 -4
- package/dist/button.js +6 -3
- package/dist/button.mjs +7 -4
- 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-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-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 +14 -5
- package/dist/theme/index.d.ts +14 -5
- package/dist/theme/index.js +128 -4
- package/dist/theme/index.mjs +33 -586
- 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
package/dist/table.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __export = (target, all) => {
|
|
23
|
+
for (var name in all)
|
|
24
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
25
|
+
};
|
|
26
|
+
var __copyProps = (to, from, except, desc) => {
|
|
27
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
28
|
+
for (let key of __getOwnPropNames(from))
|
|
29
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
30
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
31
|
+
}
|
|
32
|
+
return to;
|
|
33
|
+
};
|
|
34
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
35
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
36
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
37
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
38
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
39
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
40
|
+
mod
|
|
41
|
+
));
|
|
42
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
43
|
+
|
|
44
|
+
// src/table.tsx
|
|
45
|
+
var table_exports = {};
|
|
46
|
+
__export(table_exports, {
|
|
47
|
+
Table: () => Table
|
|
48
|
+
});
|
|
49
|
+
module.exports = __toCommonJS(table_exports);
|
|
50
|
+
var import_react = __toESM(require("react"));
|
|
51
|
+
var import_Table = __toESM(require("@mui/material/Table"));
|
|
52
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
53
|
+
var Table = import_react.default.forwardRef(
|
|
54
|
+
(props, ref) => {
|
|
55
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Table.default, __spreadValues({ ref }, props));
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
Table.displayName = "Table";
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
Table
|
|
62
|
+
});
|
package/dist/table.mjs
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__spreadValues
|
|
3
|
+
} from "./chunk-FWCSY2DS.mjs";
|
|
4
|
+
|
|
5
|
+
// src/table.tsx
|
|
6
|
+
import React from "react";
|
|
7
|
+
import MuiTable from "@mui/material/Table";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var Table = React.forwardRef(
|
|
10
|
+
(props, ref) => {
|
|
11
|
+
return /* @__PURE__ */ jsx(MuiTable, __spreadValues({ ref }, props));
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
Table.displayName = "Table";
|
|
15
|
+
export {
|
|
16
|
+
Table
|
|
17
|
+
};
|
package/dist/tabs.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TabsProps as TabsProps$1 } from '@mui/material/Tabs';
|
|
3
|
+
|
|
4
|
+
type TabsProps = TabsProps$1;
|
|
5
|
+
declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
|
|
7
|
+
export { Tabs, type TabsProps };
|
package/dist/tabs.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TabsProps as TabsProps$1 } from '@mui/material/Tabs';
|
|
3
|
+
|
|
4
|
+
type TabsProps = TabsProps$1;
|
|
5
|
+
declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
|
|
7
|
+
export { Tabs, type TabsProps };
|
package/dist/tabs.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __export = (target, all) => {
|
|
23
|
+
for (var name in all)
|
|
24
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
25
|
+
};
|
|
26
|
+
var __copyProps = (to, from, except, desc) => {
|
|
27
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
28
|
+
for (let key of __getOwnPropNames(from))
|
|
29
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
30
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
31
|
+
}
|
|
32
|
+
return to;
|
|
33
|
+
};
|
|
34
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
35
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
36
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
37
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
38
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
39
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
40
|
+
mod
|
|
41
|
+
));
|
|
42
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
43
|
+
|
|
44
|
+
// src/tabs.tsx
|
|
45
|
+
var tabs_exports = {};
|
|
46
|
+
__export(tabs_exports, {
|
|
47
|
+
Tabs: () => Tabs
|
|
48
|
+
});
|
|
49
|
+
module.exports = __toCommonJS(tabs_exports);
|
|
50
|
+
var import_react = __toESM(require("react"));
|
|
51
|
+
var import_Tabs = __toESM(require("@mui/material/Tabs"));
|
|
52
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
53
|
+
var Tabs = import_react.default.forwardRef(
|
|
54
|
+
(props, ref) => {
|
|
55
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Tabs.default, __spreadValues({ ref }, props));
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
Tabs.displayName = "Tabs";
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
Tabs
|
|
62
|
+
});
|
package/dist/tabs.mjs
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__spreadValues
|
|
3
|
+
} from "./chunk-FWCSY2DS.mjs";
|
|
4
|
+
|
|
5
|
+
// src/tabs.tsx
|
|
6
|
+
import React from "react";
|
|
7
|
+
import MuiTabs from "@mui/material/Tabs";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var Tabs = React.forwardRef(
|
|
10
|
+
(props, ref) => {
|
|
11
|
+
return /* @__PURE__ */ jsx(MuiTabs, __spreadValues({ ref }, props));
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
Tabs.displayName = "Tabs";
|
|
15
|
+
export {
|
|
16
|
+
Tabs
|
|
17
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as _mui_material_TextField from '@mui/material/TextField';
|
|
2
|
+
import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
type TextFieldProps = TextFieldProps$1;
|
|
6
|
+
declare const TextField: React.ForwardRefExoticComponent<(Omit<_mui_material_TextField.OutlinedTextFieldProps, "ref"> | Omit<_mui_material_TextField.StandardTextFieldProps, "ref"> | Omit<_mui_material_TextField.FilledTextFieldProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
export { TextField, type TextFieldProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as _mui_material_TextField from '@mui/material/TextField';
|
|
2
|
+
import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
type TextFieldProps = TextFieldProps$1;
|
|
6
|
+
declare const TextField: React.ForwardRefExoticComponent<(Omit<_mui_material_TextField.OutlinedTextFieldProps, "ref"> | Omit<_mui_material_TextField.StandardTextFieldProps, "ref"> | Omit<_mui_material_TextField.FilledTextFieldProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
export { TextField, type TextFieldProps };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
+
var __spreadValues = (a, b) => {
|
|
12
|
+
for (var prop in b || (b = {}))
|
|
13
|
+
if (__hasOwnProp.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
if (__getOwnPropSymbols)
|
|
16
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
+
if (__propIsEnum.call(b, prop))
|
|
18
|
+
__defNormalProp(a, prop, b[prop]);
|
|
19
|
+
}
|
|
20
|
+
return a;
|
|
21
|
+
};
|
|
22
|
+
var __export = (target, all) => {
|
|
23
|
+
for (var name in all)
|
|
24
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
25
|
+
};
|
|
26
|
+
var __copyProps = (to, from, except, desc) => {
|
|
27
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
28
|
+
for (let key of __getOwnPropNames(from))
|
|
29
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
30
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
31
|
+
}
|
|
32
|
+
return to;
|
|
33
|
+
};
|
|
34
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
35
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
36
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
37
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
38
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
39
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
40
|
+
mod
|
|
41
|
+
));
|
|
42
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
43
|
+
|
|
44
|
+
// src/text-field.tsx
|
|
45
|
+
var text_field_exports = {};
|
|
46
|
+
__export(text_field_exports, {
|
|
47
|
+
TextField: () => TextField
|
|
48
|
+
});
|
|
49
|
+
module.exports = __toCommonJS(text_field_exports);
|
|
50
|
+
var import_react = __toESM(require("react"));
|
|
51
|
+
var import_TextField = __toESM(require("@mui/material/TextField"));
|
|
52
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
53
|
+
var TextField = import_react.default.forwardRef(
|
|
54
|
+
(props, ref) => {
|
|
55
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_TextField.default, __spreadValues({ ref }, props));
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
TextField.displayName = "TextField";
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
TextField
|
|
62
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__spreadValues
|
|
3
|
+
} from "./chunk-FWCSY2DS.mjs";
|
|
4
|
+
|
|
5
|
+
// src/text-field.tsx
|
|
6
|
+
import React from "react";
|
|
7
|
+
import MuiTextField from "@mui/material/TextField";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
var TextField = React.forwardRef(
|
|
10
|
+
(props, ref) => {
|
|
11
|
+
return /* @__PURE__ */ jsx(MuiTextField, __spreadValues({ ref }, props));
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
TextField.displayName = "TextField";
|
|
15
|
+
export {
|
|
16
|
+
TextField
|
|
17
|
+
};
|
package/dist/theme/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as _mui_material_styles from '@mui/material/styles';
|
|
3
|
+
import '../mui-augmentation-DKlyQ0kQ.mjs';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Build CSS variable set for :root from tenant primary/secondary.
|
|
@@ -35,10 +36,6 @@ declare namespace ThemeProvider {
|
|
|
35
36
|
var displayName: string;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
|
-
/**
|
|
39
|
-
* Create MUI theme with design system palette.
|
|
40
|
-
* Primary and secondary are tenant-based (dynamic).
|
|
41
|
-
*/
|
|
42
39
|
interface DesignThemeConfig {
|
|
43
40
|
primary: string;
|
|
44
41
|
secondary: string;
|
|
@@ -150,6 +147,18 @@ declare const CHART_COLORS: {
|
|
|
150
147
|
};
|
|
151
148
|
};
|
|
152
149
|
|
|
150
|
+
/**
|
|
151
|
+
* Design system – Spacing scale (4px base).
|
|
152
|
+
* Matches tokens.css reference: --space-1 … --space-12.
|
|
153
|
+
*/
|
|
154
|
+
/** Base unit in pixels. All spacing tokens are multiples of this. */
|
|
155
|
+
declare const SPACING_BASE_PX = 4;
|
|
156
|
+
/**
|
|
157
|
+
* Spacing scale: token name → CSS value (e.g. "1" → "4px").
|
|
158
|
+
* Keys match tokens.css: 1, 2, 3, 4, 5, 6, 8, 10, 12.
|
|
159
|
+
*/
|
|
160
|
+
declare const SPACING_SCALE: Record<string, string>;
|
|
161
|
+
|
|
153
162
|
/**
|
|
154
163
|
* Design system – Typography (rem-based).
|
|
155
164
|
* Font: Proxima Nova. Base: 16px (1rem).
|
|
@@ -243,4 +252,4 @@ declare const VIEWPORT_MAX_WIDTH: Record<ViewportMode, number | undefined>;
|
|
|
243
252
|
/** Responsive typography overrides for tablet/mobile. Desktop returns {}. */
|
|
244
253
|
declare function getResponsiveFontOverrides(mode: ViewportMode): Record<string, string>;
|
|
245
254
|
|
|
246
|
-
export { ACCENTS, CHART_COLORS, type DesignThemeConfig, type DesignThemeOptions, FONT_FAMILY_SANS, FOUNDATION_COLORS, GRAY_SCALE, OPACITY_UTILITY, TYPOGRAPHY, TYPOGRAPHY_BODY, TYPOGRAPHY_DISPLAY, TYPOGRAPHY_EXTRA_CSS, TYPOGRAPHY_HEADING, TYPOGRAPHY_LABEL, TYPOGRAPHY_UTILITY, ThemeProvider, type ThemeProviderProps, type TypographyStyle, VIEWPORT_LABELS, VIEWPORT_MAX_WIDTH, type ViewportMode, buildCssVariables, buildOpacityScale, createDesignTheme, getContrastText, getLuminance, getResponsiveFontOverrides, getTypographyCssVars, hexToRgb, rgbToCssRgbString, rgba };
|
|
255
|
+
export { ACCENTS, CHART_COLORS, type DesignThemeConfig, type DesignThemeOptions, FONT_FAMILY_SANS, FOUNDATION_COLORS, GRAY_SCALE, OPACITY_UTILITY, SPACING_BASE_PX, SPACING_SCALE, TYPOGRAPHY, TYPOGRAPHY_BODY, TYPOGRAPHY_DISPLAY, TYPOGRAPHY_EXTRA_CSS, TYPOGRAPHY_HEADING, TYPOGRAPHY_LABEL, TYPOGRAPHY_UTILITY, ThemeProvider, type ThemeProviderProps, type TypographyStyle, VIEWPORT_LABELS, VIEWPORT_MAX_WIDTH, type ViewportMode, buildCssVariables, buildOpacityScale, createDesignTheme, getContrastText, getLuminance, getResponsiveFontOverrides, getTypographyCssVars, hexToRgb, rgbToCssRgbString, rgba };
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as _mui_material_styles from '@mui/material/styles';
|
|
3
|
+
import '../mui-augmentation-DKlyQ0kQ.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Build CSS variable set for :root from tenant primary/secondary.
|
|
@@ -35,10 +36,6 @@ declare namespace ThemeProvider {
|
|
|
35
36
|
var displayName: string;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
|
-
/**
|
|
39
|
-
* Create MUI theme with design system palette.
|
|
40
|
-
* Primary and secondary are tenant-based (dynamic).
|
|
41
|
-
*/
|
|
42
39
|
interface DesignThemeConfig {
|
|
43
40
|
primary: string;
|
|
44
41
|
secondary: string;
|
|
@@ -150,6 +147,18 @@ declare const CHART_COLORS: {
|
|
|
150
147
|
};
|
|
151
148
|
};
|
|
152
149
|
|
|
150
|
+
/**
|
|
151
|
+
* Design system – Spacing scale (4px base).
|
|
152
|
+
* Matches tokens.css reference: --space-1 … --space-12.
|
|
153
|
+
*/
|
|
154
|
+
/** Base unit in pixels. All spacing tokens are multiples of this. */
|
|
155
|
+
declare const SPACING_BASE_PX = 4;
|
|
156
|
+
/**
|
|
157
|
+
* Spacing scale: token name → CSS value (e.g. "1" → "4px").
|
|
158
|
+
* Keys match tokens.css: 1, 2, 3, 4, 5, 6, 8, 10, 12.
|
|
159
|
+
*/
|
|
160
|
+
declare const SPACING_SCALE: Record<string, string>;
|
|
161
|
+
|
|
153
162
|
/**
|
|
154
163
|
* Design system – Typography (rem-based).
|
|
155
164
|
* Font: Proxima Nova. Base: 16px (1rem).
|
|
@@ -243,4 +252,4 @@ declare const VIEWPORT_MAX_WIDTH: Record<ViewportMode, number | undefined>;
|
|
|
243
252
|
/** Responsive typography overrides for tablet/mobile. Desktop returns {}. */
|
|
244
253
|
declare function getResponsiveFontOverrides(mode: ViewportMode): Record<string, string>;
|
|
245
254
|
|
|
246
|
-
export { ACCENTS, CHART_COLORS, type DesignThemeConfig, type DesignThemeOptions, FONT_FAMILY_SANS, FOUNDATION_COLORS, GRAY_SCALE, OPACITY_UTILITY, TYPOGRAPHY, TYPOGRAPHY_BODY, TYPOGRAPHY_DISPLAY, TYPOGRAPHY_EXTRA_CSS, TYPOGRAPHY_HEADING, TYPOGRAPHY_LABEL, TYPOGRAPHY_UTILITY, ThemeProvider, type ThemeProviderProps, type TypographyStyle, VIEWPORT_LABELS, VIEWPORT_MAX_WIDTH, type ViewportMode, buildCssVariables, buildOpacityScale, createDesignTheme, getContrastText, getLuminance, getResponsiveFontOverrides, getTypographyCssVars, hexToRgb, rgbToCssRgbString, rgba };
|
|
255
|
+
export { ACCENTS, CHART_COLORS, type DesignThemeConfig, type DesignThemeOptions, FONT_FAMILY_SANS, FOUNDATION_COLORS, GRAY_SCALE, OPACITY_UTILITY, SPACING_BASE_PX, SPACING_SCALE, TYPOGRAPHY, TYPOGRAPHY_BODY, TYPOGRAPHY_DISPLAY, TYPOGRAPHY_EXTRA_CSS, TYPOGRAPHY_HEADING, TYPOGRAPHY_LABEL, TYPOGRAPHY_UTILITY, ThemeProvider, type ThemeProviderProps, type TypographyStyle, VIEWPORT_LABELS, VIEWPORT_MAX_WIDTH, type ViewportMode, buildCssVariables, buildOpacityScale, createDesignTheme, getContrastText, getLuminance, getResponsiveFontOverrides, getTypographyCssVars, hexToRgb, rgbToCssRgbString, rgba };
|
package/dist/theme/index.js
CHANGED
|
@@ -53,6 +53,8 @@ __export(theme_exports, {
|
|
|
53
53
|
FOUNDATION_COLORS: () => FOUNDATION_COLORS,
|
|
54
54
|
GRAY_SCALE: () => GRAY_SCALE,
|
|
55
55
|
OPACITY_UTILITY: () => OPACITY_UTILITY,
|
|
56
|
+
SPACING_BASE_PX: () => SPACING_BASE_PX,
|
|
57
|
+
SPACING_SCALE: () => SPACING_SCALE,
|
|
56
58
|
TYPOGRAPHY: () => TYPOGRAPHY,
|
|
57
59
|
TYPOGRAPHY_BODY: () => TYPOGRAPHY_BODY,
|
|
58
60
|
TYPOGRAPHY_DISPLAY: () => TYPOGRAPHY_DISPLAY,
|
|
@@ -398,10 +400,12 @@ function buildSecondaryScalePalette(secondaryHex) {
|
|
|
398
400
|
function createDesignTheme(config) {
|
|
399
401
|
const { primary, secondary } = config;
|
|
400
402
|
const foundation = FOUNDATION_COLORS;
|
|
403
|
+
const primaryPalette = buildPrimaryScalePalette(primary);
|
|
404
|
+
const secondaryPalette = buildSecondaryScalePalette(secondary);
|
|
401
405
|
const palette = {
|
|
402
406
|
mode: "light",
|
|
403
|
-
primary:
|
|
404
|
-
secondary:
|
|
407
|
+
primary: primaryPalette,
|
|
408
|
+
secondary: secondaryPalette,
|
|
405
409
|
error: {
|
|
406
410
|
main: FOUNDATION_COLORS.state.error
|
|
407
411
|
},
|
|
@@ -506,6 +510,107 @@ function createDesignTheme(config) {
|
|
|
506
510
|
}
|
|
507
511
|
}
|
|
508
512
|
},
|
|
513
|
+
MuiToggleButton: {
|
|
514
|
+
styleOverrides: {
|
|
515
|
+
root: ({ ownerState }) => {
|
|
516
|
+
const palette2 = ownerState.color === "secondary" ? secondaryPalette : primaryPalette;
|
|
517
|
+
const outlined = ownerState.outlined === true;
|
|
518
|
+
return {
|
|
519
|
+
borderRadius: 0,
|
|
520
|
+
textTransform: "none",
|
|
521
|
+
color: CONTRAST_DARK,
|
|
522
|
+
"&:hover": {
|
|
523
|
+
backgroundColor: palette2[100]
|
|
524
|
+
},
|
|
525
|
+
"&.MuiToggleButtonGroup-lastButton, &.MuiToggleButtonGroup-middleButton": outlined ? {
|
|
526
|
+
borderLeft: `1px solid ${foundation.border.default}`,
|
|
527
|
+
borderTop: `1px solid ${foundation.border.default}`
|
|
528
|
+
} : {},
|
|
529
|
+
"&.Mui-disabled.MuiToggleButtonGroup-lastButton, &.Mui-disabled.MuiToggleButtonGroup-middleButton": outlined ? {
|
|
530
|
+
borderLeft: `1px solid ${foundation.border.default}`,
|
|
531
|
+
borderTop: `1px solid ${foundation.border.default}`
|
|
532
|
+
} : {},
|
|
533
|
+
"&.Mui-selected": outlined ? {
|
|
534
|
+
backgroundColor: palette2[100],
|
|
535
|
+
border: `1px solid ${palette2.main}`,
|
|
536
|
+
color: CONTRAST_DARK
|
|
537
|
+
} : {
|
|
538
|
+
backgroundColor: palette2.main,
|
|
539
|
+
color: palette2.contrastText,
|
|
540
|
+
"&:hover": {
|
|
541
|
+
backgroundColor: palette2.dark,
|
|
542
|
+
color: palette2.contrastText
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
};
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
MuiCheckbox: {
|
|
550
|
+
styleOverrides: {
|
|
551
|
+
root: {
|
|
552
|
+
variants: [
|
|
553
|
+
{
|
|
554
|
+
props: { size: "large" },
|
|
555
|
+
style: {
|
|
556
|
+
width: 46,
|
|
557
|
+
height: 46,
|
|
558
|
+
padding: (46 - 28) / 2,
|
|
559
|
+
"& .MuiSvgIcon-root": { fontSize: 28 }
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
]
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
MuiRadio: {
|
|
567
|
+
styleOverrides: {
|
|
568
|
+
root: {
|
|
569
|
+
variants: [
|
|
570
|
+
{
|
|
571
|
+
props: { size: "large" },
|
|
572
|
+
style: {
|
|
573
|
+
width: 46,
|
|
574
|
+
height: 46,
|
|
575
|
+
padding: (46 - 28) / 2,
|
|
576
|
+
"& .MuiSvgIcon-root": { fontSize: 28 }
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
MuiSwitch: {
|
|
584
|
+
styleOverrides: {
|
|
585
|
+
root: {
|
|
586
|
+
variants: [
|
|
587
|
+
{
|
|
588
|
+
props: { size: "large" },
|
|
589
|
+
style: {
|
|
590
|
+
width: 68,
|
|
591
|
+
height: 44,
|
|
592
|
+
padding: 8,
|
|
593
|
+
"& .MuiSwitch-switchBase": {
|
|
594
|
+
padding: 8,
|
|
595
|
+
"&.Mui-checked": {
|
|
596
|
+
transform: "translateX(24px)"
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"& .MuiSwitch-thumb": {
|
|
600
|
+
width: 28,
|
|
601
|
+
height: 28
|
|
602
|
+
},
|
|
603
|
+
"& .MuiSwitch-track": {
|
|
604
|
+
height: 16,
|
|
605
|
+
margin: "auto",
|
|
606
|
+
borderRadius: 16 / 2
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
]
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
},
|
|
509
614
|
MuiCssBaseline: {
|
|
510
615
|
styleOverrides: {
|
|
511
616
|
":root": {
|
|
@@ -519,6 +624,20 @@ function createDesignTheme(config) {
|
|
|
519
624
|
return (0, import_styles.createTheme)(themeOptions);
|
|
520
625
|
}
|
|
521
626
|
|
|
627
|
+
// src/theme/spacing.ts
|
|
628
|
+
var SPACING_BASE_PX = 4;
|
|
629
|
+
var SPACING_SCALE = {
|
|
630
|
+
"1": `${1 * SPACING_BASE_PX}px`,
|
|
631
|
+
"2": `${2 * SPACING_BASE_PX}px`,
|
|
632
|
+
"3": `${3 * SPACING_BASE_PX}px`,
|
|
633
|
+
"4": `${4 * SPACING_BASE_PX}px`,
|
|
634
|
+
"5": `${5 * SPACING_BASE_PX}px`,
|
|
635
|
+
"6": `${6 * SPACING_BASE_PX}px`,
|
|
636
|
+
"8": `${8 * SPACING_BASE_PX}px`,
|
|
637
|
+
"10": `${10 * SPACING_BASE_PX}px`,
|
|
638
|
+
"12": `${12 * SPACING_BASE_PX}px`
|
|
639
|
+
};
|
|
640
|
+
|
|
522
641
|
// src/theme/buildCssVariables.ts
|
|
523
642
|
function entriesToVars(prefix, obj) {
|
|
524
643
|
const out = {};
|
|
@@ -559,11 +678,13 @@ function buildCssVariables(options) {
|
|
|
559
678
|
const secondaryRgb = hexToRgb(secondary);
|
|
560
679
|
const primaryScale = buildPrimaryScale2(primary);
|
|
561
680
|
const secondaryScale = buildSecondaryScale2(secondary);
|
|
562
|
-
return __spreadValues(__spreadProps(__spreadValues(__spreadProps(__spreadValues(__spreadValues({
|
|
681
|
+
return __spreadValues(__spreadProps(__spreadValues(__spreadProps(__spreadValues(__spreadProps(__spreadValues(__spreadValues({
|
|
563
682
|
// RGB triplets for opacity-based usage
|
|
564
683
|
"--primary-rgb": rgbToCssRgbString(primaryRgb),
|
|
565
684
|
"--secondary-rgb": rgbToCssRgbString(secondaryRgb),
|
|
566
685
|
// Brand (tenant)
|
|
686
|
+
"--primary": primary,
|
|
687
|
+
"--secondary": secondary,
|
|
567
688
|
"--color-brand-primary": primary,
|
|
568
689
|
"--color-brand-secondary": secondary
|
|
569
690
|
}, entriesToVars("--primary-", primaryScale)), entriesToVars("--secondary-", secondaryScale)), {
|
|
@@ -592,7 +713,8 @@ function buildCssVariables(options) {
|
|
|
592
713
|
"--accent-dark-green": ACCENTS.darkGreen,
|
|
593
714
|
// Opacity utility
|
|
594
715
|
"--opacity-disabled": String(OPACITY_UTILITY.disabled),
|
|
595
|
-
"--opacity-hover": String(OPACITY_UTILITY.hover)
|
|
716
|
+
"--opacity-hover": String(OPACITY_UTILITY.hover)
|
|
717
|
+
}), entriesToVars("--space-", SPACING_SCALE)), {
|
|
596
718
|
// Semantic aliases (component-level tokens that alias foundation/extended)
|
|
597
719
|
"--input-background": foundation.background.primary,
|
|
598
720
|
"--input-border": foundation.border.default,
|
|
@@ -664,6 +786,8 @@ ThemeProvider.displayName = "ThemeProvider";
|
|
|
664
786
|
FOUNDATION_COLORS,
|
|
665
787
|
GRAY_SCALE,
|
|
666
788
|
OPACITY_UTILITY,
|
|
789
|
+
SPACING_BASE_PX,
|
|
790
|
+
SPACING_SCALE,
|
|
667
791
|
TYPOGRAPHY,
|
|
668
792
|
TYPOGRAPHY_BODY,
|
|
669
793
|
TYPOGRAPHY_DISPLAY,
|