@reactloom/charts 0.0.0-stage → 1.0.1

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 (51) hide show
  1. package/README.md +41 -2
  2. package/dist/LICENSE +21 -0
  3. package/dist/_internal/hooks/use-isomorphic-layout-effect.js +7 -0
  4. package/dist/_internal/hooks/use-isomorphic-layout-effect.js.map +1 -0
  5. package/dist/_internal/primitives/visually-hidden.js +29 -0
  6. package/dist/_internal/primitives/visually-hidden.js.map +1 -0
  7. package/dist/_internal/utils/cx.js +10 -0
  8. package/dist/_internal/utils/cx.js.map +1 -0
  9. package/dist/_internal/utils/warn.js +13 -0
  10. package/dist/_internal/utils/warn.js.map +1 -0
  11. package/dist/advanced-charts.d.ts +37 -0
  12. package/dist/advanced-charts.d.ts.map +1 -0
  13. package/dist/advanced-charts.js +587 -0
  14. package/dist/advanced-charts.js.map +1 -0
  15. package/dist/cartesian.d.ts +25 -0
  16. package/dist/cartesian.d.ts.map +1 -0
  17. package/dist/cartesian.js +461 -0
  18. package/dist/cartesian.js.map +1 -0
  19. package/dist/chart-frame.d.ts +55 -0
  20. package/dist/chart-frame.d.ts.map +1 -0
  21. package/dist/chart-frame.js +148 -0
  22. package/dist/chart-frame.js.map +1 -0
  23. package/dist/charts.d.ts +35 -0
  24. package/dist/charts.d.ts.map +1 -0
  25. package/dist/charts.js +47 -0
  26. package/dist/charts.js.map +1 -0
  27. package/dist/charts.module.js +126 -0
  28. package/dist/charts.module.js.map +1 -0
  29. package/dist/format.d.ts +42 -0
  30. package/dist/format.d.ts.map +1 -0
  31. package/dist/format.js +101 -0
  32. package/dist/format.js.map +1 -0
  33. package/dist/index.d.ts +7 -0
  34. package/dist/index.d.ts.map +1 -0
  35. package/dist/index.js +6 -0
  36. package/dist/item-charts.d.ts +140 -0
  37. package/dist/item-charts.d.ts.map +1 -0
  38. package/dist/item-charts.js +1476 -0
  39. package/dist/item-charts.js.map +1 -0
  40. package/dist/pie-chart.d.ts +23 -0
  41. package/dist/pie-chart.d.ts.map +1 -0
  42. package/dist/pie-chart.js +216 -0
  43. package/dist/pie-chart.js.map +1 -0
  44. package/dist/sparkline.d.ts +25 -0
  45. package/dist/sparkline.d.ts.map +1 -0
  46. package/dist/sparkline.js +88 -0
  47. package/dist/sparkline.js.map +1 -0
  48. package/dist/styles.css +3 -0
  49. package/dist/types.d.ts +84 -0
  50. package/dist/types.d.ts.map +1 -0
  51. package/package.json +99 -3
