@janiscommerce/ui-web 0.40.0 → 0.40.2

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
@@ -7,7 +7,47 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [0.39.0] - 2025-05-13
10
+ ## [0.41.2] - 2025-05-23
11
+
12
+ ### Fixed
13
+
14
+ - main key in rollback config
15
+
16
+ ## [0.41.1] - 2025-05-23
17
+
18
+ ### Changed
19
+
20
+ - Rollback export
21
+
22
+ ### Removed
23
+
24
+ - axios library
25
+
26
+ ## [0.41.0] - 2025-05-23
27
+
28
+ ### Changed
29
+
30
+ - Updated build configuration and export setup
31
+ - Fixed dist folder configuration in rollup build
32
+ - Improved build command configuration
33
+
34
+ ### Removed
35
+
36
+ - Removed axios dependency from package.json
37
+ - Removed preinstall script functionality
38
+
39
+ ### Fixed
40
+
41
+ - Fixed export configuration in rollup build setup
42
+ - Fixed build process for better package distribution
43
+
44
+ ## [0.40.1] - 2025-05-21
45
+
46
+ ### Fixed
47
+
48
+ - stop animation fn on hover marker
49
+
50
+ ## [0.40.0] - 2025-05-13
11
51
 
12
52
  ### Added
13
53
 
package/dist/index.esm.js CHANGED
@@ -16056,17 +16056,19 @@ var Marker = function Marker(_ref) {
16056
16056
  var stopAnimation = function stopAnimation() {
16057
16057
  var _markerRef$current2;
16058
16058
 
16059
- if (timeoutRef.current) clearTimeout(timeoutRef.current);
16060
16059
  if ((_markerRef$current2 = markerRef.current) !== null && _markerRef$current2 !== void 0 && _markerRef$current2.marker) markerRef.current.marker.setAnimation(null);
16061
16060
  };
16062
16061
 
16063
16062
  var startAnimation = function startAnimation() {
16064
16063
  if (!markerRef.current) return;
16065
- stopAnimation();
16064
+ if (timeoutRef.current) clearTimeout(timeoutRef.current);
16066
16065
  markerRef.current.marker.setAnimation(window.google.maps.Animation[animation === null || animation === void 0 ? void 0 : animation.name]);
16067
- if (animation !== null && animation !== void 0 && animation.duration && isNumber(animation === null || animation === void 0 ? void 0 : animation.duration)) timeoutRef.current = setTimeout(function () {
16068
- return stopAnimation();
16069
- }, animation.duration);
16066
+
16067
+ if (animation !== null && animation !== void 0 && animation.duration && isNumber(animation === null || animation === void 0 ? void 0 : animation.duration)) {
16068
+ timeoutRef.current = setTimeout(function () {
16069
+ return stopAnimation();
16070
+ }, animation.duration);
16071
+ }
16070
16072
  };
16071
16073
 
16072
16074
  useEffect(function () {