@mekari/pixel-popover
Advanced tools
Comparing version 0.3.2 to 0.4.0
@@ -775,2 +775,10 @@ 'use strict'; | ||
this.prevIsOpen = oldVal; | ||
if (this.isManual && !oldVal && _newVal) { | ||
this.$emit('open'); | ||
} | ||
if (this.isManual && oldVal && !_newVal) { | ||
this.$emit('close'); | ||
} | ||
}, { | ||
@@ -835,3 +843,3 @@ immediate: true | ||
if (this._isOpen !== true) { | ||
if (this._isOpen === true) { | ||
this.$emit('open'); | ||
@@ -838,0 +846,0 @@ } else { |
@@ -775,2 +775,10 @@ 'use strict'; | ||
this.prevIsOpen = oldVal; | ||
if (this.isManual && !oldVal && _newVal) { | ||
this.$emit('open'); | ||
} | ||
if (this.isManual && oldVal && !_newVal) { | ||
this.$emit('close'); | ||
} | ||
}, { | ||
@@ -835,3 +843,3 @@ immediate: true | ||
if (this._isOpen !== true) { | ||
if (this._isOpen === true) { | ||
this.$emit('open'); | ||
@@ -838,0 +846,0 @@ } else { |
@@ -771,2 +771,10 @@ import { isFunction } from 'lodash-es'; | ||
this.prevIsOpen = oldVal; | ||
if (this.isManual && !oldVal && _newVal) { | ||
this.$emit('open'); | ||
} | ||
if (this.isManual && oldVal && !_newVal) { | ||
this.$emit('close'); | ||
} | ||
}, { | ||
@@ -831,3 +839,3 @@ immediate: true | ||
if (this._isOpen !== true) { | ||
if (this._isOpen === true) { | ||
this.$emit('open'); | ||
@@ -834,0 +842,0 @@ } else { |
{ | ||
"name": "@mekari/pixel-popover", | ||
"description": "Mekari Pixel | Pop over component", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"homepage": "https://mekari.design/", | ||
@@ -35,3 +35,3 @@ "repository": { | ||
"@mekari/pixel-pseudo-box": "^0.0.8", | ||
"@mekari/pixel-icon": "^0.8.5", | ||
"@mekari/pixel-icon": "^0.8.12", | ||
"lodash-es": "^4.17.21" | ||
@@ -38,0 +38,0 @@ }, |
@@ -127,2 +127,10 @@ import { isFunction } from 'lodash-es' | ||
this.prevIsOpen = oldVal | ||
if (this.isManual && !oldVal && _newVal) { | ||
this.$emit('open') | ||
} | ||
if (this.isManual && oldVal && !_newVal) { | ||
this.$emit('close') | ||
} | ||
}, | ||
@@ -200,3 +208,3 @@ { | ||
if (this._isOpen !== true) { | ||
if (this._isOpen === true) { | ||
this.$emit('open') | ||
@@ -203,0 +211,0 @@ } else { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
84514
3224
Updated@mekari/pixel-icon@^0.8.12