Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/lib/badge/badge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface BadgeProps extends Omit<React.DetailedHTMLProps<React.HTMLAttri
* Severity type of the badge.
* @defaultValue null
*/
severity?: 'success' | 'info' | 'warning' | 'danger' | 'secondary' | 'contrast' | null | undefined;
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast' | null | undefined;
/**
* Size of the badge, valid options are "large" and "xlarge".
* @defaultValue null
Expand Down
2 changes: 1 addition & 1 deletion components/lib/message/message.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface MessageProps extends Omit<React.DetailedHTMLProps<React.HTMLAtt
/**
* Severity level of the message.
*/
severity?: 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast' | undefined;
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast' | undefined;
/**
* Custom template of the message.
*/
Expand Down
2 changes: 1 addition & 1 deletion components/lib/messages/messages.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export interface MessagesMessage {
/**
* Severity of the message.
*/
severity?: 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast' | undefined;
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast' | undefined;
/**
* Custom template of the message.
*/
Expand Down
2 changes: 1 addition & 1 deletion components/lib/splitbutton/splitbutton.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export interface SplitButtonProps extends Omit<React.DetailedHTMLProps<React.HTM
/**
* Defines the style of the button, valid values are "secondary", "success", "info", "warning", "danger", "contrast", "help".
*/
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'contrast' | 'help' | undefined;
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast' | undefined;
/**
* Defines the size of the button, valid values are "small" and "large".
*/
Expand Down
2 changes: 1 addition & 1 deletion components/lib/tag/tag.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface TagProps extends Omit<React.DetailedHTMLProps<React.HTMLAttribu
* Severity type of the tag.
* @defaultValue null
*/
severity?: 'success' | 'info' | 'warning' | 'danger' | 'secondary' | 'contrast' | null | undefined;
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast' | null | undefined;
/**
* Whether the corners of the tag are rounded.
* @defaultValue false
Expand Down
4 changes: 2 additions & 2 deletions components/lib/toast/toast.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export interface ToastMessageOptions {
* Severity level of the message.
* @defaultValue info
*/
severity?: 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast' | undefined;
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast' | undefined;
/**
* Summary content of the message.
*/
Expand Down Expand Up @@ -153,7 +153,7 @@ export interface ToastMessage {
/**
* Severity of the message.
*/
severity?: 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast' | undefined;
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'help' | 'contrast' | undefined;
/**
* Summary content of the message.
*/
Expand Down
Loading