@nysds/components 1.21.0 → 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.
Files changed (30) hide show
  1. package/custom-elements.json +268 -98
  2. package/dist/.vscode/vscode.css-custom-data.json +40 -0
  3. package/dist/.vscode/vscode.html-custom-data.json +17 -7
  4. package/dist/custom-elements.json +268 -98
  5. package/dist/{nys-icon.library-Bi_7DKlD-YSs5zqZy.js → nys-icon.library-BxwfG3ym-D4Dl8jc_.js} +12 -4
  6. package/dist/nys-icon.library-BxwfG3ym-D4Dl8jc_.js.map +1 -0
  7. package/dist/{nys-icon.library-CwuPZJAc.js → nys-icon.library-C02yNW9R.js} +2 -2
  8. package/dist/{nys-icon.library-CwuPZJAc.js.map → nys-icon.library-C02yNW9R.js.map} +1 -1
  9. package/dist/nysds.es.js +4077 -4589
  10. package/dist/nysds.es.js.map +1 -1
  11. package/dist/nysds.js +333 -311
  12. package/dist/nysds.js.map +1 -1
  13. package/dist/packages/nys-breadcrumbs/src/nys-breadcrumbs.d.ts +7 -2
  14. package/dist/packages/nys-card/src/nys-card.d.ts +52 -0
  15. package/dist/packages/nys-globalfooter/src/nys-globalfooter.d.ts +1 -0
  16. package/dist/packages/nys-globalheader/src/nys-globalheader.d.ts +19 -56
  17. package/dist/packages/nys-iconlist/src/nys-iconlist.d.ts +22 -1
  18. package/dist/packages/nys-iconlist/src/nys-iconlistitem.d.ts +6 -0
  19. package/package.json +3 -3
  20. package/packages/react/.turbo/turbo-build.log +59 -0
  21. package/packages/react/NysCard.d.ts +11 -0
  22. package/packages/react/NysCard.js +2 -0
  23. package/packages/react/NysGlobalHeader.d.ts +0 -3
  24. package/packages/react/NysGlobalHeader.js +0 -2
  25. package/packages/react/NysIconlist.d.ts +4 -1
  26. package/packages/react/NysIconlist.js +2 -1
  27. package/packages/react/NysIconlistitem.d.ts +4 -0
  28. package/packages/react/NysIconlistitem.js +2 -1
  29. package/packages/react/nysds-jsx.d.ts +16 -3
  30. package/dist/nys-icon.library-Bi_7DKlD-YSs5zqZy.js.map +0 -1
@@ -1939,6 +1939,11 @@
1939
1939
  "privacy": "private",
1940
1940
  "description": "Functions\n--------------------------------------------------------------------------"
1941
1941
  },
1942
+ {
1943
+ "kind": "field",
1944
+ "name": "_boundDisabledClickGuard",
1945
+ "privacy": "private"
1946
+ },
1942
1947
  {
1943
1948
  "kind": "method",
1944
1949
  "name": "_getSlottedOl",
@@ -1957,7 +1962,15 @@
1957
1962
  "type": {
1958
1963
  "text": "HTMLLIElement[]"
1959
1964
  }
1960
- }
1965
+ },
1966
+ "parameters": [
1967
+ {
1968
+ "name": "ol",
1969
+ "type": {
1970
+ "text": "HTMLOListElement"
1971
+ }
1972
+ }
1973
+ ]
1961
1974
  },
1962
1975
  {
1963
1976
  "kind": "method",
@@ -1997,7 +2010,57 @@
1997
2010
  },
