@wick-charts/react
Advanced tools
+2
-2
| { | ||
| "name": "@wick-charts/react", | ||
| "version": "0.2.1", | ||
| "version": "0.2.2", | ||
| "type": "module", | ||
@@ -27,3 +27,3 @@ "sideEffects": false, | ||
| "devDependencies": { | ||
| "@wick-charts/core": "^0.2.1" | ||
| "@wick-charts/core": "^0.2.2" | ||
| }, | ||
@@ -30,0 +30,0 @@ "scripts": { |
+10
-12
@@ -0,7 +1,7 @@ | ||
| # Wick Charts | ||
| <!-- Generated from README.tmpl.md — edit the template, not this file. --> | ||
| # Wick Charts | ||
| High-performance timeseries charts for **React**, **Vue**, and **Svelte**. Canvas-rendered, tree-shakeable, ~36KB gzipped when tree-shaken. | ||
| High-performance timeseries charts for **React**, **Vue**, and **Svelte**. Canvas-rendered, tree-shakeable, ~25KB gzipped. | ||
| [Live Demo](https://mo4islona.github.io/wick-charts/) | ||
@@ -73,4 +73,2 @@ | ||
| > `TooltipLegend` is the former name of `InfoBar` and is still exported as a deprecated alias. | ||
| ## Custom render (slots / render-props) | ||
@@ -106,3 +104,3 @@ | ||
| - `formatCompact(v)` — K/M/B/T suffixes with adaptive precision. Default for `YAxis` (at ranges ≥ 1e6), `PieLegend`, `PieTooltip`, `Sparkline`. | ||
| - `formatPriceAdaptive(v)` — full-precision display that scales decimals to the value's magnitude. Default for `Tooltip` / `TooltipLegend` OHLC and line-value cells. Handles sub-cent prices (`0.00001234` → `"0.00001234"`, not `"0.00"`). | ||
| - `formatPriceAdaptive(v)` — full-precision display that scales decimals to the value's magnitude. Default for `Tooltip` / `InfoBar` OHLC and line-value cells. Handles sub-cent prices (`0.00001234` → `"0.00001234"`, not `"0.00"`). | ||
@@ -116,3 +114,3 @@ ```tsx | ||
| Tooltip / TooltipLegend pass a `field` arg (`'open' | 'high' | 'low' | 'close' | 'volume' | 'value'`) so you can branch on which cell you're formatting. All other overlays receive a single `value: number`. | ||
| Tooltip / InfoBar pass a `field` arg (`'open' | 'high' | 'low' | 'close' | 'volume' | 'value'`) so you can branch on which cell you're formatting. All other overlays receive a single `value: number`. | ||
@@ -204,3 +202,3 @@ ## Themes | ||
| |---|---|---| | ||
| | `@wick-charts/react` | 181 KB | 45.6 KB | | ||
| | `@wick-charts/react` | 224 KB | 59.3 KB | | ||
@@ -211,5 +209,5 @@ Tree-shaking on the consumer side cuts this down further — `pnpm size` builds representative React scenarios through esbuild with production settings: | ||
| |---|---|---| | ||
| | Candlestick only | 98 KB | 28.5 KB | | ||
| | Line only | 98 KB | 28.6 KB | | ||
| | Full React (all overlays) | 115 KB | 32.8 KB | | ||
| | Candlestick only | 122.1 KB | 36.3 KB | | ||
| | Line only | 122.4 KB | 36.4 KB | | ||
| | Full React (all overlays) | 140.6 KB | 41.3 KB | | ||
@@ -222,2 +220,2 @@ ## Migration | ||
| MIT | ||
| MIT |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
466788
-0.09%8428
-0.07%215
-1.38%