-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move duplicated alert and toast enums to the common folder (#928)
- Loading branch information
1 parent
f847794
commit 9b50c0b
Showing
8 changed files
with
27 additions
and
69 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export enum AlertStatus { | ||
success = 'success', | ||
info = 'info', | ||
warning = 'warning', | ||
danger = 'danger', | ||
primary = 'primary', | ||
secondary = 'secondary', | ||
light = 'light', | ||
dark = 'dark', | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export enum ToastPositions { | ||
topLeft = 'top-0 start-0', | ||
topCenter = 'top-0 start-50 translate-middle-x', | ||
topRight = 'top-0 end-0', | ||
middleLeft = 'top-50 start-0 translate-middle-y', | ||
middleCenter = 'top-50 start-50 translate-middle', | ||
middleRight = 'top-50 end-0 translate-middle-y', | ||
bottomLeft = 'bottom-0 start-0', | ||
bottomCenter = 'bottom-0 start-50 translate-middle-x', | ||
bottomRight = 'bottom-0 end-0', | ||
} |
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
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
12 changes: 1 addition & 11 deletions
12
svelte/demo/src/bootstrap/samples/alert/Config.route.svelte
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
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