@instructure/ui-breadcrumb 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-breadcrumb
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)
@@ -37,16 +37,15 @@ id: Breadcrumb.Link
37
37
  ---
38
38
  @tsProps
39
39
  **/
40
- let BreadcrumbLink = (_dec = testable(), _dec(_class = class BreadcrumbLink extends Component {
41
- static displayName = "BreadcrumbLink";
42
- static componentId = 'Breadcrumb.Link';
43
- static propTypes = propTypes;
44
- static allowedProps = allowedProps;
45
- static defaultProps = {};
46
- ref = null;
47
- handleRef = el => {
48
- this.ref = el;
49
- };
40
+ let BreadcrumbLink = (_dec = testable(), _dec(_class = (_class2 = class BreadcrumbLink extends Component {
41
+ constructor() {
42
+ super(...arguments);
43
+ this.ref = null;
44
+
45
+ this.handleRef = el => {
46
+ this.ref = el;
47
+ };
48
+ }
50
49
 
51
50
  render() {
52
51
  const _this$props = this.props,
@@ -66,6 +65,6 @@ let BreadcrumbLink = (_dec = testable(), _dec(_class = class BreadcrumbLink exte
66
65
  }), /*#__PURE__*/React.createElement(TruncateText, null, children));
67
66
  }
68
67
 
69
- }) || _class);
68
+ }, _class2.displayName = "BreadcrumbLink", _class2.componentId = 'Breadcrumb.Link', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2)) || _class);
70
69
  export default BreadcrumbLink;
71
70
  export { BreadcrumbLink };
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class;
1
+ var _dec, _dec2, _class, _class2;
2
2
 
3
3
  /*
4
4
  * The MIT License (MIT)
@@ -41,19 +41,15 @@ category: components
41
41
  ---
42
42
  @tsProps
43
43
  **/
44
- let Breadcrumb = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = class Breadcrumb extends Component {
45
- static displayName = "Breadcrumb";
46
- static componentId = 'Breadcrumb';
47
- static propTypes = propTypes;
48
- static allowedProps = allowedProps;
49
- static defaultProps = {
50
- size: 'medium',
51
- children: null
52
- };
53
- ref = null;
54
- handleRef = el => {
55
- this.ref = el;
56
- };
44
+ let Breadcrumb = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class Breadcrumb extends Component {
45
+ constructor() {
46
+ super(...arguments);
47
+ this.ref = null;
48
+
49
+ this.handleRef = el => {
50
+ this.ref = el;
51
+ };
52
+ }
57
53
 
58
54
  componentDidMount() {
59
55
  var _this$props$makeStyle, _this$props;
@@ -67,8 +63,6 @@ let Breadcrumb = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
67
63
  (_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2);
68
64
  }
69
65
 
70
- static Link = BreadcrumbLink;
71
-
72
66
  renderChildren() {
73
67
  const _this$props3 = this.props,
74
68
  styles = _this$props3.styles,
@@ -101,6 +95,9 @@ let Breadcrumb = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
101
95
  }, this.renderChildren()));
102
96
  }
103
97
 
104
- }) || _class) || _class);
98
+ }, _class2.displayName = "Breadcrumb", _class2.componentId = 'Breadcrumb', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
99
+ size: 'medium',
100
+ children: null
101
+ }, _class2.Link = BreadcrumbLink, _class2)) || _class) || _class);
105
102
  export default Breadcrumb;
106
103
  export { Breadcrumb, BreadcrumbLink };
@@ -19,7 +19,7 @@ var _testable = require("@instructure/ui-testable/lib/testable.js");
19
19
 
20
20
  var _props = require("./props");
21
21
 
22
- var _dec, _class;
22
+ var _dec, _class, _class2;
23
23
 
24
24
  /**
25
25
  ---
@@ -28,16 +28,15 @@ id: Breadcrumb.Link
28
28
  ---
29
29
  @tsProps
30
30
  **/
31
- let BreadcrumbLink = (_dec = (0, _testable.testable)(), _dec(_class = class BreadcrumbLink extends _react.Component {
32
- static displayName = "BreadcrumbLink";
33
- static componentId = 'Breadcrumb.Link';
34
- static propTypes = _props.propTypes;
35
- static allowedProps = _props.allowedProps;
36
- static defaultProps = {};
37
- ref = null;
38
- handleRef = el => {
39
- this.ref = el;
40
- };
31
+ let BreadcrumbLink = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class BreadcrumbLink extends _react.Component {
32
+ constructor() {
33
+ super(...arguments);
34
+ this.ref = null;
35
+
36
+ this.handleRef = el => {
37
+ this.ref = el;
38
+ };
39
+ }
41
40
 
42
41
  render() {
43
42
  const _this$props = this.props,
@@ -57,7 +56,7 @@ let BreadcrumbLink = (_dec = (0, _testable.testable)(), _dec(_class = class Brea
57
56
  }), /*#__PURE__*/_react.default.createElement(_TruncateText.TruncateText, null, children));
58
57
  }
59
58
 
60
- }) || _class);
59
+ }, _class2.displayName = "BreadcrumbLink", _class2.componentId = 'Breadcrumb.Link', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2)) || _class);
61
60
  exports.BreadcrumbLink = BreadcrumbLink;
