@instructure/ui-rating 11.7.3-snapshot-33 → 11.7.3-snapshot-37

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
- ## [11.7.3-snapshot-33](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-33) (2026-05-07)
6
+ ## [11.7.3-snapshot-37](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-37) (2026-05-07)
7
7
 
8
8
 
9
9
  ### Bug Fixes
@@ -28,7 +28,7 @@ import { View } from '@instructure/ui-view/v11_6';
28
28
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
29
29
  import { omitProps } from '@instructure/ui-react-utils';
30
30
  import { RatingIcon } from "../../RatingIcon/v1/index.js";
31
- import { withStyleLegacy as withStyle } from '@instructure/emotion';
31
+ import { withStyle } from '@instructure/emotion';
32
32
  import generateStyle from "./styles.js";
33
33
  import { allowedProps } from "./props.js";
34
34
  /**
@@ -28,7 +28,7 @@ import { View } from '@instructure/ui-view/latest';
28
28
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
29
29
  import { omitProps } from '@instructure/ui-react-utils';
30
30
  import { RatingIcon } from "../../RatingIcon/v2/index.js";
31
- import { withStyle } from '@instructure/emotion';
31
+ import { withStyleNew } from '@instructure/emotion';
32
32
  import generateStyle from "./styles.js";
33
33
  import { allowedProps } from "./props.js";
34
34
  /**
@@ -37,7 +37,7 @@ category: components
37
37
  ---
38
38
  **/
