@mk-kit/mcp 0.53.0 → 0.54.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/data/api.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@mk-kit/ui",
3
- "version": "0.53.0",
3
+ "version": "0.54.0",
4
4
  "site": "https://mk-kit.dev",
5
5
  "entries": [
6
6
  {
@@ -17792,7 +17792,7 @@
17792
17792
  "exports": [
17793
17793
  {
17794
17794
  "name": "MkKanban",
17795
- "description": "Kanban board — a horizontal row of columns whose cards can be dragged and\nreordered within a column or transferred between columns. Built on the dnd\ngroup's connected `[mkDropList]` / `[mkDrag]` directives, so it inherits both\npointer and keyboard dragging (WCAG 2.1.1) for free.\n\nBind `columns` two-way; the model is updated immutably on each drop. Project\nan `<ng-template>` to render custom card content — it receives the card as\n`$implicit` and the owning column as `column`:\n\n```html\n<mk-kanban [(columns)]=\"board\" (cardMoved)=\"onMoved($event)\">\n <ng-template #cardTemplate let-card let-column=\"column\">\n <strong>{{ card.title }}</strong>\n </ng-template>\n</mk-kanban>\n```",
17795
+ "description": "Kanban board — a horizontal row of columns whose cards can be dragged and\nreordered within a column or transferred between columns. Built on the dnd\ngroup's connected `[mkDropList]` / `[mkDrag]` directives, so it inherits both\npointer and keyboard dragging (WCAG 2.1.1) for free.\n\nBind `columns` two-way; the model is updated immutably on each drop. Project\nan `<ng-template>` to render custom card content — it receives the card as\n`$implicit` and the owning column as `column`. Column headers and footers\ntake their own templates (`mkKanbanColumnHeader` / `mkKanbanColumnFooter`,\ncontext `{ $implicit: column, index, count }`):\n\n```html\n<mk-kanban [(columns)]=\"board\" (cardMoved)=\"onMoved($event)\">\n <ng-template mkKanbanColumnHeader let-column let-count=\"count\">\n <strong>{{ column.title }}</strong> {{ count }}\n <button (click)=\"rename(column)\">Rename</button>\n </ng-template>\n <ng-template mkKanbanCard let-card let-column=\"column\">\n <strong>{{ card.title }}</strong>\n </ng-template>\n <ng-template mkKanbanColumnFooter let-column>\n <button (click)=\"add(column)\">+ Card</button>\n </ng-template>\n</mk-kanban>\n```",
17796
17796
  "file": "projects/mk-kit/kanban/kanban.ts",
17797
17797
  "kind": "component",
17798
17798
  "selector": "mk-kanban",
@@ -17832,6 +17832,51 @@
17832
17832
  "queries": [],
17833
17833
  "docs": "/components/data"
17834
17834
  },
17835
+ {
17836
+ "name": "MkKanbanCardDef",
17837
+ "description": "Marks the projected card renderer explicitly:\n`<ng-template mkKanbanCard let-card let-column=\"column\">`. Without it the\nfirst plain `<ng-template>` inside `<mk-kanban>` is used, as before 0.54.",
17838
+ "file": "projects/mk-kit/kanban/kanban.ts",
17839
+ "kind": "directive",
17840
+ "selector": "ng-template[mkKanbanCard]",
17841
+ "selectors": [
17842
+ "mkKanbanCard"
17843
+ ],
17844
+ "inputs": [],
17845
+ "outputs": [],
17846
+ "methods": [],
17847
+ "properties": [],
17848
+ "queries": []
17849
+ },
17850
+ {
17851
+ "name": "MkKanbanColumnFooterDef",
17852
+ "description": "Rendered under each column's card list — a \"quick add\" input, say:\n`<ng-template mkKanbanColumnFooter let-column>`.",
17853
+ "file": "projects/mk-kit/kanban/kanban.ts",
17854
+ "kind": "directive",
17855
+ "selector": "ng-template[mkKanbanColumnFooter]",
17856
+ "selectors": [
17857
+ "mkKanbanColumnFooter"
17858
+ ],
17859
+ "inputs": [],
17860
+ "outputs": [],
17861
+ "methods": [],
17862
+ "properties": [],
17863
+ "queries": []
17864
+ },
17865
+ {
17866
+ "name": "MkKanbanColumnHeaderDef",
17867
+ "description": "Replaces the default column header (title + count):\n`<ng-template mkKanbanColumnHeader let-column let-count=\"count\">`.",
17868
+ "file": "projects/mk-kit/kanban/kanban.ts",
17869
+ "kind": "directive",
17870
+ "selector": "ng-template[mkKanbanColumnHeader]",
17871
+ "selectors": [
17872
+ "mkKanbanColumnHeader"
17873
+ ],
17874
+ "inputs": [],
17875
+ "outputs": [],
17876
+ "methods": [],
17877
+ "properties": [],
17878
+ "queries": []
17879
+ },
17835
17880
  {
17836
17881
  "name": "MkKanbanCard",
17837
17882
  "description": "A single draggable card on a `MkKanban` board.",
@@ -17905,6 +17950,29 @@
17905
17950
  "description": "The ordered cards contained in this column."
17906
17951
  }
17907
17952
  ]
17953
+ },
17954
+ {
17955
+ "name": "MkKanbanColumnContext",
17956
+ "description": "Context handed to the column header / footer templates.",
17957
+ "file": "projects/mk-kit/kanban/kanban.ts",
17958
+ "kind": "interface",
17959
+ "members": [
17960
+ {
17961
+ "name": "$implicit",
17962
+ "type": "MkKanbanColumn",
17963
+ "description": "The column being rendered."
17964
+ },
17965
+ {
17966
+ "name": "index",
17967
+ "type": "number",
17968
+ "description": "Its position in `columns`."
17969
+ },
17970
+ {
17971
+ "name": "count",
17972
+ "type": "number",
17973
+ "description": "`column.cards.length`, for a count badge."
17974
+ }
17975
+ ]
17908
17976
  }
17909
17977
  ]
