@nysds/nys-button 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-button";
@@ -0,0 +1,37 @@
1
+ import { LitElement } from "lit";
2
+ import "@nysds/nys-icon";
3
+ export declare class NysButton extends LitElement {
4
+ id: string;
5
+ name: string;
6
+ private static readonly VALID_SIZES;
7
+ private _size;
8
+ get size(): (typeof NysButton.VALID_SIZES)[number];
9
+ set size(value: string);
10
+ fullWidth: boolean;
11
+ private static readonly VALID_VARIANTS;
12
+ private _variant;
13
+ get variant(): (typeof NysButton.VALID_VARIANTS)[number];
14
+ set variant(value: string);
15
+ inverted: boolean;
16
+ label: string;
17
+ prefixIcon: string;
18
+ suffixIcon: string;
19
+ disabled: boolean;
20
+ form: string;
21
+ value: string;
22
+ private static readonly VALID_TYPES;
23
+ private _type;
24
+ get type(): (typeof NysButton.VALID_TYPES)[number];
25
+ set type(value: string);
26
+ onClick: (event: Event) => void;
27
+ href: string;
28
+ static styles: import("lit").CSSResult;
29
+ /**************** Lifecycle Methods ****************/
30
+ connectedCallback(): void;
31
+ /******************** Functions ********************/
32
+ private _generateUniqueId;
33
+ private _handleFocus;
34
+ private _handleBlur;
35
+ private _handleClick;
36
+ render(): import("lit-html").TemplateResult<1>;
37
+ }