@instructure/ui-rating 11.7.4-snapshot-102 → 11.7.4-snapshot-105
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 +5 -2
- package/package.json +13 -13
- package/src/Rating/v2/README.md +3 -3
- package/src/Rating/v2/props.ts +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Rating/v2/props.d.ts +3 -3
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
|
-
## [11.7.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-105](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-105) (2026-07-15)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **many:** support current spacing tokens in the margin prop for v2 components ([1b47c5f](https://github.com/instructure/instructure-ui/commit/1b47c5f23eaa60b532cdfd53c39bd71f0cf51aaa))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-rating",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-105",
|
|
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.29.7",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/ui-dom-utils": "11.7.4-snapshot-
|
|
21
|
-
"@instructure/shared-types": "11.7.4-snapshot-
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
18
|
+
"@instructure/console": "11.7.4-snapshot-105",
|
|
19
|
+
"@instructure/emotion": "11.7.4-snapshot-105",
|
|
20
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-105",
|
|
21
|
+
"@instructure/shared-types": "11.7.4-snapshot-105",
|
|
22
|
+
"@instructure/ui-icons": "11.7.4-snapshot-105",
|
|
23
|
+
"@instructure/ui-a11y-content": "11.7.4-snapshot-105",
|
|
24
|
+
"@instructure/ui-themes": "11.7.4-snapshot-105",
|
|
25
|
+
"@instructure/ui-view": "11.7.4-snapshot-105",
|
|
26
|
+
"@instructure/ui-motion": "11.7.4-snapshot-105",
|
|
27
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-105"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^6.9.1",
|
|
31
31
|
"@testing-library/react": "16.3.2",
|
|
32
32
|
"vitest": "^4.1.9",
|
|
33
|
-
"@instructure/ui-axe-check": "11.7.4-snapshot-
|
|
34
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
33
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-105",
|
|
34
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-105"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": ">=18 <=19"
|
package/src/Rating/v2/README.md
CHANGED
|
@@ -65,7 +65,7 @@ type: example
|
|
|
65
65
|
iconCount={5}
|
|
66
66
|
valueNow={3.76}
|
|
67
67
|
valueMax={5}
|
|
68
|
-
margin="
|
|
68
|
+
margin="general.spaceMd"/>
|
|
69
69
|
<Text>4/5</Text>
|
|
70
70
|
</Flex>
|
|
71
71
|
<Flex>
|
|
@@ -74,7 +74,7 @@ type: example
|
|
|
74
74
|
iconCount={5}
|
|
75
75
|
valueNow={30}
|
|
76
76
|
valueMax={100}
|
|
77
|
-
margin="
|
|
77
|
+
margin="general.spaceMd"
|
|
78
78
|
/>
|
|
79
79
|
<Text>2/5</Text>
|
|
80
80
|
</Flex>
|
|
@@ -86,7 +86,7 @@ type: example
|
|
|
86
86
|
iconCount={5}
|
|
87
87
|
valueNow={8}
|
|
88
88
|
valueMax={8}
|
|
89
|
-
margin="
|
|
89
|
+
margin="general.spaceMd"/>
|
|
90
90
|
<Text>5/5</Text>
|
|
91
91
|
</Flex>
|
|
92
92
|
</Flex>
|
package/src/Rating/v2/props.ts
CHANGED
|
@@ -59,9 +59,9 @@ type RatingOwnProps = {
|
|
|
59
59
|
*/
|
|
60
60
|
animateFill?: boolean
|
|
61
61
|
/**
|
|
62
|
-
* Valid values are `0`, `none`, `auto`,
|
|
63
|
-
*
|
|
64
|
-
* familiar CSS-like shorthand. For example
|
|
62
|
+
* Valid values are `0`, `none`, `auto`, and Spacing token values,
|
|
63
|
+
* see https://instructure.design/layout-spacing. Apply these values via
|
|
64
|
+
* familiar CSS-like shorthand. For example, `margin="general.spaceMd auto"`.
|
|
65
65
|
*/
|
|
66
66
|
margin?: Spacing
|
|
67
67
|
}
|