Skip to content

Release v3.1.1: OOP Wrappers & UI Enhancements

Choose a tag to compare

@tikhomirov tikhomirov released this 24 Feb 00:57
· 24 commits to main since this release
8736657

🚀 Features

  • OOP API Adapters

💅 UI/UX Enhancements

  • Metabox Scoped Styles: Major visual overhaul for scoped metaboxes (specifically #plugin_metabox in WP Packages).
    • Inputs, selects, and textareas now correctly span 100% width with proper box-sizing.
    • Block-level labels with improved spacing and typography.
    • Better alignment for .wp-field-media-wrapper using Flexbox.
    • Refined repeater rows styling and repositioned "Remove" buttons to a dedicated actions area.

🐛 Bug Fixes

  • Assets Enqueue Timing: Fixed an issue where wp-field.css and wp-field.js would not enqueue correctly if the modern API fields were rendered very early (before or during admin_enqueue_scripts).
  • Repeater JS Compatibility: Updated the JavaScript handler for repeater fields to fully support both the new OOP template markup (.wp-field-repeater-rows with <script> templates) and the legacy markup simultaneously.
  • CSS Validation: Added the standard appearance: textfield; property alongside -moz-appearance for better browser compatibility.