@chartts/solid 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/README.md +73 -0
  2. package/package.json +5 -4
package/README.md ADDED
@@ -0,0 +1,73 @@
1
+ <p align="center">
2
+ <a href="https://www.npmjs.com/package/@chartts/solid"><img src="https://img.shields.io/npm/v/@chartts/solid?color=06B6D4&label=npm" alt="npm version" /></a>
3
+ <a href="https://github.com/chartts/chartts/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-06B6D4" alt="MIT License" /></a>
4
+ <a href="https://chartts.com"><img src="https://img.shields.io/badge/docs-chartts.com-06B6D4" alt="Documentation" /></a>
5
+ </p>
6
+
7
+ # @chartts/solid
8
+
9
+ Chartts for Solid. 40+ chart types, beautiful defaults, Tailwind ready.
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npm install @chartts/solid @chartts/core
15
+ ```
16
+
17
+ ## Quick start
18
+
19
+ ```tsx
20
+ import { LineChart } from "@chartts/solid"
21
+
22
+ function Dashboard() {
23
+ return (
24
+ <LineChart
25
+ data={{
26
+ labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun"],
27
+ series: [{ name: "Revenue", values: [4200, 5800, 7100, 6400, 8200, 9600] }]
28
+ }}
29
+ />
30
+ )
31
+ }
32
+ ```
33
+
34
+ ## Available components
35
+
36
+ Every chart type has a dedicated component: `LineChart`, `BarChart`, `AreaChart`, `PieChart`, `DonutChart`, `ScatterChart`, `CandlestickChart`, `RadarChart`, `HeatmapChart`, `TreemapChart`, `GaugeChart`, `WaterfallChart`, `FunnelChart`, `SankeyChart`, and 25+ more.
37
+
38
+ All components accept the same `data` prop and all `ChartOptions` as props.
39
+
40
+ ## Theming
41
+
42
+ ```ts
43
+ // Built-in presets
44
+ <LineChart data={data} theme="corporate" />
45
+ <LineChart data={data} theme="ocean" />
46
+
47
+ // Auto light/dark
48
+ <LineChart data={data} theme="auto" />
49
+
50
+ // Extra themes from @chartts/themes
51
+ import { neonTheme } from "@chartts/themes"
52
+ <LineChart data={data} theme={neonTheme} />
53
+ ```
54
+
55
+ ## Why Chartts?
56
+
57
+ - **Beautiful by default** — zero config charts that look great
58
+ - **Under 15kb gzipped** — the entire core library
59
+ - **Real SVG** — CSS works. Devtools work. Screen readers work.
60
+ - **Tailwind ready** — style with classes you already know
61
+ - **TypeScript-first** — strict types, autocomplete everywhere
62
+
63
+ ## Part of Chartts
64
+
65
+ Beautiful charts. Tiny bundle. Every framework.
66
+
67
+ - [Documentation](https://chartts.com/docs)
68
+ - [GitHub](https://github.com/chartts/chartts)
69
+ - [All packages](https://www.npmjs.com/org/chartts)
70
+
71
+ ## License
72
+
73
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chartts/solid",
3
- "version": "0.1.3",
4
- "description": "Chartts Solid components native, not a wrapper.",
3
+ "version": "0.1.4",
4
+ "description": "Chartts for Solid. 40+ chart types, beautiful defaults, Tailwind ready.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -14,12 +14,13 @@
14
14
  }
15
15
  },
16
16
  "files": [
17
- "dist"
17
+ "dist",
18
+ "README.md"
18
19
  ],
19
20
  "sideEffects": false,
20
21
  "peerDependencies": {
21
22
  "solid-js": ">=1.8.0",
22
- "@chartts/core": "0.1.3"
23
+ "@chartts/core": "0.1.4"
23
24
  },
24
25
  "license": "MIT",
25
26
  "repository": {