@kanso-protocol/mcp 1.0.1 → 2.0.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/manifest.json +131 -57
- package/package.json +1 -1
package/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-05-
|
|
3
|
-
"version": "
|
|
2
|
+
"generatedAt": "2026-05-11T05:05:01.617Z",
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"totals": {
|
|
5
5
|
"components": 54,
|
|
6
6
|
"patterns": 22,
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"package": "@kanso-protocol/alert",
|
|
204
204
|
"description": "Kanso Protocol — Alert\n\nIn-page banner for statuses, errors, warnings, and short messages. 3 sizes ×\n4 appearances (subtle / solid / outline / left-accent) × 6 color roles, plus\nan optional leading icon, an action slot (inline right or stacked below),\nand a close button.",
|
|
205
205
|
"examples": [
|
|
206
|
-
"<kp-alert color=\"success\" title=\"Changes saved\" description=\"Profile updated.\">\n <svg kpAlertIcon .../>\n</kp-alert>\n\n<kp-alert color=\"warning\" appearance=\"left-accent\" title=\"Review required\"\n description=\"3 items need your approval.\">\n <
|
|
206
|
+
"<kp-alert color=\"success\" title=\"Changes saved\" description=\"Profile updated.\">\n <svg kpAlertIcon .../>\n</kp-alert>\n\n<kp-alert color=\"warning\" appearance=\"left-accent\" title=\"Review required\"\n description=\"3 items need your approval.\">\n <button kpButton kpAlertAction size=\"sm\" variant=\"subtle\">Review</button>\n</kp-alert>"
|
|
207
207
|
],
|
|
208
208
|
"inputs": [
|
|
209
209
|
{
|
|
@@ -740,14 +740,20 @@
|
|
|
740
740
|
{
|
|
741
741
|
"name": "button",
|
|
742
742
|
"className": "KpButtonComponent",
|
|
743
|
-
"selector": "
|
|
743
|
+
"selector": "button[kpButton]",
|
|
744
744
|
"layer": "components",
|
|
745
745
|
"package": "@kanso-protocol/button",
|
|
746
|
-
"description": "Kanso Protocol — Button
|
|
746
|
+
"description": "Kanso Protocol — Button\n\nAttribute-selector on a real native `<button>`. Gets `type` / `form` /\n`name` / `value` / `formaction` / native disabled / Enter+Space /\nform submission / HTML5 validation for free.",
|
|
747
747
|
"examples": [
|
|
748
|
-
"<
|
|
748
|
+
"<button kpButton size=\"md\" variant=\"default\" color=\"primary\">Click me</button>\n<button kpButton type=\"submit\" color=\"primary\">Save</button>\n<button kpButton variant=\"outline\" color=\"danger\" [loading]=\"true\">Delete</button>"
|
|
749
749
|
],
|
|
750
750
|
"inputs": [
|
|
751
|
+
{
|
|
752
|
+
"name": "type",
|
|
753
|
+
"type": "'button' | 'submit' | 'reset'",
|
|
754
|
+
"default": "'button'",
|
|
755
|
+
"description": "Native button type. Defaults to \"button\" (safer than browser default \"submit\")."
|
|
756
|
+
},
|
|
751
757
|
{
|
|
752
758
|
"name": "size",
|
|
753
759
|
"type": "KpSize",
|
|
@@ -782,17 +788,17 @@
|
|
|
782
788
|
"name": "iconOnly",
|
|
783
789
|
"type": "boolean",
|
|
784
790
|
"default": "false",
|
|
785
|
-
"description": "Hides the label and makes the button square
|
|
791
|
+
"description": "Hides the label and makes the button square — pair with an icon and `aria-label`."
|
|
786
792
|
},
|
|
787
793
|
{
|
|
788
794
|
"name": "forceState",
|
|
789
795
|
"type": "KpState | null",
|
|
790
796
|
"default": "null",
|
|
791
|
-
"description": "Force a visual state for showcase/documentation purposes"
|
|
797
|
+
"description": "Force a visual state for showcase/documentation purposes."
|
|
792
798
|
}
|
|
793
799
|
],
|
|
794
800
|
"outputs": [],
|
|
795
|
-
"ariaRole":
|
|
801
|
+
"ariaRole": null,
|
|
796
802
|
"sizeRamp": [
|
|
797
803
|
"xs",
|
|
798
804
|
"sm",
|
|
@@ -800,10 +806,7 @@
|
|
|
800
806
|
"lg",
|
|
801
807
|
"xl"
|
|
802
808
|
],
|
|
803
|
-
"keyboardPatterns": [
|
|
804
|
-
"Enter",
|
|
805
|
-
"Space"
|
|
806
|
-
],
|
|
809
|
+
"keyboardPatterns": [],
|
|
807
810
|
"docsUrl": "https://gregnblack.github.io/kanso-protocol/?path=/docs/components-button--docs",
|
|
808
811
|
"sourcePath": "packages/components/button/src/button.component.ts",
|
|
809
812
|
"figma": {
|
|
@@ -990,9 +993,9 @@
|
|
|
990
993
|
"selector": "kp-checkbox",
|
|
991
994
|
"layer": "components",
|
|
992
995
|
"package": "@kanso-protocol/checkbox",
|
|
993
|
-
"description": "Kanso Protocol — Checkbox
|
|
996
|
+
"description": "Kanso Protocol — Checkbox\n\nWraps a real native `<input type=\"checkbox\">` inside a styled `<label>`.\nForm submission, FormData, `<label for>` association, password manager\nautofill, native indeterminate, Space-toggle, and HTML5 validation\n(`required`) all work without polyfills.",
|
|
994
997
|
"examples": [
|
|
995
|
-
"<kp-checkbox [(checked)]=\"isChecked\" size=\"md\">Remember me</kp-checkbox>\n<kp-checkbox [indeterminate]=\"true\">Select all</kp-checkbox>"
|
|
998
|
+
"<kp-checkbox [(checked)]=\"isChecked\" size=\"md\">Remember me</kp-checkbox>\n<kp-checkbox [indeterminate]=\"true\">Select all</kp-checkbox>\n<form><kp-checkbox name=\"agree\" value=\"yes\" required>I agree</kp-checkbox></form>"
|
|
996
999
|
],
|
|
997
1000
|
"inputs": [
|
|
998
1001
|
{
|
|
@@ -1025,6 +1028,24 @@
|
|
|
1025
1028
|
"default": "false",
|
|
1026
1029
|
"description": ""
|
|
1027
1030
|
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "required",
|
|
1033
|
+
"type": "boolean",
|
|
1034
|
+
"default": "false",
|
|
1035
|
+
"description": ""
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "name",
|
|
1039
|
+
"type": "string | null",
|
|
1040
|
+
"default": "null",
|
|
1041
|
+
"description": ""
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "value",
|
|
1045
|
+
"type": "string | null",
|
|
1046
|
+
"default": "null",
|
|
1047
|
+
"description": ""
|
|
1048
|
+
},
|
|
1028
1049
|
{
|
|
1029
1050
|
"name": "forceState",
|
|
1030
1051
|
"type": "KpState | null",
|
|
@@ -1041,7 +1062,13 @@
|
|
|
1041
1062
|
"name": "ariaLabel",
|
|
1042
1063
|
"type": "string | null",
|
|
1043
1064
|
"default": "null",
|
|
1044
|
-
"description": "
|
|
1065
|
+
"description": ""
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "ariaDescribedby",
|
|
1069
|
+
"type": "string | null",
|
|
1070
|
+
"default": "null",
|
|
1071
|
+
"description": ""
|
|
1045
1072
|
}
|
|
1046
1073
|
],
|
|
1047
1074
|
"outputs": [
|
|
@@ -1050,7 +1077,7 @@
|
|
|
1050
1077
|
"payload": "boolean"
|
|
1051
1078
|
}
|
|
1052
1079
|
],
|
|
1053
|
-
"ariaRole":
|
|
1080
|
+
"ariaRole": null,
|
|
1054
1081
|
"sizeRamp": [
|
|
1055
1082
|
"sm",
|
|
1056
1083
|
"md",
|
|
@@ -1426,7 +1453,7 @@
|
|
|
1426
1453
|
"selector": "kp-dialog",
|
|
1427
1454
|
"layer": "components",
|
|
1428
1455
|
"package": "@kanso-protocol/dialog",
|
|
1429
|
-
"description": "Kanso Protocol — Dialog\n\
|
|
1456
|
+
"description": "Kanso Protocol — Dialog\n\nWraps a real native `<dialog>` element. Focus trap, top-layer\nstacking, ESC-to-close, body-scroll inertness, and `::backdrop`\nstyling are all browser-native. Composition is slot-driven:\n`[kpDialogHeroIcon]` / `[kpDialogBody]` / `[kpDialogFooter]`.",
|
|
1430
1457
|
"examples": [
|
|
1431
1458
|
"<kp-dialog\n [(open)]=\"deleteOpen\"\n size=\"sm\"\n title=\"Delete repository?\"\n [showDescription]=\"true\"\n description=\"This action cannot be undone.\"\n (closed)=\"deleteOpen = false\"\n/>"
|
|
1432
1459
|
],
|
|
@@ -1528,9 +1555,7 @@
|
|
|
1528
1555
|
"lg",
|
|
1529
1556
|
"xl"
|
|
1530
1557
|
],
|
|
1531
|
-
"keyboardPatterns": [
|
|
1532
|
-
"Escape"
|
|
1533
|
-
],
|
|
1558
|
+
"keyboardPatterns": [],
|
|
1534
1559
|
"docsUrl": "https://gregnblack.github.io/kanso-protocol/?path=/docs/components-dialog--docs",
|
|
1535
1560
|
"sourcePath": "packages/components/dialog/src/dialog.component.ts",
|
|
1536
1561
|
"figma": {
|
|
@@ -1854,6 +1879,18 @@
|
|
|
1854
1879
|
"default": "false",
|
|
1855
1880
|
"description": ""
|
|
1856
1881
|
},
|
|
1882
|
+
{
|
|
1883
|
+
"name": "required",
|
|
1884
|
+
"type": "boolean",
|
|
1885
|
+
"default": "false",
|
|
1886
|
+
"description": ""
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"name": "name",
|
|
1890
|
+
"type": "string | null",
|
|
1891
|
+
"default": "null",
|
|
1892
|
+
"description": ""
|
|
1893
|
+
},
|
|
1857
1894
|
{
|
|
1858
1895
|
"name": "title",
|
|
1859
1896
|
"type": "string | null",
|
|
@@ -1893,10 +1930,7 @@
|
|
|
1893
1930
|
"md",
|
|
1894
1931
|
"lg"
|
|
1895
1932
|
],
|
|
1896
|
-
"keyboardPatterns": [
|
|
1897
|
-
"Enter",
|
|
1898
|
-
"Space"
|
|
1899
|
-
],
|
|
1933
|
+
"keyboardPatterns": [],
|
|
1900
1934
|
"docsUrl": "https://gregnblack.github.io/kanso-protocol/?path=/docs/components-fileupload--docs",
|
|
1901
1935
|
"sourcePath": "packages/components/file-upload/src/file-upload.component.ts",
|
|
1902
1936
|
"figma": {
|
|
@@ -2731,7 +2765,7 @@
|
|
|
2731
2765
|
"package": "@kanso-protocol/popover",
|
|
2732
2766
|
"description": "Kanso Protocol — Popover\n\nFloating panel with optional header / body / footer and an optional\ndirectional arrow (4 sides × 3 anchors). Visual chrome only —\npositioning, show/hide and portaling are the caller's responsibility.\n\nThe host container uses `filter: drop-shadow()` so the shadow follows\nthe combined silhouette of body + arrow, and grows automatically with\ncontent.",
|
|
2733
2767
|
"examples": [
|
|
2734
|
-
"<kp-popover size=\"md\" arrowPosition=\"top-center\"\n title=\"Delete this item?\" description=\"This action cannot be undone.\"\n [closable]=\"true\" (close)=\"cancel()\">\n <
|
|
2768
|
+
"<kp-popover size=\"md\" arrowPosition=\"top-center\"\n title=\"Delete this item?\" description=\"This action cannot be undone.\"\n [closable]=\"true\" (close)=\"cancel()\">\n <button kpButton kpPopoverFooter size=\"sm\" variant=\"ghost\">Cancel</button>\n <button kpButton kpPopoverFooter size=\"sm\" color=\"danger\">Delete</button>\n</kp-popover>"
|
|
2735
2769
|
],
|
|
2736
2770
|
"inputs": [
|
|
2737
2771
|
{
|
|
@@ -3145,9 +3179,9 @@
|
|
|
3145
3179
|
"selector": "kp-radio",
|
|
3146
3180
|
"layer": "components",
|
|
3147
3181
|
"package": "@kanso-protocol/radio",
|
|
3148
|
-
"description": "Kanso Protocol — Radio
|
|
3182
|
+
"description": "Kanso Protocol — Radio\n\nWraps a real native `<input type=\"radio\">` inside a styled `<label>`.\nInside a `<kp-radio-group>`, radios share a `name` and the browser\nenforces single-selection natively (no manual deselection logic).\nIn a `<form>`, FormData picks up the checked radio's value.",
|
|
3149
3183
|
"examples": [
|
|
3150
|
-
"<kp-radio-group [(value)]=\"selected\">\n <kp-radio value=\"
|
|
3184
|
+
"<kp-radio-group [(value)]=\"selected\" name=\"plan\">\n <kp-radio value=\"free\">Free</kp-radio>\n <kp-radio value=\"pro\">Pro</kp-radio>\n</kp-radio-group>"
|
|
3151
3185
|
],
|
|
3152
3186
|
"inputs": [
|
|
3153
3187
|
{
|
|
@@ -3180,6 +3214,18 @@
|
|
|
3180
3214
|
"default": "false",
|
|
3181
3215
|
"description": ""
|
|
3182
3216
|
},
|
|
3217
|
+
{
|
|
3218
|
+
"name": "required",
|
|
3219
|
+
"type": "boolean",
|
|
3220
|
+
"default": "false",
|
|
3221
|
+
"description": ""
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "name",
|
|
3225
|
+
"type": "string | null",
|
|
3226
|
+
"default": "null",
|
|
3227
|
+
"description": ""
|
|
3228
|
+
},
|
|
3183
3229
|
{
|
|
3184
3230
|
"name": "forceState",
|
|
3185
3231
|
"type": "KpState | null",
|
|
@@ -3196,7 +3242,7 @@
|
|
|
3196
3242
|
"name": "ariaLabel",
|
|
3197
3243
|
"type": "string | null",
|
|
3198
3244
|
"default": "null",
|
|
3199
|
-
"description": "
|
|
3245
|
+
"description": ""
|
|
3200
3246
|
}
|
|
3201
3247
|
],
|
|
3202
3248
|
"outputs": [
|
|
@@ -3205,7 +3251,7 @@
|
|
|
3205
3251
|
"payload": "boolean"
|
|
3206
3252
|
}
|
|
3207
3253
|
],
|
|
3208
|
-
"ariaRole":
|
|
3254
|
+
"ariaRole": null,
|
|
3209
3255
|
"sizeRamp": [
|
|
3210
3256
|
"sm",
|
|
3211
3257
|
"md",
|
|
@@ -3311,7 +3357,7 @@
|
|
|
3311
3357
|
"selector": "kp-segmented-control",
|
|
3312
3358
|
"layer": "components",
|
|
3313
3359
|
"package": "@kanso-protocol/segmented-control",
|
|
3314
|
-
"description": "Kanso Protocol — SegmentedControl\n\nPill-style switcher
|
|
3360
|
+
"description": "Kanso Protocol — SegmentedControl\n\nPill-style switcher backed by real native `<input type=\"radio\">` group.\nBrowser handles mutual-exclusion + arrow-key navigation; in a `<form>`\nthe checked radio's value goes into FormData. The visual \"pill\" is a\nseparate absolutely-positioned element that animates to the selected\nsegment.",
|
|
3315
3361
|
"examples": [
|
|
3316
3362
|
"<kp-segmented-control\n [options]=\"[{value:'day',label:'Day'},{value:'week',label:'Week'}]\"\n [(ngModel)]=\"period\">\n</kp-segmented-control>"
|
|
3317
3363
|
],
|
|
@@ -3339,6 +3385,12 @@
|
|
|
3339
3385
|
"type": "boolean",
|
|
3340
3386
|
"default": "false",
|
|
3341
3387
|
"description": ""
|
|
3388
|
+
},
|
|
3389
|
+
{
|
|
3390
|
+
"name": "name",
|
|
3391
|
+
"type": "string | null",
|
|
3392
|
+
"default": "null",
|
|
3393
|
+
"description": "Native radio-group name. Required for FormData when in a `<form>`. Auto-generated if omitted."
|
|
3342
3394
|
}
|
|
3343
3395
|
],
|
|
3344
3396
|
"outputs": [
|
|
@@ -3347,7 +3399,7 @@
|
|
|
3347
3399
|
"payload": "string"
|
|
3348
3400
|
}
|
|
3349
3401
|
],
|
|
3350
|
-
"ariaRole": "
|
|
3402
|
+
"ariaRole": "radiogroup",
|
|
3351
3403
|
"sizeRamp": [
|
|
3352
3404
|
"xs",
|
|
3353
3405
|
"sm",
|
|
@@ -3355,12 +3407,7 @@
|
|
|
3355
3407
|
"lg",
|
|
3356
3408
|
"xl"
|
|
3357
3409
|
],
|
|
3358
|
-
"keyboardPatterns": [
|
|
3359
|
-
"ArrowRight",
|
|
3360
|
-
"ArrowLeft",
|
|
3361
|
-
"Home",
|
|
3362
|
-
"End"
|
|
3363
|
-
],
|
|
3410
|
+
"keyboardPatterns": [],
|
|
3364
3411
|
"docsUrl": "https://gregnblack.github.io/kanso-protocol/?path=/docs/components-segmentedcontrol--docs",
|
|
3365
3412
|
"sourcePath": "packages/components/segmented-control/src/segmented-control.component.ts",
|
|
3366
3413
|
"figma": {
|
|
@@ -3436,6 +3483,18 @@
|
|
|
3436
3483
|
"default": "false",
|
|
3437
3484
|
"description": ""
|
|
3438
3485
|
},
|
|
3486
|
+
{
|
|
3487
|
+
"name": "required",
|
|
3488
|
+
"type": "boolean",
|
|
3489
|
+
"default": "false",
|
|
3490
|
+
"description": ""
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"name": "name",
|
|
3494
|
+
"type": "string | null",
|
|
3495
|
+
"default": "null",
|
|
3496
|
+
"description": "Native form name. Required for FormData submission inside a `<form>`."
|
|
3497
|
+
},
|
|
3439
3498
|
{
|
|
3440
3499
|
"name": "forceState",
|
|
3441
3500
|
"type": "KpState | null",
|
|
@@ -3786,12 +3845,12 @@
|
|
|
3786
3845
|
{
|
|
3787
3846
|
"name": "tabs",
|
|
3788
3847
|
"className": "KpTabComponent",
|
|
3789
|
-
"selector": "
|
|
3848
|
+
"selector": "button[kpTab]",
|
|
3790
3849
|
"layer": "components",
|
|
3791
3850
|
"package": "@kanso-protocol/tabs",
|
|
3792
|
-
"description": "Kanso Protocol — Tab (atom)\n\
|
|
3851
|
+
"description": "Kanso Protocol — Tab (atom)\n\nAttribute-selector on a real native `<button role=\"tab\">`. Sits inside\na `<kp-tabs role=\"tablist\">`. Native button gives Enter+Space\nactivation, focus-visible, and disabled. Arrow-key navigation between\ntabs is owned by the parent `<kp-tabs>` via roving tabindex.",
|
|
3793
3852
|
"examples": [
|
|
3794
|
-
"<
|
|
3853
|
+
"<button kpTab label=\"Inbox\" [selected]=\"current === 'inbox'\" (click)=\"current='inbox'\">\n <svg kpTabIcon .../>\n <kp-badge kpTabBadge>12</kp-badge>\n</button>"
|
|
3795
3854
|
],
|
|
3796
3855
|
"inputs": [
|
|
3797
3856
|
{
|
|
@@ -3837,10 +3896,7 @@
|
|
|
3837
3896
|
"md",
|
|
3838
3897
|
"lg"
|
|
3839
3898
|
],
|
|
3840
|
-
"keyboardPatterns": [
|
|
3841
|
-
"Enter",
|
|
3842
|
-
"Space"
|
|
3843
|
-
],
|
|
3899
|
+
"keyboardPatterns": [],
|
|
3844
3900
|
"docsUrl": "https://gregnblack.github.io/kanso-protocol/?path=/docs/components-tabs--docs",
|
|
3845
3901
|
"sourcePath": "packages/components/tabs/src/tab.component.ts",
|
|
3846
3902
|
"figma": {
|
|
@@ -3863,9 +3919,9 @@
|
|
|
3863
3919
|
"selector": "kp-tabs",
|
|
3864
3920
|
"layer": "components",
|
|
3865
3921
|
"package": "@kanso-protocol/tabs",
|
|
3866
|
-
"description": "Kanso Protocol — Tabs (container)\n\nHorizontal strip of `<
|
|
3922
|
+
"description": "Kanso Protocol — Tabs (container)\n\nHorizontal strip of `<button kpTab>` children with a shared bottom border.\nCascades `size` and `fullWidth` down to every projected `<button kpTab>`\nautomatically, so callers only set those two inputs in one place.\n\nA `[kpTabsMore]` slot projects an optional \"More ▾\" affordance to the\nright of the strip — useful when tabs overflow and you want a dropdown\nto hold the rest.",
|
|
3867
3923
|
"examples": [
|
|
3868
|
-
"<kp-tabs size=\"md\" [fullWidth]=\"false\">\n <
|
|
3924
|
+
"<kp-tabs size=\"md\" [fullWidth]=\"false\">\n <button kpTab label=\"Overview\" [selected]=\"tab === 'overview'\" (selectedChange)=\"tab = 'overview'\"></button>\n <button kpTab label=\"Activity\" [selected]=\"tab === 'activity'\" (selectedChange)=\"tab = 'activity'\"></button>\n <button kpTab label=\"Settings\" [selected]=\"tab === 'settings'\" (selectedChange)=\"tab = 'settings'\"></button>\n\n <button kpTabsMore>More ▾</button>\n</kp-tabs>"
|
|
3869
3925
|
],
|
|
3870
3926
|
"inputs": [
|
|
3871
3927
|
{
|
|
@@ -4164,9 +4220,9 @@
|
|
|
4164
4220
|
"selector": "kp-toggle",
|
|
4165
4221
|
"layer": "components",
|
|
4166
4222
|
"package": "@kanso-protocol/toggle",
|
|
4167
|
-
"description": "Kanso Protocol — Toggle (Switch)
|
|
4223
|
+
"description": "Kanso Protocol — Toggle (Switch)\n\nWraps a real native `<input type=\"checkbox\" role=\"switch\">` inside a\nstyled `<label>`. Form submission, FormData, `<label for>` association,\nSpace-toggle, and HTML5 validation all work natively.",
|
|
4168
4224
|
"examples": [
|
|
4169
|
-
"<kp-toggle [(on)]=\"isOn\" size=\"md\">Notifications</kp-toggle>"
|
|
4225
|
+
"<kp-toggle [(on)]=\"isOn\" size=\"md\">Notifications</kp-toggle>\n<form><kp-toggle name=\"notif\" value=\"1\" required>Enable</kp-toggle></form>"
|
|
4170
4226
|
],
|
|
4171
4227
|
"inputs": [
|
|
4172
4228
|
{
|
|
@@ -4193,6 +4249,24 @@
|
|
|
4193
4249
|
"default": "false",
|
|
4194
4250
|
"description": ""
|
|
4195
4251
|
},
|
|
4252
|
+
{
|
|
4253
|
+
"name": "required",
|
|
4254
|
+
"type": "boolean",
|
|
4255
|
+
"default": "false",
|
|
4256
|
+
"description": ""
|
|
4257
|
+
},
|
|
4258
|
+
{
|
|
4259
|
+
"name": "name",
|
|
4260
|
+
"type": "string | null",
|
|
4261
|
+
"default": "null",
|
|
4262
|
+
"description": ""
|
|
4263
|
+
},
|
|
4264
|
+
{
|
|
4265
|
+
"name": "value",
|
|
4266
|
+
"type": "string | null",
|
|
4267
|
+
"default": "null",
|
|
4268
|
+
"description": ""
|
|
4269
|
+
},
|
|
4196
4270
|
{
|
|
4197
4271
|
"name": "forceState",
|
|
4198
4272
|
"type": "KpState | null",
|
|
@@ -4209,7 +4283,7 @@
|
|
|
4209
4283
|
"name": "ariaLabel",
|
|
4210
4284
|
"type": "string | null",
|
|
4211
4285
|
"default": "null",
|
|
4212
|
-
"description": "
|
|
4286
|
+
"description": ""
|
|
4213
4287
|
}
|
|
4214
4288
|
],
|
|
4215
4289
|
"outputs": [
|
|
@@ -4218,7 +4292,7 @@
|
|
|
4218
4292
|
"payload": "boolean"
|
|
4219
4293
|
}
|
|
4220
4294
|
],
|
|
4221
|
-
"ariaRole":
|
|
4295
|
+
"ariaRole": null,
|
|
4222
4296
|
"sizeRamp": [
|
|
4223
4297
|
"sm",
|
|
4224
4298
|
"md",
|
|
@@ -4534,9 +4608,9 @@
|
|
|
4534
4608
|
"selector": "kp-banner",
|
|
4535
4609
|
"layer": "patterns",
|
|
4536
4610
|
"package": "@kanso-protocol/banner",
|
|
4537
|
-
"description": "Kanso Protocol — Banner\n\nGlobal top strip under the app Header. Used for system messages:\ntrial status, maintenance, payment alerts, feature launches.\nReuses alert semantic tokens (subtle appearance) so color roles\nmatch Alert / Toast.\n\nSlot: `[kpBannerAction]` for a trailing CTA (typically `<
|
|
4611
|
+
"description": "Kanso Protocol — Banner\n\nGlobal top strip under the app Header. Used for system messages:\ntrial status, maintenance, payment alerts, feature launches.\nReuses alert semantic tokens (subtle appearance) so color roles\nmatch Alert / Toast.\n\nSlot: `[kpBannerAction]` for a trailing CTA (typically `<button kpButton size=\"sm\">`).",
|
|
4538
4612
|
"examples": [
|
|
4539
|
-
"<kp-banner color=\"warning\" title=\"Your trial ends in 3 days\">\n <
|
|
4613
|
+
"<kp-banner color=\"warning\" title=\"Your trial ends in 3 days\">\n <button kpButton kpBannerAction size=\"sm\">Upgrade</button>\n</kp-banner>"
|
|
4540
4614
|
],
|
|
4541
4615
|
"inputs": [
|
|
4542
4616
|
{
|
|
@@ -5291,7 +5365,7 @@
|
|
|
5291
5365
|
"package": "@kanso-protocol/page-error",
|
|
5292
5366
|
"description": "Kanso Protocol — PageError\n\nFull-page error state for 404, 500, offline, and access-denied\nscenarios. Composes an illustration, optional hero error code,\ntitle + description, and primary/secondary action slots.\n\nTitles/descriptions/icon default to the `type` preset; override\nany of them via individual inputs.\n\nSlots:\n- `[kpPageErrorPrimary]` — primary CTA (Button, default)\n- `[kpPageErrorSecondary]` — secondary CTA (Button, ghost)",
|
|
5293
5367
|
"examples": [
|
|
5294
|
-
"<kp-page-error type=\"404\">\n <
|
|
5368
|
+
"<kp-page-error type=\"404\">\n <button kpButton kpPageErrorPrimary>Go home</button>\n <button kpButton kpPageErrorSecondary variant=\"ghost\">Report broken link</button>\n</kp-page-error>"
|
|
5295
5369
|
],
|
|
5296
5370
|
"inputs": [
|
|
5297
5371
|
{
|
|
@@ -5365,7 +5439,7 @@
|
|
|
5365
5439
|
"package": "@kanso-protocol/page-header",
|
|
5366
5440
|
"description": "Kanso Protocol — PageHeader\n\nContent-area header. Three sizes, optional breadcrumbs, back button,\ndescription, actions slot, tabs slot, and bottom divider.\n\nSlots (all optional):\n- `[kpPageHeaderBreadcrumbs]` — Breadcrumbs instance\n- `[kpPageHeaderTitle]` — custom title (e.g. title + inline Badge)\n- `[kpPageHeaderActions]` — action buttons on the right\n- `[kpPageHeaderTabs]` — Tabs instance under the header",
|
|
5367
5441
|
"examples": [
|
|
5368
|
-
"<kp-page-header\n size=\"md\"\n title=\"All projects\"\n description=\"12 active projects\"\n [showActions]=\"true\"\n>\n <kp-breadcrumbs kpPageHeaderBreadcrumbs [items]=\"crumbs\"/>\n <div kpPageHeaderActions>\n <
|
|
5442
|
+
"<kp-page-header\n size=\"md\"\n title=\"All projects\"\n description=\"12 active projects\"\n [showActions]=\"true\"\n>\n <kp-breadcrumbs kpPageHeaderBreadcrumbs [items]=\"crumbs\"/>\n <div kpPageHeaderActions>\n <button kpButton appearance=\"ghost\">Import</button>\n <button kpButton>Create</button>\n </div>\n</kp-page-header>"
|
|
5369
5443
|
],
|
|
5370
5444
|
"inputs": [
|
|
5371
5445
|
{
|
|
@@ -5460,7 +5534,7 @@
|
|
|
5460
5534
|
"package": "@kanso-protocol/row",
|
|
5461
5535
|
"description": "Kanso Protocol — Row\n\nHorizontal Auto Layout wrapper with a preset gap scale, cross-axis\nalignment, and main-axis justification. Optional wrap on overflow.",
|
|
5462
5536
|
"examples": [
|
|
5463
|
-
"<kp-row gap=\"sm\" justify=\"end\">\n <
|
|
5537
|
+
"<kp-row gap=\"sm\" justify=\"end\">\n <button kpButton appearance=\"ghost\">Cancel</button>\n <button kpButton>Save</button>\n</kp-row>"
|
|
5464
5538
|
],
|
|
5465
5539
|
"inputs": [
|
|
5466
5540
|
{
|
|
@@ -5856,7 +5930,7 @@
|
|
|
5856
5930
|
"package": "@kanso-protocol/stack",
|
|
5857
5931
|
"description": "Kanso Protocol — Stack\n\nVertical Auto Layout wrapper with a preset gap scale and cross-axis\nalignment. Semantic counterpart to `<div style=\"display:flex;flex-direction:column\">`.",
|
|
5858
5932
|
"examples": [
|
|
5859
|
-
"<kp-stack gap=\"md\">\n <kp-input/>\n <kp-input/>\n <
|
|
5933
|
+
"<kp-stack gap=\"md\">\n <kp-input/>\n <kp-input/>\n <button kpButton>Save</button>\n</kp-stack>"
|
|
5860
5934
|
],
|
|
5861
5935
|
"inputs": [
|
|
5862
5936
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kanso-protocol/mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Kanso Protocol — Model Context Protocol server. Exposes the component / pattern / token catalog to AI agents so they can author Kanso UI without leaving the editor.",
|
|
6
6
|
"author": "GregNBlack",
|