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

Calendar component: broken event.date processing in Storybook #1747

Open sergei-maertens opened 1 year ago

sergei-maertens commented 1 year ago

Providing a disabled event does not seem to be resulting in the disabled styles and behaviour being applied.

I'll check if I can add a regression test and fix

sergei-maertens commented 1 year ago

I dug into this for a bit and was at least able to localize the problem - it only applies in Storybook (https://nl-design-system.github.io/utrecht/storybook-react/index.html?path=/story/react-calendar--default)

I will create a separate issue for the confusing API of the calendar.