17910
17978
  },
@@ -1,4 +1,4 @@
1
- # @mk-kit/ui 0.53.0 — full API reference
1
+ # @mk-kit/ui 0.54.0 — full API reference
2
2
 
3
3
  Generated from the library sources. Browsable version: https://mk-kit.dev/api · JSON: https://mk-kit.dev/api.json · Guides: https://mk-kit.dev/llms.txt
4
4
 
@@ -11781,7 +11781,7 @@ type MkTagVariant = 'solid' | 'soft' | 'outline';
11781
11781
 
11782
11782
  ## @mk-kit/ui/kanban
11783
11783
 
11784
- 4 exports. `import { … } from '@mk-kit/ui/kanban';`
11784
+ 8 exports. `import { … } from '@mk-kit/ui/kanban';`
11785
11785
 
11786
11786
  ### MkKanban (component)
11787
11787
 
@@ -11798,13 +11798,22 @@ pointer and keyboard dragging (WCAG 2.1.1) for free.
11798
11798
 
11799
11799
  Bind `columns` two-way; the model is updated immutably on each drop. Project
11800
11800
  an `<ng-template>` to render custom card content — it receives the card as
11801
- `$implicit` and the owning column as `column`:
11801
+ `$implicit` and the owning column as `column`. Column headers and footers
11802
+ take their own templates (`mkKanbanColumnHeader` / `mkKanbanColumnFooter`,
11803
+ context `{ $implicit: column, index, count }`):
11802
11804
 
11803
11805
  ```html
11804
11806
  <mk-kanban [(columns)]="board" (cardMoved)="onMoved($event)">
11805
- <ng-template #cardTemplate let-card let-column="column">
11807
+ <ng-template mkKanbanColumnHeader let-column let-count="count">
11808
+ <strong>{{ column.title }}</strong> {{ count }}
11809
+ <button (click)="rename(column)">Rename</button>
11810
+ </ng-template>
11811
+ <ng-template mkKanbanCard let-card let-column="column">
11806
11812
  <strong>{{ card.title }}</strong>
11807
11813
  </ng-template>
11814
+ <ng-template mkKanbanColumnFooter let-column>
11815
+ <button (click)="add(column)">+ Card</button>
11816
+ </ng-template>
11808
11817
  </mk-kanban>
11809
11818
  ```
11810
11819
 
@@ -11822,6 +11831,34 @@ Outputs:
11822
11831
  | `columnsChange` | `MkKanbanColumn[]` | Emits when `columns` changes (two-way binding). |
11823
11832
  | `cardMoved` | `MkKanbanCardMovedEvent` | Emitted after the model is updated when a card is moved. |
11824
11833
 
11834
+ ### MkKanbanCardDef (directive)
11835
+
11836
+ Selector: `ng-template[mkKanbanCard]`
11837
+
11838
+ Import: `import { MkKanbanCardDef } from '@mk-kit/ui/kanban';`
11839
+
11840
+ Marks the projected card renderer explicitly:
11841
+ `<ng-template mkKanbanCard let-card let-column="column">`. Without it the
11842
+ first plain `<ng-template>` inside `<mk-kanban>` is used, as before 0.54.
11843
+
11844
+ ### MkKanbanColumnFooterDef (directive)
11845
+
11846
+ Selector: `ng-template[mkKanbanColumnFooter]`
11847
+
11848
+ Import: `import { MkKanbanColumnFooterDef } from '@mk-kit/ui/kanban';`
11849
+
11850
+ Rendered under each column's card list — a "quick add" input, say:
11851
+ `<ng-template mkKanbanColumnFooter let-column>`.
11852
+
11853
+ ### MkKanbanColumnHeaderDef (directive)
11854
+
11855
+ Selector: `ng-template[mkKanbanColumnHeader]`
11856
+
11857
+ Import: `import { MkKanbanColumnHeaderDef } from '@mk-kit/ui/kanban';`
11858
+
11859
+ Replaces the default column header (title + count):
11860
+ `<ng-template mkKanbanColumnHeader let-column let-count="count">`.
11861
+
11825
11862
  ### MkKanbanCard (interface)
11826
11863
 
11827
11864
  Import: `import { MkKanbanCard } from '@mk-kit/ui/kanban';`
@@ -11866,6 +11903,20 @@ Members:
11866
11903
  | `title` | `string` | Heading shown in the column header and used as its aria-label. |
11867
11904
  | `cards` | `MkKanbanCard[]` | The ordered cards contained in this column. |
11868
11905
 
11906
+ ### MkKanbanColumnContext (interface)
11907
+
11908
+ Import: `import { MkKanbanColumnContext } from '@mk-kit/ui/kanban';`
11909
+
11910
+ Context handed to the column header / footer templates.
11911
+
11912
+ Members:
11913
+
11914
+ | Name | Type | Description |
11915
+ | --- | --- | --- |
11916
+ | `$implicit` | `MkKanbanColumn` | The column being rendered. |
11917
+ | `index` | `number` | Its position in `columns`. |
11918
+ | `count` | `number` | `column.cards.length`, for a count badge. |
11919
+
11869
11920
  ## @mk-kit/ui/feedback
11870
11921
 
11871
11922
  55 exports. `import { … } from '@mk-kit/ui/feedback';`
package/data/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # mk-kit
2
2
 
3
- > Themable, accessible Angular 22 component library for admin dashboards and UIs. Signals-based, WCAG 2.1 AA, controlled entirely through CSS variables with light/dark out of the box. — `@mk-kit/ui` 0.53.0. 172 components, 42 directives, 16 services and 145 helper functions across 32 tree-shakeable entry points. MIT licensed, zero runtime dependencies beyond Angular. Standalone components, signals, OnPush, zoneless-ready, SSR-safe, RTL and i18n via `provideMkI18n`.
3
+ > Themable, accessible Angular 22 component library for admin dashboards and UIs. Signals-based, WCAG 2.1 AA, controlled entirely through CSS variables with light/dark out of the box. — `@mk-kit/ui` 0.54.0. 172 components, 45 directives, 16 services and 145 helper functions across 32 tree-shakeable entry points. MIT licensed, zero runtime dependencies beyond Angular. Standalone components, signals, OnPush, zoneless-ready, SSR-safe, RTL and i18n via `provideMkI18n`.
4
4
 
5
5
  Install with `ng add @mk-kit/ui` (or `npm i @mk-kit/ui` + import `@mk-kit/ui/styles/mk-kit.css`). Import from the group entry points (`@mk-kit/ui/forms`, `@mk-kit/ui/table`, …) so each lazy chunk only carries what it uses; the root `@mk-kit/ui` entry re-exports everything. Every component is standalone: add the class to a component's `imports`. Theme with `--mk-*` CSS custom properties; `MkThemeService` switches light/dark/system and density.
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mk-kit/mcp",
3
- "version": "0.53.0",
3
+ "version": "0.54.0",
4
4
  "description": "MCP server for @mk-kit/ui — lets AI coding assistants look up every component, directive, service and helper of the mk-kit Angular library (inputs, outputs, methods, import paths, docs links).",
5
5
  "license": "MIT",
6
6
  "type": "module",