@bamboocss/types 1.54.2 → 1.55.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/dist/hooks.d.ts CHANGED
@@ -54,7 +54,7 @@ export interface BambooHooks {
54
54
  /**
55
55
  * Called right before adding the design-system CSS (global, static, preflight, tokens, keyframes) to the final CSS
56
56
  * Called right before writing/injecting the final CSS (styles.css) that contains the design-system CSS and the parser CSS
57
- * You can use it to tweak the CSS content before it's written to disk or injected through the postcss plugin.
57
+ * You can use it to tweak the CSS content before it's written to disk by the CLI or emitted by the Vite plugin.
58
58
  */
59
59
  'cssgen:done': (args: CssgenDoneHookArgs) => string | void
60
60
  /**
package/dist/parser.d.ts CHANGED
@@ -23,6 +23,8 @@ export interface ResultItem {
23
23
  | 'jsx-recipe'
24
24
  | 'cva-call'
25
25
  box?: BoxNodeMap | BoxNodeLiteral | BoxNodeArray
26
+ /** Source location supplied by an AST-free extraction backend. */
27
+ atomOrigin?: { filePath: string; line: number; column: number }
26
28
  /** Root binding range for a token call, retained when argument boxes resolve into another file. */
27
29
  tokenCalleeRange?: { start: number; end: number }
28
30
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamboocss/types",
3
- "version": "1.54.2",
3
+ "version": "1.55.1",
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.54.2"
35
+ "@bamboocss/extractor": "1.55.1"
36
36
  },
37
37
  "scripts": {
38
38
  "dev": "tsx scripts/watch.ts",