@instructure/ui-pagination 8.56.0 → 8.56.2-pr-snapshot-1721749364069
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 +16 -0
- package/lib/Pagination/PaginationArrowButton/PaginationArrowButtonLocator.js +3 -3
- package/lib/Pagination/PaginationArrowButton/index.js +13 -16
- package/lib/Pagination/PaginationButton/index.js +6 -6
- package/lib/Pagination/PaginationLocator.js +3 -3
- package/lib/Pagination/PaginationPageInput/PaginationPageInputLocator.js +3 -3
- package/lib/Pagination/PaginationPageInput/index.js +6 -6
- package/lib/Pagination/index.js +14 -16
- package/lib/Pagination/props.js +2 -2
- package/package.json +21 -21
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.56.2-pr-snapshot-1721749364069](https://github.com/instructure/instructure-ui/compare/v8.56.1...v8.56.2-pr-snapshot-1721749364069) (2024-07-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-pagination
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [8.56.1](https://github.com/instructure/instructure-ui/compare/v8.56.0...v8.56.1) (2024-06-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @instructure/ui-pagination
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [8.56.0](https://github.com/instructure/instructure-ui/compare/v8.55.1...v8.56.0) (2024-05-06)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @instructure/ui-pagination
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.PaginationArrowButtonLocator = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _uiTestLocator = require("@instructure/ui-test-locator");
|
|
8
8
|
var _uiTestQueries = require("@instructure/ui-test-queries");
|
|
9
|
-
var _TooltipLocator = require("@instructure/ui-tooltip/
|
|
9
|
+
var _TooltipLocator = require("@instructure/ui-tooltip/es/Tooltip/TooltipLocator");
|
|
10
10
|
var _index = require("./index");
|
|
11
11
|
/*
|
|
12
12
|
* The MIT License (MIT)
|
|
@@ -35,7 +35,7 @@ var _index = require("./index");
|
|
|
35
35
|
// @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
|
|
36
36
|
// eslint-disable-next-line no-restricted-imports
|
|
37
37
|
|
|
38
|
-
const PaginationArrowButtonLocator = exports.PaginationArrowButtonLocator = (0,
|
|
38
|
+
const PaginationArrowButtonLocator = exports.PaginationArrowButtonLocator = (0, _uiTestLocator.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
41
|
findTooltipContent: (...args) => _TooltipLocator.TooltipLocator.findContent(...args),
|
|
@@ -8,14 +8,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = exports.PaginationArrowButton = void 0;
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var _IconArrowDoubleStartSolid = require("@instructure/ui-icons/lib/IconArrowDoubleStartSolid.js");
|
|
17
|
-
var _IconArrowDoubleEndSolid = require("@instructure/ui-icons/lib/IconArrowDoubleEndSolid.js");
|
|
18
|
-
var _testable = require("@instructure/ui-testable/lib/testable.js");
|
|
11
|
+
var _uiButtons = require("@instructure/ui-buttons");
|
|
12
|
+
var _uiA11yContent = require("@instructure/ui-a11y-content");
|
|
13
|
+
var _uiTooltip = require("@instructure/ui-tooltip");
|
|
14
|
+
var _uiIcons = require("@instructure/ui-icons");
|
|
15
|
+
var _uiTestable = require("@instructure/ui-testable");
|
|
19
16
|
var _props = require("./props");
|
|
20
17
|
const _excluded = ["label", "direction", "buttonRef"];
|
|
21
18
|
var _dec, _class, _class2;
|
|
@@ -48,7 +45,7 @@ parent: Pagination
|
|
|
48
45
|
id: Pagination.Navigation
|
|
49
46
|
---
|
|
50
47
|
**/
|
|
51
|
-
let PaginationArrowButton = exports.PaginationArrowButton = (_dec = (0,
|
|
48
|
+
let PaginationArrowButton = exports.PaginationArrowButton = (_dec = (0, _uiTestable.testable)(), _dec(_class = (_class2 = class PaginationArrowButton extends _react.Component {
|
|
52
49
|
constructor(...args) {
|
|
53
50
|
super(...args);
|
|
54
51
|
this.ref = null;
|
|
@@ -69,13 +66,13 @@ let PaginationArrowButton = exports.PaginationArrowButton = (_dec = (0, _testabl
|
|
|
69
66
|
get Icon() {
|
|
70
67
|
switch (this.props.direction) {
|
|
71
68
|
case 'first':
|
|
72
|
-
return
|
|
69
|
+
return _uiIcons.IconArrowDoubleStartSolid;
|
|
73
70
|
case 'prev':
|
|
74
|
-
return
|
|
71
|
+
return _uiIcons.IconArrowOpenStartSolid;
|
|
75
72
|
case 'next':
|
|
76
|
-
return
|
|
73
|
+
return _uiIcons.IconArrowOpenEndSolid;
|
|
77
74
|
case 'last':
|
|
78
|
-
return
|
|
75
|
+
return _uiIcons.IconArrowDoubleEndSolid;
|
|
79
76
|
default:
|
|
80
77
|
return null;
|
|
81
78
|
}
|
|
@@ -86,11 +83,11 @@ let PaginationArrowButton = exports.PaginationArrowButton = (_dec = (0, _testabl
|
|
|
86
83
|
direction = _this$props.direction,
|
|
87
84
|
buttonRef = _this$props.buttonRef,
|
|
88
85
|
props = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
|
|
89
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
86
|
+
return /*#__PURE__*/_react.default.createElement(_uiTooltip.Tooltip, {
|
|
90
87
|
elementRef: this.handleRef,
|
|
91
88
|
on: ['hover', 'focus'],
|
|
92
|
-
renderTip: /*#__PURE__*/_react.default.createElement(
|
|
93
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
89
|
+
renderTip: /*#__PURE__*/_react.default.createElement(_uiA11yContent.PresentationContent, null, label)
|
|
90
|
+
}, /*#__PURE__*/_react.default.createElement(_uiButtons.IconButton, Object.assign({}, props, {
|
|
94
91
|
size: "small",
|
|
95
92
|
withBackground: false,
|
|
96
93
|
withBorder: false,
|
|
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.PaginationButton = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
9
|
+
var _uiButtons = require("@instructure/ui-buttons");
|
|
10
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
11
|
+
var _uiTestable = require("@instructure/ui-testable");
|
|
12
12
|
var _props = require("./props");
|
|
13
13
|
var _dec, _class, _class2;
|
|
14
14
|
/*
|
|
@@ -40,7 +40,7 @@ parent: Pagination
|
|
|
40
40
|
id: Pagination.Page
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
|
-
let PaginationButton = exports.PaginationButton = (_dec = (0,
|
|
43
|
+
let PaginationButton = exports.PaginationButton = (_dec = (0, _uiTestable.testable)(), _dec(_class = (_class2 = class PaginationButton extends _react.Component {
|
|
44
44
|
constructor(...args) {
|
|
45
45
|
super(...args);
|
|
46
46
|
this.ref = null;
|
|
@@ -50,8 +50,8 @@ let PaginationButton = exports.PaginationButton = (_dec = (0, _testable.testable
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
const exclude = this.props.current ? ['onClick', 'href'] : [];
|
|
53
|
-
const props = (0,
|
|
54
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
53
|
+
const props = (0, _uiReactUtils.omitProps)(this.props, PaginationButton.allowedProps, exclude);
|
|
54
|
+
return /*#__PURE__*/_react.default.createElement(_uiButtons.BaseButton, Object.assign({
|
|
55
55
|
color: "primary",
|
|
56
56
|
withBackground: this.props.current,
|
|
57
57
|
withBorder: this.props.current
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.PaginationLocator = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _uiTestLocator = require("@instructure/ui-test-locator");
|
|
8
8
|
var _PaginationPageInputLocator = require("./PaginationPageInput/PaginationPageInputLocator");
|
|
9
9
|
var _PaginationArrowButtonLocator = require("./PaginationArrowButton/PaginationArrowButtonLocator");
|
|
10
10
|
var _index = require("./index");
|
|
@@ -33,10 +33,10 @@ var _index = require("./index");
|
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
35
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
36
|
-
const PaginationButtonLocator = (0,
|
|
36
|
+
const PaginationButtonLocator = (0, _uiTestLocator.locator)(_index.Pagination.Page.selector);
|
|
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
|
-
const PaginationLocator = exports.PaginationLocator = (0,
|
|
39
|
+
const PaginationLocator = exports.PaginationLocator = (0, _uiTestLocator.locator)(_index.Pagination.selector, {
|
|
40
40
|
findAllPageButtons: async (...args) => PaginationButtonLocator.findAll(...args),
|
|
41
41
|
findPageButton: async (...args) => PaginationButtonLocator.find(...args),
|
|
42
42
|
findArrowButton: async (...args) => _PaginationArrowButtonLocator.PaginationArrowButtonLocator.find(...args),
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.PaginationPageInputLocator = void 0;
|
|
7
|
-
var
|
|
8
|
-
var _NumberInputLocator = require("@instructure/ui-number-input/
|
|
7
|
+
var _uiTestLocator = require("@instructure/ui-test-locator");
|
|
8
|
+
var _NumberInputLocator = require("@instructure/ui-number-input/es/NumberInput/NumberInputLocator");
|
|
9
9
|
var _index = require("./index");
|
|
10
10
|
/*
|
|
11
11
|
* The MIT License (MIT)
|
|
@@ -34,7 +34,7 @@ var _index = require("./index");
|
|
|
34
34
|
// @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
|
|
35
35
|
// eslint-disable-line no-restricted-imports
|
|
36
36
|
|
|
37
|
-
const PaginationPageInputLocator = exports.PaginationPageInputLocator = (0,
|
|
37
|
+
const PaginationPageInputLocator = exports.PaginationPageInputLocator = (0, _uiTestLocator.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
40
|
findInput: (...args) => _NumberInputLocator.NumberInputLocator.findInput(...args),
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = exports.PaginationPageInput = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var
|
|
10
|
+
var _uiTestable = require("@instructure/ui-testable");
|
|
11
11
|
var _emotion = require("@instructure/emotion");
|
|
12
|
-
var
|
|
13
|
-
var
|
|
12
|
+
var _uiNumberInput = require("@instructure/ui-number-input");
|
|
13
|
+
var _uiA11yContent = require("@instructure/ui-a11y-content");
|
|
14
14
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
15
15
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
16
16
|
var _props = require("./props");
|
|
@@ -45,7 +45,7 @@ parent: Pagination
|
|
|
45
45
|
id: Pagination.PageInput
|
|
46
46
|
---
|
|
47
47
|
**/
|
|
48
|
-
let PaginationPageInput = exports.PaginationPageInput = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0,
|
|
48
|
+
let PaginationPageInput = exports.PaginationPageInput = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_class2 = class PaginationPageInput extends _react.Component {
|
|
49
49
|
constructor(props) {
|
|
50
50
|
super(props);
|
|
51
51
|
this.ref = null;
|
|
@@ -153,7 +153,7 @@ let PaginationPageInput = exports.PaginationPageInput = (_dec = (0, _emotion.wit
|
|
|
153
153
|
const _this$props4 = this.props,
|
|
154
154
|
screenReaderLabel = _this$props4.screenReaderLabel,
|
|
155
155
|
numberOfPages = _this$props4.numberOfPages;
|
|
156
|
-
return (0, _emotion.jsx)(
|
|
156
|
+
return (0, _emotion.jsx)(_uiA11yContent.ScreenReaderContent, null, screenReaderLabel(this.currentPage, numberOfPages));
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
159
|
const _this$props5 = this.props,
|
|
@@ -164,7 +164,7 @@ let PaginationPageInput = exports.PaginationPageInput = (_dec = (0, _emotion.wit
|
|
|
164
164
|
ref: this.handleRef
|
|
165
165
|
}, (0, _emotion.jsx)("span", {
|
|
166
166
|
css: styles === null || styles === void 0 ? void 0 : styles.numberInput
|
|
167
|
-
}, (0, _emotion.jsx)(
|
|
167
|
+
}, (0, _emotion.jsx)(_uiNumberInput.NumberInput, {
|
|
168
168
|
renderLabel: this.renderScreenReaderLabel(),
|
|
169
169
|
onBlur: this.handleBlur,
|
|
170
170
|
onChange: this.handleChange,
|
package/lib/Pagination/index.js
CHANGED
|
@@ -14,13 +14,11 @@ Object.defineProperty(exports, "PaginationButton", {
|
|
|
14
14
|
});
|
|
15
15
|
exports.default = void 0;
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var _findTabbable = require("@instructure/ui-dom-utils/lib/findTabbable.js");
|
|
23
|
-
var _getActiveElement = require("@instructure/ui-dom-utils/lib/getActiveElement.js");
|
|
17
|
+
var _uiView = require("@instructure/ui-view");
|
|
18
|
+
var _uiTestable = require("@instructure/ui-testable");
|
|
19
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
20
|
+
var _uiA11yUtils = require("@instructure/ui-a11y-utils");
|
|
21
|
+
var _uiDomUtils = require("@instructure/ui-dom-utils");
|
|
24
22
|
var _emotion = require("@instructure/emotion");
|
|
25
23
|
var _PaginationButton = require("./PaginationButton");
|
|
26
24
|
var _PaginationArrowButton = require("./PaginationArrowButton");
|
|
@@ -70,7 +68,7 @@ function propsHaveCompactView(props) {
|
|
|
70
68
|
category: components
|
|
71
69
|
---
|
|
72
70
|
**/
|
|
73
|
-
let Pagination = exports.Pagination = (_dec = (0,
|
|
71
|
+
let Pagination = exports.Pagination = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, null), _dec3 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Pagination extends _react.Component {
|
|
74
72
|
constructor(props) {
|
|
75
73
|
super(props);
|
|
76
74
|
this._labelId = void 0;
|
|
@@ -217,7 +215,7 @@ let Pagination = exports.Pagination = (_dec = (0, _withDeterministicId.withDeter
|
|
|
217
215
|
return this.inputMode || this.props.showDisabledButtons;
|
|
218
216
|
}
|
|
219
217
|
getSnapshotBeforeUpdate() {
|
|
220
|
-
const activeElement = (0,
|
|
218
|
+
const activeElement = (0, _uiDomUtils.getActiveElement)();
|
|
221
219
|
if (activeElement === this._firstButton || activeElement === this._prevButton || activeElement === this._nextButton || activeElement === this._lastButton) {
|
|
222
220
|
return {
|
|
223
221
|
lastFocusedButton: activeElement
|
|
@@ -252,7 +250,7 @@ let Pagination = exports.Pagination = (_dec = (0, _withDeterministicId.withDeter
|
|
|
252
250
|
const lastFocusedButton = snapshot.lastFocusedButton;
|
|
253
251
|
if (lastFocusedButton) {
|
|
254
252
|
var _nextFocusElement;
|
|
255
|
-
const focusable = (0,
|
|
253
|
+
const focusable = (0, _uiDomUtils.findTabbable)(this.ref);
|
|
256
254
|
const direction = lastFocusedButton.dataset.direction;
|
|
257
255
|
|
|
258
256
|
// By default we want to focus the previously focused button
|
|
@@ -282,8 +280,8 @@ let Pagination = exports.Pagination = (_dec = (0, _withDeterministicId.withDeter
|
|
|
282
280
|
}
|
|
283
281
|
renderLabel() {
|
|
284
282
|
const display = this.props.variant === 'full' ? 'inline-block' : 'block';
|
|
285
|
-
const visibleLabel = (0,
|
|
286
|
-
return (0, _emotion.jsx)(
|
|
283
|
+
const visibleLabel = (0, _uiA11yUtils.hasVisibleChildren)(this.props.label);
|
|
284
|
+
return (0, _emotion.jsx)(_uiView.View, {
|
|
287
285
|
as: "span",
|
|
288
286
|
padding: visibleLabel ? 'small' : '0',
|
|
289
287
|
display: visibleLabel ? display : 'auto',
|
|
@@ -329,7 +327,7 @@ let Pagination = exports.Pagination = (_dec = (0, _withDeterministicId.withDeter
|
|
|
329
327
|
}, "\u2026")));
|
|
330
328
|
if (lastIndex - sliceEnd + 1 > 0) visiblePages.push(lastPage);
|
|
331
329
|
}
|
|
332
|
-
return (0, _emotion.jsx)(
|
|
330
|
+
return (0, _emotion.jsx)(_uiView.View, {
|
|
333
331
|
display: "inline-block"
|
|
334
332
|
}, this.transferDisabledPropToChildren(visiblePages));
|
|
335
333
|
}
|
|
@@ -404,15 +402,15 @@ let Pagination = exports.Pagination = (_dec = (0, _withDeterministicId.withDeter
|
|
|
404
402
|
render() {
|
|
405
403
|
var _this$props$styles, _this$props$styles2;
|
|
406
404
|
const currentPageIndex = fastFindIndex(this.childPages, p => p && p.props && p.props.current);
|
|
407
|
-
const passthroughProps =
|
|
408
|
-
return (0, _emotion.jsx)(
|
|
405
|
+
const passthroughProps = _uiView.View.omitViewProps((0, _uiReactUtils.omitProps)(this.props, Pagination.allowedProps), Pagination);
|
|
406
|
+
return (0, _emotion.jsx)(_uiView.View, Object.assign({}, passthroughProps, {
|
|
409
407
|
role: "navigation",
|
|
410
408
|
as: this.props.as,
|
|
411
409
|
elementRef: this.handleElementRef,
|
|
412
410
|
margin: this.props.margin,
|
|
413
411
|
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.pagination,
|
|
414
412
|
"aria-labelledby": this.props.label ? this._labelId : void 0
|
|
415
|
-
}), this.props.label && this.renderLabel(), (0, _emotion.jsx)(
|
|
413
|
+
}), this.props.label && this.renderLabel(), (0, _emotion.jsx)(_uiView.View, {
|
|
416
414
|
display: "inline-block",
|
|
417
415
|
css: (_this$props$styles2 = this.props.styles) === null || _this$props$styles2 === void 0 ? void 0 : _this$props$styles2.pages
|
|
418
416
|
}, this.renderArrowButton('first', currentPageIndex), this.renderArrowButton('prev', currentPageIndex), this.inputMode ? this.renderPageInput(currentPageIndex) : this.renderPages(currentPageIndex), this.renderArrowButton('next', currentPageIndex), this.renderArrowButton('last', currentPageIndex)));
|
package/lib/Pagination/props.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.propTypes = exports.allowedProps = void 0;
|
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
var
|
|
9
|
+
var _uiPropTypes = require("@instructure/ui-prop-types");
|
|
10
10
|
var _emotion = require("@instructure/emotion");
|
|
11
11
|
var _PaginationButton = require("./PaginationButton");
|
|
12
12
|
/*
|
|
@@ -34,7 +34,7 @@ var _PaginationButton = require("./PaginationButton");
|
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
36
|
const propTypes = exports.propTypes = {
|
|
37
|
-
children:
|
|
37
|
+
children: _uiPropTypes.Children.oneOf([_PaginationButton.PaginationButton]),
|
|
38
38
|
disabled: _propTypes.default.bool,
|
|
39
39
|
withFirstAndLastButton: _propTypes.default.bool,
|
|
40
40
|
showDisabledButtons: _propTypes.default.bool,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pagination",
|
|
3
|
-
"version": "8.56.
|
|
3
|
+
"version": "8.56.2-pr-snapshot-1721749364069",
|
|
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,31 +23,31 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.56.
|
|
27
|
-
"@instructure/ui-test-locator": "8.56.
|
|
28
|
-
"@instructure/ui-test-queries": "8.56.
|
|
29
|
-
"@instructure/ui-test-utils": "8.56.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.56.2-pr-snapshot-1721749364069",
|
|
27
|
+
"@instructure/ui-test-locator": "8.56.2-pr-snapshot-1721749364069",
|
|
28
|
+
"@instructure/ui-test-queries": "8.56.2-pr-snapshot-1721749364069",
|
|
29
|
+
"@instructure/ui-test-utils": "8.56.2-pr-snapshot-1721749364069",
|
|
30
30
|
"@testing-library/jest-dom": "^6.1.4",
|
|
31
31
|
"@testing-library/react": "^14.1.2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.23.2",
|
|
35
|
-
"@instructure/emotion": "8.56.
|
|
36
|
-
"@instructure/shared-types": "8.56.
|
|
37
|
-
"@instructure/ui-a11y-content": "8.56.
|
|
38
|
-
"@instructure/ui-a11y-utils": "8.56.
|
|
39
|
-
"@instructure/ui-buttons": "8.56.
|
|
40
|
-
"@instructure/ui-dom-utils": "8.56.
|
|
41
|
-
"@instructure/ui-icons": "8.56.
|
|
42
|
-
"@instructure/ui-number-input": "8.56.
|
|
43
|
-
"@instructure/ui-portal": "8.56.
|
|
44
|
-
"@instructure/ui-prop-types": "8.56.
|
|
45
|
-
"@instructure/ui-react-utils": "8.56.
|
|
46
|
-
"@instructure/ui-testable": "8.56.
|
|
47
|
-
"@instructure/ui-tooltip": "8.56.
|
|
48
|
-
"@instructure/ui-utils": "8.56.
|
|
49
|
-
"@instructure/ui-view": "8.56.
|
|
50
|
-
"@instructure/uid": "8.56.
|
|
35
|
+
"@instructure/emotion": "8.56.2-pr-snapshot-1721749364069",
|
|
36
|
+
"@instructure/shared-types": "8.56.2-pr-snapshot-1721749364069",
|
|
37
|
+
"@instructure/ui-a11y-content": "8.56.2-pr-snapshot-1721749364069",
|
|
38
|
+
"@instructure/ui-a11y-utils": "8.56.2-pr-snapshot-1721749364069",
|
|
39
|
+
"@instructure/ui-buttons": "8.56.2-pr-snapshot-1721749364069",
|
|
40
|
+
"@instructure/ui-dom-utils": "8.56.2-pr-snapshot-1721749364069",
|
|
41
|
+
"@instructure/ui-icons": "8.56.2-pr-snapshot-1721749364069",
|
|
42
|
+
"@instructure/ui-number-input": "8.56.2-pr-snapshot-1721749364069",
|
|
43
|
+
"@instructure/ui-portal": "8.56.2-pr-snapshot-1721749364069",
|
|
44
|
+
"@instructure/ui-prop-types": "8.56.2-pr-snapshot-1721749364069",
|
|
45
|
+
"@instructure/ui-react-utils": "8.56.2-pr-snapshot-1721749364069",
|
|
46
|
+
"@instructure/ui-testable": "8.56.2-pr-snapshot-1721749364069",
|
|
47
|
+
"@instructure/ui-tooltip": "8.56.2-pr-snapshot-1721749364069",
|
|
48
|
+
"@instructure/ui-utils": "8.56.2-pr-snapshot-1721749364069",
|
|
49
|
+
"@instructure/ui-view": "8.56.2-pr-snapshot-1721749364069",
|
|
50
|
+
"@instructure/uid": "8.56.2-pr-snapshot-1721749364069",
|
|
51
51
|
"keycode": "^2.2.1",
|
|
52
52
|
"prop-types": "^15.8.1"
|
|
53
53
|
},
|