@instructure/ui-pagination 8.38.2-snapshot-4 → 8.38.2-snapshot-6
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/Pagination/PaginationArrowButton/PaginationArrowButtonLocator.js +2 -7
- package/es/Pagination/PaginationArrowButton/index.js +2 -2
- package/es/Pagination/PaginationButton/index.js +2 -2
- package/es/Pagination/PaginationLocator.js +4 -12
- package/es/Pagination/PaginationPageInput/PaginationPageInputLocator.js +2 -6
- package/lib/Pagination/PaginationArrowButton/PaginationArrowButtonLocator.js +2 -7
- package/lib/Pagination/PaginationArrowButton/index.js +2 -2
- package/lib/Pagination/PaginationButton/index.js +2 -2
- package/lib/Pagination/PaginationLocator.js +4 -12
- package/lib/Pagination/PaginationPageInput/PaginationPageInputLocator.js +2 -6
- package/package.json +22 -22
- package/tsconfig.build.tsbuildinfo +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
|
-
## [8.38.2-snapshot-
|
|
6
|
+
## [8.38.2-snapshot-6](https://github.com/instructure/instructure-ui/compare/v8.38.1...v8.38.2-snapshot-6) (2023-07-17)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-pagination
|
|
9
9
|
|
|
@@ -31,13 +31,8 @@ import { PaginationArrowButton } from './index';
|
|
|
31
31
|
export const PaginationArrowButtonLocator = locator(
|
|
32
32
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
33
33
|
PaginationArrowButton.selector, {
|
|
34
|
-
findTooltipContent:
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
click: async function (element) {
|
|
38
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
39
|
-
args[_key - 1] = arguments[_key];
|
|
40
|
-
}
|
|
34
|
+
findTooltipContent: (...args) => TooltipLocator.findContent(...args),
|
|
35
|
+
click: async (element, ...args) => {
|
|
41
36
|
return (await find(element, 'a,button,[role="button"]')).click(...args);
|
|
42
37
|
}
|
|
43
38
|
});
|
|
@@ -41,8 +41,8 @@ id: Pagination.Navigation
|
|
|
41
41
|
@tsProps
|
|
42
42
|
**/
|
|
43
43
|
let PaginationArrowButton = (_dec = testable(), _dec(_class = (_class2 = class PaginationArrowButton extends Component {
|
|
44
|
-
constructor() {
|
|
45
|
-
super(...
|
|
44
|
+
constructor(...args) {
|
|
45
|
+
super(...args);
|
|
46
46
|
this.ref = null;
|
|
47
47
|
this.handleRef = el => {
|
|
48
48
|
this.ref = el;
|
|
@@ -35,8 +35,8 @@ id: Pagination.Page
|
|
|
35
35
|
---
|
|
36
36
|
**/
|
|
37
37
|
let PaginationButton = (_dec = testable(), _dec(_class = (_class2 = class PaginationButton extends Component {
|
|
38
|
-
constructor() {
|
|
39
|
-
super(...
|
|
38
|
+
constructor(...args) {
|
|
39
|
+
super(...args);
|
|
40
40
|
this.ref = null;
|
|
41
41
|
this.handleRef = el => {
|
|
42
42
|
this.ref = el;
|
|
@@ -31,16 +31,8 @@ const PaginationButtonLocator = locator(Pagination.Page.selector);
|
|
|
31
31
|
|
|
32
32
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
33
33
|
export const PaginationLocator = locator(Pagination.selector, {
|
|
34
|
-
findAllPageButtons: async
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return PaginationButtonLocator.find(...arguments);
|
|
39
|
-
},
|
|
40
|
-
findArrowButton: async function () {
|
|
41
|
-
return PaginationArrowButtonLocator.find(...arguments);
|
|
42
|
-
},
|
|
43
|
-
findPageInput: async function () {
|
|
44
|
-
return PaginationPageInputLocator.find(...arguments);
|
|
45
|
-
}
|
|
34
|
+
findAllPageButtons: async (...args) => PaginationButtonLocator.findAll(...args),
|
|
35
|
+
findPageButton: async (...args) => PaginationButtonLocator.find(...args),
|
|
36
|
+
findArrowButton: async (...args) => PaginationArrowButtonLocator.find(...args),
|
|
37
|
+
findPageInput: async (...args) => PaginationPageInputLocator.find(...args)
|
|
46
38
|
});
|
|
@@ -31,10 +31,6 @@ import { PaginationPageInput } from './index';
|
|
|
31
31
|
export const PaginationPageInputLocator = locator(
|
|
32
32
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
33
33
|
PaginationPageInput.selector, {
|
|
34
|
-
findInput:
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
findNumberInputArrows: function () {
|
|
38
|
-
return NumberInputLocator.findArrowButtons(...arguments);
|
|
39
|
-
}
|
|
34
|
+
findInput: (...args) => NumberInputLocator.findInput(...args),
|
|
35
|
+
findNumberInputArrows: (...args) => NumberInputLocator.findArrowButtons(...args)
|
|
40
36
|
});
|
|
@@ -38,13 +38,8 @@ var _index = require("./index");
|
|
|
38
38
|
const PaginationArrowButtonLocator = (0, _locator.locator)(
|
|
39
39
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
40
40
|
_index.PaginationArrowButton.selector, {
|
|
41
|
-
findTooltipContent:
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
click: async function (element) {
|
|
45
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
46
|
-
args[_key - 1] = arguments[_key];
|
|
47
|
-
}
|
|
41
|
+
findTooltipContent: (...args) => _TooltipLocator.TooltipLocator.findContent(...args),
|
|
42
|
+
click: async (element, ...args) => {
|
|
48
43
|
return (await (0, _uiTestQueries.find)(element, 'a,button,[role="button"]')).click(...args);
|
|
49
44
|
}
|
|
50
45
|
});
|
|
@@ -50,8 +50,8 @@ id: Pagination.Navigation
|
|
|
50
50
|
@tsProps
|
|
51
51
|
**/
|
|
52
52
|
let PaginationArrowButton = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class PaginationArrowButton extends _react.Component {
|
|
53
|
-
constructor() {
|
|
54
|
-
super(...
|
|
53
|
+
constructor(...args) {
|
|
54
|
+
super(...args);
|
|
55
55
|
this.ref = null;
|
|
56
56
|
this.handleRef = el => {
|
|
57
57
|
this.ref = el;
|
|
@@ -41,8 +41,8 @@ id: Pagination.Page
|
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
43
|
let PaginationButton = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class PaginationButton extends _react.Component {
|
|
44
|
-
constructor() {
|
|
45
|
-
super(...
|
|
44
|
+
constructor(...args) {
|
|
45
|
+
super(...args);
|
|
46
46
|
this.ref = null;
|
|
47
47
|
this.handleRef = el => {
|
|
48
48
|
this.ref = el;
|
|
@@ -37,17 +37,9 @@ const PaginationButtonLocator = (0, _locator.locator)(_index.Pagination.Page.sel
|
|
|
37
37
|
|
|
38
38
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
39
39
|
const PaginationLocator = (0, _locator.locator)(_index.Pagination.selector, {
|
|
40
|
-
findAllPageButtons: async
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
return PaginationButtonLocator.find(...arguments);
|
|
45
|
-
},
|
|
46
|
-
findArrowButton: async function () {
|
|
47
|
-
return _PaginationArrowButtonLocator.PaginationArrowButtonLocator.find(...arguments);
|
|
48
|
-
},
|
|
49
|
-
findPageInput: async function () {
|
|
50
|
-
return _PaginationPageInputLocator.PaginationPageInputLocator.find(...arguments);
|
|
51
|
-
}
|
|
40
|
+
findAllPageButtons: async (...args) => PaginationButtonLocator.findAll(...args),
|
|
41
|
+
findPageButton: async (...args) => PaginationButtonLocator.find(...args),
|
|
42
|
+
findArrowButton: async (...args) => _PaginationArrowButtonLocator.PaginationArrowButtonLocator.find(...args),
|
|
43
|
+
findPageInput: async (...args) => _PaginationPageInputLocator.PaginationPageInputLocator.find(...args)
|
|
52
44
|
});
|
|
53
45
|
exports.PaginationLocator = PaginationLocator;
|
|
@@ -37,11 +37,7 @@ var _index = require("./index");
|
|
|
37
37
|
const PaginationPageInputLocator = (0, _locator.locator)(
|
|
38
38
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
39
39
|
_index.PaginationPageInput.selector, {
|
|
40
|
-
findInput:
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
findNumberInputArrows: function () {
|
|
44
|
-
return _NumberInputLocator.NumberInputLocator.findArrowButtons(...arguments);
|
|
45
|
-
}
|
|
40
|
+
findInput: (...args) => _NumberInputLocator.NumberInputLocator.findInput(...args),
|
|
41
|
+
findNumberInputArrows: (...args) => _NumberInputLocator.NumberInputLocator.findArrowButtons(...args)
|
|
46
42
|
});
|
|
47
43
|
exports.PaginationPageInputLocator = PaginationPageInputLocator;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pagination",
|
|
3
|
-
"version": "8.38.2-snapshot-
|
|
3
|
+
"version": "8.38.2-snapshot-6",
|
|
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.38.2-snapshot-
|
|
27
|
-
"@instructure/ui-test-locator": "8.38.2-snapshot-
|
|
28
|
-
"@instructure/ui-test-queries": "8.38.2-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "8.38.2-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "8.38.2-snapshot-6",
|
|
27
|
+
"@instructure/ui-test-locator": "8.38.2-snapshot-6",
|
|
28
|
+
"@instructure/ui-test-queries": "8.38.2-snapshot-6",
|
|
29
|
+
"@instructure/ui-test-utils": "8.38.2-snapshot-6"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@babel/runtime": "^7.22.
|
|
33
|
-
"@instructure/emotion": "8.38.2-snapshot-
|
|
34
|
-
"@instructure/shared-types": "8.38.2-snapshot-
|
|
35
|
-
"@instructure/ui-a11y-content": "8.38.2-snapshot-
|
|
36
|
-
"@instructure/ui-a11y-utils": "8.38.2-snapshot-
|
|
37
|
-
"@instructure/ui-buttons": "8.38.2-snapshot-
|
|
38
|
-
"@instructure/ui-dom-utils": "8.38.2-snapshot-
|
|
39
|
-
"@instructure/ui-icons": "8.38.2-snapshot-
|
|
40
|
-
"@instructure/ui-number-input": "8.38.2-snapshot-
|
|
41
|
-
"@instructure/ui-portal": "8.38.2-snapshot-
|
|
42
|
-
"@instructure/ui-prop-types": "8.38.2-snapshot-
|
|
43
|
-
"@instructure/ui-react-utils": "8.38.2-snapshot-
|
|
44
|
-
"@instructure/ui-testable": "8.38.2-snapshot-
|
|
45
|
-
"@instructure/ui-tooltip": "8.38.2-snapshot-
|
|
46
|
-
"@instructure/ui-utils": "8.38.2-snapshot-
|
|
47
|
-
"@instructure/ui-view": "8.38.2-snapshot-
|
|
48
|
-
"@instructure/uid": "8.38.2-snapshot-
|
|
32
|
+
"@babel/runtime": "^7.22.6",
|
|
33
|
+
"@instructure/emotion": "8.38.2-snapshot-6",
|
|
34
|
+
"@instructure/shared-types": "8.38.2-snapshot-6",
|
|
35
|
+
"@instructure/ui-a11y-content": "8.38.2-snapshot-6",
|
|
36
|
+
"@instructure/ui-a11y-utils": "8.38.2-snapshot-6",
|
|
37
|
+
"@instructure/ui-buttons": "8.38.2-snapshot-6",
|
|
38
|
+
"@instructure/ui-dom-utils": "8.38.2-snapshot-6",
|
|
39
|
+
"@instructure/ui-icons": "8.38.2-snapshot-6",
|
|
40
|
+
"@instructure/ui-number-input": "8.38.2-snapshot-6",
|
|
41
|
+
"@instructure/ui-portal": "8.38.2-snapshot-6",
|
|
42
|
+
"@instructure/ui-prop-types": "8.38.2-snapshot-6",
|
|
43
|
+
"@instructure/ui-react-utils": "8.38.2-snapshot-6",
|
|
44
|
+
"@instructure/ui-testable": "8.38.2-snapshot-6",
|
|
45
|
+
"@instructure/ui-tooltip": "8.38.2-snapshot-6",
|
|
46
|
+
"@instructure/ui-utils": "8.38.2-snapshot-6",
|
|
47
|
+
"@instructure/ui-view": "8.38.2-snapshot-6",
|
|
48
|
+
"@instructure/uid": "8.38.2-snapshot-6",
|
|
49
49
|
"keycode": "^2.2.1",
|
|
50
50
|
"prop-types": "^15.8.1"
|
|
51
51
|
},
|