@nysds/mcp-server 1.20.1 → 1.21.1

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.
@@ -1463,10 +1463,10 @@
1463
1463
  "kind": "field",
1464
1464
  "name": "intent",
1465
1465
  "type": {
1466
- "text": "| \"neutral\"\n | \"error\"\n | \"success\"\n | \"warning\""
1466
+ "text": "| \"base\"\n | \"info\"\n | \"success\"\n | \"warning\"\n | \"danger\"\n | \"error\"\n | \"emergency\""
1467
1467
  },
1468
- "default": "\"neutral\"",
1469
- "description": "Semantic intent affecting color: `neutral`, `error`, `success`, or `warning`.",
1468
+ "default": "\"base\"",
1469
+ "description": "Semantic intent affecting color: `base`, `info`, `success`, `warning` `danger`, `emergency`. `error` has been deprecated and support will be removed in a future release. Use `danger` instead",
1470
1470
  "attribute": "intent",
1471
1471
  "reflects": true
1472
1472
  },
@@ -1502,12 +1502,13 @@
1502
1502
  },
1503
1503
  {
1504
1504
  "kind": "field",
1505
- "name": "variant",
1505
+ "name": "strong",
1506
1506
  "type": {
1507
- "text": "\"strong\" | \"\""
1507
+ "text": "boolean"
1508
1508
  },
1509
- "default": "\"\"",
1510
- "attribute": "variant",
1509
+ "default": "false",
1510
+ "description": "Strong visual intent with bolder text and background.",
1511
+ "attribute": "strong",
1511
1512
  "reflects": true
1512
1513
  },
1513
1514
  {
@@ -1553,7 +1554,7 @@
1553
1554
  "privacy": "private",
1554
1555
  "static": true,
1555
1556
  "readonly": true,
1556
- "default": "{ neutral: \"info\", error: \"emergency_home\", success: \"check_circle\", warning: \"warning\", }",
1557
+ "default": "{ base: \"info\", info: \"info\", success: \"check_circle\", warning: \"warning\", danger: \"error\", error: \"error\", emergency: \"emergency_home\", }",
1557
1558
  "description": "Functions\n--------------------------------------------------------------------------"
1558
1559
  },
1559
1560
  {
@@ -1565,7 +1566,7 @@
1565
1566
  "privacy": "private",
1566
1567
  "static": true,
1567
1568
  "readonly": true,
1568
- "default": "{ error: \"Error\", success: \"Success\", warning: \"Warning\", }"
1569
+ "default": "{ info: \"Info\", success: \"Success\", warning: \"Warning\", danger: \"Danger\", error: \"Danger\", emergency: \"Emergency\", }"
1569
1570
  },
1570
1571
  {
1571
1572
  "kind": "method",
@@ -1633,10 +1634,10 @@
1633
1634
  {
1634
1635
  "name": "intent",
1635
1636
  "type": {
1636
- "text": "| \"neutral\"\n | \"error\"\n | \"success\"\n | \"warning\""
1637
+ "text": "| \"base\"\n | \"info\"\n | \"success\"\n | \"warning\"\n | \"danger\"\n | \"error\"\n | \"emergency\""
1637
1638
  },
1638
- "default": "\"neutral\"",
1639
- "description": "Semantic intent affecting color: `neutral`, `error`, `success`, or `warning`.",
1639
+ "default": "\"base\"",
1640
+ "description": "Semantic intent affecting color: `base`, `info`, `success`, `warning` `danger`, `emergency`. `error` has been deprecated and support will be removed in a future release. Use `danger` instead",
1640
1641
  "fieldName": "intent",
1641
1642
  "propName": "intent"
1642
1643
  },
@@ -1671,13 +1672,14 @@
1671
1672
  "propName": "srtext"
1672
1673
  },
1673
1674
  {
1674
- "name": "variant",
1675
+ "name": "strong",
1675
1676
  "type": {
1676
- "text": "\"strong\" | \"\""
1677
+ "text": "boolean"
1677
1678
  },
1678
- "default": "\"\"",
1679
- "fieldName": "variant",
1680
- "propName": "variant"
1679
+ "default": "false",
1680
+ "description": "Strong visual intent with bolder text and background.",
1681
+ "fieldName": "strong",
1682
+ "propName": "strong"
1681
1683
  },
1682
1684
  {
1683
1685
  "name": "prefixicon",
@@ -1710,8 +1712,13 @@
1710
1712
  "lang": "html"
1711
1713
  },
1712
1714
  {
1713
- "title": "Error Intent",
1714
- "code": "<nys-badge label=\"Error\" intent=\"error\" prefixIcon></nys-badge>",
1715
+ "title": "Info Intent",
1716
+ "code": "<nys-badge label=\"Info\" intent=\"info\" prefixIcon></nys-badge>",
1717
+ "lang": "html"
1718
+ },
1719
+ {
1720
+ "title": "Success Intent",
1721
+ "code": "<nys-badge label=\"Success\" intent=\"success\" prefixIcon></nys-badge>",
1715
1722
  "lang": "html"
1716
1723
  },
1717
1724
  {
@@ -1720,28 +1727,38 @@
1720
1727
  "lang": "html"
1721
1728
  },
1722
1729
  {
1723
- "title": "Success Intent",
1724
- "code": "<nys-badge label=\"Success\" intent=\"success\" prefixIcon></nys-badge>",
1730
+ "title": "Danger Intent",
1731
+ "code": "<nys-badge label=\"Danger\" intent=\"danger\" prefixIcon></nys-badge>",
1725
1732
  "lang": "html"
1726
1733
  },
1727
1734
  {
1728
- "title": "Strong Neutral",
1729
- "code": "<nys-badge variant=\"strong\" label=\"Neutral\" prefixIcon></nys-badge>",
1735
+ "title": "Emergency Intent",
1736
+ "code": "<nys-badge label=\"Emergency\" intent=\"emergency\" prefixIcon></nys-badge>",
1730
1737
  "lang": "html"
1731
1738
  },
1732
1739
  {
1733
- "title": "Strong Error",
1734
- "code": "<nys-badge variant=\"strong\" label=\"Error\" intent=\"error\" prefixIcon></nys-badge>",
1740
+ "title": "Strong Base",
1741
+ "code": "<nys-badge strong label=\"Base\" prefixIcon></nys-badge>",
1735
1742
  "lang": "html"
1736
1743
  },
1737
1744
  {
1738
- "title": "Strong Warning",
1739
- "code": "<nys-badge variant=\"strong\" label=\"Warning\" intent=\"warning\" prefixIcon></nys-badge>",
1745
+ "title": "Strong Info",
1746
+ "code": "<nys-badge strong label=\"Info\" intent=\"info\" prefixIcon></nys-badge>",
1740
1747
  "lang": "html"
1741
1748
  },
1742
1749
  {
1743
1750
  "title": "Strong Success",
1744
- "code": "<nys-badge variant=\"strong\" label=\"Success\" intent=\"success\" prefixIcon></nys-badge>",
1751
+ "code": "<nys-badge strong label=\"Success\" intent=\"success\" prefixIcon></nys-badge>",
1752
+ "lang": "html"
1753
+ },
1754
+ {
1755
+ "title": "Strong Warning",
1756
+ "code": "<nys-badge strong label=\"Warning\" intent=\"warning\" prefixIcon></nys-badge>",
1757
+ "lang": "html"
1758
+ },
1759
+ {
1760
+ "title": "Strong Danger",
1761
+ "code": "<nys-badge strong label=\"Danger\" intent=\"danger\" prefixIcon></nys-badge>",
1745
1762
  "lang": "html"
1746
1763
  },
1747
1764
  {
@@ -1922,6 +1939,11 @@
1922
1939
  "privacy": "private",
1923
1940
  "description": "Functions\n--------------------------------------------------------------------------"
1924
1941
  },
1942
+ {
1943
+ "kind": "field",
1944
+ "name": "_boundDisabledClickGuard",
1945
+ "privacy": "private"
1946
+ },
1925
1947
  {
1926
1948
  "kind": "method",
1927
1949
  "name": "_getSlottedOl",
@@ -1940,7 +1962,15 @@
1940
1962
  "type": {
1941
1963
  "text": "HTMLLIElement[]"
1942
1964
  }
1943
- }
1965
+ },
1966
+ "parameters": [
1967
+ {
1968
+ "name": "ol",
1969
+ "type": {
1970
+ "text": "HTMLOListElement"
1971
+ }
1972
+ }
1973
+ ]
1944
1974
  },
1945
1975
  {
1946
1976
  "kind": "method",
@@ -1980,7 +2010,31 @@
1980
2010
  },
1981
2011
  {
1982
2012
  "kind": "method",
1983
- "name": "_createBackToParentElement",
2013
+ "name": "_createIcon",
2014
+ "privacy": "private",
2015
+ "return": {
2016
+ "type": {
2017
+ "text": "HTMLElement"
2018
+ }
2019
+ },
2020
+ "parameters": [
2021
+ {
2022
+ "name": "name",
2023
+ "type": {
2024
+ "text": "string"
2025
+ }
2026
+ },
2027
+ {
2028
+ "name": "size",
2029
+ "type": {
2030
+ "text": "string"
2031
+ }
2032
+ }
2033
+ ]
2034
+ },
2035
+ {
2036
+ "kind": "method",
2037
+ "name": "_resetItem",
1984
2038
  "privacy": "private",
1985
2039
  "parameters": [
1986
2040
  {
@@ -1993,7 +2047,33 @@
1993
2047
  },
1994
2048
  {
1995
2049
  "kind": "method",
1996
- "name": "_createCrumbElement",
2050
+ "name": "_applyDisabledState",
2051
+ "privacy": "private",
2052
+ "parameters": [
2053
+ {
2054
+ "name": "a",
2055
+ "type": {
2056
+ "text": "HTMLAnchorElement"
2057
+ }
2058
+ }
2059
+ ]
2060
+ },
2061
+ {
2062
+ "kind": "method",
2063
+ "name": "_applyBackToParentStyle",
2064
+ "privacy": "private",
2065
+ "parameters": [
2066
+ {
2067
+ "name": "li",
2068
+ "type": {
2069
+ "text": "HTMLLIElement"
2070
+ }
2071
+ }
2072
+ ]
2073
+ },
2074
+ {
2075
+ "kind": "method",
2076
+ "name": "_applyCrumbStyle",
1997
2077
  "privacy": "private",
1998
2078
  "parameters": [
1999
2079
  {
@@ -2010,6 +2090,19 @@
2010
2090
  }
2011
2091
  ]
2012
2092
  },
2093
+ {
2094
+ "kind": "method",
2095
+ "name": "_insertEllipsis",
2096
+ "privacy": "private",
2097
+ "parameters": [
2098
+ {
2099
+ "name": "referenceLi",
2100
+ "type": {
2101
+ "text": "HTMLLIElement"
2102
+ }
2103
+ }
2104
+ ]
2105
+ },
2013
2106
  {
2014
2107
  "kind": "method",
2015
2108
  "name": "_handleSlotChange",
@@ -3030,6 +3123,38 @@
3030
3123
  "description": "Height of the card. Set to `100%` to stretch the card to its container's height, so a row of cards renders at an equal height. The extra height is absorbed by the main content area, keeping the `footer` slot pinned to the bottom of the card. Requires the container to give the card a height to fill (e.g. a grid column with `nys-display-flex`).",
3031
3124
  "name": "--nys-card-height",
3032
3125
  "default": "fit-content"
3126
+ },
3127
+ {
3128
+ "description": "Font size of the preheading text.",
3129
+ "name": "--nys-card-font-size--preheading"
3130
+ },
3131
+ {
3132
+ "description": "Font size of the heading text.",
3133
+ "name": "--nys-card-font-size--heading"
3134
+ },
3135
+ {
3136
+ "description": "Font size of the subheading text.",
3137
+ "name": "--nys-card-font-size--subheading"
3138
+ },
3139
+ {
3140
+ "description": "Font size of the description text.",
3141
+ "name": "--nys-card-font-size--description"
3142
+ },
3143
+ {
3144
+ "description": "Line height of the preheading text.",
3145
+ "name": "--nys-card-line-height--preheading"
3146
+ },
3147
+ {
3148
+ "description": "Line height of the heading text.",
3149
+ "name": "--nys-card-line-height--heading"
3150
+ },
3151
+ {
3152
+ "description": "Line height of the subheading text.",
3153
+ "name": "--nys-card-line-height--subheading"
3154
+ },
3155
+ {
3156
+ "description": "Line height of the description text.",
3157
+ "name": "--nys-card-line-height--description"
3033
3158
  }
3034
3159
  ],
3035
3160
  "slots": [
@@ -3066,6 +3191,17 @@
3066
3191
  "attribute": "id",
3067
3192
  "reflects": true
3068
3193
  },
3194
+ {
3195
+ "kind": "field",
3196
+ "name": "size",
3197
+ "type": {
3198
+ "text": "\"sm\" | \"md\" | \"lg\""
3199
+ },
3200
+ "default": "\"md\"",
3201
+ "description": "The size of the text content within a card (preheading, heading, subheading, and description).",
3202
+ "attribute": "size",
3203
+ "reflects": true
3204
+ },
3069
3205
  {
3070
3206
  "kind": "field",
3071
3207
  "name": "preheading",
@@ -3340,6 +3476,16 @@
3340
3476
  "fieldName": "id",
3341
3477
  "propName": "id"
3342
3478
  },
3479
+ {
3480
+ "name": "size",
3481
+ "type": {
3482
+ "text": "\"sm\" | \"md\" | \"lg\""
3483
+ },
3484
+ "default": "\"md\"",
3485
+ "description": "The size of the text content within a card (preheading, heading, subheading, and description).",
3486
+ "fieldName": "size",
3487
+ "propName": "size"
3488
+ },
3343
3489
  {
3344
3490
  "name": "preheading",
3345
3491
  "type": {
@@ -3459,6 +3605,21 @@
3459
3605
  "code": "<div class=\"nys-tablet:nys-grid-col-6 nys-desktop:nys-grid-col-3\">\n<nys-card\nheading=\"Heading\"\nsubheading=\"Subheading\"\ndescription=\"A short description of the card's subject.\"\n></nys-card>\n</div>",
3460
3606
  "lang": "html"
3461
3607
  },
3608
+ {
3609
+ "title": "Size SM",
3610
+ "code": "<div class=\"nys-tablet:nys-grid-col-6 nys-desktop:nys-grid-col-3\">\n<nys-card\nsize=\"sm\"\npreheading=\"Preheading\"\nheading=\"Heading\"\nsubheading=\"Subheading\"\ndescription=\"A short description of the card's subject.\"\n></nys-card>\n</div>",
3611
+ "lang": "html"
3612
+ },
3613
+ {
3614
+ "title": "Size MD (default)",
3615
+ "code": "<div class=\"nys-tablet:nys-grid-col-6 nys-desktop:nys-grid-col-3\">\n<nys-card\nsize=\"md\"\npreheading=\"Preheading\"\nheading=\"Heading\"\nsubheading=\"Subheading\"\ndescription=\"A short description of the card's subject.\"\n></nys-card>\n</div>",
3616
+ "lang": "html"
3617
+ },
3618
+ {
3619
+ "title": "Size LG",
3620
+ "code": "<div class=\"nys-tablet:nys-grid-col-6 nys-desktop:nys-grid-col-3\">\n<nys-card\nsize=\"lg\"\npreheading=\"Preheading\"\nheading=\"Heading\"\nsubheading=\"Subheading\"\ndescription=\"A short description of the card's subject.\"\n></nys-card>\n</div>",
3621
+ "lang": "html"
3622
+ },
3462
3623
  {
3463
3624
  "title": "Media",
3464
3625
  "code": "<div class=\"nys-tablet:nys-grid-col-6 nys-desktop:nys-grid-col-3\">\n<nys-card\nheading=\"Heading\"\ndescription=\"A card with a media image.\"\n>\n<img slot=\"media\"\nsrc=\"https://images.unsplash.com/photo-1513360371669-4adf3dd7dff8?q=80&w=2070&auto=format&fit=crop\"\nrole=\"presentation\"\n/>\n</nys-card>\n</div>",
@@ -8567,7 +8728,7 @@
8567
8728
  "declarations": [
8568
8729
  {
8569
8730
  "kind": "class",
8570
- "description": "Agency-branded header with app/agency name, navigation, and responsive mobile menu.\n\nPlace below `nys-unavheader`. Slot navigation links as `<ul><li><a>` elements; active links\nare auto-highlighted based on current URL, unless you set `aria-current` on a link\nyourself — then the header leaves the current-page state entirely to you, which is\nwhat apps that don't route on the pathname (hash-routed SPAs, for example) need.\nMobile menu toggles automatically on narrow screens.",
8731
+ "description": "Agency-branded header with app/agency name, navigation, and responsive mobile menu.\n\nPlace below `nys-unavheader`. Slot navigation links as `<ul><li><a>` elements; active links\nare auto-highlighted based on current URL. Mobile menu toggles automatically on narrow screens.",
8571
8732
  "name": "NysGlobalHeader",
8572
8733
  "slots": [
8573
8734
  {
@@ -8580,17 +8741,6 @@
8580
8741
  }
8581
8742
  ],
8582
8743
  "members": [
8583
- {
8584
- "kind": "field",
8585
- "name": "id",
8586
- "type": {
8587
- "text": "string"
8588
- },
8589
- "default": "\"\"",
8590
- "description": "Unique identifier. Auto-generated if not provided.",
8591
- "attribute": "id",
8592
- "reflects": true
8593
- },
8594
8744
  {
8595
8745
  "kind": "field",
8596
8746
  "name": "appName",
@@ -8677,19 +8827,30 @@
8677
8827
  "privacy": "private",
8678
8828
  "description": "Watches for the viewport growing past the mobile breakpoint. The menu and its\ntoggle are `display: none` there, so an open menu that survived a resize would\nleave the focus trap guarding elements nobody can reach."
8679
8829
  },
8830
+ {
8831
+ "kind": "field",
8832
+ "name": "_navSlot",
8833
+ "type": {
8834
+ "text": "HTMLSlotElement | null"
8835
+ },
8836
+ "privacy": "private",
8837
+ "description": "Functions\n--------------------------------------------------------------------------",
8838
+ "readonly": true
8839
+ },
8680
8840
  {
8681
8841
  "kind": "method",
8682
- "name": "_highlightActiveLink",
8842
+ "name": "_getAssignedLinks",
8683
8843
  "privacy": "private",
8684
- "parameters": [
8685
- {
8686
- "name": "container",
8687
- "type": {
8688
- "text": "HTMLElement"
8689
- }
8844
+ "return": {
8845
+ "type": {
8846
+ "text": "HTMLAnchorElement[]"
8690
8847
  }
8691
- ],
8692
- "description": "Functions\n--------------------------------------------------------------------------"
8848
+ }
8849
+ },
8850
+ {
8851
+ "kind": "method",
8852
+ "name": "_highlightActiveLink",
8853
+ "privacy": "private"
8693
8854
  },
8694
8855
  {
8695
8856
  "kind": "method",
@@ -8714,6 +8875,23 @@
8714
8875
  }
8715
8876
  ]
8716
8877
  },
8878
+ {
8879
+ "kind": "method",
8880
+ "name": "_setMobileMenuOpen",
8881
+ "privacy": "private",
8882
+ "parameters": [
8883
+ {
8884
+ "name": "open",
8885
+ "type": {
8886
+ "text": "boolean"
8887
+ }
8888
+ },
8889
+ {
8890
+ "name": "restoreFocus",
8891
+ "default": "false"
8892
+ }
8893
+ ]
8894
+ },
8717
8895
  {
8718
8896
  "kind": "method",
8719
8897
  "name": "_toggleMobileMenu",
@@ -8726,30 +8904,8 @@
8726
8904
  "text": "HTMLElement | null"
8727
8905
  },
8728
8906
  "privacy": "private",
8729
- "description": "The toggle, which is both the trap's first stop and where focus returns.",
8730
- "readonly": true
8731
- },
8732
- {
8733
- "kind": "field",
8734
- "name": "_mobileNav",
8735
- "type": {
8736
- "text": "HTMLElement | null"
8737
- },
8738
- "privacy": "private",
8739
8907
  "readonly": true
8740
8908
  },
8741
- {
8742
- "kind": "method",
8743
- "name": "_closeMobileMenu",
8744
- "privacy": "private",
8745
- "parameters": [
8746
- {
8747
- "name": "restoreFocus",
8748
- "default": "false"
8749
- }
8750
- ],
8751
- "description": "Closes the mobile menu.\n\n`restoreFocus` moves focus back to the toggle, which is required whenever the\nmenu is dismissed by keyboard: the closed menu is `display: none`, so focus\nsitting on one of its links would otherwise be dropped to the top of the\ndocument (WCAG 2.4.3 Focus Order). A click outside is a pointer gesture that\nlands somewhere the user chose, so that path leaves focus alone."
8752
- },
8753
8909
  {
8754
8910
  "kind": "method",
8755
8911
  "name": "_focusableMenuElements",
@@ -8778,7 +8934,7 @@
8778
8934
  }
8779
8935
  }
8780
8936
  ],
8781
- "description": "The focused element, but only when it is one of the menu's own stops.\n\n`document.activeElement` reports the host for anything focused inside this\nshadow root, so the shadow root's own `activeElement` is what identifies the\nreal stop."
8937
+ "description": "The focused element, but only when it is one of the menu's own stops.\n\n`document.activeElement` reports the host for anything focused inside this\nshadow root (the toggle button) or the links in the lightDOM."
8782
8938
  },
8783
8939
  {
8784
8940
  "kind": "method",
@@ -8796,7 +8952,33 @@
8796
8952
  },
8797
8953
  {
8798
8954
  "kind": "method",
8799
- "name": "_listenLinkClicks",
8955
+ "name": "_renderBrandMark",
8956
+ "privacy": "private"
8957
+ },
8958
+ {
8959
+ "kind": "method",
8960
+ "name": "_getNysLogo",
8961
+ "privacy": "private"
8962
+ },
8963
+ {
8964
+ "kind": "field",
8965
+ "name": "_boundClickOutside",
8966
+ "privacy": "private"
8967
+ },
8968
+ {
8969
+ "kind": "field",
8970
+ "name": "_boundLinkClick",
8971
+ "privacy": "private"
8972
+ },
8973
+ {
8974
+ "kind": "field",
8975
+ "name": "_boundBreakpointChange",
8976
+ "privacy": "private",
8977
+ "description": "Growing past the mobile breakpoint takes the menu off the page, so drop the\nopen state with it. No focus restore: the toggle is gone too, and the resize\nwas not a dismissal the user aimed at anything."
8978
+ },
8979
+ {
8980
+ "kind": "field",
8981
+ "name": "_boundKeyDown",
8800
8982
  "privacy": "private"
8801
8983
  },
8802
8984
  {
@@ -8828,51 +9010,9 @@
8828
9010
  "privacy": "private",
8829
9011
  "description": "Literal name for the banner: the author's override, or the \"Site\" default when\nthere is no visible title to reference. Undefined whenever `_bannerLabelledBy`\nhas something to point at, so the landmark never carries both.",
8830
9012
  "readonly": true
8831
- },
8832
- {
8833
- "kind": "method",
8834
- "name": "_renderNameContainer",
8835
- "privacy": "private",
8836
- "description": "App/agency title block. Rendered on its own so the linked and unlinked\nvariants cannot drift apart — the ids here are what names the banner."
8837
- },
8838
- {
8839
- "kind": "method",
8840
- "name": "_renderBrandMark",
8841
- "privacy": "private"
8842
- },
8843
- {
8844
- "kind": "method",
8845
- "name": "_getNysLogo",
8846
- "privacy": "private"
8847
- },
8848
- {
8849
- "kind": "field",
8850
- "name": "_boundClickOutside",
8851
- "privacy": "private"
8852
- },
8853
- {
8854
- "kind": "field",
8855
- "name": "_boundBreakpointChange",
8856
- "privacy": "private",
8857
- "description": "Growing past the mobile breakpoint takes the menu off the page, so drop the\nopen state with it. No focus restore: the toggle is gone too, and the resize\nwas not a dismissal the user aimed at anything."
8858
- },
8859
- {
8860
- "kind": "field",
8861
- "name": "_boundKeyDown",
8862
- "privacy": "private"
8863
9013
  }
8864
9014
  ],
8865
9015
  "attributes": [
8866
- {
8867
- "name": "id",
8868
- "type": {
8869
- "text": "string"
8870
- },
8871
- "default": "\"\"",
8872
- "description": "Unique identifier. Auto-generated if not provided.",
8873
- "fieldName": "id",
8874
- "propName": "id"
8875
- },
8876
9016
  {
8877
9017
  "name": "appName",
8878
9018
  "type": {
@@ -8957,14 +9097,9 @@
8957
9097
  "code": "<nys-globalheader agencyName=\"Office of Information Technology Services\">\n<ul>\n<li><a href=\"https://its.ny.gov/services\">Services</a></li>\n<li><a href=\"https://its.ny.gov/get-help\">Help Center</a></li>\n<li><a href=\"https://its.ny.gov/cybersecurity\">Cybersecurity</a></li>\n<li><a href=\"https://its.ny.gov/policies\">Policies and Laws</a></li>\n<li><a href=\"https://its.ny.gov/procurement\">Procurement</a></li>\n<li><a href=\"https://its.ny.gov/about-us\">About Us</a></li>\n</ul>\n</nys-globalheader>",
8958
9098
  "lang": "html"
8959
9099
  },
8960
- {
8961
- "title": "Author-controlled active link",
8962
- "code": "<!-- Set aria-current yourself and the header stops guessing from the URL. -->\n<nys-globalheader agencyName=\"Office of Information Technology Services\">\n<ul>\n<li><a href=\"#/services\">Services</a></li>\n<li><a href=\"#/help\" aria-current=\"page\">Help Center</a></li>\n</ul>\n</nys-globalheader>",
8963
- "lang": "html"
8964
- },
8965
9100
  {
8966
9101
  "title": "User Actions",
8967
- "code": "<nys-globalheader agencyName=\"Office of Information Technology Services\">\n<nys-button slot=\"user-actions\" label=\"Log out\">\n<nys-avatar\nslot=\"prefix-icon\"\nariaLabel=\"User avatar\"\ninitials=\"NY\"\n></nys-avatar>\n</nys-button>\n</nys-globalheader>\n<nys-dropdownmenu id=\"dropdownmenu\" for=\"my-action-slot\">\n<nys-dropdownmenuitem label=\"Profile\" href=\"/profile\"></nys-dropdownmenuitem>\n<nys-dropdownmenuitem label=\"Repositories & Github Pages\" href=\"/repos\"></nys-dropdownmenuitem>\n<nys-dropdownmenuitem label=\"Organizations\" href=\"/organizations\" disabled></nys-dropdownmenuitem>\n<nys-dropdownmenuitem label=\"Sign out\" href=\"/logout\"></nys-dropdownmenuitem>\n</nys-dropdownmenu>",
9102
+ "code": "<nys-globalheader agencyName=\"Office of Information Technology Services\">\n<nys-button id=\"my-action-slot\" slot=\"user-actions\" label=\"Log out\">\n<nys-avatar\nslot=\"prefix-icon\"\nariaLabel=\"User avatar\"\ninitials=\"NY\"\n></nys-avatar>\n</nys-button>\n</nys-globalheader>\n<nys-dropdownmenu id=\"dropdownmenu\" for=\"my-action-slot\">\n<nys-dropdownmenuitem label=\"Profile\" href=\"/profile\"></nys-dropdownmenuitem>\n<nys-dropdownmenuitem label=\"Repositories & Github Pages\" href=\"/repos\"></nys-dropdownmenuitem>\n<nys-dropdownmenuitem label=\"Organizations\" href=\"/organizations\" disabled></nys-dropdownmenuitem>\n<nys-dropdownmenuitem label=\"Sign out\" href=\"/logout\"></nys-dropdownmenuitem>\n</nys-dropdownmenu>",
8968
9103
  "lang": "html"
8969
9104
  },
8970
9105
  {
@@ -9671,11 +9806,22 @@
9671
9806
  "attribute": "divider",
9672
9807
  "reflects": true
9673
9808
  },
9809
+ {
9810
+ "kind": "field",
9811
+ "name": "inverted",
9812
+ "type": {
9813
+ "text": "boolean"
9814
+ },
9815
+ "default": "false",
9816
+ "description": "Adjusts colors for dark backgrounds.",
9817
+ "attribute": "inverted",
9818
+ "reflects": true
9819
+ },
9674
9820
  {
9675
9821
  "kind": "field",
9676
9822
  "name": "_childObserver",
9677
9823
  "privacy": "private",
9678
- "default": "new MutationObserver(() => this._syncDividers())"
9824
+ "default": "new MutationObserver(() => { this._syncDividers(); this._syncInverted(); })"
9679
9825
  },
9680
9826
  {
9681
9827
  "kind": "field",
@@ -9683,6 +9829,11 @@
9683
9829
  "privacy": "private",
9684
9830
  "default": "new WeakSet<Element>()"
9685
9831
  },
9832
+ {
9833
+ "kind": "method",
9834
+ "name": "_syncInverted",
9835
+ "privacy": "private"
9836
+ },
9686
9837
  {
9687
9838
  "kind": "method",
9688
9839
  "name": "_syncDividers",
@@ -9709,6 +9860,16 @@
9709
9860
  "description": "Draws a divider between items. No divider is drawn after the last item.",
9710
9861
  "fieldName": "divider",
9711
9862
  "propName": "divider"
9863
+ },
9864
+ {
9865
+ "name": "inverted",
9866
+ "type": {
9867
+ "text": "boolean"
9868
+ },
9869
+ "default": "false",
9870
+ "description": "Adjusts colors for dark backgrounds.",
9871
+ "fieldName": "inverted",
9872
+ "propName": "inverted"
9712
9873
  }
9713
9874
  ],
9714
9875
  "superclass": {
@@ -9717,7 +9878,7 @@
9717
9878
  },
9718
9879
  "tagName": "nys-iconlist",
9719
9880
  "customElement": true,
9720
- "summary": "A scannable list of icon + text items, with an optional divider between rows.",
9881
+ "summary": "A scannable list of icon + text items.",
9721
9882
  "examples": [
9722
9883
  {
9723
9884
  "title": "Basic",
@@ -9739,6 +9900,11 @@
9739
9900
  "code": "<nys-iconlist id=\"event-details3\">\n<nys-iconlistitem icon=\"calendar_month\">July 4, 2026</nys-iconlistitem>\n<nys-iconlistitem icon=\"schedule\">\n5:00 PM\n<span slot=\"secondary\">Eastern Standard Time</span>\n</nys-iconlistitem>\n<nys-iconlistitem icon=\"location_on\">\nCentral Park West\n<span slot=\"secondary\">New York, NY</span>\n</nys-iconlistitem>\n</nys-iconlist>",
9740
9901
  "lang": "html"
9741
9902
  },
9903
+ {
9904
+ "title": "Inverted",
9905
+ "code": "<nys-iconlist id=\"demo-inverted\" divider inverted>\n<nys-iconlistitem icon=\"calendar_month\">July 4, 2026</nys-iconlistitem>\n<nys-iconlistitem icon=\"schedule\">\n5:00 PM\n<span slot=\"secondary\">Eastern Standard Time</span>\n</nys-iconlistitem>\n<nys-iconlistitem icon=\"location_on\">\nCentral Park West\n<span slot=\"secondary\">New York, NY</span>\n</nys-iconlistitem>\n</nys-iconlist>",
9906
+ "lang": "html"
9907
+ },
9742
9908
  {
9743
9909
  "title": "Checklist",
9744
9910
  "code": "<nys-iconlist id=\"requirements\">\n<nys-iconlistitem icon=\"check_circle\">Recent pay stubs</nys-iconlistitem>\n<nys-iconlistitem icon=\"check_circle\">Current rent/mortgage statement</nys-iconlistitem>\n<nys-iconlistitem icon=\"check_circle\">Current property tax bill</nys-iconlistitem>\n<nys-iconlistitem icon=\"check_circle\">Current homeowner's insurance bill</nys-iconlistitem>\n<nys-iconlistitem icon=\"check_circle\">Social Security card</nys-iconlistitem>\n</nys-iconlist>",
@@ -9806,6 +9972,17 @@
9806
9972
  "attribute": "divider",
9807
9973
  "reflects": true
9808
9974
  },
9975
+ {
9976
+ "kind": "field",
9977
+ "name": "inverted",
9978
+ "type": {
9979
+ "text": "boolean"
9980
+ },
9981
+ "default": "false",
9982
+ "description": "Adjusts colors for dark backgrounds. Set by the parent `<nys-iconlist inverted>`; not intended to be\nset directly.",
9983
+ "attribute": "inverted",
9984
+ "reflects": true
9985
+ },
9809
9986
  {
9810
9987
  "kind": "method",
9811
9988
  "name": "_handleSecondarySlotChange",
@@ -9840,6 +10017,16 @@
9840
10017
  "description": "Draws a rule below the item. Set by the parent `<nys-iconlist divider>`; not intended to be\nset directly.",
9841
10018
  "fieldName": "divider",
9842
10019
  "propName": "divider"
10020
+ },
10021
+ {
10022
+ "name": "inverted",
10023
+ "type": {
10024
+ "text": "boolean"
10025
+ },
10026
+ "default": "false",
10027
+ "description": "Adjusts colors for dark backgrounds. Set by the parent `<nys-iconlist inverted>`; not intended to be\nset directly.",
10028
+ "fieldName": "inverted",
10029
+ "propName": "inverted"
9843
10030
  }
9844
10031
  ],
9845
10032
  "superclass": {