Commit Graph

2721 Commits

Author SHA1 Message Date
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
Pavel Dohnal
458a0a274c Improve form editor background style
[MAILPOET-2914]
2020-05-14 16:03:15 +02:00
Pavel Dohnal
34fe3b149e Open article in beacon
[MAILPOET-2885]
2020-05-14 12:25:16 +02:00
Pavel Dohnal
25525b4fc7 Close form on esc press
[MAILPET-2915]
2020-05-14 11:43:34 +02:00
Ján Mikláš
41965e71f3 Add tags and counts to ReactSelect story
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Ján Mikláš
84be47b114 Add custom renderers for react-select so we can show tags and counts
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Ján Mikláš
e3515a733f Add story for ReactSelect component
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Ján Mikláš
58690a6eb6 Add ReactSelect component
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Ján Mikláš
064fccd541 Add correct types for Input and Select components
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Ján Mikláš
6ef2467342 Rename property size to dimension, because size is native HTML attribute
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Ján Mikláš
1ce07ad981 Add story for select boxes
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00