@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 +1 -1
- package/es/SideNavBar/SideNavBarItem/SideNavBarItemLocator.js +1 -1
- package/es/SideNavBar/SideNavBarItem/index.js +4 -4
- package/es/SideNavBar/index.js +4 -4
- package/lib/SideNavBar/SideNavBarItem/SideNavBarItemLocator.js +1 -1
- package/lib/SideNavBar/SideNavBarItem/index.js +4 -4
- package/lib/SideNavBar/index.js +4 -4
- package/package.json +25 -25
- package/src/SideNavBar/SideNavBarItem/SideNavBarItemLocator.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/SideNavBar/SideNavBarItem/SideNavBarItemLocator.d.ts +41 -41
- package/types/SideNavBar/SideNavBarItem/index.d.ts +3 -3
- package/types/SideNavBar/SideNavBarLocator.d.ts +136 -136
- package/types/SideNavBar/index.d.ts +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-
|
|
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-
|
|
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,
|
|
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 = (
|
|
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
|
-
},
|
|
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
|
-
},
|
|
104
|
+
}, _SideNavBarItem)) || _class) || _class);
|
|
105
105
|
export default SideNavBarItem;
|
|
106
106
|
export { SideNavBarItem };
|
package/es/SideNavBar/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _class,
|
|
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 = (
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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-
|
|
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,
|
|
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 = (
|
|
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
|
-
},
|
|
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
|
-
},
|
|
111
|
+
}, _SideNavBarItem)) || _class) || _class);
|
|
112
112
|
var _default = exports.default = SideNavBarItem;
|
package/lib/SideNavBar/index.js
CHANGED
|
@@ -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,
|
|
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 = (
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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-
|
|
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-
|
|
27
|
-
"@instructure/ui-color-utils": "9.0.2-snapshot-
|
|
28
|
-
"@instructure/ui-test-locator": "9.0.2-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "9.0.2-snapshot-
|
|
30
|
-
"@instructure/ui-themes": "9.0.2-snapshot-
|
|
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.
|
|
34
|
-
"@instructure/console": "9.0.2-snapshot-
|
|
35
|
-
"@instructure/debounce": "9.0.2-snapshot-
|
|
36
|
-
"@instructure/emotion": "9.0.2-snapshot-
|
|
37
|
-
"@instructure/shared-types": "9.0.2-snapshot-
|
|
38
|
-
"@instructure/ui-a11y-content": "9.0.2-snapshot-
|
|
39
|
-
"@instructure/ui-a11y-utils": "9.0.2-snapshot-
|
|
40
|
-
"@instructure/ui-badge": "9.0.2-snapshot-
|
|
41
|
-
"@instructure/ui-dom-utils": "9.0.2-snapshot-
|
|
42
|
-
"@instructure/ui-focusable": "9.0.2-snapshot-
|
|
43
|
-
"@instructure/ui-icons": "9.0.2-snapshot-
|
|
44
|
-
"@instructure/ui-menu": "9.0.2-snapshot-
|
|
45
|
-
"@instructure/ui-prop-types": "9.0.2-snapshot-
|
|
46
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
|
47
|
-
"@instructure/ui-testable": "9.0.2-snapshot-
|
|
48
|
-
"@instructure/ui-tooltip": "9.0.2-snapshot-
|
|
49
|
-
"@instructure/ui-truncate-list": "9.0.2-snapshot-
|
|
50
|
-
"@instructure/ui-utils": "9.0.2-snapshot-
|
|
51
|
-
"@instructure/ui-view": "9.0.2-snapshot-
|
|
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-
|
|
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
|
|