vue-cmdk-palette 1.2.0 → 1.2.1
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/CHANGELOG.md +7 -0
- package/README.md +3 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `vue-cmdk` are listed here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
+
## [1.2.1] - 2026-10-24
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- The package keywords include `headless`. The library code and the bundle are unchanged.
|
|
10
|
+
|
|
5
11
|
## [1.2.0] - 2026-10-23
|
|
6
12
|
|
|
7
13
|
### Added
|
|
@@ -56,6 +62,7 @@ The first version.
|
|
|
56
62
|
- Replaceable labels for every built-in string.
|
|
57
63
|
- An optional theme at `vue-cmdk-palette/style.css`, built on `--cmdk-*` variables, with light and dark modes and reduced-motion support.
|
|
58
64
|
|
|
65
|
+
[1.2.1]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.2.1
|
|
59
66
|
[1.2.0]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.2.0
|
|
60
67
|
[1.1.0]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.1.0
|
|
61
68
|
[1.0.1]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.0.1
|
package/README.md
CHANGED
|
@@ -10,10 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
[Docs](https://vue-cmdk-docs.vercel.app) · [Demo](https://vue-cmdk.vercel.app) · [Changelog](https://github.com/jantursky/vue-cmdk/blob/main/packages/vue-cmdk/CHANGELOG.md) · [GitHub](https://github.com/jantursky/vue-cmdk)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
<a href="https://vue-cmdk.vercel.app"><img src="https://raw.githubusercontent.com/jantursky/vue-cmdk/main/.github/assets/palette-light.png" alt="The command palette dialog filtered by "to": scope chips with counts, rows grouped into Run, Pages and Settings with the matches underlined, and a detail panel for the selected row" /></a>
|
|
14
14
|
|
|
15
15
|
A small command palette for Vue 3 that works well from the keyboard and with screen readers.
|
|
16
16
|
|
|
17
|
+
The npm package is `vue-cmdk-palette`. Other projects on npm and GitHub also use the name `vue-cmdk`; they are not this library.
|
|
18
|
+
|
|
17
19
|
There are two ways to use it. `<CommandPaletteDialog>` is a ready-made modal. If you'd rather write your own markup, the headless `useCommandPalette()` composable gives you the state and the ARIA wiring and leaves the rendering to you.
|
|
18
20
|
|
|
19
21
|
Arrow keys wrap, Enter runs the selected command, and ⌘/Ctrl+Enter runs its alternate action (opening a link in a new tab, for example). ⌘/Ctrl+1-9 picks a row directly, Tab switches scopes, Escape backs out one layer at a time, and Backspace on an empty field leaves a nested list.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-cmdk-palette",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Lightweight, accessible command palette for Vue 3: headless composable plus a ready-made dialog component.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
"cmdk",
|
|
52
52
|
"command-menu",
|
|
53
53
|
"combobox",
|
|
54
|
-
"a11y"
|
|
54
|
+
"a11y",
|
|
55
|
+
"headless"
|
|
55
56
|
],
|
|
56
57
|
"scripts": {
|
|
57
58
|
"build": "vite build",
|