@randstad-uca/design-system 1.0.106 → 1.0.107
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.
- package/dist/components/MfaModal.d.ts +48 -0
- package/dist/components/__tests__/Accordion.test.d.ts +1 -0
- package/dist/components/__tests__/Bubble.test.d.ts +1 -0
- package/dist/components/__tests__/Button.test.d.ts +1 -0
- package/dist/components/__tests__/Checkbox.test.d.ts +1 -0
- package/dist/components/__tests__/Icon.test.d.ts +1 -0
- package/dist/components/__tests__/MfaModal.test.d.ts +1 -0
- package/dist/components/__tests__/Modal.test.d.ts +1 -0
- package/dist/components/__tests__/Notice.test.d.ts +1 -0
- package/dist/components/__tests__/Popup.test.d.ts +1 -0
- package/dist/components/__tests__/ProgressCircle.test.d.ts +1 -0
- package/dist/components/__tests__/Radio.test.d.ts +1 -0
- package/dist/components/__tests__/Snackbar.test.d.ts +1 -0
- package/dist/components/__tests__/Stepper.test.d.ts +1 -0
- package/dist/components/__tests__/Tabs.test.d.ts +1 -0
- package/dist/components/__tests__/setup.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +251 -47
- package/dist/index.js.map +1 -1
- package/dist/package.json +7 -2
- package/dist/stories/MfaModal.stories.d.ts +54 -0
- package/package.json +7 -2
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../components/Modal';
|
|
3
|
+
import '../components/Button';
|
|
4
|
+
import '../components/Notice';
|
|
5
|
+
import '../components/Form';
|
|
6
|
+
import '../components/FormGroup';
|
|
7
|
+
export declare class MfaModal extends LitElement {
|
|
8
|
+
open: boolean;
|
|
9
|
+
title: string;
|
|
10
|
+
email: string;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
showError: boolean;
|
|
13
|
+
showSuccessNotice: boolean;
|
|
14
|
+
successMessage: string;
|
|
15
|
+
helperMessage: string;
|
|
16
|
+
resendCooldown: number;
|
|
17
|
+
private _resendDisabled;
|
|
18
|
+
private _resendRemaining;
|
|
19
|
+
private _pinValues;
|
|
20
|
+
modalWidth: string;
|
|
21
|
+
modalHeight: string;
|
|
22
|
+
maxHeight: string;
|
|
23
|
+
private _resendTimer?;
|
|
24
|
+
static styles: import("lit").CSSResult[];
|
|
25
|
+
disconnectedCallback(): void;
|
|
26
|
+
updated(changedProps: Map<string | number | symbol, unknown>): void;
|
|
27
|
+
reset(): void;
|
|
28
|
+
focusFirstInput(): void;
|
|
29
|
+
private _clearResendTimer;
|
|
30
|
+
private _getPinInputs;
|
|
31
|
+
private _focusInput;
|
|
32
|
+
private get _isComplete();
|
|
33
|
+
private _onPinInput;
|
|
34
|
+
private _onPinKeyDown;
|
|
35
|
+
private _onPinPaste;
|
|
36
|
+
private _onClose;
|
|
37
|
+
private _onConfirm;
|
|
38
|
+
private _onResend;
|
|
39
|
+
private _startResendCountdown;
|
|
40
|
+
private _renderPinInputs;
|
|
41
|
+
private _renderResendSection;
|
|
42
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
43
|
+
}
|
|
44
|
+
declare global {
|
|
45
|
+
interface HTMLElementTagNameMap {
|
|
46
|
+
'randstad-mfa-modal': MfaModal;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function fixture<T extends HTMLElement>(tag: string, props?: Record<string, unknown>): Promise<T>;
|
|
2
|
+
/** Get shadow root of element and query inside it */
|
|
3
|
+
export declare function query(el: HTMLElement, selector: string): Element | null;
|
|
4
|
+
/** Get all matching elements inside shadow root */
|
|
5
|
+
export declare function queryAll(el: HTMLElement, selector: string): Element[];
|
package/dist/index.d.ts
CHANGED