$ui.notification.rounded
},
+ transitionClass: {
+ type: Object,
+ default: () => $ui.notification.transition
+ },
customClass: {
type: String,
default: null
diff --git a/src/runtime/components/overlays/Popover.vue b/src/runtime/components/overlays/Popover.vue
index b4469bb3..774a46c9 100644
--- a/src/runtime/components/overlays/Popover.vue
+++ b/src/runtime/components/overlays/Popover.vue
@@ -7,16 +7,8 @@
-
-
+
+
@@ -29,6 +21,7 @@ import type { Ref } from 'vue'
import { ref, onMounted } from 'vue'
import { Popover, PopoverButton, PopoverPanel } from '@headlessui/vue'
import { usePopper } from '../../utils'
+import $ui from '#build/ui'
const props = defineProps({
placement: {
@@ -48,15 +41,19 @@ const props = defineProps({
},
wrapperClass: {
type: String,
- default: 'relative'
+ default: () => $ui.popover.wrapper
},
containerClass: {
type: String,
- default: 'z-10 py-2'
+ default: () => $ui.popover.container
},
- panelClass: {
+ baseClass: {
type: String,
- default: ''
+ default: () => $ui.popover.base
+ },
+ transitionClass: {
+ type: Object,
+ default: () => $ui.popover.transition
}
})
diff --git a/src/runtime/components/overlays/Tooltip.vue b/src/runtime/components/overlays/Tooltip.vue
index ccb3f39b..7fad9919 100644
--- a/src/runtime/components/overlays/Tooltip.vue
+++ b/src/runtime/components/overlays/Tooltip.vue
@@ -5,16 +5,8 @@
-
-
+
+
{{ text }}
@@ -27,6 +19,7 @@