Commit Graph

2847 Commits

Author SHA1 Message Date
Rostislav Wolny
e0545c48a3 Detect tight container on resize in preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
9ebd96fb6a Render form width on FE from settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
a7cea43aac Refactor form preview specific FE functionality to extra module
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
dd1f89f4d9 Add preview sidebar visual enhancements
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
ed4ba6ec29 Remove unused Toggle component
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
4035032b2f Use Gutenberg ToggleControls in placement settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
54952ebfe3 Ensure numeric values for width settigns
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
f4750ac3df Add styles for preview sidebar
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
b881e5009b Replace select in preview with SelectControl component
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
eb494d5ea9 Add live preview of width/position settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
49ce4cfa1f Add size settings to placement settings in preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
60d70ad453 Add component for size settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
6615494312 Remove unused form placement component
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
bf65d72d41 Move slide in form settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
74a09c03b3 Move fixed bar form settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
71539cb5e8 Move pop forms settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
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