@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.
Files changed (87) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/charts/src/lib/llms.txt +30 -30
  3. package/fesm2022/konce-pt-angular.mjs +1403 -368
  4. package/fesm2022/konce-pt-angular.mjs.map +1 -1
  5. package/grid/src/lib/llms.txt +48 -48
  6. package/map/src/lib/llms.txt +446 -446
  7. package/package.json +1 -1
  8. package/roadmap/src/lib/llms.txt +74 -74
  9. package/src/lib/accordion/llms.txt +9 -9
  10. package/src/lib/alert/llms.txt +10 -10
  11. package/src/lib/app-shell/llms.txt +59 -59
  12. package/src/lib/auth/llms.txt +104 -0
  13. package/src/lib/autocomplete/llms.txt +8 -8
  14. package/src/lib/avatar/llms.txt +9 -9
  15. package/src/lib/avatar-group/llms.txt +8 -8
  16. package/src/lib/badge/llms.txt +9 -9
  17. package/src/lib/bottom-sheet/llms.txt +14 -14
  18. package/src/lib/breadcrumb/llms.txt +7 -7
  19. package/src/lib/breakpoint/llms.txt +21 -21
  20. package/src/lib/button/llms.txt +34 -34
  21. package/src/lib/button-group/llms.txt +5 -5
  22. package/src/lib/card/llms.txt +27 -27
  23. package/src/lib/carousel/llms.txt +11 -11
  24. package/src/lib/checkbox/llms.txt +7 -7
  25. package/src/lib/chip/llms.txt +6 -6
  26. package/src/lib/chips-input/llms.txt +9 -9
  27. package/src/lib/color-picker/llms.txt +7 -7
  28. package/src/lib/confirm/llms.txt +11 -11
  29. package/src/lib/context-menu/llms.txt +10 -10
  30. package/src/lib/data-table/llms.txt +170 -170
  31. package/src/lib/data-view/llms.txt +8 -8
  32. package/src/lib/date-range/llms.txt +25 -25
  33. package/src/lib/datepicker/llms.txt +48 -48
  34. package/src/lib/dialog/llms.txt +62 -62
  35. package/src/lib/divider/llms.txt +9 -9
  36. package/src/lib/drawer/llms.txt +18 -18
  37. package/src/lib/empty/llms.txt +9 -9
  38. package/src/lib/fab/llms.txt +12 -12
  39. package/src/lib/fieldset/llms.txt +9 -9
  40. package/src/lib/file-upload/llms.txt +10 -10
  41. package/src/lib/form-field/llms.txt +45 -45
  42. package/src/lib/galleria/llms.txt +7 -7
  43. package/src/lib/i18n/llms.txt +21 -21
  44. package/src/lib/icon/llms.txt +20 -20
  45. package/src/lib/icon-button/llms.txt +8 -8
  46. package/src/lib/image/llms.txt +9 -9
  47. package/src/lib/input/llms.txt +27 -25
  48. package/src/lib/input-mask/llms.txt +10 -10
  49. package/src/lib/input-number/llms.txt +34 -34
  50. package/src/lib/input-otp/llms.txt +11 -11
  51. package/src/lib/knob/llms.txt +14 -14
  52. package/src/lib/listbox/llms.txt +8 -8
  53. package/src/lib/megamenu/llms.txt +13 -13
  54. package/src/lib/menu/llms.txt +26 -26
  55. package/src/lib/menubar/llms.txt +10 -10
  56. package/src/lib/meter-group/llms.txt +8 -8
  57. package/src/lib/order-list/llms.txt +8 -8
  58. package/src/lib/paginator/llms.txt +12 -12
  59. package/src/lib/panel/llms.txt +12 -12
  60. package/src/lib/password/llms.txt +12 -9
  61. package/src/lib/pick-list/llms.txt +8 -8
  62. package/src/lib/popover/llms.txt +8 -8
  63. package/src/lib/progress/llms.txt +6 -6
  64. package/src/lib/radio-group/llms.txt +5 -5
  65. package/src/lib/rating/llms.txt +6 -6
  66. package/src/lib/rich-text/llms.txt +51 -32
  67. package/src/lib/scroll-top/llms.txt +7 -7
  68. package/src/lib/select/llms.txt +26 -26
  69. package/src/lib/sidenav/llms.txt +24 -24
  70. package/src/lib/skeleton/llms.txt +6 -6
  71. package/src/lib/slider/llms.txt +17 -17
  72. package/src/lib/speed-dial/llms.txt +7 -7
  73. package/src/lib/spinner/llms.txt +5 -5
  74. package/src/lib/split-button/llms.txt +15 -15
  75. package/src/lib/splitter/llms.txt +11 -11
  76. package/src/lib/stepper/llms.txt +10 -10
  77. package/src/lib/switch/llms.txt +10 -10
  78. package/src/lib/switch-group/llms.txt +16 -16
  79. package/src/lib/tabs/llms.txt +10 -10
  80. package/src/lib/textarea/llms.txt +5 -5
  81. package/src/lib/timeline/llms.txt +10 -10
  82. package/src/lib/toast/llms.txt +10 -10
  83. package/src/lib/toolbar/llms.txt +31 -31
  84. package/src/lib/tooltip/llms.txt +21 -21
  85. package/src/lib/tree/llms.txt +6 -6
  86. package/types/konce-pt-angular.d.ts +316 -7
  87. package/types/konce-pt-angular.d.ts.map +1 -1
