acf-composer

Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.

MIT License

Downloads
419.1K
Stars
417
Committers
20

Bot releases are visible (Hide)

acf-composer - v2.0.2

Published by Log1x over 3 years ago

Change log

Bug fixes

  • fix(make-command): fix directory separator for Windows (Fixes #71)
acf-composer - v2.0.1

Published by Log1x over 3 years ago

Change log

Enhancements

  • chore(deps): Bump StoutLogic/acf-builder dependency to v1.11.0 (#67)
acf-composer - v2.0.0

Published by Log1x over 3 years ago

Change log

Enhancements

  • enhance(block): Add anchor support to Block stubs (#66)
  • feat(block): Add support for block styles (#56)
  • chore(block): Add type 'object' to $block (#55)
  • enhance(console): Allow passing --construct during block generation to move class properties into __construct
  • feat(acf-composer): Add support for registering paths with plugins (#63)
  • feat(acf-composer): Add support for registering paths with plugins (Fixes #35)
  • chore(composer): Remove unneeded abstract method
  • chore(provider): Move ACF conditional
  • chore(deps): Bump dependencies
  • chore(acf-composer): Clean up docblocks
  • enhance(ci): Switch to GitHub Actions
  • chore(repo): Bump README & License
  • chore(phpcs): Run linting

Bug Fixes

  • fix(defaults): Fix treating some options as a layout field (#65)
acf-composer - v1.5.5

Published by Log1x almost 4 years ago

Change log

Bug fixes

  • fix(block): Use block slug instead of title for base class name (#49)
acf-composer - v1.5.4

Published by Log1x about 4 years ago

Change log

Bug fixes

  • fix(console): Fix block stub formatting (oops)
acf-composer - v1.5.3

Published by Log1x about 4 years ago

Change log

Enhancements

  • enhance(block): Add support for limiting blocks to a parent
/**
 * The parent block type allow list.
 *
 * @var array
 */
public $parent = ['acf/how-to'];
acf-composer - v1.5.2

Published by Log1x about 4 years ago

Change log

Bug fixes

  • fix(default-config): Fix default config on deep-nested fields (#46)

Contributors: @Androlax2

acf-composer - v1.5.1

Published by Log1x about 4 years ago

Change log

Enhancements

feat(block): Add ability to use a separate view when previewing blocks (#45)
feat(block): Add $view property to override block view path/name (#43)
chore(psr12): Add missing space between bang

Bug fixes

fix(provider): Properly resolve composed field groups in the app container

Credits: @dsturm @jellycode

acf-composer - v1.5.0

Published by Log1x about 4 years ago

Change log

Enhancements

  • feat(block): Add support for 'align_text' and 'align_content' (#39)
  • feat(block): Add support for block preview example data (#41)
  • enhance(block): Add sane defaults for ACF 5.9 to default block stub
  • enhance(block): Improve block stub markup
  • chore(block): Remove __experimental_ suffix from the jsx attribute (#38)
  • chore(console): Improve acf:block command description
  • chore(console): Improve acf:widget command description
  • chore(block): Merge block stubs with the release of ACF 5.9
  • chore(block): Clean up docblock wording

Contributors: @dsturm @mike-sheppard

acf-composer - v1.4.8

Published by Log1x about 4 years ago

Change log

Bug fixes

  • fix(widget): Fix duplicate widget IDs (Fixes #36) (#37)
acf-composer - v1.4.7

Published by Log1x about 4 years ago

Change log

Bug fixes

  • fix(register): Fix registration callbacks
  • fix(widget): Fix widget registration, hook priority, & data (Fixes #25, Fixes #26)
  • fix(block): Fix block view rendering (Fixes #30)
  • fix(block): Handle block names using CamelCase (Fixes #27)

Enhancements

  • chore(filesystem): Remove unneeded filesystem instance
  • enhance(contracts): Add contracts for unique composer type
  • enhance(block): Change $post property to the post object (Fixes #32)
  • enhance(block): Add $post_id property containing the post ID.
acf-composer - v1.4.6

Published by Log1x over 4 years ago

Change log

Bug fixes

  • fix(stub): Fix typo on innerblocks stub
acf-composer - v1.4.5

Published by Log1x over 4 years ago

Change log

🎉 Thanks @mike-sheppard !

Bug fixes

  • fix(docs): Add missing $this>get() to partial example. (Fixes #21)
  • fix(stubs): Add missing namespace and $this->get() to partial stub. (Fixes #21)
  • fix(widgets): Fix widget field registration (Fixes #22)

Enhancements

  • chore(block): Return the register() method
  • chore(field): Return the register() method
  • enhance(acf-composer): Wrap the composer boot() method in an init filter for compatibility
acf-composer - v1.4.4

Published by Log1x over 4 years ago

Change log

Enhancements

  • enhance(partials): Move partial get() method to a Concern
  • enhance(acf-composer): Move field group composing to the boot() method so field classes can access Acorn properly

Bug fixes

  • fix(partials): Fix partial get() method when passed a path
acf-composer - v.1.4.3

Published by Log1x over 4 years ago

Change log

Bug fixes

  • fix(console): Fix view generation makeDirectory
acf-composer - v1.4.2

Published by Log1x over 4 years ago

Change log

Bug fixes

acf-composer - v1.4.1

Published by Log1x over 4 years ago

Change log

Enhancements

  • feat(blocks): Generate blocks with InnerBlock support when using compatible ACF versions (Fixes #16)
  • enhance(partials): Optimize conditional order for partials
acf-composer - v1.4.0

Published by Log1x over 4 years ago

Change log

Upgrade to Acorn v1.0.9 required

Enhancements

  • feat(partials): Add official support for field group partials
  • feat(partials): Add console generator for partial field
  • chore(partials): Add field partial docs
  • chore(console): Clean up existing stub docblocks
  • enhance(composer): Improve field registration
  • enhance(widget): Improve widget registration
  • enhance(console): Clean up composer generators
  • enhance(console): Improve console feedback
  • enhance(view): Split view logic into a trait
  • enhance(docs): Improve documentation
acf-composer - v1.3.2

Published by Log1x over 4 years ago

Change log

Bug fixes

  • fix(get): Return the partial include
acf-composer - v1.3.1

Published by Log1x over 4 years ago

Change log

Bug fixes

  • Require "doctrine/inflector":"^1.4" until stoutlogic/acf-builder updates to 2.0 (#15)