@instructure/ui-rating 11.7.3-snapshot-3 → 11.7.3-snapshot-6
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/v2/styles.js +1 -4
- package/lib/Rating/v2/styles.js +1 -4
- package/package.json +13 -13
- package/src/Rating/v2/styles.ts +1 -4
- package/src/RatingIcon/v2/props.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Rating/v2/styles.d.ts +1 -4
- package/types/Rating/v2/styles.d.ts.map +1 -1
- package/types/RatingIcon/v2/props.d.ts +2 -2
- package/types/RatingIcon/v2/props.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
|
-
## [11.7.3-snapshot-
|
|
6
|
+
## [11.7.3-snapshot-6](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-6) (2026-04-29)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
9
9
|
|
package/es/Rating/v2/styles.js
CHANGED
|
@@ -27,10 +27,7 @@
|
|
|
27
27
|
* private: true
|
|
28
28
|
* ---
|
|
29
29
|
* Generates the style object from the theme and provided additional information
|
|
30
|
-
* @
|
|
31
|
-
* @param {Object} props the props of the component, the style is applied to
|
|
32
|
-
* @param {Object} state the state of the component, the style is applied to
|
|
33
|
-
* @return {Object} The final style object, which will be used in the component
|
|
30
|
+
* @return The final style object, which will be used in the component
|
|
34
31
|
*/
|
|
35
32
|
const generateStyle = () => {
|
|
36
33
|
return {
|
package/lib/Rating/v2/styles.js
CHANGED
|
@@ -33,10 +33,7 @@ exports.default = void 0;
|
|
|
33
33
|
* private: true
|
|
34
34
|
* ---
|
|
35
35
|
* Generates the style object from the theme and provided additional information
|
|
36
|
-
* @
|
|
37
|
-
* @param {Object} props the props of the component, the style is applied to
|
|
38
|
-
* @param {Object} state the state of the component, the style is applied to
|
|
39
|
-
* @return {Object} The final style object, which will be used in the component
|
|
36
|
+
* @return The final style object, which will be used in the component
|
|
40
37
|
*/
|
|
41
38
|
const generateStyle = () => {
|
|
42
39
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-rating",
|
|
3
|
-
"version": "11.7.3-snapshot-
|
|
3
|
+
"version": "11.7.3-snapshot-6",
|
|
4
4
|
"description": "A static rating component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,23 +15,23 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.27.6",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/ui-a11y-content": "11.7.3-snapshot-
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-react-utils": "11.7.3-snapshot-
|
|
26
|
-
"@instructure/ui-
|
|
18
|
+
"@instructure/emotion": "11.7.3-snapshot-6",
|
|
19
|
+
"@instructure/console": "11.7.3-snapshot-6",
|
|
20
|
+
"@instructure/ui-a11y-content": "11.7.3-snapshot-6",
|
|
21
|
+
"@instructure/ui-dom-utils": "11.7.3-snapshot-6",
|
|
22
|
+
"@instructure/shared-types": "11.7.3-snapshot-6",
|
|
23
|
+
"@instructure/ui-icons": "11.7.3-snapshot-6",
|
|
24
|
+
"@instructure/ui-motion": "11.7.3-snapshot-6",
|
|
25
|
+
"@instructure/ui-react-utils": "11.7.3-snapshot-6",
|
|
26
|
+
"@instructure/ui-themes": "11.7.3-snapshot-6",
|
|
27
|
+
"@instructure/ui-view": "11.7.3-snapshot-6"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
30
|
"@testing-library/jest-dom": "^6.6.3",
|
|
30
31
|
"@testing-library/react": "15.0.7",
|
|
31
32
|
"vitest": "^3.2.2",
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-
|
|
34
|
-
"@instructure/ui-themes": "11.7.3-snapshot-3"
|
|
33
|
+
"@instructure/ui-axe-check": "11.7.3-snapshot-6",
|
|
34
|
+
"@instructure/ui-babel-preset": "11.7.3-snapshot-6"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": ">=18 <=19"
|
package/src/Rating/v2/styles.ts
CHANGED
|
@@ -29,10 +29,7 @@ import type { RatingStyle } from './props'
|
|
|
29
29
|
* private: true
|
|
30
30
|
* ---
|
|
31
31
|
* Generates the style object from the theme and provided additional information
|
|
32
|
-
* @
|
|
33
|
-
* @param {Object} props the props of the component, the style is applied to
|
|
34
|
-
* @param {Object} state the state of the component, the style is applied to
|
|
35
|
-
* @return {Object} The final style object, which will be used in the component
|
|
32
|
+
* @return The final style object, which will be used in the component
|
|
36
33
|
*/
|
|
37
34
|
const generateStyle = (): RatingStyle => {
|
|
38
35
|
return {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
import type { RatingIconTheme } from '@instructure/shared-types'
|
|
26
25
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
26
|
+
import type { NewComponentTypes } from '@instructure/ui-themes'
|
|
27
27
|
|
|
28
28
|
type RatingIconOwnProps = {
|
|
29
29
|
animationDelay?: number
|
|
@@ -41,7 +41,7 @@ type PropKeys = keyof RatingIconOwnProps
|
|
|
41
41
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
42
42
|
|
|
43
43
|
type RatingIconProps = RatingIconOwnProps &
|
|
44
|
-
WithStyleProps<
|
|
44
|
+
WithStyleProps<ReturnType<NewComponentTypes['RatingIcon']>, RatingIconStyle>
|
|
45
45
|
|
|
46
46
|
type RatingIconStyle = ComponentStyle<'ratingIcon' | 'icon'>
|
|
47
47
|
const allowedProps: AllowedPropKeys = [
|