@@ -1,37 +1,37 @@
1
1
  # KptGrid / KptCol / KptFlex (@konce-pt/angular/grid)
2
2
 
3
- Ergonomia Angulara nad arkuszem `@konce-pt/grid`. Dyrektywy ustawiają wyłącznie
4
- custom properties inline — nie dodają ani nie usuwają klas, układ przelicza
5
- natywny silnik CSS.
3
+ Angular ergonomics over the `@konce-pt/grid` stylesheet. The directives set nothing but
4
+ inline custom properties — they neither add nor remove classes, and the layout is computed by
5
+ the native CSS engine.
6
6
 
7
7
  Import: `import { KptGrid, KptCol, KptFlex } from '@konce-pt/angular/grid';`
8
- Skrót: `import { KPT_GRID_IMPORTS } from '@konce-pt/angular/grid';` → `imports: [...KPT_GRID_IMPORTS]`
8
+ Shorthand: `import { KPT_GRID_IMPORTS } from '@konce-pt/angular/grid';` → `imports: [...KPT_GRID_IMPORTS]`
9
9
 
10
- Wymaga arkusza: `import '@konce-pt/grid';` (Angular CLI: `angular.json` → `styles[]`).
10
+ Requires the stylesheet: `import '@konce-pt/grid';` (Angular CLI: `angular.json` → `styles[]`).
11
11
 
12
- ## Breakpointy (mobile-first)
12
+ ## Breakpoints (mobile-first)
13
13
  `sm` >= 640px, `md` >= 768px, `lg` >= 1024px, `xl` >= 1280px, `2xl` >= 1536px.
14
- Wartość obowiązuje od swojego breakpointa w górę, dopóki nie nadpisze jej kolejna:
15
- `[kptCol]="12" [kptColLg]="5"` daje 12 na mobile, `sm` i `md`, a 5 dopiero od `lg`.
14
+ A value applies from its breakpoint upward until the next one overrides it:
15
+ `[kptCol]="12" [kptColLg]="5"` gives 12 on mobile, `sm` and `md`, and 5 only from `lg` up.
16
16
 
17
- ## KptGrid — selektor `[kptGrid]`, `kpt-grid`
18
- Klasa hosta: `kpt-grid`.
19
- - `columns`: number — liczba kolumn (domyślnie 12 z CSS). Warianty: `columnsSm`,
17
+ ## KptGrid — selector `[kptGrid]`, `kpt-grid`
18
+ Host class: `kpt-grid`.
19
+ - `columns`: number — the column count (12 by default, from CSS). Variants: `columnsSm`,
20
20
  `columnsMd`, `columnsLg`, `columnsXl`, `columns2xl`.
21
- - `gap`: string — odstęp w obu osiach, np. `'1.5rem'`, `'var(--kpt-space-6)'`.
22
- - `gapX`, `gapY`: string — odstęp w jednej osi, nadpisuje `gap`.
23
- - `container`: boolean — tryb container queries (patrz niżej).
24
-
25
- ## KptCol — selektor `[kptCol]`, `[kptColSm]` … `[kptColSelf]`
26
- - `kptCol`: number | string — rozpiętość, baza mobile-first.
27
- - `kptColSm`, `kptColMd`, `kptColLg`, `kptColXl`, `kptCol2xl` — nadpisania per breakpoint.
28
- - `kptColStart`: number — linia siatki, od której zaczyna się kolumna (1-based); tak robi się offsety.
29
- - `kptColOrder`: number — kolejność wizualna. Nie zmienia DOM: czytniki ekranu
30
- i nawigacja klawiaturą idą za DOM, więc nie przenoś nim treści interaktywnej.
21
+ - `gap`: string — the gap on both axes, e.g. `'1.5rem'`, `'var(--kpt-space-6)'`.
22
+ - `gapX`, `gapY`: string — the gap on one axis, overriding `gap`.
23
+ - `container`: boolean — container query mode (see below).
24
+
25
+ ## KptCol — selector `[kptCol]`, `[kptColSm]` … `[kptColSelf]`
26
+ - `kptCol`: number | string — the span, the mobile-first base.
27
+ - `kptColSm`, `kptColMd`, `kptColLg`, `kptColXl`, `kptCol2xl` — per-breakpoint overrides.
28
+ - `kptColStart`: number — the grid line the column starts at (1-based); this is how offsets are done.
29
+ - `kptColOrder`: number — the visual order. It does not change the DOM: screen readers
30
+ and keyboard navigation follow the DOM, so do not use it to move interactive content around.
31
31
  - `kptColSelf`: string — `align-self` (`start`, `end`, `center`, `stretch`, `baseline`).
32
32
 
33
- ## KptFlex — selektor `[kptFlex]`
34
- Klasa hosta: `kpt-flex`. Te same zmienne i breakpointy co grid, jeden wymiar.
33
+ ## KptFlex — selector `[kptFlex]`
34
+ Host class: `kpt-flex`. The same variables and breakpoints as the grid, in one dimension.
35
35
  - `direction`: 'row' | 'row-reverse' | 'column' | 'column-reverse' (+ `directionMd`, `directionLg`)
36
36
  - `wrap`: 'wrap' | 'nowrap' | 'wrap-reverse'
37
37
  - `justify`, `align` (+ `justifyMd`, `alignMd`): `start` | `end` | `center` | `stretch` |
@@ -39,53 +39,53 @@ Klasa hosta: `kpt-flex`. Te same zmienne i breakpointy co grid, jeden wymiar.
39
39
  - `gap`, `gapX`, `gapY`: string
40
40
  - `container`: boolean
41
41
 
42
- Wartości bez odpowiednika w inputach podaje się klasami utility z `@konce-pt/grid`:
42
+ Values with no matching input are supplied with utility classes from `@konce-pt/grid`:
43
43
  `kpt-grow-1`, `kpt-shrink-0`, `kpt-order-first`, `kpt-self-end`, `kpt-gap-6`.
44
44
 
45
- ## Tryb kontenerowy (`container`)
46
- Spany dzieci reagują na szerokość TEJ siatki zamiast okna — karta w wąskim
47
- sidebarze układa się jednokolumnowo, choć viewport jest szeroki.
45
+ ## Container mode (`container`)
46
+ The children's spans react to the width of THIS grid instead of the window — a card in a narrow
47
+ sidebar lays itself out in a single column even though the viewport is wide.
48
48
 
49
- Ograniczenie CSS, nie paczki: `@container` odpytuje najbliższy kontener przodka,
50
- więc element nie może odpytać własnego. Responsywne są zmienne dziecka (span,
51
- start, order, self); liczba kolumn i odstępy nadal idą za viewportem.
49
+ A CSS limitation, not a package one: `@container` queries the nearest ancestor container,
50
+ so an element cannot query its own. What is responsive are the child's variables (span,
51
+ start, order, self); the column count and the gaps still follow the viewport.
52
52
 
53
- ## Przykłady
53
+ ## Examples
54
54
  <div kptGrid>
