solid-js 1.6.15 → 1.7.0-beta.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.
@@ -1,12 +1,12 @@
1
1
  import { JSX } from "./jsx.js";
2
2
  export const Aliases: Record<string, string>;
3
- export const PropAliases: Record<string, string>;
4
3
  export const Properties: Set<string>;
5
4
  export const ChildProperties: Set<string>;
6
5
  export const DelegatedEvents: Set<string>;
7
6
  export const DOMElements: Set<string>;
8
7
  export const SVGElements: Set<string>;
9
8
  export const SVGNamespace: Record<string, string>;
9
+ export function getPropAlias(prop: string, tagName: string): string | undefined;
10
10
 
11
11
  type MountableElement = Element | Document | ShadowRoot | DocumentFragment | Node;
12
12
  export function render(code: () => JSX.Element, element: MountableElement): () => void;
@@ -1,5 +1,5 @@
1
1
  import { hydrate as hydrateCore } from "./client.js";
2
- import { JSX, Accessor, ComponentProps, ValidComponent } from "solid-js";
2
+ import { JSX, ComponentProps, ValidComponent } from "solid-js";
3
3
  export * from "./client.js";
4
4
  export { For, Show, Suspense, SuspenseList, Switch, Match, Index, ErrorBoundary, mergeProps } from "solid-js";
5
5
  export * from "./server-mock.js";
@@ -34,4 +34,4 @@ export type DynamicProps<T extends ValidComponent, P = ComponentProps<T>> = {
34
34
  * ```
35
35
  * @description https://www.solidjs.com/docs/latest/api#dynamic
36
36
  */
37
- export declare function Dynamic<T extends ValidComponent>(props: DynamicProps<T>): Accessor<JSX.Element>;
37
+ export declare function Dynamic<T extends ValidComponent>(props: DynamicProps<T>): JSX.Element;