@superleapai/flow-ui 2.2.9 → 2.2.11
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/components/date-time-picker/date-time-picker.js +1 -1
- package/components/enum-multiselect.js +27 -73
- package/components/enum-select.js +27 -76
- package/components/icon.js +2 -2
- package/components/multiselect.js +64 -40
- package/components/popover.js +33 -48
- package/components/record-multiselect.js +77 -140
- package/components/record-select.js +62 -145
- package/components/select.js +72 -64
- package/components/time-picker.js +4 -6
- package/core/superleapClient.js +3 -10
- package/dist/output.css +1 -1
- package/dist/superleap-flow.js +9 -8
- package/dist/superleap-flow.js.map +1 -1
- package/dist/superleap-flow.min.js +2 -2
- package/index.js +0 -1
- package/package.json +1 -1
package/dist/superleap-flow.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @superleapai/flow-ui v2.2.
|
|
2
|
+
* @superleapai/flow-ui v2.2.9
|
|
3
3
|
* A reusable design system for building multi-step forms
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-present SuperLeap
|
|
6
6
|
* Licensed under MIT
|
|
7
7
|
*
|
|
8
8
|
* Build: development
|
|
9
|
-
* Date: 2026-02-
|
|
9
|
+
* Date: 2026-02-16T06:02:03.445Z
|
|
10
10
|
*
|
|
11
11
|
* For documentation and examples, visit:
|
|
12
12
|
* https://github.com/superleap/superleap-flow
|
|
@@ -2742,8 +2742,7 @@
|
|
|
2742
2742
|
|
|
2743
2743
|
_config = mergeConfig(DEFAULT_CONFIG, config);
|
|
2744
2744
|
|
|
2745
|
-
// Create SDK instance
|
|
2746
|
-
// Check for both global function and class constructor
|
|
2745
|
+
// Create SDK instance using the SDK factory if available
|
|
2747
2746
|
if (typeof global.createSuperLeapSDK === "function") {
|
|
2748
2747
|
_sdkInstance = global.createSuperLeapSDK(_config);
|
|
2749
2748
|
} else if (typeof global.SuperLeapSDK === "function") {
|
|
@@ -2757,8 +2756,8 @@
|
|
|
2757
2756
|
}
|
|
2758
2757
|
|
|
2759
2758
|
/**
|
|
2760
|
-
* Get the SDK instance.
|
|
2761
|
-
* Returns null if init() was not called or the SDK script is not loaded
|
|
2759
|
+
* Get the SDK instance.
|
|
2760
|
+
* Returns null if init() was not called or the SDK script is not loaded.
|
|
2762
2761
|
*
|
|
2763
2762
|
* @returns {SuperLeapSDK|null} SDK instance or null
|
|
2764
2763
|
*/
|
|
@@ -16807,7 +16806,9 @@
|
|
|
16807
16806
|
if (isStandalone && !client.isAvailable()) {
|
|
16808
16807
|
// Auto-init with default config for standalone testing
|
|
16809
16808
|
client.init(client.getDefaultConfig());
|
|
16810
|
-
console.log(
|
|
16809
|
+
console.log(
|
|
16810
|
+
"[Superleap-Flow] SDK auto-initialized for standalone mode"
|
|
16811
|
+
);
|
|
16811
16812
|
}
|
|
16812
16813
|
}
|
|
16813
16814
|
|
|
@@ -16823,7 +16824,7 @@
|
|
|
16823
16824
|
},
|
|
16824
16825
|
});
|
|
16825
16826
|
document.dispatchEvent(event);
|
|
16826
|
-
console.log("[Superleap-Flow] Library ready - v2.2.
|
|
16827
|
+
console.log("[Superleap-Flow] Library ready - v2.2.9");
|
|
16827
16828
|
}
|
|
16828
16829
|
|
|
16829
16830
|
// Wait for DOM to be ready before dispatching event
|