@dhis2-ui/label
Advanced tools
Comparing version 7.1.1 to 7.2.0
@@ -12,6 +12,6 @@ "use strict"; | ||
var _propTypes = _interopRequireDefault(require("@dhis2/prop-types")); | ||
var _classnames = _interopRequireDefault(require("classnames")); | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
var _react = _interopRequireDefault(require("react")); | ||
@@ -18,0 +18,0 @@ |
import _JSXStyle from "styled-jsx/style"; | ||
import { Required } from '@dhis2-ui/required'; | ||
import propTypes from '@dhis2/prop-types'; | ||
import cx from 'classnames'; | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
@@ -41,8 +41,8 @@ const styles = ["label.jsx-2718078600{display:block;box-sizing:border-box;font-size:14px;line-height:24px;padding:0;}", ".disabled.jsx-2718078600{cursor:not-allowed;}"]; | ||
Label.propTypes = { | ||
children: propTypes.string, | ||
className: propTypes.string, | ||
dataTest: propTypes.string, | ||
disabled: propTypes.bool, | ||
htmlFor: propTypes.string, | ||
required: propTypes.bool | ||
children: PropTypes.string, | ||
className: PropTypes.string, | ||
dataTest: PropTypes.string, | ||
disabled: PropTypes.bool, | ||
htmlFor: PropTypes.string, | ||
required: PropTypes.bool | ||
}; |
{ | ||
"name": "@dhis2-ui/label", | ||
"version": "7.1.1", | ||
"version": "7.2.0", | ||
"description": "UI Label", | ||
@@ -34,6 +34,7 @@ "repository": { | ||
"dependencies": { | ||
"@dhis2-ui/required": "7.1.1", | ||
"@dhis2/prop-types": "^1.6.4", | ||
"@dhis2/ui-constants": "7.1.1", | ||
"classnames": "^2.3.1" | ||
"@dhis2/prop-types": "^3.0.0-beta.1", | ||
"@dhis2-ui/required": "7.2.0", | ||
"@dhis2/ui-constants": "7.2.0", | ||
"classnames": "^2.3.1", | ||
"prop-types": "^15.7.2" | ||
}, | ||
@@ -40,0 +41,0 @@ "files": [ |
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
7708
8
+ Addedprop-types@^15.7.2
+ Added@dhis2-ui/required@7.2.0(transitive)
+ Added@dhis2/prop-types@3.1.2(transitive)
+ Added@dhis2/ui-constants@7.2.0(transitive)
+ Addedcaniuse-lite@1.0.30001684(transitive)
+ Addedelectron-to-chromium@1.5.65(transitive)
- Removed@dhis2-ui/required@7.1.1(transitive)
- Removed@dhis2/prop-types@1.6.4(transitive)
- Removed@dhis2/ui-constants@7.1.1(transitive)
- Removedcaniuse-lite@1.0.30001683(transitive)
- Removedelectron-to-chromium@1.5.64(transitive)
Updated@dhis2-ui/required@7.2.0
Updated@dhis2/ui-constants@7.2.0