@instructure/ui-navigation 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/AppNav/Item/index.js +4 -4
- package/es/AppNav/index.js +4 -4
- package/lib/AppNav/Item/index.js +4 -4
- package/lib/AppNav/index.js +4 -4
- package/package.json +25 -25
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/AppNav/AppNavLocator.d.ts +126 -126
- package/types/AppNav/Item/AppNavItemLocator.d.ts +36 -36
- package/types/AppNav/Item/index.d.ts +5 -5
- package/types/AppNav/index.d.ts +3 -3
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-navigation
|
|
9
9
|
|
package/es/AppNav/Item/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _class,
|
|
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 = (
|
|
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
|
-
},
|
|
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
|
-
},
|
|
112
|
+
}, _Item)) || _class) || _class);
|
|
113
113
|
export default Item;
|
|
114
114
|
export { Item };
|
package/es/AppNav/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _class,
|
|
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 = (
|
|
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
|
-
},
|
|
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
|
-
},
|
|
114
|
+
}, _AppNav.Item = Item, _AppNav)) || _class) || _class);
|
|
115
115
|
export { AppNav };
|
|
116
116
|
export default AppNav;
|
package/lib/AppNav/Item/index.js
CHANGED
|
@@ -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,
|
|
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 = (
|
|
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
|
-
},
|
|
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
|
-
},
|
|
121
|
+
}, _Item)) || _class) || _class);
|
|
122
122
|
var _default = exports.default = Item;
|
package/lib/AppNav/index.js
CHANGED
|
@@ -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,
|
|
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 = (
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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-
|
|
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": {
|