@stillwind/language-server 0.10.0 → 0.11.0

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/CHANGELOG.md +22 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @stillwind/language-server
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Editors now show hover previews for ref variants, such as `trigger("hover:")`, ``trigger`hover:` ``, `trigger.at("width >= 40rem")`, and `trigger.in(card)`, when they are used in `style()`. The preview shows the generated selector or container query of the variant, and it appears wherever the cursor is in the variant expression. Completion suggests variants in the text of a ref call or tag. In a utility template such as `` `${trigger("hover:")}:block` ``, the utility after the substitution now has a hover preview that includes the substituted variant.
8
+
9
+ - Editors now show hover previews and completions for variant keys, such as `"hover:"` in `style({ "hover:": "block" })`, including nested keys and the keys in `style.css()` and `style.cva()` inputs. The arguments of `style.when()` get the same hover previews and completions. A hover preview shows the selectors and conditions that the variants add, including the variants of enclosing keys. Completion suggests only variants, also while the key is still incomplete.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies:
14
+ - @stillwind/analysis@0.11.0
15
+ - @stillwind/native@0.11.0
16
+
17
+ ## 0.10.1
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies:
22
+ - @stillwind/analysis@0.10.1
23
+ - @stillwind/native@0.10.1
24
+
3
25
  ## 0.10.0
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stillwind/language-server",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Stillwind Language Server Protocol handlers with Node and browser transports",
5
5
  "keywords": [
6
6
  "language-server",
@@ -43,8 +43,8 @@
43
43
  "access": "public"
44
44
  },
45
45
  "dependencies": {
46
- "@stillwind/analysis": "0.10.0",
47
- "@stillwind/native": "0.10.0",
46
+ "@stillwind/analysis": "0.11.0",
47
+ "@stillwind/native": "0.11.0",
48
48
  "vscode-languageserver": "^11.0.0",
49
49
  "vscode-languageserver-textdocument": "^1.0.16"
50
50
  },
@@ -52,7 +52,7 @@
52
52
  "@stillwind-internal/tools-workspace": "0.0.0",
53
53
  "@types/node": "^26.6.6",
54
54
  "rolldown": "^1.3.1",
55
- "stillwind": "0.10.0",
55
+ "stillwind": "0.11.0",
56
56
  "typescript": "^6.0.3",
57
57
  "vite-plus": "1.6.0"
58
58
  }