-
Notifications
You must be signed in to change notification settings - Fork 76
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
[Input components, Combobox, Popover] Make close and clear buttons more consistent across system #6640
Comments
For posterity, the z-index workaround for #7272 will probably not be needed if tabs' closable button ends up being round. |
To do
|
I think code-wise we should create a mixin similar to the Floating UI functions that all components can share. |
Currently, we only have an internal functional component to handle close buttons. We should consider using action or enhancing it to meet the needs of close buttons. It would be good to use an existing component if possible. Ideally, whatever we do we have public so other users can create componets with close buttons that match ours. |
I've wondered about using Action too. Action would need more scales added (or a way to make them smaller) to accommodate all the sizes we need. It would also need the ability to be round. For example, Chips use a round 16px close button. Maybe rounding it could be achieved without explicitly adding that to Actions? In any other context, round Actions could be weird? |
Action or Button make sense from a close look but it could warrant its own component if those won't be able to handle it. |
Draft proposal - pending user feedback
Description
Close buttons across Calcite exhibit some inconsistencies due to differences in implementation. Ideally close buttons would be consistent in both design and implementation throughout the system.
Acceptance Criteria
Update close & clear button padding
action
for close and clear buttonsRelevant Info
Part of 4.0's Phase 2
Blocked by: #10759
Which Component
combobox
popover
input
input-number
input-text
input-date-picker
input-time-picker
input-time-zone
Example Use Case
No response
Priority impact
p4 - not time sensitive
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: