Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Input Chips in the style of Material Design #622

Open
7 tasks
Tracked by #397
mklmrgn opened this issue Sep 12, 2024 · 3 comments
Open
7 tasks
Tracked by #397

Create Input Chips in the style of Material Design #622

mklmrgn opened this issue Sep 12, 2024 · 3 comments

Comments

@mklmrgn
Copy link
Member

mklmrgn commented Sep 12, 2024

Overview

The first of our "Chips", Input chips represent discrete pieces of information entered by a user, such as a contact or filter options within a search field.

Action Items

  • Research input chip styling for Google's M3
  • Create variants for different states (Enabled, Disabled, Hover, Focused)
  • Create variants for different configurations (leading icon, trailing icon, both)
  • Communicate changes in issue's comments and with design team
  • Get sign-off from Project Manager
  • Update Component Library and Microsite
  • Close Issue

Resources/Instructions

https://m3.material.io/components/chips/overview
Use case from our VMRS project (not using Material 3 guidelines)

Screen Shot 2024-09-11 at 7 55 27 PM

@sunannie27
Copy link
Member

@kevinmoutoucarpin Please provide update

  1. Progress: "What is the current status of your project? What have you completed and what is left to do?"
  2. Blockers: "Difficulties or errors encountered."
  3. Availability: "How much time will you have this week to work on this issue?"
  4. ETA: "When do you expect this issue to be completed?"
  5. Pictures or links* (if necessary): "Add any pictures or links that will help illustrate what you are working on."
  • remember to add links to the top of the issue if they are going to be needed again.

@kevinmoutoucarpin
Copy link
Member

kevinmoutoucarpin commented Oct 9, 2024

So far :

  • Looked at input chip styling for Google's M3. On September 11-13, I did additional benchmarks from other products (see more here)
  • Padding and size measurements are all done in the enabled, disabled, hovered and focused states
  • My main blocker was finding the right colors for each state in terms of avatar, icon, label but I think I figured it out (to be confirmed)
  • Created 6 configurations (label only, leading icon + label, label + trailing icon, leading icon + label + trailing icon, avatar + label, avatar + label + trailing icon) in order to cover all use cases (or at least the maximum)

This is what I've been working on :
Screenshot of a Figma frame displaying variants of input chips for different configurations (label only, leading icon + label, label + trailing icon, leading icon + label + trailing icon, avatar + label, avatar + label + trailing icon) and states (enabled, disabled, hovered, focused)

@kevinmoutoucarpin
Copy link
Member

Status :

  • Finished with the 6 configurations (label only, leading icon + label, label + trailing icon, leading icon + label + trailing icon, avatar + label, avatar + label + trailing icon) in terms of padding/size measurements and colors for the enabled, disabled, hovered and focused states
  • Padding and size measurements are based 100% from M3
  • For the colors, I used those from our library which match the closest to M3
  • Note : I won't be able to attend any meeting or continue working on this GitHub issue until the last week of October

Screenshot of a Figma frame displaying variants of input chips for different configurations (label only, leading icon + label, label + trailing icon, leading icon + label + trailing icon, avatar + label, avatar + label + trailing icon) and states (enabled, disabled, hovered, focused)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress (actively working)
Development

No branches or pull requests

3 participants