├── .changeset ├── README.md └── config.json ├── .editorconfig ├── .github ├── FUNDING.yml └── workflows │ ├── gh-page.yml │ └── release-npm.yml ├── .gitignore ├── .husky ├── .gitignore ├── commit-msg └── pre-commit ├── LICENSE ├── README.md ├── apps └── web │ ├── .eslintrc.json │ ├── README.md │ ├── docs │ ├── API │ │ ├── methods │ │ │ ├── register-handler.mdx │ │ │ ├── reset-settings.mdx │ │ │ ├── reset-state.mdx │ │ │ ├── unsubscribe.mdx │ │ │ └── update-settings.mdx │ │ └── properties │ │ │ ├── is-triggered.mdx │ │ │ ├── is-unsubscribed.mdx │ │ │ ├── settings.mdx │ │ │ └── will-be-triggered.mdx │ ├── getting-started │ │ ├── installation.mdx │ │ └── overview.mdx │ ├── meta.json │ └── settings │ │ ├── cookie.mdx │ │ ├── desktop.mdx │ │ └── mobile.mdx │ ├── next-env.d.ts │ ├── next.config.mjs │ ├── package.json │ ├── public │ ├── abstract-background.jpg │ ├── background.svg │ ├── banner.svg │ ├── favicon.ico │ ├── link.svg │ ├── logo.png │ ├── social.png │ └── sparkles.png │ ├── src │ ├── components │ │ ├── Docs │ │ │ ├── LinkTree │ │ │ │ ├── Link │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ │ ├── Tree │ │ │ │ │ └── index.tsx │ │ │ │ └── index.tsx │ │ │ ├── MDXComponents │ │ │ │ ├── CodeBox │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles.ts │ │ │ │ ├── index.tsx │ │ │ │ └── styles.ts │ │ │ ├── PaginationNavigator │ │ │ │ ├── index.tsx │ │ │ │ └── styles.ts │ │ │ └── index.ts │ │ ├── ExternalLink │ │ │ └── index.tsx │ │ ├── FixedHeader │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Footer │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Head │ │ │ └── index.tsx │ │ ├── Header │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Icons │ │ │ ├── Checkmark.tsx │ │ │ ├── Clipboard.tsx │ │ │ ├── GitHub.tsx │ │ │ ├── Menu.tsx │ │ │ ├── Spinner │ │ │ │ ├── index.tsx │ │ │ │ └── styles.ts │ │ │ └── index.tsx │ │ ├── InstallationBox │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Layout │ │ │ ├── Background │ │ │ │ └── index.ts │ │ │ ├── Box │ │ │ │ └── index.ts │ │ │ ├── Button │ │ │ │ └── index.ts │ │ │ ├── Description │ │ │ │ └── index.ts │ │ │ ├── OuterClickArea │ │ │ │ └── index.ts │ │ │ ├── RootContainer │ │ │ │ └── index.ts │ │ │ ├── Separator │ │ │ │ └── index.ts │ │ │ ├── Title │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── LibraryVersion │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Modals │ │ │ ├── ExitIntent │ │ │ │ ├── index.tsx │ │ │ │ └── styles.ts │ │ │ └── index.ts │ │ └── index.ts │ ├── hooks │ │ ├── index.ts │ │ ├── useDisclosure.ts │ │ ├── useElementIntersection.ts │ │ ├── useMatchMedia.ts │ │ └── usePackageManagerSelection.ts │ ├── modules │ │ ├── index.ts │ │ └── server │ │ │ ├── docs │ │ │ ├── getAllDocs.ts │ │ │ ├── getAllMDXFilePaths.ts │ │ │ ├── getDoc.ts │ │ │ ├── getDocLinks.ts │ │ │ ├── getDocPaginationNavigator.ts │ │ │ ├── getDocsFolder.ts │ │ │ ├── getMetaFile.ts │ │ │ ├── getParsedDocPaths.ts │ │ │ └── index.ts │ │ │ └── index.ts │ ├── pages │ │ ├── _app.tsx │ │ ├── _document.tsx │ │ ├── docs │ │ │ └── [...doc].tsx │ │ └── index.tsx │ ├── shared │ │ ├── constants │ │ │ ├── codes.ts │ │ │ ├── commands.ts │ │ │ ├── index.ts │ │ │ ├── intersection.ts │ │ │ ├── library.ts │ │ │ ├── meta.ts │ │ │ └── sizes.ts │ │ ├── types │ │ │ └── index.ts │ │ └── utils │ │ │ ├── createDebounce.ts │ │ │ ├── getPublicPath.ts │ │ │ ├── getType.ts │ │ │ ├── index.ts │ │ │ ├── queueTimeouts.ts │ │ │ ├── toObjectTree.ts │ │ │ └── unslugify.ts │ ├── styles │ │ ├── global.ts │ │ ├── index.ts │ │ ├── keyframes.ts │ │ └── lib │ │ │ └── react-syntax-highlighter │ │ │ └── theme.ts │ └── templates │ │ ├── Docs │ │ ├── index.tsx │ │ └── styles.ts │ │ ├── Home │ │ ├── Overview │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ ├── Playground │ │ │ ├── index.tsx │ │ │ └── styles.ts │ │ └── index.tsx │ │ └── index.ts │ └── tsconfig.json ├── commitlint.config.js ├── package.json ├── packages ├── eslint-config │ ├── index.js │ └── package.json ├── ts-config │ ├── base.json │ ├── next.json │ └── package.json └── use-exit-intent │ ├── .eslintrc.json │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── index.ts │ ├── types │ │ └── index.ts │ └── utils │ │ ├── constants.ts │ │ ├── factories │ │ ├── debounce.ts │ │ ├── idleEvents.ts │ │ └── index.ts │ │ ├── index.ts │ │ ├── is │ │ ├── clientSide.ts │ │ ├── desktop.ts │ │ ├── index.ts │ │ └── mobile.ts │ │ ├── processHandlersByDeviceContext.ts │ │ └── secondsToMiliseconds.ts │ └── tsconfig.json ├── turbo.json └── yarn.lock /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/gh-page.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/.github/workflows/gh-page.yml -------------------------------------------------------------------------------- /.github/workflows/release-npm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/.github/workflows/release-npm.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/README.md -------------------------------------------------------------------------------- /apps/web/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@daltonmenezes/eslint-config" 3 | } 4 | -------------------------------------------------------------------------------- /apps/web/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/README.md -------------------------------------------------------------------------------- /apps/web/docs/API/methods/register-handler.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/API/methods/register-handler.mdx -------------------------------------------------------------------------------- /apps/web/docs/API/methods/reset-settings.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/API/methods/reset-settings.mdx -------------------------------------------------------------------------------- /apps/web/docs/API/methods/reset-state.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/API/methods/reset-state.mdx -------------------------------------------------------------------------------- /apps/web/docs/API/methods/unsubscribe.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/API/methods/unsubscribe.mdx -------------------------------------------------------------------------------- /apps/web/docs/API/methods/update-settings.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/API/methods/update-settings.mdx -------------------------------------------------------------------------------- /apps/web/docs/API/properties/is-triggered.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/API/properties/is-triggered.mdx -------------------------------------------------------------------------------- /apps/web/docs/API/properties/is-unsubscribed.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/API/properties/is-unsubscribed.mdx -------------------------------------------------------------------------------- /apps/web/docs/API/properties/settings.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/API/properties/settings.mdx -------------------------------------------------------------------------------- /apps/web/docs/API/properties/will-be-triggered.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/API/properties/will-be-triggered.mdx -------------------------------------------------------------------------------- /apps/web/docs/getting-started/installation.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/getting-started/installation.mdx -------------------------------------------------------------------------------- /apps/web/docs/getting-started/overview.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/getting-started/overview.mdx -------------------------------------------------------------------------------- /apps/web/docs/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/meta.json -------------------------------------------------------------------------------- /apps/web/docs/settings/cookie.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/settings/cookie.mdx -------------------------------------------------------------------------------- /apps/web/docs/settings/desktop.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/settings/desktop.mdx -------------------------------------------------------------------------------- /apps/web/docs/settings/mobile.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/docs/settings/mobile.mdx -------------------------------------------------------------------------------- /apps/web/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/next-env.d.ts -------------------------------------------------------------------------------- /apps/web/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/next.config.mjs -------------------------------------------------------------------------------- /apps/web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/package.json -------------------------------------------------------------------------------- /apps/web/public/abstract-background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/public/abstract-background.jpg -------------------------------------------------------------------------------- /apps/web/public/background.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/public/background.svg -------------------------------------------------------------------------------- /apps/web/public/banner.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/public/banner.svg -------------------------------------------------------------------------------- /apps/web/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/public/favicon.ico -------------------------------------------------------------------------------- /apps/web/public/link.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/public/link.svg -------------------------------------------------------------------------------- /apps/web/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/public/logo.png -------------------------------------------------------------------------------- /apps/web/public/social.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/public/social.png -------------------------------------------------------------------------------- /apps/web/public/sparkles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/public/sparkles.png -------------------------------------------------------------------------------- /apps/web/src/components/Docs/LinkTree/Link/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/LinkTree/Link/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Docs/LinkTree/Link/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/LinkTree/Link/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Docs/LinkTree/Tree/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/LinkTree/Tree/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Docs/LinkTree/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/LinkTree/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Docs/MDXComponents/CodeBox/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/MDXComponents/CodeBox/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Docs/MDXComponents/CodeBox/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/MDXComponents/CodeBox/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Docs/MDXComponents/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/MDXComponents/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Docs/MDXComponents/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/MDXComponents/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Docs/PaginationNavigator/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/PaginationNavigator/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Docs/PaginationNavigator/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/PaginationNavigator/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Docs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Docs/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/ExternalLink/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/ExternalLink/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/FixedHeader/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/FixedHeader/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/FixedHeader/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/FixedHeader/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Footer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Footer/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Footer/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Footer/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Head/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Head/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Header/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Header/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Header/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Icons/Checkmark.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Icons/Checkmark.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Icons/Clipboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Icons/Clipboard.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Icons/GitHub.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Icons/GitHub.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Icons/Menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Icons/Menu.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Icons/Spinner/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Icons/Spinner/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Icons/Spinner/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Icons/Spinner/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Icons/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Icons/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/InstallationBox/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/InstallationBox/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/InstallationBox/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/InstallationBox/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Layout/Background/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Layout/Background/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/Layout/Box/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Layout/Box/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/Layout/Button/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Layout/Button/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/Layout/Description/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Layout/Description/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/Layout/OuterClickArea/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Layout/OuterClickArea/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/Layout/RootContainer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Layout/RootContainer/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/Layout/Separator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Layout/Separator/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/Layout/Title/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Layout/Title/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/Layout/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Layout/index.ts -------------------------------------------------------------------------------- /apps/web/src/components/LibraryVersion/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/LibraryVersion/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/LibraryVersion/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/LibraryVersion/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Modals/ExitIntent/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Modals/ExitIntent/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/Modals/ExitIntent/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/Modals/ExitIntent/styles.ts -------------------------------------------------------------------------------- /apps/web/src/components/Modals/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ExitIntent' 2 | -------------------------------------------------------------------------------- /apps/web/src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/components/index.ts -------------------------------------------------------------------------------- /apps/web/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/hooks/index.ts -------------------------------------------------------------------------------- /apps/web/src/hooks/useDisclosure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/hooks/useDisclosure.ts -------------------------------------------------------------------------------- /apps/web/src/hooks/useElementIntersection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/hooks/useElementIntersection.ts -------------------------------------------------------------------------------- /apps/web/src/hooks/useMatchMedia.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/hooks/useMatchMedia.ts -------------------------------------------------------------------------------- /apps/web/src/hooks/usePackageManagerSelection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/hooks/usePackageManagerSelection.ts -------------------------------------------------------------------------------- /apps/web/src/modules/index.ts: -------------------------------------------------------------------------------- 1 | export * from './server' 2 | -------------------------------------------------------------------------------- /apps/web/src/modules/server/docs/getAllDocs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/modules/server/docs/getAllDocs.ts -------------------------------------------------------------------------------- /apps/web/src/modules/server/docs/getAllMDXFilePaths.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/modules/server/docs/getAllMDXFilePaths.ts -------------------------------------------------------------------------------- /apps/web/src/modules/server/docs/getDoc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/modules/server/docs/getDoc.ts -------------------------------------------------------------------------------- /apps/web/src/modules/server/docs/getDocLinks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/modules/server/docs/getDocLinks.ts -------------------------------------------------------------------------------- /apps/web/src/modules/server/docs/getDocPaginationNavigator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/modules/server/docs/getDocPaginationNavigator.ts -------------------------------------------------------------------------------- /apps/web/src/modules/server/docs/getDocsFolder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/modules/server/docs/getDocsFolder.ts -------------------------------------------------------------------------------- /apps/web/src/modules/server/docs/getMetaFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/modules/server/docs/getMetaFile.ts -------------------------------------------------------------------------------- /apps/web/src/modules/server/docs/getParsedDocPaths.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/modules/server/docs/getParsedDocPaths.ts -------------------------------------------------------------------------------- /apps/web/src/modules/server/docs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/modules/server/docs/index.ts -------------------------------------------------------------------------------- /apps/web/src/modules/server/index.ts: -------------------------------------------------------------------------------- 1 | export * from './docs' 2 | -------------------------------------------------------------------------------- /apps/web/src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/pages/_app.tsx -------------------------------------------------------------------------------- /apps/web/src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/pages/_document.tsx -------------------------------------------------------------------------------- /apps/web/src/pages/docs/[...doc].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/pages/docs/[...doc].tsx -------------------------------------------------------------------------------- /apps/web/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/pages/index.tsx -------------------------------------------------------------------------------- /apps/web/src/shared/constants/codes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/constants/codes.ts -------------------------------------------------------------------------------- /apps/web/src/shared/constants/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/constants/commands.ts -------------------------------------------------------------------------------- /apps/web/src/shared/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/constants/index.ts -------------------------------------------------------------------------------- /apps/web/src/shared/constants/intersection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/constants/intersection.ts -------------------------------------------------------------------------------- /apps/web/src/shared/constants/library.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/constants/library.ts -------------------------------------------------------------------------------- /apps/web/src/shared/constants/meta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/constants/meta.ts -------------------------------------------------------------------------------- /apps/web/src/shared/constants/sizes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/constants/sizes.ts -------------------------------------------------------------------------------- /apps/web/src/shared/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/types/index.ts -------------------------------------------------------------------------------- /apps/web/src/shared/utils/createDebounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/utils/createDebounce.ts -------------------------------------------------------------------------------- /apps/web/src/shared/utils/getPublicPath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/utils/getPublicPath.ts -------------------------------------------------------------------------------- /apps/web/src/shared/utils/getType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/utils/getType.ts -------------------------------------------------------------------------------- /apps/web/src/shared/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/utils/index.ts -------------------------------------------------------------------------------- /apps/web/src/shared/utils/queueTimeouts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/utils/queueTimeouts.ts -------------------------------------------------------------------------------- /apps/web/src/shared/utils/toObjectTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/utils/toObjectTree.ts -------------------------------------------------------------------------------- /apps/web/src/shared/utils/unslugify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/shared/utils/unslugify.ts -------------------------------------------------------------------------------- /apps/web/src/styles/global.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/styles/global.ts -------------------------------------------------------------------------------- /apps/web/src/styles/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/styles/index.ts -------------------------------------------------------------------------------- /apps/web/src/styles/keyframes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/styles/keyframes.ts -------------------------------------------------------------------------------- /apps/web/src/styles/lib/react-syntax-highlighter/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/styles/lib/react-syntax-highlighter/theme.ts -------------------------------------------------------------------------------- /apps/web/src/templates/Docs/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/templates/Docs/index.tsx -------------------------------------------------------------------------------- /apps/web/src/templates/Docs/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/templates/Docs/styles.ts -------------------------------------------------------------------------------- /apps/web/src/templates/Home/Overview/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/templates/Home/Overview/index.tsx -------------------------------------------------------------------------------- /apps/web/src/templates/Home/Overview/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/templates/Home/Overview/styles.ts -------------------------------------------------------------------------------- /apps/web/src/templates/Home/Playground/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/templates/Home/Playground/index.tsx -------------------------------------------------------------------------------- /apps/web/src/templates/Home/Playground/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/templates/Home/Playground/styles.ts -------------------------------------------------------------------------------- /apps/web/src/templates/Home/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/templates/Home/index.tsx -------------------------------------------------------------------------------- /apps/web/src/templates/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/src/templates/index.ts -------------------------------------------------------------------------------- /apps/web/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/apps/web/tsconfig.json -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] } 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/package.json -------------------------------------------------------------------------------- /packages/eslint-config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/eslint-config/index.js -------------------------------------------------------------------------------- /packages/eslint-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/eslint-config/package.json -------------------------------------------------------------------------------- /packages/ts-config/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/ts-config/base.json -------------------------------------------------------------------------------- /packages/ts-config/next.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/ts-config/next.json -------------------------------------------------------------------------------- /packages/ts-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/ts-config/package.json -------------------------------------------------------------------------------- /packages/use-exit-intent/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@daltonmenezes/eslint-config" 3 | } 4 | -------------------------------------------------------------------------------- /packages/use-exit-intent/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/.npmignore -------------------------------------------------------------------------------- /packages/use-exit-intent/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/CHANGELOG.md -------------------------------------------------------------------------------- /packages/use-exit-intent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/README.md -------------------------------------------------------------------------------- /packages/use-exit-intent/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/package.json -------------------------------------------------------------------------------- /packages/use-exit-intent/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/rollup.config.js -------------------------------------------------------------------------------- /packages/use-exit-intent/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/index.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/types/index.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/constants.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/factories/debounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/factories/debounce.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/factories/idleEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/factories/idleEvents.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/factories/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/factories/index.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/index.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/is/clientSide.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/is/clientSide.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/is/desktop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/is/desktop.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/is/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/is/index.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/is/mobile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/is/mobile.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/processHandlersByDeviceContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/processHandlersByDeviceContext.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/src/utils/secondsToMiliseconds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/src/utils/secondsToMiliseconds.ts -------------------------------------------------------------------------------- /packages/use-exit-intent/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/packages/use-exit-intent/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/turbo.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daltonmenezes/use-exit-intent/HEAD/yarn.lock --------------------------------------------------------------------------------