@instructure/ui-top-nav-bar 9.1.0 → 9.1.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
+ ## [9.1.1-snapshot-0](https://github.com/instructure/instructure-ui/compare/v9.1.0...v9.1.1-snapshot-0) (2024-06-18)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-top-nav-bar
9
+
10
+
11
+
12
+
13
+
6
14
  # [9.1.0](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.1.0) (2024-06-14)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-top-nav-bar",
3
- "version": "9.1.0",
3
+ "version": "9.1.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",
@@ -24,38 +24,38 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.24.5",
27
- "@instructure/console": "9.1.0",
28
- "@instructure/emotion": "9.1.0",
29
- "@instructure/shared-types": "9.1.0",
30
- "@instructure/ui-a11y-content": "9.1.0",
31
- "@instructure/ui-avatar": "9.1.0",
32
- "@instructure/ui-breadcrumb": "9.1.0",
33
- "@instructure/ui-buttons": "9.1.0",
34
- "@instructure/ui-dialog": "9.1.0",
35
- "@instructure/ui-dom-utils": "9.1.0",
36
- "@instructure/ui-drilldown": "9.1.0",
37
- "@instructure/ui-icons": "9.1.0",
38
- "@instructure/ui-link": "9.1.0",
39
- "@instructure/ui-popover": "9.1.0",
40
- "@instructure/ui-prop-types": "9.1.0",
41
- "@instructure/ui-react-utils": "9.1.0",
42
- "@instructure/ui-responsive": "9.1.0",
43
- "@instructure/ui-testable": "9.1.0",
44
- "@instructure/ui-tooltip": "9.1.0",
45
- "@instructure/ui-tray": "9.1.0",
46
- "@instructure/ui-truncate-list": "9.1.0",
47
- "@instructure/ui-utils": "9.1.0",
48
- "@instructure/ui-view": "9.1.0",
27
+ "@instructure/console": "9.1.1-snapshot-0",
28
+ "@instructure/emotion": "9.1.1-snapshot-0",
29
+ "@instructure/shared-types": "9.1.1-snapshot-0",
30
+ "@instructure/ui-a11y-content": "9.1.1-snapshot-0",
31
+ "@instructure/ui-avatar": "9.1.1-snapshot-0",
32
+ "@instructure/ui-breadcrumb": "9.1.1-snapshot-0",
33
+ "@instructure/ui-buttons": "9.1.1-snapshot-0",
34
+ "@instructure/ui-dialog": "9.1.1-snapshot-0",
35
+ "@instructure/ui-dom-utils": "9.1.1-snapshot-0",
36
+ "@instructure/ui-drilldown": "9.1.1-snapshot-0",
37
+ "@instructure/ui-icons": "9.1.1-snapshot-0",
38
+ "@instructure/ui-link": "9.1.1-snapshot-0",
39
+ "@instructure/ui-popover": "9.1.1-snapshot-0",
40
+ "@instructure/ui-prop-types": "9.1.1-snapshot-0",
41
+ "@instructure/ui-react-utils": "9.1.1-snapshot-0",
42
+ "@instructure/ui-responsive": "9.1.1-snapshot-0",
43
+ "@instructure/ui-testable": "9.1.1-snapshot-0",
44
+ "@instructure/ui-tooltip": "9.1.1-snapshot-0",
45
+ "@instructure/ui-tray": "9.1.1-snapshot-0",
46
+ "@instructure/ui-truncate-list": "9.1.1-snapshot-0",
47
+ "@instructure/ui-utils": "9.1.1-snapshot-0",
48
+ "@instructure/ui-view": "9.1.1-snapshot-0",
49
49
  "prop-types": "^15.8.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@instructure/ui-axe-check": "9.1.0",
53
- "@instructure/ui-babel-preset": "9.1.0",
54
- "@instructure/ui-color-utils": "9.1.0",
55
- "@instructure/ui-scripts": "9.1.0",
56
- "@instructure/ui-test-locator": "9.1.0",
57
- "@instructure/ui-test-utils": "9.1.0",
58
- "@instructure/ui-themes": "9.1.0",
52
+ "@instructure/ui-axe-check": "9.1.1-snapshot-0",
53
+ "@instructure/ui-babel-preset": "9.1.1-snapshot-0",
54
+ "@instructure/ui-color-utils": "9.1.1-snapshot-0",
55
+ "@instructure/ui-scripts": "9.1.1-snapshot-0",
56
+ "@instructure/ui-test-locator": "9.1.1-snapshot-0",
57
+ "@instructure/ui-test-utils": "9.1.1-snapshot-0",
58
+ "@instructure/ui-themes": "9.1.1-snapshot-0",
59
59
  "@testing-library/jest-dom": "^6.4.5",
60
60
  "@testing-library/react": "^15.0.7",
61
61
  "@testing-library/user-event": "^14.5.2"
@@ -342,7 +342,7 @@ class PlaygroundExample extends React.Component {
342
342
  'userShowChevronForSubmenu',
343
343
  ],
344
344
  radios: {
345
- userVariant: ['avatar', 'avatar with user name', 'user name', 'login text', 'login button']
345
+ userVariant: ['avatar', 'avatar with user name', 'user name', 'login button']
346
346
  }
347
347
  },
348
348
  disabledSection: {
@@ -765,7 +765,7 @@ class PlaygroundExample extends React.Component {
765
765
  <TopNavBar.User>
766
766
  <TopNavBar.Item
767
767
  id="User"
768
- tooltip="User settings"
768
+ tooltip={this.state.userVariant === 'login button' ? '' : 'User settings'}
769
769
  aria-label="User settings"
770
770
  variant={this.state.userVariant === 'avatar'
771
771
  ? 'avatar'
@@ -807,10 +807,7 @@ class PlaygroundExample extends React.Component {
807
807
  status: 'disabled'
808
808
  }}
809
809
  >
810
- {this.state.userVariant.includes('login')
811
- ? 'Log in/Register'
812
- : 'User Name'
813
- }
810
+ Login
814
811
  </TopNavBar.Item>
815
812
  </TopNavBar.User>
816
813
  ) : undefined }