Skip to content

Commit 4d83870

Browse files
committed
fix: export matcher, variables, dimensions from @cssxjs/runtime and from the main cssxjs
1 parent af8db22 commit 4d83870

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

packages/cssxjs/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
export { default as variables } from '@cssxjs/runtime/variables'
2+
export { defaultVariables, setDefaultVariables } from '@cssxjs/runtime/variables'
3+
export { default as dimensions } from '@cssxjs/runtime/dimensions'
4+
export { default as matcher } from '@cssxjs/runtime/matcher'
5+
16
export function css (cssString) {
27
throw Error('[cssxjs] Unprocessed \'css\' template string. Bundler (Babel / Metro) did not process this file correctly.')
38
}

packages/runtime/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
"./entrypoints/web-teamplay": "./entrypoints/web-teamplay.js",
1919
"./entrypoints/react-native-teamplay": "./entrypoints/react-native-teamplay.js",
2020
"./constants": "./constants.cjs",
21-
"./dimensions": "./dimensions.js"
21+
"./dimensions": "./dimensions.js",
22+
"./variables": "./variables.js",
23+
"./matcher": "./matcher.js"
2224
},
2325
"type": "module",
2426
"scripts": {

0 commit comments

Comments
 (0)