-
-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unify BitTextFieldType and BitOtpInputType enums into BitInputType #8537
- Loading branch information
Showing
12 changed files
with
96 additions
and
113 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
14 changes: 7 additions & 7 deletions
14
...ents/Inputs/TextField/BitTextFieldType.cs → ...lazorUI/Components/Inputs/BitInputType.cs
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 |
---|---|---|
@@ -1,34 +1,34 @@ | ||
namespace Bit.BlazorUI; | ||
|
||
public enum BitTextFieldType | ||
public enum BitInputType | ||
{ | ||
/// <summary> | ||
/// The TextField characters are shown as text. | ||
/// The input expects text characters. | ||
/// </summary> | ||
Text, | ||
|
||
/// <summary> | ||
/// The TextField characters are masked. | ||
/// The input expects password characters. | ||
/// </summary> | ||
Password, | ||
|
||
/// <summary> | ||
/// The TextField characters are number. | ||
/// The input expects number characters. | ||
/// </summary> | ||
Number, | ||
|
||
/// <summary> | ||
/// The TextField act as an email input. | ||
/// The input expects email characters. | ||
/// </summary> | ||
Email, | ||
|
||
/// <summary> | ||
/// The TextField act as a tel input. | ||
/// The input expects tel characters. | ||
/// </summary> | ||
Tel, | ||
|
||
/// <summary> | ||
/// The TextField act as a url input. | ||
/// The input expects url characters. | ||
/// </summary> | ||
Url | ||
} |
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
19 changes: 0 additions & 19 deletions
19
src/BlazorUI/Bit.BlazorUI/Components/Inputs/OtpInput/BitOtpInputType.cs
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.