@lwc/style-compiler 8.12.7-alpha.0 → 8.13.0-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css-import/transform.d.ts +1 -0
- package/dist/dir-pseudo-class/transform.d.ts +1 -0
- package/dist/index.cjs.js +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/no-id-selectors/validate.d.ts +1 -0
- package/dist/postcss-lwc-plugin.d.ts +1 -0
- package/dist/scope-at-rules/transform.d.ts +1 -0
- package/dist/selector-scoping/transform.d.ts +1 -0
- package/dist/selector-scoping/validate.d.ts +1 -0
- package/dist/serialize.d.ts +1 -0
- package/dist/transform.d.ts +1 -0
- package/dist/utils/dir-pseudoclass.d.ts +1 -0
- package/dist/utils/message.d.ts +1 -0
- package/dist/utils/rtl.d.ts +1 -0
- package/dist/utils/selector-parser.d.ts +1 -0
- package/dist/utils/selectors-scoping.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
@@ -796,13 +796,13 @@ function transform(src, id, config = {}) {
|
|
796
796
|
return { code: 'export default undefined' };
|
797
797
|
}
|
798
798
|
const scoped = !!config.scoped;
|
799
|
-
|
799
|
+
shared.getAPIVersionFromNumber(config.apiVersion);
|
800
800
|
const disableSyntheticShadowSupport = !!config.disableSyntheticShadowSupport;
|
801
|
-
const plugins = [postCssLwcPlugin({ scoped,
|
801
|
+
const plugins = [postCssLwcPlugin({ scoped, disableSyntheticShadowSupport })];
|
802
802
|
const result = postcss(plugins).process(src, { from: id }).sync();
|
803
803
|
return { code: serialize(result, config) };
|
804
804
|
}
|
805
805
|
|
806
806
|
exports.transform = transform;
|
807
|
-
/** version: 8.
|
807
|
+
/** version: 8.13.0 */
|
808
808
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -792,13 +792,13 @@ function transform(src, id, config = {}) {
|
|
792
792
|
return { code: 'export default undefined' };
|
793
793
|
}
|
794
794
|
const scoped = !!config.scoped;
|
795
|
-
|
795
|
+
getAPIVersionFromNumber(config.apiVersion);
|
796
796
|
const disableSyntheticShadowSupport = !!config.disableSyntheticShadowSupport;
|
797
|
-
const plugins = [postCssLwcPlugin({ scoped,
|
797
|
+
const plugins = [postCssLwcPlugin({ scoped, disableSyntheticShadowSupport })];
|
798
798
|
const result = postcss(plugins).process(src, { from: id }).sync();
|
799
799
|
return { code: serialize(result, config) };
|
800
800
|
}
|
801
801
|
|
802
802
|
export { transform };
|
803
|
-
/** version: 8.
|
803
|
+
/** version: 8.13.0 */
|
804
804
|
//# sourceMappingURL=index.js.map
|
package/dist/serialize.d.ts
CHANGED
package/dist/transform.d.ts
CHANGED
@@ -2,3 +2,4 @@ export declare const DIR_ATTRIBUTE_NATIVE_LTR = "__dirAttributeNativeLtr__";
|
|
2
2
|
export declare const DIR_ATTRIBUTE_NATIVE_RTL = "__dirAttributeNativeRtl__";
|
3
3
|
export declare const DIR_ATTRIBUTE_SYNTHETIC_LTR = "__dirAttributeSyntheticLtr__";
|
4
4
|
export declare const DIR_ATTRIBUTE_SYNTHETIC_RTL = "__dirAttributeSyntheticRtl__";
|
5
|
+
//# sourceMappingURL=dir-pseudoclass.d.ts.map
|
package/dist/utils/message.d.ts
CHANGED
package/dist/utils/rtl.d.ts
CHANGED
@@ -2,3 +2,4 @@ import type { Node, Container } from 'postcss-selector-parser';
|
|
2
2
|
export declare function findNode<T extends Node>(container: Container, predicate: (node: Node) => node is T): T | undefined;
|
3
3
|
export declare function replaceNodeWith(oldNode: Node, ...newNodes: Node[]): void;
|
4
4
|
export declare function trimNodeWhitespaces(node: Node): void;
|
5
|
+
//# sourceMappingURL=selector-parser.d.ts.map
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
|
5
5
|
],
|
6
6
|
"name": "@lwc/style-compiler",
|
7
|
-
"version": "8.
|
7
|
+
"version": "8.13.0-alpha.0",
|
8
8
|
"description": "Transform style sheet to be consumed by the LWC engine",
|
9
9
|
"keywords": [
|
10
10
|
"lwc"
|
@@ -46,7 +46,7 @@
|
|
46
46
|
}
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@lwc/shared": "8.
|
49
|
+
"@lwc/shared": "8.13.0-alpha.0",
|
50
50
|
"postcss": "~8.5.1",
|
51
51
|
"postcss-selector-parser": "~7.0.0",
|
52
52
|
"postcss-value-parser": "~4.2.0"
|