@equinor/mad-core 0.21.0 → 0.21.2
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 +30 -0
- package/dist/{chunk-DGIAXVWS.js → chunk-DIZ362AR.js} +4 -4
- package/dist/chunk-EVG7EUK7.js +37 -0
- package/dist/{chunk-5HF72JIH.js → chunk-HMSGR2IM.js} +3 -3
- package/dist/{chunk-LLYUBOEA.js → chunk-K2VWLSI5.js} +1 -1
- package/dist/{chunk-B6AVRRLL.js → chunk-NDRURPIR.js} +8 -8
- package/dist/{chunk-PQODWSOK.js → chunk-OCAG6MUP.js} +2 -2
- package/dist/{chunk-4KSJR7E5.js → chunk-OZJY2WSO.js} +4 -3
- package/dist/{chunk-YOYEOAPW.js → chunk-WC3B6QZZ.js} +2 -2
- package/dist/components/createCoreStackNavigator.js +27 -27
- package/dist/components/index.js +32 -32
- package/dist/components/navigation/MadCoreSubHeader.js +1 -1
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/navigation/navigation-creators.js +1 -1
- package/dist/components/screens/AboutScreen.js +2 -2
- package/dist/components/screens/LoginScreen.js +3 -3
- package/dist/components/screens/create-incident/CreateIncidentScreen.js +27 -27
- package/dist/components/screens/create-incident/createIncident.js +27 -27
- package/dist/components/screens/language/SelectLanguageScreen.js +4 -4
- package/dist/components/screens/release-notes/ChangeLog.js +1 -1
- package/dist/components/screens/release-notes/ReleaseNotesScreen.js +4 -4
- package/dist/components/screens/release-notes/WhatsNewScreen.js +5 -5
- package/dist/components/screens/settings/Section.js +1 -1
- package/dist/components/screens/settings/SettingsScreen.js +4 -4
- package/dist/components/screens/settings/index.js +4 -4
- package/dist/components/screens/settings/useSignOut.js +2 -2
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/useNavigateFromLanguageSelectScreen.js +2 -2
- package/dist/hooks/useNavigateFromLoginScreen.js +2 -2
- package/dist/hooks/useNavigateFromWhatsNewScreen.js +2 -2
- package/dist/hooks/useScreenTitleFromDictionary.js +2 -2
- package/dist/index.js +36 -36
- package/dist/utils/MadCoreProviders.js +1 -1
- package/dist/utils/createMadCoreNavigator.js +27 -27
- package/package.json +14 -3
- package/dist/chunk-XLQYZR5C.js +0 -38
- package/dist/{chunk-INA5ANZO.js → chunk-75UZ4BR5.js} +4 -4
- package/dist/{chunk-X33ICKCC.js → chunk-C7NJODNT.js} +3 -3
- package/dist/{chunk-HADLUP7M.js → chunk-JADYNBGN.js} +3 -3
- package/dist/{chunk-27KFGUGY.js → chunk-KB3M7X3Q.js} +3 -3
- package/dist/{chunk-4TVVFWGM.js → chunk-PMQPVI37.js} +3 -3
package/dist/chunk-XLQYZR5C.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadProps,
|
|
3
|
-
__spreadValues
|
|
4
|
-
} from "./chunk-CWMXXUWU.js";
|
|
5
|
-
|
|
6
|
-
// src/components/screens/release-notes/ChangeLog.tsx
|
|
7
|
-
import React from "react";
|
|
8
|
-
import { View } from "react-native";
|
|
9
|
-
import { EDSStyleSheet, useStyles } from "@equinor/mad-components";
|
|
10
|
-
import Markdown from "react-native-markdown-display";
|
|
11
|
-
var ChangeLog = ({ release }) => {
|
|
12
|
-
const styles = useStyles(changeLogStyles);
|
|
13
|
-
return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(Markdown, { style: styles }, release.releaseNote));
|
|
14
|
-
};
|
|
15
|
-
var changeLogStyles = EDSStyleSheet.create((theme) => ({
|
|
16
|
-
text: __spreadProps(__spreadValues({}, theme.typography.basic.p), {
|
|
17
|
-
color: theme.colors.text.primary
|
|
18
|
-
}),
|
|
19
|
-
bullet_list: {
|
|
20
|
-
display: "flex",
|
|
21
|
-
alignItems: "flex-start",
|
|
22
|
-
marginVertical: theme.spacing.textField.paddingVertical,
|
|
23
|
-
listStyleType: "square"
|
|
24
|
-
},
|
|
25
|
-
list_item: {
|
|
26
|
-
marginHorizontal: theme.spacing.textField.paddingHorizontal,
|
|
27
|
-
paddingBottom: theme.spacing.textField.paddingVertical
|
|
28
|
-
},
|
|
29
|
-
bullet_list_icon: __spreadProps(__spreadValues({}, theme.typography.basic.p), {
|
|
30
|
-
fontSize: 48,
|
|
31
|
-
lineHeight: 40,
|
|
32
|
-
color: theme.colors.text.primary
|
|
33
|
-
})
|
|
34
|
-
}));
|
|
35
|
-
|
|
36
|
-
export {
|
|
37
|
-
ChangeLog
|
|
38
|
-
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getNavigationRouteForSelectLanguageScreen
|
|
3
3
|
} from "./chunk-TGYT7TUP.js";
|
|
4
|
+
import {
|
|
5
|
+
useCoreStackNavigation,
|
|
6
|
+
useCoreStackRoute
|
|
7
|
+
} from "./chunk-BIMOM43W.js";
|
|
4
8
|
import {
|
|
5
9
|
useNavigateToMainRoute
|
|
6
10
|
} from "./chunk-WWNTKXBS.js";
|
|
7
11
|
import {
|
|
8
12
|
CoreRoutes
|
|
9
13
|
} from "./chunk-UKAZW3CQ.js";
|
|
10
|
-
import {
|
|
11
|
-
useCoreStackNavigation,
|
|
12
|
-
useCoreStackRoute
|
|
13
|
-
} from "./chunk-BIMOM43W.js";
|
|
14
14
|
|
|
15
15
|
// src/hooks/useNavigateFromLanguageSelectScreen.ts
|
|
16
16
|
var useNavigateFromLanguageSelectScreen = () => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getNavigationRouteForWhatsNewScreen
|
|
3
3
|
} from "./chunk-WEUFP6WW.js";
|
|
4
|
+
import {
|
|
5
|
+
useCoreStackNavigation
|
|
6
|
+
} from "./chunk-BIMOM43W.js";
|
|
4
7
|
import {
|
|
5
8
|
useLanguage,
|
|
6
9
|
useMadConfig,
|
|
7
10
|
useNavigateToMainRoute
|
|
8
11
|
} from "./chunk-WWNTKXBS.js";
|
|
9
|
-
import {
|
|
10
|
-
useCoreStackNavigation
|
|
11
|
-
} from "./chunk-BIMOM43W.js";
|
|
12
12
|
|
|
13
13
|
// src/hooks/useNavigateFromWhatsNewScreen.ts
|
|
14
14
|
var useNavigateFromWhatsNewScreen = () => {
|
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getNavigationRouteForLoginScreen
|
|
6
6
|
} from "./chunk-A4OAMNA3.js";
|
|
7
|
+
import {
|
|
8
|
+
useCoreStackNavigation
|
|
9
|
+
} from "./chunk-BIMOM43W.js";
|
|
7
10
|
import {
|
|
8
11
|
disableDemoMode,
|
|
9
12
|
enableDemoMode,
|
|
@@ -15,9 +18,6 @@ import {
|
|
|
15
18
|
useMadConfig,
|
|
16
19
|
useNavigateToMainRoute
|
|
17
20
|
} from "./chunk-WWNTKXBS.js";
|
|
18
|
-
import {
|
|
19
|
-
useCoreStackNavigation
|
|
20
|
-
} from "./chunk-BIMOM43W.js";
|
|
21
21
|
|
|
22
22
|
// src/hooks/useNavigateFromLoginScreen.ts
|
|
23
23
|
var useNavigateFromLoginScreen = () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useDictionary
|
|
3
|
-
} from "./chunk-WWNTKXBS.js";
|
|
4
1
|
import {
|
|
5
2
|
useCoreStackNavigation
|
|
6
3
|
} from "./chunk-BIMOM43W.js";
|
|
4
|
+
import {
|
|
5
|
+
useDictionary
|
|
6
|
+
} from "./chunk-WWNTKXBS.js";
|
|
7
7
|
|
|
8
8
|
// src/hooks/useScreenTitleFromDictionary.ts
|
|
9
9
|
import { useLayoutEffect } from "react";
|