@creative-web-solution/front-library 7.1.22 → 7.1.23

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 7.1.23
4
+
5
+ * [TransitionHelpers] Fix delay issue
6
+
3
7
 
4
8
  ## 7.1.22
5
9
 
@@ -12,7 +12,7 @@ function addWatcher( $element: HTMLElement, styleChange: ( $element: HTMLElement
12
12
  }
13
13
 
14
14
  if ( typeof options.delay !== 'number' && options.delay !== 'idle') {
15
- options.delay = 'idle';
15
+ options.delay = -1;
16
16
  }
17
17
 
18
18
  $element[ KEY ] = isAnimation ?
@@ -30,7 +30,7 @@ function addWatcher( $element: HTMLElement, styleChange: ( $element: HTMLElement
30
30
  return $element;
31
31
  } );
32
32
 
33
- wait( options.delay ).then( () => styleChange( $element ) );
33
+ wait( options.delay ).then( () => wait() ).then( () => styleChange( $element ) );
34
34
 
35
35
  return $element[ KEY ];
36
36
  }
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Front Library
2
2
 
3
- @version: 7.1.22
3
+ @version: 7.1.23
4
4
 
5
5
 
6
6
  ## Use
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.22",
5
+ "version": "7.1.23",
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": [],