@primer/view-components 0.26.0-rc.1ad7dacb → 0.26.0-rc.21d962e8
Sign up to get free protection for your applications and to get access to all the features.
- package/app/assets/javascripts/lib/primer/forms/primer_text_field.d.ts +0 -27
- package/app/assets/javascripts/primer_view_components.js +1 -1
- package/app/assets/javascripts/primer_view_components.js.map +1 -1
- package/lib/primer/forms/primer_text_field.d.ts +0 -27
- package/lib/primer/forms/primer_text_field.js +5 -17
- package/package.json +5 -5
- package/static/arguments.json +0 -6
- package/static/info_arch.json +0 -6
@@ -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
|
-
}
|