solid-js 1.9.8 → 1.9.9

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/server.cjs CHANGED
@@ -671,6 +671,13 @@ function useTransition() {
671
671
  }];
672
672
  }
673
673
  function SuspenseList(props) {
674
+ if (sharedConfig.context && !sharedConfig.context.noHydrate) {
675
+ const c = sharedConfig.context;
676
+ setHydrateContext(nextHydrateContext());
677
+ const result = props.children;
678
+ setHydrateContext(c);
679
+ return result;
680
+ }
674
681
  return props.children;
675
682
  }
676
683
  function Suspense(props) {
package/dist/server.js CHANGED
@@ -669,6 +669,13 @@ function useTransition() {
669
669
  }];
670
670
  }
671
671
  function SuspenseList(props) {
672
+ if (sharedConfig.context && !sharedConfig.context.noHydrate) {
673
+ const c = sharedConfig.context;
674
+ setHydrateContext(nextHydrateContext());
675
+ const result = props.children;
676
+ setHydrateContext(c);
677
+ return result;
678
+ }
672
679
  return props.children;
673
680
  }
674
681
  function Suspense(props) {
@@ -1420,7 +1420,7 @@ export namespace JSX {
1420
1420
  tabindex?: never;
1421
1421
 
1422
1422
  /** @experimental */
1423
- closedby: FunctionMaybe<"any" | "closerequest" | "none" | undefined>;
1423
+ closedby?: FunctionMaybe<"any" | "closerequest" | "none" | undefined>;
1424
1424
  }
1425
1425
  interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
1426
1426
  height?: FunctionMaybe<number | string | undefined>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "solid-js",
3
3
  "description": "A declarative JavaScript library for building user interfaces.",
4
- "version": "1.9.8",
4
+ "version": "1.9.9",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",
7
7
  "homepage": "https://solidjs.com",
package/types/jsx.d.ts CHANGED
@@ -1436,7 +1436,7 @@ export namespace JSX {
1436
1436
  tabindex?: never;
1437
1437
 
1438
1438
  /** @experimental */
1439
- closedby: "any" | "closerequest" | "none" | undefined;
1439
+ closedby?: "any" | "closerequest" | "none" | undefined;
1440
1440
  }
1441
1441
  interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
1442
1442
  height?: number | string | undefined;
package/web/dist/dev.cjs CHANGED
@@ -769,7 +769,7 @@ function createDynamic(component, props) {
769
769
  return solidJs.untrack(() => component(props));
770
770
  case "string":
771
771
  const isSvg = SVGElements.has(component);
772
- const el = solidJs.sharedConfig.context ? getNextElement() : createElement(component, isSvg, props.is);
772
+ const el = solidJs.sharedConfig.context ? getNextElement() : createElement(component, isSvg, solidJs.untrack(() => props.is));
773
773
  spread(el, props, isSvg);
774
774
  return el;
775
775
  }
package/web/dist/dev.js CHANGED
@@ -768,7 +768,7 @@ function createDynamic(component, props) {
768
768
  return untrack(() => component(props));
769
769
  case "string":
770
770
  const isSvg = SVGElements.has(component);
771
- const el = sharedConfig.context ? getNextElement() : createElement(component, isSvg, props.is);
771
+ const el = sharedConfig.context ? getNextElement() : createElement(component, isSvg, untrack(() => props.is));
772
772
  spread(el, props, isSvg);
773
773
  return el;
774
774
  }
package/web/dist/web.cjs CHANGED
@@ -758,7 +758,7 @@ function createDynamic(component, props) {
758
758
  return solidJs.untrack(() => component(props));
759
759
  case "string":
760
760
  const isSvg = SVGElements.has(component);
761
- const el = solidJs.sharedConfig.context ? getNextElement() : createElement(component, isSvg, props.is);
761
+ const el = solidJs.sharedConfig.context ? getNextElement() : createElement(component, isSvg, solidJs.untrack(() => props.is));
762
762
  spread(el, props, isSvg);
763
763
  return el;
764
764
  }
package/web/dist/web.js CHANGED
@@ -757,7 +757,7 @@ function createDynamic(component, props) {
757
757
  return untrack(() => component(props));
758
758
  case "string":
759
759
  const isSvg = SVGElements.has(component);
760
- const el = sharedConfig.context ? getNextElement() : createElement(component, isSvg, props.is);
760
+ const el = sharedConfig.context ? getNextElement() : createElement(component, isSvg, untrack(() => props.is));
761
761
  spread(el, props, isSvg);
762
762
  return el;
763
763
  }