@dhis2-ui/layer
Advanced tools
Comparing version 9.12.0-alpha.4 to 9.12.0
@@ -18,8 +18,8 @@ "use strict"; | ||
className, | ||
dataTest, | ||
dataTest = 'dhis2-uicore-layer', | ||
disablePortal, | ||
level, | ||
level = 'auto', | ||
onBackdropClick, | ||
onClick, | ||
position, | ||
position = 'fixed', | ||
translucent | ||
@@ -46,7 +46,2 @@ } = _ref; | ||
exports.Layer = Layer; | ||
Layer.defaultProps = { | ||
position: 'fixed', | ||
dataTest: 'dhis2-uicore-layer', | ||
level: 'auto' | ||
}; | ||
Layer.propTypes = { | ||
@@ -53,0 +48,0 @@ children: _propTypes2.default.node, |
@@ -44,3 +44,5 @@ "use strict"; | ||
args: { | ||
..._layer.Layer.defaultProps | ||
position: 'fixed', | ||
dataTest: 'dhis2-uicore-layer', | ||
level: 'auto' | ||
} | ||
@@ -47,0 +49,0 @@ }; |
@@ -11,8 +11,8 @@ import _JSXStyle from "styled-jsx/style"; | ||
className, | ||
dataTest, | ||
dataTest = 'dhis2-uicore-layer', | ||
disablePortal, | ||
level, | ||
level = 'auto', | ||
onBackdropClick, | ||
onClick, | ||
position, | ||
position = 'fixed', | ||
translucent | ||
@@ -38,7 +38,2 @@ } = _ref; | ||
}; | ||
Layer.defaultProps = { | ||
position: 'fixed', | ||
dataTest: 'dhis2-uicore-layer', | ||
level: 'auto' | ||
}; | ||
Layer.propTypes = { | ||
@@ -45,0 +40,0 @@ children: PropTypes.node, |
@@ -37,3 +37,5 @@ import { Center } from '@dhis2-ui/center'; | ||
args: { | ||
...Layer.defaultProps | ||
position: 'fixed', | ||
dataTest: 'dhis2-uicore-layer', | ||
level: 'auto' | ||
} | ||
@@ -40,0 +42,0 @@ }; |
{ | ||
"name": "@dhis2-ui/layer", | ||
"version": "9.12.0-alpha.4", | ||
"version": "9.12.0", | ||
"description": "UI Layer", | ||
@@ -36,4 +36,4 @@ "repository": { | ||
"@dhis2/prop-types": "^3.1.2", | ||
"@dhis2-ui/portal": "9.12.0-alpha.4", | ||
"@dhis2/ui-constants": "9.12.0-alpha.4", | ||
"@dhis2-ui/portal": "9.12.0", | ||
"@dhis2/ui-constants": "9.12.0", | ||
"classnames": "^2.3.1", | ||
@@ -40,0 +40,0 @@ "prop-types": "^15.7.2" |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
35498
680
+ Added@dhis2-ui/portal@9.12.0(transitive)
+ Added@dhis2/ui-constants@9.12.0(transitive)
- Removed@dhis2-ui/portal@9.12.0-alpha.4(transitive)
- Removed@dhis2/ui-constants@9.12.0-alpha.4(transitive)
Updated@dhis2-ui/portal@9.12.0
Updated@dhis2/ui-constants@9.12.0