62
61
  var _default = BreadcrumbLink;
63
62
  exports.default = _default;
@@ -34,7 +34,7 @@ var _theme = _interopRequireDefault(require("./theme"));
34
34
 
35
35
  var _props = require("./props");
36
36
 
37
- var _dec, _dec2, _class;
37
+ var _dec, _dec2, _class, _class2;
38
38
 
39
39
  /**
40
40
  ---
@@ -42,19 +42,15 @@ category: components
42
42
  ---
43
43
  @tsProps
44
44
  **/
45
- let Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = class Breadcrumb extends _react.Component {
46
- static displayName = "Breadcrumb";
47
- static componentId = 'Breadcrumb';
48
- static propTypes = _props.propTypes;
49
- static allowedProps = _props.allowedProps;
50
- static defaultProps = {
51
- size: 'medium',
52
- children: null
53
- };
54
- ref = null;
55
- handleRef = el => {
56
- this.ref = el;
57
- };
45
+ let Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Breadcrumb extends _react.Component {
46
+ constructor() {
47
+ super(...arguments);
48
+ this.ref = null;
49
+
50
+ this.handleRef = el => {
51
+ this.ref = el;
52
+ };
53
+ }
58
54
 
59
55
  componentDidMount() {
60
56
  var _this$props$makeStyle, _this$props;
@@ -68,8 +64,6 @@ let Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
68
64
  (_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2);
69
65
  }
70
66
 
71
- static Link = _BreadcrumbLink.BreadcrumbLink;
72
-
73
67
  renderChildren() {
74
68
  const _this$props3 = this.props,
75
69
  styles = _this$props3.styles,
@@ -104,7 +98,10 @@ let Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
104
98
  }, this.renderChildren()));
105
99
  }
106
100
 
107
- }) || _class) || _class);
101
+ }, _class2.displayName = "Breadcrumb", _class2.componentId = 'Breadcrumb', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
102
+ size: 'medium',
103
+ children: null
104
+ }, _class2.Link = _BreadcrumbLink.BreadcrumbLink, _class2)) || _class) || _class);
108
105
  exports.Breadcrumb = Breadcrumb;
109
106
  var _default = Breadcrumb;
110
107
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-breadcrumb",
3
- "version": "8.25.1-snapshot-10",
3
+ "version": "8.25.1-snapshot-13",
4
4
  "description": "A breadcrumb component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,23 +23,23 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.25.1-snapshot-10",
27
- "@instructure/ui-test-locator": "8.25.1-snapshot-10",
28
- "@instructure/ui-test-utils": "8.25.1-snapshot-10",
29
- "@instructure/ui-themes": "8.25.1-snapshot-10"
26
+ "@instructure/ui-babel-preset": "8.25.1-snapshot-13",
27
+ "@instructure/ui-test-locator": "8.25.1-snapshot-13",
28
+ "@instructure/ui-test-utils": "8.25.1-snapshot-13",
29
+ "@instructure/ui-themes": "8.25.1-snapshot-13"
30
30
  },
31
31
  "dependencies": {
32
32
  "@babel/runtime": "^7.13.10",
33
- "@instructure/emotion": "8.25.1-snapshot-10",
34
- "@instructure/shared-types": "8.25.1-snapshot-10",
35
- "@instructure/ui-icons": "8.25.1-snapshot-10",
36
- "@instructure/ui-link": "8.25.1-snapshot-10",
37
- "@instructure/ui-prop-types": "8.25.1-snapshot-10",
38
- "@instructure/ui-react-utils": "8.25.1-snapshot-10",
39
- "@instructure/ui-testable": "8.25.1-snapshot-10",
40
- "@instructure/ui-truncate-text": "8.25.1-snapshot-10",
41
- "@instructure/ui-utils": "8.25.1-snapshot-10",
42
- "@instructure/ui-view": "8.25.1-snapshot-10",
33
+ "@instructure/emotion": "8.25.1-snapshot-13",
34
+ "@instructure/shared-types": "8.25.1-snapshot-13",
35
+ "@instructure/ui-icons": "8.25.1-snapshot-13",
36
+ "@instructure/ui-link": "8.25.1-snapshot-13",
37
+ "@instructure/ui-prop-types": "8.25.1-snapshot-13",
38
+ "@instructure/ui-react-utils": "8.25.1-snapshot-13",
39
+ "@instructure/ui-testable": "8.25.1-snapshot-13",
40
+ "@instructure/ui-truncate-text": "8.25.1-snapshot-13",
41
+ "@instructure/ui-utils": "8.25.1-snapshot-13",
42
+ "@instructure/ui-view": "8.25.1-snapshot-13",
43
43
  "prop-types": "^15"
44
44
  },
45
45
  "peerDependencies": {