@bjj/nuxt-layer-shadcn-ui 0.13.2 → 0.13.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.
@@ -76,7 +76,7 @@ const dropdownItems = computed<DropdownItem[]>(() =>
76
76
 
77
77
  <template #profile="{ item }">
78
78
  <div
79
- class="gap-2 px-1 py-1.5 text-sm flex w-full items-center text-left"
79
+ class="gap-2 px-2 py-1.5 text-sm flex w-full items-center text-left"
80
80
  >
81
81
  <Avatar
82
82
  :image="item.icon ? undefined : (item.image || undefined)"
@@ -74,9 +74,7 @@ const menus: AdminLayoutSidebarMenuItem[] = [
74
74
  },
75
75
  ]
76
76
 
77
- // Footer dropdown: the trigger shows the signed-in user; the workspace/org info
78
- // and preference sub-menus live inside the menu. The profile item carries a
79
- // `command`, so it is clickable (opens a workspace switcher).
77
+ // Footer dropdown menu: the profile carries a `command`, so it is clickable.
80
78
  const menuItems: AdminLayoutSidebarDropdownMenuItem[] = [
81
79
  { type: 'profile', icon: 'building-2', title: 'Acme Inc.', subtitle: 'Owner', command: () => {}, actionIcon: 'arrow-left-right' },
82
80
  { type: 'separator' },
@@ -219,8 +217,7 @@ export const Inset: Story = {
219
217
  },
220
218
  }
221
219
 
222
- // Pins the canvas to a phone viewport so the sidebar collapses into the mobile
223
- // drawer and the floating trigger (top-left) becomes the way to open it.
220
+ // Phone viewport: the sidebar collapses into the drawer opened by the floating trigger.
224
221
  export const Mobile: Story = {
225
222
  parameters: {
226
223
  ...noControls,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bjj/nuxt-layer-shadcn-ui",
3
- "version": "0.13.2",
3
+ "version": "0.13.3",
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": "d58825867361704b209b34458f063c28f8af47c3"
45
+ "gitHead": "02d6b4c35baefc4092632af1aa21c969c007b779"
46
46
  }