@nysds/components 1.21.1 → 1.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1562 -1029
- package/dist/.vscode/vscode.css-custom-data.json +75 -0
- package/dist/.vscode/vscode.html-custom-data.json +129 -60
- package/dist/custom-elements.json +1562 -1029
- package/dist/{nys-icon.library-BxwfG3ym-D4Dl8jc_.js → nys-icon.library-715cAMBp-BmiCym2_.js} +3 -3
- package/dist/{nys-icon.library-BxwfG3ym-D4Dl8jc_.js.map → nys-icon.library-715cAMBp-BmiCym2_.js.map} +1 -1
- package/dist/{nys-icon.library-C02yNW9R.js → nys-icon.library-C0_LOBWi.js} +2 -2
- package/dist/{nys-icon.library-C02yNW9R.js.map → nys-icon.library-C0_LOBWi.js.map} +1 -1
- package/dist/nysds.es.js +5074 -3645
- package/dist/nysds.es.js.map +1 -1
- package/dist/nysds.js +252 -248
- package/dist/nysds.js.map +1 -1
- package/dist/packages/codegen/src/index.d.ts +16 -0
- package/dist/packages/codegen/src/manifest/components.d.ts +5 -0
- package/dist/packages/codegen/src/manifest/filters.d.ts +5 -0
- package/dist/packages/codegen/src/manifest/form-control.d.ts +5 -0
- package/dist/packages/codegen/src/manifest/load.d.ts +10 -0
- package/dist/packages/codegen/src/manifest/naming.d.ts +6 -0
- package/dist/packages/codegen/src/manifest/packages.d.ts +5 -0
- package/dist/packages/codegen/src/manifest/types.d.ts +6 -0
- package/dist/packages/codegen/src/transform/index.d.ts +19 -0
- package/dist/packages/codegen/src/transform/parse.d.ts +18 -0
- package/dist/packages/codegen/src/transform/shared.d.ts +61 -0
- package/dist/packages/codegen/src/transform/to-angular.d.ts +6 -0
- package/dist/packages/codegen/src/transform/to-jsx.d.ts +6 -0
- package/dist/packages/internals/src/form-control-mixin.d.ts +16 -0
- package/dist/packages/internals/src/form-events.d.ts +22 -0
- package/dist/packages/internals/src/index.d.ts +2 -1
- package/dist/packages/internals/src/types.d.ts +6 -0
- package/dist/packages/mcp-server/src/lib/cem-parser.d.ts +12 -0
- package/dist/packages/mcp-server/src/lib/framework-snippets.d.ts +35 -0
- package/dist/packages/mcp-server/src/lib/framework-usage.d.ts +19 -0
- package/dist/packages/mcp-server/src/lib/frameworks-data.d.ts +18 -0
- package/dist/packages/mcp-server/src/resources/frameworks.d.ts +14 -0
- package/dist/packages/nys-accordion/src/nys-accordion.d.ts +12 -0
- package/dist/packages/nys-accordion/src/nys-accordionitem.d.ts +9 -1
- package/dist/packages/nys-alert/src/nys-alert.d.ts +39 -1
- package/dist/packages/nys-avatar/src/nys-avatar.d.ts +16 -0
- package/dist/packages/nys-backtotop/src/nys-backtotop.d.ts +12 -0
- package/dist/packages/nys-badge/src/nys-badge.d.ts +18 -0
- package/dist/packages/nys-breadcrumbs/src/nys-breadcrumbs.d.ts +22 -1
- package/dist/packages/nys-button/src/nys-button.d.ts +35 -4
- package/dist/packages/nys-card/src/nys-card.d.ts +20 -0
- package/dist/packages/nys-checkbox/src/nys-checkbox.d.ts +77 -7
- package/dist/packages/nys-checkbox/src/nys-checkboxgroup.d.ts +46 -0
- package/dist/packages/nys-combobox/src/nys-combobox.d.ts +51 -6
- package/dist/packages/nys-datepicker/src/nys-datepicker.d.ts +44 -2
- package/dist/packages/nys-divider/src/nys-divider.d.ts +9 -0
- package/dist/packages/nys-dropdownmenu/src/nys-dropdownmenu.d.ts +43 -0
- package/dist/packages/nys-dropdownmenu/src/nys-dropdownmenuitem.d.ts +21 -1
- package/dist/packages/nys-fileinput/src/index.d.ts +1 -0
- package/dist/packages/nys-fileinput/src/nys-fileinput.d.ts +42 -6
- package/dist/packages/nys-fileinput/src/nys-fileitem.d.ts +9 -1
- package/dist/packages/nys-globalfooter/src/nys-globalfooter.d.ts +17 -0
- package/dist/packages/nys-globalheader/src/nys-globalheader.d.ts +18 -0
- package/dist/packages/nys-icon/src/nys-icon.d.ts +18 -0
- package/dist/packages/nys-iconlist/src/nys-iconlist.d.ts +16 -0
- package/dist/packages/nys-label/src/nys-label.d.ts +3 -1
- package/dist/packages/nys-modal/src/nys-modal.d.ts +26 -2
- package/dist/packages/nys-pagination/src/nys-pagination.d.ts +21 -2
- package/dist/packages/nys-processlist/src/nys-processlist.d.ts +16 -0
- package/dist/packages/nys-processlist/src/nys-processlistitem.d.ts +1 -1
- package/dist/packages/nys-radiobutton/src/nys-radiobutton.d.ts +29 -5
- package/dist/packages/nys-radiobutton/src/nys-radiogroup.d.ts +66 -4
- package/dist/packages/nys-select/src/nys-select.d.ts +22 -4
- package/dist/packages/nys-skipnav/src/nys-skipnav.d.ts +8 -0
- package/dist/packages/nys-stepper/src/nys-step.d.ts +8 -1
- package/dist/packages/nys-stepper/src/nys-stepper.d.ts +8 -0
- package/dist/packages/nys-tab/src/nys-tab.d.ts +22 -3
- package/dist/packages/nys-tab/src/nys-tabgroup.d.ts +12 -0
- package/dist/packages/nys-tab/src/nys-tabpanel.d.ts +2 -0
- package/dist/packages/nys-table/src/nys-table.d.ts +39 -2
- package/dist/packages/nys-textarea/src/nys-textarea.d.ts +47 -4
- package/dist/packages/nys-textinput/src/nys-textinput.d.ts +42 -4
- package/dist/packages/nys-toggle/src/nys-toggle.d.ts +37 -3
- package/dist/packages/nys-tooltip/src/nys-tooltip.d.ts +13 -0
- package/dist/packages/nys-unavfooter/src/nys-unavfooter.d.ts +13 -0
- package/dist/packages/nys-unavheader/src/nys-unavheader.d.ts +26 -4
- package/dist/packages/nys-verticalnav/src/nys-verticalnav.d.ts +14 -0
- package/dist/packages/nys-verticalnav/src/nys-verticalnavgroup.d.ts +11 -0
- package/dist/packages/nys-video/src/nys-video.d.ts +14 -1
- package/package.json +31 -26
- package/packages/react/.turbo/turbo-build.log +0 -59
- package/packages/react/NysAccordion.d.ts +0 -75
- package/packages/react/NysAccordion.js +0 -24
- package/packages/react/NysAccordionItem.d.ts +0 -82
- package/packages/react/NysAccordionItem.js +0 -43
- package/packages/react/NysAlert.d.ts +0 -102
- package/packages/react/NysAlert.js +0 -61
- package/packages/react/NysAvatar.d.ts +0 -88
- package/packages/react/NysAvatar.js +0 -40
- package/packages/react/NysBacktotop.d.ts +0 -57
- package/packages/react/NysBacktotop.js +0 -23
- package/packages/react/NysBadge.d.ts +0 -78
- package/packages/react/NysBadge.js +0 -42
- package/packages/react/NysBreadcrumbItem.d.ts +0 -72
- package/packages/react/NysBreadcrumbItem.js +0 -42
- package/packages/react/NysBreadcrumbs.d.ts +0 -89
- package/packages/react/NysBreadcrumbs.js +0 -50
- package/packages/react/NysButton.d.ts +0 -171
- package/packages/react/NysButton.js +0 -83
- package/packages/react/NysCard.d.ts +0 -121
- package/packages/react/NysCard.js +0 -63
- package/packages/react/NysCheckbox.d.ts +0 -145
- package/packages/react/NysCheckbox.js +0 -78
- package/packages/react/NysCheckboxgroup.d.ts +0 -88
- package/packages/react/NysCheckboxgroup.js +0 -46
- package/packages/react/NysCombobox.d.ts +0 -126
- package/packages/react/NysCombobox.js +0 -66
- package/packages/react/NysDatepicker.d.ts +0 -128
- package/packages/react/NysDatepicker.js +0 -76
- package/packages/react/NysDivider.d.ts +0 -54
- package/packages/react/NysDivider.js +0 -22
- package/packages/react/NysDropdownMenu.d.ts +0 -59
- package/packages/react/NysDropdownMenu.js +0 -23
- package/packages/react/NysDropdownMenuItem.d.ts +0 -75
- package/packages/react/NysDropdownMenuItem.js +0 -47
- package/packages/react/NysErrorMessage.d.ts +0 -60
- package/packages/react/NysErrorMessage.js +0 -24
- package/packages/react/NysFileItem.d.ts +0 -69
- package/packages/react/NysFileItem.js +0 -37
- package/packages/react/NysFileinput.d.ts +0 -130
- package/packages/react/NysFileinput.js +0 -74
- package/packages/react/NysGlobalFooter.d.ts +0 -77
- package/packages/react/NysGlobalFooter.js +0 -32
- package/packages/react/NysGlobalHeader.d.ts +0 -82
- package/packages/react/NysGlobalHeader.js +0 -32
- package/packages/react/NysIcon.d.ts +0 -75
- package/packages/react/NysIcon.js +0 -50
- package/packages/react/NysIconlist.d.ts +0 -57
- package/packages/react/NysIconlist.js +0 -23
- package/packages/react/NysIconlistitem.d.ts +0 -63
- package/packages/react/NysIconlistitem.js +0 -23
- package/packages/react/NysLabel.d.ts +0 -81
- package/packages/react/NysLabel.js +0 -40
- package/packages/react/NysModal.d.ts +0 -90
- package/packages/react/NysModal.js +0 -50
- package/packages/react/NysOption.d.ts +0 -66
- package/packages/react/NysOption.js +0 -25
- package/packages/react/NysPagination.d.ts +0 -72
- package/packages/react/NysPagination.js +0 -45
- package/packages/react/NysProcesslist.d.ts +0 -65
- package/packages/react/NysProcesslist.js +0 -25
- package/packages/react/NysProcesslistitem.d.ts +0 -61
- package/packages/react/NysProcesslistitem.js +0 -35
- package/packages/react/NysRadiobutton.d.ts +0 -132
- package/packages/react/NysRadiobutton.js +0 -72
- package/packages/react/NysRadiogroup.d.ts +0 -104
- package/packages/react/NysRadiogroup.js +0 -62
- package/packages/react/NysSelect.d.ts +0 -119
- package/packages/react/NysSelect.js +0 -67
- package/packages/react/NysSkipnav.d.ts +0 -54
- package/packages/react/NysSkipnav.js +0 -22
- package/packages/react/NysStep.d.ts +0 -73
- package/packages/react/NysStep.js +0 -40
- package/packages/react/NysStepper.d.ts +0 -67
- package/packages/react/NysStepper.js +0 -26
- package/packages/react/NysTab.d.ts +0 -90
- package/packages/react/NysTab.js +0 -39
- package/packages/react/NysTabgroup.d.ts +0 -76
- package/packages/react/NysTabgroup.js +0 -22
- package/packages/react/NysTable.d.ts +0 -80
- package/packages/react/NysTable.js +0 -41
- package/packages/react/NysTabpanel.d.ts +0 -70
- package/packages/react/NysTabpanel.js +0 -21
- package/packages/react/NysTextarea.d.ts +0 -141
- package/packages/react/NysTextarea.js +0 -79
- package/packages/react/NysTextinput.d.ts +0 -144
- package/packages/react/NysTextinput.js +0 -83
- package/packages/react/NysToggle.d.ts +0 -102
- package/packages/react/NysToggle.js +0 -59
- package/packages/react/NysTooltip.d.ts +0 -60
- package/packages/react/NysTooltip.js +0 -24
- package/packages/react/NysUnavFooter.d.ts +0 -61
- package/packages/react/NysUnavFooter.js +0 -21
- package/packages/react/NysUnavHeader.d.ts +0 -95
- package/packages/react/NysUnavHeader.js +0 -54
- package/packages/react/NysVerticalnav.d.ts +0 -67
- package/packages/react/NysVerticalnav.js +0 -26
- package/packages/react/NysVerticalnavGroup.d.ts +0 -76
- package/packages/react/NysVerticalnavGroup.js +0 -43
- package/packages/react/NysVideo.d.ts +0 -83
- package/packages/react/NysVideo.js +0 -53
- package/packages/react/README.md +0 -92
- package/packages/react/index.d.ts +0 -49
- package/packages/react/index.js +0 -49
- package/packages/react/nysds-jsx.d.ts +0 -2009
- package/packages/react/react-utils.js +0 -40
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { NysGlobalHeader as NysGlobalHeaderElement } from "../../dist/nysds.es.js";
|
|
3
|
-
|
|
4
|
-
export type { NysGlobalHeaderElement };
|
|
5
|
-
|
|
6
|
-
export interface NysGlobalHeaderProps extends Pick<
|
|
7
|
-
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
-
| "children"
|
|
9
|
-
| "dir"
|
|
10
|
-
| "hidden"
|
|
11
|
-
| "id"
|
|
12
|
-
| "lang"
|
|
13
|
-
| "slot"
|
|
14
|
-
| "style"
|
|
15
|
-
| "title"
|
|
16
|
-
| "translate"
|
|
17
|
-
| "onClick"
|
|
18
|
-
| "onFocus"
|
|
19
|
-
| "onBlur"
|
|
20
|
-
> {
|
|
21
|
-
/** Displays the NYS brand mark in the header. Off by default.
|
|
22
|
-
|
|
23
|
-
Enable only for internal, state-employee (back-office) applications that omit
|
|
24
|
-
`nys-unavheader`. Any resident-facing app — even one requiring login — should
|
|
25
|
-
keep `nys-unavheader` for trust and leave this off. */
|
|
26
|
-
nysLogo?: boolean;
|
|
27
|
-
|
|
28
|
-
/** Application name displayed prominently. */
|
|
29
|
-
appName?: NysGlobalHeaderElement["appName"];
|
|
30
|
-
|
|
31
|
-
/** Agency name displayed below app name (or as main title if no appName). */
|
|
32
|
-
agencyName?: NysGlobalHeaderElement["agencyName"];
|
|
33
|
-
|
|
34
|
-
/** URL for the header title link. If empty, title is not clickable. */
|
|
35
|
-
homepageLink?: NysGlobalHeaderElement["homepageLink"];
|
|
36
|
-
|
|
37
|
-
/** Accessible name for the `banner` landmark this header renders.
|
|
38
|
-
|
|
39
|
-
Leave it unset and the banner is named after the visible `appName` or
|
|
40
|
-
`agencyName`, which cannot drift out of sync and is translated with the rest
|
|
41
|
-
of the page. Falls back to `"Site"` when there is no title to reference.
|
|
42
|
-
|
|
43
|
-
Set this only when neither is right for your audience. A page pairing this
|
|
44
|
-
with `nys-unavheader` carries two `banner` landmarks, so the name must stay
|
|
45
|
-
distinct from that header's (`"New York State"` by default) or landmark
|
|
46
|
-
navigation stops distinguishing them.
|
|
47
|
-
|
|
48
|
-
An explicit name replaces the reference to the visible title. */
|
|
49
|
-
landmarkLabel?: NysGlobalHeaderElement["landmarkLabel"];
|
|
50
|
-
|
|
51
|
-
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
52
|
-
className?: string;
|
|
53
|
-
|
|
54
|
-
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
55
|
-
exportparts?: string;
|
|
56
|
-
|
|
57
|
-
/** Used for labels to link them with their inputs (using input id). */
|
|
58
|
-
htmlFor?: string;
|
|
59
|
-
|
|
60
|
-
/** Used to help React identify which items have changed, are added, or are removed within a list. */
|
|
61
|
-
key?: number | string;
|
|
62
|
-
|
|
63
|
-
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
64
|
-
part?: string;
|
|
65
|
-
|
|
66
|
-
/** A mutable ref object whose `.current` property is initialized to the passed argument (`initialValue`). The returned object will persist for the full lifetime of the component. */
|
|
67
|
-
ref?: any;
|
|
68
|
-
|
|
69
|
-
/** Allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the `Tab` key, hence the name) and determine their relative ordering for sequential focus navigation. */
|
|
70
|
-
tabIndex?: number;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Agency header with navigation, mobile menu, and active link highlighting.
|
|
75
|
-
* ---
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* ### **Slots:**
|
|
79
|
-
* - _default_ - Navigation content (typically `<ul>` with `<li><a>` links). Auto-sanitized.
|
|
80
|
-
* - **user-actions** - User-account controls (e.g. profile link, settings, log-out button) shown in the header.
|
|
81
|
-
*/
|
|
82
|
-
export const NysGlobalHeader: React.ForwardRefExoticComponent<NysGlobalHeaderProps>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from "react";
|
|
2
|
-
import "../../dist/nysds.es.js";
|
|
3
|
-
|
|
4
|
-
export const NysGlobalHeader = forwardRef((props, forwardedRef) => {
|
|
5
|
-
const {
|
|
6
|
-
nysLogo,
|
|
7
|
-
appName,
|
|
8
|
-
agencyName,
|
|
9
|
-
homepageLink,
|
|
10
|
-
landmarkLabel,
|
|
11
|
-
...filteredProps
|
|
12
|
-
} = props;
|
|
13
|
-
|
|
14
|
-
return React.createElement(
|
|
15
|
-
"nys-globalheader",
|
|
16
|
-
{
|
|
17
|
-
...filteredProps,
|
|
18
|
-
appName: props.appName,
|
|
19
|
-
agencyName: props.agencyName,
|
|
20
|
-
homepageLink: props.homepageLink,
|
|
21
|
-
landmarkLabel: props.landmarkLabel,
|
|
22
|
-
class: props.className,
|
|
23
|
-
exportparts: props.exportparts,
|
|
24
|
-
for: props.htmlFor,
|
|
25
|
-
part: props.part,
|
|
26
|
-
tabindex: props.tabIndex,
|
|
27
|
-
nysLogo: props.nysLogo ? true : undefined,
|
|
28
|
-
style: { ...props.style },
|
|
29
|
-
},
|
|
30
|
-
props.children,
|
|
31
|
-
);
|
|
32
|
-
});
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { NysIcon as NysIconElement } from "../../dist/nysds.es.js";
|
|
3
|
-
|
|
4
|
-
export type { NysIconElement };
|
|
5
|
-
|
|
6
|
-
export interface NysIconProps extends Pick<
|
|
7
|
-
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
-
| "children"
|
|
9
|
-
| "dir"
|
|
10
|
-
| "hidden"
|
|
11
|
-
| "id"
|
|
12
|
-
| "lang"
|
|
13
|
-
| "slot"
|
|
14
|
-
| "style"
|
|
15
|
-
| "title"
|
|
16
|
-
| "translate"
|
|
17
|
-
| "onClick"
|
|
18
|
-
| "onFocus"
|
|
19
|
-
| "onBlur"
|
|
20
|
-
> {
|
|
21
|
-
/** Icon name to resolve from the selected library. Required. */
|
|
22
|
-
name?: NysIconElement["name"];
|
|
23
|
-
|
|
24
|
-
/** Which registered icon library to use. Defaults to the built-in NYSDS library. */
|
|
25
|
-
library?: NysIconElement["library"];
|
|
26
|
-
|
|
27
|
-
/** Accessible label. When set, removes `aria-hidden` and adds `aria-label` to the SVG. */
|
|
28
|
-
ariaLabel?: NysIconElement["ariaLabel"];
|
|
29
|
-
|
|
30
|
-
/** Rotation in degrees. Applied via CSS `rotate`. */
|
|
31
|
-
rotate?: NysIconElement["rotate"];
|
|
32
|
-
|
|
33
|
-
/** Flip direction: `horizontal`, `vertical`, or empty for none. */
|
|
34
|
-
flip?: NysIconElement["flip"];
|
|
35
|
-
|
|
36
|
-
/** Icon color. Accepts any CSS color value. Defaults to `currentcolor`. */
|
|
37
|
-
color?: NysIconElement["color"];
|
|
38
|
-
|
|
39
|
-
/** Icon size. Semantic sizes: `xs`-`5xl`. Pixel sizes: `12`-`50`. */
|
|
40
|
-
size?: NysIconElement["size"];
|
|
41
|
-
|
|
42
|
-
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
43
|
-
className?: string;
|
|
44
|
-
|
|
45
|
-
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
46
|
-
exportparts?: string;
|
|
47
|
-
|
|
48
|
-
/** Used for labels to link them with their inputs (using input id). */
|
|
49
|
-
htmlFor?: string;
|
|
50
|
-
|
|
51
|
-
/** Used to help React identify which items have changed, are added, or are removed within a list. */
|
|
52
|
-
key?: number | string;
|
|
53
|
-
|
|
54
|
-
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
55
|
-
part?: string;
|
|
56
|
-
|
|
57
|
-
/** A mutable ref object whose `.current` property is initialized to the passed argument (`initialValue`). The returned object will persist for the full lifetime of the component. */
|
|
58
|
-
ref?: any;
|
|
59
|
-
|
|
60
|
-
/** Allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the `Tab` key, hence the name) and determine their relative ordering for sequential focus navigation. */
|
|
61
|
-
tabIndex?: number;
|
|
62
|
-
|
|
63
|
-
/** Resolves when the current icon load (if any) is complete. */
|
|
64
|
-
updateComplete?: NysIconElement["updateComplete"];
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* SVG icon with swappable library support, size, rotation, and color options.
|
|
69
|
-
* ---
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* ### **Methods:**
|
|
73
|
-
* - **redraw()** - Called by the icon library registry when the current library changes.
|
|
74
|
-
*/
|
|
75
|
-
export const NysIcon: React.ForwardRefExoticComponent<NysIconProps>;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef, useRef, useEffect } from "react";
|
|
2
|
-
import "../../dist/nysds.es.js";
|
|
3
|
-
import { useProperties } from "./react-utils.js";
|
|
4
|
-
|
|
5
|
-
export const NysIcon = forwardRef((props, forwardedRef) => {
|
|
6
|
-
const ref = useRef(null);
|
|
7
|
-
const {
|
|
8
|
-
name,
|
|
9
|
-
library,
|
|
10
|
-
ariaLabel,
|
|
11
|
-
rotate,
|
|
12
|
-
flip,
|
|
13
|
-
color,
|
|
14
|
-
size,
|
|
15
|
-
updateComplete,
|
|
16
|
-
...filteredProps
|
|
17
|
-
} = props;
|
|
18
|
-
|
|
19
|
-
/** Properties - run whenever a property has changed */
|
|
20
|
-
useProperties(ref, "updateComplete", props.updateComplete);
|
|
21
|
-
|
|
22
|
-
return React.createElement(
|
|
23
|
-
"nys-icon",
|
|
24
|
-
{
|
|
25
|
-
ref: (node) => {
|
|
26
|
-
ref.current = node;
|
|
27
|
-
if (typeof forwardedRef === "function") {
|
|
28
|
-
forwardedRef(node);
|
|
29
|
-
} else if (forwardedRef) {
|
|
30
|
-
forwardedRef.current = node;
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
...filteredProps,
|
|
34
|
-
name: props.name,
|
|
35
|
-
library: props.library,
|
|
36
|
-
ariaLabel: props.ariaLabel,
|
|
37
|
-
rotate: props.rotate,
|
|
38
|
-
flip: props.flip,
|
|
39
|
-
color: props.color,
|
|
40
|
-
size: props.size,
|
|
41
|
-
class: props.className,
|
|
42
|
-
exportparts: props.exportparts,
|
|
43
|
-
for: props.htmlFor,
|
|
44
|
-
part: props.part,
|
|
45
|
-
tabindex: props.tabIndex,
|
|
46
|
-
style: { ...props.style },
|
|
47
|
-
},
|
|
48
|
-
props.children,
|
|
49
|
-
);
|
|
50
|
-
});
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { NysIconlist as NysIconlistElement } from "../../dist/nysds.es.js";
|
|
3
|
-
|
|
4
|
-
export type { NysIconlistElement };
|
|
5
|
-
|
|
6
|
-
export interface NysIconlistProps extends Pick<
|
|
7
|
-
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
-
| "children"
|
|
9
|
-
| "dir"
|
|
10
|
-
| "hidden"
|
|
11
|
-
| "id"
|
|
12
|
-
| "lang"
|
|
13
|
-
| "slot"
|
|
14
|
-
| "style"
|
|
15
|
-
| "title"
|
|
16
|
-
| "translate"
|
|
17
|
-
| "onClick"
|
|
18
|
-
| "onFocus"
|
|
19
|
-
| "onBlur"
|
|
20
|
-
> {
|
|
21
|
-
/** Draws a divider between items. No divider is drawn after the last item. */
|
|
22
|
-
divider?: boolean;
|
|
23
|
-
|
|
24
|
-
/** Adjusts colors for dark backgrounds. */
|
|
25
|
-
inverted?: boolean;
|
|
26
|
-
|
|
27
|
-
/** Unique identifier. Auto-generated if not provided. */
|
|
28
|
-
id?: NysIconlistElement["id"];
|
|
29
|
-
|
|
30
|
-
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
31
|
-
className?: string;
|
|
32
|
-
|
|
33
|
-
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
34
|
-
exportparts?: string;
|
|
35
|
-
|
|
36
|
-
/** Used for labels to link them with their inputs (using input id). */
|
|
37
|
-
htmlFor?: string;
|
|
38
|
-
|
|
39
|
-
/** Used to help React identify which items have changed, are added, or are removed within a list. */
|
|
40
|
-
key?: number | string;
|
|
41
|
-
|
|
42
|
-
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
43
|
-
part?: string;
|
|
44
|
-
|
|
45
|
-
/** A mutable ref object whose `.current` property is initialized to the passed argument (`initialValue`). The returned object will persist for the full lifetime of the component. */
|
|
46
|
-
ref?: any;
|
|
47
|
-
|
|
48
|
-
/** Allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the `Tab` key, hence the name) and determine their relative ordering for sequential focus navigation. */
|
|
49
|
-
tabIndex?: number;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* A scannable list of icon + text items.
|
|
54
|
-
* ---
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
export const NysIconlist: React.ForwardRefExoticComponent<NysIconlistProps>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from "react";
|
|
2
|
-
import "../../dist/nysds.es.js";
|
|
3
|
-
|
|
4
|
-
export const NysIconlist = forwardRef((props, forwardedRef) => {
|
|
5
|
-
const { divider, inverted, id, ...filteredProps } = props;
|
|
6
|
-
|
|
7
|
-
return React.createElement(
|
|
8
|
-
"nys-iconlist",
|
|
9
|
-
{
|
|
10
|
-
...filteredProps,
|
|
11
|
-
id: props.id,
|
|
12
|
-
class: props.className,
|
|
13
|
-
exportparts: props.exportparts,
|
|
14
|
-
for: props.htmlFor,
|
|
15
|
-
part: props.part,
|
|
16
|
-
tabindex: props.tabIndex,
|
|
17
|
-
divider: props.divider ? true : undefined,
|
|
18
|
-
inverted: props.inverted ? true : undefined,
|
|
19
|
-
style: { ...props.style },
|
|
20
|
-
},
|
|
21
|
-
props.children,
|
|
22
|
-
);
|
|
23
|
-
});
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { NysIconlistitem as NysIconlistitemElement } from "../../dist/nysds.es.js";
|
|
3
|
-
|
|
4
|
-
export type { NysIconlistitemElement };
|
|
5
|
-
|
|
6
|
-
export interface NysIconlistitemProps extends Pick<
|
|
7
|
-
React.AllHTMLAttributes<HTMLElement>,
|
|
8
|
-
| "children"
|
|
9
|
-
| "dir"
|
|
10
|
-
| "hidden"
|
|
11
|
-
| "id"
|
|
12
|
-
| "lang"
|
|
13
|
-
| "slot"
|
|
14
|
-
| "style"
|
|
15
|
-
| "title"
|
|
16
|
-
| "translate"
|
|
17
|
-
| "onClick"
|
|
18
|
-
| "onFocus"
|
|
19
|
-
| "onBlur"
|
|
20
|
-
> {
|
|
21
|
-
/** Draws a rule below the item. Set by the parent `<nys-iconlist divider>`; not intended to be
|
|
22
|
-
set directly. */
|
|
23
|
-
divider?: boolean;
|
|
24
|
-
|
|
25
|
-
/** Adjusts colors for dark backgrounds. Set by the parent `<nys-iconlist inverted>`; not intended to be
|
|
26
|
-
set directly. */
|
|
27
|
-
inverted?: boolean;
|
|
28
|
-
|
|
29
|
-
/** Material Symbols icon name passed to `<nys-icon>`. */
|
|
30
|
-
icon?: NysIconlistitemElement["icon"];
|
|
31
|
-
|
|
32
|
-
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
33
|
-
className?: string;
|
|
34
|
-
|
|
35
|
-
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
36
|
-
exportparts?: string;
|
|
37
|
-
|
|
38
|
-
/** Used for labels to link them with their inputs (using input id). */
|
|
39
|
-
htmlFor?: string;
|
|
40
|
-
|
|
41
|
-
/** Used to help React identify which items have changed, are added, or are removed within a list. */
|
|
42
|
-
key?: number | string;
|
|
43
|
-
|
|
44
|
-
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
45
|
-
part?: string;
|
|
46
|
-
|
|
47
|
-
/** A mutable ref object whose `.current` property is initialized to the passed argument (`initialValue`). The returned object will persist for the full lifetime of the component. */
|
|
48
|
-
ref?: any;
|
|
49
|
-
|
|
50
|
-
/** Allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the `Tab` key, hence the name) and determine their relative ordering for sequential focus navigation. */
|
|
51
|
-
tabIndex?: number;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* An icon-paired list item for use inside `<nys-iconlist>`.
|
|
56
|
-
* ---
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* ### **Slots:**
|
|
60
|
-
* - _default_ - Primary label text.
|
|
61
|
-
* - **secondary** - Optional second line of text rendered below the primary label.
|
|
62
|
-
*/
|
|
63
|
-
export const NysIconlistitem: React.ForwardRefExoticComponent<NysIconlistitemProps>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef } from "react";
|
|
2
|
-
import "../../dist/nysds.es.js";
|
|
3
|
-
|
|
4
|
-
export const NysIconlistitem = forwardRef((props, forwardedRef) => {
|
|
5
|
-
const { divider, inverted, icon, ...filteredProps } = props;
|
|
6
|
-
|
|
7
|
-
return React.createElement(
|
|
8
|
-
"nys-iconlistitem",
|
|
9
|
-
{
|
|
10
|
-
...filteredProps,
|
|
11
|
-
icon: props.icon,
|
|
12
|
-
class: props.className,
|
|
13
|
-
exportparts: props.exportparts,
|
|
14
|
-
for: props.htmlFor,
|
|
15
|
-
part: props.part,
|
|
16
|
-
tabindex: props.tabIndex,
|
|
17
|
-
divider: props.divider ? true : undefined,
|
|
18
|
-
inverted: props.inverted ? true : undefined,
|
|
19
|
-
style: { ...props.style },
|
|
20
|
-
},
|
|
21
|
-
props.children,
|
|
22
|
-
);
|
|
23
|
-
});
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
NysLabel as NysLabelElement,
|
|
4
|
-
CustomEvent,
|
|
5
|
-
} from "../../dist/nysds.es.js";
|
|
6
|
-
|
|
7
|
-
export type { NysLabelElement, CustomEvent };
|
|
8
|
-
|
|
9
|
-
export interface NysLabelProps extends Pick<
|
|
10
|
-
React.AllHTMLAttributes<HTMLElement>,
|
|
11
|
-
| "children"
|
|
12
|
-
| "dir"
|
|
13
|
-
| "hidden"
|
|
14
|
-
| "id"
|
|
15
|
-
| "lang"
|
|
16
|
-
| "slot"
|
|
17
|
-
| "style"
|
|
18
|
-
| "title"
|
|
19
|
-
| "translate"
|
|
20
|
-
| "onClick"
|
|
21
|
-
| "onFocus"
|
|
22
|
-
| "onBlur"
|
|
23
|
-
> {
|
|
24
|
-
/** Adjusts colors for dark backgrounds. */
|
|
25
|
-
inverted?: boolean;
|
|
26
|
-
|
|
27
|
-
/** The ID of the label. */
|
|
28
|
-
id?: NysLabelElement["id"];
|
|
29
|
-
|
|
30
|
-
/** Label text displayed above the form field. */
|
|
31
|
-
label?: NysLabelElement["label"];
|
|
32
|
-
|
|
33
|
-
/** Helper text displayed below the label. */
|
|
34
|
-
description?: NysLabelElement["description"];
|
|
35
|
-
|
|
36
|
-
/** Flag type: `required` shows asterisk, `optional` shows "(Optional)". */
|
|
37
|
-
flag?: NysLabelElement["flag"];
|
|
38
|
-
|
|
39
|
-
/** Tooltip text shown on hover/focus of info icon next to label. */
|
|
40
|
-
tooltip?: NysLabelElement["tooltip"];
|
|
41
|
-
|
|
42
|
-
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
43
|
-
className?: string;
|
|
44
|
-
|
|
45
|
-
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
46
|
-
exportparts?: string;
|
|
47
|
-
|
|
48
|
-
/** Used for labels to link them with their inputs (using input id). */
|
|
49
|
-
htmlFor?: string;
|
|
50
|
-
|
|
51
|
-
/** Used to help React identify which items have changed, are added, or are removed within a list. */
|
|
52
|
-
key?: number | string;
|
|
53
|
-
|
|
54
|
-
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
55
|
-
part?: string;
|
|
56
|
-
|
|
57
|
-
/** A mutable ref object whose `.current` property is initialized to the passed argument (`initialValue`). The returned object will persist for the full lifetime of the component. */
|
|
58
|
-
ref?: any;
|
|
59
|
-
|
|
60
|
-
/** Allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the `Tab` key, hence the name) and determine their relative ordering for sequential focus navigation. */
|
|
61
|
-
tabIndex?: number;
|
|
62
|
-
|
|
63
|
-
/** undefined */
|
|
64
|
-
onNysLabelClick?: (event: CustomEvent) => void;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* **Internal component.** Renders form labels with description, required/optional flag, and tooltip.
|
|
69
|
-
*
|
|
70
|
-
* Used internally by form components (textinput, select, checkbox, etc.). Not intended for direct use.
|
|
71
|
-
* Handles label association via `for`, displays asterisk for required fields, and integrates tooltips.
|
|
72
|
-
* ---
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* ### **Events:**
|
|
76
|
-
* - **nys-label-click**
|
|
77
|
-
*
|
|
78
|
-
* ### **Slots:**
|
|
79
|
-
* - **description** - Custom HTML description content below the label.
|
|
80
|
-
*/
|
|
81
|
-
export const NysLabel: React.ForwardRefExoticComponent<NysLabelProps>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef, useRef, useEffect } from "react";
|
|
2
|
-
import "../../dist/nysds.es.js";
|
|
3
|
-
import { useEventListener } from "./react-utils.js";
|
|
4
|
-
|
|
5
|
-
export const NysLabel = forwardRef((props, forwardedRef) => {
|
|
6
|
-
const ref = useRef(null);
|
|
7
|
-
const { inverted, id, label, description, flag, tooltip, ...filteredProps } =
|
|
8
|
-
props;
|
|
9
|
-
|
|
10
|
-
/** Event listeners - run once */
|
|
11
|
-
useEventListener(ref, "nys-label-click", props.onNysLabelClick);
|
|
12
|
-
|
|
13
|
-
return React.createElement(
|
|
14
|
-
"nys-label",
|
|
15
|
-
{
|
|
16
|
-
ref: (node) => {
|
|
17
|
-
ref.current = node;
|
|
18
|
-
if (typeof forwardedRef === "function") {
|
|
19
|
-
forwardedRef(node);
|
|
20
|
-
} else if (forwardedRef) {
|
|
21
|
-
forwardedRef.current = node;
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
...filteredProps,
|
|
25
|
-
id: props.id,
|
|
26
|
-
label: props.label,
|
|
27
|
-
description: props.description,
|
|
28
|
-
flag: props.flag,
|
|
29
|
-
tooltip: props.tooltip,
|
|
30
|
-
class: props.className,
|
|
31
|
-
exportparts: props.exportparts,
|
|
32
|
-
for: props.htmlFor,
|
|
33
|
-
part: props.part,
|
|
34
|
-
tabindex: props.tabIndex,
|
|
35
|
-
inverted: props.inverted ? true : undefined,
|
|
36
|
-
style: { ...props.style },
|
|
37
|
-
},
|
|
38
|
-
props.children,
|
|
39
|
-
);
|
|
40
|
-
});
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
NysModal as NysModalElement,
|
|
4
|
-
CustomEvent,
|
|
5
|
-
} from "../../dist/nysds.es.js";
|
|
6
|
-
|
|
7
|
-
export type { NysModalElement, CustomEvent };
|
|
8
|
-
|
|
9
|
-
export interface NysModalProps extends Pick<
|
|
10
|
-
React.AllHTMLAttributes<HTMLElement>,
|
|
11
|
-
| "children"
|
|
12
|
-
| "dir"
|
|
13
|
-
| "hidden"
|
|
14
|
-
| "id"
|
|
15
|
-
| "lang"
|
|
16
|
-
| "slot"
|
|
17
|
-
| "style"
|
|
18
|
-
| "title"
|
|
19
|
-
| "translate"
|
|
20
|
-
| "onClick"
|
|
21
|
-
| "onFocus"
|
|
22
|
-
| "onBlur"
|
|
23
|
-
> {
|
|
24
|
-
/** Controls modal visibility. Set to `true` to show. */
|
|
25
|
-
open?: boolean;
|
|
26
|
-
|
|
27
|
-
/** Prevents dismissal via close button or Escape key. User must take an action. */
|
|
28
|
-
mandatory?: boolean;
|
|
29
|
-
|
|
30
|
-
/** Unique identifier. Auto-generated if not provided. */
|
|
31
|
-
id?: NysModalElement["id"];
|
|
32
|
-
|
|
33
|
-
/** Modal heading text. Required for accessibility — it becomes the dialog's
|
|
34
|
-
accessible name via `aria-labelledby`. */
|
|
35
|
-
heading?: NysModalElement["heading"];
|
|
36
|
-
|
|
37
|
-
/** Accessible name for the dialog, used only when no `heading` is set.
|
|
38
|
-
Prefer a visible `heading`: a visible label satisfies WCAG 2.5.3 (Label in
|
|
39
|
-
Name) and gives sighted users the same information. Use `ariaLabel` for the
|
|
40
|
-
rare headless dialog so it still exposes a name (WCAG 4.1.2). */
|
|
41
|
-
ariaLabel?: NysModalElement["ariaLabel"];
|
|
42
|
-
|
|
43
|
-
/** Secondary heading below the main heading. */
|
|
44
|
-
subheading?: NysModalElement["subheading"];
|
|
45
|
-
|
|
46
|
-
/** Modal width: `sm` (400px), `md` (600px), or `lg` (800px). */
|
|
47
|
-
width?: NysModalElement["width"];
|
|
48
|
-
|
|
49
|
-
/** A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method `Document.getElementsByClassName()`. */
|
|
50
|
-
className?: string;
|
|
51
|
-
|
|
52
|
-
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
53
|
-
exportparts?: string;
|
|
54
|
-
|
|
55
|
-
/** Used for labels to link them with their inputs (using input id). */
|
|
56
|
-
htmlFor?: string;
|
|
57
|
-
|
|
58
|
-
/** Used to help React identify which items have changed, are added, or are removed within a list. */
|
|
59
|
-
key?: number | string;
|
|
60
|
-
|
|
61
|
-
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
62
|
-
part?: string;
|
|
63
|
-
|
|
64
|
-
/** A mutable ref object whose `.current` property is initialized to the passed argument (`initialValue`). The returned object will persist for the full lifetime of the component. */
|
|
65
|
-
ref?: any;
|
|
66
|
-
|
|
67
|
-
/** Allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the `Tab` key, hence the name) and determine their relative ordering for sequential focus navigation. */
|
|
68
|
-
tabIndex?: number;
|
|
69
|
-
|
|
70
|
-
/** Fired when modal opens. Detail: `{id}`. */
|
|
71
|
-
onNysOpen?: (event: CustomEvent) => void;
|
|
72
|
-
|
|
73
|
-
/** Fired when modal closes. Detail: `{id}`. */
|
|
74
|
-
onNysClose?: (event: CustomEvent) => void;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Accessible modal dialog with focus trap, keyboard support, and action slots.
|
|
79
|
-
* ---
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* ### **Events:**
|
|
83
|
-
* - **nys-open** - Fired when modal opens. Detail: `{id}`.
|
|
84
|
-
* - **nys-close** - Fired when modal closes. Detail: `{id}`.
|
|
85
|
-
*
|
|
86
|
-
* ### **Slots:**
|
|
87
|
-
* - _default_ - Default slot for body content.
|
|
88
|
-
* - **actions** - Action buttons displayed in footer. Buttons auto-resize on mobile.
|
|
89
|
-
*/
|
|
90
|
-
export const NysModal: React.ForwardRefExoticComponent<NysModalProps>;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef, useRef, useEffect } from "react";
|
|
2
|
-
import "../../dist/nysds.es.js";
|
|
3
|
-
import { useEventListener } from "./react-utils.js";
|
|
4
|
-
|
|
5
|
-
export const NysModal = forwardRef((props, forwardedRef) => {
|
|
6
|
-
const ref = useRef(null);
|
|
7
|
-
const {
|
|
8
|
-
open,
|
|
9
|
-
mandatory,
|
|
10
|
-
id,
|
|
11
|
-
heading,
|
|
12
|
-
ariaLabel,
|
|
13
|
-
subheading,
|
|
14
|
-
width,
|
|
15
|
-
...filteredProps
|
|
16
|
-
} = props;
|
|
17
|
-
|
|
18
|
-
/** Event listeners - run once */
|
|
19
|
-
useEventListener(ref, "nys-open", props.onNysOpen);
|
|
20
|
-
useEventListener(ref, "nys-close", props.onNysClose);
|
|
21
|
-
|
|
22
|
-
return React.createElement(
|
|
23
|
-
"nys-modal",
|
|
24
|
-
{
|
|
25
|
-
ref: (node) => {
|
|
26
|
-
ref.current = node;
|
|
27
|
-
if (typeof forwardedRef === "function") {
|
|
28
|
-
forwardedRef(node);
|
|
29
|
-
} else if (forwardedRef) {
|
|
30
|
-
forwardedRef.current = node;
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
...filteredProps,
|
|
34
|
-
id: props.id,
|
|
35
|
-
heading: props.heading,
|
|
36
|
-
ariaLabel: props.ariaLabel,
|
|
37
|
-
subheading: props.subheading,
|
|
38
|
-
width: props.width,
|
|
39
|
-
class: props.className,
|
|
40
|
-
exportparts: props.exportparts,
|
|
41
|
-
for: props.htmlFor,
|
|
42
|
-
part: props.part,
|
|
43
|
-
tabindex: props.tabIndex,
|
|
44
|
-
open: props.open ? true : undefined,
|
|
45
|
-
mandatory: props.mandatory ? true : undefined,
|
|
46
|
-
style: { ...props.style },
|
|
47
|
-
},
|
|
48
|
-
props.children,
|
|
49
|
-
);
|
|
50
|
-
});
|