@dhis2-ui/layer
Advanced tools
Comparing version 10.0.0-alpha.6 to 10.0.0-alpha.7
@@ -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": "10.0.0-alpha.6", | ||
"version": "10.0.0-alpha.7", | ||
"description": "UI Layer", | ||
@@ -36,4 +36,4 @@ "repository": { | ||
"@dhis2/prop-types": "^3.1.2", | ||
"@dhis2-ui/portal": "10.0.0-alpha.6", | ||
"@dhis2/ui-constants": "10.0.0-alpha.6", | ||
"@dhis2-ui/portal": "10.0.0-alpha.7", | ||
"@dhis2/ui-constants": "10.0.0-alpha.7", | ||
"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
35522
680
+ Added@dhis2-ui/portal@10.0.0-alpha.7(transitive)
+ Added@dhis2/ui-constants@10.0.0-alpha.7(transitive)
- Removed@dhis2-ui/portal@10.0.0-alpha.6(transitive)
- Removed@dhis2/ui-constants@10.0.0-alpha.6(transitive)