@nysds/components 1.1.6 → 1.1.8
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/dist/nysds.es.js +1194 -965
- package/dist/nysds.es.js.map +1 -1
- package/dist/nysds.js +237 -105
- package/dist/nysds.js.map +1 -1
- package/dist/packages/nys-button/src/nys-button.d.ts +4 -0
- package/dist/packages/nys-skipnav/src/index.d.ts +1 -0
- package/dist/packages/nys-skipnav/src/nys-skipnav.d.ts +13 -0
- package/dist/packages/nys-skipnav/src/nys-skipnav.styles.d.ts +2 -0
- package/dist/packages/nys-textarea/src/nys-textarea.d.ts +1 -1
- package/dist/packages/nys-textinput/src/nys-textinput.d.ts +1 -1
- package/dist/src/index.d.ts +1 -0
- package/package.json +4 -4
|
@@ -26,6 +26,10 @@ export declare class NysButton extends LitElement {
|
|
|
26
26
|
set type(value: string);
|
|
27
27
|
onClick: (event: Event) => void;
|
|
28
28
|
href: string;
|
|
29
|
+
private static readonly VALID_TARGETS;
|
|
30
|
+
private _target;
|
|
31
|
+
get target(): (typeof NysButton.VALID_TARGETS)[number];
|
|
32
|
+
set target(value: string);
|
|
29
33
|
static styles: import("lit").CSSResult;
|
|
30
34
|
private _internals;
|
|
31
35
|
/**************** Lifecycle Methods ****************/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./nys-skipnav";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
export declare class NysSkipnav extends LitElement {
|
|
3
|
+
id: string;
|
|
4
|
+
href: string;
|
|
5
|
+
static styles: import("lit").CSSResult;
|
|
6
|
+
constructor();
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
/**************** Event Handlers ****************/
|
|
9
|
+
private _handleFocus;
|
|
10
|
+
private _handleBlur;
|
|
11
|
+
private _handleClick;
|
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
}
|
|
@@ -24,7 +24,7 @@ export declare class NysTextarea extends LitElement {
|
|
|
24
24
|
set resize(value: string);
|
|
25
25
|
showError: boolean;
|
|
26
26
|
errorMessage: string;
|
|
27
|
-
updated(changedProperties: Map<string | number | symbol, unknown>): void
|
|
27
|
+
updated(changedProperties: Map<string | number | symbol, unknown>): Promise<void>;
|
|
28
28
|
static styles: import("lit").CSSResult;
|
|
29
29
|
private _hasUserInteracted;
|
|
30
30
|
private _internals;
|
|
@@ -22,7 +22,7 @@ export declare class NysTextinput extends LitElement {
|
|
|
22
22
|
maxlength: null;
|
|
23
23
|
private static readonly VALID_WIDTHS;
|
|
24
24
|
width: (typeof NysTextinput.VALID_WIDTHS)[number];
|
|
25
|
-
updated(changedProperties: Map<string | number | symbol, unknown>): void
|
|
25
|
+
updated(changedProperties: Map<string | number | symbol, unknown>): Promise<void>;
|
|
26
26
|
step: null;
|
|
27
27
|
min: null;
|
|
28
28
|
max: null;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from "../packages/nys-icon/src/index";
|
|
|
7
7
|
export * from "../packages/nys-label/src/index";
|
|
8
8
|
export * from "../packages/nys-radiobutton/src/index";
|
|
9
9
|
export * from "../packages/nys-select/src/index";
|
|
10
|
+
export * from "../packages/nys-skipnav/src/index";
|
|
10
11
|
export * from "../packages/nys-textarea/src/index";
|
|
11
12
|
export * from "../packages/nys-textinput/src/index";
|
|
12
13
|
export * from "../packages/nys-toggle/src/index";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nysds/components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "New York State's design system and code component library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"workspaces": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"release:dry-run": "npm run build:all && node src/scripts/publish-dry-run.js",
|
|
35
35
|
"release": "npm run build:all && npm publish --workspaces --access public && npm publish --access public",
|
|
36
36
|
"release:alpha": "npm run build && npm publish --tag next",
|
|
37
|
-
"test": "wtr --node-resolve",
|
|
37
|
+
"test": "npm run build:all && wtr --node-resolve",
|
|
38
38
|
"storybook": "npm run build:all && storybook dev -p 6006",
|
|
39
39
|
"storybook:dev": "storybook dev -p 6006",
|
|
40
40
|
"build-storybook": "npm run build:packages && storybook build",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"storybook": "^8.6.12",
|
|
90
90
|
"tslib": "^2.7.0",
|
|
91
91
|
"typescript": "^5.7.2",
|
|
92
|
-
"vite": "^6.
|
|
92
|
+
"vite": "^6.3.4"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"lit": "^3.2.1"
|
|
@@ -99,4 +99,4 @@
|
|
|
99
99
|
"plugin:storybook/recommended"
|
|
100
100
|
]
|
|
101
101
|
}
|
|
102
|
-
}
|
|
102
|
+
}
|