@linaria/core
Advanced tools
Comparing version 3.0.0-beta.18 to 3.0.0-beta.19
@@ -6,2 +6,14 @@ # Change Log | ||
# [3.0.0-beta.19](https://github.com/callstack/linaria/compare/v3.0.0-beta.18...v3.0.0-beta.19) (2022-06-03) | ||
### Features | ||
* **babel:** api for custom tags ([#976](https://github.com/callstack/linaria/issues/976)) ([3285ccc](https://github.com/callstack/linaria/commit/3285ccc1d00449b78b3fc74087528cd38cbdd116)) | ||
* **babel:** new way for detecting tag imports ([#974](https://github.com/callstack/linaria/issues/974)) ([3305cfb](https://github.com/callstack/linaria/commit/3305cfb0c0f65abdacceeb7e6bad118c59f7d551)) | ||
# [3.0.0-beta.18](https://github.com/callstack/linaria/compare/v3.0.0-beta.17...v3.0.0-beta.18) (2022-04-01) | ||
@@ -8,0 +20,0 @@ |
export { default as css } from './css'; | ||
export { cx } from '@linaria/utils'; | ||
export { default as cx } from './cx'; | ||
//# sourceMappingURL=index.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
var css = function css() { | ||
const css = () => { | ||
throw new Error('Using the "css" tag in runtime is not supported. Make sure you have set up the Babel plugin correctly.'); | ||
@@ -9,0 +9,0 @@ }; |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _utils = require("@linaria/utils"); | ||
var _cx = _interopRequireDefault(require("./cx")); | ||
exports.cx = _utils.cx; | ||
exports.cx = _cx.default; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@linaria/core", | ||
"version": "3.0.0-beta.18", | ||
"version": "3.0.0-beta.19", | ||
"publishConfig": { | ||
@@ -17,4 +17,12 @@ "access": "public" | ||
], | ||
"linaria": { | ||
"tags": { | ||
"css": "./lib/processors/css.js" | ||
} | ||
}, | ||
"license": "MIT", | ||
"repository": "git@github.com:callstack/linaria.git", | ||
"engines": { | ||
"node": "^12.16.0 || >=13.7.0" | ||
}, | ||
"bugs": { | ||
@@ -33,2 +41,3 @@ "url": "https://github.com/callstack/linaria/issues" | ||
"build:lib": "cross-env NODE_ENV=legacy babel src --out-dir lib --extensions '.js,.jsx,.ts,.tsx' --source-maps --delete-dir-on-start", | ||
"build:corejs-test": "cross-env NODE_ENV=legacy babel src --out-dir lib --extensions '.js,.jsx,.ts,.tsx' --ignore \"src/processors/**/*\"", | ||
"build:esm": "babel src --out-dir esm --extensions '.js,.jsx,.ts,.tsx' --source-maps --delete-dir-on-start", | ||
@@ -43,5 +52,30 @@ "build": "yarn build:lib && yarn build:esm", | ||
"dependencies": { | ||
"@linaria/utils": "^3.0.0-beta.18" | ||
"@linaria/logger": "^3.0.0-beta.19", | ||
"@linaria/utils": "^3.0.0-beta.19" | ||
}, | ||
"gitHead": "c3f093a3a7fb4e7c82d23e44adb19a94438da68c" | ||
"devDependencies": { | ||
"@babel/traverse": ">=7", | ||
"@babel/types": ">=7" | ||
}, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./types/index.d.ts", | ||
"import": "./esm/index.js", | ||
"default": "./lib/index.js" | ||
}, | ||
"./*": { | ||
"types": "./types/*.d.ts", | ||
"import": "./esm/*.js", | ||
"default": "./lib/*.js" | ||
} | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"processors/*": [ | ||
"./types/processors/*.d.ts" | ||
] | ||
} | ||
}, | ||
"gitHead": "73aab0a3908325333e452b9cbd5e438a0f1de463" | ||
} |
@@ -1,6 +0,6 @@ | ||
import type { LinariaClassName } from '@linaria/utils'; | ||
import type { CSSProperties } from './CSSProperties'; | ||
import type { StyledMeta } from './StyledMeta'; | ||
import type { LinariaClassName } from './cx'; | ||
declare type CSS = (strings: TemplateStringsArray, ...exprs: Array<string | number | CSSProperties | StyledMeta>) => LinariaClassName; | ||
declare const css: CSS; | ||
export default css; |
export { default as css } from './css'; | ||
export { cx } from '@linaria/utils'; | ||
export { default as cx } from './cx'; | ||
export type { CSSProperties } from './CSSProperties'; | ||
export type { StyledMeta } from './StyledMeta'; | ||
export type { LinariaClassName } from '@linaria/utils'; | ||
export type { LinariaClassName } from './cx'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65422
59
528
2
2
1
+ Added@linaria/logger@3.0.0-beta.20(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedpicocolors@1.1.1(transitive)