solid-js 1.8.16 → 1.8.18
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/README.md +223 -223
- package/dist/dev.cjs +1 -1
- package/dist/dev.js +1 -1
- package/dist/server.cjs +5 -10
- package/dist/server.js +5 -12
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/h/dist/h.cjs +12 -1
- package/h/dist/h.js +15 -1
- package/h/jsx-runtime/types/jsx.d.ts +5 -0
- package/package.json +1 -1
- package/store/types/store.d.ts +1 -1
- package/types/jsx.d.ts +5 -0
- package/types/reactive/array.d.ts +2 -2
- package/types/reactive/observable.d.ts +1 -1
- package/types/reactive/signal.d.ts +22 -22
- package/types/render/Suspense.d.ts +2 -2
- package/types/render/flow.d.ts +6 -6
- package/types/server/rendering.d.ts +1 -1
- package/web/dist/dev.cjs +6 -3
- package/web/dist/dev.js +8 -2
- package/web/dist/server.cjs +3 -3
- package/web/dist/server.js +3 -3
- package/web/dist/web.cjs +6 -3
- package/web/dist/web.js +8 -2
- package/web/types/index.d.ts +2 -2
package/web/types/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare const hydrate: typeof hydrateCore;
|
|
|
21
21
|
*
|
|
22
22
|
* Useful for inserting modals and tooltips outside of an cropping layout. If no mount point is given, the portal is inserted in document.body; it is wrapped in a `<div>` unless the target is document.head or `isSVG` is true. setting `useShadow` to true places the element in a shadow root to isolate styles.
|
|
23
23
|
*
|
|
24
|
-
* @description https://
|
|
24
|
+
* @description https://docs.solidjs.com/reference/components/portal
|
|
25
25
|
*/
|
|
26
26
|
export declare function Portal<T extends boolean = false, S extends boolean = false>(props: {
|
|
27
27
|
mount?: Node;
|
|
@@ -49,6 +49,6 @@ export type DynamicProps<T extends ValidComponent, P = ComponentProps<T>> = {
|
|
|
49
49
|
* ```typescript
|
|
50
50
|
* <Dynamic component={multiline() ? 'textarea' : 'input'} value={value()} />
|
|
51
51
|
* ```
|
|
52
|
-
* @description https://
|
|
52
|
+
* @description https://docs.solidjs.com/reference/components/dynamic
|
|
53
53
|
*/
|
|
54
54
|
export declare function Dynamic<T extends ValidComponent>(props: DynamicProps<T>): JSX.Element;
|