@konce-pt/angular 0.18.0 → 0.18.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.
- package/CHANGELOG.md +31 -0
- package/charts/src/lib/llms.txt +10 -0
- package/fesm2022/konce-pt-angular-charts.mjs +270 -217
- package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
- package/fesm2022/konce-pt-angular.mjs.map +1 -1
- package/package.json +13 -13
- package/types/konce-pt-angular-charts.d.ts +17 -3
- package/types/konce-pt-angular-charts.d.ts.map +1 -1
- package/types/konce-pt-angular.d.ts +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @konce-pt/angular
|
|
2
2
|
|
|
3
|
+
## 0.18.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6faf0a5: Gęsta oś kategorii w `kpt-chart`, w obu portach.
|
|
8
|
+
|
|
9
|
+
- Etykiety osi kategorii nie nachodzą już na siebie: gdy wszystkie się nie mieszczą, wykres pokazuje
|
|
10
|
+
równy podział - 9 etykiet (ósemki osi), 5 (pierwsza, 1/4, środek, 3/4, ostatnia), 3 albo same skrajne.
|
|
11
|
+
Wykres, którego etykiety się mieszczą, wygląda jak dotąd. Słupki poziome przerzedzają tak samo wiersze.
|
|
12
|
+
- Skrajne etykiety i pigułka prowadnicy (`crosshair`) nie wychodzą poza wykres - ostatnia etykieta
|
|
13
|
+
nie jest już ucinana przy prawej krawędzi.
|
|
14
|
+
- Wykres liniowy ma małą kropkę pod każdą kategorią na osi; aktywna rośnie przy najechaniu. Pełną nazwę
|
|
15
|
+
kategorii spoza widocznych etykiet pokazuje pigułka prowadnicy i dymek.
|
|
16
|
+
- `@konce-pt/chart`: `axisLabelIndices`, `estimateLabelWidth`, `clampLabel`, z testami.
|
|
17
|
+
- Eksport typów, których brakowało przy nowym API 0.18.0: `KptColumnGroup` z `@konce-pt/angular`
|
|
18
|
+
oraz `KptValueAxisOptions` z `@konce-pt/angular/charts` i `@konce-pt/react/charts`.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [6faf0a5]
|
|
21
|
+
- @konce-pt/chart@0.18.1
|
|
22
|
+
- @konce-pt/backdrop@0.18.1
|
|
23
|
+
- @konce-pt/chat@0.18.1
|
|
24
|
+
- @konce-pt/datetime@0.18.1
|
|
25
|
+
- @konce-pt/i18n@0.18.1
|
|
26
|
+
- @konce-pt/icons@0.18.1
|
|
27
|
+
- @konce-pt/map@0.18.1
|
|
28
|
+
- @konce-pt/mention@0.18.1
|
|
29
|
+
- @konce-pt/motion@0.18.1
|
|
30
|
+
- @konce-pt/roadmap@0.18.1
|
|
31
|
+
- @konce-pt/speech@0.18.1
|
|
32
|
+
- @konce-pt/table@0.18.1
|
|
33
|
+
|
|
3
34
|
## 0.18.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/charts/src/lib/llms.txt
CHANGED
|
@@ -23,6 +23,16 @@ Import: `import { KptChart } from '@konce-pt/angular/charts';`
|
|
|
23
23
|
`area`). The axis covers the totals; the tooltip shows the values of the series, not the totals
|
|
24
24
|
- The rules live in `@konce-pt/chart`: `axisScale`, `chartScale`, `stackSeries`, `bandPath` (tested)
|
|
25
25
|
|
|
26
|
+
## Category axis (line, bar)
|
|
27
|
+
- When the category labels do not fit, the axis shows an even subset instead of overlapping text: all of
|
|
28
|
+
them if they fit, otherwise the densest split that fits - 9 labels (eighths of the axis), 5 (first, 1/4,
|
|
29
|
+
middle, 3/4, last), 3, and finally the two ends only. Horizontal bars apply the same rule to the rows
|
|
30
|
+
- The choice is made in viewBox units, so it follows `width`, not the on-screen size; the outer labels and the
|
|
31
|
+
crosshair pill are shifted inward so they never leave the chart
|
|
32
|
+
- A line chart marks every category with a small dot on the axis; the active one grows on hover. The full
|
|
33
|
+
name of any category stays in the crosshair pill and the tooltip
|
|
34
|
+
- The rules live in `@konce-pt/chart`: `axisLabelIndices`, `estimateLabelWidth`, `clampLabel` (tested)
|
|
35
|
+
|
|
26
36
|
## Inputs
|
|
27
37
|
- `config: KptChartConfig` (required) - a single object driving everything
|
|
28
38
|
- `width` / `height`: viewBox units (600x360); the chart scales to its container
|