@instructure/ui-navigation 11.7.3 → 11.7.4-pr-snapshot-1781695314229

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE.md +1 -0
  3. package/{lib/AppNav/v1/Item/props.js → babel.config.cjs} +12 -7
  4. package/es/AppNav/v1/Item/index.js +5 -4
  5. package/es/AppNav/v1/index.js +5 -5
  6. package/es/AppNav/v2/Item/index.js +4 -3
  7. package/es/AppNav/v2/index.js +4 -4
  8. package/es/exports/a.js +3 -2
  9. package/es/exports/b.js +3 -2
  10. package/package.json +24 -29
  11. package/src/AppNav/v1/Item/index.tsx +4 -3
  12. package/src/AppNav/v1/index.tsx +6 -5
  13. package/src/AppNav/v2/Item/index.tsx +3 -2
  14. package/src/AppNav/v2/index.tsx +5 -4
  15. package/src/exports/a.ts +2 -2
  16. package/src/exports/b.ts +2 -2
  17. package/tsconfig.build.tsbuildinfo +1 -1
  18. package/types/AppNav/v1/Item/index.d.ts +1 -0
  19. package/types/AppNav/v1/Item/index.d.ts.map +1 -1
  20. package/types/AppNav/v1/index.d.ts +3 -2
  21. package/types/AppNav/v1/index.d.ts.map +1 -1
  22. package/types/AppNav/v2/Item/index.d.ts +1 -0
  23. package/types/AppNav/v2/Item/index.d.ts.map +1 -1
  24. package/types/AppNav/v2/index.d.ts +3 -2
  25. package/types/AppNav/v2/index.d.ts.map +1 -1
  26. package/types/exports/a.d.ts +2 -2
  27. package/types/exports/a.d.ts.map +1 -1
  28. package/types/exports/b.d.ts +2 -2
  29. package/types/exports/b.d.ts.map +1 -1
  30. package/lib/AppNav/v1/Item/index.js +0 -126
  31. package/lib/AppNav/v1/Item/styles.js +0 -93
  32. package/lib/AppNav/v1/Item/theme.js +0 -56
  33. package/lib/AppNav/v1/index.js +0 -132
  34. package/lib/AppNav/v1/props.js +0 -31
  35. package/lib/AppNav/v1/styles.js +0 -64
  36. package/lib/AppNav/v1/theme.js +0 -57
  37. package/lib/AppNav/v2/Item/index.js +0 -125
  38. package/lib/AppNav/v2/Item/props.js +0 -31
  39. package/lib/AppNav/v2/Item/styles.js +0 -93
  40. package/lib/AppNav/v2/index.js +0 -131
  41. package/lib/AppNav/v2/props.js +0 -31
  42. package/lib/AppNav/v2/styles.js +0 -64
  43. package/lib/exports/a.js +0 -19
  44. package/lib/exports/b.js +0 -19
  45. package/lib/package.json +0 -1
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.7.4-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-navigation
9
+
10
+
11
+
12
+
13
+
6
14
  ## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
7
15
 
8
16
 
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -1,9 +1,3 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.allowedProps = void 0;
7
1
  /*
8
2
  * The MIT License (MIT)
9
3
  *
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
28
22
  * SOFTWARE.
29
23
  */
30
24
 
31
- const allowedProps = exports.allowedProps = ['renderLabel', 'renderAfter', 'renderIcon', 'href', 'onClick', 'isSelected', 'elementRef', 'as', 'cursor', 'isDisabled'];
25
+ module.exports = {
26
+ presets: [
27
+ [
28
+ require('@instructure/ui-babel-preset'),
29
+ {
30
+ esModules: Boolean(process.env.ES_MODULES),
31
+ removeConsole: process.env.NODE_ENV === 'production',
32
+ transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
33
+ }
34
+ ]
35
+ ]
36
+ }
@@ -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 "./styles.js";
33
- import generateComponentTheme from "./theme.js";
34
- import { allowedProps } from "./props.js";
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 = "Item";
45
+ static displayName = 'Item';
45
46
  static componentId = 'AppNav.Item';
46
47
  static allowedProps = allowedProps;
