@sparkvault/sdk-js 8.6.0 → 8.7.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/products/identity/popup-launcher.d.ts +4 -3
- package/dist/products/identity/styles.d.ts +5 -5
- package/dist/products/identity/views/icons.d.ts +7 -6
- package/dist/sparkvault.cjs.js +186 -192
- package/dist/sparkvault.cjs.js.map +1 -1
- package/dist/sparkvault.esm.js +186 -192
- package/dist/sparkvault.esm.js.map +1 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
*
|
|
10
10
|
* The single transfer path: synchronous `window.open` inside the user gesture
|
|
11
11
|
* (so the browser never blocks it), strict `event.origin` + `data.type`
|
|
12
|
-
* validation against the caller-supplied trusted origin, a
|
|
13
|
-
* `window.closed` poll that surfaces a manual
|
|
12
|
+
* validation against the caller-supplied trusted origin, a 30-minute
|
|
13
|
+
* abandoned-window backstop, and a `window.closed` poll that surfaces a manual
|
|
14
|
+
* close as a cancellation.
|
|
14
15
|
*/
|
|
15
16
|
/** Minimal shape every popup result envelope shares. */
|
|
16
17
|
export interface PopupResultEnvelope {
|
|
@@ -30,7 +31,7 @@ export interface OpenPopupOptions {
|
|
|
30
31
|
width?: number;
|
|
31
32
|
/** Popup height in px (default 640). */
|
|
32
33
|
height?: number;
|
|
33
|
-
/** Timeout in ms before giving up and closing the popup (default
|
|
34
|
+
/** Timeout in ms before giving up and closing the popup (default 30 minutes). */
|
|
34
35
|
timeoutMs?: number;
|
|
35
36
|
/**
|
|
36
37
|
* Called synchronously with the popup window the moment it opens, so the
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Identity Modal Styles
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* -
|
|
4
|
+
* SparkVault design system, product register:
|
|
5
|
+
* - Quiet slate neutrals; Action Blue carries all interactivity
|
|
6
6
|
* - 4px base spacing unit for consistency
|
|
7
|
-
* -
|
|
8
|
-
* -
|
|
9
|
-
* -
|
|
7
|
+
* - Hairline borders over shadows; shadows minimal and DS-weighted
|
|
8
|
+
* - Restrained motion: 120-280ms, standard/decelerate curves only
|
|
9
|
+
* - One accent per surface; tenant-tintable via --sv-primary
|
|
10
10
|
*/
|
|
11
11
|
import type { SdkConfigBranding } from './types';
|
|
12
12
|
export interface StyleOptions {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SVG Icon Factory
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Bare outline glyphs per the SparkVault design system: stroke `currentColor`
|
|
5
|
+
* so the stylesheet drives color, no tinted container backgrounds, round
|
|
6
|
+
* caps/joins. Uses proper DOM element creation for security.
|
|
6
7
|
*/
|
|
7
8
|
/**
|
|
8
9
|
* Checkmark icon for benefit lists
|
|
@@ -17,19 +18,19 @@ export declare function createBackArrowIcon(): SVGSVGElement;
|
|
|
17
18
|
*/
|
|
18
19
|
export declare function createCloseIcon(): SVGSVGElement;
|
|
19
20
|
/**
|
|
20
|
-
* Auth shield icon -
|
|
21
|
+
* Auth shield icon - bare outline shield with checkmark
|
|
21
22
|
*/
|
|
22
23
|
export declare function createAuthShieldIcon(): SVGSVGElement;
|
|
23
24
|
/**
|
|
24
|
-
* Passkey icon -
|
|
25
|
+
* Passkey icon - bare outline key design
|
|
25
26
|
*/
|
|
26
27
|
export declare function createPasskeyIcon(): SVGSVGElement;
|
|
27
28
|
/**
|
|
28
|
-
* Error icon -
|
|
29
|
+
* Error icon - alert triangle for error states
|
|
29
30
|
*/
|
|
30
31
|
export declare function createErrorIcon(): SVGSVGElement;
|
|
31
32
|
/**
|
|
32
|
-
* Expired icon -
|
|
33
|
+
* Expired icon - alert triangle for expired states
|
|
33
34
|
*/
|
|
34
35
|
export declare function createExpiredIcon(): SVGSVGElement;
|
|
35
36
|
/**
|