Commit 97dec85
committed
refactor(appkit-ui): remove unused recharts ChartContainer, drop recharts dep
The shadcn ChartContainer/ChartTooltip/ChartLegend/ChartStyle wrapper
(src/react/ui/chart.tsx) was exported from @databricks/appkit-ui/react but unused
anywhere in the repo, and it imported the entire recharts library via
`import * as RechartsPrimitive`. The echarts-based components in react/charts are
the charting API, so recharts can be dropped entirely.
This removes dead, unused code — no shipped or used API surface changes.
- delete src/react/ui/chart.tsx and its barrel re-export
- remove recharts from peerDependencies and devDependencies
- drop the decorative recharts chart from the drawer example
- regenerate component docs (removes ChartContainer.mdx, updates examples registry)
Signed-off-by: MarioCadenas <MarioCadenas@users.noreply.github.com>1 parent 74b5b02 commit 97dec85
7 files changed
Lines changed: 1 addition & 986 deletions
File tree
- docs
- docs/api/appkit-ui/ui
- src/components/DocExample
- packages/appkit-ui
- src/react/ui
- examples
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
773 | 772 | | |
774 | 773 | | |
775 | 774 | | |
| |||
783 | 782 | | |
784 | 783 | | |
785 | 784 | | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | | - | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | 785 | | |
829 | 786 | | |
830 | 787 | | |
| |||
874 | 831 | | |
875 | 832 | | |
876 | 833 | | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | 834 | | |
891 | 835 | | |
892 | 836 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
116 | | - | |
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
| |||
0 commit comments