You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it's displayed next to 32px elements (ex: the filter button of the list view), it makes the layout shift when it's opened. On the UI side, it simply doesn't look like it's part of our design system (icon color, shadow, no borders). The colors are also not the right ones in dark mode.
CleanShot.2024-12-04.at.10.57.58.mp4
To Reproduce
Click on any search bar, in the list view for example.
Expected Behaviour
The Search icon should have a 16px size and a Neutral500 color. The color of the placeholder text should be Neutral500 as well. The input itself should have a 32px height and a 8px paddings Please find the other measurements in the following screenshot.
With all these modifications, the transition between the collapsed and expanded mode should be smoother.
CleanShot.2024-12-04.at.11.14.45.mp4
The text was updated successfully, but these errors were encountered:
### What does it do?
This PR updates the search bar component to match the design system
specifications by:
- Adjusted the search icon size to 16px and color to Neutral500
- Set input height to 32px with 8px padding
- Updated placeholder text color to Neutral500
- Refined the border and focus states for better consistency
- Removed excess shadow for cleaner appearance
- Fixed layout shift issues between collapsed and expanded states
### Why is it needed?
As reported in issue #1832, the current search bar implementation had
several visual inconsistencies:
- The search bar caused layout shifts when opened due to mismatched
sizes with surrounding 32px elements
- Visual appearance didn't match the design system (icon colors, shadow,
borders)
- Dark mode colors were incorrect
- The transition between states wasn't smooth
Describe the issue you are solving.
### How to test it?
[bug-cleaner-search-bar.webm](https://github.com/user-attachments/assets/5c09324a-ba98-416a-b672-c18f74ab0f47)
### Related issue(s)/PR(s)
#1832
What version of design-system are you using?
Browser: Arc
What's Wrong?
Since it's displayed next to 32px elements (ex: the filter button of the list view), it makes the layout shift when it's opened. On the UI side, it simply doesn't look like it's part of our design system (icon color, shadow, no borders). The colors are also not the right ones in dark mode.
CleanShot.2024-12-04.at.10.57.58.mp4
To Reproduce
Click on any search bar, in the list view for example.
Expected Behaviour
The
Search
icon should have a 16px size and aNeutral500
color. The color of the placeholder text should beNeutral500
as well. The input itself should have a 32px height and a 8px paddings Please find the other measurements in the following screenshot.With all these modifications, the transition between the collapsed and expanded mode should be smoother.
CleanShot.2024-12-04.at.11.14.45.mp4
The text was updated successfully, but these errors were encountered: