@instructure/ui-side-nav-bar 8.46.2-snapshot-4 → 8.46.2-snapshot-6
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/lib/SideNavBar/SideNavBarItem/SideNavBarItemLocator.js +2 -3
- package/lib/SideNavBar/SideNavBarItem/index.js +2 -4
- package/lib/SideNavBar/SideNavBarItem/locator.js +1 -2
- package/lib/SideNavBar/SideNavBarItem/props.js +2 -4
- package/lib/SideNavBar/SideNavBarItem/styles.js +1 -2
- package/lib/SideNavBar/SideNavBarItem/theme.js +1 -2
- package/lib/SideNavBar/SideNavBarLocator.js +2 -3
- package/lib/SideNavBar/index.js +2 -4
- package/lib/SideNavBar/locator.js +1 -2
- package/lib/SideNavBar/props.js +2 -4
- package/lib/SideNavBar/styles.js +1 -2
- package/lib/SideNavBar/theme.js +1 -2
- package/package.json +25 -25
- 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
|
-
## [8.46.2-snapshot-
|
|
6
|
+
## [8.46.2-snapshot-6](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-6) (2023-10-19)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-side-nav-bar
|
|
9
9
|
|
|
@@ -35,7 +35,6 @@ var _index = require("./index");
|
|
|
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
|
|
38
|
-
const SideNavBarItemLocator = (0, _locator.locator)(_index.SideNavBarItem.selector, {
|
|
38
|
+
const SideNavBarItemLocator = exports.SideNavBarItemLocator = (0, _locator.locator)(_index.SideNavBarItem.selector, {
|
|
39
39
|
findTooltipContent: (...args) => _TooltipLocator.TooltipLocator.findContent(...args)
|
|
40
|
-
});
|
|
41
|
-
exports.SideNavBarItemLocator = SideNavBarItemLocator;
|
|
40
|
+
});
|
|
@@ -47,7 +47,7 @@ id: SideNavBar.Item
|
|
|
47
47
|
---
|
|
48
48
|
@tsProps
|
|
49
49
|
**/
|
|
50
|
-
let SideNavBarItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class SideNavBarItem extends _react.Component {
|
|
50
|
+
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 {
|
|
51
51
|
constructor(...args) {
|
|
52
52
|
super(...args);
|
|
53
53
|
this.ref = null;
|
|
@@ -110,6 +110,4 @@ let SideNavBarItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.def
|
|
|
110
110
|
selected: false,
|
|
111
111
|
minimized: false
|
|
112
112
|
}, _class2)) || _class) || _class);
|
|
113
|
-
exports.
|
|
114
|
-
var _default = SideNavBarItem;
|
|
115
|
-
exports.default = _default;
|
|
113
|
+
var _default = exports.default = SideNavBarItem;
|
|
@@ -34,5 +34,4 @@ var _SideNavBarItemLocator = require("./SideNavBarItemLocator");
|
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
|
-
var _default = _SideNavBarItemLocator.SideNavBarItemLocator;
|
|
38
|
-
exports.default = _default;
|
|
37
|
+
var _default = exports.default = _SideNavBarItemLocator.SideNavBarItemLocator;
|
|
@@ -30,7 +30,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
30
30
|
* SOFTWARE.
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
|
-
const propTypes = {
|
|
33
|
+
const propTypes = exports.propTypes = {
|
|
34
34
|
elementRef: _propTypes.default.func,
|
|
35
35
|
icon: _propTypes.default.node.isRequired,
|
|
36
36
|
label: _propTypes.default.node.isRequired,
|
|
@@ -40,6 +40,4 @@ const propTypes = {
|
|
|
40
40
|
selected: _propTypes.default.bool,
|
|
41
41
|
minimized: _propTypes.default.bool
|
|
42
42
|
};
|
|
43
|
-
exports.
|
|
44
|
-
const allowedProps = ['elementRef', 'icon', 'label', 'as', 'href', 'onClick', 'selected', 'minimized'];
|
|
45
|
-
exports.allowedProps = allowedProps;
|
|
43
|
+
const allowedProps = exports.allowedProps = ['elementRef', 'icon', 'label', 'as', 'href', 'onClick', 'selected', 'minimized'];
|
|
@@ -38,12 +38,11 @@ var _SideNavBarItemLocator = require("./SideNavBarItem/SideNavBarItemLocator");
|
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
40
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
41
|
-
const SideNavBarLocator = (0, _locator.locator)(_index.SideNavBar.selector, {
|
|
41
|
+
const SideNavBarLocator = exports.SideNavBarLocator = (0, _locator.locator)(_index.SideNavBar.selector, {
|
|
42
42
|
findAllItems: (...args) => {
|
|
43
43
|
return _SideNavBarItemLocator.SideNavBarItemLocator.findAll(...args);
|
|
44
44
|
},
|
|
45
45
|
findItem: (...args) => {
|
|
46
46
|
return _SideNavBarItemLocator.SideNavBarItemLocator.find(...args);
|
|
47
47
|
}
|
|
48
|
-
});
|
|
49
|
-
exports.SideNavBarLocator = SideNavBarLocator;
|
|
48
|
+
});
|
package/lib/SideNavBar/index.js
CHANGED
|
@@ -61,7 +61,7 @@ category: components
|
|
|
61
61
|
---
|
|
62
62
|
@tsProps
|
|
63
63
|
**/
|
|
64
|
-
let SideNavBar = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class SideNavBar extends _react.Component {
|
|
64
|
+
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 {
|
|
65
65
|
constructor(props) {
|
|
66
66
|
super(props);
|
|
67
67
|
this.ref = null;
|
|
@@ -142,6 +142,4 @@ let SideNavBar = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
|
|
|
142
142
|
// TODO we should investigate later if it used or not
|
|
143
143
|
onClick: function (_e) {}
|
|
144
144
|
}, _class2.Item = _SideNavBarItem.SideNavBarItem, _class2)) || _class) || _class);
|
|
145
|
-
exports.
|
|
146
|
-
var _default = SideNavBar;
|
|
147
|
-
exports.default = _default;
|
|
145
|
+
var _default = exports.default = SideNavBar;
|
|
@@ -40,5 +40,4 @@ var _SideNavBarLocator = require("./SideNavBarLocator");
|
|
|
40
40
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
41
41
|
* SOFTWARE.
|
|
42
42
|
*/
|
|
43
|
-
var _default = _SideNavBarLocator.SideNavBarLocator;
|
|
44
|
-
exports.default = _default;
|
|
43
|
+
var _default = exports.default = _SideNavBarLocator.SideNavBarLocator;
|
package/lib/SideNavBar/props.js
CHANGED
|
@@ -33,7 +33,7 @@ var _SideNavBarItem = require("./SideNavBarItem");
|
|
|
33
33
|
* SOFTWARE.
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
|
-
const propTypes = {
|
|
36
|
+
const propTypes = exports.propTypes = {
|
|
37
37
|
children: _Children.Children.oneOf([_SideNavBarItem.SideNavBarItem]),
|
|
38
38
|
minimized: (0, _controllable.controllable)(_propTypes.default.bool, 'onMinimized', 'defaultMinimized'),
|
|
39
39
|
defaultMinimized: _propTypes.default.bool,
|
|
@@ -46,6 +46,4 @@ const propTypes = {
|
|
|
46
46
|
href: _propTypes.default.string,
|
|
47
47
|
onClick: _propTypes.default.func
|
|
48
48
|
};
|
|
49
|
-
exports.
|
|
50
|
-
const allowedProps = ['children', 'minimized', 'defaultMinimized', 'onMinimized', 'label', 'toggleLabel', 'href', 'onClick'];
|
|
51
|
-
exports.allowedProps = allowedProps;
|
|
49
|
+
const allowedProps = exports.allowedProps = ['children', 'minimized', 'defaultMinimized', 'onMinimized', 'label', 'toggleLabel', 'href', 'onClick'];
|
package/lib/SideNavBar/styles.js
CHANGED
package/lib/SideNavBar/theme.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-side-nav-bar",
|
|
3
|
-
"version": "8.46.2-snapshot-
|
|
3
|
+
"version": "8.46.2-snapshot-6",
|
|
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": "8.46.2-snapshot-
|
|
27
|
-
"@instructure/ui-color-utils": "8.46.2-snapshot-
|
|
28
|
-
"@instructure/ui-test-locator": "8.46.2-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "8.46.2-snapshot-
|
|
30
|
-
"@instructure/ui-themes": "8.46.2-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "8.46.2-snapshot-6",
|
|
27
|
+
"@instructure/ui-color-utils": "8.46.2-snapshot-6",
|
|
28
|
+
"@instructure/ui-test-locator": "8.46.2-snapshot-6",
|
|
29
|
+
"@instructure/ui-test-utils": "8.46.2-snapshot-6",
|
|
30
|
+
"@instructure/ui-themes": "8.46.2-snapshot-6"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@babel/runtime": "^7.
|
|
34
|
-
"@instructure/console": "8.46.2-snapshot-
|
|
35
|
-
"@instructure/debounce": "8.46.2-snapshot-
|
|
36
|
-
"@instructure/emotion": "8.46.2-snapshot-
|
|
37
|
-
"@instructure/shared-types": "8.46.2-snapshot-
|
|
38
|
-
"@instructure/ui-a11y-content": "8.46.2-snapshot-
|
|
39
|
-
"@instructure/ui-a11y-utils": "8.46.2-snapshot-
|
|
40
|
-
"@instructure/ui-badge": "8.46.2-snapshot-
|
|
41
|
-
"@instructure/ui-dom-utils": "8.46.2-snapshot-
|
|
42
|
-
"@instructure/ui-focusable": "8.46.2-snapshot-
|
|
43
|
-
"@instructure/ui-icons": "8.46.2-snapshot-
|
|
44
|
-
"@instructure/ui-menu": "8.46.2-snapshot-
|
|
45
|
-
"@instructure/ui-prop-types": "8.46.2-snapshot-
|
|
46
|
-
"@instructure/ui-react-utils": "8.46.2-snapshot-
|
|
47
|
-
"@instructure/ui-testable": "8.46.2-snapshot-
|
|
48
|
-
"@instructure/ui-tooltip": "8.46.2-snapshot-
|
|
49
|
-
"@instructure/ui-truncate-list": "8.46.2-snapshot-
|
|
50
|
-
"@instructure/ui-utils": "8.46.2-snapshot-
|
|
51
|
-
"@instructure/ui-view": "8.46.2-snapshot-
|
|
33
|
+
"@babel/runtime": "^7.23.2",
|
|
34
|
+
"@instructure/console": "8.46.2-snapshot-6",
|
|
35
|
+
"@instructure/debounce": "8.46.2-snapshot-6",
|
|
36
|
+
"@instructure/emotion": "8.46.2-snapshot-6",
|
|
37
|
+
"@instructure/shared-types": "8.46.2-snapshot-6",
|
|
38
|
+
"@instructure/ui-a11y-content": "8.46.2-snapshot-6",
|
|
39
|
+
"@instructure/ui-a11y-utils": "8.46.2-snapshot-6",
|
|
40
|
+
"@instructure/ui-badge": "8.46.2-snapshot-6",
|
|
41
|
+
"@instructure/ui-dom-utils": "8.46.2-snapshot-6",
|
|
42
|
+
"@instructure/ui-focusable": "8.46.2-snapshot-6",
|
|
43
|
+
"@instructure/ui-icons": "8.46.2-snapshot-6",
|
|
44
|
+
"@instructure/ui-menu": "8.46.2-snapshot-6",
|
|
45
|
+
"@instructure/ui-prop-types": "8.46.2-snapshot-6",
|
|
46
|
+
"@instructure/ui-react-utils": "8.46.2-snapshot-6",
|
|
47
|
+
"@instructure/ui-testable": "8.46.2-snapshot-6",
|
|
48
|
+
"@instructure/ui-tooltip": "8.46.2-snapshot-6",
|
|
49
|
+
"@instructure/ui-truncate-list": "8.46.2-snapshot-6",
|
|
50
|
+
"@instructure/ui-utils": "8.46.2-snapshot-6",
|
|
51
|
+
"@instructure/ui-view": "8.46.2-snapshot-6",
|
|
52
52
|
"prop-types": "^15.8.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|