1998
2011
  {
1999
2012
  "kind": "method",
2000
- "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",
2038
+ "privacy": "private",
2039
+ "parameters": [
2040
+ {
2041
+ "name": "li",
2042
+ "type": {
2043
+ "text": "HTMLLIElement"
2044
+ }
2045
+ }
2046
+ ]
2047
+ },
2048
+ {
2049
+ "kind": "method",
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",
2001
2064
  "privacy": "private",
2002
2065
  "parameters": [
2003
2066
  {
@@ -2010,7 +2073,7 @@
2010
2073
  },
2011
2074
  {
2012
2075
  "kind": "method",
2013
- "name": "_createCrumbElement",
2076
+ "name": "_applyCrumbStyle",
2014
2077
  "privacy": "private",
2015
2078
  "parameters": [
2016
2079
  {
@@ -2027,6 +2090,19 @@
2027
2090
  }
2028
2091
  ]
2029
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
+ },
2030
2106
  {
2031
2107
  "kind": "method",
2032
2108
  "name": "_handleSlotChange",
@@ -3047,6 +3123,38 @@
3047
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`).",
3048
3124
  "name": "--nys-card-height",
3049
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"
3050
3158
  }
3051
3159
  ],
3052
3160
  "slots": [
@@ -3083,6 +3191,17 @@
3083
3191
  "attribute": "id",
3084
3192
  "reflects": true
3085
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
+ },
3086
3205
  {
3087
3206
  "kind": "field",
3088
3207
  "name": "preheading",
@@ -3357,6 +3476,16 @@
3357
3476
  "fieldName": "id",
3358
3477
  "propName": "id"
3359
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
+ },
3360
3489
  {
3361
3490
  "name": "preheading",
3362
3491
  "type": {
@@ -3476,6 +3605,21 @@
3476
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>",
3477
3606
  "lang": "html"
3478
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
+ },
3479
3623
  {
3480
3624
  "title": "Media",
3481
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>",
@@ -8584,7 +8728,7 @@
8584
8728
  "declarations": [
8585
8729
  {
8586
8730
  "kind": "class",
8587
- "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.",
8588
8732
  "name": "NysGlobalHeader",
8589
8733
  "slots": [
8590
8734
  {
@@ -8597,17 +8741,6 @@
8597
8741
  }
8598
8742
  ],
8599
8743
  "members": [
8600
- {
8601
- "kind": "field",
8602
- "name": "id",
8603
- "type": {
8604
- "text": "string"
8605
- },
8606
- "default": "\"\"",
8607
- "description": "Unique identifier. Auto-generated if not provided.",
8608
- "attribute": "id",
8609
- "reflects": true
8610
- },
8611
8744
  {
8612
8745
  "kind": "field",
8613
8746
  "name": "appName",
@@ -8694,19 +8827,30 @@
8694
8827
  "privacy": "private",
8695
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."
8696
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
+ },
8697
8840
  {
8698
8841
  "kind": "method",
8699
- "name": "_highlightActiveLink",
8842
+ "name": "_getAssignedLinks",
8700
8843
  "privacy": "private",
8701
- "parameters": [
8702
- {
8703
- "name": "container",
8704
- "type": {
8705
- "text": "HTMLElement"
8706
- }
8844
+ "return": {
8845
+ "type": {
8846
+ "text": "HTMLAnchorElement[]"
8707
8847
  }
8708
- ],
8709
- "description": "Functions\n--------------------------------------------------------------------------"
8848
+ }
8849
+ },
8850
+ {
8851
+ "kind": "method",
8852
+ "name": "_highlightActiveLink",
8853
+ "privacy": "private"
8710
8854
  },
8711
8855
  {
8712
8856
  "kind": "method",
@@ -8731,6 +8875,23 @@
8731
8875
  }
8732
8876
  ]
8733
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
+ },
8734
8895
  {
8735
8896
  "kind": "method",
8736
8897
  "name": "_toggleMobileMenu",
@@ -8743,30 +8904,8 @@
8743
8904
  "text": "HTMLElement | null"
8744
8905
  },
8745
8906
  "privacy": "private",
8746
- "description": "The toggle, which is both the trap's first stop and where focus returns.",
8747
8907
  "readonly": true
8748
8908
  },
8749
- {
8750
- "kind": "field",
8751
- "name": "_mobileNav",
8752
- "type": {
8753
- "text": "HTMLElement | null"
8754
- },
8755
- "privacy": "private",
8756
- "readonly": true
8757
- },
8758
- {
8759
- "kind": "method",
8760
- "name": "_closeMobileMenu",
8761
- "privacy": "private",
8762
- "parameters": [
8763
- {
8764
- "name": "restoreFocus",
8765
- "default": "false"
8766
- }
8767
- ],
8768
- "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."
8769
- },
8770
8909
  {
8771
8910
  "kind": "method",
8772
8911
  "name": "_focusableMenuElements",
@@ -8795,7 +8934,7 @@
8795
8934
  }
8796
8935
  }
8797
8936
  ],
8798
- "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."
8799
8938
  },
8800
8939
  {
8801
8940
  "kind": "method",
@@ -8813,7 +8952,33 @@
8813
8952
  },
8814
8953
  {
8815
8954
  "kind": "method",
8816
- "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",
8817
8982
  "privacy": "private"
8818
8983
  },
8819
8984
  {
@@ -8845,51 +9010,9 @@
8845
9010
  "privacy": "private",
8846
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.",
8847
9012
  "readonly": true
8848
- },
8849
- {
8850
- "kind": "method",
8851
- "name": "_renderNameContainer",
8852
- "privacy": "private",
8853
- "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."
8854
- },
8855
- {
8856
- "kind": "method",
8857
- "name": "_renderBrandMark",
8858
- "privacy": "private"
8859
- },
8860
- {
8861
- "kind": "method",
8862
- "name": "_getNysLogo",
8863
- "privacy": "private"
8864
- },
8865
- {
8866
- "kind": "field",
8867
- "name": "_boundClickOutside",
8868
- "privacy": "private"
8869
- },
8870
- {
8871
- "kind": "field",
8872
- "name": "_boundBreakpointChange",
8873
- "privacy": "private",
8874
- "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."
8875
- },
8876
- {
8877
- "kind": "field",
8878
- "name": "_boundKeyDown",
8879
- "privacy": "private"
8880
9013
  }
8881
9014
  ],
8882
9015
  "attributes": [
8883
- {
8884
- "name": "id",
8885
- "type": {
8886
- "text": "string"
8887
- },
8888
- "default": "\"\"",
8889
- "description": "Unique identifier. Auto-generated if not provided.",
8890
- "fieldName": "id",
8891
- "propName": "id"
8892
- },
8893
9016
  {
8894
9017
  "name": "appName",
8895
9018
  "type": {
@@ -8974,14 +9097,9 @@
8974
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>",
8975
9098
  "lang": "html"
8976
9099
  },
8977
- {
8978
- "title": "Author-controlled active link",
8979
- "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>",
8980
- "lang": "html"
8981
- },
8982
9100
  {
8983
9101
  "title": "User Actions",
8984
- "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>",
8985
9103
  "lang": "html"
8986
9104
  },
8987
9105
  {
@@ -9688,11 +9806,22 @@
9688
9806
  "attribute": "divider",
9689
9807
  "reflects": true
9690
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
+ },
9691
9820
  {
9692
9821
  "kind": "field",
9693
9822
  "name": "_childObserver",
9694
9823
  "privacy": "private",
9695
- "default": "new MutationObserver(() => this._syncDividers())"
9824
+ "default": "new MutationObserver(() => { this._syncDividers(); this._syncInverted(); })"
9696
9825
  },
9697
9826
  {
9698
9827
  "kind": "field",
@@ -9700,6 +9829,11 @@
9700
9829
  "privacy": "private",
9701
9830
  "default": "new WeakSet<Element>()"
9702
9831
  },
9832
+ {
9833
+ "kind": "method",
9834
+ "name": "_syncInverted",
9835
+ "privacy": "private"
9836
+ },
9703
9837
  {
9704
9838
  "kind": "method",
9705
9839
  "name": "_syncDividers",
@@ -9726,6 +9860,16 @@
9726
9860
  "description": "Draws a divider between items. No divider is drawn after the last item.",
9727
9861
  "fieldName": "divider",
9728
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"
9729
9873
  }
9730
9874
  ],
9731
9875
  "superclass": {
@@ -9734,7 +9878,7 @@
9734
9878
  },
9735
9879
  "tagName": "nys-iconlist",
9736
9880
  "customElement": true,
9737
- "summary": "A scannable list of icon + text items, with an optional divider between rows.",
9881
+ "summary": "A scannable list of icon + text items.",
9738
9882
  "examples": [
9739
9883
  {
9740
9884
  "title": "Basic",
@@ -9756,6 +9900,11 @@
9756
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>",
9757
9901
  "lang": "html"
9758
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
+ },
9759
9908
  {
9760
9909
  "title": "Checklist",
9761
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>",
@@ -9823,6 +9972,17 @@
9823
9972
  "attribute": "divider",
9824
9973
  "reflects": true
9825
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
+ },
9826
9986
  {
9827
9987
  "kind": "method",
9828
9988
  "name": "_handleSecondarySlotChange",
@@ -9857,6 +10017,16 @@
9857
10017
  "description": "Draws a rule below the item. Set by the parent `<nys-iconlist divider>`; not intended to be\nset directly.",
9858
10018
  "fieldName": "divider",
9859
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"
9860
10030
  }
9861
10031
  ],
9862
10032
  "superclass": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * New York State Design System v1.21.0
2
+ * New York State Design System v1.21.1
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
@@ -9,12 +9,14 @@
9
9
  * █ █ █ █▄▄▄█ ▀▀▀▄▄ █ █ ▀▀▀▄▄
10
10
  * █ ▀█ █ █▄▄▄█ █▄▄▀ █▄▄▄█
11
11
  *
12
- * Icon Component v1.21.0
12
+ * Icon Component v1.21.1
13
13
  * Part of the New York State Design System
14
14
  * Repository: https://github.com/its-hcd/nysds
15
15
  * License: MIT
16
16
  */
17
- var C = {
17
+ const C = {
18
+ // --------- UX Team Main Library (below) --------- //
19
+ // *** CORE *** //
18
20
  account_circle: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
19
21
  <mask id="mask0_12372_781" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
20
22
  <rect width="24" height="24" fill="#D9D9D9"/>
@@ -353,6 +355,7 @@ var C = {
353
355
  <path d="M7 21C6.45 21 5.97917 20.8042 5.5875 20.4125C5.19583 20.0208 5 19.55 5 19V6C4.71667 6 4.47917 5.90417 4.2875 5.7125C4.09583 5.52083 4 5.28333 4 5C4 4.71667 4.09583 4.47917 4.2875 4.2875C4.47917 4.09583 4.71667 4 5 4H9C9 3.71667 9.09583 3.47917 9.2875 3.2875C9.47917 3.09583 9.71667 3 10 3H14C14.2833 3 14.5208 3.09583 14.7125 3.2875C14.9042 3.47917 15 3.71667 15 4H19C19.2833 4 19.5208 4.09583 19.7125 4.2875C19.9042 4.47917 20 4.71667 20 5C20 5.28333 19.9042 5.52083 19.7125 5.7125C19.5208 5.90417 19.2833 6 19 6V19C19 19.55 18.8042 20.0208 18.4125 20.4125C18.0208 20.8042 17.55 21 17 21H7ZM17 6H7V19H17V6ZM10.7125 16.7125C10.9042 16.5208 11 16.2833 11 16V9C11 8.71667 10.9042 8.47917 10.7125 8.2875C10.5208 8.09583 10.2833 8 10 8C9.71667 8 9.47917 8.09583 9.2875 8.2875C9.09583 8.47917 9 8.71667 9 9V16C9 16.2833 9.09583 16.5208 9.2875 16.7125C9.47917 16.9042 9.71667 17 10 17C10.2833 17 10.5208 16.9042 10.7125 16.7125ZM14.7125 16.7125C14.9042 16.5208 15 16.2833 15 16V9C15 8.71667 14.9042 8.47917 14.7125 8.2875C14.5208 8.09583 14.2833 8 14 8C13.7167 8 13.4792 8.09583 13.2875 8.2875C13.0958 8.47917 13 8.71667 13 9V16C13 16.2833 13.0958 16.5208 13.2875 16.7125C13.4792 16.9042 13.7167 17 14 17C14.2833 17 14.5208 16.9042 14.7125 16.7125Z" fill="var(--nys-icon-color, currentcolor)"/>
354
356
  </g>
355
357
  </svg>`,
358
+ // *** Arrows *** //
356
359
  arrow_back: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
357
360
  <mask id="mask0_12372_673" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
358
361
  <rect width="24" height="24" fill="#D9D9D9"/>
@@ -401,6 +404,7 @@ var C = {
401
404
  <path d="M11 6.8249L10.1 7.7249C9.91672 7.90824 9.68755 7.9999 9.41255 7.9999C9.13755 7.9999 8.90005 7.8999 8.70005 7.6999C8.51672 7.51657 8.42505 7.28324 8.42505 6.9999C8.42505 6.71657 8.51672 6.48324 8.70005 6.2999L11.3 3.6999C11.5 3.4999 11.7334 3.3999 12 3.3999C12.2667 3.3999 12.5 3.4999 12.7 3.6999L15.3 6.2999C15.4834 6.48324 15.5792 6.7124 15.5875 6.9874C15.5959 7.2624 15.5 7.4999 15.3 7.6999C15.1167 7.88324 14.8834 7.9749 14.6 7.9749C14.3167 7.9749 14.0834 7.88324 13.9 7.6999L13 6.8249V19.9999C13 20.2832 12.9042 20.5207 12.7125 20.7124C12.5209 20.9041 12.2834 20.9999 12 20.9999C11.7167 20.9999 11.4792 20.9041 11.2875 20.7124C11.0959 20.5207 11 20.2832 11 19.9999V6.8249Z" fill="var(--nys-icon-color, currentcolor)"/>
402
405
  </g>
403
406
  </svg>`,
407
+ // *** Chevrons *** //
404
408
  chevron_down: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
405
409
  <mask id="mask0_12372_190" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
406
410
  <rect width="24" height="24" fill="#D9D9D9"/>
@@ -433,6 +437,7 @@ var C = {
433
437
  <path d="M14.7238 12.4865L7.37494 19.8353C7.12498 20.0853 7.00417 20.3769 7.0125 20.7102C7.02083 21.0435 7.14998 21.3351 7.39994 21.5851C7.6499 21.835 7.94152 21.96 8.2748 21.96C8.60809 21.96 8.89971 21.835 9.14967 21.5851L16.8485 13.9112C17.0485 13.7113 17.1984 13.4863 17.2984 13.2363C17.3984 12.9864 17.4484 12.7364 17.4484 12.4865C17.4484 12.2365 17.3984 11.9865 17.2984 11.7366C17.1984 11.4866 17.0485 11.2616 16.8485 11.0617L9.14967 3.36285C8.89971 3.11289 8.60392 2.99207 8.26231 3.0004C7.92069 3.00874 7.6249 3.13788 7.37494 3.38784C7.12498 3.63781 7 3.92943 7 4.26271C7 4.59599 7.12498 4.88761 7.37494 5.13758L14.7238 12.4865Z" fill="var(--nys-icon-color, currentcolor)"/>
434
438
  </g>
435
439
  </svg>`,
440
+ // *** Environmental *** //
436
441
  ac_unit: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
437
442
  <mask id="mask0_12372_444" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
438
443
  <rect width="24" height="24" fill="#D9D9D9"/>
@@ -473,6 +478,7 @@ var C = {
473
478
  <path d="M13.95 21.9C13.7 22.0333 13.4458 22.0542 13.1875 21.9625C12.9292 21.8708 12.7333 21.7 12.6 21.45L11.1 18.45C10.9667 18.2 10.9458 17.9458 11.0375 17.6875C11.1292 17.4292 11.3 17.2333 11.55 17.1C11.8 16.9667 12.0542 16.9458 12.3125 17.0375C12.5708 17.1292 12.7667 17.3 12.9 17.55L14.4 20.55C14.5333 20.8 14.5542 21.0542 14.4625 21.3125C14.3708 21.5708 14.2 21.7667 13.95 21.9ZM19.95 21.9C19.7 22.0333 19.4458 22.0542 19.1875 21.9625C18.9292 21.8708 18.7333 21.7 18.6 21.45L17.1 18.45C16.9667 18.2 16.9458 17.9458 17.0375 17.6875C17.1292 17.4292 17.3 17.2333 17.55 17.1C17.8 16.9667 18.0542 16.9458 18.3125 17.0375C18.5708 17.1292 18.7667 17.3 18.9 17.55L20.4 20.55C20.5333 20.8 20.5542 21.0542 20.4625 21.3125C20.3708 21.5708 20.2 21.7667 19.95 21.9ZM7.95 21.9C7.7 22.0333 7.44583 22.0542 7.1875 21.9625C6.92917 21.8708 6.73333 21.7 6.6 21.45L5.1 18.45C4.96667 18.2 4.94583 17.9458 5.0375 17.6875C5.12917 17.4292 5.3 17.2333 5.55 17.1C5.8 16.9667 6.05417 16.9458 6.3125 17.0375C6.57083 17.1292 6.76667 17.3 6.9 17.55L8.4 20.55C8.53333 20.8 8.55417 21.0542 8.4625 21.3125C8.37083 21.5708 8.2 21.7667 7.95 21.9ZM7.5 16C5.98333 16 4.6875 15.4625 3.6125 14.3875C2.5375 13.3125 2 12.0167 2 10.5C2 9.11667 2.45833 7.90833 3.375 6.875C4.29167 5.84167 5.425 5.23333 6.775 5.05C7.30833 4.1 8.0375 3.35417 8.9625 2.8125C9.8875 2.27083 10.9 2 12 2C13.5 2 14.8042 2.47917 15.9125 3.4375C17.0208 4.39583 17.6917 5.59167 17.925 7.025C19.075 7.125 20.0417 7.6 20.825 8.45C21.6083 9.3 22 10.3167 22 11.5C22 12.75 21.5625 13.8125 20.6875 14.6875C19.8125 15.5625 18.75 16 17.5 16H7.5ZM7.5 14H17.5C18.2 14 18.7917 13.7583 19.275 13.275C19.7583 12.7917 20 12.2 20 11.5C20 10.8 19.7583 10.2083 19.275 9.725C18.7917 9.24167 18.2 9 17.5 9H16V8C16 6.9 15.6083 5.95833 14.825 5.175C14.0417 4.39167 13.1 4 12 4C11.2 4 10.4708 4.21667 9.8125 4.65C9.15417 5.08333 8.65833 5.66667 8.325 6.4L8.075 7H7.45C6.5 7.03333 5.6875 7.3875 5.0125 8.0625C4.3375 8.7375 4 9.55 4 10.5C4 11.4667 4.34167 12.2917 5.025 12.975C5.70833 13.6583 6.53333 14 7.5 14Z" fill="var(--nys-icon-color, currentcolor)"/>
474
479
  </g>
475
480
  </svg>`,
481
+ // *** Intent *** //
476
482
  check_circle: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
477
483
  <mask id="mask0_22550_677" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
478
484
  <rect width="24" height="24" fill="#D9D9D9"/>
@@ -513,6 +519,7 @@ var C = {
513
519
  <path d="M2.72503 21C2.5417 21 2.37503 20.9542 2.22503 20.8625C2.07503 20.7708 1.95837 20.65 1.87503 20.5C1.7917 20.35 1.74587 20.1875 1.73753 20.0125C1.7292 19.8375 1.77503 19.6667 1.87503 19.5L11.125 3.5C11.225 3.33333 11.3542 3.20833 11.5125 3.125C11.6709 3.04167 11.8334 3 12 3C12.1667 3 12.3292 3.04167 12.4875 3.125C12.6459 3.20833 12.775 3.33333 12.875 3.5L22.125 19.5C22.225 19.6667 22.2709 19.8375 22.2625 20.0125C22.2542 20.1875 22.2084 20.35 22.125 20.5C22.0417 20.65 21.925 20.7708 21.775 20.8625C21.625 20.9542 21.4584 21 21.275 21H2.72503ZM4.45003 19H19.55L12 6L4.45003 19ZM12 18C12.2834 18 12.5209 17.9042 12.7125 17.7125C12.9042 17.5208 13 17.2833 13 17C13 16.7167 12.9042 16.4792 12.7125 16.2875C12.5209 16.0958 12.2834 16 12 16C11.7167 16 11.4792 16.0958 11.2875 16.2875C11.0959 16.4792 11 16.7167 11 17C11 17.2833 11.0959 17.5208 11.2875 17.7125C11.4792 17.9042 11.7167 18 12 18ZM12 15C12.2834 15 12.5209 14.9042 12.7125 14.7125C12.9042 14.5208 13 14.2833 13 14V11C13 10.7167 12.9042 10.4792 12.7125 10.2875C12.5209 10.0958 12.2834 10 12 10C11.7167 10 11.4792 10.0958 11.2875 10.2875C11.0959 10.4792 11 10.7167 11 11V14C11 14.2833 11.0959 14.5208 11.2875 14.7125C11.4792 14.9042 11.7167 15 12 15Z" fill="var(--nys-icon-color, currentcolor)"/>
514
520
  </g>
515
521
  </svg>`,
522
+ // *** Social *** //
516
523
  social_bluesky: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
517
524
  <mask id="mask0_8703_408" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
518
525
  <rect width="24" height="24" fill="#D9D9D9"/>
@@ -659,6 +666,7 @@ var C = {
659
666
  <path d="M21.8008 8.03516C21.8008 8.03516 21.6055 6.65625 21.0039 6.05078C20.2422 5.25391 19.3906 5.25 19 5.20312C16.2031 5 12.0039 5 12.0039 5H11.9961C11.9961 5 7.79688 5 5 5.20312C4.60938 5.25 3.75781 5.25391 2.99609 6.05078C2.39453 6.65625 2.20312 8.03516 2.20312 8.03516C2.20312 8.03516 2 9.65625 2 11.2734V12.7891C2 14.4062 2.19922 16.0273 2.19922 16.0273C2.19922 16.0273 2.39453 17.4062 2.99219 18.0117C3.75391 18.8086 4.75391 18.7812 5.19922 18.8672C6.80078 19.0195 12 19.0664 12 19.0664C12 19.0664 16.2031 19.0586 19 18.8594C19.3906 18.8125 20.2422 18.8086 21.0039 18.0117C21.6055 17.4062 21.8008 16.0273 21.8008 16.0273C21.8008 16.0273 22 14.4102 22 12.7891V11.2734C22 9.65625 21.8008 8.03516 21.8008 8.03516ZM9.93359 14.6289V9.00781L15.3359 11.8281L9.93359 14.6289Z" fill="var(--nys-icon-color, currentcolor)"/>
660
667
  </g>
661
668
  </svg>`,
669
+ // *** Filled *** //
662
670
  account_balance_filled: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
663
671
  <mask id="mask0_12372_695" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
664
672
  <rect width="24" height="24" fill="#D9D9D9"/>
@@ -695,4 +703,4 @@ var C = {
695
703
  export {
696
704
  C as default
697
705
  };
698
- //# sourceMappingURL=nys-icon.library-Bi_7DKlD-YSs5zqZy.js.map
706
+ //# sourceMappingURL=nys-icon.library-BxwfG3ym-D4Dl8jc_.js.map