@paperbits/core
Advanced tools
Comparing version 0.1.561 to 0.1.562
@@ -303,2 +303,6 @@ import * as ko from "knockout"; | ||
if (existingBalloonHandle) { | ||
if (existingBalloonHandle.balloonState == BalloonState.opening || existingBalloonHandle.balloonState == BalloonState.open) { | ||
return; | ||
} | ||
if (existingBalloonHandle.activateOn === BalloonActivationMethod.hoverOrFocus) { | ||
@@ -427,3 +431,3 @@ existingBalloonHandle.close(); | ||
const getBaloonBaloonHandleFor = (...methods: BalloonActivationMethod[]): BalloonHandle => { | ||
const getBaloonHandleFor = (...methods: BalloonActivationMethod[]): BalloonHandle => { | ||
const balloonHandles: BalloonHandle[] = toggleElement[balloonHandlesProp]; | ||
@@ -447,3 +451,3 @@ | ||
const handle = getBaloonBaloonHandleFor(BalloonActivationMethod.clickOrKeyDown); | ||
const handle = getBaloonHandleFor(BalloonActivationMethod.clickOrKeyDown); | ||
@@ -470,3 +474,3 @@ if (handle) { | ||
const onMouseEnter = (event: MouseEvent): void => { | ||
const handle = getBaloonBaloonHandleFor(BalloonActivationMethod.hoverOrFocus, BalloonActivationMethod.all); | ||
const handle = getBaloonHandleFor(BalloonActivationMethod.hoverOrFocus, BalloonActivationMethod.all); | ||
@@ -510,3 +514,3 @@ if (!handle) { | ||
const handle = getBaloonBaloonHandleFor(BalloonActivationMethod.clickOrKeyDown, BalloonActivationMethod.all); | ||
const handle = getBaloonHandleFor(BalloonActivationMethod.clickOrKeyDown, BalloonActivationMethod.all); | ||
@@ -513,0 +517,0 @@ if (handle) { |
{ | ||
"name": "@paperbits/core", | ||
"version": "0.1.561", | ||
"version": "0.1.562", | ||
"description": "Paperbits core components.", | ||
@@ -24,4 +24,4 @@ "author": "Paperbits", | ||
"@googlemaps/js-api-loader": "^1.12.9", | ||
"@paperbits/common": "0.1.561", | ||
"@paperbits/styles": "0.1.561", | ||
"@paperbits/common": "0.1.562", | ||
"@paperbits/styles": "0.1.562", | ||
"await-parallel-limit": "^2.1.0", | ||
@@ -28,0 +28,0 @@ "basiclightbox": "^5.0.4", |
1139472
608
21769
+ Added@paperbits/common@0.1.562(transitive)
+ Added@paperbits/styles@0.1.562(transitive)
- Removed@paperbits/common@0.1.561(transitive)
- Removed@paperbits/styles@0.1.561(transitive)
Updated@paperbits/common@0.1.562
Updated@paperbits/styles@0.1.562