@dhis2-ui/label
Advanced tools
Comparing version 6.10.0 to 6.10.1
@@ -29,11 +29,3 @@ "use strict"; | ||
}); | ||
/** | ||
* @module | ||
* @param {Label.PropTypes} props | ||
* @returns {React.Component} | ||
* | ||
* @example import { Label } from '@dhis2/ui-core' | ||
*/ | ||
const Label = ({ | ||
@@ -65,14 +57,2 @@ htmlFor, | ||
}; | ||
/** | ||
* @typedef {Object} PropTypes | ||
* @static | ||
* | ||
* @prop {string} [htmlFor] | ||
* @prop {string} [children] | ||
* @prop {string} [className] | ||
* @prop {boolean} [required] | ||
* @prop {boolean} [disabled] | ||
* @prop {string} [dataTest] | ||
*/ | ||
Label.propTypes = { | ||
@@ -79,0 +59,0 @@ children: _propTypes.default.string, |
@@ -15,11 +15,3 @@ import _JSXStyle from "styled-jsx/style"; | ||
}); | ||
/** | ||
* @module | ||
* @param {Label.PropTypes} props | ||
* @returns {React.Component} | ||
* | ||
* @example import { Label } from '@dhis2/ui-core' | ||
*/ | ||
export const Label = ({ | ||
@@ -49,14 +41,2 @@ htmlFor, | ||
}; | ||
/** | ||
* @typedef {Object} PropTypes | ||
* @static | ||
* | ||
* @prop {string} [htmlFor] | ||
* @prop {string} [children] | ||
* @prop {string} [className] | ||
* @prop {boolean} [required] | ||
* @prop {boolean} [disabled] | ||
* @prop {string} [dataTest] | ||
*/ | ||
Label.propTypes = { | ||
@@ -63,0 +43,0 @@ children: propTypes.string, |
{ | ||
"name": "@dhis2-ui/label", | ||
"version": "6.10.0", | ||
"version": "6.10.1", | ||
"description": "UI Label", | ||
@@ -33,5 +33,5 @@ "repository": { | ||
"dependencies": { | ||
"@dhis2-ui/required": "6.10.0", | ||
"@dhis2-ui/required": "6.10.1", | ||
"@dhis2/prop-types": "^1.6.4", | ||
"@dhis2/ui-constants": "6.10.0", | ||
"@dhis2/ui-constants": "6.10.1", | ||
"classnames": "^2.3.1" | ||
@@ -38,0 +38,0 @@ }, |
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
7607
145
+ Added@dhis2-ui/required@6.10.1(transitive)
+ Added@dhis2/ui-constants@6.10.1(transitive)
- Removed@dhis2-ui/required@6.10.0(transitive)
- Removed@dhis2/ui-constants@6.10.0(transitive)
Updated@dhis2-ui/required@6.10.1
Updated@dhis2/ui-constants@6.10.1