feat: implement credentials information on Prefs -> Account pane (#632)
* feat: implement prefs -> credentials section UI (w/o backend integration) * feat: implement credentials information on Prefs -> Account pane - implement email changing UI (w/o backend integration) - implement password changing UI and reuse existing change password logic - replace 2FA dialog with shared one - implement React hook for preventing window refresh * fix: provide correct types * refactor: reuse styles from stylekit, rename components and create enum for input types * refactor: update default exports to named ones, correct texts * chore: remove unnecessary depenedency * chore: yarn.lock without unnecessary packages * Revert "chore: yarn.lock without unnecessary packages" This reverts commit 64aa75e8408b06884d6e7383180292a4a9a3e8ad.
This commit is contained in:
24
app/assets/javascripts/enums.ts
Normal file
24
app/assets/javascripts/enums.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export enum HtmlInputTypes {
|
||||
Button = 'button',
|
||||
Checkbox = 'checkbox',
|
||||
Color = 'color',
|
||||
Date = 'date',
|
||||
DateTimeLocal = 'datetime-local',
|
||||
Email = 'email',
|
||||
File = 'file',
|
||||
Hidden = 'hidden',
|
||||
Image = 'image',
|
||||
Month = 'month',
|
||||
Number = 'number',
|
||||
Password = 'password',
|
||||
Radio = 'radio',
|
||||
Range = 'range',
|
||||
Reset = 'reset',
|
||||
Search = 'search',
|
||||
Submit = 'submit',
|
||||
Tel = 'tel',
|
||||
Text = 'text',
|
||||
Time = 'time',
|
||||
Url = 'url',
|
||||
Week = 'week'
|
||||
}
|
||||
Reference in New Issue
Block a user