pds-dev-kit-web-test 2.7.249 → 2.7.250

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.
@@ -50,11 +50,11 @@ var CustomNavigationNextBtn = function (_a) {
50
50
  : navigationConfigs_1.nextButtonMappedIcons[styles.nextBtnType || 'DESIGN1'];
51
51
  var buttonSize = 'large';
52
52
  var iconSize = 24;
53
- if (styles.prevBtnSize === 'SMALL') {
53
+ if (styles.nextBtnSize === 'SMALL') {
54
54
  buttonSize = 40;
55
55
  iconSize = 20;
56
56
  }
57
- if (styles.prevBtnSize === 'LARGE') {
57
+ if (styles.nextBtnSize === 'LARGE') {
58
58
  buttonSize = 72;
59
59
  iconSize = 40;
60
60
  }
@@ -68,9 +68,9 @@ var CustomPagination = function (_a) {
68
68
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
69
69
  }
70
70
  };
71
- return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current) }, { children: renderPagination() })));
71
+ return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ "data-pagination-type": styles.type, className: "custom-pagination_".concat(current) }, { children: renderPagination() })));
72
72
  };
73
73
  exports.CustomPagination = CustomPagination;
74
- var S_Pagination = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 8px;\n"], ["\n padding: 8px;\n"])));
74
+ var S_Pagination = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 0;\n\n &[data-pagination-type='DESIGN1'],\n &[data-pagination-type='DESIGN2'],\n &[data-pagination-type='DESIGN3'],\n &[data-pagination-type='DESIGN4'],\n &[data-pagination-type='DESIGN5'],\n &[data-pagination-type='DESIGN6'] {\n padding: 8px 0;\n }\n"], ["\n padding: 0;\n\n &[data-pagination-type='DESIGN1'],\n &[data-pagination-type='DESIGN2'],\n &[data-pagination-type='DESIGN3'],\n &[data-pagination-type='DESIGN4'],\n &[data-pagination-type='DESIGN5'],\n &[data-pagination-type='DESIGN6'] {\n padding: 8px 0;\n }\n"])));
75
75
  exports.default = exports.CustomPagination;
76
76
  var templateObject_1;
@@ -49,10 +49,10 @@ var CustomNavigationNextBtn = function (_a) {
49
49
  ? undefined
50
50
  : navigationConfigs_1.nextButtonMappedIcons[styles.nextBtnType || 'DESIGN1'];
51
51
  var buttonSize = 48;
52
- var iconSize = 20;
52
+ var iconSize = 24;
53
53
  if (styles.nextBtnSize === 'SMALL') {
54
54
  buttonSize = 40;
55
- iconSize = 24;
55
+ iconSize = 20;
56
56
  }
57
57
  if (styles.nextBtnSize === 'LARGE') {
58
58
  buttonSize = 80;
@@ -49,12 +49,12 @@ var CustomNavigationPrevBtn = function (_a) {
49
49
  ? undefined
50
50
  : navigationConfigs_1.prevButtonMappedIcons[styles.prevBtnType || 'DESIGN1'];
51
51
  var buttonSize = 48;
52
- var iconSize = 20;
53
- if (styles.nextBtnSize === 'SMALL') {
52
+ var iconSize = 24;
53
+ if (styles.prevBtnSize === 'SMALL') {
54
54
  buttonSize = 40;
55
- iconSize = 24;
55
+ iconSize = 20;
56
56
  }
57
- if (styles.nextBtnSize === 'LARGE') {
57
+ if (styles.prevBtnSize === 'LARGE') {
58
58
  buttonSize = 80;
59
59
  iconSize = 48;
60
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.249",
3
+ "version": "2.7.250",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",