Commit Graph

21439 Commits

Author SHA1 Message Date
Jan Jakes
eb74b55b62 Fix radio control option alignment
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
5d8672ca27 Fix form editor global styles font size picker
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
9c74068039 Fix automation name button style
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
960518fd57 Fix form editor style settings styles after Gutenberg upgrade
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
a912f3500c Fix form editor block inserter styles after Gutenberg upgrade
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
b15ad9692c Simplify slot rendering in automations
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
b20690261f Fix font size picker trying to process numbers as strings
This fixes the "fontSizeValue.startsWith is not a function" error. It seems that the font size picker
now always expects strings, while the values from SETTINGS_DEFAULTS could be numbers,
and we've been using numbers throughout our codebase as well.

This also enables the usage of any font size units, such as em and rem.

This may be related to: https://github.com/WordPress/gutenberg/issues/44857

[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
551d6730db Remove forgotten workarounds
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
2e80af9876 Render automation name dropdown centered
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
4c1164b89b Use relative imports that are resolvable for types in premium
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
29970af07f Add extensible interface for automation editor store
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
7b0bed4c19 Remove unused OmitFirstArgs and OmitFirstArg type helpers
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
4477932245 Alter export of modules from dynamic segments for premium and extend types
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
d7c5a53091 Fix rest of Typescript issues
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
f5a08dc2f3 Fix unknown properties type issues
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
d61d558eef Fix type issues in dynamic segments
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
412cb56b02 Fix types for @wordpress/notices
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
77b6b61937 Add store types for @wordpress packages
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
534e7ee708 Reintroduce store name as identifier in automation editor store
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
898a479860 Reintroduce store name as identifier in dynamic segments store
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
2ba5a6b512 Reintroduce store name as identifier in dynamic segments store
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
895073972d Reintroduce store name as identifier in form editor and templates stores
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
b8d00e24ec Reintroduce store name as identifier in settings store
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
8233b9876a Reintroduce store name as identifier in automation listing store
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
2950862114 Add typings for all @wordpress/data store selection variants
Both store name and store descriptor typings should work in all cases.

[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
0ce3eed33b Fix types in form editor hooks
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
0c427a415e Fix rendering options in option-button
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
ddb43a3d76 Refactor settings store init to use new api
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
566a329ec6 Fix dependency cycles in form editor
[MAILPOET-5120]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
da28bb8578 Fix Type errors related to block-editor store
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
50ff982fd4 Fix TS issues related to core/notice store
@types/wordpress__notice uses @types/wordpress_data but these are no
longer updated and combination with build types from the latest @wordpress/data
causes issues.
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
2818998f63 Fix this.context is unknown error in send.tsx
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
b115289d2b Fix ErrorBoundary type errors
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
f794a0b0f6 Use new @wordpress/data types in form templates app
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
a8916a2b78 Use new @wordpress/data types in dynamic segments
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
5890b74598 Use new @wordpress/data types in homepage
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
a64882101f Use new @wordpress/data types in form editor
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
7919cf2835 Use new @wordpress/data types in automations
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
db101cab7e Make @wordpress/data type definitions compatible with current version
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
ce4f12312f Update dev env node version to 19
After the updates some packages that we use in zip build don't work
with node17. This commit updates dev env to the most recent node version.
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
7c2526bc87 Update classnames in automations editor
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
6eb00c7eac Fix radio buttons groups to display inline in form editor
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
726017d795 Unify form editor styles panels labels with post editor labels
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
291a1637c1 Update Custom font selector toolbar in form editor
This commit fixes CSS which was preventing clicking the custom font select component
and suppresses a deprecation warning by adding __nextUnconstrainedWidth property.
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
37ad1d1275 Fix Can't resolve 'process/browser'
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
92c52fd9f1 Update WordPress JS dependencies and React
Most of the WordPress packages already upgraded to react 18 and use
new hooks so we need to upgrade also the react libs.
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Sam Najian
e21cc48dc2 Add vendor/soundasleep back to RoboFile::qaLintBuild
Update it so that it's added from vendor-prefixed

[MAILPOET-5128]
2023-03-15 15:02:32 -03:00
Sam Najian
7185d1286e Update traces of vendor/soundaslee in Robofile
[MAILPOET-5128]
2023-03-15 15:02:32 -03:00
Sam Najian
ef3c64b85d Adjust use Html2Text from MailPoetVendor namespace
[MAILPOET-5128]
2023-03-15 15:02:32 -03:00
Sam Najian
fb0ef238da Remove Html2Text from main composer.json and add it via prefixer
[MAILPOET-5128]
2023-03-15 15:02:32 -03:00