@wise/dynamic-flow-client-internal 4.27.0-experimental-renderer-utils-876fd4f → 4.27.0-experimental-edf35fb

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.
@@ -0,0 +1,14 @@
1
+ import { Media as RendererMedia } from '@wise/dynamic-flow-renderers';
2
+ /**
3
+ * We need to redefine these because @wise/dynamic-flow-renderers is a private package that
4
+ * cannot be installed. There is likely a better solution, but until we find it we can
5
+ * redefine and re-export.
6
+ */
7
+ export declare const Header: ({ title, callToAction }: {
8
+ title?: string;
9
+ callToAction?: import("@wise/dynamic-flow-types/build/renderers").CallToAction;
10
+ }) => "" | import("react/jsx-runtime").JSX.Element | undefined;
11
+ export declare const Media: typeof RendererMedia;
12
+ export declare const getMargin: (size: import("@wise/dynamic-flow-types/build/next").Margin) => "m-b-0" | "m-b-1" | "m-b-2" | "m-b-3" | "m-b-5" | "";
13
+ export declare const getListItemRenderers: () => import("@wise/dynamic-flow-client").Renderers;
14
+ export declare const getButtonV2Renderers: () => import("@wise/dynamic-flow-client").Renderers;
@@ -2,7 +2,7 @@ export { makeHttpClient as makeCustomFetch } from '@wise/dynamic-flow-client';
2
2
  export type { DynamicFlowProps, DynamicFormController, InitialAction, Step, } from '@wise/dynamic-flow-client';
3
3
  export type { AlertRendererProps, BoxRendererProps, ButtonRendererProps, CheckboxInputRendererProps, ColumnsRendererProps, DateInputRendererProps, DecisionRendererProps, DividerRendererProps, FormRendererProps, FormSectionRendererProps, HeadingRendererProps, HiddenRendererProps, ImageRendererProps, InstructionsRendererProps, IntegerInputRendererProps, LoadingIndicatorRendererProps, MarkdownRendererProps, ModalLayoutRendererProps, ModalRendererProps, MultiSelectInputRendererProps, MultiUploadInputRendererProps, NumberInputRendererProps, ParagraphRendererProps, Renderer, Renderers, RepeatableRendererProps, ReviewRendererProps, SearchRendererProps, SelectInputRendererProps, StatusListRendererProps, StepRendererProps, TextInputRendererProps, UploadInputRendererProps, } from '@wise/dynamic-flow-types/build/renderers';
4
4
  export { findRendererPropsByType, isValidSchema, JsonSchemaForm } from '@wise/dynamic-flow-client';
5
- export { Header, getMargin, getListItemRenderers, getButtonV2Renderers, } from '@wise/dynamic-flow-renderers';
5
+ export { Header, Media, getMargin, getListItemRenderers, getButtonV2Renderers, } from './dynamicFlow/renderers';
6
6
  export { default as translations } from './i18n';
7
7
  export type { DynamicFlowLegacyProps, DynamicFlowRevampProps } from './dynamicFlow/DynamicFlow';
8
8
  export { DynamicFlowLegacy, DynamicFlowRevamp, DynamicForm } from './dynamicFlow/DynamicFlow';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "4.27.0-experimental-renderer-utils-876fd4f",
3
+ "version": "4.27.0-experimental-edf35fb",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -74,9 +74,9 @@
74
74
  "stylelint-value-no-unknown-custom-properties": "6.0.1",
75
75
  "tsx": "4.20.5",
76
76
  "typescript": "5.9.2",
77
+ "@wise/dynamic-flow-types": "3.13.0",
77
78
  "@wise/dynamic-flow-renderers": "0.0.0",
78
- "@wise/dynamic-flow-fixtures": "0.0.1",
79
- "@wise/dynamic-flow-types": "3.13.0"
79
+ "@wise/dynamic-flow-fixtures": "0.0.1"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@transferwise/components": "^46.104.0",
@@ -91,8 +91,7 @@
91
91
  },
92
92
  "dependencies": {
93
93
  "classnames": "2.5.1",
94
- "@wise/dynamic-flow-client": "4.16.1-experimental-renderer-utils-876fd4f",
95
- "@wise/dynamic-flow-renderers": "0.0.0",
94
+ "@wise/dynamic-flow-client": "4.16.1-experimental-edf35fb",
96
95
  "@wise/dynamic-flow-types": "3.13.0"
97
96
  },
98
97
  "scripts": {