solid-js 1.4.2 → 1.4.5
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/dev.cjs +43 -34
- package/dist/dev.js +43 -34
- package/dist/server.cjs +9 -6
- package/dist/server.js +9 -6
- package/dist/solid.cjs +36 -33
- package/dist/solid.js +36 -33
- package/package.json +2 -2
- package/store/README.md +2 -2
- package/store/dist/dev.cjs +32 -17
- package/store/dist/dev.js +32 -17
- package/store/dist/server.cjs +16 -2
- package/store/dist/server.js +16 -2
- package/store/dist/store.cjs +32 -17
- package/store/dist/store.js +32 -17
- package/store/types/modifiers.d.ts +1 -2
- package/store/types/server.d.ts +3 -3
- package/store/types/store.d.ts +17 -8
- package/types/reactive/signal.d.ts +10 -6
- package/types/render/hydration.d.ts +1 -1
- package/web/dist/dev.cjs +40 -23
- package/web/dist/dev.js +40 -23
- package/web/dist/server.cjs +7 -3
- package/web/dist/server.js +7 -3
- package/web/dist/web.cjs +40 -23
- package/web/dist/web.js +40 -23
- package/web/types/index.d.ts +6 -3
- package/web/types/server-mock.d.ts +1 -1
package/web/types/index.d.ts
CHANGED
|
@@ -12,10 +12,13 @@ export declare const hydrate: typeof hydrateCore;
|
|
|
12
12
|
*
|
|
13
13
|
* @description https://www.solidjs.com/docs/latest/api#%3Cportal%3E
|
|
14
14
|
*/
|
|
15
|
-
export declare function Portal(props: {
|
|
15
|
+
export declare function Portal<T extends boolean = false, S extends boolean = false>(props: {
|
|
16
16
|
mount?: Node;
|
|
17
|
-
useShadow?:
|
|
18
|
-
isSVG?:
|
|
17
|
+
useShadow?: T;
|
|
18
|
+
isSVG?: S;
|
|
19
|
+
ref?: (S extends true ? SVGGElement : HTMLDivElement) | ((el: (T extends true ? {
|
|
20
|
+
readonly shadowRoot: ShadowRoot;
|
|
21
|
+
} : {}) & (S extends true ? SVGGElement : HTMLDivElement)) => void);
|
|
19
22
|
children: JSX.Element;
|
|
20
23
|
}): Text;
|
|
21
24
|
declare type DynamicProps<T> = T & {
|
|
@@ -33,7 +33,7 @@ export declare function ssrStyle(value: {
|
|
|
33
33
|
[k: string]: string;
|
|
34
34
|
}): string;
|
|
35
35
|
export declare function ssrSpread(accessor: any): () => string;
|
|
36
|
-
export declare function
|
|
36
|
+
export declare function ssrAttribute(key: string, value: boolean): string;
|
|
37
37
|
export declare function ssrHydrationKey(): string;
|
|
38
38
|
export declare function escape(html: string): string;
|
|
39
39
|
export declare function generateHydrationScript(): string;
|