@creative-web-solution/front-library 7.1.13 → 7.1.15
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/CHANGELOG.md +11 -0
- package/Events/EventsManager.ts +3 -0
- package/Helpers/Wait.ts +1 -1
- package/Modules/SkinSelect.ts +3 -0
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## 7.1.15
|
|
5
|
+
|
|
6
|
+
* Fix type in `wait()` helper
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## 7.1.14
|
|
10
|
+
|
|
11
|
+
* EventManager: Fix bug on array
|
|
12
|
+
* SkinSelect: Update title on select when dispatch event is off
|
|
13
|
+
|
|
14
|
+
|
|
4
15
|
## 7.1.13
|
|
5
16
|
|
|
6
17
|
* SkinSelect: Update fire event on select
|
package/Events/EventsManager.ts
CHANGED
|
@@ -202,6 +202,9 @@ export const off = function( $elements: any, options: FLib.Events.EventsManager.
|
|
|
202
202
|
let registry: FLib.Events.EventsManager.DataRegistry[] = useNativeDOMEvents ? DOMRegistry : ObjectRegistry;
|
|
203
203
|
|
|
204
204
|
registry.forEach( item => {
|
|
205
|
+
if ( item.$element !== $element ) {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
205
208
|
const callback = item.delegate || item.options._internalCallback || item.options.callback;
|
|
206
209
|
|
|
207
210
|
if ( !options.callback || options.callback === item.options.callback ) {
|
package/Helpers/Wait.ts
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*
|
|
25
25
|
* @returns A promise with a .off() function to cancel the waiting
|
|
26
26
|
*/
|
|
27
|
-
export function wait( waitFor: number |
|
|
27
|
+
export function wait( waitFor: number | 'idle' = -1 ): Promise<any> & { off(); } {
|
|
28
28
|
let timeoutId: any, _resolve;
|
|
29
29
|
|
|
30
30
|
|
package/Modules/SkinSelect.ts
CHANGED
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@creative-web-solution/front-library",
|
|
3
3
|
"title": "Frontend library",
|
|
4
4
|
"description": "Frontend functions and modules",
|
|
5
|
-
"version": "7.1.
|
|
5
|
+
"version": "7.1.15",
|
|
6
6
|
"homepage": "https://github.com/creative-web-solution/front-library",
|
|
7
7
|
"author": "Creative Web Solution <contact@cws-studio.com> (https://www.cws-studio.com)",
|
|
8
8
|
"keywords": [],
|