refactor: simplify controls definitions
What does this MR do?
This rewrites a few code bits to drop deprecated Storybook APIs.
- Importing from
@storybook/addon-docs/blocks
was deprecated in favor of importing from@storybook/addon-docs
directly. - Controls' options can be set on the arg type directly.
- Controls' type can be passed as a string on the
control
property directly rather than oncontrol.type
.
Additionally this removes an obsolete addon registration as we have removed the storybook-readme
addon recently.
Edited by Paul Gascou-Vaillancourt