Commit Graph

2831 Commits

Author SHA1 Message Date
Rostislav Wolny
5d4aea2b44 Move other placements to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
b41248e5e1 Move below post form settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
188c00d792 Move preview component to subfolder
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
fc62ac637d Add sidebar to the form preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
8541724f45 Switch preview to tsx
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Pavel Dohnal
cfb2f1cff9 Make sure name is passed
[MAILPOET-2272]
2020-05-26 14:50:10 +02:00
Pavel Dohnal
154d68b827 Save email addresses in lower case
[MAILPOET-2272]
2020-05-26 14:50:10 +02:00
Pavel Dohnal
deb8e3038d Prevent deleting the last item
[MAILPOET-2889]
2020-05-26 13:11:42 +02:00
wxa
70e3d1e459 Refresh nonce via heartbeats [MAILPOET-2839] 2020-05-25 18:45:19 +02:00
wxa
2b4afbcda9 Show a better error message if newsletter saving fails [MAILPOET-2839] 2020-05-25 18:45:19 +02:00
Amine Ben hammou
d679776a65 Check params before accessing values 2020-05-25 17:22:05 +02:00
Pavel Dohnal
2f01a00dc4 Display the correct colour in textarea
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Pavel Dohnal
0555cc94d9 Display label within input using selected colour
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Pavel Dohnal
e77f1380f9 Add input colour settings
[MAILPOET-2908]
2020-05-25 16:32:58 +02:00
Ján Mikláš
03599c54ea Replace unicode icons with SVG in YesNo component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
20257ad52a Add disabled form control components to stories
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
7517baeea8 Add disabled states for form control components
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
6603fd89fd Sort values in CheckboxGroup component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
6864fc0694 UX fixes
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
1146c37665 Adjust some headings size after redesign change
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
ba3e8be510 Add story for YesNo component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
d89969417c Add YesNo component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
c00bead4d1 Add story for Toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
f54ed0997b Add Toggle component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
49b866ad29 Replace onChange prop with onCheck for Radio and Checkbox
onChange is already defined for HTML inputs and returns event, but we want to return boolean/array of values

[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
34ba928a76 Add story with radio examples
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
b77394ddca Add story with checkbox examples
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
5fc32d89f2 Add Radio and RadioGroup component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
Ján Mikláš
7286bcf49d Add Checkbox and CheckboxGroup component
[MAILPOET-2773]
2020-05-25 15:52:18 +02:00
wxa
de3bc2916d Set default styles for input and submit when disabling inheritance [MAILPOET-2913] 2020-05-21 12:42:26 +02:00
wxa
e9bbfbee46 Remove unnecessary custom CSS, change defualt form padding [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
Rostislav Wolny
800197c6cb Fix background image CSS application in editor
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
f452da10bc Fix rendering tile background
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
4cbaf975b0 Move style rendering
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
e26f5318ff Hide background on mobile
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
fbd449dd6b Update position for fit placement
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
f2078d670e Move background image to parent element
This is important for popup form to cover the whole popup

[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
ea2ae98fa0 Use the correct display for background image in the editor
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
d30b4e0084 Display background image in the form editor
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
7f396e47ab Load and save background image
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
8c084b4577 Add display component
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
f5ba818cf2 Add component for image upload
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
f00fcc98a7 Refactor scss, split long file into more files
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
deea23d23f Add form editor section to storybook
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Rostislav Wolny
c99e04ad49 Fix form input padding mapping
[MAILPOET-2930]
2020-05-19 17:27:36 +02:00
Pavel Dohnal
c35240c62a Set divider height to max when reset button is clicked
[MAILPOET-2901]
2020-05-19 09:26:43 +02:00
Pavel Dohnal
1a446ce113 Limit height of divider
[MAILPOET-2901]
2020-05-19 09:26:43 +02:00
Rostislav Wolny
c4b19f342a Fix nested blocks top margins in form editor
[MAILPOET-2928]
2020-05-19 09:24:41 +02:00
Ján Mikláš
032f15f2d0 Add story for all grid layouts
[MAILPOET-2774]
2020-05-18 10:15:52 +02:00
Ján Mikláš
6f55dd0ecc Add components for different grid layouts
[MAILPOET-2774]
2020-05-18 10:15:52 +02:00