vue-cmdk-palette 1.2.0 → 1.2.2

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 CHANGED
@@ -2,6 +2,18 @@
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.2] - 2026-10-24
6
+
7
+ ### Fixed
8
+
9
+ - The package README states the measured bundle size, about 11 kB minified and gzipped, instead of about 10 kB. The library code is unchanged.
10
+
11
+ ## [1.2.1] - 2026-10-24
12
+
13
+ ### Changed
14
+
15
+ - The package keywords include `headless`. The library code and the bundle are unchanged.
16
+
5
17
  ## [1.2.0] - 2026-10-23
6
18
 
7
19
  ### Added
@@ -56,6 +68,8 @@ The first version.
56
68
  - Replaceable labels for every built-in string.
57
69
  - An optional theme at `vue-cmdk-palette/style.css`, built on `--cmdk-*` variables, with light and dark modes and reduced-motion support.
58
70
 
71
+ [1.2.2]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.2.2
72
+ [1.2.1]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.2.1
59
73
  [1.2.0]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.2.0
60
74
  [1.1.0]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.1.0
61
75
  [1.0.1]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.0.1
package/README.md CHANGED
@@ -10,17 +10,19 @@
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
- ![The palette in the dark theme, with scope chips, grouped rows and the detail panel](https://raw.githubusercontent.com/jantursky/vue-cmdk/main/apps/docs/public/screenshots/palette-dark.jpg)
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 &quot;to&quot;: 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.
20
22
 
21
23
  The markup follows the WAI-ARIA combobox and listbox pattern. Focus stays inside the dialog while it's open and goes back where it was when it closes, and a live region announces the result count.
22
24
 
23
- There are no runtime dependencies (Vue is a peer dependency), and the bundle is about 10 kB minified and gzipped. Nothing is styled unless you ask for it: every part has a `data-cmdk-*` hook, and there's an optional theme built on CSS variables with light and dark modes.
25
+ There are no runtime dependencies (Vue is a peer dependency), and the bundle is about 11 kB minified and gzipped. Nothing is styled unless you ask for it: every part has a `data-cmdk-*` hook, and there's an optional theme built on CSS variables with light and dark modes.
24
26
 
25
27
  ## Install
26
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-cmdk-palette",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
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",