@mekari/pixel-popper
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -226,2 +226,3 @@ 'use strict'; | ||
props: { | ||
id: String, | ||
as: { | ||
@@ -305,7 +306,7 @@ type: [String, Object], | ||
portalTarget() { | ||
return this.usePortalTarget || `#pixel-portal-${pixelUtils.useId(4)}`; | ||
return this.usePortalTarget || this.id || `#pixel-portal-${pixelUtils.useId(4)}`; | ||
}, | ||
popperId() { | ||
return `popper_${pixelUtils.useId(4)}`; | ||
return `popper_${this.id}` || `popper_${pixelUtils.useId(4)}`; | ||
}, | ||
@@ -312,0 +313,0 @@ |
@@ -226,2 +226,3 @@ 'use strict'; | ||
props: { | ||
id: String, | ||
as: { | ||
@@ -305,7 +306,7 @@ type: [String, Object], | ||
portalTarget() { | ||
return this.usePortalTarget || `#pixel-portal-${pixelUtils.useId(4)}`; | ||
return this.usePortalTarget || this.id || `#pixel-portal-${pixelUtils.useId(4)}`; | ||
}, | ||
popperId() { | ||
return `popper_${pixelUtils.useId(4)}`; | ||
return `popper_${this.id}` || `popper_${pixelUtils.useId(4)}`; | ||
}, | ||
@@ -312,0 +313,0 @@ |
@@ -218,2 +218,3 @@ import merge from 'lodash-es/merge'; | ||
props: { | ||
id: String, | ||
as: { | ||
@@ -297,7 +298,7 @@ type: [String, Object], | ||
portalTarget() { | ||
return this.usePortalTarget || `#pixel-portal-${useId(4)}`; | ||
return this.usePortalTarget || this.id || `#pixel-portal-${useId(4)}`; | ||
}, | ||
popperId() { | ||
return `popper_${useId(4)}`; | ||
return `popper_${this.id}` || `popper_${useId(4)}`; | ||
}, | ||
@@ -304,0 +305,0 @@ |
{ | ||
"name": "@mekari/pixel-popper", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Mekari Pixel | Popper component", | ||
@@ -27,6 +27,6 @@ "homepage": "https://mekari.design/", | ||
"dependencies": { | ||
"@mekari/pixel-box": "^0.0.6", | ||
"@mekari/pixel-portal": "^0.0.6", | ||
"@mekari/pixel-pseudo-box": "^0.0.6", | ||
"@mekari/pixel-utils": "^0.0.6", | ||
"@mekari/pixel-box": "^0.0.7", | ||
"@mekari/pixel-portal": "^0.0.7", | ||
"@mekari/pixel-pseudo-box": "^0.0.7", | ||
"@mekari/pixel-utils": "^0.1.0", | ||
"@popperjs/core": "^2.4.0", | ||
@@ -33,0 +33,0 @@ "lodash-es": "^4.17.21" |
@@ -63,2 +63,3 @@ import merge from 'lodash-es/merge' | ||
props: { | ||
id: String, | ||
as: { | ||
@@ -140,6 +141,6 @@ type: [String, Object], | ||
portalTarget () { | ||
return this.usePortalTarget || `#pixel-portal-${useId(4)}` | ||
return this.usePortalTarget || this.id || `#pixel-portal-${useId(4)}` | ||
}, | ||
popperId () { | ||
return `popper_${useId(4)}` | ||
return `popper_${this.id}` || `popper_${useId(4)}` | ||
}, | ||
@@ -146,0 +147,0 @@ rtlPlacement () { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
53113
1812
0
+ Added@mekari/pixel-box@0.0.7(transitive)
+ Added@mekari/pixel-no-ssr@0.0.7(transitive)
+ Added@mekari/pixel-portal@0.0.7(transitive)
+ Added@mekari/pixel-pseudo-box@0.0.7(transitive)
+ Added@mekari/pixel-utils@0.1.00.1.1(transitive)
- Removed@mekari/pixel-box@0.0.6(transitive)
- Removed@mekari/pixel-no-ssr@0.0.6(transitive)
- Removed@mekari/pixel-portal@0.0.6(transitive)
- Removed@mekari/pixel-pseudo-box@0.0.6(transitive)
- Removed@mekari/pixel-utils@0.0.6(transitive)
Updated@mekari/pixel-box@^0.0.7
Updated@mekari/pixel-portal@^0.0.7
Updated@mekari/pixel-utils@^0.1.0