Skip to content

Conversation

@niusia-ua
Copy link
Contributor

@niusia-ua niusia-ua commented Dec 10, 2025

πŸ”— Linked issue

None.

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This feature allows users to specify the desired shortcut key separator.
Previously, only an underscore (_) was used. That is, the extractShortcuts utility has always been creating key combinations.
Now, it can also create key sequences if users pass a dash (-) as a separator.

πŸ“ Checklist

I think this PR doesn't require the checklist to be completed.

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@github-actions github-actions bot added the v4 #4488 label Dec 10, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 10, 2025

npm i https://pkg.pr.new/@nuxt/ui@5642

commit: a3427a8

@benjamincanac benjamincanac changed the title feat: allow specifying a separator for the extractShortcuts utility feat(extractShortcuts): add separator option Dec 10, 2025
@benjamincanac benjamincanac merged commit 4e71271 into nuxt:v4 Dec 10, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants