@wise/dynamic-flow-client 4.3.14 → 4.5.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.
Files changed (23) hide show
  1. package/build/main.js +351 -106
  2. package/build/main.mjs +351 -106
  3. package/build/types/revamp/domain/components/AlertComponent.d.ts +2 -14
  4. package/build/types/revamp/domain/components/DecisionComponent.d.ts +4 -1
  5. package/build/types/revamp/domain/components/ListComponent.d.ts +7 -19
  6. package/build/types/revamp/domain/components/ModalContentComponent.d.ts +11 -0
  7. package/build/types/revamp/domain/components/ReviewComponent.d.ts +8 -8
  8. package/build/types/revamp/domain/components/RootDomainComponent.d.ts +5 -1
  9. package/build/types/revamp/domain/components/step/ExternalConfirmationComponent.d.ts +12 -0
  10. package/build/types/revamp/domain/components/{StepDomainComponent.d.ts → step/StepDomainComponent.d.ts} +13 -6
  11. package/build/types/revamp/domain/mappers/layout/modalToContent.d.ts +4 -0
  12. package/build/types/revamp/domain/mappers/mapStepToComponent.d.ts +1 -1
  13. package/build/types/revamp/domain/mappers/utils/call-to-action-utils.d.ts +1 -13
  14. package/build/types/revamp/domain/mappers/utils/legacy-utils.d.ts +3 -3
  15. package/build/types/revamp/domain/mappers/utils/utils.d.ts +4 -0
  16. package/build/types/revamp/domain/types.d.ts +31 -6
  17. package/build/types/revamp/flow/executeSubmission.d.ts +4 -0
  18. package/build/types/revamp/flow/getResponseType.d.ts +1 -1
  19. package/build/types/revamp/flow/response-utils.d.ts +2 -1
  20. package/build/types/revamp/renderers/mappers/externalComponentToProps.d.ts +4 -0
  21. package/build/types/revamp/renderers/mappers/modalContentComponentToProps.d.ts +4 -0
  22. package/build/types/revamp/renderers/stepComponentToProps.d.ts +2 -2
  23. package/package.json +9 -9
@@ -1,20 +1,8 @@
1
- import type { Context, LayoutComponent } from '../types';
1
+ import type { CallToAction, Context, LayoutComponent } from '../types';
2
2
  export type AlertComponent = LayoutComponent & {
3
3
  type: 'alert';
4
4
  markdown: string;
5
5
  context: Context;
6
- callToAction?: AlertCallToActionLink | AlertCallToAction;
7
- };
8
- export type AlertCallToActionLink = {
9
- type: 'link';
10
- accessibilityDescription?: string;
11
- href: string;
12
- title: string;
13
- };
14
- export type AlertCallToAction = {
15
- type: 'action';
16
- accessibilityDescription?: string;
17
- title: string;
18
- onClick: () => void;
6
+ callToAction?: CallToAction;
19
7
  };
20
8
  export declare const createAlertComponent: (alertProps: Pick<AlertComponent, "uid" | "callToAction" | "context" | "control" | "margin" | "markdown">) => AlertComponent;
@@ -1,5 +1,5 @@
1
1
  import type { Icon } from '@wise/dynamic-flow-types/build/next';
