@instructure/ui-side-nav-bar 10.2.3-snapshot-13 → 10.2.3-snapshot-15
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/es/SideNavBar/__new-tests__/SideNavBar.test.js +5 -5
- package/lib/SideNavBar/__new-tests__/SideNavBar.test.js +5 -5
- package/package.json +20 -20
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/SideNavBar/SideNavBarItem/index.d.ts +6 -6
- package/types/SideNavBar/SideNavBarItem/index.d.ts.map +1 -1
- package/types/SideNavBar/index.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
|
-
## [10.2.3-snapshot-
|
|
6
|
+
## [10.2.3-snapshot-15](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.2.3-snapshot-15) (2024-10-03)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-side-nav-bar
|
|
9
9
|
|
|
@@ -42,7 +42,7 @@ describe('<SideNavBar />', () => {
|
|
|
42
42
|
consoleErrorMock.mockRestore();
|
|
43
43
|
});
|
|
44
44
|
it('should render', async () => {
|
|
45
|
-
const _render = render(
|
|
45
|
+
const _render = render(/*#__PURE__*/React.createElement(SideNavBar, {
|
|
46
46
|
label: "Main navigation",
|
|
47
47
|
toggleLabel: {
|
|
48
48
|
expandedLabel: 'Minimize SideNavBar',
|
|
@@ -65,7 +65,7 @@ describe('<SideNavBar />', () => {
|
|
|
65
65
|
expect(nav).toHaveTextContent('Minimize SideNavBar');
|
|
66
66
|
});
|
|
67
67
|
it('should render a single semantic nav element', async () => {
|
|
68
|
-
render(
|
|
68
|
+
render(/*#__PURE__*/React.createElement(SideNavBar, {
|
|
69
69
|
label: "Main navigation",
|
|
70
70
|
toggleLabel: {
|
|
71
71
|
expandedLabel: 'Minimize SideNavBar',
|
|
@@ -84,7 +84,7 @@ describe('<SideNavBar />', () => {
|
|
|
84
84
|
expect(navElements[0]).toHaveTextContent('Dashboard');
|
|
85
85
|
});
|
|
86
86
|
it('should render a semantic list for the nav content', async () => {
|
|
87
|
-
render(
|
|
87
|
+
render(/*#__PURE__*/React.createElement(SideNavBar, {
|
|
88
88
|
label: "Main navigation",
|
|
89
89
|
toggleLabel: {
|
|
90
90
|
expandedLabel: 'Minimize SideNavBar',
|
|
@@ -108,7 +108,7 @@ describe('<SideNavBar />', () => {
|
|
|
108
108
|
expect(navElements.length).toBe(2);
|
|
109
109
|
});
|
|
110
110
|
it('should switch aria-expanded when the Toggle SideNavBar button is clicked', async () => {
|
|
111
|
-
render(
|
|
111
|
+
render(/*#__PURE__*/React.createElement(SideNavBar, {
|
|
112
112
|
label: "Main navigation",
|
|
113
113
|
toggleLabel: {
|
|
114
114
|
expandedLabel: 'Minimize SideNavBar',
|
|
@@ -138,7 +138,7 @@ describe('<SideNavBar />', () => {
|
|
|
138
138
|
});
|
|
139
139
|
});
|
|
140
140
|
it('should meet a11y standards', async () => {
|
|
141
|
-
const _render2 = render(
|
|
141
|
+
const _render2 = render(/*#__PURE__*/React.createElement(SideNavBar, {
|
|
142
142
|
label: "Main navigation",
|
|
143
143
|
toggleLabel: {
|
|
144
144
|
expandedLabel: 'Minimize SideNavBar',
|
|
@@ -45,7 +45,7 @@ describe('<SideNavBar />', () => {
|
|
|
45
45
|
consoleErrorMock.mockRestore();
|
|
46
46
|
});
|
|
47
47
|
it('should render', async () => {
|
|
48
|
-
const _render = (0, _react2.render)(
|
|
48
|
+
const _render = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.SideNavBar, {
|
|
49
49
|
label: "Main navigation",
|
|
50
50
|
toggleLabel: {
|
|
51
51
|
expandedLabel: 'Minimize SideNavBar',
|
|
@@ -68,7 +68,7 @@ describe('<SideNavBar />', () => {
|
|
|
68
68
|
expect(nav).toHaveTextContent('Minimize SideNavBar');
|
|
69
69
|
});
|
|
70
70
|
it('should render a single semantic nav element', async () => {
|
|
71
|
-
(0, _react2.render)(
|
|
71
|
+
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.SideNavBar, {
|
|
72
72
|
label: "Main navigation",
|
|
73
73
|
toggleLabel: {
|
|
74
74
|
expandedLabel: 'Minimize SideNavBar',
|
|
@@ -87,7 +87,7 @@ describe('<SideNavBar />', () => {
|
|
|
87
87
|
expect(navElements[0]).toHaveTextContent('Dashboard');
|
|
88
88
|
});
|
|
89
89
|
it('should render a semantic list for the nav content', async () => {
|
|
90
|
-
(0, _react2.render)(
|
|
90
|
+
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.SideNavBar, {
|
|
91
91
|
label: "Main navigation",
|
|
92
92
|
toggleLabel: {
|
|
93
93
|
expandedLabel: 'Minimize SideNavBar',
|
|
@@ -111,7 +111,7 @@ describe('<SideNavBar />', () => {
|
|
|
111
111
|
expect(navElements.length).toBe(2);
|
|
112
112
|
});
|
|
113
113
|
it('should switch aria-expanded when the Toggle SideNavBar button is clicked', async () => {
|
|
114
|
-
(0, _react2.render)(
|
|
114
|
+
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.SideNavBar, {
|
|
115
115
|
label: "Main navigation",
|
|
116
116
|
toggleLabel: {
|
|
117
117
|
expandedLabel: 'Minimize SideNavBar',
|
|
@@ -141,7 +141,7 @@ describe('<SideNavBar />', () => {
|
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
it('should meet a11y standards', async () => {
|
|
144
|
-
const _render2 = (0, _react2.render)(
|
|
144
|
+
const _render2 = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.SideNavBar, {
|
|
145
145
|
label: "Main navigation",
|
|
146
146
|
toggleLabel: {
|
|
147
147
|
expandedLabel: 'Minimize SideNavBar',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-side-nav-bar",
|
|
3
|
-
"version": "10.2.3-snapshot-
|
|
3
|
+
"version": "10.2.3-snapshot-15",
|
|
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,29 +23,29 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "10.2.3-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "10.2.3-snapshot-
|
|
28
|
-
"@instructure/ui-color-utils": "10.2.3-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "10.2.3-snapshot-
|
|
30
|
-
"@instructure/ui-themes": "10.2.3-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "10.2.3-snapshot-15",
|
|
27
|
+
"@instructure/ui-babel-preset": "10.2.3-snapshot-15",
|
|
28
|
+
"@instructure/ui-color-utils": "10.2.3-snapshot-15",
|
|
29
|
+
"@instructure/ui-test-utils": "10.2.3-snapshot-15",
|
|
30
|
+
"@instructure/ui-themes": "10.2.3-snapshot-15",
|
|
31
31
|
"@testing-library/jest-dom": "^6.4.6",
|
|
32
|
-
"@testing-library/react": "^
|
|
32
|
+
"@testing-library/react": "^16.0.1",
|
|
33
33
|
"@testing-library/user-event": "^14.5.2",
|
|
34
|
-
"vitest": "^2.
|
|
34
|
+
"vitest": "^2.1.1"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@babel/runtime": "^7.
|
|
38
|
-
"@instructure/debounce": "10.2.3-snapshot-
|
|
39
|
-
"@instructure/emotion": "10.2.3-snapshot-
|
|
40
|
-
"@instructure/shared-types": "10.2.3-snapshot-
|
|
41
|
-
"@instructure/ui-a11y-content": "10.2.3-snapshot-
|
|
42
|
-
"@instructure/ui-a11y-utils": "10.2.3-snapshot-
|
|
43
|
-
"@instructure/ui-badge": "10.2.3-snapshot-
|
|
44
|
-
"@instructure/ui-icons": "10.2.3-snapshot-
|
|
45
|
-
"@instructure/ui-prop-types": "10.2.3-snapshot-
|
|
46
|
-
"@instructure/ui-react-utils": "10.2.3-snapshot-
|
|
47
|
-
"@instructure/ui-testable": "10.2.3-snapshot-
|
|
48
|
-
"@instructure/ui-tooltip": "10.2.3-snapshot-
|
|
37
|
+
"@babel/runtime": "^7.25.6",
|
|
38
|
+
"@instructure/debounce": "10.2.3-snapshot-15",
|
|
39
|
+
"@instructure/emotion": "10.2.3-snapshot-15",
|
|
40
|
+
"@instructure/shared-types": "10.2.3-snapshot-15",
|
|
41
|
+
"@instructure/ui-a11y-content": "10.2.3-snapshot-15",
|
|
42
|
+
"@instructure/ui-a11y-utils": "10.2.3-snapshot-15",
|
|
43
|
+
"@instructure/ui-badge": "10.2.3-snapshot-15",
|
|
44
|
+
"@instructure/ui-icons": "10.2.3-snapshot-15",
|
|
45
|
+
"@instructure/ui-prop-types": "10.2.3-snapshot-15",
|
|
46
|
+
"@instructure/ui-react-utils": "10.2.3-snapshot-15",
|
|
47
|
+
"@instructure/ui-testable": "10.2.3-snapshot-15",
|
|
48
|
+
"@instructure/ui-tooltip": "10.2.3-snapshot-15",
|
|
49
49
|
"prop-types": "^15.8.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|