@saasbase-io/core-elements 1.18.0 → 1.19.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.
- package/dist/components/renderers/_updated/passkey-button/_passkey-button.d.ts +7 -20
- package/dist/index.js +402 -403
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +655 -672
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement } from '../../../../../node_modules/lit';
|
|
2
2
|
import { PasskeyButtonProps, PasskeyButtonSize, PasskeyButtonSpinnerAlign, PasskeyButtonVariant } from './passkey-button.types';
|
|
3
3
|
/**
|
|
4
|
-
* A button for passkey authentication.
|
|
4
|
+
* A button for passkey authentication in auth widgets.
|
|
5
5
|
* @element sb-passkey-button
|
|
6
6
|
*
|
|
7
7
|
* @part passkey-button (rtg-button)
|
|
@@ -12,6 +12,8 @@ import { PasskeyButtonProps, PasskeyButtonSize, PasskeyButtonSpinnerAlign, Passk
|
|
|
12
12
|
export declare class SbPasskeyButton extends LitElement implements PasskeyButtonProps {
|
|
13
13
|
private static readonly _ROOT;
|
|
14
14
|
private static readonly _SPINNER;
|
|
15
|
+
static readonly TAG: string;
|
|
16
|
+
static readonly CLICK_EVENT: string;
|
|
15
17
|
/**
|
|
16
18
|
* The stable CSS part names exposed for external targeting.
|
|
17
19
|
*/
|
|
@@ -20,17 +22,11 @@ export declare class SbPasskeyButton extends LitElement implements PasskeyButton
|
|
|
20
22
|
spinner: string;
|
|
21
23
|
};
|
|
22
24
|
/**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
static get clickEventName(): string;
|
|
26
|
-
/**
|
|
27
|
-
* A unique value used as a substring in the generated part/child IDs, when
|
|
28
|
-
* the `child-id` prop is not provided.
|
|
25
|
+
* A unique substring for fallback part IDs generated.
|
|
29
26
|
*/
|
|
30
27
|
seed: string;
|
|
31
28
|
/**
|
|
32
|
-
* The `id`
|
|
33
|
-
* child/part IDs.
|
|
29
|
+
* The `id` of the root part and the base of sub-part IDs.
|
|
34
30
|
*/
|
|
35
31
|
childId?: string;
|
|
36
32
|
/**
|
|
@@ -58,7 +54,7 @@ export declare class SbPasskeyButton extends LitElement implements PasskeyButton
|
|
|
58
54
|
*/
|
|
59
55
|
loading?: boolean;
|
|
60
56
|
/**
|
|
61
|
-
* The event
|
|
57
|
+
* The event name as defined in the loginflow auth service.
|
|
62
58
|
*/
|
|
63
59
|
event?: string;
|
|
64
60
|
/**
|
|
@@ -75,8 +71,7 @@ export declare class SbPasskeyButton extends LitElement implements PasskeyButton
|
|
|
75
71
|
*/
|
|
76
72
|
get rootId(): string;
|
|
77
73
|
/**
|
|
78
|
-
* The `id` of the spinner element, derived from `rootId`
|
|
79
|
-
* part name appended.
|
|
74
|
+
* The `id` of the spinner element, derived from `rootId` and the part name.
|
|
80
75
|
*/
|
|
81
76
|
get spinnerId(): string;
|
|
82
77
|
/**
|
|
@@ -91,14 +86,6 @@ export declare class SbPasskeyButton extends LitElement implements PasskeyButton
|
|
|
91
86
|
* Removes the click event listener.
|
|
92
87
|
*/
|
|
93
88
|
disconnectedCallback(): void;
|
|
94
|
-
/**
|
|
95
|
-
* Defines and dispatches the click event.
|
|
96
|
-
*/
|
|
97
|
-
private _dispatchClick;
|
|
98
|
-
/**
|
|
99
|
-
* Emits the provided `event` to the auth service to process.
|
|
100
|
-
*/
|
|
101
|
-
private _emitClickEvent;
|
|
102
89
|
/**
|
|
103
90
|
* Handles the click event, preventing execution when disabled/loading, firing
|
|
104
91
|
* the click event, and emitting to auth service.
|