View full changelog
Fixed
- Hide responsive settings from old ACF blocks
airfleet-elements-responsive-plugin added various features for responsive design, including breakpoints, CSS classes, and utility functions.airfleet-elements-buttons-plugin, airfleet-elements-text-plugin, and others updated their components to accept custom class/attributes/data-attributes. This allows users to customize the appearance of elements without modifying code.airfleet-admin-plugin and airfleet-acf-addons-plugin, fixed PHP errors related to ACF plugin installation and menu existence.Added various features for responsive design, including breakpoints, CSS classes, and utility functions.
airfleet_responsive_breakpoints() (returns breakpoints API instance)airfleet/elements/breakpoints (customize breakpoints)airfleet_responsive_render() (renders a view with responsive CSS classes)elements-components-breakpoint (component to render a view for the selected breakpoint)elements-partials-responsive-component (render a responsive component)$_responsive / Blade directive @responsive (shortcut to responsive component partial)elements-component-breakpoint-flexible (responsive options to add to other components and render them)elements-component-breakpoint-flexible to flexible componentsairfleet/elements/responsive/flexible/exclude (exclude views from having responsive settings auto-added in flexible components).afu-hide--{modifier}-{breakpoint} CSS classes (hide elements based on a modifier and a breakpoint).afu-hide-br--max-{breakpoint} CSS classes (hide line breaks based on a breakpoint)window._airfleet.elements.breakpoints JS utilities (responsive data and functions)elements-components-title-advancedUpdated button components to accept custom class/attributes/data-attributes
Text component classes and attributes can now be customized
Added helper functions and filters for merging attributes and filtering child elements.
$_merge_attrs (merges class/attributes/data-attributes from context onto given array)airfleet/elements/flexible/child/slug (filter slug for rendering child)airfleet/elements/flexible/child/data (filter data for rendering child)Removed filter airfleet/views/context/{$slug} and updated function airfleet_views_render() and helper $_view().
airfleet/views/context/{$slug} (use airfleet/views/context instead)airfleet_views_render() and helper $_view() to support a variable number of data arrays (arrays are merged together)Fixed a PHP error related to ACF_MAJOR_VERSION when the ACF plugin is not installed
Fixed a PHP error that occurs when the Airfleet menu does not exist.