├── .env.example ├── .eslintrc.json ├── .github └── workflows │ ├── on-leafygreen-release.yml │ ├── on-pr.yml │ └── on-staging-push.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .vscode └── settings.json ├── README.md ├── environment.d.ts ├── eslint.config.mjs ├── next-env.d.ts ├── next.config.mjs ├── package.json ├── pnpm-lock.yaml ├── public └── examples │ ├── marketing-center-light.svg │ ├── marketing-fill-dark.jpg │ └── marketing-fill-light.jpg ├── scripts └── update.mjs ├── src ├── app │ ├── [contentPageGroup] │ │ └── [contentPage] │ │ │ ├── page.tsx │ │ │ └── template.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth] │ │ │ │ └── route.ts │ │ └── contentstack │ │ │ └── entry │ │ │ └── [contentTypeUid] │ │ │ └── [uid] │ │ │ └── route.ts │ ├── component │ │ └── [component] │ │ │ ├── code-docs │ │ │ ├── client.tsx │ │ │ ├── codeDocs.styles.ts │ │ │ ├── loading.tsx │ │ │ ├── page.tsx │ │ │ ├── server.ts │ │ │ └── utils.ts │ │ │ ├── content.tsx │ │ │ ├── design-docs │ │ │ ├── client.tsx │ │ │ ├── loading.tsx │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ └── live-example │ │ │ ├── page.tsx │ │ │ ├── server.ts │ │ │ └── utils.ts │ ├── error.tsx │ ├── favicon.ico │ ├── globals.css │ ├── internal │ │ ├── layout.tsx │ │ └── page.tsx │ ├── layout.tsx │ ├── manifest.ts │ ├── not-found.tsx │ ├── page.tsx │ ├── private │ │ ├── layout.tsx │ │ └── page.tsx │ └── template.tsx ├── auth │ ├── auth.ts │ ├── client.ts │ ├── getSession.tsx │ ├── index.ts │ ├── login.tsx │ ├── logout.tsx │ └── types.ts ├── components │ ├── code-docs │ │ ├── InstallCard.tsx │ │ ├── PropsTable.tsx │ │ ├── VersionCard.tsx │ │ ├── index.ts │ │ ├── types.ts │ │ └── utils.ts │ ├── content-page │ │ └── index.tsx │ ├── content-stack │ │ ├── AnnotatedImageBlock │ │ │ ├── AnnotatedImageBlock.tsx │ │ │ ├── ImageContainer.tsx │ │ │ ├── StyledList.tsx │ │ │ ├── StyledListItem.tsx │ │ │ └── index.tsx │ │ ├── BasicUsageBlock │ │ │ ├── BasicUsageBlock.tsx │ │ │ └── index.tsx │ │ ├── ContentstackChildren.tsx │ │ ├── ContentstackEntry.tsx │ │ ├── ContentstackImage.tsx │ │ ├── ContentstackReference.tsx │ │ ├── ContentstackRichText.tsx │ │ ├── ContentstackText.tsx │ │ ├── ExampleCardBlock │ │ │ ├── ExampleCardBlock.tsx │ │ │ ├── ImageContainer.tsx │ │ │ ├── constants.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── HeaderContent.tsx │ │ ├── HorizontalLayout.tsx │ │ ├── TwoColumnExampleCard.tsx │ │ ├── componentMap.tsx │ │ ├── index.ts │ │ ├── types.ts │ │ └── utils.ts │ ├── foundations │ │ ├── Palette.tsx │ │ └── index.ts │ ├── global │ │ ├── DarkModeToggle.tsx │ │ ├── Footer.tsx │ │ ├── LogIn.tsx │ │ ├── NotFound.tsx │ │ ├── PrivateContentWall.tsx │ │ ├── PrivateIcon.tsx │ │ ├── RootStyleRegistry.tsx │ │ ├── Search │ │ │ ├── Search.styles.ts │ │ │ ├── Search.tsx │ │ │ └── index.ts │ │ ├── SideNavigation │ │ │ ├── Drawer.tsx │ │ │ ├── SideNavItem.tsx │ │ │ ├── SideNavLabel.tsx │ │ │ ├── SideNavList.tsx │ │ │ ├── SideNavigation.tsx │ │ │ └── index.ts │ │ ├── UserMenu.tsx │ │ └── index.ts │ ├── glyphs │ │ ├── CodeSandbox.tsx │ │ ├── ComingSoon.tsx │ │ ├── Components.tsx │ │ ├── Display.tsx │ │ ├── Error.tsx │ │ ├── Figma.tsx │ │ ├── FormElements.tsx │ │ ├── Foundations.tsx │ │ ├── Github.tsx │ │ ├── Logo.tsx │ │ ├── Modals.tsx │ │ ├── Navigation.tsx │ │ ├── NotFound.tsx │ │ ├── Notifications.tsx │ │ ├── Patterns.tsx │ │ ├── Resources.tsx │ │ ├── Security.tsx │ │ └── index.ts │ ├── home │ │ ├── ComponentCard.tsx │ │ ├── HomeCard.tsx │ │ └── index.ts │ ├── layout-wrapper │ │ └── index.tsx │ ├── live-example │ │ ├── Knob │ │ │ ├── Knob.tsx │ │ │ └── types.ts │ │ ├── KnobRow.tsx │ │ ├── Knobs.tsx │ │ ├── index.ts │ │ └── types.ts │ └── providers │ │ └── SessionWrapper.tsx ├── constants.ts ├── contexts │ ├── AppContext.tsx │ └── ContentStackContext.tsx ├── hooks │ ├── index.ts │ ├── useCallbackRef.ts │ ├── useMediaQuery.ts │ └── useSession.ts ├── lib │ └── contentStack │ │ ├── contentStackClient.ts │ │ ├── contentStackService.ts │ │ └── types.ts └── utils │ ├── components.ts │ ├── findComponent.ts │ ├── foundations.ts │ ├── getGithubLink.tsx │ ├── getMappedComponentName.ts │ ├── getScopeFromPkgName.ts │ ├── index.ts │ ├── mergeObjects.ts │ ├── patterns.ts │ ├── shouldAddColonToTitle.ts │ ├── titleCase.ts │ └── types.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/on-leafygreen-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/.github/workflows/on-leafygreen-release.yml -------------------------------------------------------------------------------- /.github/workflows/on-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/.github/workflows/on-pr.yml -------------------------------------------------------------------------------- /.github/workflows/on-staging-push.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/.github/workflows/on-staging-push.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | .next/ 4 | deprecated/ 5 | package.json 6 | 7 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/README.md -------------------------------------------------------------------------------- /environment.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/environment.d.ts -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/examples/marketing-center-light.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/public/examples/marketing-center-light.svg -------------------------------------------------------------------------------- /public/examples/marketing-fill-dark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/public/examples/marketing-fill-dark.jpg -------------------------------------------------------------------------------- /public/examples/marketing-fill-light.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/public/examples/marketing-fill-light.jpg -------------------------------------------------------------------------------- /scripts/update.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/scripts/update.mjs -------------------------------------------------------------------------------- /src/app/[contentPageGroup]/[contentPage]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/[contentPageGroup]/[contentPage]/page.tsx -------------------------------------------------------------------------------- /src/app/[contentPageGroup]/[contentPage]/template.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/[contentPageGroup]/[contentPage]/template.tsx -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /src/app/api/contentstack/entry/[contentTypeUid]/[uid]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/api/contentstack/entry/[contentTypeUid]/[uid]/route.ts -------------------------------------------------------------------------------- /src/app/component/[component]/code-docs/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/code-docs/client.tsx -------------------------------------------------------------------------------- /src/app/component/[component]/code-docs/codeDocs.styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/code-docs/codeDocs.styles.ts -------------------------------------------------------------------------------- /src/app/component/[component]/code-docs/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/code-docs/loading.tsx -------------------------------------------------------------------------------- /src/app/component/[component]/code-docs/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/code-docs/page.tsx -------------------------------------------------------------------------------- /src/app/component/[component]/code-docs/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/code-docs/server.ts -------------------------------------------------------------------------------- /src/app/component/[component]/code-docs/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/code-docs/utils.ts -------------------------------------------------------------------------------- /src/app/component/[component]/content.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/component/[component]/design-docs/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/design-docs/client.tsx -------------------------------------------------------------------------------- /src/app/component/[component]/design-docs/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/design-docs/loading.tsx -------------------------------------------------------------------------------- /src/app/component/[component]/design-docs/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/design-docs/page.tsx -------------------------------------------------------------------------------- /src/app/component/[component]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/layout.tsx -------------------------------------------------------------------------------- /src/app/component/[component]/live-example/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/live-example/page.tsx -------------------------------------------------------------------------------- /src/app/component/[component]/live-example/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/live-example/server.ts -------------------------------------------------------------------------------- /src/app/component/[component]/live-example/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/component/[component]/live-example/utils.ts -------------------------------------------------------------------------------- /src/app/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/error.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/internal/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/internal/layout.tsx -------------------------------------------------------------------------------- /src/app/internal/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/internal/page.tsx -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/manifest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/manifest.ts -------------------------------------------------------------------------------- /src/app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/not-found.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/private/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/private/layout.tsx -------------------------------------------------------------------------------- /src/app/private/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/private/page.tsx -------------------------------------------------------------------------------- /src/app/template.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/app/template.tsx -------------------------------------------------------------------------------- /src/auth/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/auth/auth.ts -------------------------------------------------------------------------------- /src/auth/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/auth/client.ts -------------------------------------------------------------------------------- /src/auth/getSession.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/auth/getSession.tsx -------------------------------------------------------------------------------- /src/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/auth/index.ts -------------------------------------------------------------------------------- /src/auth/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/auth/login.tsx -------------------------------------------------------------------------------- /src/auth/logout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/auth/logout.tsx -------------------------------------------------------------------------------- /src/auth/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/auth/types.ts -------------------------------------------------------------------------------- /src/components/code-docs/InstallCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/code-docs/InstallCard.tsx -------------------------------------------------------------------------------- /src/components/code-docs/PropsTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/code-docs/PropsTable.tsx -------------------------------------------------------------------------------- /src/components/code-docs/VersionCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/code-docs/VersionCard.tsx -------------------------------------------------------------------------------- /src/components/code-docs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/code-docs/index.ts -------------------------------------------------------------------------------- /src/components/code-docs/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/code-docs/types.ts -------------------------------------------------------------------------------- /src/components/code-docs/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/code-docs/utils.ts -------------------------------------------------------------------------------- /src/components/content-page/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-page/index.tsx -------------------------------------------------------------------------------- /src/components/content-stack/AnnotatedImageBlock/AnnotatedImageBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/AnnotatedImageBlock/AnnotatedImageBlock.tsx -------------------------------------------------------------------------------- /src/components/content-stack/AnnotatedImageBlock/ImageContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/AnnotatedImageBlock/ImageContainer.tsx -------------------------------------------------------------------------------- /src/components/content-stack/AnnotatedImageBlock/StyledList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/AnnotatedImageBlock/StyledList.tsx -------------------------------------------------------------------------------- /src/components/content-stack/AnnotatedImageBlock/StyledListItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/AnnotatedImageBlock/StyledListItem.tsx -------------------------------------------------------------------------------- /src/components/content-stack/AnnotatedImageBlock/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/AnnotatedImageBlock/index.tsx -------------------------------------------------------------------------------- /src/components/content-stack/BasicUsageBlock/BasicUsageBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/BasicUsageBlock/BasicUsageBlock.tsx -------------------------------------------------------------------------------- /src/components/content-stack/BasicUsageBlock/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/BasicUsageBlock/index.tsx -------------------------------------------------------------------------------- /src/components/content-stack/ContentstackChildren.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ContentstackChildren.tsx -------------------------------------------------------------------------------- /src/components/content-stack/ContentstackEntry.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ContentstackEntry.tsx -------------------------------------------------------------------------------- /src/components/content-stack/ContentstackImage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ContentstackImage.tsx -------------------------------------------------------------------------------- /src/components/content-stack/ContentstackReference.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ContentstackReference.tsx -------------------------------------------------------------------------------- /src/components/content-stack/ContentstackRichText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ContentstackRichText.tsx -------------------------------------------------------------------------------- /src/components/content-stack/ContentstackText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ContentstackText.tsx -------------------------------------------------------------------------------- /src/components/content-stack/ExampleCardBlock/ExampleCardBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ExampleCardBlock/ExampleCardBlock.tsx -------------------------------------------------------------------------------- /src/components/content-stack/ExampleCardBlock/ImageContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ExampleCardBlock/ImageContainer.tsx -------------------------------------------------------------------------------- /src/components/content-stack/ExampleCardBlock/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ExampleCardBlock/constants.ts -------------------------------------------------------------------------------- /src/components/content-stack/ExampleCardBlock/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ExampleCardBlock/index.ts -------------------------------------------------------------------------------- /src/components/content-stack/ExampleCardBlock/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/ExampleCardBlock/types.ts -------------------------------------------------------------------------------- /src/components/content-stack/HeaderContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/HeaderContent.tsx -------------------------------------------------------------------------------- /src/components/content-stack/HorizontalLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/HorizontalLayout.tsx -------------------------------------------------------------------------------- /src/components/content-stack/TwoColumnExampleCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/TwoColumnExampleCard.tsx -------------------------------------------------------------------------------- /src/components/content-stack/componentMap.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/componentMap.tsx -------------------------------------------------------------------------------- /src/components/content-stack/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/index.ts -------------------------------------------------------------------------------- /src/components/content-stack/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/types.ts -------------------------------------------------------------------------------- /src/components/content-stack/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/content-stack/utils.ts -------------------------------------------------------------------------------- /src/components/foundations/Palette.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/foundations/Palette.tsx -------------------------------------------------------------------------------- /src/components/foundations/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/foundations/index.ts -------------------------------------------------------------------------------- /src/components/global/DarkModeToggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/DarkModeToggle.tsx -------------------------------------------------------------------------------- /src/components/global/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/Footer.tsx -------------------------------------------------------------------------------- /src/components/global/LogIn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/LogIn.tsx -------------------------------------------------------------------------------- /src/components/global/NotFound.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/NotFound.tsx -------------------------------------------------------------------------------- /src/components/global/PrivateContentWall.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/PrivateContentWall.tsx -------------------------------------------------------------------------------- /src/components/global/PrivateIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/PrivateIcon.tsx -------------------------------------------------------------------------------- /src/components/global/RootStyleRegistry.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/RootStyleRegistry.tsx -------------------------------------------------------------------------------- /src/components/global/Search/Search.styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/Search/Search.styles.ts -------------------------------------------------------------------------------- /src/components/global/Search/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/Search/Search.tsx -------------------------------------------------------------------------------- /src/components/global/Search/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/Search/index.ts -------------------------------------------------------------------------------- /src/components/global/SideNavigation/Drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/SideNavigation/Drawer.tsx -------------------------------------------------------------------------------- /src/components/global/SideNavigation/SideNavItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/SideNavigation/SideNavItem.tsx -------------------------------------------------------------------------------- /src/components/global/SideNavigation/SideNavLabel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/SideNavigation/SideNavLabel.tsx -------------------------------------------------------------------------------- /src/components/global/SideNavigation/SideNavList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/SideNavigation/SideNavList.tsx -------------------------------------------------------------------------------- /src/components/global/SideNavigation/SideNavigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/SideNavigation/SideNavigation.tsx -------------------------------------------------------------------------------- /src/components/global/SideNavigation/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/SideNavigation/index.ts -------------------------------------------------------------------------------- /src/components/global/UserMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/UserMenu.tsx -------------------------------------------------------------------------------- /src/components/global/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/global/index.ts -------------------------------------------------------------------------------- /src/components/glyphs/CodeSandbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/CodeSandbox.tsx -------------------------------------------------------------------------------- /src/components/glyphs/ComingSoon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/ComingSoon.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Components.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Components.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Display.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Display.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Error.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Figma.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Figma.tsx -------------------------------------------------------------------------------- /src/components/glyphs/FormElements.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/FormElements.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Foundations.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Foundations.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Github.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Github.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Logo.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Modals.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Modals.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Navigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Navigation.tsx -------------------------------------------------------------------------------- /src/components/glyphs/NotFound.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/NotFound.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Notifications.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Notifications.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Patterns.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Patterns.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Resources.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Resources.tsx -------------------------------------------------------------------------------- /src/components/glyphs/Security.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/Security.tsx -------------------------------------------------------------------------------- /src/components/glyphs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/glyphs/index.ts -------------------------------------------------------------------------------- /src/components/home/ComponentCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/home/ComponentCard.tsx -------------------------------------------------------------------------------- /src/components/home/HomeCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/home/HomeCard.tsx -------------------------------------------------------------------------------- /src/components/home/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/home/index.ts -------------------------------------------------------------------------------- /src/components/layout-wrapper/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/layout-wrapper/index.tsx -------------------------------------------------------------------------------- /src/components/live-example/Knob/Knob.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/live-example/Knob/Knob.tsx -------------------------------------------------------------------------------- /src/components/live-example/Knob/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/live-example/Knob/types.ts -------------------------------------------------------------------------------- /src/components/live-example/KnobRow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/live-example/KnobRow.tsx -------------------------------------------------------------------------------- /src/components/live-example/Knobs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/live-example/Knobs.tsx -------------------------------------------------------------------------------- /src/components/live-example/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/live-example/index.ts -------------------------------------------------------------------------------- /src/components/live-example/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/live-example/types.ts -------------------------------------------------------------------------------- /src/components/providers/SessionWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/components/providers/SessionWrapper.tsx -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/contexts/AppContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/contexts/AppContext.tsx -------------------------------------------------------------------------------- /src/contexts/ContentStackContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/contexts/ContentStackContext.tsx -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/hooks/index.ts -------------------------------------------------------------------------------- /src/hooks/useCallbackRef.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/hooks/useCallbackRef.ts -------------------------------------------------------------------------------- /src/hooks/useMediaQuery.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/hooks/useMediaQuery.ts -------------------------------------------------------------------------------- /src/hooks/useSession.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/hooks/useSession.ts -------------------------------------------------------------------------------- /src/lib/contentStack/contentStackClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/lib/contentStack/contentStackClient.ts -------------------------------------------------------------------------------- /src/lib/contentStack/contentStackService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/lib/contentStack/contentStackService.ts -------------------------------------------------------------------------------- /src/lib/contentStack/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/lib/contentStack/types.ts -------------------------------------------------------------------------------- /src/utils/components.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/components.ts -------------------------------------------------------------------------------- /src/utils/findComponent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/findComponent.ts -------------------------------------------------------------------------------- /src/utils/foundations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/foundations.ts -------------------------------------------------------------------------------- /src/utils/getGithubLink.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/getGithubLink.tsx -------------------------------------------------------------------------------- /src/utils/getMappedComponentName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/getMappedComponentName.ts -------------------------------------------------------------------------------- /src/utils/getScopeFromPkgName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/getScopeFromPkgName.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/mergeObjects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/mergeObjects.ts -------------------------------------------------------------------------------- /src/utils/patterns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/patterns.ts -------------------------------------------------------------------------------- /src/utils/shouldAddColonToTitle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/shouldAddColonToTitle.ts -------------------------------------------------------------------------------- /src/utils/titleCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/titleCase.ts -------------------------------------------------------------------------------- /src/utils/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/src/utils/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/design/HEAD/tsconfig.json --------------------------------------------------------------------------------