@instructure/ui-checkbox 10.16.4-snapshot-2 → 10.16.4-snapshot-4

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,9 +3,12 @@
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
- ## [10.16.4-snapshot-2](https://github.com/instructure/instructure-ui/compare/v10.16.3...v10.16.4-snapshot-2) (2025-05-08)
6
+ ## [10.16.4-snapshot-4](https://github.com/instructure/instructure-ui/compare/v10.16.3...v10.16.4-snapshot-4) (2025-05-08)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-checkbox
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui-radio-input,ui-checkbox:** fix 'React does not recognize the isRequired prop on a DOM element' on RadioInputGroup and Checkbox ([32bb431](https://github.com/instructure/instructure-ui/commit/32bb43185eb53ce4e452d02e33c41ceaf0c4e2b9))
9
12
 
10
13
 
11
14
 
@@ -47,5 +47,5 @@ const propTypes = {
47
47
  labelPlacement: PropTypes.oneOf(['top', 'start', 'end']),
48
48
  isRequired: PropTypes.bool
49
49
  };
50
- const allowedProps = ['label', 'id', 'value', 'messages', 'defaultChecked', 'checked', 'onChange', 'onKeyDown', 'onFocus', 'onBlur', 'onMouseOver', 'onMouseOut', 'disabled', 'readOnly', 'indeterminate', 'size', 'variant', 'inline', 'labelPlacement'];
50
+ const allowedProps = ['label', 'id', 'value', 'messages', 'defaultChecked', 'checked', 'onChange', 'onKeyDown', 'onFocus', 'onBlur', 'onMouseOver', 'onMouseOut', 'disabled', 'readOnly', 'indeterminate', 'size', 'variant', 'inline', 'labelPlacement', 'isRequired'];
51
51
  export { propTypes, allowedProps };
@@ -54,4 +54,4 @@ const propTypes = exports.propTypes = {
54
54
  labelPlacement: _propTypes.default.oneOf(['top', 'start', 'end']),
55
55
  isRequired: _propTypes.default.bool
56
56
  };
57
- const allowedProps = exports.allowedProps = ['label', 'id', 'value', 'messages', 'defaultChecked', 'checked', 'onChange', 'onKeyDown', 'onFocus', 'onBlur', 'onMouseOver', 'onMouseOut', 'disabled', 'readOnly', 'indeterminate', 'size', 'variant', 'inline', 'labelPlacement'];
57
+ const allowedProps = exports.allowedProps = ['label', 'id', 'value', 'messages', 'defaultChecked', 'checked', 'onChange', 'onKeyDown', 'onFocus', 'onBlur', 'onMouseOver', 'onMouseOut', 'disabled', 'readOnly', 'indeterminate', 'size', 'variant', 'inline', 'labelPlacement', 'isRequired'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-checkbox",
3
- "version": "10.16.4-snapshot-2",
3
+ "version": "10.16.4-snapshot-4",
4
4
  "description": " styled HTML input type='checkbox' component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,28 +24,28 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.26.0",
27
- "@instructure/console": "10.16.4-snapshot-2",
28
- "@instructure/emotion": "10.16.4-snapshot-2",
29
- "@instructure/shared-types": "10.16.4-snapshot-2",
30
- "@instructure/ui-dom-utils": "10.16.4-snapshot-2",
31
- "@instructure/ui-form-field": "10.16.4-snapshot-2",
32
- "@instructure/ui-icons": "10.16.4-snapshot-2",
33
- "@instructure/ui-prop-types": "10.16.4-snapshot-2",
34
- "@instructure/ui-react-utils": "10.16.4-snapshot-2",
35
- "@instructure/ui-svg-images": "10.16.4-snapshot-2",
36
- "@instructure/ui-testable": "10.16.4-snapshot-2",
37
- "@instructure/ui-utils": "10.16.4-snapshot-2",
38
- "@instructure/ui-view": "10.16.4-snapshot-2",
39
- "@instructure/uid": "10.16.4-snapshot-2",
27
+ "@instructure/console": "10.16.4-snapshot-4",
28
+ "@instructure/emotion": "10.16.4-snapshot-4",
29
+ "@instructure/shared-types": "10.16.4-snapshot-4",
30
+ "@instructure/ui-dom-utils": "10.16.4-snapshot-4",
31
+ "@instructure/ui-form-field": "10.16.4-snapshot-4",
32
+ "@instructure/ui-icons": "10.16.4-snapshot-4",
33
+ "@instructure/ui-prop-types": "10.16.4-snapshot-4",
34
+ "@instructure/ui-react-utils": "10.16.4-snapshot-4",
35
+ "@instructure/ui-svg-images": "10.16.4-snapshot-4",
36
+ "@instructure/ui-testable": "10.16.4-snapshot-4",
37
+ "@instructure/ui-utils": "10.16.4-snapshot-4",
38
+ "@instructure/ui-view": "10.16.4-snapshot-4",
39
+ "@instructure/uid": "10.16.4-snapshot-4",
40
40
  "keycode": "^2",
41
41
  "prop-types": "^15.8.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@instructure/ui-axe-check": "10.16.4-snapshot-2",
45
- "@instructure/ui-babel-preset": "10.16.4-snapshot-2",
46
- "@instructure/ui-color-utils": "10.16.4-snapshot-2",
47
- "@instructure/ui-test-utils": "10.16.4-snapshot-2",
48
- "@instructure/ui-themes": "10.16.4-snapshot-2",
44
+ "@instructure/ui-axe-check": "10.16.4-snapshot-4",
45
+ "@instructure/ui-babel-preset": "10.16.4-snapshot-4",
46
+ "@instructure/ui-color-utils": "10.16.4-snapshot-4",
47
+ "@instructure/ui-test-utils": "10.16.4-snapshot-4",
48
+ "@instructure/ui-themes": "10.16.4-snapshot-4",
49
49
  "@testing-library/jest-dom": "^6.6.3",
50
50
  "@testing-library/react": "^16.0.1",
51
51
  "@testing-library/user-event": "^14.5.2",
@@ -143,7 +143,8 @@ const allowedProps: AllowedPropKeys = [
143
143
  'size',
144
144
  'variant',
145
145
  'inline',
146
- 'labelPlacement'
146
+ 'labelPlacement',
147
+ 'isRequired'
147
148
  ]
148
149
 
149
150
  type CheckboxState = {