@mk-kit/mcp 0.47.0 → 0.49.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 +412 -79
- package/data/llms-full.txt +379 -9
- package/data/llms.txt +1 -1
- package/package.json +1 -1
package/data/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @mk-kit/ui 0.
|
|
1
|
+
# @mk-kit/ui 0.49.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
|
+
81 exports. `import { … } from '@mk-kit/ui/core';`
|
|
16
16
|
|
|
17
17
|
### MkAnchoredPanel (directive)
|
|
18
18
|
|
|
@@ -274,7 +274,7 @@ panel — flipping to the opposite side when it would overflow and clamping
|
|
|
274
274
|
back inside the viewport.
|
|
275
275
|
|
|
276
276
|
```ts
|
|
277
|
-
function mkComputeAnchoredPosition(anchor: MkRectLike, panel:
|
|
277
|
+
function mkComputeAnchoredPosition(anchor: MkRectLike, panel: MkDimensions, viewport: MkDimensions, opts: MkAnchoredPositionOptions): MkAnchoredPosition
|
|
278
278
|
```
|
|
279
279
|
|
|
280
280
|
### mkCreateQueryGroup (function)
|
|
@@ -438,7 +438,7 @@ Import: `import { mkQueryOperatorLabel } from '@mk-kit/ui/core';`
|
|
|
438
438
|
Localised label of an operator.
|
|
439
439
|
|
|
440
440
|
```ts
|
|
441
|
-
function mkQueryOperatorLabel(op: MkQueryOperator, i18n?:
|
|
441
|
+
function mkQueryOperatorLabel(op: MkQueryOperator, i18n?: MkQueryTextStrings): string
|
|
442
442
|
```
|
|
443
443
|
|
|
444
444
|
### mkQueryOperatorsFor (function)
|
|
@@ -501,7 +501,7 @@ Human-readable sentence for a query, e.g.
|
|
|
501
501
|
`(Name contains "ada" and Orders at least 10) or Status is any of Active, Invited`.
|
|
502
502
|
|
|
503
503
|
```ts
|
|
504
|
-
function mkQueryToText(group: MkQueryGroup, fields?: readonly MkQueryField[], i18n?:
|
|
504
|
+
function mkQueryToText(group: MkQueryGroup, fields?: readonly MkQueryField[], i18n?: MkQueryTextStrings): string
|
|
505
505
|
```
|
|
506
506
|
|
|
507
507
|
### mkSignalErrorMessage (function)
|
|
@@ -701,6 +701,16 @@ Operators offered per field type, in menu order.
|
|
|
701
701
|
const MK_QUERY_OPERATORS: Readonly<Record<MkQueryValueType, readonly MkQueryOperator[]>>;
|
|
702
702
|
```
|
|
703
703
|
|
|
704
|
+
### MK_QUERY_TEXT_EN (const)
|
|
705
|
+
|
|
706
|
+
Import: `import { MK_QUERY_TEXT_EN } from '@mk-kit/ui/core';`
|
|
707
|
+
|
|
708
|
+
English defaults for `MkQueryTextStrings`.
|
|
709
|
+
|
|
710
|
+
```ts
|
|
711
|
+
const MK_QUERY_TEXT_EN: MkQueryTextStrings;
|
|
712
|
+
```
|
|
713
|
+
|
|
704
714
|
### MK_QUERY_UNARY (const)
|
|
705
715
|
|
|
706
716
|
Import: `import { MK_QUERY_UNARY } from '@mk-kit/ui/core';`
|
|
@@ -877,9 +887,7 @@ Members:
|
|
|
877
887
|
|
|
878
888
|
Import: `import { MkDateNames } from '@mk-kit/ui/core';`
|
|
879
889
|
|
|
880
|
-
Localised
|
|
881
|
-
pickers and `formatDate`. All arrays are full-length (12 months, 7 weekdays
|
|
882
|
-
starting with Sunday) — override the whole set for a locale.
|
|
890
|
+
Localised month and weekday name tables (the shape `MK_I18N` carries).
|
|
883
891
|
|
|
884
892
|
Members:
|
|
885
893
|
|
|
@@ -1258,6 +1266,41 @@ Members:
|
|
|
1258
1266
|
| `operator` | `MkQueryOperator` | |
|
|
1259
1267
|
| `value`? | `unknown` | |
|
|
1260
1268
|
|
|
1269
|
+
### MkQueryTextStrings (interface)
|
|
1270
|
+
|
|
1271
|
+
Import: `import { MkQueryTextStrings } from '@mk-kit/ui/core';`
|
|
1272
|
+
|
|
1273
|
+
The strings `mkQueryToText` and `mkQueryOperatorLabel` render
|
|
1274
|
+
with. A structural subset of mk-kit's `MkI18nStrings`, so the UI's full
|
|
1275
|
+
i18n map can be passed directly; defaults to `MK_QUERY_TEXT_EN`.
|
|
1276
|
+
|
|
1277
|
+
Members:
|
|
1278
|
+
|
|
1279
|
+
| Name | Type | Description |
|
|
1280
|
+
| --- | --- | --- |
|
|
1281
|
+
| `queryTrue` | `string` | |
|
|
1282
|
+
| `queryFalse` | `string` | |
|
|
1283
|
+
| `queryAnd` | `string` | |
|
|
1284
|
+
| `queryOr` | `string` | |
|
|
1285
|
+
| `queryNot` | `string` | |
|
|
1286
|
+
| `queryOpEq` | `string` | |
|
|
1287
|
+
| `queryOpNeq` | `string` | |
|
|
1288
|
+
| `queryOpContains` | `string` | |
|
|
1289
|
+
| `queryOpNotContains` | `string` | |
|
|
1290
|
+
| `queryOpStartsWith` | `string` | |
|
|
1291
|
+
| `queryOpEndsWith` | `string` | |
|
|
1292
|
+
| `queryOpGt` | `string` | |
|
|
1293
|
+
| `queryOpGte` | `string` | |
|
|
1294
|
+
| `queryOpLt` | `string` | |
|
|
1295
|
+
| `queryOpLte` | `string` | |
|
|
1296
|
+
| `queryOpBetween` | `string` | |
|
|
1297
|
+
| `queryOpIn` | `string` | |
|
|
1298
|
+
| `queryOpNotIn` | `string` | |
|
|
1299
|
+
| `queryOpBefore` | `string` | |
|
|
1300
|
+
| `queryOpAfter` | `string` | |
|
|
1301
|
+
| `queryOpEmpty` | `string` | |
|
|
1302
|
+
| `queryOpNotEmpty` | `string` | |
|
|
1303
|
+
|
|
1261
1304
|
### MkSignalValidationError (interface)
|
|
1262
1305
|
|
|
1263
1306
|
Import: `import { MkSignalValidationError } from '@mk-kit/ui/core';`
|
|
@@ -1438,7 +1481,7 @@ type MkOverlayRootFn = () => HTMLElement;
|
|
|
1438
1481
|
|
|
1439
1482
|
Import: `import { MkPlacement } from '@mk-kit/ui/core';`
|
|
1440
1483
|
|
|
1441
|
-
Common placement values for overlays (menus, tooltips, popovers).
|
|
1484
|
+
Common placement values for anchored overlays (menus, tooltips, popovers).
|
|
1442
1485
|
|
|
1443
1486
|
```ts
|
|
1444
1487
|
type MkPlacement = | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
@@ -15138,6 +15181,250 @@ Members:
|
|
|
15138
15181
|
| `providers`? | `(Provider \| EnvironmentProviders)[] \| undefined` | Extra providers for the shared application — `provideMkI18n(…)`, `provideMkExtendedIcons()`, `provideHttpClient()`, your services. |
|
|
15139
15182
|
| `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
15183
|
|
|
15184
|
+
## @mk-kit/ui/locales/de
|
|
15185
|
+
|
|
15186
|
+
6 exports. `import { … } from '@mk-kit/ui/locales/de';`
|
|
15187
|
+
|
|
15188
|
+
### mkPluralDe (function)
|
|
15189
|
+
|
|
15190
|
+
Import: `import { mkPluralDe } from '@mk-kit/ui/locales/de';`
|
|
15191
|
+
|
|
15192
|
+
Picks the German plural form for a count — CLDR's `de` rules for integers:
|
|
15193
|
+
`one` for 1, `other` for everything else.
|
|
15194
|
+
|
|
15195
|
+
```ts
|
|
15196
|
+
mkPluralDe(1, 'Ergebnis', 'Ergebnisse'); // 'Ergebnis'
|
|
15197
|
+
mkPluralDe(3, 'Ergebnis', 'Ergebnisse'); // 'Ergebnisse'
|
|
15198
|
+
```
|
|
15199
|
+
|
|
15200
|
+
```ts
|
|
15201
|
+
function mkPluralDe(count: number, one: string, other: string): string
|
|
15202
|
+
```
|
|
15203
|
+
|
|
15204
|
+
### provideMkI18nDe (function)
|
|
15205
|
+
|
|
15206
|
+
Import: `import { provideMkI18nDe } from '@mk-kit/ui/locales/de';`
|
|
15207
|
+
|
|
15208
|
+
Provides the German strings — `MK_DE_I18N` with any `overrides`
|
|
15209
|
+
merged on top (deep for `dateNames`, `blockEditor` and `validation`, like
|
|
15210
|
+
`provideMkI18n`).
|
|
15211
|
+
|
|
15212
|
+
```ts
|
|
15213
|
+
bootstrapApplication(App, {
|
|
15214
|
+
providers: [provideMkI18nDe({ noData: 'Nichts zu sehen' })],
|
|
15215
|
+
});
|
|
15216
|
+
```
|
|
15217
|
+
|
|
15218
|
+
```ts
|
|
15219
|
+
function provideMkI18nDe(overrides?: MkI18nOverrides): Provider
|
|
15220
|
+
```
|
|
15221
|
+
|
|
15222
|
+
### MK_DE_BLOCK_EDITOR (const)
|
|
15223
|
+
|
|
15224
|
+
Import: `import { MK_DE_BLOCK_EDITOR } from '@mk-kit/ui/locales/de';`
|
|
15225
|
+
|
|
15226
|
+
German strings of the block editor's chrome.
|
|
15227
|
+
|
|
15228
|
+
```ts
|
|
15229
|
+
const MK_DE_BLOCK_EDITOR: MkBlockEditorStrings;
|
|
15230
|
+
```
|
|
15231
|
+
|
|
15232
|
+
### MK_DE_DATE_NAMES (const)
|
|
15233
|
+
|
|
15234
|
+
Import: `import { MK_DE_DATE_NAMES } from '@mk-kit/ui/locales/de';`
|
|
15235
|
+
|
|
15236
|
+
German month and weekday names (Sunday-first, as in `Intl`).
|
|
15237
|
+
|
|
15238
|
+
```ts
|
|
15239
|
+
const MK_DE_DATE_NAMES: MkDateNames;
|
|
15240
|
+
```
|
|
15241
|
+
|
|
15242
|
+
### MK_DE_I18N (const)
|
|
15243
|
+
|
|
15244
|
+
Import: `import { MK_DE_I18N } from '@mk-kit/ui/locales/de';`
|
|
15245
|
+
|
|
15246
|
+
The complete German string map — every key of `MkI18nStrings`,
|
|
15247
|
+
`locale: 'de-DE'` and `currency: 'EUR'` for the formatting pipes.
|
|
15248
|
+
Provide it whole with `provideMkI18nDe`, or pass it as the base of
|
|
15249
|
+
`provideMkI18n(overrides, MK_DE_I18N)`.
|
|
15250
|
+
|
|
15251
|
+
```ts
|
|
15252
|
+
const MK_DE_I18N: MkI18nStrings;
|
|
15253
|
+
```
|
|
15254
|
+
|
|
15255
|
+
### MK_DE_VALIDATION (const)
|
|
15256
|
+
|
|
15257
|
+
Import: `import { MK_DE_VALIDATION } from '@mk-kit/ui/locales/de';`
|
|
15258
|
+
|
|
15259
|
+
German validation messages rendered by `mk-form-field`.
|
|
15260
|
+
|
|
15261
|
+
```ts
|
|
15262
|
+
const MK_DE_VALIDATION: MkValidationStrings;
|
|
15263
|
+
```
|
|
15264
|
+
|
|
15265
|
+
## @mk-kit/ui/locales/es
|
|
15266
|
+
|
|
15267
|
+
6 exports. `import { … } from '@mk-kit/ui/locales/es';`
|
|
15268
|
+
|
|
15269
|
+
### mkPluralEs (function)
|
|
15270
|
+
|
|
15271
|
+
Import: `import { mkPluralEs } from '@mk-kit/ui/locales/es';`
|
|
15272
|
+
|
|
15273
|
+
Picks the Spanish plural form for a count — CLDR's `es` rules for integers:
|
|
15274
|
+
`one` for 1, `other` for everything else.
|
|
15275
|
+
|
|
15276
|
+
```ts
|
|
15277
|
+
mkPluralEs(1, 'resultado', 'resultados'); // 'resultado'
|
|
15278
|
+
mkPluralEs(3, 'resultado', 'resultados'); // 'resultados'
|
|
15279
|
+
```
|
|
15280
|
+
|
|
15281
|
+
```ts
|
|
15282
|
+
function mkPluralEs(count: number, one: string, other: string): string
|
|
15283
|
+
```
|
|
15284
|
+
|
|
15285
|
+
### provideMkI18nEs (function)
|
|
15286
|
+
|
|
15287
|
+
Import: `import { provideMkI18nEs } from '@mk-kit/ui/locales/es';`
|
|
15288
|
+
|
|
15289
|
+
Provides the Spanish strings — `MK_ES_I18N` with any `overrides`
|
|
15290
|
+
merged on top (deep for `dateNames`, `blockEditor` and `validation`, like
|
|
15291
|
+
`provideMkI18n`).
|
|
15292
|
+
|
|
15293
|
+
```ts
|
|
15294
|
+
bootstrapApplication(App, {
|
|
15295
|
+
providers: [provideMkI18nEs({ noData: 'No hay nada aquí' })],
|
|
15296
|
+
});
|
|
15297
|
+
```
|
|
15298
|
+
|
|
15299
|
+
```ts
|
|
15300
|
+
function provideMkI18nEs(overrides?: MkI18nOverrides): Provider
|
|
15301
|
+
```
|
|
15302
|
+
|
|
15303
|
+
### MK_ES_BLOCK_EDITOR (const)
|
|
15304
|
+
|
|
15305
|
+
Import: `import { MK_ES_BLOCK_EDITOR } from '@mk-kit/ui/locales/es';`
|
|
15306
|
+
|
|
15307
|
+
Spanish strings of the block editor's chrome.
|
|
15308
|
+
|
|
15309
|
+
```ts
|
|
15310
|
+
const MK_ES_BLOCK_EDITOR: MkBlockEditorStrings;
|
|
15311
|
+
```
|
|
15312
|
+
|
|
15313
|
+
### MK_ES_DATE_NAMES (const)
|
|
15314
|
+
|
|
15315
|
+
Import: `import { MK_ES_DATE_NAMES } from '@mk-kit/ui/locales/es';`
|
|
15316
|
+
|
|
15317
|
+
Spanish month and weekday names (Sunday-first, lowercase as in `Intl`).
|
|
15318
|
+
|
|
15319
|
+
```ts
|
|
15320
|
+
const MK_ES_DATE_NAMES: MkDateNames;
|
|
15321
|
+
```
|
|
15322
|
+
|
|
15323
|
+
### MK_ES_I18N (const)
|
|
15324
|
+
|
|
15325
|
+
Import: `import { MK_ES_I18N } from '@mk-kit/ui/locales/es';`
|
|
15326
|
+
|
|
15327
|
+
The complete Spanish string map — every key of `MkI18nStrings`,
|
|
15328
|
+
`locale: 'es-ES'` and `currency: 'EUR'` for the formatting pipes.
|
|
15329
|
+
Provide it whole with `provideMkI18nEs`, or pass it as the base of
|
|
15330
|
+
`provideMkI18n(overrides, MK_ES_I18N)`.
|
|
15331
|
+
|
|
15332
|
+
```ts
|
|
15333
|
+
const MK_ES_I18N: MkI18nStrings;
|
|
15334
|
+
```
|
|
15335
|
+
|
|
15336
|
+
### MK_ES_VALIDATION (const)
|
|
15337
|
+
|
|
15338
|
+
Import: `import { MK_ES_VALIDATION } from '@mk-kit/ui/locales/es';`
|
|
15339
|
+
|
|
15340
|
+
Spanish validation messages rendered by `mk-form-field`.
|
|
15341
|
+
|
|
15342
|
+
```ts
|
|
15343
|
+
const MK_ES_VALIDATION: MkValidationStrings;
|
|
15344
|
+
```
|
|
15345
|
+
|
|
15346
|
+
## @mk-kit/ui/locales/fr
|
|
15347
|
+
|
|
15348
|
+
6 exports. `import { … } from '@mk-kit/ui/locales/fr';`
|
|
15349
|
+
|
|
15350
|
+
### mkPluralFr (function)
|
|
15351
|
+
|
|
15352
|
+
Import: `import { mkPluralFr } from '@mk-kit/ui/locales/fr';`
|
|
15353
|
+
|
|
15354
|
+
Picks the French plural form for a count — CLDR's `fr` rules for integers:
|
|
15355
|
+
`one` for 0 and 1, `other` for everything else.
|
|
15356
|
+
|
|
15357
|
+
```ts
|
|
15358
|
+
mkPluralFr(1, 'résultat', 'résultats'); // 'résultat'
|
|
15359
|
+
mkPluralFr(0, 'résultat', 'résultats'); // 'résultat'
|
|
15360
|
+
mkPluralFr(3, 'résultat', 'résultats'); // 'résultats'
|
|
15361
|
+
```
|
|
15362
|
+
|
|
15363
|
+
```ts
|
|
15364
|
+
function mkPluralFr(count: number, one: string, other: string): string
|
|
15365
|
+
```
|
|
15366
|
+
|
|
15367
|
+
### provideMkI18nFr (function)
|
|
15368
|
+
|
|
15369
|
+
Import: `import { provideMkI18nFr } from '@mk-kit/ui/locales/fr';`
|
|
15370
|
+
|
|
15371
|
+
Provides the French strings — `MK_FR_I18N` with any `overrides`
|
|
15372
|
+
merged on top (deep for `dateNames`, `blockEditor` and `validation`, like
|
|
15373
|
+
`provideMkI18n`).
|
|
15374
|
+
|
|
15375
|
+
```ts
|
|
15376
|
+
bootstrapApplication(App, {
|
|
15377
|
+
providers: [provideMkI18nFr({ noData: 'Rien à afficher ici' })],
|
|
15378
|
+
});
|
|
15379
|
+
```
|
|
15380
|
+
|
|
15381
|
+
```ts
|
|
15382
|
+
function provideMkI18nFr(overrides?: MkI18nOverrides): Provider
|
|
15383
|
+
```
|
|
15384
|
+
|
|
15385
|
+
### MK_FR_BLOCK_EDITOR (const)
|
|
15386
|
+
|
|
15387
|
+
Import: `import { MK_FR_BLOCK_EDITOR } from '@mk-kit/ui/locales/fr';`
|
|
15388
|
+
|
|
15389
|
+
French strings of the block editor's chrome.
|
|
15390
|
+
|
|
15391
|
+
```ts
|
|
15392
|
+
const MK_FR_BLOCK_EDITOR: MkBlockEditorStrings;
|
|
15393
|
+
```
|
|
15394
|
+
|
|
15395
|
+
### MK_FR_DATE_NAMES (const)
|
|
15396
|
+
|
|
15397
|
+
Import: `import { MK_FR_DATE_NAMES } from '@mk-kit/ui/locales/fr';`
|
|
15398
|
+
|
|
15399
|
+
French month and weekday names (Sunday-first, lowercase as in `Intl`).
|
|
15400
|
+
|
|
15401
|
+
```ts
|
|
15402
|
+
const MK_FR_DATE_NAMES: MkDateNames;
|
|
15403
|
+
```
|
|
15404
|
+
|
|
15405
|
+
### MK_FR_I18N (const)
|
|
15406
|
+
|
|
15407
|
+
Import: `import { MK_FR_I18N } from '@mk-kit/ui/locales/fr';`
|
|
15408
|
+
|
|
15409
|
+
The complete French string map — every key of `MkI18nStrings`,
|
|
15410
|
+
`locale: 'fr-FR'` and `currency: 'EUR'` for the formatting pipes.
|
|
15411
|
+
Provide it whole with `provideMkI18nFr`, or pass it as the base of
|
|
15412
|
+
`provideMkI18n(overrides, MK_FR_I18N)`.
|
|
15413
|
+
|
|
15414
|
+
```ts
|
|
15415
|
+
const MK_FR_I18N: MkI18nStrings;
|
|
15416
|
+
```
|
|
15417
|
+
|
|
15418
|
+
### MK_FR_VALIDATION (const)
|
|
15419
|
+
|
|
15420
|
+
Import: `import { MK_FR_VALIDATION } from '@mk-kit/ui/locales/fr';`
|
|
15421
|
+
|
|
15422
|
+
French validation messages rendered by `mk-form-field`.
|
|
15423
|
+
|
|
15424
|
+
```ts
|
|
15425
|
+
const MK_FR_VALIDATION: MkValidationStrings;
|
|
15426
|
+
```
|
|
15427
|
+
|
|
15141
15428
|
## @mk-kit/ui/locales/pl
|
|
15142
15429
|
|
|
15143
15430
|
6 exports. `import { … } from '@mk-kit/ui/locales/pl';`
|
|
@@ -15221,6 +15508,89 @@ Polish validation messages rendered by `mk-form-field`.
|
|
|
15221
15508
|
const MK_PL_VALIDATION: MkValidationStrings;
|
|
15222
15509
|
```
|
|
15223
15510
|
|
|
15511
|
+
## @mk-kit/ui/locales/uk
|
|
15512
|
+
|
|
15513
|
+
6 exports. `import { … } from '@mk-kit/ui/locales/uk';`
|
|
15514
|
+
|
|
15515
|
+
### mkPluralUk (function)
|
|
15516
|
+
|
|
15517
|
+
Import: `import { mkPluralUk } from '@mk-kit/ui/locales/uk';`
|
|
15518
|
+
|
|
15519
|
+
Picks the Ukrainian plural form for a count — CLDR's `uk` rules for
|
|
15520
|
+
integers: `one` when the number ends in 1 (but not 11), `few` when it ends
|
|
15521
|
+
in 2–4 (but not 12–14), `many` otherwise.
|
|
15522
|
+
|
|
15523
|
+
```ts
|
|
15524
|
+
mkPluralUk(1, 'результат', 'результати', 'результатів'); // 'результат'
|
|
15525
|
+
mkPluralUk(3, 'результат', 'результати', 'результатів'); // 'результати'
|
|
15526
|
+
mkPluralUk(11, 'результат', 'результати', 'результатів'); // 'результатів'
|
|
15527
|
+
```
|
|
15528
|
+
|
|
15529
|
+
```ts
|
|
15530
|
+
function mkPluralUk(count: number, one: string, few: string, many: string): string
|
|
15531
|
+
```
|
|
15532
|
+
|
|
15533
|
+
### provideMkI18nUk (function)
|
|
15534
|
+
|
|
15535
|
+
Import: `import { provideMkI18nUk } from '@mk-kit/ui/locales/uk';`
|
|
15536
|
+
|
|
15537
|
+
Provides the Ukrainian strings — `MK_UK_I18N` with any `overrides`
|
|
15538
|
+
merged on top (deep for `dateNames`, `blockEditor` and `validation`, like
|
|
15539
|
+
`provideMkI18n`).
|
|
15540
|
+
|
|
15541
|
+
```ts
|
|
15542
|
+
bootstrapApplication(App, {
|
|
15543
|
+
providers: [provideMkI18nUk({ noData: 'Тут нічого немає' })],
|
|
15544
|
+
});
|
|
15545
|
+
```
|
|
15546
|
+
|
|
15547
|
+
```ts
|
|
15548
|
+
function provideMkI18nUk(overrides?: MkI18nOverrides): Provider
|
|
15549
|
+
```
|
|
15550
|
+
|
|
15551
|
+
### MK_UK_BLOCK_EDITOR (const)
|
|
15552
|
+
|
|
15553
|
+
Import: `import { MK_UK_BLOCK_EDITOR } from '@mk-kit/ui/locales/uk';`
|
|
15554
|
+
|
|
15555
|
+
Ukrainian strings of the block editor's chrome.
|
|
15556
|
+
|
|
15557
|
+
```ts
|
|
15558
|
+
const MK_UK_BLOCK_EDITOR: MkBlockEditorStrings;
|
|
15559
|
+
```
|
|
15560
|
+
|
|
15561
|
+
### MK_UK_DATE_NAMES (const)
|
|
15562
|
+
|
|
15563
|
+
Import: `import { MK_UK_DATE_NAMES } from '@mk-kit/ui/locales/uk';`
|
|
15564
|
+
|
|
15565
|
+
Ukrainian month and weekday names (Sunday-first, lowercase as in `Intl`).
|
|
15566
|
+
|
|
15567
|
+
```ts
|
|
15568
|
+
const MK_UK_DATE_NAMES: MkDateNames;
|
|
15569
|
+
```
|
|
15570
|
+
|
|
15571
|
+
### MK_UK_I18N (const)
|
|
15572
|
+
|
|
15573
|
+
Import: `import { MK_UK_I18N } from '@mk-kit/ui/locales/uk';`
|
|
15574
|
+
|
|
15575
|
+
The complete Ukrainian string map — every key of `MkI18nStrings`,
|
|
15576
|
+
`locale: 'uk-UA'` and `currency: 'UAH'` for the formatting pipes.
|
|
15577
|
+
Provide it whole with `provideMkI18nUk`, or pass it as the base of
|
|
15578
|
+
`provideMkI18n(overrides, MK_UK_I18N)`.
|
|
15579
|
+
|
|
15580
|
+
```ts
|
|
15581
|
+
const MK_UK_I18N: MkI18nStrings;
|
|
15582
|
+
```
|
|
15583
|
+
|
|
15584
|
+
### MK_UK_VALIDATION (const)
|
|
15585
|
+
|
|
15586
|
+
Import: `import { MK_UK_VALIDATION } from '@mk-kit/ui/locales/uk';`
|
|
15587
|
+
|
|
15588
|
+
Ukrainian validation messages rendered by `mk-form-field`.
|
|
15589
|
+
|
|
15590
|
+
```ts
|
|
15591
|
+
const MK_UK_VALIDATION: MkValidationStrings;
|
|
15592
|
+
```
|
|
15593
|
+
|
|
15224
15594
|
## @mk-kit/ui/testing
|
|
15225
15595
|
|
|
15226
15596
|
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.49.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.49.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",
|