@konce-pt/angular 0.7.11 → 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 (83) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/charts/src/lib/llms.txt +30 -30
  3. package/grid/src/lib/llms.txt +48 -48
  4. package/map/src/lib/llms.txt +446 -446
  5. package/package.json +1 -1
  6. package/roadmap/src/lib/llms.txt +74 -74
  7. package/src/lib/accordion/llms.txt +9 -9
  8. package/src/lib/alert/llms.txt +10 -10
  9. package/src/lib/app-shell/llms.txt +59 -59
  10. package/src/lib/auth/llms.txt +58 -58
  11. package/src/lib/autocomplete/llms.txt +8 -8
  12. package/src/lib/avatar/llms.txt +9 -9
  13. package/src/lib/avatar-group/llms.txt +8 -8
  14. package/src/lib/badge/llms.txt +9 -9
  15. package/src/lib/bottom-sheet/llms.txt +14 -14
  16. package/src/lib/breadcrumb/llms.txt +7 -7
  17. package/src/lib/breakpoint/llms.txt +21 -21
  18. package/src/lib/button/llms.txt +34 -34
  19. package/src/lib/button-group/llms.txt +5 -5
  20. package/src/lib/card/llms.txt +27 -27
  21. package/src/lib/carousel/llms.txt +11 -11
  22. package/src/lib/checkbox/llms.txt +7 -7
  23. package/src/lib/chip/llms.txt +6 -6
  24. package/src/lib/chips-input/llms.txt +9 -9
  25. package/src/lib/color-picker/llms.txt +7 -7
  26. package/src/lib/confirm/llms.txt +11 -11
  27. package/src/lib/context-menu/llms.txt +10 -10
  28. package/src/lib/data-table/llms.txt +170 -170
  29. package/src/lib/data-view/llms.txt +8 -8
  30. package/src/lib/date-range/llms.txt +25 -25
  31. package/src/lib/datepicker/llms.txt +48 -48
  32. package/src/lib/dialog/llms.txt +62 -62
  33. package/src/lib/divider/llms.txt +9 -9
  34. package/src/lib/drawer/llms.txt +18 -18
  35. package/src/lib/empty/llms.txt +9 -9
  36. package/src/lib/fab/llms.txt +12 -12
  37. package/src/lib/fieldset/llms.txt +9 -9
  38. package/src/lib/file-upload/llms.txt +10 -10
  39. package/src/lib/form-field/llms.txt +45 -45
  40. package/src/lib/galleria/llms.txt +7 -7
  41. package/src/lib/i18n/llms.txt +21 -21
  42. package/src/lib/icon/llms.txt +20 -20
  43. package/src/lib/icon-button/llms.txt +8 -8
  44. package/src/lib/image/llms.txt +9 -9
  45. package/src/lib/input/llms.txt +27 -27
  46. package/src/lib/input-mask/llms.txt +10 -10
  47. package/src/lib/input-number/llms.txt +34 -34
  48. package/src/lib/input-otp/llms.txt +11 -11
  49. package/src/lib/knob/llms.txt +14 -14
  50. package/src/lib/listbox/llms.txt +8 -8
  51. package/src/lib/megamenu/llms.txt +13 -13
  52. package/src/lib/menu/llms.txt +26 -26
  53. package/src/lib/menubar/llms.txt +10 -10
  54. package/src/lib/meter-group/llms.txt +8 -8
  55. package/src/lib/order-list/llms.txt +8 -8
  56. package/src/lib/paginator/llms.txt +12 -12
  57. package/src/lib/panel/llms.txt +12 -12
  58. package/src/lib/password/llms.txt +12 -12
  59. package/src/lib/pick-list/llms.txt +8 -8
  60. package/src/lib/popover/llms.txt +8 -8
  61. package/src/lib/progress/llms.txt +6 -6
  62. package/src/lib/radio-group/llms.txt +5 -5
  63. package/src/lib/rating/llms.txt +6 -6
  64. package/src/lib/rich-text/llms.txt +50 -50
  65. package/src/lib/scroll-top/llms.txt +7 -7
  66. package/src/lib/select/llms.txt +26 -26
  67. package/src/lib/sidenav/llms.txt +24 -24
  68. package/src/lib/skeleton/llms.txt +6 -6
  69. package/src/lib/slider/llms.txt +17 -17
  70. package/src/lib/speed-dial/llms.txt +7 -7
  71. package/src/lib/spinner/llms.txt +5 -5
  72. package/src/lib/split-button/llms.txt +15 -15
  73. package/src/lib/splitter/llms.txt +11 -11
  74. package/src/lib/stepper/llms.txt +10 -10
  75. package/src/lib/switch/llms.txt +10 -10
  76. package/src/lib/switch-group/llms.txt +16 -16
  77. package/src/lib/tabs/llms.txt +10 -10
  78. package/src/lib/textarea/llms.txt +5 -5
  79. package/src/lib/timeline/llms.txt +10 -10
  80. package/src/lib/toast/llms.txt +10 -10
  81. package/src/lib/toolbar/llms.txt +31 -31
  82. package/src/lib/tooltip/llms.txt +21 -21
  83. package/src/lib/tree/llms.txt +6 -6
