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

feat(tile-select): add calciteTileSelectChange event #3187

Merged
merged 4 commits into from
Oct 11, 2021

Conversation

eriklharper
Copy link
Contributor

@eriklharper eriklharper commented Oct 8, 2021

Related Issue: #3175

Summary

This PR adds a new calciteTileSelectChange event to calcite-tile-select that emits on every toggle for checkboxes and only when a radio is checked, which matches the HTML spec.

This PR also adds an internal calciteCheckboxBlur event to calcite-checkbox and an internal calciteRadioButtonBlur event to calcite-radio-button so that the previously named "focusedChanged" events can be updated to match the native nomenclature for focus and blur events in the HTML spec. This PR also simplifies the names of event handlers and makes them more meaningful.

@eriklharper eriklharper requested a review from a team as a code owner October 8, 2021 23:56
@github-actions github-actions bot added this to the Sprint 10/11 – 10/22 milestone Oct 8, 2021
@eriklharper eriklharper requested a review from jcfranco October 8, 2021 23:56
@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Oct 8, 2021
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.

Awesome! 🎉 🌮 🦖

I had a few comments, but once addressed, this should be good to merge.

src/components/calcite-checkbox/calcite-checkbox.tsx Outdated Show resolved Hide resolved
src/demos/calcite-tile-select.html Outdated Show resolved Hide resolved
@jcfranco
Copy link
Member

@eriklharper Should this use a feat type instead?

@eriklharper eriklharper changed the title fix(tile-select): add calciteTileSelectChange event feat(tile-select): add calciteTileSelectChange event Oct 11, 2021
@eriklharper eriklharper added enhancement Issues tied to a new feature or request. and removed bug Bug reports for broken functionality. Issues should include a reproduction of the bug. labels Oct 11, 2021
@eriklharper eriklharper merged commit b381992 into master Oct 11, 2021
@eriklharper eriklharper deleted the eriklharper/3175-tile-select-change-event branch October 11, 2021 18:13
eriklharper added a commit that referenced this pull request Nov 16, 2021
…steners back to tile-select after introducing them in #3187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants