@lwc/style-compiler 3.1.2 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +8 -155
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +8 -155
- package/dist/index.js.map +1 -1
- package/dist/transform.d.ts +4 -1
- package/dist/utils/message.d.ts +0 -6
- package/package.json +3 -3
- package/dist/custom-properties/transform.d.ts +0 -2
package/dist/index.cjs.js
CHANGED
@@ -7,13 +7,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
8
8
|
var postcss = require('postcss');
|
9
9
|
var shared = require('@lwc/shared');
|
10
|
-
var postcssValueParser = require('postcss-value-parser');
|
11
10
|
var matchAll = require('string.prototype.matchall');
|
12
11
|
var postCssSelector = require('postcss-selector-parser');
|
12
|
+
var valueParser = require('postcss-value-parser');
|
13
13
|
|
14
14
|
const PLUGIN_NAME = '@lwc/style-compiler';
|
15
15
|
const IMPORT_TYPE = 'import';
|
16
|
-
const VAR_FUNCTION_TYPE = 'var-function';
|
17
16
|
function importMessage(id) {
|
18
17
|
return {
|
19
18
|
plugin: PLUGIN_NAME,
|
@@ -24,16 +23,6 @@ function importMessage(id) {
|
|
24
23
|
function isImportMessage(message) {
|
25
24
|
return message.type === IMPORT_TYPE && message.id;
|
26
25
|
}
|
27
|
-
function varFunctionMessage(original) {
|
28
|
-
return {
|
29
|
-
plugin: PLUGIN_NAME,
|
30
|
-
type: VAR_FUNCTION_TYPE,
|
31
|
-
original,
|
32
|
-
};
|
33
|
-
}
|
34
|
-
function isVarFunctionMessage(message) {
|
35
|
-
return message.type === VAR_FUNCTION_TYPE && message.original;
|
36
|
-
}
|
37
26
|
|
38
27
|
/*
|
39
28
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -81,19 +70,12 @@ const USE_ACTUAL_HOST_SELECTOR = 'useActualHostSelector';
|
|
81
70
|
const USE_NATIVE_DIR_PSEUDOCLASS = 'useNativeDirPseudoclass';
|
82
71
|
const TOKEN = 'token';
|
83
72
|
const STYLESHEET_IDENTIFIER = 'stylesheet';
|
84
|
-
const VAR_RESOLVER_IDENTIFIER = 'varResolver';
|
85
73
|
function serialize(result, config) {
|
86
74
|
const { messages } = result;
|
87
|
-
const collectVarFunctions = Boolean(config.customProperties && config.customProperties.resolverModule);
|
88
|
-
const useVarResolver = messages.some(isVarFunctionMessage);
|
89
75
|
const importedStylesheets = messages.filter(isImportMessage).map((message) => message.id);
|
90
76
|
const disableSyntheticShadow = Boolean(config.disableSyntheticShadowSupport);
|
91
77
|
const scoped = Boolean(config.scoped);
|
92
78
|
let buffer = '';
|
93
|
-
if (collectVarFunctions && useVarResolver) {
|
94
|
-
buffer += `import ${VAR_RESOLVER_IDENTIFIER} from "${config.customProperties
|
95
|
-
.resolverModule}";\n`;
|
96
|
-
}
|
97
79
|
for (let i = 0; i < importedStylesheets.length; i++) {
|
98
80
|
buffer += `import ${STYLESHEET_IDENTIFIER + i} from "${importedStylesheets[i]}";\n`;
|
99
81
|
}
|
@@ -101,7 +83,7 @@ function serialize(result, config) {
|
|
101
83
|
buffer += '\n';
|
102
84
|
}
|
103
85
|
const stylesheetList = importedStylesheets.map((_str, i) => `${STYLESHEET_IDENTIFIER + i}`);
|
104
|
-
const serializedStyle = serializeCss(result
|
86
|
+
const serializedStyle = serializeCss(result).trim();
|
105
87
|
if (serializedStyle) {
|
106
88
|
// inline function
|
107
89
|
if (disableSyntheticShadow && !scoped) {
|
@@ -236,7 +218,7 @@ function deduplicateHostTokens(nativeHostTokens, syntheticHostTokens) {
|
|
236
218
|
...syntheticHostTokens.slice(numUniqueSyntheticTokens),
|
237
219
|
];
|
238
220
|
}
|
239
|
-
function serializeCss(result
|
221
|
+
function serializeCss(result) {
|
240
222
|
const tokens = [];
|
241
223
|
let currentRuleTokens = [];
|
242
224
|
let nativeHostTokens;
|
@@ -276,14 +258,7 @@ function serializeCss(result, collectVarFunctions) {
|
|
276
258
|
// When inside a declaration, tokenize it and push it to the current token list
|
277
259
|
}
|
278
260
|
else if (node && node.type === 'decl') {
|
279
|
-
|
280
|
-
const declTokens = tokenizeCssDeclaration(node);
|
281
|
-
currentRuleTokens.push(...declTokens);
|
282
|
-
currentRuleTokens.push({ type: TokenType.text, value: ';' });
|
283
|
-
}
|
284
|
-
else {
|
285
|
-
currentRuleTokens.push(...tokenizeCss(part));
|
286
|
-
}
|
261
|
+
currentRuleTokens.push(...tokenizeCss(part));
|
287
262
|
}
|
288
263
|
else if (node && node.type === 'atrule') {
|
289
264
|
// Certain atrules have declaration associated with for example @font-face. We need to add the rules tokens
|
@@ -365,112 +340,6 @@ function tokenizeCss(data) {
|
|
365
340
|
}
|
366
341
|
return tokens;
|
367
342
|
}
|
368
|
-
function isTextOrExpression(token) {
|
369
|
-
return token.type === TokenType.text || token.type == TokenType.expression;
|
370
|
-
}
|
371
|
-
/*
|
372
|
-
* This method takes a tokenized CSS property value `1px solid var(--foo , bar)`
|
373
|
-
* and transforms its custom variables in function calls
|
374
|
-
*/
|
375
|
-
function recursiveValueParse(node, inVarExpression = false) {
|
376
|
-
const { type, nodes, value } = node;
|
377
|
-
// If it has not type it means is the root, process its children
|
378
|
-
if (!type && nodes) {
|
379
|
-
return nodes.reduce((acc, n) => {
|
380
|
-
acc.push(...recursiveValueParse(n, inVarExpression));
|
381
|
-
return acc;
|
382
|
-
}, []);
|
383
|
-
}
|
384
|
-
if (type === 'comment') {
|
385
|
-
return [];
|
386
|
-
}
|
387
|
-
if (type === 'div') {
|
388
|
-
return [
|
389
|
-
{
|
390
|
-
type: inVarExpression ? TokenType.divider : TokenType.text,
|
391
|
-
value,
|
392
|
-
},
|
393
|
-
];
|
394
|
-
}
|
395
|
-
if (type === 'string') {
|
396
|
-
const { quote } = node;
|
397
|
-
return [
|
398
|
-
{
|
399
|
-
type: TokenType.text,
|
400
|
-
value: quote ? quote + value + quote : value,
|
401
|
-
},
|
402
|
-
];
|
403
|
-
}
|
404
|
-
// If we are inside a var() expression use need to stringify since we are converting it into a function
|
405
|
-
if (type === 'word') {
|
406
|
-
const convertIdentifier = value.startsWith('--');
|
407
|
-
if (convertIdentifier) {
|
408
|
-
return [{ type: TokenType.identifier, value: `"${value}"` }];
|
409
|
-
}
|
410
|
-
// For animation properties, the shadow/host attributes may be in this text
|
411
|
-
return tokenizeCss(value);
|
412
|
-
}
|
413
|
-
// If we inside a var() function we need to prepend and append to generate an expression
|
414
|
-
if (type === 'function') {
|
415
|
-
if (value === 'var') {
|
416
|
-
// `tokens` may include tokens of type `divider`, `expression`, `identifier`,
|
417
|
-
// and `text`. However, an identifier will only ever be adjacent to a divider,
|
418
|
-
// whereas text and expression tokens may be adjacent to one another. This is
|
419
|
-
// important below when inserting concatenetors.
|
420
|
-
//
|
421
|
-
// For fuller context, see the following conversation:
|
422
|
-
// https://github.com/salesforce/lwc/pull/2902#discussion_r904626421
|
423
|
-
let tokens = recursiveValueParse({ nodes }, true);
|
424
|
-
tokens = reduceTokens(tokens);
|
425
|
-
const exprToken = tokens.reduce((buffer, token, index) => {
|
426
|
-
const isTextToken = token.type === TokenType.text;
|
427
|
-
const normalizedToken = isTextToken ? JSON.stringify(token.value) : token.value;
|
428
|
-
const nextToken = tokens[index + 1];
|
429
|
-
// If we have a token sequence of text + expression or expression + text,
|
430
|
-
// we need to add the concatenation operator. Examples:
|
431
|
-
//
|
432
|
-
// Input: var(--x, 0 0 2px var(--y, #fff))
|
433
|
-
// Output: varResolver("--x", "0 0 2px " + varResolver("--y", "#fff"))
|
434
|
-
//
|
435
|
-
// Input: var(--x, var(--y, #fff) 0 0 2px)
|
436
|
-
// Output: varResolver("--x", varResolver("--y", "#fff") + " 0 0 2px"))
|
437
|
-
//
|
438
|
-
// Since identifier tokens will never be adjacent to text or expression
|
439
|
-
// tokens (see above comment), a concatenator will never be required if
|
440
|
-
// `token` or `nextToken` is an identifier.
|
441
|
-
const shouldAddConcatenator = isTextOrExpression(token) && nextToken && isTextOrExpression(nextToken);
|
442
|
-
const concatOperator = shouldAddConcatenator ? ' + ' : '';
|
443
|
-
return buffer + normalizedToken + concatOperator;
|
444
|
-
}, '');
|
445
|
-
// Generate the function call for runtime evaluation
|
446
|
-
return [
|
447
|
-
{
|
448
|
-
type: TokenType.expression,
|
449
|
-
value: `${VAR_RESOLVER_IDENTIFIER}(${exprToken})`,
|
450
|
-
},
|
451
|
-
];
|
452
|
-
// for any other function just do the equivalent string concatenation (no need for expressions)
|
453
|
-
}
|
454
|
-
else {
|
455
|
-
const tokens = nodes.reduce((acc, n) => {
|
456
|
-
acc.push(...recursiveValueParse(n, false));
|
457
|
-
return acc;
|
458
|
-
}, []);
|
459
|
-
return [
|
460
|
-
{ type: TokenType.text, value: `${value}(` },
|
461
|
-
...reduceTokens(tokens),
|
462
|
-
{ type: TokenType.text, value: ')' },
|
463
|
-
];
|
464
|
-
}
|
465
|
-
}
|
466
|
-
// For any other token types we just need to return text
|
467
|
-
return [{ type: TokenType.text, value }];
|
468
|
-
}
|
469
|
-
function tokenizeCssDeclaration(node) {
|
470
|
-
const valueRoot = postcssValueParser(node.value);
|
471
|
-
const parsed = recursiveValueParse(valueRoot);
|
472
|
-
return [{ type: TokenType.text, value: `${node.prop.trim()}: ` }, ...parsed];
|
473
|
-
}
|
474
343
|
|
475
344
|
function validateIdSelectors (root) {
|
476
345
|
root.walkIds((node) => {
|
@@ -482,7 +351,7 @@ function validateIdSelectors (root) {
|
|
482
351
|
});
|
483
352
|
}
|
484
353
|
|
485
|
-
function process$
|
354
|
+
function process$1(root, result, isScoped) {
|
486
355
|
root.walkAtRules('import', (node) => {
|
487
356
|
if (isScoped) {
|
488
357
|
throw node.error(`Invalid import statement, imports are not allowed in *.scoped.css files.`);
|
@@ -497,7 +366,7 @@ function process$2(root, result, isScoped) {
|
|
497
366
|
throw prev.error('@import must precede all other statements');
|
498
367
|
}
|
499
368
|
}
|
500
|
-
const { nodes: params } =
|
369
|
+
const { nodes: params } = valueParser(node.params);
|
501
370
|
// Ensure import match the following syntax:
|
502
371
|
// @import "foo";
|
503
372
|
// @import "./foo.css";
|
@@ -706,21 +575,6 @@ function transformSelector(root, transformConfig) {
|
|
706
575
|
}
|
707
576
|
}
|
708
577
|
|
709
|
-
function process$1(root, result) {
|
710
|
-
root.walkDecls((decl) => {
|
711
|
-
const valueRoot = postcssValueParser(decl.value);
|
712
|
-
let varFound = false;
|
713
|
-
valueRoot.walk(({ type, value }) => {
|
714
|
-
if (!varFound && type === 'function' && value === 'var') {
|
715
|
-
// Add the imported to results messages
|
716
|
-
const message = varFunctionMessage(value);
|
717
|
-
result.messages.push(message);
|
718
|
-
varFound = true;
|
719
|
-
}
|
720
|
-
});
|
721
|
-
});
|
722
|
-
}
|
723
|
-
|
724
578
|
/*
|
725
579
|
* Copyright (c) 2018, salesforce.com, inc.
|
726
580
|
* All rights reserved.
|
@@ -862,8 +716,7 @@ function postCssLwcPlugin(options) {
|
|
862
716
|
transformHost: true,
|
863
717
|
});
|
864
718
|
return (root, result) => {
|
865
|
-
process$
|
866
|
-
process$1(root, result);
|
719
|
+
process$1(root, result, options.scoped);
|
867
720
|
process(root);
|
868
721
|
root.walkRules((rule) => {
|
869
722
|
if (!shouldTransformSelector(rule)) {
|
@@ -907,5 +760,5 @@ function transform(src, id, config = {}) {
|
|
907
760
|
}
|
908
761
|
|
909
762
|
exports.transform = transform;
|
910
|
-
/** version: 3.
|
763
|
+
/** version: 3.2.0 */
|
911
764
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.cjs.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":["../src/utils/message.ts","../src/utils/selectors-scoping.ts","../src/utils/dir-pseudoclass.ts","../src/serialize.ts","../src/no-id-selectors/validate.ts","../src/css-import/transform.ts","../src/utils/rtl.ts","../src/utils/selector-parser.ts","../src/selector-scoping/validate.ts","../src/selector-scoping/transform.ts","../src/custom-properties/transform.ts","../src/dir-pseudo-class/transform.ts","../src/scope-at-rules/transform.ts","../src/postcss-lwc-plugin.ts","../src/transform.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["LWC_VERSION_COMMENT","KEY__SCOPED_CSS","process","valueParser","isPseudoClass","isCombinator","isPseudoElement","attribute","validateSelectors","parseValue","combinator","transformSelectorScoping","transformImport","transformCustomProperties","transformAtRules","getAPIVersionFromNumber","postcssLwc"],"mappings":";;;;;;;;;;;;;AAkBA,MAAM,WAAW,GAAG,qBAAqB,CAAC;AAE1C,MAAM,WAAW,GAAG,QAAQ,CAAC;AAC7B,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAEnC,SAAU,aAAa,CAAC,EAAU,EAAA;IACpC,OAAO;AACH,QAAA,MAAM,EAAE,WAAW;AACnB,QAAA,IAAI,EAAE,WAAW;QACjB,EAAE;KACL,CAAC;AACN,CAAC;AAEK,SAAU,eAAe,CAAC,OAAY,EAAA;IACxC,OAAO,OAAO,CAAC,IAAI,KAAK,WAAW,IAAI,OAAO,CAAC,EAAE,CAAC;AACtD,CAAC;AAEK,SAAU,kBAAkB,CAAC,QAAgB,EAAA;IAC/C,OAAO;AACH,QAAA,MAAM,EAAE,WAAW;AACnB,QAAA,IAAI,EAAE,iBAAiB;QACvB,QAAQ;KACX,CAAC;AACN,CAAC;AAEK,SAAU,oBAAoB,CAAC,OAAY,EAAA;IAC7C,OAAO,OAAO,CAAC,IAAI,KAAK,iBAAiB,IAAI,OAAO,CAAC,QAAQ,CAAC;AAClE;;AC7CA;;;;;AAKG;AACI,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAE3C,MAAM,gBAAgB,GAAG,qBAAqB;;ACRrD;;;;;AAKG;AACI,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAC7D,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAC7D,MAAM,2BAA2B,GAAG,8BAA8B,CAAC;AACnE,MAAM,2BAA2B,GAAG,8BAA8B;;ACTzE;;;;;AAKG;AAeH,IAAK,SAKJ,CAAA;AALD,CAAA,UAAK,SAAS,EAAA;AACV,IAAA,SAAA,CAAA,M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AG,6BAA6B,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;AACvE,YAAA,IAAI,CAAC,QAAQ,GAAG,iBAAiB,CAAC;;;YAGlC,IAAI,iBAAiB,KAAK,cAAc,EAAE;;;gBAGtC,MAAM,WAAW,GAAG,IAAI,CAAC;AACzB,gBAAA,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;AACtC,gBAAA,UAAU,CAAC,QAAQ,GAAG,cAAc,CAAC;;AAGpC,gBAAA,UAAkB,CAAC,aAAa,GAAG,IAAI,CAAC;AACxC,gBAAA,WAAmB,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAChD,aAAA;AACL,SAAC,CAAC,CAAC;AACP,KAAC,CAAC;AACN;;AC3EA;;;;;AAKG;AAqBG,SAAU,SAAS,CAAC,GAAW,EAAE,EAAU,EAAE,SAAiB,EAAE,EAAA;IAClE,IAAI,GAAG,KAAK,EAAE,EAAE;AACZ,QAAA,OAAO,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;AAC/C,KAAA;AAED,IAAA,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC;IAC/B,MAAM,UAAU,GAAGC,8BAAuB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAE9D,IAAA,MAAM,OAAO,GAAG,CAACC,gBAAU,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;IAErD,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAElE,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;AAC/C;;;;;;;"}
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../src/utils/message.ts","../src/utils/selectors-scoping.ts","../src/utils/dir-pseudoclass.ts","../src/serialize.ts","../src/no-id-selectors/validate.ts","../src/css-import/transform.ts","../src/utils/rtl.ts","../src/utils/selector-parser.ts","../src/selector-scoping/validate.ts","../src/selector-scoping/transform.ts","../src/dir-pseudo-class/transform.ts","../src/scope-at-rules/transform.ts","../src/postcss-lwc-plugin.ts","../src/transform.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["LWC_VERSION_COMMENT","KEY__SCOPED_CSS","process","isPseudoClass","isCombinator","isPseudoElement","attribute","validateSelectors","combinator","transformSelectorScoping","transformImport","transformAtRules","getAPIVersionFromNumber","postcssLwc"],"mappings":";;;;;;;;;;;;;AAaA,MAAM,WAAW,GAAG,qBAAqB,CAAC;AAE1C,MAAM,WAAW,GAAG,QAAQ,CAAC;AAEvB,SAAU,aAAa,CAAC,EAAU,EAAA;IACpC,OAAO;AACH,QAAA,MAAM,EAAE,WAAW;AACnB,QAAA,IAAI,EAAE,WAAW;QACjB,EAAE;KACL,CAAC;AACN,CAAC;AAEK,SAAU,eAAe,CAAC,OAAY,EAAA;IACxC,OAAO,OAAO,CAAC,IAAI,KAAK,WAAW,IAAI,OAAO,CAAC,EAAE,CAAC;AACtD;;AC3BA;;;;;AAKG;AACI,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAE3C,MAAM,gBAAgB,GAAG,qBAAqB;;ACRrD;;;;;AAKG;AACI,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAC7D,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAC7D,MAAM,2BAA2B,GAAG,8BAA8B,CAAC;AACnE,MAAM,2BAA2B,GAAG,8BAA8B;;ACTzE;;;;;AAKG;AAcH,IAAK,SAKJ,CAAA;AALD,CAAA,UAAK,SAAS,EAAA;AACV,IAAA,SAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,SAAA,CAAA,YAAA,CAAA,GAAA,YAAyB,CAAA;AACzB,IAAA,SAAA,CAAA,YAAA,CAAA,GAAA,YAAyB,CAAA;AACzB,IAA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C,QAAQ,GAAG,iBAAiB,CAAC;;;YAGlC,IAAI,iBAAiB,KAAK,cAAc,EAAE;;;gBAGtC,MAAM,WAAW,GAAG,IAAI,CAAC;AACzB,gBAAA,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;AACtC,gBAAA,UAAU,CAAC,QAAQ,GAAG,cAAc,CAAC;;AAGpC,gBAAA,UAAkB,CAAC,aAAa,GAAG,IAAI,CAAC;AACxC,gBAAA,WAAmB,CAAC,gBAAgB,GAAG,IAAI,CAAC;AAChD,aAAA;AACL,SAAC,CAAC,CAAC;AACP,KAAC,CAAC;AACN;;ACzEA;;;;;AAKG;AAyBG,SAAU,SAAS,CAAC,GAAW,EAAE,EAAU,EAAE,SAAiB,EAAE,EAAA;IAClE,IAAI,GAAG,KAAK,EAAE,EAAE;AACZ,QAAA,OAAO,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;AAC/C,KAAA;AAED,IAAA,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC;IAC/B,MAAM,UAAU,GAAGC,8BAAuB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAE9D,IAAA,MAAM,OAAO,GAAG,CAACC,gBAAU,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;IAErD,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAElE,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;AAC/C;;;;;;;"}
|
package/dist/index.js
CHANGED
@@ -3,13 +3,12 @@
|
|
3
3
|
*/
|
4
4
|
import postcss from 'postcss';
|
5
5
|
import { LWC_VERSION_COMMENT, KEY__SCOPED_CSS, getAPIVersionFromNumber } from '@lwc/shared';
|
6
|
-
import postcssValueParser from 'postcss-value-parser';
|
7
6
|
import matchAll from 'string.prototype.matchall';
|
8
7
|
import postCssSelector, { isPseudoClass, isCombinator, isPseudoElement, attribute, combinator } from 'postcss-selector-parser';
|
8
|
+
import valueParser from 'postcss-value-parser';
|
9
9
|
|
10
10
|
const PLUGIN_NAME = '@lwc/style-compiler';
|
11
11
|
const IMPORT_TYPE = 'import';
|
12
|
-
const VAR_FUNCTION_TYPE = 'var-function';
|
13
12
|
function importMessage(id) {
|
14
13
|
return {
|
15
14
|
plugin: PLUGIN_NAME,
|
@@ -20,16 +19,6 @@ function importMessage(id) {
|
|
20
19
|
function isImportMessage(message) {
|
21
20
|
return message.type === IMPORT_TYPE && message.id;
|
22
21
|
}
|
23
|
-
function varFunctionMessage(original) {
|
24
|
-
return {
|
25
|
-
plugin: PLUGIN_NAME,
|
26
|
-
type: VAR_FUNCTION_TYPE,
|
27
|
-
original,
|
28
|
-
};
|
29
|
-
}
|
30
|
-
function isVarFunctionMessage(message) {
|
31
|
-
return message.type === VAR_FUNCTION_TYPE && message.original;
|
32
|
-
}
|
33
22
|
|
34
23
|
/*
|
35
24
|
* Copyright (c) 2018, salesforce.com, inc.
|
@@ -77,19 +66,12 @@ const USE_ACTUAL_HOST_SELECTOR = 'useActualHostSelector';
|
|
77
66
|
const USE_NATIVE_DIR_PSEUDOCLASS = 'useNativeDirPseudoclass';
|
78
67
|
const TOKEN = 'token';
|
79
68
|
const STYLESHEET_IDENTIFIER = 'stylesheet';
|
80
|
-
const VAR_RESOLVER_IDENTIFIER = 'varResolver';
|
81
69
|
function serialize(result, config) {
|
82
70
|
const { messages } = result;
|
83
|
-
const collectVarFunctions = Boolean(config.customProperties && config.customProperties.resolverModule);
|
84
|
-
const useVarResolver = messages.some(isVarFunctionMessage);
|
85
71
|
const importedStylesheets = messages.filter(isImportMessage).map((message) => message.id);
|
86
72
|
const disableSyntheticShadow = Boolean(config.disableSyntheticShadowSupport);
|
87
73
|
const scoped = Boolean(config.scoped);
|
88
74
|
let buffer = '';
|
89
|
-
if (collectVarFunctions && useVarResolver) {
|
90
|
-
buffer += `import ${VAR_RESOLVER_IDENTIFIER} from "${config.customProperties
|
91
|
-
.resolverModule}";\n`;
|
92
|
-
}
|
93
75
|
for (let i = 0; i < importedStylesheets.length; i++) {
|
94
76
|
buffer += `import ${STYLESHEET_IDENTIFIER + i} from "${importedStylesheets[i]}";\n`;
|
95
77
|
}
|
@@ -97,7 +79,7 @@ function serialize(result, config) {
|
|
97
79
|
buffer += '\n';
|
98
80
|
}
|
99
81
|
const stylesheetList = importedStylesheets.map((_str, i) => `${STYLESHEET_IDENTIFIER + i}`);
|
100
|
-
const serializedStyle = serializeCss(result
|
82
|
+
const serializedStyle = serializeCss(result).trim();
|
101
83
|
if (serializedStyle) {
|
102
84
|
// inline function
|
103
85
|
if (disableSyntheticShadow && !scoped) {
|
@@ -232,7 +214,7 @@ function deduplicateHostTokens(nativeHostTokens, syntheticHostTokens) {
|
|
232
214
|
...syntheticHostTokens.slice(numUniqueSyntheticTokens),
|
233
215
|
];
|
234
216
|
}
|
235
|
-
function serializeCss(result
|
217
|
+
function serializeCss(result) {
|
236
218
|
const tokens = [];
|
237
219
|
let currentRuleTokens = [];
|
238
220
|
let nativeHostTokens;
|
@@ -272,14 +254,7 @@ function serializeCss(result, collectVarFunctions) {
|
|
272
254
|
// When inside a declaration, tokenize it and push it to the current token list
|
273
255
|
}
|
274
256
|
else if (node && node.type === 'decl') {
|
275
|
-
|
276
|
-
const declTokens = tokenizeCssDeclaration(node);
|
277
|
-
currentRuleTokens.push(...declTokens);
|
278
|
-
currentRuleTokens.push({ type: TokenType.text, value: ';' });
|
279
|
-
}
|
280
|
-
else {
|
281
|
-
currentRuleTokens.push(...tokenizeCss(part));
|
282
|
-
}
|
257
|
+
currentRuleTokens.push(...tokenizeCss(part));
|
283
258
|
}
|
284
259
|
else if (node && node.type === 'atrule') {
|
285
260
|
// Certain atrules have declaration associated with for example @font-face. We need to add the rules tokens
|
@@ -361,112 +336,6 @@ function tokenizeCss(data) {
|
|
361
336
|
}
|
362
337
|
return tokens;
|
363
338
|
}
|
364
|
-
function isTextOrExpression(token) {
|
365
|
-
return token.type === TokenType.text || token.type == TokenType.expression;
|
366
|
-
}
|
367
|
-
/*
|
368
|
-
* This method takes a tokenized CSS property value `1px solid var(--foo , bar)`
|
369
|
-
* and transforms its custom variables in function calls
|
370
|
-
*/
|
371
|
-
function recursiveValueParse(node, inVarExpression = false) {
|
372
|
-
const { type, nodes, value } = node;
|
373
|
-
// If it has not type it means is the root, process its children
|
374
|
-
if (!type && nodes) {
|
375
|
-
return nodes.reduce((acc, n) => {
|
376
|
-
acc.push(...recursiveValueParse(n, inVarExpression));
|
377
|
-
return acc;
|
378
|
-
}, []);
|
379
|
-
}
|
380
|
-
if (type === 'comment') {
|
381
|
-
return [];
|
382
|
-
}
|
383
|
-
if (type === 'div') {
|
384
|
-
return [
|
385
|
-
{
|
386
|
-
type: inVarExpression ? TokenType.divider : TokenType.text,
|
387
|
-
value,
|
388
|
-
},
|
389
|
-
];
|
390
|
-
}
|
391
|
-
if (type === 'string') {
|
392
|
-
const { quote } = node;
|
393
|
-
return [
|
394
|
-
{
|
395
|
-
type: TokenType.text,
|
396
|
-
value: quote ? quote + value + quote : value,
|
397
|
-
},
|
398
|
-
];
|
399
|
-
}
|
400
|
-
// If we are inside a var() expression use need to stringify since we are converting it into a function
|
401
|
-
if (type === 'word') {
|
402
|
-
const convertIdentifier = value.startsWith('--');
|
403
|
-
if (convertIdentifier) {
|
404
|
-
return [{ type: TokenType.identifier, value: `"${value}"` }];
|
405
|
-
}
|
406
|
-
// For animation properties, the shadow/host attributes may be in this text
|
407
|
-
return tokenizeCss(value);
|
408
|
-
}
|
409
|
-
// If we inside a var() function we need to prepend and append to generate an expression
|
410
|
-
if (type === 'function') {
|
411
|
-
if (value === 'var') {
|
412
|
-
// `tokens` may include tokens of type `divider`, `expression`, `identifier`,
|
413
|
-
// and `text`. However, an identifier will only ever be adjacent to a divider,
|
414
|
-
// whereas text and expression tokens may be adjacent to one another. This is
|
415
|
-
// important below when inserting concatenetors.
|
416
|
-
//
|
417
|
-
// For fuller context, see the following conversation:
|
418
|
-
// https://github.com/salesforce/lwc/pull/2902#discussion_r904626421
|
419
|
-
let tokens = recursiveValueParse({ nodes }, true);
|
420
|
-
tokens = reduceTokens(tokens);
|
421
|
-
const exprToken = tokens.reduce((buffer, token, index) => {
|
422
|
-
const isTextToken = token.type === TokenType.text;
|
423
|
-
const normalizedToken = isTextToken ? JSON.stringify(token.value) : token.value;
|
424
|
-
const nextToken = tokens[index + 1];
|
425
|
-
// If we have a token sequence of text + expression or expression + text,
|
426
|
-
// we need to add the concatenation operator. Examples:
|
427
|
-
//
|
428
|
-
// Input: var(--x, 0 0 2px var(--y, #fff))
|
429
|
-
// Output: varResolver("--x", "0 0 2px " + varResolver("--y", "#fff"))
|
430
|
-
//
|
431
|
-
// Input: var(--x, var(--y, #fff) 0 0 2px)
|
432
|
-
// Output: varResolver("--x", varResolver("--y", "#fff") + " 0 0 2px"))
|
433
|
-
//
|
434
|
-
// Since identifier tokens will never be adjacent to text or expression
|
435
|
-
// tokens (see above comment), a concatenator will never be required if
|
436
|
-
// `token` or `nextToken` is an identifier.
|
437
|
-
const shouldAddConcatenator = isTextOrExpression(token) && nextToken && isTextOrExpression(nextToken);
|
438
|
-
const concatOperator = shouldAddConcatenator ? ' + ' : '';
|
439
|
-
return buffer + normalizedToken + concatOperator;
|
440
|
-
}, '');
|
441
|
-
// Generate the function call for runtime evaluation
|
442
|
-
return [
|
443
|
-
{
|
444
|
-
type: TokenType.expression,
|
445
|
-
value: `${VAR_RESOLVER_IDENTIFIER}(${exprToken})`,
|
446
|
-
},
|
447
|
-
];
|
448
|
-
// for any other function just do the equivalent string concatenation (no need for expressions)
|
449
|
-
}
|
450
|
-
else {
|
451
|
-
const tokens = nodes.reduce((acc, n) => {
|
452
|
-
acc.push(...recursiveValueParse(n, false));
|
453
|
-
return acc;
|
454
|
-
}, []);
|
455
|
-
return [
|
456
|
-
{ type: TokenType.text, value: `${value}(` },
|
457
|
-
...reduceTokens(tokens),
|
458
|
-
{ type: TokenType.text, value: ')' },
|
459
|
-
];
|
460
|
-
}
|
461
|
-
}
|
462
|
-
// For any other token types we just need to return text
|
463
|
-
return [{ type: TokenType.text, value }];
|
464
|
-
}
|
465
|
-
function tokenizeCssDeclaration(node) {
|
466
|
-
const valueRoot = postcssValueParser(node.value);
|
467
|
-
const parsed = recursiveValueParse(valueRoot);
|
468
|
-
return [{ type: TokenType.text, value: `${node.prop.trim()}: ` }, ...parsed];
|
469
|
-
}
|
470
339
|
|
471
340
|
function validateIdSelectors (root) {
|
472
341
|
root.walkIds((node) => {
|
@@ -478,7 +347,7 @@ function validateIdSelectors (root) {
|
|
478
347
|
});
|
479
348
|
}
|
480
349
|
|
481
|
-
function process$
|
350
|
+
function process$1(root, result, isScoped) {
|
482
351
|
root.walkAtRules('import', (node) => {
|
483
352
|
if (isScoped) {
|
484
353
|
throw node.error(`Invalid import statement, imports are not allowed in *.scoped.css files.`);
|
@@ -493,7 +362,7 @@ function process$2(root, result, isScoped) {
|
|
493
362
|
throw prev.error('@import must precede all other statements');
|
494
363
|
}
|
495
364
|
}
|
496
|
-
const { nodes: params } =
|
365
|
+
const { nodes: params } = valueParser(node.params);
|
497
366
|
// Ensure import match the following syntax:
|
498
367
|
// @import "foo";
|
499
368
|
// @import "./foo.css";
|
@@ -702,21 +571,6 @@ function transformSelector(root, transformConfig) {
|
|
702
571
|
}
|
703
572
|
}
|
704
573
|
|
705
|
-
function process$1(root, result) {
|
706
|
-
root.walkDecls((decl) => {
|
707
|
-
const valueRoot = postcssValueParser(decl.value);
|
708
|
-
let varFound = false;
|
709
|
-
valueRoot.walk(({ type, value }) => {
|
710
|
-
if (!varFound && type === 'function' && value === 'var') {
|
711
|
-
// Add the imported to results messages
|
712
|
-
const message = varFunctionMessage(value);
|
713
|
-
result.messages.push(message);
|
714
|
-
varFound = true;
|
715
|
-
}
|
716
|
-
});
|
717
|
-
});
|
718
|
-
}
|
719
|
-
|
720
574
|
/*
|
721
575
|
* Copyright (c) 2018, salesforce.com, inc.
|
722
576
|
* All rights reserved.
|
@@ -858,8 +712,7 @@ function postCssLwcPlugin(options) {
|
|
858
712
|
transformHost: true,
|
859
713
|
});
|
860
714
|
return (root, result) => {
|
861
|
-
process$
|
862
|
-
process$1(root, result);
|
715
|
+
process$1(root, result, options.scoped);
|
863
716
|
process(root);
|
864
717
|
root.walkRules((rule) => {
|
865
718
|
if (!shouldTransformSelector(rule)) {
|
@@ -903,5 +756,5 @@ function transform(src, id, config = {}) {
|
|
903
756
|
}
|
904
757
|
|
905
758
|
export { transform };
|
906
|
-
/** version: 3.
|
759
|
+
/** version: 3.2.0 */
|
907
760
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/utils/message.ts","../src/utils/selectors-scoping.ts","../src/utils/dir-pseudoclass.ts","../src/serialize.ts","../src/no-id-selectors/validate.ts","../src/css-import/transform.ts","../src/utils/rtl.ts","../src/utils/selector-parser.ts","../src/selector-scoping/validate.ts","../src/selector-scoping/transform.ts","../src/custom-properties/transform.ts","../src/dir-pseudo-class/transform.ts","../src/scope-at-rules/transform.ts","../src/postcss-lwc-plugin.ts","../src/transform.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["process","valueParser","validateSelectors","parseValue","transformSelectorScoping","transformImport","transformCustomProperties","transformAtRules","postcssLwc"],"mappings":";;;;;;;;;AAkBA,MAAM,WAAW,GAAG,qBAAqB,CAAC;AAE1C,MAAM,WAAW,GAAG,QAAQ,CAAC;AAC7B,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAEnC,SAAU,aAAa,CAAC,EAAU,EAAA;IACpC,OAAO;AACH,QAAA,MAAM,EAAE,WAAW;AACnB,QAAA,IAAI,EAAE,WAAW;QACjB,EAAE;KACL,CAAC;AACN,CAA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CAAC,GAAW,EAAE,EAAU,EAAE,SAAiB,EAAE,EAAA;IAClE,IAAI,GAAG,KAAK,EAAE,EAAE;AACZ,QAAA,OAAO,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;AAC/C,KAAA;AAED,IAAA,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC;IAC/B,MAAM,UAAU,GAAG,uBAAuB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAE9D,IAAA,MAAM,OAAO,GAAG,CAACC,gBAAU,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;IAErD,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAElE,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;AAC/C;;;;;;;"}
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/utils/message.ts","../src/utils/selectors-scoping.ts","../src/utils/dir-pseudoclass.ts","../src/serialize.ts","../src/no-id-selectors/validate.ts","../src/css-import/transform.ts","../src/utils/rtl.ts","../src/utils/selector-parser.ts","../src/selector-scoping/validate.ts","../src/selector-scoping/transform.ts","../src/dir-pseudo-class/transform.ts","../src/scope-at-rules/transform.ts","../src/postcss-lwc-plugin.ts","../src/transform.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["process","validateSelectors","transformSelectorScoping","transformImport","transformAtRules","postcssLwc"],"mappings":";;;;;;;;;AAaA,MAAM,WAAW,GAAG,qBAAqB,CAAC;AAE1C,MAAM,WAAW,GAAG,QAAQ,CAAC;AAEvB,SAAU,aAAa,CAAC,EAAU,EAAA;IACpC,OAAO;AACH,QAAA,MAAM,EAAE,WAAW;AACnB,QAAA,IAAI,EAAE,WAAW;QACjB,EAAE;KACL,CAAC;AAC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AC,MAAM,CAAC,MAAM,CAAC;IAC/B,MAAM,UAAU,GAAG,uBAAuB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAE9D,IAAA,MAAM,OAAO,GAAG,CAACC,gBAAU,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;IAErD,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAElE,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;AAC/C;;;;;;;"}
|
package/dist/transform.d.ts
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
export interface Config {
|
2
|
-
/**
|
2
|
+
/**
|
3
|
+
* @deprecated - Custom property transforms are deprecated because IE11 and other legacy browsers are no longer supported.
|
4
|
+
* CSS custom properties configuration
|
5
|
+
*/
|
3
6
|
customProperties?: {
|
4
7
|
/** Name of the module to resolve custom properties lookup */
|
5
8
|
resolverModule?: string;
|
package/dist/utils/message.d.ts
CHANGED
@@ -3,12 +3,6 @@ interface ImportMessage extends Message {
|
|
3
3
|
type: 'import';
|
4
4
|
id: string;
|
5
5
|
}
|
6
|
-
interface VarFunctionMessage extends Message {
|
7
|
-
type: 'var-function';
|
8
|
-
original: string;
|
9
|
-
}
|
10
6
|
export declare function importMessage(id: string): ImportMessage;
|
11
7
|
export declare function isImportMessage(message: any): message is ImportMessage;
|
12
|
-
export declare function varFunctionMessage(original: string): VarFunctionMessage;
|
13
|
-
export declare function isVarFunctionMessage(message: any): message is VarFunctionMessage;
|
14
8
|
export {};
|
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": "3.
|
7
|
+
"version": "3.2.0",
|
8
8
|
"description": "Transform style sheet to be consumed by the LWC engine",
|
9
9
|
"keywords": [
|
10
10
|
"lwc"
|
@@ -36,13 +36,13 @@
|
|
36
36
|
"targets": {
|
37
37
|
"build": {
|
38
38
|
"outputs": [
|
39
|
-
"
|
39
|
+
"{projectRoot}/dist"
|
40
40
|
]
|
41
41
|
}
|
42
42
|
}
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@lwc/shared": "3.
|
45
|
+
"@lwc/shared": "3.2.0",
|
46
46
|
"postcss": "~8.4.27",
|
47
47
|
"postcss-selector-parser": "~6.0.13",
|
48
48
|
"postcss-value-parser": "~4.2.0",
|