@@ -1,31 +1,31 @@
1
- # KptToolbar (kpt-toolbar)
2
-
3
- Górny pasek (toolbar) — pozioma belka na treść aplikacji.
4
- Import: `import { KptToolbar } from '@konce-pt/angular';`
5
-
6
- ## Selektor
7
- `kpt-toolbar`
8
-
9
- ## Wejścia
10
- - `elevated`: boolean — cień pod paskiem
11
- - `wrap`: boolean — pozwala zawartości zawinąć się do kolejnych wierszy. Opcjonalne, bo
12
- zawijanie zmienia zachowanie `kptToolbarSpacer`: w jednowierszowym pasku rozpycha on treść,
13
- a w zawijanym potrafi zepchnąć resztę akcji do nowego wiersza.
14
-
15
- ## Odstęp
16
- Element z atrybutem `kptToolbarSpacer` dostaje `flex: 1` i rozpycha zawartość.
17
-
18
- ## Przykład
19
- <kpt-toolbar elevated>
20
- <strong>Koncept UI</strong>
21
- <span kptToolbarSpacer></span>
22
- <kpt-button variant="text">Wyloguj</kpt-button>
23
- </kpt-toolbar>
24
-
25
- ## Responsywność
26
- Poniżej breakpointa `sm` pasek sam zbiega się do `--kpt-toolbar-height-compact` i węższych
27
- marginesów. Do chowania fragmentów zawartości na wąskim ekranie użyj klas `@konce-pt/grid`,
28
- np. `class="kpt-hide kpt-display-sm-inline"` na podtytule.
29
-
30
- ## Tokeny
31
- `--kpt-toolbar-{bg,fg,border,height,height-compact}`.
1
+ # KptToolbar (kpt-toolbar)
2
+
3
+ A top bar (toolbar) — a horizontal strip for application content.
4
+ Import: `import { KptToolbar } from '@konce-pt/angular';`
5
+
6
+ ## Selector
7
+ `kpt-toolbar`
8
+
9
+ ## Inputs
10
+ - `elevated`: boolean — a shadow under the bar
11
+ - `wrap`: boolean — lets the content wrap onto further rows. Optional, because
12
+ wrapping changes what `kptToolbarSpacer` does: in a single-row bar it pushes content apart,
13
+ while in a wrapping bar it can shove the remaining actions onto a new row.
14
+
15
+ ## Spacer
16
+ An element carrying the `kptToolbarSpacer` attribute gets `flex: 1` and pushes the content apart.
17
+
18
+ ## Example
19
+ <kpt-toolbar elevated>
20
+ <strong>Koncept UI</strong>
21
+ <span kptToolbarSpacer></span>
22
+ <kpt-button variant="text">Sign out</kpt-button>
23
+ </kpt-toolbar>
24
+
25
+ ## Responsiveness
26
+ Below the `sm` breakpoint the bar shrinks itself to `--kpt-toolbar-height-compact` and narrower
27
+ margins. To hide parts of the content on a narrow screen use `@konce-pt/grid` classes,
28
+ e.g. `class="kpt-hide kpt-display-sm-inline"` on a subtitle.
29
+
30
+ ## Tokens
31
+ `--kpt-toolbar-{bg,fg,border,height,height-compact}`.
@@ -1,33 +1,33 @@
1
1
  # KptTooltip (kptTooltip)
2
2
 
3
- Dyrektywa dymka podpowiedzi pokazywanego na hover/focus. Lekka — element dodawany do
4
- `body`, pozycjonowany względem hosta (działa w trybie zoneless).
3
+ A directive for a tooltip shown on hover/focus. Lightweight — the element is appended to
4
+ `body` and positioned relative to the host (works in zoneless mode).
5
5
  Import: `import { KptTooltip } from '@konce-pt/angular';`
6
6
 
7
- ## Selektor (atrybut)
7
+ ## Selector (attribute)
8
8
  `[kptTooltip]`
9
9
 
