@instructure/ui-checkbox 10.2.3-snapshot-13 → 10.2.3-snapshot-15
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 +1 -1
- package/es/Checkbox/__new-tests__/Checkbox.test.js +2 -2
- package/es/CheckboxGroup/__new-tests__/CheckboxGroup.test.js +1 -1
- package/lib/Checkbox/__new-tests__/Checkbox.test.js +2 -2
- package/lib/CheckboxGroup/__new-tests__/CheckboxGroup.test.js +1 -1
- package/package.json +22 -22
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Checkbox/ToggleFacade/index.d.ts +2 -2
- package/types/Checkbox/ToggleFacade/index.d.ts.map +1 -1
- package/types/CheckboxGroup/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.2.3-snapshot-
|
|
6
|
+
## [10.2.3-snapshot-15](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.2.3-snapshot-15) (2024-10-03)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
@@ -43,7 +43,7 @@ const renderCheckbox = props => {
|
|
|
43
43
|
...initProps,
|
|
44
44
|
...props
|
|
45
45
|
};
|
|
46
|
-
return render(
|
|
46
|
+
return render(/*#__PURE__*/React.createElement(Checkbox, allProps));
|
|
47
47
|
};
|
|
48
48
|
describe('<Checkbox />', () => {
|
|
49
49
|
let consoleWarningMock;
|
|
@@ -169,7 +169,7 @@ describe('<Checkbox />', () => {
|
|
|
169
169
|
it('focuses with the focus helper', () => {
|
|
170
170
|
var _checkboxRef$current;
|
|
171
171
|
const checkboxRef = /*#__PURE__*/React.createRef();
|
|
172
|
-
render(
|
|
172
|
+
render(/*#__PURE__*/React.createElement(Checkbox, Object.assign({
|
|
173
173
|
ref: checkboxRef
|
|
174
174
|
}, initProps)));
|
|
175
175
|
const checkboxElement = screen.getByRole('checkbox');
|
|
@@ -44,7 +44,7 @@ const renderCheckboxGroup = props => {
|
|
|
44
44
|
description: TEST_DESCRIPTION,
|
|
45
45
|
...props
|
|
46
46
|
};
|
|
47
|
-
return render(
|
|
47
|
+
return render(/*#__PURE__*/React.createElement(CheckboxGroup, allProps, _Checkbox || (_Checkbox = /*#__PURE__*/React.createElement(Checkbox, {
|
|
48
48
|
label: TEST_LABEL_1,
|
|
49
49
|
value: TEST_VALUE_1
|
|
50
50
|
})), _Checkbox2 || (_Checkbox2 = /*#__PURE__*/React.createElement(Checkbox, {
|
|
@@ -46,7 +46,7 @@ const renderCheckbox = props => {
|
|
|
46
46
|
...initProps,
|
|
47
47
|
...props
|
|
48
48
|
};
|
|
49
|
-
return (0, _react2.render)(
|
|
49
|
+
return (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Checkbox, allProps));
|
|
50
50
|
};
|
|
51
51
|
describe('<Checkbox />', () => {
|
|
52
52
|
let consoleWarningMock;
|
|
@@ -172,7 +172,7 @@ describe('<Checkbox />', () => {
|
|
|
172
172
|
it('focuses with the focus helper', () => {
|
|
173
173
|
var _checkboxRef$current;
|
|
174
174
|
const checkboxRef = /*#__PURE__*/_react.default.createRef();
|
|
175
|
-
(0, _react2.render)(
|
|
175
|
+
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Checkbox, Object.assign({
|
|
176
176
|
ref: checkboxRef
|
|
177
177
|
}, initProps)));
|
|
178
178
|
const checkboxElement = _react2.screen.getByRole('checkbox');
|
|
@@ -46,7 +46,7 @@ const renderCheckboxGroup = props => {
|
|
|
46
46
|
description: TEST_DESCRIPTION,
|
|
47
47
|
...props
|
|
48
48
|
};
|
|
49
|
-
return (0, _react2.render)(
|
|
49
|
+
return (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.CheckboxGroup, allProps, _Checkbox || (_Checkbox = /*#__PURE__*/_react.default.createElement(_Checkbox3.Checkbox, {
|
|
50
50
|
label: TEST_LABEL_1,
|
|
51
51
|
value: TEST_VALUE_1
|
|
52
52
|
})), _Checkbox2 || (_Checkbox2 = /*#__PURE__*/_react.default.createElement(_Checkbox3.Checkbox, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-checkbox",
|
|
3
|
-
"version": "10.2.3-snapshot-
|
|
3
|
+
"version": "10.2.3-snapshot-15",
|
|
4
4
|
"description": " styled HTML input type='checkbox' component.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,33 +23,33 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.
|
|
27
|
-
"@instructure/console": "10.2.3-snapshot-
|
|
28
|
-
"@instructure/emotion": "10.2.3-snapshot-
|
|
29
|
-
"@instructure/shared-types": "10.2.3-snapshot-
|
|
30
|
-
"@instructure/ui-dom-utils": "10.2.3-snapshot-
|
|
31
|
-
"@instructure/ui-form-field": "10.2.3-snapshot-
|
|
32
|
-
"@instructure/ui-icons": "10.2.3-snapshot-
|
|
33
|
-
"@instructure/ui-prop-types": "10.2.3-snapshot-
|
|
34
|
-
"@instructure/ui-react-utils": "10.2.3-snapshot-
|
|
35
|
-
"@instructure/ui-svg-images": "10.2.3-snapshot-
|
|
36
|
-
"@instructure/ui-testable": "10.2.3-snapshot-
|
|
37
|
-
"@instructure/ui-utils": "10.2.3-snapshot-
|
|
38
|
-
"@instructure/ui-view": "10.2.3-snapshot-
|
|
39
|
-
"@instructure/uid": "10.2.3-snapshot-
|
|
26
|
+
"@babel/runtime": "^7.25.6",
|
|
27
|
+
"@instructure/console": "10.2.3-snapshot-15",
|
|
28
|
+
"@instructure/emotion": "10.2.3-snapshot-15",
|
|
29
|
+
"@instructure/shared-types": "10.2.3-snapshot-15",
|
|
30
|
+
"@instructure/ui-dom-utils": "10.2.3-snapshot-15",
|
|
31
|
+
"@instructure/ui-form-field": "10.2.3-snapshot-15",
|
|
32
|
+
"@instructure/ui-icons": "10.2.3-snapshot-15",
|
|
33
|
+
"@instructure/ui-prop-types": "10.2.3-snapshot-15",
|
|
34
|
+
"@instructure/ui-react-utils": "10.2.3-snapshot-15",
|
|
35
|
+
"@instructure/ui-svg-images": "10.2.3-snapshot-15",
|
|
36
|
+
"@instructure/ui-testable": "10.2.3-snapshot-15",
|
|
37
|
+
"@instructure/ui-utils": "10.2.3-snapshot-15",
|
|
38
|
+
"@instructure/ui-view": "10.2.3-snapshot-15",
|
|
39
|
+
"@instructure/uid": "10.2.3-snapshot-15",
|
|
40
40
|
"keycode": "^2",
|
|
41
41
|
"prop-types": "^15.8.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@instructure/ui-axe-check": "10.2.3-snapshot-
|
|
45
|
-
"@instructure/ui-babel-preset": "10.2.3-snapshot-
|
|
46
|
-
"@instructure/ui-color-utils": "10.2.3-snapshot-
|
|
47
|
-
"@instructure/ui-test-utils": "10.2.3-snapshot-
|
|
48
|
-
"@instructure/ui-themes": "10.2.3-snapshot-
|
|
44
|
+
"@instructure/ui-axe-check": "10.2.3-snapshot-15",
|
|
45
|
+
"@instructure/ui-babel-preset": "10.2.3-snapshot-15",
|
|
46
|
+
"@instructure/ui-color-utils": "10.2.3-snapshot-15",
|
|
47
|
+
"@instructure/ui-test-utils": "10.2.3-snapshot-15",
|
|
48
|
+
"@instructure/ui-themes": "10.2.3-snapshot-15",
|
|
49
49
|
"@testing-library/jest-dom": "^6.4.6",
|
|
50
|
-
"@testing-library/react": "^
|
|
50
|
+
"@testing-library/react": "^16.0.1",
|
|
51
51
|
"@testing-library/user-event": "^14.5.2",
|
|
52
|
-
"vitest": "^2.
|
|
52
|
+
"vitest": "^2.1.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"react": ">=16.8 <=18"
|