@nysds/nys-textinput 1.1.0 → 1.1.2

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.
@@ -16,6 +16,7 @@ export declare class NysTextinput extends LitElement {
16
16
  disabled: boolean;
17
17
  readonly: boolean;
18
18
  required: boolean;
19
+ optional: boolean;
19
20
  form: string;
20
21
  pattern: string;
21
22
  maxlength: null;
@@ -27,7 +28,9 @@ export declare class NysTextinput extends LitElement {
27
28
  max: null;
28
29
  showError: boolean;
29
30
  errorMessage: string;
31
+ private showPassword;
30
32
  static styles: import("lit").CSSResult;
33
+ private _originalErrorMessage;
31
34
  private _hasUserInteracted;
32
35
  private _internals;
33
36
  /********************** Lifecycle updates **********************/
@@ -43,7 +46,9 @@ export declare class NysTextinput extends LitElement {
43
46
  private _setValidityMessage;
44
47
  private _validate;
45
48
  /********************** Functions **********************/
49
+ checkValidity(): boolean;
46
50
  private _handleInvalid;
51
+ private _togglePasswordVisibility;
47
52
  /******************** Event Handlers ********************/
48
53
  private _handleInput;
49
54
  private _handleFocus;