@konce-pt/angular 0.7.10 → 0.7.12
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 +44 -0
- package/charts/src/lib/llms.txt +30 -30
- package/fesm2022/konce-pt-angular.mjs +1403 -368
- package/fesm2022/konce-pt-angular.mjs.map +1 -1
- package/grid/src/lib/llms.txt +48 -48
- package/map/src/lib/llms.txt +446 -446
- package/package.json +1 -1
- package/roadmap/src/lib/llms.txt +74 -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 +104 -0
- 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 +48 -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 +21 -21
- package/src/lib/icon/llms.txt +20 -20
- package/src/lib/icon-button/llms.txt +8 -8
- package/src/lib/image/llms.txt +9 -9
- package/src/lib/input/llms.txt +27 -25
- 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 -9
- 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 +6 -6
- package/src/lib/rich-text/llms.txt +51 -32
- 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.d.ts +316 -7
- package/types/konce-pt-angular.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @konce-pt/angular
|
|
2
2
|
|
|
3
|
+
## 0.7.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Dokumentacja `llms.txt` jest teraz po angielsku i to ona jest wersją kanoniczną. 81 plików
|
|
8
|
+
z `packages/angular/**` trafia do tarballa npm, czyli do `node_modules` u konsumentów
|
|
9
|
+
biblioteki, gdzie czyta je ich asystent — polskie API sheety były ostatnią niekonsekwencją
|
|
10
|
+
w paczce, której README i opisy w `package.json` są angielskie od początku.
|
|
11
|
+
|
|
12
|
+
Dotychczasowa polska treść żyje w repozytorium obok, jako `llms-pl.txt`, i do paczki nie
|
|
13
|
+
trafia. Wersja angielska przejmuje istniejącą nazwę pliku, więc dla konsumenta nic się nie
|
|
14
|
+
przesuwa: `node_modules/@konce-pt/angular/**/llms.txt` leży dokładnie tam, gdzie leżał.
|
|
15
|
+
|
|
16
|
+
Identyfikatory, tokeny i klucze i18n przechodzą bez zmian — przetłumaczone są proza,
|
|
17
|
+
komentarze i napisy widoczne dla użytkownika w przykładach. Polszczyzna zostaje tam, gdzie
|
|
18
|
+
jest tematem: walidatory NIP/REGON/PESEL, `displayFormat: 'pl'` i przykłady słownika PL.
|
|
19
|
+
|
|
20
|
+
## 0.7.11
|
|
21
|
+
|
|
22
|
+
### Minor Changes
|
|
23
|
+
|
|
24
|
+
- 1fd009a: Nowy komponent `kpt-auth` — ekran logowania, rejestracji i odzyskiwania hasła w jednym miejscu.
|
|
25
|
+
Dwa układy (przesuwany panel promocyjny i split-screen), trzy tryby, walidacja na Signal Forms
|
|
26
|
+
i lista dostawców zewnętrznych: `providers` + `providerSelect`, układ listy albo siatki ikon,
|
|
27
|
+
a dla logo, których nie da się oddać ikoną z rejestru — szablon `ng-template[kptAuthProvider]`.
|
|
28
|
+
Sloty `[kptAuthBrand]`, `[kptAuthPromo]`, `[kptAuthSso]`, `[kptAuthFields]`, `[kptAuthFooter]`.
|
|
29
|
+
|
|
30
|
+
W drzewie żyje wyłącznie formularz aktywnego trybu (żadnych elementów niewidocznych, ale
|
|
31
|
+
fokusowalnych), nagłówek panelu dostaje fokus po zmianie trybu, a animacje respektują
|
|
32
|
+
`prefers-reduced-motion`.
|
|
33
|
+
|
|
34
|
+
Przy okazji: `kpt-input` dostaje wejście `autocomplete`, a `kpt-password` — `autocomplete` (dotąd
|
|
35
|
+
zaszyte na `current-password`, błędne w rejestracji i resecie) oraz `id`, bez którego
|
|
36
|
+
`kpt-form-field [controlId]` nie wiązał etykiety z polem.
|
|
37
|
+
|
|
38
|
+
- 2b63b59: kpt-rich-text: wcięcia list — Tab / Shift+Tab w punkcie listy zagnieżdża go i cofa o poziom
|
|
39
|
+
(zamiast wyprowadzać fokus z edytora), a pasek dostaje narzędzia `indent` / `outdent`.
|
|
40
|
+
Głębokość ogranicza nowe wejście `maxListLevel` (domyślnie 6). Tab / Shift+Tab w komórce tabeli
|
|
41
|
+
przechodzi do sąsiedniej komórki. Poza listą i tabelą Tab pozostaje natywny, żeby edytor nie był
|
|
42
|
+
pułapką klawiaturową. Nowe ikony `indent-increase` / `indent-decrease` w zestawie wbudowanym.
|
|
43
|
+
|
|
44
|
+
Znaczniki zagnieżdżonych list w edytorze cyklują co 3 poziomy (`ol`: 1. → a. → i., `ul`: • → ○ → ▪); ten sam cykl wystawia
|
|
45
|
+
`@konce-pt/styles` jako `.kpt-rich-content` dla treści renderowanej poza edytorem.
|
|
46
|
+
|
|
3
47
|
## 0.7.10
|
|
4
48
|
|
|
5
49
|
### Minor Changes
|
package/charts/src/lib/llms.txt
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
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 is plain TypeScript (portable to React in stage 2).
|
|
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.
|