@instructure/ui-byline 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-byline
9
9
 
@@ -1,4 +1,4 @@
1
- var _dec, _class;
1
+ var _dec, _class, _class2;
2
2
 
3
3
  /*
4
4
  * The MIT License (MIT)
@@ -39,23 +39,20 @@ category: components
39
39
  ---
40
40
  @tsProps
41
41
  **/
42
- let Byline = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Byline extends Component {
43
- static displayName = "Byline";
44
- static componentId = 'Byline';
45
- static propTypes = propTypes;
46
- static allowedProps = allowedProps;
47
- static defaultProps = {
48
- alignContent: 'center'
49
- };
50
- ref = null;
51
- handleRef = el => {
52
- const elementRef = this.props.elementRef;
53
- this.ref = el;
42
+ let Byline = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_class2 = class Byline extends Component {
43
+ constructor() {
44
+ super(...arguments);
45
+ this.ref = null;
54
46
 
55
- if (typeof elementRef === 'function') {
56
- elementRef(el);
57
- }
58
- };
47
+ this.handleRef = el => {
48
+ const elementRef = this.props.elementRef;
49
+ this.ref = el;
50
+
51
+ if (typeof elementRef === 'function') {
52
+ elementRef(el);
53
+ }
54
+ };
55
+ }
59
56
 
60
57
  componentDidMount() {
61
58
  var _this$props$makeStyle, _this$props;
@@ -90,6 +87,8 @@ let Byline = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_cla
90
87
  }, this.props.description)));
91
88
  }
92
89
 
93
- }) || _class);
90
+ }, _class2.displayName = "Byline", _class2.componentId = 'Byline', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
91
+ alignContent: 'center'
92
+ }, _class2)) || _class);
94
93
  export default Byline;
95
94
  export { Byline };
@@ -21,7 +21,7 @@ var _theme = _interopRequireDefault(require("./theme"));
21
21
 
22
22
  var _props = require("./props");
23
23
 
24
- var _dec, _class;
24
+ var _dec, _class, _class2;
25
25
 
26
26
  /**
27
27
  ---
@@ -29,23 +29,20 @@ category: components
29
29
  ---
30
30
  @tsProps
31
31
  **/
32
- let Byline = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Byline extends _react.Component {
33
- static displayName = "Byline";
34
- static componentId = 'Byline';
35
- static propTypes = _props.propTypes;
36
- static allowedProps = _props.allowedProps;
37
- static defaultProps = {
38
- alignContent: 'center'
39
- };
40
- ref = null;
41
- handleRef = el => {
42
- const elementRef = this.props.elementRef;
43
- this.ref = el;
44
-
45
- if (typeof elementRef === 'function') {
46
- elementRef(el);
47
- }
48
- };
32
+ let Byline = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_class2 = class Byline extends _react.Component {
33
+ constructor() {
34
+ super(...arguments);
35
+ this.ref = null;
36
+
37
+ this.handleRef = el => {
38
+ const elementRef = this.props.elementRef;
39
+ this.ref = el;
40
+
41
+ if (typeof elementRef === 'function') {
42
+ elementRef(el);
43
+ }
44
+ };
45
+ }
49
46
 
50
47
  componentDidMount() {
51
48
  var _this$props$makeStyle, _this$props;
@@ -81,7 +78,9 @@ let Byline = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _
81
78
  }, this.props.description)));
82
79
  }
83
80
 
84
- }) || _class);
81
+ }, _class2.displayName = "Byline", _class2.componentId = 'Byline', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
82
+ alignContent: 'center'
83
+ }, _class2)) || _class);
85
84
  exports.Byline = Byline;
86
85
  var _default = Byline;
87
86
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-byline",
3
- "version": "8.25.1-snapshot-10",
3
+ "version": "8.25.1-snapshot-13",
4
4
  "description": "A Byline component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,18 +24,18 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.13.10",
27
- "@instructure/emotion": "8.25.1-snapshot-10",
28
- "@instructure/shared-types": "8.25.1-snapshot-10",
29
- "@instructure/ui-react-utils": "8.25.1-snapshot-10",
30
- "@instructure/ui-testable": "8.25.1-snapshot-10",
31
- "@instructure/ui-view": "8.25.1-snapshot-10",
27
+ "@instructure/emotion": "8.25.1-snapshot-13",
28
+ "@instructure/shared-types": "8.25.1-snapshot-13",
29
+ "@instructure/ui-react-utils": "8.25.1-snapshot-13",
30
+ "@instructure/ui-testable": "8.25.1-snapshot-13",
31
+ "@instructure/ui-view": "8.25.1-snapshot-13",
32
32
  "prop-types": "^15"
33
33
  },
34
34
  "devDependencies": {
35
- "@instructure/ui-babel-preset": "8.25.1-snapshot-10",
36
- "@instructure/ui-color-utils": "8.25.1-snapshot-10",
37
- "@instructure/ui-test-utils": "8.25.1-snapshot-10",
38
- "@instructure/ui-themes": "8.25.1-snapshot-10"
35
+ "@instructure/ui-babel-preset": "8.25.1-snapshot-13",
36
+ "@instructure/ui-color-utils": "8.25.1-snapshot-13",
37
+ "@instructure/ui-test-utils": "8.25.1-snapshot-13",
38
+ "@instructure/ui-themes": "8.25.1-snapshot-13"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": ">=16.8 <=17"