@equinor/mad-core 0.5.6 → 0.5.7

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,14 @@
1
1
  # @equinor/mad-core
2
2
 
3
+ ## 0.5.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 4724aea: `MadConfig`: `addScreenManually` option added for `login`. Lets the developer add login
8
+ screen to the stack manually in order to access otherwise inaccessible props
9
+ - Updated dependencies [b2b8572]
10
+ - @equinor/mad-insights@0.1.2
11
+
3
12
  ## 0.5.6
4
13
 
5
14
  ### Patch Changes
package/README.md CHANGED
@@ -186,9 +186,10 @@ export const config: MadConfig<RootStackParamList> = {
186
186
 
187
187
  ###### Login config
188
188
 
189
- | key | required? | explanation |
190
- | -------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
191
- | `splash` | true | The splash screen of the application. Will be used as a background for the login screen. For best results, set `resizeMode` to `"cover"`, and `backgroundColor` to your splash screen's background color in `app.json`. `@equinor/mad-core` will use resize mode `cover` on iOS, and `contain` on web. |
189
+ | key | required? | explanation |
190
+ | ------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
191
+ | `splash` | true | The splash screen of the application. Will be used as a background for the login screen. For best results, set `resizeMode` to `"cover"`, and `backgroundColor` to your splash screen's background color in `app.json`. `@equinor/mad-core` will use resize mode `cover` on iOS, and `contain` on web. |
192
+ | `addScreenManually` | false | Set this to true if you want to add the login screen manually to the stack, just like you do with SettingsScreen. This way you can access LoginScreen's props: `onAuthenticationSuccessful` and `onAuthenticationFailed`. When adding `LoginScreen` to the stack, use `getDefaultScreenOptionsForLoginScreen` to use the same options as we do when adding the screen automatically. |
192
193
 
193
194
  ###### Application Insights config
194
195
 
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createNativeStackNavigator
3
- } from "./chunk-TF36L3FR.js";
3
+ } from "./chunk-YAJADU3B.js";
4
4
  import {
5
5
  createMadCoreNavigator
6
- } from "./chunk-K4I6DYU6.js";
6
+ } from "./chunk-NRHTYQGK.js";
7
7
  import {
8
8
  setConfig
9
9
  } from "./chunk-QPOHC55P.js";
@@ -1,3 +1,6 @@
1
+ import {
2
+ WhatsNewScreen
3
+ } from "./chunk-SALPRFHN.js";
1
4
  import {
2
5
  CreateIncidentScreen
3
6
  } from "./chunk-SKYDZALS.js";
@@ -7,18 +10,18 @@ import {
7
10
  import {
8
11
  ReleaseNotesScreen
9
12
  } from "./chunk-EIUO72M7.js";
10
- import {
11
- WhatsNewScreen
12
- } from "./chunk-SALPRFHN.js";
13
13
  import {
14
14
  AboutScreen
15
15
  } from "./chunk-Z5L7N2J2.js";
16
16
  import {
17
17
  LoginScreen
18
- } from "./chunk-7OEKHABR.js";
18
+ } from "./chunk-T5I2WEWD.js";
19
19
  import {
20
20
  ServiceMessageProvider
21
21
  } from "./chunk-MGYUDNB3.js";
22
+ import {
23
+ getDefaultScreenOptionsForLoginScreen
24
+ } from "./chunk-RGJ4RWVB.js";
22
25
  import {
23
26
  EnvironmentProvider
24
27
  } from "./chunk-JBWTRJUX.js";