@@ -0,0 +1,3 @@
1
+ @layer pl.theme, pl.components;
2
+ .pl-charts-figure-r2OY1S{gap:var(--pl-space-3);min-inline-size:0;color:var(--pl-color-fg-default);flex-direction:column;margin:0;display:flex}.pl-charts-caption-r2OY1S{gap:var(--pl-space-1);flex-direction:column;display:flex}.pl-charts-title-r2OY1S{font-size:var(--pl-font-size-md);font-weight:var(--pl-font-weight-semibold);line-height:var(--pl-line-height-snug)}.pl-charts-description-r2OY1S{color:var(--pl-color-fg-muted);font-size:var(--pl-font-size-sm);line-height:var(--pl-line-height-normal)}.pl-charts-legend-r2OY1S{gap:var(--pl-space-1) var(--pl-space-4);font-size:var(--pl-font-size-sm);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.pl-charts-legendItem-r2OY1S{align-items:center;gap:var(--pl-space-2);display:inline-flex}.pl-charts-legendDetail-r2OY1S{color:var(--pl-color-fg-muted)}.pl-charts-swatch-r2OY1S{border-radius:var(--pl-radius-xs);flex:none;block-size:.75em;inline-size:.75em}.pl-charts-plotWrap-r2OY1S{min-inline-size:0;position:relative}.pl-charts-plot-r2OY1S{border-radius:var(--pl-radius-sm);outline:none;position:relative}.pl-charts-plot-r2OY1S:focus-visible{outline:var(--pl-focus-ring-width) solid var(--pl-focus-ring-color);outline-offset:var(--pl-focus-ring-offset)}.pl-charts-svg-r2OY1S{touch-action:pan-y;direction:ltr;display:block;overflow:visible}.pl-charts-grid-r2OY1S line{stroke:var(--pl-color-border-subtle);stroke-width:1px;shape-rendering:crispedges}.pl-charts-grid-r2OY1S line[data-zero]{stroke:var(--pl-color-border-strong)}.pl-charts-tickLabels-r2OY1S text,.pl-charts-axisTitle-r2OY1S{fill:var(--pl-color-fg-muted);font-size:var(--pl-font-size-xs);font-variant-numeric:tabular-nums}.pl-charts-axisTitle-r2OY1S{font-weight:var(--pl-font-weight-medium)}.pl-charts-line-r2OY1S{fill:none;stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.pl-charts-area-r2OY1S{fill-opacity:.16;stroke:none}.pl-charts-point-r2OY1S{stroke:var(--pl-color-bg-surface);stroke-width:1.5px}.pl-charts-bar-r2OY1S{shape-rendering:crispedges}.pl-charts-guide-r2OY1S{stroke:var(--pl-color-fg-subtle);stroke-dasharray:3 3}.pl-charts-activeBand-r2OY1S{fill:var(--pl-color-bg-subtle)}.pl-charts-activePoint-r2OY1S{fill:var(--pl-color-bg-surface);stroke-width:2.5px}.pl-charts-slice-r2OY1S{stroke:var(--pl-color-bg-surface);stroke-width:1.5px;transition:opacity var(--pl-duration-fast)}.pl-charts-plot-r2OY1S:has(.pl-charts-slice-r2OY1S[data-active]) .pl-charts-slice-r2OY1S:not([data-active]){opacity:.55}.pl-charts-center-r2OY1S{text-align:center;font-weight:var(--pl-font-weight-semibold);pointer-events:none;position:absolute;translate:-50% -50%}.pl-charts-tooltip-r2OY1S{z-index:1;gap:var(--pl-space-1);min-inline-size:9rem;max-inline-size:16rem;padding:var(--pl-space-2) var(--pl-space-3);border:var(--pl-border-width-hairline) solid var(--pl-color-border-default);border-radius:var(--pl-radius-md);background:var(--pl-color-bg-surface-raised);box-shadow:var(--pl-shadow-md);font-size:var(--pl-font-size-sm);pointer-events:none;display:grid;position:absolute}.pl-charts-tooltipTitle-r2OY1S{font-weight:var(--pl-font-weight-semibold)}.pl-charts-tooltipRow-r2OY1S{align-items:center;gap:var(--pl-space-2);display:flex}.pl-charts-tooltipLabel-r2OY1S{color:var(--pl-color-fg-muted);flex:1}.pl-charts-tooltipValue-r2OY1S,.pl-charts-tooltipShare-r2OY1S{font-variant-numeric:tabular-nums;font-weight:var(--pl-font-weight-medium)}.pl-charts-empty-r2OY1S,.pl-charts-loading-r2OY1S{color:var(--pl-color-fg-muted);font-size:var(--pl-font-size-sm);border:var(--pl-border-width-hairline) dashed var(--pl-color-border-default);border-radius:var(--pl-radius-md);place-items:center;display:grid}.pl-charts-loading-r2OY1S{border:none}.pl-charts-tableToggle-r2OY1S{align-self:start}.pl-charts-table-r2OY1S{margin-block-start:var(--pl-space-2)}.pl-charts-sparkline-r2OY1S{vertical-align:middle;display:inline-block;overflow:visible}.pl-charts-sparkLine-r2OY1S{fill:none;stroke-width:1.5px;stroke-linejoin:round;stroke-linecap:round}.pl-charts-sparkArea-r2OY1S{fill-opacity:.18}@media (prefers-reduced-motion:reduce){.pl-charts-slice-r2OY1S{transition:none}}@media (forced-colors:active){.pl-charts-tickLabels-r2OY1S text,.pl-charts-axisTitle-r2OY1S{fill:canvastext}.pl-charts-grid-r2OY1S line{stroke:graytext}.pl-charts-line-r2OY1S,.pl-charts-sparkLine-r2OY1S{stroke:canvastext}.pl-charts-series-r2OY1S[data-series="2"] .pl-charts-line-r2OY1S{stroke-dasharray:8 4}.pl-charts-series-r2OY1S[data-series="3"] .pl-charts-line-r2OY1S{stroke-dasharray:2 3}.pl-charts-series-r2OY1S[data-series="4"] .pl-charts-line-r2OY1S{stroke-dasharray:10 3 2 3}.pl-charts-series-r2OY1S[data-series="5"] .pl-charts-line-r2OY1S,.pl-charts-series-r2OY1S[data-series="6"] .pl-charts-line-r2OY1S{stroke-dasharray:4 4}.pl-charts-area-r2OY1S{fill:canvastext;fill-opacity:.12}.pl-charts-point-r2OY1S,.pl-charts-activePoint-r2OY1S,.pl-charts-guide-r2OY1S{stroke:highlight}.pl-charts-bar-r2OY1S,.pl-charts-slice-r2OY1S{fill:canvas;stroke:canvastext;stroke-width:1.5px}.pl-charts-series-r2OY1S[data-series="1"] .pl-charts-bar-r2OY1S,.pl-charts-slice-r2OY1S[data-series="1"]{fill:canvastext}.pl-charts-slice-r2OY1S[data-active]{fill:highlight}.pl-charts-activeBand-r2OY1S{fill:none;stroke:highlight}.pl-charts-swatch-r2OY1S{forced-color-adjust:none;border:1px solid canvastext;background:canvas!important}.pl-charts-swatch-r2OY1S[data-series="1"]{background:canvastext!important}}.pl-charts-cell-r2OY1S{stroke:var(--pl-color-bg-surface);stroke-width:0}.pl-charts-cell-r2OY1S[data-active]{stroke:var(--pl-color-fg-default);stroke-width:2px}.pl-charts-cellText-r2OY1S{fill:var(--pl-color-fg-default);pointer-events:none;font-size:11px}.pl-charts-cellTextStrong-r2OY1S{fill:var(--pl-color-fg-on-accent);pointer-events:none;font-size:11px}.pl-charts-bar-r2OY1S[data-active]{stroke:var(--pl-color-fg-default);stroke-width:2px}.pl-charts-barValue-r2OY1S{fill:var(--pl-color-fg-default);pointer-events:none;font-size:12px;font-weight:600}.pl-charts-connector-r2OY1S{stroke:var(--pl-color-fg-muted);stroke-dasharray:3 3}.pl-charts-whisker-r2OY1S{stroke-width:1.5px}.pl-charts-box-r2OY1S[data-active] rect{stroke-width:2.5px}.pl-charts-treemapGroup-r2OY1S{fill:var(--pl-color-fg-muted);font-size:11px;font-weight:600}.pl-charts-sankeyLink-r2OY1S{fill:none;stroke-opacity:.35}.pl-charts-sankeyLink-r2OY1S[data-active]{stroke-opacity:.7}.pl-charts-sankeyNode-r2OY1S{fill:var(--pl-color-fg-muted)}.pl-charts-scale-r2OY1S{align-items:center;gap:var(--pl-space-2);color:var(--pl-color-fg-muted);font-size:var(--pl-font-size-xs);display:flex}.pl-charts-scaleBar-r2OY1S{border-radius:var(--pl-radius-full);block-size:.5rem;inline-size:8rem}.pl-charts-gauge-r2OY1S{justify-items:center;display:grid;position:relative}.pl-charts-gaugeTrack-r2OY1S{fill:none;stroke:var(--pl-color-bg-muted);stroke-width:18px}.pl-charts-gaugeBand-r2OY1S{fill:none;stroke-width:4px;opacity:.9}.pl-charts-gaugeValue-r2OY1S{fill:none;stroke:var(--pl-color-chart-1);stroke-width:12px;stroke-linecap:round}.pl-charts-gaugeNeedle-r2OY1S{stroke:var(--pl-color-fg-default);stroke-width:2px}.pl-charts-gaugeHub-r2OY1S{fill:var(--pl-color-fg-default)}.pl-charts-gaugeText-r2OY1S{fill:var(--pl-color-fg-default);font-size:26px;font-weight:600}.pl-charts-gaugeBandLabel-r2OY1S{color:var(--pl-color-fg-muted);font-size:var(--pl-font-size-sm);margin-block-start:calc(-1 * var(--pl-space-1))}.pl-charts-gridLine-r2OY1S{stroke:var(--pl-color-border-default);stroke-width:1px}.pl-charts-gridLine-r2OY1S[data-active]{stroke:var(--pl-color-fg-default);stroke-width:2px}.pl-charts-axisLine-r2OY1S{stroke:var(--pl-color-border-strong);stroke-width:1px}.pl-charts-tickLabel-r2OY1S{fill:var(--pl-color-fg-muted);font-size:11px}
3
+ /*$vite$:1*/
@@ -0,0 +1,84 @@
1
+ import type { ReactNode } from 'react';
2
+ /** A value on the x axis: a category, a date or a number. */
3
+ export type XValue = string | number | Date;
4
+ /** Read a property by key, or compute it from the row. */
5
+ export type Accessor<Row, Value> = (keyof Row & string) | ((row: Row) => Value);
6
+ export interface ChartSeries<Row> {
7
+ /** Unique key; also the default property read from each row. */
8
+ key: string;
9
+ /** Name shown in the legend, tooltip, table and summary. */
10
+ label: string;
11
+ /** Reads the value. Defaults to `row[key]`. `null`/`undefined` is a gap (no value). */
12
+ value?: (row: Row) => number | null | undefined;
13
+ /** CSS colour. Defaults to the theme's `--pl-color-chart-<n>` in series order. */
14
+ color?: string;
15
+ }
16
+ export interface ChartMessages {
17
+ /** Visually hidden instructions for the focusable plot. */
18
+ keyboardHint: string;
19
+ /** Label of the button that shows the data table. */
20
+ showTable: string;
21
+ hideTable: string;
22
+ /** Shown instead of the plot when `data` is empty. */
23
+ empty: string;
24
+ /** Announced and shown (visually hidden) while `loading`. */
25
+ loading: string;
26
+ /** Header of the first table column for pie charts. */
27
+ categoryHeader: string;
28
+ /** Header of the share column for pie charts. */
29
+ shareHeader: string;
30
+ /** Name of the data table: receives the chart title as text. */
31
+ tableCaption: (title: string) => string;
32
+ }
33
+ /** Props shared by every chart. */
34
+ export interface ChartBaseProps {
35
+ /** Title of the chart. It names the figure and is shown above it (see `hideTitle`). */
36
+ title: string;
37
+ /** Keep the title for assistive technology only (e.g. when a card heading already shows it). */
38
+ hideTitle?: boolean;
39
+ /**
40
+ * What the chart shows, in a sentence or two — the takeaway, not the data. Shown under the
41
+ * title and used as the figure's description. When omitted, a factual summary (range,
42
+ * extremes, change) is generated from the data in the active locale's number format.
43
+ */
44
+ description?: ReactNode;
45
+ /** Hide the description visually; it stays the figure's accessible description. */
46
+ hideDescription?: boolean;
47
+ /** Plot height in pixels. @default 280 */
48
+ height?: number;
49
+ /** Show a skeleton and mark the figure busy. */
50
+ loading?: boolean;
51
+ /** Replace the default empty message (shown when there is no data). */
52
+ emptyState?: ReactNode;
53
+ /**
54
+ * The data table alternative: a "Show data" toggle (`'toggle'`), always visible (`'visible'`)
55
+ * or not rendered (`'none'` — only when the same data is in a table elsewhere on the page).
56
+ * @default 'toggle'
57
+ */
58
+ table?: 'toggle' | 'visible' | 'none';
59
+ /** Number format for values (tooltip, table, summary); axis ticks use it with compact notation. */
60
+ valueFormat?: Intl.NumberFormatOptions;
61
+ /** Format values yourself (overrides `valueFormat`). */
62
+ formatValue?: (value: number) => string;
63
+ messages?: Partial<ChartMessages>;
64
+ className?: string;
65
+ id?: string;
66
+ }
67
+ export interface CartesianChartProps<Row> extends ChartBaseProps {
68
+ data: readonly Row[];
69
+ /** The x value of each row: a key or an accessor. Categories, dates or numbers. */
70
+ x: Accessor<Row, XValue>;
71
+ series: ReadonlyArray<ChartSeries<Row>>;
72
+ /** Date format for x values that are dates. @default { month: 'short', day: 'numeric' } */
73
+ xFormat?: Intl.DateTimeFormatOptions;
74
+ /** Format x values yourself (overrides `xFormat`). */
75
+ formatX?: (x: XValue) => string;
76
+ /** Axis titles. */
77
+ xLabel?: string;
78
+ yLabel?: string;
79
+ /** Fix the value axis instead of fitting the data (always including zero). */
80
+ yDomain?: readonly [number, number];
81
+ /** Show the legend. @default true when there is more than one series */
82
+ legend?: boolean;
83
+ }
84
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"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"}
package/package.json CHANGED
@@ -1,6 +1,102 @@
1
1
  {
2
2
  "name": "@reactloom/charts",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.1",
4
+ "description": "Accessible React charts for ReactLoom: line, area, bar, pie, scatter, heatmap, histogram, box plot, waterfall, funnel, gauge, radar, treemap, sankey, combo, candlestick and sparkline, with keyboard exploration and data tables.",
5
+ "keywords": [
6
+ "react",
7
+ "reactloom",
8
+ "accessible",
9
+ "a11y",
10
+ "wcag",
11
+ "typescript",
12
+ "charts",
13
+ "react-charts",
14
+ "data-visualization",
15
+ "dataviz",
16
+ "visx",
17
+ "svg",
18
+ "dashboard"
19
+ ],
20
+ "homepage": "https://www.reactloom.dev/components/line-chart",
21
+ "bugs": {
22
+ "url": "https://www.reactloom.dev/docs/feedback"
23
+ },
24
+ "license": "MIT",
25
+ "type": "module",
26
+ "sideEffects": [
27
+ "**/*.css"
28
+ ],
29
+ "files": [
30
+ "dist",
31
+ "README.md"
32
+ ],
33
+ "exports": {
34
+ ".": {
35
+ "@reactloom/source": "./src/index.ts",
36
+ "types": "./dist/index.d.ts",
37
+ "import": "./dist/index.js"
38
+ },
39
+ "./styles.css": "./dist/styles.css",
40
+ "./package.json": "./package.json"
41
+ },
42
+ "main": "./dist/index.js",
43
+ "types": "./dist/index.d.ts",
44
+ "dependencies": {
45
+ "@visx/curve": "^4.0.0",
46
+ "@visx/scale": "^4.0.0",
47
+ "@visx/shape": "^4.0.0"
48
+ },
49
+ "peerDependencies": {
50
+ "@reactloom/theme": "^1.0.0",
51
+ "@reactloom/ui": "^1.0.0",
52
+ "react": "^18.2.0 || ^19.0.0",
53
+ "react-dom": "^18.2.0 || ^19.0.0"
54
+ },
55
+ "devDependencies": {
56
+ "@size-limit/preset-small-lib": "^14.3.0",
57
+ "@storybook/react-vite": "^10.6.8",
58
+ "@testing-library/dom": "^10.4.2",
59
+ "@testing-library/react": "^16.3.3",
60
+ "@testing-library/user-event": "^14.6.13",
61
+ "@types/node": "^22.19.0",
62
+ "@types/react": "^19.3.0",
63
+ "@types/react-dom": "^19.3.0",
64
+ "@vitejs/plugin-react": "^6.3.0",
65
+ "eslint": "^10.15.0",
66
+ "react": "^19.3.1",
67
+ "react-dom": "^19.3.1",
68
+ "size-limit": "^14.3.0",
69
+ "storybook": "^10.6.8",
70
+ "typescript": "~6.0.3",
71
+ "vite": "^8.3.8",
72
+ "vitest": "^5.1.1",
73
+ "@reactloom/eslint-config": "0.0.0",
74
+ "@reactloom/primitives": "0.0.0",
75
+ "@reactloom/hooks": "0.0.0",
76
+ "@reactloom/testing": "0.0.0",
77
+ "@reactloom/tsconfig": "0.0.0",
78
+ "@reactloom/utils": "0.0.0",
79
+ "@reactloom/ui": "1.0.1",
80
+ "@reactloom/theme": "1.0.1"
81
+ },
82
+ "publishConfig": {
83
+ "access": "public"
84
+ },
85
+ "funding": [
86
+ {
87
+ "type": "github",
88
+ "url": "https://github.com/sponsors/Bindhani1995"
89
+ },
90
+ {
91
+ "type": "ko_fi",
92
+ "url": "https://ko-fi.com/bindhani1995"
93
+ }
94
+ ],
95
+ "scripts": {
96
+ "build": "vite build && tsc -p tsconfig.build.json",
97
+ "typecheck": "tsc -p tsconfig.json",
98
+ "test": "vitest run",
99
+ "lint": "eslint src",
100
+ "size": "size-limit"
101
+ }
6
102
  }