55
- <div [kptCol]="12" [kptColSm]="6" [kptColMd]="4">Karta</div>
56
- <div [kptCol]="12" [kptColSm]="6" [kptColMd]="4">Karta</div>
57
- <div [kptCol]="12" [kptColMd]="4">Karta</div>
55
+ <div [kptCol]="12" [kptColSm]="6" [kptColMd]="4">Card</div>
56
+ <div [kptCol]="12" [kptColSm]="6" [kptColMd]="4">Card</div>
57
+ <div [kptCol]="12" [kptColMd]="4">Card</div>
58
58
  </div>
59
59
 
60
- <!-- 18 kolumn bez rekompilacji SCSS -->
60
+ <!-- 18 columns with no SCSS recompilation -->
61
61
  <div kptGrid [columns]="18" gap="1.5rem">
62
62
  <div [kptCol]="18" [kptColLg]="5">Sidebar</div>
63
- <div [kptCol]="18" [kptColLg]="13">Treść</div>
63
+ <div [kptCol]="18" [kptColLg]="13">Content</div>
64
64
  </div>
65
65
 
66
- <!-- offset i zmiana kolejności na mobile -->
66
+ <!-- an offset and a reordering on mobile -->
67
67
  <div kptGrid>
68
68
  <div [kptCol]="6" [kptColStart]="4">start 4, span 6</div>
69
- <div [kptCol]="12" [kptColMd]="6" class="kpt-order-first kpt-order-md-none">drugi w DOM</div>
70
- <div [kptCol]="12" [kptColMd]="6">pierwszy w DOM</div>
69
+ <div [kptCol]="12" [kptColMd]="6" class="kpt-order-first kpt-order-md-none">second in the DOM</div>
70
+ <div [kptCol]="12" [kptColMd]="6">first in the DOM</div>
71
71
  </div>
72
72
 
73
73
  <!-- flexbox -->
74
74
  <div kptFlex direction="column" directionMd="row" justify="space-between" align="center" gap="1rem">
75
- <span>Lewa</span>
76
- <span>Prawa</span>
75
+ <span>Left</span>
76
+ <span>Right</span>
77
77
  </div>
78
78
 
79
- <!-- układ formularza (preset CSS, bez klas na dzieciach) -->
79
+ <!-- a form layout (a CSS preset, no classes on the children) -->
80
80
  <form class="kpt-grid kpt-form-grid">
81
- <kpt-form-field label="Imię"><kpt-input [(value)]="firstName" /></kpt-form-field>
82
- <kpt-form-field label="Nazwisko"><kpt-input [(value)]="lastName" /></kpt-form-field>
83
- <kpt-form-field label="Notatki" class="kpt-col-md-12"><kpt-input [(value)]="notes" /></kpt-form-field>
81
+ <kpt-form-field label="First name"><kpt-input [(value)]="firstName" /></kpt-form-field>
82
+ <kpt-form-field label="Last name"><kpt-input [(value)]="lastName" /></kpt-form-field>
83
+ <kpt-form-field label="Notes" class="kpt-col-md-12"><kpt-input [(value)]="notes" /></kpt-form-field>
84
84
  </form>
85
85
 
86
86
  ## Custom properties
87
- Siatka: `--kpt-grid-columns`, `--kpt-gap`, `--kpt-gap-x`, `--kpt-gap-y`,
87
+ The grid: `--kpt-grid-columns`, `--kpt-gap`, `--kpt-gap-x`, `--kpt-gap-y`,
88
88
  `--kpt-justify`, `--kpt-align`, `--kpt-content`, `--kpt-flex-direction`, `--kpt-flex-wrap`.
89
- Dziecko: `--kpt-col`, `--kpt-col-start`, `--kpt-order`, `--kpt-self`, `--kpt-flex`,
89
+ The child: `--kpt-col`, `--kpt-col-start`, `--kpt-order`, `--kpt-self`, `--kpt-flex`,
90
90
  `--kpt-grow`, `--kpt-shrink`.
91
- Każda ma warianty per breakpoint: `--kpt-col` → `--kpt-col-md`.
91
+ Each one has per-breakpoint variants: `--kpt-col` → `--kpt-col-md`.