@instructure/ui-pagination 8.10.1-snapshot.9 → 8.10.3-snapshot.2
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 +8 -0
- package/es/Pagination/PaginationArrowButton/index.js +10 -1
- package/es/Pagination/PaginationButton/index.js +9 -1
- package/es/Pagination/index.js +3 -0
- package/lib/Pagination/PaginationArrowButton/index.js +10 -1
- package/lib/Pagination/PaginationButton/index.js +9 -1
- package/lib/Pagination/index.js +3 -0
- package/package.json +21 -21
- package/src/Pagination/PaginationArrowButton/index.tsx +11 -1
- package/src/Pagination/PaginationButton/index.tsx +5 -0
- package/src/Pagination/index.tsx +3 -0
- package/src/Pagination/props.ts +1 -1
- package/types/Pagination/PaginationArrowButton/PaginationArrowButtonLocator.d.ts +64 -64
- package/types/Pagination/PaginationArrowButton/index.d.ts +1 -0
- package/types/Pagination/PaginationArrowButton/index.d.ts.map +1 -1
- package/types/Pagination/PaginationButton/index.d.ts +1 -0
- package/types/Pagination/PaginationButton/index.d.ts.map +1 -1
- package/types/Pagination/PaginationLocator.d.ts +304 -304
- package/types/Pagination/index.d.ts +3 -2
- package/types/Pagination/index.d.ts.map +1 -1
- package/types/Pagination/props.d.ts +1 -1
- package/types/Pagination/props.d.ts.map +1 -1
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
|
+
## [8.10.2](https://github.com/instructure/instructure-ui/compare/v8.10.1...v8.10.2) (2021-10-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-pagination
|
|
9
|
+
|
|
10
|
+
## [8.10.1](https://github.com/instructure/instructure-ui/compare/v8.10.0...v8.10.1) (2021-10-01)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @instructure/ui-pagination
|
|
13
|
+
|
|
6
14
|
# [8.10.0](https://github.com/instructure/instructure-ui/compare/v8.9.1...v8.10.0) (2021-09-28)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @instructure/ui-pagination
|
|
@@ -41,6 +41,11 @@ id: Pagination.Navigation
|
|
|
41
41
|
**/
|
|
42
42
|
|
|
43
43
|
let PaginationArrowButton = (_dec = testable(), _dec(_class = (_temp = _class2 = class PaginationArrowButton extends Component {
|
|
44
|
+
constructor(...args) {
|
|
45
|
+
super(...args);
|
|
46
|
+
this.ref = null;
|
|
47
|
+
}
|
|
48
|
+
|
|
44
49
|
render() {
|
|
45
50
|
const _this$props = this.props,
|
|
46
51
|
label = _this$props.label,
|
|
@@ -51,7 +56,11 @@ let PaginationArrowButton = (_dec = testable(), _dec(_class = (_temp = _class2 =
|
|
|
51
56
|
const Icon = direction === 'prev' ? IconArrowOpenStartSolid : IconArrowOpenEndSolid;
|
|
52
57
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
53
58
|
on: ['hover', 'focus'],
|
|
54
|
-
renderTip: /*#__PURE__*/React.createElement(PresentationContent,
|
|
59
|
+
renderTip: /*#__PURE__*/React.createElement(PresentationContent, {
|
|
60
|
+
elementRef: element => {
|
|
61
|
+
this.ref = element;
|
|
62
|
+
}
|
|
63
|
+
}, label)
|
|
55
64
|
}, /*#__PURE__*/React.createElement(IconButton, Object.assign({}, props, {
|
|
56
65
|
size: "small",
|
|
57
66
|
withBackground: false,
|
|
@@ -36,6 +36,11 @@ id: Pagination.Page
|
|
|
36
36
|
---
|
|
37
37
|
**/
|
|
38
38
|
let PaginationButton = (_dec = testable(), _dec(_class = (_temp = _class2 = class PaginationButton extends Component {
|
|
39
|
+
constructor(...args) {
|
|
40
|
+
super(...args);
|
|
41
|
+
this.ref = null;
|
|
42
|
+
}
|
|
43
|
+
|
|
39
44
|
render() {
|
|
40
45
|
const exclude = this.props.current ? ['onClick', 'href'] : [];
|
|
41
46
|
const props = omitProps(this.props, PaginationButton.allowedProps, exclude);
|
|
@@ -44,7 +49,10 @@ let PaginationButton = (_dec = testable(), _dec(_class = (_temp = _class2 = clas
|
|
|
44
49
|
withBackground: this.props.current ? true : false,
|
|
45
50
|
withBorder: this.props.current ? true : false
|
|
46
51
|
}, props, {
|
|
47
|
-
"aria-current": this.props.current ? 'page' : null
|
|
52
|
+
"aria-current": this.props.current ? 'page' : null,
|
|
53
|
+
elementRef: element => {
|
|
54
|
+
this.ref = element;
|
|
55
|
+
}
|
|
48
56
|
}), this.props.children);
|
|
49
57
|
}
|
|
50
58
|
|
package/es/Pagination/index.js
CHANGED
|
@@ -64,8 +64,11 @@ category: components
|
|
|
64
64
|
let Pagination = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class Pagination extends Component {
|
|
65
65
|
constructor(...args) {
|
|
66
66
|
super(...args);
|
|
67
|
+
this.ref = null;
|
|
67
68
|
|
|
68
69
|
this.handleElementRef = el => {
|
|
70
|
+
this.ref = el;
|
|
71
|
+
|
|
69
72
|
if (el) {
|
|
70
73
|
this._root = el;
|
|
71
74
|
|
|
@@ -38,6 +38,11 @@ id: Pagination.Navigation
|
|
|
38
38
|
---
|
|
39
39
|
**/
|
|
40
40
|
let PaginationArrowButton = (_dec = (0, _testable.testable)(), _dec(_class = (_temp = _class2 = class PaginationArrowButton extends _react.Component {
|
|
41
|
+
constructor(...args) {
|
|
42
|
+
super(...args);
|
|
43
|
+
this.ref = null;
|
|
44
|
+
}
|
|
45
|
+
|
|
41
46
|
render() {
|
|
42
47
|
const _this$props = this.props,
|
|
43
48
|
label = _this$props.label,
|
|
@@ -47,7 +52,11 @@ let PaginationArrowButton = (_dec = (0, _testable.testable)(), _dec(_class = (_t
|
|
|
47
52
|
const Icon = direction === 'prev' ? _IconArrowOpenStartSolid.IconArrowOpenStartSolid : _IconArrowOpenEndSolid.IconArrowOpenEndSolid;
|
|
48
53
|
return /*#__PURE__*/_react.default.createElement(_Tooltip.Tooltip, {
|
|
49
54
|
on: ['hover', 'focus'],
|
|
50
|
-
renderTip: /*#__PURE__*/_react.default.createElement(_PresentationContent.PresentationContent,
|
|
55
|
+
renderTip: /*#__PURE__*/_react.default.createElement(_PresentationContent.PresentationContent, {
|
|
56
|
+
elementRef: element => {
|
|
57
|
+
this.ref = element;
|
|
58
|
+
}
|
|
59
|
+
}, label)
|
|
51
60
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, Object.assign({}, props, {
|
|
52
61
|
size: "small",
|
|
53
62
|
withBackground: false,
|
|
@@ -26,6 +26,11 @@ id: Pagination.Page
|
|
|
26
26
|
---
|
|
27
27
|
**/
|
|
28
28
|
let PaginationButton = (_dec = (0, _testable.testable)(), _dec(_class = (_temp = _class2 = class PaginationButton extends _react.Component {
|
|
29
|
+
constructor(...args) {
|
|
30
|
+
super(...args);
|
|
31
|
+
this.ref = null;
|
|
32
|
+
}
|
|
33
|
+
|
|
29
34
|
render() {
|
|
30
35
|
const exclude = this.props.current ? ['onClick', 'href'] : [];
|
|
31
36
|
const props = (0, _omitProps.omitProps)(this.props, PaginationButton.allowedProps, exclude);
|
|
@@ -34,7 +39,10 @@ let PaginationButton = (_dec = (0, _testable.testable)(), _dec(_class = (_temp =
|
|
|
34
39
|
withBackground: this.props.current ? true : false,
|
|
35
40
|
withBorder: this.props.current ? true : false
|
|
36
41
|
}, props, {
|
|
37
|
-
"aria-current": this.props.current ? 'page' : null
|
|
42
|
+
"aria-current": this.props.current ? 'page' : null,
|
|
43
|
+
elementRef: element => {
|
|
44
|
+
this.ref = element;
|
|
45
|
+
}
|
|
38
46
|
}), this.props.children);
|
|
39
47
|
}
|
|
40
48
|
|
package/lib/Pagination/index.js
CHANGED
|
@@ -69,8 +69,11 @@ category: components
|
|
|
69
69
|
let Pagination = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class Pagination extends _react.Component {
|
|
70
70
|
constructor(...args) {
|
|
71
71
|
super(...args);
|
|
72
|
+
this.ref = null;
|
|
72
73
|
|
|
73
74
|
this.handleElementRef = el => {
|
|
75
|
+
this.ref = el;
|
|
76
|
+
|
|
74
77
|
if (el) {
|
|
75
78
|
this._root = el;
|
|
76
79
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pagination",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.3-snapshot.2+ccdf8f43b",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -24,28 +24,28 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@instructure/ui-babel-preset": "8.10.
|
|
28
|
-
"@instructure/ui-test-locator": "8.10.
|
|
29
|
-
"@instructure/ui-test-queries": "8.10.
|
|
30
|
-
"@instructure/ui-test-utils": "8.10.
|
|
27
|
+
"@instructure/ui-babel-preset": "8.10.3-snapshot.2+ccdf8f43b",
|
|
28
|
+
"@instructure/ui-test-locator": "8.10.3-snapshot.2+ccdf8f43b",
|
|
29
|
+
"@instructure/ui-test-queries": "8.10.3-snapshot.2+ccdf8f43b",
|
|
30
|
+
"@instructure/ui-test-utils": "8.10.3-snapshot.2+ccdf8f43b"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.13.10",
|
|
34
|
-
"@instructure/emotion": "8.10.
|
|
35
|
-
"@instructure/shared-types": "8.10.
|
|
36
|
-
"@instructure/ui-a11y-content": "8.10.
|
|
37
|
-
"@instructure/ui-a11y-utils": "8.10.
|
|
38
|
-
"@instructure/ui-buttons": "8.10.
|
|
39
|
-
"@instructure/ui-dom-utils": "8.10.
|
|
40
|
-
"@instructure/ui-icons": "8.10.
|
|
41
|
-
"@instructure/ui-portal": "8.10.
|
|
42
|
-
"@instructure/ui-prop-types": "8.10.
|
|
43
|
-
"@instructure/ui-react-utils": "8.10.
|
|
44
|
-
"@instructure/ui-testable": "8.10.
|
|
45
|
-
"@instructure/ui-tooltip": "8.10.
|
|
46
|
-
"@instructure/ui-utils": "8.10.
|
|
47
|
-
"@instructure/ui-view": "8.10.
|
|
48
|
-
"@instructure/uid": "8.10.
|
|
34
|
+
"@instructure/emotion": "8.10.3-snapshot.2+ccdf8f43b",
|
|
35
|
+
"@instructure/shared-types": "8.10.3-snapshot.2+ccdf8f43b",
|
|
36
|
+
"@instructure/ui-a11y-content": "8.10.3-snapshot.2+ccdf8f43b",
|
|
37
|
+
"@instructure/ui-a11y-utils": "8.10.3-snapshot.2+ccdf8f43b",
|
|
38
|
+
"@instructure/ui-buttons": "8.10.3-snapshot.2+ccdf8f43b",
|
|
39
|
+
"@instructure/ui-dom-utils": "8.10.3-snapshot.2+ccdf8f43b",
|
|
40
|
+
"@instructure/ui-icons": "8.10.3-snapshot.2+ccdf8f43b",
|
|
41
|
+
"@instructure/ui-portal": "8.10.3-snapshot.2+ccdf8f43b",
|
|
42
|
+
"@instructure/ui-prop-types": "8.10.3-snapshot.2+ccdf8f43b",
|
|
43
|
+
"@instructure/ui-react-utils": "8.10.3-snapshot.2+ccdf8f43b",
|
|
44
|
+
"@instructure/ui-testable": "8.10.3-snapshot.2+ccdf8f43b",
|
|
45
|
+
"@instructure/ui-tooltip": "8.10.3-snapshot.2+ccdf8f43b",
|
|
46
|
+
"@instructure/ui-utils": "8.10.3-snapshot.2+ccdf8f43b",
|
|
47
|
+
"@instructure/ui-view": "8.10.3-snapshot.2+ccdf8f43b",
|
|
48
|
+
"@instructure/uid": "8.10.3-snapshot.2+ccdf8f43b",
|
|
49
49
|
"prop-types": "^15"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
57
|
"sideEffects": false,
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "ccdf8f43b56a8edef32600281692dfeb436d5a01"
|
|
59
59
|
}
|
|
@@ -53,6 +53,8 @@ class PaginationArrowButton extends Component<PaginationNavigationProps> {
|
|
|
53
53
|
buttonRef: (el) => {}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
ref: Element | null = null
|
|
57
|
+
|
|
56
58
|
render() {
|
|
57
59
|
const { label, direction, buttonRef, ...props } = this.props
|
|
58
60
|
const Icon =
|
|
@@ -60,7 +62,15 @@ class PaginationArrowButton extends Component<PaginationNavigationProps> {
|
|
|
60
62
|
return (
|
|
61
63
|
<Tooltip
|
|
62
64
|
on={['hover', 'focus']}
|
|
63
|
-
renderTip={
|
|
65
|
+
renderTip={
|
|
66
|
+
<PresentationContent
|
|
67
|
+
elementRef={(element) => {
|
|
68
|
+
this.ref = element
|
|
69
|
+
}}
|
|
70
|
+
>
|
|
71
|
+
{label}
|
|
72
|
+
</PresentationContent>
|
|
73
|
+
}
|
|
64
74
|
>
|
|
65
75
|
<IconButton
|
|
66
76
|
{...props}
|
|
@@ -48,6 +48,8 @@ class PaginationButton extends Component<PaginationPageProps> {
|
|
|
48
48
|
current: false
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
ref: Element | null = null
|
|
52
|
+
|
|
51
53
|
render() {
|
|
52
54
|
const exclude = this.props.current ? ['onClick', 'href'] : []
|
|
53
55
|
const props = omitProps(this.props, PaginationButton.allowedProps, exclude)
|
|
@@ -58,6 +60,9 @@ class PaginationButton extends Component<PaginationPageProps> {
|
|
|
58
60
|
withBorder={this.props.current ? true : false}
|
|
59
61
|
{...props}
|
|
60
62
|
aria-current={this.props.current ? 'page' : null}
|
|
63
|
+
elementRef={(element) => {
|
|
64
|
+
this.ref = element
|
|
65
|
+
}}
|
|
61
66
|
>
|
|
62
67
|
{this.props.children}
|
|
63
68
|
</BaseButton>
|
package/src/Pagination/index.tsx
CHANGED
|
@@ -88,6 +88,8 @@ class Pagination extends Component<PaginationProps> {
|
|
|
88
88
|
static Page = PaginationButton
|
|
89
89
|
static Navigation = PaginationArrowButton
|
|
90
90
|
|
|
91
|
+
ref: Element | null = null
|
|
92
|
+
|
|
91
93
|
// @ts-expect-error ts-migrate(7019) FIXME: Rest parameter 'args' implicitly has an 'any[]' ty... Remove this comment to see the full error message
|
|
92
94
|
constructor(...args) {
|
|
93
95
|
// @ts-expect-error ts-migrate(2556) FIXME: Expected 1-2 arguments, but got 0 or more.
|
|
@@ -155,6 +157,7 @@ class Pagination extends Component<PaginationProps> {
|
|
|
155
157
|
|
|
156
158
|
// @ts-expect-error ts-migrate(7006) FIXME: Parameter 'el' implicitly has an 'any' type.
|
|
157
159
|
handleElementRef = (el) => {
|
|
160
|
+
this.ref = el
|
|
158
161
|
if (el) {
|
|
159
162
|
// @ts-expect-error ts-migrate(2339) FIXME: Property '_root' does not exist on type 'Paginatio... Remove this comment to see the full error message
|
|
160
163
|
this._root = el
|
package/src/Pagination/props.ts
CHANGED
|
@@ -22,24 +22,28 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
22
22
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
23
23
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
24
24
|
} & {
|
|
25
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
26
|
+
highlight: boolean;
|
|
27
|
+
} | undefined) => string;
|
|
28
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
29
|
+
children: (selector: string) => Element[];
|
|
30
|
+
title: () => string | null | undefined;
|
|
31
|
+
id: () => string;
|
|
32
|
+
tagName: () => string;
|
|
33
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
34
|
+
getBoundingClientRect: () => DOMRect;
|
|
35
|
+
matches: (selector: string | undefined) => boolean;
|
|
25
36
|
visible: () => boolean;
|
|
26
37
|
value: () => string | null;
|
|
27
38
|
disabled: () => string | null;
|
|
28
39
|
role: () => string | null;
|
|
29
|
-
id: () => string;
|
|
30
40
|
label: () => string | null | undefined;
|
|
31
|
-
title: () => string | null | undefined;
|
|
32
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
33
|
-
highlight: boolean;
|
|
34
|
-
} | undefined) => string;
|
|
35
41
|
getId: () => string;
|
|
36
42
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
37
43
|
getOwnerDocument: () => Document;
|
|
38
44
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
39
45
|
getTagName: () => string;
|
|
40
|
-
tagName: () => string;
|
|
41
46
|
typeIn: (text: string) => Promise<void>;
|
|
42
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
43
47
|
getDOMNode: () => Element;
|
|
44
48
|
node: () => Element;
|
|
45
49
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -47,9 +51,8 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
47
51
|
} | undefined) => void;
|
|
48
52
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
49
53
|
getTextContent: () => string | null;
|
|
50
|
-
getParentNode: () =>
|
|
51
|
-
parent: () =>
|
|
52
|
-
getBoundingClientRect: () => DOMRect;
|
|
54
|
+
getParentNode: () => ParentNode | null;
|
|
55
|
+
parent: () => ParentNode | null;
|
|
53
56
|
rect: () => DOMRect;
|
|
54
57
|
hasClass: (classname: string) => boolean;
|
|
55
58
|
containsFocus: () => boolean;
|
|
@@ -61,19 +64,17 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
61
64
|
exists: () => boolean;
|
|
62
65
|
text: () => string | null;
|
|
63
66
|
empty: () => boolean;
|
|
64
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
65
67
|
descendants: (selector: string) => Element[];
|
|
66
|
-
ancestors: (selector: string) =>
|
|
68
|
+
ancestors: (selector: string) => ParentNode[];
|
|
67
69
|
attribute: (qualifiedName: string) => string | null;
|
|
68
70
|
style: (property: string) => string;
|
|
69
71
|
classNames: () => string[];
|
|
70
|
-
matches: (selector: string | undefined) => boolean;
|
|
71
72
|
checked: () => any;
|
|
72
73
|
selected: () => any;
|
|
73
74
|
readonly: () => any;
|
|
74
|
-
|
|
75
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
75
|
+
parents: (selector: string) => ParentNode[];
|
|
76
76
|
} & {
|
|
77
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
77
78
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
78
79
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
79
80
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -111,7 +112,6 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
111
112
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
112
113
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
113
114
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
114
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
115
115
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
116
116
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
117
117
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -164,24 +164,28 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
164
164
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
165
165
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
166
166
|
} & {
|
|
167
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
168
|
+
highlight: boolean;
|
|
169
|
+
} | undefined) => string;
|
|
170
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
171
|
+
children: (selector: string) => Element[];
|
|
172
|
+
title: () => string | null | undefined;
|
|
173
|
+
id: () => string;
|
|
174
|
+
tagName: () => string;
|
|
175
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
176
|
+
getBoundingClientRect: () => DOMRect;
|
|
177
|
+
matches: (selector: string | undefined) => boolean;
|
|
167
178
|
visible: () => boolean;
|
|
168
179
|
value: () => string | null;
|
|
169
180
|
disabled: () => string | null;
|
|
170
181
|
role: () => string | null;
|
|
171
|
-
id: () => string;
|
|
172
182
|
label: () => string | null | undefined;
|
|
173
|
-
title: () => string | null | undefined;
|
|
174
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
175
|
-
highlight: boolean;
|
|
176
|
-
} | undefined) => string;
|
|
177
183
|
getId: () => string;
|
|
178
184
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
179
185
|
getOwnerDocument: () => Document;
|
|
180
186
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
181
187
|
getTagName: () => string;
|
|
182
|
-
tagName: () => string;
|
|
183
188
|
typeIn: (text: string) => Promise<void>;
|
|
184
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
185
189
|
getDOMNode: () => Element;
|
|
186
190
|
node: () => Element;
|
|
187
191
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -189,9 +193,8 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
189
193
|
} | undefined) => void;
|
|
190
194
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
191
195
|
getTextContent: () => string | null;
|
|
192
|
-
getParentNode: () =>
|
|
193
|
-
parent: () =>
|
|
194
|
-
getBoundingClientRect: () => DOMRect;
|
|
196
|
+
getParentNode: () => ParentNode | null;
|
|
197
|
+
parent: () => ParentNode | null;
|
|
195
198
|
rect: () => DOMRect;
|
|
196
199
|
hasClass: (classname: string) => boolean;
|
|
197
200
|
containsFocus: () => boolean;
|
|
@@ -203,19 +206,17 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
203
206
|
exists: () => boolean;
|
|
204
207
|
text: () => string | null;
|
|
205
208
|
empty: () => boolean;
|
|
206
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
207
209
|
descendants: (selector: string) => Element[];
|
|
208
|
-
ancestors: (selector: string) =>
|
|
210
|
+
ancestors: (selector: string) => ParentNode[];
|
|
209
211
|
attribute: (qualifiedName: string) => string | null;
|
|
210
212
|
style: (property: string) => string;
|
|
211
213
|
classNames: () => string[];
|
|
212
|
-
matches: (selector: string | undefined) => boolean;
|
|
213
214
|
checked: () => any;
|
|
214
215
|
selected: () => any;
|
|
215
216
|
readonly: () => any;
|
|
216
|
-
|
|
217
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
217
|
+
parents: (selector: string) => ParentNode[];
|
|
218
218
|
} & {
|
|
219
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
219
220
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
220
221
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
221
222
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -253,7 +254,6 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
253
254
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
254
255
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
255
256
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
256
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
257
257
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
258
258
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
259
259
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -306,24 +306,28 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
306
306
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
307
307
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
308
308
|
} & {
|
|
309
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
310
|
+
highlight: boolean;
|
|
311
|
+
} | undefined) => string;
|
|
312
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
313
|
+
children: (selector: string) => Element[];
|
|
314
|
+
title: () => string | null | undefined;
|
|
315
|
+
id: () => string;
|
|
316
|
+
tagName: () => string;
|
|
317
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
318
|
+
getBoundingClientRect: () => DOMRect;
|
|
319
|
+
matches: (selector: string | undefined) => boolean;
|
|
309
320
|
visible: () => boolean;
|
|
310
321
|
value: () => string | null;
|
|
311
322
|
disabled: () => string | null;
|
|
312
323
|
role: () => string | null;
|
|
313
|
-
id: () => string;
|
|
314
324
|
label: () => string | null | undefined;
|
|
315
|
-
title: () => string | null | undefined;
|
|
316
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
317
|
-
highlight: boolean;
|
|
318
|
-
} | undefined) => string;
|
|
319
325
|
getId: () => string;
|
|
320
326
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
321
327
|
getOwnerDocument: () => Document;
|
|
322
328
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
323
329
|
getTagName: () => string;
|
|
324
|
-
tagName: () => string;
|
|
325
330
|
typeIn: (text: string) => Promise<void>;
|
|
326
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
327
331
|
getDOMNode: () => Element;
|
|
328
332
|
node: () => Element;
|
|
329
333
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -331,9 +335,8 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
331
335
|
} | undefined) => void;
|
|
332
336
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
333
337
|
getTextContent: () => string | null;
|
|
334
|
-
getParentNode: () =>
|
|
335
|
-
parent: () =>
|
|
336
|
-
getBoundingClientRect: () => DOMRect;
|
|
338
|
+
getParentNode: () => ParentNode | null;
|
|
339
|
+
parent: () => ParentNode | null;
|
|
337
340
|
rect: () => DOMRect;
|
|
338
341
|
hasClass: (classname: string) => boolean;
|
|
339
342
|
containsFocus: () => boolean;
|
|
@@ -345,19 +348,17 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
345
348
|
exists: () => boolean;
|
|
346
349
|
text: () => string | null;
|
|
347
350
|
empty: () => boolean;
|
|
348
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
349
351
|
descendants: (selector: string) => Element[];
|
|
350
|
-
ancestors: (selector: string) =>
|
|
352
|
+
ancestors: (selector: string) => ParentNode[];
|
|
351
353
|
attribute: (qualifiedName: string) => string | null;
|
|
352
354
|
style: (property: string) => string;
|
|
353
355
|
classNames: () => string[];
|
|
354
|
-
matches: (selector: string | undefined) => boolean;
|
|
355
356
|
checked: () => any;
|
|
356
357
|
selected: () => any;
|
|
357
358
|
readonly: () => any;
|
|
358
|
-
|
|
359
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
359
|
+
parents: (selector: string) => ParentNode[];
|
|
360
360
|
} & {
|
|
361
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
361
362
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
362
363
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
363
364
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -395,7 +396,6 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
395
396
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
396
397
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
397
398
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
398
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
399
399
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
400
400
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
401
401
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -448,24 +448,28 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
448
448
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
449
449
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
450
450
|
} & {
|
|
451
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
452
|
+
highlight: boolean;
|
|
453
|
+
} | undefined) => string;
|
|
454
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
455
|
+
children: (selector: string) => Element[];
|
|
456
|
+
title: () => string | null | undefined;
|
|
457
|
+
id: () => string;
|
|
458
|
+
tagName: () => string;
|
|
459
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
460
|
+
getBoundingClientRect: () => DOMRect;
|
|
461
|
+
matches: (selector: string | undefined) => boolean;
|
|
451
462
|
visible: () => boolean;
|
|
452
463
|
value: () => string | null;
|
|
453
464
|
disabled: () => string | null;
|
|
454
465
|
role: () => string | null;
|
|
455
|
-
id: () => string;
|
|
456
466
|
label: () => string | null | undefined;
|
|
457
|
-
title: () => string | null | undefined;
|
|
458
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
459
|
-
highlight: boolean;
|
|
460
|
-
} | undefined) => string;
|
|
461
467
|
getId: () => string;
|
|
462
468
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
463
469
|
getOwnerDocument: () => Document;
|
|
464
470
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
465
471
|
getTagName: () => string;
|
|
466
|
-
tagName: () => string;
|
|
467
472
|
typeIn: (text: string) => Promise<void>;
|
|
468
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
469
473
|
getDOMNode: () => Element;
|
|
470
474
|
node: () => Element;
|
|
471
475
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -473,9 +477,8 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
473
477
|
} | undefined) => void;
|
|
474
478
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
475
479
|
getTextContent: () => string | null;
|
|
476
|
-
getParentNode: () =>
|
|
477
|
-
parent: () =>
|
|
478
|
-
getBoundingClientRect: () => DOMRect;
|
|
480
|
+
getParentNode: () => ParentNode | null;
|
|
481
|
+
parent: () => ParentNode | null;
|
|
479
482
|
rect: () => DOMRect;
|
|
480
483
|
hasClass: (classname: string) => boolean;
|
|
481
484
|
containsFocus: () => boolean;
|
|
@@ -487,19 +490,17 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
487
490
|
exists: () => boolean;
|
|
488
491
|
text: () => string | null;
|
|
489
492
|
empty: () => boolean;
|
|
490
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
491
493
|
descendants: (selector: string) => Element[];
|
|
492
|
-
ancestors: (selector: string) =>
|
|
494
|
+
ancestors: (selector: string) => ParentNode[];
|
|
493
495
|
attribute: (qualifiedName: string) => string | null;
|
|
494
496
|
style: (property: string) => string;
|
|
495
497
|
classNames: () => string[];
|
|
496
|
-
matches: (selector: string | undefined) => boolean;
|
|
497
498
|
checked: () => any;
|
|
498
499
|
selected: () => any;
|
|
499
500
|
readonly: () => any;
|
|
500
|
-
|
|
501
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
501
|
+
parents: (selector: string) => ParentNode[];
|
|
502
502
|
} & {
|
|
503
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
503
504
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
504
505
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
505
506
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -537,7 +538,6 @@ export declare const PaginationArrowButtonLocator: {
|
|
|
537
538
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
538
539
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
539
540
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
540
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
541
541
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
542
542
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
543
543
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Pagination/PaginationArrowButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUxC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAGxD;;;;;GAKG;AACH,cACM,qBAAsB,SAAQ,SAAS,CAAC,yBAAyB,CAAC;IACtE,MAAM,CAAC,QAAQ,CAAC,WAAW,2BAA0B;IAErD,MAAM,CAAC,YAAY;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;MAGlB;IAED,MAAM;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Pagination/PaginationArrowButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUxC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAGxD;;;;;GAKG;AACH,cACM,qBAAsB,SAAQ,SAAS,CAAC,yBAAyB,CAAC;IACtE,MAAM,CAAC,QAAQ,CAAC,WAAW,2BAA0B;IAErD,MAAM,CAAC,YAAY;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;MAGlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,MAAM;CAiCP;AAED,eAAe,qBAAqB,CAAA;AACpC,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Pagination/PaginationButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;GAKG;AAEH,cACM,gBAAiB,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,SAAS;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;SAAe;IAClC,MAAM,CAAC,YAAY;;MAElB;IAED,MAAM;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Pagination/PaginationButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;GAKG;AAEH,cACM,gBAAiB,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,SAAS;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;SAAe;IAClC,MAAM,CAAC,YAAY;;MAElB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,MAAM;CAkBP;AAED,eAAe,gBAAgB,CAAA;AAC/B,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|