@instructure/ui-navigation 11.7.4-snapshot-14 → 11.7.4-snapshot-49
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/LICENSE.md +1 -0
- package/es/AppNav/v1/Item/index.js +5 -4
- package/es/AppNav/v1/index.js +5 -5
- package/es/AppNav/v2/Item/index.js +4 -3
- package/es/AppNav/v2/index.js +4 -4
- package/es/exports/a.js +3 -2
- package/es/exports/b.js +3 -2
- package/lib/AppNav/v1/Item/index.js +4 -4
- package/lib/AppNav/v1/index.js +6 -6
- package/lib/AppNav/v2/Item/index.js +3 -3
- package/lib/AppNav/v2/index.js +5 -5
- package/lib/exports/a.js +4 -4
- package/lib/exports/b.js +4 -4
- package/package.json +22 -22
- package/src/AppNav/v1/Item/index.tsx +4 -3
- package/src/AppNav/v1/index.tsx +6 -5
- package/src/AppNav/v2/Item/index.tsx +3 -2
- package/src/AppNav/v2/index.tsx +5 -4
- package/src/exports/a.ts +2 -2
- package/src/exports/b.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/AppNav/v1/Item/index.d.ts +1 -0
- package/types/AppNav/v1/Item/index.d.ts.map +1 -1
- package/types/AppNav/v1/index.d.ts +3 -2
- package/types/AppNav/v1/index.d.ts.map +1 -1
- package/types/AppNav/v2/Item/index.d.ts +1 -0
- package/types/AppNav/v2/Item/index.d.ts.map +1 -1
- package/types/AppNav/v2/index.d.ts +3 -2
- package/types/AppNav/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +2 -2
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +2 -2
- package/types/exports/b.d.ts.map +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
|
-
## [11.7.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-navigation
|
|
9
9
|
|
package/LICENSE.md
CHANGED
|
@@ -29,9 +29,10 @@ import { callRenderProp, getElementType, matchComponentTypes, passthroughProps }
|
|
|
29
29
|
import { View } from '@instructure/ui-view/v11_6';
|
|
30
30
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
31
31
|
import { withStyle } from '@instructure/emotion';
|
|
32
|
-
import generateStyle from
|
|
33
|
-
import generateComponentTheme from
|
|
34
|
-
import { allowedProps } from
|
|
32
|
+
import generateStyle from './styles.js';
|
|
33
|
+
import generateComponentTheme from './theme.js';
|
|
34
|
+
import { allowedProps } from './props.js';
|
|
35
|
+
|
|
35
36
|
/**
|
|
36
37
|
---
|
|
37
38
|
parent: AppNav
|
|
@@ -41,7 +42,7 @@ id: AppNav.Item
|
|
|
41
42
|
**/
|
|
42
43
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
43
44
|
let Item = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Item extends Component {
|
|
44
|
-
static displayName =
|
|
45
|
+
static displayName = 'Item';
|
|
45
46
|
static componentId = 'AppNav.Item';
|
|
46
47
|
static allowedProps = allowedProps;
|
|
47
48
|
static defaultProps = {
|
package/es/AppNav/v1/index.js
CHANGED
|
@@ -28,10 +28,10 @@ import { withStyle } from '@instructure/emotion';
|
|
|
28
28
|
import { callRenderProp, omitProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { View } from '@instructure/ui-view/v11_6';
|
|
30
30
|
import { Menu } from '@instructure/ui-menu/v11_6';
|
|
31
|
-
import { Item } from
|
|
32
|
-
import generateStyle from
|
|
33
|
-
import generateComponentTheme from
|
|
34
|
-
import { allowedProps } from
|
|
31
|
+
import { Item } from './Item/index.js';
|
|
32
|
+
import generateStyle from './styles.js';
|
|
33
|
+
import generateComponentTheme from './theme.js';
|
|
34
|
+
import { allowedProps } from './props.js';
|
|
35
35
|
import { TruncateList } from '@instructure/ui-truncate-list';
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -41,7 +41,7 @@ category: components
|
|
|
41
41
|
**/
|
|
42
42
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
43
43
|
let AppNav = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class AppNav extends Component {
|
|
44
|
-
static displayName =
|
|
44
|
+
static displayName = 'AppNav';
|
|
45
45
|
static componentId = 'AppNav';
|
|
46
46
|
static allowedProps = allowedProps;
|
|
47
47
|
static defaultProps = {
|
|
@@ -29,8 +29,9 @@ import { callRenderProp, getElementType, matchComponentTypes, passthroughProps }
|
|
|
29
29
|
import { View } from '@instructure/ui-view/latest';
|
|
30
30
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
31
31
|
import { withStyleNew } from '@instructure/emotion';
|
|
32
|
-
import generateStyle from
|
|
33
|
-
import { allowedProps } from
|
|
32
|
+
import generateStyle from './styles.js';
|
|
33
|
+
import { allowedProps } from './props.js';
|
|
34
|
+
|
|
34
35
|
/**
|
|
35
36
|
---
|
|
36
37
|
parent: AppNav
|
|
@@ -40,7 +41,7 @@ id: AppNav.Item
|
|
|
40
41
|
**/
|
|
41
42
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
42
43
|
let Item = (_dec = withStyleNew(generateStyle), _dec(_class = class Item extends Component {
|
|
43
|
-
static displayName =
|
|
44
|
+
static displayName = 'Item';
|
|
44
45
|
static componentId = 'AppNav.Item';
|
|
45
46
|
static allowedProps = allowedProps;
|
|
46
47
|
static defaultProps = {
|
package/es/AppNav/v2/index.js
CHANGED
|
@@ -28,9 +28,9 @@ import { withStyleNew } from '@instructure/emotion';
|
|
|
28
28
|
import { callRenderProp, omitProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { View } from '@instructure/ui-view/latest';
|
|
30
30
|
import { Menu } from '@instructure/ui-menu/latest';
|
|
31
|
-
import { Item } from
|
|
32
|
-
import generateStyle from
|
|
33
|
-
import { allowedProps } from
|
|
31
|
+
import { Item } from './Item/index.js';
|
|
32
|
+
import generateStyle from './styles.js';
|
|
33
|
+
import { allowedProps } from './props.js';
|
|
34
34
|
import { TruncateList } from '@instructure/ui-truncate-list';
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -40,7 +40,7 @@ category: components
|
|
|
40
40
|
**/
|
|
41
41
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
42
42
|
let AppNav = (_dec = withStyleNew(generateStyle), _dec(_class = class AppNav extends Component {
|
|
43
|
-
static displayName =
|
|
43
|
+
static displayName = 'AppNav';
|
|
44
44
|
static componentId = 'AppNav';
|
|
45
45
|
static allowedProps = allowedProps;
|
|
46
46
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
|
@@ -21,5 +21,6 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { AppNav } from '../AppNav/v1/index.js';
|
|
26
|
+
export { Item as AppNavItem } from '../AppNav/v1/Item/index.js';
|
package/es/exports/b.js
CHANGED
|
@@ -21,5 +21,6 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { AppNav } from '../AppNav/v2/index.js';
|
|
26
|
+
export { Item as AppNavItem } from '../AppNav/v2/Item/index.js';
|
|
@@ -14,9 +14,9 @@ var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProp
|
|
|
14
14
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
15
15
|
var _ScreenReaderContent = require("@instructure/ui-a11y-content/lib/ScreenReaderContent");
|
|
16
16
|
var _emotion = require("@instructure/emotion");
|
|
17
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
18
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
19
|
-
var _props = require("./props");
|
|
17
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
18
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
19
|
+
var _props = require("./props.js");
|
|
20
20
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
21
21
|
var _dec, _class;
|
|
22
22
|
/*
|
|
@@ -50,7 +50,7 @@ id: AppNav.Item
|
|
|
50
50
|
@module Item
|
|
51
51
|
**/
|
|
52
52
|
let Item = exports.Item = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Item extends _react.Component {
|
|
53
|
-
static displayName =
|
|
53
|
+
static displayName = 'Item';
|
|
54
54
|
static componentId = 'AppNav.Item';
|
|
55
55
|
static allowedProps = _props.allowedProps;
|
|
56
56
|
static defaultProps = {
|
package/lib/AppNav/v1/index.js
CHANGED
|
@@ -11,10 +11,10 @@ var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js
|
|
|
11
11
|
var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
|
|
12
12
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
13
13
|
var _v11_2 = require("@instructure/ui-menu/v11_6");
|
|
14
|
-
var
|
|
15
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
16
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
17
|
-
var _props = require("./props");
|
|
14
|
+
var _index = require("./Item/index.js");
|
|
15
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
16
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
17
|
+
var _props = require("./props.js");
|
|
18
18
|
var _TruncateList = require("@instructure/ui-truncate-list/lib/TruncateList");
|
|
19
19
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
20
20
|
var _dec, _class;
|
|
@@ -47,7 +47,7 @@ category: components
|
|
|
47
47
|
---
|
|
48
48
|
**/
|
|
49
49
|
let AppNav = exports.AppNav = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class AppNav extends _react.Component {
|
|
50
|
-
static displayName =
|
|
50
|
+
static displayName = 'AppNav';
|
|
51
51
|
static componentId = 'AppNav';
|
|
52
52
|
static allowedProps = _props.allowedProps;
|
|
53
53
|
static defaultProps = {
|
|
@@ -57,7 +57,7 @@ let AppNav = exports.AppNav = (_dec = (0, _emotion.withStyle)(_styles.default, _
|
|
|
57
57
|
renderTruncateLabel: () => 'More',
|
|
58
58
|
visibleItemsCount: 0
|
|
59
59
|
};
|
|
60
|
-
static Item =
|
|
60
|
+
static Item = _index.Item;
|
|
61
61
|
state = {
|
|
62
62
|
isMeasuring: false
|
|
63
63
|
};
|
|
@@ -14,8 +14,8 @@ var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProp
|
|
|
14
14
|
var _latest = require("@instructure/ui-view/latest");
|
|
15
15
|
var _ScreenReaderContent = require("@instructure/ui-a11y-content/lib/ScreenReaderContent");
|
|
16
16
|
var _emotion = require("@instructure/emotion");
|
|
17
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
18
|
-
var _props = require("./props");
|
|
17
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
18
|
+
var _props = require("./props.js");
|
|
19
19
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
20
20
|
var _dec, _class;
|
|
21
21
|
/*
|
|
@@ -49,7 +49,7 @@ id: AppNav.Item
|
|
|
49
49
|
@module Item
|
|
50
50
|
**/
|
|
51
51
|
let Item = exports.Item = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Item extends _react.Component {
|
|
52
|
-
static displayName =
|
|
52
|
+
static displayName = 'Item';
|
|
53
53
|
static componentId = 'AppNav.Item';
|
|
54
54
|
static allowedProps = _props.allowedProps;
|
|
55
55
|
static defaultProps = {
|
package/lib/AppNav/v2/index.js
CHANGED
|
@@ -11,9 +11,9 @@ var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js
|
|
|
11
11
|
var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
|
|
12
12
|
var _latest = require("@instructure/ui-view/latest");
|
|
13
13
|
var _latest2 = require("@instructure/ui-menu/latest");
|
|
14
|
-
var
|
|
15
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
16
|
-
var _props = require("./props");
|
|
14
|
+
var _index = require("./Item/index.js");
|
|
15
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
16
|
+
var _props = require("./props.js");
|
|
17
17
|
var _TruncateList = require("@instructure/ui-truncate-list/lib/TruncateList");
|
|
18
18
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
19
19
|
var _dec, _class;
|
|
@@ -46,7 +46,7 @@ category: components
|
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
48
|
let AppNav = exports.AppNav = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class AppNav extends _react.Component {
|
|
49
|
-
static displayName =
|
|
49
|
+
static displayName = 'AppNav';
|
|
50
50
|
static componentId = 'AppNav';
|
|
51
51
|
static allowedProps = _props.allowedProps;
|
|
52
52
|
static defaultProps = {
|
|
@@ -56,7 +56,7 @@ let AppNav = exports.AppNav = (_dec = (0, _emotion.withStyleNew)(_styles.default
|
|
|
56
56
|
renderTruncateLabel: () => 'More',
|
|
57
57
|
visibleItemsCount: 0
|
|
58
58
|
};
|
|
59
|
-
static Item =
|
|
59
|
+
static Item = _index.Item;
|
|
60
60
|
state = {
|
|
61
61
|
isMeasuring: false
|
|
62
62
|
};
|
package/lib/exports/a.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "AppNav", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.AppNav;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AppNavItem", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.Item;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../AppNav/v1/index.js");
|
|
19
|
+
var _index2 = require("../AppNav/v1/Item/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "AppNav", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.AppNav;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AppNavItem", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.Item;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../AppNav/v2/index.js");
|
|
19
|
+
var _index2 = require("../AppNav/v2/Item/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-navigation",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-49",
|
|
4
4
|
"description": "Main and application level navigational components",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,33 +15,33 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/console": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-a11y-utils": "11.7.4-snapshot-
|
|
24
|
-
"@instructure/ui-badge": "11.7.4-snapshot-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"@instructure/ui-
|
|
30
|
-
"@instructure/ui-tooltip": "11.7.4-snapshot-
|
|
31
|
-
"@instructure/ui-
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-utils": "11.7.4-snapshot-
|
|
34
|
-
"@instructure/ui-view": "11.7.4-snapshot-
|
|
18
|
+
"@instructure/console": "11.7.4-snapshot-49",
|
|
19
|
+
"@instructure/debounce": "11.7.4-snapshot-49",
|
|
20
|
+
"@instructure/emotion": "11.7.4-snapshot-49",
|
|
21
|
+
"@instructure/shared-types": "11.7.4-snapshot-49",
|
|
22
|
+
"@instructure/ui-a11y-content": "11.7.4-snapshot-49",
|
|
23
|
+
"@instructure/ui-a11y-utils": "11.7.4-snapshot-49",
|
|
24
|
+
"@instructure/ui-badge": "11.7.4-snapshot-49",
|
|
25
|
+
"@instructure/ui-focusable": "11.7.4-snapshot-49",
|
|
26
|
+
"@instructure/ui-icons": "11.7.4-snapshot-49",
|
|
27
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-49",
|
|
28
|
+
"@instructure/ui-menu": "11.7.4-snapshot-49",
|
|
29
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-49",
|
|
30
|
+
"@instructure/ui-tooltip": "11.7.4-snapshot-49",
|
|
31
|
+
"@instructure/ui-truncate-list": "11.7.4-snapshot-49",
|
|
32
|
+
"@instructure/ui-themes": "11.7.4-snapshot-49",
|
|
33
|
+
"@instructure/ui-utils": "11.7.4-snapshot-49",
|
|
34
|
+
"@instructure/ui-view": "11.7.4-snapshot-49"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@testing-library/jest-dom": "^6.6.3",
|
|
38
38
|
"@testing-library/react": "15.0.7",
|
|
39
39
|
"@testing-library/user-event": "^14.6.1",
|
|
40
40
|
"vitest": "^3.2.2",
|
|
41
|
-
"@instructure/ui-
|
|
42
|
-
"@instructure/ui-
|
|
43
|
-
"@instructure/ui-
|
|
44
|
-
"@instructure/ui-
|
|
41
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-49",
|
|
42
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-49",
|
|
43
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-49",
|
|
44
|
+
"@instructure/ui-scripts": "11.7.4-snapshot-49"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=18 <=19"
|
|
@@ -38,10 +38,10 @@ import type { ScreenReaderContentProps } from '@instructure/ui-a11y-content'
|
|
|
38
38
|
|
|
39
39
|
import { withStyle } from '@instructure/emotion'
|
|
40
40
|
|
|
41
|
-
import generateStyle from './styles'
|
|
42
|
-
import generateComponentTheme from './theme'
|
|
41
|
+
import generateStyle from './styles.js'
|
|
42
|
+
import generateComponentTheme from './theme.js'
|
|
43
43
|
import type { AppNavItemProps } from './props'
|
|
44
|
-
import { allowedProps } from './props'
|
|
44
|
+
import { allowedProps } from './props.js'
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
---
|
|
@@ -52,6 +52,7 @@ id: AppNav.Item
|
|
|
52
52
|
**/
|
|
53
53
|
@withStyle(generateStyle, generateComponentTheme)
|
|
54
54
|
class Item extends Component<AppNavItemProps> {
|
|
55
|
+
static displayName = 'Item'
|
|
55
56
|
static readonly componentId = 'AppNav.Item'
|
|
56
57
|
|
|
57
58
|
static allowedProps = allowedProps
|
package/src/AppNav/v1/index.tsx
CHANGED
|
@@ -30,13 +30,13 @@ import { callRenderProp, omitProps } from '@instructure/ui-react-utils'
|
|
|
30
30
|
|
|
31
31
|
import { View } from '@instructure/ui-view/v11_6'
|
|
32
32
|
import { Menu } from '@instructure/ui-menu/v11_6'
|
|
33
|
-
import { Item } from './Item'
|
|
33
|
+
import { Item } from './Item/index.js'
|
|
34
34
|
|
|
35
|
-
import generateStyle from './styles'
|
|
36
|
-
import generateComponentTheme from './theme'
|
|
35
|
+
import generateStyle from './styles.js'
|
|
36
|
+
import generateComponentTheme from './theme.js'
|
|
37
37
|
import type { AppNavProps } from './props'
|
|
38
|
-
import { allowedProps } from './props'
|
|
39
|
-
import { AppNavItemProps } from './Item/props'
|
|
38
|
+
import { allowedProps } from './props.js'
|
|
39
|
+
import { AppNavItemProps } from './Item/props.js'
|
|
40
40
|
|
|
41
41
|
import { TruncateList } from '@instructure/ui-truncate-list'
|
|
42
42
|
|
|
@@ -47,6 +47,7 @@ category: components
|
|
|
47
47
|
**/
|
|
48
48
|
@withStyle(generateStyle, generateComponentTheme)
|
|
49
49
|
class AppNav extends Component<AppNavProps> {
|
|
50
|
+
static displayName = 'AppNav'
|
|
50
51
|
static readonly componentId = 'AppNav'
|
|
51
52
|
|
|
52
53
|
static allowedProps = allowedProps
|
|
@@ -38,9 +38,9 @@ import type { ScreenReaderContentProps } from '@instructure/ui-a11y-content'
|
|
|
38
38
|
|
|
39
39
|
import { withStyleNew } from '@instructure/emotion'
|
|
40
40
|
|
|
41
|
-
import generateStyle from './styles'
|
|
41
|
+
import generateStyle from './styles.js'
|
|
42
42
|
import type { AppNavItemProps } from './props'
|
|
43
|
-
import { allowedProps } from './props'
|
|
43
|
+
import { allowedProps } from './props.js'
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
---
|
|
@@ -51,6 +51,7 @@ id: AppNav.Item
|
|
|
51
51
|
**/
|
|
52
52
|
@withStyleNew(generateStyle)
|
|
53
53
|
class Item extends Component<AppNavItemProps> {
|
|
54
|
+
static displayName = 'Item'
|
|
54
55
|
static readonly componentId = 'AppNav.Item'
|
|
55
56
|
|
|
56
57
|
static allowedProps = allowedProps
|
package/src/AppNav/v2/index.tsx
CHANGED
|
@@ -30,12 +30,12 @@ import { callRenderProp, omitProps } from '@instructure/ui-react-utils'
|
|
|
30
30
|
|
|
31
31
|
import { View } from '@instructure/ui-view/latest'
|
|
32
32
|
import { Menu } from '@instructure/ui-menu/latest'
|
|
33
|
-
import { Item } from './Item'
|
|
33
|
+
import { Item } from './Item/index.js'
|
|
34
34
|
|
|
35
|
-
import generateStyle from './styles'
|
|
35
|
+
import generateStyle from './styles.js'
|
|
36
36
|
import type { AppNavProps } from './props'
|
|
37
|
-
import { allowedProps } from './props'
|
|
38
|
-
import { AppNavItemProps } from './Item/props'
|
|
37
|
+
import { allowedProps } from './props.js'
|
|
38
|
+
import { AppNavItemProps } from './Item/props.js'
|
|
39
39
|
|
|
40
40
|
import { TruncateList } from '@instructure/ui-truncate-list'
|
|
41
41
|
|
|
@@ -46,6 +46,7 @@ category: components
|
|
|
46
46
|
**/
|
|
47
47
|
@withStyleNew(generateStyle)
|
|
48
48
|
class AppNav extends Component<AppNavProps> {
|
|
49
|
+
static displayName = 'AppNav'
|
|
49
50
|
static readonly componentId = 'AppNav'
|
|
50
51
|
|
|
51
52
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { AppNav } from '../AppNav/v1'
|
|
26
|
-
export { Item as AppNavItem } from '../AppNav/v1/Item'
|
|
25
|
+
export { AppNav } from '../AppNav/v1/index.js'
|
|
26
|
+
export { Item as AppNavItem } from '../AppNav/v1/Item/index.js'
|
|
27
27
|
|
|
28
28
|
export type { AppNavProps } from '../AppNav/v1/props'
|
|
29
29
|
export type { AppNavItemProps } from '../AppNav/v1/Item/props'
|
package/src/exports/b.ts
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { AppNav } from '../AppNav/v2'
|
|
26
|
-
export { Item as AppNavItem } from '../AppNav/v2/Item'
|
|
25
|
+
export { AppNav } from '../AppNav/v2/index.js'
|
|
26
|
+
export { Item as AppNavItem } from '../AppNav/v2/Item/index.js'
|
|
27
27
|
|
|
28
28
|
export type { AppNavProps } from '../AppNav/v2/props'
|
|
29
29
|
export type { AppNavItemProps } from '../AppNav/v2/Item/props'
|