@bamboocss/types 1.26.0 → 1.28.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.
- package/dist/parser.d.ts +7 -0
- package/package.json +2 -2
package/dist/parser.d.ts
CHANGED
|
@@ -5,6 +5,13 @@ export interface ResultItem {
|
|
|
5
5
|
data: Array<Unboxed['raw']>
|
|
6
6
|
type?: 'css' | 'cva' | 'sva' | 'token' | 'pattern' | 'recipe' | 'jsx-recipe' | 'cva-call'
|
|
7
7
|
box?: BoxNodeMap | BoxNodeLiteral | BoxNodeArray
|
|
8
|
+
/**
|
|
9
|
+
* For a `cva-call`, the module the recipe was declared in when that is not this one.
|
|
10
|
+
*
|
|
11
|
+
* Absent for a recipe the file declares itself, which is the case the name alone already
|
|
12
|
+
* identifies.
|
|
13
|
+
*/
|
|
14
|
+
origin?: { filePath: string; name: string }
|
|
8
15
|
}
|
|
9
16
|
|
|
10
17
|
export interface ParserResultInterface {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0",
|
|
4
4
|
"description": "The types for css bamboo",
|
|
5
5
|
"homepage": "https://bamboocss.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"ncp": "2.0.0",
|
|
33
33
|
"pkg-types": "2.3.0",
|
|
34
34
|
"ts-morph": "28.0.0",
|
|
35
|
-
"@bamboocss/extractor": "1.
|
|
35
|
+
"@bamboocss/extractor": "1.28.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"dev": "tsx scripts/watch.ts",
|