@martinomagnifico/tablechart 1.2.4 → 1.2.6
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/CHANGELOG.md +20 -0
- package/dist/tablechart-shared.d.mts +4 -0
- package/dist/tablechart-shared.mjs +799 -702
- package/dist/tablechart.css +1 -1
- package/dist/tablechart.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.6] - 2026-11-08
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- `--tablechart-corner-radius`, rounded corners on columns, bars and donut slices.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [1.2.5] - 2026-11-08
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- `--tablechart-bar-radius` and `--tablechart-slice-radius`, for one of them only.
|
|
13
|
+
- `--tablechart-area-fade`, the opacity of an area at the baseline.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Areas fade towards the baseline. Stacked areas stay flat.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- A number on a stacked area no longer covers a point.
|
|
22
|
+
|
|
3
23
|
## [1.2.4] - 2026-11-05
|
|
4
24
|
|
|
5
25
|
### Added
|
|
@@ -184,6 +184,10 @@ interface Geometry {
|
|
|
184
184
|
length: (name: string, fallback: string) => number | null;
|
|
185
185
|
barWidth: number;
|
|
186
186
|
barMax: number;
|
|
187
|
+
/** How round the end of a bar is, in viewBox units; 0 for square. */
|
|
188
|
+
barRadius: number;
|
|
189
|
+
/** How round the corners of a donut's slices are, in viewBox units; 0 for square. */
|
|
190
|
+
sliceRadius: number;
|
|
187
191
|
height: number;
|
|
188
192
|
/** viewBox units per screen pixel. */
|
|
189
193
|
unit: number;
|