Skip to content

Release v3.1.0: OOP Wrappers & UI Enhancements#2

Merged
tikhomirov merged 1 commit intomainfrom
dev
Feb 24, 2026
Merged

Release v3.1.0: OOP Wrappers & UI Enhancements#2
tikhomirov merged 1 commit intomainfrom
dev

Conversation

@tikhomirov
Copy link
Owner

Release v3.1.0: OOP Wrappers & UI Enhancements

🚀 Features

  • OOP API Adapters: Added new Object-Oriented wrappers (RadioField, MediaField, FieldsetField) built on top of the legacy engine using the new LegacyAdapterBridge and LegacyWrapperField. This bridges the gap between the modern Fluent API and complex legacy field types.

💅 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.

@tikhomirov tikhomirov merged commit c7684dc into main Feb 24, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant