@instructure/ui-rating 10.15.2-snapshot-0 → 10.15.2-snapshot-2
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/es/Rating/props.js +1 -2
- package/lib/Rating/props.js +1 -2
- package/package.json +14 -14
- package/src/Rating/props.ts +1 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Rating/props.d.ts.map +1 -1
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.15.2-snapshot-
|
|
6
|
+
## [10.15.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v10.15.1...v10.15.2-snapshot-2) (2025-04-04)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update PropTypes to align with the new spacing tokens ([223d55b](https://github.com/instructure/instructure-ui/commit/223d55bad95e2a3a8b298d622e5b1d0fbab6b289))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
package/es/Rating/props.js
CHANGED
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
import PropTypes from 'prop-types';
|
|
25
|
-
import { ThemeablePropTypes } from '@instructure/emotion';
|
|
26
25
|
const propTypes = {
|
|
27
26
|
label: PropTypes.string.isRequired,
|
|
28
27
|
formatValueText: PropTypes.func,
|
|
@@ -31,7 +30,7 @@ const propTypes = {
|
|
|
31
30
|
valueMax: PropTypes.number,
|
|
32
31
|
valueNow: PropTypes.number,
|
|
33
32
|
animateFill: PropTypes.bool,
|
|
34
|
-
margin:
|
|
33
|
+
margin: PropTypes.string
|
|
35
34
|
};
|
|
36
35
|
const allowedProps = ['label', 'formatValueText', 'iconCount', 'size', 'valueMax', 'valueNow', 'animateFill', 'margin'];
|
|
37
36
|
export { propTypes, allowedProps };
|
package/lib/Rating/props.js
CHANGED
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.propTypes = exports.allowedProps = void 0;
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
var _emotion = require("@instructure/emotion");
|
|
10
9
|
/*
|
|
11
10
|
* The MIT License (MIT)
|
|
12
11
|
*
|
|
@@ -39,6 +38,6 @@ const propTypes = exports.propTypes = {
|
|
|
39
38
|
valueMax: _propTypes.default.number,
|
|
40
39
|
valueNow: _propTypes.default.number,
|
|
41
40
|
animateFill: _propTypes.default.bool,
|
|
42
|
-
margin:
|
|
41
|
+
margin: _propTypes.default.string
|
|
43
42
|
};
|
|
44
43
|
const allowedProps = exports.allowedProps = ['label', 'formatValueText', 'iconCount', 'size', 'valueMax', 'valueNow', 'animateFill', 'margin'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-rating",
|
|
3
|
-
"version": "10.15.2-snapshot-
|
|
3
|
+
"version": "10.15.2-snapshot-2",
|
|
4
4
|
"description": "A static rating component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.26.0",
|
|
27
|
-
"@instructure/console": "10.15.2-snapshot-
|
|
28
|
-
"@instructure/emotion": "10.15.2-snapshot-
|
|
29
|
-
"@instructure/shared-types": "10.15.2-snapshot-
|
|
30
|
-
"@instructure/ui-a11y-content": "10.15.2-snapshot-
|
|
31
|
-
"@instructure/ui-dom-utils": "10.15.2-snapshot-
|
|
32
|
-
"@instructure/ui-icons": "10.15.2-snapshot-
|
|
33
|
-
"@instructure/ui-motion": "10.15.2-snapshot-
|
|
34
|
-
"@instructure/ui-react-utils": "10.15.2-snapshot-
|
|
35
|
-
"@instructure/ui-testable": "10.15.2-snapshot-
|
|
36
|
-
"@instructure/ui-view": "10.15.2-snapshot-
|
|
27
|
+
"@instructure/console": "10.15.2-snapshot-2",
|
|
28
|
+
"@instructure/emotion": "10.15.2-snapshot-2",
|
|
29
|
+
"@instructure/shared-types": "10.15.2-snapshot-2",
|
|
30
|
+
"@instructure/ui-a11y-content": "10.15.2-snapshot-2",
|
|
31
|
+
"@instructure/ui-dom-utils": "10.15.2-snapshot-2",
|
|
32
|
+
"@instructure/ui-icons": "10.15.2-snapshot-2",
|
|
33
|
+
"@instructure/ui-motion": "10.15.2-snapshot-2",
|
|
34
|
+
"@instructure/ui-react-utils": "10.15.2-snapshot-2",
|
|
35
|
+
"@instructure/ui-testable": "10.15.2-snapshot-2",
|
|
36
|
+
"@instructure/ui-view": "10.15.2-snapshot-2",
|
|
37
37
|
"prop-types": "^15.8.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@instructure/ui-axe-check": "10.15.2-snapshot-
|
|
41
|
-
"@instructure/ui-babel-preset": "10.15.2-snapshot-
|
|
42
|
-
"@instructure/ui-themes": "10.15.2-snapshot-
|
|
40
|
+
"@instructure/ui-axe-check": "10.15.2-snapshot-2",
|
|
41
|
+
"@instructure/ui-babel-preset": "10.15.2-snapshot-2",
|
|
42
|
+
"@instructure/ui-themes": "10.15.2-snapshot-2",
|
|
43
43
|
"@testing-library/jest-dom": "^6.6.3",
|
|
44
44
|
"@testing-library/react": "^16.0.1",
|
|
45
45
|
"vitest": "^2.1.8"
|
package/src/Rating/props.ts
CHANGED
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import PropTypes from 'prop-types'
|
|
25
25
|
|
|
26
|
-
import { ThemeablePropTypes } from '@instructure/emotion'
|
|
27
|
-
|
|
28
26
|
import type {
|
|
29
27
|
Spacing,
|
|
30
28
|
WithStyleProps,
|
|
@@ -90,7 +88,7 @@ const propTypes: PropValidators<PropKeys> = {
|
|
|
90
88
|
valueMax: PropTypes.number,
|
|
91
89
|
valueNow: PropTypes.number,
|
|
92
90
|
animateFill: PropTypes.bool,
|
|
93
|
-
margin:
|
|
91
|
+
margin: PropTypes.string
|
|
94
92
|
}
|
|
95
93
|
|
|
96
94
|
const allowedProps: AllowedPropKeys = [
|