@wise/dynamic-flow-client-internal 5.25.2 → 5.26.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.
- package/build/i18n/ar.json +1 -0
- package/build/i18n/cs.json +1 -0
- package/build/i18n/de.json +1 -0
- package/build/i18n/en.json +1 -0
- package/build/i18n/es.json +1 -0
- package/build/i18n/fr.json +1 -0
- package/build/i18n/hu.json +1 -0
- package/build/i18n/id.json +1 -0
- package/build/i18n/it.json +1 -0
- package/build/i18n/ja.json +1 -0
- package/build/i18n/ko.json +1 -0
- package/build/i18n/nl.json +1 -0
- package/build/i18n/pl.json +1 -0
- package/build/i18n/pt.json +1 -0
- package/build/i18n/ro.json +1 -0
- package/build/i18n/ru.json +1 -0
- package/build/i18n/sv.json +1 -0
- package/build/i18n/th.json +1 -0
- package/build/i18n/tr.json +1 -0
- package/build/i18n/uk.json +1 -0
- package/build/i18n/zh_CN.json +1 -0
- package/build/i18n/zh_HK.json +1 -0
- package/build/main.css +7 -0
- package/build/main.js +554 -427
- package/build/main.mjs +533 -406
- package/build/tsconfig.types.tsbuildinfo +1 -1
- package/build/types/dynamicFlow/context-menu/useContextMenu.d.ts +2 -1
- package/build/types/dynamicFlow/context-menu/useContextMenu.d.ts.map +1 -1
- package/build/types/dynamicFlow/context-menu/useDFContextMenu.d.ts.map +1 -1
- package/build/types/index.d.ts +1 -1
- package/build/types/index.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -3,8 +3,9 @@ type MenuItem = {
|
|
|
3
3
|
label: string;
|
|
4
4
|
onClick: () => void;
|
|
5
5
|
};
|
|
6
|
-
export declare function useContextMenu({ title, items }: {
|
|
6
|
+
export declare function useContextMenu({ title, subtitle, items, }: {
|
|
7
7
|
title: string;
|
|
8
|
+
subtitle: string;
|
|
8
9
|
items: MenuItem[];
|
|
9
10
|
}): {
|
|
10
11
|
onContextMenu: (event: ReactMouseEvent<HTMLDivElement>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/context-menu/useContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,IAAI,eAAe,EAAoC,MAAM,OAAO,CAAC;AAE7F,KAAK,QAAQ,GAAG;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAIF,wBAAgB,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"useContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/context-menu/useContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,IAAI,eAAe,EAAoC,MAAM,OAAO,CAAC;AAE7F,KAAK,QAAQ,GAAG;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAIF,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,KAAK,GACN,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;2BAG+B,eAAe,CAAC,cAAc,CAAC;;EA+B9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDFContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/context-menu/useDFContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAIlE,eAAO,MAAM,gBAAgB,eAAgB;IAC3C,cAAc,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,WAAW,CAAC;CAC7B;;;
|
|
1
|
+
{"version":3,"file":"useDFContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/dynamicFlow/context-menu/useDFContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAIlE,eAAO,MAAM,gBAAgB,eAAgB;IAC3C,cAAc,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,WAAW,CAAC;CAC7B;;;CAiEA,CAAC"}
|
package/build/types/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export type { DynamicFlowWiseProps as DynamicFlowProps } from './dynamicFlow/Dyn
|
|
|
3
3
|
export { DynamicFlow } from './dynamicFlow/DynamicFlow';
|
|
4
4
|
export { DynamicFlowWithRef, type DynamicFlowRef } from './dynamicFlow/DynamicFlowWithRef';
|
|
5
5
|
export { findRendererPropsByType } from '@wise/dynamic-flow-client';
|
|
6
|
-
export { getMargin, Header, Media } from './dynamicFlow/renderers';
|
|
6
|
+
export { createCollectionRenderer, getMargin, Header, Media } from './dynamicFlow/renderers';
|
|
7
7
|
export { default as translations } from './i18n';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE9E,YAAY,EAAE,oBAAoB,IAAI,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAEnG,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAE3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE9E,YAAY,EAAE,oBAAoB,IAAI,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAEnG,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAE3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAE7F,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client-internal",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.26.0",
|
|
4
4
|
"description": "Dynamic Flow web client for Wise",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.js",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"vite": "^8.1.5",
|
|
71
71
|
"vitest": "^4.1.10",
|
|
72
72
|
"@wise/dynamic-flow-fixtures": "0.0.1",
|
|
73
|
-
"@wise/dynamic-flow-
|
|
74
|
-
"@wise/dynamic-flow-
|
|
73
|
+
"@wise/dynamic-flow-types": "4.21.0",
|
|
74
|
+
"@wise/dynamic-flow-renderers": "0.0.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@transferwise/components": "^46.104.0",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"react-intl": "^6 || ^7"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@wise/dynamic-flow-client": "5.
|
|
88
|
-
"@wise/dynamic-flow-types": "4.
|
|
87
|
+
"@wise/dynamic-flow-client": "5.23.0",
|
|
88
|
+
"@wise/dynamic-flow-types": "4.21.0"
|
|
89
89
|
},
|
|
90
90
|
"wise": {
|
|
91
91
|
"platform": "wise-library",
|