airfleet/airfleet-style-guide-plugin

Project releases

airfleet-style-guide-plugin

Release 1.0.0

Added framework plugin dependency and switched package manager to Bun.

GitHub
View full changelog

Changed

  • Breaking: Added new dependency - Airfleet Framework plugin - and removed scoped framework composer package
  • Added plugin dependencies in main plugin file (Requires Plugins metadata field)
  • Internal: Increased Node.js version requirement to >=24
  • Internal: Bump npm dependency @airfleet/wordpress-dev to ^4.0.0
  • Internal: Bump composer dependency airfleet/wordpress-dev to ^4.0.0
  • Internal: Switched package manager to Bun
  • Internal: Updated linters and development tools
  • Internal: Updated configuration for development tools
  • Internal: Moved configuration sections from package.json to dedicated config files
  • Internal: Updated browserslist configuration
  • Internal: Updated package.json scripts to use Airfleet CLI
  • Internal: Updated README.md to remove Getting Started and Documentation sections
  • Internal: Updated Plugin URI metadata field in main plugin file
  • Internal: Updated GitHub workflows
  • Migrated from @import to @use in SCSS
  • Internal: Added .airfleet-license and .airfleet-visible
airfleet-style-guide-plugin

Release 0.2.0

Added option to show/hide style guide from anonymous users and updated components titles to title case.

GitHub
View full changelog

Added

  • Added option to show/hide style guide from anonymous users
  • Added block index page (displays the list of blocks), rendered by the style-guide-blocks-index partial.
  • Added new filters airfleet/style_guide/excluded_blocks and airfleet/style_guide/excluded_components to automatically exclude blocks and components from style guide.
  • Added h1 titles and browser titles.
  • Added breadcrumbs.

Changed

  • Changed Style Guide pages structure. The root Style Guide page now displays links to blocks index and components index.
  • Updated components titles to title case instead of displaying slug.
  • Replaced dummy text with randomily picked lorem ipsum based on field name.

Fixed

  • Fixed style guide pages not displaying because rewrite rules were not being registered correctly and were cleared after saving options
  • Fixed respect default value of true/false fields. Also fixes the warning "Block is hidden for logged-off users".
  • Fixed settings link in Plugins page pointing to a different URL than the settings link in the Admin menu.
airfleet-style-guide-plugin

Release 0.1.0

Added options and pages for Style Guide feature

GitHub
View full changelog

Added

  • Added option to disable Style Guide feature from Theme Support plugin
  • Added Style Guide index page (displays the list of blocks)
  • Added block inner page (displays an automatically generated example of the block)
  • Added component index page (dispalys the list of components)
  • Added component inner page (displays an automatically generated example of the component)