Releases: Webikon/webentor-stack
Releases · Webikon/webentor-stack
@webikon/webentor-core@0.12.0
- BREAKING: Remove
init.phpentry point. Bootstrap logic (constant defines, optional vendor autoload, core app file requires) moved intoWebentorCoreServiceProvider. Acorn auto-discovery handles loading — consumer themes must no longer manuallyrequire_once WEBENTOR_CORE_PHP_PATH . '/init.php'fromfunctions.php.- Migration: delete the
require_once WEBENTOR_CORE_PHP_PATH . '/init.php'line from your theme'sfunctions.php. Keep theWEBENTOR_CORE_PHP_PATHdefine — it's still consumed byconfig/view.phpto register core view paths. Then runcomposer update webikon/webentor-core && wp acorn optimize:clear.
- Migration: delete the
@webikon/webentor-core@0.11.0
- Add responsive spacing settings for WP Core blocks (
core/paragraph,core/heading) — spacing panel appears automatically, classes rendered on frontend viaWP_HTML_Tag_Processor- Filterable block list: JS
webentor.core.wpCoreBlocksWithSpacing, PHPwebentor/wp_core_blocks_with_spacing - Native WP spacing controls disabled on affected blocks to avoid duplication
- Filterable block list: JS
- Fix React hooks warning ("Do not call Hooks inside useEffect") caused by
generateClassNamesbeing called outside React component context viablocks.getSaveContent.extraProps - Fix WP Core blocks breaking after save/refresh —
classNameGeneratorno longer injects responsive classes into saved markup, preventing block validation failures on static blocks - Fix
l-sectionresponsive settings not splitting classes between wrapper and inner container in editor (layout/flexbox/grid classes now correctly apply to the inner container, matching frontend behavior) - Add
WebentorCoreServiceProvider— Acorn auto-discovered service provider for webentor-core- Blade directives (
@sliderContent,@enqueueScripts,@xdebugBreak) moved from theme to core - View Components (
Button,Slider) moved from theme to core — themes can override by extendingWebentor\Core\View\Components\Buttonetc. - Core block
data.phpfiles now loaded by the service provider instead ofThemeServiceProvider
- Blade directives (
@webikon/webentor-core@0.10.1
- Fix
l-sectioninner z-index
@webikon/webentor-core@0.10.0
- Refactor responsive settings and improve UX
- BREAKING: Run keys migrator from
Settings -> Webentor Migrator - BREAKING: Attributes keys changed, so supports in
block.jsonand other usage in theme needs to be checked and renamed:flexboxItem->flexItemdisplay->layout(fordisplay) andsizing(forwidth,height,minWidth,minHeight,maxWidth,maxHeight)
- Added reset buttons for breakpoints
- Better values grouping
- Better cascade breakpoints conditioning
- Spacing linking
- BREAKING: Run keys migrator from
- Add
webentor/block_wrapper_class_propertiesfilter to exclude generated class groups such asbackgroundColorandtextColorfrom filteredclasses_by_propertyand wrapper output, while keeping the raw generated map available forblock_custom_classes - Add Wrap with Flexible container
- Add applied classes viewer to see which responsive classes are applied
- Add Quick layout presets, customizable with filter
webentor.core.responsiveSettings.layoutPresets - Fix PHP path in
init.php - Add package module exports, you can now use
@webikon/webentor-coreinstead of@webentorCorewhen importing in the theme - Add
webentor.core.l-section.outputfilter to customize the section editor preview markup
@webikon/webentor-configs@1.0.2
- Add
@webikon/webentor-coreto Prettier
@webikon/webentor-core@0.9.14
- Fix Button link display
- Disable auto sizes styles for images
@webikon/webentor-core@0.9.13
- Fix CSS formatting (quote style normalization, multiline transitions, selector indentation)