@nysds/components 1.23.0 → 1.23.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.
Files changed (31) hide show
  1. package/custom-elements.json +47 -107
  2. package/dist/.vscode/vscode.html-custom-data.json +5 -37
  3. package/dist/custom-elements.json +47 -107
  4. package/dist/{nys-icon.library-B1pGtdv1.js → nys-icon.library-BRplkAua.js} +2 -2
  5. package/dist/{nys-icon.library-B1pGtdv1.js.map → nys-icon.library-BRplkAua.js.map} +1 -1
  6. package/dist/{nys-icon.library-dR8B2cmh-D2cWTOx2.js → nys-icon.library-DPR9yd8U-CCjVAKg8.js} +3 -3
  7. package/dist/{nys-icon.library-dR8B2cmh-D2cWTOx2.js.map → nys-icon.library-DPR9yd8U-CCjVAKg8.js.map} +1 -1
  8. package/dist/nysds.es.js +1641 -1615
  9. package/dist/nysds.es.js.map +1 -1
  10. package/dist/nysds.js +265 -266
  11. package/dist/nysds.js.map +1 -1
  12. package/dist/packages/mcp-server/src/lib/framework-snippets.d.ts +1 -1
  13. package/dist/packages/mcp-server/src/lib/framework-usage.d.ts +2 -1
  14. package/dist/packages/mcp-server/src/lib/search.d.ts +1 -5
  15. package/dist/packages/mcp-server/src/lib/token-parser.d.ts +44 -1
  16. package/dist/packages/mcp-server/src/resources/components.d.ts +1 -1
  17. package/dist/packages/mcp-server/src/resources/guides.d.ts +1 -1
  18. package/dist/packages/mcp-server/src/tools/guide-tools.d.ts +10 -0
  19. package/dist/packages/mcp-server/src/tools/utility-tools.d.ts +36 -16
  20. package/dist/packages/nys-button/src/nys-button.d.ts +1 -1
  21. package/dist/packages/nys-card/src/nys-card.d.ts +1 -1
  22. package/dist/packages/nys-combobox/src/nys-combobox.d.ts +1 -0
  23. package/dist/packages/nys-datepicker/src/nys-datepicker.d.ts +1 -0
  24. package/dist/packages/nys-fileinput/src/nys-fileinput.d.ts +1 -0
  25. package/dist/packages/nys-modal/src/nys-modal.d.ts +1 -6
  26. package/dist/packages/nys-radiobutton/src/nys-radiogroup.d.ts +1 -0
  27. package/dist/packages/nys-select/src/nys-select.d.ts +1 -0
  28. package/dist/packages/nys-stepper/src/nys-stepper.d.ts +2 -2
  29. package/dist/packages/nys-unavheader/src/nys-unavheader.d.ts +8 -9
  30. package/dist/packages/nys-verticalnav/src/nys-verticalnav.d.ts +9 -0
  31. package/package.json +1 -1
@@ -1572,7 +1572,7 @@
1572
1572
  },
1573
1573
  "default": "null",
1574
1574
  "description": "Icon shown before the label.",
1575
- "attribute": "prefixicon"
1575
+ "attribute": "prefixIcon"
1576
1576
  },
1577
1577
  {
1578
1578
  "kind": "field",
@@ -1582,7 +1582,7 @@
1582
1582
  },
1583
1583
  "default": "null",
1584
1584
  "description": "Icon shown after the label.",
1585
- "attribute": "suffixicon"
1585
+ "attribute": "suffixIcon"
1586
1586
  },
1587
1587
  {
1588
1588
  "kind": "field",
@@ -1713,7 +1713,7 @@
1713
1713
  "fieldName": "strong"
1714
1714
  },
1715
1715
  {
1716
- "name": "prefixicon",
1716
+ "name": "prefixIcon",
1717
1717
  "type": {
1718
1718
  "text": "string | boolean | null"
1719
1719
  },
@@ -1722,7 +1722,7 @@
1722
1722
  "fieldName": "prefixIcon"
1723
1723
  },
1724
1724
  {
1725
- "name": "suffixicon",
1725
+ "name": "suffixIcon",
1726
1726
  "type": {
1727
1727
  "text": "string | boolean | null"
1728
1728
  },
@@ -2656,7 +2656,7 @@
2656
2656
  "kind": "field",
2657
2657
  "name": "target",
2658
2658
  "type": {
2659
- "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | \"framename\""
2659
+ "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
2660
2660
  },
2661
2661
  "default": "\"_self\"",
2662
2662
  "description": "Link target: `_self` (same tab), `_blank` (new tab—add `suffixIcon=\"open_in_new\"`), `_parent`, `_top`, or frame name.",
@@ -3013,7 +3013,7 @@
3013
3013
  {
3014
3014
  "name": "target",
3015
3015
  "type": {
3016
- "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | \"framename\""
3016
+ "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
3017
3017
  },
3018
3018
  "default": "\"_self\"",
3019
3019
  "description": "Link target: `_self` (same tab), `_blank` (new tab—add `suffixIcon=\"open_in_new\"`), `_parent`, `_top`, or frame name.",
@@ -3337,7 +3337,7 @@
3337
3337
  "kind": "field",
3338
3338
  "name": "target",
3339
3339
  "type": {
3340
- "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | \"framename\""
3340
+ "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
3341
3341
  },
3342
3342
  "default": "\"_self\"",
3343
3343
  "description": "Link target: `_self` (same tab), `_blank` (new tab), `_parent`, `_top`, or frame name. Only used with `href`.",
@@ -3608,7 +3608,7 @@
3608
3608
  {
3609
3609
  "name": "target",
3610
3610
  "type": {
3611
- "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | \"framename\""
3611
+ "text": "| \"_self\"\n | \"_blank\"\n | \"_parent\"\n | \"_top\"\n | string"
3612
3612
  },
3613
3613
  "default": "\"_self\"",
3614
3614
  "description": "Link target: `_self` (same tab), `_blank` (new tab), `_parent`, `_top`, or frame name. Only used with `href`.",
@@ -5361,6 +5361,11 @@
5361
5361
  "privacy": "private",
5362
5362
  "description": "Form Integration\n--------------------------------------------------------------------------"
5363
5363
  },
5364
+ {
5365
+ "kind": "method",
5366
+ "name": "_isRequiredMissing",
5367
+ "privacy": "private"
5368
+ },
5364
5369
  {
5365
5370
  "kind": "method",
5366
5371
  "name": "_manageRequire",
@@ -10725,29 +10730,27 @@
10725
10730
  },
10726
10731
  {
10727
10732
  "kind": "field",
10728
- "name": "width",
10733
+ "name": "_actionButtonSlot",
10729
10734
  "type": {
10730
- "text": "\"sm\" | \"md\" | \"lg\""
10735
+ "text": "HTMLSlotElement | null"
10731
10736
  },
10732
- "default": "\"md\"",
10733
- "description": "Modal width: `sm` (400px), `md` (600px), or `lg` (800px).",
10734
- "attribute": "width",
10735
- "reflects": true
10737
+ "privacy": "private",
10738
+ "default": "null"
10736
10739
  },
10737
10740
  {
10738
10741
  "kind": "field",
10739
- "name": "_actionButtonSlot",
10742
+ "name": "_prevFocusedElement",
10740
10743
  "type": {
10741
- "text": "HTMLSlotElement | null"
10744
+ "text": "HTMLElement | null"
10742
10745
  },
10743
10746
  "privacy": "private",
10744
10747
  "default": "null"
10745
10748
  },
10746
10749
  {
10747
10750
  "kind": "field",
10748
- "name": "_prevFocusedElement",
10751
+ "name": "_originalHtmlOverflow",
10749
10752
  "type": {
10750
- "text": "HTMLElement | null"
10753
+ "text": "string | null"
10751
10754
  },
10752
10755
  "privacy": "private",
10753
10756
  "default": "null"
@@ -10784,11 +10787,6 @@
10784
10787
  "privacy": "private",
10785
10788
  "default": "false"
10786
10789
  },
10787
- {
10788
- "kind": "field",
10789
- "name": "_boundHandleKeydown",
10790
- "privacy": "private"
10791
- },
10792
10790
  {
10793
10791
  "kind": "method",
10794
10792
  "name": "_hideBodyScroll",
@@ -10826,7 +10824,7 @@
10826
10824
  "privacy": "private"
10827
10825
  },
10828
10826
  {
10829
- "kind": "method",
10827
+ "kind": "field",
10830
10828
  "name": "_updateSlottedButtonWidth",
10831
10829
  "privacy": "private"
10832
10830
  },
@@ -10846,17 +10844,9 @@
10846
10844
  "privacy": "private"
10847
10845
  },
10848
10846
  {
10849
- "kind": "method",
10847
+ "kind": "field",
10850
10848
  "name": "_handleKeydown",
10851
10849
  "privacy": "private",
10852
- "parameters": [
10853
- {
10854
- "name": "e",
10855
- "type": {
10856
- "text": "KeyboardEvent"
10857
- }
10858
- }
10859
- ],
10860
10850
  "description": "Event Handlers\n--------------------------------------------------------------------------"
10861
10851
  },
10862
10852
  {
@@ -10935,15 +10925,6 @@
10935
10925
  "default": "false",
10936
10926
  "description": "Prevents dismissal via close button or Escape key. User must take an action.",
10937
10927
  "fieldName": "mandatory"
10938
- },
10939
- {
10940
- "name": "width",
10941
- "type": {
10942
- "text": "\"sm\" | \"md\" | \"lg\""
10943
- },
10944
- "default": "\"md\"",
10945
- "description": "Modal width: `sm` (400px), `md` (600px), or `lg` (800px).",
10946
- "fieldName": "width"
10947
10928
  }
10948
10929
  ],
10949
10930
  "superclass": {
@@ -14086,13 +14067,13 @@
14086
14067
  },
14087
14068
  {
14088
14069
  "kind": "field",
14089
- "name": "counterText",
14070
+ "name": "_counterText",
14090
14071
  "type": {
14091
14072
  "text": "string"
14092
14073
  },
14074
+ "privacy": "private",
14093
14075
  "default": "\"initial\"",
14094
- "description": "Progress text displayed in compact mode (e.g., \"Step 2 of 5\"). Auto-managed — do not set manually.",
14095
- "attribute": "counterText"
14076
+ "description": "Progress text displayed in compact mode (e.g., \"Step 2 of 5\"). Derived from the steps."
14096
14077
  },
14097
14078
  {
14098
14079
  "kind": "field",
@@ -14189,15 +14170,6 @@
14189
14170
  "description": "Title displayed above the step list and compact counter.",
14190
14171
  "fieldName": "label"
14191
14172
  },
14192
- {
14193
- "name": "counterText",
14194
- "type": {
14195
- "text": "string"
14196
- },
14197
- "default": "\"initial\"",
14198
- "description": "Progress text displayed in compact mode (e.g., \"Step 2 of 5\"). Auto-managed — do not set manually.",
14199
- "fieldName": "counterText"
14200
- },
14201
14173
  {
14202
14174
  "name": "isCompactExpanded",
14203
14175
  "type": {
@@ -18035,43 +18007,43 @@
18035
18007
  "members": [
18036
18008
  {
18037
18009
  "kind": "field",
18038
- "name": "trustbarVisible",
18010
+ "name": "_trustbarVisible",
18039
18011
  "type": {
18040
18012
  "text": "boolean"
18041
18013
  },
18014
+ "privacy": "private",
18042
18015
  "default": "false",
18043
- "description": "Internal: Whether trust bar panel is expanded.",
18044
- "attribute": "trustbarVisible"
18016
+ "description": "Whether trust bar panel is expanded."
18045
18017
  },
18046
18018
  {
18047
18019
  "kind": "field",
18048
- "name": "searchDropdownVisible",
18020
+ "name": "_searchDropdownVisible",
18049
18021
  "type": {
18050
18022
  "text": "boolean"
18051
18023
  },
18024
+ "privacy": "private",
18052
18025
  "default": "false",
18053
- "description": "Internal: Whether search dropdown is visible (mobile).",
18054
- "attribute": "searchDropdownVisible"
18026
+ "description": "Whether search dropdown is visible (mobile)."
18055
18027
  },
18056
18028
  {
18057
18029
  "kind": "field",
18058
- "name": "languageVisible",
18030
+ "name": "_languageVisible",
18059
18031
  "type": {
18060
18032
  "text": "boolean"
18061
18033
  },
18034
+ "privacy": "private",
18062
18035
  "default": "false",
18063
- "description": "Internal: Whether language dropdown is visible.",
18064
- "attribute": "languageVisible"
18036
+ "description": "Whether language dropdown is visible."
18065
18037
  },
18066
18038
  {
18067
18039
  "kind": "field",
18068
- "name": "isSearchFocused",
18040
+ "name": "_isSearchFocused",
18069
18041
  "type": {
18070
18042
  "text": "boolean"
18071
18043
  },
18044
+ "privacy": "private",
18072
18045
  "default": "false",
18073
- "description": "Internal: Whether search input is focused.",
18074
- "attribute": "isSearchFocused"
18046
+ "description": "Whether search input is focused."
18075
18047
  },
18076
18048
  {
18077
18049
  "kind": "field",
@@ -18291,11 +18263,6 @@
18291
18263
  ],
18292
18264
  "description": "The navigation target for a language option's `href`, or `undefined` when\nthe option isn't a link — Localize handles that case via `setLanguage`\nfrom a click on a plain button instead.\n\nAn explicit per-language `url` always wins, even with a `translateKey`\nconfigured. Otherwise: no `translateKey` means Localize can't run at all,\nso every option is a Smartling subdomain link."
18293
18265
  },
18294
- {
18295
- "kind": "method",
18296
- "name": "_initGoogletagmanager",
18297
- "privacy": "private"
18298
- },
18299
18266
  {
18300
18267
  "kind": "method",
18301
18268
  "name": "_initLocalize",
@@ -18578,42 +18545,6 @@
18578
18545
  }
18579
18546
  ],
18580
18547
  "attributes": [
18581
- {
18582
- "name": "trustbarVisible",
18583
- "type": {
18584
- "text": "boolean"
18585
- },
18586
- "default": "false",
18587
- "description": "Internal: Whether trust bar panel is expanded.",
18588
- "fieldName": "trustbarVisible"
18589
- },
18590
- {
18591
- "name": "searchDropdownVisible",
18592
- "type": {
18593
- "text": "boolean"
18594
- },
18595
- "default": "false",
18596
- "description": "Internal: Whether search dropdown is visible (mobile).",
18597
- "fieldName": "searchDropdownVisible"
18598
- },
18599
- {
18600
- "name": "languageVisible",
18601
- "type": {
18602
- "text": "boolean"
18603
- },
18604
- "default": "false",
18605
- "description": "Internal: Whether language dropdown is visible.",
18606
- "fieldName": "languageVisible"
18607
- },
18608
- {
18609
- "name": "isSearchFocused",
18610
- "type": {
18611
- "text": "boolean"
18612
- },
18613
- "default": "false",
18614
- "description": "Internal: Whether search input is focused.",
18615
- "fieldName": "isSearchFocused"
18616
- },
18617
18548
  {
18618
18549
  "name": "hideTranslate",
18619
18550
  "type": {
@@ -18960,6 +18891,15 @@
18960
18891
  "privacy": "private"
18961
18892
  }
18962
18893
  ],
18894
+ "events": [
18895
+ {
18896
+ "type": {
18897
+ "text": "NysVerticalnavToggleEvent"
18898
+ },
18899
+ "description": "Fired when the mobile accordion opens or closes. Detail: `{id, expanded}`. Bubbles and composed.",
18900
+ "name": "nys-verticalnav-toggle"
18901
+ }
18902
+ ],
18963
18903
  "attributes": [
18964
18904
  {
18965
18905
  "name": "id",
@@ -270,12 +270,12 @@
270
270
  "values": []
271
271
  },
272
272
  {
273
- "name": "prefixicon",
273
+ "name": "prefixIcon",
274
274
  "description": "Icon shown before the label.",
275
275
  "values": []
276
276
  },
277
277
  {
278
- "name": "suffixicon",
278
+ "name": "suffixIcon",
279
279
  "description": "Icon shown after the label.",
280
280
  "values": []
281
281
  }
@@ -461,8 +461,7 @@
461
461
  { "name": "_self" },
462
462
  { "name": "_blank" },
463
463
  { "name": "_parent" },
464
- { "name": "_top" },
465
- { "name": "framename" }
464
+ { "name": "_top" }
466
465
  ]
467
466
  }
468
467
  ],
