@tds/core-checkbox
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,18 +6,16 @@ # Change Log | ||
## [2.0.1](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@2.0.0...@tds/core-checkbox@2.0.1) (2019-06-04) | ||
**Note:** Version bump only for package @tds/core-checkbox | ||
# [2.0.0](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.22...@tds/core-checkbox@2.0.0) (2019-05-23) | ||
### Features | ||
* **core-checkbox:** convert to styled-component ([86946ac](https://github.com/telusdigital/tds/commit/86946ac)) | ||
- **core-checkbox:** convert to styled-component ([86946ac](https://github.com/telusdigital/tds/commit/86946ac)) | ||
### BREAKING CHANGES | ||
* **core-checkbox:** styled-component peer dep required | ||
- **core-checkbox:** styled-component peer dep required | ||
## [1.1.22](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.21...@tds/core-checkbox@1.1.22) (2019-05-22) | ||
@@ -27,6 +25,2 @@ | ||
## [1.1.21](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.20...@tds/core-checkbox@1.1.21) (2019-05-01) | ||
@@ -36,6 +30,2 @@ | ||
## [1.1.20](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.19...@tds/core-checkbox@1.1.20) (2019-04-29) | ||
@@ -45,6 +35,2 @@ | ||
## [1.1.19](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.18...@tds/core-checkbox@1.1.19) (2019-04-23) | ||
@@ -54,6 +40,2 @@ | ||
## [1.1.18](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.17...@tds/core-checkbox@1.1.18) (2019-04-22) | ||
@@ -63,6 +45,2 @@ | ||
## [1.1.17](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.16...@tds/core-checkbox@1.1.17) (2019-04-16) | ||
@@ -72,6 +50,2 @@ | ||
## [1.1.16](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.15...@tds/core-checkbox@1.1.16) (2019-04-11) | ||
@@ -81,6 +55,2 @@ | ||
## [1.1.15](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.14...@tds/core-checkbox@1.1.15) (2019-04-11) | ||
@@ -90,6 +60,2 @@ | ||
## [1.1.14](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.13...@tds/core-checkbox@1.1.14) (2019-03-28) | ||
@@ -99,6 +65,2 @@ | ||
## [1.1.13](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.12...@tds/core-checkbox@1.1.13) (2019-03-28) | ||
@@ -108,6 +70,2 @@ | ||
## [1.1.12](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.11...@tds/core-checkbox@1.1.12) (2019-03-20) | ||
@@ -117,6 +75,2 @@ | ||
## [1.1.11](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.10...@tds/core-checkbox@1.1.11) (2019-03-20) | ||
@@ -126,6 +80,2 @@ | ||
## [1.1.10](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.9...@tds/core-checkbox@1.1.10) (2019-03-18) | ||
@@ -135,6 +85,2 @@ | ||
## [1.1.9](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.8...@tds/core-checkbox@1.1.9) (2019-03-18) | ||
@@ -144,6 +90,2 @@ | ||
## [1.1.8](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.7...@tds/core-checkbox@1.1.8) (2019-03-15) | ||
@@ -153,6 +95,2 @@ | ||
## [1.1.7](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.6...@tds/core-checkbox@1.1.7) (2019-03-11) | ||
@@ -162,6 +100,2 @@ | ||
## [1.1.6](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.5...@tds/core-checkbox@1.1.6) (2019-03-05) | ||
@@ -171,6 +105,2 @@ | ||
## [1.1.5](https://github.com/telusdigital/tds/compare/@tds/core-checkbox@1.1.4...@tds/core-checkbox@1.1.5) (2019-02-20) | ||
@@ -177,0 +107,0 @@ |
@@ -53,7 +53,7 @@ ### Minimal usage | ||
If it is not neccessary to control `Checkbox` state. You can create a `Checkbox` without a `value` prop, in this case the `Checkbox` will act as an HTML `input` with the type of `checkbox`. Its value can be accessed by referencing the element via a `ref`. | ||
If it is not neccessary to control `Checkbox` state. You can create a `Checkbox` without a `checked` prop, in this case the `Checkbox` will act as an HTML `input` with the type of `checkbox`. Its value can be accessed by referencing the element via a `ref`. | ||
#### Default values | ||
Due to the nature of uncontrolled components, you cannot set an initial `value` property on the component. If you need to set a default value for your uncontrolled `Checkbox`, you can use the `defaultChecked` property as described [in the react documentation](https://reactjs.org/docs/uncontrolled-components.html#default-values). | ||
Due to the nature of uncontrolled components, you cannot set an initial `checked` property on the component. If you need to set a default state for your uncontrolled `Checkbox`, you can use the `defaultChecked` property as described [in the react documentation](https://reactjs.org/docs/uncontrolled-components.html#default-values). | ||
@@ -60,0 +60,0 @@ _Note:_ If no `id` is provided, a default `id` will be generated in the format of: "`name`\_`value`" |
{ | ||
"name": "@tds/core-checkbox", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "index.cjs.js", | ||
@@ -28,9 +28,9 @@ "module": "index.es.js", | ||
"dependencies": { | ||
"@tds/core-box": "^1.2.3", | ||
"@tds/core-box": "^1.2.4", | ||
"@tds/core-colours": "^1.1.2", | ||
"@tds/core-decorative-icon": "^1.2.1", | ||
"@tds/core-input-feedback": "^1.0.12", | ||
"@tds/core-paragraph": "^1.0.11", | ||
"@tds/core-text": "^1.0.11", | ||
"@tds/shared-styles": "^1.2.0", | ||
"@tds/core-input-feedback": "^1.0.13", | ||
"@tds/core-paragraph": "^1.0.12", | ||
"@tds/core-text": "^1.1.0", | ||
"@tds/shared-styles": "^1.2.1", | ||
"prop-types": "^15.5.10" | ||
@@ -40,5 +40,5 @@ }, | ||
"@tds/core-colours": "^1.1.2", | ||
"@tds/shared-choice": "^1.1.17" | ||
"@tds/shared-choice": "^1.1.18" | ||
}, | ||
"gitHead": "2f4e68f876764b7b4840db3d7d491c9a52b17626" | ||
"gitHead": "1ac2f2499df5787982a6c0fd4196ca80d95dacfc" | ||
} |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
135454
+ Addedcaniuse-lite@1.0.30001684(transitive)
- Removedcaniuse-lite@1.0.30001683(transitive)
Updated@tds/core-box@^1.2.4
Updated@tds/core-paragraph@^1.0.12
Updated@tds/core-text@^1.1.0
Updated@tds/shared-styles@^1.2.1