@mk-kit/mcp 0.47.0 → 0.48.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 +209 -1
- package/data/llms-full.txt +328 -1
- 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.48.0",
|
|
4
4
|
"site": "https://mk-kit.dev",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
@@ -22561,6 +22561,162 @@
|
|
|
22561
22561
|
}
|
|
22562
22562
|
]
|
|
22563
22563
|
},
|
|
22564
|
+
{
|
|
22565
|
+
"name": "locales/de",
|
|
22566
|
+
"import": "@mk-kit/ui/locales/de",
|
|
22567
|
+
"exports": [
|
|
22568
|
+
{
|
|
22569
|
+
"name": "mkPluralDe",
|
|
22570
|
+
"description": "Picks the German plural form for a count — CLDR's `de` rules for integers:\n`one` for 1, `other` for everything else.\n\n```ts\nmkPluralDe(1, 'Ergebnis', 'Ergebnisse'); // 'Ergebnis'\nmkPluralDe(3, 'Ergebnis', 'Ergebnisse'); // 'Ergebnisse'\n```",
|
|
22571
|
+
"file": "projects/mk-kit/locales/de/de.ts",
|
|
22572
|
+
"kind": "function",
|
|
22573
|
+
"signatures": [
|
|
22574
|
+
"(count: number, one: string, other: string): string"
|
|
22575
|
+
]
|
|
22576
|
+
},
|
|
22577
|
+
{
|
|
22578
|
+
"name": "provideMkI18nDe",
|
|
22579
|
+
"description": "Provides the German strings — `MK_DE_I18N` with any `overrides`\nmerged on top (deep for `dateNames`, `blockEditor` and `validation`, like\n`provideMkI18n`).\n\n```ts\nbootstrapApplication(App, {\n providers: [provideMkI18nDe({ noData: 'Nichts zu sehen' })],\n});\n```",
|
|
22580
|
+
"file": "projects/mk-kit/locales/de/de.ts",
|
|
22581
|
+
"kind": "function",
|
|
22582
|
+
"signatures": [
|
|
22583
|
+
"(overrides?: MkI18nOverrides): Provider"
|
|
22584
|
+
]
|
|
22585
|
+
},
|
|
22586
|
+
{
|
|
22587
|
+
"name": "MK_DE_BLOCK_EDITOR",
|
|
22588
|
+
"description": "German strings of the block editor's chrome.",
|
|
22589
|
+
"file": "projects/mk-kit/locales/de/de.ts",
|
|
22590
|
+
"kind": "const",
|
|
22591
|
+
"type": "MkBlockEditorStrings"
|
|
22592
|
+
},
|
|
22593
|
+
{
|
|
22594
|
+
"name": "MK_DE_DATE_NAMES",
|
|
22595
|
+
"description": "German month and weekday names (Sunday-first, as in `Intl`).",
|
|
22596
|
+
"file": "projects/mk-kit/locales/de/de.ts",
|
|
22597
|
+
"kind": "const",
|
|
22598
|
+
"type": "MkDateNames"
|
|
22599
|
+
},
|
|
22600
|
+
{
|
|
22601
|
+
"name": "MK_DE_I18N",
|
|
22602
|
+
"description": "The complete German string map — every key of `MkI18nStrings`,\n`locale: 'de-DE'` and `currency: 'EUR'` for the formatting pipes.\nProvide it whole with `provideMkI18nDe`, or pass it as the base of\n`provideMkI18n(overrides, MK_DE_I18N)`.",
|
|
22603
|
+
"file": "projects/mk-kit/locales/de/de.ts",
|
|
22604
|
+
"kind": "const",
|
|
22605
|
+
"type": "MkI18nStrings"
|
|
22606
|
+
},
|
|
22607
|
+
{
|
|
22608
|
+
"name": "MK_DE_VALIDATION",
|
|
22609
|
+
"description": "German validation messages rendered by `mk-form-field`.",
|
|
22610
|
+
"file": "projects/mk-kit/locales/de/de.ts",
|
|
22611
|
+
"kind": "const",
|
|
22612
|
+
"type": "MkValidationStrings"
|
|
22613
|
+
}
|
|
22614
|
+
]
|
|
22615
|
+
},
|
|
22616
|
+
{
|
|
22617
|
+
"name": "locales/es",
|
|
22618
|
+
"import": "@mk-kit/ui/locales/es",
|
|
22619
|
+
"exports": [
|
|
22620
|
+
{
|
|
22621
|
+
"name": "mkPluralEs",
|
|
22622
|
+
"description": "Picks the Spanish plural form for a count — CLDR's `es` rules for integers:\n`one` for 1, `other` for everything else.\n\n```ts\nmkPluralEs(1, 'resultado', 'resultados'); // 'resultado'\nmkPluralEs(3, 'resultado', 'resultados'); // 'resultados'\n```",
|
|
22623
|
+
"file": "projects/mk-kit/locales/es/es.ts",
|
|
22624
|
+
"kind": "function",
|
|
22625
|
+
"signatures": [
|
|
22626
|
+
"(count: number, one: string, other: string): string"
|
|
22627
|
+
]
|
|
22628
|
+
},
|
|
22629
|
+
{
|
|
22630
|
+
"name": "provideMkI18nEs",
|
|
22631
|
+
"description": "Provides the Spanish strings — `MK_ES_I18N` with any `overrides`\nmerged on top (deep for `dateNames`, `blockEditor` and `validation`, like\n`provideMkI18n`).\n\n```ts\nbootstrapApplication(App, {\n providers: [provideMkI18nEs({ noData: 'No hay nada aquí' })],\n});\n```",
|
|
22632
|
+
"file": "projects/mk-kit/locales/es/es.ts",
|
|
22633
|
+
"kind": "function",
|
|
22634
|
+
"signatures": [
|
|
22635
|
+
"(overrides?: MkI18nOverrides): Provider"
|
|
22636
|
+
]
|
|
22637
|
+
},
|
|
22638
|
+
{
|
|
22639
|
+
"name": "MK_ES_BLOCK_EDITOR",
|
|
22640
|
+
"description": "Spanish strings of the block editor's chrome.",
|
|
22641
|
+
"file": "projects/mk-kit/locales/es/es.ts",
|
|
22642
|
+
"kind": "const",
|
|
22643
|
+
"type": "MkBlockEditorStrings"
|
|
22644
|
+
},
|
|
22645
|
+
{
|
|
22646
|
+
"name": "MK_ES_DATE_NAMES",
|
|
22647
|
+
"description": "Spanish month and weekday names (Sunday-first, lowercase as in `Intl`).",
|
|
22648
|
+
"file": "projects/mk-kit/locales/es/es.ts",
|
|
22649
|
+
"kind": "const",
|
|
22650
|
+
"type": "MkDateNames"
|
|
22651
|
+
},
|
|
22652
|
+
{
|
|
22653
|
+
"name": "MK_ES_I18N",
|
|
22654
|
+
"description": "The complete Spanish string map — every key of `MkI18nStrings`,\n`locale: 'es-ES'` and `currency: 'EUR'` for the formatting pipes.\nProvide it whole with `provideMkI18nEs`, or pass it as the base of\n`provideMkI18n(overrides, MK_ES_I18N)`.",
|
|
22655
|
+
"file": "projects/mk-kit/locales/es/es.ts",
|
|
22656
|
+
"kind": "const",
|
|
22657
|
+
"type": "MkI18nStrings"
|
|
22658
|
+
},
|
|
22659
|
+
{
|
|
22660
|
+
"name": "MK_ES_VALIDATION",
|
|
22661
|
+
"description": "Spanish validation messages rendered by `mk-form-field`.",
|
|
22662
|
+
"file": "projects/mk-kit/locales/es/es.ts",
|
|
22663
|
+
"kind": "const",
|
|
22664
|
+
"type": "MkValidationStrings"
|
|
22665
|
+
}
|
|
22666
|
+
]
|
|
22667
|
+
},
|
|
22668
|
+
{
|
|
22669
|
+
"name": "locales/fr",
|
|
22670
|
+
"import": "@mk-kit/ui/locales/fr",
|
|
22671
|
+
"exports": [
|
|
22672
|
+
{
|
|
22673
|
+
"name": "mkPluralFr",
|
|
22674
|
+
"description": "Picks the French plural form for a count — CLDR's `fr` rules for integers:\n`one` for 0 and 1, `other` for everything else.\n\n```ts\nmkPluralFr(1, 'résultat', 'résultats'); // 'résultat'\nmkPluralFr(0, 'résultat', 'résultats'); // 'résultat'\nmkPluralFr(3, 'résultat', 'résultats'); // 'résultats'\n```",
|
|
22675
|
+
"file": "projects/mk-kit/locales/fr/fr.ts",
|
|
22676
|
+
"kind": "function",
|
|
22677
|
+
"signatures": [
|
|
22678
|
+
"(count: number, one: string, other: string): string"
|
|
22679
|
+
]
|
|
22680
|
+
},
|
|
22681
|
+
{
|
|
22682
|
+
"name": "provideMkI18nFr",
|
|
22683
|
+
"description": "Provides the French strings — `MK_FR_I18N` with any `overrides`\nmerged on top (deep for `dateNames`, `blockEditor` and `validation`, like\n`provideMkI18n`).\n\n```ts\nbootstrapApplication(App, {\n providers: [provideMkI18nFr({ noData: 'Rien à afficher ici' })],\n});\n```",
|
|
22684
|
+
"file": "projects/mk-kit/locales/fr/fr.ts",
|
|
22685
|
+
"kind": "function",
|
|
22686
|
+
"signatures": [
|
|
22687
|
+
"(overrides?: MkI18nOverrides): Provider"
|
|
22688
|
+
]
|
|
22689
|
+
},
|
|
22690
|
+
{
|
|
22691
|
+
"name": "MK_FR_BLOCK_EDITOR",
|
|
22692
|
+
"description": "French strings of the block editor's chrome.",
|
|
22693
|
+
"file": "projects/mk-kit/locales/fr/fr.ts",
|
|
22694
|
+
"kind": "const",
|
|
22695
|
+
"type": "MkBlockEditorStrings"
|
|
22696
|
+
},
|
|
22697
|
+
{
|
|
22698
|
+
"name": "MK_FR_DATE_NAMES",
|
|
22699
|
+
"description": "French month and weekday names (Sunday-first, lowercase as in `Intl`).",
|
|
22700
|
+
"file": "projects/mk-kit/locales/fr/fr.ts",
|
|
22701
|
+
"kind": "const",
|
|
22702
|
+
"type": "MkDateNames"
|
|
22703
|
+
},
|
|
22704
|
+
{
|
|
22705
|
+
"name": "MK_FR_I18N",
|
|
22706
|
+
"description": "The complete French string map — every key of `MkI18nStrings`,\n`locale: 'fr-FR'` and `currency: 'EUR'` for the formatting pipes.\nProvide it whole with `provideMkI18nFr`, or pass it as the base of\n`provideMkI18n(overrides, MK_FR_I18N)`.",
|
|
22707
|
+
"file": "projects/mk-kit/locales/fr/fr.ts",
|
|
22708
|
+
"kind": "const",
|
|
22709
|
+
"type": "MkI18nStrings"
|
|
22710
|
+
},
|
|
22711
|
+
{
|
|
22712
|
+
"name": "MK_FR_VALIDATION",
|
|
22713
|
+
"description": "French validation messages rendered by `mk-form-field`.",
|
|
22714
|
+
"file": "projects/mk-kit/locales/fr/fr.ts",
|
|
22715
|
+
"kind": "const",
|
|
22716
|
+
"type": "MkValidationStrings"
|
|
22717
|
+
}
|
|
22718
|
+
]
|
|
22719
|
+
},
|
|
22564
22720
|
{
|
|
22565
22721
|
"name": "locales/pl",
|
|
22566
22722
|
"import": "@mk-kit/ui/locales/pl",
|
|
@@ -22613,6 +22769,58 @@
|
|
|
22613
22769
|
}
|
|
22614
22770
|
]
|
|
22615
22771
|
},
|
|
22772
|
+
{
|
|
22773
|
+
"name": "locales/uk",
|
|
22774
|
+
"import": "@mk-kit/ui/locales/uk",
|
|
22775
|
+
"exports": [
|
|
22776
|
+
{
|
|
22777
|
+
"name": "mkPluralUk",
|
|
22778
|
+
"description": "Picks the Ukrainian plural form for a count — CLDR's `uk` rules for\nintegers: `one` when the number ends in 1 (but not 11), `few` when it ends\nin 2–4 (but not 12–14), `many` otherwise.\n\n```ts\nmkPluralUk(1, 'результат', 'результати', 'результатів'); // 'результат'\nmkPluralUk(3, 'результат', 'результати', 'результатів'); // 'результати'\nmkPluralUk(11, 'результат', 'результати', 'результатів'); // 'результатів'\n```",
|
|
22779
|
+
"file": "projects/mk-kit/locales/uk/uk.ts",
|
|
22780
|
+
"kind": "function",
|
|
22781
|
+
"signatures": [
|
|
22782
|
+
"(count: number, one: string, few: string, many: string): string"
|
|
22783
|
+
]
|
|
22784
|
+
},
|
|
22785
|
+
{
|
|
22786
|
+
"name": "provideMkI18nUk",
|
|
22787
|
+
"description": "Provides the Ukrainian strings — `MK_UK_I18N` with any `overrides`\nmerged on top (deep for `dateNames`, `blockEditor` and `validation`, like\n`provideMkI18n`).\n\n```ts\nbootstrapApplication(App, {\n providers: [provideMkI18nUk({ noData: 'Тут нічого немає' })],\n});\n```",
|
|
22788
|
+
"file": "projects/mk-kit/locales/uk/uk.ts",
|
|
22789
|
+
"kind": "function",
|
|
22790
|
+
"signatures": [
|
|
22791
|
+
"(overrides?: MkI18nOverrides): Provider"
|
|
22792
|
+
]
|
|
22793
|
+
},
|
|
22794
|
+
{
|
|
22795
|
+
"name": "MK_UK_BLOCK_EDITOR",
|
|
22796
|
+
"description": "Ukrainian strings of the block editor's chrome.",
|
|
22797
|
+
"file": "projects/mk-kit/locales/uk/uk.ts",
|
|
22798
|
+
"kind": "const",
|
|
22799
|
+
"type": "MkBlockEditorStrings"
|
|
22800
|
+
},
|
|
22801
|
+
{
|
|
22802
|
+
"name": "MK_UK_DATE_NAMES",
|
|
22803
|
+
"description": "Ukrainian month and weekday names (Sunday-first, lowercase as in `Intl`).",
|
|
22804
|
+
"file": "projects/mk-kit/locales/uk/uk.ts",
|
|
22805
|
+
"kind": "const",
|
|
22806
|
+
"type": "MkDateNames"
|
|
22807
|
+
},
|
|
22808
|
+
{
|
|
22809
|
+
"name": "MK_UK_I18N",
|
|
22810
|
+
"description": "The complete Ukrainian string map — every key of `MkI18nStrings`,\n`locale: 'uk-UA'` and `currency: 'UAH'` for the formatting pipes.\nProvide it whole with `provideMkI18nUk`, or pass it as the base of\n`provideMkI18n(overrides, MK_UK_I18N)`.",
|
|
22811
|
+
"file": "projects/mk-kit/locales/uk/uk.ts",
|
|
22812
|
+
"kind": "const",
|
|
22813
|
+
"type": "MkI18nStrings"
|
|
22814
|
+
},
|
|
22815
|
+
{
|
|
22816
|
+
"name": "MK_UK_VALIDATION",
|
|
22817
|
+
"description": "Ukrainian validation messages rendered by `mk-form-field`.",
|
|
22818
|
+
"file": "projects/mk-kit/locales/uk/uk.ts",
|
|
22819
|
+
"kind": "const",
|
|
22820
|
+
"type": "MkValidationStrings"
|
|
22821
|
+
}
|
|
22822
|
+
]
|
|
22823
|
+
},
|
|
22616
22824
|
{
|
|
22617
22825
|
"name": "testing",
|
|
22618
22826
|
"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.48.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
|
|
|
@@ -15138,6 +15138,250 @@ Members:
|
|
|
15138
15138
|
| `providers`? | `(Provider \| EnvironmentProviders)[] \| undefined` | Extra providers for the shared application — `provideMkI18n(…)`, `provideMkExtendedIcons()`, `provideHttpClient()`, your services. |
|
|
15139
15139
|
| `overlays`? | `boolean \| undefined` | Mount mk-kit overlays (dialogs, anchored panels, toasts, tours) inside a page-level shadow host that carries the same `styles`, instead of bare `document.body`. Default `true`; set `false` to keep the application default (overlays styled by the page's own stylesheets). |
|
|
15140
15140
|
|
|
15141
|
+
## @mk-kit/ui/locales/de
|
|
15142
|
+
|
|
15143
|
+
6 exports. `import { … } from '@mk-kit/ui/locales/de';`
|
|
15144
|
+
|
|
15145
|
+
### mkPluralDe (function)
|
|
15146
|
+
|
|
15147
|
+
Import: `import { mkPluralDe } from '@mk-kit/ui/locales/de';`
|
|
15148
|
+
|
|
15149
|
+
Picks the German plural form for a count — CLDR's `de` rules for integers:
|
|
15150
|
+
`one` for 1, `other` for everything else.
|
|
15151
|
+
|
|
15152
|
+
```ts
|
|
15153
|
+
mkPluralDe(1, 'Ergebnis', 'Ergebnisse'); // 'Ergebnis'
|
|
15154
|
+
mkPluralDe(3, 'Ergebnis', 'Ergebnisse'); // 'Ergebnisse'
|
|
15155
|
+
```
|
|
15156
|
+
|
|
15157
|
+
```ts
|
|
15158
|
+
function mkPluralDe(count: number, one: string, other: string): string
|
|
15159
|
+
```
|
|
15160
|
+
|
|
15161
|
+
### provideMkI18nDe (function)
|
|
15162
|
+
|
|
15163
|
+
Import: `import { provideMkI18nDe } from '@mk-kit/ui/locales/de';`
|
|
15164
|
+
|
|
15165
|
+
Provides the German strings — `MK_DE_I18N` with any `overrides`
|
|
15166
|
+
merged on top (deep for `dateNames`, `blockEditor` and `validation`, like
|
|
15167
|
+
`provideMkI18n`).
|
|
15168
|
+
|
|
15169
|
+
```ts
|
|
15170
|
+
bootstrapApplication(App, {
|
|
15171
|
+
providers: [provideMkI18nDe({ noData: 'Nichts zu sehen' })],
|
|
15172
|
+
});
|
|
15173
|
+
```
|
|
15174
|
+
|
|
15175
|
+
```ts
|
|
15176
|
+
function provideMkI18nDe(overrides?: MkI18nOverrides): Provider
|
|
15177
|
+
```
|
|
15178
|
+
|
|
15179
|
+
### MK_DE_BLOCK_EDITOR (const)
|
|
15180
|
+
|
|
15181
|
+
Import: `import { MK_DE_BLOCK_EDITOR } from '@mk-kit/ui/locales/de';`
|
|
15182
|
+
|
|
15183
|
+
German strings of the block editor's chrome.
|
|
15184
|
+
|
|
15185
|
+
```ts
|
|
15186
|
+
const MK_DE_BLOCK_EDITOR: MkBlockEditorStrings;
|
|
15187
|
+
```
|
|
15188
|
+
|
|
15189
|
+
### MK_DE_DATE_NAMES (const)
|
|
15190
|
+
|
|
15191
|
+
Import: `import { MK_DE_DATE_NAMES } from '@mk-kit/ui/locales/de';`
|
|
15192
|
+
|
|
15193
|
+
German month and weekday names (Sunday-first, as in `Intl`).
|
|
15194
|
+
|
|
15195
|
+
```ts
|
|
15196
|
+
const MK_DE_DATE_NAMES: MkDateNames;
|
|
15197
|
+
```
|
|
15198
|
+
|
|
15199
|
+
### MK_DE_I18N (const)
|
|
15200
|
+
|
|
15201
|
+
Import: `import { MK_DE_I18N } from '@mk-kit/ui/locales/de';`
|
|
15202
|
+
|
|
15203
|
+
The complete German string map — every key of `MkI18nStrings`,
|
|
15204
|
+
`locale: 'de-DE'` and `currency: 'EUR'` for the formatting pipes.
|
|
15205
|
+
Provide it whole with `provideMkI18nDe`, or pass it as the base of
|
|
15206
|
+
`provideMkI18n(overrides, MK_DE_I18N)`.
|
|
15207
|
+
|
|
15208
|
+
```ts
|
|
15209
|
+
const MK_DE_I18N: MkI18nStrings;
|
|
15210
|
+
```
|
|
15211
|
+
|
|
15212
|
+
### MK_DE_VALIDATION (const)
|
|
15213
|
+
|
|
15214
|
+
Import: `import { MK_DE_VALIDATION } from '@mk-kit/ui/locales/de';`
|
|
15215
|
+
|
|
15216
|
+
German validation messages rendered by `mk-form-field`.
|
|
15217
|
+
|
|
15218
|
+
```ts
|
|
15219
|
+
const MK_DE_VALIDATION: MkValidationStrings;
|
|
15220
|
+
```
|
|
15221
|
+
|
|
15222
|
+
## @mk-kit/ui/locales/es
|
|
15223
|
+
|
|
15224
|
+
6 exports. `import { … } from '@mk-kit/ui/locales/es';`
|
|
15225
|
+
|
|
15226
|
+
### mkPluralEs (function)
|
|
15227
|
+
|
|
15228
|
+
Import: `import { mkPluralEs } from '@mk-kit/ui/locales/es';`
|
|
15229
|
+
|
|
15230
|
+
Picks the Spanish plural form for a count — CLDR's `es` rules for integers:
|
|
15231
|
+
`one` for 1, `other` for everything else.
|
|
15232
|
+
|
|
15233
|
+
```ts
|
|
15234
|
+
mkPluralEs(1, 'resultado', 'resultados'); // 'resultado'
|
|
15235
|
+
mkPluralEs(3, 'resultado', 'resultados'); // 'resultados'
|
|
15236
|
+
```
|
|
15237
|
+
|
|
15238
|
+
```ts
|
|
15239
|
+
function mkPluralEs(count: number, one: string, other: string): string
|
|
15240
|
+
```
|
|
15241
|
+
|
|
15242
|
+
### provideMkI18nEs (function)
|
|
15243
|
+
|
|
15244
|
+
Import: `import { provideMkI18nEs } from '@mk-kit/ui/locales/es';`
|
|
15245
|
+
|
|
15246
|
+
Provides the Spanish strings — `MK_ES_I18N` with any `overrides`
|
|
15247
|
+
merged on top (deep for `dateNames`, `blockEditor` and `validation`, like
|
|
15248
|
+
`provideMkI18n`).
|
|
15249
|
+
|
|
15250
|
+
```ts
|
|
15251
|
+
bootstrapApplication(App, {
|
|
15252
|
+
providers: [provideMkI18nEs({ noData: 'No hay nada aquí' })],
|
|
15253
|
+
});
|
|
15254
|
+
```
|
|
15255
|
+
|
|
15256
|
+
```ts
|
|
15257
|
+
function provideMkI18nEs(overrides?: MkI18nOverrides): Provider
|
|
15258
|
+
```
|
|
15259
|
+
|
|
15260
|
+
### MK_ES_BLOCK_EDITOR (const)
|
|
15261
|
+
|
|
15262
|
+
Import: `import { MK_ES_BLOCK_EDITOR } from '@mk-kit/ui/locales/es';`
|
|
15263
|
+
|
|
15264
|
+
Spanish strings of the block editor's chrome.
|
|
15265
|
+
|
|
15266
|
+
```ts
|
|
15267
|
+
const MK_ES_BLOCK_EDITOR: MkBlockEditorStrings;
|
|
15268
|
+
```
|
|
15269
|
+
|
|
15270
|
+
### MK_ES_DATE_NAMES (const)
|
|
15271
|
+
|
|
15272
|
+
Import: `import { MK_ES_DATE_NAMES } from '@mk-kit/ui/locales/es';`
|
|
15273
|
+
|
|
15274
|
+
Spanish month and weekday names (Sunday-first, lowercase as in `Intl`).
|
|
15275
|
+
|
|
15276
|
+
```ts
|
|
15277
|
+
const MK_ES_DATE_NAMES: MkDateNames;
|
|
15278
|
+
```
|
|
15279
|
+
|
|
15280
|
+
### MK_ES_I18N (const)
|
|
15281
|
+
|
|
15282
|
+
Import: `import { MK_ES_I18N } from '@mk-kit/ui/locales/es';`
|
|
15283
|
+
|
|
15284
|
+
The complete Spanish string map — every key of `MkI18nStrings`,
|
|
15285
|
+
`locale: 'es-ES'` and `currency: 'EUR'` for the formatting pipes.
|
|
15286
|
+
Provide it whole with `provideMkI18nEs`, or pass it as the base of
|
|
15287
|
+
`provideMkI18n(overrides, MK_ES_I18N)`.
|
|
15288
|
+
|
|
15289
|
+
```ts
|
|
15290
|
+
const MK_ES_I18N: MkI18nStrings;
|
|
15291
|
+
```
|
|
15292
|
+
|
|
15293
|
+
### MK_ES_VALIDATION (const)
|
|
15294
|
+
|
|
15295
|
+
Import: `import { MK_ES_VALIDATION } from '@mk-kit/ui/locales/es';`
|
|
15296
|
+
|
|
15297
|
+
Spanish validation messages rendered by `mk-form-field`.
|
|
15298
|
+
|
|
15299
|
+
```ts
|
|
15300
|
+
const MK_ES_VALIDATION: MkValidationStrings;
|
|
15301
|
+
```
|
|
15302
|
+
|
|
15303
|
+
## @mk-kit/ui/locales/fr
|
|
15304
|
+
|
|
15305
|
+
6 exports. `import { … } from '@mk-kit/ui/locales/fr';`
|
|
15306
|
+
|
|
15307
|
+
### mkPluralFr (function)
|
|
15308
|
+
|
|
15309
|
+
Import: `import { mkPluralFr } from '@mk-kit/ui/locales/fr';`
|
|
15310
|
+
|
|
15311
|
+
Picks the French plural form for a count — CLDR's `fr` rules for integers:
|
|
15312
|
+
`one` for 0 and 1, `other` for everything else.
|
|
15313
|
+
|
|
15314
|
+
```ts
|
|
15315
|
+
mkPluralFr(1, 'résultat', 'résultats'); // 'résultat'
|
|
15316
|
+
mkPluralFr(0, 'résultat', 'résultats'); // 'résultat'
|
|
15317
|
+
mkPluralFr(3, 'résultat', 'résultats'); // 'résultats'
|
|
15318
|
+
```
|
|
15319
|
+
|
|
15320
|
+
```ts
|
|
15321
|
+
function mkPluralFr(count: number, one: string, other: string): string
|
|
15322
|
+
```
|
|
15323
|
+
|
|
15324
|
+
### provideMkI18nFr (function)
|
|
15325
|
+
|
|
15326
|
+
Import: `import { provideMkI18nFr } from '@mk-kit/ui/locales/fr';`
|
|
15327
|
+
|
|
15328
|
+
Provides the French strings — `MK_FR_I18N` with any `overrides`
|
|
15329
|
+
merged on top (deep for `dateNames`, `blockEditor` and `validation`, like
|
|
15330
|
+
`provideMkI18n`).
|
|
15331
|
+
|
|
15332
|
+
```ts
|
|
15333
|
+
bootstrapApplication(App, {
|
|
15334
|
+
providers: [provideMkI18nFr({ noData: 'Rien à afficher ici' })],
|
|
15335
|
+
});
|
|
15336
|
+
```
|
|
15337
|
+
|
|
15338
|
+
```ts
|
|
15339
|
+
function provideMkI18nFr(overrides?: MkI18nOverrides): Provider
|
|
15340
|
+
```
|
|
15341
|
+
|
|
15342
|
+
### MK_FR_BLOCK_EDITOR (const)
|
|
15343
|
+
|
|
15344
|
+
Import: `import { MK_FR_BLOCK_EDITOR } from '@mk-kit/ui/locales/fr';`
|
|
15345
|
+
|
|
15346
|
+
French strings of the block editor's chrome.
|
|
15347
|
+
|
|
15348
|
+
```ts
|
|
15349
|
+
const MK_FR_BLOCK_EDITOR: MkBlockEditorStrings;
|
|
15350
|
+
```
|
|
15351
|
+
|
|
15352
|
+
### MK_FR_DATE_NAMES (const)
|
|
15353
|
+
|
|
15354
|
+
Import: `import { MK_FR_DATE_NAMES } from '@mk-kit/ui/locales/fr';`
|
|
15355
|
+
|
|
15356
|
+
French month and weekday names (Sunday-first, lowercase as in `Intl`).
|
|
15357
|
+
|
|
15358
|
+
```ts
|
|
15359
|
+
const MK_FR_DATE_NAMES: MkDateNames;
|
|
15360
|
+
```
|
|
15361
|
+
|
|
15362
|
+
### MK_FR_I18N (const)
|
|
15363
|
+
|
|
15364
|
+
Import: `import { MK_FR_I18N } from '@mk-kit/ui/locales/fr';`
|
|
15365
|
+
|
|
15366
|
+
The complete French string map — every key of `MkI18nStrings`,
|
|
15367
|
+
`locale: 'fr-FR'` and `currency: 'EUR'` for the formatting pipes.
|
|
15368
|
+
Provide it whole with `provideMkI18nFr`, or pass it as the base of
|
|
15369
|
+
`provideMkI18n(overrides, MK_FR_I18N)`.
|
|
15370
|
+
|
|
15371
|
+
```ts
|
|
15372
|
+
const MK_FR_I18N: MkI18nStrings;
|
|
15373
|
+
```
|
|
15374
|
+
|
|
15375
|
+
### MK_FR_VALIDATION (const)
|
|
15376
|
+
|
|
15377
|
+
Import: `import { MK_FR_VALIDATION } from '@mk-kit/ui/locales/fr';`
|
|
15378
|
+
|
|
15379
|
+
French validation messages rendered by `mk-form-field`.
|
|
15380
|
+
|
|
15381
|
+
```ts
|
|
15382
|
+
const MK_FR_VALIDATION: MkValidationStrings;
|
|
15383
|
+
```
|
|
15384
|
+
|
|
15141
15385
|
## @mk-kit/ui/locales/pl
|
|
15142
15386
|
|
|
15143
15387
|
6 exports. `import { … } from '@mk-kit/ui/locales/pl';`
|
|
@@ -15221,6 +15465,89 @@ Polish validation messages rendered by `mk-form-field`.
|
|
|
15221
15465
|
const MK_PL_VALIDATION: MkValidationStrings;
|
|
15222
15466
|
```
|
|
15223
15467
|
|
|
15468
|
+
## @mk-kit/ui/locales/uk
|
|
15469
|
+
|
|
15470
|
+
6 exports. `import { … } from '@mk-kit/ui/locales/uk';`
|
|
15471
|
+
|
|
15472
|
+
### mkPluralUk (function)
|
|
15473
|
+
|
|
15474
|
+
Import: `import { mkPluralUk } from '@mk-kit/ui/locales/uk';`
|
|
15475
|
+
|
|
15476
|
+
Picks the Ukrainian plural form for a count — CLDR's `uk` rules for
|
|
15477
|
+
integers: `one` when the number ends in 1 (but not 11), `few` when it ends
|
|
15478
|
+
in 2–4 (but not 12–14), `many` otherwise.
|
|
15479
|
+
|
|
15480
|
+
```ts
|
|
15481
|
+
mkPluralUk(1, 'результат', 'результати', 'результатів'); // 'результат'
|
|
15482
|
+
mkPluralUk(3, 'результат', 'результати', 'результатів'); // 'результати'
|
|
15483
|
+
mkPluralUk(11, 'результат', 'результати', 'результатів'); // 'результатів'
|
|
15484
|
+
```
|
|
15485
|
+
|
|
15486
|
+
```ts
|
|
15487
|
+
function mkPluralUk(count: number, one: string, few: string, many: string): string
|
|
15488
|
+
```
|
|
15489
|
+
|
|
15490
|
+
### provideMkI18nUk (function)
|
|
15491
|
+
|
|
15492
|
+
Import: `import { provideMkI18nUk } from '@mk-kit/ui/locales/uk';`
|
|
15493
|
+
|
|
15494
|
+
Provides the Ukrainian strings — `MK_UK_I18N` with any `overrides`
|
|
15495
|
+
merged on top (deep for `dateNames`, `blockEditor` and `validation`, like
|
|
15496
|
+
`provideMkI18n`).
|
|
15497
|
+
|
|
15498
|
+
```ts
|
|
15499
|
+
bootstrapApplication(App, {
|
|
15500
|
+
providers: [provideMkI18nUk({ noData: 'Тут нічого немає' })],
|
|
15501
|
+
});
|
|
15502
|
+
```
|
|
15503
|
+
|
|
15504
|
+
```ts
|
|
15505
|
+
function provideMkI18nUk(overrides?: MkI18nOverrides): Provider
|
|
15506
|
+
```
|
|
15507
|
+
|
|
15508
|
+
### MK_UK_BLOCK_EDITOR (const)
|
|
15509
|
+
|
|
15510
|
+
Import: `import { MK_UK_BLOCK_EDITOR } from '@mk-kit/ui/locales/uk';`
|
|
15511
|
+
|
|
15512
|
+
Ukrainian strings of the block editor's chrome.
|
|
15513
|
+
|
|
15514
|
+
```ts
|
|
15515
|
+
const MK_UK_BLOCK_EDITOR: MkBlockEditorStrings;
|
|
15516
|
+
```
|
|
15517
|
+
|
|
15518
|
+
### MK_UK_DATE_NAMES (const)
|
|
15519
|
+
|
|
15520
|
+
Import: `import { MK_UK_DATE_NAMES } from '@mk-kit/ui/locales/uk';`
|
|
15521
|
+
|
|
15522
|
+
Ukrainian month and weekday names (Sunday-first, lowercase as in `Intl`).
|
|
15523
|
+
|
|
15524
|
+
```ts
|
|
15525
|
+
const MK_UK_DATE_NAMES: MkDateNames;
|
|
15526
|
+
```
|
|
15527
|
+
|
|
15528
|
+
### MK_UK_I18N (const)
|
|
15529
|
+
|
|
15530
|
+
Import: `import { MK_UK_I18N } from '@mk-kit/ui/locales/uk';`
|
|
15531
|
+
|
|
15532
|
+
The complete Ukrainian string map — every key of `MkI18nStrings`,
|
|
15533
|
+
`locale: 'uk-UA'` and `currency: 'UAH'` for the formatting pipes.
|
|
15534
|
+
Provide it whole with `provideMkI18nUk`, or pass it as the base of
|
|
15535
|
+
`provideMkI18n(overrides, MK_UK_I18N)`.
|
|
15536
|
+
|
|
15537
|
+
```ts
|
|
15538
|
+
const MK_UK_I18N: MkI18nStrings;
|
|
15539
|
+
```
|
|
15540
|
+
|
|
15541
|
+
### MK_UK_VALIDATION (const)
|
|
15542
|
+
|
|
15543
|
+
Import: `import { MK_UK_VALIDATION } from '@mk-kit/ui/locales/uk';`
|
|
15544
|
+
|
|
15545
|
+
Ukrainian validation messages rendered by `mk-form-field`.
|
|
15546
|
+
|
|
15547
|
+
```ts
|
|
15548
|
+
const MK_UK_VALIDATION: MkValidationStrings;
|
|
15549
|
+
```
|
|
15550
|
+
|
|
15224
15551
|
## @mk-kit/ui/testing
|
|
15225
15552
|
|
|
15226
15553
|
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.48.0. 170 components, 41 directives, 16 services and 144 helper functions across 29 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.48.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",
|