lyne-components icon indicating copy to clipboard operation
lyne-components copied to clipboard

feat: sbb autocomplete grid

Open DavideMininni-Fincons opened this issue 11 months ago • 1 comments

Preflight Checklist

Issue

This PR Closes #1945

Pull request checklist

Please check if your PR fulfills the following requirements:

  • [x] Tests for the changes have been added (for bug fixes / features)
  • [x] Docs have been reviewed and added / updated if needed (for bug fixes / features)

See Review Guidelines for more information what is checked during review process.

Changes

Changes in this pull request:

  • new sbb-autocomplete-grid component added, with related components:
    • sbb-autocomplete-grid-optgroup, similar to native optgroup
    • sbb-autocomplete-grid-row, which acts as a container for both option and actions
    • sbb-autocomplete-grid-option, similar to native option
    • sbb-autocomplete-grid-actions, which acts as a container for button
    • sbb-autocomplete-grid-button
  • the autocomplete, optgroup and option components have been refactored using a base class

Browsers

I tested the build on the following browsers:

  • [x] Firefox Desktop
  • [x] Chrome Desktop
  • [ ] Edge Desktop
  • [x] Safari Desktop
  • [ ] Chrome Mobile
  • [ ] Safari Mobile

Screen readers

I tested the build on the following browsers:

  • [ ] JAWS Firefox Desktop
  • [ ] JAWS Chrome Desktop
  • [x] NVDA Firefox Desktop
  • [x] NVDA Chrome Desktop
  • [x] VoiceOver Safari Desktop
  • [x] VoiceOver Chrome Desktop
  • [ ] VoiceOver Safari Mobile
  • [ ] Android Accessibility Suite Chrome Mobile

Pull request type

Please check the type of change your PR introduces:

  • [ ] Bugfix
  • [x] Feature
  • [ ] Code style update (formatting, renaming)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] Documentation content changes
  • [ ] Other (please describe):

Does this introduce a breaking change?

  • [ ] Yes
  • [x] No

Other information

DavideMininni-Fincons avatar Mar 21 '24 09:03 DavideMininni-Fincons