@blueprint-chart/docs 2.0.0 → 2.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueprint-chart/docs",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "description": "Public documentation for Blueprint Chart — handbook, guide, BPC DSL spec, and lib API reference.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -33,8 +33,8 @@
33
33
  "provenance": true
34
34
  },
35
35
  "devDependencies": {
36
- "@blueprint-chart/lib": "2.0.0",
37
- "@blueprint-chart/ui": "2.0.0",
36
+ "@blueprint-chart/lib": "2.2.0",
37
+ "@blueprint-chart/ui": "2.2.0",
38
38
  "@fontsource-variable/geist": "^5.3.0",
39
39
  "@fontsource-variable/geist-mono": "^5.3.0",
40
40
  "@fontsource/dm-serif-display": "^5.3.0",
package/src/charts/pie.md CHANGED
@@ -63,7 +63,6 @@ Every property `pie` accepts, beside the [frame and layout keys](/reference/dsl/
63
63
  | `directLabelling` | select: `""`, `auto`, `outside`, `inside` | `auto` |
64
64
  | `tooltips` | boolean | `false` |
65
65
  | `displayAsPercentage` | boolean | `true` |
66
- | `showTotal` | boolean | `false` |
67
66
  | `showLabels` | boolean | `true` |
68
67
  | `showValues` | boolean | `true` |
69
68
  | `sliceMax` | text | `5` |
@@ -42,7 +42,7 @@ chart bar-vertical {
42
42
  ```
43
43
 
44
44
  ::: tip From the sample library
45
- Adapted from `packages/lib/src/samples/coffee-production.bpc`, the only sample currently shipping with a `transform` block. The rows are shown here unsorted; `transform sort` reorders them to descending before the bar-vertical renderer reads them.
45
+ Adapted from `packages/lib/src/samples/coffee-production.bpc`, the only sample currently shipping with a `transform` block. The sample itself already lists its rows in descending order, so the rows above are deliberately shuffled into alphabetical order to give `transform sort` something to do: it reorders them to descending before the bar-vertical renderer reads them.
46
46
  :::
47
47
 
48
48
  In the editor, the same pipeline is built interactively in the Data panel — each step appears as a card, can be reordered by drag, and is re-applied on every keystroke.