@lwc/style-compiler 8.12.7-alpha.0 → 8.13.0-alpha.0

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.
@@ -1,2 +1,3 @@
1
1
  import type { Root, Result } from 'postcss';
2
2
  export default function process(root: Root, result: Result, isScoped: boolean): void;
3
+ //# sourceMappingURL=transform.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import type { Root } from 'postcss-selector-parser';
2
2
  export default function (root: Root): void;
3
+ //# sourceMappingURL=transform.d.ts.map
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
- const apiVersion = shared.getAPIVersionFromNumber(config.apiVersion);
799
+ shared.getAPIVersionFromNumber(config.apiVersion);
800
800
  const disableSyntheticShadowSupport = !!config.disableSyntheticShadowSupport;
801
- const plugins = [postCssLwcPlugin({ scoped, apiVersion, disableSyntheticShadowSupport })];
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.12.2 */
807
+ /** version: 8.13.0 */
808
808
  //# sourceMappingURL=index.cjs.js.map
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './transform';
2
+ //# sourceMappingURL=index.d.ts.map
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
- const apiVersion = getAPIVersionFromNumber(config.apiVersion);
795
+ getAPIVersionFromNumber(config.apiVersion);
796
796
  const disableSyntheticShadowSupport = !!config.disableSyntheticShadowSupport;
797
- const plugins = [postCssLwcPlugin({ scoped, apiVersion, disableSyntheticShadowSupport })];
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.12.2 */
803
+ /** version: 8.13.0 */
804
804
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,3 @@
1
1
  import type { Root } from 'postcss-selector-parser';
2
2
  export default function (root: Root): void;
3
+ //# sourceMappingURL=validate.d.ts.map
@@ -5,3 +5,4 @@ export default function postCssLwcPlugin(options: {
5
5
  apiVersion: APIVersion;
6
6
  disableSyntheticShadowSupport: boolean;
7
7
  }): TransformCallback;
8
+ //# sourceMappingURL=postcss-lwc-plugin.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import type { Root } from 'postcss';
2
2
  export default function process(root: Root): void;
3
+ //# sourceMappingURL=transform.d.ts.map
@@ -8,3 +8,4 @@ export interface SelectorScopingConfig {
8
8
  scoped: boolean;
9
9
  }
10
10
  export default function transformSelector(root: Root, transformConfig: SelectorScopingConfig): void;
11
+ //# sourceMappingURL=transform.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import type { Root } from 'postcss-selector-parser';
2
2
  export default function validate(root: Root, native: boolean): void;
3
+ //# sourceMappingURL=validate.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import type { Config } from './index';
2
2
  import type { Result } from 'postcss';
3
3
  export default function serialize(result: Result, config: Config): string;
4
+ //# sourceMappingURL=serialize.d.ts.map
@@ -35,3 +35,4 @@ export interface Config {
35
35
  export declare function transform(src: string, id: string, config?: Config): {
36
36
  code: string;
37
37
  };
38
+ //# sourceMappingURL=transform.d.ts.map
@@ -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
@@ -6,3 +6,4 @@ interface ImportMessage extends Message {
6
6
  export declare function importMessage(id: string): ImportMessage;
7
7
  export declare function isImportMessage(message: any): message is ImportMessage;
8
8
  export {};
9
+ //# sourceMappingURL=message.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import type { Node, Pseudo } from 'postcss-selector-parser';
2
2
  export declare function isDirPseudoClass(node: Node): node is Pseudo;
3
+ //# sourceMappingURL=rtl.d.ts.map
@@ -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
@@ -1,2 +1,3 @@
1
1
  export declare const HOST_ATTRIBUTE = "__hostAttribute__";
2
2
  export declare const SHADOW_ATTRIBUTE = "__shadowAttribute__";
3
+ //# sourceMappingURL=selectors-scoping.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.12.7-alpha.0",
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.12.7-alpha.0",
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"