@instructure/ui-avatar 9.0.2-snapshot-2 → 9.0.2-snapshot-3

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-3](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-3) (2024-05-28)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-avatar
9
9
 
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["onImageLoaded", "styles"];
3
- var _dec, _dec2, _class, _class2;
3
+ var _dec, _dec2, _class, _Avatar;
4
4
  /*
5
5
  * The MIT License (MIT)
6
6
  *
@@ -39,7 +39,7 @@ import { propTypes, allowedProps } from './props';
39
39
  category: components
40
40
  ---
41
41
  **/
42
- let Avatar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class Avatar extends Component {
42
+ let Avatar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_Avatar = class Avatar extends Component {
43
43
  constructor(...args) {
44
44
  super(...args);
45
45
  this.state = {
@@ -132,7 +132,7 @@ let Avatar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = t
132
132
  "aria-hidden": "true"
133
133
  }), !this.state.loaded && this.renderContent());
134
134
  }
135
- }, _class2.displayName = "Avatar", _class2.componentId = 'Avatar', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
135
+ }, _Avatar.displayName = "Avatar", _Avatar.componentId = 'Avatar', _Avatar.propTypes = propTypes, _Avatar.allowedProps = allowedProps, _Avatar.defaultProps = {
136
136
  size: 'medium',
137
137
  color: 'default',
138
138
  hasInverseColor: false,
@@ -140,6 +140,6 @@ let Avatar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = t
140
140
  shape: 'circle',
141
141
  display: 'inline-block',
142
142
  onImageLoaded: _event => {}
143
- }, _class2)) || _class) || _class);
143
+ }, _Avatar)) || _class) || _class);
144
144
  export default Avatar;
145
145
  export { Avatar };
@@ -16,7 +16,7 @@ var _styles = _interopRequireDefault(require("./styles"));
16
16
  var _theme = _interopRequireDefault(require("./theme"));
17
17
  var _props = require("./props");
18
18
  const _excluded = ["onImageLoaded", "styles"];
19
- var _dec, _dec2, _class, _class2;
19
+ var _dec, _dec2, _class, _Avatar;
20
20
  /*
21
21
  * The MIT License (MIT)
22
22
  *
@@ -46,7 +46,7 @@ var _dec, _dec2, _class, _class2;
46
46
  category: components
47
47
  ---
48
48
  **/
49
- let Avatar = exports.Avatar = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Avatar extends _react.Component {
49
+ let Avatar = exports.Avatar = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_Avatar = class Avatar extends _react.Component {
50
50
  constructor(...args) {
51
51
  super(...args);
52
52
  this.state = {
@@ -139,7 +139,7 @@ let Avatar = exports.Avatar = (_dec = (0, _emotion.withStyle)(_styles.default, _
139
139
  "aria-hidden": "true"
140
140
  }), !this.state.loaded && this.renderContent());
141
141
  }
142
- }, _class2.displayName = "Avatar", _class2.componentId = 'Avatar', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
142
+ }, _Avatar.displayName = "Avatar", _Avatar.componentId = 'Avatar', _Avatar.propTypes = _props.propTypes, _Avatar.allowedProps = _props.allowedProps, _Avatar.defaultProps = {
143
143
  size: 'medium',
144
144
  color: 'default',
145
145
  hasInverseColor: false,
@@ -147,5 +147,5 @@ let Avatar = exports.Avatar = (_dec = (0, _emotion.withStyle)(_styles.default, _
147
147
  shape: 'circle',
148
148
  display: 'inline-block',
149
149
  onImageLoaded: _event => {}
150
- }, _class2)) || _class) || _class);
150
+ }, _Avatar)) || _class) || _class);
151
151
  var _default = exports.default = Avatar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-avatar",
3
- "version": "9.0.2-snapshot-2",
3
+ "version": "9.0.2-snapshot-3",
4
4
  "description": "An image or letters that represents a user.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,25 +23,25 @@
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-icons": "9.0.2-snapshot-2",
31
- "@instructure/ui-react-utils": "9.0.2-snapshot-2",
32
- "@instructure/ui-testable": "9.0.2-snapshot-2",
33
- "@instructure/ui-view": "9.0.2-snapshot-2",
26
+ "@babel/runtime": "^7.24.5",
27
+ "@instructure/console": "9.0.2-snapshot-3",
28
+ "@instructure/emotion": "9.0.2-snapshot-3",
29
+ "@instructure/shared-types": "9.0.2-snapshot-3",
30
+ "@instructure/ui-icons": "9.0.2-snapshot-3",
31
+ "@instructure/ui-react-utils": "9.0.2-snapshot-3",
32
+ "@instructure/ui-testable": "9.0.2-snapshot-3",
33
+ "@instructure/ui-view": "9.0.2-snapshot-3",
34
34
  "prop-types": "^15.8.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@instructure/ui-axe-check": "9.0.2-snapshot-2",
38
- "@instructure/ui-babel-preset": "9.0.2-snapshot-2",
39
- "@instructure/ui-color-utils": "9.0.2-snapshot-2",
40
- "@instructure/ui-test-locator": "9.0.2-snapshot-2",
41
- "@instructure/ui-test-utils": "9.0.2-snapshot-2",
42
- "@instructure/ui-themes": "9.0.2-snapshot-2",
43
- "@testing-library/jest-dom": "^6.1.4",
44
- "@testing-library/react": "^14.1.2"
37
+ "@instructure/ui-axe-check": "9.0.2-snapshot-3",
38
+ "@instructure/ui-babel-preset": "9.0.2-snapshot-3",
39
+ "@instructure/ui-color-utils": "9.0.2-snapshot-3",
40
+ "@instructure/ui-test-locator": "9.0.2-snapshot-3",
41
+ "@instructure/ui-test-utils": "9.0.2-snapshot-3",
42
+ "@instructure/ui-themes": "9.0.2-snapshot-3",
43
+ "@testing-library/jest-dom": "^6.4.5",
44
+ "@testing-library/react": "^15.0.7"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": ">=16.8 <=18"