issues
search
Log1x
/
acf-composer
Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.
https://github.com/Log1x/acf-composer
MIT License
419
stars
57
forks
source link
✨ Add an attributes() method for cleanly & safely setting block properties instead of construct
#210
Closed
Log1x
closed
7 months ago
Log1x
commented
7 months ago
Change log
Enhancements
✨ Add an
attributes()
method for cleanly & safely setting block properties instead of construct
🧑💻 Simplify required arguments for block styles
🎨 Improve method typing
🧑💻 Check for
assets
with
method_exists
to prevent unnecessary clashing
🎨 Remove unnecessary
align_content
conditional
🎨 Add types to stubs
🎨 Improve default typing on the
assets
method (Fixes #206)
🎨 Simplify the default
styles
property
🎨 Move example data into the
example()
method in the block construct stub
🧑💻 Update the assets() replacement in acf:upgrade
Change log
Enhancements
attributes()
method for cleanly & safely setting block properties instead of constructassets
withmethod_exists
to prevent unnecessary clashingalign_content
conditionalassets
method (Fixes #206)styles
propertyexample()
method in the block construct stub