@primer/view-components 0.26.0-rc.74123ead → 0.26.0-rc.7b398022

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,28 +1 @@
1
1
  import '@github/auto-check-element';
2
- import type { AutoCheckErrorEvent, AutoCheckSuccessEvent } from '@github/auto-check-element';
3
- declare global {
4
- interface HTMLElementEventMap {
5
- 'auto-check-success': AutoCheckSuccessEvent;
6
- 'auto-check-error': AutoCheckErrorEvent;
7
- }
8
- }
9
- export declare class PrimerTextFieldElement extends HTMLElement {
10
- #private;
11
- inputElement: HTMLInputElement;
12
- validationElement: HTMLElement;
13
- validationMessageElement: HTMLElement;
14
- validationSuccessIcon: HTMLElement;
15
- validationErrorIcon: HTMLElement;
16
- leadingVisual: HTMLElement;
17
- leadingSpinner: HTMLElement;
18
- connectedCallback(): void;
19
- disconnectedCallback(): void;
20
- clearContents(): void;
21
- clearError(): void;
22
- setValidationMessage(message: string): void;
23
- toggleValidationStyling(isError: boolean): void;
24
- setSuccess(message: string): void;
25
- setError(message: string): void;
26
- showLeadingSpinner(): void;
27
- hideLeadingSpinner(): void;
28
- }