@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.
Files changed (103) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/charts/src/lib/llms.txt +31 -30
  3. package/fesm2022/konce-pt-angular-charts.mjs +7 -498
  4. package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
  5. package/fesm2022/konce-pt-angular-icons.mjs +7 -5136
  6. package/fesm2022/konce-pt-angular-icons.mjs.map +1 -1
  7. package/fesm2022/konce-pt-angular-map.mjs +14 -1298
  8. package/fesm2022/konce-pt-angular-map.mjs.map +1 -1
  9. package/fesm2022/konce-pt-angular-roadmap.mjs +8 -1269
  10. package/fesm2022/konce-pt-angular-roadmap.mjs.map +1 -1
  11. package/fesm2022/konce-pt-angular.mjs +179 -1455
  12. package/fesm2022/konce-pt-angular.mjs.map +1 -1
  13. package/grid/src/lib/llms.txt +48 -48
  14. package/map/src/lib/llms.txt +447 -446
  15. package/package.json +9 -2
  16. package/roadmap/src/lib/llms.txt +75 -74
  17. package/src/lib/accordion/llms.txt +9 -9
  18. package/src/lib/alert/llms.txt +10 -10
  19. package/src/lib/app-shell/llms.txt +59 -59
  20. package/src/lib/auth/llms.txt +58 -58
  21. package/src/lib/autocomplete/llms.txt +8 -8
  22. package/src/lib/avatar/llms.txt +9 -9
  23. package/src/lib/avatar-group/llms.txt +8 -8
  24. package/src/lib/badge/llms.txt +9 -9
  25. package/src/lib/bottom-sheet/llms.txt +14 -14
  26. package/src/lib/breadcrumb/llms.txt +7 -7
  27. package/src/lib/breakpoint/llms.txt +21 -21
  28. package/src/lib/button/llms.txt +34 -34
  29. package/src/lib/button-group/llms.txt +5 -5
  30. package/src/lib/card/llms.txt +27 -27
  31. package/src/lib/carousel/llms.txt +11 -11
  32. package/src/lib/checkbox/llms.txt +7 -7
  33. package/src/lib/chip/llms.txt +6 -6
  34. package/src/lib/chips-input/llms.txt +9 -9
  35. package/src/lib/color-picker/llms.txt +7 -7
  36. package/src/lib/confirm/llms.txt +11 -11
  37. package/src/lib/context-menu/llms.txt +10 -10
  38. package/src/lib/data-table/llms.txt +170 -170
  39. package/src/lib/data-view/llms.txt +8 -8
  40. package/src/lib/date-range/llms.txt +25 -25
  41. package/src/lib/datepicker/llms.txt +52 -48
  42. package/src/lib/dialog/llms.txt +62 -62
  43. package/src/lib/divider/llms.txt +9 -9
  44. package/src/lib/drawer/llms.txt +18 -18
  45. package/src/lib/empty/llms.txt +9 -9
  46. package/src/lib/fab/llms.txt +12 -12
  47. package/src/lib/fieldset/llms.txt +9 -9
  48. package/src/lib/file-upload/llms.txt +10 -10
  49. package/src/lib/form-field/llms.txt +45 -45
  50. package/src/lib/galleria/llms.txt +7 -7
  51. package/src/lib/i18n/llms.txt +28 -22
  52. package/src/lib/icon/llms.txt +20 -20
  53. package/src/lib/icon-button/llms.txt +9 -8
  54. package/src/lib/image/llms.txt +9 -9
  55. package/src/lib/input/llms.txt +27 -27
  56. package/src/lib/input-mask/llms.txt +10 -10
  57. package/src/lib/input-number/llms.txt +34 -34
  58. package/src/lib/input-otp/llms.txt +11 -11
  59. package/src/lib/knob/llms.txt +14 -14
  60. package/src/lib/listbox/llms.txt +8 -8
  61. package/src/lib/megamenu/llms.txt +13 -13
  62. package/src/lib/menu/llms.txt +26 -26
  63. package/src/lib/menubar/llms.txt +10 -10
  64. package/src/lib/meter-group/llms.txt +8 -8
  65. package/src/lib/order-list/llms.txt +8 -8
  66. package/src/lib/paginator/llms.txt +12 -12
  67. package/src/lib/panel/llms.txt +12 -12
  68. package/src/lib/password/llms.txt +12 -12
  69. package/src/lib/pick-list/llms.txt +8 -8
  70. package/src/lib/popover/llms.txt +8 -8
  71. package/src/lib/progress/llms.txt +6 -6
  72. package/src/lib/radio-group/llms.txt +5 -5
  73. package/src/lib/rating/llms.txt +10 -6
  74. package/src/lib/rich-text/llms.txt +50 -50
  75. package/src/lib/scroll-top/llms.txt +7 -7
  76. package/src/lib/select/llms.txt +26 -26
  77. package/src/lib/sidenav/llms.txt +24 -24
  78. package/src/lib/skeleton/llms.txt +6 -6
  79. package/src/lib/slider/llms.txt +17 -17
  80. package/src/lib/speed-dial/llms.txt +7 -7
  81. package/src/lib/spinner/llms.txt +5 -5
  82. package/src/lib/split-button/llms.txt +15 -15
  83. package/src/lib/splitter/llms.txt +11 -11
  84. package/src/lib/stepper/llms.txt +10 -10
  85. package/src/lib/switch/llms.txt +10 -10
  86. package/src/lib/switch-group/llms.txt +16 -16
  87. package/src/lib/tabs/llms.txt +10 -10
  88. package/src/lib/textarea/llms.txt +5 -5
  89. package/src/lib/timeline/llms.txt +10 -10
  90. package/src/lib/toast/llms.txt +10 -10
  91. package/src/lib/toolbar/llms.txt +31 -31
  92. package/src/lib/tooltip/llms.txt +21 -21
  93. package/src/lib/tree/llms.txt +6 -6
  94. package/types/konce-pt-angular-charts.d.ts +10 -199
  95. package/types/konce-pt-angular-charts.d.ts.map +1 -1
  96. package/types/konce-pt-angular-icons.d.ts +2 -4
  97. package/types/konce-pt-angular-icons.d.ts.map +1 -1
  98. package/types/konce-pt-angular-map.d.ts +4 -609
  99. package/types/konce-pt-angular-map.d.ts.map +1 -1
  100. package/types/konce-pt-angular-roadmap.d.ts +6 -541
  101. package/types/konce-pt-angular-roadmap.d.ts.map +1 -1
  102. package/types/konce-pt-angular.d.ts +57 -529
  103. 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
