tiny-spark 0.1.0-alpha.2 → 0.1.0-alpha.3

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/package.json +1 -1
  2. package/dist/README.md +0 -40
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tiny-spark",
3
3
  "private": false,
4
- "version": "0.1.0-alpha.2",
4
+ "version": "0.1.0-alpha.3",
5
5
  "type": "module",
6
6
  "description": "An elegant, reactive and responsive sparkline chart solution without dependency.",
7
7
  "author": "Alec Lloyd Probert",
package/dist/README.md DELETED
@@ -1,40 +0,0 @@
1
- # tiny-spark
2
-
3
- [![npm](https://img.shields.io/npm/v/tiny-spark)](https://github.com/graphieros/tiny-spark)
4
- [![GitHub issues](https://img.shields.io/github/issues/graphieros/tiny-spark)](https://github.com/graphieros/tiny-spark/issues)
5
- [![License](https://img.shields.io/badge/license-MIT-green)](https://github.com/graphieros/tiny-spark?tab=MIT-1-ov-file#readme)
6
- [![npm](https://img.shields.io/npm/dt/tiny-spark)](https://github.com/graphieros/tiny-spark)
7
-
8
- An elegant, reactive and responsive sparkline chart solution without dependency.
9
-
10
- ## Installation
11
-
12
- ```
13
- npm i tiny-spark
14
- ```
15
-
16
- ## Usage
17
-
18
- Just set up a div with a "tiny-spark" class, with a few data attributes to configure the chart.
19
-
20
- ```html
21
- <div style="width: 100%">
22
- <div
23
- class="tiny-spark"
24
- data-curve="true"
25
- data-set="[1, 2, 3, 5, 8, 13]"
26
- data-dates='["01-2026", "02-2026", "03-2026", "04-2026", "05-2026", "06-2026"]'
27
- data-responsive
28
- data-animation="true"
29
- data-line-color="#4A4A4A"
30
- data-area-color="#1A1A1A10"
31
- data-line-thickness="4"
32
- data-plot-color="#2A2A2A"
33
- data-plot-radius="2"
34
- data-number-locale="en-US"
35
- data-number-rounding="2"
36
- data-indicator-color="#1A1A1A"
37
- data-indicator-width="1"
38
- ></div>
39
- </div>
40
- ```