@instructure/ui-top-nav-bar 10.19.2-snapshot-7 → 10.19.2-snapshot-9

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,12 +3,13 @@
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
- ## [10.19.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v10.19.1...v10.19.2-snapshot-7) (2025-06-13)
6
+ ## [10.19.2-snapshot-9](https://github.com/instructure/instructure-ui/compare/v10.19.1...v10.19.2-snapshot-9) (2025-06-13)
7
7
 
8
8
 
9
9
  ### Bug Fixes
10
10
 
11
11
  * **many:** update dependencies, browsersdb and moment timezone database ([3813636](https://github.com/instructure/instructure-ui/commit/3813636458c901ad4bc74a4d5ae015cb55defcb2))
12
+ * **ui-top-nav-bar:** fix focus ring not showing when closing a dropdown ([051eca7](https://github.com/instructure/instructure-ui/commit/051eca7e94f4cb549002bc9d32499f9c3070db6f))
12
13
  * **ui-top-nav-bar:** fix TopNavBarBrand flashing an outline on hover ([41caeea](https://github.com/instructure/instructure-ui/commit/41caeeae1bc5315959bfdc5e16943387de95f2e7))
13
14
 
14
15
 
@@ -335,7 +335,7 @@ let TopNavBarItem = (_dec = withDeterministicId(), _dec2 = withStyle(generateSty
335
335
  elementRef: e => {
336
336
  this.handleItemRef(e);
337
337
  },
338
- withFocusOutline: withFocusOutline || this.hasOpenPopover || this.state.isFocused
338
+ withFocusOutline: withFocusOutline || this.hasOpenPopover ? true : void 0
339
339
  };
340
340
  }
341
341
  renderContent() {
@@ -347,7 +347,7 @@ let TopNavBarItem = exports.TopNavBarItem = (_dec = (0, _withDeterministicId.wit
347
347
  elementRef: e => {
348
348
  this.handleItemRef(e);
349
349
  },
350
- withFocusOutline: withFocusOutline || this.hasOpenPopover || this.state.isFocused
350
+ withFocusOutline: withFocusOutline || this.hasOpenPopover ? true : void 0
351
351
  };
352
352
  }
353
353
  renderContent() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-top-nav-bar",
3
- "version": "10.19.2-snapshot-7",
3
+ "version": "10.19.2-snapshot-9",
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",
@@ -24,37 +24,37 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.27.6",
27
- "@instructure/console": "10.19.2-snapshot-7",
28
- "@instructure/emotion": "10.19.2-snapshot-7",
29
- "@instructure/shared-types": "10.19.2-snapshot-7",
30
- "@instructure/ui-a11y-content": "10.19.2-snapshot-7",
31
- "@instructure/ui-avatar": "10.19.2-snapshot-7",
32
- "@instructure/ui-breadcrumb": "10.19.2-snapshot-7",
33
- "@instructure/ui-buttons": "10.19.2-snapshot-7",
34
- "@instructure/ui-dialog": "10.19.2-snapshot-7",
35
- "@instructure/ui-dom-utils": "10.19.2-snapshot-7",
36
- "@instructure/ui-drilldown": "10.19.2-snapshot-7",
37
- "@instructure/ui-icons": "10.19.2-snapshot-7",
38
- "@instructure/ui-link": "10.19.2-snapshot-7",
39
- "@instructure/ui-popover": "10.19.2-snapshot-7",
40
- "@instructure/ui-prop-types": "10.19.2-snapshot-7",
41
- "@instructure/ui-react-utils": "10.19.2-snapshot-7",
42
- "@instructure/ui-responsive": "10.19.2-snapshot-7",
43
- "@instructure/ui-testable": "10.19.2-snapshot-7",
44
- "@instructure/ui-tooltip": "10.19.2-snapshot-7",
45
- "@instructure/ui-tray": "10.19.2-snapshot-7",
46
- "@instructure/ui-truncate-list": "10.19.2-snapshot-7",
47
- "@instructure/ui-utils": "10.19.2-snapshot-7",
48
- "@instructure/ui-view": "10.19.2-snapshot-7",
27
+ "@instructure/console": "10.19.2-snapshot-9",
28
+ "@instructure/emotion": "10.19.2-snapshot-9",
29
+ "@instructure/shared-types": "10.19.2-snapshot-9",
30
+ "@instructure/ui-a11y-content": "10.19.2-snapshot-9",
31
+ "@instructure/ui-avatar": "10.19.2-snapshot-9",
32
+ "@instructure/ui-breadcrumb": "10.19.2-snapshot-9",
33
+ "@instructure/ui-buttons": "10.19.2-snapshot-9",
34
+ "@instructure/ui-dialog": "10.19.2-snapshot-9",
35
+ "@instructure/ui-dom-utils": "10.19.2-snapshot-9",
36
+ "@instructure/ui-drilldown": "10.19.2-snapshot-9",
37
+ "@instructure/ui-icons": "10.19.2-snapshot-9",
38
+ "@instructure/ui-link": "10.19.2-snapshot-9",
39
+ "@instructure/ui-popover": "10.19.2-snapshot-9",
40
+ "@instructure/ui-prop-types": "10.19.2-snapshot-9",
41
+ "@instructure/ui-react-utils": "10.19.2-snapshot-9",
42
+ "@instructure/ui-responsive": "10.19.2-snapshot-9",
43
+ "@instructure/ui-testable": "10.19.2-snapshot-9",
44
+ "@instructure/ui-tooltip": "10.19.2-snapshot-9",
45
+ "@instructure/ui-tray": "10.19.2-snapshot-9",
46
+ "@instructure/ui-truncate-list": "10.19.2-snapshot-9",
47
+ "@instructure/ui-utils": "10.19.2-snapshot-9",
48
+ "@instructure/ui-view": "10.19.2-snapshot-9",
49
49
  "prop-types": "^15.8.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@instructure/ui-axe-check": "10.19.2-snapshot-7",
53
- "@instructure/ui-babel-preset": "10.19.2-snapshot-7",
54
- "@instructure/ui-color-utils": "10.19.2-snapshot-7",
55
- "@instructure/ui-scripts": "10.19.2-snapshot-7",
56
- "@instructure/ui-test-utils": "10.19.2-snapshot-7",
57
- "@instructure/ui-themes": "10.19.2-snapshot-7",
52
+ "@instructure/ui-axe-check": "10.19.2-snapshot-9",
53
+ "@instructure/ui-babel-preset": "10.19.2-snapshot-9",
54
+ "@instructure/ui-color-utils": "10.19.2-snapshot-9",
55
+ "@instructure/ui-scripts": "10.19.2-snapshot-9",
56
+ "@instructure/ui-test-utils": "10.19.2-snapshot-9",
57
+ "@instructure/ui-themes": "10.19.2-snapshot-9",
58
58
  "@testing-library/jest-dom": "^6.6.3",
59
59
  "@testing-library/react": "^16.0.1",
60
60
  "@testing-library/user-event": "^14.6.1",
@@ -435,7 +435,7 @@ class TopNavBarItem extends Component<TopNavBarItemProps, TopNavBarItemState> {
435
435
  this.handleItemRef(e as HTMLButtonElement | HTMLLinkElement)
436
436
  },
437
437
  withFocusOutline:
438
- withFocusOutline || this.hasOpenPopover || this.state.isFocused
438
+ withFocusOutline || this.hasOpenPopover ? true : undefined
439
439
  }
440
440
  }
441
441