@superleapai/flow-ui 2.6.1 → 2.6.21
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/core/crm.js +9 -9
- package/dist/superleap-flow.min.js +2 -2
- package/index.d.ts +4 -5
- package/index.js +2 -2
- package/package.json +1 -1
- package/dist/superleap-flow.js +0 -16563
- package/dist/superleap-flow.js.map +0 -1
package/index.d.ts
CHANGED
|
@@ -112,12 +112,11 @@ declare module "@superleapai/flow-ui" {
|
|
|
112
112
|
closeForm(): void;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
116
|
-
* The CRM
|
|
117
|
-
* @param
|
|
118
|
-
* @returns Unsubscribe function
|
|
115
|
+
* Notify the CRM that the form was submitted successfully.
|
|
116
|
+
* The CRM listens for this event and can react (e.g. close the form, refresh data).
|
|
117
|
+
* @param payload - Optional data about the submission
|
|
119
118
|
*/
|
|
120
|
-
|
|
119
|
+
formSubmittedSuccessfully(payload?: any): void;
|
|
121
120
|
|
|
122
121
|
/**
|
|
123
122
|
* Tell the CRM to show a toast notification
|
package/index.js
CHANGED
|
@@ -218,8 +218,8 @@
|
|
|
218
218
|
closeForm: client.closeForm
|
|
219
219
|
? client.closeForm.bind(client)
|
|
220
220
|
: undefined,
|
|
221
|
-
|
|
222
|
-
? client.
|
|
221
|
+
formSubmittedSuccessfully: client.formSubmittedSuccessfully
|
|
222
|
+
? client.formSubmittedSuccessfully.bind(client)
|
|
223
223
|
: undefined,
|
|
224
224
|
toast: client.toast ? client.toast.bind(client) : undefined,
|
|
225
225
|
navigate: client.navigate ? client.navigate.bind(client) : undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superleapai/flow-ui",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.21",
|
|
4
4
|
"description": "A reusable design system for building multi-step forms with comprehensive UI components. Single file, clean globals, SDK included. Only FlowUI and SuperLeap exposed.",
|
|
5
5
|
"main": "dist/superleap-flow.min.js",
|
|
6
6
|
"types": "index.d.ts",
|