Commit Graph

9623 Commits

Author SHA1 Message Date
Ján Mikláš
7754da489e Create breakpoints mixin
This will later be used to define breakpoints by name, so developers don't have to remember specific sizes in pixels

[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
7487a2aa63 Create mixin files with SCSS mixins
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
8afb42d88a Unify newsletter editor variable naming
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
32b6bff89e Create settings files with just SCSS variables and unify their naming
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
ae58c44129 Unify SCSS files naming to kebab-case
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Ján Mikláš
6d6a01ba53 Rename main styles files
[MAILPOET-2487]
2020-03-21 13:26:31 +01:00
Pavel Dohnal
02fe614b27 Split component into two
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
d2716736a1 Use variables and calculations
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
96a5344115 Update acceptance test
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
20f417fe1e Remove debug code
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
46fbb588bb Add checkbox
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
db47fdf22f Use a new close button
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
104f84c863 Add save button
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
915d80d4c5 Display toggle in modal
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
fbae1f10ad Fix modal prop types
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
c77a9f3137 Create toggle component
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
f9aca4fe57 Open settings modal
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
af69fae556 Active state for form placement component
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
15df4ec37c Hover state for form placement component
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
c9a2a44970 Add placement settings header
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
9c4844f77c Create a component for placement settings
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Pavel Dohnal
5d317fc4a8 Remove form placement switches
[MAILPOET-2738]
2020-03-21 10:15:58 +01:00
Rostislav Wolny
136b1050a1 Fix proptypes warning in Selection
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
Rostislav Wolny
e9c3049576 Fix saving class name attributes for divider and custom html blocks
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
Rostislav Wolny
162b968f09 Add acceptance test for input custom class name
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
Rostislav Wolny
99be159566 Render custom class names in form editor
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
Rostislav Wolny
060a6839c7 Render form block custom classes on frontend
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
Rostislav Wolny
72a0afa75b Refactor block renderers to use wrapper renderer
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
Rostislav Wolny
65afeca59e Add form block wrapper renderer
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
Rostislav Wolny
6c9d24a6ed Add saving and loading of custom classes
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
Rostislav Wolny
bdd3be889c Allow custom class names in all blocks settings
[MAILPOET-2746]
2020-03-21 09:40:46 +01:00
Rostislav Wolny
8ca759dc9b Display selected value for product/category for WooCommerce segments
[MAILPOET-2762]
2020-03-19 21:30:59 +01:00
Rostislav Wolny
f1aee6f971 Fix custom color pickers unwanted state reset in style settings
[MAILPOE-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
0e2afb9c80 Use proper state properties in input settings
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
f6d4cd11a6 Set auto height for textarea in forms
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
28327f9d0e Render input borders with custom styles as solid
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
002639fa24 Fix input styles range controls reset and initial value
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
4d1b589da3 Disable resize on textarea in form editor
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
4d524f906a Fix textarea label rendering in form editor
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
9565844854 Use blur on focus to make textarea behave like disabled instead readonly
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
9689b846a1 Don't apply any styles if inherit from theme is turned on
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
47142be4c5 Use partial from lodash instead of underscore
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
4726b285c5 Add acceptance test for text input styles settings in form editor
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
126f988e8c Adjust vertical spacing within style settings panel
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
efdcae19c0 Add apply styles to all inputs button
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
760aed407f Render bold labels according to styles settings
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
4e8fda670c Render form input and textarea styles on frontend
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
b70884ecaa Return original default input width to form custom CSS
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
ee49d77ff4 Remove disabled parameter from textarea in editor
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
Rostislav Wolny
52bddd763f Apply input styles styles for custom textareas in editor
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00