Skip to content
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

Blockbase: Implement the Button elements API #6041

Closed
wants to merge 3 commits into from

Conversation

MaggieCabrera
Copy link
Contributor

Changes proposed in this Pull Request:

This PR adds the button element to theme.json so it can be accessed by plugins. It shouldn't affect how the buttons look before or after this PR, on Blockbase or any of its children. I will create a followup PR that removes the CSS that will no longer be needed after this is merged, but I'll keep that separated since it will require that the theme has the GB installed for it to work. We can wait to merge that change after it lands in core.

Before After
Screenshot 2022-05-26 at 12 38 39 Screenshot 2022-05-26 at 12 38 44

@MaggieCabrera MaggieCabrera requested a review from a team May 26, 2022 10:42
@MaggieCabrera MaggieCabrera self-assigned this May 26, 2022
@pbking pbking added this to the Blockbase 3.0 milestone Jun 7, 2022
@pbking
Copy link
Contributor

pbking commented Jun 7, 2022

This hasn't been moved out of 'in progress' but I think it should be safe to merge into Blockbase (whenever, though I tagged it for inclusion in the 3.0 release).

Copy link
Member

@mikachan mikachan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM! I like the idea of this going live with Blockbase 3.0.

@MaggieCabrera
Copy link
Contributor Author

We should make a quick test on dotcom but this should be mergeable now

pbking added a commit that referenced this pull request Jul 20, 2022
Refactor/blockbase color admin (#6043)
Moved templates from old folder location to new (#6073)
Blockbase: Implement the Button elements API (#6041)
Blockbase: Implement Comment Block and removed CSS (#6080)
Fix/migrate blockbase font self hosted (#6123)
Blockbase children: update comments block (#6153)
Blockbase: Changed the trigger to render social icons (#6079)
Blockbase: move button padding styles from ponyfill to theme.json (#5901)

Co-authored-by: Grant Kinney <[email protected]>
Co-authored-by: Jeremy Yip <[email protected]>
Co-authored-by: MaggieCabrera <[email protected]>
Co-authored-by: madhusudhand <[email protected]>
@pbking pbking mentioned this pull request Jul 20, 2022
@pbking
Copy link
Contributor

pbking commented Jul 20, 2022

Closing: Work merged in #6167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants