Draft
Conversation
Notice components have been added for team invitations, site invitations, and site ownership invitations. In order to do so, a few changes were made to the generic button, notice and icons component: - The existing layout didn't allow for buttons to be added to the notice component `inner_block` while keeping everything vertically center-aligned. As such, a separate `actions` slot has been added for optional buttons. - The notice component didn't allow for a different icon to be shown. The custom exclamation triangle icon has been added to the icons component and been replaced with a round exclamation icon. This still functions as the default for the notice component, while an `icon` slot has been added for custom icons. - The notice component now has a `white` theme. - The button component has been updated to allow for a `size` attribute, which is used to set the padding of the button. - The button component now also has a `ghost` theme, which is used to create a button with no background color and no border. - Static TEMPORARY invitation notices have been added to the sites index page.
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.
WIP, part of a bigger changeset