@molecule/app-routing-react-router 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. package/README.md +8 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-10-25T14:57:33.051Z
6
+ Generated: 2026-10-26T04:27:24.124Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-routing-react-router
@@ -729,7 +729,7 @@ function useIsActive(path: string, exact?: boolean): boolean
729
729
  Hook to get a navigate function with molecule Router options.
730
730
 
731
731
  ```typescript
732
- function useMoleculeNavigate(): (path: string, options?: NavigateOptions) => void
732
+ function useMoleculeNavigate(): Router['navigate']
733
733
  ```
734
734
 
735
735
  **Returns:** Navigate function
@@ -766,7 +766,7 @@ queries; changing filters or views resets the page atomically. Protected views w
766
766
  auth and redirect only a confirmed signed-out session, with `state.returnTo` set.
767
767
 
768
768
  ```typescript
769
- function useListRoute(
769
+ function useListRoute<Filter extends string = string, Selection extends string = string>(
770
770
  options?: ListRouteOptions<Filter, Selection>,
771
771
  ): ListRouteResult<Filter, Selection>
772
772
  ```
@@ -806,7 +806,11 @@ function stringifyQuery(params: QueryParams): string
806
806
  Matches a path pattern (with `:param` segments and `*` wildcards) against a pathname.
807
807
 
808
808
  ```typescript
809
- function matchPath(pattern: string, pathname: string, exact?: boolean): RouteMatch<Params> | null
809
+ function matchPath<Params extends RouteParams = RouteParams>(
810
+ pattern: string,
811
+ pathname: string,
812
+ exact?: boolean,
813
+ ): RouteMatch<Params> | null
810
814
  ```
811
815
 
812
816
  - `pattern` — The route pattern (e.g. `'/users/:id'`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/app-routing-react-router",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "React Router v7 provider for @molecule/app-routing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "react-router": "^7.0.0 || ^8.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@molecule/app-i18n": "1.1.0",
31
+ "@molecule/app-i18n": "1.1.1",
32
32
  "@types/node": "26.6.5",
33
33
  "@types/react": "19.3.0",
34
34
  "react": "19.3.1",