@sekyro/react 0.1.0-rc.12 → 0.1.0-rc.13
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/CHANGELOG.md +9 -0
- package/README.md +5 -0
- package/dist/chunk-Y37ZXFOA.js +2 -0
- package/dist/{chunk-ALUF2O22.js → chunk-Z5UFPMM6.js} +1 -1
- package/dist/{flow-views-TEE63CMW.js → flow-views-KKP7HKFG.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/{theme-DqD8Nyoq.d.ts → theme-qTwMxyZM.d.cts} +23 -4
- package/dist/{theme-DqD8Nyoq.d.cts → theme-qTwMxyZM.d.ts} +23 -4
- package/dist/verification/index.cjs +1 -1
- package/dist/verification/index.d.cts +2 -2
- package/dist/verification/index.d.ts +2 -2
- package/dist/verification/index.js +1 -1
- package/dist/verification.css +3 -0
- package/package.json +2 -2
- package/sbom.cdx.json +4 -4
- package/dist/chunk-ZCAZDOMD.js +0 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Strings, a as SekyroLocale } from './theme-
|
|
2
|
-
export { B as BuiltInTipId, D as DEFAULT_THEME, b as DEFAULT_TIPS, I as IntroContext, c as IntroTip, L as LivenessCapture, d as LivenessCaptureProps, e as LivenessCaptureSlots, f as LivenessNotice, N as NO_FACE_DEBOUNCE_MS, g as SekyroTheme, h as SekyroThemeColors, i as SekyroThemeProvider, j as SekyroThemeProviderProps, k as StringKey, V as VOICE_KEYS, l as VoiceClipMap, m as VoiceClipResolver, n as VoiceClipSource, o as VoiceControl, p as VoiceKey, q as VoiceOptions, r as attemptsRemainingText, s as brandingToTheme, t as captureErrorStringKey, u as en, v as hintStringKey, w as mergeThemes, x as reasonStringKey, y as retryAfterTime, z as themeToCssVars } from './theme-
|
|
1
|
+
import { S as Strings, a as SekyroLocale } from './theme-qTwMxyZM.cjs';
|
|
2
|
+
export { B as BuiltInTipId, D as DEFAULT_THEME, b as DEFAULT_TIPS, I as IntroContext, c as IntroTip, L as LivenessCapture, d as LivenessCaptureProps, e as LivenessCaptureSlots, f as LivenessNotice, N as NO_FACE_DEBOUNCE_MS, g as SekyroTheme, h as SekyroThemeColors, i as SekyroThemeProvider, j as SekyroThemeProviderProps, k as StringKey, V as VOICE_KEYS, l as VoiceClipMap, m as VoiceClipResolver, n as VoiceClipSource, o as VoiceControl, p as VoiceKey, q as VoiceOptions, r as attemptsRemainingText, s as brandingToTheme, t as captureErrorStringKey, u as en, v as hintStringKey, w as mergeThemes, x as reasonStringKey, y as retryAfterTime, z as themeToCssVars } from './theme-qTwMxyZM.cjs';
|
|
3
3
|
import '@sekyro/web';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Strings, a as SekyroLocale } from './theme-
|
|
2
|
-
export { B as BuiltInTipId, D as DEFAULT_THEME, b as DEFAULT_TIPS, I as IntroContext, c as IntroTip, L as LivenessCapture, d as LivenessCaptureProps, e as LivenessCaptureSlots, f as LivenessNotice, N as NO_FACE_DEBOUNCE_MS, g as SekyroTheme, h as SekyroThemeColors, i as SekyroThemeProvider, j as SekyroThemeProviderProps, k as StringKey, V as VOICE_KEYS, l as VoiceClipMap, m as VoiceClipResolver, n as VoiceClipSource, o as VoiceControl, p as VoiceKey, q as VoiceOptions, r as attemptsRemainingText, s as brandingToTheme, t as captureErrorStringKey, u as en, v as hintStringKey, w as mergeThemes, x as reasonStringKey, y as retryAfterTime, z as themeToCssVars } from './theme-
|
|
1
|
+
import { S as Strings, a as SekyroLocale } from './theme-qTwMxyZM.js';
|
|
2
|
+
export { B as BuiltInTipId, D as DEFAULT_THEME, b as DEFAULT_TIPS, I as IntroContext, c as IntroTip, L as LivenessCapture, d as LivenessCaptureProps, e as LivenessCaptureSlots, f as LivenessNotice, N as NO_FACE_DEBOUNCE_MS, g as SekyroTheme, h as SekyroThemeColors, i as SekyroThemeProvider, j as SekyroThemeProviderProps, k as StringKey, V as VOICE_KEYS, l as VoiceClipMap, m as VoiceClipResolver, n as VoiceClipSource, o as VoiceControl, p as VoiceKey, q as VoiceOptions, r as attemptsRemainingText, s as brandingToTheme, t as captureErrorStringKey, u as en, v as hintStringKey, w as mergeThemes, x as reasonStringKey, y as retryAfterTime, z as themeToCssVars } from './theme-qTwMxyZM.js';
|
|
3
3
|
import '@sekyro/web';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{b as a,c,
|
|
2
|
+
import{b as a,c,e as l,f as E,g}from"./chunk-Y37ZXFOA.js";import{d as m,f as S,g as T,h as C}from"./chunk-Z5UFPMM6.js";import"./chunk-LNZR3RXG.js";import{b as e,e as r,f as t,j as o,l as p,m as i,n as y,o as n,p as s}from"./chunk-34326C2I.js";import"./chunk-2KED7D2Q.js";export{a as DEFAULT_THEME,m as DEFAULT_TIPS,C as LivenessCapture,T as NO_FACE_DEBOUNCE_MS,g as SekyroThemeProvider,S as VOICE_KEYS,r as ar,n as attemptsRemainingText,l as brandingToTheme,p as captureErrorStringKey,e as en,t as fr,o as hintStringKey,E as mergeThemes,i as reasonStringKey,s as resolveStrings,y as retryAfterTime,c as themeToCssVars};
|
|
@@ -440,11 +440,26 @@ interface SekyroThemeColors {
|
|
|
440
440
|
surface: string;
|
|
441
441
|
/** Focus ring. */
|
|
442
442
|
ring: string;
|
|
443
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* Error accents (notice border / tint).
|
|
445
|
+
*
|
|
446
|
+
* @deprecated Status colours are standard since 0.1.0-rc.13; this key is ignored in a theme you pass and will be
|
|
447
|
+
* removed in 1.0. {@link DEFAULT_THEME} still lists the Sekyro value.
|
|
448
|
+
*/
|
|
444
449
|
danger: string;
|
|
445
|
-
/**
|
|
450
|
+
/**
|
|
451
|
+
* Gate-locked ring + success accents.
|
|
452
|
+
*
|
|
453
|
+
* @deprecated Status colours are standard since 0.1.0-rc.13; this key is ignored in a theme you pass and will be
|
|
454
|
+
* removed in 1.0. {@link DEFAULT_THEME} still lists the Sekyro value.
|
|
455
|
+
*/
|
|
446
456
|
success: string;
|
|
447
|
-
/**
|
|
457
|
+
/**
|
|
458
|
+
* Draining-ring and retry-notice accents.
|
|
459
|
+
*
|
|
460
|
+
* @deprecated Status colours are standard since 0.1.0-rc.13; this key is ignored in a theme you pass and will be
|
|
461
|
+
* removed in 1.0. {@link DEFAULT_THEME} still lists the Sekyro value.
|
|
462
|
+
*/
|
|
448
463
|
warning: string;
|
|
449
464
|
}
|
|
450
465
|
/** Theme shape accepted by {@link SekyroThemeProvider}. Partial: unset tokens keep the defaults. */
|
|
@@ -470,7 +485,9 @@ declare function themeToCssVars(theme?: SekyroTheme): Record<string, string>;
|
|
|
470
485
|
/**
|
|
471
486
|
* Map the session's org / app branding (`HostedSessionView.branding`, set in
|
|
472
487
|
* the Sekyro dashboard) onto a {@link SekyroTheme}. Each colour maps to the
|
|
473
|
-
* theme key of the same name and the focus ring follows `brand`.
|
|
488
|
+
* theme key of the same name and the focus ring follows `brand`. Status
|
|
489
|
+
* colours are standard: `danger`, `success` and `warning` from an older
|
|
490
|
+
* server are ignored. Values that
|
|
474
491
|
* are not `#rrggbb` are ignored. Combine with your own theme through
|
|
475
492
|
* {@link mergeThemes} — pass yours LAST so it wins:
|
|
476
493
|
* `mergeThemes(brandingToTheme(view.branding), myTheme)`.
|
|
@@ -490,6 +507,8 @@ interface SekyroThemeProviderProps {
|
|
|
490
507
|
/**
|
|
491
508
|
* Writes the theme's CSS variables on a wrapper `<div class="sekyro-root">`.
|
|
492
509
|
* Nest inside your own layout; import `@sekyro/react/styles.css` once.
|
|
510
|
+
* Status colours are standard: `danger`, `success` and `warning` in `theme`
|
|
511
|
+
* are ignored.
|
|
493
512
|
*/
|
|
494
513
|
declare function SekyroThemeProvider({ theme, children, className }: SekyroThemeProviderProps): react.JSX.Element;
|
|
495
514
|
|
|
@@ -440,11 +440,26 @@ interface SekyroThemeColors {
|
|
|
440
440
|
surface: string;
|
|
441
441
|
/** Focus ring. */
|
|
442
442
|
ring: string;
|
|
443
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* Error accents (notice border / tint).
|
|
445
|
+
*
|
|
446
|
+
* @deprecated Status colours are standard since 0.1.0-rc.13; this key is ignored in a theme you pass and will be
|
|
447
|
+
* removed in 1.0. {@link DEFAULT_THEME} still lists the Sekyro value.
|
|
448
|
+
*/
|
|
444
449
|
danger: string;
|
|
445
|
-
/**
|
|
450
|
+
/**
|
|
451
|
+
* Gate-locked ring + success accents.
|
|
452
|
+
*
|
|
453
|
+
* @deprecated Status colours are standard since 0.1.0-rc.13; this key is ignored in a theme you pass and will be
|
|
454
|
+
* removed in 1.0. {@link DEFAULT_THEME} still lists the Sekyro value.
|
|
455
|
+
*/
|
|
446
456
|
success: string;
|
|
447
|
-
/**
|
|
457
|
+
/**
|
|
458
|
+
* Draining-ring and retry-notice accents.
|
|
459
|
+
*
|
|
460
|
+
* @deprecated Status colours are standard since 0.1.0-rc.13; this key is ignored in a theme you pass and will be
|
|
461
|
+
* removed in 1.0. {@link DEFAULT_THEME} still lists the Sekyro value.
|
|
462
|
+
*/
|
|
448
463
|
warning: string;
|
|
449
464
|
}
|
|
450
465
|
/** Theme shape accepted by {@link SekyroThemeProvider}. Partial: unset tokens keep the defaults. */
|
|
@@ -470,7 +485,9 @@ declare function themeToCssVars(theme?: SekyroTheme): Record<string, string>;
|
|
|
470
485
|
/**
|
|
471
486
|
* Map the session's org / app branding (`HostedSessionView.branding`, set in
|
|
472
487
|
* the Sekyro dashboard) onto a {@link SekyroTheme}. Each colour maps to the
|
|
473
|
-
* theme key of the same name and the focus ring follows `brand`.
|
|
488
|
+
* theme key of the same name and the focus ring follows `brand`. Status
|
|
489
|
+
* colours are standard: `danger`, `success` and `warning` from an older
|
|
490
|
+
* server are ignored. Values that
|
|
474
491
|
* are not `#rrggbb` are ignored. Combine with your own theme through
|
|
475
492
|
* {@link mergeThemes} — pass yours LAST so it wins:
|
|
476
493
|
* `mergeThemes(brandingToTheme(view.branding), myTheme)`.
|
|
@@ -490,6 +507,8 @@ interface SekyroThemeProviderProps {
|
|
|
490
507
|
/**
|
|
491
508
|
* Writes the theme's CSS variables on a wrapper `<div class="sekyro-root">`.
|
|
492
509
|
* Nest inside your own layout; import `@sekyro/react/styles.css` once.
|
|
510
|
+
* Status colours are standard: `danger`, `success` and `warning` in `theme`
|
|
511
|
+
* are ignored.
|
|
493
512
|
*/
|
|
494
513
|
declare function SekyroThemeProvider({ theme, children, className }: SekyroThemeProviderProps): react.JSX.Element;
|
|
495
514
|
|