@dhis2-ui/box
Advanced tools
Comparing version 6.10.0 to 6.10.1
@@ -16,8 +16,2 @@ "use strict"; | ||
/** | ||
* @module | ||
* | ||
* @param {Box.PropTypes} props | ||
* @returns {React.Component} | ||
*/ | ||
const Box = ({ | ||
@@ -47,19 +41,2 @@ overflow, | ||
}; | ||
/** | ||
* @typedef {Object} PropTypes | ||
* @static | ||
* | ||
* @prop {node} [children] | ||
* @prop {string} [className] | ||
* @prop {string} [dataTest=dhis2-uicore-box] | ||
* @prop {string} [height] | ||
* @prop {string} [marginTop] | ||
* @prop {string} [maxHeight] | ||
* @prop {string} [maxWidth] | ||
* @prop {string} [minHeight] | ||
* @prop {string} [minWidth] | ||
* @prop {string} [overflow] | ||
* @prop {string} [width] | ||
*/ | ||
Box.propTypes = { | ||
@@ -66,0 +43,0 @@ children: _propTypes.default.node, |
import _JSXStyle from "styled-jsx/style"; | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
/** | ||
* @module | ||
* | ||
* @param {Box.PropTypes} props | ||
* @returns {React.Component} | ||
*/ | ||
export const Box = ({ | ||
@@ -33,19 +26,2 @@ overflow, | ||
}; | ||
/** | ||
* @typedef {Object} PropTypes | ||
* @static | ||
* | ||
* @prop {node} [children] | ||
* @prop {string} [className] | ||
* @prop {string} [dataTest=dhis2-uicore-box] | ||
* @prop {string} [height] | ||
* @prop {string} [marginTop] | ||
* @prop {string} [maxHeight] | ||
* @prop {string} [maxWidth] | ||
* @prop {string} [minHeight] | ||
* @prop {string} [minWidth] | ||
* @prop {string} [overflow] | ||
* @prop {string} [width] | ||
*/ | ||
Box.propTypes = { | ||
@@ -52,0 +28,0 @@ children: PropTypes.node, |
{ | ||
"name": "@dhis2-ui/box", | ||
"version": "6.10.0", | ||
"version": "6.10.1", | ||
"description": "UI Box", | ||
@@ -34,3 +34,3 @@ "repository": { | ||
"@dhis2/prop-types": "^1.6.4", | ||
"@dhis2/ui-constants": "6.10.0", | ||
"@dhis2/ui-constants": "6.10.1", | ||
"classnames": "^2.3.1", | ||
@@ -37,0 +37,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
12613
280
+ Added@dhis2/ui-constants@6.10.1(transitive)
- Removed@dhis2/ui-constants@6.10.0(transitive)
Updated@dhis2/ui-constants@6.10.1