@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 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-2](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-2) (2024-05-28)
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
 
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
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 = (_class2 = class Rating extends Component {
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
- }, _class2.displayName = "Rating", _class2.componentId = 'Rating', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
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
- }, _class2.Icon = RatingIcon, _class2)) || _class) || _class);
111
+ }, _Rating.Icon = RatingIcon, _Rating)) || _class) || _class);
112
112
  export default Rating;
113
113
  export { Rating };
@@ -1,4 +1,4 @@
1
- var _dec, _class, _class2;
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 = (_class2 = class RatingIcon extends Component {
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
- }, _class2.displayName = "RatingIcon", _class2.componentId = 'Rating.Icon', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
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
- }, _class2)) || _class);
106
+ }, _RatingIcon)) || _class);
107
107
  export default RatingIcon;
108
108
  export { RatingIcon };
@@ -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, _class2;
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 = (_class2 = class Rating extends _react.Component {
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
- }, _class2.displayName = "Rating", _class2.componentId = 'Rating', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
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
- }, _class2.Icon = _RatingIcon.RatingIcon, _class2)) || _class) || _class);
116
+ }, _Rating.Icon = _RatingIcon.RatingIcon, _Rating)) || _class) || _class);
117
117
  var _default = exports.default = Rating;
@@ -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, _class2;
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 = (_class2 = class RatingIcon extends _react.Component {
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
- }, _class2.displayName = "RatingIcon", _class2.componentId = 'Rating.Icon', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
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
- }, _class2)) || _class);
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-2",
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.23.2",
27
- "@instructure/console": "9.0.2-snapshot-2",
28
- "@instructure/emotion": "9.0.2-snapshot-2",
29
- "@instructure/shared-types": "9.0.2-snapshot-2",
30
- "@instructure/ui-a11y-content": "9.0.2-snapshot-2",
31
- "@instructure/ui-dom-utils": "9.0.2-snapshot-2",
32
- "@instructure/ui-icons": "9.0.2-snapshot-2",
33
- "@instructure/ui-motion": "9.0.2-snapshot-2",
34
- "@instructure/ui-react-utils": "9.0.2-snapshot-2",
35
- "@instructure/ui-testable": "9.0.2-snapshot-2",
36
- "@instructure/ui-view": "9.0.2-snapshot-2",
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-2",
41
- "@instructure/ui-babel-preset": "9.0.2-snapshot-2",
42
- "@instructure/ui-themes": "9.0.2-snapshot-2",
43
- "@testing-library/jest-dom": "^6.1.4",
44
- "@testing-library/react": "^14.0.0"
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"