@bjj/nuxt-layer-shadcn-ui 0.13.4 → 0.13.5

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.
@@ -4,7 +4,6 @@ import {
4
4
  SidebarMenu,
5
5
  SidebarMenuButton,
6
6
  SidebarMenuItem,
7
- useSidebar,
8
7
  } from '../../shadcn/sidebar'
9
8
 
10
9
  const props = defineProps<{
@@ -12,8 +11,6 @@ const props = defineProps<{
12
11
  menuItems?: AdminLayoutSidebarDropdownMenuItem[]
13
12
  }>()
14
13
 
15
- const { isMobile } = useSidebar()
16
-
17
14
  // 'profile' items render through the 'profile' slot: clickable (`custom-action`,
18
15
  // padding reset so the slot owns it) when it has a `command`, else a label.
19
16
  const dropdownItems = computed<DropdownItem[]>(() =>
@@ -35,8 +32,7 @@ const dropdownItems = computed<DropdownItem[]>(() =>
35
32
  <Dropdown
36
33
  :menus="dropdownItems"
37
34
  trigger="click"
38
- :side="isMobile ? 'bottom' : 'right'"
39
- align="start"
35
+ align="end"
40
36
  :sideOffset="4"
41
37
  class="min-w-56 rounded-lg"
42
38
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bjj/nuxt-layer-shadcn-ui",
3
- "version": "0.13.4",
3
+ "version": "0.13.5",
4
4
  "description": "Nuxt layer providing shadcn-vue based UI components",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
@@ -42,5 +42,5 @@
42
42
  "vue-i18n": "^11",
43
43
  "vue-router": "^4 || ^5"
44
44
  },
45
- "gitHead": "aa52d8ae39f985ab89d0533a53f8f10d8b437561"
45
+ "gitHead": "148d441a7aa5c99bab2401dccaeca469a6958df1"
46
46
  }