@nysds/nys-textinput 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-textinput.d.ts +35 -0
- package/dist/nys-textinput.js +1310 -0
- package/dist/nys-textinput.js.map +1 -0
- package/dist/nys-textinput.styles.d.ts +2 -0
- package/package.json +43 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./nys-textinput";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "@nysds/nys-icon";
|
|
3
|
+
export declare class NysTextinput extends LitElement {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
private static readonly VALID_TYPES;
|
|
7
|
+
private _type;
|
|
8
|
+
get type(): (typeof NysTextinput.VALID_TYPES)[number];
|
|
9
|
+
set type(value: string);
|
|
10
|
+
label: string;
|
|
11
|
+
description: string;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
value: string;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
readonly: boolean;
|
|
16
|
+
required: boolean;
|
|
17
|
+
form: string;
|
|
18
|
+
pattern: string;
|
|
19
|
+
maxlength: null;
|
|
20
|
+
private static readonly VALID_WIDTHS;
|
|
21
|
+
width: (typeof NysTextinput.VALID_WIDTHS)[number];
|
|
22
|
+
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
23
|
+
step: null;
|
|
24
|
+
min: null;
|
|
25
|
+
max: null;
|
|
26
|
+
showError: boolean;
|
|
27
|
+
errorMessage: string;
|
|
28
|
+
constructor();
|
|
29
|
+
static styles: import("lit").CSSResult;
|
|
30
|
+
private _handleInput;
|
|
31
|
+
private _handleFocus;
|
|
32
|
+
private _handleBlur;
|
|
33
|
+
private _handleChange;
|
|
34
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
35
|
+
}
|