swisspost / design-system

The Swiss Post Design System pattern library for a consistent and accessible user experience across the web platform.
https://design-system.post.ch
Apache License 2.0
106 stars 13 forks source link

fix(tooltip): update a11y patcher, event listeners and de-dupe instance creation in Angular #2621

Closed gfellerph closed 2 months ago

gfellerph commented 3 months ago

More broad capture with pointer events instead of just mouse events.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 800a83689db72f95528e2c531804a81ab51ad46c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ----------------------------------------------------- | ----- | | @swisspost/design-system-components | Patch | | @swisspost/design-system-components-angular-workspace | Patch | | @swisspost/design-system-components-react | Patch | | @swisspost/design-system-documentation | Patch | | @swisspost/design-system-components-angular | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

swisspost-bot commented 3 months ago

Preview environment ready: https://preview-2621--swisspost-design-system-next.netlify.app

gfellerph commented 3 months ago

@imagoiq, there are some more changes coming to this PR.

gfellerph commented 3 months ago

@imagoiq, ready for re-review

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

gfellerph commented 3 months ago

@imagoiq I added a test for the mutation observer as well and noticed it did not catch added elements - which I fixed.