@daoyi/nmtl-ui 2.0.1-beta.62 → 2.0.1-beta.64
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.
|
@@ -3605,7 +3605,7 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("pa
|
|
|
3605
3605
|
|
|
3606
3606
|
default_1 = ArrowRight.default = _default;
|
|
3607
3607
|
|
|
3608
|
-
var css_248z = ".ntmlPagination__center {\n display: flex;\n justify-content: center; }\n .ntmlPagination__center .MuiSvgIcon-colorSecondary {\n color: #509891; }\n\n.ntmlPagination__rightSide {\n position: relative;\n float: right;\n top: -36px; }\n .ntmlPagination__rightSide-showTotal {\n display: flex;\n align-items: center; }\n .ntmlPagination__rightSide-showTotal .MuiInput-root {\n width: 90px;\n height: 34px;\n margin: 0 8px;\n padding: 2px 8px 3px 20px;\n border-radius: 17px;\n background-color: rgba(222, 219, 202, 0.4);\n border: 0px; }\n .ntmlPagination__rightSide-showTotal .MuiNativeSelect-icon {\n color: #509891; }\n .ntmlPagination__rightSide-showTotal .MuiNativeSelect-select:not([multiple]) option,\n .ntmlPagination__rightSide-showTotal .MuiNativeSelect-select:not([multiple]) optgroup {\n background-color: rgba(222, 219, 202, 0.4); }\n\n@media only screen and (max-width:
|
|
3608
|
+
var css_248z = ".ntmlPagination__center {\n display: flex;\n justify-content: center; }\n .ntmlPagination__center .MuiSvgIcon-colorSecondary {\n color: #509891; }\n\n.ntmlPagination__rightSide {\n position: relative;\n float: right;\n top: -36px; }\n .ntmlPagination__rightSide-showTotal {\n display: flex;\n align-items: center; }\n .ntmlPagination__rightSide-showTotal .MuiInput-root {\n width: 90px;\n height: 34px;\n margin: 0 8px;\n padding: 2px 8px 3px 20px;\n border-radius: 17px;\n background-color: rgba(222, 219, 202, 0.4);\n border: 0px; }\n .ntmlPagination__rightSide-showTotal .MuiNativeSelect-icon {\n color: #509891; }\n .ntmlPagination__rightSide-showTotal .MuiNativeSelect-select:not([multiple]) option,\n .ntmlPagination__rightSide-showTotal .MuiNativeSelect-select:not([multiple]) optgroup {\n background-color: rgba(222, 219, 202, 0.4); }\n\n@media only screen and (max-width: 767px) {\n .ntmlPagination__center-page {\n width: 48px;\n height: 48px;\n display: flex;\n background-color: rgba(222, 219, 202, 0.4);\n border-radius: 50%;\n align-items: center;\n justify-content: center; }\n .ntmlPagination__rightSide {\n position: relative;\n float: initial;\n top: 0;\n display: flex;\n justify-content: center;\n margin-top: 28px; } }\n";
|
|
3609
3609
|
styleInject(css_248z);
|
|
3610
3610
|
|
|
3611
3611
|
var NmtlPagination = function NmtlPagination(_ref) {
|
|
@@ -3620,7 +3620,7 @@ var NmtlPagination = function NmtlPagination(_ref) {
|
|
|
3620
3620
|
return x + 1;
|
|
3621
3621
|
});
|
|
3622
3622
|
var handlePageSelected = function handlePageSelected(event) {
|
|
3623
|
-
var page = event.target.value;
|
|
3623
|
+
var page = Number.parseInt(event.target.value, 10);
|
|
3624
3624
|
_onChange(page);
|
|
3625
3625
|
};
|
|
3626
3626
|
return /*#__PURE__*/React__default.createElement("div", {
|
package/package.json
CHANGED