@unocss/autocomplete 66.4.2 → 66.5.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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -416,7 +416,7 @@ function createAutocomplete(uno, options = {}) {
416
416
  ...uno.config.autocomplete.templates || [],
417
417
  ...uno.config.rulesDynamic.flatMap((i) => toArray(i?.[2]?.autocomplete || [])),
418
418
  ...uno.config.shortcuts.flatMap((i) => toArray(i?.[2]?.autocomplete || [])),
419
- ...uno.config.variants.filter((v) => v.autocomplete && v.multiPass).flatMap((v) => toArray(v.autocomplete || []))
419
+ ...uno.config.variants.flatMap((v) => toArray(v.autocomplete || []))
420
420
  );
421
421
  for (const template of templates) {
422
422
  if (typeof template !== "function") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/autocomplete",
3
3
  "type": "module",
4
- "version": "66.4.2",
4
+ "version": "66.5.1",
5
5
  "description": "Autocomplete utils for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "lru-cache": "^11.1.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@unocss/core": "66.4.2"
40
+ "@unocss/core": "66.5.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "unbuild",