@nysds/mcp-server 1.16.2-alpha1 → 1.18.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.
@@ -1,3 +1,9 @@
1
+ /*!
2
+ * New York State Design System v1.18.0
3
+ * Description: A design system for New York State's digital products.
4
+ * Repository: https://github.com/its-hcd/nysds
5
+ * License: MIT
6
+ */
1
7
  /* -------------------------------------------
2
8
  * Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
3
9
  * ------------------------------------------- */
@@ -70,6 +76,7 @@
70
76
  --nys-color-environment-green-800: #172a1c;
71
77
  --nys-color-environment-green-900: #0b150e;
72
78
  --nys-color-focus: var(--nys-color-blue-600);
79
+ --nys-color-focus-reverse: var(--nys-color-blue-300);
73
80
  --nys-color-green-10: #f3f8f4;
74
81
  --nys-color-green-50: #e8f1ea;
75
82
  --nys-color-green-100: #d2e3d5;
@@ -259,6 +266,7 @@
259
266
  --nys-font-lineheight-2xs: 1.125rem;
260
267
  --nys-font-lineheight-3xl: 2.8125rem;
261
268
  --nys-font-lineheight-4xl: 3.5625rem;
269
+ --nys-font-lineheight-body-lg: 1.75rem;
262
270
  --nys-font-lineheight-body-md: 1.5rem;
263
271
  --nys-font-lineheight-body-sm: 1.5rem;
264
272
  --nys-font-lineheight-body-xs: 1.25rem;
@@ -294,6 +302,7 @@
294
302
  --nys-font-size-agency-lg: var(--nys-font-size-lg);
295
303
  --nys-font-size-agency-md: var(--nys-font-size-md);
296
304
  --nys-font-size-agency-xl: var(--nys-font-size-2xl);
305
+ --nys-font-size-body-lg: var(--nys-font-size-lg);
297
306
  --nys-font-size-body-md: var(--nys-font-size-md);
298
307
  --nys-font-size-body-sm: var(--nys-font-size-sm);
299
308
  --nys-font-size-body-xs: var(--nys-font-size-xs);
package/dist/index.js CHANGED
File without changes
@@ -74,7 +74,9 @@ export function registerComponentTools(server) {
74
74
  }
75
75
  // Remove members array to avoid duplication with attributes
76
76
  // Attributes contains the HTML API, members duplicates this plus private methods
77
- const { members: _members, examples, ...componentWithoutMembers } = component;
77
+ const {
78
+ // members: _members,
79
+ examples, ...componentWithoutMembers } = component;
78
80
  return {
79
81
  content: [
80
82
  {
@@ -1 +1 @@
1
- {"version":3,"file":"utility-tools.d.ts","sourceRoot":"","sources":["../../src/tools/utility-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAwOzE,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA8D5D"}
1
+ {"version":3,"file":"utility-tools.d.ts","sourceRoot":"","sources":["../../src/tools/utility-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAmPzE,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA8D5D"}
@@ -26,9 +26,20 @@ NYSDS provides a 12-column responsive grid system.
26
26
  - \`nys-grid-col-fill\` - Column fills remaining space
27
27
 
28
28
  ### Gap Classes
29
- - \`nys-grid-gap\` - Default gap between columns
30
- - \`nys-grid-gap-sm\` - Small gap
31
- - \`nys-grid-gap-lg\` - Large gap
29
+ - \`nys-grid-gap-0\` - No gap
30
+ - \`nys-grid-gap-2px\` - 2px gap
31
+ - \`nys-grid-gap-50\` - 4px gap (0.25rem)
32
+ - \`nys-grid-gap-100\` - 8px gap (0.5rem)
33
+ - \`nys-grid-gap-150\` - 12px gap (0.75rem)
34
+ - \`nys-grid-gap-200\` - 16px gap (1rem)
35
+ - \`nys-grid-gap-250\` - 20px gap (1.25rem)
36
+ - \`nys-grid-gap-300\` - 24px gap (1.5rem)
37
+ - \`nys-grid-gap-400\` - 32px gap (2rem)
38
+ - \`nys-grid-gap-500\` - 40px gap (2.5rem)
39
+ - \`nys-grid-gap-600\` - 48px gap (3rem)
40
+ - \`nys-grid-gap-700\` - 56px gap (3.5rem)
41
+ - \`nys-grid-gap-800\` - 64px gap (4rem)
42
+ - \`nys-grid-gap-1200\` - 96px gap (6rem)
32
43
 
33
44
  ### Offset Classes
34
45
  - \`nys-grid-offset-[1-12]\` - Offset column by 1-12 columns
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nysds/mcp-server",
3
- "version": "1.16.2-alpha1",
3
+ "version": "1.18.0",
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,6 +30,8 @@
30
30
  "zod": "^3.25"
31
31
  },
32
32
  "devDependencies": {
33
+ "@nysds/styles": "^1.18.0",
34
+ "@nysds/tokens": "^1.18.0",
33
35
  "@types/node": "^22.0.0",
34
36
  "typescript": "^5.9.3"
35
37
  },