@mk-kit/mcp 0.45.0 → 0.46.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 +7 -7
- package/data/llms-full.txt +11 -10
- package/data/llms.txt +1 -1
- package/package.json +1 -1
package/data/api.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@mk-kit/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.0",
|
|
4
4
|
"site": "https://mk-kit.dev",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
@@ -10407,7 +10407,7 @@
|
|
|
10407
10407
|
},
|
|
10408
10408
|
{
|
|
10409
10409
|
"name": "mkDetectCardBrand",
|
|
10410
|
-
"description": "Detect the card network from the leading digits
|
|
10410
|
+
"description": "Detect the card network from the leading digits — `detectCardBrand` from `@mk-kit/validators`.",
|
|
10411
10411
|
"file": "projects/mk-kit/forms/card-number-input/card-number-input.ts",
|
|
10412
10412
|
"kind": "function",
|
|
10413
10413
|
"signatures": [
|
|
@@ -10425,7 +10425,7 @@
|
|
|
10425
10425
|
},
|
|
10426
10426
|
{
|
|
10427
10427
|
"name": "mkIbanChecksum",
|
|
10428
|
-
"description": "ISO
|
|
10428
|
+
"description": "ISO 7064 MOD 97-10 over a compact (uppercase, no separators) IBAN.",
|
|
10429
10429
|
"file": "projects/mk-kit/forms/iban-input/iban-input.ts",
|
|
10430
10430
|
"kind": "function",
|
|
10431
10431
|
"signatures": [
|
|
@@ -10434,7 +10434,7 @@
|
|
|
10434
10434
|
},
|
|
10435
10435
|
{
|
|
10436
10436
|
"name": "mkIbanIsValid",
|
|
10437
|
-
"description": "
|
|
10437
|
+
"description": "Shape, the registry length for the country and the checksum — delegates\nto `isIban` from `@mk-kit/validators`. Unlike that function this one keeps\nthe input kit's stricter rule that the country must be in the table.",
|
|
10438
10438
|
"file": "projects/mk-kit/forms/iban-input/iban-input.ts",
|
|
10439
10439
|
"kind": "function",
|
|
10440
10440
|
"signatures": [
|
|
@@ -10452,7 +10452,7 @@
|
|
|
10452
10452
|
},
|
|
10453
10453
|
{
|
|
10454
10454
|
"name": "mkLuhnCheck",
|
|
10455
|
-
"description": "Luhn (mod 10) checksum over a digit string
|
|
10455
|
+
"description": "Luhn (mod 10) checksum over a digit string — `isLuhn` from `@mk-kit/validators`.",
|
|
10456
10456
|
"file": "projects/mk-kit/forms/card-number-input/card-number-input.ts",
|
|
10457
10457
|
"kind": "function",
|
|
10458
10458
|
"signatures": [
|
|
@@ -10461,7 +10461,7 @@
|
|
|
10461
10461
|
},
|
|
10462
10462
|
{
|
|
10463
10463
|
"name": "mkNipChecksum",
|
|
10464
|
-
"description": "Polish NIP checksum
|
|
10464
|
+
"description": "Polish NIP checksum — delegates to `isNip` from `@mk-kit/validators`\n(weights 6-5-7-2-3-4-5-6-7 mod 11; a remainder of 10 is invalid).",
|
|
10465
10465
|
"file": "projects/mk-kit/forms/tax-id-input/tax-id-input.ts",
|
|
10466
10466
|
"kind": "function",
|
|
10467
10467
|
"signatures": [
|
|
@@ -10522,7 +10522,7 @@
|
|
|
10522
10522
|
},
|
|
10523
10523
|
{
|
|
10524
10524
|
"name": "MK_IBAN_LENGTHS",
|
|
10525
|
-
"description": "IBAN
|
|
10525
|
+
"description": "IBAN lengths per country — re-exported from `@mk-kit/validators`\n(`IBAN_LENGTHS`, the SWIFT registry).",
|
|
10526
10526
|
"file": "projects/mk-kit/forms/iban-input/iban-input.ts",
|
|
10527
10527
|
"kind": "const",
|
|
10528
10528
|
"type": "Readonly<Record<string, number>>"
|
package/data/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @mk-kit/ui 0.
|
|
1
|
+
# @mk-kit/ui 0.46.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
|
|
|
@@ -6822,7 +6822,7 @@ function mkCountryFlag(code: string): string
|
|
|
6822
6822
|
|
|
6823
6823
|
Import: `import { mkDetectCardBrand } from '@mk-kit/ui/forms';`
|
|
6824
6824
|
|
|
6825
|
-
Detect the card network from the leading digits
|
|
6825
|
+
Detect the card network from the leading digits — `detectCardBrand` from `@mk-kit/validators`.
|
|
6826
6826
|
|
|
6827
6827
|
```ts
|
|
6828
6828
|
function mkDetectCardBrand(digits: string): MkCardBrand | null
|
|
@@ -6842,8 +6842,7 @@ function mkHighlight(src: string, language: string): string
|
|
|
6842
6842
|
|
|
6843
6843
|
Import: `import { mkIbanChecksum } from '@mk-kit/ui/forms';`
|
|
6844
6844
|
|
|
6845
|
-
ISO
|
|
6846
|
-
Assumes the shape `CC00…` has already been length-checked by the caller.
|
|
6845
|
+
ISO 7064 MOD 97-10 over a compact (uppercase, no separators) IBAN.
|
|
6847
6846
|
|
|
6848
6847
|
```ts
|
|
6849
6848
|
function mkIbanChecksum(compact: string): boolean
|
|
@@ -6853,7 +6852,9 @@ function mkIbanChecksum(compact: string): boolean
|
|
|
6853
6852
|
|
|
6854
6853
|
Import: `import { mkIbanIsValid } from '@mk-kit/ui/forms';`
|
|
6855
6854
|
|
|
6856
|
-
|
|
6855
|
+
Shape, the registry length for the country and the checksum — delegates
|
|
6856
|
+
to `isIban` from `@mk-kit/validators`. Unlike that function this one keeps
|
|
6857
|
+
the input kit's stricter rule that the country must be in the table.
|
|
6857
6858
|
|
|
6858
6859
|
```ts
|
|
6859
6860
|
function mkIbanIsValid(compact: string): boolean
|
|
@@ -6879,7 +6880,7 @@ function mkIbanValidator(): ValidatorFn
|
|
|
6879
6880
|
|
|
6880
6881
|
Import: `import { mkLuhnCheck } from '@mk-kit/ui/forms';`
|
|
6881
6882
|
|
|
6882
|
-
Luhn (mod 10) checksum over a digit string
|
|
6883
|
+
Luhn (mod 10) checksum over a digit string — `isLuhn` from `@mk-kit/validators`.
|
|
6883
6884
|
|
|
6884
6885
|
```ts
|
|
6885
6886
|
function mkLuhnCheck(digits: string): boolean
|
|
@@ -6889,9 +6890,8 @@ function mkLuhnCheck(digits: string): boolean
|
|
|
6889
6890
|
|
|
6890
6891
|
Import: `import { mkNipChecksum } from '@mk-kit/ui/forms';`
|
|
6891
6892
|
|
|
6892
|
-
Polish NIP checksum
|
|
6893
|
-
|
|
6894
|
-
number is invalid whatever its last digit.
|
|
6893
|
+
Polish NIP checksum — delegates to `isNip` from `@mk-kit/validators`
|
|
6894
|
+
(weights 6-5-7-2-3-4-5-6-7 mod 11; a remainder of 10 is invalid).
|
|
6895
6895
|
|
|
6896
6896
|
```ts
|
|
6897
6897
|
function mkNipChecksum(compact: string): boolean
|
|
@@ -6975,7 +6975,8 @@ const MK_CARD_BRAND_NAMES: Record<MkCardBrand, string>;
|
|
|
6975
6975
|
|
|
6976
6976
|
Import: `import { MK_IBAN_LENGTHS } from '@mk-kit/ui/forms';`
|
|
6977
6977
|
|
|
6978
|
-
IBAN
|
|
6978
|
+
IBAN lengths per country — re-exported from `@mk-kit/validators`
|
|
6979
|
+
(`IBAN_LENGTHS`, the SWIFT registry).
|
|
6979
6980
|
|
|
6980
6981
|
```ts
|
|
6981
6982
|
const MK_IBAN_LENGTHS: Readonly<Record<string, number>>;
|
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.
|
|
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.46.0. 170 components, 41 directives, 16 services and 133 helper functions across 24 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.
|
|
3
|
+
"version": "0.46.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",
|