@instructure/ui-rating 11.6.0 → 11.6.1-snapshot-129
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 +34 -284
- package/es/Rating/{index.js → v1/index.js} +3 -3
- package/es/RatingIcon/{index.js → v1/index.js} +1 -1
- package/es/{index.js → exports/a.js} +2 -2
- package/lib/Rating/{index.js → v1/index.js} +8 -8
- package/lib/RatingIcon/{index.js → v1/index.js} +3 -3
- package/lib/{index.js → exports/a.js} +4 -4
- package/package.json +42 -20
- package/src/Rating/{index.tsx → v1/index.tsx} +3 -3
- package/src/RatingIcon/{index.tsx → v1/index.tsx} +1 -1
- package/src/{index.ts → exports/a.ts} +4 -4
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Rating/{index.d.ts → v1/index.d.ts} +1 -1
- package/types/Rating/v1/index.d.ts.map +1 -0
- package/types/Rating/v1/props.d.ts.map +1 -0
- package/types/Rating/v1/styles.d.ts.map +1 -0
- package/types/RatingIcon/v1/index.d.ts.map +1 -0
- package/types/RatingIcon/v1/props.d.ts.map +1 -0
- package/types/RatingIcon/v1/styles.d.ts.map +1 -0
- package/types/RatingIcon/v1/theme.d.ts.map +1 -0
- package/types/exports/a.d.ts +5 -0
- package/types/exports/a.d.ts.map +1 -0
- package/types/Rating/index.d.ts.map +0 -1
- package/types/Rating/props.d.ts.map +0 -1
- package/types/Rating/styles.d.ts.map +0 -1
- package/types/RatingIcon/index.d.ts.map +0 -1
- package/types/RatingIcon/props.d.ts.map +0 -1
- package/types/RatingIcon/styles.d.ts.map +0 -1
- package/types/RatingIcon/theme.d.ts.map +0 -1
- package/types/index.d.ts +0 -5
- package/types/index.d.ts.map +0 -1
- /package/es/Rating/{props.js → v1/props.js} +0 -0
- /package/es/Rating/{styles.js → v1/styles.js} +0 -0
- /package/es/RatingIcon/{props.js → v1/props.js} +0 -0
- /package/es/RatingIcon/{styles.js → v1/styles.js} +0 -0
- /package/es/RatingIcon/{theme.js → v1/theme.js} +0 -0
- /package/lib/Rating/{props.js → v1/props.js} +0 -0
- /package/lib/Rating/{styles.js → v1/styles.js} +0 -0
- /package/lib/RatingIcon/{props.js → v1/props.js} +0 -0
- /package/lib/RatingIcon/{styles.js → v1/styles.js} +0 -0
- /package/lib/RatingIcon/{theme.js → v1/theme.js} +0 -0
- /package/src/Rating/{README.md → v1/README.md} +0 -0
- /package/src/Rating/{props.ts → v1/props.ts} +0 -0
- /package/src/Rating/{styles.ts → v1/styles.ts} +0 -0
- /package/src/RatingIcon/{props.ts → v1/props.ts} +0 -0
- /package/src/RatingIcon/{styles.ts → v1/styles.ts} +0 -0
- /package/src/RatingIcon/{theme.ts → v1/theme.ts} +0 -0
- /package/types/Rating/{props.d.ts → v1/props.d.ts} +0 -0
- /package/types/Rating/{styles.d.ts → v1/styles.d.ts} +0 -0
- /package/types/RatingIcon/{index.d.ts → v1/index.d.ts} +0 -0
- /package/types/RatingIcon/{props.d.ts → v1/props.d.ts} +0 -0
- /package/types/RatingIcon/{styles.d.ts → v1/styles.d.ts} +0 -0
- /package/types/RatingIcon/{theme.d.ts → v1/theme.d.ts} +0 -0
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.RatingIcon = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var _IconStarSolid = require("@instructure/ui-icons/lib/IconStarSolid.js");
|
|
10
|
-
var _IconStarLightSolid = require("@instructure/ui-icons/lib/IconStarLightSolid.js");
|
|
9
|
+
var _IconStarSolid = require("@instructure/ui-icons/lib/generated/IconStarSolid.js");
|
|
10
|
+
var _IconStarLightSolid = require("@instructure/ui-icons/lib/generated/IconStarLightSolid.js");
|
|
11
11
|
var _requestAnimationFrame = require("@instructure/ui-dom-utils/lib/requestAnimationFrame.js");
|
|
12
12
|
var _Transition = require("@instructure/ui-motion/lib/Transition");
|
|
13
13
|
var _emotion = require("@instructure/emotion");
|
|
@@ -45,7 +45,7 @@ parent: Rating
|
|
|
45
45
|
id: Rating.Icon
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
|
-
let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.
|
|
48
|
+
let RatingIcon = exports.RatingIcon = (_dec = (0, _emotion.withStyleLegacy)(_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;
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Rating", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _v.Rating;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "RatingIcon", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _v2.RatingIcon;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _v = require("../Rating/v1");
|
|
19
|
+
var _v2 = require("../RatingIcon/v1");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-rating",
|
|
3
|
-
"version": "11.6.
|
|
3
|
+
"version": "11.6.1-snapshot-129",
|
|
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.27.6",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-a11y-content": "11.6.
|
|
22
|
-
"@instructure/ui-dom-utils": "11.6.
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-react-utils": "11.6.
|
|
18
|
+
"@instructure/console": "11.6.1-snapshot-129",
|
|
19
|
+
"@instructure/shared-types": "11.6.1-snapshot-129",
|
|
20
|
+
"@instructure/emotion": "11.6.1-snapshot-129",
|
|
21
|
+
"@instructure/ui-a11y-content": "11.6.1-snapshot-129",
|
|
22
|
+
"@instructure/ui-dom-utils": "11.6.1-snapshot-129",
|
|
23
|
+
"@instructure/ui-icons": "11.6.1-snapshot-129",
|
|
24
|
+
"@instructure/ui-motion": "11.6.1-snapshot-129",
|
|
25
|
+
"@instructure/ui-view": "11.6.1-snapshot-129",
|
|
26
|
+
"@instructure/ui-react-utils": "11.6.1-snapshot-129"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@testing-library/jest-dom": "^6.6.3",
|
|
30
30
|
"@testing-library/react": "15.0.7",
|
|
31
31
|
"vitest": "^3.2.2",
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-
|
|
34
|
-
"@instructure/ui-
|
|
32
|
+
"@instructure/ui-babel-preset": "11.6.1-snapshot-129",
|
|
33
|
+
"@instructure/ui-themes": "11.6.1-snapshot-129",
|
|
34
|
+
"@instructure/ui-axe-check": "11.6.1-snapshot-129"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": ">=18 <=19"
|
|
@@ -41,17 +41,39 @@
|
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|
|
43
43
|
"exports": {
|
|
44
|
-
".": {
|
|
45
|
-
"types": "./types/index.d.ts",
|
|
46
|
-
"import": "./es/index.js",
|
|
47
|
-
"require": "./lib/index.js",
|
|
48
|
-
"default": "./es/index.js"
|
|
49
|
-
},
|
|
50
44
|
"./lib/*": "./lib/*",
|
|
51
45
|
"./es/*": "./es/*",
|
|
52
46
|
"./types/*": "./types/*",
|
|
53
47
|
"./package.json": "./package.json",
|
|
54
|
-
"./src/*": "./src/*"
|
|
48
|
+
"./src/*": "./src/*",
|
|
49
|
+
".": {
|
|
50
|
+
"src": "./src/exports/a.ts",
|
|
51
|
+
"types": "./types/exports/a.d.ts",
|
|
52
|
+
"import": "./es/exports/a.js",
|
|
53
|
+
"require": "./lib/exports/a.js",
|
|
54
|
+
"default": "./es/exports/a.js"
|
|
55
|
+
},
|
|
56
|
+
"./v11_6": {
|
|
57
|
+
"src": "./src/exports/a.ts",
|
|
58
|
+
"types": "./types/exports/a.d.ts",
|
|
59
|
+
"import": "./es/exports/a.js",
|
|
60
|
+
"require": "./lib/exports/a.js",
|
|
61
|
+
"default": "./es/exports/a.js"
|
|
62
|
+
},
|
|
63
|
+
"./v11_7": {
|
|
64
|
+
"src": "./src/exports/a.ts",
|
|
65
|
+
"types": "./types/exports/a.d.ts",
|
|
66
|
+
"import": "./es/exports/a.js",
|
|
67
|
+
"require": "./lib/exports/a.js",
|
|
68
|
+
"default": "./es/exports/a.js"
|
|
69
|
+
},
|
|
70
|
+
"./latest": {
|
|
71
|
+
"src": "./src/exports/a.ts",
|
|
72
|
+
"types": "./types/exports/a.d.ts",
|
|
73
|
+
"import": "./es/exports/a.js",
|
|
74
|
+
"require": "./lib/exports/a.js",
|
|
75
|
+
"default": "./es/exports/a.js"
|
|
76
|
+
}
|
|
55
77
|
},
|
|
56
78
|
"scripts": {
|
|
57
79
|
"lint": "ui-scripts lint",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
import { Component } from 'react'
|
|
26
26
|
|
|
27
|
-
import { View } from '@instructure/ui-view'
|
|
27
|
+
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
|
-
import { RatingIcon } from '
|
|
31
|
-
import { withStyle } from '@instructure/emotion'
|
|
30
|
+
import { RatingIcon } from '../../RatingIcon/v1'
|
|
31
|
+
import { withStyleLegacy as withStyle } from '@instructure/emotion'
|
|
32
32
|
import generateStyle from './styles'
|
|
33
33
|
import type { RatingProps } from './props'
|
|
34
34
|
import { allowedProps } 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 { withStyleLegacy as withStyle } from '@instructure/emotion'
|
|
33
33
|
import generateStyle from './styles'
|
|
34
34
|
import generateComponentTheme from './theme'
|
|
35
35
|
import type { RatingIconProps, RatingIconState } from './props'
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { Rating } from '
|
|
25
|
-
export { RatingIcon } from '
|
|
24
|
+
export { Rating } from '../Rating/v1'
|
|
25
|
+
export { RatingIcon } from '../RatingIcon/v1'
|
|
26
26
|
|
|
27
|
-
export type { RatingProps } from '
|
|
28
|
-
export type { RatingIconProps } from '
|
|
27
|
+
export type { RatingProps } from '../Rating/v1/props'
|
|
28
|
+
export type { RatingIconProps } from '../RatingIcon/v1/props'
|