10
- ## Wejścia
11
- - `kptTooltip`: string (treść, wymagane) — pusta treść wyłącza dymek
12
- - `kptTooltipPosition`: 'top'|'bottom'|'left'|'right' (domyślnie 'top')
13
- - `kptTooltipOnlyWhenTruncated`: boolean (domyślnie false) — pokazuje dymek tylko wtedy,
14
- gdy treść nie mieści się w elemencie (jest ucięta wielokropkiem)
10
+ ## Inputs
11
+ - `kptTooltip`: string (the content, required) — empty content disables the tooltip
12
+ - `kptTooltipPosition`: 'top'|'bottom'|'left'|'right' (default 'top')
13
+ - `kptTooltipOnlyWhenTruncated`: boolean (default false) — shows the tooltip only when
14
+ the content does not fit the element (it is cut off with an ellipsis)
15
15
 
16
- ## Dymek tylko dla przyciętego tekstu
17
- Przy `kptTooltipOnlyWhenTruncated` podpowiedź nie powtarza tekstu, który i tak widać.
18
- Przepełnienie sprawdzane jest na hoście **oraz jego bezpośrednich dzieciach** — `text-overflow:
19
- ellipsis` siedzi zwykle na wewnętrznym elemencie, a taki element kurczy się do dostępnej szerokości
20
- i nie rozpycha rodzica, więc pomiar samego hosta niczego by nie wykrył. Gdy tekst jest głębiej niż
21
- jeden poziom, dyrektywę trzeba osadzić na jego bezpośrednim rodzicu.
16
+ ## A tooltip only for truncated text
17
+ With `kptTooltipOnlyWhenTruncated` the tooltip does not repeat text that is visible anyway.
18
+ Overflow is measured on the host **and on its direct children** — `text-overflow:
19
+ ellipsis` usually sits on an inner element, and such an element shrinks to the available width
20
+ without stretching its parent, so measuring the host alone would detect nothing. When the text is deeper
21
+ than one level, put the directive on its direct parent.
22
22
 
23
- Sprawdzenie następuje w chwili najechania (lub focusu), nie przy renderze — wynik jest więc zawsze
24
- aktualny po zmianie szerokości, powiększenia czy układu, bez `ResizeObserver`.
23
+ The check happens at hover (or focus) time, not at render — so the result is always
24
+ current after a change in width, zoom or layout, with no `ResizeObserver`.
25
25
 
26
26
  <span class="ellipsis" [kptTooltip]="name" kptTooltipOnlyWhenTruncated>{{ name }}</span>
27
27
 
28
- ## Przykład
29
- <kpt-button kptTooltip="Zapisz zmiany" kptTooltipPosition="bottom">Zapisz</kpt-button>
30
- <span kptTooltip="Więcej informacji">?</span>
28
+ ## Example
29
+ <kpt-button kptTooltip="Save changes" kptTooltipPosition="bottom">Save</kpt-button>
30
+ <span kptTooltip="More information">?</span>
31
31
 
32
- ## Tokeny
33
- Tło `--kpt-color-on-surface`, tekst `--kpt-color-surface` (kontrast w obu motywach), `--kpt-elevation-2`.
32
+ ## Tokens
33
+ Background `--kpt-color-on-surface`, text `--kpt-color-surface` (contrast in both themes), `--kpt-elevation-2`.
@@ -1,17 +1,17 @@
1
1
  # KptTree (kpt-tree)
2
2
 
3
- Drzewo hierarchiczne (rozwijanie, zaznaczanie, ikony). Rekurencyjny render.
3
+ A hierarchical tree (expanding, selection, icons). Rendered recursively.
4
4
  Import: `import { KptTree, KptTreeNode } from '@konce-pt/angular';`
5
5
 
6
- ## Model węzła (KptTreeNode)
6
+ ## The node model (KptTreeNode)
7
7
  `{ label: string; value?: T; icon?: string; children?: KptTreeNode[]; expanded?: boolean; disabled?: boolean }`
8
8
 
9
- ## Wejścia / wyjścia
9
+ ## Inputs / outputs
10
10
  - `nodes`: KptTreeNode[]; `selectable`: boolean
11
11
  - `selected`: model<KptTreeNode|null>; `nodeClick`: output<KptTreeNode>
12
12
 
13
- ## Przykład
13
+ ## Example
14
14
  <kpt-tree [nodes]="tree" selectable [(selected)]="node" (nodeClick)="open($event)" />
15
15
 
16
- ## Tokeny
17
- Wiersz hover `--kpt-color-surface-variant`; zaznaczony `--kpt-color-primary`.
16
+ ## Tokens
17
+ Row hover `--kpt-color-surface-variant`; the selected row `--kpt-color-primary`.