@instructure/ui-top-nav-bar 11.7.4-snapshot-4 → 11.7.4-snapshot-183
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 +54 -2
- package/es/TopNavBar/v2/TopNavBarLayout/index.js +0 -4
- package/lib/TopNavBar/v2/TopNavBarLayout/index.js +0 -4
- package/package.json +26 -26
- package/src/TopNavBar/v2/TopNavBarLayout/index.tsx +0 -9
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/TopNavBar/v2/TopNavBarLayout/index.d.ts +0 -1
- package/types/TopNavBar/v2/TopNavBarLayout/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,61 @@
|
|
|
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-183](https://github.com/instructure/instructure-ui/compare/v11.6.0...v11.7.4-snapshot-183) (2026-05-14)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **many:** a11y requirement fix, interactive links must be underlined on interaction and isWithinText prop was removed ([8531756](https://github.com/instructure/instructure-ui/commit/8531756c564a3220a8266d02a72fb26c3bbcc977))
|
|
12
|
+
* **many:** update dependencies, remove lots of Babel plugins, remove Webpack 4 support ([98ff8e8](https://github.com/instructure/instructure-ui/commit/98ff8e8126a70d8496d6967795a8fbb2779c6fd9))
|
|
13
|
+
* **ui-many:** fix imports of the multiversion support ([6b84f05](https://github.com/instructure/instructure-ui/commit/6b84f05ecd6e95e7698e14f9672023aee5e5e868))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **emotion:** add helper for accessing computed theme (useComputedTheme.ts in the emotion package) ([8384870](https://github.com/instructure/instructure-ui/commit/83848704a09fc1fbf150d941221b476cd2864366))
|
|
19
|
+
* **many:** add solution for using both old and new token system in the same app ([688a713](https://github.com/instructure/instructure-ui/commit/688a713ff715433bb085323dbad61285387c5141))
|
|
20
|
+
* **many:** fix issues ([a74303e](https://github.com/instructure/instructure-ui/commit/a74303ecc9565603500264a8f8df3476ef9d4553))
|
|
21
|
+
* **many:** fix issues ([c9fbf03](https://github.com/instructure/instructure-ui/commit/c9fbf036de5f12841ae9572f467f67b56b3ee223))
|
|
22
|
+
* **many:** refactor theme parser and implement tray and tabs ([ef28373](https://github.com/instructure/instructure-ui/commit/ef283736fd76fbdcc674854916b298c199f8df50))
|
|
23
|
+
* **many:** remove deprecated v2 items ([eaf8876](https://github.com/instructure/instructure-ui/commit/eaf88767c9beb95c4e09ee5705c387dfd79e4cb7))
|
|
24
|
+
* **many:** rework TopNavBar ([eb6c23f](https://github.com/instructure/instructure-ui/commit/eb6c23f9f8f0e35981e331b46a05a3d8ab4b9902))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### BREAKING CHANGES
|
|
28
|
+
|
|
29
|
+
* **many:** Removed FormFieldLabel component
|
|
30
|
+
|
|
31
|
+
Removed _content prop from DrawerLayout.Tray and DrawerLayout.Content
|
|
32
|
+
|
|
33
|
+
Removed _link prop from Link
|
|
34
|
+
|
|
35
|
+
Removed _node prop from Menu.Item
|
|
36
|
+
|
|
37
|
+
Removed _root prop from Pagination, TreeBrowser
|
|
38
|
+
|
|
39
|
+
Removed _select prop from SimpleSelect and TimeSelect
|
|
40
|
+
|
|
41
|
+
Removed _ref prop from TruncateText
|
|
42
|
+
|
|
43
|
+
Removed _element prop from View
|
|
44
|
+
|
|
45
|
+
Removed color="ai" from Heading
|
|
46
|
+
|
|
47
|
+
Removed variant="inline-small" and variant="standalone-small" from Link
|
|
48
|
+
|
|
49
|
+
Removed title prop from Tag
|
|
50
|
+
|
|
51
|
+
Removed focusRingBorderRadius prop from View
|
|
52
|
+
|
|
53
|
+
Removed hideActionsUserSeparator prop from TopNavBar.Layout
|
|
54
|
+
|
|
55
|
+
Removed handleFocusOutlineColor, handleFocusOutlineWidth, handleShadowColor from RangeInput
|
|
56
|
+
|
|
57
|
+
INSTUI-5025
|
|
58
|
+
* **many:** contains breaking changes due to component using the new theming system
|
|
59
|
+
|
|
60
|
+
INSTUI-4967
|
|
9
61
|
|
|
10
62
|
|
|
11
63
|
|
|
@@ -46,10 +46,6 @@ let TopNavBarLayout = (_dec = withStyleNew(null), _dec(_class = class TopNavBarL
|
|
|
46
46
|
};
|
|
47
47
|
static contextType = TopNavBarContext;
|
|
48
48
|
ref = null;
|
|
49
|
-
componentDidMount() {
|
|
50
|
-
// TODO: Remove this in v10!
|
|
51
|
-
if ('desktopConfig' in this.props) {}
|
|
52
|
-
}
|
|
53
49
|
handleRef = el => {
|
|
54
50
|
const {
|
|
55
51
|
elementRef
|
|
@@ -51,10 +51,6 @@ let TopNavBarLayout = exports.TopNavBarLayout = (_dec = (0, _emotion.withStyleNe
|
|
|
51
51
|
};
|
|
52
52
|
static contextType = _TopNavBarContext.TopNavBarContext;
|
|
53
53
|
ref = null;
|
|
54
|
-
componentDidMount() {
|
|
55
|
-
// TODO: Remove this in v10!
|
|
56
|
-
if ('desktopConfig' in this.props) {}
|
|
57
|
-
}
|
|
58
54
|
handleRef = el => {
|
|
59
55
|
const {
|
|
60
56
|
elementRef
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-top-nav-bar",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-183",
|
|
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.29.2",
|
|
18
|
-
"@instructure/console": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
20
|
-
"@instructure/shared-types": "11.7.4-snapshot-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-dialog": "11.7.4-snapshot-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-icons": "11.7.4-snapshot-
|
|
29
|
-
"@instructure/ui-link": "11.7.4-snapshot-
|
|
30
|
-
"@instructure/ui-popover": "11.7.4-snapshot-
|
|
31
|
-
"@instructure/ui-
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-
|
|
34
|
-
"@instructure/ui-tray": "11.7.4-snapshot-
|
|
35
|
-
"@instructure/ui-
|
|
36
|
-
"@instructure/ui-
|
|
37
|
-
"@instructure/ui-
|
|
38
|
-
"@instructure/ui-
|
|
18
|
+
"@instructure/console": "11.7.4-snapshot-183",
|
|
19
|
+
"@instructure/emotion": "11.7.4-snapshot-183",
|
|
20
|
+
"@instructure/shared-types": "11.7.4-snapshot-183",
|
|
21
|
+
"@instructure/ui-a11y-content": "11.7.4-snapshot-183",
|
|
22
|
+
"@instructure/ui-avatar": "11.7.4-snapshot-183",
|
|
23
|
+
"@instructure/ui-breadcrumb": "11.7.4-snapshot-183",
|
|
24
|
+
"@instructure/ui-buttons": "11.7.4-snapshot-183",
|
|
25
|
+
"@instructure/ui-drilldown": "11.7.4-snapshot-183",
|
|
26
|
+
"@instructure/ui-dialog": "11.7.4-snapshot-183",
|
|
27
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-183",
|
|
28
|
+
"@instructure/ui-icons": "11.7.4-snapshot-183",
|
|
29
|
+
"@instructure/ui-link": "11.7.4-snapshot-183",
|
|
30
|
+
"@instructure/ui-popover": "11.7.4-snapshot-183",
|
|
31
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-183",
|
|
32
|
+
"@instructure/ui-responsive": "11.7.4-snapshot-183",
|
|
33
|
+
"@instructure/ui-themes": "11.7.4-snapshot-183",
|
|
34
|
+
"@instructure/ui-tray": "11.7.4-snapshot-183",
|
|
35
|
+
"@instructure/ui-tooltip": "11.7.4-snapshot-183",
|
|
36
|
+
"@instructure/ui-truncate-list": "11.7.4-snapshot-183",
|
|
37
|
+
"@instructure/ui-utils": "11.7.4-snapshot-183",
|
|
38
|
+
"@instructure/ui-view": "11.7.4-snapshot-183"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@testing-library/jest-dom": "^6.6.3",
|
|
42
42
|
"@testing-library/react": "15.0.7",
|
|
43
43
|
"@testing-library/user-event": "^14.6.1",
|
|
44
44
|
"vitest": "^3.2.2",
|
|
45
|
-
"@instructure/ui-axe-check": "11.7.4-snapshot-
|
|
46
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
47
|
-
"@instructure/ui-
|
|
48
|
-
"@instructure/ui-
|
|
45
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-183",
|
|
46
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-183",
|
|
47
|
+
"@instructure/ui-scripts": "11.7.4-snapshot-183",
|
|
48
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-183"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": ">=18 <=19"
|
|
@@ -62,15 +62,6 @@ class TopNavBarLayout extends Component<TopNavBarLayoutProps> {
|
|
|
62
62
|
|
|
63
63
|
ref: HTMLElement | null = null
|
|
64
64
|
|
|
65
|
-
componentDidMount() {
|
|
66
|
-
// TODO: Remove this in v10!
|
|
67
|
-
if ('desktopConfig' in this.props) {
|
|
68
|
-
console.error(
|
|
69
|
-
'Warning: `desktopConfig` prop on [TopNavBar.Layout] is deprecated, please remove it from your code. Further info: https://instructure.design/#v9-upgrade-guide/#deprecated-properties'
|
|
70
|
-
)
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
65
|
handleRef = (el: HTMLElement | null) => {
|
|
75
66
|
const { elementRef } = this.props
|
|
76
67
|
|