@superleapai/flow-ui 2.2.11 → 2.3.1
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/README.md +1 -1
- package/components/file-input.js +10 -25
- package/core/crm.js +4 -3
- package/core/flow.js +1 -38
- package/dist/output.css +1 -1
- package/dist/superleap-flow.js +8 -9
- package/dist/superleap-flow.js.map +1 -1
- package/dist/superleap-flow.min.js +2 -2
- package/index.d.ts +4 -14
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -122,10 +122,11 @@ declare module "@superleapai/flow-ui" {
|
|
|
122
122
|
): void;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
|
-
* Tell the CRM to navigate to a
|
|
126
|
-
* @param
|
|
125
|
+
* Tell the CRM to navigate to a URL
|
|
126
|
+
* @param url - Navigation URL
|
|
127
|
+
* @param newTab - Open in new tab (default: false)
|
|
127
128
|
*/
|
|
128
|
-
navigate(
|
|
129
|
+
navigate(url: string, newTab?: boolean): void;
|
|
129
130
|
|
|
130
131
|
/**
|
|
131
132
|
* Get the context data received from the CRM during handshake
|
|
@@ -595,17 +596,6 @@ declare module "@superleapai/flow-ui" {
|
|
|
595
596
|
type?: "success" | "error" | "warning" | "info" | "loading",
|
|
596
597
|
duration?: number
|
|
597
598
|
): ToastAPI;
|
|
598
|
-
renderAlerts(
|
|
599
|
-
container: HTMLElement,
|
|
600
|
-
messages?: (string | { title?: string; description?: string })[],
|
|
601
|
-
type?:
|
|
602
|
-
| "error"
|
|
603
|
-
| "info"
|
|
604
|
-
| "success"
|
|
605
|
-
| "warning"
|
|
606
|
-
| "destructive"
|
|
607
|
-
| "default"
|
|
608
|
-
): void;
|
|
609
599
|
|
|
610
600
|
// Table
|
|
611
601
|
createDataTable(config: DataTableConfig): HTMLElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superleapai/flow-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1",
|
|
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",
|