Commit Graph

3309 Commits

Author SHA1 Message Date
Pavel Dohnal
4ee49ab71f Move messages to a separate function
[MAILPOET-2918]
2020-06-09 14:17:22 +02:00
wxa
ec8aa65d41 Make JS fixes according to PR notes [MAILPOET-2779]
* Rename DatePicker component to Datepicker;
* Move min width selects to the top of the story;
* Change p to div in the Datepicker story.
2020-06-09 13:23:47 +02:00
wxa
b28a98e66a Add new datepicker to Storybook [MAILPOET-2779] 2020-06-09 13:23:47 +02:00
wxa
f4905e7f76 Replace Jquery UI datepicker on the send page [MAILPOET-2779] 2020-06-09 13:23:47 +02:00
wxa
58ad9901ea Add react-datepicker wrapper component [MAILPOET-2779] 2020-06-09 13:23:47 +02:00
Rostislav Wolny
eabbf3f921 Reset form style to default value instead of undefined
[MAILPOET-2938]
2020-06-08 20:56:17 +02:00
Rostislav Wolny
fb278924cc Set form default styles in mapper
[MAILPOET-2938]
2020-06-08 20:56:17 +02:00
Rostislav Wolny
71b5b45991 Use container wrapper div to detect form width
[MAILPOET-2968]
2020-06-08 14:21:15 +02:00
Pavel Dohnal
e850dcaae5 Add fogoten character
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
338e223213 Remove fonts duplication
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
7310bb9bcf Render fonts on frontend
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
dcab2c2ce0 Map font family for server
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
6c2b9762d7 Render custom select using selected font
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
6c20e0f9a3 Render placeholder using selected font
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
65893e8357 Render selected font in custom HTML element
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
581bf704d1 Render font family in the form editor
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
db72d13266 Load different variants of fonts
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
72aefaabcf Add font family select to form editor
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
e30308ee44 Remove component that cannot be used in the editor
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
bbe007633a Use translations in the font select component
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
add460a480 Pass only font name
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
40e384e3c1 Render custom fonts using their style
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
c2dfa0fb77 Add first, empty item
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Pavel Dohnal
6908f17364 Create a basic component for font selection
[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
Jan Jakeš
88a6e501a3 Keep modal heading margin only when close button is shown
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
55b2857868 Unify order of props and parameters
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
9f4e369848 Set default props as parameter defaults
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
75efdca29f Remove role prop as we're not using it atm
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
f58e6f1237 Remove unused default prop
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
8b6f419426 Use TypeScript for modal
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
73784d588e Fix ESC key not working after modal displayed
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
039ea68b60 Split modal to overlay and frame
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
9047ef5e6c Simplify header DOM, style it according to specs
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
af860cdbf6 Make close button independent on header, style it by specs
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
a6d60cb6ff Replace sticky header by scrollable body using flex, allow dynamic header height
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
1b6c6bc7aa Use heading component for modal header
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
c07819e465 Remove displayTitle prop, use title only
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
0a68713bf4 Remove aria and headingId props
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Jan Jakeš
f986856cdd Fix naming and coding style
[MAILPOET-2777]
2020-06-03 11:57:13 +02:00
Rostislav Wolny
43d2ceff84 Fix CSS classname to respect coding style
[MAILPOET-2919]
2020-06-03 10:16:18 +02:00
Rostislav Wolny
68b23b70dd Update context segments when a user add one in import
[MAILPOET-2919]
2020-06-03 10:16:18 +02:00
Rostislav Wolny
662fc80001 Remove unused component and translations for old lists
[MAILPOET-2919]
2020-06-03 10:16:18 +02:00
Rostislav Wolny
fa42c1d9fe Display clearout offer for large old lists
[MAILPOET-2919]
2020-06-03 10:16:18 +02:00
Rostislav Wolny
1476b15de2 Add previous button to import method selection step
[MAILPOET-2919]
2020-06-03 10:16:18 +02:00
Rostislav Wolny
ca8b349a67 Change limit email limit for import validation to 100
[MAILPOET-2919]
2020-06-03 10:16:18 +02:00
Rostislav Wolny
374484f7bf Set offer clearout as first step in import
[MAILPOET-2919]
2020-06-03 10:16:18 +02:00
Rostislav Wolny
4921c7e6e3 Add offer list validation step component
[MAILPOET-2919]
2020-06-03 10:16:18 +02:00
Rostislav Wolny
002be03166 Add target property to Button component
[MAILPOET-2919]
2020-06-03 10:16:18 +02:00
Amine Ben hammou
c17fc59e15 Disable transactional emails by default
[MAILPOET-2952]
2020-06-02 16:25:57 +02:00