@instructure/ui-metric 9.0.2-snapshot-2 → 9.0.2-snapshot-4

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
- ## [9.0.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-2) (2024-05-28)
6
+ ## [9.0.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-metric
9
9
 
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["textAlign", "renderLabel", "renderValue", "isGroupChild"];
3
- var _dec, _dec2, _class, _class2;
3
+ var _dec, _dec2, _class, _Metric;
4
4
  /*
5
5
  * The MIT License (MIT)
6
6
  *
@@ -37,7 +37,7 @@ import { propTypes, allowedProps } from './props';
37
37
  category: components
38
38
  ---
39
39
  **/
40
- let Metric = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class Metric extends Component {
40
+ let Metric = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_Metric = class Metric extends Component {
41
41
  constructor(...args) {
42
42
  super(...args);
43
43
  this.ref = null;
@@ -73,9 +73,9 @@ let Metric = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = t
73
73
  css: (_this$props$styles3 = this.props.styles) === null || _this$props$styles3 === void 0 ? void 0 : _this$props$styles3.value
74
74
  }, callRenderProp(renderValue)));
75
75
  }
76
- }, _class2.displayName = "Metric", _class2.componentId = 'Metric', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
76
+ }, _Metric.displayName = "Metric", _Metric.componentId = 'Metric', _Metric.propTypes = propTypes, _Metric.allowedProps = allowedProps, _Metric.defaultProps = {
77
77
  textAlign: 'center',
78
78
  isGroupChild: false
79
- }, _class2)) || _class) || _class);
79
+ }, _Metric)) || _class) || _class);
80
80
  export default Metric;
81
81
  export { Metric };
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
1
+ var _dec, _dec2, _class, _MetricGroup;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -36,7 +36,7 @@ import { propTypes, allowedProps } from './props';
36
36
  category: components
37
37
  ---
38
38
  **/
39
- let MetricGroup = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class MetricGroup extends Component {
39
+ let MetricGroup = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_MetricGroup = class MetricGroup extends Component {
40
40
  constructor(...args) {
41
41
  super(...args);
42
42
  this.ref = null;
@@ -68,8 +68,8 @@ let MetricGroup = (_dec = withStyle(generateStyle, generateComponentTheme), _dec
68
68
  ref: this.handleRef
69
69
  }), this.renderChildren());
70
70
  }
71
- }, _class2.displayName = "MetricGroup", _class2.componentId = 'MetricGroup', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
71
+ }, _MetricGroup.displayName = "MetricGroup", _MetricGroup.componentId = 'MetricGroup', _MetricGroup.propTypes = propTypes, _MetricGroup.allowedProps = allowedProps, _MetricGroup.defaultProps = {
72
72
  children: null
73
- }, _class2)) || _class) || _class);
73
+ }, _MetricGroup)) || _class) || _class);
74
74
  export default MetricGroup;
75
75
  export { MetricGroup };
@@ -15,7 +15,7 @@ var _styles = _interopRequireDefault(require("./styles"));
15
15
  var _theme = _interopRequireDefault(require("./theme"));
16
16
  var _props = require("./props");
17
17
  const _excluded = ["textAlign", "renderLabel", "renderValue", "isGroupChild"];
18
- var _dec, _dec2, _class, _class2;
18
+ var _dec, _dec2, _class, _Metric;
19
19
  /*
20
20
  * The MIT License (MIT)
21
21
  *
@@ -45,7 +45,7 @@ var _dec, _dec2, _class, _class2;
45
45
  category: components
46
46
  ---
47
47
  **/
48
- let Metric = exports.Metric = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Metric extends _react.Component {
48
+ let Metric = exports.Metric = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_Metric = class Metric extends _react.Component {
49
49
  constructor(...args) {
50
50
  super(...args);
51
51
  this.ref = null;
@@ -81,8 +81,8 @@ let Metric = exports.Metric = (_dec = (0, _emotion.withStyle)(_styles.default, _
81
81
  css: (_this$props$styles3 = this.props.styles) === null || _this$props$styles3 === void 0 ? void 0 : _this$props$styles3.value
82
82
  }, (0, _callRenderProp.callRenderProp)(renderValue)));
83
83
  }
84
- }, _class2.displayName = "Metric", _class2.componentId = 'Metric', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
84
+ }, _Metric.displayName = "Metric", _Metric.componentId = 'Metric', _Metric.propTypes = _props.propTypes, _Metric.allowedProps = _props.allowedProps, _Metric.defaultProps = {
85
85
  textAlign: 'center',
86
86
  isGroupChild: false
87
- }, _class2)) || _class) || _class);
87
+ }, _Metric)) || _class) || _class);
88
88
  var _default = exports.default = Metric;
