@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 +1 -1
- package/lib/Rating/RatingLocator.js +1 -2
- package/lib/Rating/__examples__/Rating.examples.js +2 -3
- package/lib/Rating/index.js +2 -4
- package/lib/Rating/locator.js +1 -2
- package/lib/Rating/props.js +2 -4
- package/lib/Rating/styles.js +1 -2
- package/lib/RatingIcon/index.js +2 -4
- package/lib/RatingIcon/props.js +2 -4
- package/lib/RatingIcon/styles.js +1 -2
- package/lib/RatingIcon/theme.js +1 -2
- package/package.json +16 -16
- package/tsconfig.build.tsbuildinfo +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
|
-
## [8.46.2-snapshot-
|
|
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
|
+
};
|
package/lib/Rating/index.js
CHANGED
|
@@ -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.
|
|
119
|
-
var _default = Rating;
|
|
120
|
-
exports.default = _default;
|
|
118
|
+
var _default = exports.default = Rating;
|
package/lib/Rating/locator.js
CHANGED
|
@@ -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;
|
package/lib/Rating/props.js
CHANGED
|
@@ -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.
|
|
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'];
|
package/lib/Rating/styles.js
CHANGED
package/lib/RatingIcon/index.js
CHANGED
|
@@ -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.
|
|
115
|
-
var _default = RatingIcon;
|
|
116
|
-
exports.default = _default;
|
|
114
|
+
var _default = exports.default = RatingIcon;
|
package/lib/RatingIcon/props.js
CHANGED
|
@@ -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.
|
|
40
|
-
const allowedProps = ['animationDelay', 'animateFill', 'filled', 'size'];
|
|
41
|
-
exports.allowedProps = allowedProps;
|
|
39
|
+
const allowedProps = exports.allowedProps = ['animationDelay', 'animateFill', 'filled', 'size'];
|
package/lib/RatingIcon/styles.js
CHANGED
package/lib/RatingIcon/theme.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-rating",
|
|
3
|
-
"version": "8.46.2-snapshot-
|
|
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.
|
|
27
|
-
"@instructure/console": "8.46.2-snapshot-
|
|
28
|
-
"@instructure/emotion": "8.46.2-snapshot-
|
|
29
|
-
"@instructure/shared-types": "8.46.2-snapshot-
|
|
30
|
-
"@instructure/ui-a11y-content": "8.46.2-snapshot-
|
|
31
|
-
"@instructure/ui-dom-utils": "8.46.2-snapshot-
|
|
32
|
-
"@instructure/ui-icons": "8.46.2-snapshot-
|
|
33
|
-
"@instructure/ui-motion": "8.46.2-snapshot-
|
|
34
|
-
"@instructure/ui-react-utils": "8.46.2-snapshot-
|
|
35
|
-
"@instructure/ui-testable": "8.46.2-snapshot-
|
|
36
|
-
"@instructure/ui-view": "8.46.2-snapshot-
|
|
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-
|
|
41
|
-
"@instructure/ui-test-locator": "8.46.2-snapshot-
|
|
42
|
-
"@instructure/ui-test-utils": "8.46.2-snapshot-
|
|
43
|
-
"@instructure/ui-themes": "8.46.2-snapshot-
|
|
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"
|