@@ -41,16 +44,12 @@ var createMadCoreNavigator = (Stack) => {
41
44
  const config = useMadConfig();
42
45
  if (!config)
43
46
  return null;
44
- return /* @__PURE__ */ React.createElement(AppInsightsInitializer, { config: config.applicationInsights }, /* @__PURE__ */ React.createElement(EnvironmentProvider, null, /* @__PURE__ */ React.createElement(ServiceMessageProvider, null, /* @__PURE__ */ React.createElement(Stack.Navigator, __spreadProps(__spreadValues({}, props), { initialRouteName: CoreRoutes.LOGIN }), /* @__PURE__ */ React.createElement(
47
+ return /* @__PURE__ */ React.createElement(AppInsightsInitializer, { config: config.applicationInsights }, /* @__PURE__ */ React.createElement(EnvironmentProvider, null, /* @__PURE__ */ React.createElement(ServiceMessageProvider, null, /* @__PURE__ */ React.createElement(Stack.Navigator, __spreadProps(__spreadValues({}, props), { initialRouteName: CoreRoutes.LOGIN }), config.login.addScreenManually !== true && /* @__PURE__ */ React.createElement(
45
48
  Stack.Screen,
46
49
  {
47
50
  name: CoreRoutes.LOGIN,
48
51
  component: LoginScreen,
49
- options: {
50
- headerShown: false,
51
- customSubHeaderShown: true,
52
- customSubHeaderFloat: true
53
- }
52
+ options: getDefaultScreenOptionsForLoginScreen()
54
53
  }
55
54
  ), /* @__PURE__ */ React.createElement(
56
55
  Stack.Screen,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ServiceMessageBanner
3
- } from "./chunk-QHCU7RLF.js";
3
+ } from "./chunk-WDJ3G2HK.js";
4
4
  import {
5
5
  EnvironmentBanner
6
6
  } from "./chunk-PFVXASJV.js";
@@ -0,0 +1,10 @@
1
+ // src/utils/getDefaultScreenOptionsForLoginScreen.tsx
2
+ var getDefaultScreenOptionsForLoginScreen = () => ({
3
+ headerShown: false,
4
+ customSubHeaderShown: true,
5
+ customSubHeaderFloat: true
6
+ });
7
+
8
+ export {
9
+ getDefaultScreenOptionsForLoginScreen
10
+ };
@@ -20,7 +20,10 @@ import React, { useState } from "react";
20
20
  import { Image, Platform, Pressable, View } from "react-native";
21
21
  import { LoginButton } from "@equinor/mad-auth";
22
22
  import { metricKeys, metricStatus, track } from "@equinor/mad-insights";
23
- var LoginScreen = () => {
23
+ var LoginScreen = ({
24
+ onAuthenticationSuccessful,
25
+ onAuthenticationFailed
26
+ }) => {
24
27
  var _a;
25
28
  const styles = useStyles(theme);
26
29
  const dictionary = useDictionary();
@@ -39,17 +42,21 @@ var LoginScreen = () => {
39
42
  )), /* @__PURE__ */ React.createElement(View, { style: styles.buttonContainer }, /* @__PURE__ */ React.createElement(
40
43
  LoginButton,
41
44
  __spreadProps(__spreadValues({}, authConfig), {
42
- onAuthenticationSuccessful: (_, type) => {
45
+ onAuthenticationSuccessful: (result, type) => {
43
46
  if (type === "AUTOMATIC") {
44
47
  void track(metricKeys.AUTHENTICATION_AUTOMATIC);
45
48
  } else {
46
49
  void track(metricKeys.AUTHENTICATION, metricStatus.SUCCESS);
47
50
  }
51
+ onAuthenticationSuccessful == null ? void 0 : onAuthenticationSuccessful(result, type);
48
52
  navigate();
49
53
  },
50
- onAuthenticationFailed: (error) => void track(metricKeys.AUTHENTICATION, metricStatus.FAILED, void 0, {
51
- error
52
- }),
54
+ onAuthenticationFailed: (error) => {
55
+ void track(metricKeys.AUTHENTICATION, metricStatus.FAILED, void 0, {
56
+ error
57
+ });
58
+ onAuthenticationFailed == null ? void 0 : onAuthenticationFailed(error);
59
+ },
53
60
  title: dictionary.login.logIn,
54
61
  enableAutomaticAuthentication: true,
55
62
  scopes: (_a = authConfig.scopes) != null ? _a : []
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MadCoreSubHeader
3
- } from "./chunk-JVWGVT35.js";
3
+ } from "./chunk-Q6Y7X2DV.js";
4
4
 
5
5
  // src/components/navigation/navigation-creators.ts
6
6
  import {
@@ -1,26 +1,27 @@
1
1
  import {
2
2
  createCoreStackNavigator
3
- } from "../chunk-SAN5LMEQ.js";
3
+ } from "../chunk-63ETWROC.js";
4
4
  import "../chunk-2GCLIPZP.js";
5
- import "../chunk-TF36L3FR.js";
6
- import "../chunk-JVWGVT35.js";
7
- import "../chunk-QHCU7RLF.js";
5
+ import "../chunk-YAJADU3B.js";
6
+ import "../chunk-Q6Y7X2DV.js";
7
+ import "../chunk-WDJ3G2HK.js";
8
+ import "../chunk-ZSUFR7LK.js";
8
9
  import "../chunk-YWPELSTX.js";
9
10
  import "../chunk-SHKOH7MA.js";
10
- import "../chunk-ZSUFR7LK.js";
11
- import "../chunk-K4I6DYU6.js";
11
+ import "../chunk-NRHTYQGK.js";
12
+ import "../chunk-SALPRFHN.js";
12
13
  import "../chunk-SKYDZALS.js";
13
14
  import "../chunk-5IS2WJYY.js";
14
15
  import "../chunk-CAOQCE6W.js";
15
16
  import "../chunk-WR2XIM3H.js";
16
17
  import "../chunk-D26BI76L.js";
17
18
  import "../chunk-EIUO72M7.js";
18
- import "../chunk-SALPRFHN.js";
19
19
  import "../chunk-CIMA2GQQ.js";
20
20
  import "../chunk-Z5L7N2J2.js";
21
- import "../chunk-7OEKHABR.js";
21
+ import "../chunk-T5I2WEWD.js";
22
22
  import "../chunk-MGYUDNB3.js";
23
23
  import "../chunk-FA4G2VZ5.js";
24
+ import "../chunk-RGJ4RWVB.js";
24
25
  import "../chunk-OCWASWDK.js";
25
26
  import "../chunk-7YRNVUJT.js";
26
27
  import "../chunk-GHWLQBHQ.js";
@@ -3,3 +3,4 @@ export * from "./NavigationContainer";
3
3
  export * from "./ErrorBoundary";
4
4
  export * from "./navigation";
5
5
  export * from "./screens/settings";
6
+ export * from "./screens/LoginScreen";
@@ -1,4 +1,4 @@
1
- import "../chunk-5LTGZQUP.js";
1
+ import "../chunk-JYWP44JR.js";
2
2
  import "../chunk-AK7PA4BE.js";
3
3
  import {
4
4
  SettingsScreen
@@ -16,30 +16,33 @@ import {
16
16
  } from "../chunk-W3LMT7N4.js";
17
17
  import {
18
18
  createCoreStackNavigator
19
- } from "../chunk-SAN5LMEQ.js";
19
+ } from "../chunk-63ETWROC.js";
20
20
  import "../chunk-2GCLIPZP.js";
21
21
  import {
22
22
  createBottomTabNavigator,
23
23
  createNativeStackNavigator
24
- } from "../chunk-TF36L3FR.js";
25
- import "../chunk-JVWGVT35.js";
26
- import "../chunk-QHCU7RLF.js";
24
+ } from "../chunk-YAJADU3B.js";
25
+ import "../chunk-Q6Y7X2DV.js";
26
+ import "../chunk-WDJ3G2HK.js";
27
+ import "../chunk-ZSUFR7LK.js";
27
28
  import "../chunk-YWPELSTX.js";
28
29
  import "../chunk-SHKOH7MA.js";
29
- import "../chunk-ZSUFR7LK.js";
30
- import "../chunk-K4I6DYU6.js";
30
+ import "../chunk-NRHTYQGK.js";
31
+ import "../chunk-SALPRFHN.js";
31
32
  import "../chunk-SKYDZALS.js";
32
33
  import "../chunk-5IS2WJYY.js";
33
34
  import "../chunk-CAOQCE6W.js";
34
35
  import "../chunk-WR2XIM3H.js";
35
36
  import "../chunk-D26BI76L.js";
36
37
  import "../chunk-EIUO72M7.js";
37
- import "../chunk-SALPRFHN.js";
38
38
  import "../chunk-CIMA2GQQ.js";
39
39
  import "../chunk-Z5L7N2J2.js";
40
- import "../chunk-7OEKHABR.js";
40
+ import {
41
+ LoginScreen
42
+ } from "../chunk-T5I2WEWD.js";
41
43
  import "../chunk-MGYUDNB3.js";
42
44
  import "../chunk-FA4G2VZ5.js";
45
+ import "../chunk-RGJ4RWVB.js";
43
46
  import "../chunk-OCWASWDK.js";
44
47
  import "../chunk-7YRNVUJT.js";
45
48
  import "../chunk-GHWLQBHQ.js";
@@ -70,6 +73,7 @@ import "../chunk-2OMVVDBU.js";
70
73
  import "../chunk-WEAGW6MQ.js";
71
74
  export {
72
75
  ErrorBoundary,
76
+ LoginScreen,
73
77
  NavigationContainer,
74
78
  SettingsScreen,
75
79
  createBottomTabNavigator,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  MadCoreSubHeader
3
- } from "../../chunk-JVWGVT35.js";
4
- import "../../chunk-QHCU7RLF.js";
3
+ } from "../../chunk-Q6Y7X2DV.js";
4
+ import "../../chunk-WDJ3G2HK.js";
5
+ import "../../chunk-ZSUFR7LK.js";
5
6
  import "../../chunk-YWPELSTX.js";
6
7
  import "../../chunk-SHKOH7MA.js";
7
- import "../../chunk-ZSUFR7LK.js";
8
8
  import "../../chunk-MGYUDNB3.js";
9
9
  import "../../chunk-FA4G2VZ5.js";
10
10
  import "../../chunk-RFYZGBU4.js";
@@ -2,12 +2,12 @@ import "../../chunk-2GCLIPZP.js";
2
2
  import {
3
3
  createBottomTabNavigator,
4
4
  createNativeStackNavigator
5
- } from "../../chunk-TF36L3FR.js";
6
- import "../../chunk-JVWGVT35.js";
7
- import "../../chunk-QHCU7RLF.js";
5
+ } from "../../chunk-YAJADU3B.js";
6
+ import "../../chunk-Q6Y7X2DV.js";
7
+ import "../../chunk-WDJ3G2HK.js";
8
+ import "../../chunk-ZSUFR7LK.js";
8
9
  import "../../chunk-YWPELSTX.js";
9
10
  import "../../chunk-SHKOH7MA.js";
10
- import "../../chunk-ZSUFR7LK.js";
11
11
  import "../../chunk-MGYUDNB3.js";
12
12
  import "../../chunk-FA4G2VZ5.js";
13
13
  import "../../chunk-RFYZGBU4.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createBottomTabNavigator,
3
3
  createNativeStackNavigator
4
- } from "../../chunk-TF36L3FR.js";
5
- import "../../chunk-JVWGVT35.js";
6
- import "../../chunk-QHCU7RLF.js";
4
+ } from "../../chunk-YAJADU3B.js";
5
+ import "../../chunk-Q6Y7X2DV.js";
6
+ import "../../chunk-WDJ3G2HK.js";
7
+ import "../../chunk-ZSUFR7LK.js";
7
8
  import "../../chunk-YWPELSTX.js";
8
9
  import "../../chunk-SHKOH7MA.js";
9
- import "../../chunk-ZSUFR7LK.js";
10
10
  import "../../chunk-MGYUDNB3.js";
11
11
  import "../../chunk-FA4G2VZ5.js";
12
12
  import "../../chunk-RFYZGBU4.js";
@@ -1,2 +1,4 @@
1
1
  import React from "react";
2
- export declare const LoginScreen: () => React.JSX.Element;
2
+ import { LoginButtonProps } from "@equinor/mad-auth";
3
+ export type LoginScreenProps = Partial<Pick<LoginButtonProps, "onAuthenticationSuccessful" | "onAuthenticationFailed">>;
4
+ export declare const LoginScreen: ({ onAuthenticationSuccessful, onAuthenticationFailed, }: LoginScreenProps) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LoginScreen
3
- } from "../../chunk-7OEKHABR.js";
3
+ } from "../../chunk-T5I2WEWD.js";
4
4
  import "../../chunk-ZHWM5E7I.js";
5
5
  import "../../chunk-UVQ3Z5PG.js";
6
6
  import "../../chunk-5BVQKJQB.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ServiceMessageBanner
3
- } from "../../chunk-QHCU7RLF.js";
3
+ } from "../../chunk-WDJ3G2HK.js";
4
+ import "../../chunk-ZSUFR7LK.js";
4
5
  import "../../chunk-YWPELSTX.js";
5
6
  import "../../chunk-SHKOH7MA.js";
6
- import "../../chunk-ZSUFR7LK.js";
7
7
  import "../../chunk-MGYUDNB3.js";
8
8
  import "../../chunk-FA4G2VZ5.js";
9
9
  import "../../chunk-RFYZGBU4.js";
package/dist/index.d.ts CHANGED
@@ -4,3 +4,4 @@ export { authenticateSilently, getAccount, signOut, authenticateInteractively, }
4
4
  export { appInsightsHasBeenInitialized, addTelemetryInitializer, Envelope, metricKeys, metricStatus, track, trackCustom, trackLongTerm, trackShortTerm, } from "@equinor/mad-insights";
5
5
  export * from "./hooks";
6
6
  export * from "./store";
7
+ export * from "./utils/getDefaultScreenOptionsForLoginScreen";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./chunk-6F4PWJZI.js";
2
- import "./chunk-5LTGZQUP.js";
2
+ import "./chunk-JYWP44JR.js";
3
3
  import "./chunk-AK7PA4BE.js";
4
4
  import {
5
5
  SettingsScreen
@@ -17,30 +17,35 @@ import {
17
17
  } from "./chunk-W3LMT7N4.js";
18
18
  import {
19
19
  createCoreStackNavigator
20
- } from "./chunk-SAN5LMEQ.js";
20
+ } from "./chunk-63ETWROC.js";
21
21
  import "./chunk-2GCLIPZP.js";
22
22
  import {
23
23
  createBottomTabNavigator,
24
24
  createNativeStackNavigator
25
- } from "./chunk-TF36L3FR.js";
26
- import "./chunk-JVWGVT35.js";
27
- import "./chunk-QHCU7RLF.js";
25
+ } from "./chunk-YAJADU3B.js";
26
+ import "./chunk-Q6Y7X2DV.js";
27
+ import "./chunk-WDJ3G2HK.js";
28
+ import "./chunk-ZSUFR7LK.js";
28
29
  import "./chunk-YWPELSTX.js";
29
30
  import "./chunk-SHKOH7MA.js";
30
- import "./chunk-ZSUFR7LK.js";
31
- import "./chunk-K4I6DYU6.js";
31
+ import "./chunk-NRHTYQGK.js";
32
+ import "./chunk-SALPRFHN.js";
32
33
  import "./chunk-SKYDZALS.js";
33
34
  import "./chunk-5IS2WJYY.js";
34
35
  import "./chunk-CAOQCE6W.js";
35
36
  import "./chunk-WR2XIM3H.js";
36
37
  import "./chunk-D26BI76L.js";
37
38
  import "./chunk-EIUO72M7.js";
38
- import "./chunk-SALPRFHN.js";
39
39
  import "./chunk-CIMA2GQQ.js";
40
40
  import "./chunk-Z5L7N2J2.js";
41
- import "./chunk-7OEKHABR.js";
41
+ import {
42
+ LoginScreen
43
+ } from "./chunk-T5I2WEWD.js";
42
44
  import "./chunk-MGYUDNB3.js";
43
45
  import "./chunk-FA4G2VZ5.js";
46
+ import {
47
+ getDefaultScreenOptionsForLoginScreen
48
+ } from "./chunk-RGJ4RWVB.js";
44
49
  import "./chunk-OCWASWDK.js";
45
50
  import "./chunk-7YRNVUJT.js";
46
51
  import "./chunk-GHWLQBHQ.js";
@@ -109,6 +114,7 @@ import {
109
114
  export {
110
115
  Envelope,
111
116
  ErrorBoundary,
117
+ LoginScreen,
112
118
  NavigationContainer,
113
119
  SettingsScreen,
114
120
  addTelemetryInitializer,
@@ -122,6 +128,7 @@ export {
122
128
  enableDemoMode,
123
129
  getAccount,
124
130
  getConfig,
131
+ getDefaultScreenOptionsForLoginScreen,
125
132
  getIsDemoModeEnabled,
126
133
  getIsLanguageSelected,
127
134
  getLanguage,
@@ -10,6 +10,7 @@ export type AuthConfig = {
10
10
  export declare const useAuthConfig: () => AuthConfig;
11
11
  export declare const useLoginScreenConfig: () => {
12
12
  splash: import("react-native").ImageSourcePropType;
13
+ addScreenManually?: boolean | undefined;
13
14
  };
14
15
  export declare const useAppVersion: () => string;
15
16
  export declare const useEnvironment: () => "dev" | "test" | "qa" | "prod";
package/dist/types.d.ts CHANGED
@@ -66,6 +66,10 @@ export type MadConfig<ParamList extends ParamListBase | void = void> = {
66
66
  * Splash screen of the application.
67
67
  */
68
68
  splash: ImageSourcePropType;
69
+ /**
70
+ * If you want to add the login screen manually to the stack, set this to true. This gives you access to additional props
71
+ */
72
+ addScreenManually?: boolean;
69
73
  }>;
70
74
  /**
71
75
  * App insights config used for initializing application insights service(s)
@@ -1,18 +1,19 @@
1
1
  import {
2
2
  createMadCoreNavigator
3
- } from "../chunk-K4I6DYU6.js";
3
+ } from "../chunk-NRHTYQGK.js";
4
+ import "../chunk-SALPRFHN.js";
4
5
  import "../chunk-SKYDZALS.js";
5
6
  import "../chunk-5IS2WJYY.js";
6
7
  import "../chunk-CAOQCE6W.js";
7
8
  import "../chunk-WR2XIM3H.js";
8
9
  import "../chunk-D26BI76L.js";
9
10
  import "../chunk-EIUO72M7.js";
10
- import "../chunk-SALPRFHN.js";
11
11
  import "../chunk-CIMA2GQQ.js";
12
12
  import "../chunk-Z5L7N2J2.js";
13
- import "../chunk-7OEKHABR.js";
13
+ import "../chunk-T5I2WEWD.js";
14
14
  import "../chunk-MGYUDNB3.js";
15
15
  import "../chunk-FA4G2VZ5.js";
16
+ import "../chunk-RGJ4RWVB.js";
16
17
  import "../chunk-OCWASWDK.js";
17
18
  import "../chunk-7YRNVUJT.js";
18
19
  import "../chunk-GHWLQBHQ.js";
@@ -0,0 +1,2 @@
1
+ import { MadNativeStackNavigationOptions } from "@equinor/mad-navigation";
2
+ export declare const getDefaultScreenOptionsForLoginScreen: () => MadNativeStackNavigationOptions;
@@ -0,0 +1,7 @@
1
+ import {
2
+ getDefaultScreenOptionsForLoginScreen
3
+ } from "../chunk-RGJ4RWVB.js";
4
+ import "../chunk-WEAGW6MQ.js";
5
+ export {
6
+ getDefaultScreenOptionsForLoginScreen
7
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/mad-core",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Core library for the Mobile App Delivery team",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -36,9 +36,9 @@
36
36
  "showdown": "2.1.0",
37
37
  "zustand": "^4.4.1",
38
38
  "@equinor/mad-auth": "0.1.18",
39
- "@equinor/mad-components": "0.12.7",
40
- "@equinor/mad-insights": "0.1.1",
41
- "@equinor/mad-navigation": "0.3.0"
39
+ "@equinor/mad-insights": "0.1.2",
40
+ "@equinor/mad-navigation": "0.3.0",
41
+ "@equinor/mad-components": "0.12.7"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@babel/core": "^7.21.4",
File without changes
@@ -1,12 +1,12 @@
1
+ import {
2
+ DisableableSwipeable
3
+ } from "./chunk-ZSUFR7LK.js";
1
4
  import {
2
5
  ExpansionToggle
3
6
  } from "./chunk-YWPELSTX.js";
4
7
  import {
5
8
  resolveMessageFromServiceMessage
6
9
  } from "./chunk-SHKOH7MA.js";
7
- import {
8
- DisableableSwipeable
9
- } from "./chunk-ZSUFR7LK.js";
10
10
  import {
11
11
  useServiceMessageState
12
12
  } from "./chunk-MGYUDNB3.js";