@instructure/ui-checkbox 7.11.0 → 7.14.1
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 +20 -0
- package/es/Checkbox/CheckboxFacade/theme.js +1 -1
- package/es/Checkbox/ToggleFacade/theme.js +1 -1
- package/es/Checkbox/index.js +1 -1
- package/es/CheckboxGroup/index.js +1 -1
- package/lib/Checkbox/CheckboxFacade/theme.js +1 -1
- package/lib/Checkbox/ToggleFacade/theme.js +1 -1
- package/lib/Checkbox/index.js +1 -1
- package/lib/CheckboxGroup/index.js +1 -1
- package/package.json +16 -16
- package/src/Checkbox/CheckboxFacade/theme.js +1 -1
- package/src/Checkbox/ToggleFacade/theme.js +1 -1
- package/src/Checkbox/index.js +1 -1
- package/src/CheckboxGroup/index.js +1 -1
- package/types/index.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.14.1](https://github.com/instructure/instructure-ui/compare/v7.14.0...v7.14.1) (2021-12-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-checkbox
|
|
9
|
+
|
|
10
|
+
# [7.14.0](https://github.com/instructure/instructure-ui/compare/v7.13.0...v7.14.0) (2021-12-01)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **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)
|
|
15
|
+
|
|
16
|
+
# [7.13.0](https://github.com/instructure/instructure-ui/compare/v7.12.0...v7.13.0) (2021-11-18)
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- **ui-checkbox,ui-radio-input:** make checkbox and radio borders consistent ([9e2fa16](https://github.com/instructure/instructure-ui/commit/9e2fa16)), backports [#780](https://github.com/instructure/instructure-ui/issues/780)
|
|
21
|
+
|
|
22
|
+
# [7.12.0](https://github.com/instructure/instructure-ui/compare/v7.11.0...v7.12.0) (2021-10-15)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @instructure/ui-checkbox
|
|
25
|
+
|
|
6
26
|
# [7.11.0](https://github.com/instructure/instructure-ui/compare/v7.10.0...v7.11.0) (2021-09-17)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @instructure/ui-checkbox
|
|
@@ -29,7 +29,7 @@ export default function generator(_ref) {
|
|
|
29
29
|
return {
|
|
30
30
|
color: colors.textLightest,
|
|
31
31
|
borderWidth: borders.widthSmall,
|
|
32
|
-
borderColor: colors.
|
|
32
|
+
borderColor: colors.borderMedium,
|
|
33
33
|
borderRadius: borders.radiusMedium,
|
|
34
34
|
background: colors.backgroundLightest,
|
|
35
35
|
marginRight: spacing.xSmall,
|
|
@@ -32,7 +32,7 @@ export default function generator(_ref) {
|
|
|
32
32
|
color: colors.textLightest,
|
|
33
33
|
background: colors.backgroundLight,
|
|
34
34
|
borderColor: colors.borderMedium,
|
|
35
|
-
borderWidth: borders.
|
|
35
|
+
borderWidth: borders.widthSmall,
|
|
36
36
|
borderRadius: '4rem',
|
|
37
37
|
marginEnd: spacing.small,
|
|
38
38
|
marginStart: spacing.small,
|
package/es/Checkbox/index.js
CHANGED
|
@@ -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.
|
|
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.
|
|
172
|
+
text: PropTypes.node,
|
|
173
173
|
type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
|
|
174
174
|
}`
|
|
175
175
|
*/
|
|
@@ -36,7 +36,7 @@ function generator(_ref) {
|
|
|
36
36
|
return {
|
|
37
37
|
color: colors.textLightest,
|
|
38
38
|
borderWidth: borders.widthSmall,
|
|
39
|
-
borderColor: colors.
|
|
39
|
+
borderColor: colors.borderMedium,
|
|
40
40
|
borderRadius: borders.radiusMedium,
|
|
41
41
|
background: colors.backgroundLightest,
|
|
42
42
|
marginRight: spacing.xSmall,
|
|
@@ -39,7 +39,7 @@ function generator(_ref) {
|
|
|
39
39
|
color: colors.textLightest,
|
|
40
40
|
background: colors.backgroundLight,
|
|
41
41
|
borderColor: colors.borderMedium,
|
|
42
|
-
borderWidth: borders.
|
|
42
|
+
borderWidth: borders.widthSmall,
|
|
43
43
|
borderRadius: '4rem',
|
|
44
44
|
marginEnd: spacing.small,
|
|
45
45
|
marginStart: spacing.small,
|
package/lib/Checkbox/index.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
3
|
+
"version": "7.14.1",
|
|
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.
|
|
27
|
-
"@instructure/ui-dom-utils": "^7.
|
|
28
|
-
"@instructure/ui-form-field": "^7.
|
|
29
|
-
"@instructure/ui-icons": "^7.
|
|
30
|
-
"@instructure/ui-prop-types": "^7.
|
|
31
|
-
"@instructure/ui-react-utils": "^7.
|
|
32
|
-
"@instructure/ui-svg-images": "^7.
|
|
33
|
-
"@instructure/ui-testable": "^7.
|
|
34
|
-
"@instructure/ui-themeable": "^7.
|
|
35
|
-
"@instructure/ui-utils": "^7.
|
|
36
|
-
"@instructure/uid": "^7.
|
|
26
|
+
"@instructure/console": "^7.14.1",
|
|
27
|
+
"@instructure/ui-dom-utils": "^7.14.1",
|
|
28
|
+
"@instructure/ui-form-field": "^7.14.1",
|
|
29
|
+
"@instructure/ui-icons": "^7.14.1",
|
|
30
|
+
"@instructure/ui-prop-types": "^7.14.1",
|
|
31
|
+
"@instructure/ui-react-utils": "^7.14.1",
|
|
32
|
+
"@instructure/ui-svg-images": "^7.14.1",
|
|
33
|
+
"@instructure/ui-testable": "^7.14.1",
|
|
34
|
+
"@instructure/ui-themeable": "^7.14.1",
|
|
35
|
+
"@instructure/ui-utils": "^7.14.1",
|
|
36
|
+
"@instructure/uid": "^7.14.1",
|
|
37
37
|
"classnames": "^2",
|
|
38
38
|
"keycode": "^2",
|
|
39
39
|
"prop-types": "^15"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@instructure/ui-babel-preset": "^7.
|
|
43
|
-
"@instructure/ui-color-utils": "^7.
|
|
44
|
-
"@instructure/ui-test-locator": "^7.
|
|
45
|
-
"@instructure/ui-test-utils": "^7.
|
|
42
|
+
"@instructure/ui-babel-preset": "^7.14.1",
|
|
43
|
+
"@instructure/ui-color-utils": "^7.14.1",
|
|
44
|
+
"@instructure/ui-test-locator": "^7.14.1",
|
|
45
|
+
"@instructure/ui-test-utils": "^7.14.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": "^16.8"
|
|
@@ -26,7 +26,7 @@ export default function generator({ colors, borders, spacing, typography }) {
|
|
|
26
26
|
return {
|
|
27
27
|
color: colors.textLightest,
|
|
28
28
|
borderWidth: borders.widthSmall,
|
|
29
|
-
borderColor: colors.
|
|
29
|
+
borderColor: colors.borderMedium,
|
|
30
30
|
borderRadius: borders.radiusMedium,
|
|
31
31
|
background: colors.backgroundLightest,
|
|
32
32
|
marginRight: spacing.xSmall,
|
|
@@ -34,7 +34,7 @@ export default function generator({
|
|
|
34
34
|
color: colors.textLightest,
|
|
35
35
|
background: colors.backgroundLight,
|
|
36
36
|
borderColor: colors.borderMedium,
|
|
37
|
-
borderWidth: borders.
|
|
37
|
+
borderWidth: borders.widthSmall,
|
|
38
38
|
borderRadius: '4rem',
|
|
39
39
|
marginEnd: spacing.small,
|
|
40
40
|
marginStart: spacing.small,
|
package/src/Checkbox/index.js
CHANGED
|
@@ -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.
|
|
62
|
+
* text: PropTypes.node,
|
|
63
63
|
* type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
|
|
64
64
|
* }`
|
|
65
65
|
*/
|
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.
|
|
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.
|
|
88
|
+
* text: PropTypes.node,
|
|
89
89
|
* type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
|
|
90
90
|
* }`
|
|
91
91
|
*/
|