Improve responsive styling for integration category chips#7727
Open
shteypandey28-hue wants to merge 1 commit into
Open
Improve responsive styling for integration category chips#7727shteypandey28-hue wants to merge 1 commit into
shteypandey28-hue wants to merge 1 commit into
Conversation
780e1ac to
8a3bcf7
Compare
- Invert chip styling: active chips now use light bg with border, inactive chips use dark filled bg (fixes layer5io#7593) - Replace react-slick slider with responsive flexbox/scroll layout - Add proper button elements with data-category attrs for robust filtering - Add ARIA attributes (role, aria-pressed, aria-label) for accessibility - Add focus-visible ring, reduced-motion support - Add mobile horizontal scroll with snap and overflow fade indicator - Add smooth hover/active transitions with Keppel theme colors - Touch-friendly sizing on mobile with no clipping or overflow issues - Full dark mode support using existing theme tokens Signed-off-by: shteypandey28-hue <shteypandey28@gmail.com>
8a3bcf7 to
b62d11c
Compare
Contributor
|
🚀 Preview deployment: https://layer5.io/pr-preview/pr-7727/
|
Contributor
Author
|
@leecalcote @MUzairS15 @CodexRaunak @YASHMAHAKAL This PR is ready for review. Fixes #7593 — Inverts category chip styling (active → light, inactive → dark), replaces the react-slick slider with a responsive flexbox layout, and adds accessibility improvements (keyboard navigation, ARIA attributes, focus-visible ring). All CI checks are passing ✅ |
Contributor
Author
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.


Summary
This PR refactors the category chip UI for better responsiveness, accessibility, and mobile usability.
Changes
react-slickwith responsive flexbox + horizontal scrolldata-categoryDescription
Fixes #
Notes for Reviewers
react-slickdependency