@instructure/ui-navigation 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-navigation
9
9
 
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
1
+ var _dec, _dec2, _class, _Item;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -42,7 +42,7 @@ id: AppNav.Item
42
42
  ---
43
43
  @module Item
44
44
  **/
45
- let Item = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class Item extends Component {
45
+ let Item = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_Item = class Item extends Component {
46
46
  constructor(...args) {
47
47
  super(...args);
48
48
  this.ref = null;
@@ -104,11 +104,11 @@ let Item = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = tes
104
104
  css: (_this$props$styles2 = this.props.styles) === null || _this$props$styles2 === void 0 ? void 0 : _this$props$styles2.label
105
105
  }, label), renderAfter && callRenderProp(renderAfter));
106
106
  }
107
- }, _class2.displayName = "Item", _class2.componentId = 'AppNav.Item', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
107
+ }, _Item.displayName = "Item", _Item.componentId = 'AppNav.Item', _Item.allowedProps = allowedProps, _Item.propTypes = propTypes, _Item.defaultProps = {
108
108
  children: null,
109
109
  isSelected: false,
110
110
  cursor: 'pointer',
111
111
  isDisabled: false
112
- }, _class2)) || _class) || _class);
112
+ }, _Item)) || _class) || _class);
113
113
  export default Item;
114
114
  export { Item };
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
1
+ var _dec, _dec2, _class, _AppNav;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -41,7 +41,7 @@ import { TruncateList } from '@instructure/ui-truncate-list';
41
41
  category: components
42
42
  ---
43
43
  **/
44
- let AppNav = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class AppNav extends Component {
44
+ let AppNav = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_AppNav = class AppNav extends Component {
45
45
  constructor(...args) {
46
46
  super(...args);
47
47
  this.state = {
@@ -105,12 +105,12 @@ let AppNav = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = t
105
105
  "aria-label": callRenderProp(screenReaderLabel)
106
106
  }, this.props.children), renderAfterItems && jsx("span", null, renderAfterItems));
107
107
  }
108
- }, _class2.displayName = "AppNav", _class2.componentId = 'AppNav', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
108
+ }, _AppNav.displayName = "AppNav", _AppNav.componentId = 'AppNav', _AppNav.allowedProps = allowedProps, _AppNav.propTypes = propTypes, _AppNav.defaultProps = {
109
109
  children: null,
110
110
  debounce: 300,
111
111
  margin: '0',
112
112
  renderTruncateLabel: () => 'More',
113
113
  visibleItemsCount: 0
114
- }, _class2.Item = Item, _class2)) || _class) || _class);
114
+ }, _AppNav.Item = Item, _AppNav)) || _class) || _class);
115
115
  export { AppNav };
116
116
  export default AppNav;
@@ -19,7 +19,7 @@ var _emotion = require("@instructure/emotion");
19
19
  var _styles = _interopRequireDefault(require("./styles"));
20
20
  var _theme = _interopRequireDefault(require("./theme"));
21
21
  var _props = require("./props");
22
- var _dec, _dec2, _class, _class2;
22
+ var _dec, _dec2, _class, _Item;
23
23
  /*
24
24
  * The MIT License (MIT)
25
25
  *
@@ -51,7 +51,7 @@ id: AppNav.Item
51
51
  ---
52
52
  @module Item
53
53
  **/
54
- let Item = exports.Item = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Item extends _react.Component {
54
+ let Item = exports.Item = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_Item = class Item extends _react.Component {
55
55
  constructor(...args) {
56
56
  super(...args);
57
57
  this.ref = null;
@@ -113,10 +113,10 @@ let Item = exports.Item = (_dec = (0, _emotion.withStyle)(_styles.default, _them
113
113
  css: (_this$props$styles2 = this.props.styles) === null || _this$props$styles2 === void 0 ? void 0 : _this$props$styles2.label
114
114
  }, label), renderAfter && (0, _callRenderProp.callRenderProp)(renderAfter));
115
115
  }
116
- }, _class2.displayName = "Item", _class2.componentId = 'AppNav.Item', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
116
+ }, _Item.displayName = "Item", _Item.componentId = 'AppNav.Item', _Item.allowedProps = _props.allowedProps, _Item.propTypes = _props.propTypes, _Item.defaultProps = {
117
117
  children: null,
118
118
  isSelected: false,
119
119
  cursor: 'pointer',
120
120
  isDisabled: false
121
- }, _class2)) || _class) || _class);
121
+ }, _Item)) || _class) || _class);
122
122
  var _default = exports.default = Item;
@@ -18,7 +18,7 @@ var _styles = _interopRequireDefault(require("./styles"));
18
18
  var _theme = _interopRequireDefault(require("./theme"));
19
19
  var _props = require("./props");
20
20
  var _TruncateList = require("@instructure/ui-truncate-list/lib/TruncateList");
21
- var _dec, _dec2, _class, _class2;
21
+ var _dec, _dec2, _class, _AppNav;
22
22
  /*
23
23
  * The MIT License (MIT)
24
24
  *
@@ -48,7 +48,7 @@ var _dec, _dec2, _class, _class2;
48
48
  category: components
49
49
  ---
50
50
  **/
51
- let AppNav = exports.AppNav = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class AppNav extends _react.Component {
51
+ let AppNav = exports.AppNav = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_AppNav = class AppNav extends _react.Component {
52
52
  constructor(...args) {
53
53
  super(...args);
54
54
  this.state = {
@@ -112,11 +112,11 @@ let AppNav = exports.AppNav = (_dec = (0, _emotion.withStyle)(_styles.default, _
112
112
  "aria-label": (0, _callRenderProp.callRenderProp)(screenReaderLabel)
113
113
  }, this.props.children), renderAfterItems && (0, _emotion.jsx)("span", null, renderAfterItems));
114
114
  }
115
- }, _class2.displayName = "AppNav", _class2.componentId = 'AppNav', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
115
+ }, _AppNav.displayName = "AppNav", _AppNav.componentId = 'AppNav', _AppNav.allowedProps = _props.allowedProps, _AppNav.propTypes = _props.propTypes, _AppNav.defaultProps = {
116
116
  children: null,
117
117
  debounce: 300,
118
118
  margin: '0',
119
119
  renderTruncateLabel: () => 'More',
120
120
  visibleItemsCount: 0
121
- }, _class2.Item = _Item.Item, _class2)) || _class) || _class);
121
+ }, _AppNav.Item = _Item.Item, _AppNav)) || _class) || _class);
122
122
  var _default = exports.default = AppNav;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-navigation",
3
- "version": "9.0.2-snapshot-2",
3
+ "version": "9.0.2-snapshot-3",
4
4
  "description": "Main and application level navigational components",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,32 +23,32 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "9.0.2-snapshot-2",
27
- "@instructure/ui-color-utils": "9.0.2-snapshot-2",
28
- "@instructure/ui-test-locator": "9.0.2-snapshot-2",
29
- "@instructure/ui-test-utils": "9.0.2-snapshot-2",
30
- "@instructure/ui-themes": "9.0.2-snapshot-2"
26
+ "@instructure/ui-babel-preset": "9.0.2-snapshot-3",
27
+ "@instructure/ui-color-utils": "9.0.2-snapshot-3",
28
+ "@instructure/ui-test-locator": "9.0.2-snapshot-3",
29
+ "@instructure/ui-test-utils": "9.0.2-snapshot-3",
30
+ "@instructure/ui-themes": "9.0.2-snapshot-3"
31
31
  },
32
32
  "dependencies": {
33
- "@babel/runtime": "^7.23.2",
34
- "@instructure/console": "9.0.2-snapshot-2",
35
- "@instructure/debounce": "9.0.2-snapshot-2",
36
- "@instructure/emotion": "9.0.2-snapshot-2",
37
- "@instructure/shared-types": "9.0.2-snapshot-2",
38
- "@instructure/ui-a11y-content": "9.0.2-snapshot-2",
39
- "@instructure/ui-a11y-utils": "9.0.2-snapshot-2",
40
- "@instructure/ui-badge": "9.0.2-snapshot-2",
41
- "@instructure/ui-dom-utils": "9.0.2-snapshot-2",
42
- "@instructure/ui-focusable": "9.0.2-snapshot-2",
43
- "@instructure/ui-icons": "9.0.2-snapshot-2",
44
- "@instructure/ui-menu": "9.0.2-snapshot-2",
45
- "@instructure/ui-prop-types": "9.0.2-snapshot-2",
46
- "@instructure/ui-react-utils": "9.0.2-snapshot-2",
47
- "@instructure/ui-testable": "9.0.2-snapshot-2",
48
- "@instructure/ui-tooltip": "9.0.2-snapshot-2",
49
- "@instructure/ui-truncate-list": "9.0.2-snapshot-2",
50
- "@instructure/ui-utils": "9.0.2-snapshot-2",
51
- "@instructure/ui-view": "9.0.2-snapshot-2",
33
+ "@babel/runtime": "^7.24.5",
34
+ "@instructure/console": "9.0.2-snapshot-3",
35
+ "@instructure/debounce": "9.0.2-snapshot-3",
36
+ "@instructure/emotion": "9.0.2-snapshot-3",
37
+ "@instructure/shared-types": "9.0.2-snapshot-3",
38
+ "@instructure/ui-a11y-content": "9.0.2-snapshot-3",
39
+ "@instructure/ui-a11y-utils": "9.0.2-snapshot-3",
40
+ "@instructure/ui-badge": "9.0.2-snapshot-3",
41
+ "@instructure/ui-dom-utils": "9.0.2-snapshot-3",
42
+ "@instructure/ui-focusable": "9.0.2-snapshot-3",
43
+ "@instructure/ui-icons": "9.0.2-snapshot-3",
44
+ "@instructure/ui-menu": "9.0.2-snapshot-3",
45
+ "@instructure/ui-prop-types": "9.0.2-snapshot-3",
46
+ "@instructure/ui-react-utils": "9.0.2-snapshot-3",
47
+ "@instructure/ui-testable": "9.0.2-snapshot-3",
48
+ "@instructure/ui-tooltip": "9.0.2-snapshot-3",
49
+ "@instructure/ui-truncate-list": "9.0.2-snapshot-3",
50
+ "@instructure/ui-utils": "9.0.2-snapshot-3",
51
+ "@instructure/ui-view": "9.0.2-snapshot-3",
52
52
  "prop-types": "^15.8.1"
53
53
  },
54
54
  "peerDependencies": {