@mk-kit/mcp 0.44.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 +77 -9
- package/data/llms-full.txt +127 -15
- 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
|
{
|
|
@@ -463,6 +463,15 @@
|
|
|
463
463
|
"<T>(value: MkResponsive<T>): value is Partial<Record<MkBreakpoint, T>>"
|
|
464
464
|
]
|
|
465
465
|
},
|
|
466
|
+
{
|
|
467
|
+
"name": "mkMergeI18n",
|
|
468
|
+
"description": "Merges `overrides` over a complete string map — shallow for the top level,\ndeep for the `dateNames`, `blockEditor` and `validation` groups. Exported\nso locale packs and tests can build a map without providing it.",
|
|
469
|
+
"file": "projects/mk-kit/core/i18n/mk-i18n.ts",
|
|
470
|
+
"kind": "function",
|
|
471
|
+
"signatures": [
|
|
472
|
+
"(base: MkI18nStrings, overrides: MkI18nOverrides): MkI18nStrings"
|
|
473
|
+
]
|
|
474
|
+
},
|
|
466
475
|
{
|
|
467
476
|
"name": "mkQueryCompact",
|
|
468
477
|
"description": "Drop empty groups and rules that still need a value, so the API gets only complete conditions.",
|
|
@@ -582,11 +591,11 @@
|
|
|
582
591
|
},
|
|
583
592
|
{
|
|
584
593
|
"name": "provideMkI18n",
|
|
585
|
-
"description": "Provide localised strings
|
|
594
|
+
"description": "Provide localised strings — pass any subset, merged over `base` (the\nEnglish defaults unless given). The nested `dateNames`, `blockEditor` and\n`validation` groups are merged deeply, so partial overrides of those work\ntoo.\n\n```ts\nbootstrapApplication(App, {\n providers: [provideMkI18n({ noResults: 'Brak wyników', close: 'Zamknij' })],\n});\n```\n\nA locale pack is a complete map that serves as the base — either through\nits own helper (`provideMkI18nPl(overrides)` from `@mk-kit/ui/locales/pl`)\nor explicitly: `provideMkI18n(overrides, MK_PL_I18N)`.",
|
|
586
595
|
"file": "projects/mk-kit/core/i18n/mk-i18n.ts",
|
|
587
596
|
"kind": "function",
|
|
588
597
|
"signatures": [
|
|
589
|
-
"(overrides:
|
|
598
|
+
"(overrides: MkI18nOverrides, base?: MkI18nStrings): Provider"
|
|
590
599
|
],
|
|
591
600
|
"docs": "/core-services"
|
|
592
601
|
},
|
|
@@ -3124,6 +3133,13 @@
|
|
|
3124
3133
|
"kind": "type",
|
|
3125
3134
|
"definition": "Readonly<Record<string, string | ((err: any) => string)>>"
|
|
3126
3135
|
},
|
|
3136
|
+
{
|
|
3137
|
+
"name": "MkI18nOverrides",
|
|
3138
|
+
"description": "Any subset of `MkI18nStrings`; the nested `dateNames`, `blockEditor`\nand `validation` groups may be partial too (they are merged deeply).",
|
|
3139
|
+
"file": "projects/mk-kit/core/i18n/mk-i18n.ts",
|
|
3140
|
+
"kind": "type",
|
|
3141
|
+
"definition": "Partial< Omit<MkI18nStrings, 'dateNames' | 'blockEditor' | 'validation'> > & { dateNames?: Partial<MkDateNames>; blockEditor?: Partial<MkBlockEditorStrings>; validation?: Partial<MkValidationStrings>; }"
|
|
3142
|
+
},
|
|
3127
3143
|
{
|
|
3128
3144
|
"name": "MkPlacement",
|
|
3129
3145
|
"description": "Common placement values for overlays (menus, tooltips, popovers).",
|
|
@@ -10391,7 +10407,7 @@
|
|
|
10391
10407
|
},
|
|
10392
10408
|
{
|
|
10393
10409
|
"name": "mkDetectCardBrand",
|
|
10394
|
-
"description": "Detect the card network from the leading digits
|
|
10410
|
+
"description": "Detect the card network from the leading digits — `detectCardBrand` from `@mk-kit/validators`.",
|
|
10395
10411
|
"file": "projects/mk-kit/forms/card-number-input/card-number-input.ts",
|
|
10396
10412
|
"kind": "function",
|
|
10397
10413
|
"signatures": [
|
|
@@ -10409,7 +10425,7 @@
|
|
|
10409
10425
|
},
|
|
10410
10426
|
{
|
|
10411
10427
|
"name": "mkIbanChecksum",
|
|
10412
|
-
"description": "ISO
|
|
10428
|
+
"description": "ISO 7064 MOD 97-10 over a compact (uppercase, no separators) IBAN.",
|
|
10413
10429
|
"file": "projects/mk-kit/forms/iban-input/iban-input.ts",
|
|
10414
10430
|
"kind": "function",
|
|
10415
10431
|
"signatures": [
|
|
@@ -10418,7 +10434,7 @@
|
|
|
10418
10434
|
},
|
|
10419
10435
|
{
|
|
10420
10436
|
"name": "mkIbanIsValid",
|
|
10421
|
-
"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.",
|
|
10422
10438
|
"file": "projects/mk-kit/forms/iban-input/iban-input.ts",
|
|
10423
10439
|
"kind": "function",
|
|
10424
10440
|
"signatures": [
|
|
@@ -10436,7 +10452,7 @@
|
|
|
10436
10452
|
},
|
|
10437
10453
|
{
|
|
10438
10454
|
"name": "mkLuhnCheck",
|
|
10439
|
-
"description": "Luhn (mod 10) checksum over a digit string
|
|
10455
|
+
"description": "Luhn (mod 10) checksum over a digit string — `isLuhn` from `@mk-kit/validators`.",
|
|
10440
10456
|
"file": "projects/mk-kit/forms/card-number-input/card-number-input.ts",
|
|
10441
10457
|
"kind": "function",
|
|
10442
10458
|
"signatures": [
|
|
@@ -10445,7 +10461,7 @@
|
|
|
10445
10461
|
},
|
|
10446
10462
|
{
|
|
10447
10463
|
"name": "mkNipChecksum",
|
|
10448
|
-
"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).",
|
|
10449
10465
|
"file": "projects/mk-kit/forms/tax-id-input/tax-id-input.ts",
|
|
10450
10466
|
"kind": "function",
|
|
10451
10467
|
"signatures": [
|
|
@@ -10506,7 +10522,7 @@
|
|
|
10506
10522
|
},
|
|
10507
10523
|
{
|
|
10508
10524
|
"name": "MK_IBAN_LENGTHS",
|
|
10509
|
-
"description": "IBAN
|
|
10525
|
+
"description": "IBAN lengths per country — re-exported from `@mk-kit/validators`\n(`IBAN_LENGTHS`, the SWIFT registry).",
|
|
10510
10526
|
"file": "projects/mk-kit/forms/iban-input/iban-input.ts",
|
|
10511
10527
|
"kind": "const",
|
|
10512
10528
|
"type": "Readonly<Record<string, number>>"
|
|
@@ -22443,6 +22459,58 @@
|
|
|
22443
22459
|
}
|
|
22444
22460
|
]
|
|
22445
22461
|
},
|
|
22462
|
+
{
|
|
22463
|
+
"name": "locales/pl",
|
|
22464
|
+
"import": "@mk-kit/ui/locales/pl",
|
|
22465
|
+
"exports": [
|
|
22466
|
+
{
|
|
22467
|
+
"name": "mkPluralPl",
|
|
22468
|
+
"description": "Picks the Polish plural form for a count: `one` for 1, `few` for 2–4\n(except 12–14), `many` otherwise — CLDR's `pl` rules for integers, which is\nall the library's counts ever are.\n\n```ts\nmkPluralPl(1, 'wynik', 'wyniki', 'wyników'); // 'wynik'\nmkPluralPl(3, 'wynik', 'wyniki', 'wyników'); // 'wyniki'\nmkPluralPl(12, 'wynik', 'wyniki', 'wyników'); // 'wyników'\n```",
|
|
22469
|
+
"file": "projects/mk-kit/locales/pl/pl.ts",
|
|
22470
|
+
"kind": "function",
|
|
22471
|
+
"signatures": [
|
|
22472
|
+
"(count: number, one: string, few: string, many: string): string"
|
|
22473
|
+
]
|
|
22474
|
+
},
|
|
22475
|
+
{
|
|
22476
|
+
"name": "provideMkI18nPl",
|
|
22477
|
+
"description": "Provides the Polish strings — `MK_PL_I18N` with any `overrides`\nmerged on top (deep for `dateNames`, `blockEditor` and `validation`, like\n`provideMkI18n`).\n\n```ts\nbootstrapApplication(App, {\n providers: [provideMkI18nPl({ noData: 'Nic tu nie ma' })],\n});\n```",
|
|
22478
|
+
"file": "projects/mk-kit/locales/pl/pl.ts",
|
|
22479
|
+
"kind": "function",
|
|
22480
|
+
"signatures": [
|
|
22481
|
+
"(overrides?: MkI18nOverrides): Provider"
|
|
22482
|
+
]
|
|
22483
|
+
},
|
|
22484
|
+
{
|
|
22485
|
+
"name": "MK_PL_BLOCK_EDITOR",
|
|
22486
|
+
"description": "Polish strings of the block editor's chrome.",
|
|
22487
|
+
"file": "projects/mk-kit/locales/pl/pl.ts",
|
|
22488
|
+
"kind": "const",
|
|
22489
|
+
"type": "MkBlockEditorStrings"
|
|
22490
|
+
},
|
|
22491
|
+
{
|
|
22492
|
+
"name": "MK_PL_DATE_NAMES",
|
|
22493
|
+
"description": "Polish month and weekday names (Sunday-first, lowercase as in `Intl`).",
|
|
22494
|
+
"file": "projects/mk-kit/locales/pl/pl.ts",
|
|
22495
|
+
"kind": "const",
|
|
22496
|
+
"type": "MkDateNames"
|
|
22497
|
+
},
|
|
22498
|
+
{
|
|
22499
|
+
"name": "MK_PL_I18N",
|
|
22500
|
+
"description": "The complete Polish string map — every key of `MkI18nStrings`,\n`locale: 'pl-PL'` and `currency: 'PLN'` for the formatting pipes.\nProvide it whole with `provideMkI18nPl`, or pass it as the base of\n`provideMkI18n(overrides, MK_PL_I18N)`.",
|
|
22501
|
+
"file": "projects/mk-kit/locales/pl/pl.ts",
|
|
22502
|
+
"kind": "const",
|
|
22503
|
+
"type": "MkI18nStrings"
|
|
22504
|
+
},
|
|
22505
|
+
{
|
|
22506
|
+
"name": "MK_PL_VALIDATION",
|
|
22507
|
+
"description": "Polish validation messages rendered by `mk-form-field`.",
|
|
22508
|
+
"file": "projects/mk-kit/locales/pl/pl.ts",
|
|
22509
|
+
"kind": "const",
|
|
22510
|
+
"type": "MkValidationStrings"
|
|
22511
|
+
}
|
|
22512
|
+
]
|
|
22513
|
+
},
|
|
22446
22514
|
{
|
|
22447
22515
|
"name": "testing",
|
|
22448
22516
|
"import": "@mk-kit/ui/testing",
|
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
|
|
|
@@ -12,7 +12,7 @@ Every component and directive below is standalone — import the class from its
|
|
|
12
12
|
|
|
13
13
|
## @mk-kit/ui/core
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
76 exports. `import { … } from '@mk-kit/ui/core';`
|
|
16
16
|
|
|
17
17
|
### MkAnchoredPanel (directive)
|
|
18
18
|
|
|
@@ -386,6 +386,18 @@ True when `value` is a per-breakpoint map rather than a plain value.
|
|
|
386
386
|
function mkIsResponsive<T>(value: MkResponsive<T>): value is Partial<Record<MkBreakpoint, T>>
|
|
387
387
|
```
|
|
388
388
|
|
|
389
|
+
### mkMergeI18n (function)
|
|
390
|
+
|
|
391
|
+
Import: `import { mkMergeI18n } from '@mk-kit/ui/core';`
|
|
392
|
+
|
|
393
|
+
Merges `overrides` over a complete string map — shallow for the top level,
|
|
394
|
+
deep for the `dateNames`, `blockEditor` and `validation` groups. Exported
|
|
395
|
+
so locale packs and tests can build a map without providing it.
|
|
396
|
+
|
|
397
|
+
```ts
|
|
398
|
+
function mkMergeI18n(base: MkI18nStrings, overrides: MkI18nOverrides): MkI18nStrings
|
|
399
|
+
```
|
|
400
|
+
|
|
389
401
|
### mkQueryCompact (function)
|
|
390
402
|
|
|
391
403
|
Import: `import { mkQueryCompact } from '@mk-kit/ui/core';`
|
|
@@ -555,9 +567,10 @@ Docs: https://mk-kit.dev/core-services
|
|
|
555
567
|
|
|
556
568
|
Import: `import { provideMkI18n } from '@mk-kit/ui/core';`
|
|
557
569
|
|
|
558
|
-
Provide localised strings
|
|
559
|
-
|
|
560
|
-
merged deeply, so partial overrides of those work
|
|
570
|
+
Provide localised strings — pass any subset, merged over `base` (the
|
|
571
|
+
English defaults unless given). The nested `dateNames`, `blockEditor` and
|
|
572
|
+
`validation` groups are merged deeply, so partial overrides of those work
|
|
573
|
+
too.
|
|
561
574
|
|
|
562
575
|
```ts
|
|
563
576
|
bootstrapApplication(App, {
|
|
@@ -565,8 +578,12 @@ bootstrapApplication(App, {
|
|
|
565
578
|
});
|
|
566
579
|
```
|
|
567
580
|
|
|
581
|
+
A locale pack is a complete map that serves as the base — either through
|
|
582
|
+
its own helper (`provideMkI18nPl(overrides)` from `@mk-kit/ui/locales/pl`)
|
|
583
|
+
or explicitly: `provideMkI18n(overrides, MK_PL_I18N)`.
|
|
584
|
+
|
|
568
585
|
```ts
|
|
569
|
-
function provideMkI18n(overrides:
|
|
586
|
+
function provideMkI18n(overrides: MkI18nOverrides, base?: MkI18nStrings): Provider
|
|
570
587
|
```
|
|
571
588
|
|
|
572
589
|
### MK_BREAKPOINTS (token)
|
|
@@ -1362,6 +1379,17 @@ to a function receiving that key's error payload.
|
|
|
1362
1379
|
type MkErrorMessages = Readonly<Record<string, string | ((err: any) => string)>>;
|
|
1363
1380
|
```
|
|
1364
1381
|
|
|
1382
|
+
### MkI18nOverrides (type)
|
|
1383
|
+
|
|
1384
|
+
Import: `import { MkI18nOverrides } from '@mk-kit/ui/core';`
|
|
1385
|
+
|
|
1386
|
+
Any subset of `MkI18nStrings`; the nested `dateNames`, `blockEditor`
|
|
1387
|
+
and `validation` groups may be partial too (they are merged deeply).
|
|
1388
|
+
|
|
1389
|
+
```ts
|
|
1390
|
+
type MkI18nOverrides = Partial< Omit<MkI18nStrings, 'dateNames' | 'blockEditor' | 'validation'> > & { dateNames?: Partial<MkDateNames>; blockEditor?: Partial<MkBlockEditorStrings>; validation?: Partial<MkValidationStrings>; };
|
|
1391
|
+
```
|
|
1392
|
+
|
|
1365
1393
|
### MkPlacement (type)
|
|
1366
1394
|
|
|
1367
1395
|
Import: `import { MkPlacement } from '@mk-kit/ui/core';`
|
|
@@ -6794,7 +6822,7 @@ function mkCountryFlag(code: string): string
|
|
|
6794
6822
|
|
|
6795
6823
|
Import: `import { mkDetectCardBrand } from '@mk-kit/ui/forms';`
|
|
6796
6824
|
|
|
6797
|
-
Detect the card network from the leading digits
|
|
6825
|
+
Detect the card network from the leading digits — `detectCardBrand` from `@mk-kit/validators`.
|
|
6798
6826
|
|
|
6799
6827
|
```ts
|
|
6800
6828
|
function mkDetectCardBrand(digits: string): MkCardBrand | null
|
|
@@ -6814,8 +6842,7 @@ function mkHighlight(src: string, language: string): string
|
|
|
6814
6842
|
|
|
6815
6843
|
Import: `import { mkIbanChecksum } from '@mk-kit/ui/forms';`
|
|
6816
6844
|
|
|
6817
|
-
ISO
|
|
6818
|
-
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.
|
|
6819
6846
|
|
|
6820
6847
|
```ts
|
|
6821
6848
|
function mkIbanChecksum(compact: string): boolean
|
|
@@ -6825,7 +6852,9 @@ function mkIbanChecksum(compact: string): boolean
|
|
|
6825
6852
|
|
|
6826
6853
|
Import: `import { mkIbanIsValid } from '@mk-kit/ui/forms';`
|
|
6827
6854
|
|
|
6828
|
-
|
|
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.
|
|
6829
6858
|
|
|
6830
6859
|
```ts
|
|
6831
6860
|
function mkIbanIsValid(compact: string): boolean
|
|
@@ -6851,7 +6880,7 @@ function mkIbanValidator(): ValidatorFn
|
|
|
6851
6880
|
|
|
6852
6881
|
Import: `import { mkLuhnCheck } from '@mk-kit/ui/forms';`
|
|
6853
6882
|
|
|
6854
|
-
Luhn (mod 10) checksum over a digit string
|
|
6883
|
+
Luhn (mod 10) checksum over a digit string — `isLuhn` from `@mk-kit/validators`.
|
|
6855
6884
|
|
|
6856
6885
|
```ts
|
|
6857
6886
|
function mkLuhnCheck(digits: string): boolean
|
|
@@ -6861,9 +6890,8 @@ function mkLuhnCheck(digits: string): boolean
|
|
|
6861
6890
|
|
|
6862
6891
|
Import: `import { mkNipChecksum } from '@mk-kit/ui/forms';`
|
|
6863
6892
|
|
|
6864
|
-
Polish NIP checksum
|
|
6865
|
-
|
|
6866
|
-
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).
|
|
6867
6895
|
|
|
6868
6896
|
```ts
|
|
6869
6897
|
function mkNipChecksum(compact: string): boolean
|
|
@@ -6947,7 +6975,8 @@ const MK_CARD_BRAND_NAMES: Record<MkCardBrand, string>;
|
|
|
6947
6975
|
|
|
6948
6976
|
Import: `import { MK_IBAN_LENGTHS } from '@mk-kit/ui/forms';`
|
|
6949
6977
|
|
|
6950
|
-
IBAN
|
|
6978
|
+
IBAN lengths per country — re-exported from `@mk-kit/validators`
|
|
6979
|
+
(`IBAN_LENGTHS`, the SWIFT registry).
|
|
6951
6980
|
|
|
6952
6981
|
```ts
|
|
6953
6982
|
const MK_IBAN_LENGTHS: Readonly<Record<string, number>>;
|
|
@@ -14972,6 +15001,89 @@ Load lifecycle of an `MkImage`.
|
|
|
14972
15001
|
type MkImageState = 'loading' | 'loaded' | 'error';
|
|
14973
15002
|
```
|
|
14974
15003
|
|
|
15004
|
+
## @mk-kit/ui/locales/pl
|
|
15005
|
+
|
|
15006
|
+
6 exports. `import { … } from '@mk-kit/ui/locales/pl';`
|
|
15007
|
+
|
|
15008
|
+
### mkPluralPl (function)
|
|
15009
|
+
|
|
15010
|
+
Import: `import { mkPluralPl } from '@mk-kit/ui/locales/pl';`
|
|
15011
|
+
|
|
15012
|
+
Picks the Polish plural form for a count: `one` for 1, `few` for 2–4
|
|
15013
|
+
(except 12–14), `many` otherwise — CLDR's `pl` rules for integers, which is
|
|
15014
|
+
all the library's counts ever are.
|
|
15015
|
+
|
|
15016
|
+
```ts
|
|
15017
|
+
mkPluralPl(1, 'wynik', 'wyniki', 'wyników'); // 'wynik'
|
|
15018
|
+
mkPluralPl(3, 'wynik', 'wyniki', 'wyników'); // 'wyniki'
|
|
15019
|
+
mkPluralPl(12, 'wynik', 'wyniki', 'wyników'); // 'wyników'
|
|
15020
|
+
```
|
|
15021
|
+
|
|
15022
|
+
```ts
|
|
15023
|
+
function mkPluralPl(count: number, one: string, few: string, many: string): string
|
|
15024
|
+
```
|
|
15025
|
+
|
|
15026
|
+
### provideMkI18nPl (function)
|
|
15027
|
+
|
|
15028
|
+
Import: `import { provideMkI18nPl } from '@mk-kit/ui/locales/pl';`
|
|
15029
|
+
|
|
15030
|
+
Provides the Polish strings — `MK_PL_I18N` with any `overrides`
|
|
15031
|
+
merged on top (deep for `dateNames`, `blockEditor` and `validation`, like
|
|
15032
|
+
`provideMkI18n`).
|
|
15033
|
+
|
|
15034
|
+
```ts
|
|
15035
|
+
bootstrapApplication(App, {
|
|
15036
|
+
providers: [provideMkI18nPl({ noData: 'Nic tu nie ma' })],
|
|
15037
|
+
});
|
|
15038
|
+
```
|
|
15039
|
+
|
|
15040
|
+
```ts
|
|
15041
|
+
function provideMkI18nPl(overrides?: MkI18nOverrides): Provider
|
|
15042
|
+
```
|
|
15043
|
+
|
|
15044
|
+
### MK_PL_BLOCK_EDITOR (const)
|
|
15045
|
+
|
|
15046
|
+
Import: `import { MK_PL_BLOCK_EDITOR } from '@mk-kit/ui/locales/pl';`
|
|
15047
|
+
|
|
15048
|
+
Polish strings of the block editor's chrome.
|
|
15049
|
+
|
|
15050
|
+
```ts
|
|
15051
|
+
const MK_PL_BLOCK_EDITOR: MkBlockEditorStrings;
|
|
15052
|
+
```
|
|
15053
|
+
|
|
15054
|
+
### MK_PL_DATE_NAMES (const)
|
|
15055
|
+
|
|
15056
|
+
Import: `import { MK_PL_DATE_NAMES } from '@mk-kit/ui/locales/pl';`
|
|
15057
|
+
|
|
15058
|
+
Polish month and weekday names (Sunday-first, lowercase as in `Intl`).
|
|
15059
|
+
|
|
15060
|
+
```ts
|
|
15061
|
+
const MK_PL_DATE_NAMES: MkDateNames;
|
|
15062
|
+
```
|
|
15063
|
+
|
|
15064
|
+
### MK_PL_I18N (const)
|
|
15065
|
+
|
|
15066
|
+
Import: `import { MK_PL_I18N } from '@mk-kit/ui/locales/pl';`
|
|
15067
|
+
|
|
15068
|
+
The complete Polish string map — every key of `MkI18nStrings`,
|
|
15069
|
+
`locale: 'pl-PL'` and `currency: 'PLN'` for the formatting pipes.
|
|
15070
|
+
Provide it whole with `provideMkI18nPl`, or pass it as the base of
|
|
15071
|
+
`provideMkI18n(overrides, MK_PL_I18N)`.
|
|
15072
|
+
|
|
15073
|
+
```ts
|
|
15074
|
+
const MK_PL_I18N: MkI18nStrings;
|
|
15075
|
+
```
|
|
15076
|
+
|
|
15077
|
+
### MK_PL_VALIDATION (const)
|
|
15078
|
+
|
|
15079
|
+
Import: `import { MK_PL_VALIDATION } from '@mk-kit/ui/locales/pl';`
|
|
15080
|
+
|
|
15081
|
+
Polish validation messages rendered by `mk-form-field`.
|
|
15082
|
+
|
|
15083
|
+
```ts
|
|
15084
|
+
const MK_PL_VALIDATION: MkValidationStrings;
|
|
15085
|
+
```
|
|
15086
|
+
|
|
14975
15087
|
## @mk-kit/ui/testing
|
|
14976
15088
|
|
|
14977
15089
|
23 exports. `import { … } from '@mk-kit/ui/testing';`
|
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",
|