@instructure/ui-metric 8.12.1-snapshot.7 → 8.13.1-snapshot.9
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 +4 -0
- package/es/Metric/index.js +2 -2
- package/es/MetricGroup/MetricGroupLocator.js +4 -4
- package/es/MetricGroup/index.js +2 -2
- package/lib/Metric/index.js +3 -3
- package/lib/Metric/props.js +1 -1
- package/lib/MetricGroup/MetricGroupLocator.js +4 -4
- package/lib/MetricGroup/index.js +3 -3
- package/lib/MetricGroup/props.js +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.13.0](https://github.com/instructure/instructure-ui/compare/v8.12.0...v8.13.0) (2021-12-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-metric
|
|
9
|
+
|
|
6
10
|
# [8.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @instructure/ui-metric
|
package/es/Metric/index.js
CHANGED
|
@@ -43,8 +43,8 @@ category: components
|
|
|
43
43
|
@tsProps
|
|
44
44
|
**/
|
|
45
45
|
let Metric = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class Metric extends Component {
|
|
46
|
-
constructor(
|
|
47
|
-
super(...
|
|
46
|
+
constructor() {
|
|
47
|
+
super(...arguments);
|
|
48
48
|
this.ref = null;
|
|
49
49
|
|
|
50
50
|
this.handleRef = el => {
|
|
@@ -26,10 +26,10 @@ import { Metric } from '../Metric';
|
|
|
26
26
|
import { MetricGroup } from './index';
|
|
27
27
|
const MetricGroupItemLocator = locator(Metric.selector);
|
|
28
28
|
export const MetricGroupLocator = locator(MetricGroup.selector, {
|
|
29
|
-
findAllItems: (
|
|
30
|
-
return MetricGroupItemLocator.findAll(...
|
|
29
|
+
findAllItems: function () {
|
|
30
|
+
return MetricGroupItemLocator.findAll(...arguments);
|
|
31
31
|
},
|
|
32
|
-
findItem: (
|
|
33
|
-
return MetricGroupItemLocator.find(...
|
|
32
|
+
findItem: function () {
|
|
33
|
+
return MetricGroupItemLocator.find(...arguments);
|
|
34
34
|
}
|
|
35
35
|
});
|
package/es/MetricGroup/index.js
CHANGED
|
@@ -40,8 +40,8 @@ category: components
|
|
|
40
40
|
@tsProps
|
|
41
41
|
**/
|
|
42
42
|
let MetricGroup = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class MetricGroup extends Component {
|
|
43
|
-
constructor(
|
|
44
|
-
super(...
|
|
43
|
+
constructor() {
|
|
44
|
+
super(...arguments);
|
|
45
45
|
this.ref = null;
|
|
46
46
|
|
|
47
47
|
this.handleRef = el => {
|
package/lib/Metric/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.default = exports.Metric = void 0;
|
|
9
9
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
|
|
@@ -36,8 +36,8 @@ category: components
|
|
|
36
36
|
@tsProps
|
|
37
37
|
**/
|
|
38
38
|
let Metric = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class Metric extends _react.Component {
|
|
39
|
-
constructor(
|
|
40
|
-
super(...
|
|
39
|
+
constructor() {
|
|
40
|
+
super(...arguments);
|
|
41
41
|
this.ref = null;
|
|
42
42
|
|
|
43
43
|
this.handleRef = el => {
|
package/lib/Metric/props.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
@@ -36,11 +36,11 @@ var _index = require("./index");
|
|
|
36
36
|
*/
|
|
37
37
|
const MetricGroupItemLocator = (0, _locator.locator)(_Metric.Metric.selector);
|
|
38
38
|
const MetricGroupLocator = (0, _locator.locator)(_index.MetricGroup.selector, {
|
|
39
|
-
findAllItems: (
|
|
40
|
-
return MetricGroupItemLocator.findAll(...
|
|
39
|
+
findAllItems: function () {
|
|
40
|
+
return MetricGroupItemLocator.findAll(...arguments);
|
|
41
41
|
},
|
|
42
|
-
findItem: (
|
|
43
|
-
return MetricGroupItemLocator.find(...
|
|
42
|
+
findItem: function () {
|
|
43
|
+
return MetricGroupItemLocator.find(...arguments);
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
exports.MetricGroupLocator = MetricGroupLocator;
|
package/lib/MetricGroup/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.default = exports.MetricGroup = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
|
|
@@ -32,8 +32,8 @@ category: components
|
|
|
32
32
|
@tsProps
|
|
33
33
|
**/
|
|
34
34
|
let MetricGroup = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class MetricGroup extends _react.Component {
|
|
35
|
-
constructor(
|
|
36
|
-
super(...
|
|
35
|
+
constructor() {
|
|
36
|
+
super(...arguments);
|
|
37
37
|
this.ref = null;
|
|
38
38
|
|
|
39
39
|
this.handleRef = el => {
|
package/lib/MetricGroup/props.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-metric",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.13.1-snapshot.9+f32ba918e",
|
|
4
4
|
"description": "A UI component for displaying Metrics",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.
|
|
29
|
-
"@instructure/emotion": "8.
|
|
30
|
-
"@instructure/shared-types": "8.
|
|
31
|
-
"@instructure/ui-prop-types": "8.
|
|
32
|
-
"@instructure/ui-react-utils": "8.
|
|
33
|
-
"@instructure/ui-testable": "8.
|
|
28
|
+
"@instructure/console": "8.13.1-snapshot.9+f32ba918e",
|
|
29
|
+
"@instructure/emotion": "8.13.1-snapshot.9+f32ba918e",
|
|
30
|
+
"@instructure/shared-types": "8.13.1-snapshot.9+f32ba918e",
|
|
31
|
+
"@instructure/ui-prop-types": "8.13.1-snapshot.9+f32ba918e",
|
|
32
|
+
"@instructure/ui-react-utils": "8.13.1-snapshot.9+f32ba918e",
|
|
33
|
+
"@instructure/ui-testable": "8.13.1-snapshot.9+f32ba918e",
|
|
34
34
|
"prop-types": "^15"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@instructure/ui-babel-preset": "8.
|
|
38
|
-
"@instructure/ui-color-utils": "8.
|
|
39
|
-
"@instructure/ui-test-locator": "8.
|
|
40
|
-
"@instructure/ui-test-utils": "8.
|
|
41
|
-
"@instructure/ui-themes": "8.
|
|
37
|
+
"@instructure/ui-babel-preset": "8.13.1-snapshot.9+f32ba918e",
|
|
38
|
+
"@instructure/ui-color-utils": "8.13.1-snapshot.9+f32ba918e",
|
|
39
|
+
"@instructure/ui-test-locator": "8.13.1-snapshot.9+f32ba918e",
|
|
40
|
+
"@instructure/ui-test-utils": "8.13.1-snapshot.9+f32ba918e",
|
|
41
|
+
"@instructure/ui-themes": "8.13.1-snapshot.9+f32ba918e"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=16.8 <=17"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "f32ba918e4d3ce76c6ee95c856584d00a9d80958"
|
|
51
51
|
}
|