@@ -530,8 +529,7 @@
530
529
  { "name": "_self" },
531
530
  { "name": "_blank" },
532
531
  { "name": "_parent" },
533
- { "name": "_top" },
534
- { "name": "framename" }
532
+ { "name": "_top" }
535
533
  ]
536
534
  }
537
535
  ],
@@ -1332,11 +1330,6 @@
1332
1330
  "name": "mandatory",
1333
1331
  "description": "Prevents dismissal via close button or Escape key. User must take an action.",
1334
1332
  "values": []
1335
- },
1336
- {
1337
- "name": "width",
1338
- "description": "Modal width: `sm` (400px), `md` (600px), or `lg` (800px).",
1339
- "values": [{ "name": "sm" }, { "name": "md" }, { "name": "lg" }]
1340
1333
  }
1341
1334
  ],
1342
1335
  "references": []
@@ -1737,11 +1730,6 @@
1737
1730
  "description": "Title displayed above the step list and compact counter.",
1738
1731
  "values": []
1739
1732
  },
1740
- {
1741
- "name": "counterText",
1742
- "description": "Progress text displayed in compact mode (e.g., \"Step 2 of 5\"). Auto-managed — do not set manually.",
1743
- "values": []
1744
- },
1745
1733
  {
1746
1734
  "name": "isCompactExpanded",
1747
1735
  "description": "Whether compact mobile view is expanded to show all steps. Toggled by clicking the counter.",
@@ -2175,26 +2163,6 @@
2175
2163
  "name": "nys-unavheader",
2176
2164
  "description": "Universal NYS header with trust bar, search, and translation. Required site-wide.\n---\n\n\n### **Events:**\n - **nys-language-select** - Fired when a language is selected. Detail: `{language: {code, label, url?}}`. Cancelable; `preventDefault()` overrides the default Smartling redirect.\n- **nys-search-submit** - Fired when a search is submitted. Detail: `{query}`. Cancelable; `preventDefault()` overrides the default search redirect.\n\n### **CSS Properties:**\n - **--nys-max-width--content** - Overrides the inner content max width across the grid, header, footer, and breadcrumb. Set at a higher level like `:root` to apply to all instances. Takes priority over the size-specific variable. _(default: undefined)_",
2177
2165
  "attributes": [
2178
- {
2179
- "name": "trustbarVisible",
2180
- "description": "Internal: Whether trust bar panel is expanded.",
2181
- "values": []
2182
- },
2183
- {
2184
- "name": "searchDropdownVisible",
2185
- "description": "Internal: Whether search dropdown is visible (mobile).",
2186
- "values": []
2187
- },
2188
- {
2189
- "name": "languageVisible",
2190
- "description": "Internal: Whether language dropdown is visible.",
2191
- "values": []
2192
- },
2193
- {
2194
- "name": "isSearchFocused",
2195
- "description": "Internal: Whether search input is focused.",
2196
- "values": []
2197
- },
2198
2166
  {
2199
2167
  "name": "hideTranslate",
2200
2168
  "description": "Hides the translation dropdown.",
@@ -2230,7 +2198,7 @@
2230
2198
  },
2231
2199
  {
2232
2200
  "name": "nys-verticalnav",
2233
- "description": "Responsive navigation that becomes an accordion on smaller screens.\n---\n\n\n### **Methods:**\n - **open()** - Public API for controlling the mobile accordion from outside the component\n--------------------------------------------------------------------------",
2201
+ "description": "Responsive navigation that becomes an accordion on smaller screens.\n---\n\n\n### **Events:**\n - **nys-verticalnav-toggle** - Fired when the mobile accordion opens or closes. Detail: `{id, expanded}`. Bubbles and composed.\n\n### **Methods:**\n - **open()** - Public API for controlling the mobile accordion from outside the component\n--------------------------------------------------------------------------",
2234
2202
  "attributes": [
2235
2203
  {
2236
2204
  "name": "id",