nl-design-system / utrecht

Work in Progress: Utrecht Design System based on the NL Design System architecture. Storybook: https://nl-design-system.github.io/utrecht/storybook/
https://nl-design-system.github.io/utrecht/
European Union Public License 1.2
23 stars 15 forks source link

feat: add support for bidirectional icons #2286

Closed Robbert closed 3 months ago

Robbert commented 3 months ago

The following screenshot shows the breadcrumb navigation in both left-to-right and right-to-left text directions. Both examples use exactly the same icon, but the icon direction is switched based on the new CSS selector :dir(rtl).

Unfortunately in Safari :dir(rtl) doesn't detect the correct text direction in the shadow DOM — it always detectes ltr as direction.

Screenshot of breadcrumb navigation examples in Storybook
vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
utrecht ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 7, 2024 3:42pm