@equinor/fusion-framework-react-app 10.0.7 → 11.0.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e4969db: Add `./routing` entry point that re-exports the full public API of
8
+ `@equinor/fusion-framework-react-router` and its route builder DSL.
9
+
10
+ App, portal, and widget consumers can now import all routing primitives from a single package
11
+ without adding `@equinor/fusion-framework-react-router` as a direct dependency.
12
+
13
+ Requires `@equinor/fusion-framework-react-router` (optional peer dependency):
14
+
15
+ ```bash
16
+ pnpm add @equinor/fusion-framework-react-router
17
+ ```
18
+
19
+ **Usage:**
20
+
21
+ ```ts
22
+ import { Router } from "@equinor/fusion-framework-react-app/routing";
23
+ import {
24
+ layout,
25
+ index,
26
+ route,
27
+ prefix,
28
+ } from "@equinor/fusion-framework-react-app/routing";
29
+ import {
30
+ useNavigate,
31
+ useParams,
32
+ Link,
33
+ } from "@equinor/fusion-framework-react-app/routing";
34
+ ```
35
+
36
+ All exports from `@equinor/fusion-framework-react-router` and its `/routes` DSL are available
37
+ from this single entry point.
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [f3bf74b]
42
+ - Updated dependencies [b7b1d9a]
43
+ - Updated dependencies [b7b1d9a]
44
+ - Updated dependencies [b7b1d9a]
45
+ - @equinor/fusion-framework-module-navigation@7.0.4
46
+ - @equinor/fusion-framework-module@6.1.0
47
+ - @equinor/fusion-framework-react-module@4.0.1
48
+ - @equinor/fusion-framework-app@11.0.7
49
+ - @equinor/fusion-framework-module-msal@9.0.0
50
+ - @equinor/fusion-framework-module-app@8.0.2
51
+ - @equinor/fusion-framework-module-http@8.0.2
52
+ - @equinor/fusion-framework-react@8.0.0
53
+
54
+ ## 10.0.8
55
+
56
+ ### Patch Changes
57
+
58
+ - @equinor/fusion-framework-app@11.0.6
59
+
3
60
  ## 10.0.7
4
61
 
5
62
  ### Patch Changes
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Routing sub-path entry-point for `@equinor/fusion-framework-react-app`.
3
+ *
4
+ * Re-exports the full public API of `@equinor/fusion-framework-react-router`
5
+ * and its route builder DSL so consumers can import all routing primitives
6
+ * from a single entry point without adding a separate direct dependency.
7
+ *
8
+ * Requires `@equinor/fusion-framework-react-router` to be installed.
9
+ * It is declared as an optional peer dependency — install it only when
10
+ * you need routing in your app, portal, or widget.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import { Router } from '@equinor/fusion-framework-react-app/routing';
15
+ * import { layout, index, route } from '@equinor/fusion-framework-react-app/routing';
16
+ * ```
17
+ *
18
+ * @packageDocumentation
19
+ */
20
+ export * from '@equinor/fusion-framework-react-router';
21
+ // Explicit re-exports from /routes so the DSL `Route` class takes precedence
22
+ // over the deprecated react-router `Route` component from the main entry.
23
+ export { index, IndexRoute, route, Route, layout, LayoutRoute, prefix, PrefixRoute, } from '@equinor/fusion-framework-react-router/routes';
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/routing/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,cAAc,wCAAwC,CAAC;AACvD,6EAA6E;AAC7E,0EAA0E;AAC1E,OAAO,EACL,KAAK,EACL,UAAU,EACV,KAAK,EACL,KAAK,EACL,MAAM,EACN,WAAW,EACX,MAAM,EACN,WAAW,GACZ,MAAM,+CAA+C,CAAC"}
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '10.0.7';
2
+ export const version = '11.0.0';
3
3
  //# sourceMappingURL=version.js.map