@prioticket/design-system-charts 1.8.0-beta.4 → 1.8.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/README.md CHANGED
@@ -85,6 +85,14 @@ Rules that keep charts readable for everyone:
85
85
  - One y axis per chart. Two measures of different scale become two charts.
86
86
  - Give `ChartContainer` a height (`h-64`, `min-h-*` or `aspect-*`).
87
87
 
88
+ ## What it looks like
89
+
90
+ Default house theme, and the same page after `applyTheme({ colorPrimary: '#166534', colorChart2: '#b45309' })`, measured in Chrome during the release check:
91
+
92
+ ![Bar and line chart in the default Prioticket theme](docs/chart-default.png)
93
+
94
+ ![The same charts after a live rebrand](docs/chart-rebranded.png)
95
+
88
96
  ## Dynamic theming
89
97
 
90
98
  The palette lives in the web package as `--pd-chart-1` to `--pd-chart-6`. Series 1 is `var(--md-sys-color-primary)`, so a client rebrand recolours it automatically; the rest are fixed house colours that clients can override:
package/dist/r/chart.json CHANGED
@@ -5,8 +5,8 @@
5
5
  "title": "Prioticket chart",
6
6
  "description": "shadcn's Recharts chart wrapper, themed by the Prioticket design tokens and re-themed live by applyTheme(). Colour series with var(--chart-1) to var(--chart-6).",
7
7
  "dependencies": [
8
- "@prioticket/design-system-charts@^1.8.0-beta.4",
9
- "@prioticket/design-system-web@^1.8.0-beta.4"
8
+ "@prioticket/design-system-charts@^1.8.0",
9
+ "@prioticket/design-system-web@^1.8.0"
10
10
  ],
11
11
  "registryDependencies": [
12
12
  "chart"
package/dist/r/index.json CHANGED
@@ -9,8 +9,8 @@
9
9
  "title": "Prioticket chart",
10
10
  "description": "shadcn's Recharts chart wrapper, themed by the Prioticket design tokens and re-themed live by applyTheme(). Colour series with var(--chart-1) to var(--chart-6).",
11
11
  "dependencies": [
12
- "@prioticket/design-system-charts@^1.8.0-beta.4",
13
- "@prioticket/design-system-web@^1.8.0-beta.4"
12
+ "@prioticket/design-system-charts@^1.8.0",
13
+ "@prioticket/design-system-web@^1.8.0"
14
14
  ],
15
15
  "registryDependencies": [
16
16
  "chart"
@@ -9,8 +9,8 @@
9
9
  "title": "Prioticket chart",
10
10
  "description": "shadcn's Recharts chart wrapper, themed by the Prioticket design tokens and re-themed live by applyTheme(). Colour series with var(--chart-1) to var(--chart-6).",
11
11
  "dependencies": [
12
- "@prioticket/design-system-charts@^1.8.0-beta.4",
13
- "@prioticket/design-system-web@^1.8.0-beta.4"
12
+ "@prioticket/design-system-charts@^1.8.0",
13
+ "@prioticket/design-system-web@^1.8.0"
14
14
  ],
15
15
  "registryDependencies": [
16
16
  "chart"
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prioticket/design-system-charts",
3
- "version": "1.8.0-beta.4",
3
+ "version": "1.8.0",
4
4
  "description": "shadcn/ui chart registry item plus the CSS bridge that themes shadcn charts with the Prioticket design tokens",
5
5
  "type": "module",
6
6
  "exports": {
@@ -12,6 +12,7 @@
12
12
  "files": [
13
13
  "dist",
14
14
  "registry.json",
15
+ "docs",
15
16
  "README.md"
16
17
  ],
17
18
  "sideEffects": [
@@ -21,7 +22,7 @@
21
22
  "build": "node ../../scripts/build-charts-registry.mjs"
22
23
  },
23
24
  "peerDependencies": {
24
- "@prioticket/design-system-web": "^1.8.0-beta.4"
25
+ "@prioticket/design-system-web": "^1.8.0"
25
26
  },
26
27
  "keywords": [
27
28
  "prioticket",