@instructure/ui-top-nav-bar 11.4.0 → 11.4.1-snapshot-0

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 CHANGED
@@ -3,6 +3,14 @@
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.4.1-snapshot-0](https://github.com/instructure/instructure-ui/compare/v11.4.0...v11.4.1-snapshot-0) (2026-02-02)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-top-nav-bar
9
+
10
+
11
+
12
+
13
+
6
14
  # [11.4.0](https://github.com/instructure/instructure-ui/compare/v11.3.0...v11.4.0) (2026-01-20)
7
15
 
8
16
  **Note:** Version bump only for package @instructure/ui-top-nav-bar
@@ -30,12 +30,12 @@ import { withStyle } from '@instructure/emotion';
30
30
  import { Drilldown } from '@instructure/ui-drilldown';
31
31
  import { IconMoreLine } from '@instructure/ui-icons';
32
32
  import { TruncateList } from '@instructure/ui-truncate-list';
33
- import { TopNavBarItem } from '../TopNavBarItem';
34
- import { mapItemsForDrilldown, renderMappedItemDrilldownSubpages, renderMappedItemsAsDrilldownOptions } from '../utils/mapItemsForDrilldown';
35
- import { TopNavBarContext } from '../TopNavBarContext';
36
- import generateStyle from './styles';
37
- import generateComponentTheme from './theme';
38
- import { allowedProps } from './props';
33
+ import { TopNavBarItem } from "../TopNavBarItem/index.js";
34
+ import { mapItemsForDrilldown, renderMappedItemDrilldownSubpages, renderMappedItemsAsDrilldownOptions } from "../utils/mapItemsForDrilldown.js";
35
+ import { TopNavBarContext } from "../TopNavBarContext.js";
36
+ import generateStyle from "./styles.js";
37
+ import generateComponentTheme from "./theme.js";
38
+ import { allowedProps } from "./props.js";
39
39
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
40
40
  import { createElement as _createElement } from "@emotion/react";
41
41
  /**
@@ -28,10 +28,10 @@ import { getElementType, omitProps } from '@instructure/ui-react-utils';
28
28
  import { withStyle } from '@instructure/emotion';
29
29
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
30
30
  import { View } from '@instructure/ui-view';
31
- import { TopNavBarContext } from '../TopNavBarContext';
32
- import generateStyle from './styles';
33
- import generateComponentTheme from './theme';
34
- import { allowedProps } from './props';
31
+ import { TopNavBarContext } from "../TopNavBarContext.js";
32
+ import generateStyle from "./styles.js";
33
+ import generateComponentTheme from "./theme.js";
34
+ import { allowedProps } from "./props.js";
35
35
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
36
36
  /**
37
37
  ---
@@ -24,12 +24,12 @@ var _dec, _class, _TopNavBarBreadcrumb, _IconHamburgerLine;
24
24
  */
25
25
 
26
26
  import { Children, Component } from 'react';
27
- import { allowedProps } from './props';
28
- import TopNavBar from '../index';
27
+ import { allowedProps } from "./props.js";
28
+ import TopNavBar from "../index.js";
29
29
  import { withStyle } from '@instructure/emotion';
30
- import generateStyle from '../TopNavBarBreadcrumb/styles';
30
+ import generateStyle from "../TopNavBarBreadcrumb/styles.js";
31
31
  import { IconArrowOpenStartLine, IconHamburgerLine } from '@instructure/ui-icons';
32
- import TopNavBarContext from '../TopNavBarContext';
32
+ import TopNavBarContext from "../TopNavBarContext.js";
33
33
  import { error } from '@instructure/console';
34
34
  import { Link } from '@instructure/ui-link';
35
35
 
@@ -35,10 +35,10 @@ import { Tooltip } from '@instructure/ui-tooltip';
35
35
  import { Popover } from '@instructure/ui-popover';
36
36
  import { Drilldown } from '@instructure/ui-drilldown';
37
37
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
38
- import { TopNavBarContext } from '../TopNavBarContext';
39
- import generateStyle from './styles';
40
- import generateComponentTheme from './theme';
41
- import { allowedProps } from './props';
38
+ import { TopNavBarContext } from "../TopNavBarContext.js";
39
+ import generateStyle from "./styles.js";
40
+ import generateComponentTheme from "./theme.js";
41
+ import { allowedProps } from "./props.js";
42
42
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
43
43
  const navbarStackingDefault = 10000;
44
44
  const submenuStacking = navbarStackingDefault + 1;
@@ -26,10 +26,10 @@ var _dec, _class, _TopNavBarDesktopLayout;
26
26
  import { Children, Component } from 'react';
27
27
  import { omitProps } from '@instructure/ui-react-utils';
28
28
  import { withStyle } from '@instructure/emotion';
29
- import { TopNavBarContext } from '../../TopNavBarContext';
30
- import generateStyle from './styles';
31
- import generateComponentTheme from './theme';
32
- import { allowedProps } from './props';
29
+ import { TopNavBarContext } from "../../TopNavBarContext.js";
30
+ import generateStyle from "./styles.js";
31
+ import generateComponentTheme from "./theme.js";
32
+ import { allowedProps } from "./props.js";
33
33
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -21,8 +21,7 @@
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
- import { commonAllowedProps, desktopAllowedProps } from '../props';
24
+ import { commonAllowedProps, desktopAllowedProps } from "../props.js";
26
25
  const allowedProps = [
27
26
  // Edit allowed props in TopNabBarLayout/props.ts
28
27
  ...commonAllowedProps, ...desktopAllowedProps];
@@ -34,12 +34,12 @@ import { IconXLine, IconHamburgerLine, IconArrowOpenDownSolid, IconArrowOpenUpSo
34
34
  import { Avatar } from '@instructure/ui-avatar';
35
35
  import { Dialog } from '@instructure/ui-dialog';
36
36
  import { Drilldown } from '@instructure/ui-drilldown';
37
- import { TopNavBarItem } from '../../TopNavBarItem';
38
- import { mapItemsForDrilldown, renderMappedItemDrilldownSubpages, renderMappedItemsAsDrilldownOptions } from '../../utils/mapItemsForDrilldown';
39
- import { TopNavBarContext } from '../../TopNavBarContext';
40
- import generateStyle from './styles';
41
- import generateComponentTheme from './theme';
42
- import { allowedProps } from './props';
37
+ import { TopNavBarItem } from "../../TopNavBarItem/index.js";
38
+ import { mapItemsForDrilldown, renderMappedItemDrilldownSubpages, renderMappedItemsAsDrilldownOptions } from "../../utils/mapItemsForDrilldown.js";
39
+ import { TopNavBarContext } from "../../TopNavBarContext.js";
40
+ import generateStyle from "./styles.js";
41
+ import generateComponentTheme from "./theme.js";
42
+ import { allowedProps } from "./props.js";
43
43
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
44
44
  /**
45
45
  ---
@@ -21,8 +21,7 @@
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
- import { commonAllowedProps, smallViewportAllowedProps } from '../props';
24
+ import { commonAllowedProps, smallViewportAllowedProps } from "../props.js";
26
25
  const allowedProps = [
27
26
  // Edit allowed props in TopNavBarLayout/props.ts
28
27
  ...commonAllowedProps, ...smallViewportAllowedProps];
@@ -27,11 +27,11 @@ var _dec, _class, _TopNavBarLayout;
27
27
 
28
28
  import { Component } from 'react';
29
29
  import { withStyle } from '@instructure/emotion';
30
- import { TopNavBarContext } from '../TopNavBarContext';
31
- import generateComponentTheme from './theme';
32
- import { TopNavBarSmallViewportLayout } from './SmallViewportLayout';
33
- import { TopNavBarDesktopLayout } from './DesktopLayout';
34
- import { allowedProps } from './props';
30
+ import { TopNavBarContext } from "../TopNavBarContext.js";
31
+ import generateComponentTheme from "./theme.js";
32
+ import { TopNavBarSmallViewportLayout } from "./SmallViewportLayout/index.js";
33
+ import { TopNavBarDesktopLayout } from "./DesktopLayout/index.js";
34
+ import { allowedProps } from "./props.js";
35
35
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
36
36
  /**
37
37
  ---
@@ -21,10 +21,8 @@
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
- import desktopTheme from './DesktopLayout/theme';
26
- import smallViewportTheme from './SmallViewportLayout/theme';
27
-
24
+ import desktopTheme from "./DesktopLayout/theme.js";
25
+ import smallViewportTheme from "./SmallViewportLayout/theme.js";
28
26
  /**
29
27
  * Generates the theme object for the component from the theme and provided additional information
30
28
  * @param {Object} theme The actual theme object.
@@ -29,12 +29,12 @@ import { warn, error } from '@instructure/console';
29
29
  import { withStyle } from '@instructure/emotion';
30
30
  import { Drilldown } from '@instructure/ui-drilldown';
31
31
  import { TruncateList } from '@instructure/ui-truncate-list';
32
- import { TopNavBarContext } from '../TopNavBarContext';
33
- import { TopNavBarItem } from '../TopNavBarItem';
34
- import { mapItemsForDrilldown, renderMappedItemDrilldownSubpages, renderMappedItemsAsDrilldownOptions } from '../utils/mapItemsForDrilldown';
35
- import generateStyle from './styles';
36
- import generateComponentTheme from './theme';
37
- import { allowedProps } from './props';
32
+ import { TopNavBarContext } from "../TopNavBarContext.js";
33
+ import { TopNavBarItem } from "../TopNavBarItem/index.js";
34
+ import { mapItemsForDrilldown, renderMappedItemDrilldownSubpages, renderMappedItemsAsDrilldownOptions } from "../utils/mapItemsForDrilldown.js";
35
+ import generateStyle from "./styles.js";
36
+ import generateComponentTheme from "./theme.js";
37
+ import { allowedProps } from "./props.js";
38
38
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
39
39
  import { createElement as _createElement } from "@emotion/react";
40
40
  /**
@@ -27,9 +27,9 @@ import { Component, Children } from 'react';
27
27
  import { error } from '@instructure/console';
28
28
  import { omitProps } from '@instructure/ui-react-utils';
29
29
  import { withStyle } from '@instructure/emotion';
30
- import { TopNavBarContext } from '../TopNavBarContext';
31
- import generateStyle from './styles';
32
- import { allowedProps } from './props';
30
+ import { TopNavBarContext } from "../TopNavBarContext.js";
31
+ import generateStyle from "./styles.js";
32
+ import { allowedProps } from "./props.js";
33
33
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -27,15 +27,15 @@ import { error } from '@instructure/console';
27
27
  import { px } from '@instructure/ui-utils';
28
28
  import { matchComponentTypes } from '@instructure/ui-react-utils';
29
29
  import { Responsive } from '@instructure/ui-responsive';
30
- import { TopNavBarActionItems } from './TopNavBarActionItems';
31
- import { TopNavBarBrand } from './TopNavBarBrand';
32
- import { TopNavBarItem } from './TopNavBarItem';
33
- import { TopNavBarLayout } from './TopNavBarLayout';
34
- import { TopNavBarMenuItems } from './TopNavBarMenuItems';
35
- import { TopNavBarUser } from './TopNavBarUser';
36
- import { TopNavBarBreadcrumb } from './TopNavBarBreadcrumb';
37
- import { TopNavBarContext } from './TopNavBarContext';
38
- import { allowedProps } from './props';
30
+ import { TopNavBarActionItems } from "./TopNavBarActionItems/index.js";
31
+ import { TopNavBarBrand } from "./TopNavBarBrand/index.js";
32
+ import { TopNavBarItem } from "./TopNavBarItem/index.js";
33
+ import { TopNavBarLayout } from "./TopNavBarLayout/index.js";
34
+ import { TopNavBarMenuItems } from "./TopNavBarMenuItems/index.js";
35
+ import { TopNavBarUser } from "./TopNavBarUser/index.js";
36
+ import { TopNavBarBreadcrumb } from "./TopNavBarBreadcrumb/index.js";
37
+ import { TopNavBarContext } from "./TopNavBarContext.js";
38
+ import { allowedProps } from "./props.js";
39
39
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
40
40
  /**
41
41
  ---
@@ -25,9 +25,9 @@ var _TopNavBar$Breadcrumb;
25
25
 
26
26
  import { Drilldown } from '@instructure/ui-drilldown';
27
27
  import { IconQuestionLine, IconAlertsLine, IconConfigureLine, IconSearchLine, IconDiscussionLine, IconDashboardLine } from '@instructure/ui-icons';
28
- import { TopNavBarContext } from '../TopNavBarContext';
29
- import { TopNavBar } from '../index';
30
- import { elevateIcon } from './exampleSvgFiles';
28
+ import { TopNavBarContext } from "../TopNavBarContext.js";
29
+ import { TopNavBar } from "../index.js";
30
+ import { elevateIcon } from "./exampleSvgFiles.js";
31
31
  import { Breadcrumb } from '@instructure/ui-breadcrumb';
32
32
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
33
33
  const avatarExample = {
@@ -27,7 +27,7 @@ import { warn } from '@instructure/console';
27
27
  import { generateId } from '@instructure/ui-utils';
28
28
  import { matchComponentTypes } from '@instructure/ui-react-utils';
29
29
  import { Drilldown } from '@instructure/ui-drilldown';
30
- import { TopNavBarItem } from '../TopNavBarItem';
30
+ import { TopNavBarItem } from "../TopNavBarItem/index.js";
31
31
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
32
32
  import { createElement as _createElement } from "@emotion/react";
33
33
  const mapItemsForDrilldown = (itemList, options = {}) => {
package/es/index.js CHANGED
@@ -21,12 +21,11 @@
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 { TopNavBar } from './TopNavBar';
26
- export { TopNavBarActionItems } from './TopNavBar/TopNavBarActionItems';
27
- export { TopNavBarBrand } from './TopNavBar/TopNavBarBrand';
28
- export { TopNavBarBreadcrumb } from './TopNavBar/TopNavBarBreadcrumb';
29
- export { TopNavBarItem } from './TopNavBar/TopNavBarItem';
30
- export { TopNavBarLayout } from './TopNavBar/TopNavBarLayout';
31
- export { TopNavBarMenuItems } from './TopNavBar/TopNavBarMenuItems';
32
- export { TopNavBarUser } from './TopNavBar/TopNavBarUser';
24
+ export { TopNavBar } from "./TopNavBar/index.js";
25
+ export { TopNavBarActionItems } from "./TopNavBar/TopNavBarActionItems/index.js";
26
+ export { TopNavBarBrand } from "./TopNavBar/TopNavBarBrand/index.js";
27
+ export { TopNavBarBreadcrumb } from "./TopNavBar/TopNavBarBreadcrumb/index.js";
28
+ export { TopNavBarItem } from "./TopNavBar/TopNavBarItem/index.js";
29
+ export { TopNavBarLayout } from "./TopNavBar/TopNavBarLayout/index.js";
30
+ export { TopNavBarMenuItems } from "./TopNavBar/TopNavBarMenuItems/index.js";
31
+ export { TopNavBarUser } from "./TopNavBar/TopNavBarUser/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-top-nav-bar",
3
- "version": "11.4.0",
3
+ "version": "11.4.1-snapshot-0",
4
4
  "description": "A UI component library made by Instructure Inc.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,37 +15,37 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.27.6",
18
- "@instructure/console": "11.4.0",
19
- "@instructure/shared-types": "11.4.0",
20
- "@instructure/emotion": "11.4.0",
21
- "@instructure/ui-a11y-content": "11.4.0",
22
- "@instructure/ui-avatar": "11.4.0",
23
- "@instructure/ui-buttons": "11.4.0",
24
- "@instructure/ui-dialog": "11.4.0",
25
- "@instructure/ui-breadcrumb": "11.4.0",
26
- "@instructure/ui-drilldown": "11.4.0",
27
- "@instructure/ui-dom-utils": "11.4.0",
28
- "@instructure/ui-icons": "11.4.0",
29
- "@instructure/ui-link": "11.4.0",
30
- "@instructure/ui-popover": "11.4.0",
31
- "@instructure/ui-react-utils": "11.4.0",
32
- "@instructure/ui-responsive": "11.4.0",
33
- "@instructure/ui-tooltip": "11.4.0",
34
- "@instructure/ui-tray": "11.4.0",
35
- "@instructure/ui-truncate-list": "11.4.0",
36
- "@instructure/ui-view": "11.4.0",
37
- "@instructure/ui-utils": "11.4.0"
18
+ "@instructure/shared-types": "11.4.1-snapshot-0",
19
+ "@instructure/console": "11.4.1-snapshot-0",
20
+ "@instructure/ui-a11y-content": "11.4.1-snapshot-0",
21
+ "@instructure/ui-breadcrumb": "11.4.1-snapshot-0",
22
+ "@instructure/ui-avatar": "11.4.1-snapshot-0",
23
+ "@instructure/emotion": "11.4.1-snapshot-0",
24
+ "@instructure/ui-buttons": "11.4.1-snapshot-0",
25
+ "@instructure/ui-drilldown": "11.4.1-snapshot-0",
26
+ "@instructure/ui-dialog": "11.4.1-snapshot-0",
27
+ "@instructure/ui-dom-utils": "11.4.1-snapshot-0",
28
+ "@instructure/ui-popover": "11.4.1-snapshot-0",
29
+ "@instructure/ui-icons": "11.4.1-snapshot-0",
30
+ "@instructure/ui-link": "11.4.1-snapshot-0",
31
+ "@instructure/ui-react-utils": "11.4.1-snapshot-0",
32
+ "@instructure/ui-tooltip": "11.4.1-snapshot-0",
33
+ "@instructure/ui-tray": "11.4.1-snapshot-0",
34
+ "@instructure/ui-responsive": "11.4.1-snapshot-0",
35
+ "@instructure/ui-truncate-list": "11.4.1-snapshot-0",
36
+ "@instructure/ui-utils": "11.4.1-snapshot-0",
37
+ "@instructure/ui-view": "11.4.1-snapshot-0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@testing-library/jest-dom": "^6.6.3",
41
41
  "@testing-library/react": "15.0.7",
42
42
  "@testing-library/user-event": "^14.6.1",
43
43
  "vitest": "^3.2.2",
44
- "@instructure/ui-axe-check": "11.4.0",
45
- "@instructure/ui-babel-preset": "11.4.0",
46
- "@instructure/ui-scripts": "11.4.0",
47
- "@instructure/ui-color-utils": "11.4.0",
48
- "@instructure/ui-themes": "11.4.0"
44
+ "@instructure/ui-axe-check": "11.4.1-snapshot-0",
45
+ "@instructure/ui-babel-preset": "11.4.1-snapshot-0",
46
+ "@instructure/ui-color-utils": "11.4.1-snapshot-0",
47
+ "@instructure/ui-scripts": "11.4.1-snapshot-0",
48
+ "@instructure/ui-themes": "11.4.1-snapshot-0"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "react": ">=18 <=19"
@@ -54,6 +54,19 @@
54
54
  "access": "public"
55
55
  },
56
56
  "sideEffects": false,
57
+ "exports": {
58
+ ".": {
59
+ "types": "./types/index.d.ts",
60
+ "import": "./es/index.js",
61
+ "require": "./lib/index.js",
62
+ "default": "./es/index.js"
63
+ },
64
+ "./lib/*": "./lib/*",
65
+ "./es/*": "./es/*",
66
+ "./types/*": "./types/*",
67
+ "./package.json": "./package.json",
68
+ "./src/*": "./src/*"
69
+ },
57
70
  "scripts": {
58
71
  "lint": "ui-scripts lint",
59
72
  "lint:fix": "ui-scripts lint --fix",