@commercetools-uikit/pagination 20.3.0 → 20.3.1

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.
@@ -71,24 +71,35 @@ const normalizePageValue = (value, totalPages) => {
71
71
 
72
72
  var messages$2 = reactIntl.defineMessages({
73
73
  page: {
74
- id: 'UIKit.Pagination.PageNavigator.page',
75
- description: 'Label for page',
76
- defaultMessage: 'Page'
74
+ id: "UIKit.Pagination.PageNavigator.page",
75
+ defaultMessage: [{
76
+ "type": 0,
77
+ "value": "Page"
78
+ }]
77
79
  },
78
80
  pageCount: {
79
- id: 'UIKit.Pagination.PageNavigator.pageCount',
80
- description: 'Label for total pages',
81
- defaultMessage: 'of {count}'
81
+ id: "UIKit.Pagination.PageNavigator.pageCount",
82
+ defaultMessage: [{
83
+ "type": 0,
84
+ "value": "of "
85
+ }, {
86
+ "type": 1,
87
+ "value": "count"
88
+ }]
82
89
  },
83
90
  previousPageLabel: {
84
- id: 'UIKit.Pagination.PageNavigator.previousPageLabel',
85
- description: 'Label for previous page button',
86
- defaultMessage: 'Previous page'
91
+ id: "UIKit.Pagination.PageNavigator.previousPageLabel",
92
+ defaultMessage: [{
93
+ "type": 0,
94
+ "value": "Previous page"
95
+ }]
87
96
  },
88
97
  nextPageLabel: {
89
- id: 'UIKit.Pagination.PageNavigator.nextPageLabel',
90
- description: 'Label for next page button',
91
- defaultMessage: 'Next page'
98
+ id: "UIKit.Pagination.PageNavigator.nextPageLabel",
99
+ defaultMessage: [{
100
+ "type": 0,
101
+ "value": "Next page"
102
+ }]
92
103
  }
93
104
  });
94
105
 
@@ -185,9 +196,17 @@ var PageNavigator$1 = PageNavigator;
185
196
 
186
197
  const messages = reactIntl.defineMessages({
187
198
  pageSize: {
188
- id: 'UIKit.Pagination.PageSizeSelector.pageSize',
189
- description: 'How many items are per page',
190
- defaultMessage: 'Items per page ({count} items)'
199
+ id: "UIKit.Pagination.PageSizeSelector.pageSize",
200
+ defaultMessage: [{
201
+ "type": 0,
202
+ "value": "Items per page ("
203
+ }, {
204
+ "type": 1,
205
+ "value": "count"
206
+ }, {
207
+ "type": 0,
208
+ "value": " items)"
209
+ }]
191
210
  }
192
211
  });
193
212
  var messages$1 = messages;
@@ -293,7 +312,7 @@ Pagination.displayName = 'Pagination';
293
312
  var Pagination$1 = Pagination;
294
313
 
295
314
  // NOTE: This string will be replaced on build time with the package version.
296
- var version = "20.3.0";
315
+ var version = "20.3.1";
297
316
 
298
317
  exports.PageNavigator = PageNavigator$1;
299
318
  exports.PageSizeSelector = PageSizeSelector$1;
@@ -70,24 +70,35 @@ const normalizePageValue = (value, totalPages) => {
70
70
 
71
71
  var messages$2 = reactIntl.defineMessages({
72
72
  page: {
73
- id: 'UIKit.Pagination.PageNavigator.page',
74
- description: 'Label for page',
75
- defaultMessage: 'Page'
73
+ id: "UIKit.Pagination.PageNavigator.page",
74
+ defaultMessage: [{
75
+ "type": 0,
76
+ "value": "Page"
77
+ }]
76
78
  },
77
79
  pageCount: {
78
- id: 'UIKit.Pagination.PageNavigator.pageCount',
79
- description: 'Label for total pages',
80
- defaultMessage: 'of {count}'
80
+ id: "UIKit.Pagination.PageNavigator.pageCount",
81
+ defaultMessage: [{
82
+ "type": 0,
83
+ "value": "of "
84
+ }, {
85
+ "type": 1,
86
+ "value": "count"
87
+ }]
81
88
  },
82
89
  previousPageLabel: {
83
- id: 'UIKit.Pagination.PageNavigator.previousPageLabel',
84
- description: 'Label for previous page button',
85
- defaultMessage: 'Previous page'
90
+ id: "UIKit.Pagination.PageNavigator.previousPageLabel",
91
+ defaultMessage: [{
92
+ "type": 0,
93
+ "value": "Previous page"
94
+ }]
86
95
  },
87
96
  nextPageLabel: {
88
- id: 'UIKit.Pagination.PageNavigator.nextPageLabel',
89
- description: 'Label for next page button',
90
- defaultMessage: 'Next page'
97
+ id: "UIKit.Pagination.PageNavigator.nextPageLabel",
98
+ defaultMessage: [{
99
+ "type": 0,
100
+ "value": "Next page"
101
+ }]
91
102
  }
92
103
  });
93
104
 
@@ -184,9 +195,17 @@ var PageNavigator$1 = PageNavigator;
184
195
 
185
196
  const messages = reactIntl.defineMessages({
186
197
  pageSize: {
187
- id: 'UIKit.Pagination.PageSizeSelector.pageSize',
188
- description: 'How many items are per page',
189
- defaultMessage: 'Items per page ({count} items)'
198
+ id: "UIKit.Pagination.PageSizeSelector.pageSize",
199
+ defaultMessage: [{
200
+ "type": 0,
201
+ "value": "Items per page ("
202
+ }, {
203
+ "type": 1,
204
+ "value": "count"
205
+ }, {
206
+ "type": 0,
207
+ "value": " items)"
208
+ }]
190
209
  }
191
210
  });
192
211
  var messages$1 = messages;
@@ -285,7 +304,7 @@ Pagination.displayName = 'Pagination';
285
304
  var Pagination$1 = Pagination;
286
305
 
287
306
  // NOTE: This string will be replaced on build time with the package version.
288
- var version = "20.3.0";
307
+ var version = "20.3.1";
289
308
 
290
309
  exports.PageNavigator = PageNavigator$1;
291
310
  exports.PageSizeSelector = PageSizeSelector$1;
@@ -45,24 +45,35 @@ const normalizePageValue = (value, totalPages) => {
45
45
 
46
46
  var messages$2 = defineMessages({
47
47
  page: {
48
- id: 'UIKit.Pagination.PageNavigator.page',
49
- description: 'Label for page',
50
- defaultMessage: 'Page'
48
+ id: "UIKit.Pagination.PageNavigator.page",
49
+ defaultMessage: [{
50
+ "type": 0,
51
+ "value": "Page"
52
+ }]
51
53
  },
52
54
  pageCount: {
53
- id: 'UIKit.Pagination.PageNavigator.pageCount',
54
- description: 'Label for total pages',
55
- defaultMessage: 'of {count}'
55
+ id: "UIKit.Pagination.PageNavigator.pageCount",
56
+ defaultMessage: [{
57
+ "type": 0,
58
+ "value": "of "
59
+ }, {
60
+ "type": 1,
61
+ "value": "count"
62
+ }]
56
63
  },
57
64
  previousPageLabel: {
58
- id: 'UIKit.Pagination.PageNavigator.previousPageLabel',
59
- description: 'Label for previous page button',
60
- defaultMessage: 'Previous page'
65
+ id: "UIKit.Pagination.PageNavigator.previousPageLabel",
66
+ defaultMessage: [{
67
+ "type": 0,
68
+ "value": "Previous page"
69
+ }]
61
70
  },
62
71
  nextPageLabel: {
63
- id: 'UIKit.Pagination.PageNavigator.nextPageLabel',
64
- description: 'Label for next page button',
65
- defaultMessage: 'Next page'
72
+ id: "UIKit.Pagination.PageNavigator.nextPageLabel",
73
+ defaultMessage: [{
74
+ "type": 0,
75
+ "value": "Next page"
76
+ }]
66
77
  }
67
78
  });
68
79
 
@@ -159,9 +170,17 @@ var PageNavigator$1 = PageNavigator;
159
170
 
160
171
  const messages = defineMessages({
161
172
  pageSize: {
162
- id: 'UIKit.Pagination.PageSizeSelector.pageSize',
163
- description: 'How many items are per page',
164
- defaultMessage: 'Items per page ({count} items)'
173
+ id: "UIKit.Pagination.PageSizeSelector.pageSize",
174
+ defaultMessage: [{
175
+ "type": 0,
176
+ "value": "Items per page ("
177
+ }, {
178
+ "type": 1,
179
+ "value": "count"
180
+ }, {
181
+ "type": 0,
182
+ "value": " items)"
183
+ }]
165
184
  }
166
185
  });
167
186
  var messages$1 = messages;
@@ -267,6 +286,6 @@ Pagination.displayName = 'Pagination';
267
286
  var Pagination$1 = Pagination;
268
287
 
269
288
  // NOTE: This string will be replaced on build time with the package version.
270
- var version = "20.3.0";
289
+ var version = "20.3.1";
271
290
 
272
291
  export { PageNavigator$1 as PageNavigator, PageSizeSelector$1 as PageSizeSelector, Pagination$1 as Pagination, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/pagination",
3
3
  "description": "Components for navigating through pages of items",
4
- "version": "20.3.0",
4
+ "version": "20.3.1",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,20 +21,20 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/constraints": "20.3.0",
25
- "@commercetools-uikit/design-system": "20.3.0",
26
- "@commercetools-uikit/icons": "20.3.0",
27
- "@commercetools-uikit/label": "20.3.0",
28
- "@commercetools-uikit/number-input": "20.3.0",
29
- "@commercetools-uikit/secondary-icon-button": "20.3.0",
30
- "@commercetools-uikit/select-input": "20.3.0",
31
- "@commercetools-uikit/spacings": "20.3.0",
32
- "@commercetools-uikit/text": "20.3.0",
33
- "@commercetools-uikit/utils": "20.3.0",
24
+ "@commercetools-uikit/constraints": "20.3.1",
25
+ "@commercetools-uikit/design-system": "20.3.1",
26
+ "@commercetools-uikit/icons": "20.3.1",
27
+ "@commercetools-uikit/label": "20.3.1",
28
+ "@commercetools-uikit/number-input": "20.3.1",
29
+ "@commercetools-uikit/secondary-icon-button": "20.3.1",
30
+ "@commercetools-uikit/select-input": "20.3.1",
31
+ "@commercetools-uikit/spacings": "20.3.1",
32
+ "@commercetools-uikit/text": "20.3.1",
33
+ "@commercetools-uikit/utils": "20.3.1",
34
34
  "@emotion/react": "^11.10.5",
35
35
  "@emotion/styled": "^11.10.5",
36
36
  "formik": "^2.4.6",
37
- "lodash": "4.17.21"
37
+ "lodash": "4.17.23"
38
38
  },
39
39
  "devDependencies": {
40
40
  "react": "19.2.0",