Commit Graph

220 Commits

Author SHA1 Message Date
772df80f01 Change class name for columns with background
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
23a8a46858 Move column spacing styles to Custom CSS
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
564c61a82b Add acceptance test for form with columns
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
d9d1f05119 Change form input wrappers to form p to div
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
6b718dfb2c Add background color indicating class also for custom backgrounds
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
cce9997084 Add custom text, background support to columns, column renderer
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
634bd391e1 Add custom class name support to columns/column
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
4acdb24af3 Add text color support to columns
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
747269d6ff Add support for basic background color
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
b036a466e5 Add vertical alignment support to columns renderer
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
b767387551 Add column/columns block renderering
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
c5f4962645 Add column/columns block renderers
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
f5fc03ee1d Fix preview
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
61251f6e34 Fix styling form bellow post
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
ec8adcae73 Move form wrapping to widget
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
691a8a45f3 Render font size
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
ce127eadc1 Render styles for the form
[MAILPOET-2600]

Signed-off-by: Pavel Dohnal <pavel@mailpoet.com>
2020-03-02 20:52:38 +00:00
c9c1b1fa92 Remove input because it would never apply
Renderer adds the class directly to the input element
and the css would never apply.

[MAILPOET-2601]
2020-02-27 18:49:59 +00:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
ede14fc661 Exclude deleted form from display below post/page check
[MAILPOET-2710]
2020-02-18 08:11:59 +00:00
0fd954184d Create a new form for the user
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
4da5b2e5c4 Add type hints
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
55da20c8ce Make the order stable
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
eb4ea14744 Add forms select
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
7f631a1166 Fix rendering and assets loading for forms below page/post
[MAILPOET-2706]
2020-02-17 17:49:16 +00:00
490a72aed3 Allow but ignore not string content in MailPoet\Form\DisplayFormInWPContent
[MAILPOET-2699]
2020-02-13 18:51:24 +00:00
866167b597 Rename Base to BlockRendererHelper
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
314ce6ed8a Remove renderer render method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
d5bf33c49a Move dateConverter to common utils namespace
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
f959be13dd Add typehints to form block renderers
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
204af78a56 Add radio buttons input renderer test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
9238f3fd68 Add test for segments renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
c6ca749cdc Refactor form blocks to use composition instead of inheritance
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
20926d56b7 Inject form renderer into DisplayFormInWPContent
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
b38bd63bc5 Add unit test for form renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
2e5fd69658 Remove unused variable from form select block
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
f0c1c3e424 Move select block integration test to unit test
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
c1180cd0aa Inject dependencies into form blocks parent
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
d0acad5c3b Inject WPFunctions to FieldNameObfuscator using DI
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
7d596e3407 Extract unrelated date conversion functionality from date block
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
6827eb93e6 Add block renderers to DI container
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
d9b9e13a04 Extract rendering of a single block to extra class
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
a759530b9d Refactor recatcha and honeypot rendering to extra private methods
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
73281f0851 Inject settings and style utils to renderer using constructor
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
f559d5f479 Add typehints to form renderer
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
5193d4641c Refactor getBlocks and getBlock methods from static to instance methods
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
37423908d7 Refactor getStyles method from static to instance method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
087a610be5 Refactor renderHTML method from static to instance method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
b8dd243ec1 Refactor renderStyles method from static to instance method
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
8e9c41145d Mark renderer method which is not used out of renderer as private
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00