@instructure/ui-navigation 8.23.0 → 8.23.1-snapshot.5
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/LICENSE.md +27 -0
- package/es/AppNav/Item/index.js +3 -3
- package/es/AppNav/index.js +3 -3
- package/es/Navigation/NavigationItem/index.js +3 -3
- package/es/Navigation/index.js +3 -3
- package/lib/AppNav/Item/index.js +3 -3
- package/lib/AppNav/index.js +3 -3
- package/lib/Navigation/NavigationItem/index.js +3 -3
- package/lib/Navigation/index.js +3 -3
- package/package.json +25 -24
- package/tsconfig.build.tsbuildinfo +1 -1
package/LICENSE.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: The MIT License (MIT)
|
|
3
|
+
category: Getting Started
|
|
4
|
+
order: 9
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# The MIT License (MIT)
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
+
|
|
11
|
+
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions.**
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
package/es/AppNav/Item/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _class, _class2
|
|
1
|
+
var _dec, _dec2, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -43,7 +43,7 @@ id: AppNav.Item
|
|
|
43
43
|
@module Item
|
|
44
44
|
**/
|
|
45
45
|
|
|
46
|
-
let Item = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (
|
|
46
|
+
let Item = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class Item extends Component {
|
|
47
47
|
constructor() {
|
|
48
48
|
super(...arguments);
|
|
49
49
|
this.ref = null;
|
|
@@ -126,6 +126,6 @@ let Item = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = tes
|
|
|
126
126
|
isSelected: false,
|
|
127
127
|
cursor: 'pointer',
|
|
128
128
|
isDisabled: false
|
|
129
|
-
},
|
|
129
|
+
}, _class2)) || _class) || _class);
|
|
130
130
|
export default Item;
|
|
131
131
|
export { Item };
|
package/es/AppNav/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _class, _class2
|
|
1
|
+
var _dec, _dec2, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -44,7 +44,7 @@ category: components
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
|
|
47
|
-
let AppNav = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (
|
|
47
|
+
let AppNav = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class AppNav extends Component {
|
|
48
48
|
constructor() {
|
|
49
49
|
super(...arguments);
|
|
50
50
|
this.state = {
|
|
@@ -222,6 +222,6 @@ let AppNav = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = t
|
|
|
222
222
|
renderTruncateLabel: () => 'More',
|
|
223
223
|
onUpdate: () => {},
|
|
224
224
|
visibleItemsCount: 0
|
|
225
|
-
}, _class2.Item = Item,
|
|
225
|
+
}, _class2.Item = Item, _class2)) || _class) || _class);
|
|
226
226
|
export { AppNav };
|
|
227
227
|
export default AppNav;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _class, _class2
|
|
1
|
+
var _dec, _dec2, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -41,7 +41,7 @@ id: Navigation.Item
|
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
43
|
|
|
44
|
-
let NavigationItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (
|
|
44
|
+
let NavigationItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class NavigationItem extends Component {
|
|
45
45
|
constructor() {
|
|
46
46
|
super(...arguments);
|
|
47
47
|
this.ref = null;
|
|
@@ -114,6 +114,6 @@ let NavigationItem = (_dec = withStyle(generateStyle, generateComponentTheme), _
|
|
|
114
114
|
onClick: function (e, selected) {},
|
|
115
115
|
selected: false,
|
|
116
116
|
minimized: false
|
|
117
|
-
},
|
|
117
|
+
}, _class2)) || _class) || _class);
|
|
118
118
|
export default NavigationItem;
|
|
119
119
|
export { NavigationItem };
|
package/es/Navigation/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _dec3, _class, _class2
|
|
1
|
+
var _dec, _dec2, _dec3, _class, _class2;
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* The MIT License (MIT)
|
|
@@ -49,7 +49,7 @@ category: components/deprecated
|
|
|
49
49
|
**/
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
let Navigation = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec3 = deprecated('9.0.0', null, 'No one uses <Navigation>, so we will deprecate it.'), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
52
|
+
let Navigation = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec3 = deprecated('9.0.0', null, 'No one uses <Navigation>, so we will deprecate it.'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Navigation extends Component {
|
|
53
53
|
constructor(props) {
|
|
54
54
|
super();
|
|
55
55
|
this.ref = null;
|
|
@@ -144,6 +144,6 @@ let Navigation = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
|
|
|
144
144
|
defaultMinimized: false,
|
|
145
145
|
onMinimized: function (event, minimized) {},
|
|
146
146
|
onClick: function (e) {}
|
|
147
|
-
}, _class2.Item = NavigationItem,
|
|
147
|
+
}, _class2.Item = NavigationItem, _class2)) || _class) || _class) || _class);
|
|
148
148
|
export default Navigation;
|
|
149
149
|
export { Navigation, NavigationItem };
|
package/lib/AppNav/Item/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var _theme = _interopRequireDefault(require("./theme"));
|
|
|
35
35
|
|
|
36
36
|
var _props = require("./props");
|
|
37
37
|
|
|
38
|
-
var _dec, _dec2, _class, _class2
|
|
38
|
+
var _dec, _dec2, _class, _class2;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
---
|
|
@@ -44,7 +44,7 @@ id: AppNav.Item
|
|
|
44
44
|
---
|
|
45
45
|
@module Item
|
|
46
46
|
**/
|
|
47
|
-
let Item = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (
|
|
47
|
+
let Item = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Item extends _react.Component {
|
|
48
48
|
constructor() {
|
|
49
49
|
super(...arguments);
|
|
50
50
|
this.ref = null;
|
|
@@ -127,7 +127,7 @@ let Item = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _de
|
|
|
127
127
|
isSelected: false,
|
|
128
128
|
cursor: 'pointer',
|
|
129
129
|
isDisabled: false
|
|
130
|
-
},
|
|
130
|
+
}, _class2)) || _class) || _class);
|
|
131
131
|
exports.Item = Item;
|
|
132
132
|
var _default = Item;
|
|
133
133
|
exports.default = _default;
|
package/lib/AppNav/index.js
CHANGED
|
@@ -35,14 +35,14 @@ var _theme = _interopRequireDefault(require("./theme"));
|
|
|
35
35
|
|
|
36
36
|
var _props = require("./props");
|
|
37
37
|
|
|
38
|
-
var _dec, _dec2, _class, _class2
|
|
38
|
+
var _dec, _dec2, _class, _class2;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
---
|
|
42
42
|
category: components
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
|
-
let AppNav = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (
|
|
45
|
+
let AppNav = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class AppNav extends _react.Component {
|
|
46
46
|
constructor() {
|
|
47
47
|
super(...arguments);
|
|
48
48
|
this.state = {
|
|
@@ -224,7 +224,7 @@ let AppNav = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _
|
|
|
224
224
|
renderTruncateLabel: () => 'More',
|
|
225
225
|
onUpdate: () => {},
|
|
226
226
|
visibleItemsCount: 0
|
|
227
|
-
}, _class2.Item = _Item.Item,
|
|
227
|
+
}, _class2.Item = _Item.Item, _class2)) || _class) || _class);
|
|
228
228
|
exports.AppNav = AppNav;
|
|
229
229
|
var _default = AppNav;
|
|
230
230
|
exports.default = _default;
|
|
@@ -27,7 +27,7 @@ var _theme = _interopRequireDefault(require("./theme"));
|
|
|
27
27
|
|
|
28
28
|
var _props = require("./props");
|
|
29
29
|
|
|
30
|
-
var _dec, _dec2, _class, _class2
|
|
30
|
+
var _dec, _dec2, _class, _class2;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
---
|
|
@@ -35,7 +35,7 @@ parent: Navigation
|
|
|
35
35
|
id: Navigation.Item
|
|
36
36
|
---
|
|
37
37
|
**/
|
|
38
|
-
let NavigationItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (
|
|
38
|
+
let NavigationItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class NavigationItem extends _react.Component {
|
|
39
39
|
constructor() {
|
|
40
40
|
super(...arguments);
|
|
41
41
|
this.ref = null;
|
|
@@ -108,7 +108,7 @@ let NavigationItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.def
|
|
|
108
108
|
onClick: function (e, selected) {},
|
|
109
109
|
selected: false,
|
|
110
110
|
minimized: false
|
|
111
|
-
},
|
|
111
|
+
}, _class2)) || _class) || _class);
|
|
112
112
|
exports.NavigationItem = NavigationItem;
|
|
113
113
|
var _default = NavigationItem;
|
|
114
114
|
exports.default = _default;
|
package/lib/Navigation/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var _theme = _interopRequireDefault(require("./theme"));
|
|
|
38
38
|
|
|
39
39
|
var _props = require("./props");
|
|
40
40
|
|
|
41
|
-
var _dec, _dec2, _dec3, _class, _class2
|
|
41
|
+
var _dec, _dec2, _dec3, _class, _class2;
|
|
42
42
|
|
|
43
43
|
const navMinimized = _ref => {
|
|
44
44
|
let minimized = _ref.minimized;
|
|
@@ -53,7 +53,7 @@ category: components/deprecated
|
|
|
53
53
|
**/
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
let Navigation = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec3 = (0, _deprecated.deprecated)('9.0.0', null, 'No one uses <Navigation>, so we will deprecate it.'), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
56
|
+
let Navigation = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec3 = (0, _deprecated.deprecated)('9.0.0', null, 'No one uses <Navigation>, so we will deprecate it.'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Navigation extends _react.Component {
|
|
57
57
|
constructor(props) {
|
|
58
58
|
super();
|
|
59
59
|
this.ref = null;
|
|
@@ -148,7 +148,7 @@ let Navigation = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
|
|
|
148
148
|
defaultMinimized: false,
|
|
149
149
|
onMinimized: function (event, minimized) {},
|
|
150
150
|
onClick: function (e) {}
|
|
151
|
-
}, _class2.Item = _NavigationItem.NavigationItem,
|
|
151
|
+
}, _class2.Item = _NavigationItem.NavigationItem, _class2)) || _class) || _class) || _class);
|
|
152
152
|
exports.Navigation = Navigation;
|
|
153
153
|
var _default = Navigation;
|
|
154
154
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-navigation",
|
|
3
|
-
"version": "8.23.
|
|
3
|
+
"version": "8.23.1-snapshot.5+d19d2de94",
|
|
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,31 +23,31 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.23.
|
|
27
|
-
"@instructure/ui-color-utils": "8.23.
|
|
28
|
-
"@instructure/ui-test-locator": "8.23.
|
|
29
|
-
"@instructure/ui-test-utils": "8.23.
|
|
30
|
-
"@instructure/ui-themes": "8.23.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.23.1-snapshot.5+d19d2de94",
|
|
27
|
+
"@instructure/ui-color-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
28
|
+
"@instructure/ui-test-locator": "8.23.1-snapshot.5+d19d2de94",
|
|
29
|
+
"@instructure/ui-test-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
30
|
+
"@instructure/ui-themes": "8.23.1-snapshot.5+d19d2de94"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.13.10",
|
|
34
|
-
"@instructure/console": "8.23.
|
|
35
|
-
"@instructure/debounce": "8.23.
|
|
36
|
-
"@instructure/emotion": "8.23.
|
|
37
|
-
"@instructure/shared-types": "8.23.
|
|
38
|
-
"@instructure/ui-a11y-content": "8.23.
|
|
39
|
-
"@instructure/ui-a11y-utils": "8.23.
|
|
40
|
-
"@instructure/ui-badge": "8.23.
|
|
41
|
-
"@instructure/ui-dom-utils": "8.23.
|
|
42
|
-
"@instructure/ui-focusable": "8.23.
|
|
43
|
-
"@instructure/ui-icons": "8.23.
|
|
44
|
-
"@instructure/ui-menu": "8.23.
|
|
45
|
-
"@instructure/ui-prop-types": "8.23.
|
|
46
|
-
"@instructure/ui-react-utils": "8.23.
|
|
47
|
-
"@instructure/ui-testable": "8.23.
|
|
48
|
-
"@instructure/ui-tooltip": "8.23.
|
|
49
|
-
"@instructure/ui-utils": "8.23.
|
|
50
|
-
"@instructure/ui-view": "8.23.
|
|
34
|
+
"@instructure/console": "8.23.1-snapshot.5+d19d2de94",
|
|
35
|
+
"@instructure/debounce": "8.23.1-snapshot.5+d19d2de94",
|
|
36
|
+
"@instructure/emotion": "8.23.1-snapshot.5+d19d2de94",
|
|
37
|
+
"@instructure/shared-types": "8.23.1-snapshot.5+d19d2de94",
|
|
38
|
+
"@instructure/ui-a11y-content": "8.23.1-snapshot.5+d19d2de94",
|
|
39
|
+
"@instructure/ui-a11y-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
40
|
+
"@instructure/ui-badge": "8.23.1-snapshot.5+d19d2de94",
|
|
41
|
+
"@instructure/ui-dom-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
42
|
+
"@instructure/ui-focusable": "8.23.1-snapshot.5+d19d2de94",
|
|
43
|
+
"@instructure/ui-icons": "8.23.1-snapshot.5+d19d2de94",
|
|
44
|
+
"@instructure/ui-menu": "8.23.1-snapshot.5+d19d2de94",
|
|
45
|
+
"@instructure/ui-prop-types": "8.23.1-snapshot.5+d19d2de94",
|
|
46
|
+
"@instructure/ui-react-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
47
|
+
"@instructure/ui-testable": "8.23.1-snapshot.5+d19d2de94",
|
|
48
|
+
"@instructure/ui-tooltip": "8.23.1-snapshot.5+d19d2de94",
|
|
49
|
+
"@instructure/ui-utils": "8.23.1-snapshot.5+d19d2de94",
|
|
50
|
+
"@instructure/ui-view": "8.23.1-snapshot.5+d19d2de94",
|
|
51
51
|
"prop-types": "^15"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
@@ -56,5 +56,6 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"sideEffects": false
|
|
59
|
+
"sideEffects": false,
|
|
60
|
+
"gitHead": "d19d2de94392ef0c117346830f5d70ef5ae80795"
|
|
60
61
|
}
|