@instructure/ui-side-nav-bar 9.0.2-snapshot-2 → 9.0.2-snapshot-4

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-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-side-nav-bar
9
9
 
@@ -22,7 +22,7 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
  import { locator } from '@instructure/ui-test-locator';
25
- // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
25
+ // @ts-ignore: Cannot find module
26
26
  // eslint-disable-next-line no-restricted-imports
27
27
  import { TooltipLocator } from '@instructure/ui-tooltip/es/Tooltip/TooltipLocator';
28
28
  import { SideNavBarItem } from './index';
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
1
+ var _dec, _dec2, _class, _SideNavBarItem;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -39,7 +39,7 @@ parent: SideNavBar
39
39
  id: SideNavBar.Item
40
40
  ---
41
41
  **/
42
- let SideNavBarItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class SideNavBarItem extends Component {
42
+ let SideNavBarItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_SideNavBarItem = class SideNavBarItem extends Component {
43
43
  constructor(...args) {
44
44
  super(...args);
45
45
  this.ref = null;
@@ -97,10 +97,10 @@ let SideNavBarItem = (_dec = withStyle(generateStyle, generateComponentTheme), _
97
97
  elementRef: this.handleRef
98
98
  }, link) : link;
99
99
  }
100
- }, _class2.displayName = "SideNavBarItem", _class2.componentId = 'SideNavBar.Item', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
100
+ }, _SideNavBarItem.displayName = "SideNavBarItem", _SideNavBarItem.componentId = 'SideNavBar.Item', _SideNavBarItem.allowedProps = allowedProps, _SideNavBarItem.propTypes = propTypes, _SideNavBarItem.defaultProps = {
101
101
  as: 'a',
102
102
  selected: false,
103
103
  minimized: false
104
- }, _class2)) || _class) || _class);
104
+ }, _SideNavBarItem)) || _class) || _class);
105
105
  export default SideNavBarItem;
106
106
  export { SideNavBarItem };
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2;
1
+ var _dec, _dec2, _class, _SideNavBar;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -44,7 +44,7 @@ const navMinimized = ({
44
44
  category: components
45
45
  ---
46
46
  **/
47
- let SideNavBar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class SideNavBar extends Component {
47
+ let SideNavBar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_SideNavBar = class SideNavBar extends Component {
48
48
  constructor(props) {
49
49
  super(props);
50
50
  this.ref = null;
@@ -117,11 +117,11 @@ let SideNavBar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
117
117
  label: jsx(ScreenReaderContent, null, this.toggleMessage())
118
118
  }));
119
119
  }
120
- }, _class2.displayName = "SideNavBar", _class2.componentId = 'SideNavBar', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
120
+ }, _SideNavBar.displayName = "SideNavBar", _SideNavBar.componentId = 'SideNavBar', _SideNavBar.allowedProps = allowedProps, _SideNavBar.propTypes = propTypes, _SideNavBar.defaultProps = {
121
121
  children: null,
122
122
  defaultMinimized: false,
123
123
  // TODO we should investigate later if it used or not
124
124
  onClick: function (_e) {}
125
- }, _class2.Item = SideNavBarItem, _class2)) || _class) || _class);
125
+ }, _SideNavBar.Item = SideNavBarItem, _SideNavBar)) || _class) || _class);
126
126
  export default SideNavBar;
127
127
  export { SideNavBar, SideNavBarItem };
@@ -31,7 +31,7 @@ var _index = require("./index");
31
31
  * SOFTWARE.
32
32
  */
33
33
 
34
- // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
34
+ // @ts-ignore: Cannot find module
35
35
  // eslint-disable-next-line no-restricted-imports
36
36
 
37
37
  // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
@@ -15,7 +15,7 @@ var _emotion = require("@instructure/emotion");
15
15
  var _styles = _interopRequireDefault(require("./styles"));
16
16
  var _theme = _interopRequireDefault(require("./theme"));
17
17
  var _props = require("./props");
18
- var _dec, _dec2, _class, _class2;
18
+ var _dec, _dec2, _class, _SideNavBarItem;
19
19
  /*
20
20
  * The MIT License (MIT)
21
21
  *
@@ -46,7 +46,7 @@ parent: SideNavBar
46
46
  id: SideNavBar.Item
47
47
  ---
48
48
  **/
49
- let SideNavBarItem = exports.SideNavBarItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class SideNavBarItem extends _react.Component {
49
+ let SideNavBarItem = exports.SideNavBarItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_SideNavBarItem = class SideNavBarItem extends _react.Component {
50
50
  constructor(...args) {
51
51
  super(...args);
52
52
  this.ref = null;
@@ -104,9 +104,9 @@ let SideNavBarItem = exports.SideNavBarItem = (_dec = (0, _emotion.withStyle)(_s
104
104
  elementRef: this.handleRef
105
105
  }, link) : link;
106
106
  }
107
- }, _class2.displayName = "SideNavBarItem", _class2.componentId = 'SideNavBar.Item', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
107
+ }, _SideNavBarItem.displayName = "SideNavBarItem", _SideNavBarItem.componentId = 'SideNavBar.Item', _SideNavBarItem.allowedProps = _props.allowedProps, _SideNavBarItem.propTypes = _props.propTypes, _SideNavBarItem.defaultProps = {
108
108
  as: 'a',
109
109
  selected: false,
110
110
  minimized: false
111
- }, _class2)) || _class) || _class);
111
+ }, _SideNavBarItem)) || _class) || _class);
112
112
  var _default = exports.default = SideNavBarItem;
@@ -24,7 +24,7 @@ var _SideNavBarItem = require("./SideNavBarItem");
24
24
  var _styles = _interopRequireDefault(require("./styles"));
25
25
  var _theme = _interopRequireDefault(require("./theme"));
26
26
  var _props = require("./props");
27
- var _dec, _dec2, _class, _class2;
27
+ var _dec, _dec2, _class, _SideNavBar;
28
28
  /*
29
29
  * The MIT License (MIT)
30
30
  *
@@ -60,7 +60,7 @@ const navMinimized = ({
60
60
  category: components
61
61
  ---
62
62
  **/
63
- let SideNavBar = exports.SideNavBar = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class SideNavBar extends _react.Component {
63
+ let SideNavBar = exports.SideNavBar = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_SideNavBar = class SideNavBar extends _react.Component {
64
64
  constructor(props) {
65
65
  super(props);
66
66
  this.ref = null;
@@ -133,10 +133,10 @@ let SideNavBar = exports.SideNavBar = (_dec = (0, _emotion.withStyle)(_styles.de
133
133
  label: (0, _emotion.jsx)(_ScreenReaderContent.ScreenReaderContent, null, this.toggleMessage())
134
134
  }));
135
135
  }
136
- }, _class2.displayName = "SideNavBar", _class2.componentId = 'SideNavBar', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
136
+ }, _SideNavBar.displayName = "SideNavBar", _SideNavBar.componentId = 'SideNavBar', _SideNavBar.allowedProps = _props.allowedProps, _SideNavBar.propTypes = _props.propTypes, _SideNavBar.defaultProps = {
137
137
  children: null,
138
138
  defaultMinimized: false,
139
139
  // TODO we should investigate later if it used or not
140
140
  onClick: function (_e) {}
141
- }, _class2.Item = _SideNavBarItem.SideNavBarItem, _class2)) || _class) || _class);
141
+ }, _SideNavBar.Item = _SideNavBarItem.SideNavBarItem, _SideNavBar)) || _class) || _class);
142
142
  var _default = exports.default = SideNavBar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-side-nav-bar",
3
- "version": "9.0.2-snapshot-2",
3
+ "version": "9.0.2-snapshot-4",
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-4",
27
+ "@instructure/ui-color-utils": "9.0.2-snapshot-4",
28
+ "@instructure/ui-test-locator": "9.0.2-snapshot-4",
29
+ "@instructure/ui-test-utils": "9.0.2-snapshot-4",
30
+ "@instructure/ui-themes": "9.0.2-snapshot-4"
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-4",
35
+ "@instructure/debounce": "9.0.2-snapshot-4",
36
+ "@instructure/emotion": "9.0.2-snapshot-4",
37
+ "@instructure/shared-types": "9.0.2-snapshot-4",
38
+ "@instructure/ui-a11y-content": "9.0.2-snapshot-4",
39
+ "@instructure/ui-a11y-utils": "9.0.2-snapshot-4",
40
+ "@instructure/ui-badge": "9.0.2-snapshot-4",
41
+ "@instructure/ui-dom-utils": "9.0.2-snapshot-4",
42
+ "@instructure/ui-focusable": "9.0.2-snapshot-4",
43
+ "@instructure/ui-icons": "9.0.2-snapshot-4",
44
+ "@instructure/ui-menu": "9.0.2-snapshot-4",
45
+ "@instructure/ui-prop-types": "9.0.2-snapshot-4",
46
+ "@instructure/ui-react-utils": "9.0.2-snapshot-4",
47
+ "@instructure/ui-testable": "9.0.2-snapshot-4",
48
+ "@instructure/ui-tooltip": "9.0.2-snapshot-4",
49
+ "@instructure/ui-truncate-list": "9.0.2-snapshot-4",
50
+ "@instructure/ui-utils": "9.0.2-snapshot-4",
51
+ "@instructure/ui-view": "9.0.2-snapshot-4",
52
52
  "prop-types": "^15.8.1"
53
53
  },
54
54
  "peerDependencies": {
@@ -22,7 +22,7 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
  import { locator } from '@instructure/ui-test-locator'
25
- // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
25
+ // @ts-ignore: Cannot find module
26
26
  // eslint-disable-next-line no-restricted-imports
27
27
  import { TooltipLocator } from '@instructure/ui-tooltip/es/Tooltip/TooltipLocator'
28
28