@zendeskgarden/react-pagination 8.62.2 → 8.63.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/dist/index.cjs.js CHANGED
@@ -57,7 +57,7 @@ function _extends$4() {
57
57
  const COMPONENT_ID$6 = 'pagination.pagination_view';
58
58
  const StyledPagination = styled__default.default.ul.attrs({
59
59
  'data-garden-id': COMPONENT_ID$6,
60
- 'data-garden-version': '8.62.2'
60
+ 'data-garden-version': '8.63.0'
61
61
  }).withConfig({
62
62
  displayName: "StyledPagination",
63
63
  componentId: "sc-1b7nye9-0"
@@ -89,7 +89,7 @@ const sizeStyles$2 = props => {
89
89
  };
90
90
  const StyledPageBase = styled__default.default.li.attrs({
91
91
  'data-garden-id': COMPONENT_ID$5,
92
- 'data-garden-version': '8.62.2'
92
+ 'data-garden-version': '8.63.0'
93
93
  }).withConfig({
94
94
  displayName: "StyledPageBase",
95
95
  componentId: "sc-lw1w9j-0"
@@ -105,7 +105,7 @@ const sizeStyles$1 = props => {
105
105
  };
106
106
  const StyledPage = styled__default.default(StyledPageBase).attrs({
107
107
  'data-garden-id': COMPONENT_ID$4,
108
- 'data-garden-version': '8.62.2'
108
+ 'data-garden-version': '8.63.0'
109
109
  }).withConfig({
110
110
  displayName: "StyledPage",
111
111
  componentId: "sc-1k0een3-0"
@@ -117,7 +117,7 @@ StyledPage.defaultProps = {
117
117
  const COMPONENT_ID$3 = 'cursor_pagination';
118
118
  const StyledCursorPagination = styled__default.default.nav.attrs({
119
119
  'data-garden-id': COMPONENT_ID$3,
120
- 'data-garden-version': '8.62.2'
120
+ 'data-garden-version': '8.63.0'
121
121
  }).withConfig({
122
122
  displayName: "StyledCursorPagination",
123
123
  componentId: "sc-qmfecg-0"
@@ -129,7 +129,7 @@ StyledCursorPagination.defaultProps = {
129
129
  const COMPONENT_ID$2 = 'cursor_pagination.cursor';
130
130
  const StyledCursor = styled__default.default(StyledPageBase).attrs({
131
131
  'data-garden-id': COMPONENT_ID$2,
132
- 'data-garden-version': '8.62.2',
132
+ 'data-garden-version': '8.63.0',
133
133
  as: 'button'
134
134
  }).withConfig({
135
135
  displayName: "StyledCursor",
@@ -173,7 +173,7 @@ const sizeStyles = props => {
173
173
  };
174
174
  const StyledGap = styled__default.default(StyledPage).attrs({
175
175
  'data-garden-id': COMPONENT_ID$1,
176
- 'data-garden-version': '8.62.2'
176
+ 'data-garden-version': '8.63.0'
177
177
  }).withConfig({
178
178
  displayName: "StyledGap",
179
179
  componentId: "sc-1hqjltf-0"
@@ -185,7 +185,7 @@ StyledGap.defaultProps = {
185
185
  const COMPONENT_ID = 'pagination.navigation';
186
186
  const StyledNavigation = styled__default.default(StyledPage).attrs({
187
187
  'data-garden-id': COMPONENT_ID,
188
- 'data-garden-version': '8.62.2'
188
+ 'data-garden-version': '8.63.0'
189
189
  }).withConfig({
190
190
  displayName: "StyledNavigation",
191
191
  componentId: "sc-184uuwe-0"
@@ -195,9 +195,7 @@ StyledNavigation.defaultProps = {
195
195
  };
196
196
 
197
197
  var _path$3;
198
-
199
198
  function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
200
-
201
199
  var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
202
200
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
203
201
  xmlns: "http://www.w3.org/2000/svg",
@@ -205,8 +203,7 @@ var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
205
203
  height: 16,
206
204
  focusable: "false",
207
205
  viewBox: "0 0 16 16",
208
- "aria-hidden": "true",
209
- role: "img"
206
+ "aria-hidden": "true"
210
207
  }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
211
208
  fill: "currentColor",
212
209
  d: "M10.39 12.688a.5.5 0 01-.718.69l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L6.641 8l3.75 4.688z"
@@ -214,9 +211,7 @@ var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
214
211
  };
215
212
 
216
213
  var _path$2;
217
-
218
214
  function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
219
-
220
215
  var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
221
216
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
222
217
  xmlns: "http://www.w3.org/2000/svg",
@@ -224,8 +219,7 @@ var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
224
219
  height: 16,
225
220
  focusable: "false",
226
221
  viewBox: "0 0 16 16",
227
- "aria-hidden": "true",
228
- role: "img"
222
+ "aria-hidden": "true"
229
223
  }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
230
224
  fill: "currentColor",
231
225
  d: "M5.61 3.312a.5.5 0 01.718-.69l.062.066 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L9.359 8l-3.75-4.688z"
@@ -456,9 +450,7 @@ Pagination.defaultProps = {
456
450
  Pagination.displayName = 'Pagination';
457
451
 
458
452
  var _path$1;
459
-
460
453
  function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
461
-
462
454
  var SvgChevronDoubleLeftStroke = function SvgChevronDoubleLeftStroke(props) {
463
455
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
464
456
  xmlns: "http://www.w3.org/2000/svg",
@@ -466,8 +458,7 @@ var SvgChevronDoubleLeftStroke = function SvgChevronDoubleLeftStroke(props) {
466
458
  height: 16,
467
459
  focusable: "false",
468
460
  viewBox: "0 0 16 16",
469
- "aria-hidden": "true",
470
- role: "img"
461
+ "aria-hidden": "true"
471
462
  }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
472
463
  fill: "currentColor",
473
464
  d: "M7.812 13.39a.5.5 0 01-.64-.012l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L4.141 8l3.75 4.688a.5.5 0 01-.079.702zm5 0a.5.5 0 01-.64-.012l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L9.141 8l3.75 4.688a.5.5 0 01-.079.702z"
@@ -519,9 +510,7 @@ PreviousComponent.displayName = 'CursorPagination.Previous';
519
510
  const Previous = PreviousComponent;
520
511
 
521
512
  var _path;
522
-
523
513
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
524
-
525
514
  var SvgChevronDoubleRightStroke = function SvgChevronDoubleRightStroke(props) {
526
515
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
527
516
  xmlns: "http://www.w3.org/2000/svg",
@@ -529,8 +518,7 @@ var SvgChevronDoubleRightStroke = function SvgChevronDoubleRightStroke(props) {
529
518
  height: 16,
530
519
  focusable: "false",
531
520
  viewBox: "0 0 16 16",
532
- "aria-hidden": "true",
533
- role: "img"
521
+ "aria-hidden": "true"
534
522
  }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
535
523
  fill: "currentColor",
536
524
  d: "M8.188 2.61a.5.5 0 01.64.013l.062.065 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L11.859 8l-3.75-4.688a.5.5 0 01.079-.702zm-5 0a.5.5 0 01.64.013l.062.065 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L6.859 8l-3.75-4.688a.5.5 0 01.079-.702z"
package/dist/index.esm.js CHANGED
@@ -32,7 +32,7 @@ function _extends$4() {
32
32
  const COMPONENT_ID$6 = 'pagination.pagination_view';
33
33
  const StyledPagination = styled.ul.attrs({
34
34
  'data-garden-id': COMPONENT_ID$6,
35
- 'data-garden-version': '8.62.2'
35
+ 'data-garden-version': '8.63.0'
36
36
  }).withConfig({
37
37
  displayName: "StyledPagination",
38
38
  componentId: "sc-1b7nye9-0"
@@ -64,7 +64,7 @@ const sizeStyles$2 = props => {
64
64
  };
65
65
  const StyledPageBase = styled.li.attrs({
66
66
  'data-garden-id': COMPONENT_ID$5,
67
- 'data-garden-version': '8.62.2'
67
+ 'data-garden-version': '8.63.0'
68
68
  }).withConfig({
69
69
  displayName: "StyledPageBase",
70
70
  componentId: "sc-lw1w9j-0"
@@ -80,7 +80,7 @@ const sizeStyles$1 = props => {
80
80
  };
81
81
  const StyledPage = styled(StyledPageBase).attrs({
82
82
  'data-garden-id': COMPONENT_ID$4,
83
- 'data-garden-version': '8.62.2'
83
+ 'data-garden-version': '8.63.0'
84
84
  }).withConfig({
85
85
  displayName: "StyledPage",
86
86
  componentId: "sc-1k0een3-0"
@@ -92,7 +92,7 @@ StyledPage.defaultProps = {
92
92
  const COMPONENT_ID$3 = 'cursor_pagination';
93
93
  const StyledCursorPagination = styled.nav.attrs({
94
94
  'data-garden-id': COMPONENT_ID$3,
95
- 'data-garden-version': '8.62.2'
95
+ 'data-garden-version': '8.63.0'
96
96
  }).withConfig({
97
97
  displayName: "StyledCursorPagination",
98
98
  componentId: "sc-qmfecg-0"
@@ -104,7 +104,7 @@ StyledCursorPagination.defaultProps = {
104
104
  const COMPONENT_ID$2 = 'cursor_pagination.cursor';
105
105
  const StyledCursor = styled(StyledPageBase).attrs({
106
106
  'data-garden-id': COMPONENT_ID$2,
107
- 'data-garden-version': '8.62.2',
107
+ 'data-garden-version': '8.63.0',
108
108
  as: 'button'
109
109
  }).withConfig({
110
110
  displayName: "StyledCursor",
@@ -148,7 +148,7 @@ const sizeStyles = props => {
148
148
  };
149
149
  const StyledGap = styled(StyledPage).attrs({
150
150
  'data-garden-id': COMPONENT_ID$1,
151
- 'data-garden-version': '8.62.2'
151
+ 'data-garden-version': '8.63.0'
152
152
  }).withConfig({
153
153
  displayName: "StyledGap",
154
154
  componentId: "sc-1hqjltf-0"
@@ -160,7 +160,7 @@ StyledGap.defaultProps = {
160
160
  const COMPONENT_ID = 'pagination.navigation';
161
161
  const StyledNavigation = styled(StyledPage).attrs({
162
162
  'data-garden-id': COMPONENT_ID,
163
- 'data-garden-version': '8.62.2'
163
+ 'data-garden-version': '8.63.0'
164
164
  }).withConfig({
165
165
  displayName: "StyledNavigation",
166
166
  componentId: "sc-184uuwe-0"
@@ -170,9 +170,7 @@ StyledNavigation.defaultProps = {
170
170
  };
171
171
 
172
172
  var _path$3;
173
-
174
173
  function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
175
-
176
174
  var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
177
175
  return /*#__PURE__*/React.createElement("svg", _extends$3({
178
176
  xmlns: "http://www.w3.org/2000/svg",
@@ -180,8 +178,7 @@ var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
180
178
  height: 16,
181
179
  focusable: "false",
182
180
  viewBox: "0 0 16 16",
183
- "aria-hidden": "true",
184
- role: "img"
181
+ "aria-hidden": "true"
185
182
  }, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
186
183
  fill: "currentColor",
187
184
  d: "M10.39 12.688a.5.5 0 01-.718.69l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L6.641 8l3.75 4.688z"
@@ -189,9 +186,7 @@ var SvgChevronLeftStroke = function SvgChevronLeftStroke(props) {
189
186
  };
190
187
 
191
188
  var _path$2;
192
-
193
189
  function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
194
-
195
190
  var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
196
191
  return /*#__PURE__*/React.createElement("svg", _extends$2({
197
192
  xmlns: "http://www.w3.org/2000/svg",
@@ -199,8 +194,7 @@ var SvgChevronRightStroke = function SvgChevronRightStroke(props) {
199
194
  height: 16,
200
195
  focusable: "false",
201
196
  viewBox: "0 0 16 16",
202
- "aria-hidden": "true",
203
- role: "img"
197
+ "aria-hidden": "true"
204
198
  }, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
205
199
  fill: "currentColor",
206
200
  d: "M5.61 3.312a.5.5 0 01.718-.69l.062.066 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L9.359 8l-3.75-4.688z"
@@ -431,9 +425,7 @@ Pagination.defaultProps = {
431
425
  Pagination.displayName = 'Pagination';
432
426
 
433
427
  var _path$1;
434
-
435
428
  function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
436
-
437
429
  var SvgChevronDoubleLeftStroke = function SvgChevronDoubleLeftStroke(props) {
438
430
  return /*#__PURE__*/React.createElement("svg", _extends$1({
439
431
  xmlns: "http://www.w3.org/2000/svg",
@@ -441,8 +433,7 @@ var SvgChevronDoubleLeftStroke = function SvgChevronDoubleLeftStroke(props) {
441
433
  height: 16,
442
434
  focusable: "false",
443
435
  viewBox: "0 0 16 16",
444
- "aria-hidden": "true",
445
- role: "img"
436
+ "aria-hidden": "true"
446
437
  }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
447
438
  fill: "currentColor",
448
439
  d: "M7.812 13.39a.5.5 0 01-.64-.012l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L4.141 8l3.75 4.688a.5.5 0 01-.079.702zm5 0a.5.5 0 01-.64-.012l-.062-.066-4-5a.5.5 0 01-.054-.542l.054-.082 4-5a.5.5 0 01.83.55l-.05.074L9.141 8l3.75 4.688a.5.5 0 01-.079.702z"
@@ -494,9 +485,7 @@ PreviousComponent.displayName = 'CursorPagination.Previous';
494
485
  const Previous = PreviousComponent;
495
486
 
496
487
  var _path;
497
-
498
488
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
499
-
500
489
  var SvgChevronDoubleRightStroke = function SvgChevronDoubleRightStroke(props) {
501
490
  return /*#__PURE__*/React.createElement("svg", _extends({
502
491
  xmlns: "http://www.w3.org/2000/svg",
@@ -504,8 +493,7 @@ var SvgChevronDoubleRightStroke = function SvgChevronDoubleRightStroke(props) {
504
493
  height: 16,
505
494
  focusable: "false",
506
495
  viewBox: "0 0 16 16",
507
- "aria-hidden": "true",
508
- role: "img"
496
+ "aria-hidden": "true"
509
497
  }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
510
498
  fill: "currentColor",
511
499
  d: "M8.188 2.61a.5.5 0 01.64.013l.062.065 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L11.859 8l-3.75-4.688a.5.5 0 01.079-.702zm-5 0a.5.5 0 01.64.013l.062.065 4 5a.5.5 0 01.054.542l-.054.082-4 5a.5.5 0 01-.83-.55l.05-.074L6.859 8l-3.75-4.688a.5.5 0 01.079-.702z"
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { HTMLAttributes } from 'react';
8
8
  export declare const PAGE_TYPE: readonly ["next", "page", "gap", "previous"];
9
- export declare type PageType = typeof PAGE_TYPE[number];
9
+ export type PageType = (typeof PAGE_TYPE)[number];
10
10
  export interface IPaginationProps extends Omit<HTMLAttributes<HTMLUListElement>, 'onChange'> {
11
11
  /**
12
12
  * Sets the current page. Pages start at 1.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-pagination",
3
- "version": "8.62.2",
3
+ "version": "8.63.0",
4
4
  "description": "Components relating to pagination in the Garden Design System",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Zendesk Garden <garden@zendesk.com>",
@@ -33,7 +33,7 @@
33
33
  "styled-components": "^4.2.0 || ^5.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@zendeskgarden/react-theming": "^8.62.2",
36
+ "@zendeskgarden/react-theming": "^8.63.0",
37
37
  "@zendeskgarden/svg-icons": "6.33.0"
38
38
  },
39
39
  "keywords": [
@@ -46,5 +46,5 @@
46
46
  "access": "public"
47
47
  },
48
48
  "zendeskgarden:src": "src/index.ts",
49
- "gitHead": "27a7d6c021f3360396af60d51ecbf66e9076a405"
49
+ "gitHead": "4b8715305a769881b143c7195c5b31e687422926"
50
50
  }