@adminforth/two-factors-auth 2.9.6 → 2.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.log CHANGED
@@ -15,5 +15,5 @@ custom/package.json
15
15
  custom/tsconfig.json
16
16
  custom/utils.js
17
17
 
18
- sent 273,167 bytes received 210 bytes 546,754.00 bytes/sec
19
- total size is 272,340 speedup is 1.00
18
+ sent 272,712 bytes received 210 bytes 545,844.00 bytes/sec
19
+ total size is 271,885 speedup is 1.00
@@ -22,8 +22,8 @@
22
22
  <Dialog
23
23
  class="edit-passkey-confirmation-dialog w-96"
24
24
  :buttons="[
25
- { label: 'Save', onclick: (dialog) => { renamePasskey(item.id, passkeysNewName); dialog.hide(); } },
26
- { label: 'Cancel', options: {class: 'bg-white focus:ring-gray-200 text-gray-900 hover:bg-gray-200 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 dark:border-gray-900 dark:hover:border-gray-800 dark:focus:ring-gray-800'}, onclick: (dialog) => {passkeysNewName = ''; dialog.hide();} },
25
+ { label: 'Save', options: { class: 'dialog-save-button' }, onclick: (dialog) => { renamePasskey(item.id, passkeysNewName); dialog.hide(); } },
26
+ { label: 'Cancel', options: { class: 'dialog-cancel-button' }, onclick: (dialog) => {passkeysNewName = ''; dialog.hide();} },
27
27
  ]"
28
28
  header="Edit Passkey"
29
29
  >
@@ -54,8 +54,8 @@
54
54
  <Dialog
55
55
  class="delete-passkey-confirmation-dialog w-96"
56
56
  :buttons="[
57
- { label: 'Delete', options: {class: 'bg-red-700 text-white hover:bg-red-600 focus:ring-2 focus:ring-red-500 dark:bg-red-700 dark:hover:bg-red-600 dark:focus:ring-red-500 dark:border-red-800 dark:hover:border-red-700'}, onclick: (dialog) => { deletePasskey(item.id); dialog.hide(); } },
58
- { label: 'Cancel', options: {class: 'bg-white focus:ring-gray-200 text-gray-900 hover:bg-gray-200 dark:text-white dark:bg-gray-700 dark:hover:bg-gray-800 dark:border-gray-600 dark:focus:ring-gray-800 dark:hover:border-gray-500'}, onclick: (dialog) => dialog.hide() },
57
+ { label: 'Delete', options: {class: 'dialog-delete-button'}, onclick: (dialog) => { deletePasskey(item.id); dialog.hide(); } },
58
+ { label: 'Cancel', options: {class: 'dialog-cancel-button'}, onclick: (dialog) => dialog.hide() },
59
59
  ]"
60
60
  header="Delete Passkey"
61
61
  >
@@ -22,8 +22,8 @@
22
22
  <Dialog
23
23
  class="edit-passkey-confirmation-dialog w-96"
24
24
  :buttons="[
25
- { label: 'Save', onclick: (dialog) => { renamePasskey(item.id, passkeysNewName); dialog.hide(); } },
26
- { label: 'Cancel', options: {class: 'bg-white focus:ring-gray-200 text-gray-900 hover:bg-gray-200 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 dark:border-gray-900 dark:hover:border-gray-800 dark:focus:ring-gray-800'}, onclick: (dialog) => {passkeysNewName = ''; dialog.hide();} },
25
+ { label: 'Save', options: { class: 'dialog-save-button' }, onclick: (dialog) => { renamePasskey(item.id, passkeysNewName); dialog.hide(); } },
26
+ { label: 'Cancel', options: { class: 'dialog-cancel-button' }, onclick: (dialog) => {passkeysNewName = ''; dialog.hide();} },
27
27
  ]"
28
28
  header="Edit Passkey"
29
29
  >
@@ -54,8 +54,8 @@
54
54
  <Dialog
55
55
  class="delete-passkey-confirmation-dialog w-96"
56
56
  :buttons="[
57
- { label: 'Delete', options: {class: 'bg-red-700 text-white hover:bg-red-600 focus:ring-2 focus:ring-red-500 dark:bg-red-700 dark:hover:bg-red-600 dark:focus:ring-red-500 dark:border-red-800 dark:hover:border-red-700'}, onclick: (dialog) => { deletePasskey(item.id); dialog.hide(); } },
58
- { label: 'Cancel', options: {class: 'bg-white focus:ring-gray-200 text-gray-900 hover:bg-gray-200 dark:text-white dark:bg-gray-700 dark:hover:bg-gray-800 dark:border-gray-600 dark:focus:ring-gray-800 dark:hover:border-gray-500'}, onclick: (dialog) => dialog.hide() },
57
+ { label: 'Delete', options: {class: 'dialog-delete-button'}, onclick: (dialog) => { deletePasskey(item.id); dialog.hide(); } },
58
+ { label: 'Cancel', options: {class: 'dialog-cancel-button'}, onclick: (dialog) => dialog.hide() },
59
59
  ]"
60
60
  header="Delete Passkey"
61
61
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "2.9.6",
3
+ "version": "2.9.7",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",