Commit Graph

17 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
Ján Mikláš
088a756822 Remove custom MailPoet font
[MAILPOET-3548]
2021-06-07 13:49:33 +02:00
Ján Mikláš
c9dadf9419 Add WordPress button styles to Storybook.js
[MAILPOET-3545]
2021-06-07 11:49:58 +02:00
Ján Mikláš
e875dc2e02 Remove Typekit, use bundled Nunito font instead
[MAILPOET-3073]
2020-10-29 14:09:37 +01:00
Jan Lysý
0fb8cf3a50 Update Storybook.js to from 5.3 to 6.0
[MAILPOET-3117]
2020-10-01 17:54:16 +02:00
Ján Mikláš
00f21d56f4 Use new font in Storybook
[MAILPOET-2787]
2020-09-14 16:24:16 +02:00
Pavel Dohnal
32c6b1371b Add support for translations in storybook
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Jan Jakeš
48a5ece7df Add modal to Storybook
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Ján Mikláš
b00de99f4c Temporary fix for nicer Storybook font until we switch to new font in whole plugin
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Pavel Dohnal
cfece44494 Add story for form option
[MAILPOET-2873]
2020-05-07 09:21:49 +02:00
Ján Mikláš
b4a9b942f3 Load plugin styles in Storybook preview
[MAILPOET-2770]
2020-05-01 10:20:25 +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