New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tds/core-checkbox

Package Overview
Dependencies
Maintainers
7
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tds/core-checkbox - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="1.1.1"></a>
## [1.1.1](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.0...@tds/core-checkbox@1.1.1) (2018-12-06)
**Note:** Version bump only for package @tds/core-checkbox
<a name="1.1.0"></a>

@@ -8,0 +16,0 @@ # [1.1.0](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.0.5...@tds/core-checkbox@1.1.0) (2018-07-23)

2

Checkbox.md

@@ -7,2 +7,4 @@ ### Minimal usage

For information on how to use disabled Checkboxes, please refer to the [disabled form component](#form-disabled-state) guidelines.
<a href="https://www.nngroup.com/articles/checkboxes-vs-radio-buttons/" target="_blank">Reference</a>

@@ -9,0 +11,0 @@

12

dist/index.cjs.js

@@ -158,10 +158,7 @@ 'use strict';

colorClassName = _props.colorClassName,
tag = _props.tag,
children = _props.children;
return React.createElement(
'div',
{ className: colorClassName },
children
);
return React.createElement(tag, { className: colorClassName }, children);
}

@@ -174,5 +171,10 @@ }]);

colorClassName: PropTypes.string.isRequired,
tag: PropTypes.string,
children: PropTypes.node.isRequired
};
ColoredTextProvider.defaultProps = {
tag: 'div'
};
ColoredTextProvider.childContextTypes = {

@@ -179,0 +181,0 @@ inheritColor: PropTypes.bool

@@ -154,10 +154,7 @@ import React from 'react';

colorClassName = _props.colorClassName,
tag = _props.tag,
children = _props.children;
return React.createElement(
'div',
{ className: colorClassName },
children
);
return React.createElement(tag, { className: colorClassName }, children);
}

@@ -170,5 +167,10 @@ }]);

colorClassName: PropTypes.string.isRequired,
tag: PropTypes.string,
children: PropTypes.node.isRequired
};
ColoredTextProvider.defaultProps = {
tag: 'div'
};
ColoredTextProvider.childContextTypes = {

@@ -175,0 +177,0 @@ inheritColor: PropTypes.bool

{
"name": "@tds/core-checkbox",
"version": "1.1.0",
"version": "1.1.1",
"main": "index.cjs.js",

@@ -30,4 +30,4 @@ "module": "index.es.js",

"@tds/core-input-feedback": "^1.0.2",
"@tds/core-paragraph": "^1.0.2",
"@tds/core-text": "^1.0.2",
"@tds/core-paragraph": "^1.0.3",
"@tds/core-text": "^1.0.3",
"prop-types": "^15.5.10"

@@ -37,5 +37,5 @@ },

"@tds/core-colours": "^1.0.0",
"@tds/shared-choice": "^1.0.6",
"@tds/shared-choice": "^1.0.7",
"core-js": "^2.5.3"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc