@instructure/ui-top-nav-bar 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.
Files changed (29) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/es/TopNavBar/TopNavBarActionItems/__new-tests__/TopNavBarActionItems.test.js +0 -1
  3. package/es/TopNavBar/TopNavBarActionItems/index.js +3 -3
  4. package/es/TopNavBar/TopNavBarBrand/index.js +3 -3
  5. package/es/TopNavBar/TopNavBarBreadcrumb/index.js +3 -3
  6. package/es/TopNavBar/TopNavBarItem/__new-tests__/TopNavBarItem.test.js +0 -6
  7. package/es/TopNavBar/TopNavBarItem/index.js +4 -4
  8. package/es/TopNavBar/TopNavBarLayout/DesktopLayout/index.js +3 -3
  9. package/es/TopNavBar/TopNavBarLayout/SmallViewportLayout/index.js +3 -3
  10. package/es/TopNavBar/TopNavBarLayout/index.js +4 -4
  11. package/es/TopNavBar/TopNavBarMenuItems/__new-tests__/TopNavBarMenuItems.test.js +0 -5
  12. package/es/TopNavBar/TopNavBarMenuItems/index.js +3 -3
  13. package/es/TopNavBar/TopNavBarUser/index.js +3 -3
  14. package/es/TopNavBar/index.js +4 -4
  15. package/lib/TopNavBar/TopNavBarActionItems/__new-tests__/TopNavBarActionItems.test.js +0 -1
  16. package/lib/TopNavBar/TopNavBarActionItems/index.js +3 -3
  17. package/lib/TopNavBar/TopNavBarBrand/index.js +3 -3
  18. package/lib/TopNavBar/TopNavBarBreadcrumb/index.js +3 -3
  19. package/lib/TopNavBar/TopNavBarItem/__new-tests__/TopNavBarItem.test.js +0 -6
  20. package/lib/TopNavBar/TopNavBarItem/index.js +4 -4
  21. package/lib/TopNavBar/TopNavBarLayout/DesktopLayout/index.js +3 -3
  22. package/lib/TopNavBar/TopNavBarLayout/SmallViewportLayout/index.js +3 -3
  23. package/lib/TopNavBar/TopNavBarLayout/index.js +4 -4
  24. package/lib/TopNavBar/TopNavBarMenuItems/__new-tests__/TopNavBarMenuItems.test.js +0 -5
  25. package/lib/TopNavBar/TopNavBarMenuItems/index.js +3 -3
  26. package/lib/TopNavBar/TopNavBarUser/index.js +3 -3
  27. package/lib/TopNavBar/index.js +4 -4
  28. package/package.json +34 -34
  29. package/tsconfig.build.tsbuildinfo +1 -1
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-top-nav-bar
9
9
 
@@ -220,7 +220,6 @@ describe('<TopNavBarActionItems />', () => {
220
220
  // })
221
221
  });
222
222
  });
223
-
224
223
  describe('item types:', () => {
225
224
  it('should not allow avatars', () => {
226
225
  const consoleWarningSpy = jest.spyOn(console, 'warn').mockImplementation(() => {});
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _dec3, _class, _class2;
1
+ var _dec, _dec2, _dec3, _class, _TopNavBarActionItems;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -45,7 +45,7 @@ id: TopNavBar.ActionItems
45
45
  ---
46
46
  @module TopNavBarActionItems
47
47
  **/
48
- let TopNavBarActionItems = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class TopNavBarActionItems extends Component {
48
+ let TopNavBarActionItems = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_TopNavBarActionItems = class TopNavBarActionItems extends Component {
49
49
  constructor(props) {
50
50
  super(props);
51
51
  this.ref = null;
@@ -185,6 +185,6 @@ let TopNavBarActionItems = (_dec = withDeterministicId(), _dec2 = withStyle(gene
185
185
  key: item.props.id
186
186
  }, item)));
187
187
  }
188
- }, _class2.displayName = "TopNavBarActionItems", _class2.componentId = 'TopNavBar.ActionItems', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2.contextType = TopNavBarContext, _class2)) || _class) || _class) || _class);
188
+ }, _TopNavBarActionItems.displayName = "TopNavBarActionItems", _TopNavBarActionItems.componentId = 'TopNavBar.ActionItems', _TopNavBarActionItems.propTypes = propTypes, _TopNavBarActionItems.allowedProps = allowedProps, _TopNavBarActionItems.defaultProps = {}, _TopNavBarActionItems.contextType = TopNavBarContext, _TopNavBarActionItems)) || _class) || _class) || _class);
189
189
  export { TopNavBarActionItems };
190
190
  export default TopNavBarActionItems;
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
1
+ var _dec, _dec2, _class, _TopNavBarBrand;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -41,7 +41,7 @@ id: TopNavBar.Brand
41
41
  ---
42
42
  @module TopNavBarBrand
43
43
  **/
44
- let TopNavBarBrand = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class TopNavBarBrand extends Component {
44
+ let TopNavBarBrand = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_TopNavBarBrand = class TopNavBarBrand extends Component {
45
45
  constructor(...args) {
46
46
  super(...args);
47
47
  this.ref = null;
@@ -100,6 +100,6 @@ let TopNavBarBrand = (_dec = withStyle(generateStyle, generateComponentTheme), _
100
100
  "aria-hidden": "true"
101
101
  }, renderIcon)));
102
102
  }
103
- }, _class2.displayName = "TopNavBarBrand", _class2.componentId = 'TopNavBar.Brand', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2.contextType = TopNavBarContext, _class2)) || _class) || _class);
103
+ }, _TopNavBarBrand.displayName = "TopNavBarBrand", _TopNavBarBrand.componentId = 'TopNavBar.Brand', _TopNavBarBrand.propTypes = propTypes, _TopNavBarBrand.allowedProps = allowedProps, _TopNavBarBrand.defaultProps = {}, _TopNavBarBrand.contextType = TopNavBarContext, _TopNavBarBrand)) || _class) || _class);
104
104
  export { TopNavBarBrand };
105
105
  export default TopNavBarBrand;
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2, _IconHamburgerLine;
1
+ var _dec, _dec2, _class, _TopNavBarBreadcrumb, _IconHamburgerLine;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -42,7 +42,7 @@ id: TopNavBar.Breadcrumb
42
42
  ---
43
43
  @module TopNavBarBreadcrumb
44
44
  **/
45
- let TopNavBarBreadcrumb = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class TopNavBarBreadcrumb extends Component {
45
+ let TopNavBarBreadcrumb = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_class = _dec2(_class = (_TopNavBarBreadcrumb = class TopNavBarBreadcrumb extends Component {
46
46
  constructor(...args) {
47
47
  super(...args);
48
48
  this.ref = null;
@@ -106,6 +106,6 @@ let TopNavBarBreadcrumb = (_dec = withStyle(generateStyle, null), _dec2 = testab
106
106
  renderIcon: IconArrowOpenStartLine
107
107
  }, lastButOneLink.props.children))));
108
108
  }
109
- }, _class2.displayName = "TopNavBarBreadcrumb", _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2.contextType = TopNavBarContext, _class2)) || _class) || _class);
109
+ }, _TopNavBarBreadcrumb.displayName = "TopNavBarBreadcrumb", _TopNavBarBreadcrumb.propTypes = propTypes, _TopNavBarBreadcrumb.allowedProps = allowedProps, _TopNavBarBreadcrumb.defaultProps = {}, _TopNavBarBreadcrumb.contextType = TopNavBarContext, _TopNavBarBreadcrumb)) || _class) || _class);
110
110
  export { TopNavBarBreadcrumb };
111
111
  export default TopNavBarBreadcrumb;
@@ -117,7 +117,6 @@ describe('<TopNavBarItem />', () => {
117
117
  // expect(borderWidth).to.equal('0px none rgb(255, 255, 255)')
118
118
  // })
119
119
  });
120
-
121
120
  describe('with "button" variant', () => {
122
121
  it('should render the text', () => {
123
122
  const _render2 = render(_TopNavBarItem2 || (_TopNavBarItem2 = /*#__PURE__*/React.createElement(TopNavBarItem, {
@@ -162,7 +161,6 @@ describe('<TopNavBarItem />', () => {
162
161
  // expect(borderWidth).to.equal('1px solid rgb(2, 84, 131)')
163
162
  // })
164
163
  });
165
-
166
164
  describe('with "icon" variant', () => {
167
165
  it('should throw error if no icon is provided', () => {
168
166
  const consoleErrorSpy = jest.spyOn(console, 'error').mockImplementation(() => {});
@@ -248,7 +246,6 @@ describe('<TopNavBarItem />', () => {
248
246
  // expect(parseInt(buttonStyle.height, 10)).to.be.greaterThanOrEqual(42)
249
247
  // })
250
248
  });
251
-
252
249
  describe('with "avatar" variant', () => {
253
250
  it('should throw error if no avatar is provided', () => {
254
251
  const consoleWarningSpy = jest.spyOn(console, 'warn').mockImplementation(() => {});
@@ -984,7 +981,6 @@ describe('<TopNavBarItem />', () => {
984
981
  // ).to.equal('rgb(45, 59, 69)')
985
982
  // })
986
983
  });
987
-
988
984
  describe('renderAvatar prop', () => {
989
985
  it('displays avatar', () => {
990
986
  const _render26 = render( /*#__PURE__*/React.createElement(TopNavBarItem, {
@@ -1109,7 +1105,6 @@ describe('<TopNavBarItem />', () => {
1109
1105
  expect(button).toHaveTextContent('Menu Item');
1110
1106
  // expect(window.getComputedStyle(button).color).toEqual('rgb(255, 255, 255)')
1111
1107
  });
1112
-
1113
1108
  it('for button variant', () => {
1114
1109
  const _render33 = render(_TopNavBarItem24 || (_TopNavBarItem24 = /*#__PURE__*/React.createElement(TopNavBarItem, {
1115
1110
  id: "item",
@@ -1170,7 +1165,6 @@ describe('<TopNavBarItem />', () => {
1170
1165
  });
1171
1166
  });
1172
1167
  });
1173
-
1174
1168
  describe('as prop', () => {
1175
1169
  it('should render item as a', () => {
1176
1170
  const _render36 = render(_TopNavBarItem25 || (_TopNavBarItem25 = /*#__PURE__*/React.createElement(TopNavBarItem, {
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _dec3, _class, _class2, _IconArrowOpenUpSolid, _IconArrowOpenDownSol;
1
+ var _dec, _dec2, _dec3, _class, _TopNavBarItem, _IconArrowOpenUpSolid, _IconArrowOpenDownSol;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -52,7 +52,7 @@ id: TopNavBar.Item
52
52
  ---
53
53
  @module TopNavBarItem
54
54
  **/
55
- let TopNavBarItem = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class TopNavBarItem extends Component {
55
+ let TopNavBarItem = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_TopNavBarItem = class TopNavBarItem extends Component {
56
56
  constructor(props) {
57
57
  super(props);
58
58
  this.ref = null;
@@ -530,11 +530,11 @@ let TopNavBarItem = (_dec = withDeterministicId(), _dec2 = withStyle(generateSty
530
530
  css: styles === null || styles === void 0 ? void 0 : styles.topNavBarItem
531
531
  }, content);
532
532
  }
533
- }, _class2.displayName = "TopNavBarItem", _class2.componentId = 'TopNavBar.Item', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
533
+ }, _TopNavBarItem.displayName = "TopNavBarItem", _TopNavBarItem.componentId = 'TopNavBar.Item', _TopNavBarItem.propTypes = propTypes, _TopNavBarItem.allowedProps = allowedProps, _TopNavBarItem.defaultProps = {
534
534
  status: 'default',
535
535
  variant: 'default',
536
536
  showSubmenuChevron: true,
537
537
  shouldCloseOnClick: 'auto'
538
- }, _class2.contextType = TopNavBarContext, _class2)) || _class) || _class) || _class);
538
+ }, _TopNavBarItem.contextType = TopNavBarContext, _TopNavBarItem)) || _class) || _class) || _class);
539
539
  export { TopNavBarItem };
540
540
  export default TopNavBarItem;
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
1
+ var _dec, _dec2, _class, _TopNavBarDesktopLayout;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -37,7 +37,7 @@ import { propTypes, allowedProps } from './props';
37
37
  private: true
38
38
  ---
39
39
  **/
40
- let TopNavBarDesktopLayout = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class TopNavBarDesktopLayout extends Component {
40
+ let TopNavBarDesktopLayout = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_TopNavBarDesktopLayout = class TopNavBarDesktopLayout extends Component {
41
41
  constructor(...args) {
42
42
  super(...args);
43
43
  this.ref = null;
@@ -113,6 +113,6 @@ let TopNavBarDesktopLayout = (_dec = withStyle(generateStyle, generateComponentT
113
113
  css: styles === null || styles === void 0 ? void 0 : styles.userContainer
114
114
  }, renderUser));
115
115
  }
116
- }, _class2.displayName = "TopNavBarDesktopLayout", _class2.componentId = 'TopNavBar.DesktopLayout', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2.contextType = TopNavBarContext, _class2)) || _class) || _class);
116
+ }, _TopNavBarDesktopLayout.displayName = "TopNavBarDesktopLayout", _TopNavBarDesktopLayout.componentId = 'TopNavBar.DesktopLayout', _TopNavBarDesktopLayout.propTypes = propTypes, _TopNavBarDesktopLayout.allowedProps = allowedProps, _TopNavBarDesktopLayout.defaultProps = {}, _TopNavBarDesktopLayout.contextType = TopNavBarContext, _TopNavBarDesktopLayout)) || _class) || _class);
117
117
  export { TopNavBarDesktopLayout };
118
118
  export default TopNavBarDesktopLayout;
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _dec3, _class, _class2, _IconXLine, _IconHamburgerLine;
1
+ var _dec, _dec2, _dec3, _class, _TopNavBarSmallViewportLayout, _IconXLine, _IconHamburgerLine;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -47,7 +47,7 @@ import { propTypes, allowedProps } from './props';
47
47
  private: true
48
48
  ---
49
49
  **/
50
- let TopNavBarSmallViewportLayout = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class TopNavBarSmallViewportLayout extends Component {
50
+ let TopNavBarSmallViewportLayout = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_TopNavBarSmallViewportLayout = class TopNavBarSmallViewportLayout extends Component {
51
51
  constructor(props) {
52
52
  var _props$styles;
53
53
  super(props);
@@ -401,6 +401,6 @@ let TopNavBarSmallViewportLayout = (_dec = withDeterministicId(), _dec2 = withSt
401
401
  id: this._trayContainerId
402
402
  }), !this.hasBreadcrumbBlock && this.renderDropdownMenuTray());
403
403
  }
404
- }, _class2.displayName = "TopNavBarSmallViewportLayout", _class2.componentId = 'TopNavBar.SmallViewportLayout', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2.contextType = TopNavBarContext, _class2)) || _class) || _class) || _class);
404
+ }, _TopNavBarSmallViewportLayout.displayName = "TopNavBarSmallViewportLayout", _TopNavBarSmallViewportLayout.componentId = 'TopNavBar.SmallViewportLayout', _TopNavBarSmallViewportLayout.propTypes = propTypes, _TopNavBarSmallViewportLayout.allowedProps = allowedProps, _TopNavBarSmallViewportLayout.defaultProps = {}, _TopNavBarSmallViewportLayout.contextType = TopNavBarContext, _TopNavBarSmallViewportLayout)) || _class) || _class) || _class);
405
405
  export { TopNavBarSmallViewportLayout };
406
406
  export default TopNavBarSmallViewportLayout;
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["smallViewportConfig", "styles", "makeStyles"];
3
- var _dec, _dec2, _class, _class2;
3
+ var _dec, _dec2, _class, _TopNavBarLayout;
4
4
  /*
5
5
  * The MIT License (MIT)
6
6
  *
@@ -41,7 +41,7 @@ id: TopNavBar.Layout
41
41
  ---
42
42
  @module TopNavBarLayout
43
43
  **/
44
- let TopNavBarLayout = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class TopNavBarLayout extends Component {
44
+ let TopNavBarLayout = (_dec = withStyle(null, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_TopNavBarLayout = class TopNavBarLayout extends Component {
45
45
  constructor(...args) {
46
46
  super(...args);
47
47
  this.ref = null;
@@ -101,8 +101,8 @@ let TopNavBarLayout = (_dec = withStyle(null, generateComponentTheme), _dec2 = t
101
101
  elementRef: this.handleRef
102
102
  }));
103
103
  }
104
- }, _class2.displayName = "TopNavBarLayout", _class2.componentId = 'TopNavBar.Layout', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
104
+ }, _TopNavBarLayout.displayName = "TopNavBarLayout", _TopNavBarLayout.componentId = 'TopNavBar.Layout', _TopNavBarLayout.propTypes = propTypes, _TopNavBarLayout.allowedProps = allowedProps, _TopNavBarLayout.defaultProps = {
105
105
  smallViewportConfig: {}
106
- }, _class2.contextType = TopNavBarContext, _class2)) || _class) || _class);
106
+ }, _TopNavBarLayout.contextType = TopNavBarContext, _TopNavBarLayout)) || _class) || _class);
107
107
  export { TopNavBarLayout };
108
108
  export default TopNavBarLayout;
@@ -96,7 +96,6 @@ describe('<TopNavBarMenuItems />', () => {
96
96
  // expect(listItems[3].getDOMNode()).to.equal(hiddenMenuTrigger.getDOMNode())
97
97
  // expect(hiddenMenuTrigger).to.contain(triggerItem?.getDOMNode())
98
98
  });
99
-
100
99
  it('should truncate the end of the list', () => {
101
100
  const _render6 = render( /*#__PURE__*/React.createElement("div", {
102
101
  style: {
@@ -179,7 +178,6 @@ describe('<TopNavBarMenuItems />', () => {
179
178
  // expect(error).to.be.false()
180
179
  });
181
180
  });
182
-
183
181
  describe('listLabel prop', () => {
184
182
  it('should set aria-label on the list', () => {
185
183
  const _render7 = render( /*#__PURE__*/React.createElement("div", {
@@ -459,7 +457,6 @@ describe('<TopNavBarMenuItems />', () => {
459
457
  // expect(error).to.be.false()
460
458
  });
461
459
  });
462
-
463
460
  it('when the active item is disabled', () => {
464
461
  const consoleWarningSpy = jest.spyOn(console, 'warn').mockImplementation(() => {});
465
462
  render(getMenuItems({
@@ -534,7 +531,6 @@ describe('<TopNavBarMenuItems />', () => {
534
531
  });
535
532
  });
536
533
  });
537
-
538
534
  describe('elementRef prop', () => {
539
535
  it('should return with the root list element', async () => {
540
536
  const elementRef = jest.fn();
@@ -571,7 +567,6 @@ describe('<TopNavBarMenuItems />', () => {
571
567
  // await component.find('[id="TestItem2"]', { expectEmpty: true })
572
568
  // ).to.not.exist()
573
569
  });
574
-
575
570
  describe('should be accessible', () => {
576
571
  it('a11y', async () => {
577
572
  const _render12 = render(getMenuItems()),
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _dec3, _class, _class2, _span;
1
+ var _dec, _dec2, _dec3, _class, _TopNavBarMenuItems, _span;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -44,7 +44,7 @@ id: TopNavBar.MenuItems
44
44
  ---
45
45
  @module TopNavBarMenuItems
46
46
  **/
47
- let TopNavBarMenuItems = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class TopNavBarMenuItems extends Component {
47
+ let TopNavBarMenuItems = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_TopNavBarMenuItems = class TopNavBarMenuItems extends Component {
48
48
  constructor(props) {
49
49
  super(props);
50
50
  this._hiddenMenuItemsMenuTriggerId = void 0;
@@ -179,6 +179,6 @@ let TopNavBarMenuItems = (_dec = withDeterministicId(), _dec2 = withStyle(genera
179
179
  "aria-label": listLabel
180
180
  }), this.renderChildren());
181
181
  }
182
- }, _class2.displayName = "TopNavBarMenuItems", _class2.componentId = 'TopNavBar.MenuItems', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2.contextType = TopNavBarContext, _class2)) || _class) || _class) || _class);
182
+ }, _TopNavBarMenuItems.displayName = "TopNavBarMenuItems", _TopNavBarMenuItems.componentId = 'TopNavBar.MenuItems', _TopNavBarMenuItems.propTypes = propTypes, _TopNavBarMenuItems.allowedProps = allowedProps, _TopNavBarMenuItems.defaultProps = {}, _TopNavBarMenuItems.contextType = TopNavBarContext, _TopNavBarMenuItems)) || _class) || _class) || _class);
183
183
  export { TopNavBarMenuItems };
184
184
  export default TopNavBarMenuItems;
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
1
+ var _dec, _dec2, _class, _TopNavBarUser;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -39,7 +39,7 @@ id: TopNavBar.User
39
39
  ---
40
40
  @module TopNavBarUser
41
41
  **/
42
- let TopNavBarUser = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class TopNavBarUser extends Component {
42
+ let TopNavBarUser = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_class = _dec2(_class = (_TopNavBarUser = class TopNavBarUser extends Component {
43
43
  constructor(...args) {
44
44
  super(...args);
45
45
  this.ref = null;
@@ -87,6 +87,6 @@ let TopNavBarUser = (_dec = withStyle(generateStyle, null), _dec2 = testable(),
87
87
  css: styles === null || styles === void 0 ? void 0 : styles.topNavBarUser
88
88
  }), this.content);
89
89
  }
90
- }, _class2.displayName = "TopNavBarUser", _class2.componentId = 'TopNavBar.User', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {}, _class2.contextType = TopNavBarContext, _class2)) || _class) || _class);
90
+ }, _TopNavBarUser.displayName = "TopNavBarUser", _TopNavBarUser.componentId = 'TopNavBar.User', _TopNavBarUser.propTypes = propTypes, _TopNavBarUser.allowedProps = allowedProps, _TopNavBarUser.defaultProps = {}, _TopNavBarUser.contextType = TopNavBarContext, _TopNavBarUser)) || _class) || _class);
91
91
  export { TopNavBarUser };
92
92
  export default TopNavBarUser;
@@ -1,4 +1,4 @@
1
- var _dec, _class, _class2;
1
+ var _dec, _class, _TopNavBar;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -43,7 +43,7 @@ import { propTypes, allowedProps } from './props';
43
43
  category: components
44
44
  ---
45
45
  **/
46
- let TopNavBar = (_dec = testable(), _dec(_class = (_class2 = class TopNavBar extends Component {
46
+ let TopNavBar = (_dec = testable(), _dec(_class = (_TopNavBar = class TopNavBar extends Component {
47
47
  constructor(...args) {
48
48
  super(...args);
49
49
  this.ref = null;
@@ -93,10 +93,10 @@ let TopNavBar = (_dec = testable(), _dec(_class = (_class2 = class TopNavBar ext
93
93
  }
94
94
  });
95
95
  }
96
- }, _class2.displayName = "TopNavBar", _class2.componentId = 'TopNavBar', _class2.ActionItems = TopNavBarActionItems, _class2.Brand = TopNavBarBrand, _class2.Item = TopNavBarItem, _class2.Layout = TopNavBarLayout, _class2.MenuItems = TopNavBarMenuItems, _class2.User = TopNavBarUser, _class2.Breadcrumb = TopNavBarBreadcrumb, _class2.contextType = TopNavBarContext, _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
96
+ }, _TopNavBar.displayName = "TopNavBar", _TopNavBar.componentId = 'TopNavBar', _TopNavBar.ActionItems = TopNavBarActionItems, _TopNavBar.Brand = TopNavBarBrand, _TopNavBar.Item = TopNavBarItem, _TopNavBar.Layout = TopNavBarLayout, _TopNavBar.MenuItems = TopNavBarMenuItems, _TopNavBar.User = TopNavBarUser, _TopNavBar.Breadcrumb = TopNavBarBreadcrumb, _TopNavBar.contextType = TopNavBarContext, _TopNavBar.propTypes = propTypes, _TopNavBar.allowedProps = allowedProps, _TopNavBar.defaultProps = {
97
97
  breakpoint: 1024,
98
98
  mediaQueryMatch: 'media',
99
99
  inverseColor: false
100
- }, _class2)) || _class);
100
+ }, _TopNavBar)) || _class);
101
101
  export { TopNavBar };
102
102
  export default TopNavBar;
@@ -224,7 +224,6 @@ describe('<TopNavBarActionItems />', () => {
224
224
  // })
225
225
  });
226
226
  });
227
-
228
227
  describe('item types:', () => {
229
228
  it('should not allow avatars', () => {
230
229
  const consoleWarningSpy = jest.spyOn(console, 'warn').mockImplementation(() => {});
@@ -23,7 +23,7 @@ var _TopNavBarContext = require("../TopNavBarContext");
23
23
  var _styles = _interopRequireDefault(require("./styles"));
24
24
  var _theme = _interopRequireDefault(require("./theme"));
25
25
  var _props = require("./props");
26
- var _dec, _dec2, _dec3, _class, _class2;
26
+ var _dec, _dec2, _dec3, _class, _TopNavBarActionItems;
27
27
  /*
28
28
  * The MIT License (MIT)
29
29
  *
@@ -55,7 +55,7 @@ id: TopNavBar.ActionItems
55
55
  ---
56
56
  @module TopNavBarActionItems
57
57
  **/
58
- let TopNavBarActionItems = exports.TopNavBarActionItems = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class TopNavBarActionItems extends _react.Component {
58
+ let TopNavBarActionItems = exports.TopNavBarActionItems = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_TopNavBarActionItems = class TopNavBarActionItems extends _react.Component {
59
59
  constructor(props) {
60
60
  super(props);
61
61
  this.ref = null;
@@ -195,5 +195,5 @@ let TopNavBarActionItems = exports.TopNavBarActionItems = (_dec = (0, _withDeter
195
195
  key: item.props.id
196
196
  }, item)));
197
197
  }
198
- }, _class2.displayName = "TopNavBarActionItems", _class2.componentId = 'TopNavBar.ActionItems', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2.contextType = _TopNavBarContext.TopNavBarContext, _class2)) || _class) || _class) || _class);
198
+ }, _TopNavBarActionItems.displayName = "TopNavBarActionItems", _TopNavBarActionItems.componentId = 'TopNavBar.ActionItems', _TopNavBarActionItems.propTypes = _props.propTypes, _TopNavBarActionItems.allowedProps = _props.allowedProps, _TopNavBarActionItems.defaultProps = {}, _TopNavBarActionItems.contextType = _TopNavBarContext.TopNavBarContext, _TopNavBarActionItems)) || _class) || _class) || _class);
199
199
  var _default = exports.default = TopNavBarActionItems;
@@ -17,7 +17,7 @@ var _TopNavBarContext = require("../TopNavBarContext");
17
17
  var _styles = _interopRequireDefault(require("./styles"));
18
18
  var _theme = _interopRequireDefault(require("./theme"));
19
19
  var _props = require("./props");
20
- var _dec, _dec2, _class, _class2;
20
+ var _dec, _dec2, _class, _TopNavBarBrand;
21
21
  /*
22
22
  * The MIT License (MIT)
23
23
  *
@@ -49,7 +49,7 @@ id: TopNavBar.Brand
49
49
  ---
50
50
  @module TopNavBarBrand
51
51
  **/
52
- let TopNavBarBrand = exports.TopNavBarBrand = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class TopNavBarBrand extends _react.Component {
52
+ let TopNavBarBrand = exports.TopNavBarBrand = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_TopNavBarBrand = class TopNavBarBrand extends _react.Component {
53
53
  constructor(...args) {
54
54
  super(...args);
55
55
  this.ref = null;
@@ -108,5 +108,5 @@ let TopNavBarBrand = exports.TopNavBarBrand = (_dec = (0, _emotion.withStyle)(_s
108
108
  "aria-hidden": "true"
109
109
  }, renderIcon)));
110
110
  }
111
- }, _class2.displayName = "TopNavBarBrand", _class2.componentId = 'TopNavBar.Brand', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2.contextType = _TopNavBarContext.TopNavBarContext, _class2)) || _class) || _class);
111
+ }, _TopNavBarBrand.displayName = "TopNavBarBrand", _TopNavBarBrand.componentId = 'TopNavBar.Brand', _TopNavBarBrand.propTypes = _props.propTypes, _TopNavBarBrand.allowedProps = _props.allowedProps, _TopNavBarBrand.defaultProps = {}, _TopNavBarBrand.contextType = _TopNavBarContext.TopNavBarContext, _TopNavBarBrand)) || _class) || _class);
112
112
  var _default = exports.default = TopNavBarBrand;
@@ -17,7 +17,7 @@ var _IconHamburgerLine2 = require("@instructure/ui-icons/lib/IconHamburgerLine.j
17
17
  var _TopNavBarContext = _interopRequireDefault(require("../TopNavBarContext"));
18
18
  var _console = require("@instructure/console");
19
19
  var _Link = require("@instructure/ui-link/lib/Link");
20
- var _dec, _dec2, _class, _class2, _IconHamburgerLine;
20
+ var _dec, _dec2, _class, _TopNavBarBreadcrumb, _IconHamburgerLine;
21
21
  /*
22
22
  * The MIT License (MIT)
23
23
  *
@@ -49,7 +49,7 @@ id: TopNavBar.Breadcrumb
49
49
  ---
50
50
  @module TopNavBarBreadcrumb
51
51
  **/
52
- let TopNavBarBreadcrumb = exports.TopNavBarBreadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class TopNavBarBreadcrumb extends _react.Component {
52
+ let TopNavBarBreadcrumb = exports.TopNavBarBreadcrumb = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_TopNavBarBreadcrumb = class TopNavBarBreadcrumb extends _react.Component {
53
53
  constructor(...args) {
54
54
  super(...args);
55
55
  this.ref = null;
@@ -113,5 +113,5 @@ let TopNavBarBreadcrumb = exports.TopNavBarBreadcrumb = (_dec = (0, _emotion.wit
113
113
  renderIcon: _IconArrowOpenStartLine.IconArrowOpenStartLine
114
114
  }, lastButOneLink.props.children))));
115
115
  }
116
- }, _class2.displayName = "TopNavBarBreadcrumb", _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2.contextType = _TopNavBarContext.default, _class2)) || _class) || _class);
116
+ }, _TopNavBarBreadcrumb.displayName = "TopNavBarBreadcrumb", _TopNavBarBreadcrumb.propTypes = _props.propTypes, _TopNavBarBreadcrumb.allowedProps = _props.allowedProps, _TopNavBarBreadcrumb.defaultProps = {}, _TopNavBarBreadcrumb.contextType = _TopNavBarContext.default, _TopNavBarBreadcrumb)) || _class) || _class);
117
117
  var _default = exports.default = TopNavBarBreadcrumb;
@@ -118,7 +118,6 @@ describe('<TopNavBarItem />', () => {
118
118
  // expect(borderWidth).to.equal('0px none rgb(255, 255, 255)')
119
119
  // })
120
120
  });
121
-
122
121
  describe('with "button" variant', () => {
123
122
  it('should render the text', () => {
124
123
  const _render2 = (0, _react2.render)(_TopNavBarItem2 || (_TopNavBarItem2 = /*#__PURE__*/_react.default.createElement(_index.TopNavBarItem, {
@@ -163,7 +162,6 @@ describe('<TopNavBarItem />', () => {
163
162
  // expect(borderWidth).to.equal('1px solid rgb(2, 84, 131)')
164
163
  // })
165
164
  });
166
-
167
165
  describe('with "icon" variant', () => {
168
166
  it('should throw error if no icon is provided', () => {
169
167
  const consoleErrorSpy = jest.spyOn(console, 'error').mockImplementation(() => {});
@@ -249,7 +247,6 @@ describe('<TopNavBarItem />', () => {
249
247
  // expect(parseInt(buttonStyle.height, 10)).to.be.greaterThanOrEqual(42)
250
248
  // })
251
249
  });
252
-
253
250
  describe('with "avatar" variant', () => {
254
251
  it('should throw error if no avatar is provided', () => {
255
252
  const consoleWarningSpy = jest.spyOn(console, 'warn').mockImplementation(() => {});
@@ -985,7 +982,6 @@ describe('<TopNavBarItem />', () => {
985
982
  // ).to.equal('rgb(45, 59, 69)')
986
983
  // })
987
984
  });
988
-
989
985
  describe('renderAvatar prop', () => {
990
986
  it('displays avatar', () => {
991
987
  const _render26 = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.TopNavBarItem, {
@@ -1110,7 +1106,6 @@ describe('<TopNavBarItem />', () => {
1110
1106
  expect(button).toHaveTextContent('Menu Item');
1111
1107
  // expect(window.getComputedStyle(button).color).toEqual('rgb(255, 255, 255)')
1112
1108
  });
1113
-
1114
1109
  it('for button variant', () => {
1115
1110
  const _render33 = (0, _react2.render)(_TopNavBarItem24 || (_TopNavBarItem24 = /*#__PURE__*/_react.default.createElement(_index.TopNavBarItem, {
1116
1111
  id: "item",
@@ -1171,7 +1166,6 @@ describe('<TopNavBarItem />', () => {
1171
1166
  });
1172
1167
  });
1173
1168
  });
1174
-
1175
1169
  describe('as prop', () => {
1176
1170
  it('should render item as a', () => {
1177
1171
  const _render36 = (0, _react2.render)(_TopNavBarItem25 || (_TopNavBarItem25 = /*#__PURE__*/_react.default.createElement(_index.TopNavBarItem, {
@@ -29,7 +29,7 @@ var _TopNavBarContext = require("../TopNavBarContext");
29
29
  var _styles = _interopRequireDefault(require("./styles"));
30
30
  var _theme = _interopRequireDefault(require("./theme"));
31
31
  var _props = require("./props");
32
- var _dec, _dec2, _dec3, _class, _class2, _IconArrowOpenUpSolid, _IconArrowOpenDownSol;
32
+ var _dec, _dec2, _dec3, _class, _TopNavBarItem, _IconArrowOpenUpSolid, _IconArrowOpenDownSol;
33
33
  /*
34
34
  * The MIT License (MIT)
35
35
  *
@@ -65,7 +65,7 @@ id: TopNavBar.Item
65
65
  ---
66
66
  @module TopNavBarItem
67
67
  **/
68
- let TopNavBarItem = exports.TopNavBarItem = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class TopNavBarItem extends _react.Component {
68
+ let TopNavBarItem = exports.TopNavBarItem = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_TopNavBarItem = class TopNavBarItem extends _react.Component {
69
69
  constructor(props) {
70
70
  super(props);
71
71
  this.ref = null;
@@ -543,10 +543,10 @@ let TopNavBarItem = exports.TopNavBarItem = (_dec = (0, _withDeterministicId.wit
543
543
  css: styles === null || styles === void 0 ? void 0 : styles.topNavBarItem
544
544
  }, content);
545
545
  }
546
- }, _class2.displayName = "TopNavBarItem", _class2.componentId = 'TopNavBar.Item', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
546
+ }, _TopNavBarItem.displayName = "TopNavBarItem", _TopNavBarItem.componentId = 'TopNavBar.Item', _TopNavBarItem.propTypes = _props.propTypes, _TopNavBarItem.allowedProps = _props.allowedProps, _TopNavBarItem.defaultProps = {
547
547
  status: 'default',
548
548
  variant: 'default',
549
549
  showSubmenuChevron: true,
550
550
  shouldCloseOnClick: 'auto'
551
- }, _class2.contextType = _TopNavBarContext.TopNavBarContext, _class2)) || _class) || _class) || _class);
551
+ }, _TopNavBarItem.contextType = _TopNavBarContext.TopNavBarContext, _TopNavBarItem)) || _class) || _class) || _class);
552
552
  var _default = exports.default = TopNavBarItem;
@@ -14,7 +14,7 @@ var _TopNavBarContext = require("../../TopNavBarContext");
14
14
  var _styles = _interopRequireDefault(require("./styles"));
15
15
  var _theme = _interopRequireDefault(require("./theme"));
16
16
  var _props = require("./props");
17
- var _dec, _dec2, _class, _class2;
17
+ var _dec, _dec2, _class, _TopNavBarDesktopLayout;
18
18
  /*
19
19
  * The MIT License (MIT)
20
20
  *
@@ -44,7 +44,7 @@ var _dec, _dec2, _class, _class2;
44
44
  private: true
45
45
  ---
46
46
  **/
47
- let TopNavBarDesktopLayout = exports.TopNavBarDesktopLayout = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class TopNavBarDesktopLayout extends _react.Component {
47
+ let TopNavBarDesktopLayout = exports.TopNavBarDesktopLayout = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_TopNavBarDesktopLayout = class TopNavBarDesktopLayout extends _react.Component {
48
48
  constructor(...args) {
49
49
  super(...args);
50
50
  this.ref = null;
@@ -120,5 +120,5 @@ let TopNavBarDesktopLayout = exports.TopNavBarDesktopLayout = (_dec = (0, _emoti
120
120
  css: styles === null || styles === void 0 ? void 0 : styles.userContainer
121
121
  }, renderUser));
122
122
  }
123
- }, _class2.displayName = "TopNavBarDesktopLayout", _class2.componentId = 'TopNavBar.DesktopLayout', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2.contextType = _TopNavBarContext.TopNavBarContext, _class2)) || _class) || _class);
123
+ }, _TopNavBarDesktopLayout.displayName = "TopNavBarDesktopLayout", _TopNavBarDesktopLayout.componentId = 'TopNavBar.DesktopLayout', _TopNavBarDesktopLayout.propTypes = _props.propTypes, _TopNavBarDesktopLayout.allowedProps = _props.allowedProps, _TopNavBarDesktopLayout.defaultProps = {}, _TopNavBarDesktopLayout.contextType = _TopNavBarContext.TopNavBarContext, _TopNavBarDesktopLayout)) || _class) || _class);
124
124
  var _default = exports.default = TopNavBarDesktopLayout;
@@ -30,7 +30,7 @@ var _TopNavBarContext = require("../../TopNavBarContext");
30
30
  var _styles = _interopRequireDefault(require("./styles"));
31
31
  var _theme = _interopRequireDefault(require("./theme"));
32
32
  var _props = require("./props");
33
- var _dec, _dec2, _dec3, _class, _class2, _IconXLine, _IconHamburgerLine;
33
+ var _dec, _dec2, _dec3, _class, _TopNavBarSmallViewportLayout, _IconXLine, _IconHamburgerLine;
34
34
  /*
35
35
  * The MIT License (MIT)
36
36
  *
@@ -60,7 +60,7 @@ var _dec, _dec2, _dec3, _class, _class2, _IconXLine, _IconHamburgerLine;
60
60
  private: true
61
61
  ---
62
62
  **/
63
- let TopNavBarSmallViewportLayout = exports.TopNavBarSmallViewportLayout = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class TopNavBarSmallViewportLayout extends _react.Component {
63
+ let TopNavBarSmallViewportLayout = exports.TopNavBarSmallViewportLayout = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_TopNavBarSmallViewportLayout = class TopNavBarSmallViewportLayout extends _react.Component {
64
64
  constructor(props) {
65
65
  var _props$styles;
66
66
  super(props);
@@ -414,5 +414,5 @@ let TopNavBarSmallViewportLayout = exports.TopNavBarSmallViewportLayout = (_dec
414
414
  id: this._trayContainerId
415
415
  }), !this.hasBreadcrumbBlock && this.renderDropdownMenuTray());
416
416
  }
417
- }, _class2.displayName = "TopNavBarSmallViewportLayout", _class2.componentId = 'TopNavBar.SmallViewportLayout', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {}, _class2.contextType = _TopNavBarContext.TopNavBarContext, _class2)) || _class) || _class) || _class);
417
+ }, _TopNavBarSmallViewportLayout.displayName = "TopNavBarSmallViewportLayout", _TopNavBarSmallViewportLayout.componentId = 'TopNavBar.SmallViewportLayout', _TopNavBarSmallViewportLayout.propTypes = _props.propTypes, _TopNavBarSmallViewportLayout.allowedProps = _props.allowedProps, _TopNavBarSmallViewportLayout.defaultProps = {}, _TopNavBarSmallViewportLayout.contextType = _TopNavBarContext.TopNavBarContext, _TopNavBarSmallViewportLayout)) || _class) || _class) || _class);
418
418
  var _default = exports.default = TopNavBarSmallViewportLayout;
@@ -16,7 +16,7 @@ var _SmallViewportLayout = require("./SmallViewportLayout");
16
16
  var _DesktopLayout = require("./DesktopLayout");
17
17
  var _props = require("./props");
18
18
  const _excluded = ["smallViewportConfig", "styles", "makeStyles"];
19
- var _dec, _dec2, _class, _class2;
19
+ var _dec, _dec2, _class, _TopNavBarLayout;
20
20
  /*
21
21
  * The MIT License (MIT)
22
22
  *
@@ -48,7 +48,7 @@ id: TopNavBar.Layout
48
48
  ---
49
49
  @module TopNavBarLayout
50
50
  **/
51
- let TopNavBarLayout = exports.TopNavBarLayout = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class TopNavBarLayout extends _react.Component {
51
+ let TopNavBarLayout = exports.TopNavBarLayout = (_dec = (0, _emotion.withStyle)(null, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_TopNavBarLayout = class TopNavBarLayout extends _react.Component {
52
52
  constructor(...args) {
53
53
  super(...args);
54
54
  this.ref = null;
@@ -108,7 +108,7 @@ let TopNavBarLayout = exports.TopNavBarLayout = (_dec = (0, _emotion.withStyle)(
108
108
  elementRef: this.handleRef
109
109
  }));
110
110
  }
111
- }, _class2.displayName = "TopNavBarLayout", _class2.componentId = 'TopNavBar.Layout', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
111
+ }, _TopNavBarLayout.displayName = "TopNavBarLayout", _TopNavBarLayout.componentId = 'TopNavBar.Layout', _TopNavBarLayout.propTypes = _props.propTypes, _TopNavBarLayout.allowedProps = _props.allowedProps, _TopNavBarLayout.defaultProps = {
112
112
  smallViewportConfig: {}
113
- }, _class2.contextType = _TopNavBarContext.TopNavBarContext, _class2)) || _class) || _class);
113
+ }, _TopNavBarLayout.contextType = _TopNavBarContext.TopNavBarContext, _TopNavBarLayout)) || _class) || _class);
114
114
  var _default = exports.default = TopNavBarLayout;