@cross-css/native-darwin-arm64 0.5.0 → 0.6.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 (3) hide show
  1. package/README.md +14 -0
  2. package/package.json +1 -1
  3. package/xcss.node +0 -0
package/README.md CHANGED
@@ -96,6 +96,20 @@ and selectors in injection definitions whose call-site context is unknown have
96
96
  no exact score. Other valid selector-list members remain queryable. This API does
97
97
  not expand injection calls or provide lint thresholds or editor hover UI.
98
98
 
99
+ ## CSS value contexts
100
+
101
+ `LanguageService.cssValues(uri)` returns `{ revision, values }` in original-source
102
+ order. Each value has `text`, a UTF-16 `range`, an optional CSS `property`,
103
+ validation `parts` and `checkable` status, and function names with their exact
104
+ source ranges. Values include declarations, constant and variable initializers,
105
+ and parameter defaults. Raw bodies are excluded; strings and URL contents do not
106
+ produce function occurrences. Typed representatives describe only XCSS symbols
107
+ and arithmetic subexpressions, preserving surrounding CSS for host validation.
108
+
109
+ The semantic legend appends `cssFunction`, `cssKeyword`, and `cssColor`. Editor
110
+ adapters classify CSS values using their CSS grammar and merge those tokens with
111
+ the native symbol tokens, which take precedence. All earlier indices are stable.
112
+
99
113
  ## Shared utilities
100
114
 
101
115
  `Compiler.compile(entry)` returns an optional `utilities` artifact alongside
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cross-css/native-darwin-arm64",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Precompiled XCSS native binding for darwin/arm64",
5
5
  "license": "MIT",
6
6
  "author": "Ivan Kobtsev",
package/xcss.node CHANGED
Binary file