@instructure/ui-side-nav-bar 10.3.1-snapshot-4 → 10.3.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 CHANGED
@@ -3,9 +3,12 @@
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.3.1-snapshot-4](https://github.com/instructure/instructure-ui/compare/v10.3.0...v10.3.1-snapshot-4) (2024-10-09)
6
+ ## [10.3.1-snapshot-7](https://github.com/instructure/instructure-ui/compare/v10.3.0...v10.3.1-snapshot-7) (2024-10-10)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-side-nav-bar
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui-progress,ui-side-nav-bar:** improve a11y for Progress and SideNavBar examples ([2160fdd](https://github.com/instructure/instructure-ui/commit/2160fdd79f0ac671b8f42f06b2f8ec1f4f8b1577))
9
12
 
10
13
 
11
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-side-nav-bar",
3
- "version": "10.3.1-snapshot-4",
3
+ "version": "10.3.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,11 +23,11 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "10.3.1-snapshot-4",
27
- "@instructure/ui-babel-preset": "10.3.1-snapshot-4",
28
- "@instructure/ui-color-utils": "10.3.1-snapshot-4",
29
- "@instructure/ui-test-utils": "10.3.1-snapshot-4",
30
- "@instructure/ui-themes": "10.3.1-snapshot-4",
26
+ "@instructure/ui-axe-check": "10.3.1-snapshot-7",
27
+ "@instructure/ui-babel-preset": "10.3.1-snapshot-7",
28
+ "@instructure/ui-color-utils": "10.3.1-snapshot-7",
29
+ "@instructure/ui-test-utils": "10.3.1-snapshot-7",
30
+ "@instructure/ui-themes": "10.3.1-snapshot-7",
31
31
  "@testing-library/jest-dom": "^6.4.6",
32
32
  "@testing-library/react": "^16.0.1",
33
33
  "@testing-library/user-event": "^14.5.2",
@@ -35,17 +35,17 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@babel/runtime": "^7.25.6",
38
- "@instructure/debounce": "10.3.1-snapshot-4",
39
- "@instructure/emotion": "10.3.1-snapshot-4",
40
- "@instructure/shared-types": "10.3.1-snapshot-4",
41
- "@instructure/ui-a11y-content": "10.3.1-snapshot-4",
42
- "@instructure/ui-a11y-utils": "10.3.1-snapshot-4",
43
- "@instructure/ui-badge": "10.3.1-snapshot-4",
44
- "@instructure/ui-icons": "10.3.1-snapshot-4",
45
- "@instructure/ui-prop-types": "10.3.1-snapshot-4",
46
- "@instructure/ui-react-utils": "10.3.1-snapshot-4",
47
- "@instructure/ui-testable": "10.3.1-snapshot-4",
48
- "@instructure/ui-tooltip": "10.3.1-snapshot-4",
38
+ "@instructure/debounce": "10.3.1-snapshot-7",
39
+ "@instructure/emotion": "10.3.1-snapshot-7",
40
+ "@instructure/shared-types": "10.3.1-snapshot-7",
41
+ "@instructure/ui-a11y-content": "10.3.1-snapshot-7",
42
+ "@instructure/ui-a11y-utils": "10.3.1-snapshot-7",
43
+ "@instructure/ui-badge": "10.3.1-snapshot-7",
44
+ "@instructure/ui-icons": "10.3.1-snapshot-7",
45
+ "@instructure/ui-prop-types": "10.3.1-snapshot-7",
46
+ "@instructure/ui-react-utils": "10.3.1-snapshot-7",
47
+ "@instructure/ui-testable": "10.3.1-snapshot-7",
48
+ "@instructure/ui-tooltip": "10.3.1-snapshot-7",
49
49
  "prop-types": "^15.8.1"
50
50
  },
51
51
  "peerDependencies": {
@@ -43,7 +43,15 @@ type: example
43
43
  href="#"
44
44
  />
45
45
  <SideNavBar.Item
46
- icon={<Badge count={99}><IconInboxLine /></Badge>}
46
+ icon={<Badge count={99}
47
+ formatOutput={function (formattedCount) {
48
+ return (
49
+ <AccessibleContent alt={`You have ${formattedCount} unread messages.`}>
50
+ {formattedCount}
51
+ </AccessibleContent>
52
+ )
53
+ }}
54
+ ><IconInboxLine /></Badge>}
47
55
  label="Inbox"
48
56
  href="#"
49
57
  />