@instructure/ui-pagination 8.48.4-snapshot-4 → 8.49.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 +12 -1
- package/es/Pagination/index.js +2 -1
- package/lib/Pagination/index.js +2 -1
- package/package.json +21 -21
- package/src/Pagination/index.tsx +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,18 @@
|
|
|
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
|
-
## [8.
|
|
6
|
+
## [8.49.1-snapshot-0](https://github.com/instructure/instructure-ui/compare/v8.49.0...v8.49.1-snapshot-0) (2023-11-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui-pagination:** fix chrome unable to focus undefined element ([503535b](https://github.com/instructure/instructure-ui/commit/503535be262deb6c16547b1c49f72435bd9f2bb1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [8.49.0](https://github.com/instructure/instructure-ui/compare/v8.48.3...v8.49.0) (2023-11-24)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @instructure/ui-pagination
|
|
9
20
|
|
package/es/Pagination/index.js
CHANGED
|
@@ -117,6 +117,7 @@ let Pagination = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
117
117
|
focusElementAfterUpdate(snapshot) {
|
|
118
118
|
const lastFocusedButton = snapshot.lastFocusedButton;
|
|
119
119
|
if (lastFocusedButton) {
|
|
120
|
+
var _nextFocusElement;
|
|
120
121
|
const focusable = findTabbable(this.ref);
|
|
121
122
|
const direction = lastFocusedButton.dataset.direction;
|
|
122
123
|
|
|
@@ -134,7 +135,7 @@ let Pagination = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
134
135
|
}
|
|
135
136
|
}
|
|
136
137
|
;
|
|
137
|
-
nextFocusElement.focus();
|
|
138
|
+
(_nextFocusElement = nextFocusElement) === null || _nextFocusElement === void 0 ? void 0 : _nextFocusElement.focus();
|
|
138
139
|
}
|
|
139
140
|
}
|
|
140
141
|
get compactView() {
|
package/lib/Pagination/index.js
CHANGED
|
@@ -134,6 +134,7 @@ let Pagination = exports.Pagination = (_dec = (0, _withDeterministicId.withDeter
|
|
|
134
134
|
focusElementAfterUpdate(snapshot) {
|
|
135
135
|
const lastFocusedButton = snapshot.lastFocusedButton;
|
|
136
136
|
if (lastFocusedButton) {
|
|
137
|
+
var _nextFocusElement;
|
|
137
138
|
const focusable = (0, _findTabbable.findTabbable)(this.ref);
|
|
138
139
|
const direction = lastFocusedButton.dataset.direction;
|
|
139
140
|
|
|
@@ -151,7 +152,7 @@ let Pagination = exports.Pagination = (_dec = (0, _withDeterministicId.withDeter
|
|
|
151
152
|
}
|
|
152
153
|
}
|
|
153
154
|
;
|
|
154
|
-
nextFocusElement.focus();
|
|
155
|
+
(_nextFocusElement = nextFocusElement) === null || _nextFocusElement === void 0 ? void 0 : _nextFocusElement.focus();
|
|
155
156
|
}
|
|
156
157
|
}
|
|
157
158
|
get compactView() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pagination",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.49.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",
|
|
@@ -23,29 +23,29 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.
|
|
27
|
-
"@instructure/ui-test-locator": "8.
|
|
28
|
-
"@instructure/ui-test-queries": "8.
|
|
29
|
-
"@instructure/ui-test-utils": "8.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.49.1-snapshot-0",
|
|
27
|
+
"@instructure/ui-test-locator": "8.49.1-snapshot-0",
|
|
28
|
+
"@instructure/ui-test-queries": "8.49.1-snapshot-0",
|
|
29
|
+
"@instructure/ui-test-utils": "8.49.1-snapshot-0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@babel/runtime": "^7.23.2",
|
|
33
|
-
"@instructure/emotion": "8.
|
|
34
|
-
"@instructure/shared-types": "8.
|
|
35
|
-
"@instructure/ui-a11y-content": "8.
|
|
36
|
-
"@instructure/ui-a11y-utils": "8.
|
|
37
|
-
"@instructure/ui-buttons": "8.
|
|
38
|
-
"@instructure/ui-dom-utils": "8.
|
|
39
|
-
"@instructure/ui-icons": "8.
|
|
40
|
-
"@instructure/ui-number-input": "8.
|
|
41
|
-
"@instructure/ui-portal": "8.
|
|
42
|
-
"@instructure/ui-prop-types": "8.
|
|
43
|
-
"@instructure/ui-react-utils": "8.
|
|
44
|
-
"@instructure/ui-testable": "8.
|
|
45
|
-
"@instructure/ui-tooltip": "8.
|
|
46
|
-
"@instructure/ui-utils": "8.
|
|
47
|
-
"@instructure/ui-view": "8.
|
|
48
|
-
"@instructure/uid": "8.
|
|
33
|
+
"@instructure/emotion": "8.49.1-snapshot-0",
|
|
34
|
+
"@instructure/shared-types": "8.49.1-snapshot-0",
|
|
35
|
+
"@instructure/ui-a11y-content": "8.49.1-snapshot-0",
|
|
36
|
+
"@instructure/ui-a11y-utils": "8.49.1-snapshot-0",
|
|
37
|
+
"@instructure/ui-buttons": "8.49.1-snapshot-0",
|
|
38
|
+
"@instructure/ui-dom-utils": "8.49.1-snapshot-0",
|
|
39
|
+
"@instructure/ui-icons": "8.49.1-snapshot-0",
|
|
40
|
+
"@instructure/ui-number-input": "8.49.1-snapshot-0",
|
|
41
|
+
"@instructure/ui-portal": "8.49.1-snapshot-0",
|
|
42
|
+
"@instructure/ui-prop-types": "8.49.1-snapshot-0",
|
|
43
|
+
"@instructure/ui-react-utils": "8.49.1-snapshot-0",
|
|
44
|
+
"@instructure/ui-testable": "8.49.1-snapshot-0",
|
|
45
|
+
"@instructure/ui-tooltip": "8.49.1-snapshot-0",
|
|
46
|
+
"@instructure/ui-utils": "8.49.1-snapshot-0",
|
|
47
|
+
"@instructure/ui-view": "8.49.1-snapshot-0",
|
|
48
|
+
"@instructure/uid": "8.49.1-snapshot-0",
|
|
49
49
|
"keycode": "^2.2.1",
|
|
50
50
|
"prop-types": "^15.8.1"
|
|
51
51
|
},
|