@stencil/core 5.0.0-alpha.31 → 5.0.0-alpha.32
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/dist/{client-D1MsT-Rp.mjs → client-C3HYn-8p.mjs} +14 -2
- package/dist/compiler/index.mjs +3 -3
- package/dist/{compiler-Cddp97Pg.mjs → compiler-D2MlfN4O.mjs} +13 -13
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/{node-BQR4L-TG.mjs → node-DRT35FuO.mjs} +1 -1
- package/dist/runtime/client/lazy.js +14 -2
- package/dist/runtime/client/runtime.js +14 -2
- package/dist/runtime/index.js +14 -2
- package/dist/runtime/server/index.mjs +14 -2
- package/dist/sys/node/index.mjs +1 -1
- package/dist/sys/node/worker.mjs +2 -2
- package/dist/testing/index.mjs +3 -3
- package/package.json +4 -4
|
@@ -1637,7 +1637,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1637
1637
|
}
|
|
1638
1638
|
}
|
|
1639
1639
|
if (newValue == null || newValue === false) {
|
|
1640
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
1640
|
+
if (newValue !== false || elm.getAttribute(memberName) === "" || flags & VNODE_FLAGS.isHost && !isEnumeratedAttribute(memberName)) {
|
|
1641
1641
|
if (BUILD.vdomXlink && xlink) elm.removeAttributeNS(XLINK_NS, memberName);
|
|
1642
1642
|
else elm.removeAttribute(memberName);
|
|
1643
1643
|
}
|
|
@@ -1648,6 +1648,18 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
1650
|
};
|
|
1651
|
+
/**
|
|
1652
|
+
* Attribute names that are enumerated (tri-state true/false/unset) rather than
|
|
1653
|
+
* plain boolean-presence attributes. An explicit `"false"` string on one of
|
|
1654
|
+
* these is semantically different from the attribute being absent, so a
|
|
1655
|
+
* reflected `false` value must not clear a pre-existing literal value.
|
|
1656
|
+
*/
|
|
1657
|
+
const ENUMERATED_ATTRIBUTES = /*@__PURE__*/ new Set([
|
|
1658
|
+
"draggable",
|
|
1659
|
+
"contenteditable",
|
|
1660
|
+
"spellcheck"
|
|
1661
|
+
]);
|
|
1662
|
+
const isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
1651
1663
|
const parseClassListRegex = /\s/;
|
|
1652
1664
|
/**
|
|
1653
1665
|
* Parsed a string of classnames into an array
|
|
@@ -2265,7 +2277,7 @@ const insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
2265
2277
|
return newNode;
|
|
2266
2278
|
}
|
|
2267
2279
|
}
|
|
2268
|
-
if (parent
|
|
2280
|
+
if (BUILD.slotRelocation && parent?.__insertBefore) return parent.__insertBefore(newNode, reference);
|
|
2269
2281
|
else return parent?.insertBefore(newNode, reference);
|
|
2270
2282
|
};
|
|
2271
2283
|
/**
|
package/dist/compiler/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as scopeCss } from "../client-
|
|
2
|
-
import { C as version, S as vermoji, _ as cmpMetaToDocsComponent, a as createPrerenderer, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as generateManifest, i as createSystem, l as createWorkerMessageHandler, m as validateConfig, n as transpile, o as loadConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, w as versions, x as buildId, y as getScopeId } from "../compiler-
|
|
3
|
-
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-
|
|
1
|
+
import { f as scopeCss } from "../client-C3HYn-8p.mjs";
|
|
2
|
+
import { C as version, S as vermoji, _ as cmpMetaToDocsComponent, a as createPrerenderer, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as generateManifest, i as createSystem, l as createWorkerMessageHandler, m as validateConfig, n as transpile, o as loadConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, w as versions, x as buildId, y as getScopeId } from "../compiler-D2MlfN4O.mjs";
|
|
3
|
+
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-DRT35FuO.mjs";
|
|
4
4
|
export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, generateManifest, getScopeId, loadConfig, nodeRequire, optimizeCss, optimizeJs, scopeCss, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __require } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
2
|
-
import { O as HYDRATED_CSS, f as scopeCss } from "./client-
|
|
2
|
+
import { O as HYDRATED_CSS, f as scopeCss } from "./client-C3HYn-8p.mjs";
|
|
3
3
|
import { $ as TYPES, B as GLOBAL_STYLE, C as ASSETS, D as COLLECTION_MANIFEST_FILE_NAME, E as COLLECTION_APP_DATA_FILE_NAME, F as DOCS_JSON, I as DOCS_README, O as COPY, R as EVENT_FLAGS, T as COLLECTION, W as LOADER_BUNDLE, X as STATS, Y as STANDALONE, Z as STYLE_EXT, _ as sortBy, a as fromEntries, b as toTitleCase, d as isNumber$1, et as VALID_CONFIG_OUTPUT_TARGETS, f as isObject, h as noop, i as flatOne, j as DIST_LAZY, l as isFunction, m as mergeIntoWith, n as dashToPascalCase, o as isBoolean$1, p as isString$1, tt as WATCH_FLAGS, u as isIterable, x as unique, y as toDashCase, z as GENERATED_DTS } from "./regular-expression-XqU5zmPp.mjs";
|
|
4
4
|
import { S as formatComponentRuntimeMeta, T as byteSize, _ as loadRolldownDiagnostics, a as getSourceMappingUrlForEndOfFile, b as splitLineBreaks, c as err, f as augmentDiagnosticWithNode, g as isRolldownError, h as createOnWarnFn, i as getInlineSourceMappingUrlLinker, l as map, m as loadTypeScriptDiagnostics, n as validateComponentTag, p as loadTypeScriptDiagnostic, r as isRemoteUrl, s as rolldownToStencilSourceMap, t as validateComponentModes, u as ok, w as stringifyRuntimeData, x as isRootPath, y as normalizeDiagnostics } from "./validation-Dd3g77T5.mjs";
|
|
5
5
|
import { $ as catchError, A as isOutputTargetDocsVscode, B as relativeImport, C as isOutputTargetDistLazy, D as isOutputTargetDocsCustomElementsManifest, E as isOutputTargetDocsCustom, F as isOutputTargetStandalone, G as normalizeFsPathQuery, H as join$2, I as isOutputTargetStats, J as resolve$2, K as normalizePath, L as isOutputTargetTypes, M as isOutputTargetLoaderBundle, N as isOutputTargetSsr, O as isOutputTargetDocsJson, P as isOutputTargetSsrWasm, Q as buildWarn, R as isOutputTargetWww, S as isOutputTargetCustom, T as isOutputTargetDocsAgentSkill, W as normalizeFsPath, X as buildError, Z as buildJsonFileError, a as hasDependency, b as isOutputTargetCollection, d as parsePackageJson, et as hasError, f as readOnlyArrayHasStringMember, g as getComponentsDtsSrcFilePath, h as filterExcludedComponents, i as getTextDocs, j as isOutputTargetGlobalStyle, k as isOutputTargetDocsReadme, l as isTsFile, m as filterActiveTargets, n as createJsVarName, o as isDtsFile, p as readPackageJson, q as relative$1, r as generatePreamble, rt as isGlob, t as addDocBlock, tt as hasWarning, u as isTsxFile, v as getComponentsFromModules, w as isOutputTargetDocs, x as isOutputTargetCopy, y as isOutputTargetAssets, z as isValidConfigOutputTarget } from "./util-BIa-iHnt.mjs";
|
|
6
|
-
import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node-
|
|
6
|
+
import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node-DRT35FuO.mjs";
|
|
7
7
|
import ts, { default as ts$1 } from "typescript";
|
|
8
8
|
import { readFileSync } from "node:fs";
|
|
9
9
|
import { basename, dirname, isAbsolute, join, resolve } from "node:path";
|
|
@@ -29,9 +29,9 @@ import { createJiti } from "jiti";
|
|
|
29
29
|
import * as process$1 from "process";
|
|
30
30
|
import { dataToEsm } from "@rollup/pluginutils";
|
|
31
31
|
//#region src/version.ts
|
|
32
|
-
const version = "5.0.0-alpha.
|
|
33
|
-
const buildId = "
|
|
34
|
-
const vermoji = "
|
|
32
|
+
const version = "5.0.0-alpha.32";
|
|
33
|
+
const buildId = "1787268004";
|
|
34
|
+
const vermoji = "🍦";
|
|
35
35
|
/**
|
|
36
36
|
* Get the installed version of a tool/dependency.
|
|
37
37
|
* Handles packages with exports maps that point to subdirectories.
|
|
@@ -6461,7 +6461,7 @@ const generateEsmBrowser = async (config, compilerCtx, buildCtx, rolldownBuild,
|
|
|
6461
6461
|
if (output != null) {
|
|
6462
6462
|
const es2017destinations = esmOutputs.map((o) => o.esmDir).filter((esmDir) => typeof esmDir === "string");
|
|
6463
6463
|
buildCtx.esmBrowserComponentBundle = await generateLazyModules(config, compilerCtx, buildCtx, outputTargetType, es2017destinations, output, "es2017", true);
|
|
6464
|
-
await
|
|
6464
|
+
await writeEsmForwardingModules(config, compilerCtx, outputTargetType, es2017destinations);
|
|
6465
6465
|
}
|
|
6466
6466
|
}
|
|
6467
6467
|
return {
|
|
@@ -6470,7 +6470,7 @@ const generateEsmBrowser = async (config, compilerCtx, buildCtx, rolldownBuild,
|
|
|
6470
6470
|
};
|
|
6471
6471
|
};
|
|
6472
6472
|
/**
|
|
6473
|
-
* Write
|
|
6473
|
+
* Write backwards-compatible forwarding modules that re-export from the new .js files.
|
|
6474
6474
|
* This allows existing CDN consumers with hardcoded .esm.js references to continue working.
|
|
6475
6475
|
*
|
|
6476
6476
|
* @param config the Stencil configuration
|
|
@@ -6478,13 +6478,13 @@ const generateEsmBrowser = async (config, compilerCtx, buildCtx, rolldownBuild,
|
|
|
6478
6478
|
* @param outputTargetType the output target type for file writing
|
|
6479
6479
|
* @param destinations the destination directories to write forwarding modules to
|
|
6480
6480
|
*/
|
|
6481
|
-
const
|
|
6482
|
-
const
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
const filePath = join$2(dest, `${
|
|
6481
|
+
const writeEsmForwardingModules = async (config, compilerCtx, outputTargetType, destinations) => {
|
|
6482
|
+
const entryNames = [config.fsNamespace, "index"];
|
|
6483
|
+
await Promise.all(destinations.flatMap((dest) => entryNames.map((name) => {
|
|
6484
|
+
const forwardingCode = `import './${name}.js';\nexport * from './${name}.js';\n`;
|
|
6485
|
+
const filePath = join$2(dest, `${name}.esm.js`);
|
|
6486
6486
|
return compilerCtx.fs.writeFile(filePath, forwardingCode, { outputTargetType });
|
|
6487
|
-
}));
|
|
6487
|
+
})));
|
|
6488
6488
|
};
|
|
6489
6489
|
//#endregion
|
|
6490
6490
|
//#region src/compiler/output-targets/dist-lazy/generate-loader.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as setAssetPath, E as setPlatformHelpers, I as Build, N as setErrorHandler, S as getAssetPath, T as writeTask, a as transformTag, b as getElement, c as Mixin, d as setMode, g as getRenderingRef, h as forceUpdate, i as setTagTransformer, m as h, o as render, p as Host, s as ReactiveControllerHost, u as getMode, w as readTask, x as getShadowRoot } from "./client-
|
|
1
|
+
import { C as setAssetPath, E as setPlatformHelpers, I as Build, N as setErrorHandler, S as getAssetPath, T as writeTask, a as transformTag, b as getElement, c as Mixin, d as setMode, g as getRenderingRef, h as forceUpdate, i as setTagTransformer, m as h, o as render, p as Host, s as ReactiveControllerHost, u as getMode, w as readTask, x as getShadowRoot } from "./client-C3HYn-8p.mjs";
|
|
2
2
|
import { t as Fragment } from "./fragment-Di1hWOC8.mjs";
|
|
3
3
|
//#region src/client/client-decorators.ts
|
|
4
4
|
/**
|
package/dist/jsx-runtime.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __require } from "./rolldown-runtime-BhDjJH2R.mjs";
|
|
2
|
-
import "./client-
|
|
2
|
+
import "./client-C3HYn-8p.mjs";
|
|
3
3
|
import { h as noop, i as flatOne, l as isFunction, p as isString } from "./regular-expression-XqU5zmPp.mjs";
|
|
4
4
|
import { $ as catchError, K as normalizePath, X as buildError, Y as TASK_CANCELED_MSG, nt as shouldIgnoreError, rt as isGlob } from "./util-BIa-iHnt.mjs";
|
|
5
5
|
import fs from "node:fs";
|
|
@@ -1865,7 +1865,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1865
1865
|
}
|
|
1866
1866
|
}
|
|
1867
1867
|
if (newValue == null || newValue === false) {
|
|
1868
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
1868
|
+
if (newValue !== false || elm.getAttribute(memberName) === "" || flags & VNODE_FLAGS.isHost && !isEnumeratedAttribute(memberName)) {
|
|
1869
1869
|
if (BUILD.vdomXlink && xlink) elm.removeAttributeNS(XLINK_NS, memberName);
|
|
1870
1870
|
else elm.removeAttribute(memberName);
|
|
1871
1871
|
}
|
|
@@ -1876,6 +1876,18 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1876
1876
|
}
|
|
1877
1877
|
}
|
|
1878
1878
|
};
|
|
1879
|
+
/**
|
|
1880
|
+
* Attribute names that are enumerated (tri-state true/false/unset) rather than
|
|
1881
|
+
* plain boolean-presence attributes. An explicit `"false"` string on one of
|
|
1882
|
+
* these is semantically different from the attribute being absent, so a
|
|
1883
|
+
* reflected `false` value must not clear a pre-existing literal value.
|
|
1884
|
+
*/
|
|
1885
|
+
const ENUMERATED_ATTRIBUTES = /*@__PURE__*/ new Set([
|
|
1886
|
+
"draggable",
|
|
1887
|
+
"contenteditable",
|
|
1888
|
+
"spellcheck"
|
|
1889
|
+
]);
|
|
1890
|
+
const isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
1879
1891
|
const parseClassListRegex = /\s/;
|
|
1880
1892
|
/**
|
|
1881
1893
|
* Parsed a string of classnames into an array
|
|
@@ -2493,7 +2505,7 @@ const insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
2493
2505
|
return newNode;
|
|
2494
2506
|
}
|
|
2495
2507
|
}
|
|
2496
|
-
if (parent
|
|
2508
|
+
if (BUILD.slotRelocation && parent?.__insertBefore) return parent.__insertBefore(newNode, reference);
|
|
2497
2509
|
else return parent?.insertBefore(newNode, reference);
|
|
2498
2510
|
};
|
|
2499
2511
|
/**
|
|
@@ -1859,7 +1859,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1859
1859
|
}
|
|
1860
1860
|
}
|
|
1861
1861
|
if (newValue == null || newValue === false) {
|
|
1862
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
1862
|
+
if (newValue !== false || elm.getAttribute(memberName) === "" || flags & VNODE_FLAGS.isHost && !isEnumeratedAttribute(memberName)) {
|
|
1863
1863
|
if (BUILD$1.vdomXlink && xlink) elm.removeAttributeNS(XLINK_NS, memberName);
|
|
1864
1864
|
else elm.removeAttribute(memberName);
|
|
1865
1865
|
}
|
|
@@ -1870,6 +1870,18 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1870
1870
|
}
|
|
1871
1871
|
}
|
|
1872
1872
|
};
|
|
1873
|
+
/**
|
|
1874
|
+
* Attribute names that are enumerated (tri-state true/false/unset) rather than
|
|
1875
|
+
* plain boolean-presence attributes. An explicit `"false"` string on one of
|
|
1876
|
+
* these is semantically different from the attribute being absent, so a
|
|
1877
|
+
* reflected `false` value must not clear a pre-existing literal value.
|
|
1878
|
+
*/
|
|
1879
|
+
const ENUMERATED_ATTRIBUTES = /*@__PURE__*/ new Set([
|
|
1880
|
+
"draggable",
|
|
1881
|
+
"contenteditable",
|
|
1882
|
+
"spellcheck"
|
|
1883
|
+
]);
|
|
1884
|
+
const isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
1873
1885
|
const parseClassListRegex = /\s/;
|
|
1874
1886
|
/**
|
|
1875
1887
|
* Parsed a string of classnames into an array
|
|
@@ -2487,7 +2499,7 @@ const insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
2487
2499
|
return newNode;
|
|
2488
2500
|
}
|
|
2489
2501
|
}
|
|
2490
|
-
if (parent
|
|
2502
|
+
if (BUILD$1.slotRelocation && parent?.__insertBefore) return parent.__insertBefore(newNode, reference);
|
|
2491
2503
|
else return parent?.insertBefore(newNode, reference);
|
|
2492
2504
|
};
|
|
2493
2505
|
/**
|
package/dist/runtime/index.js
CHANGED
|
@@ -1731,7 +1731,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1731
1731
|
}
|
|
1732
1732
|
}
|
|
1733
1733
|
if (newValue == null || newValue === false) {
|
|
1734
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
1734
|
+
if (newValue !== false || elm.getAttribute(memberName) === "" || flags & VNODE_FLAGS.isHost && !isEnumeratedAttribute(memberName)) {
|
|
1735
1735
|
if (BUILD.vdomXlink && xlink) elm.removeAttributeNS(XLINK_NS, memberName);
|
|
1736
1736
|
else elm.removeAttribute(memberName);
|
|
1737
1737
|
}
|
|
@@ -1742,6 +1742,18 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
1744
|
};
|
|
1745
|
+
/**
|
|
1746
|
+
* Attribute names that are enumerated (tri-state true/false/unset) rather than
|
|
1747
|
+
* plain boolean-presence attributes. An explicit `"false"` string on one of
|
|
1748
|
+
* these is semantically different from the attribute being absent, so a
|
|
1749
|
+
* reflected `false` value must not clear a pre-existing literal value.
|
|
1750
|
+
*/
|
|
1751
|
+
const ENUMERATED_ATTRIBUTES = /*@__PURE__*/ new Set([
|
|
1752
|
+
"draggable",
|
|
1753
|
+
"contenteditable",
|
|
1754
|
+
"spellcheck"
|
|
1755
|
+
]);
|
|
1756
|
+
const isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
1745
1757
|
const parseClassListRegex = /\s/;
|
|
1746
1758
|
/**
|
|
1747
1759
|
* Parsed a string of classnames into an array
|
|
@@ -2359,7 +2371,7 @@ const insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
2359
2371
|
return newNode;
|
|
2360
2372
|
}
|
|
2361
2373
|
}
|
|
2362
|
-
if (parent
|
|
2374
|
+
if (BUILD.slotRelocation && parent?.__insertBefore) return parent.__insertBefore(newNode, reference);
|
|
2363
2375
|
else return parent?.insertBefore(newNode, reference);
|
|
2364
2376
|
};
|
|
2365
2377
|
/**
|
|
@@ -1479,7 +1479,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1479
1479
|
}
|
|
1480
1480
|
}
|
|
1481
1481
|
if (newValue == null || newValue === false) {
|
|
1482
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
|
1482
|
+
if (newValue !== false || elm.getAttribute(memberName) === "" || flags & VNODE_FLAGS.isHost && !isEnumeratedAttribute(memberName)) {
|
|
1483
1483
|
if (BUILD$1.vdomXlink && xlink) elm.removeAttributeNS(XLINK_NS, memberName);
|
|
1484
1484
|
else elm.removeAttribute(memberName);
|
|
1485
1485
|
}
|
|
@@ -1490,6 +1490,18 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialR
|
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
1492
|
};
|
|
1493
|
+
/**
|
|
1494
|
+
* Attribute names that are enumerated (tri-state true/false/unset) rather than
|
|
1495
|
+
* plain boolean-presence attributes. An explicit `"false"` string on one of
|
|
1496
|
+
* these is semantically different from the attribute being absent, so a
|
|
1497
|
+
* reflected `false` value must not clear a pre-existing literal value.
|
|
1498
|
+
*/
|
|
1499
|
+
const ENUMERATED_ATTRIBUTES = /*@__PURE__*/ new Set([
|
|
1500
|
+
"draggable",
|
|
1501
|
+
"contenteditable",
|
|
1502
|
+
"spellcheck"
|
|
1503
|
+
]);
|
|
1504
|
+
const isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
1493
1505
|
const parseClassListRegex = /\s/;
|
|
1494
1506
|
/**
|
|
1495
1507
|
* Parsed a string of classnames into an array
|
|
@@ -2107,7 +2119,7 @@ const insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
2107
2119
|
return newNode;
|
|
2108
2120
|
}
|
|
2109
2121
|
}
|
|
2110
|
-
if (parent
|
|
2122
|
+
if (BUILD$1.slotRelocation && parent?.__insertBefore) return parent.__insertBefore(newNode, reference);
|
|
2111
2123
|
else return parent?.insertBefore(newNode, reference);
|
|
2112
2124
|
};
|
|
2113
2125
|
/**
|
package/dist/sys/node/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node-
|
|
1
|
+
import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node-DRT35FuO.mjs";
|
|
2
2
|
export { createNodeLogger, createNodeSys, setupNodeProcess };
|
package/dist/sys/node/worker.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as createWorkerMessageHandler } from "../../compiler-
|
|
2
|
-
import { t as createNodeSys } from "../../node-
|
|
1
|
+
import { l as createWorkerMessageHandler } from "../../compiler-D2MlfN4O.mjs";
|
|
2
|
+
import { t as createNodeSys } from "../../node-DRT35FuO.mjs";
|
|
3
3
|
//#region src/sys/node/node-worker-thread.ts
|
|
4
4
|
/**
|
|
5
5
|
* Initialize a worker thread, setting up various machinery for managing
|
package/dist/testing/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as HYDRATE_ID, C as setAssetPath, D as DEFAULT_DOC_DATA, F as reWireGetterSetter, L as BUILD, M as STENCIL_DOC_DATA, P as getHostRef$1, R as Env, S as getAssetPath, _ as insertBefore, b as getElement, c as Mixin, g as getRenderingRef, h as forceUpdate, j as NODE_TYPE, k as HYDRATE_CHILD_ID, l as bootstrapLazy, m as h, p as Host, s as ReactiveControllerHost, u as getMode, v as renderVdom, y as createEvent } from "../client-
|
|
1
|
+
import { A as HYDRATE_ID, C as setAssetPath, D as DEFAULT_DOC_DATA, F as reWireGetterSetter, L as BUILD, M as STENCIL_DOC_DATA, P as getHostRef$1, R as Env, S as getAssetPath, _ as insertBefore, b as getElement, c as Mixin, g as getRenderingRef, h as forceUpdate, j as NODE_TYPE, k as HYDRATE_CHILD_ID, l as bootstrapLazy, m as h, p as Host, s as ReactiveControllerHost, u as getMode, v as renderVdom, y as createEvent } from "../client-C3HYn-8p.mjs";
|
|
2
2
|
import { R as EVENT_FLAGS, h as noop, w as CMP_FLAGS } from "../regular-expression-XqU5zmPp.mjs";
|
|
3
3
|
import { t as Fragment } from "../fragment-Di1hWOC8.mjs";
|
|
4
|
-
import { b as getBuildFeatures, c as createWorkerContext, h as Cache, i as createSystem, o as loadConfig, p as createInMemoryFs, s as createCompiler, v as BuildContext } from "../compiler-
|
|
4
|
+
import { b as getBuildFeatures, c as createWorkerContext, h as Cache, i as createSystem, o as loadConfig, p as createInMemoryFs, s as createCompiler, v as BuildContext } from "../compiler-D2MlfN4O.mjs";
|
|
5
5
|
import { C as formatLazyBundleRuntimeMeta } from "../validation-Dd3g77T5.mjs";
|
|
6
|
-
import { o as buildEvents } from "../node-
|
|
6
|
+
import { o as buildEvents } from "../node-DRT35FuO.mjs";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import nodePath from "node:path";
|
|
9
9
|
import { fileURLToPath } from "node:url";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.32",
|
|
4
4
|
"description": "A Compiler for Web Components and Progressive Web Apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
"terser": "^5.50.0",
|
|
122
122
|
"tinyglobby": "^0.2.17",
|
|
123
123
|
"typescript": ">5.0.0 <7.0.0",
|
|
124
|
-
"@stencil/cli": "5.0.0-alpha.
|
|
125
|
-
"@stencil/mock-doc": "5.0.0-alpha.
|
|
126
|
-
"@stencil/dev-server": "5.0.0-alpha.
|
|
124
|
+
"@stencil/cli": "5.0.0-alpha.32",
|
|
125
|
+
"@stencil/mock-doc": "5.0.0-alpha.32",
|
|
126
|
+
"@stencil/dev-server": "5.0.0-alpha.32"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
129
|
"@ionic/prettier-config": "^4.0.0",
|