2
- import type { Image, LayoutComponent } from '../types';
2
+ import type { Image, InlineAlert, LayoutComponent, SupportingValues } from '../types';
3
3
  export type DecisionComponent = LayoutComponent & {
4
4
  type: 'decision';
5
5
  options: DecisionOption[];
@@ -13,6 +13,9 @@ export type DecisionOption = {
13
13
  image?: Image;
14
14
  title: string;
15
15
  tag?: string;
16
+ additionalText?: string;
17
+ supportingValues?: SupportingValues;
18
+ inlineAlert?: InlineAlert;
16
19
  onClick: () => void;
17
20
  };
18
21
  export declare const createDecisionComponent: (decisionProps: Pick<DecisionComponent, "uid" | "control" | "margin" | "options" | "title">) => DecisionComponent;
@@ -1,31 +1,19 @@
1
- import { Icon } from "@wise/dynamic-flow-types/build/next";
2
- import { Image, LayoutComponent } from "../types";
1
+ import { Icon } from '@wise/dynamic-flow-types/build/next';
2
+ import { AdditionalInfo, CallToAction, Image, InlineAlert, LayoutComponent, SupportingValues } from '../types';
3
3
  export type ListComponent = LayoutComponent & {
4
4
  type: 'list';
5
5
  items: ListItem[];
6
6
  title?: string;
7
- callToAction?: ListCallToActionAction | ListCallToActionLink;
8
- };
9
- export type ListCallToActionLink = {
10
- type: 'link';
11
- accessibilityDescription?: string;
12
- href: string;
13
- title: string;
14
- onClick: () => void;
15
- };
16
- export type ListCallToActionAction = {
17
- type: 'action';
18
- accessibilityDescription?: string;
19
- title: string;
20
- onClick: () => void;
7
+ callToAction?: CallToAction;
21
8
  };
22
9
  export type ListItem = {
23
10
  icon?: Icon;
24
11
  image?: Image;
25
12
  title?: string;
26
- subtitle?: string;
27
- value?: string;
28
- subvalue?: string;
13
+ description?: string;
29
14
  tag?: string;
15
+ supportingValues?: SupportingValues;
16
+ additionalInfo?: AdditionalInfo;
17
+ inlineAlert?: InlineAlert;
30
18
  };
31
19
  export declare const createListComponent: (listProps: Pick<ListComponent, "uid" | "callToAction" | "control" | "items" | "margin" | "title">) => ListComponent;
@@ -0,0 +1,11 @@
1
+ import type { DomainComponent, BaseComponent, LocalValue, UpdateComponent } from '../types';
2
+ export type ModalContentComponent = BaseComponent & {
3
+ type: 'modal-content';
4
+ components: DomainComponent[];
5
+ open: boolean;
6
+ title?: string;
7
+ getChildren: () => DomainComponent[];
8
+ getLocalValue: () => LocalValue;
9
+ close: () => void;
10
+ };
11
+ export declare const createModalContentComponent: (modalProps: Pick<ModalContentComponent, "uid" | "components" | "title">, updateComponent: UpdateComponent) => ModalContentComponent;
@@ -1,9 +1,10 @@
1
- import type { LayoutComponent } from '../types';
1
+ import { Icon } from '@wise/dynamic-flow-types/build/next';
2
+ import type { AdditionalInfo, CallToAction, Image, InlineAlert, LayoutComponent } from '../types';
2
3
  export type ReviewComponent = LayoutComponent & {
3
4
  type: 'review';
4
5
  fields: ReviewField[];
5
6
  title?: string;
6
- callToAction?: ReviewCallToAction;
7
+ callToAction?: CallToAction;
7
8
  };
8
9
  export type ReviewField = {
9
10
  help?: string;
@@ -11,11 +12,10 @@ export type ReviewField = {
11
12
  value: string;
12
13
  rawValue?: string;
13
14
  tag?: string;
14
- };
15
- export type ReviewCallToAction = {
16
- accessibilityDescription?: string;
17
- href?: string;
18
- title: string;
19
- onClick: () => void;
15
+ inlineAlert?: InlineAlert;
16
+ additionalInfo?: AdditionalInfo;
17
+ callToAction?: CallToAction;
18
+ icon?: Icon;
19
+ image?: Image;
20
20
  };
21
21
  export declare const createReviewComponent: (reviewProps: Pick<ReviewComponent, "uid" | "callToAction" | "control" | "fields" | "margin" | "title">) => ReviewComponent;
@@ -1,9 +1,13 @@
1
1
  import { AnalyticsEventDispatcher } from '../features/events';
2
2
  import { BaseComponent, DomainComponent, LoadingState, LocalValue, UpdateComponent } from '../types';
3
- import { StepDomainComponent } from './StepDomainComponent';
3
+ import { StepDomainComponent } from './step/StepDomainComponent';
4
+ import { ModalContentComponent } from './ModalContentComponent';
4
5
  export type RootDomainComponent = BaseComponent & {
5
6
  type: 'root';
6
7
  stepComponent: StepDomainComponent | null;
8
+ dismissAllModals: () => void;
9
+ dismissModal: () => void;
10
+ showModal: (modal: ModalContentComponent) => void;
7
11
  getChildren: () => DomainComponent[];
8
12
  getLocalValue: () => LocalValue;
9
13
  getLoadingState: () => LoadingState;
@@ -0,0 +1,12 @@
1
+ import { BaseComponent, LocalValue, UpdateComponent } from '../../types';
2
+ export type ExternalConfirmationComponent = BaseComponent & {
3
+ type: 'external-confirmation';
4
+ uid: string;
5
+ status: 'initial' | 'success' | 'failure' | 'dismissed';
6
+ url: string;
7
+ onSuccess: () => void;
8
+ onFailure: () => void;
9
+ onCancel: () => void;
10
+ getLocalValue: () => LocalValue;
11
+ };
12
+ export declare const createExternalConfirmation: (uid: string, url: string, updateComponent: UpdateComponent) => ExternalConfirmationComponent;
@@ -1,8 +1,10 @@
1
- import type { BaseComponent, DomainComponent, LoadingState, LocalValue, OnBehavior, UpdateComponent } from '../types';
1
+ import type { BaseComponent, DomainComponent, LoadingState, LocalValue, OnBehavior, UpdateComponent } from '../../types';
2
2
  import type { Step } from '@wise/dynamic-flow-types/build/next';
3
- import type { AnalyticsEventDispatcher } from '../features/events';
4
- import type { StepPolling } from '../features/polling/getStepPolling';
5
- import { StepRefreshAfter } from '../features/refreshAfter/getStepRefreshAfter';
3
+ import type { AnalyticsEventDispatcher } from '../../features/events';
4
+ import type { StepPolling } from '../../features/polling/getStepPolling';
5
+ import { StepRefreshAfter } from '../../features/refreshAfter/getStepRefreshAfter';
6
+ import { ModalContentComponent } from '../ModalContentComponent';
7
+ import { ExternalConfirmationComponent } from './ExternalConfirmationComponent';
6
8
  export type StepDomainComponent = BaseComponent & {
7
9
  type: 'step';
8
10
  back?: BackNavigation;
@@ -10,11 +12,16 @@ export type StepDomainComponent = BaseComponent & {
10
12
  control?: string;
11
13
  description?: string;
12
14
  error?: string;
13
- external?: Step['external'];
15
+ externalConfirmation?: ExternalConfirmationComponent;
14
16
  loadingState: LoadingState;
15
17
  step: Step;
16
18
  title?: string;
19
+ modals: ModalContentComponent[];
20
+ dismissModal: () => void;
21
+ dismissAllModals: () => void;
22
+ showModal: (modal: ModalContentComponent) => void;
17
23
  getChildren: () => DomainComponent[];
24
+ getModals: () => ModalContentComponent[];
18
25
  getLocalValue: () => LocalValue;
19
26
  setLoadingState: (loadingState: LoadingState) => void;
20
27
  onBehavior: OnBehavior;
@@ -25,7 +32,7 @@ type BackNavigation = {
25
32
  title?: string;
26
33
  onClick: () => void;
27
34
  };
28
- export declare const createStepComponent: (stepProps: Pick<StepDomainComponent, "uid" | "back" | "components" | "control" | "description" | "error" | "external" | "loadingState" | "step" | "title" | "trackEvent" | "onBehavior"> & {
35
+ export declare const createStepComponent: (stepProps: Pick<StepDomainComponent, "uid" | "back" | "components" | "control" | "description" | "error" | "externalConfirmation" | "loadingState" | "step" | "title" | "trackEvent" | "onBehavior"> & {
29
36
  stepPolling?: StepPolling;
30
37
  stepRefreshAfter?: StepRefreshAfter;
31
38
  updateComponent: UpdateComponent;
@@ -0,0 +1,4 @@
1
+ import { ModalBehavior } from '@wise/dynamic-flow-types/build/next';
2
+ import { MapperProps } from '../schema/types';
3
+ import { ModalContentComponent } from '../../components/ModalContentComponent';
4
+ export declare const modalToContent: (uid: string, { content, title }: ModalBehavior, mapperProps: MapperProps) => ModalContentComponent;
@@ -8,4 +8,4 @@ export type StepMapperProps = Omit<MapperProps, 'trackEvent'> & {
8
8
  trackEvent: AnalyticsEventDispatcher<string>;
9
9
  onPoll: OnPoll;
10
10
  };
11
- export declare const mapStepToComponent: ({ uid: rootUid, loadingState, displayStepTitle, trackEvent, onPoll, onBehavior, ...restProps }: StepMapperProps) => import("../components/StepDomainComponent").StepDomainComponent;
11
+ export declare const mapStepToComponent: ({ uid: rootUid, loadingState, displayStepTitle, trackEvent, onPoll, onBehavior, ...restProps }: StepMapperProps) => import("../components/step/StepDomainComponent").StepDomainComponent;
@@ -1,17 +1,5 @@
1
1
  import { Action, Behavior as SpecBehavior } from '@wise/dynamic-flow-types/build/next';
2
- import { OnBehavior } from '../../types';
3
- type CallToAction = {
4
- type: 'action';
5
- title: string;
6
- accessibilityDescription?: string;
7
- onClick: () => void;
8
- } | {
9
- type: 'link';
10
- title: string;
11
- accessibilityDescription?: string;
12
- href: string;
13
- onClick: () => void;
14
- };
2
+ import { CallToAction, OnBehavior } from '../../types';
15
3
  type SpecCallToAction = {
16
4
  title?: string;
17
5
  accessibilityDescription?: string;
@@ -1,7 +1,7 @@
1
- import type { Context as DFContext, Align as DFAlign, Action } from '@wise/dynamic-flow-types/build/next';
1
+ import type { Context as SpecContext, Align as SpecAlign, Action } from '@wise/dynamic-flow-types/build/next';
2
2
  import type { Align, Bias, Context } from '../../types';
3
- export declare const mapLegacyContext: (context: DFContext) => Context;
3
+ export declare const mapLegacyContext: (context: SpecContext) => Context;
4
4
  export declare const mapLegacyBias: (bias: "left" | "right" | "none") => Bias;
5
- export declare const mapLegacyAlign: (align: DFAlign) => Align;
5
+ export declare const mapLegacyAlign: (align: SpecAlign) => Align;
6
6
  export declare const mapLegacyActionTypeToContext: (type: Action["type"]) => Context;
7
7
  export declare const mapLegacyActionTypeToControl: (type: Action["type"]) => "primary" | "secondary" | "tertiary";
@@ -0,0 +1,4 @@
1
+ import type { AdditionalInfo as SpecAdditionalInfo, InlineAlert as SpecInlineAlert } from '@wise/dynamic-flow-types/build/next';
2
+ import { AdditionalInfo, InlineAlert, OnBehavior } from '../../types';
3
+ export declare const mapInlineAlert: (alert: SpecInlineAlert | undefined) => InlineAlert | undefined;
4
+ export declare const mapAdditionalInfo: (info: SpecAdditionalInfo | undefined, onBehavior: OnBehavior) => AdditionalInfo | undefined;
@@ -1,6 +1,4 @@
1
- import type { Action, Icon, JsonElement, Margin, Model } from '@wise/dynamic-flow-types/build/next';
2
- import type { ActionBehavior } from '@wise/dynamic-flow-types/build/next/feature/ActionBehavior';
3
- import type { LinkBehavior } from '@wise/dynamic-flow-types/build/next/feature/LinkBehavior';
1
+ import type { Action, Icon, JsonElement, Margin, Model, ActionBehavior, LinkBehavior, DismissBehavior, ModalBehavior } from '@wise/dynamic-flow-types/build/next';
4
2
  import type { AlertComponent } from './components/AlertComponent';
5
3
  import type { AllOfComponent } from './components/AllOfComponent';
6
4
  import type { BooleanInputComponent } from './components/BooleanInputComponent';
@@ -32,18 +30,32 @@ import type { RootDomainComponent } from './components/RootDomainComponent';
32
30
  import type { SearchComponent } from './components/searchComponent/SearchComponent';
33
31
  import type { SelectInputComponent } from './components/SelectInputComponent';
34
32
  import type { StatusListComponent } from './components/StatusListComponent';
35
- import type { StepDomainComponent } from './components/StepDomainComponent';
33
+ import type { StepDomainComponent } from './components/step/StepDomainComponent';
36
34
  import type { TextInputComponent } from './components/TextInputComponent';
37
35
  import type { TupleComponent } from './components/TupleComponent';
38
36
  import type { UploadInputComponent } from './components/UploadInputComponent';
39
- export type DomainComponent = RootDomainComponent | StepDomainComponent | AlertComponent | AllOfComponent | BooleanInputComponent | BoxComponent | ButtonComponent | ColumnsComponent | ConstComponent | ContainerComponent | DateInputComponent | DecisionComponent | DividerComponent | FormComponent | HeadingComponent | ImageComponent | InstructionsComponent | IntegerInputComponent | ListComponent | LoadingIndicatorComponent | MarkdownComponent | ModalComponent | MultiSelectComponent | MultiUploadInputComponent | NumberInputComponent | ObjectComponent | ParagraphComponent | RepeatableComponent | ReviewComponent | SearchComponent | SelectInputComponent | StatusListComponent | TextInputComponent | TupleComponent | UploadInputComponent;
37
+ import { ModalContentComponent } from './components/ModalContentComponent';
38
+ import { ExternalConfirmationComponent } from './components/step/ExternalConfirmationComponent';
39
+ export type DomainComponent = RootDomainComponent | StepDomainComponent | AlertComponent | AllOfComponent | BooleanInputComponent | BoxComponent | ButtonComponent | ColumnsComponent | ConstComponent | ContainerComponent | DateInputComponent | DecisionComponent | DividerComponent | ExternalConfirmationComponent | FormComponent | HeadingComponent | ImageComponent | InstructionsComponent | IntegerInputComponent | ListComponent | LoadingIndicatorComponent | MarkdownComponent | ModalComponent | ModalContentComponent | MultiSelectComponent | MultiUploadInputComponent | NumberInputComponent | ObjectComponent | ParagraphComponent | RepeatableComponent | ReviewComponent | SearchComponent | SelectInputComponent | StatusListComponent | TextInputComponent | TupleComponent | UploadInputComponent;
40
40
  export type LocalValue = LocalValuePrimitive | LocalValueObject | LocalValueArray;
41
41
  export type LocalValuePrimitive = string | number | boolean | File | null;
42
42
  export interface LocalValueObject extends Record<string, LocalValuePrimitive | LocalValueObject | LocalValueArray> {
43
43
  }
44
44
  export interface LocalValueArray extends Array<LocalValuePrimitive | LocalValueObject | LocalValueArray> {
45
45
  }
46
- export type Behavior = ActionBehavior | LinkBehavior | {
46
+ export type CallToAction = {
47
+ type: 'action' | 'modal' | 'dismiss';
48
+ title: string;
49
+ accessibilityDescription?: string;
50
+ onClick: () => void;
51
+ } | {
52
+ type: 'link';
53
+ title: string;
54
+ accessibilityDescription?: string;
55
+ href: string;
56
+ onClick: () => void;
57
+ };
58
+ export type Behavior = ActionBehavior | LinkBehavior | ModalBehavior | DismissBehavior | {
47
59
  type: 'none';
48
60
  };
49
61
  export type BaseComponent = {
@@ -132,3 +144,16 @@ export type ValidationAsyncState = {
132
144
  };
133
145
  };
134
146
  export type LoadingState = 'idle' | 'initial' | 'submitting' | 'refreshing';
147
+ export type AdditionalInfo = {
148
+ text: string;
149
+ accessibilityDescription?: string;
150
+ onClick?: () => void;
151
+ };
152
+ export type InlineAlert = {
153
+ content: string;
154
+ context?: Context;
155
+ };
156
+ export type SupportingValues = {
157
+ value?: string;
158
+ subvalue?: string;
159
+ };
@@ -1,5 +1,6 @@
1
1
  import type { Action, ErrorResponseBody, Model, Step } from '@wise/dynamic-flow-types/build/next';
2
2
  import type { AnalyticsEventDispatcher, LoggingEventDispatcher } from '../domain/features/events';
3
+ import type { Behavior } from '../domain/types';
3
4
  type Command = {
4
5
  type: 'complete';
5
6
  result: Model;
@@ -20,6 +21,9 @@ type Command = {
20
21
  refreshUrl: string;
21
22
  errors?: Step['errors'];
22
23
  };
24
+ } | {
25
+ type: 'behavior';
26
+ behavior: Behavior;
23
27
  };
24
28
  export declare const executeSubmission: (props: {
25
29
  action: Action;
@@ -1,4 +1,4 @@
1
- declare const responseTypes: readonly ["step", "action", "exit"];
1
+ declare const responseTypes: readonly ["step", "action", "exit", "modal"];
2
2
  export type ResponseType = (typeof responseTypes)[number];
3
3
  /**
4
4
  * Returns either 'step', 'action', or 'exit' based on the response headers and body.
@@ -1,8 +1,9 @@
1
- import type { ActionResponseBody, ErrorResponseBody, JsonElement, Step } from '@wise/dynamic-flow-types/build/next';
1
+ import type { ActionResponseBody, ErrorResponseBody, JsonElement, ModalBehavior, Step } from '@wise/dynamic-flow-types/build/next';
2
2
  export declare const assertResponseIsValid: (response: unknown) => void;
3
3
  export declare const parseResponseBodyAsJsonElement: (response: Response) => Promise<JsonElement>;
4
4
  export declare function isActionResponseBody(body: unknown): body is ActionResponseBody;
5
5
  export declare function assertActionResponseBody(body: unknown): asserts body is ActionResponseBody;
6
+ export declare function assertModalResponseBody(body: unknown): asserts body is Omit<ModalBehavior, 'type'>;
6
7
  export declare function isErrorResponseBody(body: unknown): body is ErrorResponseBody;
7
8
  export declare function assertErrorResponseBody(body: unknown): asserts body is ErrorResponseBody;
8
9
  export declare function assertStepResponseBody(body: unknown): asserts body is Step;
@@ -0,0 +1,4 @@
1
+ import { ExternalConfirmationRendererProps } from '@wise/dynamic-flow-types/build/renderers';
2
+ import { ExternalConfirmationComponent } from '../../domain/components/step/ExternalConfirmationComponent';
3
+ import { RendererMapperProps } from './componentToRendererProps';
4
+ export declare const externalComponentToProps: (component: ExternalConfirmationComponent, rendererMapperProps: RendererMapperProps) => ExternalConfirmationRendererProps;
@@ -0,0 +1,4 @@
1
+ import type { ModalContentRendererProps } from '@wise/dynamic-flow-types/build/renderers';
2
+ import { ModalContentComponent } from '../../domain/components/ModalContentComponent';
3
+ import { RendererMapperProps } from './componentToRendererProps';
4
+ export declare const modalContentComponentToProps: (component: ModalContentComponent, rendererMapperProps: RendererMapperProps) => ModalContentRendererProps;
@@ -1,4 +1,4 @@
1
1
  import type { StepRendererProps } from '@wise/dynamic-flow-types/build/renderers';
2
- import type { StepDomainComponent } from '../domain/components/StepDomainComponent';
2
+ import type { StepDomainComponent } from '../domain/components/step/StepDomainComponent';
3
3
  import { type RendererMapperProps } from './mappers/componentToRendererProps';
4
- export declare const stepComponentToProps: ({ uid, back, control, description, error, external, loadingState, step, title, components, onBehavior, }: StepDomainComponent, rendererMapperProps: RendererMapperProps) => StepRendererProps;
4
+ export declare const stepComponentToProps: (component: StepDomainComponent, rendererMapperProps: RendererMapperProps) => StepRendererProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "4.3.14",
3
+ "version": "4.5.0",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -53,11 +53,11 @@
53
53
  "@testing-library/jest-dom": "6.6.3",
54
54
  "@testing-library/react": "16.3.0",
55
55
  "@testing-library/user-event": "14.6.1",
56
- "@transferwise/components": "46.95.1",
56
+ "@transferwise/components": "46.96.1",
57
57
  "@transferwise/formatting": "^2.13.1",
58
- "@transferwise/icons": "3.19.1",
59
- "@transferwise/neptune-css": "14.24.0",
60
- "@types/node": "22.14.1",
58
+ "@transferwise/icons": "3.21.0",
59
+ "@transferwise/neptune-css": "14.24.3",
60
+ "@types/node": "22.15.3",
61
61
  "@types/jest": "29.5.14",
62
62
  "@types/react": "18.3.20",
63
63
  "@types/react-dom": "18.3.6",
@@ -65,7 +65,7 @@
65
65
  "@wise/art": "2.20.0",
66
66
  "@wise/components-theming": "^1.6.2",
67
67
  "babel-jest": "29.7.0",
68
- "esbuild": "0.25.2",
68
+ "esbuild": "0.25.3",
69
69
  "jest": "29.7.0",
70
70
  "jest-environment-jsdom": "29.7.0",
71
71
  "jest-fetch-mock": "^3.0.3",
@@ -78,13 +78,13 @@
78
78
  "react-dom": "18.3.1",
79
79
  "react-intl": "6.8.9",
80
80
  "storybook": "^8.6.12",
81
- "stylelint": "16.18.0",
81
+ "stylelint": "16.19.1",
82
82
  "stylelint-config-standard": "36.0.1",
83
83
  "stylelint-no-unsupported-browser-features": "8.0.4",
84
84
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
85
85
  "tsx": "4.19.3",
86
86
  "typescript": "5.8.3",
87
- "webpack": "5.99.6",
87
+ "webpack": "5.99.7",
88
88
  "@wise/dynamic-flow-renderers": "0.0.0",
89
89
  "@wise/dynamic-flow-fixtures": "0.0.1"
90
90
  },
@@ -102,7 +102,7 @@
102
102
  "classnames": "2.5.1",
103
103
  "react-webcam": "^7.2.0",
104
104
  "screenfull": "^5.2.0",
105
- "@wise/dynamic-flow-types": "3.1.4"
105
+ "@wise/dynamic-flow-types": "3.3.0"
106
106
  },
107
107
  "scripts": {
108
108
  "dev": "pnpm build:visual-tests && storybook dev -p 3003",