[Button] Enhance component's interactive states #9246
Labels
0 - new
New issues that need assignment.
ArcGIS Online
Issues logged by ArcGIS Online team members.
calcite-components
Issues specific to the @esri/calcite-components package.
design
Issues that need design consultation prior to development.
enhancement
Issues tied to a new feature or request.
estimate - design - sm
Small design effort; 1-4 days of design work
estimate - 5
A few days of work, definitely requires updates to tests.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
p - medium
Issue is non core or affecting less that 60% of people using the library
p2 - want for current milestone
User set priority status of p2 - want for current milestone
ready for dev
Issues ready for development implementation.
Milestone
Check existing issues
Description
A stronger and more noticeable hover state for calcite-neutral outline and outline-fill buttons.
This giphy is showing and comparing the new hover to state to the old hover state (while one is brand and one is neutral), the drastic hover state difference is creating a weird and unexpected interaction.
Part of epic #9299
Acceptance Criteria
1. Neutral and solid:
:hover
background color toborder.3
:press
background color toborder.2
2. Neutral and outline-fill & outline:
:hover
outline colors toborder.input
:press
outline colors totext.3
3. Outline-fill and outline:
:hover
toforeground.2
background change instead of a stroke width change:press
to aforeground.3
background change instead of a stroke width change4. Transparent variants:
:hover
background color toforeground.2
:press
background color toforeground.3
:hover
background color toinverse.hover
:press
background color toinverse.press
Relevant Info
The neutral outline buttons are being added to the groups item details pages at R2. So if any type of enhancement can be made before then to make this a more clear experience, that would be great.
Which Component
Calcite-button
https://codepen.io/geospatialem/pen/dyLBvPm
Example Use Case
In this example, I am hovering on 'Add items to groups' - if you look closers, you can tell there is a very subtle difference.
Priority impact
p2 - want for current milestone
Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: