@instructure/ui-rating 9.0.2-snapshot-2 → 9.0.2-snapshot-4
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/index.js +4 -4
- package/es/RatingIcon/index.js +4 -4
- package/lib/Rating/index.js +4 -4
- package/lib/RatingIcon/index.js +4 -4
- package/package.json +17 -17
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Rating/index.d.ts +3 -3
- package/types/RatingIcon/index.d.ts +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
|
-
## [9.0.2-snapshot-
|
|
6
|
+
## [9.0.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
9
9
|
|
package/es/Rating/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _class,
|
|
1
|
+
var _dec, _dec2, _class, _Rating;
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
@@ -39,7 +39,7 @@ import { allowedProps, propTypes } from './props';
|
|
|
39
39
|
category: components
|
|
40
40
|
---
|
|
41
41
|
**/
|
|
42
|
-
let Rating = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_class = _dec2(_class = (
|
|
42
|
+
let Rating = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_class = _dec2(_class = (_Rating = class Rating extends Component {
|
|
43
43
|
constructor(...args) {
|
|
44
44
|
super(...args);
|
|
45
45
|
this.ref = null;
|
|
@@ -102,12 +102,12 @@ let Rating = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_c
|
|
|
102
102
|
size: size
|
|
103
103
|
})));
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, _Rating.displayName = "Rating", _Rating.componentId = 'Rating', _Rating.allowedProps = allowedProps, _Rating.propTypes = propTypes, _Rating.defaultProps = {
|
|
106
106
|
animateFill: false,
|
|
107
107
|
formatValueText: (filled, iconCount) => `${filled} / ${iconCount}`,
|
|
108
108
|
iconCount: 3,
|
|
109
109
|
size: 'medium',
|
|
110
110
|
valueNow: 0
|
|
111
|
-
},
|
|
111
|
+
}, _Rating.Icon = RatingIcon, _Rating)) || _class) || _class);
|
|
112
112
|
export default Rating;
|
|
113
113
|
export { Rating };
|
package/es/RatingIcon/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _class,
|
|
1
|
+
var _dec, _class, _RatingIcon;
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
@@ -39,7 +39,7 @@ parent: Rating
|
|
|
39
39
|
id: Rating.Icon
|
|
40
40
|
---
|
|
41
41
|
**/
|
|
42
|
-
let RatingIcon = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
|
42
|
+
let RatingIcon = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_RatingIcon = class RatingIcon extends Component {
|
|
43
43
|
constructor(props) {
|
|
44
44
|
super(props);
|
|
45
45
|
this.ref = null;
|
|
@@ -98,11 +98,11 @@ let RatingIcon = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(
|
|
|
98
98
|
css: (_this$props$styles3 = this.props.styles) === null || _this$props$styles3 === void 0 ? void 0 : _this$props$styles3.icon
|
|
99
99
|
})));
|
|
100
100
|
}
|
|
101
|
-
},
|
|
101
|
+
}, _RatingIcon.displayName = "RatingIcon", _RatingIcon.componentId = 'Rating.Icon', _RatingIcon.allowedProps = allowedProps, _RatingIcon.propTypes = propTypes, _RatingIcon.defaultProps = {
|
|
102
102
|
animationDelay: 200,
|
|
103
103
|
animateFill: false,
|
|
104
104
|
filled: false,
|
|
105
105
|
size: 'medium'
|
|
106
|
-
},
|
|
106
|
+
}, _RatingIcon)) || _class);
|
|
107
107
|
export default RatingIcon;
|
|
108
108
|
export { RatingIcon };
|
package/lib/Rating/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var _RatingIcon = require("../RatingIcon");
|
|
|
14
14
|
var _emotion = require("@instructure/emotion");
|
|
15
15
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
16
16
|
var _props = require("./props");
|
|
17
|
-
var _dec, _dec2, _class,
|
|
17
|
+
var _dec, _dec2, _class, _Rating;
|
|
18
18
|
/*
|
|
19
19
|
* The MIT License (MIT)
|
|
20
20
|
*
|
|
@@ -44,7 +44,7 @@ var _dec, _dec2, _class, _class2;
|
|
|
44
44
|
category: components
|
|
45
45
|
---
|
|
46
46
|
**/
|
|
47
|
-
let Rating = exports.Rating = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (
|
|
47
|
+
let Rating = exports.Rating = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_Rating = class Rating extends _react.Component {
|
|
48
48
|
constructor(...args) {
|
|
49
49
|
super(...args);
|
|
50
50
|
this.ref = null;
|
|
@@ -107,11 +107,11 @@ let Rating = exports.Rating = (_dec = (0, _emotion.withStyle)(_styles.default, n
|
|
|
107
107
|
size: size
|
|
108
108
|
})));
|
|
109
109
|
}
|
|
110
|
-
},
|
|
110
|
+
}, _Rating.displayName = "Rating", _Rating.componentId = 'Rating', _Rating.allowedProps = _props.allowedProps, _Rating.propTypes = _props.propTypes, _Rating.defaultProps = {
|
|
111
111
|
animateFill: false,
|
|
112
112
|
formatValueText: (filled, iconCount) => `${filled} / ${iconCount}`,
|
|
113
113
|
iconCount: 3,
|
|
114
114
|
size: 'medium',
|
|
115
115
|
valueNow: 0
|
|
116
|
-
},
|
|
116
|
+
}, _Rating.Icon = _RatingIcon.RatingIcon, _Rating)) || _class) || _class);
|
|
117
117
|
var _default = exports.default = Rating;
|
package/lib/RatingIcon/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var _emotion = require("@instructure/emotion");
|
|
|
14
14
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
15
15
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
16
16
|
var _props = require("./props");
|
|
17
|
-
var _dec, _class,
|
|
17
|
+
var _dec, _class, _RatingIcon;
|
|
18
18
|
/*
|
|
19
19
|
* The MIT License (MIT)
|
|
20
20
|
*
|
|
@@ -45,7 +45,7 @@ parent: Rating
|
|
|
45
45
|
id: Rating.Icon
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
|
-
let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
|
48
|
+
let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_RatingIcon = class RatingIcon extends _react.Component {
|
|
49
49
|
constructor(props) {
|
|
50
50
|
super(props);
|
|
51
51
|
this.ref = null;
|
|
@@ -104,10 +104,10 @@ let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.withStyle)(_styles.de
|
|
|
104
104
|
css: (_this$props$styles3 = this.props.styles) === null || _this$props$styles3 === void 0 ? void 0 : _this$props$styles3.icon
|
|
105
105
|
})));
|
|
106
106
|
}
|
|
107
|
-
},
|
|
107
|
+
}, _RatingIcon.displayName = "RatingIcon", _RatingIcon.componentId = 'Rating.Icon', _RatingIcon.allowedProps = _props.allowedProps, _RatingIcon.propTypes = _props.propTypes, _RatingIcon.defaultProps = {
|
|
108
108
|
animationDelay: 200,
|
|
109
109
|
animateFill: false,
|
|
110
110
|
filled: false,
|
|
111
111
|
size: 'medium'
|
|
112
|
-
},
|
|
112
|
+
}, _RatingIcon)) || _class);
|
|
113
113
|
var _default = exports.default = RatingIcon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-rating",
|
|
3
|
-
"version": "9.0.2-snapshot-
|
|
3
|
+
"version": "9.0.2-snapshot-4",
|
|
4
4
|
"description": "A static rating component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,25 +23,25 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.
|
|
27
|
-
"@instructure/console": "9.0.2-snapshot-
|
|
28
|
-
"@instructure/emotion": "9.0.2-snapshot-
|
|
29
|
-
"@instructure/shared-types": "9.0.2-snapshot-
|
|
30
|
-
"@instructure/ui-a11y-content": "9.0.2-snapshot-
|
|
31
|
-
"@instructure/ui-dom-utils": "9.0.2-snapshot-
|
|
32
|
-
"@instructure/ui-icons": "9.0.2-snapshot-
|
|
33
|
-
"@instructure/ui-motion": "9.0.2-snapshot-
|
|
34
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
|
35
|
-
"@instructure/ui-testable": "9.0.2-snapshot-
|
|
36
|
-
"@instructure/ui-view": "9.0.2-snapshot-
|
|
26
|
+
"@babel/runtime": "^7.24.5",
|
|
27
|
+
"@instructure/console": "9.0.2-snapshot-4",
|
|
28
|
+
"@instructure/emotion": "9.0.2-snapshot-4",
|
|
29
|
+
"@instructure/shared-types": "9.0.2-snapshot-4",
|
|
30
|
+
"@instructure/ui-a11y-content": "9.0.2-snapshot-4",
|
|
31
|
+
"@instructure/ui-dom-utils": "9.0.2-snapshot-4",
|
|
32
|
+
"@instructure/ui-icons": "9.0.2-snapshot-4",
|
|
33
|
+
"@instructure/ui-motion": "9.0.2-snapshot-4",
|
|
34
|
+
"@instructure/ui-react-utils": "9.0.2-snapshot-4",
|
|
35
|
+
"@instructure/ui-testable": "9.0.2-snapshot-4",
|
|
36
|
+
"@instructure/ui-view": "9.0.2-snapshot-4",
|
|
37
37
|
"prop-types": "^15.8.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@instructure/ui-axe-check": "9.0.2-snapshot-
|
|
41
|
-
"@instructure/ui-babel-preset": "9.0.2-snapshot-
|
|
42
|
-
"@instructure/ui-themes": "9.0.2-snapshot-
|
|
43
|
-
"@testing-library/jest-dom": "^6.
|
|
44
|
-
"@testing-library/react": "^
|
|
40
|
+
"@instructure/ui-axe-check": "9.0.2-snapshot-4",
|
|
41
|
+
"@instructure/ui-babel-preset": "9.0.2-snapshot-4",
|
|
42
|
+
"@instructure/ui-themes": "9.0.2-snapshot-4",
|
|
43
|
+
"@testing-library/jest-dom": "^6.4.5",
|
|
44
|
+
"@testing-library/react": "^15.0.7"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=16.8 <=18"
|