You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The oryx-icon-button is removed, use <oryx-button type="icon"> going forward.
Previously, it was mandatory to slot in a <button> or <a> element. While this is still supported, using the slot="custom", buttons will now create the button or link based on properties.
The type property was previously used to indicate both the color and style. This has been separated, so that you can define the type using the ButtonType enum (solid, outline, icon or text) and the color using the ButtonColor enum (primary, neutral or error) separately.
Previously the outline was set as a separate property, this property is removed and moved into the ButtonType enum.
The size property is now limited to the values of the ButtonType, so that other sizes (xs and xl) cannot be used on the button component.
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.
The button component has gone through some changes. The button now supports an icon type, so that the icon-button component could be dropped.
closes: HRZ-3283
BREAKING CHANGE:
oryx-icon-button
is removed, use<oryx-button type="icon">
going forward.<button>
or<a>
element. While this is still supported, using theslot="custom"
, buttons will now create the button or link based on properties.type
property was previously used to indicate both the color and style. This has been separated, so that you can define thetype
using theButtonType
enum (solid
,outline
,icon
ortext
) and the color using theButtonColor
enum (primary
,neutral
orerror
) separately.outline
was set as a separate property, this property is removed and moved into theButtonType
enum.size
property is now limited to the values of theButtonType
, so that other sizes (xs
andxl
) cannot be used on the button component.