primereact 8.6.0 → 8.6.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.
- package/carousel/carousel.cjs.js +11 -9
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +11 -9
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +12 -10
- package/carousel/carousel.min.js +1 -1
- package/core/core.js +20 -16
- package/core/core.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +19 -15
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +19 -15
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +20 -16
- package/paginator/paginator.min.js +1 -1
- package/primereact.all.cjs.js +28 -22
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +28 -22
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +28 -22
- package/primereact.all.min.js +1 -1
- package/resources/primereact.css +862 -862
- package/resources/primereact.min.css +1 -1
- package/web-types.json +1 -1
package/primereact.all.esm.js
CHANGED
|
@@ -10682,14 +10682,15 @@ var Carousel = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
10682
10682
|
'pi-chevron-left': !isVertical,
|
|
10683
10683
|
'pi-chevron-up': isVertical
|
|
10684
10684
|
});
|
|
10685
|
-
return /*#__PURE__*/React.createElement(
|
|
10685
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
10686
10686
|
type: "button",
|
|
10687
10687
|
className: _className,
|
|
10688
|
-
icon: iconClassName,
|
|
10689
10688
|
onClick: navBackward,
|
|
10690
10689
|
disabled: isDisabled,
|
|
10691
10690
|
"aria-label": ariaLabel('previousPageLabel')
|
|
10692
|
-
}
|
|
10691
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10692
|
+
className: iconClassName
|
|
10693
|
+
}), /*#__PURE__*/React.createElement(Ripple, null));
|
|
10693
10694
|
}
|
|
10694
10695
|
|
|
10695
10696
|
return null;
|
|
@@ -10707,14 +10708,15 @@ var Carousel = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
10707
10708
|
'pi-chevron-right': !isVertical,
|
|
10708
10709
|
'pi-chevron-down': isVertical
|
|
10709
10710
|
});
|
|
10710
|
-
return /*#__PURE__*/React.createElement(
|
|
10711
|
+
return /*#__PURE__*/React.createElement("button", {
|
|
10711
10712
|
type: "button",
|
|
10712
10713
|
className: _className2,
|
|
10713
|
-
icon: iconClassName,
|
|
10714
10714
|
onClick: navForward,
|
|
10715
10715
|
disabled: isDisabled,
|
|
10716
10716
|
"aria-label": ariaLabel('nextPageLabel')
|
|
10717
|
-
}
|
|
10717
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
10718
|
+
className: iconClassName
|
|
10719
|
+
}), /*#__PURE__*/React.createElement(Ripple, null));
|
|
10718
10720
|
}
|
|
10719
10721
|
|
|
10720
10722
|
return null;
|
|
@@ -10729,14 +10731,14 @@ var Carousel = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
10729
10731
|
return /*#__PURE__*/React.createElement("li", {
|
|
10730
10732
|
key: key,
|
|
10731
10733
|
className: className
|
|
10732
|
-
}, /*#__PURE__*/React.createElement(
|
|
10734
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
10733
10735
|
type: "button",
|
|
10734
10736
|
className: "p-link",
|
|
10735
10737
|
onClick: function onClick(e) {
|
|
10736
10738
|
return onDotClick(e, index);
|
|
10737
10739
|
},
|
|
10738
10740
|
"aria-label": "".concat(ariaLabel('pageLabel'), " ").concat(index + 1)
|
|
10739
|
-
}));
|
|
10741
|
+
}, /*#__PURE__*/React.createElement(Ripple, null)));
|
|
10740
10742
|
};
|
|
10741
10743
|
|
|
10742
10744
|
var createIndicators = function createIndicators() {
|
|
@@ -14726,14 +14728,15 @@ var FirstPageLink = /*#__PURE__*/React.memo(function (props) {
|
|
|
14726
14728
|
'p-disabled': props.disabled
|
|
14727
14729
|
});
|
|
14728
14730
|
var iconClassName = 'p-paginator-icon pi pi-angle-double-left';
|
|
14729
|
-
var element = /*#__PURE__*/React.createElement(
|
|
14731
|
+
var element = /*#__PURE__*/React.createElement("button", {
|
|
14730
14732
|
type: "button",
|
|
14731
14733
|
className: className,
|
|
14732
|
-
icon: iconClassName,
|
|
14733
14734
|
onClick: props.onClick,
|
|
14734
14735
|
disabled: props.disabled,
|
|
14735
14736
|
"aria-label": ariaLabel('firstPageLabel')
|
|
14736
|
-
}
|
|
14737
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
14738
|
+
className: iconClassName
|
|
14739
|
+
}), /*#__PURE__*/React.createElement(Ripple, null));
|
|
14737
14740
|
|
|
14738
14741
|
if (props.template) {
|
|
14739
14742
|
var defaultOptions = {
|
|
@@ -15946,14 +15949,15 @@ var LastPageLink = /*#__PURE__*/React.memo(function (props) {
|
|
|
15946
15949
|
'p-disabled': props.disabled
|
|
15947
15950
|
});
|
|
15948
15951
|
var iconClassName = 'p-paginator-icon pi pi-angle-double-right';
|
|
15949
|
-
var element = /*#__PURE__*/React.createElement(
|
|
15952
|
+
var element = /*#__PURE__*/React.createElement("button", {
|
|
15950
15953
|
type: "button",
|
|
15951
15954
|
className: className,
|
|
15952
|
-
icon: iconClassName,
|
|
15953
15955
|
onClick: props.onClick,
|
|
15954
15956
|
disabled: props.disabled,
|
|
15955
15957
|
"aria-label": ariaLabel('lastPageLabel')
|
|
15956
|
-
}
|
|
15958
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
15959
|
+
className: iconClassName
|
|
15960
|
+
}), /*#__PURE__*/React.createElement(Ripple, null));
|
|
15957
15961
|
|
|
15958
15962
|
if (props.template) {
|
|
15959
15963
|
var defaultOptions = {
|
|
@@ -15982,14 +15986,15 @@ var NextPageLink = /*#__PURE__*/React.memo(function (props) {
|
|
|
15982
15986
|
'p-disabled': props.disabled
|
|
15983
15987
|
});
|
|
15984
15988
|
var iconClassName = 'p-paginator-icon pi pi-angle-right';
|
|
15985
|
-
var element = /*#__PURE__*/React.createElement(
|
|
15989
|
+
var element = /*#__PURE__*/React.createElement("button", {
|
|
15986
15990
|
type: "button",
|
|
15987
15991
|
className: className,
|
|
15988
|
-
icon: iconClassName,
|
|
15989
15992
|
onClick: props.onClick,
|
|
15990
15993
|
disabled: props.disabled,
|
|
15991
15994
|
"aria-label": ariaLabel('nextPageLabel')
|
|
15992
|
-
}
|
|
15995
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
15996
|
+
className: iconClassName
|
|
15997
|
+
}), /*#__PURE__*/React.createElement(Ripple, null));
|
|
15993
15998
|
|
|
15994
15999
|
if (props.template) {
|
|
15995
16000
|
var defaultOptions = {
|
|
@@ -16036,14 +16041,14 @@ var PageLinks = /*#__PURE__*/React.memo(function (props) {
|
|
|
16036
16041
|
'p-paginator-page-end': pageLink === endPageInView,
|
|
16037
16042
|
'p-highlight': pageLink - 1 === props.page
|
|
16038
16043
|
});
|
|
16039
|
-
var element = /*#__PURE__*/React.createElement(
|
|
16044
|
+
var element = /*#__PURE__*/React.createElement("button", {
|
|
16040
16045
|
type: "button",
|
|
16041
16046
|
className: className,
|
|
16042
16047
|
onClick: function onClick(e) {
|
|
16043
16048
|
return onPageLinkClick(e, pageLink);
|
|
16044
16049
|
},
|
|
16045
16050
|
"aria-label": "".concat(ariaLabel('pageLabel'), " ").concat(pageLink + 1)
|
|
16046
|
-
}, pageLink);
|
|
16051
|
+
}, pageLink, /*#__PURE__*/React.createElement(Ripple, null));
|
|
16047
16052
|
|
|
16048
16053
|
if (props.template) {
|
|
16049
16054
|
var defaultOptions = {
|
|
@@ -16090,14 +16095,15 @@ var PrevPageLink = /*#__PURE__*/React.memo(function (props) {
|
|
|
16090
16095
|
'p-disabled': props.disabled
|
|
16091
16096
|
});
|
|
16092
16097
|
var iconClassName = 'p-paginator-icon pi pi-angle-left';
|
|
16093
|
-
var element = /*#__PURE__*/React.createElement(
|
|
16098
|
+
var element = /*#__PURE__*/React.createElement("button", {
|
|
16094
16099
|
type: "button",
|
|
16095
16100
|
className: className,
|
|
16096
|
-
icon: iconClassName,
|
|
16097
16101
|
onClick: props.onClick,
|
|
16098
16102
|
disabled: props.disabled,
|
|
16099
16103
|
"aria-label": ariaLabel('previousPageLabel')
|
|
16100
|
-
}
|
|
16104
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
16105
|
+
className: iconClassName
|
|
16106
|
+
}), /*#__PURE__*/React.createElement(Ripple, null));
|
|
16101
16107
|
|
|
16102
16108
|
if (props.template) {
|
|
16103
16109
|
var defaultOptions = {
|