Merged
Conversation
Member
Author
|
Heads up, @sirugh. |
10 tasks
fkakatie
added a commit
to adobe/aem-lib
that referenced
this pull request
Feb 12, 2026
BREAKING CHANGE: The decorateButtons function has been removed. See MIGRATION.md for upgrade instructions. Ref: adobe/aem-boilerplate#585
trieloff
pushed a commit
to adobe/aem-lib
that referenced
this pull request
Feb 19, 2026
# [3.0.0](v2.10.6...v3.0.0) (2026-02-19) ### Documentation * add migration guide for v3.0.0 ([f031893](f031893)), closes [adobe/aem-boilerplate#585](adobe/aem-boilerplate#585) ### BREAKING CHANGES * The decorateButtons function has been removed. See MIGRATION.md for upgrade instructions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate button decoration from aem-lib to boilerplate
Test URLs:
Summary
Moves
decorateButtonsfrom aem-lib to boilerplate with improved opt-in behavior and visual hierarchy.Why: Button decoration touches styles and should live in the editable boilerplate, not the protected aem-lib. Users should be empowered to customize button behavior without touching aem.js.
Changes
Decoration logic (
scripts/scripts.js):Styles (
styles/styles.css):inline-flexlayoutaria-disabledfor links,disabledfor buttons)focus-visiblefor keyboard navigationbutton.buttonselector (opt-in for developers too)Breaking Changes
Incompatible. Plain links in paragraphs no longer auto-convert to buttons. Authors must use bold or italic formatting to create buttons.
Migration: Add bold formatting to existing button links in content.
Coordination