@wise/dynamic-flow-client-internal 4.24.1-experimental-1ea86c5 → 4.24.1-experimental-e343995

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/build/main.js CHANGED
@@ -62,15 +62,17 @@ __export(index_exports, {
62
62
  DynamicFlowLegacy: () => DynamicFlowLegacy,
63
63
  DynamicFlowRevamp: () => DynamicFlowRevamp,
64
64
  DynamicForm: () => DynamicForm,
65
- Header: () => Header7,
65
+ Header: () => Header10,
66
66
  JsonSchemaForm: () => import_dynamic_flow_client4.JsonSchemaForm,
67
67
  findRendererPropsByType: () => import_dynamic_flow_client4.findRendererPropsByType,
68
- getMargin: () => getMargin,
68
+ getMargin: () => getMargin2,
69
69
  isValidSchema: () => import_dynamic_flow_client4.isValidSchema,
70
70
  makeCustomFetch: () => import_dynamic_flow_client3.makeHttpClient,
71
71
  translations: () => i18n_default
72
72
  });
73
73
  module.exports = __toCommonJS(index_exports);
74
+ var import_dynamic_flow_client3 = require("@wise/dynamic-flow-client");
75
+ var import_dynamic_flow_client4 = require("@wise/dynamic-flow-client");
74
76
 
75
77
  // ../renderers/src/AlertRenderer.tsx
76
78
  var import_components = require("@transferwise/components");
@@ -3197,9 +3199,9 @@ var import_components51 = require("@transferwise/components");
3197
3199
  var import_react18 = require("react");
3198
3200
  var import_jsx_runtime73 = require("react/jsx-runtime");
3199
3201
 
3200
- // src/index.ts
3201
- var import_dynamic_flow_client3 = require("@wise/dynamic-flow-client");
3202
- var import_dynamic_flow_client4 = require("@wise/dynamic-flow-client");
3202
+ // src/dynamicFlow/renderers.ts
3203
+ var Header10 = Header7;
3204
+ var getMargin2 = getMargin;
3203
3205
 
3204
3206
  // src/i18n/index.ts
3205
3207
  var import_dynamic_flow_client = require("@wise/dynamic-flow-client");
package/build/main.mjs CHANGED
@@ -30,6 +30,10 @@ var __objRest = (source, exclude) => {
30
30
  return target;
31
31
  };
32
32
 
33
+ // src/index.ts
34
+ import { makeHttpClient } from "@wise/dynamic-flow-client";
35
+ import { findRendererPropsByType, isValidSchema, JsonSchemaForm } from "@wise/dynamic-flow-client";
36
+
33
37
  // ../renderers/src/AlertRenderer.tsx
34
38
  import { Alert } from "@transferwise/components";
35
39
 
@@ -3164,9 +3168,9 @@ import { Button as Button8 } from "@transferwise/components";
3164
3168
  import { useEffect as useEffect8, useState as useState12 } from "react";
3165
3169
  import { jsx as jsx73 } from "react/jsx-runtime";
3166
3170
 
3167
- // src/index.ts
3168
- import { makeHttpClient } from "@wise/dynamic-flow-client";
3169
- import { findRendererPropsByType, isValidSchema, JsonSchemaForm } from "@wise/dynamic-flow-client";
3171
+ // src/dynamicFlow/renderers.ts
3172
+ var Header10 = Header7;
3173
+ var getMargin2 = getMargin;
3170
3174
 
3171
3175
  // src/i18n/index.ts
3172
3176
  import { translations as coreTranslations } from "@wise/dynamic-flow-client";
@@ -4171,10 +4175,10 @@ export {
4171
4175
  DynamicFlowLegacy,
4172
4176
  DynamicFlowRevamp,
4173
4177
  DynamicForm,
4174
- Header7 as Header,
4178
+ Header10 as Header,
4175
4179
  JsonSchemaForm,
4176
4180
  findRendererPropsByType,
4177
- getMargin,
4181
+ getMargin2 as getMargin,
4178
4182
  isValidSchema,
4179
4183
  makeHttpClient as makeCustomFetch,
4180
4184
  i18n_default as translations
@@ -0,0 +1,5 @@
1
+ export declare const Header: ({ title, callToAction }: {
2
+ title?: string;
3
+ callToAction?: import("@wise/dynamic-flow-types/build/renderers").CallToAction;
4
+ }) => "" | import("react/jsx-runtime").JSX.Element | undefined;
5
+ 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" | "";
@@ -1,9 +1,8 @@
1
- import { Header, getMargin } from '@wise/dynamic-flow-renderers';
2
1
  export { makeHttpClient as makeCustomFetch } from '@wise/dynamic-flow-client';
3
2
  export type { DynamicFlowProps, DynamicFormController, InitialAction, Step, } from '@wise/dynamic-flow-client';
4
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';
5
4
  export { findRendererPropsByType, isValidSchema, JsonSchemaForm } from '@wise/dynamic-flow-client';
6
- export { Header, getMargin };
5
+ export { Header, getMargin } from './dynamicFlow/renderers';
7
6
  export { default as translations } from './i18n';
8
7
  export type { DynamicFlowLegacyProps, DynamicFlowRevampProps } from './dynamicFlow/DynamicFlow';
9
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.24.1-experimental-1ea86c5",
3
+ "version": "4.24.1-experimental-e343995",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -91,8 +91,8 @@
91
91
  },
92
92
  "dependencies": {
93
93
  "classnames": "2.5.1",
94
- "@wise/dynamic-flow-client": "4.14.2-experimental-1ea86c5",
95
- "@wise/dynamic-flow-types": "3.11.1"
94
+ "@wise/dynamic-flow-types": "3.11.1",
95
+ "@wise/dynamic-flow-client": "4.14.2-experimental-e343995"
96
96
  },
97
97
  "scripts": {
98
98
  "dev": "pnpm build:visual-tests && storybook dev -p 3005",