diff --git a/package-lock.json b/package-lock.json index 649c9f7..1cadee9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@equinor/subsurface-app-management", - "version": "1.1.17", + "version": "1.1.18", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@equinor/subsurface-app-management", - "version": "1.1.17", + "version": "1.1.18", "license": "ISC", "dependencies": { "@azure/msal-browser": "3.26.1", diff --git a/package.json b/package.json index 7dea214..2c2e65a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@equinor/subsurface-app-management", - "version": "1.1.17", + "version": "1.1.18", "description": "React Typescript components/hooks to communicate with equinor/sam", "types": "dist/index.d.ts", "type": "module", diff --git a/src/providers/TutorialProvider/TutorialDialog.tsx b/src/providers/TutorialProvider/TutorialDialog.tsx index 0054595..a5a326f 100644 --- a/src/providers/TutorialProvider/TutorialDialog.tsx +++ b/src/providers/TutorialProvider/TutorialDialog.tsx @@ -1,6 +1,6 @@ import { CSSProperties, FC, useMemo } from 'react'; -import { Button, Typography } from '@equinor/eds-core-react'; +import { Button } from '@equinor/eds-core-react'; import { DIALOG_EDGE_MARGIN, @@ -11,6 +11,7 @@ import { DialogActions, DialogContent, DialogImage, + DialogTypography, DialogWrapper, NavigateSteps, StyledTutorialDialog, @@ -50,8 +51,12 @@ const TutorialDialog: FC = () => { ) { return ( <> - {currentStepObject.title} - {currentStepObject.body} + + {currentStepObject.title} + + + {currentStepObject.body} + {currentStepObject.imgUrl && sasToken && ( { }, [activeTutorial, allElementsToHighlight, currentStep, viewportWidth]); const tutorialsForPath = useMemo(() => { - return appTutorials.filter((item) => item.path === pathname); + return appTutorials.filter((item) => pathname.includes(item.path)); }, [appTutorials, pathname]); const runTutorial = useCallback(