@instructure/ui-rating 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/Rating/__new-tests__/Rating.test.js +3 -3
- package/es/RatingIcon/__new-tests__/RatingIcon.test.js +3 -3
- package/lib/Rating/__new-tests__/Rating.test.js +3 -3
- package/lib/RatingIcon/__new-tests__/RatingIcon.test.js +3 -3
- package/package.json +17 -17
- package/tsconfig.build.tsbuildinfo +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
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
9
9
|
|
|
@@ -72,7 +72,7 @@ describe('<Rating />', () => {
|
|
|
72
72
|
expect(icons).toHaveLength(5);
|
|
73
73
|
});
|
|
74
74
|
it('should render screen reader text to give context', () => {
|
|
75
|
-
const _render5 = render(
|
|
75
|
+
const _render5 = render(/*#__PURE__*/React.createElement(Rating, {
|
|
76
76
|
label: "Course rating",
|
|
77
77
|
iconCount: 5,
|
|
78
78
|
valueNow: 89,
|
|
@@ -103,7 +103,7 @@ describe('<Rating />', () => {
|
|
|
103
103
|
const props = {
|
|
104
104
|
[prop]: 'foo'
|
|
105
105
|
};
|
|
106
|
-
render(
|
|
106
|
+
render(/*#__PURE__*/React.createElement(Rating, Object.assign({
|
|
107
107
|
label: "Course rating",
|
|
108
108
|
iconCount: 5
|
|
109
109
|
}, props)));
|
|
@@ -116,7 +116,7 @@ describe('<Rating />', () => {
|
|
|
116
116
|
[prop]: allowedProps[prop]
|
|
117
117
|
};
|
|
118
118
|
const consoleErrorSpy = vi.spyOn(console, 'error').mockImplementation(() => {});
|
|
119
|
-
render(
|
|
119
|
+
render(/*#__PURE__*/React.createElement(Rating, Object.assign({
|
|
120
120
|
label: "Course rating",
|
|
121
121
|
iconCount: 5
|
|
122
122
|
}, props)));
|
|
@@ -43,7 +43,7 @@ describe('<RatingIcon />', () => {
|
|
|
43
43
|
consoleErrorMock.mockRestore();
|
|
44
44
|
});
|
|
45
45
|
it('transitions when filled on render and animateFill is true', async () => {
|
|
46
|
-
const _render = render(
|
|
46
|
+
const _render = render(/*#__PURE__*/React.createElement(InstUISettingsProvider, {
|
|
47
47
|
theme: {
|
|
48
48
|
componentOverrides: {
|
|
49
49
|
Transition: {
|
|
@@ -66,7 +66,7 @@ describe('<RatingIcon />', () => {
|
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
68
|
it('transitions when filled after render and animateFill is true', async () => {
|
|
69
|
-
const _render2 = render(
|
|
69
|
+
const _render2 = render(/*#__PURE__*/React.createElement(InstUISettingsProvider, {
|
|
70
70
|
theme: {
|
|
71
71
|
componentOverrides: {
|
|
72
72
|
Transition: {
|
|
@@ -88,7 +88,7 @@ describe('<RatingIcon />', () => {
|
|
|
88
88
|
}, {
|
|
89
89
|
timeout: 500
|
|
90
90
|
});
|
|
91
|
-
rerender(
|
|
91
|
+
rerender(/*#__PURE__*/React.createElement(InstUISettingsProvider, {
|
|
92
92
|
theme: {
|
|
93
93
|
componentOverrides: {
|
|
94
94
|
Transition: {
|
|
@@ -74,7 +74,7 @@ describe('<Rating />', () => {
|
|
|
74
74
|
expect(icons).toHaveLength(5);
|
|
75
75
|
});
|
|
76
76
|
it('should render screen reader text to give context', () => {
|
|
77
|
-
const _render5 = (0, _react2.render)(
|
|
77
|
+
const _render5 = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Rating, {
|
|
78
78
|
label: "Course rating",
|
|
79
79
|
iconCount: 5,
|
|
80
80
|
valueNow: 89,
|
|
@@ -105,7 +105,7 @@ describe('<Rating />', () => {
|
|
|
105
105
|
const props = {
|
|
106
106
|
[prop]: 'foo'
|
|
107
107
|
};
|
|
108
|
-
(0, _react2.render)(
|
|
108
|
+
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Rating, Object.assign({
|
|
109
109
|
label: "Course rating",
|
|
110
110
|
iconCount: 5
|
|
111
111
|
}, props)));
|
|
@@ -118,7 +118,7 @@ describe('<Rating />', () => {
|
|
|
118
118
|
[prop]: allowedProps[prop]
|
|
119
119
|
};
|
|
120
120
|
const consoleErrorSpy = _vitest.vi.spyOn(console, 'error').mockImplementation(() => {});
|
|
121
|
-
(0, _react2.render)(
|
|
121
|
+
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Rating, Object.assign({
|
|
122
122
|
label: "Course rating",
|
|
123
123
|
iconCount: 5
|
|
124
124
|
}, props)));
|
|
@@ -45,7 +45,7 @@ describe('<RatingIcon />', () => {
|
|
|
45
45
|
consoleErrorMock.mockRestore();
|
|
46
46
|
});
|
|
47
47
|
it('transitions when filled on render and animateFill is true', async () => {
|
|
48
|
-
const _render = (0, _react2.render)(
|
|
48
|
+
const _render = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_emotion.InstUISettingsProvider, {
|
|
49
49
|
theme: {
|
|
50
50
|
componentOverrides: {
|
|
51
51
|
Transition: {
|
|
@@ -68,7 +68,7 @@ describe('<RatingIcon />', () => {
|
|
|
68
68
|
});
|
|
69
69
|
});
|
|
70
70
|
it('transitions when filled after render and animateFill is true', async () => {
|
|
71
|
-
const _render2 = (0, _react2.render)(
|
|
71
|
+
const _render2 = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_emotion.InstUISettingsProvider, {
|
|
72
72
|
theme: {
|
|
73
73
|
componentOverrides: {
|
|
74
74
|
Transition: {
|
|
@@ -90,7 +90,7 @@ describe('<RatingIcon />', () => {
|
|
|
90
90
|
}, {
|
|
91
91
|
timeout: 500
|
|
92
92
|
});
|
|
93
|
-
rerender(
|
|
93
|
+
rerender(/*#__PURE__*/_react.default.createElement(_emotion.InstUISettingsProvider, {
|
|
94
94
|
theme: {
|
|
95
95
|
componentOverrides: {
|
|
96
96
|
Transition: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-rating",
|
|
3
|
-
"version": "10.2.3-snapshot-
|
|
3
|
+
"version": "10.2.3-snapshot-15",
|
|
4
4
|
"description": "A static rating component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,26 +23,26 @@
|
|
|
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-a11y-content": "10.2.3-snapshot-
|
|
31
|
-
"@instructure/ui-dom-utils": "10.2.3-snapshot-
|
|
32
|
-
"@instructure/ui-icons": "10.2.3-snapshot-
|
|
33
|
-
"@instructure/ui-motion": "10.2.3-snapshot-
|
|
34
|
-
"@instructure/ui-react-utils": "10.2.3-snapshot-
|
|
35
|
-
"@instructure/ui-testable": "10.2.3-snapshot-
|
|
36
|
-
"@instructure/ui-view": "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-a11y-content": "10.2.3-snapshot-15",
|
|
31
|
+
"@instructure/ui-dom-utils": "10.2.3-snapshot-15",
|
|
32
|
+
"@instructure/ui-icons": "10.2.3-snapshot-15",
|
|
33
|
+
"@instructure/ui-motion": "10.2.3-snapshot-15",
|
|
34
|
+
"@instructure/ui-react-utils": "10.2.3-snapshot-15",
|
|
35
|
+
"@instructure/ui-testable": "10.2.3-snapshot-15",
|
|
36
|
+
"@instructure/ui-view": "10.2.3-snapshot-15",
|
|
37
37
|
"prop-types": "^15.8.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@instructure/ui-axe-check": "10.2.3-snapshot-
|
|
41
|
-
"@instructure/ui-babel-preset": "10.2.3-snapshot-
|
|
42
|
-
"@instructure/ui-themes": "10.2.3-snapshot-
|
|
40
|
+
"@instructure/ui-axe-check": "10.2.3-snapshot-15",
|
|
41
|
+
"@instructure/ui-babel-preset": "10.2.3-snapshot-15",
|
|
42
|
+
"@instructure/ui-themes": "10.2.3-snapshot-15",
|
|
43
43
|
"@testing-library/jest-dom": "^6.4.6",
|
|
44
|
-
"@testing-library/react": "^
|
|
45
|
-
"vitest": "^2.
|
|
44
|
+
"@testing-library/react": "^16.0.1",
|
|
45
|
+
"vitest": "^2.1.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": ">=16.8 <=18"
|