vue-cmdk-palette 1.0.0 → 1.0.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 +6 -2
- package/README.md +6 -0
- package/dist/style.css +4 -4
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,11 @@
|
|
|
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
|
-
## [
|
|
5
|
+
## [1.0.1] - 2026-10-22
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- The default theme now meets the WCAG AA contrast ratio of 4.5:1. The faint text (the result count, the `esc` key, the detail verb) is darker in both modes, and the light accent is a darker teal, `#0a7369`, so white text on it and the active scope chip stay readable.
|
|
6
10
|
|
|
7
11
|
## [1.0.0] - 2026-10-21
|
|
8
12
|
|
|
@@ -22,5 +26,5 @@ The first version.
|
|
|
22
26
|
- Replaceable labels for every built-in string.
|
|
23
27
|
- An optional theme at `vue-cmdk-palette/style.css`, built on `--cmdk-*` variables, with light and dark modes and reduced-motion support.
|
|
24
28
|
|
|
25
|
-
[
|
|
29
|
+
[1.0.1]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.0.1
|
|
26
30
|
[1.0.0]: https://www.npmjs.com/package/vue-cmdk-palette/v/1.0.0
|
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
# vue-cmdk
|
|
4
4
|
|
|
5
|
+
[](https://github.com/jantursky/vue-cmdk/actions/workflows/ci.yml)
|
|
6
|
+
[](https://codecov.io/gh/jantursky/vue-cmdk)
|
|
7
|
+
[](https://www.npmjs.com/package/vue-cmdk-palette)
|
|
8
|
+
[](https://bundlephobia.com/package/vue-cmdk-palette)
|
|
9
|
+
[](https://github.com/jantursky/vue-cmdk/blob/main/LICENSE)
|
|
10
|
+
|
|
5
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)
|
|
6
12
|
|
|
7
13
|

|
package/dist/style.css
CHANGED
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
--cmdk-bg-hover: #f1f3f6;
|
|
20
20
|
--cmdk-fg: #15171c;
|
|
21
21
|
--cmdk-fg-muted: #5b6270;
|
|
22
|
-
--cmdk-fg-faint: #
|
|
22
|
+
--cmdk-fg-faint: #656d7b;
|
|
23
23
|
--cmdk-border: #e4e7ec;
|
|
24
24
|
--cmdk-border-strong: #d3d8e0;
|
|
25
|
-
--cmdk-accent: #
|
|
25
|
+
--cmdk-accent: #0a7369;
|
|
26
26
|
--cmdk-accent-fg: #ffffff;
|
|
27
27
|
--cmdk-highlight: currentColor;
|
|
28
28
|
--cmdk-badge-bg: #fff3d6;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
--cmdk-bg-hover: #20232a;
|
|
39
39
|
--cmdk-fg: #eceef2;
|
|
40
40
|
--cmdk-fg-muted: #a6adba;
|
|
41
|
-
--cmdk-fg-faint: #
|
|
41
|
+
--cmdk-fg-faint: #868e9c;
|
|
42
42
|
--cmdk-border: #262a32;
|
|
43
43
|
--cmdk-border-strong: #343944;
|
|
44
44
|
--cmdk-accent: #3fc1b0;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
--cmdk-bg-hover: #20232a;
|
|
57
57
|
--cmdk-fg: #eceef2;
|
|
58
58
|
--cmdk-fg-muted: #a6adba;
|
|
59
|
-
--cmdk-fg-faint: #
|
|
59
|
+
--cmdk-fg-faint: #868e9c;
|
|
60
60
|
--cmdk-border: #262a32;
|
|
61
61
|
--cmdk-border-strong: #343944;
|
|
62
62
|
--cmdk-accent: #3fc1b0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-cmdk-palette",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.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": {
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
],
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "vite build",
|
|
58
|
-
"test": "vitest run",
|
|
58
|
+
"test": "vitest run && vitest run --config vitest.ssr.config.ts",
|
|
59
59
|
"test:watch": "vitest",
|
|
60
60
|
"typecheck": "vue-tsc --noEmit -p tsconfig.json",
|
|
61
|
-
"test:coverage": "vitest run --coverage",
|
|
61
|
+
"test:coverage": "vitest run --coverage && vitest run --config vitest.ssr.config.ts",
|
|
62
62
|
"test:browser": "vitest run --config vitest.browser.config.ts",
|
|
63
63
|
"lint:package": "publint --strict && attw --pack . --profile node16 --exclude-entrypoints style.css",
|
|
64
|
-
"prepublishOnly": "bun run typecheck && bun run test && bun run
|
|
64
|
+
"prepublishOnly": "bun run typecheck && bun run test && bun run build && bun run lint:package"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"vue": "^3.5.0"
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"@vitest/browser-playwright": "5.0.5",
|
|
75
75
|
"@vitest/coverage-v8": "5.0.5",
|
|
76
76
|
"@vue/test-utils": "^2",
|
|
77
|
+
"axe-core": "^4.14.0",
|
|
77
78
|
"happy-dom": "^21.0.4",
|
|
78
79
|
"playwright": "^1.64.1",
|
|
79
80
|
"publint": "^0.3.25",
|