@pingux/astro 2.182.1 → 2.182.2-alpha.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.
@@ -35,6 +35,8 @@ var RangeSelectPopover = /*#__PURE__*/forwardRef(function (props, ref) {
35
35
  })))));
36
36
  });
37
37
  var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
38
+ var previousButtonIconProps = props.previousButtonIconProps,
39
+ nextButtonIconProps = props.nextButtonIconProps;
38
40
  var _usePagination = usePagination(props),
39
41
  state = _usePagination.state,
40
42
  previousButtonProps = _usePagination.previousButtonProps,
@@ -55,10 +57,16 @@ var Pagination = /*#__PURE__*/forwardRef(function (props, ref) {
55
57
  })), ___EmotionJSX(Box, {
56
58
  variant: "pagination.iconWrapper",
57
59
  isRow: true
58
- }, ___EmotionJSX(IconButton, previousButtonProps, ___EmotionJSX(Icon, {
59
- icon: ChevronLeftIcon
60
- })), ___EmotionJSX(IconButton, nextButtonProps, ___EmotionJSX(Icon, {
61
- icon: ChevronRightIcon
62
- })))));
60
+ }, ___EmotionJSX(IconButton, previousButtonProps, ___EmotionJSX(Icon, _extends({
61
+ icon: ChevronLeftIcon,
62
+ title: {
63
+ name: 'Previous'
64
+ }
65
+ }, previousButtonIconProps))), ___EmotionJSX(IconButton, nextButtonProps, ___EmotionJSX(Icon, _extends({
66
+ icon: ChevronRightIcon,
67
+ title: {
68
+ name: 'Next'
69
+ }
70
+ }, nextButtonIconProps))))));
63
71
  });
64
72
  export default Pagination;
@@ -79,7 +79,17 @@ export var Default = function Default(args) {
79
79
  gap: 'sm'
80
80
  }
81
81
  }, ___EmotionJSX(Pagination, _extends({
82
- totalCount: 250
82
+ totalCount: 250,
83
+ nextButtonIconProps: {
84
+ title: {
85
+ name: 'Next'
86
+ }
87
+ },
88
+ previousButtonIconProps: {
89
+ title: {
90
+ name: 'Previous'
91
+ }
92
+ }
83
93
  }, args)));
84
94
  };
85
95
  export var WithListView = function WithListView() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.182.1",
3
+ "version": "2.182.2-alpha.0",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",