@bamboocss/types 1.19.0 → 1.20.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/config.d.ts +8 -2
- package/package.json +2 -2
package/dist/config.d.ts
CHANGED
|
@@ -316,7 +316,13 @@ interface CssgenOptions {
|
|
|
316
316
|
* which keeps the whole scale whether or not the app uses it — on the default preset
|
|
317
317
|
* that is roughly a third of what survives pruning. There is no opt-out.
|
|
318
318
|
*
|
|
319
|
-
*
|
|
319
|
+
* Setting this to `false` keeps every token declaration, but still drops the `@property`
|
|
320
|
+
* registrations. Those are not tokens — nothing hands one to javascript and none appear
|
|
321
|
+
* in the `token()` surface — so the reachability problem above does not apply to them,
|
|
322
|
+
* and opting out of token pruning should not mean shipping a preset's whole filter and
|
|
323
|
+
* gradient set for nothing.
|
|
324
|
+
*
|
|
325
|
+
* @default true
|
|
320
326
|
*/
|
|
321
327
|
pruneUnusedTokens?: boolean
|
|
322
328
|
/**
|
|
@@ -332,7 +338,7 @@ interface CssgenOptions {
|
|
|
332
338
|
* is deliberately over-inclusive: keeping an unused keyframe costs bytes, dropping a
|
|
333
339
|
* used one breaks the animation.
|
|
334
340
|
*
|
|
335
|
-
* @default
|
|
341
|
+
* @default true
|
|
336
342
|
*/
|
|
337
343
|
pruneUnusedKeyframes?: boolean
|
|
338
344
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.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.
|
|
35
|
+
"@bamboocss/extractor": "1.20.1"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"dev": "tsx scripts/watch.ts",
|