@nysds/nys-select 1.0.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/dist/index.d.ts +1 -0
- package/dist/nys-option.d.ts +10 -0
- package/dist/nys-select.d.ts +26 -0
- package/dist/nys-select.js +1365 -0
- package/dist/nys-select.js.map +1 -0
- package/dist/nys-select.styles.d.ts +2 -0
- package/package.json +43 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./nys-select";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
export declare class NysOption extends LitElement {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
selected: boolean;
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
hidden: boolean;
|
|
8
|
+
firstUpdated(): void;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "@nysds/nys-icon";
|
|
3
|
+
export declare class NysSelect extends LitElement {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
label: string;
|
|
7
|
+
description: string;
|
|
8
|
+
value: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
required: boolean;
|
|
11
|
+
form: string;
|
|
12
|
+
showError: boolean;
|
|
13
|
+
errorMessage: string;
|
|
14
|
+
private static readonly VALID_WIDTHS;
|
|
15
|
+
private _width;
|
|
16
|
+
get width(): (typeof NysSelect.VALID_WIDTHS)[number];
|
|
17
|
+
set width(value: string);
|
|
18
|
+
static styles: import("lit").CSSResult;
|
|
19
|
+
private _handleSlotChange;
|
|
20
|
+
private _handleFocus;
|
|
21
|
+
private _handleBlur;
|
|
22
|
+
private _handleChange;
|
|
23
|
+
private _handleInput;
|
|
24
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
25
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
26
|
+
}
|