-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try adding a 'spotlight mode' type effect when template part or child…
… is selected. (#25656) * apply mode from blocklist + css * added class to most active template part * css rules to support nested/active template parts * gate template part check behind site editor experiment * rebrand/refactor to support more entity blocks if necessary * move logic to selector * change selector name and add doc comments * update tests for updated selector * add test for new selector * make test state reusable for updated parents tests * cleanup document-actions useSecondaryText to use new selector * add dependency to selector for selectionEnd * remove unnecessary style selectors * make selector experimental * refactor list of blocks to editor settings * selector return early if no names are passed * update css comment from template part to entity * rename the settings list to include 'entity' * remove unused import
- Loading branch information
1 parent
942f19d
commit 4d544b7
Showing
9 changed files
with
235 additions
and
91 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.