Skip to content

Add pagination component - #85

Open
haramnasir2407 wants to merge 12 commits into
mainfrom
feat/pagination-component
Open

Add pagination component#85
haramnasir2407 wants to merge 12 commits into
mainfrom
feat/pagination-component

Conversation

@haramnasir2407

Copy link
Copy Markdown
Collaborator

No description provided.

@vercel

vercel Bot commented Mar 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pallas-ui-components Ready Ready Preview, Comment Mar 27, 2026 2:07pm
pallas-ui-docs Ready Ready Preview, Comment Mar 27, 2026 2:07pm
pallas-ui-tokens Ready Ready Preview, Comment Mar 27, 2026 2:07pm

Request Review

…onent with size attributes

- Updated React and related packages to version 19.2.4.
- Updated Next.js to version 16.2.0.
- Added ESLint configuration for the docs.
- Modified pagination component to include `data-size` attributes for better styling control.
- Enhanced pagination styles to accommodate different sizes (small, medium, large).
…nd compatibility

- Updated Breadcrumb component to use a span for separators instead of li for better semantic structure.
- Added TypeScript error handling comments in Accordion component to address compatibility issues with Radix Accordion primitives and React 19.
- Ensured consistent usage of context in Accordion item components.
…cture

- Updated various components to handle TypeScript errors related to ForwardRefExoticComponent compatibility with style-context in React 19.
- Adjusted component props to use 'as any' for better type handling.
- Ensured consistent usage of context across components including Breadcrumb, Carousel, Combobox, and others.
- Simplified development scripts in package.json by removing turbopack option.
- Updated various components to address TypeScript compatibility issues by using 'as any' for props.
- Ensured consistent context usage across components including Accordion, Avatar, Carousel, and others.
- Removed unnecessary comments related to TypeScript errors for cleaner code.
- Introduced a new script in the docs package.json to clean content collections.
- Added prestorybook and prebuild-storybook scripts in the components package.json for automated code generation before Storybook builds.
…es for @types/react and @types/react-dom

- Upgraded @pandacss/dev dependency in package.json and pnpm-lock.yaml files.
- Introduced TypeScript type overrides for @types/react and @types/react-dom in package.json to ensure compatibility with the latest versions.
- Refactored various UI components to improve TypeScript compatibility by removing unnecessary 'as any' type assertions.
- Added displayName properties to various components including CustomRoot, CustomTrigger, CustomEmpty, PreviousButton, NextButton, and others to improve debugging and development experience.
- Refactored components to ensure consistent usage of displayName across the codebase.
…ponsiveness

- Removed unnecessary border and background styles for pagination items.
- Updated borderRadius from small to large for better visual appeal.
- Adjusted hover styles to enhance user interaction feedback.
- Introduced `Pagination.RootProvider` to allow external pagination state management using the `usePagination` hook.
- Updated documentation to include usage examples for the new provider.
- Added a new preview component demonstrating the `RootProvider` functionality.
…fety and readability

- removed unnecessary parentheses from `{...(restProps)}` in carousel/index.tsx`, `command/index.tsx

- removed `any` type from apps/docs/components/ui/modal/modal.tsx
…-lock.yaml

- Upgraded React and React-DOM dependencies to ensure compatibility with the latest features and improvements.
- Updated related package versions in pnpm-lock.yaml to reflect the changes in dependency resolution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat: Pagination Component

1 participant