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