-
Notifications
You must be signed in to change notification settings - Fork 622
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
fix(admin-ui): various UI fixes #4492
Conversation
# Conflicts: # packages/admin-ui/src/Input/InputPrimitive.tsx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Orange Border Height
I noticed this is 3px in Figma, and in code it's 2px.
But I think you already posted a comment to K about this, right?
2. Not sure if this should be in line.
3. Active States
Should we discuss these with K maybe?
4. Tabs Moving?
Isn't it weird how the right tab is moving by 1px as the left one is switching between active/inactive?
movingpx.mov
Note At this point, this is just a discussion. BTW what do you think about the following API here? <Tabs>
<Tabs.Tab id="account" title="Account" icon={<Tabs.Tab.Icon icon={...} label={...}/>}>Account content</Tabs.Tab>
<Tabs.Tab id="password" title="Password">Password content</Tabs.Tab>
</Tabs> Some notes...
The only potentially tricky thing I can see here is the fact that the |
All the styling issues highlighted above have been solved or discussed with K.
|
Changes
With this PR introduces multiple changes:
xs
icon size.ghost
variant whendisabled: true
.Tooltip
tofont-weight: normal
.extendTailwindMerge
configs.Tabs
component's public props (it now accepts atags
prop with the child tabs definition).Avatar
component while displaying images.Chip
props.Popover
portal from Autocomplete components.Tooltip.Portal
; there were instances when the tooltip content became invisible.How Has This Been Tested?
Manually