@dhis2-ui/loader
Advanced tools
Comparing version 10.0.0-alpha.6 to 10.0.0-alpha.7
@@ -20,3 +20,3 @@ "use strict"; | ||
className, | ||
dataTest, | ||
dataTest = 'dhis2-uicore-circularloader', | ||
'aria-label': ariaLabel | ||
@@ -40,5 +40,2 @@ } = _ref; | ||
exports.CircularLoader = CircularLoader; | ||
CircularLoader.defaultProps = { | ||
dataTest: 'dhis2-uicore-circularloader' | ||
}; | ||
CircularLoader.propTypes = { | ||
@@ -45,0 +42,0 @@ 'aria-label': _propTypes.default.string, |
@@ -39,7 +39,7 @@ "use strict"; | ||
amount, | ||
width, | ||
margin, | ||
width = '300px', | ||
margin = _uiConstants.spacers.dp12, | ||
invert, | ||
className, | ||
dataTest, | ||
dataTest = 'dhis2-uicore-linearloader', | ||
'aria-label': ariaLabel | ||
@@ -66,7 +66,2 @@ } = _ref2; | ||
exports.LinearLoader = LinearLoader; | ||
LinearLoader.defaultProps = { | ||
margin: _uiConstants.spacers.dp12, | ||
width: '300px', | ||
dataTest: 'dhis2-uicore-linearloader' | ||
}; | ||
LinearLoader.propTypes = { | ||
@@ -73,0 +68,0 @@ /** The progression in percent without the '%' sign */ |
@@ -13,3 +13,3 @@ import _JSXStyle from "styled-jsx/style"; | ||
className, | ||
dataTest, | ||
dataTest = 'dhis2-uicore-circularloader', | ||
'aria-label': ariaLabel | ||
@@ -32,5 +32,2 @@ } = _ref; | ||
}; | ||
CircularLoader.defaultProps = { | ||
dataTest: 'dhis2-uicore-circularloader' | ||
}; | ||
CircularLoader.propTypes = { | ||
@@ -37,0 +34,0 @@ 'aria-label': PropTypes.string, |
@@ -32,7 +32,7 @@ import _JSXStyle from "styled-jsx/style"; | ||
amount, | ||
width, | ||
margin, | ||
width = '300px', | ||
margin = spacers.dp12, | ||
invert, | ||
className, | ||
dataTest, | ||
dataTest = 'dhis2-uicore-linearloader', | ||
'aria-label': ariaLabel | ||
@@ -58,7 +58,2 @@ } = _ref2; | ||
}; | ||
LinearLoader.defaultProps = { | ||
margin: spacers.dp12, | ||
width: '300px', | ||
dataTest: 'dhis2-uicore-linearloader' | ||
}; | ||
LinearLoader.propTypes = { | ||
@@ -65,0 +60,0 @@ /** The progression in percent without the '%' sign */ |
{ | ||
"name": "@dhis2-ui/loader", | ||
"version": "10.0.0-alpha.6", | ||
"version": "10.0.0-alpha.7", | ||
"description": "UI Loaders", | ||
@@ -36,3 +36,3 @@ "repository": { | ||
"@dhis2/prop-types": "^3.1.2", | ||
"@dhis2/ui-constants": "10.0.0-alpha.6", | ||
"@dhis2/ui-constants": "10.0.0-alpha.7", | ||
"classnames": "^2.3.1", | ||
@@ -39,0 +39,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
28343
691
+ Added@dhis2/ui-constants@10.0.0-alpha.7(transitive)
- Removed@dhis2/ui-constants@10.0.0-alpha.6(transitive)