kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
85 stars 23 forks source link

Enhancement: Add keyboard support to slide button #3628

Closed jkaltoft closed 2 months ago

jkaltoft commented 2 months ago

Which issue does this PR close?

This PR closes #3605

What is the new behavior?

Slide Button will listen for keyboard events, specifically the arrow keys, page up/down keys and the Home and End keys

When receiving keyboard focus a focus ring will be applied (visually) to the slider thumb.

Does this PR introduce a breaking change?

Are there any additional context?

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Reminders

Review

When the pull request has been approved it will be merged to develop by Team Kirby.