@instructure/ui-rating 8.46.2-snapshot-5 → 8.46.2-snapshot-7

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
- ## [8.46.2-snapshot-5](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-5) (2023-10-19)
6
+ ## [8.46.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-7) (2023-10-20)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-rating
9
9
 
@@ -31,5 +31,4 @@ var _index = require("./index");
31
31
  */
32
32
 
33
33
  // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
34
- const RatingLocator = (0, _locator.locator)(_index.Rating.selector);
35
- exports.RatingLocator = RatingLocator;
34
+ const RatingLocator = exports.RatingLocator = (0, _locator.locator)(_index.Rating.selector);
@@ -27,7 +27,7 @@ exports.default = void 0;
27
27
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
28
  * SOFTWARE.
29
29
  */
30
- var _default = {
30
+ var _default = exports.default = {
31
31
  sectionProp: 'size',
32
32
  propValues: {
33
33
  size: ['small', 'medium', 'large'],
@@ -40,5 +40,4 @@ var _default = {
40
40
  valueMax: 5
41
41
  };
42
42
  }
43
- };
44
- exports.default = _default;
43
+ };
@@ -45,7 +45,7 @@ category: components
45
45
  ---
46
46
  @tsProps
47
47
  **/
48
- let Rating = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Rating extends _react.Component {
48
+ 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 {
49
49
  constructor(...args) {
50
50
  super(...args);
51
51
  this.ref = null;
@@ -115,6 +115,4 @@ let Rating = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0,
115
115
  size: 'medium',
116
116
  valueNow: 0
117
117
  }, _class2.Icon = _RatingIcon.RatingIcon, _class2)) || _class) || _class);
118
- exports.Rating = Rating;
119
- var _default = Rating;
120
- exports.default = _default;
118
+ var _default = exports.default = Rating;
@@ -34,5 +34,4 @@ var _RatingLocator = require("./RatingLocator");
34
34
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
35
  * SOFTWARE.
36
36
  */
37
- var _default = _RatingLocator.RatingLocator;
38
- exports.default = _default;
37
+ var _default = exports.default = _RatingLocator.RatingLocator;
@@ -31,7 +31,7 @@ var _emotion = require("@instructure/emotion");
31
31
  * SOFTWARE.
32
32
  */
33
33
 
34
- const propTypes = {
34
+ const propTypes = exports.propTypes = {
35
35
  label: _propTypes.default.string.isRequired,
36
36
  formatValueText: _propTypes.default.func,
37
37
  iconCount: _propTypes.default.oneOf([3, 5]),
@@ -41,6 +41,4 @@ const propTypes = {
41
41
  animateFill: _propTypes.default.bool,
42
42
  margin: _emotion.ThemeablePropTypes.spacing
43
43
  };
44
- exports.propTypes = propTypes;
45
- const allowedProps = ['label', 'formatValueText', 'iconCount', 'size', 'valueMax', 'valueNow', 'animateFill', 'margin'];
46
- exports.allowedProps = allowedProps;
44
+ const allowedProps = exports.allowedProps = ['label', 'formatValueText', 'iconCount', 'size', 'valueMax', 'valueNow', 'animateFill', 'margin'];
@@ -46,5 +46,4 @@ const generateStyle = () => {
46
46
  }
47
47
  };
48
48
  };
49
- var _default = generateStyle;
50
- exports.default = _default;
49
+ var _default = exports.default = generateStyle;
@@ -46,7 +46,7 @@ id: Rating.Icon
46
46
  ---
47
47
  @tsProps
48
48
  **/
49
- let RatingIcon = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class RatingIcon extends _react.Component {
49
+ let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class RatingIcon extends _react.Component {
50
50
  constructor(props) {
51
51
  super(props);
52
52
  this.ref = null;
@@ -111,6 +111,4 @@ let RatingIcon = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
111
111
  filled: false,
112
112
  size: 'medium'
113
113
  }, _class2)) || _class);
