@instructure/ui-spinner 8.25.1-snapshot-10 → 8.25.1-snapshot-13

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
- ## [8.25.1-snapshot-10](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.25.1-snapshot-10) (2022-06-20)
6
+ ## [8.25.1-snapshot-13](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.25.1-snapshot-13) (2022-06-22)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-spinner
9
9
 
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _dec3, _class;
1
+ var _dec, _dec2, _dec3, _class, _class2;
2
2
 
3
3
  /*
4
4
  * The MIT License (MIT)
@@ -41,29 +41,21 @@ category: components
41
41
  @tsProps
42
42
  **/
43
43
 
44
- let Spinner = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = class Spinner extends Component {
45
- static displayName = "Spinner";
46
- static componentId = 'Spinner';
47
- static allowedProps = allowedProps;
48
- static propTypes = propTypes;
49
- static defaultProps = {
50
- as: 'div',
51
- size: 'medium',
52
- variant: 'default'
53
- };
54
- ref = null;
55
- titleId;
56
- handleRef = el => {
57
- const elementRef = this.props.elementRef;
58
- this.ref = el;
59
-
60
- if (typeof elementRef === 'function') {
61
- elementRef(el);
62
- }
63
- };
64
-
44
+ let Spinner = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Spinner extends Component {
65
45
  constructor(props) {
66
46
  super(props);
47
+ this.ref = null;
48
+ this.titleId = void 0;
49
+
50
+ this.handleRef = el => {
51
+ const elementRef = this.props.elementRef;
52
+ this.ref = el;
53
+
54
+ if (typeof elementRef === 'function') {
55
+ elementRef(el);
56
+ }
57
+ };
58
+
67
59
  this.titleId = props.deterministicId();
68
60
  }
69
61
 
@@ -128,6 +120,10 @@ let Spinner = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, ge
128
120
  }))));
129
121
  }
130
122
 
131
- }) || _class) || _class) || _class);
123
+ }, _class2.displayName = "Spinner", _class2.componentId = 'Spinner', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
124
+ as: 'div',
125
+ size: 'medium',
126
+ variant: 'default'
127
+ }, _class2)) || _class) || _class) || _class);
132
128
  export default Spinner;
133
129
  export { Spinner };
@@ -29,7 +29,7 @@ var _theme = _interopRequireDefault(require("./theme"));
29
29
 
30
30
  var _props = require("./props");
31
31
 
32
- var _dec, _dec2, _dec3, _class;
32
+ var _dec, _dec2, _dec3, _class, _class2;
33
33
 
34
34
  /**
35
35
  ---
@@ -37,29 +37,21 @@ category: components
37
37
  ---
38
38
  @tsProps
39
39
  **/
40
- let Spinner = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = class Spinner extends _react.Component {
41
- static displayName = "Spinner";
42
- static componentId = 'Spinner';
43
- static allowedProps = _props.allowedProps;
44
- static propTypes = _props.propTypes;
45
- static defaultProps = {
46
- as: 'div',
47
- size: 'medium',
48
- variant: 'default'
49
- };
50
- ref = null;
51
- titleId;
52
- handleRef = el => {
53
- const elementRef = this.props.elementRef;
54
- this.ref = el;
55
-
56
- if (typeof elementRef === 'function') {
57
- elementRef(el);
58
- }
59
- };
60
-
40
+ let Spinner = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Spinner extends _react.Component {
61
41
  constructor(props) {
62
42
  super(props);
43
+ this.ref = null;
44
+ this.titleId = void 0;
45
+
46
+ this.handleRef = el => {
47
+ const elementRef = this.props.elementRef;
48
+ this.ref = el;
49
+
50
+ if (typeof elementRef === 'function') {
51
+ elementRef(el);
52
+ }
53
+ };
54
+
63
55
  this.titleId = props.deterministicId();
64
56
  }
65
57
 
@@ -125,7 +117,11 @@ let Spinner = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (
125
117
  }))));
126
118
  }
127
119
 
128
- }) || _class) || _class) || _class);
120
+ }, _class2.displayName = "Spinner", _class2.componentId = 'Spinner', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
121
+ as: 'div',
122
+ size: 'medium',
123
+ variant: 'default'
124
+ }, _class2)) || _class) || _class) || _class);
129
125
  exports.Spinner = Spinner;
130
126
  var _default = Spinner;
131
127
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-spinner",
3
- "version": "8.25.1-snapshot-10",
3
+ "version": "8.25.1-snapshot-13",
4
4
  "description": "A spinner/loading component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,22 +24,22 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.13.10",
27
- "@instructure/console": "8.25.1-snapshot-10",
28
- "@instructure/emotion": "8.25.1-snapshot-10",
29
- "@instructure/shared-types": "8.25.1-snapshot-10",
30
- "@instructure/ui-color-utils": "8.25.1-snapshot-10",
31
- "@instructure/ui-react-utils": "8.25.1-snapshot-10",
32
- "@instructure/ui-testable": "8.25.1-snapshot-10",
33
- "@instructure/ui-utils": "8.25.1-snapshot-10",
34
- "@instructure/ui-view": "8.25.1-snapshot-10",
35
- "@instructure/uid": "8.25.1-snapshot-10",
27
+ "@instructure/console": "8.25.1-snapshot-13",
28
+ "@instructure/emotion": "8.25.1-snapshot-13",
29
+ "@instructure/shared-types": "8.25.1-snapshot-13",
30
+ "@instructure/ui-color-utils": "8.25.1-snapshot-13",
31
+ "@instructure/ui-react-utils": "8.25.1-snapshot-13",
32
+ "@instructure/ui-testable": "8.25.1-snapshot-13",
33
+ "@instructure/ui-utils": "8.25.1-snapshot-13",
34
+ "@instructure/ui-view": "8.25.1-snapshot-13",
35
+ "@instructure/uid": "8.25.1-snapshot-13",
36
36
  "prop-types": "^15"
37
37
  },
38
38
  "devDependencies": {
39
- "@instructure/ui-babel-preset": "8.25.1-snapshot-10",
40
- "@instructure/ui-test-locator": "8.25.1-snapshot-10",
41
- "@instructure/ui-test-utils": "8.25.1-snapshot-10",
42
- "@instructure/ui-themes": "8.25.1-snapshot-10"
39
+ "@instructure/ui-babel-preset": "8.25.1-snapshot-13",
40
+ "@instructure/ui-test-locator": "8.25.1-snapshot-13",
41
+ "@instructure/ui-test-utils": "8.25.1-snapshot-13",
42
+ "@instructure/ui-themes": "8.25.1-snapshot-13"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": ">=16.8 <=17"