@kazee-ds/mcp 0.1.3 → 0.1.4
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/dist/catalog.json +51 -7
- package/package.json +4 -4
package/dist/catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"serverVersion": "0.1.
|
|
3
|
+
"serverVersion": "0.1.4",
|
|
4
4
|
"catalogs": [
|
|
5
5
|
{
|
|
6
6
|
"version": "0.2.0",
|
|
@@ -18364,12 +18364,12 @@
|
|
|
18364
18364
|
}
|
|
18365
18365
|
},
|
|
18366
18366
|
{
|
|
18367
|
-
"version": "0.5.
|
|
18367
|
+
"version": "0.5.1",
|
|
18368
18368
|
"status": "release-candidate",
|
|
18369
18369
|
"packages": {
|
|
18370
|
-
"react": "0.5.
|
|
18371
|
-
"vue": "0.5.
|
|
18372
|
-
"styles": "0.5.
|
|
18370
|
+
"react": "0.5.1",
|
|
18371
|
+
"vue": "0.5.1",
|
|
18372
|
+
"styles": "0.5.1",
|
|
18373
18373
|
"tokens": "0.4.0",
|
|
18374
18374
|
"eslint-config": "0.4.0"
|
|
18375
18375
|
},
|
|
@@ -23419,6 +23419,7 @@
|
|
|
23419
23419
|
],
|
|
23420
23420
|
"notes": [
|
|
23421
23421
|
"Part of the Toast component family, not a separate notification product. One manager attaches to one mounted provider.",
|
|
23422
|
+
"Close buttons and progress bars are hidden by default. Enable showCloseButton and showProgress independently on the provider (Vue: show-close-button and show-progress). Hiding either does not disable automatic dismissal; duration zero is still persistent.",
|
|
23422
23423
|
"createToastManager defaults to three visible, fifty waiting, five-second durations and a two-hundred-millisecond exit phase; duration zero is persistent.",
|
|
23423
23424
|
"Add returns an ID or null when capacity is full. Update preserves the ID; dismissed or reused IDs cannot be revived by stale promise results.",
|
|
23424
23425
|
"Timers pause for hover, focus, window blur and hidden tabs; queued entries do not consume visible duration. Default hotkey Alt+T; Escape is scoped to the region.",
|
|
@@ -23476,6 +23477,12 @@
|
|
|
23476
23477
|
"required": false,
|
|
23477
23478
|
"description": ""
|
|
23478
23479
|
},
|
|
23480
|
+
{
|
|
23481
|
+
"name": "showCloseButton",
|
|
23482
|
+
"type": "boolean | undefined",
|
|
23483
|
+
"required": false,
|
|
23484
|
+
"description": "Show the dismiss button. Hidden by default; timers and keyboard dismissal still work."
|
|
23485
|
+
},
|
|
23479
23486
|
{
|
|
23480
23487
|
"name": "swipeThreshold",
|
|
23481
23488
|
"type": "number | undefined",
|
|
@@ -23513,6 +23520,12 @@
|
|
|
23513
23520
|
"code": "'use client';\nimport { useState } from 'react';\nimport { ToastProvider, Button, createToastManager } from '@kazee-ds/react';\nexport default function Example() {\nconst [manager] = useState(() => createToastManager());\nreturn (<ToastProvider manager={manager} placement=\"bottom-end\" label=\"Notifications · Alt+T\"><Button onPress={() => manager.add({ title: \"Report saved\", tone: \"success\" })}>Save report</Button></ToastProvider>);\n}\n",
|
|
23514
23521
|
"css": "Import '@kazee-ds/styles/index.css' once in the application global entry point."
|
|
23515
23522
|
},
|
|
23523
|
+
{
|
|
23524
|
+
"id": "optional-close-and-progress",
|
|
23525
|
+
"language": "tsx",
|
|
23526
|
+
"code": "'use client';\nimport { useState } from 'react';\nimport { ToastProvider, Button, createToastManager } from '@kazee-ds/react';\nexport default function Example() {\nconst [manager] = useState(() => createToastManager());\nreturn (<ToastProvider manager={manager} showCloseButton showProgress><Button onPress={() => manager.add({ title: \"Report saved\", tone: \"success\" })}>Save report</Button></ToastProvider>);\n}\n",
|
|
23527
|
+
"css": "Import '@kazee-ds/styles/index.css' once in the application global entry point."
|
|
23528
|
+
},
|
|
23516
23529
|
{
|
|
23517
23530
|
"id": "promise-and-actions",
|
|
23518
23531
|
"language": "tsx",
|
|
@@ -23524,7 +23537,7 @@
|
|
|
23524
23537
|
"Toast": {
|
|
23525
23538
|
"name": "Toast",
|
|
23526
23539
|
"category": "feedback",
|
|
23527
|
-
"description": "Temporary notification presentation within a ToastProvider, with shared semantic styling, actions, progress and controlled lifecycle.",
|
|
23540
|
+
"description": "Temporary notification presentation within a ToastProvider, with shared semantic styling, actions, optional close button and progress, and controlled lifecycle. Close button and progress are hidden by default; enable showCloseButton and showProgress independently.",
|
|
23528
23541
|
"keywords": [
|
|
23529
23542
|
"toast",
|
|
23530
23543
|
"notification",
|
|
@@ -23548,6 +23561,18 @@
|
|
|
23548
23561
|
"required": true,
|
|
23549
23562
|
"description": ""
|
|
23550
23563
|
},
|
|
23564
|
+
{
|
|
23565
|
+
"name": "showCloseButton",
|
|
23566
|
+
"type": "boolean | undefined",
|
|
23567
|
+
"required": false,
|
|
23568
|
+
"description": "Override the provider's close button visibility for this toast."
|
|
23569
|
+
},
|
|
23570
|
+
{
|
|
23571
|
+
"name": "showProgress",
|
|
23572
|
+
"type": "boolean | undefined",
|
|
23573
|
+
"required": false,
|
|
23574
|
+
"description": "Override the provider's progress visibility for this toast."
|
|
23575
|
+
},
|
|
23551
23576
|
{
|
|
23552
23577
|
"name": "indicator",
|
|
23553
23578
|
"type": "string | number | bigint | boolean | import(\"/builds/kazee.indonesia/kazee-design-system/node_modules/.pnpm/@types+react@19.3.0/node_modules/@types/react/index\").ReactElement<unknown, string | import(\"/builds/kazee.indonesia/kazee-design-system/node_modules/.pnpm/@types+react@19.3.0/node_modules/@types/react/index\").JSXElementConstructor<any>> | Iterable<ReactNode> | import(\"/builds/kazee.indonesia/kazee-design-system/node_modules/.pnpm/@types+react@19.3.0/node_modules/@types/react/index\").ReactPortal | Promise<string | number | bigint | boolean | import(\"/builds/kazee.indonesia/kazee-design-system/node_modules/.pnpm/@types+react@19.3.0/node_modules/@types/react/index\").ReactPortal | import(\"/builds/kazee.indonesia/kazee-design-system/node_modules/.pnpm/@types+react@19.3.0/node_modules/@types/react/index\").ReactElement<unknown, string | import(\"/builds/kazee.indonesia/kazee-design-system/node_modules/.pnpm/@types+react@19.3.0/node_modules/@types/react/index\").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined",
|
|
@@ -26406,6 +26431,7 @@
|
|
|
26406
26431
|
],
|
|
26407
26432
|
"notes": [
|
|
26408
26433
|
"Part of the Toast component family, not a separate notification product. One manager attaches to one mounted provider.",
|
|
26434
|
+
"Close buttons and progress bars are hidden by default. Enable showCloseButton and showProgress independently on the provider (Vue: show-close-button and show-progress). Hiding either does not disable automatic dismissal; duration zero is still persistent.",
|
|
26409
26435
|
"createToastManager defaults to three visible, fifty waiting, five-second durations and a two-hundred-millisecond exit phase; duration zero is persistent.",
|
|
26410
26436
|
"Add returns an ID or null when capacity is full. Update preserves the ID; dismissed or reused IDs cannot be revived by stale promise results.",
|
|
26411
26437
|
"Timers pause for hover, focus, window blur and hidden tabs; queued entries do not consume visible duration. Default hotkey Alt+T; Escape is scoped to the region.",
|
|
@@ -26457,6 +26483,12 @@
|
|
|
26457
26483
|
"required": false,
|
|
26458
26484
|
"description": ""
|
|
26459
26485
|
},
|
|
26486
|
+
{
|
|
26487
|
+
"name": "showCloseButton",
|
|
26488
|
+
"type": "boolean | undefined",
|
|
26489
|
+
"required": false,
|
|
26490
|
+
"description": ""
|
|
26491
|
+
},
|
|
26460
26492
|
{
|
|
26461
26493
|
"name": "swipeThreshold",
|
|
26462
26494
|
"type": "number | undefined",
|
|
@@ -26507,6 +26539,12 @@
|
|
|
26507
26539
|
"code": "<script setup lang=\"ts\">\nimport { ToastProvider, Button, createToastManager } from '@kazee-ds/vue';\nconst manager = createToastManager();\n</script>\n<template>\n<ToastProvider :manager=\"manager\" placement=\"bottom-end\" label=\"Notifications · Alt+T\"><Button @press=\"manager.add({ title: 'Report saved', tone: 'success' })\">Save report</Button></ToastProvider>\n</template>\n",
|
|
26508
26540
|
"css": "Import '@kazee-ds/styles/index.css' once in the application global entry point."
|
|
26509
26541
|
},
|
|
26542
|
+
{
|
|
26543
|
+
"id": "optional-close-and-progress",
|
|
26544
|
+
"language": "vue",
|
|
26545
|
+
"code": "<script setup lang=\"ts\">\nimport { ToastProvider, Button, createToastManager } from '@kazee-ds/vue';\nconst manager = createToastManager();\n</script>\n<template>\n<ToastProvider :manager=\"manager\" show-close-button show-progress><Button @press=\"manager.add({ title: 'Report saved', tone: 'success' })\">Save report</Button></ToastProvider>\n</template>\n",
|
|
26546
|
+
"css": "Import '@kazee-ds/styles/index.css' once in the application global entry point."
|
|
26547
|
+
},
|
|
26510
26548
|
{
|
|
26511
26549
|
"id": "promise-and-actions",
|
|
26512
26550
|
"language": "vue",
|
|
@@ -26518,7 +26556,7 @@
|
|
|
26518
26556
|
"Toast": {
|
|
26519
26557
|
"name": "Toast",
|
|
26520
26558
|
"category": "feedback",
|
|
26521
|
-
"description": "Temporary notification presentation within a ToastProvider, with shared semantic styling, actions, progress and controlled lifecycle.",
|
|
26559
|
+
"description": "Temporary notification presentation within a ToastProvider, with shared semantic styling, actions, optional close button and progress, and controlled lifecycle. Close button and progress are hidden by default; enable showCloseButton and showProgress independently.",
|
|
26522
26560
|
"keywords": [
|
|
26523
26561
|
"toast",
|
|
26524
26562
|
"notification",
|
|
@@ -26572,6 +26610,12 @@
|
|
|
26572
26610
|
"required": false,
|
|
26573
26611
|
"description": ""
|
|
26574
26612
|
},
|
|
26613
|
+
{
|
|
26614
|
+
"name": "showCloseButton",
|
|
26615
|
+
"type": "boolean | undefined",
|
|
26616
|
+
"required": false,
|
|
26617
|
+
"description": ""
|
|
26618
|
+
},
|
|
26575
26619
|
{
|
|
26576
26620
|
"name": "swipeThreshold",
|
|
26577
26621
|
"type": "number | undefined",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kazee-ds/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Versioned React and Vue documentation tools for Kazee Design System agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"react": "^19.3.0",
|
|
28
28
|
"vue": "^3.5.32",
|
|
29
29
|
"vue-tsc": "^3.3.12",
|
|
30
|
-
"@kazee-ds/react": "0.5.
|
|
31
|
-
"@kazee-ds/vue": "0.5.
|
|
32
|
-
"@kazee-ds/styles": "0.5.
|
|
30
|
+
"@kazee-ds/react": "0.5.1",
|
|
31
|
+
"@kazee-ds/vue": "0.5.1",
|
|
32
|
+
"@kazee-ds/styles": "0.5.1",
|
|
33
33
|
"@kazee-ds/tokens": "0.4.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|