@adminforth/two-factors-auth 2.9.7 → 2.9.9

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 272,712 bytes received 210 bytes 545,844.00 bytes/sec
19
- total size is 271,885 speedup is 1.00
18
+ sent 273,524 bytes received 210 bytes 547,468.00 bytes/sec
19
+ total size is 272,697 speedup is 1.00
@@ -137,7 +137,7 @@
137
137
  @click="addPasskeyMode = 'cross-platform'; isCardsVisible = false;"
138
138
  size="sm"
139
139
  class="h-20"
140
- title="Use a external device"
140
+ title="Use an external device"
141
141
  description="Create a passkey using a phone, tablet or an external security key."
142
142
  hideBorder="true"
143
143
  >
@@ -417,4 +417,36 @@
417
417
  if (!date) return '';
418
418
  return dayjs.utc(date).local().format(`${coreStore.config?.datesFormat} ${coreStore.config?.timeFormat}` || 'YYYY-MM-DD HH:mm:ss');
419
419
  }
420
- </script>
420
+ </script>
421
+
422
+ <style>
423
+ /* Scoped styles for dialog buttons, because there is no different way to style them */
424
+ .dialog-delete-button.dialog-delete-button {
425
+ background-color: rgb(179, 27, 27);
426
+ color: white;
427
+ border: 1px solid rgb(153, 27, 27);
428
+ }
429
+
430
+ .dialog-delete-button.dialog-delete-button:hover {
431
+ background-color: rgb(153, 27, 27);
432
+ }
433
+
434
+ .dialog-delete-button.dialog-delete-button:active {
435
+ background-color: rgb(127, 20, 20);
436
+ }
437
+
438
+ /* Dark theme styles for delete button */
439
+ .dark .dialog-delete-button.dialog-delete-button {
440
+ background-color: rgb(220, 38, 38);
441
+ color: white;
442
+ }
443
+
444
+ .dark .dialog-delete-button.dialog-delete-button:hover {
445
+ background-color: rgb(185, 28, 28);
446
+ }
447
+
448
+ .dark .dialog-delete-button.dialog-delete-button:active {
449
+ background-color: rgb(153, 27, 27);
450
+ }
451
+
452
+ </style>
@@ -137,7 +137,7 @@
137
137
  @click="addPasskeyMode = 'cross-platform'; isCardsVisible = false;"
138
138
  size="sm"
139
139
  class="h-20"
140
- title="Use a external device"
140
+ title="Use an external device"
141
141
  description="Create a passkey using a phone, tablet or an external security key."
142
142
  hideBorder="true"
143
143
  >
@@ -417,4 +417,36 @@
417
417
  if (!date) return '';
418
418
  return dayjs.utc(date).local().format(`${coreStore.config?.datesFormat} ${coreStore.config?.timeFormat}` || 'YYYY-MM-DD HH:mm:ss');
419
419
  }
420
- </script>
420
+ </script>
421
+
422
+ <style>
423
+ /* Scoped styles for dialog buttons, because there is no different way to style them */
424
+ .dialog-delete-button.dialog-delete-button {
425
+ background-color: rgb(179, 27, 27);
426
+ color: white;
427
+ border: 1px solid rgb(153, 27, 27);
428
+ }
429
+
430
+ .dialog-delete-button.dialog-delete-button:hover {
431
+ background-color: rgb(153, 27, 27);
432
+ }
433
+
434
+ .dialog-delete-button.dialog-delete-button:active {
435
+ background-color: rgb(127, 20, 20);
436
+ }
437
+
438
+ /* Dark theme styles for delete button */
439
+ .dark .dialog-delete-button.dialog-delete-button {
440
+ background-color: rgb(220, 38, 38);
441
+ color: white;
442
+ }
443
+
444
+ .dark .dialog-delete-button.dialog-delete-button:hover {
445
+ background-color: rgb(185, 28, 28);
446
+ }
447
+
448
+ .dark .dialog-delete-button.dialog-delete-button:active {
449
+ background-color: rgb(153, 27, 27);
450
+ }
451
+
452
+ </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "2.9.7",
3
+ "version": "2.9.9",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",