@instructure/ui-navigation 9.1.1-snapshot-4 → 9.1.1-snapshot-7
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/package.json +25 -25
- package/src/AppNav/Item/index.tsx +1 -2
- package/src/AppNav/Item/props.ts +1 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/AppNav/Item/index.d.ts +3 -4
- package/types/AppNav/Item/index.d.ts.map +1 -1
- package/types/AppNav/Item/props.d.ts +1 -2
- package/types/AppNav/Item/props.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
|
-
## [9.1.1-snapshot-
|
|
6
|
+
## [9.1.1-snapshot-7](https://github.com/instructure/instructure-ui/compare/v9.1.0...v9.1.1-snapshot-7) (2024-07-03)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-navigation
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-navigation",
|
|
3
|
-
"version": "9.1.1-snapshot-
|
|
3
|
+
"version": "9.1.1-snapshot-7",
|
|
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,36 +23,36 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "9.1.1-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "9.1.1-snapshot-
|
|
28
|
-
"@instructure/ui-color-utils": "9.1.1-snapshot-
|
|
29
|
-
"@instructure/ui-scripts": "9.1.1-snapshot-
|
|
30
|
-
"@instructure/ui-test-utils": "9.1.1-snapshot-
|
|
31
|
-
"@instructure/ui-themes": "9.1.1-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "9.1.1-snapshot-7",
|
|
27
|
+
"@instructure/ui-babel-preset": "9.1.1-snapshot-7",
|
|
28
|
+
"@instructure/ui-color-utils": "9.1.1-snapshot-7",
|
|
29
|
+
"@instructure/ui-scripts": "9.1.1-snapshot-7",
|
|
30
|
+
"@instructure/ui-test-utils": "9.1.1-snapshot-7",
|
|
31
|
+
"@instructure/ui-themes": "9.1.1-snapshot-7",
|
|
32
32
|
"@testing-library/jest-dom": "^6.4.5",
|
|
33
33
|
"@testing-library/react": "^15.0.7",
|
|
34
34
|
"@testing-library/user-event": "^14.5.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/runtime": "^7.24.5",
|
|
38
|
-
"@instructure/console": "9.1.1-snapshot-
|
|
39
|
-
"@instructure/debounce": "9.1.1-snapshot-
|
|
40
|
-
"@instructure/emotion": "9.1.1-snapshot-
|
|
41
|
-
"@instructure/shared-types": "9.1.1-snapshot-
|
|
42
|
-
"@instructure/ui-a11y-content": "9.1.1-snapshot-
|
|
43
|
-
"@instructure/ui-a11y-utils": "9.1.1-snapshot-
|
|
44
|
-
"@instructure/ui-badge": "9.1.1-snapshot-
|
|
45
|
-
"@instructure/ui-dom-utils": "9.1.1-snapshot-
|
|
46
|
-
"@instructure/ui-focusable": "9.1.1-snapshot-
|
|
47
|
-
"@instructure/ui-icons": "9.1.1-snapshot-
|
|
48
|
-
"@instructure/ui-menu": "9.1.1-snapshot-
|
|
49
|
-
"@instructure/ui-prop-types": "9.1.1-snapshot-
|
|
50
|
-
"@instructure/ui-react-utils": "9.1.1-snapshot-
|
|
51
|
-
"@instructure/ui-testable": "9.1.1-snapshot-
|
|
52
|
-
"@instructure/ui-tooltip": "9.1.1-snapshot-
|
|
53
|
-
"@instructure/ui-truncate-list": "9.1.1-snapshot-
|
|
54
|
-
"@instructure/ui-utils": "9.1.1-snapshot-
|
|
55
|
-
"@instructure/ui-view": "9.1.1-snapshot-
|
|
38
|
+
"@instructure/console": "9.1.1-snapshot-7",
|
|
39
|
+
"@instructure/debounce": "9.1.1-snapshot-7",
|
|
40
|
+
"@instructure/emotion": "9.1.1-snapshot-7",
|
|
41
|
+
"@instructure/shared-types": "9.1.1-snapshot-7",
|
|
42
|
+
"@instructure/ui-a11y-content": "9.1.1-snapshot-7",
|
|
43
|
+
"@instructure/ui-a11y-utils": "9.1.1-snapshot-7",
|
|
44
|
+
"@instructure/ui-badge": "9.1.1-snapshot-7",
|
|
45
|
+
"@instructure/ui-dom-utils": "9.1.1-snapshot-7",
|
|
46
|
+
"@instructure/ui-focusable": "9.1.1-snapshot-7",
|
|
47
|
+
"@instructure/ui-icons": "9.1.1-snapshot-7",
|
|
48
|
+
"@instructure/ui-menu": "9.1.1-snapshot-7",
|
|
49
|
+
"@instructure/ui-prop-types": "9.1.1-snapshot-7",
|
|
50
|
+
"@instructure/ui-react-utils": "9.1.1-snapshot-7",
|
|
51
|
+
"@instructure/ui-testable": "9.1.1-snapshot-7",
|
|
52
|
+
"@instructure/ui-tooltip": "9.1.1-snapshot-7",
|
|
53
|
+
"@instructure/ui-truncate-list": "9.1.1-snapshot-7",
|
|
54
|
+
"@instructure/ui-utils": "9.1.1-snapshot-7",
|
|
55
|
+
"@instructure/ui-view": "9.1.1-snapshot-7",
|
|
56
56
|
"prop-types": "^15.8.1"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
@@ -35,7 +35,6 @@ import {
|
|
|
35
35
|
import { testable } from '@instructure/ui-testable'
|
|
36
36
|
|
|
37
37
|
import { View } from '@instructure/ui-view'
|
|
38
|
-
import type { ViewOwnProps } from '@instructure/ui-view'
|
|
39
38
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content'
|
|
40
39
|
import type { ScreenReaderContentProps } from '@instructure/ui-a11y-content'
|
|
41
40
|
|
|
@@ -88,7 +87,7 @@ class Item extends Component<AppNavItemProps> {
|
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
89
|
|
|
91
|
-
handleClick = (e: React.MouseEvent
|
|
90
|
+
handleClick = (e: React.MouseEvent) => {
|
|
92
91
|
const { isDisabled, onClick } = this.props
|
|
93
92
|
|
|
94
93
|
if (isDisabled) {
|
package/src/AppNav/Item/props.ts
CHANGED
|
@@ -32,7 +32,6 @@ import type {
|
|
|
32
32
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
33
33
|
import type { Cursor } from '@instructure/ui-prop-types'
|
|
34
34
|
import React from 'react'
|
|
35
|
-
import type { ViewOwnProps } from '@instructure/ui-view'
|
|
36
35
|
import { Renderable } from '@instructure/shared-types'
|
|
37
36
|
|
|
38
37
|
type AppNavItemOwnProps = {
|
|
@@ -56,7 +55,7 @@ type AppNavItemOwnProps = {
|
|
|
56
55
|
/**
|
|
57
56
|
* If the item does not go to a new page, pass an onClick
|
|
58
57
|
*/
|
|
59
|
-
onClick?: (event: React.MouseEvent
|
|
58
|
+
onClick?: (event: React.MouseEvent) => void
|
|
60
59
|
/**
|
|
61
60
|
* Denotes which item is currently selected
|
|
62
61
|
*/
|