@stencil/core 4.23.0-dev.1735794112.5d29255 → 4.23.0-dev.1736139708.13ee704
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 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +125 -133
- 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 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/index.js +504 -453
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +468 -450
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +27 -22
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +11 -3
- package/internal/testing/index.js +466 -448
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +3 -1
- package/mock-doc/index.js +3 -1
- package/mock-doc/package.json +1 -1
- package/package.json +1 -1
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +2 -1
- package/testing/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/hydrate",
|
|
3
|
-
"version": "4.23.0-dev.
|
|
3
|
+
"version": "4.23.0-dev.1736139708.13ee704",
|
|
4
4
|
"description": "Stencil internal hydrate platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Stencil Hydrate Runner v4.23.0-dev.
|
|
2
|
+
Stencil Hydrate Runner v4.23.0-dev.1736139708.13ee704 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
@@ -11931,6 +11931,8 @@ function createElement(ownerDocument, tagName) {
|
|
|
11931
11931
|
return new MockTitleElement(ownerDocument);
|
|
11932
11932
|
case "ul":
|
|
11933
11933
|
return new MockUListElement(ownerDocument);
|
|
11934
|
+
case "slot-fb":
|
|
11935
|
+
return new MockHTMLElement(ownerDocument, tagName);
|
|
11934
11936
|
}
|
|
11935
11937
|
if (ownerDocument != null && tagName.includes("-")) {
|
|
11936
11938
|
const win2 = ownerDocument.defaultView;
|
|
@@ -14155,10 +14157,10 @@ var supportsConstructableStylesheets = BUILD5.constructableCSS ? /* @__PURE__ */
|
|
|
14155
14157
|
})() : false;
|
|
14156
14158
|
|
|
14157
14159
|
// src/client/index.ts
|
|
14158
|
-
import { BUILD as
|
|
14160
|
+
import { BUILD as BUILD28, Env, NAMESPACE as NAMESPACE2 } from "@stencil/core/internal/app-data";
|
|
14159
14161
|
|
|
14160
14162
|
// src/runtime/bootstrap-custom-element.ts
|
|
14161
|
-
import { BUILD as
|
|
14163
|
+
import { BUILD as BUILD25 } from "@stencil/core/internal/app-data";
|
|
14162
14164
|
|
|
14163
14165
|
// src/utils/helpers.ts
|
|
14164
14166
|
var isString = (v) => typeof v === "string";
|
|
@@ -14251,66 +14253,69 @@ var unwrapErr = (result) => {
|
|
|
14251
14253
|
};
|
|
14252
14254
|
|
|
14253
14255
|
// src/runtime/connected-callback.ts
|
|
14254
|
-
import { BUILD as
|
|
14256
|
+
import { BUILD as BUILD23 } from "@stencil/core/internal/app-data";
|
|
14255
14257
|
|
|
14256
14258
|
// src/runtime/client-hydrate.ts
|
|
14257
|
-
import { BUILD as
|
|
14259
|
+
import { BUILD as BUILD14 } from "@stencil/core/internal/app-data";
|
|
14258
14260
|
|
|
14259
14261
|
// src/runtime/dom-extras.ts
|
|
14260
|
-
import { BUILD as
|
|
14262
|
+
import { BUILD as BUILD12 } from "@stencil/core/internal/app-data";
|
|
14263
|
+
|
|
14264
|
+
// src/runtime/slot-polyfill-utils.ts
|
|
14265
|
+
import { BUILD as BUILD7 } from "@stencil/core/internal/app-data";
|
|
14261
14266
|
|
|
14262
14267
|
// src/runtime/vdom/vdom-render.ts
|
|
14263
|
-
import { BUILD as
|
|
14268
|
+
import { BUILD as BUILD11 } from "@stencil/core/internal/app-data";
|
|
14264
14269
|
|
|
14265
14270
|
// src/runtime/vdom/h.ts
|
|
14266
|
-
import { BUILD as
|
|
14271
|
+
import { BUILD as BUILD8 } from "@stencil/core/internal/app-data";
|
|
14267
14272
|
|
|
14268
14273
|
// src/runtime/vdom/update-element.ts
|
|
14269
|
-
import { BUILD as
|
|
14274
|
+
import { BUILD as BUILD10 } from "@stencil/core/internal/app-data";
|
|
14270
14275
|
|
|
14271
14276
|
// src/runtime/vdom/set-accessor.ts
|
|
14272
|
-
import { BUILD as
|
|
14277
|
+
import { BUILD as BUILD9 } from "@stencil/core/internal/app-data";
|
|
14273
14278
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
14274
14279
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
14275
14280
|
|
|
14276
14281
|
// src/runtime/profile.ts
|
|
14277
|
-
import { BUILD as
|
|
14282
|
+
import { BUILD as BUILD13 } from "@stencil/core/internal/app-data";
|
|
14278
14283
|
|
|
14279
14284
|
// src/runtime/initialize-component.ts
|
|
14280
|
-
import { BUILD as
|
|
14285
|
+
import { BUILD as BUILD22 } from "@stencil/core/internal/app-data";
|
|
14281
14286
|
|
|
14282
14287
|
// src/runtime/mode.ts
|
|
14283
14288
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
14284
14289
|
|
|
14285
14290
|
// src/runtime/proxy-component.ts
|
|
14286
|
-
import { BUILD as
|
|
14291
|
+
import { BUILD as BUILD21 } from "@stencil/core/internal/app-data";
|
|
14287
14292
|
|
|
14288
14293
|
// src/runtime/set-value.ts
|
|
14289
|
-
import { BUILD as
|
|
14294
|
+
import { BUILD as BUILD20 } from "@stencil/core/internal/app-data";
|
|
14290
14295
|
|
|
14291
14296
|
// src/runtime/parse-property-value.ts
|
|
14292
|
-
import { BUILD as
|
|
14297
|
+
import { BUILD as BUILD15 } from "@stencil/core/internal/app-data";
|
|
14293
14298
|
|
|
14294
14299
|
// src/runtime/update-component.ts
|
|
14295
|
-
import { BUILD as
|
|
14300
|
+
import { BUILD as BUILD19, NAMESPACE } from "@stencil/core/internal/app-data";
|
|
14296
14301
|
|
|
14297
14302
|
// src/runtime/event-emitter.ts
|
|
14298
|
-
import { BUILD as
|
|
14303
|
+
import { BUILD as BUILD17 } from "@stencil/core/internal/app-data";
|
|
14299
14304
|
|
|
14300
14305
|
// src/runtime/element.ts
|
|
14301
|
-
import { BUILD as
|
|
14306
|
+
import { BUILD as BUILD16 } from "@stencil/core/internal/app-data";
|
|
14302
14307
|
|
|
14303
14308
|
// src/runtime/styles.ts
|
|
14304
|
-
import { BUILD as
|
|
14309
|
+
import { BUILD as BUILD18 } from "@stencil/core/internal/app-data";
|
|
14305
14310
|
|
|
14306
14311
|
// src/runtime/disconnected-callback.ts
|
|
14307
|
-
import { BUILD as
|
|
14312
|
+
import { BUILD as BUILD24 } from "@stencil/core/internal/app-data";
|
|
14308
14313
|
|
|
14309
14314
|
// src/runtime/bootstrap-lazy.ts
|
|
14310
|
-
import { BUILD as
|
|
14315
|
+
import { BUILD as BUILD26 } from "@stencil/core/internal/app-data";
|
|
14311
14316
|
|
|
14312
14317
|
// src/runtime/host-listener.ts
|
|
14313
|
-
import { BUILD as
|
|
14318
|
+
import { BUILD as BUILD27 } from "@stencil/core/internal/app-data";
|
|
14314
14319
|
|
|
14315
14320
|
// src/compiler/html/canonical-link.ts
|
|
14316
14321
|
var updateCanonicalLink = (doc2, href) => {
|
package/internal/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal",
|
|
3
|
-
"version": "4.23.0-dev.
|
|
3
|
+
"version": "4.23.0-dev.1736139708.13ee704",
|
|
4
4
|
"description": "Stencil internals only to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -98,6 +98,7 @@ export interface BuildFeatures {
|
|
|
98
98
|
propBoolean: boolean;
|
|
99
99
|
propNumber: boolean;
|
|
100
100
|
propString: boolean;
|
|
101
|
+
modernPropertyDecls: boolean;
|
|
101
102
|
lifecycle: boolean;
|
|
102
103
|
cmpDidLoad: boolean;
|
|
103
104
|
cmpShouldUpdate: boolean;
|
|
@@ -464,6 +465,7 @@ export interface ComponentCompilerFeatures {
|
|
|
464
465
|
hasMember: boolean;
|
|
465
466
|
hasMethod: boolean;
|
|
466
467
|
hasMode: boolean;
|
|
468
|
+
hasModernPropertyDecls: boolean;
|
|
467
469
|
hasProp: boolean;
|
|
468
470
|
hasPropBoolean: boolean;
|
|
469
471
|
hasPropNumber: boolean;
|
|
@@ -583,6 +585,7 @@ export interface ComponentCompilerStaticProperty {
|
|
|
583
585
|
defaultValue?: string;
|
|
584
586
|
getter: boolean;
|
|
585
587
|
setter: boolean;
|
|
588
|
+
ogPropName?: string;
|
|
586
589
|
}
|
|
587
590
|
/**
|
|
588
591
|
* Intermediate Representation (IR) of a property on a Stencil component
|
|
@@ -986,6 +989,10 @@ export interface HostElement extends HTMLElement {
|
|
|
986
989
|
* do the work of actually updating the component in-place.
|
|
987
990
|
*/
|
|
988
991
|
['s-hmr']?: (versionId: string) => void;
|
|
992
|
+
/**
|
|
993
|
+
* A list of nested nested hydration promises that
|
|
994
|
+
* must be resolved for the top, ancestor component to be fully hydrated
|
|
995
|
+
*/
|
|
989
996
|
['s-p']?: Promise<void>[];
|
|
990
997
|
componentOnReady?: () => Promise<this>;
|
|
991
998
|
}
|
|
@@ -1201,9 +1208,10 @@ export interface RenderNode extends HostElement {
|
|
|
1201
1208
|
*/
|
|
1202
1209
|
['s-cn']?: boolean;
|
|
1203
1210
|
/**
|
|
1204
|
-
* Is a slot
|
|
1205
|
-
*
|
|
1206
|
-
*
|
|
1211
|
+
* Is a `slot` node when `shadow: false` (or `scoped: true`).
|
|
1212
|
+
*
|
|
1213
|
+
* This is a node (either empty text-node or `<slot-fb>` element)
|
|
1214
|
+
* that represents where a `<slot>` is located in the original JSX.
|
|
1207
1215
|
*/
|
|
1208
1216
|
['s-sr']?: boolean;
|
|
1209
1217
|
/**
|