@nysds/components 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/.vscode/vscode.html-custom-data.json +71 -30
- package/dist/custom-elements.json +1524 -300
- package/dist/nysds.es.js +3237 -1540
- package/dist/nysds.es.js.map +1 -1
- package/dist/nysds.js +262 -158
- package/dist/nysds.js.map +1 -1
- package/dist/packages/nys-accordion/src/nys-accordion.d.ts +20 -3
- package/dist/packages/nys-accordion/src/nys-accordionitem.d.ts +20 -0
- package/dist/packages/nys-alert/src/nys-alert.d.ts +39 -1
- package/dist/packages/nys-avatar/src/nys-avatar.d.ts +25 -0
- package/dist/packages/nys-backtotop/src/nys-backtotop.d.ts +19 -0
- package/dist/packages/nys-badge/src/nys-badge.d.ts +20 -0
- package/dist/packages/nys-button/src/nys-button.d.ts +24 -0
- package/dist/packages/nys-checkbox/src/nys-checkbox.d.ts +33 -1
- package/dist/packages/nys-checkbox/src/nys-checkboxgroup.d.ts +29 -0
- package/dist/packages/nys-datepicker/src/index.d.ts +1 -0
- package/dist/packages/nys-datepicker/src/nys-datepicker.d.ts +116 -0
- package/dist/packages/nys-datepicker/src/nys-datepicker.figma.d.ts +1 -0
- package/dist/packages/nys-divider/src/nys-divider.d.ts +4 -0
- package/dist/packages/nys-errormessage/src/nys-errormessage.d.ts +9 -0
- package/dist/packages/nys-fileinput/src/nys-fileinput.d.ts +33 -0
- package/dist/packages/nys-fileinput/src/nys-fileitem.d.ts +4 -0
- package/dist/packages/nys-globalfooter/src/nys-globalfooter.d.ts +20 -0
- package/dist/packages/nys-globalheader/src/nys-global.logo.d.ts +2 -0
- package/dist/packages/nys-globalheader/src/nys-globalheader.d.ts +26 -5
- package/dist/packages/nys-icon/src/nys-icon.d.ts +11 -0
- package/dist/packages/nys-label/src/nys-label.d.ts +5 -0
- package/dist/packages/nys-modal/src/nys-modal.d.ts +24 -0
- package/dist/packages/nys-pagination/src/nys-pagination.d.ts +21 -0
- package/dist/packages/nys-radiobutton/src/nys-radiobutton.d.ts +27 -0
- package/dist/packages/nys-radiobutton/src/nys-radiogroup.d.ts +30 -1
- package/dist/packages/nys-select/src/nys-select.d.ts +34 -1
- package/dist/packages/nys-skipnav/src/nys-skipnav.d.ts +13 -0
- package/dist/packages/nys-table/src/index.d.ts +1 -0
- package/dist/packages/nys-table/src/nys-table.d.ts +38 -0
- package/dist/packages/nys-table/src/nys-table.figma.d.ts +1 -0
- package/dist/packages/nys-textarea/src/nys-textarea.d.ts +29 -1
- package/dist/packages/nys-textinput/src/nys-textinput.d.ts +30 -1
- package/dist/packages/nys-toggle/src/nys-toggle.d.ts +23 -0
- package/dist/packages/nys-tooltip/src/nys-tooltip.d.ts +28 -0
- package/dist/packages/nys-unavfooter/src/nys-unavfooter.d.ts +12 -0
- package/dist/packages/nys-unavheader/src/nys-unavheader.d.ts +20 -2
- package/dist/src/index.d.ts +2 -0
- package/package.json +12 -9
|
@@ -31,8 +31,14 @@
|
|
|
31
31
|
"declarations": [
|
|
32
32
|
{
|
|
33
33
|
"kind": "class",
|
|
34
|
-
"description": "
|
|
34
|
+
"description": "`<nys-accordion>` groups one or more `<nys-accordionitem>` elements.\n\nFeatures:\n- Optionally enforces single-expanded-item behavior via `singleSelect`.\n- Propagates shared visual `bordered` property to child items.\n- Generates a stable unique identifier if none is provided.",
|
|
35
35
|
"name": "NysAccordion",
|
|
36
|
+
"slots": [
|
|
37
|
+
{
|
|
38
|
+
"description": "Place one or more `<nys-accordionitem>` components here.",
|
|
39
|
+
"name": "default"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
36
42
|
"members": [
|
|
37
43
|
{
|
|
38
44
|
"kind": "field",
|
|
@@ -67,11 +73,12 @@
|
|
|
67
73
|
{
|
|
68
74
|
"kind": "method",
|
|
69
75
|
"name": "_generateUniqueId",
|
|
70
|
-
"privacy": "private"
|
|
76
|
+
"privacy": "private",
|
|
77
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
71
78
|
},
|
|
72
79
|
{
|
|
73
80
|
"kind": "method",
|
|
74
|
-
"name": "
|
|
81
|
+
"name": "_getAccordionItems",
|
|
75
82
|
"privacy": "private"
|
|
76
83
|
},
|
|
77
84
|
{
|
|
@@ -93,6 +100,12 @@
|
|
|
93
100
|
"privacy": "private"
|
|
94
101
|
}
|
|
95
102
|
],
|
|
103
|
+
"events": [
|
|
104
|
+
{
|
|
105
|
+
"description": "Fired when a child `<nys-accordionitem>` is toggled. Event detail includes `{ id: string, heading: string, expanded: boolean }`.",
|
|
106
|
+
"name": "nys-accordionitem-toggle"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
96
109
|
"attributes": [
|
|
97
110
|
{
|
|
98
111
|
"name": "id",
|
|
@@ -152,8 +165,14 @@
|
|
|
152
165
|
"declarations": [
|
|
153
166
|
{
|
|
154
167
|
"kind": "class",
|
|
155
|
-
"description": "",
|
|
168
|
+
"description": "`<nys-accordionitem>` represents a single collapsible item inside a `<nys-accordion>`.",
|
|
156
169
|
"name": "NysAccordionItem",
|
|
170
|
+
"slots": [
|
|
171
|
+
{
|
|
172
|
+
"description": "Default slot for the content inside the accordion panel.",
|
|
173
|
+
"name": ""
|
|
174
|
+
}
|
|
175
|
+
],
|
|
157
176
|
"members": [
|
|
158
177
|
{
|
|
159
178
|
"kind": "field",
|
|
@@ -197,7 +216,8 @@
|
|
|
197
216
|
{
|
|
198
217
|
"kind": "method",
|
|
199
218
|
"name": "_generateUniqueId",
|
|
200
|
-
"privacy": "private"
|
|
219
|
+
"privacy": "private",
|
|
220
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
201
221
|
},
|
|
202
222
|
{
|
|
203
223
|
"kind": "method",
|
|
@@ -241,7 +261,8 @@
|
|
|
241
261
|
"name": "nys-accordionitem-toggle",
|
|
242
262
|
"type": {
|
|
243
263
|
"text": "CustomEvent"
|
|
244
|
-
}
|
|
264
|
+
},
|
|
265
|
+
"description": "Fired when the item is expanded or collapsed."
|
|
245
266
|
}
|
|
246
267
|
],
|
|
247
268
|
"attributes": [
|
|
@@ -326,8 +347,14 @@
|
|
|
326
347
|
"declarations": [
|
|
327
348
|
{
|
|
328
349
|
"kind": "class",
|
|
329
|
-
"description": "",
|
|
350
|
+
"description": "`<nys-alert>` renders an informational, success, warning, or error alert.",
|
|
330
351
|
"name": "NysAlert",
|
|
352
|
+
"slots": [
|
|
353
|
+
{
|
|
354
|
+
"description": "Default slot for additional alert content.",
|
|
355
|
+
"name": ""
|
|
356
|
+
}
|
|
357
|
+
],
|
|
331
358
|
"members": [
|
|
332
359
|
{
|
|
333
360
|
"kind": "field",
|
|
@@ -456,6 +483,16 @@
|
|
|
456
483
|
"type": {
|
|
457
484
|
"text": "{\n role: \"alert\" | \"status\" | \"region\";\n ariaLabel: string;\n }"
|
|
458
485
|
},
|
|
486
|
+
"description": "Returns ARIA role and label based on alert type.\n- 'alert' => assertive live region (implied)\n- 'status' => polite live region\n- 'region' => generic, requires aria-label",
|
|
487
|
+
"readonly": true
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"kind": "field",
|
|
491
|
+
"name": "liveRegion",
|
|
492
|
+
"type": {
|
|
493
|
+
"text": "\"polite\" | undefined"
|
|
494
|
+
},
|
|
495
|
+
"description": "Returns live-region type for screen readers if applicable.\n- 'polite' for status role\n- undefined for alert (since it's implicitly assertive) or region",
|
|
459
496
|
"readonly": true
|
|
460
497
|
},
|
|
461
498
|
{
|
|
@@ -465,16 +502,18 @@
|
|
|
465
502
|
"text": "any"
|
|
466
503
|
},
|
|
467
504
|
"privacy": "private",
|
|
468
|
-
"default": "null"
|
|
505
|
+
"default": "null",
|
|
506
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
469
507
|
},
|
|
470
508
|
{
|
|
471
509
|
"kind": "method",
|
|
472
510
|
"name": "_generateUniqueId",
|
|
473
|
-
"privacy": "private"
|
|
511
|
+
"privacy": "private",
|
|
512
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
474
513
|
},
|
|
475
514
|
{
|
|
476
515
|
"kind": "method",
|
|
477
|
-
"name": "
|
|
516
|
+
"name": "_resolveIconName",
|
|
478
517
|
"privacy": "private"
|
|
479
518
|
},
|
|
480
519
|
{
|
|
@@ -490,7 +529,8 @@
|
|
|
490
529
|
{
|
|
491
530
|
"kind": "method",
|
|
492
531
|
"name": "_checkSlotContent",
|
|
493
|
-
"privacy": "private"
|
|
532
|
+
"privacy": "private",
|
|
533
|
+
"description": "Checks whether the default slot has content.\nUpdates `_slotHasContent` accordingly."
|
|
494
534
|
}
|
|
495
535
|
],
|
|
496
536
|
"events": [
|
|
@@ -498,7 +538,8 @@
|
|
|
498
538
|
"name": "nys-close",
|
|
499
539
|
"type": {
|
|
500
540
|
"text": "CustomEvent"
|
|
501
|
-
}
|
|
541
|
+
},
|
|
542
|
+
"description": "Fired when alert is dismissed (manual or timeout)."
|
|
502
543
|
}
|
|
503
544
|
],
|
|
504
545
|
"attributes": [
|
|
@@ -639,8 +680,14 @@
|
|
|
639
680
|
"declarations": [
|
|
640
681
|
{
|
|
641
682
|
"kind": "class",
|
|
642
|
-
"description": "",
|
|
683
|
+
"description": "`<nys-avatar>` displays a user avatar as an image, initials, or icon.",
|
|
643
684
|
"name": "NysAvatar",
|
|
685
|
+
"slots": [
|
|
686
|
+
{
|
|
687
|
+
"description": "Default slot for custom icon content. Fallback icon is used if slot is empty. Features: - Computes foreground color for sufficient contrast based on background. - Supports interactive avatars with button role. - Fallback to icon when image or initials are missing. - Lazy loading for performance optimization.",
|
|
688
|
+
"name": ""
|
|
689
|
+
}
|
|
690
|
+
],
|
|
644
691
|
"members": [
|
|
645
692
|
{
|
|
646
693
|
"kind": "field",
|
|
@@ -744,7 +791,13 @@
|
|
|
744
791
|
{
|
|
745
792
|
"kind": "method",
|
|
746
793
|
"name": "getContrastForeground",
|
|
747
|
-
"privacy": "private"
|
|
794
|
+
"privacy": "private",
|
|
795
|
+
"description": "Computes the appropriate foreground color (icon or initials)\nbased on the avatar's background color for sufficient contrast.",
|
|
796
|
+
"return": {
|
|
797
|
+
"type": {
|
|
798
|
+
"text": ""
|
|
799
|
+
}
|
|
800
|
+
}
|
|
748
801
|
}
|
|
749
802
|
],
|
|
750
803
|
"attributes": [
|
|
@@ -869,7 +922,7 @@
|
|
|
869
922
|
"declarations": [
|
|
870
923
|
{
|
|
871
924
|
"kind": "class",
|
|
872
|
-
"description": "",
|
|
925
|
+
"description": "`<nys-backtotop>` renders a button that scrolls the page to the top.\n\nFeatures:\n- Automatically appears after scrolling past 1.5 viewport heights\n if the page is at least 4 screens tall.\n- Adapts to mobile screens (renders as a circle button when narrow).\n- Can be explicitly shown with the `visible` attribute.",
|
|
873
926
|
"name": "NysBacktotop",
|
|
874
927
|
"members": [
|
|
875
928
|
{
|
|
@@ -920,7 +973,8 @@
|
|
|
920
973
|
{
|
|
921
974
|
"kind": "method",
|
|
922
975
|
"name": "_handleScroll",
|
|
923
|
-
"privacy": "private"
|
|
976
|
+
"privacy": "private",
|
|
977
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
924
978
|
},
|
|
925
979
|
{
|
|
926
980
|
"kind": "method",
|
|
@@ -933,6 +987,12 @@
|
|
|
933
987
|
"privacy": "private"
|
|
934
988
|
}
|
|
935
989
|
],
|
|
990
|
+
"events": [
|
|
991
|
+
{
|
|
992
|
+
"description": "Fired when the button is clicked (scrolls page to top).",
|
|
993
|
+
"name": "nys-click"
|
|
994
|
+
}
|
|
995
|
+
],
|
|
936
996
|
"attributes": [
|
|
937
997
|
{
|
|
938
998
|
"name": "position",
|
|
@@ -999,7 +1059,7 @@
|
|
|
999
1059
|
"declarations": [
|
|
1000
1060
|
{
|
|
1001
1061
|
"kind": "class",
|
|
1002
|
-
"description": "",
|
|
1062
|
+
"description": "`<nys-badge>` displays a badge with optional prefix/suffix icons and labels.\n\nFeatures:\n- Conveys an intent (`neutral`, `error`, `success`, `warning`) which affects default icons and styling.\n- Supports custom prefix and suffix icons.",
|
|
1003
1063
|
"name": "NysBadge",
|
|
1004
1064
|
"members": [
|
|
1005
1065
|
{
|
|
@@ -1103,7 +1163,8 @@
|
|
|
1103
1163
|
"privacy": "private",
|
|
1104
1164
|
"static": true,
|
|
1105
1165
|
"readonly": true,
|
|
1106
|
-
"default": "{ neutral: \"info\", error: \"emergency_home\", success: \"check_circle\", warning: \"warning\", }"
|
|
1166
|
+
"default": "{ neutral: \"info\", error: \"emergency_home\", success: \"check_circle\", warning: \"warning\", }",
|
|
1167
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
1107
1168
|
},
|
|
1108
1169
|
{
|
|
1109
1170
|
"kind": "method",
|
|
@@ -1111,7 +1172,7 @@
|
|
|
1111
1172
|
"privacy": "private",
|
|
1112
1173
|
"return": {
|
|
1113
1174
|
"type": {
|
|
1114
|
-
"text": "
|
|
1175
|
+
"text": ""
|
|
1115
1176
|
}
|
|
1116
1177
|
},
|
|
1117
1178
|
"parameters": [
|
|
@@ -1119,9 +1180,11 @@
|
|
|
1119
1180
|
"name": "icon",
|
|
1120
1181
|
"type": {
|
|
1121
1182
|
"text": "string | boolean"
|
|
1122
|
-
}
|
|
1183
|
+
},
|
|
1184
|
+
"description": "The icon property value (string or boolean)"
|
|
1123
1185
|
}
|
|
1124
|
-
]
|
|
1186
|
+
],
|
|
1187
|
+
"description": "Resolves which icon should be rendered."
|
|
1125
1188
|
}
|
|
1126
1189
|
],
|
|
1127
1190
|
"attributes": [
|
|
@@ -1236,7 +1299,7 @@
|
|
|
1236
1299
|
"declarations": [
|
|
1237
1300
|
{
|
|
1238
1301
|
"kind": "class",
|
|
1239
|
-
"description": "",
|
|
1302
|
+
"description": "`<nys-button>` is a versatile button component supporting:\n- Multiple variants (`filled`, `outline`, `ghost`, `text`)\n- Sizes (`sm`, `md`, `lg`) and full-width layout\n- Icons (prefix, suffix, or circle) and optional labels\n- Native `<button>` or link `<a>` behavior with form association\n- Keyboard and accessibility support (`aria-label`, `aria-controls`, `aria-description`)",
|
|
1240
1303
|
"name": "NysButton",
|
|
1241
1304
|
"members": [
|
|
1242
1305
|
{
|
|
@@ -1463,12 +1526,14 @@
|
|
|
1463
1526
|
"text": "boolean"
|
|
1464
1527
|
},
|
|
1465
1528
|
"static": true,
|
|
1466
|
-
"default": "true"
|
|
1529
|
+
"default": "true",
|
|
1530
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
1467
1531
|
},
|
|
1468
1532
|
{
|
|
1469
1533
|
"kind": "method",
|
|
1470
1534
|
"name": "_generateUniqueId",
|
|
1471
|
-
"privacy": "private"
|
|
1535
|
+
"privacy": "private",
|
|
1536
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
1472
1537
|
},
|
|
1473
1538
|
{
|
|
1474
1539
|
"kind": "method",
|
|
@@ -1478,7 +1543,8 @@
|
|
|
1478
1543
|
{
|
|
1479
1544
|
"kind": "method",
|
|
1480
1545
|
"name": "_handleFocus",
|
|
1481
|
-
"privacy": "private"
|
|
1546
|
+
"privacy": "private",
|
|
1547
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
1482
1548
|
},
|
|
1483
1549
|
{
|
|
1484
1550
|
"kind": "method",
|
|
@@ -1537,19 +1603,22 @@
|
|
|
1537
1603
|
"name": "nys-focus",
|
|
1538
1604
|
"type": {
|
|
1539
1605
|
"text": "Event"
|
|
1540
|
-
}
|
|
1606
|
+
},
|
|
1607
|
+
"description": "Fired when button receives focus"
|
|
1541
1608
|
},
|
|
1542
1609
|
{
|
|
1543
1610
|
"name": "nys-blur",
|
|
1544
1611
|
"type": {
|
|
1545
1612
|
"text": "Event"
|
|
1546
|
-
}
|
|
1613
|
+
},
|
|
1614
|
+
"description": "Fired when button loses focus"
|
|
1547
1615
|
},
|
|
1548
1616
|
{
|
|
1549
1617
|
"name": "nys-click",
|
|
1550
1618
|
"type": {
|
|
1551
1619
|
"text": "Event"
|
|
1552
|
-
}
|
|
1620
|
+
},
|
|
1621
|
+
"description": "Fired on button click"
|
|
1553
1622
|
}
|
|
1554
1623
|
],
|
|
1555
1624
|
"attributes": [
|
|
@@ -1770,8 +1839,14 @@
|
|
|
1770
1839
|
"declarations": [
|
|
1771
1840
|
{
|
|
1772
1841
|
"kind": "class",
|
|
1773
|
-
"description": "",
|
|
1842
|
+
"description": "`<nys-checkbox>` is an accessible, form-associated checkbox component.\nCan be used standalone or within a `<nys-checkboxgroup>`.\n\nFeatures:\n- Supports labels, descriptions, and tooltips\n- Displays error messages with `showError` and `errorMessage`\n- Keyboard interaction with spacebar toggle\n- Form integration via ElementInternals (`checked` value submitted)",
|
|
1774
1843
|
"name": "NysCheckbox",
|
|
1844
|
+
"slots": [
|
|
1845
|
+
{
|
|
1846
|
+
"description": "Slot to provide a custom description element",
|
|
1847
|
+
"name": "description"
|
|
1848
|
+
}
|
|
1849
|
+
],
|
|
1775
1850
|
"members": [
|
|
1776
1851
|
{
|
|
1777
1852
|
"kind": "field",
|
|
@@ -1952,16 +2027,14 @@
|
|
|
1952
2027
|
"text": "boolean"
|
|
1953
2028
|
},
|
|
1954
2029
|
"static": true,
|
|
1955
|
-
"default": "true"
|
|
1956
|
-
|
|
1957
|
-
{
|
|
1958
|
-
"kind": "method",
|
|
1959
|
-
"name": "formResetCallback"
|
|
2030
|
+
"default": "true",
|
|
2031
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
1960
2032
|
},
|
|
1961
2033
|
{
|
|
1962
2034
|
"kind": "method",
|
|
1963
2035
|
"name": "_setValue",
|
|
1964
|
-
"privacy": "private"
|
|
2036
|
+
"privacy": "private",
|
|
2037
|
+
"description": "Form Integration\n--------------------------------------------------------------------------"
|
|
1965
2038
|
},
|
|
1966
2039
|
{
|
|
1967
2040
|
"kind": "method",
|
|
@@ -1987,6 +2060,10 @@
|
|
|
1987
2060
|
"name": "_validate",
|
|
1988
2061
|
"privacy": "private"
|
|
1989
2062
|
},
|
|
2063
|
+
{
|
|
2064
|
+
"kind": "method",
|
|
2065
|
+
"name": "formResetCallback"
|
|
2066
|
+
},
|
|
1990
2067
|
{
|
|
1991
2068
|
"kind": "method",
|
|
1992
2069
|
"name": "checkValidity",
|
|
@@ -1994,7 +2071,8 @@
|
|
|
1994
2071
|
"type": {
|
|
1995
2072
|
"text": "boolean"
|
|
1996
2073
|
}
|
|
1997
|
-
}
|
|
2074
|
+
},
|
|
2075
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
1998
2076
|
},
|
|
1999
2077
|
{
|
|
2000
2078
|
"kind": "method",
|
|
@@ -2017,7 +2095,8 @@
|
|
|
2017
2095
|
{
|
|
2018
2096
|
"kind": "method",
|
|
2019
2097
|
"name": "_emitChangeEvent",
|
|
2020
|
-
"privacy": "private"
|
|
2098
|
+
"privacy": "private",
|
|
2099
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
2021
2100
|
},
|
|
2022
2101
|
{
|
|
2023
2102
|
"kind": "method",
|
|
@@ -2061,19 +2140,22 @@
|
|
|
2061
2140
|
"name": "nys-change",
|
|
2062
2141
|
"type": {
|
|
2063
2142
|
"text": "CustomEvent"
|
|
2064
|
-
}
|
|
2143
|
+
},
|
|
2144
|
+
"description": "Fired when checkbox value changes"
|
|
2065
2145
|
},
|
|
2066
2146
|
{
|
|
2067
2147
|
"name": "nys-focus",
|
|
2068
2148
|
"type": {
|
|
2069
2149
|
"text": "Event"
|
|
2070
|
-
}
|
|
2150
|
+
},
|
|
2151
|
+
"description": "Fired on focus"
|
|
2071
2152
|
},
|
|
2072
2153
|
{
|
|
2073
2154
|
"name": "nys-blur",
|
|
2074
2155
|
"type": {
|
|
2075
2156
|
"text": "Event"
|
|
2076
|
-
}
|
|
2157
|
+
},
|
|
2158
|
+
"description": "Fired on blur"
|
|
2077
2159
|
}
|
|
2078
2160
|
],
|
|
2079
2161
|
"attributes": [
|
|
@@ -2239,8 +2321,18 @@
|
|
|
2239
2321
|
"declarations": [
|
|
2240
2322
|
{
|
|
2241
2323
|
"kind": "class",
|
|
2242
|
-
"description": "",
|
|
2324
|
+
"description": "`<nys-checkboxgroup>` is a form-associated container for multiple `<nys-checkbox>` components.\nHandles grouping, validation, required constraints, form submission, and accessibility.\n\nFeatures:\n- Manages multiple checkboxes as a single form field\n- Supports required/optional flags and error messages\n- Propagates size, tile, and inverted styling to child checkboxes\n- Keyboard and screen reader accessible via fieldset/legend",
|
|
2243
2325
|
"name": "NysCheckboxgroup",
|
|
2326
|
+
"slots": [
|
|
2327
|
+
{
|
|
2328
|
+
"description": "Slot for child `<nys-checkbox>` elements",
|
|
2329
|
+
"name": "default"
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"description": "Slot for custom description content",
|
|
2333
|
+
"name": "description"
|
|
2334
|
+
}
|
|
2335
|
+
],
|
|
2244
2336
|
"members": [
|
|
2245
2337
|
{
|
|
2246
2338
|
"kind": "field",
|
|
@@ -2392,12 +2484,14 @@
|
|
|
2392
2484
|
"text": "boolean"
|
|
2393
2485
|
},
|
|
2394
2486
|
"static": true,
|
|
2395
|
-
"default": "true"
|
|
2487
|
+
"default": "true",
|
|
2488
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
2396
2489
|
},
|
|
2397
2490
|
{
|
|
2398
2491
|
"kind": "method",
|
|
2399
2492
|
"name": "_setGroupExist",
|
|
2400
|
-
"privacy": "private"
|
|
2493
|
+
"privacy": "private",
|
|
2494
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
2401
2495
|
},
|
|
2402
2496
|
{
|
|
2403
2497
|
"kind": "method",
|
|
@@ -2463,7 +2557,22 @@
|
|
|
2463
2557
|
"text": "Event"
|
|
2464
2558
|
}
|
|
2465
2559
|
}
|
|
2466
|
-
]
|
|
2560
|
+
],
|
|
2561
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
2562
|
+
}
|
|
2563
|
+
],
|
|
2564
|
+
"events": [
|
|
2565
|
+
{
|
|
2566
|
+
"description": "Fired when any child checkbox changes",
|
|
2567
|
+
"name": "nys-change"
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"description": "Fired when any child checkbox gains focus",
|
|
2571
|
+
"name": "nys-focus"
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
"description": "Fired when any child checkbox loses focus",
|
|
2575
|
+
"name": "nys-blur"
|
|
2467
2576
|
}
|
|
2468
2577
|
],
|
|
2469
2578
|
"attributes": [
|
|
@@ -2601,7 +2710,7 @@
|
|
|
2601
2710
|
},
|
|
2602
2711
|
{
|
|
2603
2712
|
"kind": "javascript-module",
|
|
2604
|
-
"path": "packages/nys-
|
|
2713
|
+
"path": "packages/nys-datepicker/src/index.ts",
|
|
2605
2714
|
"declarations": [],
|
|
2606
2715
|
"exports": [
|
|
2607
2716
|
{
|
|
@@ -2609,170 +2718,806 @@
|
|
|
2609
2718
|
"name": "*",
|
|
2610
2719
|
"declaration": {
|
|
2611
2720
|
"name": "*",
|
|
2612
|
-
"module": "packages/nys-
|
|
2721
|
+
"module": "packages/nys-datepicker/src/nys-datepicker"
|
|
2613
2722
|
}
|
|
2614
2723
|
}
|
|
2615
2724
|
]
|
|
2616
2725
|
},
|
|
2617
2726
|
{
|
|
2618
2727
|
"kind": "javascript-module",
|
|
2619
|
-
"path": "packages/nys-
|
|
2728
|
+
"path": "packages/nys-datepicker/src/nys-datepicker.ts",
|
|
2620
2729
|
"declarations": [
|
|
2621
2730
|
{
|
|
2622
2731
|
"kind": "class",
|
|
2623
|
-
"description": "",
|
|
2624
|
-
"name": "
|
|
2732
|
+
"description": "`<nys-datepicker>` is a form-associated, accessible date picker component.\nOptionally wraps a `<wc-datepicker>` for custom calendar UI.\n\nEvents:",
|
|
2733
|
+
"name": "NysDatepicker",
|
|
2625
2734
|
"members": [
|
|
2626
2735
|
{
|
|
2627
2736
|
"kind": "field",
|
|
2628
|
-
"name": "
|
|
2737
|
+
"name": "id",
|
|
2629
2738
|
"type": {
|
|
2630
|
-
"text": "
|
|
2739
|
+
"text": "string"
|
|
2631
2740
|
},
|
|
2632
|
-
"default": "
|
|
2633
|
-
"attribute": "
|
|
2741
|
+
"default": "\"\"",
|
|
2742
|
+
"attribute": "id",
|
|
2634
2743
|
"reflects": true
|
|
2635
|
-
}
|
|
2636
|
-
],
|
|
2637
|
-
"attributes": [
|
|
2744
|
+
},
|
|
2638
2745
|
{
|
|
2639
|
-
"
|
|
2746
|
+
"kind": "field",
|
|
2747
|
+
"name": "name",
|
|
2640
2748
|
"type": {
|
|
2641
|
-
"text": "
|
|
2749
|
+
"text": "string"
|
|
2642
2750
|
},
|
|
2643
|
-
"default": "
|
|
2644
|
-
"
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
"superclass": {
|
|
2648
|
-
"name": "LitElement",
|
|
2649
|
-
"package": "lit"
|
|
2650
|
-
},
|
|
2651
|
-
"tagName": "nys-divider",
|
|
2652
|
-
"customElement": true
|
|
2653
|
-
}
|
|
2654
|
-
],
|
|
2655
|
-
"exports": [
|
|
2656
|
-
{
|
|
2657
|
-
"kind": "custom-element-definition",
|
|
2658
|
-
"name": "nys-divider",
|
|
2659
|
-
"declaration": {
|
|
2660
|
-
"name": "NysDivider",
|
|
2661
|
-
"module": "packages/nys-divider/src/nys-divider.ts"
|
|
2662
|
-
}
|
|
2663
|
-
},
|
|
2664
|
-
{
|
|
2665
|
-
"kind": "js",
|
|
2666
|
-
"name": "NysDivider",
|
|
2667
|
-
"declaration": {
|
|
2668
|
-
"name": "NysDivider",
|
|
2669
|
-
"module": "packages/nys-divider/src/nys-divider.ts"
|
|
2670
|
-
}
|
|
2671
|
-
}
|
|
2672
|
-
]
|
|
2673
|
-
},
|
|
2674
|
-
{
|
|
2675
|
-
"kind": "javascript-module",
|
|
2676
|
-
"path": "packages/nys-errormessage/src/index.ts",
|
|
2677
|
-
"declarations": [],
|
|
2678
|
-
"exports": [
|
|
2679
|
-
{
|
|
2680
|
-
"kind": "js",
|
|
2681
|
-
"name": "*",
|
|
2682
|
-
"declaration": {
|
|
2683
|
-
"name": "*",
|
|
2684
|
-
"module": "packages/nys-errormessage/src/nys-errormessage"
|
|
2685
|
-
}
|
|
2686
|
-
}
|
|
2687
|
-
]
|
|
2688
|
-
},
|
|
2689
|
-
{
|
|
2690
|
-
"kind": "javascript-module",
|
|
2691
|
-
"path": "packages/nys-errormessage/src/nys-errormessage.ts",
|
|
2692
|
-
"declarations": [
|
|
2693
|
-
{
|
|
2694
|
-
"kind": "class",
|
|
2695
|
-
"description": "",
|
|
2696
|
-
"name": "NysErrorMessage",
|
|
2697
|
-
"members": [
|
|
2751
|
+
"default": "\"\"",
|
|
2752
|
+
"attribute": "name",
|
|
2753
|
+
"reflects": true
|
|
2754
|
+
},
|
|
2698
2755
|
{
|
|
2699
2756
|
"kind": "field",
|
|
2700
|
-
"name": "
|
|
2757
|
+
"name": "width",
|
|
2758
|
+
"type": {
|
|
2759
|
+
"text": "\"md\" | \"lg\" | \"full\""
|
|
2760
|
+
},
|
|
2761
|
+
"default": "\"md\"",
|
|
2762
|
+
"attribute": "width",
|
|
2763
|
+
"reflects": true
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
"kind": "field",
|
|
2767
|
+
"name": "hideTodayButton",
|
|
2701
2768
|
"type": {
|
|
2702
2769
|
"text": "boolean"
|
|
2703
2770
|
},
|
|
2704
2771
|
"default": "false",
|
|
2705
|
-
"attribute": "
|
|
2772
|
+
"attribute": "hideTodayButton"
|
|
2706
2773
|
},
|
|
2707
2774
|
{
|
|
2708
2775
|
"kind": "field",
|
|
2709
|
-
"name": "
|
|
2776
|
+
"name": "hideClearButton",
|
|
2710
2777
|
"type": {
|
|
2711
|
-
"text": "
|
|
2778
|
+
"text": "boolean"
|
|
2712
2779
|
},
|
|
2713
|
-
"default": "
|
|
2714
|
-
"attribute": "
|
|
2780
|
+
"default": "false",
|
|
2781
|
+
"attribute": "hideClearButton"
|
|
2715
2782
|
},
|
|
2716
2783
|
{
|
|
2717
2784
|
"kind": "field",
|
|
2718
|
-
"name": "
|
|
2785
|
+
"name": "disabled",
|
|
2719
2786
|
"type": {
|
|
2720
2787
|
"text": "boolean"
|
|
2721
2788
|
},
|
|
2722
2789
|
"default": "false",
|
|
2723
|
-
"attribute": "
|
|
2790
|
+
"attribute": "disabled",
|
|
2724
2791
|
"reflects": true
|
|
2725
2792
|
},
|
|
2726
2793
|
{
|
|
2727
2794
|
"kind": "field",
|
|
2728
|
-
"name": "
|
|
2795
|
+
"name": "required",
|
|
2729
2796
|
"type": {
|
|
2730
|
-
"text": "
|
|
2797
|
+
"text": "boolean"
|
|
2731
2798
|
},
|
|
2732
|
-
"
|
|
2799
|
+
"default": "false",
|
|
2800
|
+
"attribute": "required",
|
|
2801
|
+
"reflects": true
|
|
2733
2802
|
},
|
|
2734
2803
|
{
|
|
2735
2804
|
"kind": "field",
|
|
2736
|
-
"name": "
|
|
2805
|
+
"name": "optional",
|
|
2737
2806
|
"type": {
|
|
2738
2807
|
"text": "boolean"
|
|
2739
2808
|
},
|
|
2740
|
-
"
|
|
2741
|
-
"
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
"attributes": [
|
|
2809
|
+
"default": "false",
|
|
2810
|
+
"attribute": "optional",
|
|
2811
|
+
"reflects": true
|
|
2812
|
+
},
|
|
2745
2813
|
{
|
|
2814
|
+
"kind": "field",
|
|
2746
2815
|
"name": "showError",
|
|
2747
2816
|
"type": {
|
|
2748
2817
|
"text": "boolean"
|
|
2749
2818
|
},
|
|
2750
2819
|
"default": "false",
|
|
2751
|
-
"
|
|
2820
|
+
"attribute": "showError",
|
|
2821
|
+
"reflects": true
|
|
2752
2822
|
},
|
|
2753
2823
|
{
|
|
2824
|
+
"kind": "field",
|
|
2754
2825
|
"name": "errorMessage",
|
|
2755
2826
|
"type": {
|
|
2756
2827
|
"text": "string"
|
|
2757
2828
|
},
|
|
2758
2829
|
"default": "\"\"",
|
|
2759
|
-
"
|
|
2830
|
+
"attribute": "errorMessage"
|
|
2760
2831
|
},
|
|
2761
2832
|
{
|
|
2762
|
-
"
|
|
2833
|
+
"kind": "field",
|
|
2834
|
+
"name": "form",
|
|
2763
2835
|
"type": {
|
|
2764
|
-
"text": "
|
|
2836
|
+
"text": "string | null"
|
|
2765
2837
|
},
|
|
2766
|
-
"default": "
|
|
2767
|
-
"
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2838
|
+
"default": "null",
|
|
2839
|
+
"attribute": "form",
|
|
2840
|
+
"reflects": true
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
"kind": "field",
|
|
2844
|
+
"name": "tooltip",
|
|
2845
|
+
"type": {
|
|
2846
|
+
"text": "string"
|
|
2847
|
+
},
|
|
2848
|
+
"default": "\"\"",
|
|
2849
|
+
"attribute": "tooltip"
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
"kind": "field",
|
|
2853
|
+
"name": "type",
|
|
2854
|
+
"type": {
|
|
2855
|
+
"text": "string"
|
|
2856
|
+
},
|
|
2857
|
+
"default": "\"date\"",
|
|
2858
|
+
"attribute": "type"
|
|
2859
|
+
},
|
|
2860
|
+
{
|
|
2861
|
+
"kind": "field",
|
|
2862
|
+
"name": "label",
|
|
2863
|
+
"type": {
|
|
2864
|
+
"text": "string"
|
|
2865
|
+
},
|
|
2866
|
+
"default": "\"\"",
|
|
2867
|
+
"attribute": "label"
|
|
2868
|
+
},
|
|
2869
|
+
{
|
|
2870
|
+
"kind": "field",
|
|
2871
|
+
"name": "description",
|
|
2872
|
+
"type": {
|
|
2873
|
+
"text": "string"
|
|
2874
|
+
},
|
|
2875
|
+
"default": "\"\"",
|
|
2876
|
+
"attribute": "description"
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"kind": "field",
|
|
2880
|
+
"name": "startDate",
|
|
2881
|
+
"type": {
|
|
2882
|
+
"text": "string"
|
|
2883
|
+
},
|
|
2884
|
+
"default": "\"\"",
|
|
2885
|
+
"attribute": "startDate"
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"kind": "field",
|
|
2889
|
+
"name": "inverted",
|
|
2890
|
+
"type": {
|
|
2891
|
+
"text": "boolean"
|
|
2892
|
+
},
|
|
2893
|
+
"default": "false",
|
|
2894
|
+
"attribute": "inverted",
|
|
2895
|
+
"reflects": true
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "field",
|
|
2899
|
+
"name": "value",
|
|
2900
|
+
"type": {
|
|
2901
|
+
"text": "string | Date | undefined"
|
|
2902
|
+
},
|
|
2903
|
+
"default": "undefined",
|
|
2904
|
+
"attribute": "value"
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"kind": "field",
|
|
2908
|
+
"name": "_hasUserInteracted",
|
|
2909
|
+
"type": {
|
|
2910
|
+
"text": "boolean"
|
|
2911
|
+
},
|
|
2912
|
+
"privacy": "private",
|
|
2913
|
+
"default": "false"
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"kind": "field",
|
|
2917
|
+
"name": "_internals",
|
|
2918
|
+
"type": {
|
|
2919
|
+
"text": "ElementInternals"
|
|
2920
|
+
},
|
|
2921
|
+
"privacy": "private"
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
"kind": "field",
|
|
2925
|
+
"name": "formAssociated",
|
|
2926
|
+
"type": {
|
|
2927
|
+
"text": "boolean"
|
|
2928
|
+
},
|
|
2929
|
+
"static": true,
|
|
2930
|
+
"default": "true",
|
|
2931
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
"kind": "method",
|
|
2935
|
+
"name": "_whenWcDatepickerReady",
|
|
2936
|
+
"privacy": "private",
|
|
2937
|
+
"return": {
|
|
2938
|
+
"type": {
|
|
2939
|
+
"text": "Promise<WcDatepicker | null>"
|
|
2940
|
+
}
|
|
2941
|
+
}
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"kind": "method",
|
|
2945
|
+
"name": "_setValue",
|
|
2946
|
+
"privacy": "private",
|
|
2947
|
+
"parameters": [
|
|
2948
|
+
{
|
|
2949
|
+
"name": "value",
|
|
2950
|
+
"type": {
|
|
2951
|
+
"text": "Date | string | undefined"
|
|
2952
|
+
}
|
|
2953
|
+
}
|
|
2954
|
+
],
|
|
2955
|
+
"description": "Form helper methods:\n- _setValue: set internal value and trigger validation\n- _manageRequire: handle required state\n- _validate: actively validate and show errors\n- checkValidity: passive boolean check without UI\n- _setValidityMessage: sync validation message with UI and internals\n- _handleInvalid: handle form invalid event and focus first invalid field"
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
"kind": "method",
|
|
2959
|
+
"name": "_manageRequire",
|
|
2960
|
+
"privacy": "private"
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"kind": "method",
|
|
2964
|
+
"name": "_validate",
|
|
2965
|
+
"privacy": "private",
|
|
2966
|
+
"description": "Actively validates the component:\n- Updates internal validity state\n- Updates UI (e.g. showError)\n- Called on blur/change or form submission"
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"kind": "method",
|
|
2970
|
+
"name": "checkValidity",
|
|
2971
|
+
"return": {
|
|
2972
|
+
"type": {
|
|
2973
|
+
"text": "boolean"
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
"description": "Passive check of validity:\n- Returns true/false\n- Does NOT update UI or show errors\n- Used in form submission checks"
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"kind": "method",
|
|
2980
|
+
"name": "_setValidityMessage",
|
|
2981
|
+
"privacy": "private",
|
|
2982
|
+
"parameters": [
|
|
2983
|
+
{
|
|
2984
|
+
"name": "message",
|
|
2985
|
+
"default": "\"\"",
|
|
2986
|
+
"type": {
|
|
2987
|
+
"text": "string"
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
]
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "method",
|
|
2994
|
+
"name": "_handleInvalid",
|
|
2995
|
+
"privacy": "private",
|
|
2996
|
+
"parameters": [
|
|
2997
|
+
{
|
|
2998
|
+
"name": "event",
|
|
2999
|
+
"type": {
|
|
3000
|
+
"text": "Event"
|
|
3001
|
+
}
|
|
3002
|
+
}
|
|
3003
|
+
]
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"kind": "method",
|
|
3007
|
+
"name": "_replaceButtonSVG",
|
|
3008
|
+
"privacy": "private",
|
|
3009
|
+
"description": "Replaces the default wc-datepicker month navigation buttons\nwith NYS icon components for previous and next month."
|
|
3010
|
+
},
|
|
3011
|
+
{
|
|
3012
|
+
"kind": "method",
|
|
3013
|
+
"name": "_addMonthDropdownIcon",
|
|
3014
|
+
"privacy": "private"
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"kind": "method",
|
|
3018
|
+
"name": "_parseLocalDate",
|
|
3019
|
+
"privacy": "private",
|
|
3020
|
+
"parameters": [
|
|
3021
|
+
{
|
|
3022
|
+
"name": "dateString",
|
|
3023
|
+
"type": {
|
|
3024
|
+
"text": "string"
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
3027
|
+
]
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"kind": "method",
|
|
3031
|
+
"name": "_handleInputKeydown",
|
|
3032
|
+
"privacy": "private",
|
|
3033
|
+
"parameters": [
|
|
3034
|
+
{
|
|
3035
|
+
"name": "event",
|
|
3036
|
+
"type": {
|
|
3037
|
+
"text": "KeyboardEvent"
|
|
3038
|
+
}
|
|
3039
|
+
}
|
|
3040
|
+
],
|
|
3041
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
"kind": "method",
|
|
3045
|
+
"name": "_handleBlur",
|
|
3046
|
+
"privacy": "private",
|
|
3047
|
+
"parameters": [
|
|
3048
|
+
{
|
|
3049
|
+
"name": "event",
|
|
3050
|
+
"type": {
|
|
3051
|
+
"text": "FocusEvent"
|
|
3052
|
+
}
|
|
3053
|
+
}
|
|
3054
|
+
]
|
|
3055
|
+
},
|
|
3056
|
+
{
|
|
3057
|
+
"kind": "method",
|
|
3058
|
+
"name": "_onDocumentClick",
|
|
3059
|
+
"privacy": "private"
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"kind": "method",
|
|
3063
|
+
"name": "_toggleDatepicker",
|
|
3064
|
+
"privacy": "private"
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
"kind": "method",
|
|
3068
|
+
"name": "_openDatepicker",
|
|
3069
|
+
"privacy": "private"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"kind": "method",
|
|
3073
|
+
"name": "_handleDateChange",
|
|
3074
|
+
"privacy": "private"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "method",
|
|
3078
|
+
"name": "_handleTodayClick",
|
|
3079
|
+
"privacy": "private"
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"kind": "method",
|
|
3083
|
+
"name": "_handleClearClick",
|
|
3084
|
+
"privacy": "private"
|
|
3085
|
+
},
|
|
3086
|
+
{
|
|
3087
|
+
"kind": "method",
|
|
3088
|
+
"name": "_handleInputChange",
|
|
3089
|
+
"privacy": "private",
|
|
3090
|
+
"parameters": [
|
|
3091
|
+
{
|
|
3092
|
+
"name": "event",
|
|
3093
|
+
"type": {
|
|
3094
|
+
"text": "Event"
|
|
3095
|
+
}
|
|
3096
|
+
}
|
|
3097
|
+
]
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
"kind": "method",
|
|
3101
|
+
"name": "_getValidDateFromInput",
|
|
3102
|
+
"privacy": "private",
|
|
3103
|
+
"return": {
|
|
3104
|
+
"type": {
|
|
3105
|
+
"text": "Date | null"
|
|
3106
|
+
}
|
|
3107
|
+
},
|
|
3108
|
+
"parameters": [
|
|
3109
|
+
{
|
|
3110
|
+
"name": "value",
|
|
3111
|
+
"type": {
|
|
3112
|
+
"text": "string"
|
|
3113
|
+
}
|
|
3114
|
+
}
|
|
3115
|
+
]
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
"kind": "method",
|
|
3119
|
+
"name": "_isSafari",
|
|
3120
|
+
"privacy": "private",
|
|
3121
|
+
"return": {
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "boolean"
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"kind": "method",
|
|
3129
|
+
"name": "_isMobile",
|
|
3130
|
+
"privacy": "private",
|
|
3131
|
+
"return": {
|
|
3132
|
+
"type": {
|
|
3133
|
+
"text": ""
|
|
3134
|
+
}
|
|
3135
|
+
},
|
|
3136
|
+
"description": "Determines whether the current device uses a coarse pointer.\nA coarse pointer usually means touch-based input where precise pointing\nis not expected, such as fingers on phones and most tablets.\n\nNote: This is not a guarantee of a mobile device.\nSome non-mobile devices may also report a coarse pointer,\nand some mobile devices may not."
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
"kind": "method",
|
|
3140
|
+
"name": "_shouldUseNativeDatepicker",
|
|
3141
|
+
"privacy": "private",
|
|
3142
|
+
"return": {
|
|
3143
|
+
"type": {
|
|
3144
|
+
"text": "boolean"
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
],
|
|
3149
|
+
"events": [
|
|
3150
|
+
{
|
|
3151
|
+
"name": "nys-blur",
|
|
3152
|
+
"type": {
|
|
3153
|
+
"text": "Event"
|
|
3154
|
+
},
|
|
3155
|
+
"description": "Dispatched when input or calendar loses focus"
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"name": "nys-input",
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "CustomEvent"
|
|
3161
|
+
},
|
|
3162
|
+
"description": "Dispatched when user selects or types a valid date Notes: - Uses native date input on Safari or mobile devices (custom calendar removed for these scenarios)"
|
|
3163
|
+
}
|
|
3164
|
+
],
|
|
3165
|
+
"attributes": [
|
|
3166
|
+
{
|
|
3167
|
+
"name": "id",
|
|
3168
|
+
"type": {
|
|
3169
|
+
"text": "string"
|
|
3170
|
+
},
|
|
3171
|
+
"default": "\"\"",
|
|
3172
|
+
"fieldName": "id"
|
|
3173
|
+
},
|
|
3174
|
+
{
|
|
3175
|
+
"name": "name",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "string"
|
|
3178
|
+
},
|
|
3179
|
+
"default": "\"\"",
|
|
3180
|
+
"fieldName": "name"
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"name": "width",
|
|
3184
|
+
"type": {
|
|
3185
|
+
"text": "\"md\" | \"lg\" | \"full\""
|
|
3186
|
+
},
|
|
3187
|
+
"default": "\"md\"",
|
|
3188
|
+
"fieldName": "width"
|
|
3189
|
+
},
|
|
3190
|
+
{
|
|
3191
|
+
"name": "hideTodayButton",
|
|
3192
|
+
"type": {
|
|
3193
|
+
"text": "boolean"
|
|
3194
|
+
},
|
|
3195
|
+
"default": "false",
|
|
3196
|
+
"fieldName": "hideTodayButton"
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
"name": "hideClearButton",
|
|
3200
|
+
"type": {
|
|
3201
|
+
"text": "boolean"
|
|
3202
|
+
},
|
|
3203
|
+
"default": "false",
|
|
3204
|
+
"fieldName": "hideClearButton"
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"name": "disabled",
|
|
3208
|
+
"type": {
|
|
3209
|
+
"text": "boolean"
|
|
3210
|
+
},
|
|
3211
|
+
"default": "false",
|
|
3212
|
+
"fieldName": "disabled"
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
"name": "required",
|
|
3216
|
+
"type": {
|
|
3217
|
+
"text": "boolean"
|
|
3218
|
+
},
|
|
3219
|
+
"default": "false",
|
|
3220
|
+
"fieldName": "required"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"name": "optional",
|
|
3224
|
+
"type": {
|
|
3225
|
+
"text": "boolean"
|
|
3226
|
+
},
|
|
3227
|
+
"default": "false",
|
|
3228
|
+
"fieldName": "optional"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"name": "showError",
|
|
3232
|
+
"type": {
|
|
3233
|
+
"text": "boolean"
|
|
3234
|
+
},
|
|
3235
|
+
"default": "false",
|
|
3236
|
+
"fieldName": "showError"
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
"name": "errorMessage",
|
|
3240
|
+
"type": {
|
|
3241
|
+
"text": "string"
|
|
3242
|
+
},
|
|
3243
|
+
"default": "\"\"",
|
|
3244
|
+
"fieldName": "errorMessage"
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
"name": "form",
|
|
3248
|
+
"type": {
|
|
3249
|
+
"text": "string | null"
|
|
3250
|
+
},
|
|
3251
|
+
"default": "null",
|
|
3252
|
+
"fieldName": "form"
|
|
3253
|
+
},
|
|
3254
|
+
{
|
|
3255
|
+
"name": "tooltip",
|
|
3256
|
+
"type": {
|
|
3257
|
+
"text": "string"
|
|
3258
|
+
},
|
|
3259
|
+
"default": "\"\"",
|
|
3260
|
+
"fieldName": "tooltip"
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
"name": "type",
|
|
3264
|
+
"type": {
|
|
3265
|
+
"text": "string"
|
|
3266
|
+
},
|
|
3267
|
+
"default": "\"date\"",
|
|
3268
|
+
"fieldName": "type"
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"name": "label",
|
|
3272
|
+
"type": {
|
|
3273
|
+
"text": "string"
|
|
3274
|
+
},
|
|
3275
|
+
"default": "\"\"",
|
|
3276
|
+
"fieldName": "label"
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"name": "description",
|
|
3280
|
+
"type": {
|
|
3281
|
+
"text": "string"
|
|
3282
|
+
},
|
|
3283
|
+
"default": "\"\"",
|
|
3284
|
+
"fieldName": "description"
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"name": "startDate",
|
|
3288
|
+
"type": {
|
|
3289
|
+
"text": "string"
|
|
3290
|
+
},
|
|
3291
|
+
"default": "\"\"",
|
|
3292
|
+
"fieldName": "startDate"
|
|
3293
|
+
},
|
|
3294
|
+
{
|
|
3295
|
+
"name": "inverted",
|
|
3296
|
+
"type": {
|
|
3297
|
+
"text": "boolean"
|
|
3298
|
+
},
|
|
3299
|
+
"default": "false",
|
|
3300
|
+
"fieldName": "inverted"
|
|
3301
|
+
},
|
|
3302
|
+
{
|
|
3303
|
+
"name": "value",
|
|
3304
|
+
"type": {
|
|
3305
|
+
"text": "string | Date | undefined"
|
|
3306
|
+
},
|
|
3307
|
+
"default": "undefined",
|
|
3308
|
+
"fieldName": "value"
|
|
3309
|
+
}
|
|
3310
|
+
],
|
|
3311
|
+
"superclass": {
|
|
3312
|
+
"name": "LitElement",
|
|
3313
|
+
"package": "lit"
|
|
3314
|
+
},
|
|
3315
|
+
"tagName": "nys-datepicker",
|
|
3316
|
+
"customElement": true
|
|
3317
|
+
}
|
|
3318
|
+
],
|
|
3319
|
+
"exports": [
|
|
3320
|
+
{
|
|
3321
|
+
"kind": "custom-element-definition",
|
|
3322
|
+
"name": "nys-datepicker",
|
|
3323
|
+
"declaration": {
|
|
3324
|
+
"name": "NysDatepicker",
|
|
3325
|
+
"module": "packages/nys-datepicker/src/nys-datepicker.ts"
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
"kind": "js",
|
|
3330
|
+
"name": "NysDatepicker",
|
|
3331
|
+
"declaration": {
|
|
3332
|
+
"name": "NysDatepicker",
|
|
3333
|
+
"module": "packages/nys-datepicker/src/nys-datepicker.ts"
|
|
3334
|
+
}
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
"kind": "custom-element-definition",
|
|
3338
|
+
"name": "wc-datepicker",
|
|
3339
|
+
"declaration": {
|
|
3340
|
+
"name": "WcDatepicker",
|
|
3341
|
+
"package": "wc-datepicker/dist/components/wc-datepicker"
|
|
3342
|
+
}
|
|
3343
|
+
}
|
|
3344
|
+
]
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"kind": "javascript-module",
|
|
3348
|
+
"path": "packages/nys-divider/src/index.ts",
|
|
3349
|
+
"declarations": [],
|
|
3350
|
+
"exports": [
|
|
3351
|
+
{
|
|
3352
|
+
"kind": "js",
|
|
3353
|
+
"name": "*",
|
|
3354
|
+
"declaration": {
|
|
3355
|
+
"name": "*",
|
|
3356
|
+
"module": "packages/nys-divider/src/nys-divider"
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
]
|
|
3360
|
+
},
|
|
3361
|
+
{
|
|
3362
|
+
"kind": "javascript-module",
|
|
3363
|
+
"path": "packages/nys-divider/src/nys-divider.ts",
|
|
3364
|
+
"declarations": [
|
|
3365
|
+
{
|
|
3366
|
+
"kind": "class",
|
|
3367
|
+
"description": "`<nys-divider>` renders a horizontal rule `<hr>` element with optional styling.\nCan be inverted for dark backgrounds.",
|
|
3368
|
+
"name": "NysDivider",
|
|
3369
|
+
"members": [
|
|
3370
|
+
{
|
|
3371
|
+
"kind": "field",
|
|
3372
|
+
"name": "inverted",
|
|
3373
|
+
"type": {
|
|
3374
|
+
"text": "boolean"
|
|
3375
|
+
},
|
|
3376
|
+
"default": "false",
|
|
3377
|
+
"attribute": "inverted",
|
|
3378
|
+
"reflects": true
|
|
3379
|
+
}
|
|
3380
|
+
],
|
|
3381
|
+
"attributes": [
|
|
3382
|
+
{
|
|
3383
|
+
"name": "inverted",
|
|
3384
|
+
"type": {
|
|
3385
|
+
"text": "boolean"
|
|
3386
|
+
},
|
|
3387
|
+
"default": "false",
|
|
3388
|
+
"fieldName": "inverted"
|
|
3389
|
+
}
|
|
3390
|
+
],
|
|
3391
|
+
"superclass": {
|
|
3392
|
+
"name": "LitElement",
|
|
3393
|
+
"package": "lit"
|
|
3394
|
+
},
|
|
3395
|
+
"tagName": "nys-divider",
|
|
3396
|
+
"customElement": true
|
|
3397
|
+
}
|
|
3398
|
+
],
|
|
3399
|
+
"exports": [
|
|
3400
|
+
{
|
|
3401
|
+
"kind": "custom-element-definition",
|
|
3402
|
+
"name": "nys-divider",
|
|
3403
|
+
"declaration": {
|
|
3404
|
+
"name": "NysDivider",
|
|
3405
|
+
"module": "packages/nys-divider/src/nys-divider.ts"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "js",
|
|
3410
|
+
"name": "NysDivider",
|
|
3411
|
+
"declaration": {
|
|
3412
|
+
"name": "NysDivider",
|
|
3413
|
+
"module": "packages/nys-divider/src/nys-divider.ts"
|
|
3414
|
+
}
|
|
3415
|
+
}
|
|
3416
|
+
]
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"kind": "javascript-module",
|
|
3420
|
+
"path": "packages/nys-errormessage/src/index.ts",
|
|
3421
|
+
"declarations": [],
|
|
3422
|
+
"exports": [
|
|
3423
|
+
{
|
|
3424
|
+
"kind": "js",
|
|
3425
|
+
"name": "*",
|
|
3426
|
+
"declaration": {
|
|
3427
|
+
"name": "*",
|
|
3428
|
+
"module": "packages/nys-errormessage/src/nys-errormessage"
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
]
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"kind": "javascript-module",
|
|
3435
|
+
"path": "packages/nys-errormessage/src/nys-errormessage.ts",
|
|
3436
|
+
"declarations": [
|
|
3437
|
+
{
|
|
3438
|
+
"kind": "class",
|
|
3439
|
+
"description": "THIS IS A PRIVATE COMPONENT!\n`<nys-errormessage>` displays an error message for form elements.\nCan optionally show a divider and supports native form validation messages.",
|
|
3440
|
+
"name": "NysErrorMessage",
|
|
3441
|
+
"members": [
|
|
3442
|
+
{
|
|
3443
|
+
"kind": "field",
|
|
3444
|
+
"name": "showError",
|
|
3445
|
+
"type": {
|
|
3446
|
+
"text": "boolean"
|
|
3447
|
+
},
|
|
3448
|
+
"default": "false",
|
|
3449
|
+
"attribute": "showError"
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
"kind": "field",
|
|
3453
|
+
"name": "errorMessage",
|
|
3454
|
+
"type": {
|
|
3455
|
+
"text": "string"
|
|
3456
|
+
},
|
|
3457
|
+
"default": "\"\"",
|
|
3458
|
+
"attribute": "errorMessage"
|
|
3459
|
+
},
|
|
3460
|
+
{
|
|
3461
|
+
"kind": "field",
|
|
3462
|
+
"name": "showDivider",
|
|
3463
|
+
"type": {
|
|
3464
|
+
"text": "boolean"
|
|
3465
|
+
},
|
|
3466
|
+
"default": "false",
|
|
3467
|
+
"attribute": "showDivider",
|
|
3468
|
+
"reflects": true
|
|
3469
|
+
},
|
|
3470
|
+
{
|
|
3471
|
+
"kind": "field",
|
|
3472
|
+
"name": "_internals",
|
|
3473
|
+
"type": {
|
|
3474
|
+
"text": "ElementInternals"
|
|
3475
|
+
},
|
|
3476
|
+
"privacy": "private"
|
|
3477
|
+
},
|
|
3478
|
+
{
|
|
3479
|
+
"kind": "field",
|
|
3480
|
+
"name": "formAssociated",
|
|
3481
|
+
"type": {
|
|
3482
|
+
"text": "boolean"
|
|
3483
|
+
},
|
|
3484
|
+
"static": true,
|
|
3485
|
+
"default": "true",
|
|
3486
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
3487
|
+
}
|
|
3488
|
+
],
|
|
3489
|
+
"attributes": [
|
|
3490
|
+
{
|
|
3491
|
+
"name": "showError",
|
|
3492
|
+
"type": {
|
|
3493
|
+
"text": "boolean"
|
|
3494
|
+
},
|
|
3495
|
+
"default": "false",
|
|
3496
|
+
"fieldName": "showError"
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
"name": "errorMessage",
|
|
3500
|
+
"type": {
|
|
3501
|
+
"text": "string"
|
|
3502
|
+
},
|
|
3503
|
+
"default": "\"\"",
|
|
3504
|
+
"fieldName": "errorMessage"
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
"name": "showDivider",
|
|
3508
|
+
"type": {
|
|
3509
|
+
"text": "boolean"
|
|
3510
|
+
},
|
|
3511
|
+
"default": "false",
|
|
3512
|
+
"fieldName": "showDivider"
|
|
3513
|
+
}
|
|
3514
|
+
],
|
|
3515
|
+
"superclass": {
|
|
3516
|
+
"name": "LitElement",
|
|
3517
|
+
"package": "lit"
|
|
3518
|
+
},
|
|
3519
|
+
"tagName": "nys-errormessage",
|
|
3520
|
+
"customElement": true
|
|
2776
3521
|
}
|
|
2777
3522
|
],
|
|
2778
3523
|
"exports": [
|
|
@@ -2815,8 +3560,14 @@
|
|
|
2815
3560
|
"declarations": [
|
|
2816
3561
|
{
|
|
2817
3562
|
"kind": "class",
|
|
2818
|
-
"description": "",
|
|
3563
|
+
"description": "`<nys-fileinput>` provides accessible file selection with optional\ndrag-and-drop support, progress tracking, validation, and form submission.\n\nFeatures:\n- Supports single or multiple file uploads\n- Optional drag-and-drop dropzone\n- File type validation and upload progress\n- Form-associated with native validation behavior\n- Keyboard and screen reader accessible",
|
|
2819
3564
|
"name": "NysFileinput",
|
|
3565
|
+
"slots": [
|
|
3566
|
+
{
|
|
3567
|
+
"description": "Custom description content under the label",
|
|
3568
|
+
"name": "description"
|
|
3569
|
+
}
|
|
3570
|
+
],
|
|
2820
3571
|
"members": [
|
|
2821
3572
|
{
|
|
2822
3573
|
"kind": "field",
|
|
@@ -3040,12 +3791,14 @@
|
|
|
3040
3791
|
"text": "boolean"
|
|
3041
3792
|
},
|
|
3042
3793
|
"static": true,
|
|
3043
|
-
"default": "true"
|
|
3794
|
+
"default": "true",
|
|
3795
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
3044
3796
|
},
|
|
3045
3797
|
{
|
|
3046
3798
|
"kind": "method",
|
|
3047
3799
|
"name": "_setValue",
|
|
3048
|
-
"privacy": "private"
|
|
3800
|
+
"privacy": "private",
|
|
3801
|
+
"description": "Form Integration\n--------------------------------------------------------------------------"
|
|
3049
3802
|
},
|
|
3050
3803
|
{
|
|
3051
3804
|
"kind": "method",
|
|
@@ -3104,7 +3857,8 @@
|
|
|
3104
3857
|
"text": "File"
|
|
3105
3858
|
}
|
|
3106
3859
|
}
|
|
3107
|
-
]
|
|
3860
|
+
],
|
|
3861
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
3108
3862
|
},
|
|
3109
3863
|
{
|
|
3110
3864
|
"kind": "method",
|
|
@@ -3150,7 +3904,8 @@
|
|
|
3150
3904
|
"text": "Event"
|
|
3151
3905
|
}
|
|
3152
3906
|
}
|
|
3153
|
-
]
|
|
3907
|
+
],
|
|
3908
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
3154
3909
|
},
|
|
3155
3910
|
{
|
|
3156
3911
|
"kind": "method",
|
|
@@ -3210,7 +3965,8 @@
|
|
|
3210
3965
|
"name": "nys-change",
|
|
3211
3966
|
"type": {
|
|
3212
3967
|
"text": "CustomEvent"
|
|
3213
|
-
}
|
|
3968
|
+
},
|
|
3969
|
+
"description": "Fired when files are added or removed"
|
|
3214
3970
|
}
|
|
3215
3971
|
],
|
|
3216
3972
|
"attributes": [
|
|
@@ -3376,7 +4132,7 @@
|
|
|
3376
4132
|
"declarations": [
|
|
3377
4133
|
{
|
|
3378
4134
|
"kind": "class",
|
|
3379
|
-
"description": "",
|
|
4135
|
+
"description": "`<nys-fileitem>` displays an individual file in a file input component.\nIt shows the file name, upload status, progress bar, and error messages.",
|
|
3380
4136
|
"name": "NysFileItem",
|
|
3381
4137
|
"members": [
|
|
3382
4138
|
{
|
|
@@ -3563,8 +4319,14 @@
|
|
|
3563
4319
|
"declarations": [
|
|
3564
4320
|
{
|
|
3565
4321
|
"kind": "class",
|
|
3566
|
-
"description": "",
|
|
4322
|
+
"description": "`<nys-globalfooter>` renders a New York State–style global footer.\n\nDisplays an agency name with an optional homepage link and supports\nstructured footer content via slots.",
|
|
3567
4323
|
"name": "NysGlobalFooter",
|
|
4324
|
+
"slots": [
|
|
4325
|
+
{
|
|
4326
|
+
"description": "Footer content such as headings, links, or groups Layout behavior: - Multiple `<h4>` elements trigger a multi-column layout - Single group content renders in a compact layout",
|
|
4327
|
+
"name": "default"
|
|
4328
|
+
}
|
|
4329
|
+
],
|
|
3568
4330
|
"members": [
|
|
3569
4331
|
{
|
|
3570
4332
|
"kind": "field",
|
|
@@ -3596,7 +4358,8 @@
|
|
|
3596
4358
|
{
|
|
3597
4359
|
"kind": "method",
|
|
3598
4360
|
"name": "_handleSlotChange",
|
|
3599
|
-
"privacy": "private"
|
|
4361
|
+
"privacy": "private",
|
|
4362
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
3600
4363
|
}
|
|
3601
4364
|
],
|
|
3602
4365
|
"attributes": [
|
|
@@ -3665,8 +4428,18 @@
|
|
|
3665
4428
|
"declarations": [
|
|
3666
4429
|
{
|
|
3667
4430
|
"kind": "class",
|
|
3668
|
-
"description": "",
|
|
4431
|
+
"description": "`<nys-globalheader>` renders a New York State–style global header.\n\nDisplays an optional application name, agency name, and homepage link.\nSupports slotted navigation content with automatic active-link detection\nand a responsive mobile menu.",
|
|
3669
4432
|
"name": "NysGlobalHeader",
|
|
4433
|
+
"slots": [
|
|
4434
|
+
{
|
|
4435
|
+
"description": "Primary navigation list, typically a `<ul>` with links",
|
|
4436
|
+
"name": "default"
|
|
4437
|
+
},
|
|
4438
|
+
{
|
|
4439
|
+
"description": "Optional user action elements such as login or profile Behavior: - Automatically highlights the best matching link based on the current URL - Duplicates navigation content for desktop and mobile layouts - Provides a toggleable mobile menu when navigation content exists",
|
|
4440
|
+
"name": "user-actions"
|
|
4441
|
+
}
|
|
4442
|
+
],
|
|
3670
4443
|
"members": [
|
|
3671
4444
|
{
|
|
3672
4445
|
"kind": "field",
|
|
@@ -3697,16 +4470,16 @@
|
|
|
3697
4470
|
},
|
|
3698
4471
|
{
|
|
3699
4472
|
"kind": "field",
|
|
3700
|
-
"name": "
|
|
4473
|
+
"name": "isMobileMenuOpen",
|
|
3701
4474
|
"type": {
|
|
3702
4475
|
"text": "boolean"
|
|
3703
4476
|
},
|
|
3704
4477
|
"privacy": "private",
|
|
3705
|
-
"default": "
|
|
4478
|
+
"default": "false"
|
|
3706
4479
|
},
|
|
3707
4480
|
{
|
|
3708
4481
|
"kind": "field",
|
|
3709
|
-
"name": "
|
|
4482
|
+
"name": "hasLinkContent",
|
|
3710
4483
|
"type": {
|
|
3711
4484
|
"text": "boolean"
|
|
3712
4485
|
},
|
|
@@ -3715,16 +4488,35 @@
|
|
|
3715
4488
|
},
|
|
3716
4489
|
{
|
|
3717
4490
|
"kind": "method",
|
|
3718
|
-
"name": "
|
|
4491
|
+
"name": "_highlightActiveLink",
|
|
4492
|
+
"privacy": "private",
|
|
4493
|
+
"parameters": [
|
|
4494
|
+
{
|
|
4495
|
+
"name": "container",
|
|
4496
|
+
"type": {
|
|
4497
|
+
"text": "HTMLElement"
|
|
4498
|
+
}
|
|
4499
|
+
}
|
|
4500
|
+
],
|
|
4501
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
4502
|
+
},
|
|
4503
|
+
{
|
|
4504
|
+
"kind": "method",
|
|
4505
|
+
"name": "_handleListSlotChange",
|
|
3719
4506
|
"privacy": "private"
|
|
3720
4507
|
},
|
|
3721
4508
|
{
|
|
3722
4509
|
"kind": "method",
|
|
3723
4510
|
"name": "_normalizePath",
|
|
3724
4511
|
"privacy": "private",
|
|
4512
|
+
"return": {
|
|
4513
|
+
"type": {
|
|
4514
|
+
"text": "string | null"
|
|
4515
|
+
}
|
|
4516
|
+
},
|
|
3725
4517
|
"parameters": [
|
|
3726
4518
|
{
|
|
3727
|
-
"name": "
|
|
4519
|
+
"name": "href",
|
|
3728
4520
|
"type": {
|
|
3729
4521
|
"text": "string | null"
|
|
3730
4522
|
}
|
|
@@ -3739,8 +4531,7 @@
|
|
|
3739
4531
|
{
|
|
3740
4532
|
"kind": "method",
|
|
3741
4533
|
"name": "_listenLinkClicks",
|
|
3742
|
-
"privacy": "private"
|
|
3743
|
-
"description": "Handles client-side navigation when links are clicked (no full page refresh)."
|
|
4534
|
+
"privacy": "private"
|
|
3744
4535
|
}
|
|
3745
4536
|
],
|
|
3746
4537
|
"attributes": [
|
|
@@ -3817,7 +4608,7 @@
|
|
|
3817
4608
|
"declarations": [
|
|
3818
4609
|
{
|
|
3819
4610
|
"kind": "class",
|
|
3820
|
-
"description": "",
|
|
4611
|
+
"description": "`<nys-icon>` renders an SVG icon from the internal icon library.\n\nIcons are inline SVGs and support sizing, rotation, flipping, color,\nand accessibility labeling.",
|
|
3821
4612
|
"name": "NysIcon",
|
|
3822
4613
|
"members": [
|
|
3823
4614
|
{
|
|
@@ -3881,9 +4672,10 @@
|
|
|
3881
4672
|
"privacy": "private",
|
|
3882
4673
|
"return": {
|
|
3883
4674
|
"type": {
|
|
3884
|
-
"text": "
|
|
4675
|
+
"text": ""
|
|
3885
4676
|
}
|
|
3886
|
-
}
|
|
4677
|
+
},
|
|
4678
|
+
"description": "Retrieves the SVG element for the given icon name and applies\naccessibility, rotation, flip, color, and size classes."
|
|
3887
4679
|
}
|
|
3888
4680
|
],
|
|
3889
4681
|
"attributes": [
|
|
@@ -3984,7 +4776,7 @@
|
|
|
3984
4776
|
"declarations": [
|
|
3985
4777
|
{
|
|
3986
4778
|
"kind": "class",
|
|
3987
|
-
"description": "",
|
|
4779
|
+
"description": "THIS IS A PRIVATE COMPONENT!\n`NysLabel` is a component for rendering form labels with optional\ndescriptions, flags (required/optional), and tooltips.",
|
|
3988
4780
|
"name": "NysLabel",
|
|
3989
4781
|
"members": [
|
|
3990
4782
|
{
|
|
@@ -4142,8 +4934,18 @@
|
|
|
4142
4934
|
"declarations": [
|
|
4143
4935
|
{
|
|
4144
4936
|
"kind": "class",
|
|
4145
|
-
"description": "",
|
|
4937
|
+
"description": "`<nys-modal>` renders an accessible modal dialog.\n\nSupports headings, optional subheading, body content, and action buttons.\nManages focus trapping, escape key handling, and body scroll locking.",
|
|
4146
4938
|
"name": "NysModal",
|
|
4939
|
+
"slots": [
|
|
4940
|
+
{
|
|
4941
|
+
"description": "Modal body content",
|
|
4942
|
+
"name": ""
|
|
4943
|
+
},
|
|
4944
|
+
{
|
|
4945
|
+
"description": "Action buttons shown in the footer",
|
|
4946
|
+
"name": "actions"
|
|
4947
|
+
}
|
|
4948
|
+
],
|
|
4147
4949
|
"members": [
|
|
4148
4950
|
{
|
|
4149
4951
|
"kind": "field",
|
|
@@ -4251,7 +5053,8 @@
|
|
|
4251
5053
|
{
|
|
4252
5054
|
"kind": "method",
|
|
4253
5055
|
"name": "_hideBodyScroll",
|
|
4254
|
-
"privacy": "private"
|
|
5056
|
+
"privacy": "private",
|
|
5057
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
4255
5058
|
},
|
|
4256
5059
|
{
|
|
4257
5060
|
"kind": "method",
|
|
@@ -4320,7 +5123,8 @@
|
|
|
4320
5123
|
"text": "KeyboardEvent"
|
|
4321
5124
|
}
|
|
4322
5125
|
}
|
|
4323
|
-
]
|
|
5126
|
+
],
|
|
5127
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
4324
5128
|
},
|
|
4325
5129
|
{
|
|
4326
5130
|
"kind": "method",
|
|
@@ -4333,13 +5137,15 @@
|
|
|
4333
5137
|
"name": "nys-open",
|
|
4334
5138
|
"type": {
|
|
4335
5139
|
"text": "CustomEvent"
|
|
4336
|
-
}
|
|
5140
|
+
},
|
|
5141
|
+
"description": "Emitted when the modal opens"
|
|
4337
5142
|
},
|
|
4338
5143
|
{
|
|
4339
5144
|
"name": "nys-close",
|
|
4340
5145
|
"type": {
|
|
4341
5146
|
"text": "CustomEvent"
|
|
4342
|
-
}
|
|
5147
|
+
},
|
|
5148
|
+
"description": "Emitted when the modal closes"
|
|
4343
5149
|
}
|
|
4344
5150
|
],
|
|
4345
5151
|
"attributes": [
|
|
@@ -4440,7 +5246,7 @@
|
|
|
4440
5246
|
"declarations": [
|
|
4441
5247
|
{
|
|
4442
5248
|
"kind": "class",
|
|
4443
|
-
"description": "",
|
|
5249
|
+
"description": "`<nys-pagination>` renders page navigation controls.\n\nDisplays previous and next buttons, page numbers, and ellipses\nwhen pages are skipped. Handles page bounds automatically.",
|
|
4444
5250
|
"name": "NysPagination",
|
|
4445
5251
|
"members": [
|
|
4446
5252
|
{
|
|
@@ -4509,7 +5315,8 @@
|
|
|
4509
5315
|
"text": "number"
|
|
4510
5316
|
}
|
|
4511
5317
|
}
|
|
4512
|
-
]
|
|
5318
|
+
],
|
|
5319
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
4513
5320
|
},
|
|
4514
5321
|
{
|
|
4515
5322
|
"kind": "method",
|
|
@@ -4527,7 +5334,8 @@
|
|
|
4527
5334
|
"text": "number"
|
|
4528
5335
|
}
|
|
4529
5336
|
}
|
|
4530
|
-
]
|
|
5337
|
+
],
|
|
5338
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
4531
5339
|
}
|
|
4532
5340
|
],
|
|
4533
5341
|
"events": [
|
|
@@ -4535,7 +5343,8 @@
|
|
|
4535
5343
|
"name": "nys-change",
|
|
4536
5344
|
"type": {
|
|
4537
5345
|
"text": "CustomEvent"
|
|
4538
|
-
}
|
|
5346
|
+
},
|
|
5347
|
+
"description": "Fired when the page changes detail: { page: number }"
|
|
4539
5348
|
}
|
|
4540
5349
|
],
|
|
4541
5350
|
"attributes": [
|
|
@@ -4636,8 +5445,14 @@
|
|
|
4636
5445
|
"declarations": [
|
|
4637
5446
|
{
|
|
4638
5447
|
"kind": "class",
|
|
4639
|
-
"description": "",
|
|
5448
|
+
"description": "`<nys-radiobutton>` represents a single radio button for use in a `<nys-radiogroup>`.\n\nFeatures:\n- Single selection per group\n- Supports labels, descriptions, tile layout, inverted style, and size variants\n- Integrates with forms and dispatches `nys-change` events on selection",
|
|
4640
5449
|
"name": "NysRadiobutton",
|
|
5450
|
+
"slots": [
|
|
5451
|
+
{
|
|
5452
|
+
"description": "Optional description text announced to screen readers",
|
|
5453
|
+
"name": "description"
|
|
5454
|
+
}
|
|
5455
|
+
],
|
|
4641
5456
|
"members": [
|
|
4642
5457
|
{
|
|
4643
5458
|
"kind": "field",
|
|
@@ -4787,12 +5602,14 @@
|
|
|
4787
5602
|
"type": {
|
|
4788
5603
|
"text": "boolean"
|
|
4789
5604
|
}
|
|
4790
|
-
}
|
|
5605
|
+
},
|
|
5606
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
4791
5607
|
},
|
|
4792
5608
|
{
|
|
4793
5609
|
"kind": "method",
|
|
4794
5610
|
"name": "_emitChangeEvent",
|
|
4795
|
-
"privacy": "private"
|
|
5611
|
+
"privacy": "private",
|
|
5612
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
4796
5613
|
},
|
|
4797
5614
|
{
|
|
4798
5615
|
"kind": "method",
|
|
@@ -4820,19 +5637,22 @@
|
|
|
4820
5637
|
"name": "nys-change",
|
|
4821
5638
|
"type": {
|
|
4822
5639
|
"text": "CustomEvent"
|
|
4823
|
-
}
|
|
5640
|
+
},
|
|
5641
|
+
"description": "Fired when the radio is selected or deselected detail: { id: string, checked: boolean, name: string, value: string }"
|
|
4824
5642
|
},
|
|
4825
5643
|
{
|
|
4826
5644
|
"name": "nys-focus",
|
|
4827
5645
|
"type": {
|
|
4828
5646
|
"text": "Event"
|
|
4829
|
-
}
|
|
5647
|
+
},
|
|
5648
|
+
"description": "Fired when the radio gains focus"
|
|
4830
5649
|
},
|
|
4831
5650
|
{
|
|
4832
5651
|
"name": "nys-blur",
|
|
4833
5652
|
"type": {
|
|
4834
5653
|
"text": "Event"
|
|
4835
|
-
}
|
|
5654
|
+
},
|
|
5655
|
+
"description": "Fired when the radio loses focus"
|
|
4836
5656
|
}
|
|
4837
5657
|
],
|
|
4838
5658
|
"attributes": [
|
|
@@ -4966,8 +5786,18 @@
|
|
|
4966
5786
|
"declarations": [
|
|
4967
5787
|
{
|
|
4968
5788
|
"kind": "class",
|
|
4969
|
-
"description": "",
|
|
5789
|
+
"description": "`<nys-radiogroup>` groups `<nys-radiobutton>` elements into a single\nselectable control.\n\nSupports keyboard navigation, validation, and native form submission\nthrough ElementInternals.",
|
|
4970
5790
|
"name": "NysRadiogroup",
|
|
5791
|
+
"slots": [
|
|
5792
|
+
{
|
|
5793
|
+
"description": "One or more `<nys-radiobutton>` elements",
|
|
5794
|
+
"name": "default"
|
|
5795
|
+
},
|
|
5796
|
+
{
|
|
5797
|
+
"description": "Optional descriptive text announced to screen readers",
|
|
5798
|
+
"name": "description"
|
|
5799
|
+
}
|
|
5800
|
+
],
|
|
4971
5801
|
"members": [
|
|
4972
5802
|
{
|
|
4973
5803
|
"kind": "field",
|
|
@@ -5128,16 +5958,14 @@
|
|
|
5128
5958
|
"text": "boolean"
|
|
5129
5959
|
},
|
|
5130
5960
|
"static": true,
|
|
5131
|
-
"default": "true"
|
|
5132
|
-
|
|
5133
|
-
{
|
|
5134
|
-
"kind": "method",
|
|
5135
|
-
"name": "formResetCallback"
|
|
5961
|
+
"default": "true",
|
|
5962
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
5136
5963
|
},
|
|
5137
5964
|
{
|
|
5138
5965
|
"kind": "method",
|
|
5139
5966
|
"name": "_setValue",
|
|
5140
|
-
"privacy": "private"
|
|
5967
|
+
"privacy": "private",
|
|
5968
|
+
"description": "Form Integration\n--------------------------------------------------------------------------"
|
|
5141
5969
|
},
|
|
5142
5970
|
{
|
|
5143
5971
|
"kind": "method",
|
|
@@ -5181,10 +6009,15 @@
|
|
|
5181
6009
|
"name": "_updateGroupTabIndex",
|
|
5182
6010
|
"privacy": "private"
|
|
5183
6011
|
},
|
|
6012
|
+
{
|
|
6013
|
+
"kind": "method",
|
|
6014
|
+
"name": "formResetCallback"
|
|
6015
|
+
},
|
|
5184
6016
|
{
|
|
5185
6017
|
"kind": "method",
|
|
5186
6018
|
"name": "_initializeChildAttributes",
|
|
5187
|
-
"privacy": "private"
|
|
6019
|
+
"privacy": "private",
|
|
6020
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
5188
6021
|
},
|
|
5189
6022
|
{
|
|
5190
6023
|
"kind": "method",
|
|
@@ -5227,7 +6060,8 @@
|
|
|
5227
6060
|
"text": "Event"
|
|
5228
6061
|
}
|
|
5229
6062
|
}
|
|
5230
|
-
]
|
|
6063
|
+
],
|
|
6064
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
5231
6065
|
},
|
|
5232
6066
|
{
|
|
5233
6067
|
"kind": "method",
|
|
@@ -5243,6 +6077,12 @@
|
|
|
5243
6077
|
]
|
|
5244
6078
|
}
|
|
5245
6079
|
],
|
|
6080
|
+
"events": [
|
|
6081
|
+
{
|
|
6082
|
+
"description": "Fired when selection changes detail: { name: string; value: string }",
|
|
6083
|
+
"name": "nys-change"
|
|
6084
|
+
}
|
|
6085
|
+
],
|
|
5246
6086
|
"attributes": [
|
|
5247
6087
|
{
|
|
5248
6088
|
"name": "id",
|
|
@@ -5532,8 +6372,18 @@
|
|
|
5532
6372
|
"declarations": [
|
|
5533
6373
|
{
|
|
5534
6374
|
"kind": "class",
|
|
5535
|
-
"description": "",
|
|
6375
|
+
"description": "`<nys-select>` is a custom select/dropdown component.\n\nFeatures:\n- Supports slotted `<nys-option>` elements, native `<option>` and `<optgroup>`\n- Integrates with forms via ElementInternals\n- Handles validation, error messages, and required/optional states\n- Inverted style and width variants supported",
|
|
5536
6376
|
"name": "NysSelect",
|
|
6377
|
+
"slots": [
|
|
6378
|
+
{
|
|
6379
|
+
"description": "Optional description text announced to screen readers",
|
|
6380
|
+
"name": "description"
|
|
6381
|
+
},
|
|
6382
|
+
{
|
|
6383
|
+
"description": "Options (<nys-option>, <option>, <optgroup>) to populate the dropdown",
|
|
6384
|
+
"name": "default"
|
|
6385
|
+
}
|
|
6386
|
+
],
|
|
5537
6387
|
"members": [
|
|
5538
6388
|
{
|
|
5539
6389
|
"kind": "field",
|
|
@@ -5703,11 +6553,8 @@
|
|
|
5703
6553
|
"text": "boolean"
|
|
5704
6554
|
},
|
|
5705
6555
|
"static": true,
|
|
5706
|
-
"default": "true"
|
|
5707
|
-
|
|
5708
|
-
{
|
|
5709
|
-
"kind": "method",
|
|
5710
|
-
"name": "formResetCallback"
|
|
6556
|
+
"default": "true",
|
|
6557
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
5711
6558
|
},
|
|
5712
6559
|
{
|
|
5713
6560
|
"kind": "method",
|
|
@@ -5717,7 +6564,8 @@
|
|
|
5717
6564
|
{
|
|
5718
6565
|
"kind": "method",
|
|
5719
6566
|
"name": "_setValue",
|
|
5720
|
-
"privacy": "private"
|
|
6567
|
+
"privacy": "private",
|
|
6568
|
+
"description": "Form Integration\n--------------------------------------------------------------------------"
|
|
5721
6569
|
},
|
|
5722
6570
|
{
|
|
5723
6571
|
"kind": "method",
|
|
@@ -5743,6 +6591,10 @@
|
|
|
5743
6591
|
"name": "_validate",
|
|
5744
6592
|
"privacy": "private"
|
|
5745
6593
|
},
|
|
6594
|
+
{
|
|
6595
|
+
"kind": "method",
|
|
6596
|
+
"name": "formResetCallback"
|
|
6597
|
+
},
|
|
5746
6598
|
{
|
|
5747
6599
|
"kind": "method",
|
|
5748
6600
|
"name": "checkValidity",
|
|
@@ -5750,7 +6602,8 @@
|
|
|
5750
6602
|
"type": {
|
|
5751
6603
|
"text": "boolean"
|
|
5752
6604
|
}
|
|
5753
|
-
}
|
|
6605
|
+
},
|
|
6606
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
5754
6607
|
},
|
|
5755
6608
|
{
|
|
5756
6609
|
"kind": "method",
|
|
@@ -5776,7 +6629,8 @@
|
|
|
5776
6629
|
"text": "Event"
|
|
5777
6630
|
}
|
|
5778
6631
|
}
|
|
5779
|
-
]
|
|
6632
|
+
],
|
|
6633
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
5780
6634
|
},
|
|
5781
6635
|
{
|
|
5782
6636
|
"kind": "method",
|
|
@@ -5794,19 +6648,22 @@
|
|
|
5794
6648
|
"name": "nys-change",
|
|
5795
6649
|
"type": {
|
|
5796
6650
|
"text": "CustomEvent"
|
|
5797
|
-
}
|
|
6651
|
+
},
|
|
6652
|
+
"description": "Fired when the selected value changes detail: { id: string, value: string }"
|
|
5798
6653
|
},
|
|
5799
6654
|
{
|
|
5800
6655
|
"name": "nys-focus",
|
|
5801
6656
|
"type": {
|
|
5802
6657
|
"text": "Event"
|
|
5803
|
-
}
|
|
6658
|
+
},
|
|
6659
|
+
"description": "Fired when the select gains focus"
|
|
5804
6660
|
},
|
|
5805
6661
|
{
|
|
5806
6662
|
"name": "nys-blur",
|
|
5807
6663
|
"type": {
|
|
5808
6664
|
"text": "Event"
|
|
5809
|
-
}
|
|
6665
|
+
},
|
|
6666
|
+
"description": "Fired when the select loses focus"
|
|
5810
6667
|
}
|
|
5811
6668
|
],
|
|
5812
6669
|
"attributes": [
|
|
@@ -5971,7 +6828,7 @@
|
|
|
5971
6828
|
"declarations": [
|
|
5972
6829
|
{
|
|
5973
6830
|
"kind": "class",
|
|
5974
|
-
"description": "",
|
|
6831
|
+
"description": "`<nys-skipnav>` provides an accessible skip navigation link for keyboard\nand screen reader users to jump directly to the main content of a page.\n\nFeatures:\n- Default target is `#main-content` if `href` is not provided\n- Link becomes visible on focus and hides on blur\n- Ensures the target element is focusable for accessibility",
|
|
5975
6832
|
"name": "NysSkipnav",
|
|
5976
6833
|
"members": [
|
|
5977
6834
|
{
|
|
@@ -5996,7 +6853,8 @@
|
|
|
5996
6853
|
{
|
|
5997
6854
|
"kind": "method",
|
|
5998
6855
|
"name": "_handleFocus",
|
|
5999
|
-
"privacy": "private"
|
|
6856
|
+
"privacy": "private",
|
|
6857
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
6000
6858
|
},
|
|
6001
6859
|
{
|
|
6002
6860
|
"kind": "method",
|
|
@@ -6236,31 +7094,240 @@
|
|
|
6236
7094
|
],
|
|
6237
7095
|
"exports": [
|
|
6238
7096
|
{
|
|
6239
|
-
"kind": "custom-element-definition",
|
|
6240
|
-
"name": "nys-step",
|
|
7097
|
+
"kind": "custom-element-definition",
|
|
7098
|
+
"name": "nys-step",
|
|
7099
|
+
"declaration": {
|
|
7100
|
+
"name": "NysStep",
|
|
7101
|
+
"module": "packages/nys-stepper/src/nys-step.ts"
|
|
7102
|
+
}
|
|
7103
|
+
},
|
|
7104
|
+
{
|
|
7105
|
+
"kind": "js",
|
|
7106
|
+
"name": "NysStep",
|
|
7107
|
+
"declaration": {
|
|
7108
|
+
"name": "NysStep",
|
|
7109
|
+
"module": "packages/nys-stepper/src/nys-step.ts"
|
|
7110
|
+
}
|
|
7111
|
+
}
|
|
7112
|
+
]
|
|
7113
|
+
},
|
|
7114
|
+
{
|
|
7115
|
+
"kind": "javascript-module",
|
|
7116
|
+
"path": "packages/nys-stepper/src/nys-stepper.ts",
|
|
7117
|
+
"declarations": [
|
|
7118
|
+
{
|
|
7119
|
+
"kind": "class",
|
|
7120
|
+
"description": "`<nys-stepper>` manages a sequence of `<nys-step>` elements, providing\nmulti-step navigation for forms or workflows.\n\nFeatures:\n- Tracks selected and current steps\n- Displays a step counter (e.g., \"Step 2 of 5\")\n- Supports compact/expanded view toggle\n- Validates that only `<nys-step>` or `<div slot=\"actions\">` children are used",
|
|
7121
|
+
"name": "NysStepper",
|
|
7122
|
+
"members": [
|
|
7123
|
+
{
|
|
7124
|
+
"kind": "field",
|
|
7125
|
+
"name": "id",
|
|
7126
|
+
"type": {
|
|
7127
|
+
"text": "string"
|
|
7128
|
+
},
|
|
7129
|
+
"default": "\"\"",
|
|
7130
|
+
"attribute": "id",
|
|
7131
|
+
"reflects": true
|
|
7132
|
+
},
|
|
7133
|
+
{
|
|
7134
|
+
"kind": "field",
|
|
7135
|
+
"name": "name",
|
|
7136
|
+
"type": {
|
|
7137
|
+
"text": "string"
|
|
7138
|
+
},
|
|
7139
|
+
"default": "\"\"",
|
|
7140
|
+
"attribute": "name",
|
|
7141
|
+
"reflects": true
|
|
7142
|
+
},
|
|
7143
|
+
{
|
|
7144
|
+
"kind": "field",
|
|
7145
|
+
"name": "label",
|
|
7146
|
+
"type": {
|
|
7147
|
+
"text": "string"
|
|
7148
|
+
},
|
|
7149
|
+
"default": "\"\"",
|
|
7150
|
+
"attribute": "label"
|
|
7151
|
+
},
|
|
7152
|
+
{
|
|
7153
|
+
"kind": "field",
|
|
7154
|
+
"name": "counterText",
|
|
7155
|
+
"type": {
|
|
7156
|
+
"text": "string"
|
|
7157
|
+
},
|
|
7158
|
+
"default": "\"initial\"",
|
|
7159
|
+
"attribute": "counterText"
|
|
7160
|
+
},
|
|
7161
|
+
{
|
|
7162
|
+
"kind": "field",
|
|
7163
|
+
"name": "isCompactExpanded",
|
|
7164
|
+
"type": {
|
|
7165
|
+
"text": "boolean"
|
|
7166
|
+
},
|
|
7167
|
+
"default": "false",
|
|
7168
|
+
"attribute": "isCompactExpanded",
|
|
7169
|
+
"reflects": true
|
|
7170
|
+
},
|
|
7171
|
+
{
|
|
7172
|
+
"kind": "field",
|
|
7173
|
+
"name": "_stepsNumbered",
|
|
7174
|
+
"type": {
|
|
7175
|
+
"text": "boolean"
|
|
7176
|
+
},
|
|
7177
|
+
"privacy": "private",
|
|
7178
|
+
"default": "false"
|
|
7179
|
+
},
|
|
7180
|
+
{
|
|
7181
|
+
"kind": "method",
|
|
7182
|
+
"name": "_validateSteps",
|
|
7183
|
+
"privacy": "private"
|
|
7184
|
+
},
|
|
7185
|
+
{
|
|
7186
|
+
"kind": "method",
|
|
7187
|
+
"name": "_validateButtonSlot",
|
|
7188
|
+
"privacy": "private",
|
|
7189
|
+
"parameters": [
|
|
7190
|
+
{
|
|
7191
|
+
"name": "event",
|
|
7192
|
+
"type": {
|
|
7193
|
+
"text": "Event"
|
|
7194
|
+
}
|
|
7195
|
+
}
|
|
7196
|
+
]
|
|
7197
|
+
},
|
|
7198
|
+
{
|
|
7199
|
+
"kind": "field",
|
|
7200
|
+
"name": "_onStepClick",
|
|
7201
|
+
"privacy": "private"
|
|
7202
|
+
},
|
|
7203
|
+
{
|
|
7204
|
+
"kind": "method",
|
|
7205
|
+
"name": "_updateCounter",
|
|
7206
|
+
"privacy": "private"
|
|
7207
|
+
},
|
|
7208
|
+
{
|
|
7209
|
+
"kind": "method",
|
|
7210
|
+
"name": "_toggleCompact",
|
|
7211
|
+
"privacy": "private"
|
|
7212
|
+
},
|
|
7213
|
+
{
|
|
7214
|
+
"kind": "method",
|
|
7215
|
+
"name": "_handleCounterKeydown",
|
|
7216
|
+
"privacy": "private",
|
|
7217
|
+
"parameters": [
|
|
7218
|
+
{
|
|
7219
|
+
"name": "event",
|
|
7220
|
+
"type": {
|
|
7221
|
+
"text": "KeyboardEvent"
|
|
7222
|
+
}
|
|
7223
|
+
}
|
|
7224
|
+
]
|
|
7225
|
+
}
|
|
7226
|
+
],
|
|
7227
|
+
"events": [
|
|
7228
|
+
{
|
|
7229
|
+
"description": "Fired when a step is clicked; bubbles with the event path",
|
|
7230
|
+
"name": "nys-step-click"
|
|
7231
|
+
}
|
|
7232
|
+
],
|
|
7233
|
+
"attributes": [
|
|
7234
|
+
{
|
|
7235
|
+
"name": "id",
|
|
7236
|
+
"type": {
|
|
7237
|
+
"text": "string"
|
|
7238
|
+
},
|
|
7239
|
+
"default": "\"\"",
|
|
7240
|
+
"fieldName": "id"
|
|
7241
|
+
},
|
|
7242
|
+
{
|
|
7243
|
+
"name": "name",
|
|
7244
|
+
"type": {
|
|
7245
|
+
"text": "string"
|
|
7246
|
+
},
|
|
7247
|
+
"default": "\"\"",
|
|
7248
|
+
"fieldName": "name"
|
|
7249
|
+
},
|
|
7250
|
+
{
|
|
7251
|
+
"name": "label",
|
|
7252
|
+
"type": {
|
|
7253
|
+
"text": "string"
|
|
7254
|
+
},
|
|
7255
|
+
"default": "\"\"",
|
|
7256
|
+
"fieldName": "label"
|
|
7257
|
+
},
|
|
7258
|
+
{
|
|
7259
|
+
"name": "counterText",
|
|
7260
|
+
"type": {
|
|
7261
|
+
"text": "string"
|
|
7262
|
+
},
|
|
7263
|
+
"default": "\"initial\"",
|
|
7264
|
+
"fieldName": "counterText"
|
|
7265
|
+
},
|
|
7266
|
+
{
|
|
7267
|
+
"name": "isCompactExpanded",
|
|
7268
|
+
"type": {
|
|
7269
|
+
"text": "boolean"
|
|
7270
|
+
},
|
|
7271
|
+
"default": "false",
|
|
7272
|
+
"fieldName": "isCompactExpanded"
|
|
7273
|
+
}
|
|
7274
|
+
],
|
|
7275
|
+
"superclass": {
|
|
7276
|
+
"name": "LitElement",
|
|
7277
|
+
"package": "lit"
|
|
7278
|
+
},
|
|
7279
|
+
"tagName": "nys-stepper",
|
|
7280
|
+
"customElement": true
|
|
7281
|
+
}
|
|
7282
|
+
],
|
|
7283
|
+
"exports": [
|
|
7284
|
+
{
|
|
7285
|
+
"kind": "custom-element-definition",
|
|
7286
|
+
"name": "nys-stepper",
|
|
7287
|
+
"declaration": {
|
|
7288
|
+
"name": "NysStepper",
|
|
7289
|
+
"module": "packages/nys-stepper/src/nys-stepper.ts"
|
|
7290
|
+
}
|
|
7291
|
+
},
|
|
7292
|
+
{
|
|
7293
|
+
"kind": "js",
|
|
7294
|
+
"name": "NysStepper",
|
|
6241
7295
|
"declaration": {
|
|
6242
|
-
"name": "
|
|
6243
|
-
"module": "packages/nys-stepper/src/nys-
|
|
7296
|
+
"name": "NysStepper",
|
|
7297
|
+
"module": "packages/nys-stepper/src/nys-stepper.ts"
|
|
6244
7298
|
}
|
|
6245
|
-
}
|
|
7299
|
+
}
|
|
7300
|
+
]
|
|
7301
|
+
},
|
|
7302
|
+
{
|
|
7303
|
+
"kind": "javascript-module",
|
|
7304
|
+
"path": "packages/nys-table/src/index.ts",
|
|
7305
|
+
"declarations": [],
|
|
7306
|
+
"exports": [
|
|
6246
7307
|
{
|
|
6247
7308
|
"kind": "js",
|
|
6248
|
-
"name": "
|
|
7309
|
+
"name": "*",
|
|
6249
7310
|
"declaration": {
|
|
6250
|
-
"name": "
|
|
6251
|
-
"module": "packages/nys-
|
|
7311
|
+
"name": "*",
|
|
7312
|
+
"module": "packages/nys-table/src/nys-table"
|
|
6252
7313
|
}
|
|
6253
7314
|
}
|
|
6254
7315
|
]
|
|
6255
7316
|
},
|
|
6256
7317
|
{
|
|
6257
7318
|
"kind": "javascript-module",
|
|
6258
|
-
"path": "packages/nys-
|
|
7319
|
+
"path": "packages/nys-table/src/nys-table.ts",
|
|
6259
7320
|
"declarations": [
|
|
6260
7321
|
{
|
|
6261
7322
|
"kind": "class",
|
|
6262
|
-
"description": "",
|
|
6263
|
-
"name": "
|
|
7323
|
+
"description": "`<nys-table>` is a responsive table component that can display native HTML tables,\nsupports striped and bordered styling, sortable columns, and CSV download.",
|
|
7324
|
+
"name": "NysTable",
|
|
7325
|
+
"slots": [
|
|
7326
|
+
{
|
|
7327
|
+
"description": "Accepts a `<table>` element. Only the first table is rendered.",
|
|
7328
|
+
"name": ""
|
|
7329
|
+
}
|
|
7330
|
+
],
|
|
6264
7331
|
"members": [
|
|
6265
7332
|
{
|
|
6266
7333
|
"kind": "field",
|
|
@@ -6284,86 +7351,174 @@
|
|
|
6284
7351
|
},
|
|
6285
7352
|
{
|
|
6286
7353
|
"kind": "field",
|
|
6287
|
-
"name": "
|
|
7354
|
+
"name": "striped",
|
|
6288
7355
|
"type": {
|
|
6289
|
-
"text": "
|
|
7356
|
+
"text": "boolean"
|
|
6290
7357
|
},
|
|
6291
|
-
"default": "
|
|
6292
|
-
"attribute": "
|
|
7358
|
+
"default": "false",
|
|
7359
|
+
"attribute": "striped",
|
|
7360
|
+
"reflects": true
|
|
6293
7361
|
},
|
|
6294
7362
|
{
|
|
6295
7363
|
"kind": "field",
|
|
6296
|
-
"name": "
|
|
7364
|
+
"name": "sortable",
|
|
6297
7365
|
"type": {
|
|
6298
|
-
"text": "
|
|
7366
|
+
"text": "boolean"
|
|
6299
7367
|
},
|
|
6300
|
-
"default": "
|
|
6301
|
-
"attribute": "
|
|
7368
|
+
"default": "false",
|
|
7369
|
+
"attribute": "sortable",
|
|
7370
|
+
"reflects": true
|
|
6302
7371
|
},
|
|
6303
7372
|
{
|
|
6304
7373
|
"kind": "field",
|
|
6305
|
-
"name": "
|
|
7374
|
+
"name": "bordered",
|
|
6306
7375
|
"type": {
|
|
6307
7376
|
"text": "boolean"
|
|
6308
7377
|
},
|
|
6309
7378
|
"default": "false",
|
|
6310
|
-
"attribute": "
|
|
7379
|
+
"attribute": "bordered",
|
|
6311
7380
|
"reflects": true
|
|
6312
7381
|
},
|
|
6313
7382
|
{
|
|
6314
7383
|
"kind": "field",
|
|
6315
|
-
"name": "
|
|
7384
|
+
"name": "download",
|
|
6316
7385
|
"type": {
|
|
6317
|
-
"text": "
|
|
7386
|
+
"text": "string"
|
|
7387
|
+
},
|
|
7388
|
+
"default": "\"\"",
|
|
7389
|
+
"attribute": "download",
|
|
7390
|
+
"reflects": true
|
|
7391
|
+
},
|
|
7392
|
+
{
|
|
7393
|
+
"kind": "field",
|
|
7394
|
+
"name": "_sortColumn",
|
|
7395
|
+
"type": {
|
|
7396
|
+
"text": "number | null"
|
|
6318
7397
|
},
|
|
6319
7398
|
"privacy": "private",
|
|
6320
|
-
"default": "
|
|
7399
|
+
"default": "null"
|
|
7400
|
+
},
|
|
7401
|
+
{
|
|
7402
|
+
"kind": "field",
|
|
7403
|
+
"name": "_sortDirection",
|
|
7404
|
+
"type": {
|
|
7405
|
+
"text": "\"asc\" | \"desc\" | \"none\""
|
|
7406
|
+
},
|
|
7407
|
+
"privacy": "private",
|
|
7408
|
+
"default": "\"none\""
|
|
7409
|
+
},
|
|
7410
|
+
{
|
|
7411
|
+
"kind": "field",
|
|
7412
|
+
"name": "_captionText",
|
|
7413
|
+
"type": {
|
|
7414
|
+
"text": "string"
|
|
7415
|
+
},
|
|
7416
|
+
"privacy": "private",
|
|
7417
|
+
"default": "\"\""
|
|
6321
7418
|
},
|
|
6322
7419
|
{
|
|
6323
7420
|
"kind": "method",
|
|
6324
|
-
"name": "
|
|
6325
|
-
"privacy": "private"
|
|
7421
|
+
"name": "_handleSlotChange"
|
|
6326
7422
|
},
|
|
6327
7423
|
{
|
|
6328
7424
|
"kind": "method",
|
|
6329
|
-
"name": "
|
|
6330
|
-
"privacy": "private",
|
|
7425
|
+
"name": "_normalizeTable",
|
|
6331
7426
|
"parameters": [
|
|
6332
7427
|
{
|
|
6333
|
-
"name": "
|
|
7428
|
+
"name": "table",
|
|
6334
7429
|
"type": {
|
|
6335
|
-
"text": "
|
|
7430
|
+
"text": "HTMLTableElement"
|
|
6336
7431
|
}
|
|
6337
7432
|
}
|
|
6338
7433
|
]
|
|
6339
7434
|
},
|
|
6340
7435
|
{
|
|
6341
|
-
"kind": "
|
|
6342
|
-
"name": "
|
|
6343
|
-
"
|
|
7436
|
+
"kind": "method",
|
|
7437
|
+
"name": "_addSortIcons",
|
|
7438
|
+
"parameters": [
|
|
7439
|
+
{
|
|
7440
|
+
"name": "table",
|
|
7441
|
+
"type": {
|
|
7442
|
+
"text": "HTMLTableElement"
|
|
7443
|
+
}
|
|
7444
|
+
}
|
|
7445
|
+
]
|
|
6344
7446
|
},
|
|
6345
7447
|
{
|
|
6346
7448
|
"kind": "method",
|
|
6347
|
-
"name": "
|
|
6348
|
-
"
|
|
7449
|
+
"name": "_updateSortIcons",
|
|
7450
|
+
"parameters": [
|
|
7451
|
+
{
|
|
7452
|
+
"name": "table",
|
|
7453
|
+
"type": {
|
|
7454
|
+
"text": "HTMLTableElement"
|
|
7455
|
+
}
|
|
7456
|
+
}
|
|
7457
|
+
]
|
|
6349
7458
|
},
|
|
6350
7459
|
{
|
|
6351
7460
|
"kind": "method",
|
|
6352
|
-
"name": "
|
|
6353
|
-
"
|
|
7461
|
+
"name": "_onSortClick",
|
|
7462
|
+
"parameters": [
|
|
7463
|
+
{
|
|
7464
|
+
"name": "columnIndex",
|
|
7465
|
+
"type": {
|
|
7466
|
+
"text": "number"
|
|
7467
|
+
}
|
|
7468
|
+
},
|
|
7469
|
+
{
|
|
7470
|
+
"name": "table",
|
|
7471
|
+
"type": {
|
|
7472
|
+
"text": "HTMLTableElement"
|
|
7473
|
+
}
|
|
7474
|
+
}
|
|
7475
|
+
]
|
|
6354
7476
|
},
|
|
6355
7477
|
{
|
|
6356
7478
|
"kind": "method",
|
|
6357
|
-
"name": "
|
|
6358
|
-
"privacy": "private",
|
|
7479
|
+
"name": "_sortTable",
|
|
6359
7480
|
"parameters": [
|
|
6360
7481
|
{
|
|
6361
|
-
"name": "
|
|
7482
|
+
"name": "table",
|
|
6362
7483
|
"type": {
|
|
6363
|
-
"text": "
|
|
7484
|
+
"text": "HTMLTableElement"
|
|
7485
|
+
}
|
|
7486
|
+
},
|
|
7487
|
+
{
|
|
7488
|
+
"name": "columnIndex",
|
|
7489
|
+
"type": {
|
|
7490
|
+
"text": "number"
|
|
7491
|
+
}
|
|
7492
|
+
},
|
|
7493
|
+
{
|
|
7494
|
+
"name": "direction",
|
|
7495
|
+
"type": {
|
|
7496
|
+
"text": "\"asc\" | \"desc\""
|
|
7497
|
+
}
|
|
7498
|
+
}
|
|
7499
|
+
]
|
|
7500
|
+
},
|
|
7501
|
+
{
|
|
7502
|
+
"kind": "method",
|
|
7503
|
+
"name": "_updateSortedColumnStyles",
|
|
7504
|
+
"parameters": [
|
|
7505
|
+
{
|
|
7506
|
+
"name": "table",
|
|
7507
|
+
"type": {
|
|
7508
|
+
"text": "HTMLTableElement"
|
|
6364
7509
|
}
|
|
6365
7510
|
}
|
|
6366
7511
|
]
|
|
7512
|
+
},
|
|
7513
|
+
{
|
|
7514
|
+
"kind": "method",
|
|
7515
|
+
"name": "downloadFile"
|
|
7516
|
+
}
|
|
7517
|
+
],
|
|
7518
|
+
"events": [
|
|
7519
|
+
{
|
|
7520
|
+
"description": "Fired when the download button or sortable headers are clicked.",
|
|
7521
|
+
"name": "nys-click"
|
|
6367
7522
|
}
|
|
6368
7523
|
],
|
|
6369
7524
|
"attributes": [
|
|
@@ -6384,53 +7539,61 @@
|
|
|
6384
7539
|
"fieldName": "name"
|
|
6385
7540
|
},
|
|
6386
7541
|
{
|
|
6387
|
-
"name": "
|
|
7542
|
+
"name": "striped",
|
|
6388
7543
|
"type": {
|
|
6389
|
-
"text": "
|
|
7544
|
+
"text": "boolean"
|
|
6390
7545
|
},
|
|
6391
|
-
"default": "
|
|
6392
|
-
"fieldName": "
|
|
7546
|
+
"default": "false",
|
|
7547
|
+
"fieldName": "striped"
|
|
6393
7548
|
},
|
|
6394
7549
|
{
|
|
6395
|
-
"name": "
|
|
7550
|
+
"name": "sortable",
|
|
6396
7551
|
"type": {
|
|
6397
|
-
"text": "
|
|
7552
|
+
"text": "boolean"
|
|
6398
7553
|
},
|
|
6399
|
-
"default": "
|
|
6400
|
-
"fieldName": "
|
|
7554
|
+
"default": "false",
|
|
7555
|
+
"fieldName": "sortable"
|
|
6401
7556
|
},
|
|
6402
7557
|
{
|
|
6403
|
-
"name": "
|
|
7558
|
+
"name": "bordered",
|
|
6404
7559
|
"type": {
|
|
6405
7560
|
"text": "boolean"
|
|
6406
7561
|
},
|
|
6407
7562
|
"default": "false",
|
|
6408
|
-
"fieldName": "
|
|
7563
|
+
"fieldName": "bordered"
|
|
7564
|
+
},
|
|
7565
|
+
{
|
|
7566
|
+
"name": "download",
|
|
7567
|
+
"type": {
|
|
7568
|
+
"text": "string"
|
|
7569
|
+
},
|
|
7570
|
+
"default": "\"\"",
|
|
7571
|
+
"fieldName": "download"
|
|
6409
7572
|
}
|
|
6410
7573
|
],
|
|
6411
7574
|
"superclass": {
|
|
6412
7575
|
"name": "LitElement",
|
|
6413
7576
|
"package": "lit"
|
|
6414
7577
|
},
|
|
6415
|
-
"tagName": "nys-
|
|
7578
|
+
"tagName": "nys-table",
|
|
6416
7579
|
"customElement": true
|
|
6417
7580
|
}
|
|
6418
7581
|
],
|
|
6419
7582
|
"exports": [
|
|
6420
7583
|
{
|
|
6421
7584
|
"kind": "custom-element-definition",
|
|
6422
|
-
"name": "nys-
|
|
7585
|
+
"name": "nys-table",
|
|
6423
7586
|
"declaration": {
|
|
6424
|
-
"name": "
|
|
6425
|
-
"module": "packages/nys-
|
|
7587
|
+
"name": "NysTable",
|
|
7588
|
+
"module": "packages/nys-table/src/nys-table.ts"
|
|
6426
7589
|
}
|
|
6427
7590
|
},
|
|
6428
7591
|
{
|
|
6429
7592
|
"kind": "js",
|
|
6430
|
-
"name": "
|
|
7593
|
+
"name": "NysTable",
|
|
6431
7594
|
"declaration": {
|
|
6432
|
-
"name": "
|
|
6433
|
-
"module": "packages/nys-
|
|
7595
|
+
"name": "NysTable",
|
|
7596
|
+
"module": "packages/nys-table/src/nys-table.ts"
|
|
6434
7597
|
}
|
|
6435
7598
|
}
|
|
6436
7599
|
]
|
|
@@ -6456,8 +7619,14 @@
|
|
|
6456
7619
|
"declarations": [
|
|
6457
7620
|
{
|
|
6458
7621
|
"kind": "class",
|
|
6459
|
-
"description": "",
|
|
7622
|
+
"description": "`<nys-textarea>` is a form-enabled textarea with validation, accessibility support,\nand live error messages. Integrates with forms via ElementInternals.",
|
|
6460
7623
|
"name": "NysTextarea",
|
|
7624
|
+
"slots": [
|
|
7625
|
+
{
|
|
7626
|
+
"description": "Optional slot for custom description content below the label.",
|
|
7627
|
+
"name": "description"
|
|
7628
|
+
}
|
|
7629
|
+
],
|
|
6461
7630
|
"members": [
|
|
6462
7631
|
{
|
|
6463
7632
|
"kind": "field",
|
|
@@ -6665,16 +7834,14 @@
|
|
|
6665
7834
|
"text": "boolean"
|
|
6666
7835
|
},
|
|
6667
7836
|
"static": true,
|
|
6668
|
-
"default": "true"
|
|
6669
|
-
|
|
6670
|
-
{
|
|
6671
|
-
"kind": "method",
|
|
6672
|
-
"name": "formResetCallback"
|
|
7837
|
+
"default": "true",
|
|
7838
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
6673
7839
|
},
|
|
6674
7840
|
{
|
|
6675
7841
|
"kind": "method",
|
|
6676
7842
|
"name": "_setValue",
|
|
6677
|
-
"privacy": "private"
|
|
7843
|
+
"privacy": "private",
|
|
7844
|
+
"description": "Form Integration\n--------------------------------------------------------------------------"
|
|
6678
7845
|
},
|
|
6679
7846
|
{
|
|
6680
7847
|
"kind": "method",
|
|
@@ -6700,6 +7867,10 @@
|
|
|
6700
7867
|
"name": "_validate",
|
|
6701
7868
|
"privacy": "private"
|
|
6702
7869
|
},
|
|
7870
|
+
{
|
|
7871
|
+
"kind": "method",
|
|
7872
|
+
"name": "formResetCallback"
|
|
7873
|
+
},
|
|
6703
7874
|
{
|
|
6704
7875
|
"kind": "method",
|
|
6705
7876
|
"name": "checkValidity",
|
|
@@ -6707,7 +7878,8 @@
|
|
|
6707
7878
|
"type": {
|
|
6708
7879
|
"text": "boolean"
|
|
6709
7880
|
}
|
|
6710
|
-
}
|
|
7881
|
+
},
|
|
7882
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
6711
7883
|
},
|
|
6712
7884
|
{
|
|
6713
7885
|
"kind": "method",
|
|
@@ -6733,7 +7905,8 @@
|
|
|
6733
7905
|
"text": "Event"
|
|
6734
7906
|
}
|
|
6735
7907
|
}
|
|
6736
|
-
]
|
|
7908
|
+
],
|
|
7909
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
6737
7910
|
},
|
|
6738
7911
|
{
|
|
6739
7912
|
"kind": "method",
|
|
@@ -6777,31 +7950,36 @@
|
|
|
6777
7950
|
"name": "nys-input",
|
|
6778
7951
|
"type": {
|
|
6779
7952
|
"text": "CustomEvent"
|
|
6780
|
-
}
|
|
7953
|
+
},
|
|
7954
|
+
"description": "Fired on input, detail: `{ id, value }`"
|
|
6781
7955
|
},
|
|
6782
7956
|
{
|
|
6783
7957
|
"name": "nys-focus",
|
|
6784
7958
|
"type": {
|
|
6785
7959
|
"text": "Event"
|
|
6786
|
-
}
|
|
7960
|
+
},
|
|
7961
|
+
"description": "Fired on focus."
|
|
6787
7962
|
},
|
|
6788
7963
|
{
|
|
6789
7964
|
"name": "nys-blur",
|
|
6790
7965
|
"type": {
|
|
6791
7966
|
"text": "Event"
|
|
6792
|
-
}
|
|
7967
|
+
},
|
|
7968
|
+
"description": "Fired on blur."
|
|
6793
7969
|
},
|
|
6794
7970
|
{
|
|
6795
7971
|
"name": "nys-select",
|
|
6796
7972
|
"type": {
|
|
6797
7973
|
"text": "CustomEvent"
|
|
6798
|
-
}
|
|
7974
|
+
},
|
|
7975
|
+
"description": "Fired on text selection, detail: `{ id, value }`"
|
|
6799
7976
|
},
|
|
6800
7977
|
{
|
|
6801
7978
|
"name": "nys-selectionchange",
|
|
6802
7979
|
"type": {
|
|
6803
7980
|
"text": "CustomEvent"
|
|
6804
|
-
}
|
|
7981
|
+
},
|
|
7982
|
+
"description": "Fired on selection change, detail: `{ id, value }`"
|
|
6805
7983
|
}
|
|
6806
7984
|
],
|
|
6807
7985
|
"attributes": [
|
|
@@ -7006,8 +8184,22 @@
|
|
|
7006
8184
|
"declarations": [
|
|
7007
8185
|
{
|
|
7008
8186
|
"kind": "class",
|
|
7009
|
-
"description": "",
|
|
8187
|
+
"description": "`<nys-textinput>` is a form-enabled text input with validation, optional\nmasking, password toggle, accessibility support, and live error messages.\nWorks with forms via ElementInternals.",
|
|
7010
8188
|
"name": "NysTextinput",
|
|
8189
|
+
"slots": [
|
|
8190
|
+
{
|
|
8191
|
+
"description": "Optional custom description content below the label.",
|
|
8192
|
+
"name": "description"
|
|
8193
|
+
},
|
|
8194
|
+
{
|
|
8195
|
+
"description": "Slot for a single <nys-button> at the start of the input.",
|
|
8196
|
+
"name": "startButton"
|
|
8197
|
+
},
|
|
8198
|
+
{
|
|
8199
|
+
"description": "Slot for a single <nys-button> at the end of the input.",
|
|
8200
|
+
"name": "endButton"
|
|
8201
|
+
}
|
|
8202
|
+
],
|
|
7011
8203
|
"members": [
|
|
7012
8204
|
{
|
|
7013
8205
|
"kind": "field",
|
|
@@ -7269,16 +8461,14 @@
|
|
|
7269
8461
|
"text": "boolean"
|
|
7270
8462
|
},
|
|
7271
8463
|
"static": true,
|
|
7272
|
-
"default": "true"
|
|
7273
|
-
|
|
7274
|
-
{
|
|
7275
|
-
"kind": "method",
|
|
7276
|
-
"name": "formResetCallback"
|
|
8464
|
+
"default": "true",
|
|
8465
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
7277
8466
|
},
|
|
7278
8467
|
{
|
|
7279
8468
|
"kind": "method",
|
|
7280
8469
|
"name": "_setValue",
|
|
7281
|
-
"privacy": "private"
|
|
8470
|
+
"privacy": "private",
|
|
8471
|
+
"description": "Form Integration\n--------------------------------------------------------------------------"
|
|
7282
8472
|
},
|
|
7283
8473
|
{
|
|
7284
8474
|
"kind": "method",
|
|
@@ -7304,6 +8494,10 @@
|
|
|
7304
8494
|
"name": "_validate",
|
|
7305
8495
|
"privacy": "private"
|
|
7306
8496
|
},
|
|
8497
|
+
{
|
|
8498
|
+
"kind": "method",
|
|
8499
|
+
"name": "formResetCallback"
|
|
8500
|
+
},
|
|
7307
8501
|
{
|
|
7308
8502
|
"kind": "method",
|
|
7309
8503
|
"name": "checkValidity",
|
|
@@ -7311,7 +8505,8 @@
|
|
|
7311
8505
|
"type": {
|
|
7312
8506
|
"text": "boolean"
|
|
7313
8507
|
}
|
|
7314
|
-
}
|
|
8508
|
+
},
|
|
8509
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
7315
8510
|
},
|
|
7316
8511
|
{
|
|
7317
8512
|
"kind": "method",
|
|
@@ -7385,7 +8580,8 @@
|
|
|
7385
8580
|
"text": "Event"
|
|
7386
8581
|
}
|
|
7387
8582
|
}
|
|
7388
|
-
]
|
|
8583
|
+
],
|
|
8584
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
7389
8585
|
},
|
|
7390
8586
|
{
|
|
7391
8587
|
"kind": "method",
|
|
@@ -7416,19 +8612,22 @@
|
|
|
7416
8612
|
"name": "nys-input",
|
|
7417
8613
|
"type": {
|
|
7418
8614
|
"text": "CustomEvent"
|
|
7419
|
-
}
|
|
8615
|
+
},
|
|
8616
|
+
"description": "Fired on input change. Detail: `{ id, value }`."
|
|
7420
8617
|
},
|
|
7421
8618
|
{
|
|
7422
8619
|
"name": "nys-focus",
|
|
7423
8620
|
"type": {
|
|
7424
8621
|
"text": "Event"
|
|
7425
|
-
}
|
|
8622
|
+
},
|
|
8623
|
+
"description": "Fired when input receives focus."
|
|
7426
8624
|
},
|
|
7427
8625
|
{
|
|
7428
8626
|
"name": "nys-blur",
|
|
7429
8627
|
"type": {
|
|
7430
8628
|
"text": "Event"
|
|
7431
|
-
}
|
|
8629
|
+
},
|
|
8630
|
+
"description": "Fired when input loses focus."
|
|
7432
8631
|
}
|
|
7433
8632
|
],
|
|
7434
8633
|
"attributes": [
|
|
@@ -7657,8 +8856,14 @@
|
|
|
7657
8856
|
"declarations": [
|
|
7658
8857
|
{
|
|
7659
8858
|
"kind": "class",
|
|
7660
|
-
"description": "",
|
|
8859
|
+
"description": "`<nys-toggle>` is a form-associated toggle switch with label, description,\nsize variants, inverted styles, and optional icons. Supports keyboard\ninteraction and integrates with forms via ElementInternals.",
|
|
7661
8860
|
"name": "NysToggle",
|
|
8861
|
+
"slots": [
|
|
8862
|
+
{
|
|
8863
|
+
"description": "Optional slot to provide additional description below the label.",
|
|
8864
|
+
"name": "description"
|
|
8865
|
+
}
|
|
8866
|
+
],
|
|
7662
8867
|
"members": [
|
|
7663
8868
|
{
|
|
7664
8869
|
"kind": "field",
|
|
@@ -7781,12 +8986,14 @@
|
|
|
7781
8986
|
"text": "boolean"
|
|
7782
8987
|
},
|
|
7783
8988
|
"static": true,
|
|
7784
|
-
"default": "true"
|
|
8989
|
+
"default": "true",
|
|
8990
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
7785
8991
|
},
|
|
7786
8992
|
{
|
|
7787
8993
|
"kind": "method",
|
|
7788
8994
|
"name": "_emitChangeEvent",
|
|
7789
|
-
"privacy": "private"
|
|
8995
|
+
"privacy": "private",
|
|
8996
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
7790
8997
|
},
|
|
7791
8998
|
{
|
|
7792
8999
|
"kind": "method",
|
|
@@ -7830,19 +9037,22 @@
|
|
|
7830
9037
|
"name": "nys-change",
|
|
7831
9038
|
"type": {
|
|
7832
9039
|
"text": "CustomEvent"
|
|
7833
|
-
}
|
|
9040
|
+
},
|
|
9041
|
+
"description": "Fired when toggle changes state. Detail: `{ id, checked }`."
|
|
7834
9042
|
},
|
|
7835
9043
|
{
|
|
7836
9044
|
"name": "nys-focus",
|
|
7837
9045
|
"type": {
|
|
7838
9046
|
"text": "Event"
|
|
7839
|
-
}
|
|
9047
|
+
},
|
|
9048
|
+
"description": "Fired when toggle receives focus."
|
|
7840
9049
|
},
|
|
7841
9050
|
{
|
|
7842
9051
|
"name": "nys-blur",
|
|
7843
9052
|
"type": {
|
|
7844
9053
|
"text": "Event"
|
|
7845
|
-
}
|
|
9054
|
+
},
|
|
9055
|
+
"description": "Fired when toggle loses focus."
|
|
7846
9056
|
}
|
|
7847
9057
|
],
|
|
7848
9058
|
"attributes": [
|
|
@@ -7983,7 +9193,7 @@
|
|
|
7983
9193
|
"declarations": [
|
|
7984
9194
|
{
|
|
7985
9195
|
"kind": "class",
|
|
7986
|
-
"description": "",
|
|
9196
|
+
"description": "`<nys-tooltip>` is a custom tooltip component for NYS design system elements.\nIt supports dynamic positioning, screen-reader accessibility, keyboard interaction,\nand viewport overflow handling.\n\nThe tooltip automatically positions itself relative to a target element specified\nvia the `for` attribute, but can also respect a user-defined position.",
|
|
7987
9197
|
"name": "NysTooltip",
|
|
7988
9198
|
"members": [
|
|
7989
9199
|
{
|
|
@@ -8087,7 +9297,8 @@
|
|
|
8087
9297
|
{
|
|
8088
9298
|
"kind": "field",
|
|
8089
9299
|
"name": "_showTooltip",
|
|
8090
|
-
"privacy": "private"
|
|
9300
|
+
"privacy": "private",
|
|
9301
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
8091
9302
|
},
|
|
8092
9303
|
{
|
|
8093
9304
|
"kind": "field",
|
|
@@ -8135,7 +9346,8 @@
|
|
|
8135
9346
|
{
|
|
8136
9347
|
"kind": "method",
|
|
8137
9348
|
"name": "_getReferenceElement",
|
|
8138
|
-
"privacy": "private"
|
|
9349
|
+
"privacy": "private",
|
|
9350
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
8139
9351
|
},
|
|
8140
9352
|
{
|
|
8141
9353
|
"kind": "method",
|
|
@@ -8276,6 +9488,16 @@
|
|
|
8276
9488
|
]
|
|
8277
9489
|
}
|
|
8278
9490
|
],
|
|
9491
|
+
"events": [
|
|
9492
|
+
{
|
|
9493
|
+
"description": "Dispatched when the reference element receives focus (via keyboard or programmatically).",
|
|
9494
|
+
"name": "nys-focus"
|
|
9495
|
+
},
|
|
9496
|
+
{
|
|
9497
|
+
"description": "Dispatched when the reference element loses focus or mouse leaves the tooltip. Notes: - Tooltip visibility is automatically managed on hover/focus of the reference element. - The component adjusts position dynamically to prevent overflow off-screen. - Supports keyboard dismissal with the Escape key.",
|
|
9498
|
+
"name": "nys-blur"
|
|
9499
|
+
}
|
|
9500
|
+
],
|
|
8279
9501
|
"attributes": [
|
|
8280
9502
|
{
|
|
8281
9503
|
"name": "id",
|
|
@@ -8362,13 +9584,14 @@
|
|
|
8362
9584
|
"declarations": [
|
|
8363
9585
|
{
|
|
8364
9586
|
"kind": "class",
|
|
8365
|
-
"description": "",
|
|
9587
|
+
"description": "`<nys-unavfooter>` is a footer component for New York State websites.\nIt displays the official NYS logo linking to ny.gov and a set of primary navigation links.\n\nFeatures:\n- Renders the NYS logo as an inline SVG linking to https://www.ny.gov\n- Provides key navigation links",
|
|
8366
9588
|
"name": "NysUnavFooter",
|
|
8367
9589
|
"members": [
|
|
8368
9590
|
{
|
|
8369
9591
|
"kind": "method",
|
|
8370
9592
|
"name": "_getNysLogo",
|
|
8371
|
-
"privacy": "private"
|
|
9593
|
+
"privacy": "private",
|
|
9594
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
8372
9595
|
}
|
|
8373
9596
|
],
|
|
8374
9597
|
"superclass": {
|
|
@@ -8419,7 +9642,7 @@
|
|
|
8419
9642
|
"declarations": [
|
|
8420
9643
|
{
|
|
8421
9644
|
"kind": "class",
|
|
8422
|
-
"description": "",
|
|
9645
|
+
"description": "`<nys-unavheader>` is a universal header for New York State websites.\n\nFeatures:\n- Trust bar indicating official NYS site status, with expandable details\n- NYS logo linking to the homepage\n- Search bar with dropdown behavior for mobile and desktop\n- Language translation dropdown supporting multiple languages\n- Accessible interactions with ARIA attributes and keyboard handling",
|
|
8423
9646
|
"name": "NysUnavHeader",
|
|
8424
9647
|
"members": [
|
|
8425
9648
|
{
|
|
@@ -8490,7 +9713,8 @@
|
|
|
8490
9713
|
{
|
|
8491
9714
|
"kind": "method",
|
|
8492
9715
|
"name": "_getNysLogo",
|
|
8493
|
-
"privacy": "private"
|
|
9716
|
+
"privacy": "private",
|
|
9717
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
8494
9718
|
},
|
|
8495
9719
|
{
|
|
8496
9720
|
"kind": "method",
|