@superleapai/flow-ui 2.2.10 → 2.3.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/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 path
126
- * @param path - Navigation path
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(path: string): void;
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.2.10",
3
+ "version": "2.3.0",
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",