@konce-pt/angular 0.12.0 → 0.15.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.
- package/CHANGELOG.md +617 -369
- package/README.md +111 -55
- package/charts/src/lib/llms.txt +17 -17
- package/chat/src/lib/llms.txt +61 -35
- package/fesm2022/konce-pt-angular-charts.mjs +11 -11
- package/fesm2022/konce-pt-angular-charts.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-chat.mjs +236 -127
- package/fesm2022/konce-pt-angular-chat.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-grid.mjs +16 -16
- package/fesm2022/konce-pt-angular-grid.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-icons.mjs +5 -5
- package/fesm2022/konce-pt-angular-icons.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-map.mjs +308 -280
- package/fesm2022/konce-pt-angular-map.mjs.map +1 -1
- package/fesm2022/konce-pt-angular-roadmap.mjs +23 -23
- package/fesm2022/konce-pt-angular-roadmap.mjs.map +1 -1
- package/fesm2022/konce-pt-angular.mjs +4416 -2132
- package/fesm2022/konce-pt-angular.mjs.map +1 -1
- package/grid/src/lib/llms.txt +18 -18
- package/map/src/lib/llms.txt +142 -141
- package/package.json +14 -12
- package/roadmap/src/lib/llms.txt +27 -27
- package/src/lib/accordion/llms.txt +18 -6
- package/src/lib/alert/llms.txt +5 -5
- package/src/lib/app-shell/llms.txt +23 -21
- package/src/lib/auth/llms.txt +22 -22
- package/src/lib/autocomplete/llms.txt +15 -4
- package/src/lib/avatar/llms.txt +3 -3
- package/src/lib/avatar-group/llms.txt +5 -5
- package/src/lib/backdrop/llms.txt +35 -35
- package/src/lib/badge/llms.txt +7 -7
- package/src/lib/bottom-sheet/llms.txt +4 -4
- package/src/lib/breadcrumb/llms.txt +2 -2
- package/src/lib/breakpoint/llms.txt +8 -8
- package/src/lib/button/llms.txt +26 -18
- package/src/lib/button-group/llms.txt +37 -31
- package/src/lib/card/llms.txt +19 -19
- package/src/lib/carousel/llms.txt +6 -6
- package/src/lib/checkbox/llms.txt +15 -3
- package/src/lib/chip/llms.txt +6 -6
- package/src/lib/chips-input/llms.txt +11 -4
- package/src/lib/color-picker/llms.txt +4 -4
- package/src/lib/confirm/llms.txt +5 -5
- package/src/lib/context-menu/llms.txt +4 -4
- package/src/lib/data-table/llms.txt +280 -239
- package/src/lib/data-view/llms.txt +25 -4
- package/src/lib/date-range/llms.txt +27 -27
- package/src/lib/datepicker/llms.txt +34 -34
- package/src/lib/dialog/llms.txt +22 -28
- package/src/lib/divider/llms.txt +2 -2
- package/src/lib/drawer/llms.txt +7 -7
- package/src/lib/empty/llms.txt +4 -4
- package/src/lib/fab/llms.txt +6 -2
- package/src/lib/fieldset/llms.txt +22 -4
- package/src/lib/file-upload/llms.txt +1 -1
- package/src/lib/form-field/llms.txt +33 -19
- package/src/lib/galleria/llms.txt +3 -3
- package/src/lib/i18n/llms.txt +9 -9
- package/src/lib/icon/llms.txt +8 -8
- package/src/lib/icon-button/llms.txt +8 -3
- package/src/lib/image/llms.txt +4 -4
- package/src/lib/input/llms.txt +21 -7
- package/src/lib/input-mask/llms.txt +2 -2
- package/src/lib/input-number/llms.txt +14 -14
- package/src/lib/input-otp/llms.txt +6 -6
- package/src/lib/knob/llms.txt +11 -6
- package/src/lib/listbox/llms.txt +6 -6
- package/src/lib/loader/llms.txt +72 -0
- package/src/lib/megamenu/llms.txt +7 -7
- package/src/lib/mention/llms.txt +15 -15
- package/src/lib/menu/llms.txt +12 -12
- package/src/lib/menubar/llms.txt +7 -7
- package/src/lib/meter-group/llms.txt +7 -7
- package/src/lib/order-list/llms.txt +18 -6
- package/src/lib/paginator/llms.txt +5 -5
- package/src/lib/panel/llms.txt +20 -8
- package/src/lib/password/llms.txt +14 -6
- package/src/lib/peek/llms.txt +10 -10
- package/src/lib/pick-list/llms.txt +26 -6
- package/src/lib/popover/llms.txt +7 -7
- package/src/lib/progress/llms.txt +16 -16
- package/src/lib/radio-group/llms.txt +10 -3
- package/src/lib/rating/llms.txt +13 -6
- package/src/lib/rich-text/llms.txt +34 -29
- package/src/lib/scroll-top/llms.txt +3 -3
- package/src/lib/select/llms.txt +20 -13
- package/src/lib/sidenav/llms.txt +8 -8
- package/src/lib/slider/llms.txt +21 -8
- package/src/lib/speech/llms.txt +108 -0
- package/src/lib/speed-dial/llms.txt +9 -3
- package/src/lib/spinner/llms.txt +2 -2
- package/src/lib/split-button/llms.txt +14 -8
- package/src/lib/splitter/llms.txt +8 -8
- package/src/lib/stepper/llms.txt +24 -8
- package/src/lib/switch/llms.txt +10 -3
- package/src/lib/switch-group/llms.txt +10 -10
- package/src/lib/tabs/llms.txt +5 -5
- package/src/lib/textarea/llms.txt +16 -5
- package/src/lib/timeline/llms.txt +1 -1
- package/src/lib/toast/llms.txt +33 -5
- package/src/lib/toolbar/llms.txt +3 -3
- package/src/lib/tooltip/llms.txt +10 -10
- package/src/lib/tree/llms.txt +19 -6
- package/src/lib/update/llms.txt +52 -0
- package/types/konce-pt-angular-charts.d.ts +2 -2
- package/types/konce-pt-angular-chat.d.ts +87 -44
- package/types/konce-pt-angular-chat.d.ts.map +1 -1
- package/types/konce-pt-angular-grid.d.ts +14 -14
- package/types/konce-pt-angular-icons.d.ts +3 -3
- package/types/konce-pt-angular-map.d.ts +137 -121
- package/types/konce-pt-angular-map.d.ts.map +1 -1
- package/types/konce-pt-angular-roadmap.d.ts +13 -13
- package/types/konce-pt-angular.d.ts +1391 -628
- package/types/konce-pt-angular.d.ts.map +1 -1
package/grid/src/lib/llms.txt
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
# KptGrid / KptCol / KptFlex (@konce-pt/angular/grid)
|
|
2
2
|
|
|
3
3
|
Angular ergonomics over the `@konce-pt/grid` stylesheet. The directives set nothing but
|
|
4
|
-
inline custom properties
|
|
4
|
+
inline custom properties - they neither add nor remove classes, and the layout is computed by
|
|
5
5
|
the native CSS engine.
|
|
6
6
|
|
|
7
7
|
Import: `import { KptGrid, KptCol, KptFlex } from '@konce-pt/angular/grid';`
|
|
8
|
-
Shorthand: `import { KPT_GRID_IMPORTS } from '@konce-pt/angular/grid';`
|
|
8
|
+
Shorthand: `import { KPT_GRID_IMPORTS } from '@konce-pt/angular/grid';` -> `imports: [...KPT_GRID_IMPORTS]`
|
|
9
9
|
|
|
10
|
-
Requires the stylesheet: `import '@konce-pt/grid';` (Angular CLI: `angular.json`
|
|
10
|
+
Requires the stylesheet: `import '@konce-pt/grid';` (Angular CLI: `angular.json` -> `styles[]`).
|
|
11
11
|
|
|
12
12
|
## Breakpoints (mobile-first)
|
|
13
13
|
`sm` >= 640px, `md` >= 768px, `lg` >= 1024px, `xl` >= 1280px, `2xl` >= 1536px.
|
|
14
14
|
A value applies from its breakpoint upward until the next one overrides it:
|
|
15
15
|
`[kptCol]="12" [kptColLg]="5"` gives 12 on mobile, `sm` and `md`, and 5 only from `lg` up.
|
|
16
16
|
|
|
17
|
-
## KptGrid
|
|
17
|
+
## KptGrid - selector `[kptGrid]`, `kpt-grid`
|
|
18
18
|
Host class: `kpt-grid`.
|
|
19
|
-
- `columns`: number
|
|
19
|
+
- `columns`: number - the column count (12 by default, from CSS). Variants: `columnsSm`,
|
|
20
20
|
`columnsMd`, `columnsLg`, `columnsXl`, `columns2xl`.
|
|
21
|
-
- `gap`: string
|
|
22
|
-
- `gapX`, `gapY`: string
|
|
23
|
-
- `container`: boolean
|
|
24
|
-
|
|
25
|
-
## KptCol
|
|
26
|
-
- `kptCol`: number | string
|
|
27
|
-
- `kptColSm`, `kptColMd`, `kptColLg`, `kptColXl`, `kptCol2xl`
|
|
28
|
-
- `kptColStart`: number
|
|
29
|
-
- `kptColOrder`: number
|
|
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
30
|
and keyboard navigation follow the DOM, so do not use it to move interactive content around.
|
|
31
|
-
- `kptColSelf`: string
|
|
31
|
+
- `kptColSelf`: string - `align-self` (`start`, `end`, `center`, `stretch`, `baseline`).
|
|
32
32
|
|
|
33
|
-
## KptFlex
|
|
33
|
+
## KptFlex - selector `[kptFlex]`
|
|
34
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'
|
|
@@ -43,7 +43,7 @@ Values with no matching input are supplied with utility classes from `@konce-pt/
|
|
|
43
43
|
`kpt-grow-1`, `kpt-shrink-0`, `kpt-order-first`, `kpt-self-end`, `kpt-gap-6`.
|
|
44
44
|
|
|
45
45
|
## Container mode (`container`)
|
|
46
|
-
The children's spans react to the width of THIS grid instead of the window
|
|
46
|
+
The children's spans react to the width of THIS grid instead of the window - a card in a narrow
|
|
47
47
|
sidebar lays itself out in a single column even though the viewport is wide.
|
|
48
48
|
|
|
49
49
|
A CSS limitation, not a package one: `@container` queries the nearest ancestor container,
|
|
@@ -88,4 +88,4 @@ 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
89
|
The child: `--kpt-col`, `--kpt-col-start`, `--kpt-order`, `--kpt-self`, `--kpt-flex`,
|
|
90
90
|
`--kpt-grow`, `--kpt-shrink`.
|
|
91
|
-
Each one has per-breakpoint variants: `--kpt-col`
|
|
91
|
+
Each one has per-breakpoint variants: `--kpt-col` -> `--kpt-col-md`.
|