114
- exports.RatingIcon = RatingIcon;
115
- var _default = RatingIcon;
116
- exports.default = _default;
114
+ var _default = exports.default = RatingIcon;
@@ -30,12 +30,10 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
30
30
  * SOFTWARE.
31
31
  */
32
32
 
33
- const propTypes = {
33
+ const propTypes = exports.propTypes = {
34
34
  animationDelay: _propTypes.default.number,
35
35
  animateFill: _propTypes.default.bool,
36
36
  filled: _propTypes.default.bool,
37
37
  size: _propTypes.default.oneOf(['small', 'medium', 'large'])
38
38
  };
39
- exports.propTypes = propTypes;
40
- const allowedProps = ['animationDelay', 'animateFill', 'filled', 'size'];
41
- exports.allowedProps = allowedProps;
39
+ const allowedProps = exports.allowedProps = ['animationDelay', 'animateFill', 'filled', 'size'];
@@ -75,5 +75,4 @@ const generateStyle = (componentTheme, props, state) => {
75
75
  }
76
76
  };
77
77
  };
78
- var _default = generateStyle;
79
- exports.default = _default;
78
+ var _default = exports.default = generateStyle;
@@ -57,5 +57,4 @@ const generateComponentTheme = theme => {
57
57
  ...themeSpecificStyle[themeName]
58
58
  };
59
59
  };
60
- var _default = generateComponentTheme;
61
- exports.default = _default;
60
+ var _default = exports.default = generateComponentTheme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-rating",
3
- "version": "8.46.2-snapshot-5",
3
+ "version": "8.46.2-snapshot-7",
4
4
  "description": "A static rating component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,24 +23,24 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@babel/runtime": "^7.22.15",
27
- "@instructure/console": "8.46.2-snapshot-5",
28
- "@instructure/emotion": "8.46.2-snapshot-5",
29
- "@instructure/shared-types": "8.46.2-snapshot-5",
30
- "@instructure/ui-a11y-content": "8.46.2-snapshot-5",
31
- "@instructure/ui-dom-utils": "8.46.2-snapshot-5",
32
- "@instructure/ui-icons": "8.46.2-snapshot-5",
33
- "@instructure/ui-motion": "8.46.2-snapshot-5",
34
- "@instructure/ui-react-utils": "8.46.2-snapshot-5",
35
- "@instructure/ui-testable": "8.46.2-snapshot-5",
36
- "@instructure/ui-view": "8.46.2-snapshot-5",
26
+ "@babel/runtime": "^7.23.2",
27
+ "@instructure/console": "8.46.2-snapshot-7",
28
+ "@instructure/emotion": "8.46.2-snapshot-7",
29
+ "@instructure/shared-types": "8.46.2-snapshot-7",
30
+ "@instructure/ui-a11y-content": "8.46.2-snapshot-7",
31
+ "@instructure/ui-dom-utils": "8.46.2-snapshot-7",
32
+ "@instructure/ui-icons": "8.46.2-snapshot-7",
33
+ "@instructure/ui-motion": "8.46.2-snapshot-7",
34
+ "@instructure/ui-react-utils": "8.46.2-snapshot-7",
35
+ "@instructure/ui-testable": "8.46.2-snapshot-7",
36
+ "@instructure/ui-view": "8.46.2-snapshot-7",
37
37
  "prop-types": "^15.8.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@instructure/ui-babel-preset": "8.46.2-snapshot-5",
41
- "@instructure/ui-test-locator": "8.46.2-snapshot-5",
42
- "@instructure/ui-test-utils": "8.46.2-snapshot-5",
43
- "@instructure/ui-themes": "8.46.2-snapshot-5"
40
+ "@instructure/ui-babel-preset": "8.46.2-snapshot-7",
41
+ "@instructure/ui-test-locator": "8.46.2-snapshot-7",
42
+ "@instructure/ui-test-utils": "8.46.2-snapshot-7",
43
+ "@instructure/ui-themes": "8.46.2-snapshot-7"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=16.8 <=18"