react-router 0.0.0-experimental-47ed76689 → 0.0.0-experimental-91dc3da6e
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/development/{chunk-3HEPNEJL.mjs → chunk-HHE2KJXP.mjs} +2 -4
- package/dist/development/dom-export.js +1 -1
- package/dist/development/dom-export.mjs +2 -2
- package/dist/development/index.d.mts +1 -10
- package/dist/development/index.d.ts +1 -10
- package/dist/development/index.js +2 -6
- package/dist/development/index.mjs +2 -6
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/rsc-export.js +1 -1
- package/dist/development/rsc-export.mjs +1 -1
- package/dist/production/{chunk-JSJTITMT.mjs → chunk-GQMZ47SQ.mjs} +2 -4
- package/dist/production/dom-export.js +1 -1
- package/dist/production/dom-export.mjs +2 -2
- package/dist/production/index.d.mts +1 -10
- package/dist/production/index.d.ts +1 -10
- package/dist/production/index.js +2 -6
- package/dist/production/index.mjs +2 -6
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/rsc-export.js +1 -1
- package/dist/production/rsc-export.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-91dc3da6e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8804,7 +8804,7 @@ function mergeRefs(...refs) {
|
|
|
8804
8804
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8805
8805
|
try {
|
|
8806
8806
|
if (isBrowser) {
|
|
8807
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8807
|
+
window.__reactRouterVersion = "0.0.0-experimental-91dc3da6e";
|
|
8808
8808
|
}
|
|
8809
8809
|
} catch (e) {
|
|
8810
8810
|
}
|
|
@@ -12387,8 +12387,6 @@ export {
|
|
|
12387
12387
|
getTurboStreamSingleFetchDataStrategy,
|
|
12388
12388
|
decodeViaTurboStream,
|
|
12389
12389
|
RemixErrorBoundary,
|
|
12390
|
-
RemixRootDefaultErrorBoundary,
|
|
12391
|
-
RemixRootDefaultHydrateFallback,
|
|
12392
12390
|
createClientRoutesWithHMRRevalidationOptOut,
|
|
12393
12391
|
createClientRoutes,
|
|
12394
12392
|
shouldHydrateRouteLoader,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-91dc3da6e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
invariant,
|
|
27
27
|
mapRouteProperties,
|
|
28
28
|
useFogOFWarDiscovery
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HHE2KJXP.mjs";
|
|
30
30
|
|
|
31
31
|
// lib/dom-export/dom-router-provider.tsx
|
|
32
32
|
import * as React from "react";
|
|
@@ -416,15 +416,6 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
|
|
|
416
416
|
};
|
|
417
417
|
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
418
418
|
}
|
|
419
|
-
/**
|
|
420
|
-
* When app's don't provide a root level ErrorBoundary, we default to this.
|
|
421
|
-
*/
|
|
422
|
-
declare function RemixRootDefaultErrorBoundary({ error, isOutsideRemixApp, }: {
|
|
423
|
-
error: unknown;
|
|
424
|
-
isOutsideRemixApp?: boolean;
|
|
425
|
-
}): React.JSX.Element;
|
|
426
|
-
|
|
427
|
-
declare function RemixRootDefaultHydrateFallback(): React.JSX.Element;
|
|
428
419
|
|
|
429
420
|
declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
|
|
430
421
|
declare function useFogOFWarDiscovery(router: Router, manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean): void;
|
|
@@ -439,4 +430,4 @@ declare function getHydrationData(state: {
|
|
|
439
430
|
hasHydrateFallback: boolean;
|
|
440
431
|
}, location: Path, basename: string | undefined, isSpaMode: boolean): HydrationState;
|
|
441
432
|
|
|
442
|
-
export { ActionFunction, AppLoadContext, ClientLoaderFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, DataRouteObject, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, Location, MetaFunction, NonIndexRouteObject, PatchRoutesOnNavigationFunction, Path, type RequestHandler, RouteObject, RouterState, type RoutesTestStubProps, ServerBuild, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, AssetsManifest as UNSAFE_AssetsManifest, MiddlewareEnabled as UNSAFE_MiddlewareEnabled, RemixErrorBoundary as UNSAFE_RemixErrorBoundary,
|
|
433
|
+
export { ActionFunction, AppLoadContext, ClientLoaderFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, DataRouteObject, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, Location, MetaFunction, NonIndexRouteObject, PatchRoutesOnNavigationFunction, Path, type RequestHandler, RouteObject, RouterState, type RoutesTestStubProps, ServerBuild, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, AssetsManifest as UNSAFE_AssetsManifest, MiddlewareEnabled as UNSAFE_MiddlewareEnabled, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getHydrationData as UNSAFE_getHydrationData, getPatchRoutesOnNavigationFunction as UNSAFE_getPatchRoutesOnNavigationFunction, getTurboStreamSingleFetchDataStrategy as UNSAFE_getTurboStreamSingleFetchDataStrategy, useFogOFWarDiscovery as UNSAFE_useFogOFWarDiscovery, createCookie, createCookieSessionStorage, createMemorySessionStorage, createRequestHandler, createRoutesStub, createSession, createSessionStorage, createStaticHandler, createStaticRouter, href, isCookie, isSession, unstable_InitialContext, RSCStaticRouter as unstable_RSCStaticRouter, routeRSCServerRequest as unstable_routeRSCServerRequest, setDevServerHooks as unstable_setDevServerHooks };
|
|
@@ -2624,15 +2624,6 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
|
|
|
2624
2624
|
};
|
|
2625
2625
|
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
2626
2626
|
}
|
|
2627
|
-
/**
|
|
2628
|
-
* When app's don't provide a root level ErrorBoundary, we default to this.
|
|
2629
|
-
*/
|
|
2630
|
-
declare function RemixRootDefaultErrorBoundary({ error, isOutsideRemixApp, }: {
|
|
2631
|
-
error: unknown;
|
|
2632
|
-
isOutsideRemixApp?: boolean;
|
|
2633
|
-
}): React.JSX.Element;
|
|
2634
|
-
|
|
2635
|
-
declare function RemixRootDefaultHydrateFallback(): React.JSX.Element;
|
|
2636
2627
|
|
|
2637
2628
|
declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
|
|
2638
2629
|
declare function useFogOFWarDiscovery(router: Router$1, manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean): void;
|
|
@@ -2647,4 +2638,4 @@ declare function getHydrationData(state: {
|
|
|
2647
2638
|
hasHydrateFallback: boolean;
|
|
2648
2639
|
}, location: Path, basename: string | undefined, isSpaMode: boolean): HydrationState;
|
|
2649
2640
|
|
|
2650
|
-
export { ActionFunction, ActionFunctionArgs, AppLoadContext, Await, type AwaitProps, Blocker, BlockerFunction, BrowserRouter, type BrowserRouterProps, ClientActionFunction, ClientLoaderFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, type DOMRouterOpts, DataRouteObject, Router$1 as DataRouter, DataStrategyFunction, type EntryContext, Fetcher, type FetcherFormProps, type FetcherSubmitFunction, type FetcherSubmitOptions, type FetcherWithComponents, type FlashSessionData, Form, FormEncType, type FormProps, GetScrollRestorationKeyFunction, HTMLFormMethod, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, HashRouter, type HashRouterProps, type HistoryRouterProps, HydrationState, IndexRouteObject, type IndexRouteProps, InitialEntry, type IsCookieFunction, type IsSessionFunction, type LayoutRouteProps, LazyRouteFunction, Link, type LinkProps, Links, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MemoryRouter, type MemoryRouterOpts, type MemoryRouterProps, Meta, MetaFunction, NavLink, type NavLinkProps, type NavLinkRenderProps, Navigate, type NavigateFunction, NavigateOptions, type NavigateProps, Navigation, Action as NavigationType, Navigator, NonIndexRouteObject, Outlet, type OutletProps, PageLinkDescriptor, type ParamKeyValuePair, ParamParseKey, Params, PatchRoutesOnNavigationFunction, Path, PathMatch, PathPattern, type PathRouteProps, PrefetchPageLinks, RelativeRoutingType, type RequestHandler, Route, RouteMatch, RouteObject, type RouteProps, Router, RouterInit, type RouterProps, RouterProvider, type RouterProviderProps, RouterState, Routes, type RoutesProps, type RoutesTestStubProps, Scripts, type ScriptsProps, ScrollRestoration, type ScrollRestorationProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, type SetURLSearchParams, ShouldRevalidateFunction, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, type SubmitFunction, type SubmitOptions, type SubmitTarget, To, UIMatch, type AssetsManifest as UNSAFE_AssetsManifest, FrameworkContext as UNSAFE_FrameworkContext, MiddlewareEnabled as UNSAFE_MiddlewareEnabled, RemixErrorBoundary as UNSAFE_RemixErrorBoundary,
|
|
2641
|
+
export { ActionFunction, ActionFunctionArgs, AppLoadContext, Await, type AwaitProps, Blocker, BlockerFunction, BrowserRouter, type BrowserRouterProps, ClientActionFunction, ClientLoaderFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, type DOMRouterOpts, DataRouteObject, Router$1 as DataRouter, DataStrategyFunction, type EntryContext, Fetcher, type FetcherFormProps, type FetcherSubmitFunction, type FetcherSubmitOptions, type FetcherWithComponents, type FlashSessionData, Form, FormEncType, type FormProps, GetScrollRestorationKeyFunction, HTMLFormMethod, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, HashRouter, type HashRouterProps, type HistoryRouterProps, HydrationState, IndexRouteObject, type IndexRouteProps, InitialEntry, type IsCookieFunction, type IsSessionFunction, type LayoutRouteProps, LazyRouteFunction, Link, type LinkProps, Links, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MemoryRouter, type MemoryRouterOpts, type MemoryRouterProps, Meta, MetaFunction, NavLink, type NavLinkProps, type NavLinkRenderProps, Navigate, type NavigateFunction, NavigateOptions, type NavigateProps, Navigation, Action as NavigationType, Navigator, NonIndexRouteObject, Outlet, type OutletProps, PageLinkDescriptor, type ParamKeyValuePair, ParamParseKey, Params, PatchRoutesOnNavigationFunction, Path, PathMatch, PathPattern, type PathRouteProps, PrefetchPageLinks, RelativeRoutingType, type RequestHandler, Route, RouteMatch, RouteObject, type RouteProps, Router, RouterInit, type RouterProps, RouterProvider, type RouterProviderProps, RouterState, Routes, type RoutesProps, type RoutesTestStubProps, Scripts, type ScriptsProps, ScrollRestoration, type ScrollRestorationProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, type SetURLSearchParams, ShouldRevalidateFunction, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, type SubmitFunction, type SubmitOptions, type SubmitTarget, To, UIMatch, type AssetsManifest as UNSAFE_AssetsManifest, FrameworkContext as UNSAFE_FrameworkContext, MiddlewareEnabled as UNSAFE_MiddlewareEnabled, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, createClientRoutes as UNSAFE_createClientRoutes, createClientRoutesWithHMRRevalidationOptOut as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getHydrationData as UNSAFE_getHydrationData, getPatchRoutesOnNavigationFunction as UNSAFE_getPatchRoutesOnNavigationFunction, getTurboStreamSingleFetchDataStrategy as UNSAFE_getTurboStreamSingleFetchDataStrategy, hydrationRouteProperties as UNSAFE_hydrationRouteProperties, mapRouteProperties as UNSAFE_mapRouteProperties, shouldHydrateRouteLoader as UNSAFE_shouldHydrateRouteLoader, useFogOFWarDiscovery as UNSAFE_useFogOFWarDiscovery, useScrollRestoration as UNSAFE_useScrollRestoration, withComponentProps as UNSAFE_withComponentProps, withErrorBoundaryProps as UNSAFE_withErrorBoundaryProps, withHydrateFallbackProps as UNSAFE_withHydrateFallbackProps, type URLSearchParamsInit, createBrowserRouter, createCookie, createCookieSessionStorage, createHashRouter, createMemoryRouter, createMemorySessionStorage, createRequestHandler, createRoutesFromChildren, createRoutesFromElements, createRoutesStub, createSearchParams, createSession, createSessionStorage, createStaticHandler, createStaticRouter, href, isCookie, isSession, renderMatches, type DecodeServerResponseFunction as unstable_DecodeServerResponseFunction, type EncodeActionFunction as unstable_EncodeActionFunction, HistoryRouter as unstable_HistoryRouter, unstable_InitialContext, RSCHydratedRouter as unstable_RSCHydratedRouter, RSCStaticRouter as unstable_RSCStaticRouter, unstable_RouterContextProvider, createCallServer as unstable_createCallServer, getServerStream as unstable_getServerStream, routeRSCServerRequest as unstable_routeRSCServerRequest, setDevServerHooks as unstable_setDevServerHooks, usePrompt as unstable_usePrompt, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useBlocker, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit, useViewTransitionState };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-91dc3da6e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -80,8 +80,6 @@ __export(index_exports, {
|
|
|
80
80
|
UNSAFE_LocationContext: () => LocationContext,
|
|
81
81
|
UNSAFE_NavigationContext: () => NavigationContext,
|
|
82
82
|
UNSAFE_RemixErrorBoundary: () => RemixErrorBoundary,
|
|
83
|
-
UNSAFE_RootDefaultErrorBoundary: () => RemixRootDefaultErrorBoundary,
|
|
84
|
-
UNSAFE_RootDefaultHydrateFallback: () => RemixRootDefaultHydrateFallback,
|
|
85
83
|
UNSAFE_RouteContext: () => RouteContext,
|
|
86
84
|
UNSAFE_ServerMode: () => ServerMode,
|
|
87
85
|
UNSAFE_SingleFetchRedirectSymbol: () => SingleFetchRedirectSymbol,
|
|
@@ -8965,7 +8963,7 @@ function mergeRefs(...refs) {
|
|
|
8965
8963
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8966
8964
|
try {
|
|
8967
8965
|
if (isBrowser) {
|
|
8968
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8966
|
+
window.__reactRouterVersion = "0.0.0-experimental-91dc3da6e";
|
|
8969
8967
|
}
|
|
8970
8968
|
} catch (e) {
|
|
8971
8969
|
}
|
|
@@ -12510,8 +12508,6 @@ function deserializeErrors2(errors) {
|
|
|
12510
12508
|
UNSAFE_LocationContext,
|
|
12511
12509
|
UNSAFE_NavigationContext,
|
|
12512
12510
|
UNSAFE_RemixErrorBoundary,
|
|
12513
|
-
UNSAFE_RootDefaultErrorBoundary,
|
|
12514
|
-
UNSAFE_RootDefaultHydrateFallback,
|
|
12515
12511
|
UNSAFE_RouteContext,
|
|
12516
12512
|
UNSAFE_ServerMode,
|
|
12517
12513
|
UNSAFE_SingleFetchRedirectSymbol,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-91dc3da6e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -37,8 +37,6 @@ import {
|
|
|
37
37
|
RSCHydratedRouter,
|
|
38
38
|
RSCStaticRouter,
|
|
39
39
|
RemixErrorBoundary,
|
|
40
|
-
RemixRootDefaultErrorBoundary,
|
|
41
|
-
RemixRootDefaultHydrateFallback,
|
|
42
40
|
Route,
|
|
43
41
|
RouteContext,
|
|
44
42
|
Router,
|
|
@@ -136,7 +134,7 @@ import {
|
|
|
136
134
|
withComponentProps,
|
|
137
135
|
withErrorBoundaryProps,
|
|
138
136
|
withHydrateFallbackProps
|
|
139
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-HHE2KJXP.mjs";
|
|
140
138
|
export {
|
|
141
139
|
Await,
|
|
142
140
|
BrowserRouter,
|
|
@@ -171,8 +169,6 @@ export {
|
|
|
171
169
|
LocationContext as UNSAFE_LocationContext,
|
|
172
170
|
NavigationContext as UNSAFE_NavigationContext,
|
|
173
171
|
RemixErrorBoundary as UNSAFE_RemixErrorBoundary,
|
|
174
|
-
RemixRootDefaultErrorBoundary as UNSAFE_RootDefaultErrorBoundary,
|
|
175
|
-
RemixRootDefaultHydrateFallback as UNSAFE_RootDefaultHydrateFallback,
|
|
176
172
|
RouteContext as UNSAFE_RouteContext,
|
|
177
173
|
ServerMode as UNSAFE_ServerMode,
|
|
178
174
|
SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-91dc3da6e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8804,7 +8804,7 @@ function mergeRefs(...refs) {
|
|
|
8804
8804
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8805
8805
|
try {
|
|
8806
8806
|
if (isBrowser) {
|
|
8807
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8807
|
+
window.__reactRouterVersion = "0.0.0-experimental-91dc3da6e";
|
|
8808
8808
|
}
|
|
8809
8809
|
} catch (e) {
|
|
8810
8810
|
}
|
|
@@ -12387,8 +12387,6 @@ export {
|
|
|
12387
12387
|
getTurboStreamSingleFetchDataStrategy,
|
|
12388
12388
|
decodeViaTurboStream,
|
|
12389
12389
|
RemixErrorBoundary,
|
|
12390
|
-
RemixRootDefaultErrorBoundary,
|
|
12391
|
-
RemixRootDefaultHydrateFallback,
|
|
12392
12390
|
createClientRoutesWithHMRRevalidationOptOut,
|
|
12393
12391
|
createClientRoutes,
|
|
12394
12392
|
shouldHydrateRouteLoader,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-91dc3da6e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
invariant,
|
|
27
27
|
mapRouteProperties,
|
|
28
28
|
useFogOFWarDiscovery
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GQMZ47SQ.mjs";
|
|
30
30
|
|
|
31
31
|
// lib/dom-export/dom-router-provider.tsx
|
|
32
32
|
import * as React from "react";
|
|
@@ -416,15 +416,6 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
|
|
|
416
416
|
};
|
|
417
417
|
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
418
418
|
}
|
|
419
|
-
/**
|
|
420
|
-
* When app's don't provide a root level ErrorBoundary, we default to this.
|
|
421
|
-
*/
|
|
422
|
-
declare function RemixRootDefaultErrorBoundary({ error, isOutsideRemixApp, }: {
|
|
423
|
-
error: unknown;
|
|
424
|
-
isOutsideRemixApp?: boolean;
|
|
425
|
-
}): React.JSX.Element;
|
|
426
|
-
|
|
427
|
-
declare function RemixRootDefaultHydrateFallback(): React.JSX.Element;
|
|
428
419
|
|
|
429
420
|
declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
|
|
430
421
|
declare function useFogOFWarDiscovery(router: Router, manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean): void;
|
|
@@ -439,4 +430,4 @@ declare function getHydrationData(state: {
|
|
|
439
430
|
hasHydrateFallback: boolean;
|
|
440
431
|
}, location: Path, basename: string | undefined, isSpaMode: boolean): HydrationState;
|
|
441
432
|
|
|
442
|
-
export { ActionFunction, AppLoadContext, ClientLoaderFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, DataRouteObject, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, Location, MetaFunction, NonIndexRouteObject, PatchRoutesOnNavigationFunction, Path, type RequestHandler, RouteObject, RouterState, type RoutesTestStubProps, ServerBuild, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, AssetsManifest as UNSAFE_AssetsManifest, MiddlewareEnabled as UNSAFE_MiddlewareEnabled, RemixErrorBoundary as UNSAFE_RemixErrorBoundary,
|
|
433
|
+
export { ActionFunction, AppLoadContext, ClientLoaderFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, DataRouteObject, Router as DataRouter, DataStrategyFunction, EntryContext, type FlashSessionData, HydrationState, IndexRouteObject, InitialEntry, type IsCookieFunction, type IsSessionFunction, LinksFunction, LoaderFunction, Location, MetaFunction, NonIndexRouteObject, PatchRoutesOnNavigationFunction, Path, type RequestHandler, RouteObject, RouterState, type RoutesTestStubProps, ServerBuild, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, AssetsManifest as UNSAFE_AssetsManifest, MiddlewareEnabled as UNSAFE_MiddlewareEnabled, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getHydrationData as UNSAFE_getHydrationData, getPatchRoutesOnNavigationFunction as UNSAFE_getPatchRoutesOnNavigationFunction, getTurboStreamSingleFetchDataStrategy as UNSAFE_getTurboStreamSingleFetchDataStrategy, useFogOFWarDiscovery as UNSAFE_useFogOFWarDiscovery, createCookie, createCookieSessionStorage, createMemorySessionStorage, createRequestHandler, createRoutesStub, createSession, createSessionStorage, createStaticHandler, createStaticRouter, href, isCookie, isSession, unstable_InitialContext, RSCStaticRouter as unstable_RSCStaticRouter, routeRSCServerRequest as unstable_routeRSCServerRequest, setDevServerHooks as unstable_setDevServerHooks };
|
|
@@ -2624,15 +2624,6 @@ declare class RemixErrorBoundary extends React.Component<RemixErrorBoundaryProps
|
|
|
2624
2624
|
};
|
|
2625
2625
|
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
2626
2626
|
}
|
|
2627
|
-
/**
|
|
2628
|
-
* When app's don't provide a root level ErrorBoundary, we default to this.
|
|
2629
|
-
*/
|
|
2630
|
-
declare function RemixRootDefaultErrorBoundary({ error, isOutsideRemixApp, }: {
|
|
2631
|
-
error: unknown;
|
|
2632
|
-
isOutsideRemixApp?: boolean;
|
|
2633
|
-
}): React.JSX.Element;
|
|
2634
|
-
|
|
2635
|
-
declare function RemixRootDefaultHydrateFallback(): React.JSX.Element;
|
|
2636
2627
|
|
|
2637
2628
|
declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
|
|
2638
2629
|
declare function useFogOFWarDiscovery(router: Router$1, manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, routeDiscovery: ServerBuild["routeDiscovery"], isSpaMode: boolean): void;
|
|
@@ -2647,4 +2638,4 @@ declare function getHydrationData(state: {
|
|
|
2647
2638
|
hasHydrateFallback: boolean;
|
|
2648
2639
|
}, location: Path, basename: string | undefined, isSpaMode: boolean): HydrationState;
|
|
2649
2640
|
|
|
2650
|
-
export { ActionFunction, ActionFunctionArgs, AppLoadContext, Await, type AwaitProps, Blocker, BlockerFunction, BrowserRouter, type BrowserRouterProps, ClientActionFunction, ClientLoaderFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, type DOMRouterOpts, DataRouteObject, Router$1 as DataRouter, DataStrategyFunction, type EntryContext, Fetcher, type FetcherFormProps, type FetcherSubmitFunction, type FetcherSubmitOptions, type FetcherWithComponents, type FlashSessionData, Form, FormEncType, type FormProps, GetScrollRestorationKeyFunction, HTMLFormMethod, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, HashRouter, type HashRouterProps, type HistoryRouterProps, HydrationState, IndexRouteObject, type IndexRouteProps, InitialEntry, type IsCookieFunction, type IsSessionFunction, type LayoutRouteProps, LazyRouteFunction, Link, type LinkProps, Links, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MemoryRouter, type MemoryRouterOpts, type MemoryRouterProps, Meta, MetaFunction, NavLink, type NavLinkProps, type NavLinkRenderProps, Navigate, type NavigateFunction, NavigateOptions, type NavigateProps, Navigation, Action as NavigationType, Navigator, NonIndexRouteObject, Outlet, type OutletProps, PageLinkDescriptor, type ParamKeyValuePair, ParamParseKey, Params, PatchRoutesOnNavigationFunction, Path, PathMatch, PathPattern, type PathRouteProps, PrefetchPageLinks, RelativeRoutingType, type RequestHandler, Route, RouteMatch, RouteObject, type RouteProps, Router, RouterInit, type RouterProps, RouterProvider, type RouterProviderProps, RouterState, Routes, type RoutesProps, type RoutesTestStubProps, Scripts, type ScriptsProps, ScrollRestoration, type ScrollRestorationProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, type SetURLSearchParams, ShouldRevalidateFunction, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, type SubmitFunction, type SubmitOptions, type SubmitTarget, To, UIMatch, type AssetsManifest as UNSAFE_AssetsManifest, FrameworkContext as UNSAFE_FrameworkContext, MiddlewareEnabled as UNSAFE_MiddlewareEnabled, RemixErrorBoundary as UNSAFE_RemixErrorBoundary,
|
|
2641
|
+
export { ActionFunction, ActionFunctionArgs, AppLoadContext, Await, type AwaitProps, Blocker, BlockerFunction, BrowserRouter, type BrowserRouterProps, ClientActionFunction, ClientLoaderFunction, type Cookie, type CookieOptions, type CookieSignatureOptions, type CreateRequestHandlerFunction, type DOMRouterOpts, DataRouteObject, Router$1 as DataRouter, DataStrategyFunction, type EntryContext, Fetcher, type FetcherFormProps, type FetcherSubmitFunction, type FetcherSubmitOptions, type FetcherWithComponents, type FlashSessionData, Form, FormEncType, type FormProps, GetScrollRestorationKeyFunction, HTMLFormMethod, type HandleDataRequestFunction, type HandleDocumentRequestFunction, type HandleErrorFunction, HashRouter, type HashRouterProps, type HistoryRouterProps, HydrationState, IndexRouteObject, type IndexRouteProps, InitialEntry, type IsCookieFunction, type IsSessionFunction, type LayoutRouteProps, LazyRouteFunction, Link, type LinkProps, Links, LinksFunction, LoaderFunction, LoaderFunctionArgs, Location, MemoryRouter, type MemoryRouterOpts, type MemoryRouterProps, Meta, MetaFunction, NavLink, type NavLinkProps, type NavLinkRenderProps, Navigate, type NavigateFunction, NavigateOptions, type NavigateProps, Navigation, Action as NavigationType, Navigator, NonIndexRouteObject, Outlet, type OutletProps, PageLinkDescriptor, type ParamKeyValuePair, ParamParseKey, Params, PatchRoutesOnNavigationFunction, Path, PathMatch, PathPattern, type PathRouteProps, PrefetchPageLinks, RelativeRoutingType, type RequestHandler, Route, RouteMatch, RouteObject, type RouteProps, Router, RouterInit, type RouterProps, RouterProvider, type RouterProviderProps, RouterState, Routes, type RoutesProps, type RoutesTestStubProps, Scripts, type ScriptsProps, ScrollRestoration, type ScrollRestorationProps, type ServerBuild, type ServerEntryModule, ServerRouter, type ServerRouterProps, type Session, type SessionData, type SessionIdStorageStrategy, type SessionStorage, type SetURLSearchParams, ShouldRevalidateFunction, StaticHandler, StaticHandlerContext, StaticRouter, type StaticRouterProps, StaticRouterProvider, type StaticRouterProviderProps, type SubmitFunction, type SubmitOptions, type SubmitTarget, To, UIMatch, type AssetsManifest as UNSAFE_AssetsManifest, FrameworkContext as UNSAFE_FrameworkContext, MiddlewareEnabled as UNSAFE_MiddlewareEnabled, RemixErrorBoundary as UNSAFE_RemixErrorBoundary, RouteModules as UNSAFE_RouteModules, ServerMode as UNSAFE_ServerMode, SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol, createClientRoutes as UNSAFE_createClientRoutes, createClientRoutesWithHMRRevalidationOptOut as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, decodeViaTurboStream as UNSAFE_decodeViaTurboStream, deserializeErrors as UNSAFE_deserializeErrors, getHydrationData as UNSAFE_getHydrationData, getPatchRoutesOnNavigationFunction as UNSAFE_getPatchRoutesOnNavigationFunction, getTurboStreamSingleFetchDataStrategy as UNSAFE_getTurboStreamSingleFetchDataStrategy, hydrationRouteProperties as UNSAFE_hydrationRouteProperties, mapRouteProperties as UNSAFE_mapRouteProperties, shouldHydrateRouteLoader as UNSAFE_shouldHydrateRouteLoader, useFogOFWarDiscovery as UNSAFE_useFogOFWarDiscovery, useScrollRestoration as UNSAFE_useScrollRestoration, withComponentProps as UNSAFE_withComponentProps, withErrorBoundaryProps as UNSAFE_withErrorBoundaryProps, withHydrateFallbackProps as UNSAFE_withHydrateFallbackProps, type URLSearchParamsInit, createBrowserRouter, createCookie, createCookieSessionStorage, createHashRouter, createMemoryRouter, createMemorySessionStorage, createRequestHandler, createRoutesFromChildren, createRoutesFromElements, createRoutesStub, createSearchParams, createSession, createSessionStorage, createStaticHandler, createStaticRouter, href, isCookie, isSession, renderMatches, type DecodeServerResponseFunction as unstable_DecodeServerResponseFunction, type EncodeActionFunction as unstable_EncodeActionFunction, HistoryRouter as unstable_HistoryRouter, unstable_InitialContext, RSCHydratedRouter as unstable_RSCHydratedRouter, RSCStaticRouter as unstable_RSCStaticRouter, unstable_RouterContextProvider, createCallServer as unstable_createCallServer, getServerStream as unstable_getServerStream, routeRSCServerRequest as unstable_routeRSCServerRequest, setDevServerHooks as unstable_setDevServerHooks, usePrompt as unstable_usePrompt, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useBlocker, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit, useViewTransitionState };
|
package/dist/production/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-91dc3da6e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -80,8 +80,6 @@ __export(index_exports, {
|
|
|
80
80
|
UNSAFE_LocationContext: () => LocationContext,
|
|
81
81
|
UNSAFE_NavigationContext: () => NavigationContext,
|
|
82
82
|
UNSAFE_RemixErrorBoundary: () => RemixErrorBoundary,
|
|
83
|
-
UNSAFE_RootDefaultErrorBoundary: () => RemixRootDefaultErrorBoundary,
|
|
84
|
-
UNSAFE_RootDefaultHydrateFallback: () => RemixRootDefaultHydrateFallback,
|
|
85
83
|
UNSAFE_RouteContext: () => RouteContext,
|
|
86
84
|
UNSAFE_ServerMode: () => ServerMode,
|
|
87
85
|
UNSAFE_SingleFetchRedirectSymbol: () => SingleFetchRedirectSymbol,
|
|
@@ -8965,7 +8963,7 @@ function mergeRefs(...refs) {
|
|
|
8965
8963
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8966
8964
|
try {
|
|
8967
8965
|
if (isBrowser) {
|
|
8968
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8966
|
+
window.__reactRouterVersion = "0.0.0-experimental-91dc3da6e";
|
|
8969
8967
|
}
|
|
8970
8968
|
} catch (e) {
|
|
8971
8969
|
}
|
|
@@ -12510,8 +12508,6 @@ function deserializeErrors2(errors) {
|
|
|
12510
12508
|
UNSAFE_LocationContext,
|
|
12511
12509
|
UNSAFE_NavigationContext,
|
|
12512
12510
|
UNSAFE_RemixErrorBoundary,
|
|
12513
|
-
UNSAFE_RootDefaultErrorBoundary,
|
|
12514
|
-
UNSAFE_RootDefaultHydrateFallback,
|
|
12515
12511
|
UNSAFE_RouteContext,
|
|
12516
12512
|
UNSAFE_ServerMode,
|
|
12517
12513
|
UNSAFE_SingleFetchRedirectSymbol,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-91dc3da6e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -37,8 +37,6 @@ import {
|
|
|
37
37
|
RSCHydratedRouter,
|
|
38
38
|
RSCStaticRouter,
|
|
39
39
|
RemixErrorBoundary,
|
|
40
|
-
RemixRootDefaultErrorBoundary,
|
|
41
|
-
RemixRootDefaultHydrateFallback,
|
|
42
40
|
Route,
|
|
43
41
|
RouteContext,
|
|
44
42
|
Router,
|
|
@@ -136,7 +134,7 @@ import {
|
|
|
136
134
|
withComponentProps,
|
|
137
135
|
withErrorBoundaryProps,
|
|
138
136
|
withHydrateFallbackProps
|
|
139
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-GQMZ47SQ.mjs";
|
|
140
138
|
export {
|
|
141
139
|
Await,
|
|
142
140
|
BrowserRouter,
|
|
@@ -171,8 +169,6 @@ export {
|
|
|
171
169
|
LocationContext as UNSAFE_LocationContext,
|
|
172
170
|
NavigationContext as UNSAFE_NavigationContext,
|
|
173
171
|
RemixErrorBoundary as UNSAFE_RemixErrorBoundary,
|
|
174
|
-
RemixRootDefaultErrorBoundary as UNSAFE_RootDefaultErrorBoundary,
|
|
175
|
-
RemixRootDefaultHydrateFallback as UNSAFE_RootDefaultHydrateFallback,
|
|
176
172
|
RouteContext as UNSAFE_RouteContext,
|
|
177
173
|
ServerMode as UNSAFE_ServerMode,
|
|
178
174
|
SingleFetchRedirectSymbol as UNSAFE_SingleFetchRedirectSymbol,
|