@stencil/core 4.41.1 → 4.41.2-dev.1768885840.75e7562
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/cli/index.cjs +1 -18
- package/cli/index.js +1 -18
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +37 -11
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -19
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +199 -1826
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/client/shadow-css.js +3 -3
- package/internal/hydrate/index.js +5114 -5089
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +224 -241
- package/internal/package.json +1 -1
- package/internal/stencil-public-compiler.d.ts +10 -0
- package/internal/testing/index.js +98 -68
- package/internal/testing/jsx-dev-runtime.d.ts +2 -0
- package/internal/testing/jsx-dev-runtime.js +8 -0
- package/internal/testing/jsx-runtime.d.ts +2 -0
- package/internal/testing/jsx-runtime.js +9 -0
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +3 -3
- package/mock-doc/index.js +3 -3
- package/mock-doc/package.json +1 -1
- package/package.json +13 -2
- package/screenshot/index.js +1 -18
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +28 -28
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +19 -1
- package/testing/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/client",
|
|
3
|
-
"version": "4.41.
|
|
3
|
+
"version": "4.41.2-dev.1768885840.75e7562",
|
|
4
4
|
"description": "Stencil internal client platform to be imported by the Stencil Compiler and internal runtime. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"exports": "./index.js",
|
|
@@ -68,9 +68,6 @@ var createSupportsRuleRe = (selector) => {
|
|
|
68
68
|
"g"
|
|
69
69
|
);
|
|
70
70
|
};
|
|
71
|
-
var _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
72
|
-
var _colonHostRe = createSupportsRuleRe(":host");
|
|
73
|
-
var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
74
71
|
var _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
75
72
|
var stripComments = (input) => {
|
|
76
73
|
return input.replace(_commentRe, "");
|
|
@@ -148,6 +145,9 @@ var insertPolyfillHostInCssText = (cssText) => {
|
|
|
148
145
|
supportsBlocks.push(selectorContent);
|
|
149
146
|
return `@supports selector(${placeholder})`;
|
|
150
147
|
});
|
|
148
|
+
const _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
149
|
+
const _colonHostRe = createSupportsRuleRe(":host");
|
|
150
|
+
const _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
151
151
|
cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
|
|
152
152
|
supportsBlocks.forEach((originalSelector, index) => {
|
|
153
153
|
cssText = cssText.replace(`__supports_${index}__`, originalSelector);
|