Closed daniel-dumortier closed 1 year ago
@daniel-dumortier, I have some issues with the current chips:
1 - filter
variant display a tag
on iOS sample, but it's not required on this platform.
2 - I'm not able to close
an input-chips
. I don't know if it's due to the sample or if it's not provided.
Thanks ☺️
@SimonLeclercq
Regarding filter variant:
Do you mean a badge
(and not a tag
) ?
Honestly, there were two sources, and I did not know which one was the good one:
I decided to implement the more complex one ;). Before reverting my code, can you confirm that Figma is the source of truth (and eventually update ZeroHeight) ?
Regarding the input variant : All variant can be provided with an action callback that will be launched when user taps the chip. I thought it was a better idea to let the responsibility of the dismissal of the input chip within this callback to the app developer. But I you think it should be an intrinsic behavior of this component, that's ok for me, i'll dismiss the chip ans execute the callback just after.
@daniel-dumortier yes I mean badge
, excuse me.
Well noted regarding the two sources of truth, I'll take this point. Issue here: https://github.com/Decathlon/vitamin-design/issues/191
I'll take a look a callback and give you more detail as soon as possible 😀
@SimonLeclercq Done, the badge has been removed, you can find the last showcase on slack
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Changes description
This PR adds the Chip component for UIKit version.
Context
Implements the UIKit part of issue #20
Checklist
design-system-core-team-design
GitHub team.Does this introduce a breaking change?
Screenshots
iPhone
iPad
Other information