@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.
- package/CHANGELOG.md +17 -0
- package/charts/src/lib/llms.txt +30 -30
- 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 +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 +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 -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 +6 -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/src/lib/toolbar/llms.txt
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
# KptToolbar (kpt-toolbar)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Import: `import { KptToolbar } from '@konce-pt/angular';`
|
|
5
|
-
|
|
6
|
-
##
|
|
7
|
-
`kpt-toolbar`
|
|
8
|
-
|
|
9
|
-
##
|
|
10
|
-
- `elevated`: boolean —
|
|
11
|
-
- `wrap`: boolean —
|
|
12
|
-
|
|
13
|
-
a
|
|
14
|
-
|
|
15
|
-
##
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
##
|
|
19
|
-
<kpt-toolbar elevated>
|
|
20
|
-
<strong>Koncept UI</strong>
|
|
21
|
-
<span kptToolbarSpacer></span>
|
|
22
|
-
<kpt-button variant="text">
|
|
23
|
-
</kpt-toolbar>
|
|
24
|
-
|
|
25
|
-
##
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
##
|
|
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}`.
|
package/src/lib/tooltip/llms.txt
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
# KptTooltip (kptTooltip)
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
`body
|
|
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
|
-
##
|
|
7
|
+
## Selector (attribute)
|
|
8
8
|
`[kptTooltip]`
|
|
9
9
|
|
|
10
|
-
##
|
|
11
|
-
- `kptTooltip`: string (
|
|
12
|
-
- `kptTooltipPosition`: 'top'|'bottom'|'left'|'right' (
|
|
13
|
-
- `kptTooltipOnlyWhenTruncated`: boolean (
|
|
14
|
-
|
|
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
|
-
##
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
ellipsis`
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
24
|
-
|
|
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
|
-
##
|
|
29
|
-
<kpt-button kptTooltip="
|
|
30
|
-
<span kptTooltip="
|
|
28
|
+
## Example
|
|
29
|
+
<kpt-button kptTooltip="Save changes" kptTooltipPosition="bottom">Save</kpt-button>
|
|
30
|
+
<span kptTooltip="More information">?</span>
|
|
31
31
|
|
|
32
|
-
##
|
|
33
|
-
|
|
32
|
+
## Tokens
|
|
33
|
+
Background `--kpt-color-on-surface`, text `--kpt-color-surface` (contrast in both themes), `--kpt-elevation-2`.
|
package/src/lib/tree/llms.txt
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# KptTree (kpt-tree)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A hierarchical tree (expanding, selection, icons). Rendered recursively.
|
|
4
4
|
Import: `import { KptTree, KptTreeNode } from '@konce-pt/angular';`
|
|
5
5
|
|
|
6
|
-
##
|
|
6
|
+
## The node model (KptTreeNode)
|
|
7
7
|
`{ label: string; value?: T; icon?: string; children?: KptTreeNode[]; expanded?: boolean; disabled?: boolean }`
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Inputs / outputs
|
|
10
10
|
- `nodes`: KptTreeNode[]; `selectable`: boolean
|
|
11
11
|
- `selected`: model<KptTreeNode|null>; `nodeClick`: output<KptTreeNode>
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## Example
|
|
14
14
|
<kpt-tree [nodes]="tree" selectable [(selected)]="node" (nodeClick)="open($event)" />
|
|
15
15
|
|
|
16
|
-
##
|
|
17
|
-
|
|
16
|
+
## Tokens
|
|
17
|
+
Row hover `--kpt-color-surface-variant`; the selected row `--kpt-color-primary`.
|