@bamboocss/node 1.58.3 → 1.59.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/index.d.cts CHANGED
@@ -74,6 +74,17 @@ interface FoldCall {
74
74
  cxArguments: FoldCxArgument[];
75
75
  /** For an exact `keyframes()` call: the name it returns, which the fold writes in its place. */
76
76
  value?: string;
77
+ /**
78
+ * A `token()` call whose result is tested or defaulted rather than used as it is,
79
+ * `token('colors.brand') ?? '#fff'`: a path naming no token is a case its author handled, and
80
+ * the call is compiled to the `undefined` it returns.
81
+ */
82
+ guarded: boolean;
83
+ /**
84
+ * A `token.value()` call written first in an expression statement. What replaces it there cannot
85
+ * open with `(` or `-`, which would continue the line before it where that line has no semicolon.
86
+ */
87
+ statementStart: boolean;
77
88
  }
78
89
  /**
79
90
  * Code the evaluator does not run. `statement`: a helper's body uses one — `subject` is its
package/dist/index.d.mts CHANGED
@@ -74,6 +74,17 @@ interface FoldCall {
74
74
  cxArguments: FoldCxArgument[];
75
75
  /** For an exact `keyframes()` call: the name it returns, which the fold writes in its place. */
76
76
  value?: string;
77
+ /**
78
+ * A `token()` call whose result is tested or defaulted rather than used as it is,
79
+ * `token('colors.brand') ?? '#fff'`: a path naming no token is a case its author handled, and
80
+ * the call is compiled to the `undefined` it returns.
81
+ */
82
+ guarded: boolean;
83
+ /**
84
+ * A `token.value()` call written first in an expression statement. What replaces it there cannot
85
+ * open with `(` or `-`, which would continue the line before it where that line has no semicolon.
86
+ */
87
+ statementStart: boolean;
77
88
  }
78
89
  /**
79
90
  * Code the evaluator does not run. `statement`: a helper's body uses one — `subject` is its
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamboocss/node",
3
- "version": "1.58.3",
3
+ "version": "1.59.0",
4
4
  "description": "The core css bamboo library",
5
5
  "homepage": "https://bamboocss.com",
6
6
  "license": "MIT",
@@ -60,16 +60,16 @@
60
60
  "pkg-types": "2.3.0",
61
61
  "pluralize": "8.0.0",
62
62
  "ts-pattern": "5.9.0",
63
- "@bamboocss/config": "1.58.3",
64
- "@bamboocss/core": "1.58.3",
65
- "@bamboocss/generator": "1.58.3",
66
- "@bamboocss/logger": "1.58.3",
67
- "@bamboocss/plugin-svelte": "1.58.3",
68
- "@bamboocss/plugin-vue": "1.58.3",
69
- "@bamboocss/reporter": "1.58.3",
70
- "@bamboocss/shared": "1.58.3",
71
- "@bamboocss/token-dictionary": "1.58.3",
72
- "@bamboocss/types": "1.58.3"
63
+ "@bamboocss/config": "1.59.0",
64
+ "@bamboocss/core": "1.59.0",
65
+ "@bamboocss/generator": "1.59.0",
66
+ "@bamboocss/logger": "1.59.0",
67
+ "@bamboocss/plugin-svelte": "1.59.0",
68
+ "@bamboocss/plugin-vue": "1.59.0",
69
+ "@bamboocss/reporter": "1.59.0",
70
+ "@bamboocss/shared": "1.59.0",
71
+ "@bamboocss/token-dictionary": "1.59.0",
72
+ "@bamboocss/types": "1.59.0"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@astrojs/compiler": "3.0.1",
@@ -77,7 +77,7 @@
77
77
  "@types/fs-extra": "11.0.4",
78
78
  "@types/picomatch": "4.0.2",
79
79
  "boxen": "8.0.1",
80
- "@bamboocss/native-extractor": "1.58.3"
80
+ "@bamboocss/native-extractor": "1.59.0"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@astrojs/compiler": ">=2",