-
Notifications
You must be signed in to change notification settings - Fork 4.6k
[WIP] Button: Adopt width block support for button widths #32878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
aaronrobertshaw
wants to merge
1
commit into
add/width-block-support
from
try/button-width-via-block-support
Closed
[WIP] Button: Adopt width block support for button widths #32878
aaronrobertshaw
wants to merge
1
commit into
add/width-block-support
from
try/button-width-via-block-support
Conversation
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
8 tasks
|
Size Change: +19 B (0%) Total Size: 1.15 MB
ℹ️ View Unchanged
|
5ab0a70 to
3406995
Compare
c3dbfba to
e0b9dde
Compare
5c5e6e2 to
8ac6c73
Compare
e0b9dde to
f3efe0a
Compare
d130ea7 to
83ad8a1
Compare
f3efe0a to
4941456
Compare
83ad8a1 to
193263d
Compare
4941456 to
c6363ae
Compare
193263d to
3e12547
Compare
c6363ae to
e2ed768
Compare
23 tasks
3e12547 to
ce0236d
Compare
e2ed768 to
6dbbcba
Compare
36 tasks
ce0236d to
1399bd8
Compare
6dbbcba to
c3a04dd
Compare
1399bd8 to
4e0aedc
Compare
c3a04dd to
9a0f545
Compare
8 tasks
Contributor
Author
|
The width block support this PR relies on has been shelved for the foreseeable future. I'll close this PR as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Block] Buttons
Affects the Buttons Block
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Status] In Progress
Tracking issues with work in progress
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.
🚧 This is in progress and only intended to further discussion on the width block support and proposed width control. 🚧
Description
A proof of concept in switching the button block to use the proposed width block support.
Known issues
Custom widths that do not match preset percentage widths (
25,50,75,100) do not automatically take into account margin or column gap. Possible options include including<style>or styled component that does factor the margin/gap in.Next Steps
widthattribute to the block support'sstyle.dimensions.widthattributeHow has this been tested?
🚧 TBA.
Screenshots
Types of changes
New feature
Checklist:
*.native.jsfiles for terms that need renaming or removal).