Commit Graph

116 Commits

Author SHA1 Message Date
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áš
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
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
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
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
Ján Mikláš
0cddc09def Add Button component without icons
[MAILPOET-2771]
2020-05-07 09:32:11 +02:00
Ján Mikláš
f186001f38 Add <Heading> stories
[MAILPOET-2770]
2020-05-01 10:20:25 +02:00
Ján Mikláš
e8be186fea Add <Heading> component
[MAILPOET-2770]
2020-05-01 10:20:25 +02:00
Pavel Dohnal
ce6885d53c Use typescript enum instead of list of strings
[MAILPOET-2809]
2020-04-29 14:31:24 +02:00
Pavel Dohnal
e844a49e09 Rename component
[MAILPOET-2832]
2020-04-29 09:45:58 +02:00
Pavel Dohnal
d5dc7b31fb Use total count of subscribers
[MAILPOET-2832]
2020-04-29 09:45:58 +02:00
Pavel Dohnal
c9c949a1e7 Prevent displaying notice if no plan active
[MAILPOET-2832]
2020-04-29 09:45:58 +02:00
Pavel Dohnal
fd1687020e Extract note to a separate component
[MAILPOET-2832]
2020-04-29 09:45:58 +02:00
Pavel Dohnal
e5639d1adb Remove SPF notice
[MAILPOET-2867]
2020-04-27 14:25:58 +02:00
Rostislav Wolny
44fb469891 Use better naming for preview components props
[MAILPOET-2743]
2020-04-27 11:21:28 +02:00
Rostislav Wolny
6d07f5eb32 Add acceptance test for form preview
[MAILPOET-2743]
2020-04-27 11:21:28 +02:00
Rostislav Wolny
041f4f5fdc Move common preview to folder
[MAILPOET-2743]
2020-04-27 11:21:28 +02:00
Rostislav Wolny
49ec2ed294 Change controls of preview to icons and add callback
[MAILPOET-2743]
2020-04-27 11:21:28 +02:00
Jan Jakeš
67dbb78406 Fix missing prop error
[MAILPOET-2838]
2020-04-06 15:44:04 +02:00
Amine Ben hammou
af4225bc87 Update the store after setting an authorized address
[MAILPOET-2681]
2020-04-06 13:21:15 +02:00
Jan Jakeš
e1c6304076 Remove also JS-rendered unauthorized-email-in-newsletter notice
[MAILPOET-2805]
2020-04-06 10:52:10 +02:00
Amine Ben hammou
74eef5e300 Add woocommerce email customizer field
[MAILPOET-2708]
2020-04-03 11:17:50 +02:00
Jan Jakeš
b6ff062bf1 Simplify DOM and get rid of IDs in CSS
[MAILPOET-2804]
2020-04-01 16:21:15 +02:00
Jan Jakeš
6636313baf Use React notices in set FROM address modal
[MAILPOET-2804]
2020-04-01 16:21:15 +02:00