@tds/core-checkbox
Advanced tools
Comparing version 1.1.19 to 1.1.20
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.1.20](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.19...@tds/core-checkbox@1.1.20) (2019-04-29) | ||
**Note:** Version bump only for package @tds/core-checkbox | ||
## [1.1.19](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.18...@tds/core-checkbox@1.1.19) (2019-04-23) | ||
@@ -8,0 +16,0 @@ |
@@ -273,6 +273,7 @@ 'use strict'; | ||
colorClassName = _this$props.colorClassName, | ||
className = _this$props.className, | ||
tag = _this$props.tag, | ||
children = _this$props.children; | ||
return React.createElement(tag, { | ||
className: colorClassName | ||
className: colorClassName || className | ||
}, children); | ||
@@ -286,3 +287,4 @@ } | ||
ColoredTextProvider.propTypes = { | ||
colorClassName: PropTypes.string.isRequired, | ||
colorClassName: PropTypes.string, | ||
className: PropTypes.string, | ||
tag: PropTypes.string, | ||
@@ -292,2 +294,4 @@ children: PropTypes.node.isRequired | ||
ColoredTextProvider.defaultProps = { | ||
colorClassName: undefined, | ||
className: undefined, | ||
tag: 'div' | ||
@@ -294,0 +298,0 @@ }; |
@@ -269,6 +269,7 @@ import React from 'react'; | ||
colorClassName = _this$props.colorClassName, | ||
className = _this$props.className, | ||
tag = _this$props.tag, | ||
children = _this$props.children; | ||
return React.createElement(tag, { | ||
className: colorClassName | ||
className: colorClassName || className | ||
}, children); | ||
@@ -282,3 +283,4 @@ } | ||
ColoredTextProvider.propTypes = { | ||
colorClassName: PropTypes.string.isRequired, | ||
colorClassName: PropTypes.string, | ||
className: PropTypes.string, | ||
tag: PropTypes.string, | ||
@@ -288,2 +290,4 @@ children: PropTypes.node.isRequired | ||
ColoredTextProvider.defaultProps = { | ||
colorClassName: undefined, | ||
className: undefined, | ||
tag: 'div' | ||
@@ -290,0 +294,0 @@ }; |
{ | ||
"name": "@tds/core-checkbox", | ||
"version": "1.1.19", | ||
"version": "1.1.20", | ||
"main": "index.cjs.js", | ||
@@ -36,5 +36,5 @@ "module": "index.es.js", | ||
"@tds/core-colours": "^1.1.1", | ||
"@tds/shared-choice": "^1.1.14" | ||
"@tds/shared-choice": "^1.1.15" | ||
}, | ||
"gitHead": "31568464c289d336537bdc20cf027308c0b8c3fa" | ||
"gitHead": "38d4b96be9f0c3082e9f6612faea5dc0437ec9ab" | ||
} |
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
64475
1454