@forgerock/login-widget 1.2.0-beta.9 → 1.2.1

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/index.d.ts CHANGED
@@ -527,6 +527,9 @@ declare type Subscriber<T> = (value: T) => void;
527
527
  /** Unsubscribes from value updates. */
528
528
  declare type Unsubscriber = () => void;
529
529
 
530
+ declare module '*.svelte' {
531
+ export { SvelteComponentDev as default } from 'svelte/internal';
532
+ }
530
533
 
531
534
  interface ComponentStoreValue {
532
535
  lastAction: 'close' | 'open' | 'mount' | null;
@@ -670,9 +673,10 @@ interface JourneyStoreValue {
670
673
  callbacks: CallbackMetadata[];
671
674
  step: StepMetadata;
672
675
  } | null;
673
- step: StepTypes;
676
+ step?: StepTypes;
674
677
  successful: boolean;
675
678
  response: Maybe<Step>;
679
+ recaptchaAction?: Maybe<string>;
676
680
  }
677
681
  interface StepMetadata {
678
682
  derived: {
@@ -2318,6 +2322,7 @@ declare const partialStringsSchema: ZodObject<{
2318
2322
  declare const partialStyleSchema: ZodObject<{
2319
2323
  checksAndRadios: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"animated">, ZodLiteral<"standard">]>>>;
2320
2324
  labels: ZodOptional<ZodOptional<ZodUnion<[ZodOptional<ZodLiteral<"floating">>, ZodLiteral<"stacked">]>>>;
2325
+ showPassword: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"none">, ZodLiteral<"button">, ZodLiteral<"checkbox">]>>>;
2321
2326
  logo: ZodOptional<ZodOptional<ZodObject<{
2322
2327
  dark: ZodOptional<ZodString>;
2323
2328
  height: ZodOptional<ZodNumber>;
@@ -2351,6 +2356,7 @@ declare const partialStyleSchema: ZodObject<{
2351
2356
  }, "strict", ZodTypeAny, {
2352
2357
  checksAndRadios?: "standard" | "animated" | undefined;
2353
2358
  labels?: "floating" | "stacked" | undefined;
2359
+ showPassword?: "none" | "button" | "checkbox" | undefined;
2354
2360
  logo?: {
2355
2361
  dark?: string | undefined;
2356
2362
  height?: number | undefined;
@@ -2366,6 +2372,7 @@ declare const partialStyleSchema: ZodObject<{
2366
2372
  }, {
2367
2373
  checksAndRadios?: "standard" | "animated" | undefined;
2368
2374
  labels?: "floating" | "stacked" | undefined;
2375
+ showPassword?: "none" | "button" | "checkbox" | undefined;
2369
2376
  logo?: {
2370
2377
  dark?: string | undefined;
2371
2378
  height?: number | undefined;
@@ -2392,6 +2399,7 @@ interface JourneyOptionsStart {
2392
2399
  forgerock?: StepOptions;
2393
2400
  journey?: string;
2394
2401
  resumeUrl?: string;
2402
+ recaptchaAction?: string;
2395
2403
  }
2396
2404
  interface WidgetConfigOptions {
2397
2405
  forgerock?: TypeOf<typeof partialConfigSchema>;