@@ -13,7 +13,7 @@ var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElemen
13
13
  var _styles = _interopRequireDefault(require("./styles"));
14
14
  var _theme = _interopRequireDefault(require("./theme"));
15
15
  var _props = require("./props");
16
- var _dec, _dec2, _class, _class2;
16
+ var _dec, _dec2, _class, _MetricGroup;
17
17
  /*
18
18
  * The MIT License (MIT)
19
19
  *
@@ -43,7 +43,7 @@ var _dec, _dec2, _class, _class2;
43
43
  category: components
44
44
  ---
45
45
  **/
46
- let MetricGroup = exports.MetricGroup = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class MetricGroup extends _react.Component {
46
+ let MetricGroup = exports.MetricGroup = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_MetricGroup = class MetricGroup extends _react.Component {
47
47
  constructor(...args) {
48
48
  super(...args);
49
49
  this.ref = null;
@@ -75,7 +75,7 @@ let MetricGroup = exports.MetricGroup = (_dec = (0, _emotion.withStyle)(_styles.
75
75
  ref: this.handleRef
76
76
  }), this.renderChildren());
77
77
  }
78
- }, _class2.displayName = "MetricGroup", _class2.componentId = 'MetricGroup', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
78
+ }, _MetricGroup.displayName = "MetricGroup", _MetricGroup.componentId = 'MetricGroup', _MetricGroup.propTypes = _props.propTypes, _MetricGroup.allowedProps = _props.allowedProps, _MetricGroup.defaultProps = {
79
79
  children: null
80
- }, _class2)) || _class) || _class);
80
+ }, _MetricGroup)) || _class) || _class);
81
81
  var _default = exports.default = MetricGroup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-metric",
3
- "version": "9.0.2-snapshot-2",
3
+ "version": "9.0.2-snapshot-4",
4
4
  "description": "A UI component for displaying Metrics",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,21 +23,21 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@babel/runtime": "^7.23.2",
27
- "@instructure/console": "9.0.2-snapshot-2",
28
- "@instructure/emotion": "9.0.2-snapshot-2",
29
- "@instructure/shared-types": "9.0.2-snapshot-2",
30
- "@instructure/ui-prop-types": "9.0.2-snapshot-2",
31
- "@instructure/ui-react-utils": "9.0.2-snapshot-2",
32
- "@instructure/ui-testable": "9.0.2-snapshot-2",
26
+ "@babel/runtime": "^7.24.5",
27
+ "@instructure/console": "9.0.2-snapshot-4",
28
+ "@instructure/emotion": "9.0.2-snapshot-4",
29
+ "@instructure/shared-types": "9.0.2-snapshot-4",
30
+ "@instructure/ui-prop-types": "9.0.2-snapshot-4",
31
+ "@instructure/ui-react-utils": "9.0.2-snapshot-4",
32
+ "@instructure/ui-testable": "9.0.2-snapshot-4",
33
33
  "prop-types": "^15.8.1"
34
34
  },
35
35
  "devDependencies": {
36
- "@instructure/ui-babel-preset": "9.0.2-snapshot-2",
37
- "@instructure/ui-color-utils": "9.0.2-snapshot-2",
38
- "@instructure/ui-test-locator": "9.0.2-snapshot-2",
39
- "@instructure/ui-test-utils": "9.0.2-snapshot-2",
40
- "@instructure/ui-themes": "9.0.2-snapshot-2"
36
+ "@instructure/ui-babel-preset": "9.0.2-snapshot-4",
37
+ "@instructure/ui-color-utils": "9.0.2-snapshot-4",
38
+ "@instructure/ui-test-locator": "9.0.2-snapshot-4",
39
+ "@instructure/ui-test-utils": "9.0.2-snapshot-4",
40
+ "@instructure/ui-themes": "9.0.2-snapshot-4"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=16.8 <=18"