@instructure/ui-checkbox 7.13.0 → 7.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [7.16.0](https://github.com/instructure/instructure-ui/compare/v7.15.0...v7.16.0) (2022-02-08)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-checkbox
9
+
10
+ # [7.15.0](https://github.com/instructure/instructure-ui/compare/v7.14.1...v7.15.0) (2022-02-03)
11
+
12
+ **Note:** Version bump only for package @instructure/ui-checkbox
13
+
14
+ ## [7.14.1](https://github.com/instructure/instructure-ui/compare/v7.14.0...v7.14.1) (2021-12-06)
15
+
16
+ **Note:** Version bump only for package @instructure/ui-checkbox
17
+
18
+ # [7.14.0](https://github.com/instructure/instructure-ui/compare/v7.13.0...v7.14.0) (2021-12-01)
19
+
20
+ ### Features
21
+
22
+ - **ui-form-field:** make FormField messages accept `node` text, not just `string` ([d9e1a7a](https://github.com/instructure/instructure-ui/commit/d9e1a7a)), closes [PR#819](https://github.com/PR/issues/819)
23
+
6
24
  # [7.13.0](https://github.com/instructure/instructure-ui/compare/v7.12.0...v7.13.0) (2021-11-18)
7
25
 
8
26
  ### Features
@@ -284,7 +284,7 @@ var Checkbox = (_dec = testable(), _dec2 = themeable(theme, styles), _dec(_class
284
284
 
285
285
  /**
286
286
  * object with shape: `{
287
- * text: PropTypes.string,
287
+ * text: PropTypes.node,
288
288
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
289
289
  * }`
290
290
  */
@@ -169,7 +169,7 @@ var CheckboxGroup = (_dec = testable(), _dec(_class = (_temp = _class2 = /*#__PU
169
169
 
170
170
  /**
171
171
  * object with shape: `{
172
- text: PropTypes.string,
172
+ text: PropTypes.node,
173
173
  type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
174
174
  }`
175
175
  */
@@ -299,7 +299,7 @@ var Checkbox = (_dec = (0, _testable.testable)(), _dec2 = (0, _themeable.themeab
299
299
 
300
300
  /**
301
301
  * object with shape: `{
302
- * text: PropTypes.string,
302
+ * text: PropTypes.node,
303
303
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
304
304
  * }`
305
305
  */
@@ -176,7 +176,7 @@ var CheckboxGroup = (_dec = (0, _testable.testable)(), _dec(_class = (_temp = _c
176
176
 
177
177
  /**
178
178
  * object with shape: `{
179
- text: PropTypes.string,
179
+ text: PropTypes.node,
180
180
  type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
181
181
  }`
182
182
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-checkbox",
3
- "version": "7.13.0",
3
+ "version": "7.16.0",
4
4
  "description": " styled HTML input type='checkbox' component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -23,26 +23,26 @@
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
25
  "@babel/runtime": "^7.9.2",
26
- "@instructure/console": "^7.13.0",
27
- "@instructure/ui-dom-utils": "^7.13.0",
28
- "@instructure/ui-form-field": "^7.13.0",
29
- "@instructure/ui-icons": "^7.13.0",
30
- "@instructure/ui-prop-types": "^7.13.0",
31
- "@instructure/ui-react-utils": "^7.13.0",
32
- "@instructure/ui-svg-images": "^7.13.0",
33
- "@instructure/ui-testable": "^7.13.0",
34
- "@instructure/ui-themeable": "^7.13.0",
35
- "@instructure/ui-utils": "^7.13.0",
36
- "@instructure/uid": "^7.13.0",
26
+ "@instructure/console": "^7.16.0",
27
+ "@instructure/ui-dom-utils": "^7.16.0",
28
+ "@instructure/ui-form-field": "^7.16.0",
29
+ "@instructure/ui-icons": "^7.16.0",
30
+ "@instructure/ui-prop-types": "^7.16.0",
31
+ "@instructure/ui-react-utils": "^7.16.0",
32
+ "@instructure/ui-svg-images": "^7.16.0",
33
+ "@instructure/ui-testable": "^7.16.0",
34
+ "@instructure/ui-themeable": "^7.16.0",
35
+ "@instructure/ui-utils": "^7.16.0",
36
+ "@instructure/uid": "^7.16.0",
37
37
  "classnames": "^2",
38
38
  "keycode": "^2",
39
39
  "prop-types": "^15"
40
40
  },
41
41
  "devDependencies": {
42
- "@instructure/ui-babel-preset": "^7.13.0",
43
- "@instructure/ui-color-utils": "^7.13.0",
44
- "@instructure/ui-test-locator": "^7.13.0",
45
- "@instructure/ui-test-utils": "^7.13.0"
42
+ "@instructure/ui-babel-preset": "^7.16.0",
43
+ "@instructure/ui-color-utils": "^7.16.0",
44
+ "@instructure/ui-test-locator": "^7.16.0",
45
+ "@instructure/ui-test-utils": "^7.16.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": "^16.8"
@@ -59,7 +59,7 @@ class Checkbox extends Component {
59
59
  value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
60
60
  /**
61
61
  * object with shape: `{
62
- * text: PropTypes.string,
62
+ * text: PropTypes.node,
63
63
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
64
64
  * }`
65
65
  */
@@ -68,7 +68,7 @@ class CheckboxGroup extends Component {
68
68
  readOnly: PropTypes.bool,
69
69
  /**
70
70
  * object with shape: `{
71
- text: PropTypes.string,
71
+ text: PropTypes.node,
72
72
  type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
73
73
  }`
74
74
  */
package/types/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export interface CheckboxProps {
14
14
  value?: CheckboxValue;
15
15
  /**
16
16
  * object with shape: `{
17
- * text: PropTypes.string,
17
+ * text: PropTypes.node,
18
18
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
19
19
  * }`
20
20
  */
@@ -85,7 +85,7 @@ export interface CheckboxGroupProps {
85
85
  readOnly?: boolean;
86
86
  /**
87
87
  * object with shape: `{
88
- * text: PropTypes.string,
88
+ * text: PropTypes.node,
89
89
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
90
90
  * }`
91
91
  */