Skip to content

feat: Implement Pagination component #1253

feat: Implement Pagination component

feat: Implement Pagination component #1253

Triggered via pull request December 21, 2025 15:01
Status Failure
Total duration 5m 28s
Artifacts

publish.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
publish: packages/components/src/components/Pagination/__tests__/index.browser.test.tsx#L187
Replace `⏎········currentPage={10}⏎········onPageChange={onPageChange}⏎········totalPages={10}⏎······` with `·currentPage={10}·onPageChange={onPageChange}·totalPages={10}`
publish: packages/components/src/components/Pagination/__tests__/index.browser.test.tsx#L124
Replace `⏎········currentPage={5}⏎········onPageChange={onPageChange}⏎········totalPages={10}⏎······` with `·currentPage={5}·onPageChange={onPageChange}·totalPages={10}`
publish: packages/components/src/components/Pagination/__tests__/index.browser.test.tsx#L106
Replace `⏎········currentPage={1}⏎········onPageChange={onPageChange}⏎········totalPages={10}⏎······` with `·currentPage={1}·onPageChange={onPageChange}·totalPages={10}`
publish: packages/components/src/components/Pagination/__tests__/index.browser.test.tsx#L42
Replace `<Pagination·className="custom-class"·totalPages={10}·/>` with `⏎······<Pagination·className="custom-class"·totalPages={10}·/>,⏎····`
publish: packages/components/src/components/Pagination/__tests__/index.browser.test.tsx#L37
Replace `container.querySelector('[aria-label="Next·page"]')` with `⏎······container.querySelector('[aria-label="Next·page"]'),⏎····`
publish: packages/components/src/components/Pagination/__tests__/index.browser.test.tsx#L36
Replace `container.querySelector('[aria-label="Previous·page"]')` with `⏎······container.querySelector('[aria-label="Previous·page"]'),⏎····`
publish: packages/components/src/components/Pagination/__tests__/index.browser.test.tsx#L35
Replace `<Pagination·showPrevNext={false}·totalPages={10}·/>` with `⏎······<Pagination·showPrevNext={false}·totalPages={10}·/>,⏎····`
publish: packages/components/src/components/Pagination/__tests__/index.browser.test.tsx#L30
Replace `container.querySelector('[aria-label="Next·page"]')` with `⏎······container.querySelector('[aria-label="Next·page"]'),⏎····`
publish: packages/components/src/components/Pagination/__tests__/index.browser.test.tsx#L29
Replace `container.querySelector('[aria-label="Previous·page"]')` with `⏎······container.querySelector('[aria-label="Previous·page"]'),⏎····`
publish: packages/components/src/components/Pagination/Pagination.stories.tsx#L68
React Hook "useState" is called in function "render" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"