47
48
  static defaultProps = {
@@ -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 "./Item/index.js";
32
- import generateStyle from "./styles.js";
33
- import generateComponentTheme from "./theme.js";
34
- import { allowedProps } from "./props.js";
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 = "AppNav";
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 "./styles.js";
33
- import { allowedProps } from "./props.js";
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 = "Item";
44
+ static displayName = 'Item';
44
45
  static componentId = 'AppNav.Item';
45
46
  static allowedProps = allowedProps;
46
47
  static defaultProps = {
@@ -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 "./Item/index.js";
32
- import generateStyle from "./styles.js";
33
- import { allowedProps } from "./props.js";
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 = "AppNav";
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
- export { AppNav } from "../AppNav/v1/index.js";
25
- export { Item as AppNavItem } from "../AppNav/v1/Item/index.js";
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
- export { AppNav } from "../AppNav/v2/index.js";
25
- export { Item as AppNavItem } from "../AppNav/v2/Item/index.js";
24
+
25
+ export { AppNav } from '../AppNav/v2/index.js';
26
+ export { Item as AppNavItem } from '../AppNav/v2/Item/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-navigation",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "Main and application level navigational components",
5
6
  "author": "Instructure, Inc. Engineering and Product Design",
6
7
  "module": "./es/index.js",
7
- "main": "./lib/index.js",
8
8
  "types": "./types/index.d.ts",
9
9
  "repository": {
10
10
  "type": "git",
@@ -15,33 +15,33 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/console": "11.7.3",
19
- "@instructure/debounce": "11.7.3",
20
- "@instructure/emotion": "11.7.3",
21
- "@instructure/shared-types": "11.7.3",
22
- "@instructure/ui-a11y-content": "11.7.3",
23
- "@instructure/ui-a11y-utils": "11.7.3",
24
- "@instructure/ui-focusable": "11.7.3",
25
- "@instructure/ui-badge": "11.7.3",
26
- "@instructure/ui-dom-utils": "11.7.3",
27
- "@instructure/ui-menu": "11.7.3",
28
- "@instructure/ui-icons": "11.7.3",
29
- "@instructure/ui-react-utils": "11.7.3",
30
- "@instructure/ui-themes": "11.7.3",
31
- "@instructure/ui-tooltip": "11.7.3",
32
- "@instructure/ui-truncate-list": "11.7.3",
33
- "@instructure/ui-utils": "11.7.3",
34
- "@instructure/ui-view": "11.7.3"
18
+ "@instructure/console": "11.7.4-pr-snapshot-1781695314229",
19
+ "@instructure/debounce": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/ui-a11y-content": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-a11y-utils": "11.7.4-pr-snapshot-1781695314229",
24
+ "@instructure/ui-badge": "11.7.4-pr-snapshot-1781695314229",
25
+ "@instructure/ui-dom-utils": "11.7.4-pr-snapshot-1781695314229",
26
+ "@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
27
+ "@instructure/ui-focusable": "11.7.4-pr-snapshot-1781695314229",
28
+ "@instructure/ui-menu": "11.7.4-pr-snapshot-1781695314229",
29
+ "@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
30
+ "@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
31
+ "@instructure/ui-truncate-list": "11.7.4-pr-snapshot-1781695314229",
32
+ "@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
33
+ "@instructure/ui-tooltip": "11.7.4-pr-snapshot-1781695314229",
34
+ "@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229"
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-axe-check": "11.7.3",
42
- "@instructure/ui-babel-preset": "11.7.3",
43
- "@instructure/ui-scripts": "11.7.3",
44
- "@instructure/ui-color-utils": "11.7.3"
41
+ "@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229",
42
+ "@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
43
+ "@instructure/ui-color-utils": "11.7.4-pr-snapshot-1781695314229",
44
+ "@instructure/ui-scripts": "11.7.4-pr-snapshot-1781695314229"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": ">=18 <=19"
@@ -51,7 +51,6 @@
51
51
  },
52
52
  "sideEffects": false,
53
53
  "exports": {
54
- "./lib/*": "./lib/*",
55
54
  "./es/*": "./es/*",
56
55
  "./types/*": "./types/*",
57
56
  "./package.json": "./package.json",
@@ -60,28 +59,24 @@
60
59
  "src": "./src/exports/a.ts",
61
60
  "types": "./types/exports/a.d.ts",
62
61
  "import": "./es/exports/a.js",
63
- "require": "./lib/exports/a.js",
64
62
  "default": "./es/exports/a.js"
65
63
  },
66
64
  "./v11_6": {
67
65
  "src": "./src/exports/a.ts",
68
66
  "types": "./types/exports/a.d.ts",
69
67
  "import": "./es/exports/a.js",
70
- "require": "./lib/exports/a.js",
71
68
  "default": "./es/exports/a.js"
72
69
  },
73
70
  "./v11_7": {
74
71
  "src": "./src/exports/b.ts",
75
72
  "types": "./types/exports/b.d.ts",
76
73
  "import": "./es/exports/b.js",
77
- "require": "./lib/exports/b.js",
78
74
  "default": "./es/exports/b.js"
79
75
  },
80
76
  "./latest": {
81
77
  "src": "./src/exports/b.ts",
82
78
  "types": "./types/exports/b.d.ts",
83
79
  "import": "./es/exports/b.js",
84
- "require": "./lib/exports/b.js",
85
80
  "default": "./es/exports/b.js"
86
81
  }
87
82
  },
@@ -89,7 +84,7 @@
89
84
  "lint": "ui-scripts lint",
90
85
  "lint:fix": "ui-scripts lint --fix",
91
86
  "clean": "ui-scripts clean",
92
- "build": "ui-scripts build --modules es,cjs",
87
+ "build": "ui-scripts build",
93
88
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
94
89
  "build:types": "tsc -p tsconfig.build.json",
95
90
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -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
@@ -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
@@ -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'