@nysds/mcp-server 1.19.1 → 1.19.2

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.
@@ -1124,9 +1124,10 @@
1124
1124
  "kind": "field",
1125
1125
  "name": "mediaQuery",
1126
1126
  "type": {
1127
- "text": "MediaQueryList"
1127
+ "text": "MediaQueryList | null"
1128
1128
  },
1129
- "privacy": "private"
1129
+ "privacy": "private",
1130
+ "default": "null"
1130
1131
  },
1131
1132
  {
1132
1133
  "kind": "method",
@@ -2327,7 +2328,7 @@
2327
2328
  "kind": "method",
2328
2329
  "name": "_handleAnyAttributeFunction",
2329
2330
  "privacy": "private",
2330
- "description": "A Solution to the Vanilla JS & Native HTML keydown:\n\nHandles inline onClick attributes set as strings in vanilla HTML\n(e.g. <nys-button onClick=\"doSomething()\">).\n\nWhen onClick is set this way, it is a DOM attribute (not a property)\nso this.onClick remains null. Native clicks execute the attribute\nautomatically, but keydown events do not, so we invoke it manually here."
2331
+ "description": "Handles inline onclick attributes for keyboard activation.\n\nNative clicks execute inline onclick attributes automatically, but\nkeyboard activation of the custom element does not trigger that native\nbehavior. Dispatching a synthetic click lets the browser's own inline\nevent handler mechanism execute any onclick attribute safely without\neval() or new Function()."
2331
2332
  },
2332
2333
  {
2333
2334
  "kind": "method",
@@ -4575,7 +4576,7 @@
4575
4576
  "type": {
4576
4577
  "text": "\"md\" | \"lg\" | \"full\""
4577
4578
  },
4578
- "default": "\"md\"",
4579
+ "default": "\"full\"",
4579
4580
  "description": "Input width: `md` (200px), `lg` (384px), `full` (100%).",
4580
4581
  "attribute": "width",
4581
4582
  "reflects": true
@@ -5112,7 +5113,7 @@
5112
5113
  "type": {
5113
5114
  "text": "\"md\" | \"lg\" | \"full\""
5114
5115
  },
5115
- "default": "\"md\"",
5116
+ "default": "\"full\"",
5116
5117
  "description": "Input width: `md` (200px), `lg` (384px), `full` (100%).",
5117
5118
  "fieldName": "width",
5118
5119
  "propName": "width"
@@ -5507,6 +5508,16 @@
5507
5508
  "default": "false",
5508
5509
  "attribute": "showDropdown"
5509
5510
  },
5511
+ {
5512
+ "kind": "field",
5513
+ "name": "label",
5514
+ "type": {
5515
+ "text": "string"
5516
+ },
5517
+ "default": "\"\"",
5518
+ "description": "Accessible label for the menu. Used as `aria-label` on the `<ul role=\"menu\">` element.",
5519
+ "attribute": "label"
5520
+ },
5510
5521
  {
5511
5522
  "kind": "field",
5512
5523
  "name": "position",
@@ -5826,6 +5837,16 @@
5826
5837
  "fieldName": "showDropdown",
5827
5838
  "propName": "showdropdown"
5828
5839
  },
5840
+ {
5841
+ "name": "label",
5842
+ "type": {
5843
+ "text": "string"
5844
+ },
5845
+ "default": "\"\"",
5846
+ "description": "Accessible label for the menu. Used as `aria-label` on the `<ul role=\"menu\">` element.",
5847
+ "fieldName": "label",
5848
+ "propName": "label"
5849
+ },
5829
5850
  {
5830
5851
  "name": "position",
5831
5852
  "type": {
@@ -7089,6 +7110,16 @@
7089
7110
  "description": "Agency name displayed as the footer heading.",
7090
7111
  "attribute": "agencyName"
7091
7112
  },
7113
+ {
7114
+ "kind": "field",
7115
+ "name": "agencySubheading",
7116
+ "type": {
7117
+ "text": "string"
7118
+ },
7119
+ "default": "\"\"",
7120
+ "description": "Optional subheading displayed below the agency name.",
7121
+ "attribute": "agencySubheading"
7122
+ },
7092
7123
  {
7093
7124
  "kind": "field",
7094
7125
  "name": "homepageLink",
@@ -7126,6 +7157,16 @@
7126
7157
  "fieldName": "agencyName",
7127
7158
  "propName": "agencyname"
7128
7159
  },
7160
+ {
7161
+ "name": "agencySubheading",
7162
+ "type": {
7163
+ "text": "string"
7164
+ },
7165
+ "default": "\"\"",
7166
+ "description": "Optional subheading displayed below the agency name.",
7167
+ "fieldName": "agencySubheading",
7168
+ "propName": "agencysubheading"
7169
+ },
7129
7170
  {
7130
7171
  "name": "homepageLink",
7131
7172
  "type": {
@@ -7147,7 +7188,7 @@
7147
7188
  "examples": [
7148
7189
  {
7149
7190
  "title": "Simple footer",
7150
- "code": "<nys-globalfooter agencyName=\"Department of Health\" homepageLink=\"/\">\n<span>123 Main St, Albany NY</span>\n<span>info@health.ny.gov</span>\n</nys-globalfooter>",
7191
+ "code": "<nys-globalfooter\nagencyName=\"Department of Health\"\nhomepageLink=\"/\"\nagencySubheading=\"Protecting and Promoting the Health of New Yorkers\"\n>\n<span>123 Main St, Albany NY</span>\n<span>info@health.ny.gov</span>\n</nys-globalfooter>",
7151
7192
  "lang": "html"
7152
7193
  }
7153
7194
  ]
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * New York State Design System v1.19.1
2
+ * New York State Design System v1.19.2
3
3
  * Description: A design system for New York State's digital products.
4
4
  * Repository: https://github.com/its-hcd/nysds
5
5
  * License: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nysds/mcp-server",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "description": "MCP server for the New York State Design System. Exposes components, tokens, and documentation to AI assistants.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -30,8 +30,8 @@
30
30
  "zod": "^3.25"
31
31
  },
32
32
  "devDependencies": {
33
- "@nysds/styles": "^1.19.1",
34
- "@nysds/tokens": "^1.19.1",
33
+ "@nysds/styles": "^1.19.2",
34
+ "@nysds/tokens": "^1.19.2",
35
35
  "@types/node": "^22.0.0",
36
36
  "typescript": "^5.9.3"
37
37
  },
@@ -49,5 +49,6 @@
49
49
  "type": "git",
50
50
  "url": "git+https://github.com/ITS-HCD/nysds.git",
51
51
  "directory": "packages/mcp-server"
52
- }
52
+ },
53
+ "sideEffects": false
53
54
  }