Add pagination component - #85
Open
haramnasir2407 wants to merge 12 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
12 tasks
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.