Skip to content

Commit

Permalink
chore(ContextMenu/DropdownMenu/NavigationMenu): consistent trailing slot
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Dec 5, 2024
1 parent 4b653ef commit 695224f
Show file tree
Hide file tree
Showing 7 changed files with 355 additions and 355 deletions.
2 changes: 1 addition & 1 deletion src/theme/context-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default (options: Required<ModuleOptions>) => ({
itemLeadingIcon: 'shrink-0',
itemLeadingAvatar: 'shrink-0',
itemLeadingAvatarSize: '',
itemTrailing: 'ms-auto inline-flex',
itemTrailing: 'ms-auto inline-flex gap-1.5 items-center',
itemTrailingIcon: 'shrink-0',
itemTrailingKbds: 'hidden lg:inline-flex items-center shrink-0',
itemTrailingKbdsSize: '',
Expand Down
2 changes: 1 addition & 1 deletion src/theme/dropdown-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default (options: Required<ModuleOptions>) => ({
itemLeadingIcon: 'shrink-0',
itemLeadingAvatar: 'shrink-0',
itemLeadingAvatarSize: '',
itemTrailing: 'ms-auto inline-flex',
itemTrailing: 'ms-auto inline-flex gap-1.5 items-center',
itemTrailingIcon: 'shrink-0',
itemTrailingKbds: 'hidden lg:inline-flex items-center shrink-0',
itemTrailingKbdsSize: '',
Expand Down
2 changes: 1 addition & 1 deletion src/theme/navigation-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default (options: Required<ModuleOptions>) => ({
linkLeadingIcon: 'shrink-0 size-5',
linkLeadingAvatar: 'shrink-0',
linkLeadingAvatarSize: '2xs',
linkTrailing: 'ms-auto inline-flex',
linkTrailing: 'ms-auto inline-flex gap-1.5 items-center',
linkTrailingBadge: 'shrink-0 rounded-[var(--ui-radius)]',
linkTrailingBadgeSize: 'sm',
linkTrailingIcon: 'size-5 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200',
Expand Down
256 changes: 128 additions & 128 deletions test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap

Large diffs are not rendered by default.

256 changes: 128 additions & 128 deletions test/components/__snapshots__/DropdownMenu.spec.ts.snap

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions test/components/__snapshots__/NavigationMenu-vue.spec.ts.snap

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions test/components/__snapshots__/NavigationMenu.spec.ts.snap

Large diffs are not rendered by default.

0 comments on commit 695224f

Please sign in to comment.