Changeset 0c6b92a for imaps-frontend/node_modules/react-router/dist/lib
- Timestamp:
- 12/12/24 17:06:06 (5 weeks ago)
- Branches:
- main
- Parents:
- d565449
- Location:
- imaps-frontend/node_modules/react-router/dist/lib
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/react-router/dist/lib/components.d.ts
rd565449 r0c6b92a 26 26 * A `<Router>` that stores all entries in memory. 27 27 * 28 * @see https://reactrouter.com/ router-components/memory-router28 * @see https://reactrouter.com/v6/router-components/memory-router 29 29 */ 30 30 export declare function MemoryRouter({ basename, children, initialEntries, initialIndex, future, }: MemoryRouterProps): React.ReactElement; … … 42 42 * `useNavigate` hook instead. 43 43 * 44 * @see https://reactrouter.com/ components/navigate44 * @see https://reactrouter.com/v6/components/navigate 45 45 */ 46 46 export declare function Navigate({ to, replace, state, relative, }: NavigateProps): null; … … 51 51 * Renders the child route's element, if there is one. 52 52 * 53 * @see https://reactrouter.com/ components/outlet53 * @see https://reactrouter.com/v6/components/outlet 54 54 */ 55 55 export declare function Outlet(props: OutletProps): React.ReactElement | null; … … 98 98 * Declares an element that should be rendered at a certain URL path. 99 99 * 100 * @see https://reactrouter.com/ components/route100 * @see https://reactrouter.com/v6/components/route 101 101 */ 102 102 export declare function Route(_props: RouteProps): React.ReactElement | null; … … 117 117 * in web browsers or a `<StaticRouter>` for server rendering. 118 118 * 119 * @see https://reactrouter.com/ router-components/router119 * @see https://reactrouter.com/v6/router-components/router 120 120 */ 121 121 export declare function Router({ basename: basenameProp, children, location: locationProp, navigationType, navigator, static: staticProp, future, }: RouterProps): React.ReactElement | null; … … 128 128 * that best matches the current location. 129 129 * 130 * @see https://reactrouter.com/ components/routes130 * @see https://reactrouter.com/v6/components/routes 131 131 */ 132 132 export declare function Routes({ children, location, }: RoutesProps): React.ReactElement | null; … … 149 149 * `<Routes>` to create a route config from its children. 150 150 * 151 * @see https://reactrouter.com/ utils/create-routes-from-children151 * @see https://reactrouter.com/v6/utils/create-routes-from-children 152 152 */ 153 153 export declare function createRoutesFromChildren(children: React.ReactNode, parentPath?: number[]): RouteObject[]; -
imaps-frontend/node_modules/react-router/dist/lib/context.d.ts
rd565449 r0c6b92a 60 60 preventScrollReset?: boolean; 61 61 relative?: RelativeRoutingType; 62 unstable_flushSync?: boolean;63 unstable_viewTransition?: boolean;62 flushSync?: boolean; 63 viewTransition?: boolean; 64 64 } 65 65 /** -
imaps-frontend/node_modules/react-router/dist/lib/hooks.d.ts
rd565449 r0c6b92a 7 7 * custom links that are also accessible and preserve right-click behavior. 8 8 * 9 * @see https://reactrouter.com/ hooks/use-href9 * @see https://reactrouter.com/v6/hooks/use-href 10 10 */ 11 11 export declare function useHref(to: To, { relative }?: { … … 15 15 * Returns true if this component is a descendant of a `<Router>`. 16 16 * 17 * @see https://reactrouter.com/ hooks/use-in-router-context17 * @see https://reactrouter.com/v6/hooks/use-in-router-context 18 18 */ 19 19 export declare function useInRouterContext(): boolean; … … 26 26 * be able to provide something higher-level to better suit your needs. 27 27 * 28 * @see https://reactrouter.com/ hooks/use-location28 * @see https://reactrouter.com/v6/hooks/use-location 29 29 */ 30 30 export declare function useLocation(): Location; … … 33 33 * the current location, either by a pop, push, or replace on the history stack. 34 34 * 35 * @see https://reactrouter.com/ hooks/use-navigation-type35 * @see https://reactrouter.com/v6/hooks/use-navigation-type 36 36 */ 37 37 export declare function useNavigationType(): NavigationType; … … 41 41 * `<NavLink>`. 42 42 * 43 * @see https://reactrouter.com/ hooks/use-match43 * @see https://reactrouter.com/v6/hooks/use-match 44 44 */ 45 45 export declare function useMatch<ParamKey extends ParamParseKey<Path>, Path extends string>(pattern: PathPattern<Path> | Path): PathMatch<ParamKey> | null; … … 55 55 * may also be used by other elements to change the location. 56 56 * 57 * @see https://reactrouter.com/ hooks/use-navigate57 * @see https://reactrouter.com/v6/hooks/use-navigate 58 58 */ 59 59 export declare function useNavigate(): NavigateFunction; … … 61 61 * Returns the context (if provided) for the child route at this level of the route 62 62 * hierarchy. 63 * @see https://reactrouter.com/ hooks/use-outlet-context63 * @see https://reactrouter.com/v6/hooks/use-outlet-context 64 64 */ 65 65 export declare function useOutletContext<Context = unknown>(): Context; … … 68 68 * hierarchy. Used internally by `<Outlet>` to render child routes. 69 69 * 70 * @see https://reactrouter.com/ hooks/use-outlet70 * @see https://reactrouter.com/v6/hooks/use-outlet 71 71 */ 72 72 export declare function useOutlet(context?: unknown): React.ReactElement | null; … … 75 75 * URL that were matched by the route path. 76 76 * 77 * @see https://reactrouter.com/ hooks/use-params77 * @see https://reactrouter.com/v6/hooks/use-params 78 78 */ 79 79 export declare function useParams<ParamsOrKey extends string | Record<string, string | undefined> = string>(): Readonly<[ … … 83 83 * Resolves the pathname of the given `to` value against the current location. 84 84 * 85 * @see https://reactrouter.com/ hooks/use-resolved-path85 * @see https://reactrouter.com/v6/hooks/use-resolved-path 86 86 */ 87 87 export declare function useResolvedPath(to: To, { relative }?: { … … 94 94 * element. 95 95 * 96 * @see https://reactrouter.com/ hooks/use-routes96 * @see https://reactrouter.com/v6/hooks/use-routes 97 97 */ 98 98 export declare function useRoutes(routes: RouteObject[], locationArg?: Partial<Location> | string): React.ReactElement | null;
Note:
See TracChangeset
for help on using the changeset viewer.