pulse-ui-client 0.1.100 → 0.1.101
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/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react3 from "react";
|
|
2
2
|
import { ComponentPropsWithoutRef, FormEvent, ReactNode } from "react";
|
|
3
3
|
import { LoaderFunctionArgs, NavigateFunction } from "react-router";
|
|
4
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
@@ -313,7 +313,7 @@ interface PulseViewProps {
|
|
|
313
313
|
declare function PulseView({
|
|
314
314
|
path,
|
|
315
315
|
registry
|
|
316
|
-
}: PulseViewProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean |
|
|
316
|
+
}: PulseViewProps): string | number | bigint | boolean | react_jsx_runtime0.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react3.ReactPortal | react3.ReactElement<unknown, string | react3.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
317
317
|
//#endregion
|
|
318
318
|
//#region src/client.d.ts
|
|
319
319
|
interface SocketIODirectives {
|
|
@@ -412,9 +412,9 @@ type PulseFormProps = ComponentPropsWithoutRef<"form"> & {
|
|
|
412
412
|
* surrounding Pulse view stays mounted. Server-side handlers are still invoked via
|
|
413
413
|
* the form action endpoint and reactive updates propagate over the socket.
|
|
414
414
|
*/
|
|
415
|
-
declare const PulseForm:
|
|
415
|
+
declare const PulseForm: react3.ForwardRefExoticComponent<Omit<react3.DetailedHTMLProps<react3.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & {
|
|
416
416
|
action: string;
|
|
417
|
-
} &
|
|
417
|
+
} & react3.RefAttributes<HTMLFormElement>>;
|
|
418
418
|
interface SubmitForm {
|
|
419
419
|
event: FormEvent<HTMLFormElement>;
|
|
420
420
|
action: string;
|