@instructure/ui-breadcrumb 8.25.1-snapshot-1 → 8.25.1-snapshot-10

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-1](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.25.1-snapshot-1) (2022-06-10)
6
+ ## [8.25.1-snapshot-10](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.25.1-snapshot-10) (2022-06-20)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-breadcrumb
9
9
 
@@ -1,4 +1,4 @@
1
- var _dec, _class, _class2;
1
+ var _dec, _class;
2
2
 
3
3
  /*
4
4
  * The MIT License (MIT)
@@ -37,15 +37,16 @@ id: Breadcrumb.Link
37
37
  ---
38
38
  @tsProps
39
39
  **/
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
- }
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
+ };
49
50
 
50
51
  render() {
51
52
  const _this$props = this.props,
@@ -65,6 +66,6 @@ let BreadcrumbLink = (_dec = testable(), _dec(_class = (_class2 = class Breadcru
65
66
  }), /*#__PURE__*/React.createElement(TruncateText, null, children));
66
67
  }
67
68
 
68
- }, _class2.displayName = "BreadcrumbLink", _class2.componentId = 'Breadcrumb.Link', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2)) || _class);
69
+ }) || _class);
69
70
  export default BreadcrumbLink;
70
71
  export { BreadcrumbLink };
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
1
+ var _dec, _dec2, _class;
2
2
 
3
3
  /*
4
4
  * The MIT License (MIT)
@@ -41,15 +41,19 @@ category: components
41
41
  ---
42
42
  @tsProps
43
43
  **/
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
- }
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
+ };
53
57
 
54
58
  componentDidMount() {
55
59
  var _this$props$makeStyle, _this$props;
@@ -63,6 +67,8 @@ let Breadcrumb = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
63
67
  (_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2);
64
68
  }
65
69
 
70
+ static Link = BreadcrumbLink;
71
+
66
72
  renderChildren() {
67
73
  const _this$props3 = this.props,
68
74
  styles = _this$props3.styles,
@@ -95,9 +101,6 @@ let Breadcrumb = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
95
101
  }, this.renderChildren()));
96
102
  }
97
103
 
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);
104
+ }) || _class) || _class);
102
105
  export default Breadcrumb;
103
106
  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, _class2;
22
+ var _dec, _class;
23
23
 
24
24
  /**
25
25
  ---
@@ -28,15 +28,16 @@ id: Breadcrumb.Link
28
28
  ---
29
29
  @tsProps
30
30
  **/
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
- }
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
+ };
40
41
 
41
42
  render() {
42
43
  const _this$props = this.props,
@@ -56,7 +57,7 @@ let BreadcrumbLink = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 =
56
57
  }), /*#__PURE__*/_react.default.createElement(_TruncateText.TruncateText, null, children));
57
58
  }
58
59
 
59
- }, _class2.displayName = "BreadcrumbLink", _class2.componentId = 'Breadcrumb.Link', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2)) || _class);
60
+ }) || _class);
60
61
  exports.BreadcrumbLink = BreadcrumbLink;
61
62
  var _default = BreadcrumbLink;
62
63
  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, _class2;
37
+ var _dec, _dec2, _class;
38
38
 
39
39
  /**
40
40
  ---
@@ -42,15 +42,19 @@ 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 = (_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
- }
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
+ };
54
58
 
55
59
  componentDidMount() {
56
60
  var _this$props$makeStyle, _this$props;
@@ -64,6 +68,8 @@ let Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
64
68
  (_this$props$makeStyle2 = (_this$props2 = this.props).makeStyles) === null || _this$props$makeStyle2 === void 0 ? void 0 : _this$props$makeStyle2.call(_this$props2);
65
69
  }
66
70
 
71
+ static Link = _BreadcrumbLink.BreadcrumbLink;
72
+
67
73
  renderChildren() {
68
74
  const _this$props3 = this.props,
69
75
  styles = _this$props3.styles,
@@ -98,10 +104,7 @@ let Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
98
104
  }, this.renderChildren()));
99
105
  }
100
106
 
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);
107
+ }) || _class) || _class);
105
108
  exports.Breadcrumb = Breadcrumb;
106
109
  var _default = Breadcrumb;
107
110
  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-1",
3
+ "version": "8.25.1-snapshot-10",
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-1",
27
- "@instructure/ui-test-locator": "8.25.1-snapshot-1",
28
- "@instructure/ui-test-utils": "8.25.1-snapshot-1",
29
- "@instructure/ui-themes": "8.25.1-snapshot-1"
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"
30
30
  },
31
31
  "dependencies": {
32
32
  "@babel/runtime": "^7.13.10",
33
- "@instructure/emotion": "8.25.1-snapshot-1",
34
- "@instructure/shared-types": "8.25.1-snapshot-1",
35
- "@instructure/ui-icons": "8.25.1-snapshot-1",
36
- "@instructure/ui-link": "8.25.1-snapshot-1",
37
- "@instructure/ui-prop-types": "8.25.1-snapshot-1",
38
- "@instructure/ui-react-utils": "8.25.1-snapshot-1",
39
- "@instructure/ui-testable": "8.25.1-snapshot-1",
40
- "@instructure/ui-truncate-text": "8.25.1-snapshot-1",
41
- "@instructure/ui-utils": "8.25.1-snapshot-1",
42
- "@instructure/ui-view": "8.25.1-snapshot-1",
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",
43
43
  "prop-types": "^15"
44
44
  },
45
45
  "peerDependencies": {