diff --git a/README.md b/README.md index 12e3dc05..8f858c0b 100644 --- a/README.md +++ b/README.md @@ -296,7 +296,6 @@ Information regarding the changes will be disseminated to the owners of all prop | config.user | 'auto' | no | Instruct the uni-nav to auto-fetch user profile info based on the `tcjwt` cookie value | {} | | config.user | {photoURL, userId, initials, handle} | no | The logged in user | {} | | config.supportMeta | {challengeId, isSelfService} | no | Additional meta data to be sent along with any support ticket created by the user | | -| config.integrations | {userflow?: 'disable'} | no | Disable userflow integration | | ### User Model You can either pass user's details as described by the `AuthUser` interface, or pass a value of `auto` and uni-nav will automatically fetch user's details from the api based on the tcjwt auth cookie. @@ -326,13 +325,6 @@ After `init` is called, you should call only `update` for further updates. >**NOTE** Both methods accept the same config object as mentioned in the previous section [API for tcUniNav](#api-for-tcuninav). -### Custom Integrations - -#### Userflow -Userflow is used to display surveys and tips for the user. -You can manually trigger a predefined userflow content item by calling the method `triggerFlow` via uninav. Eg. `tcUniNav('triggerFlow', 'userflow-content-id', ...userflowArgs)`. - - ### Typescript Support Typescript type declarations (i.e. `*.d.ts`) can be sourced from the Github repo in the devDependencies of your package.json: diff --git a/src/lib/components/LinksMenu.svelte b/src/lib/components/LinksMenu.svelte index 280b34bb..ee13040f 100644 --- a/src/lib/components/LinksMenu.svelte +++ b/src/lib/components/LinksMenu.svelte @@ -4,7 +4,7 @@ import { classnames } from "lib/utils/classnames"; import { getPublicPath } from 'lib/utils/paths'; import SubMenu from "./SubMenu.svelte"; - import { NavigationHandler } from "../app-context/navigation-handler.model"; + import type { NavigationHandler } from "../app-context/navigation-handler.model"; const chevronDownIconUrl = getPublicPath(`/assets/ic-chevron-down.svg`); export let ref: Element | undefined = undefined; diff --git a/src/lib/components/SubMenu.svelte b/src/lib/components/SubMenu.svelte index ee896811..61b3b8fd 100644 --- a/src/lib/components/SubMenu.svelte +++ b/src/lib/components/SubMenu.svelte @@ -1,6 +1,6 @@