sprintify-ui 0.0.192 → 0.0.193
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/dist/sprintify-ui.es.js +2921 -2920
- package/dist/style.css +1 -1
- package/dist/tailwindcss/index.js +35 -35
- package/dist/types/src/components/BaseMenu.vue.d.ts +9 -0
- package/package.json +1 -1
- package/src/assets/main.css +11 -5
- package/src/components/BaseDataTable.vue +3 -11
- package/src/components/BaseMenu.vue +6 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:class="[position == 'custom' ? 'static' : 'relative']"
|
|
7
7
|
>
|
|
8
8
|
<div>
|
|
9
|
-
<MenuButton class="
|
|
9
|
+
<MenuButton :class="buttonClass">
|
|
10
10
|
<slot name="button" :open="open" />
|
|
11
11
|
</MenuButton>
|
|
12
12
|
</div>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
>
|
|
22
22
|
<MenuItems
|
|
23
23
|
:class="[menuClass, menuPositionClass]"
|
|
24
|
-
class="absolute z-menu mt-2 rounded-md bg-white p-1 shadow-lg ring-1 ring-black ring-opacity-10 focus:outline-none"
|
|
24
|
+
class="absolute z-menu mt-2 rounded-md bg-white p-1 shadow-lg outline-none ring-1 ring-black ring-opacity-10 focus:outline-none"
|
|
25
25
|
>
|
|
26
26
|
<slot name="items" :items="items">
|
|
27
27
|
<template v-for="item in items" :key="item.label + 'link'">
|
|
@@ -119,6 +119,10 @@ const props = defineProps({
|
|
|
119
119
|
default: 'sm',
|
|
120
120
|
type: String as PropType<'xs' | 'sm' | 'md'>,
|
|
121
121
|
},
|
|
122
|
+
buttonClass: {
|
|
123
|
+
default: 'flex',
|
|
124
|
+
type: [String, Array, Object],
|
|
125
|
+
},
|
|
122
126
|
});
|
|
123
127
|
|
|
124
128
|
const menuPositionClass = computed(() => {
|