39
39
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
40
- let Rating = (_dec = withStyle(generateStyle), _dec(_class = class Rating extends Component {
40
+ let Rating = (_dec = withStyleNew(generateStyle), _dec(_class = class Rating extends Component {
41
41
  static displayName = "Rating";
42
42
  static componentId = 'Rating';
43
43
  static allowedProps = allowedProps;
@@ -27,7 +27,7 @@ import { Component } from 'react';
27
27
  import { IconStarSolid, IconStarLightSolid } from '@instructure/ui-icons';
28
28
  import { requestAnimationFrame } from '@instructure/ui-dom-utils';
29
29
  import { Transition } from '@instructure/ui-motion';
30
- import { withStyleLegacy as withStyle } from '@instructure/emotion';
30
+ import { withStyle } from '@instructure/emotion';
31
31
  import generateStyle from "./styles.js";
32
32
  import generateComponentTheme from "./theme.js";
33
33
  import { allowedProps } from "./props.js";
@@ -27,7 +27,7 @@ import { Component } from 'react';
27
27
  import { StarInstUIIcon, StarSolidInstUIIcon } from '@instructure/ui-icons';
28
28
  import { requestAnimationFrame } from '@instructure/ui-dom-utils';
29
29
  import { Transition } from '@instructure/ui-motion';
30
- import { withStyle } from '@instructure/emotion';
30
+ import { withStyleNew } from '@instructure/emotion';
31
31
  import generateStyle from "./styles.js";
32
32
  import { allowedProps } from "./props.js";
33
33
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
@@ -43,7 +43,7 @@ parent: Rating
43
43
  id: Rating.Icon
44
44
  ---
45
45
  **/
46
- let RatingIcon = (_dec = withStyle(generateStyle), _dec(_class = class RatingIcon extends Component {
46
+ let RatingIcon = (_dec = withStyleNew(generateStyle), _dec(_class = class RatingIcon extends Component {
47
47
  static displayName = "RatingIcon";
48
48
  static componentId = 'Rating.Icon';
49
49
  static allowedProps = allowedProps;
@@ -43,7 +43,7 @@ var _dec, _class;
43
43
  category: components
44
44
  ---
45
45
  **/
46
- let Rating = exports.Rating = (_dec = (0, _emotion.withStyleLegacy)(_styles.default, null), _dec(_class = class Rating extends _react.Component {
46
+ let Rating = exports.Rating = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = class Rating extends _react.Component {
47
47
  static displayName = "Rating";
48
48
  static componentId = 'Rating';
49
49
  static allowedProps = _props.allowedProps;
@@ -43,7 +43,7 @@ var _dec, _class;
43
43
  category: components
44
44
  ---
45
45
  **/
46
- let Rating = exports.Rating = (_dec = (0, _emotion.withStyle)(_styles.default), _dec(_class = class Rating extends _react.Component {
46
+ let Rating = exports.Rating = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Rating extends _react.Component {
47
47
  static displayName = "Rating";
48
48
  static componentId = 'Rating';
49
49
  static allowedProps = _props.allowedProps;
@@ -45,7 +45,7 @@ parent: Rating
45
45
  id: Rating.Icon
46
46
  ---
47
47
  **/
48
- let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.withStyleLegacy)(_styles.default, _theme.default), _dec(_class = class RatingIcon extends _react.Component {
48
+ let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class RatingIcon extends _react.Component {
49
49
  static displayName = "RatingIcon";
50
50
  static componentId = 'Rating.Icon';
51
51
  static allowedProps = _props.allowedProps;
@@ -49,7 +49,7 @@ parent: Rating
49
49
  id: Rating.Icon
50
50
  ---
51
51
  **/
52
- let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.withStyle)(_styles.default), _dec(_class = class RatingIcon extends _react.Component {
52
+ let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class RatingIcon extends _react.Component {
53
53
  static displayName = "RatingIcon";
54
54
  static componentId = 'Rating.Icon';
55
55
  static allowedProps = _props.allowedProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-rating",
3
- "version": "11.7.3-snapshot-33",
3
+ "version": "11.7.3-snapshot-37",
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.2",
18
- "@instructure/emotion": "11.7.3-snapshot-33",
19
- "@instructure/ui-a11y-content": "11.7.3-snapshot-33",
20
- "@instructure/shared-types": "11.7.3-snapshot-33",
21
- "@instructure/ui-dom-utils": "11.7.3-snapshot-33",
22
- "@instructure/console": "11.7.3-snapshot-33",
23
- "@instructure/ui-motion": "11.7.3-snapshot-33",
24
- "@instructure/ui-icons": "11.7.3-snapshot-33",
25
- "@instructure/ui-react-utils": "11.7.3-snapshot-33",
26
- "@instructure/ui-themes": "11.7.3-snapshot-33",
27
- "@instructure/ui-view": "11.7.3-snapshot-33"
18
+ "@instructure/console": "11.7.3-snapshot-37",
19
+ "@instructure/ui-a11y-content": "11.7.3-snapshot-37",
20
+ "@instructure/ui-dom-utils": "11.7.3-snapshot-37",
21
+ "@instructure/emotion": "11.7.3-snapshot-37",
22
+ "@instructure/shared-types": "11.7.3-snapshot-37",
23
+ "@instructure/ui-motion": "11.7.3-snapshot-37",
24
+ "@instructure/ui-icons": "11.7.3-snapshot-37",
25
+ "@instructure/ui-react-utils": "11.7.3-snapshot-37",
26
+ "@instructure/ui-themes": "11.7.3-snapshot-37",
27
+ "@instructure/ui-view": "11.7.3-snapshot-37"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@testing-library/jest-dom": "^6.6.3",
31
31
  "@testing-library/react": "15.0.7",
32
32
  "vitest": "^3.2.2",
33
- "@instructure/ui-axe-check": "11.7.3-snapshot-33",
34
- "@instructure/ui-babel-preset": "11.7.3-snapshot-33"
33
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-37",
34
+ "@instructure/ui-axe-check": "11.7.3-snapshot-37"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": ">=18 <=19"
@@ -28,7 +28,7 @@ import { View } from '@instructure/ui-view/v11_6'
28
28
  import { ScreenReaderContent } from '@instructure/ui-a11y-content'
29
29
  import { omitProps } from '@instructure/ui-react-utils'
30
30
  import { RatingIcon } from '../../RatingIcon/v1'
31
- import { withStyleLegacy as withStyle } from '@instructure/emotion'
31
+ import { withStyle } from '@instructure/emotion'
32
32
  import generateStyle from './styles'
33
33
  import type { RatingProps } from './props'
34
34
  import { allowedProps } from './props'
@@ -28,7 +28,7 @@ import { View } from '@instructure/ui-view/latest'
28
28
  import { ScreenReaderContent } from '@instructure/ui-a11y-content'
29
29
  import { omitProps } from '@instructure/ui-react-utils'
30
30
  import { RatingIcon } from '../../RatingIcon/v2'
31
- import { withStyle } from '@instructure/emotion'
31
+ import { withStyleNew } from '@instructure/emotion'
32
32
  import generateStyle from './styles'
33
33
  import type { RatingProps } from './props'
34
34
  import { allowedProps } from './props'
@@ -38,7 +38,7 @@ import { allowedProps } from './props'
38
38
  category: components
39
39
  ---
40
40
  **/
41
- @withStyle(generateStyle)
41
+ @withStyleNew(generateStyle)
42
42
  class Rating extends Component<RatingProps> {
43
43
  static readonly componentId = 'Rating'
44
44
 
@@ -29,7 +29,7 @@ import { requestAnimationFrame } from '@instructure/ui-dom-utils'
29
29
  import type { RequestAnimationFrameType } from '@instructure/ui-dom-utils'
30
30
  import { Transition } from '@instructure/ui-motion'
31
31
 
32
- import { withStyleLegacy as withStyle } from '@instructure/emotion'
32
+ import { withStyle } from '@instructure/emotion'
33
33
  import generateStyle from './styles'
34
34
  import generateComponentTheme from './theme'
35
35
  import type { RatingIconProps, RatingIconState } from './props'
@@ -29,7 +29,7 @@ import { requestAnimationFrame } from '@instructure/ui-dom-utils'
29
29
  import type { RequestAnimationFrameType } from '@instructure/ui-dom-utils'
30
30
  import { Transition } from '@instructure/ui-motion'
31
31
 
32
- import { withStyle } from '@instructure/emotion'
32
+ import { withStyleNew } from '@instructure/emotion'
33
33
  import generateStyle from './styles'
34
34
  import type { RatingIconProps, RatingIconState } from './props'
35
35
  import { allowedProps } from './props'
@@ -46,7 +46,7 @@ parent: Rating
46
46
  id: Rating.Icon
47
47
  ---
48
48
  **/
49
- @withStyle(generateStyle)
49
+ @withStyleNew(generateStyle)
50
50
  class RatingIcon extends Component<RatingIconProps, RatingIconState> {
51
51
  static readonly componentId = 'Rating.Icon'
52
52