@rocket.chat/fuselage 0.75.0 → 0.76.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.
@@ -1,7 +1,6 @@
1
- import type { Dispatch, SetStateAction } from 'react';
2
- import { type BoxProps } from '../Box';
1
+ import type { Dispatch, HTMLAttributes, SetStateAction } from 'react';
3
2
  type ItemsPerPage = 25 | 50 | 100;
4
- export type PaginationProps = BoxProps & {
3
+ export type PaginationProps = {
5
4
  count: number;
6
5
  current?: number;
7
6
  divider?: boolean;
@@ -18,7 +17,7 @@ export type PaginationProps = BoxProps & {
18
17
  }) => string;
19
18
  onSetCurrent?: Dispatch<SetStateAction<number>>;
20
19
  onSetItemsPerPage?: Dispatch<SetStateAction<ItemsPerPage>>;
21
- };
20
+ } & HTMLAttributes<HTMLElement>;
22
21
  declare const Pagination: ({ count, current, itemsPerPage, itemsPerPageLabel, showingResultsLabel, onSetItemsPerPage, onSetCurrent, divider, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
23
22
  export default Pagination;
24
23
  //# sourceMappingURL=Pagination.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAG5C,KAAK,YAAY,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,CAAC;AAElC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE;QAC5B,KAAK,EAAE,MAAM,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