@nysds/nys-toggle 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.
@@ -0,0 +1 @@
1
+ export * from "./nys-toggle";
@@ -0,0 +1,26 @@
1
+ import { LitElement } from "lit";
2
+ import "@nysds/nys-icon";
3
+ export declare class NysToggle extends LitElement {
4
+ static styles: import("lit").CSSResult;
5
+ /********************** Properties **********************/
6
+ id: string;
7
+ name: string;
8
+ value: string;
9
+ checked: boolean;
10
+ disabled: boolean;
11
+ noIcon: boolean;
12
+ label: string;
13
+ description: string;
14
+ private static readonly VALID_SIZES;
15
+ private _size;
16
+ get size(): (typeof NysToggle.VALID_SIZES)[number];
17
+ set size(value: string);
18
+ form: string;
19
+ /******************** Functions ********************/
20
+ connectedCallback(): void;
21
+ private _handleFocus;
22
+ private _handleBlur;
23
+ private _handleChange;
24
+ private _handleKeyDown;
25
+ render(): import("lit-html").TemplateResult<1>;
26
+ }