mantine-datatable 2.4.6 → 2.4.7

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.
@@ -0,0 +1,12 @@
1
+ import { type MantineColor, type MantineSize } from '@mantine/core';
2
+ type DataTablePageSizeSelectorComponentProps = {
3
+ size: MantineSize;
4
+ label: string;
5
+ values: number[];
6
+ value: number;
7
+ onChange: (value: number) => void;
8
+ color?: MantineColor;
9
+ };
10
+ export default function DataTablePageSizeSelector({ size, label, values, value, onChange, color, }: DataTablePageSizeSelectorComponentProps): JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=DataTablePageSizeSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTablePageSizeSelector.d.ts","sourceRoot":"","sources":["../DataTablePageSizeSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAE/F,KAAK,uCAAuC,GAAG;IAC7C,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAK,EACL,QAAQ,EACR,KAAK,GACN,EAAE,uCAAuC,eA+CzC"}
@@ -2,7 +2,7 @@ import { type CSSObject, type MantineNumberSize, type MantineTheme } from '@mant
2
2
  import { type ForwardedRef } from 'react';
3
3
  import type { DataTablePaginationProps } from './types';
4
4
  import type { WithOptional, WithRequired } from './types/utils';
5
- type DataTablePaginationFooterProps = WithOptional<WithRequired<DataTablePaginationProps, 'loadingText' | 'paginationSize' | 'recordsPerPageLabel' | 'paginationWrapBreakpoint' | 'getPaginationControlProps'>, 'onRecordsPerPageChange' | 'recordsPerPageOptions'> & {
5
+ type DataTablePaginationComponentProps = WithOptional<WithRequired<DataTablePaginationProps, 'loadingText' | 'paginationSize' | 'recordsPerPageLabel' | 'paginationWrapBreakpoint' | 'getPaginationControlProps'>, 'onRecordsPerPageChange' | 'recordsPerPageOptions'> & {
6
6
  className?: string;
7
7
  style?: CSSObject;
8
8
  topBorderColor: string | ((theme: MantineTheme) => string);
@@ -11,8 +11,8 @@ type DataTablePaginationFooterProps = WithOptional<WithRequired<DataTablePaginat
11
11
  horizontalSpacing: MantineNumberSize | undefined;
12
12
  noRecordsText: string;
13
13
  };
14
- declare const _default: (props: DataTablePaginationFooterProps & {
14
+ declare const _default: (props: DataTablePaginationComponentProps & {
15
15
  ref: ForwardedRef<HTMLDivElement>;
16
16
  }) => JSX.Element;
17
17
  export default _default;
18
- //# sourceMappingURL=DataTablePaginationFooter.d.ts.map
18
+ //# sourceMappingURL=DataTablePagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTablePagination.d.ts","sourceRoot":"","sources":["../DataTablePagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,YAAY,EAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAkC,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAC;AAE1F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAiChE,KAAK,iCAAiC,GAAG,YAAY,CACnD,YAAY,CACV,wBAAwB,EACxB,aAAa,GAAG,gBAAgB,GAAG,qBAAqB,GAAG,0BAA0B,GAAG,2BAA2B,CACpH,EACD,wBAAwB,GAAG,uBAAuB,CACnD,GAAG;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK,MAAM,CAAC,CAAC;IAC3D,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACjD,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;gCAwEY,iCAAiC,GAAG;IAAE,GAAG,EAAE,aAAa,cAAc,CAAC,CAAA;CAAE,KAAK,WAAW;AAtEvG,wBAsEwG"}