@compiled/webpack-loader 0.19.1 → 0.19.3
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/package.json +7 -7
- package/dist/__fixtures__/async-styles.d.ts +0 -0
- package/dist/__fixtures__/async-styles.js +0 -26
- package/dist/__fixtures__/async-styles.js.map +0 -1
- package/dist/__fixtures__/babel.d.ts +0 -2
- package/dist/__fixtures__/babel.js +0 -14
- package/dist/__fixtures__/babel.js.map +0 -1
- package/dist/__fixtures__/binding-not-found.d.ts +0 -8
- package/dist/__fixtures__/binding-not-found.js +0 -45
- package/dist/__fixtures__/binding-not-found.js.map +0 -1
- package/dist/__fixtures__/common/colors.d.ts +0 -7
- package/dist/__fixtures__/common/colors.js +0 -11
- package/dist/__fixtures__/common/colors.js.map +0 -1
- package/dist/__fixtures__/common/css-prop.d.ts +0 -2
- package/dist/__fixtures__/common/css-prop.js +0 -9
- package/dist/__fixtures__/common/css-prop.js.map +0 -1
- package/dist/__fixtures__/compiled-error.d.ts +0 -2
- package/dist/__fixtures__/compiled-error.js +0 -10
- package/dist/__fixtures__/compiled-error.js.map +0 -1
- package/dist/__fixtures__/custom-resolver.d.ts +0 -2
- package/dist/__fixtures__/custom-resolver.js +0 -12
- package/dist/__fixtures__/custom-resolver.js.map +0 -1
- package/dist/__fixtures__/extracted-component.d.ts +0 -4
- package/dist/__fixtures__/extracted-component.js +0 -10
- package/dist/__fixtures__/extracted-component.js.map +0 -1
- package/dist/__fixtures__/important-styles.d.ts +0 -3
- package/dist/__fixtures__/important-styles.js +0 -7
- package/dist/__fixtures__/important-styles.js.map +0 -1
- package/dist/__fixtures__/lib/loader-alias.d.ts +0 -1
- package/dist/__fixtures__/lib/loader-alias.js +0 -8
- package/dist/__fixtures__/lib/loader-alias.js.map +0 -1
- package/dist/__fixtures__/lib/other-css.d.ts +0 -1
- package/dist/__fixtures__/lib/other-css.js +0 -7
- package/dist/__fixtures__/lib/other-css.js.map +0 -1
- package/dist/__fixtures__/lib/webpack-alias.d.ts +0 -1
- package/dist/__fixtures__/lib/webpack-alias.js +0 -8
- package/dist/__fixtures__/lib/webpack-alias.js.map +0 -1
- package/dist/__fixtures__/loader-alias.d.ts +0 -2
- package/dist/__fixtures__/loader-alias.js +0 -12
- package/dist/__fixtures__/loader-alias.js.map +0 -1
- package/dist/__fixtures__/local-styles.d.ts +0 -2
- package/dist/__fixtures__/local-styles.js +0 -14
- package/dist/__fixtures__/local-styles.js.map +0 -1
- package/dist/__fixtures__/no-compiled-styles.d.ts +0 -0
- package/dist/__fixtures__/no-compiled-styles.js +0 -3
- package/dist/__fixtures__/no-compiled-styles.js.map +0 -1
- package/dist/__fixtures__/non-compiled-import-source.d.ts +0 -2
- package/dist/__fixtures__/non-compiled-import-source.js +0 -10
- package/dist/__fixtures__/non-compiled-import-source.js.map +0 -1
- package/dist/__fixtures__/relative-styles.d.ts +0 -3
- package/dist/__fixtures__/relative-styles.js +0 -34
- package/dist/__fixtures__/relative-styles.js.map +0 -1
- package/dist/__fixtures__/webpack-alias.d.ts +0 -2
- package/dist/__fixtures__/webpack-alias.js +0 -12
- package/dist/__fixtures__/webpack-alias.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compiled/webpack-loader",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.3",
|
|
4
4
|
"description": "A familiar and performant compile time CSS-in-JS library for React.",
|
|
5
5
|
"homepage": "https://compiledcssinjs.com/docs/pkg-webpack-loader",
|
|
6
6
|
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"src"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@babel/core": "^7.
|
|
24
|
-
"@babel/parser": "^7.
|
|
25
|
-
"@compiled/babel-plugin": "^0.
|
|
26
|
-
"@compiled/babel-plugin-strip-runtime": "^0.
|
|
27
|
-
"@compiled/css": "^0.
|
|
23
|
+
"@babel/core": "^7.26.0",
|
|
24
|
+
"@babel/parser": "^7.26.3",
|
|
25
|
+
"@compiled/babel-plugin": "^0.36.0",
|
|
26
|
+
"@compiled/babel-plugin-strip-runtime": "^0.36.0",
|
|
27
|
+
"@compiled/css": "^0.19.0",
|
|
28
28
|
"@compiled/utils": "^0.13.1",
|
|
29
29
|
"enhanced-resolve": "^5.17.1",
|
|
30
30
|
"loader-utils": "^2.0.4",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"memfs": "^3.5.3",
|
|
38
38
|
"mini-css-extract-plugin": "^1.6.2",
|
|
39
39
|
"react": "^17.0.2",
|
|
40
|
-
"ts-node": "^10.9.
|
|
40
|
+
"ts-node": "^10.9.2",
|
|
41
41
|
"tsconfig-paths": "^4.1.2",
|
|
42
42
|
"webpack": "^5.76.1"
|
|
43
43
|
},
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Promise.resolve().then(() => __importStar(require('./common/css-prop')));
|
|
26
|
-
//# sourceMappingURL=async-styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"async-styles.js","sourceRoot":"","sources":["../../src/__fixtures__/async-styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAO,mBAAmB,IAAE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.App = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const babel_cjs_1 = __importDefault(require("./lib/babel-cjs"));
|
|
9
|
-
const babel_esm_1 = __importDefault(require("./lib/babel-esm"));
|
|
10
|
-
const App = () => (react_1.default.createElement(react_1.default.Fragment, null,
|
|
11
|
-
react_1.default.createElement(babel_cjs_1.default, null),
|
|
12
|
-
react_1.default.createElement(babel_esm_1.default, null)));
|
|
13
|
-
exports.App = App;
|
|
14
|
-
//# sourceMappingURL=babel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"babel.js","sourceRoot":"","sources":["../../src/__fixtures__/babel.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,gEAAuC;AACvC,gEAAuC;AAEhC,MAAM,GAAG,GAAG,GAAgB,EAAE,CAAC,CACpC;IACE,8BAAC,mBAAQ,OAAG;IACZ,8BAAC,mBAAQ,OAAG,CACX,CACJ,CAAC;AALW,QAAA,GAAG,OAKd"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const HeaderSpacing: React.ComponentType<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & import("@compiled/react").StyledProps>;
|
|
3
|
-
interface HeaderProps {
|
|
4
|
-
variant?: 'default' | 'invert';
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const Header: ({ children, variant, ...props }: HeaderProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
-
var t = {};
|
|
4
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
-
t[p] = s[p];
|
|
6
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
-
t[p[i]] = s[p[i]];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.Header = exports.HeaderSpacing = void 0;
|
|
15
|
-
/** @jsx jsx */
|
|
16
|
-
const react_1 = require("@compiled/react");
|
|
17
|
-
const height = '9rem';
|
|
18
|
-
const StyledHeader = react_1.styled.header `
|
|
19
|
-
height: ${height};
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
padding: 0 3rem;
|
|
23
|
-
z-index: 1;
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: 0;
|
|
26
|
-
left: 0;
|
|
27
|
-
right: 0;
|
|
28
|
-
margin: 0 auto;
|
|
29
|
-
max-width: 140rem;
|
|
30
|
-
border-bottom: 1px solid
|
|
31
|
-
${(props) => (props.variant === 'default' ? 'rgba(135, 119, 217, 0.2)' : 'transparent')};
|
|
32
|
-
color: ${(props) => props.color};
|
|
33
|
-
`;
|
|
34
|
-
exports.HeaderSpacing = react_1.styled.div `
|
|
35
|
-
height: ${height};
|
|
36
|
-
`;
|
|
37
|
-
const Header = (_a) => {
|
|
38
|
-
var { children, variant = 'default' } = _a, props = __rest(_a, ["children", "variant"]);
|
|
39
|
-
const color = variant === 'default' ? 'rgba(37, 56, 88, 0.9)' : 'rgba(255, 255, 255, 0.75)';
|
|
40
|
-
return ((0, react_1.jsx)(StyledHeader, Object.assign({ variant: variant, color: color }, props),
|
|
41
|
-
(0, react_1.jsx)("a", { href: "/", css: { textDecoration: 'none', color: 'currentColor' } }, "Compiled"),
|
|
42
|
-
children));
|
|
43
|
-
};
|
|
44
|
-
exports.Header = Header;
|
|
45
|
-
//# sourceMappingURL=binding-not-found.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"binding-not-found.js","sourceRoot":"","sources":["../../src/__fixtures__/binding-not-found.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,eAAe;AACf,2CAA8C;AAG9C,MAAM,MAAM,GAAG,MAAM,CAAC;AAEtB,MAAM,YAAY,GAAG,cAAM,CAAC,MAAM,CAGhC;YACU,MAAM;;;;;;;;;;;;MAYZ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,aAAa,CAAC;WAChF,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK;CAChC,CAAC;AAEW,QAAA,aAAa,GAAG,cAAM,CAAC,GAAG,CAAA;YAC3B,MAAM;CACjB,CAAC;AAOK,MAAM,MAAM,GAAG,CAAC,EAAwD,EAAe,EAAE;QAAzE,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,OAAyB,EAApB,KAAK,cAAzC,uBAA2C,CAAF;IAC9D,MAAM,KAAK,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,2BAA2B,CAAC;IAE5F,OAAO,CACL,iBAAC,YAAY,kBAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,IAAM,KAAK;QACrD,wBAAG,IAAI,EAAC,GAAG,EAAC,GAAG,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,eAE9D;QACH,QAAQ,CACI,CAChB,CAAC;AACJ,CAAC,CAAC;AAXW,QAAA,MAAM,UAWjB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const blue = "blue";
|
|
2
|
-
export declare const blueviolet = "blueviolet";
|
|
3
|
-
export declare const coral = "coral";
|
|
4
|
-
export declare const purple = "purple";
|
|
5
|
-
export declare const orange = "orange";
|
|
6
|
-
export declare const red = "red";
|
|
7
|
-
export declare const yellow = "yellow";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.yellow = exports.red = exports.orange = exports.purple = exports.coral = exports.blueviolet = exports.blue = void 0;
|
|
4
|
-
exports.blue = 'blue';
|
|
5
|
-
exports.blueviolet = 'blueviolet';
|
|
6
|
-
exports.coral = 'coral';
|
|
7
|
-
exports.purple = 'purple';
|
|
8
|
-
exports.orange = 'orange';
|
|
9
|
-
exports.red = 'red';
|
|
10
|
-
exports.yellow = 'yellow';
|
|
11
|
-
//# sourceMappingURL=colors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../../src/__fixtures__/common/colors.ts"],"names":[],"mappings":";;;AAAa,QAAA,IAAI,GAAG,MAAM,CAAC;AACd,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,KAAK,GAAG,OAAO,CAAC;AAChB,QAAA,MAAM,GAAG,QAAQ,CAAC;AAClB,QAAA,MAAM,GAAG,QAAQ,CAAC;AAClB,QAAA,GAAG,GAAG,KAAK,CAAC;AACZ,QAAA,MAAM,GAAG,QAAQ,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Coral = void 0;
|
|
4
|
-
/** @jsx jsx */
|
|
5
|
-
const react_1 = require("@compiled/react");
|
|
6
|
-
const colors_1 = require("./colors");
|
|
7
|
-
const Coral = () => ((0, react_1.jsx)("div", { css: { color: colors_1.coral, border: `2px solid ${colors_1.coral}` } }));
|
|
8
|
-
exports.Coral = Coral;
|
|
9
|
-
//# sourceMappingURL=css-prop.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"css-prop.js","sourceRoot":"","sources":["../../../src/__fixtures__/common/css-prop.tsx"],"names":[],"mappings":";;;AAAA,eAAe;AACf,2CAAsC;AAEtC,qCAAiC;AAE1B,MAAM,KAAK,GAAG,GAAgB,EAAE,CAAC,CACtC,0BAAK,GAAG,EAAE,EAAE,KAAK,EAAE,cAAK,EAAE,MAAM,EAAE,aAAa,cAAK,EAAE,EAAE,GAAI,CAC7D,CAAC;AAFW,QAAA,KAAK,SAEhB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.App = void 0;
|
|
4
|
-
/** @jsx jsx */
|
|
5
|
-
const react_1 = require("@compiled/react");
|
|
6
|
-
// @ts-expect-error
|
|
7
|
-
const styles = (0, react_1.css)(false);
|
|
8
|
-
const App = () => (0, react_1.jsx)("div", { css: styles });
|
|
9
|
-
exports.App = App;
|
|
10
|
-
//# sourceMappingURL=compiled-error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compiled-error.js","sourceRoot":"","sources":["../../src/__fixtures__/compiled-error.tsx"],"names":[],"mappings":";;;AAAA,eAAe;AACf,2CAA2C;AAE3C,mBAAmB;AACnB,MAAM,MAAM,GAAG,IAAA,WAAG,EAAC,KAAK,CAAC,CAAC;AAEnB,MAAM,GAAG,GAAG,GAAgB,EAAE,CAAC,0BAAK,GAAG,EAAE,MAAM,GAAI,CAAC;AAA9C,QAAA,GAAG,OAA2C"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.App = void 0;
|
|
4
|
-
/** @jsx jsx */
|
|
5
|
-
// @ts-ignore This is a bug where the meta is not updated for the new file import
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7
|
-
const react_1 = require("@compiled/react");
|
|
8
|
-
// @ts-expect-error
|
|
9
|
-
const test_1 = require("test");
|
|
10
|
-
const App = () => (0, react_1.jsx)("div", { css: (0, react_1.css)({ color: test_1.primary }) });
|
|
11
|
-
exports.App = App;
|
|
12
|
-
//# sourceMappingURL=custom-resolver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-resolver.js","sourceRoot":"","sources":["../../src/__fixtures__/custom-resolver.tsx"],"names":[],"mappings":";;;AAAA,eAAe;AACf,iFAAiF;AACjF,6DAA6D;AAC7D,2CAA2C;AAC3C,mBAAmB;AACnB,+BAA+B;AAExB,MAAM,GAAG,GAAG,GAAgB,EAAE,CAAC,0BAAK,GAAG,EAAE,IAAA,WAAG,EAAC,EAAE,KAAK,EAAE,cAAO,EAAE,CAAC,GAAI,CAAC;AAA/D,QAAA,GAAG,OAA4D"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/** @jsx jsx */
|
|
4
|
-
const react_1 = require("@compiled/react");
|
|
5
|
-
const react_2 = require("react");
|
|
6
|
-
require("./extracted-component.compiled.css");
|
|
7
|
-
const Component = () => ((0, react_1.jsx)(react_2.Fragment, null,
|
|
8
|
-
(0, react_1.jsx)("div", { css: (0, react_1.css)({ fontSize: '12px', color: 'blue' }) })));
|
|
9
|
-
exports.default = Component;
|
|
10
|
-
//# sourceMappingURL=extracted-component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extracted-component.js","sourceRoot":"","sources":["../../src/__fixtures__/extracted-component.tsx"],"names":[],"mappings":";;AAAA,eAAe;AACf,2CAA2C;AAC3C,iCAAiC;AAEjC,8CAA4C;AAE5C,MAAM,SAAS,GAAG,GAAgB,EAAE,CAAC,CACnC,iBAAC,gBAAQ;IACP,0BAAK,GAAG,EAAE,IAAA,WAAG,EAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,GAAI,CAC7C,CACZ,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/** @jsx jsx */
|
|
4
|
-
const react_1 = require("@compiled/react");
|
|
5
|
-
const Component = () => (0, react_1.jsx)("div", { css: { fontSize: '12!important', color: 'blue' } });
|
|
6
|
-
exports.default = Component;
|
|
7
|
-
//# sourceMappingURL=important-styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"important-styles.js","sourceRoot":"","sources":["../../src/__fixtures__/important-styles.tsx"],"names":[],"mappings":";;AAAA,eAAe;AACf,2CAAsC;AAEtC,MAAM,SAAS,GAAG,GAAgB,EAAE,CAAC,0BAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,GAAI,CAAC;AAE/F,kBAAe,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const styles: Readonly<import("csstype").Properties<import("@compiled/react").CssFunction<unknown>, string & {}>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loader-alias.js","sourceRoot":"","sources":["../../../src/__fixtures__/lib/loader-alias.ts"],"names":[],"mappings":";;;AAAA,2CAAsC;AAEzB,QAAA,MAAM,GAAG,IAAA,WAAG,EAAC;IACxB,KAAK,EAAE,QAAQ;CAChB,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { css, jsx } from '@compiled/react';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.jsx = exports.css = void 0;
|
|
4
|
-
var react_1 = require("@compiled/react");
|
|
5
|
-
Object.defineProperty(exports, "css", { enumerable: true, get: function () { return react_1.css; } });
|
|
6
|
-
Object.defineProperty(exports, "jsx", { enumerable: true, get: function () { return react_1.jsx; } });
|
|
7
|
-
//# sourceMappingURL=other-css.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"other-css.js","sourceRoot":"","sources":["../../../src/__fixtures__/lib/other-css.ts"],"names":[],"mappings":";;;AAAA,yCAA2C;AAAlC,4FAAA,GAAG,OAAA;AAAE,4FAAA,GAAG,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const styles: Readonly<import("csstype").Properties<import("@compiled/react").CssFunction<unknown>, string & {}>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webpack-alias.js","sourceRoot":"","sources":["../../../src/__fixtures__/lib/webpack-alias.ts"],"names":[],"mappings":";;;AAAA,2CAAsC;AAEzB,QAAA,MAAM,GAAG,IAAA,WAAG,EAAC;IACxB,KAAK,EAAE,MAAM;CACd,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.App = void 0;
|
|
4
|
-
/** @jsx jsx */
|
|
5
|
-
// @ts-ignore This is a bug where the meta is not updated for the new file import
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7
|
-
const react_1 = require("@compiled/react");
|
|
8
|
-
// @ts-expect-error
|
|
9
|
-
const loader_alias_1 = require("loader-alias");
|
|
10
|
-
const App = () => (0, react_1.jsx)("div", { css: loader_alias_1.styles });
|
|
11
|
-
exports.App = App;
|
|
12
|
-
//# sourceMappingURL=loader-alias.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loader-alias.js","sourceRoot":"","sources":["../../src/__fixtures__/loader-alias.tsx"],"names":[],"mappings":";;;AAAA,eAAe;AACf,iFAAiF;AACjF,6DAA6D;AAC7D,2CAA2C;AAC3C,mBAAmB;AACnB,+CAAsC;AAE/B,MAAM,GAAG,GAAG,GAAgB,EAAE,CAAC,0BAAK,GAAG,EAAE,qBAAM,GAAI,CAAC;AAA9C,QAAA,GAAG,OAA2C"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.App = void 0;
|
|
4
|
-
/** @jsx jsx */
|
|
5
|
-
const react_1 = require("@compiled/react");
|
|
6
|
-
const react_2 = require("react");
|
|
7
|
-
const Styled = react_1.styled.div({
|
|
8
|
-
color: 'blue',
|
|
9
|
-
});
|
|
10
|
-
const App = () => ((0, react_1.jsx)(react_2.Fragment, null,
|
|
11
|
-
(0, react_1.jsx)("div", { css: { fontSize: 14 } }),
|
|
12
|
-
(0, react_1.jsx)(Styled, null)));
|
|
13
|
-
exports.App = App;
|
|
14
|
-
//# sourceMappingURL=local-styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local-styles.js","sourceRoot":"","sources":["../../src/__fixtures__/local-styles.tsx"],"names":[],"mappings":";;;AAAA,eAAe;AACf,2CAA8C;AAC9C,iCAAiC;AAEjC,MAAM,MAAM,GAAG,cAAM,CAAC,GAAG,CAAC;IACxB,KAAK,EAAE,MAAM;CACd,CAAC,CAAC;AAEI,MAAM,GAAG,GAAG,GAAgB,EAAE,CAAC,CACpC,iBAAC,gBAAQ;IACP,0BAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAI;IAC9B,iBAAC,MAAM,OAAG,CACD,CACZ,CAAC;AALW,QAAA,GAAG,OAKd"}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"no-compiled-styles.js","sourceRoot":"","sources":["../../src/__fixtures__/no-compiled-styles.ts"],"names":[],"mappings":";AAAA,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.App = void 0;
|
|
4
|
-
/** @jsx jsx */
|
|
5
|
-
// @ts-expect-error -- fake package
|
|
6
|
-
const css_1 = require("@other/css");
|
|
7
|
-
// @ts-expect-error -- fake package
|
|
8
|
-
const App = () => (0, css_1.jsx)("div", { css: { margin: 0 } });
|
|
9
|
-
exports.App = App;
|
|
10
|
-
//# sourceMappingURL=non-compiled-import-source.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"non-compiled-import-source.js","sourceRoot":"","sources":["../../src/__fixtures__/non-compiled-import-source.tsx"],"names":[],"mappings":";;;AAAA,eAAe;AACf,mCAAmC;AACnC,oCAAiC;AAEjC,mCAAmC;AAC5B,MAAM,GAAG,GAAG,GAAgB,EAAE,CAAC,wBAAK,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,GAAI,CAAC;AAArD,QAAA,GAAG,OAAkD"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Styled: import("react").ComponentType<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@compiled/react").StyledProps>;
|
|
3
|
-
export declare const App: () => JSX.Element;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.App = exports.Styled = void 0;
|
|
4
|
-
/** @jsx jsx */
|
|
5
|
-
const react_1 = require("@compiled/react");
|
|
6
|
-
const react_2 = require("react");
|
|
7
|
-
const colors_1 = require("./common/colors");
|
|
8
|
-
exports.Styled = react_1.styled.span `
|
|
9
|
-
color: ${colors_1.blueviolet};
|
|
10
|
-
|
|
11
|
-
:focus {
|
|
12
|
-
color: ${colors_1.purple};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:hover {
|
|
16
|
-
color: ${colors_1.blue};
|
|
17
|
-
}
|
|
18
|
-
`;
|
|
19
|
-
const styles = (0, react_1.css) `
|
|
20
|
-
color: ${colors_1.red};
|
|
21
|
-
|
|
22
|
-
:focus {
|
|
23
|
-
color: ${colors_1.orange};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
:hover {
|
|
27
|
-
color: ${colors_1.yellow};
|
|
28
|
-
}
|
|
29
|
-
`;
|
|
30
|
-
const App = () => ((0, react_1.jsx)(react_2.Fragment, null,
|
|
31
|
-
(0, react_1.jsx)("div", { css: styles }),
|
|
32
|
-
(0, react_1.jsx)(exports.Styled, null)));
|
|
33
|
-
exports.App = App;
|
|
34
|
-
//# sourceMappingURL=relative-styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"relative-styles.js","sourceRoot":"","sources":["../../src/__fixtures__/relative-styles.tsx"],"names":[],"mappings":";;;AAAA,eAAe;AACf,2CAAmD;AACnD,iCAAiC;AAEjC,4CAAgF;AAKnE,QAAA,MAAM,GAAG,cAAM,CAAC,IAAI,CAAA;WACtB,mBAAU;;;aAGR,eAAM;;;;aAIN,aAAI;;CAEhB,CAAC;AAEF,MAAM,MAAM,GAAG,IAAA,WAAG,EAAA;WACP,YAAG;;;aAGD,eAAM;;;;aAIN,eAAM;;CAElB,CAAC;AAEK,MAAM,GAAG,GAAG,GAAgB,EAAE,CAAC,CACpC,iBAAC,gBAAQ;IACP,0BAAK,GAAG,EAAE,MAAM,GAAI;IACpB,iBAAC,cAAM,OAAG,CACD,CACZ,CAAC;AALW,QAAA,GAAG,OAKd"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.App = void 0;
|
|
4
|
-
/** @jsx jsx */
|
|
5
|
-
// @ts-expect-error This is a bug where the meta is not updated for the new file import
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7
|
-
const react_1 = require("@compiled/react");
|
|
8
|
-
// @ts-expect-error
|
|
9
|
-
const webpack_alias_1 = require("webpack-alias");
|
|
10
|
-
const App = () => (0, react_1.jsx)("div", { css: webpack_alias_1.styles });
|
|
11
|
-
exports.App = App;
|
|
12
|
-
//# sourceMappingURL=webpack-alias.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webpack-alias.js","sourceRoot":"","sources":["../../src/__fixtures__/webpack-alias.tsx"],"names":[],"mappings":";;;AAAA,eAAe;AACf,uFAAuF;AACvF,6DAA6D;AAC7D,2CAA2C;AAC3C,mBAAmB;AACnB,iDAAuC;AAEhC,MAAM,GAAG,GAAG,GAAgB,EAAE,CAAC,0BAAK,GAAG,EAAE,sBAAM,GAAI,CAAC;AAA9C,QAAA,GAAG,OAA2C"}
|