@amritanshu3011/mdx-renderer 1.0.5 → 1.0.7

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.
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import './styles/base.css';
3
2
  interface MDXRendererProps {
4
3
  children: React.ReactNode;
5
4
  className?: string;
@@ -3,8 +3,6 @@ import { MDXProvider } from '@mdx-js/react';
3
3
  // 👇 CHANGE 1: Use the Context Hook (so updates happen live)
4
4
  // import { useThemeWithFallback } from './utils/useThemeWithFallback';
5
5
  import { useTheme } from './theme/ThemeContext';
6
- // 👇 CHANGE 2: Import the CSS file
7
- import './styles/base.css';
8
6
  // Text components
9
7
  import { Heading } from './components/text/Heading';
10
8
  import { Paragraph } from './components/text/Paragraph';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amritanshu3011/mdx-renderer",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Reusable MDX visualization library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,17 +14,20 @@
14
14
  "author": "Amritanshu",
15
15
  "license": "MIT",
16
16
  "peerDependencies": {
17
+ "@mdx-js/react": ">=2.0.0",
17
18
  "react": ">=18.0.0",
18
- "react-dom": ">=18.0.0",
19
- "@mdx-js/react": ">=2.0.0"
19
+ "react-dom": ">=18.0.0"
20
20
  },
21
21
  "dependencies": {
22
- "recharts": "^2.0.0",
23
22
  "echarts": "^5.0.0",
24
- "lucide-react": "^0.562.0"
23
+ "lucide-react": "^0.562.0",
24
+ "recharts": "^2.0.0"
25
25
  },
26
26
  "devDependencies": {
27
+ "@types/node": "^25.0.9",
28
+ "@types/react": "^18.0.0",
27
29
  "typescript": "^5.0.0",
28
- "@types/react": "^18.0.0"
30
+ "vite": "^7.3.1",
31
+ "vite-plugin-dts": "^4.5.4"
29
32
  }
30
33
  }