Commit Graph

9 Commits

Author SHA1 Message Date
Rostislav Wolny
97e1263451 Switch storybook builds to Webpack 5
[MAILPOET-3826]
2021-10-04 10:10:44 +02:00
Rostislav Wolny
e8a6f5b1ad Add workaround for @emotion packages naming issue
Storybook uses @emotion packages v10 and @wordpress/components
require v11. Storybook works with version 11 but since there were some merges
in @emotion packages we need to set some aliases and also make sure correct versions
are installed on top level in node_modules.
See https://github.com/storybookjs/storybook/pull/13300#issuecomment-783268111
This workaround was done based on a workaround applied in the Gutenberg project
bc072fddef
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Jan Lysý
0fb8cf3a50 Update Storybook.js to from 5.3 to 6.0
[MAILPOET-3117]
2020-10-01 17:54:16 +02:00
Pavel Dohnal
32c6b1371b Add support for translations in storybook
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Ján Mikláš
87663b16b3 Use special tsconfig for Storybook
[MAILPOET-2769]
2020-04-23 14:34:58 +02:00
Ján Mikláš
eb93681f0a Add source code addon to Storybook
[MAILPOET-2769]
2020-04-23 14:34:58 +02:00
Ján Mikláš
6dcac2ebe5 Use TSX format for stories
[MAILPOET-2769]
2020-04-23 14:34:58 +02:00
Ján Mikláš
14336038ce Add performance addon for all Storybook stories
[MAILPOET-2769]
2020-04-23 14:34:58 +02:00
Ján Mikláš
42445f967b Setup Storybook to load stories from _stories directories
[MAILPOET-2769]
2020-04-23 14:34:58 +02:00