Closed daniel-dumortier closed 1 year ago
Hey @daniel-dumortier, Feel free to discuss with @florentlotthepro about the component name. Keep in mind that we want to stay as close as possible to the developer's experience of the platform. On the Design side, this component is named segmented control
.
@daniel-dumortier I'm not able to find the bitrise link 🤔 Can you help me? 😎
@SimonLeclercq the showcase has not been built yet, that's why you can't find the link ;) Since I added a new feature on this branch following @florentlotthepro 's suggestion (in short, a generic screen that handles the display of other sub-screens depending on the segment selected), I wait for other code owners technical review before submitting it to you (to ensure it is clean on a code point of view)
@SimonLeclercq The build is available, you can find the link on Slack
@SimonLeclercq Honestly, I do not really get what you mean by horizontal shift, but for info, I just styled the native SegmentedControl component (with custom font, size, colors, and shadow), thus I do not have any way to shift or move the labels in the segmented control. I just let iOS place them inside the component.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Ok so no problem 👍 thanks for feedback !
Changes description
Implementation of Vitamin tab component for UIKit. It is a subclass of standard UISegmentedControl, with only customization of:
The PR also contains a
VitaminTabsController
that handles a common use case : display aVitaminTabs
at the top of the screen, and a viewController below, depending on the tab selectedContext
UIKit part of #41
Checklist
design-system-core-team-design
GitHub team.Does this introduce a breaking change?
Screenshots
iPhone
iPad
Other information
I named the component
VitaminTab
, but I wonder if it should not been namedVitaminSegmentedControl
, that would be more understandable by iOS developers.