@homebound/truss 2.29.8 → 2.29.10
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/build/plugin/index.d.ts +7 -2
- package/build/plugin/index.js +104 -23
- package/build/plugin/index.js.map +1 -1
- package/build/vitest.d.ts +2 -5
- package/package.json +13 -14
- package/tsconfig.tsbuildinfo +1 -1
package/build/vitest.d.ts
CHANGED
|
@@ -25,11 +25,8 @@ type MatcherResult = {
|
|
|
25
25
|
declare function toHaveStyle(this: MatcherContext, received: unknown, expected: StyleExpectation): MatcherResult;
|
|
26
26
|
|
|
27
27
|
declare module "vitest" {
|
|
28
|
-
interface
|
|
29
|
-
toHaveStyle(expected: StyleExpectation):
|
|
30
|
-
}
|
|
31
|
-
interface AsymmetricMatchersContaining {
|
|
32
|
-
toHaveStyle(expected: StyleExpectation): void;
|
|
28
|
+
interface Matchers<R, T> {
|
|
29
|
+
toHaveStyle(expected: StyleExpectation): R;
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homebound/truss",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"bin": "cli.js",
|
|
@@ -32,30 +32,29 @@
|
|
|
32
32
|
},
|
|
33
33
|
"license": "ISC",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@babel/generator": "^
|
|
36
|
-
"@babel/parser": "^
|
|
37
|
-
"@babel/traverse": "^
|
|
38
|
-
"@babel/types": "^
|
|
35
|
+
"@babel/generator": "^8.0.0",
|
|
36
|
+
"@babel/parser": "^8.0.4",
|
|
37
|
+
"@babel/traverse": "^8.0.4",
|
|
38
|
+
"@babel/types": "^8.0.4",
|
|
39
39
|
"change-case": "^5.4.4",
|
|
40
40
|
"css-tree": "^3.2.1",
|
|
41
41
|
"csstype": "^3.2.3",
|
|
42
|
-
"jiti": "^2.
|
|
42
|
+
"jiti": "^2.7.0",
|
|
43
|
+
"rollup": "^4.34.8",
|
|
43
44
|
"ts-poet": "^6.12.0"
|
|
44
45
|
},
|
|
45
46
|
"peerDependencies": {
|
|
46
47
|
"react": ">=18"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
|
-
"@homebound/tsconfig": "^1.
|
|
50
|
-
"@types/babel__generator": "^7.27.0",
|
|
51
|
-
"@types/babel__traverse": "^7.28.0",
|
|
50
|
+
"@homebound/tsconfig": "^1.2.0",
|
|
52
51
|
"@types/css-tree": "^3.2.0",
|
|
53
|
-
"@types/node": "^
|
|
54
|
-
"@types/react": "^19.2.
|
|
55
|
-
"jsdom": "^
|
|
56
|
-
"react": "^19.2.
|
|
52
|
+
"@types/node": "^26.5.0",
|
|
53
|
+
"@types/react": "^19.2.18",
|
|
54
|
+
"jsdom": "^30.0.1",
|
|
55
|
+
"react": "^19.2.8",
|
|
57
56
|
"tsup": "^8.5.1",
|
|
58
57
|
"typescript": "^6.0.3",
|
|
59
|
-
"vitest": "^
|
|
58
|
+
"vitest": "^5.0.0"
|
|
60
59
|
}
|
|
61
60
|
}
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/breakpoints.test.ts","./src/breakpoints.ts","./src/config.ts","./src/css-custom-property.test.ts","./src/css-custom-property.ts","./src/css-order.ts","./src/generate.test.ts","./src/generate.ts","./src/index.ts","./src/media-query.ts","./src/methods.test.ts","./src/methods.ts","./src/pseudo-selectors.ts","./src/runtime-css.ts","./src/runtime.test.ts","./src/runtime.ts","./src/spacing-css-var.test.ts","./src/spacing-css-var.ts","./src/style-metadata.ts","./src/test-css.ts","./src/testUtils.ts","./src/toHaveStyle.test.ts","./src/toHaveStyle.ts","./src/truss-css.ts","./src/utils.ts","./src/vitest.ts","./src/plugin/ast-utils.ts","./src/plugin/babel-utils.ts","./src/plugin/chain-nodes.ts","./src/plugin/condition-context.ts","./src/plugin/container-query.ts","./src/plugin/css-property-abbreviations.ts","./src/plugin/css-ts-utils.ts","./src/plugin/emit-css.test.ts","./src/plugin/emit-css.ts","./src/plugin/emit-style-hash.ts","./src/plugin/esbuild-plugin.test.ts","./src/plugin/esbuild-plugin.ts","./src/plugin/index.test.ts","./src/plugin/index.ts","./src/plugin/mapping-utils.ts","./src/plugin/merge-css.test.ts","./src/plugin/merge-css.ts","./src/plugin/priority.ts","./src/plugin/property-priorities.ts","./src/plugin/resolve-calls.ts","./src/plugin/resolve-chain.ts","./src/plugin/resolve-entry.ts","./src/plugin/resolve-literals.ts","./src/plugin/resolve-setvar.ts","./src/plugin/resolve-typography.ts","./src/plugin/resolve-when.ts","./src/plugin/rewrite-css-ts-imports.ts","./src/plugin/rewrite-sites.ts","./src/plugin/style-entries.ts","./src/plugin/test-css.test.ts","./src/plugin/test-css.ts","./src/plugin/transform-css.test.ts","./src/plugin/transform-css.ts","./src/plugin/transform-session.ts","./src/plugin/transform.test.ts","./src/plugin/transform.ts","./src/plugin/truss-css.ts","./src/plugin/types.ts","./src/plugin/when-relationships.ts","./src/sections/tachyons/animation.ts","./src/sections/tachyons/border.ts","./src/sections/tachyons/borderColors.ts","./src/sections/tachyons/borderRadius.ts","./src/sections/tachyons/borderStyles.ts","./src/sections/tachyons/borderWidths.ts","./src/sections/tachyons/boxShadow.ts","./src/sections/tachyons/container.ts","./src/sections/tachyons/coordinates.ts","./src/sections/tachyons/cursor.ts","./src/sections/tachyons/display.ts","./src/sections/tachyons/flexbox.ts","./src/sections/tachyons/floats.ts","./src/sections/tachyons/fontStyle.ts","./src/sections/tachyons/fontWeight.ts","./src/sections/tachyons/grid.ts","./src/sections/tachyons/heights.ts","./src/sections/tachyons/index.ts","./src/sections/tachyons/lineClamp.ts","./src/sections/tachyons/objectFit.ts","./src/sections/tachyons/opacity.ts","./src/sections/tachyons/outlines.ts","./src/sections/tachyons/overflow.ts","./src/sections/tachyons/position.ts","./src/sections/tachyons/scrollSnap.ts","./src/sections/tachyons/scrollbarWidth.ts","./src/sections/tachyons/skins.ts","./src/sections/tachyons/spacing.ts","./src/sections/tachyons/textAlign.ts","./src/sections/tachyons/textDecoration.ts","./src/sections/tachyons/textTransform.ts","./src/sections/tachyons/transform.ts","./src/sections/tachyons/transition.ts","./src/sections/tachyons/typeScale.ts","./src/sections/tachyons/typography.ts","./src/sections/tachyons/userSelect.ts","./src/sections/tachyons/verticalAlign.ts","./src/sections/tachyons/visibility.ts","./src/sections/tachyons/whitespace.ts","./src/sections/tachyons/widths.ts","./src/sections/tachyons/wordBreak.ts","./src/sections/tachyons/zIndex.ts","./src/sections/tachyons-rn/index.ts","./src/sections/tachyons-rn/spacing.ts"],"version":"6.0.3"}
|
|
1
|
+
{"root":["./src/breakpoints.test.ts","./src/breakpoints.ts","./src/config.ts","./src/css-custom-property.test.ts","./src/css-custom-property.ts","./src/css-order.ts","./src/generate.test.ts","./src/generate.ts","./src/index.ts","./src/media-query.ts","./src/methods.test.ts","./src/methods.ts","./src/pseudo-selectors.ts","./src/runtime-css.ts","./src/runtime.test.ts","./src/runtime.ts","./src/spacing-css-var.test.ts","./src/spacing-css-var.ts","./src/style-metadata.ts","./src/test-css.ts","./src/testUtils.ts","./src/toHaveStyle.test.ts","./src/toHaveStyle.ts","./src/truss-css.ts","./src/utils.ts","./src/vitest.ts","./src/plugin/ast-utils.ts","./src/plugin/babel-utils.ts","./src/plugin/chain-nodes.ts","./src/plugin/condition-context.ts","./src/plugin/container-query.ts","./src/plugin/css-property-abbreviations.ts","./src/plugin/css-ts-utils.ts","./src/plugin/diagnostic.ts","./src/plugin/emit-css.test.ts","./src/plugin/emit-css.ts","./src/plugin/emit-style-hash.ts","./src/plugin/esbuild-plugin.test.ts","./src/plugin/esbuild-plugin.ts","./src/plugin/index.test.ts","./src/plugin/index.ts","./src/plugin/mapping-utils.ts","./src/plugin/merge-css.test.ts","./src/plugin/merge-css.ts","./src/plugin/priority.ts","./src/plugin/property-priorities.ts","./src/plugin/resolve-calls.ts","./src/plugin/resolve-chain.ts","./src/plugin/resolve-entry.ts","./src/plugin/resolve-literals.ts","./src/plugin/resolve-setvar.ts","./src/plugin/resolve-typography.ts","./src/plugin/resolve-when.ts","./src/plugin/rewrite-css-ts-imports.ts","./src/plugin/rewrite-sites.ts","./src/plugin/style-entries.ts","./src/plugin/test-css.test.ts","./src/plugin/test-css.ts","./src/plugin/transform-css.test.ts","./src/plugin/transform-css.ts","./src/plugin/transform-session.ts","./src/plugin/transform.test.ts","./src/plugin/transform.ts","./src/plugin/truss-css.ts","./src/plugin/types.ts","./src/plugin/unknown-abbreviation.ts","./src/plugin/when-relationships.ts","./src/sections/tachyons/animation.ts","./src/sections/tachyons/border.ts","./src/sections/tachyons/borderColors.ts","./src/sections/tachyons/borderRadius.ts","./src/sections/tachyons/borderStyles.ts","./src/sections/tachyons/borderWidths.ts","./src/sections/tachyons/boxShadow.ts","./src/sections/tachyons/container.ts","./src/sections/tachyons/coordinates.ts","./src/sections/tachyons/cursor.ts","./src/sections/tachyons/display.ts","./src/sections/tachyons/flexbox.ts","./src/sections/tachyons/floats.ts","./src/sections/tachyons/fontStyle.ts","./src/sections/tachyons/fontWeight.ts","./src/sections/tachyons/grid.ts","./src/sections/tachyons/heights.ts","./src/sections/tachyons/index.ts","./src/sections/tachyons/lineClamp.ts","./src/sections/tachyons/objectFit.ts","./src/sections/tachyons/opacity.ts","./src/sections/tachyons/outlines.ts","./src/sections/tachyons/overflow.ts","./src/sections/tachyons/position.ts","./src/sections/tachyons/scrollSnap.ts","./src/sections/tachyons/scrollbarWidth.ts","./src/sections/tachyons/skins.ts","./src/sections/tachyons/spacing.ts","./src/sections/tachyons/textAlign.ts","./src/sections/tachyons/textDecoration.ts","./src/sections/tachyons/textTransform.ts","./src/sections/tachyons/transform.ts","./src/sections/tachyons/transition.ts","./src/sections/tachyons/typeScale.ts","./src/sections/tachyons/typography.ts","./src/sections/tachyons/userSelect.ts","./src/sections/tachyons/verticalAlign.ts","./src/sections/tachyons/visibility.ts","./src/sections/tachyons/whitespace.ts","./src/sections/tachyons/widths.ts","./src/sections/tachyons/wordBreak.ts","./src/sections/tachyons/zIndex.ts","./src/sections/tachyons-rn/index.ts","./src/sections/tachyons-rn/spacing.ts"],"version":"6.0.3"}
|