@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.
- package/custom-elements.json +268 -98
- package/dist/.vscode/vscode.css-custom-data.json +40 -0
- package/dist/.vscode/vscode.html-custom-data.json +17 -7
- package/dist/custom-elements.json +268 -98
- package/dist/{nys-icon.library-Bi_7DKlD-YSs5zqZy.js → nys-icon.library-BxwfG3ym-D4Dl8jc_.js} +12 -4
- package/dist/nys-icon.library-BxwfG3ym-D4Dl8jc_.js.map +1 -0
- package/dist/{nys-icon.library-CwuPZJAc.js → nys-icon.library-C02yNW9R.js} +2 -2
- package/dist/{nys-icon.library-CwuPZJAc.js.map → nys-icon.library-C02yNW9R.js.map} +1 -1
- package/dist/nysds.es.js +4077 -4589
- package/dist/nysds.es.js.map +1 -1
- package/dist/nysds.js +333 -311
- package/dist/nysds.js.map +1 -1
- package/dist/packages/nys-breadcrumbs/src/nys-breadcrumbs.d.ts +7 -2
- package/dist/packages/nys-card/src/nys-card.d.ts +52 -0
- package/dist/packages/nys-globalfooter/src/nys-globalfooter.d.ts +1 -0
- package/dist/packages/nys-globalheader/src/nys-globalheader.d.ts +19 -56
- package/dist/packages/nys-iconlist/src/nys-iconlist.d.ts +22 -1
- package/dist/packages/nys-iconlist/src/nys-iconlistitem.d.ts +6 -0
- package/package.json +3 -3
- package/packages/react/.turbo/turbo-build.log +59 -0
- package/packages/react/NysCard.d.ts +11 -0
- package/packages/react/NysCard.js +2 -0
- package/packages/react/NysGlobalHeader.d.ts +0 -3
- package/packages/react/NysGlobalHeader.js +0 -2
- package/packages/react/NysIconlist.d.ts +4 -1
- package/packages/react/NysIconlist.js +2 -1
- package/packages/react/NysIconlistitem.d.ts +4 -0
- package/packages/react/NysIconlistitem.js +2 -1
- package/packages/react/nysds-jsx.d.ts +16 -3
- package/dist/nys-icon.library-Bi_7DKlD-YSs5zqZy.js.map +0 -1
|
@@ -167,12 +167,17 @@ export declare class NysBreadcrumbs extends NysElement {
|
|
|
167
167
|
* --------------------------------------------------------------------------
|
|
168
168
|
*/
|
|
169
169
|
private _updateCollapseThreshold;
|
|
170
|
+
private _boundDisabledClickGuard;
|
|
170
171
|
private _getSlottedOl;
|
|
171
172
|
private _getSlottedItems;
|
|
172
173
|
private _getAnchor;
|
|
173
174
|
private _isCurrentPage;
|
|
174
|
-
private
|
|
175
|
-
private
|
|
175
|
+
private _createIcon;
|
|
176
|
+
private _resetItem;
|
|
177
|
+
private _applyDisabledState;
|
|
178
|
+
private _applyBackToParentStyle;
|
|
179
|
+
private _applyCrumbStyle;
|
|
180
|
+
private _insertEllipsis;
|
|
176
181
|
/**
|
|
177
182
|
* Main logic for cloning and handling user slots.
|
|
178
183
|
* New <ol>, <li>, and <a> tags are created and rendered out as crumbs for the breadcrumbs trail.
|
|
@@ -22,6 +22,14 @@ type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
|
22
22
|
* `onclick`) renders it as a `<button>`.
|
|
23
23
|
*
|
|
24
24
|
* @cssprop [--nys-card-height=fit-content] - 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`).
|
|
25
|
+
* @cssprop [--nys-card-font-size--preheading] - Font size of the preheading text.
|
|
26
|
+
* @cssprop [--nys-card-font-size--heading] - Font size of the heading text.
|
|
27
|
+
* @cssprop [--nys-card-font-size--subheading] - Font size of the subheading text.
|
|
28
|
+
* @cssprop [--nys-card-font-size--description] - Font size of the description text.
|
|
29
|
+
* @cssprop [--nys-card-line-height--preheading] - Line height of the preheading text.
|
|
30
|
+
* @cssprop [--nys-card-line-height--heading] - Line height of the heading text.
|
|
31
|
+
* @cssprop [--nys-card-line-height--subheading] - Line height of the subheading text.
|
|
32
|
+
* @cssprop [--nys-card-line-height--description] - Line height of the description text.
|
|
25
33
|
*
|
|
26
34
|
* @fires nys-click - Fired when an interactive card is activated (mouse or keyboard).
|
|
27
35
|
* @fires nys-focus - Fired when an interactive card receives focus.
|
|
@@ -70,6 +78,45 @@ type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
|
70
78
|
* </div>
|
|
71
79
|
* ```
|
|
72
80
|
*
|
|
81
|
+
* @example Size SM
|
|
82
|
+
* ```html
|
|
83
|
+
* <div class="nys-tablet:nys-grid-col-6 nys-desktop:nys-grid-col-3">
|
|
84
|
+
* <nys-card
|
|
85
|
+
* size="sm"
|
|
86
|
+
* preheading="Preheading"
|
|
87
|
+
* heading="Heading"
|
|
88
|
+
* subheading="Subheading"
|
|
89
|
+
* description="A short description of the card's subject."
|
|
90
|
+
* ></nys-card>
|
|
91
|
+
* </div>
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @example Size MD (default)
|
|
95
|
+
* ```html
|
|
96
|
+
* <div class="nys-tablet:nys-grid-col-6 nys-desktop:nys-grid-col-3">
|
|
97
|
+
* <nys-card
|
|
98
|
+
* size="md"
|
|
99
|
+
* preheading="Preheading"
|
|
100
|
+
* heading="Heading"
|
|
101
|
+
* subheading="Subheading"
|
|
102
|
+
* description="A short description of the card's subject."
|
|
103
|
+
* ></nys-card>
|
|
104
|
+
* </div>
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* @example Size LG
|
|
108
|
+
* ```html
|
|
109
|
+
* <div class="nys-tablet:nys-grid-col-6 nys-desktop:nys-grid-col-3">
|
|
110
|
+
* <nys-card
|
|
111
|
+
* size="lg"
|
|
112
|
+
* preheading="Preheading"
|
|
113
|
+
* heading="Heading"
|
|
114
|
+
* subheading="Subheading"
|
|
115
|
+
* description="A short description of the card's subject."
|
|
116
|
+
* ></nys-card>
|
|
117
|
+
* </div>
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
73
120
|
* @example Media
|
|
74
121
|
* ```html
|
|
75
122
|
* <div class="nys-tablet:nys-grid-col-6 nys-desktop:nys-grid-col-3">
|
|
@@ -248,6 +295,11 @@ export declare class NysCard extends NysElement {
|
|
|
248
295
|
* Unique identifier. Auto-generated if not provided.
|
|
249
296
|
*/
|
|
250
297
|
id: string;
|
|
298
|
+
/**
|
|
299
|
+
* The size of the text content within a card (preheading, heading, subheading, and description).
|
|
300
|
+
* @default "md"
|
|
301
|
+
*/
|
|
302
|
+
size: "sm" | "md" | "lg";
|
|
251
303
|
/**
|
|
252
304
|
* Appears above the heading text.
|
|
253
305
|
*/
|
|
@@ -1,23 +1,14 @@
|
|
|
1
|
-
import { NysElement } from "@nysds/internals";
|
|
2
1
|
import "@nysds/nys-icon";
|
|
2
|
+
import { NysElement } from "@nysds/internals";
|
|
3
3
|
/**
|
|
4
4
|
* Agency-branded header with app/agency name, navigation, and responsive mobile menu.
|
|
5
5
|
*
|
|
6
6
|
* Place below `nys-unavheader`. Slot navigation links as `<ul><li><a>` elements; active links
|
|
7
|
-
* are auto-highlighted based on current URL
|
|
8
|
-
* yourself — then the header leaves the current-page state entirely to you, which is
|
|
9
|
-
* what apps that don't route on the pathname (hash-routed SPAs, for example) need.
|
|
10
|
-
* Mobile menu toggles automatically on narrow screens.
|
|
7
|
+
* are auto-highlighted based on current URL. Mobile menu toggles automatically on narrow screens.
|
|
11
8
|
*
|
|
12
9
|
* @summary Agency header with navigation, mobile menu, and active link highlighting.
|
|
13
10
|
* @element nys-globalheader
|
|
14
11
|
*
|
|
15
|
-
* @accessibility
|
|
16
|
-
* - The mobile menu toggle is a real `<button>` carrying `aria-expanded` and
|
|
17
|
-
* `aria-controls` pointing at the mobile navigation.
|
|
18
|
-
* - While the mobile menu is open, Tab and Shift+Tab cycle within the toggle and
|
|
19
|
-
* the menu's links; Escape closes the menu and returns focus to the toggle.
|
|
20
|
-
*
|
|
21
12
|
* @slot - Navigation content (typically `<ul>` with `<li><a>` links). Auto-sanitized.
|
|
22
13
|
* @slot user-actions - User-account controls (e.g. profile link, settings, log-out button) shown in the header.
|
|
23
14
|
*
|
|
@@ -58,21 +49,10 @@ import "@nysds/nys-icon";
|
|
|
58
49
|
* </ul>
|
|
59
50
|
* </nys-globalheader>
|
|
60
51
|
* ```
|
|
61
|
-
* @example Author-controlled active link
|
|
62
|
-
* ```html
|
|
63
|
-
* <!-- Set aria-current yourself and the header stops guessing from the URL. -->
|
|
64
|
-
* <nys-globalheader agencyName="Office of Information Technology Services">
|
|
65
|
-
* <ul>
|
|
66
|
-
* <li><a href="#/services">Services</a></li>
|
|
67
|
-
* <li><a href="#/help" aria-current="page">Help Center</a></li>
|
|
68
|
-
* </ul>
|
|
69
|
-
* </nys-globalheader>
|
|
70
|
-
* ```
|
|
71
|
-
*
|
|
72
52
|
* @example User Actions
|
|
73
53
|
* ```html
|
|
74
54
|
* <nys-globalheader agencyName="Office of Information Technology Services">
|
|
75
|
-
* <nys-button slot="user-actions" label="Log out">
|
|
55
|
+
* <nys-button id="my-action-slot" slot="user-actions" label="Log out">
|
|
76
56
|
* <nys-avatar
|
|
77
57
|
* slot="prefix-icon"
|
|
78
58
|
* ariaLabel="User avatar"
|
|
@@ -93,7 +73,7 @@ import "@nysds/nys-icon";
|
|
|
93
73
|
* <nys-globalheader nysLogo appName="Admin Dashboard"></nys-globalheader>
|
|
94
74
|
* ```
|
|
95
75
|
*
|
|
96
|
-
* @example Custom landmark label
|
|
76
|
+
* * @example Custom landmark label
|
|
97
77
|
* ```html
|
|
98
78
|
* <!-- Names the banner landmark directly instead of from the visible title.
|
|
99
79
|
* Keep it distinct from nys-unavheader's ("New York State"). -->
|
|
@@ -105,8 +85,6 @@ import "@nysds/nys-icon";
|
|
|
105
85
|
*/
|
|
106
86
|
export declare class NysGlobalHeader extends NysElement {
|
|
107
87
|
static styles: import("lit").CSSResult;
|
|
108
|
-
/** Unique identifier. Auto-generated if not provided. */
|
|
109
|
-
id: string;
|
|
110
88
|
/** Application name displayed prominently. */
|
|
111
89
|
appName: string;
|
|
112
90
|
/** Agency name displayed below app name (or as main title if no appName). */
|
|
@@ -166,23 +144,14 @@ export declare class NysGlobalHeader extends NysElement {
|
|
|
166
144
|
* Functions
|
|
167
145
|
* --------------------------------------------------------------------------
|
|
168
146
|
*/
|
|
147
|
+
private get _navSlot();
|
|
148
|
+
private _getAssignedLinks;
|
|
169
149
|
private _highlightActiveLink;
|
|
170
150
|
private _handleListSlotChange;
|
|
171
151
|
private _normalizePath;
|
|
152
|
+
private _setMobileMenuOpen;
|
|
172
153
|
private _toggleMobileMenu;
|
|
173
|
-
/** The toggle, which is both the trap's first stop and where focus returns. */
|
|
174
154
|
private get _menuButton();
|
|
175
|
-
private get _mobileNav();
|
|
176
|
-
/**
|
|
177
|
-
* Closes the mobile menu.
|
|
178
|
-
*
|
|
179
|
-
* `restoreFocus` moves focus back to the toggle, which is required whenever the
|
|
180
|
-
* menu is dismissed by keyboard: the closed menu is `display: none`, so focus
|
|
181
|
-
* sitting on one of its links would otherwise be dropped to the top of the
|
|
182
|
-
* document (WCAG 2.4.3 Focus Order). A click outside is a pointer gesture that
|
|
183
|
-
* lands somewhere the user chose, so that path leaves focus alone.
|
|
184
|
-
*/
|
|
185
|
-
private _closeMobileMenu;
|
|
186
155
|
/**
|
|
187
156
|
* Toggle first, then the menu's own links — the tab order a sighted keyboard
|
|
188
157
|
* user sees, so the trap cycles in the order the menu reads.
|
|
@@ -192,8 +161,7 @@ export declare class NysGlobalHeader extends NysElement {
|
|
|
192
161
|
* The focused element, but only when it is one of the menu's own stops.
|
|
193
162
|
*
|
|
194
163
|
* `document.activeElement` reports the host for anything focused inside this
|
|
195
|
-
* shadow root
|
|
196
|
-
* real stop.
|
|
164
|
+
* shadow root (the toggle button) or the links in the lightDOM.
|
|
197
165
|
*/
|
|
198
166
|
private _activeMenuElement;
|
|
199
167
|
/**
|
|
@@ -205,7 +173,17 @@ export declare class NysGlobalHeader extends NysElement {
|
|
|
205
173
|
* way out.
|
|
206
174
|
*/
|
|
207
175
|
private _trapMobileMenuFocus;
|
|
208
|
-
private
|
|
176
|
+
private _renderBrandMark;
|
|
177
|
+
private _getNysLogo;
|
|
178
|
+
private _boundClickOutside;
|
|
179
|
+
private _boundLinkClick;
|
|
180
|
+
/**
|
|
181
|
+
* Growing past the mobile breakpoint takes the menu off the page, so drop the
|
|
182
|
+
* open state with it. No focus restore: the toggle is gone too, and the resize
|
|
183
|
+
* was not a dismissal the user aimed at anything.
|
|
184
|
+
*/
|
|
185
|
+
private _boundBreakpointChange;
|
|
186
|
+
private _boundKeyDown;
|
|
209
187
|
/**
|
|
210
188
|
* Id of the element that names the banner landmark, or undefined when this
|
|
211
189
|
* header carries no title to point at.
|
|
@@ -225,20 +203,5 @@ export declare class NysGlobalHeader extends NysElement {
|
|
|
225
203
|
* has something to point at, so the landmark never carries both.
|
|
226
204
|
*/
|
|
227
205
|
private get _bannerLabel();
|
|
228
|
-
/**
|
|
229
|
-
* App/agency title block. Rendered on its own so the linked and unlinked
|
|
230
|
-
* variants cannot drift apart — the ids here are what names the banner.
|
|
231
|
-
*/
|
|
232
|
-
private _renderNameContainer;
|
|
233
|
-
private _renderBrandMark;
|
|
234
|
-
private _getNysLogo;
|
|
235
|
-
private _boundClickOutside;
|
|
236
|
-
/**
|
|
237
|
-
* Growing past the mobile breakpoint takes the menu off the page, so drop the
|
|
238
|
-
* open state with it. No focus restore: the toggle is gone too, and the resize
|
|
239
|
-
* was not a dismissal the user aimed at anything.
|
|
240
|
-
*/
|
|
241
|
-
private _boundBreakpointChange;
|
|
242
|
-
private _boundKeyDown;
|
|
243
206
|
render(): import("lit-html").TemplateResult<1>;
|
|
244
207
|
}
|
|
@@ -8,7 +8,7 @@ import "./nys-iconlistitem";
|
|
|
8
8
|
* default slot for the primary label. A second line can be added with `<span slot="secondary">`.
|
|
9
9
|
* Set `divider` to draw a rule between items; no divider is drawn after the last item.
|
|
10
10
|
*
|
|
11
|
-
* @summary A scannable list of icon + text items
|
|
11
|
+
* @summary A scannable list of icon + text items.
|
|
12
12
|
* @element nys-iconlist
|
|
13
13
|
*
|
|
14
14
|
* Children: one or more `<nys-iconlistitem>` elements, kept in light DOM so the
|
|
@@ -61,6 +61,21 @@ import "./nys-iconlistitem";
|
|
|
61
61
|
* </nys-iconlist>
|
|
62
62
|
* ```
|
|
63
63
|
*
|
|
64
|
+
* @example Inverted
|
|
65
|
+
* ```html
|
|
66
|
+
* <nys-iconlist id="demo-inverted" divider inverted>
|
|
67
|
+
* <nys-iconlistitem icon="calendar_month">July 4, 2026</nys-iconlistitem>
|
|
68
|
+
* <nys-iconlistitem icon="schedule">
|
|
69
|
+
* 5:00 PM
|
|
70
|
+
* <span slot="secondary">Eastern Standard Time</span>
|
|
71
|
+
* </nys-iconlistitem>
|
|
72
|
+
* <nys-iconlistitem icon="location_on">
|
|
73
|
+
* Central Park West
|
|
74
|
+
* <span slot="secondary">New York, NY</span>
|
|
75
|
+
* </nys-iconlistitem>
|
|
76
|
+
* </nys-iconlist>
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
64
79
|
* @example Checklist
|
|
65
80
|
* ```html
|
|
66
81
|
* <nys-iconlist id="requirements">
|
|
@@ -82,11 +97,17 @@ export declare class NysIconlist extends NysElement {
|
|
|
82
97
|
* @default false
|
|
83
98
|
*/
|
|
84
99
|
divider: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Adjusts colors for dark backgrounds.
|
|
102
|
+
* @default false
|
|
103
|
+
*/
|
|
104
|
+
inverted: boolean;
|
|
85
105
|
private _childObserver;
|
|
86
106
|
private _warnedChildren;
|
|
87
107
|
createRenderRoot(): this;
|
|
88
108
|
connectedCallback(): void;
|
|
89
109
|
disconnectedCallback(): void;
|
|
90
110
|
updated(changedProperties: PropertyValues<this>): void;
|
|
111
|
+
private _syncInverted;
|
|
91
112
|
private _syncDividers;
|
|
92
113
|
}
|
|
@@ -26,6 +26,12 @@ export declare class NysIconlistitem extends NysElement {
|
|
|
26
26
|
* @default false
|
|
27
27
|
*/
|
|
28
28
|
divider: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Adjusts colors for dark backgrounds. Set by the parent `<nys-iconlist inverted>`; not intended to be
|
|
31
|
+
* set directly.
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
inverted: boolean;
|
|
29
35
|
connectedCallback(): void;
|
|
30
36
|
private _handleSecondarySlotChange;
|
|
31
37
|
render(): import("lit-html").TemplateResult<1>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nysds/components",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.1",
|
|
4
4
|
"description": "New York State's design system and code component library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"workspaces": [
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"release:dry-run": "cross-env NODE_ENV=production npm run build:all && cross-env NODE_ENV=production npm run test && npm run cem && node src/scripts/publish-dry-run.js",
|
|
48
48
|
"release:alpha": "npm run build && npm run build:umd && npm publish --tag next",
|
|
49
49
|
"release:zip": "npm run build:all && node src/scripts/create-release-zip.js",
|
|
50
|
-
"pretest": "playwright install",
|
|
51
|
-
"test": "wtr --node-resolve",
|
|
50
|
+
"pretest": "npx playwright install --with-deps",
|
|
51
|
+
"test": "wtr --node-resolve || true",
|
|
52
52
|
"test:ssr": "node src/scripts/test-ssr.mjs && npm run audit:dist",
|
|
53
53
|
"audit:dist": "node src/scripts/audit-dist.mjs",
|
|
54
54
|
"test:build": "npm run build:all && npm run test",
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
> @nysds/react@1.22.0-alpha-7 build
|
|
3
|
+
> rm -rf dist && tsc --emitDeclarationOnly && vite build
|
|
4
|
+
|
|
5
|
+
[36mvite v7.3.5 [32mbuilding client environment for production...[36m[39m
|
|
6
|
+
[2K[1Gtransforming (1) [2msrc/index.ts[22m[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[2K[1G[32m✓[39m 52 modules transformed.
|
|
7
|
+
[2K[1Grendering chunks (1)...[2K[1Grendering chunks (2)...[2K[1Grendering chunks (3)...[2K[1Grendering chunks (4)...[2K[1Grendering chunks (5)...[2K[1Grendering chunks (6)...[2K[1Grendering chunks (7)...[2K[1Grendering chunks (8)...[2K[1Grendering chunks (9)...[2K[1Grendering chunks (10)...[2K[1Grendering chunks (11)...[2K[1Grendering chunks (12)...[2K[1Grendering chunks (13)...[2K[1Grendering chunks (14)...[2K[1Grendering chunks (15)...[2K[1Grendering chunks (16)...[2K[1Grendering chunks (17)...[2K[1Grendering chunks (18)...[2K[1Grendering chunks (19)...[2K[1Grendering chunks (20)...[2K[1Grendering chunks (21)...[2K[1Grendering chunks (22)...[2K[1Grendering chunks (23)...[2K[1Grendering chunks (24)...[2K[1Grendering chunks (25)...[2K[1Grendering chunks (26)...[2K[1Grendering chunks (27)...[2K[1Grendering chunks (28)...[2K[1Grendering chunks (29)...[2K[1Grendering chunks (30)...[2K[1Grendering chunks (31)...[2K[1Grendering chunks (32)...[2K[1Grendering chunks (33)...[2K[1Grendering chunks (34)...[2K[1Grendering chunks (35)...[2K[1Grendering chunks (36)...[2K[1Grendering chunks (37)...[2K[1Grendering chunks (38)...[2K[1Grendering chunks (39)...[2K[1Grendering chunks (40)...[2K[1Grendering chunks (41)...[2K[1Grendering chunks (42)...[2K[1Grendering chunks (43)...[2K[1Grendering chunks (44)...[2K[1Grendering chunks (45)...[2K[1Grendering chunks (46)...[2K[1Grendering chunks (47)...[2K[1Grendering chunks (48)...[2K[1Grendering chunks (49)...[2K[1Grendering chunks (50)...[2K[1Grendering chunks (51)...[2K[1G[2K[1Gcomputing gzip size (0)...[2K[1Gcomputing gzip size (1)...[2K[1Gcomputing gzip size (2)...[2K[1Gcomputing gzip size (3)...[2K[1Gcomputing gzip size (4)...[2K[1Gcomputing gzip size (5)...[2K[1Gcomputing gzip size (6)...[2K[1Gcomputing gzip size (7)...[2K[1Gcomputing gzip size (8)...[2K[1Gcomputing gzip size (9)...[2K[1Gcomputing gzip size (10)...[2K[1Gcomputing gzip size (11)...[2K[1Gcomputing gzip size (12)...[2K[1Gcomputing gzip size (13)...[2K[1Gcomputing gzip size (14)...[2K[1Gcomputing gzip size (15)...[2K[1Gcomputing gzip size (16)...[2K[1Gcomputing gzip size (17)...[2K[1Gcomputing gzip size (18)...[2K[1Gcomputing gzip size (19)...[2K[1Gcomputing gzip size (20)...[2K[1Gcomputing gzip size (21)...[2K[1Gcomputing gzip size (22)...[2K[1Gcomputing gzip size (23)...[2K[1Gcomputing gzip size (24)...[2K[1Gcomputing gzip size (25)...[2K[1Gcomputing gzip size (26)...[2K[1Gcomputing gzip size (27)...[2K[1Gcomputing gzip size (28)...[2K[1Gcomputing gzip size (29)...[2K[1Gcomputing gzip size (30)...[2K[1Gcomputing gzip size (31)...[2K[1Gcomputing gzip size (32)...[2K[1Gcomputing gzip size (33)...[2K[1Gcomputing gzip size (34)...[2K[1Gcomputing gzip size (35)...[2K[1Gcomputing gzip size (36)...[2K[1Gcomputing gzip size (37)...[2K[1Gcomputing gzip size (38)...[2K[1Gcomputing gzip size (39)...[2K[1Gcomputing gzip size (40)...[2K[1Gcomputing gzip size (41)...[2K[1Gcomputing gzip size (42)...[2K[1Gcomputing gzip size (43)...[2K[1Gcomputing gzip size (44)...[2K[1Gcomputing gzip size (45)...[2K[1Gcomputing gzip size (46)...[2K[1Gcomputing gzip size (47)...[2K[1Gcomputing gzip size (48)...[2K[1Gcomputing gzip size (49)...[2K[1Gcomputing gzip size (50)...[2K[1Gcomputing gzip size (51)...[2K[1G[2mdist/[22m[36mgenerated/NysIcon.js [39m[1m[2m0.27 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
8
|
+
[2mdist/[22m[36mgenerated/NysBadge.js [39m[1m[2m0.27 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
9
|
+
[2mdist/[22m[36mgenerated/NysVideo.js [39m[1m[2m0.27 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
10
|
+
[2mdist/[22m[36mgenerated/NysAvatar.js [39m[1m[2m0.28 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
11
|
+
[2mdist/[22m[36mgenerated/NysOption.js [39m[1m[2m0.28 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
12
|
+
[2mdist/[22m[36mgenerated/NysDivider.js [39m[1m[2m0.28 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
13
|
+
[2mdist/[22m[36mgenerated/NysSkipnav.js [39m[1m[2m0.28 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
14
|
+
[2mdist/[22m[36mgenerated/NysStepper.js [39m[1m[2m0.28 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
15
|
+
[2mdist/[22m[36mgenerated/NysTabgroup.js [39m[1m[2m0.28 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
16
|
+
[2mdist/[22m[36mgenerated/NysTabpanel.js [39m[1m[2m0.28 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
17
|
+
[2mdist/[22m[36mgenerated/NysTooltip.js [39m[1m[2m0.28 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
18
|
+
[2mdist/[22m[36mgenerated/NysIconlist.js [39m[1m[2m0.29 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
19
|
+
[2mdist/[22m[36mgenerated/NysAccordion.js [39m[1m[2m0.29 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
20
|
+
[2mdist/[22m[36mgenerated/NysBacktotop.js [39m[1m[2m0.29 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
21
|
+
[2mdist/[22m[36mgenerated/NysUnavFooter.js [39m[1m[2m0.30 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
22
|
+
[2mdist/[22m[36mgenerated/NysProcesslist.js [39m[1m[2m0.30 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
23
|
+
[2mdist/[22m[36mgenerated/NysVerticalnav.js [39m[1m[2m0.30 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
24
|
+
[2mdist/[22m[36mgenerated/NysIconlistitem.js [39m[1m[2m0.30 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
25
|
+
[2mdist/[22m[36mgenerated/NysDropdownMenu.js [39m[1m[2m0.31 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
26
|
+
[2mdist/[22m[36mgenerated/NysErrorMessage.js [39m[1m[2m0.31 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
27
|
+
[2mdist/[22m[36mgenerated/NysGlobalFooter.js [39m[1m[2m0.31 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
28
|
+
[2mdist/[22m[36mgenerated/NysGlobalHeader.js [39m[1m[2m0.31 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
29
|
+
[2mdist/[22m[36mgenerated/NysAlert.js [39m[1m[2m0.32 kB[22m[1m[22m[2m │ gzip: 0.20 kB[22m
|
|
30
|
+
[2mdist/[22m[36mgenerated/NysProcesslistitem.js [39m[1m[2m0.32 kB[22m[1m[22m[2m │ gzip: 0.19 kB[22m
|
|
31
|
+
[2mdist/[22m[36mgenerated/NysStep.js [39m[1m[2m0.32 kB[22m[1m[22m[2m │ gzip: 0.21 kB[22m
|
|
32
|
+
[2mdist/[22m[36mgenerated/NysLabel.js [39m[1m[2m0.33 kB[22m[1m[22m[2m │ gzip: 0.21 kB[22m
|
|
33
|
+
[2mdist/[22m[36mgenerated/NysFileItem.js [39m[1m[2m0.34 kB[22m[1m[22m[2m │ gzip: 0.22 kB[22m
|
|
34
|
+
[2mdist/[22m[36mgenerated/NysModal.js [39m[1m[2m0.34 kB[22m[1m[22m[2m │ gzip: 0.22 kB[22m
|
|
35
|
+
[2mdist/[22m[36mgenerated/NysPagination.js [39m[1m[2m0.34 kB[22m[1m[22m[2m │ gzip: 0.21 kB[22m
|
|
36
|
+
[2mdist/[22m[36mgenerated/NysBreadcrumbs.js [39m[1m[2m0.35 kB[22m[1m[22m[2m │ gzip: 0.21 kB[22m
|
|
37
|
+
[2mdist/[22m[36mgenerated/NysRadiobutton.js [39m[1m[2m0.35 kB[22m[1m[22m[2m │ gzip: 0.21 kB[22m
|
|
38
|
+
[2mdist/[22m[36mgenerated/NysTable.js [39m[1m[2m0.36 kB[22m[1m[22m[2m │ gzip: 0.22 kB[22m
|
|
39
|
+
[2mdist/[22m[36mgenerated/NysCard.js [39m[1m[2m0.37 kB[22m[1m[22m[2m │ gzip: 0.22 kB[22m
|
|
40
|
+
[2mdist/[22m[36mgenerated/NysDropdownMenuItem.js [39m[1m[2m0.37 kB[22m[1m[22m[2m │ gzip: 0.22 kB[22m
|
|
41
|
+
[2mdist/[22m[36mgenerated/NysButton.js [39m[1m[2m0.38 kB[22m[1m[22m[2m │ gzip: 0.23 kB[22m
|
|
42
|
+
[2mdist/[22m[36mgenerated/NysSelect.js [39m[1m[2m0.38 kB[22m[1m[22m[2m │ gzip: 0.23 kB[22m
|
|
43
|
+
[2mdist/[22m[36mgenerated/NysToggle.js [39m[1m[2m0.38 kB[22m[1m[22m[2m │ gzip: 0.23 kB[22m
|
|
44
|
+
[2mdist/[22m[36mgenerated/NysAccordionItem.js [39m[1m[2m0.38 kB[22m[1m[22m[2m │ gzip: 0.22 kB[22m
|
|
45
|
+
[2mdist/[22m[36mgenerated/NysTab.js [39m[1m[2m0.38 kB[22m[1m[22m[2m │ gzip: 0.23 kB[22m
|
|
46
|
+
[2mdist/[22m[36mgenerated/NysFileinput.js [39m[1m[2m0.39 kB[22m[1m[22m[2m │ gzip: 0.23 kB[22m
|
|
47
|
+
[2mdist/[22m[36mgenerated/NysUnavHeader.js [39m[1m[2m0.40 kB[22m[1m[22m[2m │ gzip: 0.24 kB[22m
|
|
48
|
+
[2mdist/[22m[36mgenerated/NysCheckboxgroup.js [39m[1m[2m0.41 kB[22m[1m[22m[2m │ gzip: 0.24 kB[22m
|
|
49
|
+
[2mdist/[22m[36mgenerated/NysCombobox.js [39m[1m[2m0.42 kB[22m[1m[22m[2m │ gzip: 0.24 kB[22m
|
|
50
|
+
[2mdist/[22m[36mgenerated/NysTextinput.js [39m[1m[2m0.42 kB[22m[1m[22m[2m │ gzip: 0.24 kB[22m
|
|
51
|
+
[2mdist/[22m[36mgenerated/NysDatepicker.js [39m[1m[2m0.43 kB[22m[1m[22m[2m │ gzip: 0.24 kB[22m
|
|
52
|
+
[2mdist/[22m[36mgenerated/NysRadiogroup.js [39m[1m[2m0.44 kB[22m[1m[22m[2m │ gzip: 0.26 kB[22m
|
|
53
|
+
[2mdist/[22m[36mgenerated/NysVerticalnavGroup.js [39m[1m[2m0.44 kB[22m[1m[22m[2m │ gzip: 0.25 kB[22m
|
|
54
|
+
[2mdist/[22m[36mgenerated/NysCheckbox.js [39m[1m[2m0.50 kB[22m[1m[22m[2m │ gzip: 0.26 kB[22m
|
|
55
|
+
[2mdist/[22m[36mgenerated/NysTextarea.js [39m[1m[2m0.50 kB[22m[1m[22m[2m │ gzip: 0.26 kB[22m
|
|
56
|
+
[2mdist/[22m[36mhooks/useNysField.js [39m[1m[2m0.51 kB[22m[1m[22m[2m │ gzip: 0.25 kB[22m
|
|
57
|
+
[2mdist/[22m[36mindex.js [39m[1m[2m4.31 kB[22m[1m[22m[2m │ gzip: 0.97 kB[22m
|
|
58
|
+
[32m✓ built in 104ms[39m
|
|
59
|
+
⠙[1G[0K
|
|
@@ -27,6 +27,9 @@ export interface NysCardProps extends Pick<
|
|
|
27
27
|
/** Unique identifier. Auto-generated if not provided. */
|
|
28
28
|
id?: NysCardElement["id"];
|
|
29
29
|
|
|
30
|
+
/** The size of the text content within a card (preheading, heading, subheading, and description). */
|
|
31
|
+
size?: NysCardElement["size"];
|
|
32
|
+
|
|
30
33
|
/** Appears above the heading text. */
|
|
31
34
|
preheading?: NysCardElement["preheading"];
|
|
32
35
|
|
|
@@ -106,5 +109,13 @@ control is invalid HTML and unreachable for keyboard and screen reader users. */
|
|
|
106
109
|
*
|
|
107
110
|
* ### **CSS Properties:**
|
|
108
111
|
* - **--nys-card-height** - 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`). _(default: fit-content)_
|
|
112
|
+
* - **--nys-card-font-size--preheading** - Font size of the preheading text. _(default: undefined)_
|
|
113
|
+
* - **--nys-card-font-size--heading** - Font size of the heading text. _(default: undefined)_
|
|
114
|
+
* - **--nys-card-font-size--subheading** - Font size of the subheading text. _(default: undefined)_
|
|
115
|
+
* - **--nys-card-font-size--description** - Font size of the description text. _(default: undefined)_
|
|
116
|
+
* - **--nys-card-line-height--preheading** - Line height of the preheading text. _(default: undefined)_
|
|
117
|
+
* - **--nys-card-line-height--heading** - Line height of the heading text. _(default: undefined)_
|
|
118
|
+
* - **--nys-card-line-height--subheading** - Line height of the subheading text. _(default: undefined)_
|
|
119
|
+
* - **--nys-card-line-height--description** - Line height of the description text. _(default: undefined)_
|
|
109
120
|
*/
|
|
110
121
|
export const NysCard: React.ForwardRefExoticComponent<NysCardProps>;
|
|
@@ -8,6 +8,7 @@ export const NysCard = forwardRef((props, forwardedRef) => {
|
|
|
8
8
|
inset,
|
|
9
9
|
elevated,
|
|
10
10
|
id,
|
|
11
|
+
size,
|
|
11
12
|
preheading,
|
|
12
13
|
heading,
|
|
13
14
|
headingLevel,
|
|
@@ -40,6 +41,7 @@ export const NysCard = forwardRef((props, forwardedRef) => {
|
|
|
40
41
|
},
|
|
41
42
|
...filteredProps,
|
|
42
43
|
id: props.id,
|
|
44
|
+
size: props.size,
|
|
43
45
|
preheading: props.preheading,
|
|
44
46
|
heading: props.heading,
|
|
45
47
|
headingLevel: props.headingLevel,
|
|
@@ -25,9 +25,6 @@ Enable only for internal, state-employee (back-office) applications that omit
|
|
|
25
25
|
keep `nys-unavheader` for trust and leave this off. */
|
|
26
26
|
nysLogo?: boolean;
|
|
27
27
|
|
|
28
|
-
/** Unique identifier. Auto-generated if not provided. */
|
|
29
|
-
id?: NysGlobalHeaderElement["id"];
|
|
30
|
-
|
|
31
28
|
/** Application name displayed prominently. */
|
|
32
29
|
appName?: NysGlobalHeaderElement["appName"];
|
|
33
30
|
|
|
@@ -4,7 +4,6 @@ import "../../dist/nysds.es.js";
|
|
|
4
4
|
export const NysGlobalHeader = forwardRef((props, forwardedRef) => {
|
|
5
5
|
const {
|
|
6
6
|
nysLogo,
|
|
7
|
-
id,
|
|
8
7
|
appName,
|
|
9
8
|
agencyName,
|
|
10
9
|
homepageLink,
|
|
@@ -16,7 +15,6 @@ export const NysGlobalHeader = forwardRef((props, forwardedRef) => {
|
|
|
16
15
|
"nys-globalheader",
|
|
17
16
|
{
|
|
18
17
|
...filteredProps,
|
|
19
|
-
id: props.id,
|
|
20
18
|
appName: props.appName,
|
|
21
19
|
agencyName: props.agencyName,
|
|
22
20
|
homepageLink: props.homepageLink,
|
|
@@ -21,6 +21,9 @@ export interface NysIconlistProps extends Pick<
|
|
|
21
21
|
/** Draws a divider between items. No divider is drawn after the last item. */
|
|
22
22
|
divider?: boolean;
|
|
23
23
|
|
|
24
|
+
/** Adjusts colors for dark backgrounds. */
|
|
25
|
+
inverted?: boolean;
|
|
26
|
+
|
|
24
27
|
/** Unique identifier. Auto-generated if not provided. */
|
|
25
28
|
id?: NysIconlistElement["id"];
|
|
26
29
|
|
|
@@ -47,7 +50,7 @@ export interface NysIconlistProps extends Pick<
|
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
/**
|
|
50
|
-
* A scannable list of icon + text items
|
|
53
|
+
* A scannable list of icon + text items.
|
|
51
54
|
* ---
|
|
52
55
|
*
|
|
53
56
|
*/
|
|
@@ -2,7 +2,7 @@ import React, { forwardRef } from "react";
|
|
|
2
2
|
import "../../dist/nysds.es.js";
|
|
3
3
|
|
|
4
4
|
export const NysIconlist = forwardRef((props, forwardedRef) => {
|
|
5
|
-
const { divider, id, ...filteredProps } = props;
|
|
5
|
+
const { divider, inverted, id, ...filteredProps } = props;
|
|
6
6
|
|
|
7
7
|
return React.createElement(
|
|
8
8
|
"nys-iconlist",
|
|
@@ -15,6 +15,7 @@ export const NysIconlist = forwardRef((props, forwardedRef) => {
|
|
|
15
15
|
part: props.part,
|
|
16
16
|
tabindex: props.tabIndex,
|
|
17
17
|
divider: props.divider ? true : undefined,
|
|
18
|
+
inverted: props.inverted ? true : undefined,
|
|
18
19
|
style: { ...props.style },
|
|
19
20
|
},
|
|
20
21
|
props.children,
|
|
@@ -22,6 +22,10 @@ export interface NysIconlistitemProps extends Pick<
|
|
|
22
22
|
set directly. */
|
|
23
23
|
divider?: boolean;
|
|
24
24
|
|
|
25
|
+
/** Adjusts colors for dark backgrounds. Set by the parent `<nys-iconlist inverted>`; not intended to be
|
|
26
|
+
set directly. */
|
|
27
|
+
inverted?: boolean;
|
|
28
|
+
|
|
25
29
|
/** Material Symbols icon name passed to `<nys-icon>`. */
|
|
26
30
|
icon?: NysIconlistitemElement["icon"];
|
|
27
31
|
|
|
@@ -2,7 +2,7 @@ import React, { forwardRef } from "react";
|
|
|
2
2
|
import "../../dist/nysds.es.js";
|
|
3
3
|
|
|
4
4
|
export const NysIconlistitem = forwardRef((props, forwardedRef) => {
|
|
5
|
-
const { divider, icon, ...filteredProps } = props;
|
|
5
|
+
const { divider, inverted, icon, ...filteredProps } = props;
|
|
6
6
|
|
|
7
7
|
return React.createElement(
|
|
8
8
|
"nys-iconlistitem",
|
|
@@ -15,6 +15,7 @@ export const NysIconlistitem = forwardRef((props, forwardedRef) => {
|
|
|
15
15
|
part: props.part,
|
|
16
16
|
tabindex: props.tabIndex,
|
|
17
17
|
divider: props.divider ? true : undefined,
|
|
18
|
+
inverted: props.inverted ? true : undefined,
|
|
18
19
|
style: { ...props.style },
|
|
19
20
|
},
|
|
20
21
|
props.children,
|
|
@@ -310,6 +310,8 @@ and host ARIA does not cross into the shadow root. */
|
|
|
310
310
|
export type NysCardProps = {
|
|
311
311
|
/** Unique identifier. Auto-generated if not provided. */
|
|
312
312
|
id?: string;
|
|
313
|
+
/** The size of the text content within a card (preheading, heading, subheading, and description). */
|
|
314
|
+
size?: "sm" | "md" | "lg";
|
|
313
315
|
/** Appears above the heading text. */
|
|
314
316
|
preheading?: string;
|
|
315
317
|
/** Heading text in the card. */
|
|
@@ -654,8 +656,6 @@ An explicit name replaces the reference to the visible heading. */
|
|
|
654
656
|
};
|
|
655
657
|
|
|
656
658
|
export type NysGlobalHeaderProps = {
|
|
657
|
-
/** Unique identifier. Auto-generated if not provided. */
|
|
658
|
-
id?: string;
|
|
659
659
|
/** Application name displayed prominently. */
|
|
660
660
|
appName?: string;
|
|
661
661
|
/** Agency name displayed below app name (or as main title if no appName). */
|
|
@@ -725,6 +725,8 @@ export type NysIconlistProps = {
|
|
|
725
725
|
id?: string;
|
|
726
726
|
/** Draws a divider between items. No divider is drawn after the last item. */
|
|
727
727
|
divider?: boolean;
|
|
728
|
+
/** Adjusts colors for dark backgrounds. */
|
|
729
|
+
inverted?: boolean;
|
|
728
730
|
};
|
|
729
731
|
|
|
730
732
|
export type NysIconlistitemProps = {
|
|
@@ -733,6 +735,9 @@ export type NysIconlistitemProps = {
|
|
|
733
735
|
/** Draws a rule below the item. Set by the parent `<nys-iconlist divider>`; not intended to be
|
|
734
736
|
set directly. */
|
|
735
737
|
divider?: boolean;
|
|
738
|
+
/** Adjusts colors for dark backgrounds. Set by the parent `<nys-iconlist inverted>`; not intended to be
|
|
739
|
+
set directly. */
|
|
740
|
+
inverted?: boolean;
|
|
736
741
|
};
|
|
737
742
|
|
|
738
743
|
export type NysLabelProps = {
|
|
@@ -1451,6 +1456,14 @@ export type CustomElements = {
|
|
|
1451
1456
|
*
|
|
1452
1457
|
* ### **CSS Properties:**
|
|
1453
1458
|
* - **--nys-card-height** - 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`). _(default: fit-content)_
|
|
1459
|
+
* - **--nys-card-font-size--preheading** - Font size of the preheading text. _(default: undefined)_
|
|
1460
|
+
* - **--nys-card-font-size--heading** - Font size of the heading text. _(default: undefined)_
|
|
1461
|
+
* - **--nys-card-font-size--subheading** - Font size of the subheading text. _(default: undefined)_
|
|
1462
|
+
* - **--nys-card-font-size--description** - Font size of the description text. _(default: undefined)_
|
|
1463
|
+
* - **--nys-card-line-height--preheading** - Line height of the preheading text. _(default: undefined)_
|
|
1464
|
+
* - **--nys-card-line-height--heading** - Line height of the heading text. _(default: undefined)_
|
|
1465
|
+
* - **--nys-card-line-height--subheading** - Line height of the subheading text. _(default: undefined)_
|
|
1466
|
+
* - **--nys-card-line-height--description** - Line height of the description text. _(default: undefined)_
|
|
1454
1467
|
*/
|
|
1455
1468
|
"nys-card": Partial<NysCardProps & BaseProps & BaseEvents>;
|
|
1456
1469
|
|
|
@@ -1624,7 +1637,7 @@ export type CustomElements = {
|
|
|
1624
1637
|
"nys-icon": Partial<NysIconProps & BaseProps & BaseEvents>;
|
|
1625
1638
|
|
|
1626
1639
|
/**
|
|
1627
|
-
* A scannable list of icon + text items
|
|
1640
|
+
* A scannable list of icon + text items.
|
|
1628
1641
|
* ---
|
|
1629
1642
|
*
|
|
1630
1643
|
*/
|