@konce-pt/angular 0.7.11 → 0.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/CHANGELOG.md +72 -0
- package/charts/src/lib/llms.txt +31 -30
- package/fesm2022/konce-pt-angular-charts.mjs +7 -498
- package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-icons.mjs +7 -5136
- package/fesm2022/konce-pt-angular-icons.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-map.mjs +14 -1298
- package/fesm2022/konce-pt-angular-map.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-roadmap.mjs +8 -1269
- package/fesm2022/konce-pt-angular-roadmap.mjs.map +1 -1
- package/fesm2022/konce-pt-angular.mjs +179 -1455
- package/fesm2022/konce-pt-angular.mjs.map +1 -1
- package/grid/src/lib/llms.txt +48 -48
- package/map/src/lib/llms.txt +447 -446
- package/package.json +9 -2
- package/roadmap/src/lib/llms.txt +75 -74
- package/src/lib/accordion/llms.txt +9 -9
- package/src/lib/alert/llms.txt +10 -10
- package/src/lib/app-shell/llms.txt +59 -59
- package/src/lib/auth/llms.txt +58 -58
- package/src/lib/autocomplete/llms.txt +8 -8
- package/src/lib/avatar/llms.txt +9 -9
- package/src/lib/avatar-group/llms.txt +8 -8
- package/src/lib/badge/llms.txt +9 -9
- package/src/lib/bottom-sheet/llms.txt +14 -14
- package/src/lib/breadcrumb/llms.txt +7 -7
- package/src/lib/breakpoint/llms.txt +21 -21
- package/src/lib/button/llms.txt +34 -34
- package/src/lib/button-group/llms.txt +5 -5
- package/src/lib/card/llms.txt +27 -27
- package/src/lib/carousel/llms.txt +11 -11
- package/src/lib/checkbox/llms.txt +7 -7
- package/src/lib/chip/llms.txt +6 -6
- package/src/lib/chips-input/llms.txt +9 -9
- package/src/lib/color-picker/llms.txt +7 -7
- package/src/lib/confirm/llms.txt +11 -11
- package/src/lib/context-menu/llms.txt +10 -10
- package/src/lib/data-table/llms.txt +170 -170
- package/src/lib/data-view/llms.txt +8 -8
- package/src/lib/date-range/llms.txt +25 -25
- package/src/lib/datepicker/llms.txt +52 -48
- package/src/lib/dialog/llms.txt +62 -62
- package/src/lib/divider/llms.txt +9 -9
- package/src/lib/drawer/llms.txt +18 -18
- package/src/lib/empty/llms.txt +9 -9
- package/src/lib/fab/llms.txt +12 -12
- package/src/lib/fieldset/llms.txt +9 -9
- package/src/lib/file-upload/llms.txt +10 -10
- package/src/lib/form-field/llms.txt +45 -45
- package/src/lib/galleria/llms.txt +7 -7
- package/src/lib/i18n/llms.txt +28 -22
- package/src/lib/icon/llms.txt +20 -20
- package/src/lib/icon-button/llms.txt +9 -8
- package/src/lib/image/llms.txt +9 -9
- package/src/lib/input/llms.txt +27 -27
- package/src/lib/input-mask/llms.txt +10 -10
- package/src/lib/input-number/llms.txt +34 -34
- package/src/lib/input-otp/llms.txt +11 -11
- package/src/lib/knob/llms.txt +14 -14
- package/src/lib/listbox/llms.txt +8 -8
- package/src/lib/megamenu/llms.txt +13 -13
- package/src/lib/menu/llms.txt +26 -26
- package/src/lib/menubar/llms.txt +10 -10
- package/src/lib/meter-group/llms.txt +8 -8
- package/src/lib/order-list/llms.txt +8 -8
- package/src/lib/paginator/llms.txt +12 -12
- package/src/lib/panel/llms.txt +12 -12
- package/src/lib/password/llms.txt +12 -12
- package/src/lib/pick-list/llms.txt +8 -8
- package/src/lib/popover/llms.txt +8 -8
- package/src/lib/progress/llms.txt +6 -6
- package/src/lib/radio-group/llms.txt +5 -5
- package/src/lib/rating/llms.txt +10 -6
- package/src/lib/rich-text/llms.txt +50 -50
- package/src/lib/scroll-top/llms.txt +7 -7
- package/src/lib/select/llms.txt +26 -26
- package/src/lib/sidenav/llms.txt +24 -24
- package/src/lib/skeleton/llms.txt +6 -6
- package/src/lib/slider/llms.txt +17 -17
- package/src/lib/speed-dial/llms.txt +7 -7
- package/src/lib/spinner/llms.txt +5 -5
- package/src/lib/split-button/llms.txt +15 -15
- package/src/lib/splitter/llms.txt +11 -11
- package/src/lib/stepper/llms.txt +10 -10
- package/src/lib/switch/llms.txt +10 -10
- package/src/lib/switch-group/llms.txt +16 -16
- package/src/lib/tabs/llms.txt +10 -10
- package/src/lib/textarea/llms.txt +5 -5
- package/src/lib/timeline/llms.txt +10 -10
- package/src/lib/toast/llms.txt +10 -10
- package/src/lib/toolbar/llms.txt +31 -31
- package/src/lib/tooltip/llms.txt +21 -21
- package/src/lib/tree/llms.txt +6 -6
- package/types/konce-pt-angular-charts.d.ts +10 -199
- package/types/konce-pt-angular-charts.d.ts.map +1 -1
- package/types/konce-pt-angular-icons.d.ts +2 -4
- package/types/konce-pt-angular-icons.d.ts.map +1 -1
- package/types/konce-pt-angular-map.d.ts +4 -609
- package/types/konce-pt-angular-map.d.ts.map +1 -1
- package/types/konce-pt-angular-roadmap.d.ts +6 -541
- package/types/konce-pt-angular-roadmap.d.ts.map +1 -1
- package/types/konce-pt-angular.d.ts +57 -529
- package/types/konce-pt-angular.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
# @konce-pt/angular
|
|
2
2
|
|
|
3
|
+
## 0.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3a3b859: Logika wyjęta z komponentów Angulara do osobnych paczek w czystym TS, wspólnych dla obu
|
|
8
|
+
portów. Dwie implementacje tego samego rachunku rozjechałyby się po pierwszej poprawce,
|
|
9
|
+
a to są miejsca, w których błąd jest cichy: wykres kłamiący o danych, filtr chowający
|
|
10
|
+
wiersz, kalendarz gubiący zmianę czasu.
|
|
11
|
+
|
|
12
|
+
- `@konce-pt/datetime` — siatki dni, miesięcy, lat i dekad, przewijanie z `minDate`/`maxDate`,
|
|
13
|
+
protokół klikania zakresu, znaczniki tarczy zegara.
|
|
14
|
+
- `@konce-pt/table` — dopasowanie filtrów kolumn, agregacje podsumowania, escapowanie CSV.
|
|
15
|
+
- `@konce-pt/chart` — skale i „ładne" podziałki, ścieżki linii i obszaru, układ słupków,
|
|
16
|
+
łuki kołowych i polarnych, siatka radaru.
|
|
17
|
+
- `@konce-pt/roadmap` — arytmetyka kalendarzowa ISO, model osi czasu, pakowanie pasów,
|
|
18
|
+
geometria zależności.
|
|
19
|
+
- `@konce-pt/icons` — dane ikon, sanitizer i `renderKptIconSvg`; pełny Tabler w subpathu
|
|
20
|
+
`/tabler`.
|
|
21
|
+
|
|
22
|
+
Każda ma własne testy na `node --test`. Publiczne API `@konce-pt/angular` bez zmian —
|
|
23
|
+
komponenty re-eksportują typy rdzeni, a `KptIconRegistry` i `provideKptTablerIcons()`
|
|
24
|
+
działają jak dotąd.
|
|
25
|
+
|
|
26
|
+
- 3a3b859: Mapa jako subpath `map/` w obu portach, na wspólnym rdzeniu `@konce-pt/map`: odwzorowanie
|
|
27
|
+
Web Mercator, arytmetyka prostokątów, klastrowanie znaczników, godziny otwarcia, HTML
|
|
28
|
+
znaczników i klastrów. Obok rdzenia stoją adaptery silników (Leaflet, Google) — jedyne
|
|
29
|
+
miejsce w repo, które zna typy biblioteki mapowej.
|
|
30
|
+
|
|
31
|
+
`leaflet` jest peerem **opcjonalnym**, ładowanym dynamicznym `import()`, więc kto nie używa
|
|
32
|
+
mapy, nie płaci za nią rozmiarem ani instalacją. Aplikacja dostarcza `leaflet.css` sama —
|
|
33
|
+
i dlatego nadpisania `.leaflet-*` w SCSS mapy celowo stoją poza `@layer kpt.components`.
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- 3a3b859: `KptIconButton` przyjmuje `ariaPressed` — stan przycisku-przełącznika trafia wreszcie na
|
|
38
|
+
wewnętrzny `<button>`. Postawione na znaczniku `[attr.aria-pressed]` lądowało na hoście
|
|
39
|
+
`<kpt-icon-button>`, który nie ma roli przycisku, więc czytnik ekranu nie miał czego
|
|
40
|
+
ogłosić. Domyślne `null` nie wypisuje atrybutu w ogóle.
|
|
41
|
+
|
|
42
|
+
Karta miejsca (`KptMapPoiCard`) korzysta z nowego wejścia, a stan „w ulubionych" naprawdę
|
|
43
|
+
podświetla gwiazdkę: reguła `[data-on]` celowała dotąd w hosta, gdzie `color` przegrywał
|
|
44
|
+
z kolorem przycisku, a `border-color` się nie dziedziczy — podświetlenie nie działało
|
|
45
|
+
w żadnym z portów.
|
|
46
|
+
|
|
47
|
+
- Updated dependencies [3a3b859]
|
|
48
|
+
- Updated dependencies [3a3b859]
|
|
49
|
+
- Updated dependencies [3a3b859]
|
|
50
|
+
- @konce-pt/i18n@0.8.0
|
|
51
|
+
- @konce-pt/datetime@0.8.0
|
|
52
|
+
- @konce-pt/table@0.8.0
|
|
53
|
+
- @konce-pt/chart@0.8.0
|
|
54
|
+
- @konce-pt/roadmap@0.8.0
|
|
55
|
+
- @konce-pt/icons@0.8.0
|
|
56
|
+
- @konce-pt/map@0.8.0
|
|
57
|
+
|
|
58
|
+
## 0.7.12
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- Dokumentacja `llms.txt` jest teraz po angielsku i to ona jest wersją kanoniczną. 81 plików
|
|
63
|
+
z `packages/angular/**` trafia do tarballa npm, czyli do `node_modules` u konsumentów
|
|
64
|
+
biblioteki, gdzie czyta je ich asystent — polskie API sheety były ostatnią niekonsekwencją
|
|
65
|
+
w paczce, której README i opisy w `package.json` są angielskie od początku.
|
|
66
|
+
|
|
67
|
+
Dotychczasowa polska treść żyje w repozytorium obok, jako `llms-pl.txt`, i do paczki nie
|
|
68
|
+
trafia. Wersja angielska przejmuje istniejącą nazwę pliku, więc dla konsumenta nic się nie
|
|
69
|
+
przesuwa: `node_modules/@konce-pt/angular/**/llms.txt` leży dokładnie tam, gdzie leżał.
|
|
70
|
+
|
|
71
|
+
Identyfikatory, tokeny i klucze i18n przechodzą bez zmian — przetłumaczone są proza,
|
|
72
|
+
komentarze i napisy widoczne dla użytkownika w przykładach. Polszczyzna zostaje tam, gdzie
|
|
73
|
+
jest tematem: walidatory NIP/REGON/PESEL, `displayFormat: 'pl'` i przykłady słownika PL.
|
|
74
|
+
|
|
3
75
|
## 0.7.11
|
|
4
76
|
|
|
5
77
|
### Minor Changes
|
package/charts/src/lib/llms.txt
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
# KptChart (kpt-chart)
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
An SVG chart in plain Angular (signals, zoneless), with no Chart.js/D3-style dependency.
|
|
4
|
+
The computation core lives in `@konce-pt/chart` — plain TypeScript, tested, shared with the React port.
|
|
5
5
|
Import: `import { KptChart } from '@konce-pt/angular/charts';`
|
|
6
6
|
|
|
7
|
-
##
|
|
8
|
-
- `line` —
|
|
9
|
-
`crosshair?: boolean` (
|
|
10
|
-
- `bar` —
|
|
11
|
-
- `pie` —
|
|
12
|
-
- `doughnut` —
|
|
13
|
-
- `polarArea` —
|
|
14
|
-
- `radar` —
|
|
7
|
+
## Chart types (config.type)
|
|
8
|
+
- `line` — a line chart; interpolation `linear` | `cubic` | `cubic-monotonic`; `area?: boolean`, `points?: boolean`,
|
|
9
|
+
`crosshair?: boolean` (hovering a point → a vertical guide + a highlighted pill on the X axis label)
|
|
10
|
+
- `bar` — a bar chart; `orientation: 'vertical' | 'horizontal'`, `borderRadius?: px`
|
|
11
|
+
- `pie` — a pie chart
|
|
12
|
+
- `doughnut` — a doughnut; `innerRadius?: 0..1` (default 0.6)
|
|
13
|
+
- `polarArea` — equal angles, the radius proportional to the value
|
|
14
|
+
- `radar` — radial axes + a polygon per series
|
|
15
15
|
|
|
16
|
-
##
|
|
17
|
-
- `config: KptChartConfig` (
|
|
18
|
-
- `width` / `height`:
|
|
16
|
+
## Inputs
|
|
17
|
+
- `config: KptChartConfig` (required) — a single object driving everything
|
|
18
|
+
- `width` / `height`: viewBox units (600×360); the chart scales to its container
|
|
19
19
|
|
|
20
|
-
## KptChartConfig (
|
|
20
|
+
## KptChartConfig (in brief)
|
|
21
21
|
- `labels: string[]`, `series: { name; data: number[]; color? }[]`
|
|
22
22
|
- `legend`: `{ display?, position: top|bottom|left|right, align: start|center|end, pointStyle: circle|rect|rectRot|triangle|line, title? }`
|
|
23
23
|
- `title` / `subtitle`: `{ display?, text, align, color?, font?, padding? }`
|
|
24
24
|
- `tooltip`: `{ enabled?, format?(ctx: {series,label,value}): string }`
|
|
25
25
|
- `animation`: `{ enabled?, duration=400, delay=0, stagger=60 }`
|
|
26
26
|
|
|
27
|
-
##
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
27
|
+
## Interactions
|
|
28
|
+
- Hovering a point/bar/slice → a tooltip (series, label, value); the bubble is clamped to the edges.
|
|
29
|
+
- Clicking the legend → hide/show a series (pie/doughnut/polar: hide a slice) with the scale recomputed.
|
|
30
|
+
- Hovering the legend → highlight that series, dim the rest.
|
|
31
31
|
|
|
32
|
-
##
|
|
33
|
-
|
|
34
|
-
Stagger `delay = index * stagger`.
|
|
32
|
+
## Animations
|
|
33
|
+
Line: `stroke-dasharray/offset`. Bars: `scaleY/scaleX` (origin at the axis). Slices/radar: `scale` from the center.
|
|
34
|
+
Stagger `delay = index * stagger`. Disabled by `animation.enabled=false` and by `prefers-reduced-motion`.
|
|
35
35
|
|
|
36
|
-
##
|
|
36
|
+
## Example
|
|
37
37
|
<kpt-chart [config]="{
|
|
38
38
|
type: 'line',
|
|
39
|
-
labels: ['
|
|
40
|
-
series: [{ name: '
|
|
39
|
+
labels: ['Jan','Feb','Mar'],
|
|
40
|
+
series: [{ name: 'Sales', data: [12, 19, 7] }],
|
|
41
41
|
interpolation: 'cubic-monotonic',
|
|
42
42
|
legend: { position: 'top' }
|
|
43
43
|
}" />
|
|
44
44
|
|
|
45
|
-
##
|
|
46
|
-
|
|
47
|
-
SCSS
|
|
45
|
+
## Tokens / styling
|
|
46
|
+
The palette comes from the semantic tokens (`--kpt-color-primary|info|success|warning|danger` + the scale).
|
|
47
|
+
SCSS lives in `@layer kpt.components`, classes `kpt-chart__*`. Series colors can be overridden through `series[].color`.
|
|
48
48
|
|
|
49
|
-
##
|
|
50
|
-
|
|
51
|
-
`radarPoints`, `niceScale`, `seriesColor`, `KPT_CHART_PALETTE` —
|
|
49
|
+
## Core (pure TS, optional)
|
|
50
|
+
Exported functions: `linePath`, `areaPath`, `barLayout`, `pieSlices`, `polarSlices`, `radarGrid`,
|
|
51
|
+
`radarPoints`, `niceScale`, `seriesColor`, `KPT_CHART_PALETTE` — for your own extensions or SSR.
|
|
52
|
+
They are re-exported from `@konce-pt/chart`, so an app never has to install that package itself.
|