Skip to content
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(list-item): always show hover and pointer styling #8622

Merged
merged 5 commits into from
Jan 18, 2024

Conversation

driskull
Copy link
Member

@driskull driskull commented Jan 17, 2024

Related Issue: #6700

Summary

It was decided that the majority of cases use the layer list to perform some kind of action so the default should be to have hover and pointer styling by default. In the future, we may add another selectionMode to provide a better UX for "non interactive" lists.

Further information: #6123 (comment)

  • Always has the hover and pointer styling on a list item regardless of selectionMode
  • Add e2e test

@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Jan 17, 2024
@driskull driskull added the low risk Issues with low risk for consideration in low risk milestones label Jan 17, 2024
@driskull driskull added the skip visual snapshots Pull requests that do not need visual regression testing. label Jan 17, 2024
@driskull driskull marked this pull request as ready for review January 17, 2024 23:58
@driskull driskull requested a review from a team as a code owner January 17, 2024 23:58
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing! 🏆 Can you add a recap of the decision in the summary for our future selves?

@driskull driskull merged commit 4a8a91a into main Jan 18, 2024
14 checks passed
@driskull driskull deleted the dris0000/list-item-hover-pointer branch January 18, 2024 17:02
geospatialem pushed a commit that referenced this pull request Jan 24, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>@esri/calcite-components: 2.3.0</summary>

##
[2.3.0](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@2.2.0...@esri/calcite-components@2.3.0)
(2024-01-24)


### Features

* **action-bar, action-pad, block, flow-item, panel:** Add
`overlayPositioning` prop for built-in menus
([#8633](#8633))
([714b889](714b889))
* **tab:** Add `--calcite-tab-content-block-padding` to override
built-in block-padding
([#8629](#8629))
([7dae525](7dae525))


### Bug Fixes

* **action-menu:** Clicking an action menu item should call click event.
([#8627](#8627))
([b12ef6b](b12ef6b))
* **list-item:** Always show hover and pointer styling
([#8622](#8622))
([4a8a91a](4a8a91a))
</details>

<details><summary>@esri/calcite-components-angular: 2.3.0</summary>

##
[2.3.0](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-angular@2.2.0...@esri/calcite-components-angular@2.3.0)
(2024-01-24)


### Miscellaneous Chores

* **@esri/calcite-components-angular:** Synchronize undefined versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^2.3.0-next.1 to ^2.3.0
</details>

<details><summary>@esri/calcite-components-react: 2.3.0</summary>

##
[2.3.0](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@2.2.0...@esri/calcite-components-react@2.3.0)
(2024-01-24)


### Miscellaneous Chores

* **@esri/calcite-components-react:** Synchronize undefined versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^2.3.0-next.1 to ^2.3.0
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. low risk Issues with low risk for consideration in low risk milestones skip visual snapshots Pull requests that do not need visual regression testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants