@mk-kit/mcp 0.55.0 → 0.55.1

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.55.0",
3
+ "version": "0.55.1",
4
4
  "site": "https://mk-kit.dev",
5
5
  "entries": [
6
6
  {
@@ -18296,6 +18296,11 @@
18296
18296
  "name": "set",
18297
18297
  "signature": "(lang: string, strings: MkTranslationTree | MkFlatTranslations): void",
18298
18298
  "description": "Replace `lang` entirely (tests, editors reloading from source)."
18299
+ },
18300
+ {
18301
+ "name": "isPartial",
18302
+ "signature": "(lang?: string): boolean",
18303
+ "description": "`true` while `lang` holds only a server render's keys and the rest is still loading."
18299
18304
  }
18300
18305
  ],
18301
18306
  "properties": [
@@ -18454,6 +18459,12 @@
18454
18459
  "description": "Block application bootstrap until the initial language is loaded, so the\nfirst render never shows raw keys and `instant()` calls inside\n`computed()` never cache them. Default `true`.",
18455
18460
  "optional": true
18456
18461
  },
18462
+ {
18463
+ "name": "transfer",
18464
+ "type": "\"none\" | \"used\" | \"all\" | undefined",
18465
+ "description": "What a server render hands to the browser through `TransferState`:\n- `'used'` (default): only the keys read while rendering this page —\n a few KB — so hydration never flashes raw keys, while the full\n dictionary loads in the background right after;\n- `'all'`: the whole dictionary (no second request, but every page\n carries it);\n- `'none'`: nothing; the browser loads the file itself before bootstrap.",
18466
+ "optional": true
18467
+ },
18457
18468
  {
18458
18469
  "name": "documentLang",
18459
18470
  "type": "boolean | undefined",
@@ -1,4 +1,4 @@
1
- # @mk-kit/ui 0.55.0 — full API reference
1
+ # @mk-kit/ui 0.55.1 — 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
 
@@ -12125,6 +12125,7 @@ Methods:
12125
12125
  | `loadedLangs(): string[]` | Languages currently in memory. |
12126
12126
  | `patch(lang: string, strings: MkTranslationTree \| MkFlatTranslations): void` | Merge strings into `lang` at runtime — a translation editor previewing an edit, or a late-arriving overrides payload. Nested or flat. |
12127
12127
  | `set(lang: string, strings: MkTranslationTree \| MkFlatTranslations): void` | Replace `lang` entirely (tests, editors reloading from source). |
12128
+ | `isPartial(lang?: string): boolean` | `true` while `lang` holds only a server render's keys and the rest is still loading. |
12128
12129
 
12129
12130
  Properties:
12130
12131
 
@@ -12262,6 +12263,7 @@ Members:
12262
12263
  | `loader` | `MkTranslateLoaderFactory` | Base strings — the bundled JSON, typically (`mkHttpTranslateLoader`). |
12263
12264
  | `overrides`? | `MkTranslateLoaderFactory \| undefined` | Optional second source merged OVER the base per language: edits kept in a database, a tenant's wording, a translator's work in progress. A loader that throws or resolves `{}` leaves the base untouched. |
12264
12265
  | `preload`? | `boolean \| undefined` | Block application bootstrap until the initial language is loaded, so the first render never shows raw keys and `instant()` calls inside `computed()` never cache them. Default `true`. |
12266
+ | `transfer`? | `"none" \| "used" \| "all" \| undefined` | What a server render hands to the browser through `TransferState`: - `'used'` (default): only the keys read while rendering this page — a few KB — so hydration never flashes raw keys, while the full dictionary loads in the background right after; - `'all'`: the whole dictionary (no second request, but every page carries it); - `'none'`: nothing; the browser loads the file itself before bootstrap. |
12265
12267
  | `documentLang`? | `boolean \| undefined` | Mirror the active language onto `<html lang>` (server and browser), so screen readers, hyphenation and search engines follow `use()`. Default `true`. |
12266
12268
  | `onMissing`? | `((key: string, lang: string) => string \| undefined \| void) \| undefined` | Called for a key missing in both the active and the fallback language. Return a string to render instead of the key. Missing keys are also collected in `MkTranslate.missingKeys`. |
12267
12269
 
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.55.0. 173 components, 45 directives, 17 services and 152 helper functions across 34 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.55.1. 173 components, 45 directives, 17 services and 152 helper functions across 34 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.55.0",
3
+ "version": "0.55.1",
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",