armtek-uikit-react 1.0.135 → 1.0.136
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/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"armtek-uikit-react","version":"1.0.
|
|
1
|
+
{"name":"armtek-uikit-react","version":"1.0.136","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
|
|
@@ -9,7 +9,7 @@ export type PaginationProps = OwnProps & Omit<Partial<PaginationPerPageProps>, k
|
|
|
9
9
|
export declare const Pagination: (props: PaginationProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
10
|
type PaginationPerPageProps = {
|
|
11
11
|
pageSizes: number[];
|
|
12
|
-
|
|
12
|
+
pageSizeLabel?: string;
|
|
13
13
|
onPageSizeSelect: (value: number) => void;
|
|
14
14
|
};
|
|
15
15
|
export default Pagination;
|
|
@@ -15,7 +15,7 @@ export const Pagination = props => {
|
|
|
15
15
|
const {
|
|
16
16
|
pageSize,
|
|
17
17
|
pageSizes,
|
|
18
|
-
|
|
18
|
+
pageSizeLabel,
|
|
19
19
|
total,
|
|
20
20
|
page,
|
|
21
21
|
onPageSizeSelect,
|
|
@@ -109,7 +109,7 @@ const PaginationPerPage = props => {
|
|
|
109
109
|
const {
|
|
110
110
|
pageSize,
|
|
111
111
|
pageSizes,
|
|
112
|
-
|
|
112
|
+
pageSizeLabel,
|
|
113
113
|
onPageSizeSelect
|
|
114
114
|
} = props;
|
|
115
115
|
const [visible, setVisible] = useState(false);
|
|
@@ -123,9 +123,9 @@ const PaginationPerPage = props => {
|
|
|
123
123
|
spacing: 'small',
|
|
124
124
|
center: true,
|
|
125
125
|
className: 'flex items-center',
|
|
126
|
-
children: [
|
|
126
|
+
children: [pageSizeLabel && /*#__PURE__*/_jsx("div", {
|
|
127
127
|
className: 'text-small',
|
|
128
|
-
children:
|
|
128
|
+
children: pageSizeLabel
|
|
129
129
|
}), /*#__PURE__*/_jsx(Button, {
|
|
130
130
|
variant: 'transparent',
|
|
131
131
|
onClick: () => setVisible(true),
|