@@ -1,51 +1,52 @@
1
1
  # KptChart (kpt-chart)
2
2
 
3
- Wykres SVG w czystym Angularze (sygnały, zoneless), bez zależności typu Chart.js/D3.
4
- Rdzeń obliczeń to czysty TypeScript (przenośny do React w Fazie 2).
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
- ## Typy wykresów (config.type)
8
- - `line` — liniowy; interpolacja `linear` | `cubic` | `cubic-monotonic`; `area?: boolean`, `points?: boolean`,
9
- `crosshair?: boolean` (hover punktu → pionowa prowadnica + podświetlona pigułka etykiety osi X)
10
- - `bar` — słupkowy; `orientation: 'vertical' | 'horizontal'`, `borderRadius?: px`
11
- - `pie` — kołowy
12
- - `doughnut` — pierścieniowy; `innerRadius?: 0..1` (domyślnie 0.6)
13
- - `polarArea` — równe kąty, promień ∝ wartość
14
- - `radar` — osie promieniowe + wielokąt serii
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
- ## Wejścia
17
- - `config: KptChartConfig` (wymagane) — jeden obiekt sterujący całością
18
- - `width` / `height`: jednostki viewBoxa (600×360); wykres skaluje się do kontenera
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 (skrót)
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
- ## Interakcje
28
- - Hover na punkcie/słupku/wycinku → tooltip (seria, etykieta, wartość); dymek clampowany do krawędzi.
29
- - Klik w legendę → ukrycie/pokazanie serii (pie/doughnut/polar: ukrycie wycinka) z przeliczeniem skali.
30
- - Hover na legendzie → podświetlenie serii, wygaszenie pozostałych.
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
- ## Animacje
33
- Linia: `stroke-dasharray/offset`. Słupki: `scaleY/scaleX` (origin od osi). Wycinki/radar: `scale` od środka.
34
- Stagger `delay = index * stagger`. Wyłączane przez `animation.enabled=false` i `prefers-reduced-motion`.
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
- ## Przykład
36
+ ## Example
37
37
  <kpt-chart [config]="{
38
38
  type: 'line',
39
- labels: ['Sty','Lut','Mar'],
40
- series: [{ name: 'Sprzedaż', data: [12, 19, 7] }],
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
- ## Tokeny / stylowanie
46
- Paleta z tokenów semantycznych (`--kpt-color-primary|info|success|warning|danger` + skala).
47
- SCSS w `@layer kpt.components`, klasy `kpt-chart__*`. Kolory serii nadpisywalne przez `series[].color`.
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
- ## Rdzeń (pure TS, opcjonalnie)
50
- Eksport funkcji: `linePath`, `areaPath`, `barLayout`, `pieSlices`, `polarSlices`, `radarGrid`,
51
- `radarPoints`, `niceScale`, `seriesColor`, `KPT_CHART_PALETTE` — do własnych rozszerzeń/SSR.
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.