Commit Graph

3309 Commits

Author SHA1 Message Date
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
Ján Mikláš
269d6a456c Add story for inputs
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Ján Mikláš
b04753211e Add Select component
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Ján Mikláš
c7088e0fe7 Add Input component
[MAILPOET-2772]
2020-05-14 09:37:37 +02:00
Rostislav Wolny
62224de112 Use default input padding if not defined
[MAIPOET-2892]
2020-05-13 13:59:00 +02:00
Rostislav Wolny
476f59e887 Set form padding default value on reset
[MAILPOET-2892]
2020-05-13 13:59:00 +02:00
Rostislav Wolny
0c3b6db75f Set default form padding when loading form settings from server
[MAILPOET-2892]
2020-05-13 13:59:00 +02:00
Rostislav Wolny
3111f91622 Refactor tight container detection to a function
[MAILPOET-2850]
2020-05-12 14:59:23 +02:00
Ján Mikláš
6fbf9e8efa Add isDisabled parameter for Button
[MAILPOET-2771]
2020-05-07 09:32:11 +02:00
Ján Mikláš
63c250dd67 Better naming for button with spinner
[MAILPOET-2771]
2020-05-07 09:32:11 +02:00
Ján Mikláš
df2e0337b5 Add story for buttons with icons
[MAILPOET-2771]
2020-05-07 09:32:11 +02:00
Ján Mikláš
1a6b95b4b9 Allow icons in Button component
[MAILPOET-2771]
2020-05-07 09:32:11 +02:00
Ján Mikláš
98e570087e Add story for buttons without icons
[MAILPOET-2771]
2020-05-07 09:32:11 +02:00