@mijn-ui/react-charts 0.1.0
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/LICENSE +21 -0
- package/README.md +15 -0
- package/dist/index.d.ts +664 -0
- package/dist/index.js +1025 -0
- package/dist/metafile-esm.json +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/chart-utils.ts":{"bytes":5262,"imports":[],"format":"esm"},"src/chart-tooltip.tsx":{"bytes":3322,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"src/chart-utils.ts","kind":"import-statement","original":"./chart-utils"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/chart-legend.tsx":{"bytes":4940,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"src/chart-utils.ts","kind":"import-statement","original":"./chart-utils"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/bar-chart.tsx":{"bytes":6860,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"src/chart-tooltip.tsx","kind":"import-statement","original":"./chart-tooltip"},{"path":"src/chart-utils.ts","kind":"import-statement","original":"./chart-utils"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/grouped-bar-chart.tsx":{"bytes":8390,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"src/chart-legend.tsx","kind":"import-statement","original":"./chart-legend"},{"path":"src/chart-tooltip.tsx","kind":"import-statement","original":"./chart-tooltip"},{"path":"src/chart-utils.ts","kind":"import-statement","original":"./chart-utils"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/donut-chart.tsx":{"bytes":6913,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"src/chart-tooltip.tsx","kind":"import-statement","original":"./chart-tooltip"},{"path":"src/chart-utils.ts","kind":"import-statement","original":"./chart-utils"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/sparkline.tsx":{"bytes":5710,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"src/chart-tooltip.tsx","kind":"import-statement","original":"./chart-tooltip"},{"path":"src/chart-utils.ts","kind":"import-statement","original":"./chart-utils"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":215,"imports":[{"path":"src/chart-utils.ts","kind":"import-statement","original":"./chart-utils"},{"path":"src/chart-tooltip.tsx","kind":"import-statement","original":"./chart-tooltip"},{"path":"src/chart-legend.tsx","kind":"import-statement","original":"./chart-legend"},{"path":"src/bar-chart.tsx","kind":"import-statement","original":"./bar-chart"},{"path":"src/grouped-bar-chart.tsx","kind":"import-statement","original":"./grouped-bar-chart"},{"path":"src/donut-chart.tsx","kind":"import-statement","original":"./donut-chart"},{"path":"src/sparkline.tsx","kind":"import-statement","original":"./sparkline"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["BarChart","ChartLegend","ChartLegendItem","ChartTooltip","DEFAULT_PALETTE","DonutChart","GroupedBarChart","HUE_BG_MAP","HUE_BG_SUBTLE_MAP","HUE_ON_BG_FILL_MAP","HUE_STROKE_MAP","HUE_TEXT_MAP","Sparkline","barChartStyles","chartLegendStyles","chartTooltipStyles","donutChartStyles","groupedBarChartStyles","sparklineStyles"],"entryPoint":"src/index.ts","inputs":{"src/chart-utils.ts":{"bytesInOutput":2884},"src/index.ts":{"bytesInOutput":0},"src/chart-tooltip.tsx":{"bytesInOutput":2599},"src/chart-legend.tsx":{"bytesInOutput":3211},"src/bar-chart.tsx":{"bytesInOutput":5406},"src/grouped-bar-chart.tsx":{"bytesInOutput":6807},"src/donut-chart.tsx":{"bytesInOutput":5529},"src/sparkline.tsx":{"bytesInOutput":5076}},"bytes":32052}}}
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mijn-ui/react-charts",
|
|
3
|
+
"author": "Htet Aung Lin<htetaunglin.coder@gmail.com>",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"homepage": "https://mijn-ui.vercel.app",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/mijn-ui/mijn-ui-react.git",
|
|
15
|
+
"directory": "packages/components/charts"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/mijn-ui/mijn-ui-react/issues"
|
|
19
|
+
},
|
|
20
|
+
"exports": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"react": "19.0.1",
|
|
24
|
+
"react-dom": "19.0.1",
|
|
25
|
+
"@next/eslint-plugin-next": "^15.0.3",
|
|
26
|
+
"@types/react": "^19.0.0",
|
|
27
|
+
"@types/react-dom": "^19.0.0",
|
|
28
|
+
"@mijn-ui/react-core": "0.5.1",
|
|
29
|
+
"eslint-config-custom": "0.0.1",
|
|
30
|
+
"tsconfig": "0.0.0",
|
|
31
|
+
"tsup-config": "0.0.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"react": "^19.0",
|
|
35
|
+
"react-dom": "^19.0",
|
|
36
|
+
"@mijn-ui/react-core": "^0.5.0",
|
|
37
|
+
"tailwind-merge": "^3.0.0",
|
|
38
|
+
"tailwind-variants": "^3.0.0"
|
|
39
|
+
},
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public"
|
|
42
|
+
},
|
|
43
|
+
"keywords": [
|
|
44
|
+
"charts",
|
|
45
|
+
"bar-chart",
|
|
46
|
+
"donut-chart",
|
|
47
|
+
"sparkline",
|
|
48
|
+
"react",
|
|
49
|
+
"nextjs"
|
|
50
|
+
],
|
|
51
|
+
"scripts": {
|
|
52
|
+
"clean": "rimraf dist .turbo",
|
|
53
|
+
"build": "tsup",
|
|
54
|
+
"lint": "eslint .",
|
|
55
|
+
"lint:fix": "eslint . --fix",
|
|
56
|
+
"types:check": "tsc --noEmit"
|
|
57
|
+
}
|
|
58
|
+
}
|