@qwik.dev/core 2.0.0-alpha.0 → 2.0.0-alpha.1

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.
Binary file
Binary file
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwik.dev/core/build",
3
- "version": "2.0.0-alpha.0-dev+dd93926",
3
+ "version": "2.0.0-alpha.1-dev+10f5414",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
package/dist/cli.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * @qwik.dev/core/cli 2.0.0-alpha.0-dev+dd93926
3
+ * @qwik.dev/core/cli 2.0.0-alpha.1-dev+10f5414
4
4
  * Copyright QwikDev. All Rights Reserved.
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
@@ -4881,7 +4881,7 @@ async function printHelp(app) {
4881
4881
  await runCommand2(Object.assign(app, { task: args[0], args }));
4882
4882
  }
4883
4883
  function printVersion() {
4884
- console.log("2.0.0-alpha.0-dev+dd93926");
4884
+ console.log("2.0.0-alpha.1-dev+10f5414");
4885
4885
  }
4886
4886
  // Annotate the CommonJS export names for ESM import in node:
4887
4887
  0 && (module.exports = {
@@ -800,7 +800,7 @@ export declare const createSignal: {
800
800
  };
801
801
 
802
802
  /** @public */
803
- declare interface CSSProperties extends CSS_2.Properties<string | number>, CSS_2.PropertiesHyphen<string | number> {
803
+ export declare interface CSSProperties extends CSS_2.Properties<string | number>, CSS_2.PropertiesHyphen<string | number> {
804
804
  /**
805
805
  * The index signature was removed to enable closed typing for style using CSSType. You're able to
806
806
  * use type assertion or module augmentation to add properties or an index signature of your own.
@@ -3708,7 +3708,7 @@ export declare const _VAR_PROPS: unique symbol;
3708
3708
  export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;
3709
3709
 
3710
3710
  /**
3711
- * 2.0.0-alpha.0-dev+dd93926
3711
+ * 2.0.0-alpha.1-dev+10f5414
3712
3712
  *
3713
3713
  * @public
3714
3714
  */
package/dist/core.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * @qwik.dev/core 2.0.0-alpha.0-dev+dd93926
3
+ * @qwik.dev/core 2.0.0-alpha.1-dev+10f5414
4
4
  * Copyright QwikDev. All Rights Reserved.
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
@@ -2796,6 +2796,7 @@
2796
2796
  iCtx.$container$ = container;
2797
2797
  let componentFn;
2798
2798
  container.ensureProjectionResolved(renderHost);
2799
+ let isInlineComponent = false;
2799
2800
  if (componentQRL === null) {
2800
2801
  componentQRL = componentQRL || container.getHostProp(renderHost, OnRenderProp);
2801
2802
  assertDefined(componentQRL, 'No Component found at this location');
@@ -2812,13 +2813,18 @@
2812
2813
  componentFn = () => invokeApply(iCtx, qComponentFn, [props || EMPTY_OBJ, null, 0]);
2813
2814
  }
2814
2815
  else {
2816
+ isInlineComponent = true;
2815
2817
  const inlineComponent = componentQRL;
2816
2818
  componentFn = () => invokeApply(iCtx, inlineComponent, [props || EMPTY_OBJ]);
2817
2819
  }
2818
2820
  const executeComponentWithPromiseExceptionRetry = (retryCount = 0) => safeCall(() => {
2819
- container.setHostProp(renderHost, ELEMENT_SEQ_IDX, null);
2820
- container.setHostProp(renderHost, USE_ON_LOCAL_SEQ_IDX, null);
2821
- container.setHostProp(renderHost, ELEMENT_PROPS, props);
2821
+ if (!isInlineComponent) {
2822
+ container.setHostProp(renderHost, ELEMENT_SEQ_IDX, null);
2823
+ container.setHostProp(renderHost, USE_ON_LOCAL_SEQ_IDX, null);
2824
+ if (container.getHostProp(renderHost, ELEMENT_PROPS) !== props) {
2825
+ container.setHostProp(renderHost, ELEMENT_PROPS, props);
2826
+ }
2827
+ }
2822
2828
  if (vnode_isVNode(renderHost)) {
2823
2829
  clearVNodeEffectDependencies(renderHost);
2824
2830
  }
@@ -4517,7 +4523,7 @@
4517
4523
  *
4518
4524
  * @public
4519
4525
  */
4520
- const version = "2.0.0-alpha.0-dev+dd93926";
4526
+ const version = "2.0.0-alpha.1-dev+10f5414";
4521
4527
 
4522
4528
  /** @internal */
4523
4529
  class _SharedContainer {