@saasmakers/ui 1.4.2 → 1.4.3
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.
|
@@ -30,7 +30,7 @@ function onClose(event: KeyboardEvent | MouseEvent) {
|
|
|
30
30
|
|
|
31
31
|
<template>
|
|
32
32
|
<div
|
|
33
|
-
class="group flex select-none items-center rounded-full bg-gray-900 px-3 py-2 text-base text-white font-normal dark:
|
|
33
|
+
class="group flex select-none items-center border border-gray-700 rounded-full bg-gray-900 px-3 py-2 text-base text-white font-normal dark:border-gray-700 dark:bg-gray-800 dark:text-gray-100"
|
|
34
34
|
:class="{ 'cursor-pointer': hasClose }"
|
|
35
35
|
role="button"
|
|
36
36
|
tabindex="0"
|
|
@@ -46,7 +46,7 @@ function onClose(event: KeyboardEvent | MouseEvent) {
|
|
|
46
46
|
|
|
47
47
|
<button
|
|
48
48
|
v-if="action"
|
|
49
|
-
class="ml-2 rounded-
|
|
49
|
+
class="ml-2 rounded-md px-2 py-0.5 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-offset-gray-900 dark:focus-visible:ring-offset-gray-800"
|
|
50
50
|
:class="{
|
|
51
51
|
'bg-red-600/20 text-red-400 hover:bg-red-600/30 focus-visible:ring-red-500 dark:bg-red-400/15 dark:text-red-400 dark:hover:bg-red-400/25': status === 'error',
|
|
52
52
|
'bg-indigo-600/20 text-indigo-400 hover:bg-indigo-600/30 focus-visible:ring-indigo-500 dark:bg-indigo-400/15 dark:text-indigo-400 dark:hover:bg-indigo-400/25': status === 'info',
|