diff --git a/commitlint.config.cjs b/commitlint.config.cjs index 6b008dbae..245234993 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -7,7 +7,7 @@ module.exports = { extends: ['@commitlint/config-conventional'], rules: { 'type-enum': [2, 'always', [...rules['type-enum'][2], 'api', 'release']], - 'scope-enum': [2, 'always', ['connector', 'console', 'core', 'demo-app', 'test', 'phrases', 'schemas', 'shared', 'ui', 'deps','cli', 'toolkit', 'cloud', 'app-insights']], + 'scope-enum': [2, 'always', ['connector', 'console', 'core', 'demo-app', 'test', 'phrases', 'schemas', 'shared', 'journey', 'deps','cli', 'toolkit', 'app-insights']], // Slightly increase the tolerance to allow the appending PR number ...(isCi && { 'header-max-length': [2, 'always', 110] }), 'body-max-line-length': [2, 'always', 110], diff --git a/packages/cli/package.json b/packages/cli/package.json index 43ff42179..1c7eb7cc2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -47,7 +47,7 @@ "@logto/core-kit": "workspace:^2.0.1", "@logto/language-kit": "workspace:^1.0.0", "@logto/phrases": "workspace:^1.4.1", - "@logto/phrases-ui": "workspace:^1.2.0", + "@logto/phrases-journey": "workspace:^1.2.0", "@logto/schemas": "workspace:1.8.0", "@logto/shared": "workspace:^2.0.0", "@silverhand/essentials": "^2.8.4", diff --git a/packages/cli/src/commands/translate/create.ts b/packages/cli/src/commands/translate/create.ts index 968480ff6..6589df47d 100644 --- a/packages/cli/src/commands/translate/create.ts +++ b/packages/cli/src/commands/translate/create.ts @@ -1,6 +1,6 @@ import { isLanguageTag } from '@logto/language-kit'; import { isBuiltInLanguageTag as isPhrasesBuiltInLanguageTag } from '@logto/phrases'; -import { isBuiltInLanguageTag as isPhrasesUiBuiltInLanguageTag } from '@logto/phrases-ui'; +import { isBuiltInLanguageTag as isPhrasesUiBuiltInLanguageTag } from '@logto/phrases-journey'; import type { CommandModule } from 'yargs'; import { consoleLog } from '../../utils.js'; diff --git a/packages/cli/src/commands/translate/list-tags.ts b/packages/cli/src/commands/translate/list-tags.ts index 470074612..8bc4f677b 100644 --- a/packages/cli/src/commands/translate/list-tags.ts +++ b/packages/cli/src/commands/translate/list-tags.ts @@ -1,6 +1,6 @@ import { languages } from '@logto/language-kit'; import { isBuiltInLanguageTag as isPhrasesBuiltInLanguageTag } from '@logto/phrases'; -import { isBuiltInLanguageTag as isPhrasesUiBuiltInLanguageTag } from '@logto/phrases-ui'; +import { isBuiltInLanguageTag as isPhrasesUiBuiltInLanguageTag } from '@logto/phrases-journey'; import chalk from 'chalk'; import type { CommandModule } from 'yargs'; diff --git a/packages/cli/src/commands/translate/sync.ts b/packages/cli/src/commands/translate/sync.ts index 81d617680..13386f2ed 100644 --- a/packages/cli/src/commands/translate/sync.ts +++ b/packages/cli/src/commands/translate/sync.ts @@ -1,6 +1,6 @@ import { languages } from '@logto/language-kit'; import { isBuiltInLanguageTag as isPhrasesBuiltInLanguageTag } from '@logto/phrases'; -import { isBuiltInLanguageTag as isPhrasesUiBuiltInLanguageTag } from '@logto/phrases-ui'; +import { isBuiltInLanguageTag as isPhrasesUiBuiltInLanguageTag } from '@logto/phrases-journey'; import PQueue from 'p-queue'; import type { CommandModule } from 'yargs'; diff --git a/packages/console/package.json b/packages/console/package.json index d9a20851c..69036b077 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -31,7 +31,7 @@ "@logto/core-kit": "workspace:^2.0.1", "@logto/language-kit": "workspace:^1.0.0", "@logto/phrases": "workspace:^1.4.1", - "@logto/phrases-ui": "workspace:^1.2.0", + "@logto/phrases-journey": "workspace:^1.2.0", "@logto/react": "^2.1.0", "@logto/schemas": "workspace:^1.8.0", "@logto/shared": "workspace:^2.0.0", diff --git a/packages/console/src/hooks/use-ui-languages.ts b/packages/console/src/hooks/use-ui-languages.ts index 4f5b1234c..af01fadf2 100644 --- a/packages/console/src/hooks/use-ui-languages.ts +++ b/packages/console/src/hooks/use-ui-languages.ts @@ -1,5 +1,5 @@ import type { LanguageTag } from '@logto/language-kit'; -import { builtInLanguages as builtInUiLanguages } from '@logto/phrases-ui'; +import { builtInLanguages as builtInUiLanguages } from '@logto/phrases-journey'; import { deduplicate } from '@silverhand/essentials'; import { useCallback, useMemo } from 'react'; import useSWR from 'swr'; diff --git a/packages/console/src/pages/SignInExperience/tabs/Content/components/ManageLanguage/LanguageEditor/LanguageDetails.tsx b/packages/console/src/pages/SignInExperience/tabs/Content/components/ManageLanguage/LanguageEditor/LanguageDetails.tsx index e2353bc47..dfbfae82c 100644 --- a/packages/console/src/pages/SignInExperience/tabs/Content/components/ManageLanguage/LanguageEditor/LanguageDetails.tsx +++ b/packages/console/src/pages/SignInExperience/tabs/Content/components/ManageLanguage/LanguageEditor/LanguageDetails.tsx @@ -1,7 +1,7 @@ import type { LanguageTag } from '@logto/language-kit'; import { languages as uiLanguageNameMapping } from '@logto/language-kit'; -import resource, { isBuiltInLanguageTag } from '@logto/phrases-ui'; -import en from '@logto/phrases-ui/lib/locales/en'; +import resource, { isBuiltInLanguageTag } from '@logto/phrases-journey'; +import en from '@logto/phrases-journey/lib/locales/en'; import type { SignInExperience, Translation } from '@logto/schemas'; import cleanDeep from 'clean-deep'; import deepmerge from 'deepmerge'; diff --git a/packages/console/src/pages/SignInExperience/utils/language.ts b/packages/console/src/pages/SignInExperience/utils/language.ts index 769d98902..ce16b2a6e 100644 --- a/packages/console/src/pages/SignInExperience/utils/language.ts +++ b/packages/console/src/pages/SignInExperience/utils/language.ts @@ -1,4 +1,4 @@ -import en from '@logto/phrases-ui/lib/locales/en'; +import en from '@logto/phrases-journey/lib/locales/en'; import type { Translation } from '@logto/schemas'; export const flattenTranslation = ( diff --git a/packages/core/package.json b/packages/core/package.json index 20069c9e8..5e4dddfa2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -37,10 +37,10 @@ "@logto/demo-app": "workspace:*", "@logto/language-kit": "workspace:^1.0.0", "@logto/phrases": "workspace:^1.4.1", - "@logto/phrases-ui": "workspace:^1.2.0", + "@logto/phrases-journey": "workspace:^1.2.0", "@logto/schemas": "workspace:^1.8.0", "@logto/shared": "workspace:^2.0.0", - "@logto/ui": "workspace:*", + "@logto/journey": "workspace:*", "@silverhand/essentials": "^2.8.4", "@withtyped/client": "^0.7.22", "chalk": "^5.0.0", diff --git a/packages/core/src/libraries/phrase.test.ts b/packages/core/src/libraries/phrase.test.ts index 811e6082c..5965e3d5b 100644 --- a/packages/core/src/libraries/phrase.test.ts +++ b/packages/core/src/libraries/phrase.test.ts @@ -1,4 +1,4 @@ -import resource from '@logto/phrases-ui'; +import resource from '@logto/phrases-journey'; import { type CustomPhrase } from '@logto/schemas'; import deepmerge from 'deepmerge'; diff --git a/packages/core/src/libraries/phrase.ts b/packages/core/src/libraries/phrase.ts index b134f8a44..e4e590d39 100644 --- a/packages/core/src/libraries/phrase.ts +++ b/packages/core/src/libraries/phrase.ts @@ -1,5 +1,5 @@ -import type { LocalePhrase } from '@logto/phrases-ui'; -import resource, { isBuiltInLanguageTag } from '@logto/phrases-ui'; +import type { LocalePhrase } from '@logto/phrases-journey'; +import resource, { isBuiltInLanguageTag } from '@logto/phrases-journey'; import { trySafe } from '@silverhand/essentials'; import cleanDeep from 'clean-deep'; import deepmerge from 'deepmerge'; diff --git a/packages/core/src/libraries/sign-in-experience/index.test.ts b/packages/core/src/libraries/sign-in-experience/index.test.ts index dad05a3ec..66e13d2de 100644 --- a/packages/core/src/libraries/sign-in-experience/index.test.ts +++ b/packages/core/src/libraries/sign-in-experience/index.test.ts @@ -1,5 +1,5 @@ import type { LanguageTag } from '@logto/language-kit'; -import { builtInLanguages } from '@logto/phrases-ui'; +import { builtInLanguages } from '@logto/phrases-journey'; import type { CreateSignInExperience, SignInExperience } from '@logto/schemas'; import { diff --git a/packages/core/src/libraries/sign-in-experience/index.ts b/packages/core/src/libraries/sign-in-experience/index.ts index 42a8e59bd..4745bd142 100644 --- a/packages/core/src/libraries/sign-in-experience/index.ts +++ b/packages/core/src/libraries/sign-in-experience/index.ts @@ -1,4 +1,4 @@ -import { builtInLanguages } from '@logto/phrases-ui'; +import { builtInLanguages } from '@logto/phrases-journey'; import type { ConnectorMetadata, LanguageInfo } from '@logto/schemas'; import { ConnectorType } from '@logto/schemas'; import { deduplicate } from '@silverhand/essentials'; diff --git a/packages/core/src/routes/custom-phrase.test.ts b/packages/core/src/routes/custom-phrase.test.ts index 52a13c609..3a1a2ca15 100644 --- a/packages/core/src/routes/custom-phrase.test.ts +++ b/packages/core/src/routes/custom-phrase.test.ts @@ -1,4 +1,4 @@ -import en from '@logto/phrases-ui/lib/locales/en/index.js'; +import en from '@logto/phrases-journey/lib/locales/en/index.js'; import { type CustomPhrase, type SignInExperience } from '@logto/schemas'; import { pickDefault, createMockUtils } from '@logto/shared/esm'; diff --git a/packages/core/src/routes/custom-phrase.ts b/packages/core/src/routes/custom-phrase.ts index 9bd463201..0afc13397 100644 --- a/packages/core/src/routes/custom-phrase.ts +++ b/packages/core/src/routes/custom-phrase.ts @@ -1,5 +1,5 @@ import { languageTagGuard } from '@logto/language-kit'; -import resource from '@logto/phrases-ui'; +import resource from '@logto/phrases-journey'; import type { Translation } from '@logto/schemas'; import { CustomPhrases, translationGuard } from '@logto/schemas'; import cleanDeep from 'clean-deep'; diff --git a/packages/core/src/routes/well-known.phrases.content-language.test.ts b/packages/core/src/routes/well-known.phrases.content-language.test.ts index e96be8ed8..f6454bbaa 100644 --- a/packages/core/src/routes/well-known.phrases.content-language.test.ts +++ b/packages/core/src/routes/well-known.phrases.content-language.test.ts @@ -1,4 +1,4 @@ -import en from '@logto/phrases-ui/lib/locales/en/index.js'; +import en from '@logto/phrases-journey/lib/locales/en/index.js'; import type { SignInExperience } from '@logto/schemas'; import { pickDefault } from '@logto/shared/esm'; diff --git a/packages/core/src/routes/well-known.phrases.test.ts b/packages/core/src/routes/well-known.phrases.test.ts index a0950ea58..2d8cadcde 100644 --- a/packages/core/src/routes/well-known.phrases.test.ts +++ b/packages/core/src/routes/well-known.phrases.test.ts @@ -1,4 +1,4 @@ -import zhCN from '@logto/phrases-ui/lib/locales/zh-cn/index.js'; +import zhCN from '@logto/phrases-journey/lib/locales/zh-cn/index.js'; import type { CustomPhrase, SignInExperience } from '@logto/schemas'; import { pickDefault, createMockUtils } from '@logto/shared/esm'; diff --git a/packages/core/src/routes/well-known.ts b/packages/core/src/routes/well-known.ts index 0b389dd94..dff741f88 100644 --- a/packages/core/src/routes/well-known.ts +++ b/packages/core/src/routes/well-known.ts @@ -1,4 +1,4 @@ -import { isBuiltInLanguageTag } from '@logto/phrases-ui'; +import { isBuiltInLanguageTag } from '@logto/phrases-journey'; import { adminTenantId } from '@logto/schemas'; import { conditionalArray } from '@silverhand/essentials'; import { z } from 'zod'; diff --git a/packages/core/src/utils/translation.test.ts b/packages/core/src/utils/translation.test.ts index fc465f566..169458b4a 100644 --- a/packages/core/src/utils/translation.test.ts +++ b/packages/core/src/utils/translation.test.ts @@ -1,5 +1,5 @@ -import en from '@logto/phrases-ui/lib/locales/en/index.js'; -import fr from '@logto/phrases-ui/lib/locales/fr/index.js'; +import en from '@logto/phrases-journey/lib/locales/en/index.js'; +import fr from '@logto/phrases-journey/lib/locales/fr/index.js'; import { isStrictlyPartial } from '#src/utils/translation.js'; diff --git a/packages/ui/.parcelrc b/packages/journey/.parcelrc similarity index 100% rename from packages/ui/.parcelrc rename to packages/journey/.parcelrc diff --git a/packages/ui/.parcelrc.arm64 b/packages/journey/.parcelrc.arm64 similarity index 100% rename from packages/ui/.parcelrc.arm64 rename to packages/journey/.parcelrc.arm64 diff --git a/packages/ui/CHANGELOG.md b/packages/journey/CHANGELOG.md similarity index 100% rename from packages/ui/CHANGELOG.md rename to packages/journey/CHANGELOG.md diff --git a/packages/ui/README.md b/packages/journey/README.md similarity index 74% rename from packages/ui/README.md rename to packages/journey/README.md index 6e3cbb442..c2b5322e6 100644 --- a/packages/ui/README.md +++ b/packages/journey/README.md @@ -1,3 +1,3 @@ -# @logto/ui +# @logto/journey The register / sign-in experience for end-users. diff --git a/packages/ui/jest.config.ts b/packages/journey/jest.config.ts similarity index 100% rename from packages/ui/jest.config.ts rename to packages/journey/jest.config.ts diff --git a/packages/ui/package.json b/packages/journey/package.json similarity index 97% rename from packages/ui/package.json rename to packages/journey/package.json index 80dc6126e..20fa3002a 100644 --- a/packages/ui/package.json +++ b/packages/journey/package.json @@ -1,5 +1,5 @@ { - "name": "@logto/ui", + "name": "@logto/journey", "version": "1.1.5", "license": "MPL-2.0", "type": "module", @@ -26,7 +26,7 @@ "@logto/core-kit": "workspace:^2.0.1", "@logto/language-kit": "workspace:^1.0.0", "@logto/phrases": "workspace:^1.4.1", - "@logto/phrases-ui": "workspace:^1.2.0", + "@logto/phrases-journey": "workspace:^1.2.0", "@logto/schemas": "workspace:^1.6.0", "@parcel/compressor-brotli": "2.9.3", "@parcel/compressor-gzip": "2.9.3", diff --git a/packages/ui/src/App.tsx b/packages/journey/src/App.tsx similarity index 100% rename from packages/ui/src/App.tsx rename to packages/journey/src/App.tsx diff --git a/packages/ui/src/Layout/AppLayout/CustomContent.tsx b/packages/journey/src/Layout/AppLayout/CustomContent.tsx similarity index 100% rename from packages/ui/src/Layout/AppLayout/CustomContent.tsx rename to packages/journey/src/Layout/AppLayout/CustomContent.tsx diff --git a/packages/ui/src/Layout/AppLayout/index.module.scss b/packages/journey/src/Layout/AppLayout/index.module.scss similarity index 100% rename from packages/ui/src/Layout/AppLayout/index.module.scss rename to packages/journey/src/Layout/AppLayout/index.module.scss diff --git a/packages/ui/src/Layout/AppLayout/index.tsx b/packages/journey/src/Layout/AppLayout/index.tsx similarity index 100% rename from packages/ui/src/Layout/AppLayout/index.tsx rename to packages/journey/src/Layout/AppLayout/index.tsx diff --git a/packages/ui/src/Layout/LandingPageLayout/index.module.scss b/packages/journey/src/Layout/LandingPageLayout/index.module.scss similarity index 100% rename from packages/ui/src/Layout/LandingPageLayout/index.module.scss rename to packages/journey/src/Layout/LandingPageLayout/index.module.scss diff --git a/packages/ui/src/Layout/LandingPageLayout/index.tsx b/packages/journey/src/Layout/LandingPageLayout/index.tsx similarity index 100% rename from packages/ui/src/Layout/LandingPageLayout/index.tsx rename to packages/journey/src/Layout/LandingPageLayout/index.tsx diff --git a/packages/ui/src/Layout/SecondaryPageLayout/index.module.scss b/packages/journey/src/Layout/SecondaryPageLayout/index.module.scss similarity index 100% rename from packages/ui/src/Layout/SecondaryPageLayout/index.module.scss rename to packages/journey/src/Layout/SecondaryPageLayout/index.module.scss diff --git a/packages/ui/src/Layout/SecondaryPageLayout/index.tsx b/packages/journey/src/Layout/SecondaryPageLayout/index.tsx similarity index 100% rename from packages/ui/src/Layout/SecondaryPageLayout/index.tsx rename to packages/journey/src/Layout/SecondaryPageLayout/index.tsx diff --git a/packages/ui/src/Layout/StaticPageLayout/index.module.scss b/packages/journey/src/Layout/StaticPageLayout/index.module.scss similarity index 100% rename from packages/ui/src/Layout/StaticPageLayout/index.module.scss rename to packages/journey/src/Layout/StaticPageLayout/index.module.scss diff --git a/packages/ui/src/Layout/StaticPageLayout/index.tsx b/packages/journey/src/Layout/StaticPageLayout/index.tsx similarity index 100% rename from packages/ui/src/Layout/StaticPageLayout/index.tsx rename to packages/journey/src/Layout/StaticPageLayout/index.tsx diff --git a/packages/ui/src/Providers/AppBoundary/AppMeta.tsx b/packages/journey/src/Providers/AppBoundary/AppMeta.tsx similarity index 100% rename from packages/ui/src/Providers/AppBoundary/AppMeta.tsx rename to packages/journey/src/Providers/AppBoundary/AppMeta.tsx diff --git a/packages/ui/src/Providers/AppBoundary/index.module.scss b/packages/journey/src/Providers/AppBoundary/index.module.scss similarity index 100% rename from packages/ui/src/Providers/AppBoundary/index.module.scss rename to packages/journey/src/Providers/AppBoundary/index.module.scss diff --git a/packages/ui/src/Providers/AppBoundary/index.tsx b/packages/journey/src/Providers/AppBoundary/index.tsx similarity index 100% rename from packages/ui/src/Providers/AppBoundary/index.tsx rename to packages/journey/src/Providers/AppBoundary/index.tsx diff --git a/packages/ui/src/Providers/AppBoundary/use-color-theme.ts b/packages/journey/src/Providers/AppBoundary/use-color-theme.ts similarity index 100% rename from packages/ui/src/Providers/AppBoundary/use-color-theme.ts rename to packages/journey/src/Providers/AppBoundary/use-color-theme.ts diff --git a/packages/ui/src/Providers/ConfirmModalProvider/index.tsx b/packages/journey/src/Providers/ConfirmModalProvider/index.tsx similarity index 100% rename from packages/ui/src/Providers/ConfirmModalProvider/index.tsx rename to packages/journey/src/Providers/ConfirmModalProvider/index.tsx diff --git a/packages/ui/src/Providers/ConfirmModalProvider/indext.test.tsx b/packages/journey/src/Providers/ConfirmModalProvider/indext.test.tsx similarity index 100% rename from packages/ui/src/Providers/ConfirmModalProvider/indext.test.tsx rename to packages/journey/src/Providers/ConfirmModalProvider/indext.test.tsx diff --git a/packages/ui/src/Providers/IframeModalProvider/IframeModal/index.module.scss b/packages/journey/src/Providers/IframeModalProvider/IframeModal/index.module.scss similarity index 100% rename from packages/ui/src/Providers/IframeModalProvider/IframeModal/index.module.scss rename to packages/journey/src/Providers/IframeModalProvider/IframeModal/index.module.scss diff --git a/packages/ui/src/Providers/IframeModalProvider/IframeModal/index.tsx b/packages/journey/src/Providers/IframeModalProvider/IframeModal/index.tsx similarity index 100% rename from packages/ui/src/Providers/IframeModalProvider/IframeModal/index.tsx rename to packages/journey/src/Providers/IframeModalProvider/IframeModal/index.tsx diff --git a/packages/ui/src/Providers/IframeModalProvider/index.tsx b/packages/journey/src/Providers/IframeModalProvider/index.tsx similarity index 100% rename from packages/ui/src/Providers/IframeModalProvider/index.tsx rename to packages/journey/src/Providers/IframeModalProvider/index.tsx diff --git a/packages/ui/src/Providers/LoadingLayerProvider/index.tsx b/packages/journey/src/Providers/LoadingLayerProvider/index.tsx similarity index 100% rename from packages/ui/src/Providers/LoadingLayerProvider/index.tsx rename to packages/journey/src/Providers/LoadingLayerProvider/index.tsx diff --git a/packages/ui/src/Providers/PageContextProvider/PageContext.tsx b/packages/journey/src/Providers/PageContextProvider/PageContext.tsx similarity index 100% rename from packages/ui/src/Providers/PageContextProvider/PageContext.tsx rename to packages/journey/src/Providers/PageContextProvider/PageContext.tsx diff --git a/packages/ui/src/Providers/PageContextProvider/index.tsx b/packages/journey/src/Providers/PageContextProvider/index.tsx similarity index 100% rename from packages/ui/src/Providers/PageContextProvider/index.tsx rename to packages/journey/src/Providers/PageContextProvider/index.tsx diff --git a/packages/ui/src/Providers/SettingsProvider/index.tsx b/packages/journey/src/Providers/SettingsProvider/index.tsx similarity index 100% rename from packages/ui/src/Providers/SettingsProvider/index.tsx rename to packages/journey/src/Providers/SettingsProvider/index.tsx diff --git a/packages/ui/src/Providers/SettingsProvider/use-preview.ts b/packages/journey/src/Providers/SettingsProvider/use-preview.ts similarity index 100% rename from packages/ui/src/Providers/SettingsProvider/use-preview.ts rename to packages/journey/src/Providers/SettingsProvider/use-preview.ts diff --git a/packages/ui/src/Providers/SettingsProvider/use-sign-in-experience.ts b/packages/journey/src/Providers/SettingsProvider/use-sign-in-experience.ts similarity index 100% rename from packages/ui/src/Providers/SettingsProvider/use-sign-in-experience.ts rename to packages/journey/src/Providers/SettingsProvider/use-sign-in-experience.ts diff --git a/packages/ui/src/Providers/SettingsProvider/use-theme.ts b/packages/journey/src/Providers/SettingsProvider/use-theme.ts similarity index 100% rename from packages/ui/src/Providers/SettingsProvider/use-theme.ts rename to packages/journey/src/Providers/SettingsProvider/use-theme.ts diff --git a/packages/ui/src/Providers/ToastProvider/index.tsx b/packages/journey/src/Providers/ToastProvider/index.tsx similarity index 100% rename from packages/ui/src/Providers/ToastProvider/index.tsx rename to packages/journey/src/Providers/ToastProvider/index.tsx diff --git a/packages/ui/src/__mocks__/RenderWithPageContext/SettingsProvider.tsx b/packages/journey/src/__mocks__/RenderWithPageContext/SettingsProvider.tsx similarity index 100% rename from packages/ui/src/__mocks__/RenderWithPageContext/SettingsProvider.tsx rename to packages/journey/src/__mocks__/RenderWithPageContext/SettingsProvider.tsx diff --git a/packages/ui/src/__mocks__/RenderWithPageContext/index.tsx b/packages/journey/src/__mocks__/RenderWithPageContext/index.tsx similarity index 100% rename from packages/ui/src/__mocks__/RenderWithPageContext/index.tsx rename to packages/journey/src/__mocks__/RenderWithPageContext/index.tsx diff --git a/packages/ui/src/__mocks__/logto.tsx b/packages/journey/src/__mocks__/logto.tsx similarity index 100% rename from packages/ui/src/__mocks__/logto.tsx rename to packages/journey/src/__mocks__/logto.tsx diff --git a/packages/ui/src/apis/api.ts b/packages/journey/src/apis/api.ts similarity index 100% rename from packages/ui/src/apis/api.ts rename to packages/journey/src/apis/api.ts diff --git a/packages/ui/src/apis/consent.ts b/packages/journey/src/apis/consent.ts similarity index 100% rename from packages/ui/src/apis/consent.ts rename to packages/journey/src/apis/consent.ts diff --git a/packages/ui/src/apis/index.test.ts b/packages/journey/src/apis/index.test.ts similarity index 100% rename from packages/ui/src/apis/index.test.ts rename to packages/journey/src/apis/index.test.ts diff --git a/packages/ui/src/apis/interaction.ts b/packages/journey/src/apis/interaction.ts similarity index 100% rename from packages/ui/src/apis/interaction.ts rename to packages/journey/src/apis/interaction.ts diff --git a/packages/ui/src/apis/settings.ts b/packages/journey/src/apis/settings.ts similarity index 100% rename from packages/ui/src/apis/settings.ts rename to packages/journey/src/apis/settings.ts diff --git a/packages/ui/src/apis/utils.ts b/packages/journey/src/apis/utils.ts similarity index 100% rename from packages/ui/src/apis/utils.ts rename to packages/journey/src/apis/utils.ts diff --git a/packages/ui/src/assets/apple-touch-icon.png b/packages/journey/src/assets/apple-touch-icon.png similarity index 100% rename from packages/ui/src/assets/apple-touch-icon.png rename to packages/journey/src/assets/apple-touch-icon.png diff --git a/packages/ui/src/assets/favicon.png b/packages/journey/src/assets/favicon.png similarity index 100% rename from packages/ui/src/assets/favicon.png rename to packages/journey/src/assets/favicon.png diff --git a/packages/ui/src/assets/icons/arrow-down.svg b/packages/journey/src/assets/icons/arrow-down.svg similarity index 100% rename from packages/ui/src/assets/icons/arrow-down.svg rename to packages/journey/src/assets/icons/arrow-down.svg diff --git a/packages/ui/src/assets/icons/arrow-next.svg b/packages/journey/src/assets/icons/arrow-next.svg similarity index 100% rename from packages/ui/src/assets/icons/arrow-next.svg rename to packages/journey/src/assets/icons/arrow-next.svg diff --git a/packages/ui/src/assets/icons/arrow-prev.svg b/packages/journey/src/assets/icons/arrow-prev.svg similarity index 100% rename from packages/ui/src/assets/icons/arrow-prev.svg rename to packages/journey/src/assets/icons/arrow-prev.svg diff --git a/packages/ui/src/assets/icons/check-mark.svg b/packages/journey/src/assets/icons/check-mark.svg similarity index 100% rename from packages/ui/src/assets/icons/check-mark.svg rename to packages/journey/src/assets/icons/check-mark.svg diff --git a/packages/ui/src/assets/icons/checkbox-icon.svg b/packages/journey/src/assets/icons/checkbox-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/checkbox-icon.svg rename to packages/journey/src/assets/icons/checkbox-icon.svg diff --git a/packages/ui/src/assets/icons/clear-icon.svg b/packages/journey/src/assets/icons/clear-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/clear-icon.svg rename to packages/journey/src/assets/icons/clear-icon.svg diff --git a/packages/ui/src/assets/icons/close-icon.svg b/packages/journey/src/assets/icons/close-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/close-icon.svg rename to packages/journey/src/assets/icons/close-icon.svg diff --git a/packages/ui/src/assets/icons/empty-state-dark.svg b/packages/journey/src/assets/icons/empty-state-dark.svg similarity index 100% rename from packages/ui/src/assets/icons/empty-state-dark.svg rename to packages/journey/src/assets/icons/empty-state-dark.svg diff --git a/packages/ui/src/assets/icons/empty-state.svg b/packages/journey/src/assets/icons/empty-state.svg similarity index 100% rename from packages/ui/src/assets/icons/empty-state.svg rename to packages/journey/src/assets/icons/empty-state.svg diff --git a/packages/ui/src/assets/icons/expand-icon.svg b/packages/journey/src/assets/icons/expand-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/expand-icon.svg rename to packages/journey/src/assets/icons/expand-icon.svg diff --git a/packages/ui/src/assets/icons/info-icon.svg b/packages/journey/src/assets/icons/info-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/info-icon.svg rename to packages/journey/src/assets/icons/info-icon.svg diff --git a/packages/ui/src/assets/icons/loading-icon.svg b/packages/journey/src/assets/icons/loading-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/loading-icon.svg rename to packages/journey/src/assets/icons/loading-icon.svg diff --git a/packages/ui/src/assets/icons/logto-logo-dark.svg b/packages/journey/src/assets/icons/logto-logo-dark.svg similarity index 100% rename from packages/ui/src/assets/icons/logto-logo-dark.svg rename to packages/journey/src/assets/icons/logto-logo-dark.svg diff --git a/packages/ui/src/assets/icons/logto-logo-light.svg b/packages/journey/src/assets/icons/logto-logo-light.svg similarity index 100% rename from packages/ui/src/assets/icons/logto-logo-light.svg rename to packages/journey/src/assets/icons/logto-logo-light.svg diff --git a/packages/ui/src/assets/icons/logto-logo-shadow.svg b/packages/journey/src/assets/icons/logto-logo-shadow.svg similarity index 100% rename from packages/ui/src/assets/icons/logto-logo-shadow.svg rename to packages/journey/src/assets/icons/logto-logo-shadow.svg diff --git a/packages/ui/src/assets/icons/more-social-icon.svg b/packages/journey/src/assets/icons/more-social-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/more-social-icon.svg rename to packages/journey/src/assets/icons/more-social-icon.svg diff --git a/packages/ui/src/assets/icons/nav-close.svg b/packages/journey/src/assets/icons/nav-close.svg similarity index 100% rename from packages/ui/src/assets/icons/nav-close.svg rename to packages/journey/src/assets/icons/nav-close.svg diff --git a/packages/ui/src/assets/icons/password-hide-icon.svg b/packages/journey/src/assets/icons/password-hide-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/password-hide-icon.svg rename to packages/journey/src/assets/icons/password-hide-icon.svg diff --git a/packages/ui/src/assets/icons/password-show-icon.svg b/packages/journey/src/assets/icons/password-show-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/password-show-icon.svg rename to packages/journey/src/assets/icons/password-show-icon.svg diff --git a/packages/ui/src/assets/icons/search-icon.svg b/packages/journey/src/assets/icons/search-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/search-icon.svg rename to packages/journey/src/assets/icons/search-icon.svg diff --git a/packages/ui/src/assets/icons/switch-icon.svg b/packages/journey/src/assets/icons/switch-icon.svg similarity index 100% rename from packages/ui/src/assets/icons/switch-icon.svg rename to packages/journey/src/assets/icons/switch-icon.svg diff --git a/packages/ui/src/assets/index.d.ts b/packages/journey/src/assets/index.d.ts similarity index 100% rename from packages/ui/src/assets/index.d.ts rename to packages/journey/src/assets/index.d.ts diff --git a/packages/ui/src/components/BrandingHeader/index.module.scss b/packages/journey/src/components/BrandingHeader/index.module.scss similarity index 100% rename from packages/ui/src/components/BrandingHeader/index.module.scss rename to packages/journey/src/components/BrandingHeader/index.module.scss diff --git a/packages/ui/src/components/BrandingHeader/index.test.tsx b/packages/journey/src/components/BrandingHeader/index.test.tsx similarity index 100% rename from packages/ui/src/components/BrandingHeader/index.test.tsx rename to packages/journey/src/components/BrandingHeader/index.test.tsx diff --git a/packages/ui/src/components/BrandingHeader/index.tsx b/packages/journey/src/components/BrandingHeader/index.tsx similarity index 100% rename from packages/ui/src/components/BrandingHeader/index.tsx rename to packages/journey/src/components/BrandingHeader/index.tsx diff --git a/packages/ui/src/components/Button/IconButton.module.scss b/packages/journey/src/components/Button/IconButton.module.scss similarity index 100% rename from packages/ui/src/components/Button/IconButton.module.scss rename to packages/journey/src/components/Button/IconButton.module.scss diff --git a/packages/ui/src/components/Button/IconButton.tsx b/packages/journey/src/components/Button/IconButton.tsx similarity index 100% rename from packages/ui/src/components/Button/IconButton.tsx rename to packages/journey/src/components/Button/IconButton.tsx diff --git a/packages/ui/src/components/Button/SocialLinkButton.module.scss b/packages/journey/src/components/Button/SocialLinkButton.module.scss similarity index 100% rename from packages/ui/src/components/Button/SocialLinkButton.module.scss rename to packages/journey/src/components/Button/SocialLinkButton.module.scss diff --git a/packages/ui/src/components/Button/SocialLinkButton.tsx b/packages/journey/src/components/Button/SocialLinkButton.tsx similarity index 100% rename from packages/ui/src/components/Button/SocialLinkButton.tsx rename to packages/journey/src/components/Button/SocialLinkButton.tsx diff --git a/packages/ui/src/components/Button/index.module.scss b/packages/journey/src/components/Button/index.module.scss similarity index 100% rename from packages/ui/src/components/Button/index.module.scss rename to packages/journey/src/components/Button/index.module.scss diff --git a/packages/ui/src/components/Button/index.test.tsx b/packages/journey/src/components/Button/index.test.tsx similarity index 100% rename from packages/ui/src/components/Button/index.test.tsx rename to packages/journey/src/components/Button/index.test.tsx diff --git a/packages/ui/src/components/Button/index.tsx b/packages/journey/src/components/Button/index.tsx similarity index 100% rename from packages/ui/src/components/Button/index.tsx rename to packages/journey/src/components/Button/index.tsx diff --git a/packages/ui/src/components/Checkbox/index.module.scss b/packages/journey/src/components/Checkbox/index.module.scss similarity index 100% rename from packages/ui/src/components/Checkbox/index.module.scss rename to packages/journey/src/components/Checkbox/index.module.scss diff --git a/packages/ui/src/components/Checkbox/index.tsx b/packages/journey/src/components/Checkbox/index.tsx similarity index 100% rename from packages/ui/src/components/Checkbox/index.tsx rename to packages/journey/src/components/Checkbox/index.tsx diff --git a/packages/ui/src/components/ConfirmModal/AcModal.tsx b/packages/journey/src/components/ConfirmModal/AcModal.tsx similarity index 100% rename from packages/ui/src/components/ConfirmModal/AcModal.tsx rename to packages/journey/src/components/ConfirmModal/AcModal.tsx diff --git a/packages/ui/src/components/ConfirmModal/Acmodal.module.scss b/packages/journey/src/components/ConfirmModal/Acmodal.module.scss similarity index 100% rename from packages/ui/src/components/ConfirmModal/Acmodal.module.scss rename to packages/journey/src/components/ConfirmModal/Acmodal.module.scss diff --git a/packages/ui/src/components/ConfirmModal/MobileModal.module.scss b/packages/journey/src/components/ConfirmModal/MobileModal.module.scss similarity index 100% rename from packages/ui/src/components/ConfirmModal/MobileModal.module.scss rename to packages/journey/src/components/ConfirmModal/MobileModal.module.scss diff --git a/packages/ui/src/components/ConfirmModal/MobileModal.tsx b/packages/journey/src/components/ConfirmModal/MobileModal.tsx similarity index 100% rename from packages/ui/src/components/ConfirmModal/MobileModal.tsx rename to packages/journey/src/components/ConfirmModal/MobileModal.tsx diff --git a/packages/ui/src/components/ConfirmModal/index.tsx b/packages/journey/src/components/ConfirmModal/index.tsx similarity index 100% rename from packages/ui/src/components/ConfirmModal/index.tsx rename to packages/journey/src/components/ConfirmModal/index.tsx diff --git a/packages/ui/src/components/ConfirmModal/type.ts b/packages/journey/src/components/ConfirmModal/type.ts similarity index 100% rename from packages/ui/src/components/ConfirmModal/type.ts rename to packages/journey/src/components/ConfirmModal/type.ts diff --git a/packages/ui/src/components/Divider/index.module.scss b/packages/journey/src/components/Divider/index.module.scss similarity index 100% rename from packages/ui/src/components/Divider/index.module.scss rename to packages/journey/src/components/Divider/index.module.scss diff --git a/packages/ui/src/components/Divider/index.test.tsx b/packages/journey/src/components/Divider/index.test.tsx similarity index 100% rename from packages/ui/src/components/Divider/index.test.tsx rename to packages/journey/src/components/Divider/index.test.tsx diff --git a/packages/ui/src/components/Divider/index.tsx b/packages/journey/src/components/Divider/index.tsx similarity index 100% rename from packages/ui/src/components/Divider/index.tsx rename to packages/journey/src/components/Divider/index.tsx diff --git a/packages/ui/src/components/DynamicT/index.test.tsx b/packages/journey/src/components/DynamicT/index.test.tsx similarity index 100% rename from packages/ui/src/components/DynamicT/index.test.tsx rename to packages/journey/src/components/DynamicT/index.test.tsx diff --git a/packages/ui/src/components/DynamicT/index.tsx b/packages/journey/src/components/DynamicT/index.tsx similarity index 100% rename from packages/ui/src/components/DynamicT/index.tsx rename to packages/journey/src/components/DynamicT/index.tsx diff --git a/packages/ui/src/components/ErrorMessage/index.module.scss b/packages/journey/src/components/ErrorMessage/index.module.scss similarity index 100% rename from packages/ui/src/components/ErrorMessage/index.module.scss rename to packages/journey/src/components/ErrorMessage/index.module.scss diff --git a/packages/ui/src/components/ErrorMessage/index.tsx b/packages/journey/src/components/ErrorMessage/index.tsx similarity index 100% rename from packages/ui/src/components/ErrorMessage/index.tsx rename to packages/journey/src/components/ErrorMessage/index.tsx diff --git a/packages/ui/src/components/InputFields/InputField/index.module.scss b/packages/journey/src/components/InputFields/InputField/index.module.scss similarity index 100% rename from packages/ui/src/components/InputFields/InputField/index.module.scss rename to packages/journey/src/components/InputFields/InputField/index.module.scss diff --git a/packages/ui/src/components/InputFields/InputField/index.test.tsx b/packages/journey/src/components/InputFields/InputField/index.test.tsx similarity index 100% rename from packages/ui/src/components/InputFields/InputField/index.test.tsx rename to packages/journey/src/components/InputFields/InputField/index.test.tsx diff --git a/packages/ui/src/components/InputFields/InputField/index.tsx b/packages/journey/src/components/InputFields/InputField/index.tsx similarity index 100% rename from packages/ui/src/components/InputFields/InputField/index.tsx rename to packages/journey/src/components/InputFields/InputField/index.tsx diff --git a/packages/ui/src/components/InputFields/PasswordInputField/index.test.tsx b/packages/journey/src/components/InputFields/PasswordInputField/index.test.tsx similarity index 100% rename from packages/ui/src/components/InputFields/PasswordInputField/index.test.tsx rename to packages/journey/src/components/InputFields/PasswordInputField/index.test.tsx diff --git a/packages/ui/src/components/InputFields/PasswordInputField/index.tsx b/packages/journey/src/components/InputFields/PasswordInputField/index.tsx similarity index 100% rename from packages/ui/src/components/InputFields/PasswordInputField/index.tsx rename to packages/journey/src/components/InputFields/PasswordInputField/index.tsx diff --git a/packages/ui/src/components/InputFields/SmartInputField/AnimatedPrefix/index.module.scss b/packages/journey/src/components/InputFields/SmartInputField/AnimatedPrefix/index.module.scss similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/AnimatedPrefix/index.module.scss rename to packages/journey/src/components/InputFields/SmartInputField/AnimatedPrefix/index.module.scss diff --git a/packages/ui/src/components/InputFields/SmartInputField/AnimatedPrefix/index.tsx b/packages/journey/src/components/InputFields/SmartInputField/AnimatedPrefix/index.tsx similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/AnimatedPrefix/index.tsx rename to packages/journey/src/components/InputFields/SmartInputField/AnimatedPrefix/index.tsx diff --git a/packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.module.scss b/packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.module.scss similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.module.scss rename to packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.module.scss diff --git a/packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.test.tsx b/packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.test.tsx similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.test.tsx rename to packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.test.tsx diff --git a/packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.tsx b/packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.tsx similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.tsx rename to packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.tsx diff --git a/packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/index.module.scss b/packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/index.module.scss similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/index.module.scss rename to packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/index.module.scss diff --git a/packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/index.tsx b/packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/index.tsx similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/CountryCodeSelector/index.tsx rename to packages/journey/src/components/InputFields/SmartInputField/CountryCodeSelector/index.tsx diff --git a/packages/ui/src/components/InputFields/SmartInputField/index.test.tsx b/packages/journey/src/components/InputFields/SmartInputField/index.test.tsx similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/index.test.tsx rename to packages/journey/src/components/InputFields/SmartInputField/index.test.tsx diff --git a/packages/ui/src/components/InputFields/SmartInputField/index.tsx b/packages/journey/src/components/InputFields/SmartInputField/index.tsx similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/index.tsx rename to packages/journey/src/components/InputFields/SmartInputField/index.tsx diff --git a/packages/ui/src/components/InputFields/SmartInputField/use-smart-input-field.ts b/packages/journey/src/components/InputFields/SmartInputField/use-smart-input-field.ts similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/use-smart-input-field.ts rename to packages/journey/src/components/InputFields/SmartInputField/use-smart-input-field.ts diff --git a/packages/ui/src/components/InputFields/SmartInputField/utils.test.ts b/packages/journey/src/components/InputFields/SmartInputField/utils.test.ts similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/utils.test.ts rename to packages/journey/src/components/InputFields/SmartInputField/utils.test.ts diff --git a/packages/ui/src/components/InputFields/SmartInputField/utils.ts b/packages/journey/src/components/InputFields/SmartInputField/utils.ts similarity index 100% rename from packages/ui/src/components/InputFields/SmartInputField/utils.ts rename to packages/journey/src/components/InputFields/SmartInputField/utils.ts diff --git a/packages/ui/src/components/InputFields/index.tsx b/packages/journey/src/components/InputFields/index.tsx similarity index 100% rename from packages/ui/src/components/InputFields/index.tsx rename to packages/journey/src/components/InputFields/index.tsx diff --git a/packages/ui/src/components/LoadingLayer/LoadingIcon.tsx b/packages/journey/src/components/LoadingLayer/LoadingIcon.tsx similarity index 100% rename from packages/ui/src/components/LoadingLayer/LoadingIcon.tsx rename to packages/journey/src/components/LoadingLayer/LoadingIcon.tsx diff --git a/packages/ui/src/components/LoadingLayer/index.module.scss b/packages/journey/src/components/LoadingLayer/index.module.scss similarity index 100% rename from packages/ui/src/components/LoadingLayer/index.module.scss rename to packages/journey/src/components/LoadingLayer/index.module.scss diff --git a/packages/ui/src/components/LoadingLayer/index.tsx b/packages/journey/src/components/LoadingLayer/index.tsx similarity index 100% rename from packages/ui/src/components/LoadingLayer/index.tsx rename to packages/journey/src/components/LoadingLayer/index.tsx diff --git a/packages/ui/src/components/LogtoSignature/index.module.scss b/packages/journey/src/components/LogtoSignature/index.module.scss similarity index 100% rename from packages/ui/src/components/LogtoSignature/index.module.scss rename to packages/journey/src/components/LogtoSignature/index.module.scss diff --git a/packages/ui/src/components/LogtoSignature/index.tsx b/packages/journey/src/components/LogtoSignature/index.tsx similarity index 100% rename from packages/ui/src/components/LogtoSignature/index.tsx rename to packages/journey/src/components/LogtoSignature/index.tsx diff --git a/packages/ui/src/components/NavBar/index.module.scss b/packages/journey/src/components/NavBar/index.module.scss similarity index 100% rename from packages/ui/src/components/NavBar/index.module.scss rename to packages/journey/src/components/NavBar/index.module.scss diff --git a/packages/ui/src/components/NavBar/index.tsx b/packages/journey/src/components/NavBar/index.tsx similarity index 100% rename from packages/ui/src/components/NavBar/index.tsx rename to packages/journey/src/components/NavBar/index.tsx diff --git a/packages/ui/src/components/Notification/AppNotification/index.module.scss b/packages/journey/src/components/Notification/AppNotification/index.module.scss similarity index 100% rename from packages/ui/src/components/Notification/AppNotification/index.module.scss rename to packages/journey/src/components/Notification/AppNotification/index.module.scss diff --git a/packages/ui/src/components/Notification/AppNotification/index.tsx b/packages/journey/src/components/Notification/AppNotification/index.tsx similarity index 100% rename from packages/ui/src/components/Notification/AppNotification/index.tsx rename to packages/journey/src/components/Notification/AppNotification/index.tsx diff --git a/packages/ui/src/components/Notification/InlineNotification/index.module.scss b/packages/journey/src/components/Notification/InlineNotification/index.module.scss similarity index 100% rename from packages/ui/src/components/Notification/InlineNotification/index.module.scss rename to packages/journey/src/components/Notification/InlineNotification/index.module.scss diff --git a/packages/ui/src/components/Notification/InlineNotification/index.tsx b/packages/journey/src/components/Notification/InlineNotification/index.tsx similarity index 100% rename from packages/ui/src/components/Notification/InlineNotification/index.tsx rename to packages/journey/src/components/Notification/InlineNotification/index.tsx diff --git a/packages/ui/src/components/Notification/index.tsx b/packages/journey/src/components/Notification/index.tsx similarity index 100% rename from packages/ui/src/components/Notification/index.tsx rename to packages/journey/src/components/Notification/index.tsx diff --git a/packages/ui/src/components/PageMeta/index.tsx b/packages/journey/src/components/PageMeta/index.tsx similarity index 100% rename from packages/ui/src/components/PageMeta/index.tsx rename to packages/journey/src/components/PageMeta/index.tsx diff --git a/packages/ui/src/components/TermsLinks/index.module.scss b/packages/journey/src/components/TermsLinks/index.module.scss similarity index 100% rename from packages/ui/src/components/TermsLinks/index.module.scss rename to packages/journey/src/components/TermsLinks/index.module.scss diff --git a/packages/ui/src/components/TermsLinks/index.tsx b/packages/journey/src/components/TermsLinks/index.tsx similarity index 100% rename from packages/ui/src/components/TermsLinks/index.tsx rename to packages/journey/src/components/TermsLinks/index.tsx diff --git a/packages/ui/src/components/TextLink/index.module.scss b/packages/journey/src/components/TextLink/index.module.scss similarity index 100% rename from packages/ui/src/components/TextLink/index.module.scss rename to packages/journey/src/components/TextLink/index.module.scss diff --git a/packages/ui/src/components/TextLink/index.test.tsx b/packages/journey/src/components/TextLink/index.test.tsx similarity index 100% rename from packages/ui/src/components/TextLink/index.test.tsx rename to packages/journey/src/components/TextLink/index.test.tsx diff --git a/packages/ui/src/components/TextLink/index.tsx b/packages/journey/src/components/TextLink/index.tsx similarity index 100% rename from packages/ui/src/components/TextLink/index.tsx rename to packages/journey/src/components/TextLink/index.tsx diff --git a/packages/ui/src/components/Toast/index.module.scss b/packages/journey/src/components/Toast/index.module.scss similarity index 100% rename from packages/ui/src/components/Toast/index.module.scss rename to packages/journey/src/components/Toast/index.module.scss diff --git a/packages/ui/src/components/Toast/index.test.tsx b/packages/journey/src/components/Toast/index.test.tsx similarity index 100% rename from packages/ui/src/components/Toast/index.test.tsx rename to packages/journey/src/components/Toast/index.test.tsx diff --git a/packages/ui/src/components/Toast/index.tsx b/packages/journey/src/components/Toast/index.tsx similarity index 100% rename from packages/ui/src/components/Toast/index.tsx rename to packages/journey/src/components/Toast/index.tsx diff --git a/packages/ui/src/components/VerificationCode/index.module.scss b/packages/journey/src/components/VerificationCode/index.module.scss similarity index 100% rename from packages/ui/src/components/VerificationCode/index.module.scss rename to packages/journey/src/components/VerificationCode/index.module.scss diff --git a/packages/ui/src/components/VerificationCode/index.test.tsx b/packages/journey/src/components/VerificationCode/index.test.tsx similarity index 100% rename from packages/ui/src/components/VerificationCode/index.test.tsx rename to packages/journey/src/components/VerificationCode/index.test.tsx diff --git a/packages/ui/src/components/VerificationCode/index.tsx b/packages/journey/src/components/VerificationCode/index.tsx similarity index 100% rename from packages/ui/src/components/VerificationCode/index.tsx rename to packages/journey/src/components/VerificationCode/index.tsx diff --git a/packages/ui/src/containers/AppNotification/index.module.scss b/packages/journey/src/containers/AppNotification/index.module.scss similarity index 100% rename from packages/ui/src/containers/AppNotification/index.module.scss rename to packages/journey/src/containers/AppNotification/index.module.scss diff --git a/packages/ui/src/containers/AppNotification/index.tsx b/packages/journey/src/containers/AppNotification/index.tsx similarity index 100% rename from packages/ui/src/containers/AppNotification/index.tsx rename to packages/journey/src/containers/AppNotification/index.tsx diff --git a/packages/ui/src/containers/ForgotPasswordLink/index.tsx b/packages/journey/src/containers/ForgotPasswordLink/index.tsx similarity index 100% rename from packages/ui/src/containers/ForgotPasswordLink/index.tsx rename to packages/journey/src/containers/ForgotPasswordLink/index.tsx diff --git a/packages/ui/src/containers/SetPassword/Lite.test.tsx b/packages/journey/src/containers/SetPassword/Lite.test.tsx similarity index 100% rename from packages/ui/src/containers/SetPassword/Lite.test.tsx rename to packages/journey/src/containers/SetPassword/Lite.test.tsx diff --git a/packages/ui/src/containers/SetPassword/Lite.tsx b/packages/journey/src/containers/SetPassword/Lite.tsx similarity index 100% rename from packages/ui/src/containers/SetPassword/Lite.tsx rename to packages/journey/src/containers/SetPassword/Lite.tsx diff --git a/packages/ui/src/containers/SetPassword/SetPassword.test.tsx b/packages/journey/src/containers/SetPassword/SetPassword.test.tsx similarity index 100% rename from packages/ui/src/containers/SetPassword/SetPassword.test.tsx rename to packages/journey/src/containers/SetPassword/SetPassword.test.tsx diff --git a/packages/ui/src/containers/SetPassword/SetPassword.tsx b/packages/journey/src/containers/SetPassword/SetPassword.tsx similarity index 100% rename from packages/ui/src/containers/SetPassword/SetPassword.tsx rename to packages/journey/src/containers/SetPassword/SetPassword.tsx diff --git a/packages/ui/src/containers/SetPassword/TogglePassword.tsx b/packages/journey/src/containers/SetPassword/TogglePassword.tsx similarity index 100% rename from packages/ui/src/containers/SetPassword/TogglePassword.tsx rename to packages/journey/src/containers/SetPassword/TogglePassword.tsx diff --git a/packages/ui/src/containers/SetPassword/index.module.scss b/packages/journey/src/containers/SetPassword/index.module.scss similarity index 100% rename from packages/ui/src/containers/SetPassword/index.module.scss rename to packages/journey/src/containers/SetPassword/index.module.scss diff --git a/packages/ui/src/containers/SetPassword/index.tsx b/packages/journey/src/containers/SetPassword/index.tsx similarity index 100% rename from packages/ui/src/containers/SetPassword/index.tsx rename to packages/journey/src/containers/SetPassword/index.tsx diff --git a/packages/ui/src/containers/SocialLanding/index.module.scss b/packages/journey/src/containers/SocialLanding/index.module.scss similarity index 100% rename from packages/ui/src/containers/SocialLanding/index.module.scss rename to packages/journey/src/containers/SocialLanding/index.module.scss diff --git a/packages/ui/src/containers/SocialLanding/index.tsx b/packages/journey/src/containers/SocialLanding/index.tsx similarity index 100% rename from packages/ui/src/containers/SocialLanding/index.tsx rename to packages/journey/src/containers/SocialLanding/index.tsx diff --git a/packages/ui/src/containers/SocialLinkAccount/index.module.scss b/packages/journey/src/containers/SocialLinkAccount/index.module.scss similarity index 100% rename from packages/ui/src/containers/SocialLinkAccount/index.module.scss rename to packages/journey/src/containers/SocialLinkAccount/index.module.scss diff --git a/packages/ui/src/containers/SocialLinkAccount/index.test.tsx b/packages/journey/src/containers/SocialLinkAccount/index.test.tsx similarity index 100% rename from packages/ui/src/containers/SocialLinkAccount/index.test.tsx rename to packages/journey/src/containers/SocialLinkAccount/index.test.tsx diff --git a/packages/ui/src/containers/SocialLinkAccount/index.tsx b/packages/journey/src/containers/SocialLinkAccount/index.tsx similarity index 100% rename from packages/ui/src/containers/SocialLinkAccount/index.tsx rename to packages/journey/src/containers/SocialLinkAccount/index.tsx diff --git a/packages/ui/src/containers/SocialSignInList/index.module.scss b/packages/journey/src/containers/SocialSignInList/index.module.scss similarity index 100% rename from packages/ui/src/containers/SocialSignInList/index.module.scss rename to packages/journey/src/containers/SocialSignInList/index.module.scss diff --git a/packages/ui/src/containers/SocialSignInList/index.test.tsx b/packages/journey/src/containers/SocialSignInList/index.test.tsx similarity index 100% rename from packages/ui/src/containers/SocialSignInList/index.test.tsx rename to packages/journey/src/containers/SocialSignInList/index.test.tsx diff --git a/packages/ui/src/containers/SocialSignInList/index.tsx b/packages/journey/src/containers/SocialSignInList/index.tsx similarity index 100% rename from packages/ui/src/containers/SocialSignInList/index.tsx rename to packages/journey/src/containers/SocialSignInList/index.tsx diff --git a/packages/ui/src/containers/TermsAndPrivacy/TermsAndPrivacyConfirmModalContent/index.tsx b/packages/journey/src/containers/TermsAndPrivacy/TermsAndPrivacyConfirmModalContent/index.tsx similarity index 100% rename from packages/ui/src/containers/TermsAndPrivacy/TermsAndPrivacyConfirmModalContent/index.tsx rename to packages/journey/src/containers/TermsAndPrivacy/TermsAndPrivacyConfirmModalContent/index.tsx diff --git a/packages/ui/src/containers/TermsAndPrivacy/index.module.scss b/packages/journey/src/containers/TermsAndPrivacy/index.module.scss similarity index 100% rename from packages/ui/src/containers/TermsAndPrivacy/index.module.scss rename to packages/journey/src/containers/TermsAndPrivacy/index.module.scss diff --git a/packages/ui/src/containers/TermsAndPrivacy/index.tsx b/packages/journey/src/containers/TermsAndPrivacy/index.tsx similarity index 100% rename from packages/ui/src/containers/TermsAndPrivacy/index.tsx rename to packages/journey/src/containers/TermsAndPrivacy/index.tsx diff --git a/packages/ui/src/containers/TermsAndPrivacy/intext.test.tsx b/packages/journey/src/containers/TermsAndPrivacy/intext.test.tsx similarity index 100% rename from packages/ui/src/containers/TermsAndPrivacy/intext.test.tsx rename to packages/journey/src/containers/TermsAndPrivacy/intext.test.tsx diff --git a/packages/ui/src/containers/TermsAndPrivacyLinks/index.tsx b/packages/journey/src/containers/TermsAndPrivacyLinks/index.tsx similarity index 100% rename from packages/ui/src/containers/TermsAndPrivacyLinks/index.tsx rename to packages/journey/src/containers/TermsAndPrivacyLinks/index.tsx diff --git a/packages/ui/src/containers/VerificationCode/PasswordSignInLink.tsx b/packages/journey/src/containers/VerificationCode/PasswordSignInLink.tsx similarity index 100% rename from packages/ui/src/containers/VerificationCode/PasswordSignInLink.tsx rename to packages/journey/src/containers/VerificationCode/PasswordSignInLink.tsx diff --git a/packages/ui/src/containers/VerificationCode/index.module.scss b/packages/journey/src/containers/VerificationCode/index.module.scss similarity index 100% rename from packages/ui/src/containers/VerificationCode/index.module.scss rename to packages/journey/src/containers/VerificationCode/index.module.scss diff --git a/packages/ui/src/containers/VerificationCode/index.test.tsx b/packages/journey/src/containers/VerificationCode/index.test.tsx similarity index 100% rename from packages/ui/src/containers/VerificationCode/index.test.tsx rename to packages/journey/src/containers/VerificationCode/index.test.tsx diff --git a/packages/ui/src/containers/VerificationCode/index.tsx b/packages/journey/src/containers/VerificationCode/index.tsx similarity index 100% rename from packages/ui/src/containers/VerificationCode/index.tsx rename to packages/journey/src/containers/VerificationCode/index.tsx diff --git a/packages/ui/src/containers/VerificationCode/use-continue-flow-code-verification.ts b/packages/journey/src/containers/VerificationCode/use-continue-flow-code-verification.ts similarity index 100% rename from packages/ui/src/containers/VerificationCode/use-continue-flow-code-verification.ts rename to packages/journey/src/containers/VerificationCode/use-continue-flow-code-verification.ts diff --git a/packages/ui/src/containers/VerificationCode/use-forgot-password-flow-code-verification.ts b/packages/journey/src/containers/VerificationCode/use-forgot-password-flow-code-verification.ts similarity index 100% rename from packages/ui/src/containers/VerificationCode/use-forgot-password-flow-code-verification.ts rename to packages/journey/src/containers/VerificationCode/use-forgot-password-flow-code-verification.ts diff --git a/packages/ui/src/containers/VerificationCode/use-general-verification-code-error-handler.ts b/packages/journey/src/containers/VerificationCode/use-general-verification-code-error-handler.ts similarity index 100% rename from packages/ui/src/containers/VerificationCode/use-general-verification-code-error-handler.ts rename to packages/journey/src/containers/VerificationCode/use-general-verification-code-error-handler.ts diff --git a/packages/ui/src/containers/VerificationCode/use-identifier-error-alert.ts b/packages/journey/src/containers/VerificationCode/use-identifier-error-alert.ts similarity index 100% rename from packages/ui/src/containers/VerificationCode/use-identifier-error-alert.ts rename to packages/journey/src/containers/VerificationCode/use-identifier-error-alert.ts diff --git a/packages/ui/src/containers/VerificationCode/use-link-social-confirm-modal.ts b/packages/journey/src/containers/VerificationCode/use-link-social-confirm-modal.ts similarity index 100% rename from packages/ui/src/containers/VerificationCode/use-link-social-confirm-modal.ts rename to packages/journey/src/containers/VerificationCode/use-link-social-confirm-modal.ts diff --git a/packages/ui/src/containers/VerificationCode/use-register-flow-code-verification.ts b/packages/journey/src/containers/VerificationCode/use-register-flow-code-verification.ts similarity index 100% rename from packages/ui/src/containers/VerificationCode/use-register-flow-code-verification.ts rename to packages/journey/src/containers/VerificationCode/use-register-flow-code-verification.ts diff --git a/packages/ui/src/containers/VerificationCode/use-resend-verification-code.ts b/packages/journey/src/containers/VerificationCode/use-resend-verification-code.ts similarity index 100% rename from packages/ui/src/containers/VerificationCode/use-resend-verification-code.ts rename to packages/journey/src/containers/VerificationCode/use-resend-verification-code.ts diff --git a/packages/ui/src/containers/VerificationCode/use-sign-in-flow-code-verification.ts b/packages/journey/src/containers/VerificationCode/use-sign-in-flow-code-verification.ts similarity index 100% rename from packages/ui/src/containers/VerificationCode/use-sign-in-flow-code-verification.ts rename to packages/journey/src/containers/VerificationCode/use-sign-in-flow-code-verification.ts diff --git a/packages/ui/src/containers/VerificationCode/utils.ts b/packages/journey/src/containers/VerificationCode/utils.ts similarity index 100% rename from packages/ui/src/containers/VerificationCode/utils.ts rename to packages/journey/src/containers/VerificationCode/utils.ts diff --git a/packages/ui/src/favicon.ico b/packages/journey/src/favicon.ico similarity index 100% rename from packages/ui/src/favicon.ico rename to packages/journey/src/favicon.ico diff --git a/packages/ui/src/hooks/use-api.ts b/packages/journey/src/hooks/use-api.ts similarity index 100% rename from packages/ui/src/hooks/use-api.ts rename to packages/journey/src/hooks/use-api.ts diff --git a/packages/ui/src/hooks/use-confirm-modal.ts b/packages/journey/src/hooks/use-confirm-modal.ts similarity index 100% rename from packages/ui/src/hooks/use-confirm-modal.ts rename to packages/journey/src/hooks/use-confirm-modal.ts diff --git a/packages/ui/src/hooks/use-debounce.ts b/packages/journey/src/hooks/use-debounce.ts similarity index 100% rename from packages/ui/src/hooks/use-debounce.ts rename to packages/journey/src/hooks/use-debounce.ts diff --git a/packages/ui/src/hooks/use-error-handler.ts b/packages/journey/src/hooks/use-error-handler.ts similarity index 100% rename from packages/ui/src/hooks/use-error-handler.ts rename to packages/journey/src/hooks/use-error-handler.ts diff --git a/packages/ui/src/hooks/use-list-translation.test.ts b/packages/journey/src/hooks/use-list-translation.test.ts similarity index 100% rename from packages/ui/src/hooks/use-list-translation.test.ts rename to packages/journey/src/hooks/use-list-translation.test.ts diff --git a/packages/ui/src/hooks/use-list-translation.ts b/packages/journey/src/hooks/use-list-translation.ts similarity index 100% rename from packages/ui/src/hooks/use-list-translation.ts rename to packages/journey/src/hooks/use-list-translation.ts diff --git a/packages/ui/src/hooks/use-native-message-listener.ts b/packages/journey/src/hooks/use-native-message-listener.ts similarity index 100% rename from packages/ui/src/hooks/use-native-message-listener.ts rename to packages/journey/src/hooks/use-native-message-listener.ts diff --git a/packages/ui/src/hooks/use-password-action.ts b/packages/journey/src/hooks/use-password-action.ts similarity index 100% rename from packages/ui/src/hooks/use-password-action.ts rename to packages/journey/src/hooks/use-password-action.ts diff --git a/packages/ui/src/hooks/use-password-error-message.ts b/packages/journey/src/hooks/use-password-error-message.ts similarity index 100% rename from packages/ui/src/hooks/use-password-error-message.ts rename to packages/journey/src/hooks/use-password-error-message.ts diff --git a/packages/ui/src/hooks/use-password-sign-in.ts b/packages/journey/src/hooks/use-password-sign-in.ts similarity index 100% rename from packages/ui/src/hooks/use-password-sign-in.ts rename to packages/journey/src/hooks/use-password-sign-in.ts diff --git a/packages/ui/src/hooks/use-platform.ts b/packages/journey/src/hooks/use-platform.ts similarity index 100% rename from packages/ui/src/hooks/use-platform.ts rename to packages/journey/src/hooks/use-platform.ts diff --git a/packages/ui/src/hooks/use-required-profile-error-handler.ts b/packages/journey/src/hooks/use-required-profile-error-handler.ts similarity index 100% rename from packages/ui/src/hooks/use-required-profile-error-handler.ts rename to packages/journey/src/hooks/use-required-profile-error-handler.ts diff --git a/packages/ui/src/hooks/use-send-verification-code.ts b/packages/journey/src/hooks/use-send-verification-code.ts similarity index 100% rename from packages/ui/src/hooks/use-send-verification-code.ts rename to packages/journey/src/hooks/use-send-verification-code.ts diff --git a/packages/ui/src/hooks/use-sie.ts b/packages/journey/src/hooks/use-sie.ts similarity index 100% rename from packages/ui/src/hooks/use-sie.ts rename to packages/journey/src/hooks/use-sie.ts diff --git a/packages/ui/src/hooks/use-social-callback-handler.ts b/packages/journey/src/hooks/use-social-callback-handler.ts similarity index 100% rename from packages/ui/src/hooks/use-social-callback-handler.ts rename to packages/journey/src/hooks/use-social-callback-handler.ts diff --git a/packages/ui/src/hooks/use-social-landing-handler.ts b/packages/journey/src/hooks/use-social-landing-handler.ts similarity index 100% rename from packages/ui/src/hooks/use-social-landing-handler.ts rename to packages/journey/src/hooks/use-social-landing-handler.ts diff --git a/packages/ui/src/hooks/use-social-link-account.ts b/packages/journey/src/hooks/use-social-link-account.ts similarity index 100% rename from packages/ui/src/hooks/use-social-link-account.ts rename to packages/journey/src/hooks/use-social-link-account.ts diff --git a/packages/ui/src/hooks/use-social-link-related-user.ts b/packages/journey/src/hooks/use-social-link-related-user.ts similarity index 100% rename from packages/ui/src/hooks/use-social-link-related-user.ts rename to packages/journey/src/hooks/use-social-link-related-user.ts diff --git a/packages/ui/src/hooks/use-social-register.ts b/packages/journey/src/hooks/use-social-register.ts similarity index 100% rename from packages/ui/src/hooks/use-social-register.ts rename to packages/journey/src/hooks/use-social-register.ts diff --git a/packages/ui/src/hooks/use-social-sign-in-listener.ts b/packages/journey/src/hooks/use-social-sign-in-listener.ts similarity index 100% rename from packages/ui/src/hooks/use-social-sign-in-listener.ts rename to packages/journey/src/hooks/use-social-sign-in-listener.ts diff --git a/packages/ui/src/hooks/use-social.ts b/packages/journey/src/hooks/use-social.ts similarity index 100% rename from packages/ui/src/hooks/use-social.ts rename to packages/journey/src/hooks/use-social.ts diff --git a/packages/ui/src/hooks/use-terms.ts b/packages/journey/src/hooks/use-terms.ts similarity index 100% rename from packages/ui/src/hooks/use-terms.ts rename to packages/journey/src/hooks/use-terms.ts diff --git a/packages/ui/src/hooks/use-toast.ts b/packages/journey/src/hooks/use-toast.ts similarity index 100% rename from packages/ui/src/hooks/use-toast.ts rename to packages/journey/src/hooks/use-toast.ts diff --git a/packages/ui/src/hooks/use-toggle.ts b/packages/journey/src/hooks/use-toggle.ts similarity index 100% rename from packages/ui/src/hooks/use-toggle.ts rename to packages/journey/src/hooks/use-toggle.ts diff --git a/packages/ui/src/hooks/use-update-effect.ts b/packages/journey/src/hooks/use-update-effect.ts similarity index 100% rename from packages/ui/src/hooks/use-update-effect.ts rename to packages/journey/src/hooks/use-update-effect.ts diff --git a/packages/ui/src/i18n/init.ts b/packages/journey/src/i18n/init.ts similarity index 100% rename from packages/ui/src/i18n/init.ts rename to packages/journey/src/i18n/init.ts diff --git a/packages/ui/src/i18n/utils.ts b/packages/journey/src/i18n/utils.ts similarity index 94% rename from packages/ui/src/i18n/utils.ts rename to packages/journey/src/i18n/utils.ts index 543a662c9..6ebc8040e 100644 --- a/packages/ui/src/i18n/utils.ts +++ b/packages/journey/src/i18n/utils.ts @@ -1,5 +1,5 @@ -import type { LocalePhrase } from '@logto/phrases-ui'; -import resource from '@logto/phrases-ui'; +import type { LocalePhrase } from '@logto/phrases-journey'; +import resource from '@logto/phrases-journey'; import type { LanguageInfo } from '@logto/schemas'; import type { Resource } from 'i18next'; import i18next from 'i18next'; diff --git a/packages/ui/src/include.d/dom.d.ts b/packages/journey/src/include.d/dom.d.ts similarity index 100% rename from packages/ui/src/include.d/dom.d.ts rename to packages/journey/src/include.d/dom.d.ts diff --git a/packages/ui/src/include.d/global.d.ts b/packages/journey/src/include.d/global.d.ts similarity index 100% rename from packages/ui/src/include.d/global.d.ts rename to packages/journey/src/include.d/global.d.ts diff --git a/packages/ui/src/include.d/i18next.d.ts b/packages/journey/src/include.d/i18next.d.ts similarity index 71% rename from packages/ui/src/include.d/i18next.d.ts rename to packages/journey/src/include.d/i18next.d.ts index de8fc9408..5d71cf1ee 100644 --- a/packages/ui/src/include.d/i18next.d.ts +++ b/packages/journey/src/include.d/i18next.d.ts @@ -1,6 +1,6 @@ // https://react.i18next.com/latest/typescript#create-a-declaration-file -import type { LocalePhrase } from '@logto/phrases-ui'; +import type { LocalePhrase } from '../../../phrases-journey/lib'; declare module 'i18next' { interface CustomTypeOptions { diff --git a/packages/ui/src/include.d/react-app.d.ts b/packages/journey/src/include.d/react-app.d.ts similarity index 100% rename from packages/ui/src/include.d/react-app.d.ts rename to packages/journey/src/include.d/react-app.d.ts diff --git a/packages/ui/src/include.d/react-router-dom.d.ts b/packages/journey/src/include.d/react-router-dom.d.ts similarity index 100% rename from packages/ui/src/include.d/react-router-dom.d.ts rename to packages/journey/src/include.d/react-router-dom.d.ts diff --git a/packages/ui/src/index.html b/packages/journey/src/index.html similarity index 100% rename from packages/ui/src/index.html rename to packages/journey/src/index.html diff --git a/packages/ui/src/index.tsx b/packages/journey/src/index.tsx similarity index 100% rename from packages/ui/src/index.tsx rename to packages/journey/src/index.tsx diff --git a/packages/ui/src/jest.setup.ts b/packages/journey/src/jest.setup.ts similarity index 100% rename from packages/ui/src/jest.setup.ts rename to packages/journey/src/jest.setup.ts diff --git a/packages/ui/src/pages/Callback/index.module.scss b/packages/journey/src/pages/Callback/index.module.scss similarity index 100% rename from packages/ui/src/pages/Callback/index.module.scss rename to packages/journey/src/pages/Callback/index.module.scss diff --git a/packages/ui/src/pages/Callback/index.tsx b/packages/journey/src/pages/Callback/index.tsx similarity index 100% rename from packages/ui/src/pages/Callback/index.tsx rename to packages/journey/src/pages/Callback/index.tsx diff --git a/packages/ui/src/pages/Consent/index.module.scss b/packages/journey/src/pages/Consent/index.module.scss similarity index 100% rename from packages/ui/src/pages/Consent/index.module.scss rename to packages/journey/src/pages/Consent/index.module.scss diff --git a/packages/ui/src/pages/Consent/index.tsx b/packages/journey/src/pages/Consent/index.tsx similarity index 100% rename from packages/ui/src/pages/Consent/index.tsx rename to packages/journey/src/pages/Consent/index.tsx diff --git a/packages/ui/src/pages/Continue/IdentifierProfileForm/index.module.scss b/packages/journey/src/pages/Continue/IdentifierProfileForm/index.module.scss similarity index 100% rename from packages/ui/src/pages/Continue/IdentifierProfileForm/index.module.scss rename to packages/journey/src/pages/Continue/IdentifierProfileForm/index.module.scss diff --git a/packages/ui/src/pages/Continue/IdentifierProfileForm/index.tsx b/packages/journey/src/pages/Continue/IdentifierProfileForm/index.tsx similarity index 100% rename from packages/ui/src/pages/Continue/IdentifierProfileForm/index.tsx rename to packages/journey/src/pages/Continue/IdentifierProfileForm/index.tsx diff --git a/packages/ui/src/pages/Continue/SetEmailOrPhone/SocialIdentityNotification.tsx b/packages/journey/src/pages/Continue/SetEmailOrPhone/SocialIdentityNotification.tsx similarity index 100% rename from packages/ui/src/pages/Continue/SetEmailOrPhone/SocialIdentityNotification.tsx rename to packages/journey/src/pages/Continue/SetEmailOrPhone/SocialIdentityNotification.tsx diff --git a/packages/ui/src/pages/Continue/SetEmailOrPhone/index.module.scss b/packages/journey/src/pages/Continue/SetEmailOrPhone/index.module.scss similarity index 100% rename from packages/ui/src/pages/Continue/SetEmailOrPhone/index.module.scss rename to packages/journey/src/pages/Continue/SetEmailOrPhone/index.module.scss diff --git a/packages/ui/src/pages/Continue/SetEmailOrPhone/index.test.tsx b/packages/journey/src/pages/Continue/SetEmailOrPhone/index.test.tsx similarity index 100% rename from packages/ui/src/pages/Continue/SetEmailOrPhone/index.test.tsx rename to packages/journey/src/pages/Continue/SetEmailOrPhone/index.test.tsx diff --git a/packages/ui/src/pages/Continue/SetEmailOrPhone/index.tsx b/packages/journey/src/pages/Continue/SetEmailOrPhone/index.tsx similarity index 100% rename from packages/ui/src/pages/Continue/SetEmailOrPhone/index.tsx rename to packages/journey/src/pages/Continue/SetEmailOrPhone/index.tsx diff --git a/packages/ui/src/pages/Continue/SetPassword/index.test.tsx b/packages/journey/src/pages/Continue/SetPassword/index.test.tsx similarity index 100% rename from packages/ui/src/pages/Continue/SetPassword/index.test.tsx rename to packages/journey/src/pages/Continue/SetPassword/index.test.tsx diff --git a/packages/ui/src/pages/Continue/SetPassword/index.tsx b/packages/journey/src/pages/Continue/SetPassword/index.tsx similarity index 100% rename from packages/ui/src/pages/Continue/SetPassword/index.tsx rename to packages/journey/src/pages/Continue/SetPassword/index.tsx diff --git a/packages/ui/src/pages/Continue/SetUsername/index.test.tsx b/packages/journey/src/pages/Continue/SetUsername/index.test.tsx similarity index 100% rename from packages/ui/src/pages/Continue/SetUsername/index.test.tsx rename to packages/journey/src/pages/Continue/SetUsername/index.test.tsx diff --git a/packages/ui/src/pages/Continue/SetUsername/index.tsx b/packages/journey/src/pages/Continue/SetUsername/index.tsx similarity index 100% rename from packages/ui/src/pages/Continue/SetUsername/index.tsx rename to packages/journey/src/pages/Continue/SetUsername/index.tsx diff --git a/packages/ui/src/pages/Continue/SetUsername/use-set-username.ts b/packages/journey/src/pages/Continue/SetUsername/use-set-username.ts similarity index 100% rename from packages/ui/src/pages/Continue/SetUsername/use-set-username.ts rename to packages/journey/src/pages/Continue/SetUsername/use-set-username.ts diff --git a/packages/ui/src/pages/Continue/index.tsx b/packages/journey/src/pages/Continue/index.tsx similarity index 100% rename from packages/ui/src/pages/Continue/index.tsx rename to packages/journey/src/pages/Continue/index.tsx diff --git a/packages/ui/src/pages/ErrorPage/index.module.scss b/packages/journey/src/pages/ErrorPage/index.module.scss similarity index 100% rename from packages/ui/src/pages/ErrorPage/index.module.scss rename to packages/journey/src/pages/ErrorPage/index.module.scss diff --git a/packages/ui/src/pages/ErrorPage/index.test.tsx b/packages/journey/src/pages/ErrorPage/index.test.tsx similarity index 100% rename from packages/ui/src/pages/ErrorPage/index.test.tsx rename to packages/journey/src/pages/ErrorPage/index.test.tsx diff --git a/packages/ui/src/pages/ErrorPage/index.tsx b/packages/journey/src/pages/ErrorPage/index.tsx similarity index 100% rename from packages/ui/src/pages/ErrorPage/index.tsx rename to packages/journey/src/pages/ErrorPage/index.tsx diff --git a/packages/ui/src/pages/ForgotPassword/ForgotPasswordForm/index.module.scss b/packages/journey/src/pages/ForgotPassword/ForgotPasswordForm/index.module.scss similarity index 100% rename from packages/ui/src/pages/ForgotPassword/ForgotPasswordForm/index.module.scss rename to packages/journey/src/pages/ForgotPassword/ForgotPasswordForm/index.module.scss diff --git a/packages/ui/src/pages/ForgotPassword/ForgotPasswordForm/index.test.tsx b/packages/journey/src/pages/ForgotPassword/ForgotPasswordForm/index.test.tsx similarity index 100% rename from packages/ui/src/pages/ForgotPassword/ForgotPasswordForm/index.test.tsx rename to packages/journey/src/pages/ForgotPassword/ForgotPasswordForm/index.test.tsx diff --git a/packages/ui/src/pages/ForgotPassword/ForgotPasswordForm/index.tsx b/packages/journey/src/pages/ForgotPassword/ForgotPasswordForm/index.tsx similarity index 100% rename from packages/ui/src/pages/ForgotPassword/ForgotPasswordForm/index.tsx rename to packages/journey/src/pages/ForgotPassword/ForgotPasswordForm/index.tsx diff --git a/packages/ui/src/pages/ForgotPassword/index.test.tsx b/packages/journey/src/pages/ForgotPassword/index.test.tsx similarity index 100% rename from packages/ui/src/pages/ForgotPassword/index.test.tsx rename to packages/journey/src/pages/ForgotPassword/index.test.tsx diff --git a/packages/ui/src/pages/ForgotPassword/index.tsx b/packages/journey/src/pages/ForgotPassword/index.tsx similarity index 100% rename from packages/ui/src/pages/ForgotPassword/index.tsx rename to packages/journey/src/pages/ForgotPassword/index.tsx diff --git a/packages/ui/src/pages/Register/IdentifierRegisterForm/index.module.scss b/packages/journey/src/pages/Register/IdentifierRegisterForm/index.module.scss similarity index 100% rename from packages/ui/src/pages/Register/IdentifierRegisterForm/index.module.scss rename to packages/journey/src/pages/Register/IdentifierRegisterForm/index.module.scss diff --git a/packages/ui/src/pages/Register/IdentifierRegisterForm/index.test.tsx b/packages/journey/src/pages/Register/IdentifierRegisterForm/index.test.tsx similarity index 100% rename from packages/ui/src/pages/Register/IdentifierRegisterForm/index.test.tsx rename to packages/journey/src/pages/Register/IdentifierRegisterForm/index.test.tsx diff --git a/packages/ui/src/pages/Register/IdentifierRegisterForm/index.tsx b/packages/journey/src/pages/Register/IdentifierRegisterForm/index.tsx similarity index 100% rename from packages/ui/src/pages/Register/IdentifierRegisterForm/index.tsx rename to packages/journey/src/pages/Register/IdentifierRegisterForm/index.tsx diff --git a/packages/ui/src/pages/Register/IdentifierRegisterForm/use-on-submit.ts b/packages/journey/src/pages/Register/IdentifierRegisterForm/use-on-submit.ts similarity index 100% rename from packages/ui/src/pages/Register/IdentifierRegisterForm/use-on-submit.ts rename to packages/journey/src/pages/Register/IdentifierRegisterForm/use-on-submit.ts diff --git a/packages/ui/src/pages/Register/IdentifierRegisterForm/use-register-with-username.ts b/packages/journey/src/pages/Register/IdentifierRegisterForm/use-register-with-username.ts similarity index 100% rename from packages/ui/src/pages/Register/IdentifierRegisterForm/use-register-with-username.ts rename to packages/journey/src/pages/Register/IdentifierRegisterForm/use-register-with-username.ts diff --git a/packages/ui/src/pages/Register/index.module.scss b/packages/journey/src/pages/Register/index.module.scss similarity index 100% rename from packages/ui/src/pages/Register/index.module.scss rename to packages/journey/src/pages/Register/index.module.scss diff --git a/packages/ui/src/pages/Register/index.test.tsx b/packages/journey/src/pages/Register/index.test.tsx similarity index 100% rename from packages/ui/src/pages/Register/index.test.tsx rename to packages/journey/src/pages/Register/index.test.tsx diff --git a/packages/ui/src/pages/Register/index.tsx b/packages/journey/src/pages/Register/index.tsx similarity index 100% rename from packages/ui/src/pages/Register/index.tsx rename to packages/journey/src/pages/Register/index.tsx diff --git a/packages/ui/src/pages/RegisterPassword/index.test.tsx b/packages/journey/src/pages/RegisterPassword/index.test.tsx similarity index 100% rename from packages/ui/src/pages/RegisterPassword/index.test.tsx rename to packages/journey/src/pages/RegisterPassword/index.test.tsx diff --git a/packages/ui/src/pages/RegisterPassword/index.tsx b/packages/journey/src/pages/RegisterPassword/index.tsx similarity index 100% rename from packages/ui/src/pages/RegisterPassword/index.tsx rename to packages/journey/src/pages/RegisterPassword/index.tsx diff --git a/packages/ui/src/pages/ResetPassword/index.test.tsx b/packages/journey/src/pages/ResetPassword/index.test.tsx similarity index 100% rename from packages/ui/src/pages/ResetPassword/index.test.tsx rename to packages/journey/src/pages/ResetPassword/index.test.tsx diff --git a/packages/ui/src/pages/ResetPassword/index.tsx b/packages/journey/src/pages/ResetPassword/index.tsx similarity index 100% rename from packages/ui/src/pages/ResetPassword/index.tsx rename to packages/journey/src/pages/ResetPassword/index.tsx diff --git a/packages/ui/src/pages/SignIn/IdentifierSignInForm/index.module.scss b/packages/journey/src/pages/SignIn/IdentifierSignInForm/index.module.scss similarity index 100% rename from packages/ui/src/pages/SignIn/IdentifierSignInForm/index.module.scss rename to packages/journey/src/pages/SignIn/IdentifierSignInForm/index.module.scss diff --git a/packages/ui/src/pages/SignIn/IdentifierSignInForm/index.test.tsx b/packages/journey/src/pages/SignIn/IdentifierSignInForm/index.test.tsx similarity index 100% rename from packages/ui/src/pages/SignIn/IdentifierSignInForm/index.test.tsx rename to packages/journey/src/pages/SignIn/IdentifierSignInForm/index.test.tsx diff --git a/packages/ui/src/pages/SignIn/IdentifierSignInForm/index.tsx b/packages/journey/src/pages/SignIn/IdentifierSignInForm/index.tsx similarity index 100% rename from packages/ui/src/pages/SignIn/IdentifierSignInForm/index.tsx rename to packages/journey/src/pages/SignIn/IdentifierSignInForm/index.tsx diff --git a/packages/ui/src/pages/SignIn/IdentifierSignInForm/use-on-submit.ts b/packages/journey/src/pages/SignIn/IdentifierSignInForm/use-on-submit.ts similarity index 100% rename from packages/ui/src/pages/SignIn/IdentifierSignInForm/use-on-submit.ts rename to packages/journey/src/pages/SignIn/IdentifierSignInForm/use-on-submit.ts diff --git a/packages/ui/src/pages/SignIn/Main.tsx b/packages/journey/src/pages/SignIn/Main.tsx similarity index 100% rename from packages/ui/src/pages/SignIn/Main.tsx rename to packages/journey/src/pages/SignIn/Main.tsx diff --git a/packages/ui/src/pages/SignIn/PasswordSignInForm/index.module.scss b/packages/journey/src/pages/SignIn/PasswordSignInForm/index.module.scss similarity index 100% rename from packages/ui/src/pages/SignIn/PasswordSignInForm/index.module.scss rename to packages/journey/src/pages/SignIn/PasswordSignInForm/index.module.scss diff --git a/packages/ui/src/pages/SignIn/PasswordSignInForm/index.test.tsx b/packages/journey/src/pages/SignIn/PasswordSignInForm/index.test.tsx similarity index 100% rename from packages/ui/src/pages/SignIn/PasswordSignInForm/index.test.tsx rename to packages/journey/src/pages/SignIn/PasswordSignInForm/index.test.tsx diff --git a/packages/ui/src/pages/SignIn/PasswordSignInForm/index.tsx b/packages/journey/src/pages/SignIn/PasswordSignInForm/index.tsx similarity index 100% rename from packages/ui/src/pages/SignIn/PasswordSignInForm/index.tsx rename to packages/journey/src/pages/SignIn/PasswordSignInForm/index.tsx diff --git a/packages/ui/src/pages/SignIn/index.module.scss b/packages/journey/src/pages/SignIn/index.module.scss similarity index 100% rename from packages/ui/src/pages/SignIn/index.module.scss rename to packages/journey/src/pages/SignIn/index.module.scss diff --git a/packages/ui/src/pages/SignIn/index.test.tsx b/packages/journey/src/pages/SignIn/index.test.tsx similarity index 100% rename from packages/ui/src/pages/SignIn/index.test.tsx rename to packages/journey/src/pages/SignIn/index.test.tsx diff --git a/packages/ui/src/pages/SignIn/index.tsx b/packages/journey/src/pages/SignIn/index.tsx similarity index 100% rename from packages/ui/src/pages/SignIn/index.tsx rename to packages/journey/src/pages/SignIn/index.tsx diff --git a/packages/ui/src/pages/SignInPassword/PasswordForm/VerificationCodeLink.tsx b/packages/journey/src/pages/SignInPassword/PasswordForm/VerificationCodeLink.tsx similarity index 100% rename from packages/ui/src/pages/SignInPassword/PasswordForm/VerificationCodeLink.tsx rename to packages/journey/src/pages/SignInPassword/PasswordForm/VerificationCodeLink.tsx diff --git a/packages/ui/src/pages/SignInPassword/PasswordForm/index.test.tsx b/packages/journey/src/pages/SignInPassword/PasswordForm/index.test.tsx similarity index 100% rename from packages/ui/src/pages/SignInPassword/PasswordForm/index.test.tsx rename to packages/journey/src/pages/SignInPassword/PasswordForm/index.test.tsx diff --git a/packages/ui/src/pages/SignInPassword/PasswordForm/index.tsx b/packages/journey/src/pages/SignInPassword/PasswordForm/index.tsx similarity index 100% rename from packages/ui/src/pages/SignInPassword/PasswordForm/index.tsx rename to packages/journey/src/pages/SignInPassword/PasswordForm/index.tsx diff --git a/packages/ui/src/pages/SignInPassword/index.module.scss b/packages/journey/src/pages/SignInPassword/index.module.scss similarity index 100% rename from packages/ui/src/pages/SignInPassword/index.module.scss rename to packages/journey/src/pages/SignInPassword/index.module.scss diff --git a/packages/ui/src/pages/SignInPassword/index.test.tsx b/packages/journey/src/pages/SignInPassword/index.test.tsx similarity index 100% rename from packages/ui/src/pages/SignInPassword/index.test.tsx rename to packages/journey/src/pages/SignInPassword/index.test.tsx diff --git a/packages/ui/src/pages/SignInPassword/index.tsx b/packages/journey/src/pages/SignInPassword/index.tsx similarity index 100% rename from packages/ui/src/pages/SignInPassword/index.tsx rename to packages/journey/src/pages/SignInPassword/index.tsx diff --git a/packages/ui/src/pages/SocialLanding/index.module.scss b/packages/journey/src/pages/SocialLanding/index.module.scss similarity index 100% rename from packages/ui/src/pages/SocialLanding/index.module.scss rename to packages/journey/src/pages/SocialLanding/index.module.scss diff --git a/packages/ui/src/pages/SocialLanding/index.test.tsx b/packages/journey/src/pages/SocialLanding/index.test.tsx similarity index 100% rename from packages/ui/src/pages/SocialLanding/index.test.tsx rename to packages/journey/src/pages/SocialLanding/index.test.tsx diff --git a/packages/ui/src/pages/SocialLanding/index.tsx b/packages/journey/src/pages/SocialLanding/index.tsx similarity index 100% rename from packages/ui/src/pages/SocialLanding/index.tsx rename to packages/journey/src/pages/SocialLanding/index.tsx diff --git a/packages/ui/src/pages/SocialLinkAccount/index.test.tsx b/packages/journey/src/pages/SocialLinkAccount/index.test.tsx similarity index 100% rename from packages/ui/src/pages/SocialLinkAccount/index.test.tsx rename to packages/journey/src/pages/SocialLinkAccount/index.test.tsx diff --git a/packages/ui/src/pages/SocialLinkAccount/index.tsx b/packages/journey/src/pages/SocialLinkAccount/index.tsx similarity index 100% rename from packages/ui/src/pages/SocialLinkAccount/index.tsx rename to packages/journey/src/pages/SocialLinkAccount/index.tsx diff --git a/packages/ui/src/pages/SocialSignInCallback/index.test.tsx b/packages/journey/src/pages/SocialSignInCallback/index.test.tsx similarity index 100% rename from packages/ui/src/pages/SocialSignInCallback/index.test.tsx rename to packages/journey/src/pages/SocialSignInCallback/index.test.tsx diff --git a/packages/ui/src/pages/SocialSignInCallback/index.tsx b/packages/journey/src/pages/SocialSignInCallback/index.tsx similarity index 100% rename from packages/ui/src/pages/SocialSignInCallback/index.tsx rename to packages/journey/src/pages/SocialSignInCallback/index.tsx diff --git a/packages/ui/src/pages/Springboard/index.tsx b/packages/journey/src/pages/Springboard/index.tsx similarity index 100% rename from packages/ui/src/pages/Springboard/index.tsx rename to packages/journey/src/pages/Springboard/index.tsx diff --git a/packages/ui/src/pages/VerificationCode/index.test.tsx b/packages/journey/src/pages/VerificationCode/index.test.tsx similarity index 100% rename from packages/ui/src/pages/VerificationCode/index.test.tsx rename to packages/journey/src/pages/VerificationCode/index.test.tsx diff --git a/packages/ui/src/pages/VerificationCode/index.tsx b/packages/journey/src/pages/VerificationCode/index.tsx similarity index 100% rename from packages/ui/src/pages/VerificationCode/index.tsx rename to packages/journey/src/pages/VerificationCode/index.tsx diff --git a/packages/ui/src/scss/_colors.scss b/packages/journey/src/scss/_colors.scss similarity index 100% rename from packages/ui/src/scss/_colors.scss rename to packages/journey/src/scss/_colors.scss diff --git a/packages/ui/src/scss/_fonts.scss b/packages/journey/src/scss/_fonts.scss similarity index 100% rename from packages/ui/src/scss/_fonts.scss rename to packages/journey/src/scss/_fonts.scss diff --git a/packages/ui/src/scss/_underscore.scss b/packages/journey/src/scss/_underscore.scss similarity index 100% rename from packages/ui/src/scss/_underscore.scss rename to packages/journey/src/scss/_underscore.scss diff --git a/packages/ui/src/scss/modal.module.scss b/packages/journey/src/scss/modal.module.scss similarity index 100% rename from packages/ui/src/scss/modal.module.scss rename to packages/journey/src/scss/modal.module.scss diff --git a/packages/ui/src/scss/normalized.scss b/packages/journey/src/scss/normalized.scss similarity index 100% rename from packages/ui/src/scss/normalized.scss rename to packages/journey/src/scss/normalized.scss diff --git a/packages/ui/src/types/guard.ts b/packages/journey/src/types/guard.ts similarity index 100% rename from packages/ui/src/types/guard.ts rename to packages/journey/src/types/guard.ts diff --git a/packages/ui/src/types/index.ts b/packages/journey/src/types/index.ts similarity index 100% rename from packages/ui/src/types/index.ts rename to packages/journey/src/types/index.ts diff --git a/packages/ui/src/utils/a11y.ts b/packages/journey/src/utils/a11y.ts similarity index 100% rename from packages/ui/src/utils/a11y.ts rename to packages/journey/src/utils/a11y.ts diff --git a/packages/ui/src/utils/consts.ts b/packages/journey/src/utils/consts.ts similarity index 100% rename from packages/ui/src/utils/consts.ts rename to packages/journey/src/utils/consts.ts diff --git a/packages/ui/src/utils/cookies.ts b/packages/journey/src/utils/cookies.ts similarity index 100% rename from packages/ui/src/utils/cookies.ts rename to packages/journey/src/utils/cookies.ts diff --git a/packages/ui/src/utils/country-code.test.ts b/packages/journey/src/utils/country-code.test.ts similarity index 100% rename from packages/ui/src/utils/country-code.test.ts rename to packages/journey/src/utils/country-code.test.ts diff --git a/packages/ui/src/utils/country-code.ts b/packages/journey/src/utils/country-code.ts similarity index 100% rename from packages/ui/src/utils/country-code.ts rename to packages/journey/src/utils/country-code.ts diff --git a/packages/ui/src/utils/form.test.ts b/packages/journey/src/utils/form.test.ts similarity index 100% rename from packages/ui/src/utils/form.test.ts rename to packages/journey/src/utils/form.test.ts diff --git a/packages/ui/src/utils/form.ts b/packages/journey/src/utils/form.ts similarity index 100% rename from packages/ui/src/utils/form.ts rename to packages/journey/src/utils/form.ts diff --git a/packages/ui/src/utils/format.test.ts b/packages/journey/src/utils/format.test.ts similarity index 100% rename from packages/ui/src/utils/format.test.ts rename to packages/journey/src/utils/format.test.ts diff --git a/packages/ui/src/utils/format.ts b/packages/journey/src/utils/format.ts similarity index 100% rename from packages/ui/src/utils/format.ts rename to packages/journey/src/utils/format.ts diff --git a/packages/ui/src/utils/index.test.ts b/packages/journey/src/utils/index.test.ts similarity index 100% rename from packages/ui/src/utils/index.test.ts rename to packages/journey/src/utils/index.test.ts diff --git a/packages/ui/src/utils/index.ts b/packages/journey/src/utils/index.ts similarity index 100% rename from packages/ui/src/utils/index.ts rename to packages/journey/src/utils/index.ts diff --git a/packages/ui/src/utils/logo.ts b/packages/journey/src/utils/logo.ts similarity index 100% rename from packages/ui/src/utils/logo.ts rename to packages/journey/src/utils/logo.ts diff --git a/packages/ui/src/utils/native-sdk.ts b/packages/journey/src/utils/native-sdk.ts similarity index 100% rename from packages/ui/src/utils/native-sdk.ts rename to packages/journey/src/utils/native-sdk.ts diff --git a/packages/ui/src/utils/search-parameters.ts b/packages/journey/src/utils/search-parameters.ts similarity index 100% rename from packages/ui/src/utils/search-parameters.ts rename to packages/journey/src/utils/search-parameters.ts diff --git a/packages/ui/src/utils/sign-in-experience.test.ts b/packages/journey/src/utils/sign-in-experience.test.ts similarity index 100% rename from packages/ui/src/utils/sign-in-experience.test.ts rename to packages/journey/src/utils/sign-in-experience.test.ts diff --git a/packages/ui/src/utils/sign-in-experience.ts b/packages/journey/src/utils/sign-in-experience.ts similarity index 100% rename from packages/ui/src/utils/sign-in-experience.ts rename to packages/journey/src/utils/sign-in-experience.ts diff --git a/packages/ui/src/utils/social-connectors.test.ts b/packages/journey/src/utils/social-connectors.test.ts similarity index 100% rename from packages/ui/src/utils/social-connectors.test.ts rename to packages/journey/src/utils/social-connectors.test.ts diff --git a/packages/ui/src/utils/social-connectors.ts b/packages/journey/src/utils/social-connectors.ts similarity index 100% rename from packages/ui/src/utils/social-connectors.ts rename to packages/journey/src/utils/social-connectors.ts diff --git a/packages/ui/tsconfig.json b/packages/journey/tsconfig.json similarity index 100% rename from packages/ui/tsconfig.json rename to packages/journey/tsconfig.json diff --git a/packages/phrases-ui/CHANGELOG.md b/packages/phrases-journey/CHANGELOG.md similarity index 100% rename from packages/phrases-ui/CHANGELOG.md rename to packages/phrases-journey/CHANGELOG.md diff --git a/packages/phrases-ui/README.md b/packages/phrases-journey/README.md similarity index 100% rename from packages/phrases-ui/README.md rename to packages/phrases-journey/README.md diff --git a/packages/phrases-ui/package.json b/packages/phrases-journey/package.json similarity index 92% rename from packages/phrases-ui/package.json rename to packages/phrases-journey/package.json index c49f095da..99bcda21c 100644 --- a/packages/phrases-ui/package.json +++ b/packages/phrases-journey/package.json @@ -1,7 +1,7 @@ { - "name": "@logto/phrases-ui", + "name": "@logto/phrases-journey", "version": "1.2.0", - "description": "Logto shared phrases (i18n) for main flow.", + "description": "Logto shared phrases (i18n) for end customer journey.", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", "license": "MPL-2.0", diff --git a/packages/phrases-ui/src/index.ts b/packages/phrases-journey/src/index.ts similarity index 100% rename from packages/phrases-ui/src/index.ts rename to packages/phrases-journey/src/index.ts diff --git a/packages/phrases-ui/src/locales/de/action.ts b/packages/phrases-journey/src/locales/de/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/de/action.ts rename to packages/phrases-journey/src/locales/de/action.ts diff --git a/packages/phrases-ui/src/locales/de/demo-app.ts b/packages/phrases-journey/src/locales/de/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/de/demo-app.ts rename to packages/phrases-journey/src/locales/de/demo-app.ts diff --git a/packages/phrases-ui/src/locales/de/description.ts b/packages/phrases-journey/src/locales/de/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/de/description.ts rename to packages/phrases-journey/src/locales/de/description.ts diff --git a/packages/phrases-ui/src/locales/de/error/index.ts b/packages/phrases-journey/src/locales/de/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/de/error/index.ts rename to packages/phrases-journey/src/locales/de/error/index.ts diff --git a/packages/phrases-ui/src/locales/de/error/password-rejected.ts b/packages/phrases-journey/src/locales/de/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/de/error/password-rejected.ts rename to packages/phrases-journey/src/locales/de/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/de/index.ts b/packages/phrases-journey/src/locales/de/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/de/index.ts rename to packages/phrases-journey/src/locales/de/index.ts diff --git a/packages/phrases-ui/src/locales/de/input.ts b/packages/phrases-journey/src/locales/de/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/de/input.ts rename to packages/phrases-journey/src/locales/de/input.ts diff --git a/packages/phrases-ui/src/locales/de/list.ts b/packages/phrases-journey/src/locales/de/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/de/list.ts rename to packages/phrases-journey/src/locales/de/list.ts diff --git a/packages/phrases-ui/src/locales/de/secondary.ts b/packages/phrases-journey/src/locales/de/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/de/secondary.ts rename to packages/phrases-journey/src/locales/de/secondary.ts diff --git a/packages/phrases-ui/src/locales/en/action.ts b/packages/phrases-journey/src/locales/en/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/en/action.ts rename to packages/phrases-journey/src/locales/en/action.ts diff --git a/packages/phrases-ui/src/locales/en/demo-app.ts b/packages/phrases-journey/src/locales/en/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/en/demo-app.ts rename to packages/phrases-journey/src/locales/en/demo-app.ts diff --git a/packages/phrases-ui/src/locales/en/description.ts b/packages/phrases-journey/src/locales/en/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/en/description.ts rename to packages/phrases-journey/src/locales/en/description.ts diff --git a/packages/phrases-ui/src/locales/en/error/index.ts b/packages/phrases-journey/src/locales/en/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/en/error/index.ts rename to packages/phrases-journey/src/locales/en/error/index.ts diff --git a/packages/phrases-ui/src/locales/en/error/password-rejected.ts b/packages/phrases-journey/src/locales/en/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/en/error/password-rejected.ts rename to packages/phrases-journey/src/locales/en/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/en/index.ts b/packages/phrases-journey/src/locales/en/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/en/index.ts rename to packages/phrases-journey/src/locales/en/index.ts diff --git a/packages/phrases-ui/src/locales/en/input.ts b/packages/phrases-journey/src/locales/en/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/en/input.ts rename to packages/phrases-journey/src/locales/en/input.ts diff --git a/packages/phrases-ui/src/locales/en/list.ts b/packages/phrases-journey/src/locales/en/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/en/list.ts rename to packages/phrases-journey/src/locales/en/list.ts diff --git a/packages/phrases-ui/src/locales/en/secondary.ts b/packages/phrases-journey/src/locales/en/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/en/secondary.ts rename to packages/phrases-journey/src/locales/en/secondary.ts diff --git a/packages/phrases-ui/src/locales/es/action.ts b/packages/phrases-journey/src/locales/es/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/es/action.ts rename to packages/phrases-journey/src/locales/es/action.ts diff --git a/packages/phrases-ui/src/locales/es/demo-app.ts b/packages/phrases-journey/src/locales/es/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/es/demo-app.ts rename to packages/phrases-journey/src/locales/es/demo-app.ts diff --git a/packages/phrases-ui/src/locales/es/description.ts b/packages/phrases-journey/src/locales/es/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/es/description.ts rename to packages/phrases-journey/src/locales/es/description.ts diff --git a/packages/phrases-ui/src/locales/es/error/index.ts b/packages/phrases-journey/src/locales/es/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/es/error/index.ts rename to packages/phrases-journey/src/locales/es/error/index.ts diff --git a/packages/phrases-ui/src/locales/es/error/password-rejected.ts b/packages/phrases-journey/src/locales/es/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/es/error/password-rejected.ts rename to packages/phrases-journey/src/locales/es/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/es/index.ts b/packages/phrases-journey/src/locales/es/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/es/index.ts rename to packages/phrases-journey/src/locales/es/index.ts diff --git a/packages/phrases-ui/src/locales/es/input.ts b/packages/phrases-journey/src/locales/es/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/es/input.ts rename to packages/phrases-journey/src/locales/es/input.ts diff --git a/packages/phrases-ui/src/locales/es/list.ts b/packages/phrases-journey/src/locales/es/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/es/list.ts rename to packages/phrases-journey/src/locales/es/list.ts diff --git a/packages/phrases-ui/src/locales/es/secondary.ts b/packages/phrases-journey/src/locales/es/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/es/secondary.ts rename to packages/phrases-journey/src/locales/es/secondary.ts diff --git a/packages/phrases-ui/src/locales/fr/action.ts b/packages/phrases-journey/src/locales/fr/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/fr/action.ts rename to packages/phrases-journey/src/locales/fr/action.ts diff --git a/packages/phrases-ui/src/locales/fr/demo-app.ts b/packages/phrases-journey/src/locales/fr/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/fr/demo-app.ts rename to packages/phrases-journey/src/locales/fr/demo-app.ts diff --git a/packages/phrases-ui/src/locales/fr/description.ts b/packages/phrases-journey/src/locales/fr/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/fr/description.ts rename to packages/phrases-journey/src/locales/fr/description.ts diff --git a/packages/phrases-ui/src/locales/fr/error/index.ts b/packages/phrases-journey/src/locales/fr/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/fr/error/index.ts rename to packages/phrases-journey/src/locales/fr/error/index.ts diff --git a/packages/phrases-ui/src/locales/fr/error/password-rejected.ts b/packages/phrases-journey/src/locales/fr/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/fr/error/password-rejected.ts rename to packages/phrases-journey/src/locales/fr/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/fr/index.ts b/packages/phrases-journey/src/locales/fr/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/fr/index.ts rename to packages/phrases-journey/src/locales/fr/index.ts diff --git a/packages/phrases-ui/src/locales/fr/input.ts b/packages/phrases-journey/src/locales/fr/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/fr/input.ts rename to packages/phrases-journey/src/locales/fr/input.ts diff --git a/packages/phrases-ui/src/locales/fr/list.ts b/packages/phrases-journey/src/locales/fr/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/fr/list.ts rename to packages/phrases-journey/src/locales/fr/list.ts diff --git a/packages/phrases-ui/src/locales/fr/secondary.ts b/packages/phrases-journey/src/locales/fr/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/fr/secondary.ts rename to packages/phrases-journey/src/locales/fr/secondary.ts diff --git a/packages/phrases-ui/src/locales/it/action.ts b/packages/phrases-journey/src/locales/it/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/it/action.ts rename to packages/phrases-journey/src/locales/it/action.ts diff --git a/packages/phrases-ui/src/locales/it/demo-app.ts b/packages/phrases-journey/src/locales/it/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/it/demo-app.ts rename to packages/phrases-journey/src/locales/it/demo-app.ts diff --git a/packages/phrases-ui/src/locales/it/description.ts b/packages/phrases-journey/src/locales/it/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/it/description.ts rename to packages/phrases-journey/src/locales/it/description.ts diff --git a/packages/phrases-ui/src/locales/it/error/index.ts b/packages/phrases-journey/src/locales/it/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/it/error/index.ts rename to packages/phrases-journey/src/locales/it/error/index.ts diff --git a/packages/phrases-ui/src/locales/it/error/password-rejected.ts b/packages/phrases-journey/src/locales/it/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/it/error/password-rejected.ts rename to packages/phrases-journey/src/locales/it/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/it/index.ts b/packages/phrases-journey/src/locales/it/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/it/index.ts rename to packages/phrases-journey/src/locales/it/index.ts diff --git a/packages/phrases-ui/src/locales/it/input.ts b/packages/phrases-journey/src/locales/it/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/it/input.ts rename to packages/phrases-journey/src/locales/it/input.ts diff --git a/packages/phrases-ui/src/locales/it/list.ts b/packages/phrases-journey/src/locales/it/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/it/list.ts rename to packages/phrases-journey/src/locales/it/list.ts diff --git a/packages/phrases-ui/src/locales/it/secondary.ts b/packages/phrases-journey/src/locales/it/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/it/secondary.ts rename to packages/phrases-journey/src/locales/it/secondary.ts diff --git a/packages/phrases-ui/src/locales/ja/action.ts b/packages/phrases-journey/src/locales/ja/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/ja/action.ts rename to packages/phrases-journey/src/locales/ja/action.ts diff --git a/packages/phrases-ui/src/locales/ja/demo-app.ts b/packages/phrases-journey/src/locales/ja/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/ja/demo-app.ts rename to packages/phrases-journey/src/locales/ja/demo-app.ts diff --git a/packages/phrases-ui/src/locales/ja/description.ts b/packages/phrases-journey/src/locales/ja/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/ja/description.ts rename to packages/phrases-journey/src/locales/ja/description.ts diff --git a/packages/phrases-ui/src/locales/ja/error/index.ts b/packages/phrases-journey/src/locales/ja/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/ja/error/index.ts rename to packages/phrases-journey/src/locales/ja/error/index.ts diff --git a/packages/phrases-ui/src/locales/ja/error/password-rejected.ts b/packages/phrases-journey/src/locales/ja/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/ja/error/password-rejected.ts rename to packages/phrases-journey/src/locales/ja/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/ja/index.ts b/packages/phrases-journey/src/locales/ja/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/ja/index.ts rename to packages/phrases-journey/src/locales/ja/index.ts diff --git a/packages/phrases-ui/src/locales/ja/input.ts b/packages/phrases-journey/src/locales/ja/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/ja/input.ts rename to packages/phrases-journey/src/locales/ja/input.ts diff --git a/packages/phrases-ui/src/locales/ja/list.ts b/packages/phrases-journey/src/locales/ja/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/ja/list.ts rename to packages/phrases-journey/src/locales/ja/list.ts diff --git a/packages/phrases-ui/src/locales/ja/secondary.ts b/packages/phrases-journey/src/locales/ja/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/ja/secondary.ts rename to packages/phrases-journey/src/locales/ja/secondary.ts diff --git a/packages/phrases-ui/src/locales/ko/action.ts b/packages/phrases-journey/src/locales/ko/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/ko/action.ts rename to packages/phrases-journey/src/locales/ko/action.ts diff --git a/packages/phrases-ui/src/locales/ko/demo-app.ts b/packages/phrases-journey/src/locales/ko/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/ko/demo-app.ts rename to packages/phrases-journey/src/locales/ko/demo-app.ts diff --git a/packages/phrases-ui/src/locales/ko/description.ts b/packages/phrases-journey/src/locales/ko/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/ko/description.ts rename to packages/phrases-journey/src/locales/ko/description.ts diff --git a/packages/phrases-ui/src/locales/ko/error/index.ts b/packages/phrases-journey/src/locales/ko/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/ko/error/index.ts rename to packages/phrases-journey/src/locales/ko/error/index.ts diff --git a/packages/phrases-ui/src/locales/ko/error/password-rejected.ts b/packages/phrases-journey/src/locales/ko/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/ko/error/password-rejected.ts rename to packages/phrases-journey/src/locales/ko/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/ko/index.ts b/packages/phrases-journey/src/locales/ko/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/ko/index.ts rename to packages/phrases-journey/src/locales/ko/index.ts diff --git a/packages/phrases-ui/src/locales/ko/input.ts b/packages/phrases-journey/src/locales/ko/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/ko/input.ts rename to packages/phrases-journey/src/locales/ko/input.ts diff --git a/packages/phrases-ui/src/locales/ko/list.ts b/packages/phrases-journey/src/locales/ko/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/ko/list.ts rename to packages/phrases-journey/src/locales/ko/list.ts diff --git a/packages/phrases-ui/src/locales/ko/secondary.ts b/packages/phrases-journey/src/locales/ko/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/ko/secondary.ts rename to packages/phrases-journey/src/locales/ko/secondary.ts diff --git a/packages/phrases-ui/src/locales/pl-pl/action.ts b/packages/phrases-journey/src/locales/pl-pl/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/pl-pl/action.ts rename to packages/phrases-journey/src/locales/pl-pl/action.ts diff --git a/packages/phrases-ui/src/locales/pl-pl/demo-app.ts b/packages/phrases-journey/src/locales/pl-pl/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/pl-pl/demo-app.ts rename to packages/phrases-journey/src/locales/pl-pl/demo-app.ts diff --git a/packages/phrases-ui/src/locales/pl-pl/description.ts b/packages/phrases-journey/src/locales/pl-pl/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/pl-pl/description.ts rename to packages/phrases-journey/src/locales/pl-pl/description.ts diff --git a/packages/phrases-ui/src/locales/pl-pl/error/index.ts b/packages/phrases-journey/src/locales/pl-pl/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/pl-pl/error/index.ts rename to packages/phrases-journey/src/locales/pl-pl/error/index.ts diff --git a/packages/phrases-ui/src/locales/pl-pl/error/password-rejected.ts b/packages/phrases-journey/src/locales/pl-pl/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/pl-pl/error/password-rejected.ts rename to packages/phrases-journey/src/locales/pl-pl/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/pl-pl/index.ts b/packages/phrases-journey/src/locales/pl-pl/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/pl-pl/index.ts rename to packages/phrases-journey/src/locales/pl-pl/index.ts diff --git a/packages/phrases-ui/src/locales/pl-pl/input.ts b/packages/phrases-journey/src/locales/pl-pl/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/pl-pl/input.ts rename to packages/phrases-journey/src/locales/pl-pl/input.ts diff --git a/packages/phrases-ui/src/locales/pl-pl/list.ts b/packages/phrases-journey/src/locales/pl-pl/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/pl-pl/list.ts rename to packages/phrases-journey/src/locales/pl-pl/list.ts diff --git a/packages/phrases-ui/src/locales/pl-pl/secondary.ts b/packages/phrases-journey/src/locales/pl-pl/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/pl-pl/secondary.ts rename to packages/phrases-journey/src/locales/pl-pl/secondary.ts diff --git a/packages/phrases-ui/src/locales/pt-br/action.ts b/packages/phrases-journey/src/locales/pt-br/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-br/action.ts rename to packages/phrases-journey/src/locales/pt-br/action.ts diff --git a/packages/phrases-ui/src/locales/pt-br/demo-app.ts b/packages/phrases-journey/src/locales/pt-br/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-br/demo-app.ts rename to packages/phrases-journey/src/locales/pt-br/demo-app.ts diff --git a/packages/phrases-ui/src/locales/pt-br/description.ts b/packages/phrases-journey/src/locales/pt-br/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-br/description.ts rename to packages/phrases-journey/src/locales/pt-br/description.ts diff --git a/packages/phrases-ui/src/locales/pt-br/error/index.ts b/packages/phrases-journey/src/locales/pt-br/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-br/error/index.ts rename to packages/phrases-journey/src/locales/pt-br/error/index.ts diff --git a/packages/phrases-ui/src/locales/pt-br/error/password-rejected.ts b/packages/phrases-journey/src/locales/pt-br/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-br/error/password-rejected.ts rename to packages/phrases-journey/src/locales/pt-br/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/pt-br/index.ts b/packages/phrases-journey/src/locales/pt-br/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-br/index.ts rename to packages/phrases-journey/src/locales/pt-br/index.ts diff --git a/packages/phrases-ui/src/locales/pt-br/input.ts b/packages/phrases-journey/src/locales/pt-br/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-br/input.ts rename to packages/phrases-journey/src/locales/pt-br/input.ts diff --git a/packages/phrases-ui/src/locales/pt-br/list.ts b/packages/phrases-journey/src/locales/pt-br/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-br/list.ts rename to packages/phrases-journey/src/locales/pt-br/list.ts diff --git a/packages/phrases-ui/src/locales/pt-br/secondary.ts b/packages/phrases-journey/src/locales/pt-br/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-br/secondary.ts rename to packages/phrases-journey/src/locales/pt-br/secondary.ts diff --git a/packages/phrases-ui/src/locales/pt-pt/action.ts b/packages/phrases-journey/src/locales/pt-pt/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-pt/action.ts rename to packages/phrases-journey/src/locales/pt-pt/action.ts diff --git a/packages/phrases-ui/src/locales/pt-pt/demo-app.ts b/packages/phrases-journey/src/locales/pt-pt/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-pt/demo-app.ts rename to packages/phrases-journey/src/locales/pt-pt/demo-app.ts diff --git a/packages/phrases-ui/src/locales/pt-pt/description.ts b/packages/phrases-journey/src/locales/pt-pt/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-pt/description.ts rename to packages/phrases-journey/src/locales/pt-pt/description.ts diff --git a/packages/phrases-ui/src/locales/pt-pt/error/index.ts b/packages/phrases-journey/src/locales/pt-pt/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-pt/error/index.ts rename to packages/phrases-journey/src/locales/pt-pt/error/index.ts diff --git a/packages/phrases-ui/src/locales/pt-pt/error/password-rejected.ts b/packages/phrases-journey/src/locales/pt-pt/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-pt/error/password-rejected.ts rename to packages/phrases-journey/src/locales/pt-pt/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/pt-pt/index.ts b/packages/phrases-journey/src/locales/pt-pt/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-pt/index.ts rename to packages/phrases-journey/src/locales/pt-pt/index.ts diff --git a/packages/phrases-ui/src/locales/pt-pt/input.ts b/packages/phrases-journey/src/locales/pt-pt/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-pt/input.ts rename to packages/phrases-journey/src/locales/pt-pt/input.ts diff --git a/packages/phrases-ui/src/locales/pt-pt/list.ts b/packages/phrases-journey/src/locales/pt-pt/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-pt/list.ts rename to packages/phrases-journey/src/locales/pt-pt/list.ts diff --git a/packages/phrases-ui/src/locales/pt-pt/secondary.ts b/packages/phrases-journey/src/locales/pt-pt/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/pt-pt/secondary.ts rename to packages/phrases-journey/src/locales/pt-pt/secondary.ts diff --git a/packages/phrases-ui/src/locales/ru/action.ts b/packages/phrases-journey/src/locales/ru/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/ru/action.ts rename to packages/phrases-journey/src/locales/ru/action.ts diff --git a/packages/phrases-ui/src/locales/ru/demo-app.ts b/packages/phrases-journey/src/locales/ru/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/ru/demo-app.ts rename to packages/phrases-journey/src/locales/ru/demo-app.ts diff --git a/packages/phrases-ui/src/locales/ru/description.ts b/packages/phrases-journey/src/locales/ru/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/ru/description.ts rename to packages/phrases-journey/src/locales/ru/description.ts diff --git a/packages/phrases-ui/src/locales/ru/error/index.ts b/packages/phrases-journey/src/locales/ru/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/ru/error/index.ts rename to packages/phrases-journey/src/locales/ru/error/index.ts diff --git a/packages/phrases-ui/src/locales/ru/error/password-rejected.ts b/packages/phrases-journey/src/locales/ru/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/ru/error/password-rejected.ts rename to packages/phrases-journey/src/locales/ru/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/ru/index.ts b/packages/phrases-journey/src/locales/ru/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/ru/index.ts rename to packages/phrases-journey/src/locales/ru/index.ts diff --git a/packages/phrases-ui/src/locales/ru/input.ts b/packages/phrases-journey/src/locales/ru/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/ru/input.ts rename to packages/phrases-journey/src/locales/ru/input.ts diff --git a/packages/phrases-ui/src/locales/ru/list.ts b/packages/phrases-journey/src/locales/ru/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/ru/list.ts rename to packages/phrases-journey/src/locales/ru/list.ts diff --git a/packages/phrases-ui/src/locales/ru/secondary.ts b/packages/phrases-journey/src/locales/ru/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/ru/secondary.ts rename to packages/phrases-journey/src/locales/ru/secondary.ts diff --git a/packages/phrases-ui/src/locales/tr-tr/action.ts b/packages/phrases-journey/src/locales/tr-tr/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/tr-tr/action.ts rename to packages/phrases-journey/src/locales/tr-tr/action.ts diff --git a/packages/phrases-ui/src/locales/tr-tr/demo-app.ts b/packages/phrases-journey/src/locales/tr-tr/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/tr-tr/demo-app.ts rename to packages/phrases-journey/src/locales/tr-tr/demo-app.ts diff --git a/packages/phrases-ui/src/locales/tr-tr/description.ts b/packages/phrases-journey/src/locales/tr-tr/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/tr-tr/description.ts rename to packages/phrases-journey/src/locales/tr-tr/description.ts diff --git a/packages/phrases-ui/src/locales/tr-tr/error/index.ts b/packages/phrases-journey/src/locales/tr-tr/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/tr-tr/error/index.ts rename to packages/phrases-journey/src/locales/tr-tr/error/index.ts diff --git a/packages/phrases-ui/src/locales/tr-tr/error/password-rejected.ts b/packages/phrases-journey/src/locales/tr-tr/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/tr-tr/error/password-rejected.ts rename to packages/phrases-journey/src/locales/tr-tr/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/tr-tr/index.ts b/packages/phrases-journey/src/locales/tr-tr/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/tr-tr/index.ts rename to packages/phrases-journey/src/locales/tr-tr/index.ts diff --git a/packages/phrases-ui/src/locales/tr-tr/input.ts b/packages/phrases-journey/src/locales/tr-tr/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/tr-tr/input.ts rename to packages/phrases-journey/src/locales/tr-tr/input.ts diff --git a/packages/phrases-ui/src/locales/tr-tr/list.ts b/packages/phrases-journey/src/locales/tr-tr/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/tr-tr/list.ts rename to packages/phrases-journey/src/locales/tr-tr/list.ts diff --git a/packages/phrases-ui/src/locales/tr-tr/secondary.ts b/packages/phrases-journey/src/locales/tr-tr/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/tr-tr/secondary.ts rename to packages/phrases-journey/src/locales/tr-tr/secondary.ts diff --git a/packages/phrases-ui/src/locales/zh-cn/action.ts b/packages/phrases-journey/src/locales/zh-cn/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-cn/action.ts rename to packages/phrases-journey/src/locales/zh-cn/action.ts diff --git a/packages/phrases-ui/src/locales/zh-cn/demo-app.ts b/packages/phrases-journey/src/locales/zh-cn/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-cn/demo-app.ts rename to packages/phrases-journey/src/locales/zh-cn/demo-app.ts diff --git a/packages/phrases-ui/src/locales/zh-cn/description.ts b/packages/phrases-journey/src/locales/zh-cn/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-cn/description.ts rename to packages/phrases-journey/src/locales/zh-cn/description.ts diff --git a/packages/phrases-ui/src/locales/zh-cn/error/index.ts b/packages/phrases-journey/src/locales/zh-cn/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-cn/error/index.ts rename to packages/phrases-journey/src/locales/zh-cn/error/index.ts diff --git a/packages/phrases-ui/src/locales/zh-cn/error/password-rejected.ts b/packages/phrases-journey/src/locales/zh-cn/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-cn/error/password-rejected.ts rename to packages/phrases-journey/src/locales/zh-cn/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/zh-cn/index.ts b/packages/phrases-journey/src/locales/zh-cn/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-cn/index.ts rename to packages/phrases-journey/src/locales/zh-cn/index.ts diff --git a/packages/phrases-ui/src/locales/zh-cn/input.ts b/packages/phrases-journey/src/locales/zh-cn/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-cn/input.ts rename to packages/phrases-journey/src/locales/zh-cn/input.ts diff --git a/packages/phrases-ui/src/locales/zh-cn/list.ts b/packages/phrases-journey/src/locales/zh-cn/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-cn/list.ts rename to packages/phrases-journey/src/locales/zh-cn/list.ts diff --git a/packages/phrases-ui/src/locales/zh-cn/secondary.ts b/packages/phrases-journey/src/locales/zh-cn/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-cn/secondary.ts rename to packages/phrases-journey/src/locales/zh-cn/secondary.ts diff --git a/packages/phrases-ui/src/locales/zh-hk/action.ts b/packages/phrases-journey/src/locales/zh-hk/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-hk/action.ts rename to packages/phrases-journey/src/locales/zh-hk/action.ts diff --git a/packages/phrases-ui/src/locales/zh-hk/demo-app.ts b/packages/phrases-journey/src/locales/zh-hk/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-hk/demo-app.ts rename to packages/phrases-journey/src/locales/zh-hk/demo-app.ts diff --git a/packages/phrases-ui/src/locales/zh-hk/description.ts b/packages/phrases-journey/src/locales/zh-hk/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-hk/description.ts rename to packages/phrases-journey/src/locales/zh-hk/description.ts diff --git a/packages/phrases-ui/src/locales/zh-hk/error/index.ts b/packages/phrases-journey/src/locales/zh-hk/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-hk/error/index.ts rename to packages/phrases-journey/src/locales/zh-hk/error/index.ts diff --git a/packages/phrases-ui/src/locales/zh-hk/error/password-rejected.ts b/packages/phrases-journey/src/locales/zh-hk/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-hk/error/password-rejected.ts rename to packages/phrases-journey/src/locales/zh-hk/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/zh-hk/index.ts b/packages/phrases-journey/src/locales/zh-hk/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-hk/index.ts rename to packages/phrases-journey/src/locales/zh-hk/index.ts diff --git a/packages/phrases-ui/src/locales/zh-hk/input.ts b/packages/phrases-journey/src/locales/zh-hk/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-hk/input.ts rename to packages/phrases-journey/src/locales/zh-hk/input.ts diff --git a/packages/phrases-ui/src/locales/zh-hk/list.ts b/packages/phrases-journey/src/locales/zh-hk/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-hk/list.ts rename to packages/phrases-journey/src/locales/zh-hk/list.ts diff --git a/packages/phrases-ui/src/locales/zh-hk/secondary.ts b/packages/phrases-journey/src/locales/zh-hk/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-hk/secondary.ts rename to packages/phrases-journey/src/locales/zh-hk/secondary.ts diff --git a/packages/phrases-ui/src/locales/zh-tw/action.ts b/packages/phrases-journey/src/locales/zh-tw/action.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-tw/action.ts rename to packages/phrases-journey/src/locales/zh-tw/action.ts diff --git a/packages/phrases-ui/src/locales/zh-tw/demo-app.ts b/packages/phrases-journey/src/locales/zh-tw/demo-app.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-tw/demo-app.ts rename to packages/phrases-journey/src/locales/zh-tw/demo-app.ts diff --git a/packages/phrases-ui/src/locales/zh-tw/description.ts b/packages/phrases-journey/src/locales/zh-tw/description.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-tw/description.ts rename to packages/phrases-journey/src/locales/zh-tw/description.ts diff --git a/packages/phrases-ui/src/locales/zh-tw/error/index.ts b/packages/phrases-journey/src/locales/zh-tw/error/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-tw/error/index.ts rename to packages/phrases-journey/src/locales/zh-tw/error/index.ts diff --git a/packages/phrases-ui/src/locales/zh-tw/error/password-rejected.ts b/packages/phrases-journey/src/locales/zh-tw/error/password-rejected.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-tw/error/password-rejected.ts rename to packages/phrases-journey/src/locales/zh-tw/error/password-rejected.ts diff --git a/packages/phrases-ui/src/locales/zh-tw/index.ts b/packages/phrases-journey/src/locales/zh-tw/index.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-tw/index.ts rename to packages/phrases-journey/src/locales/zh-tw/index.ts diff --git a/packages/phrases-ui/src/locales/zh-tw/input.ts b/packages/phrases-journey/src/locales/zh-tw/input.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-tw/input.ts rename to packages/phrases-journey/src/locales/zh-tw/input.ts diff --git a/packages/phrases-ui/src/locales/zh-tw/list.ts b/packages/phrases-journey/src/locales/zh-tw/list.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-tw/list.ts rename to packages/phrases-journey/src/locales/zh-tw/list.ts diff --git a/packages/phrases-ui/src/locales/zh-tw/secondary.ts b/packages/phrases-journey/src/locales/zh-tw/secondary.ts similarity index 100% rename from packages/phrases-ui/src/locales/zh-tw/secondary.ts rename to packages/phrases-journey/src/locales/zh-tw/secondary.ts diff --git a/packages/phrases-ui/src/types.ts b/packages/phrases-journey/src/types.ts similarity index 100% rename from packages/phrases-ui/src/types.ts rename to packages/phrases-journey/src/types.ts diff --git a/packages/phrases-ui/tsconfig.json b/packages/phrases-journey/tsconfig.json similarity index 100% rename from packages/phrases-ui/tsconfig.json rename to packages/phrases-journey/tsconfig.json diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 47cc25a50..dae948018 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -84,7 +84,7 @@ "@logto/core-kit": "workspace:^2.0.1", "@logto/language-kit": "workspace:^1.0.0", "@logto/phrases": "workspace:^1.4.1", - "@logto/phrases-ui": "workspace:^1.2.0", + "@logto/phrases-journey": "workspace:^1.2.0", "@logto/shared": "workspace:^2.0.0", "@withtyped/server": "^0.12.9" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 704a01571..baf50f5c7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -115,9 +115,9 @@ importers: '@logto/phrases': specifier: workspace:^1.4.1 version: link:../phrases - '@logto/phrases-ui': + '@logto/phrases-journey': specifier: workspace:^1.2.0 - version: link:../phrases-ui + version: link:../phrases-journey '@logto/schemas': specifier: workspace:1.8.0 version: link:../schemas @@ -2848,9 +2848,9 @@ importers: '@logto/phrases': specifier: workspace:^1.4.1 version: link:../phrases - '@logto/phrases-ui': + '@logto/phrases-journey': specifier: workspace:^1.2.0 - version: link:../phrases-ui + version: link:../phrases-journey '@logto/react': specifier: ^2.1.0 version: 2.1.0(react@18.2.0) @@ -3145,24 +3145,24 @@ importers: '@logto/demo-app': specifier: workspace:* version: link:../demo-app + '@logto/journey': + specifier: workspace:* + version: link:../journey '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': specifier: workspace:^1.4.1 version: link:../phrases - '@logto/phrases-ui': + '@logto/phrases-journey': specifier: workspace:^1.2.0 - version: link:../phrases-ui + version: link:../phrases-journey '@logto/schemas': specifier: workspace:^1.8.0 version: link:../schemas '@logto/shared': specifier: workspace:^2.0.0 version: link:../shared - '@logto/ui': - specifier: workspace:* - version: link:../ui '@silverhand/essentials': specifier: ^2.8.4 version: 2.8.4 @@ -3549,6 +3549,213 @@ importers: specifier: ^5.0.0 version: 5.0.2 + packages/journey: + devDependencies: + '@jest/types': + specifier: ^29.5.0 + version: 29.5.0 + '@logto/app-insights': + specifier: workspace:^1.3.1 + version: link:../app-insights + '@logto/connector-kit': + specifier: workspace:^1.1.1 + version: link:../toolkit/connector-kit + '@logto/core-kit': + specifier: workspace:^2.0.1 + version: link:../toolkit/core-kit + '@logto/language-kit': + specifier: workspace:^1.0.0 + version: link:../toolkit/language-kit + '@logto/phrases': + specifier: workspace:^1.4.1 + version: link:../phrases + '@logto/phrases-journey': + specifier: workspace:^1.2.0 + version: link:../phrases-journey + '@logto/schemas': + specifier: workspace:^1.6.0 + version: link:../schemas + '@parcel/compressor-brotli': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/compressor-gzip': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/core': + specifier: 2.9.3 + version: 2.9.3 + '@parcel/transformer-sass': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@parcel/transformer-svg-react': + specifier: 2.9.3 + version: 2.9.3(@parcel/core@2.9.3) + '@react-spring/shared': + specifier: ^9.6.1 + version: 9.6.1(react@18.2.0) + '@react-spring/web': + specifier: ^9.6.1 + version: 9.6.1(react-dom@18.2.0)(react@18.2.0) + '@silverhand/eslint-config': + specifier: 4.0.1 + version: 4.0.1(eslint@8.44.0)(prettier@3.0.0)(typescript@5.0.2) + '@silverhand/eslint-config-react': + specifier: 4.0.1 + version: 4.0.1(eslint@8.44.0)(postcss@8.4.6)(prettier@3.0.0)(stylelint@15.0.0)(typescript@5.0.2) + '@silverhand/essentials': + specifier: ^2.8.4 + version: 2.8.4 + '@silverhand/ts-config': + specifier: 4.0.0 + version: 4.0.0(typescript@5.0.2) + '@silverhand/ts-config-react': + specifier: 4.0.0 + version: 4.0.0(typescript@5.0.2) + '@swc/core': + specifier: ^1.3.52 + version: 1.3.52 + '@swc/jest': + specifier: ^0.2.26 + version: 0.2.26(@swc/core@1.3.52) + '@testing-library/react': + specifier: ^14.0.0 + version: 14.0.0(react-dom@18.2.0)(react@18.2.0) + '@types/color': + specifier: ^3.0.3 + version: 3.0.3 + '@types/jest': + specifier: ^29.4.0 + version: 29.4.0 + '@types/react': + specifier: ^18.0.31 + version: 18.0.31 + '@types/react-dom': + specifier: ^18.0.0 + version: 18.0.6 + '@types/react-helmet': + specifier: ^6.1.6 + version: 6.1.6 + '@types/react-modal': + specifier: ^3.13.1 + version: 3.13.1 + '@types/react-router-dom': + specifier: ^5.3.2 + version: 5.3.2 + camelcase-keys: + specifier: ^9.0.0 + version: 9.0.0 + classnames: + specifier: ^2.3.1 + version: 2.3.1 + color: + specifier: ^4.2.3 + version: 4.2.3 + cross-env: + specifier: ^7.0.3 + version: 7.0.3 + eslint: + specifier: ^8.44.0 + version: 8.44.0 + i18next: + specifier: ^22.4.15 + version: 22.4.15 + i18next-browser-languagedetector: + specifier: ^7.0.1 + version: 7.0.1 + identity-obj-proxy: + specifier: ^3.0.0 + version: 3.0.0 + jest: + specifier: ^29.5.0 + version: 29.5.0(@types/node@18.11.18)(ts-node@10.9.1) + jest-environment-jsdom: + specifier: ^29.0.0 + version: 29.2.2 + jest-transform-stub: + specifier: ^2.0.0 + version: 2.0.0 + jest-transformer-svg: + specifier: ^2.0.0 + version: 2.0.0(jest@29.5.0)(react@18.2.0) + js-base64: + specifier: ^3.7.5 + version: 3.7.5 + ky: + specifier: ^0.33.0 + version: 0.33.0 + libphonenumber-js: + specifier: ^1.9.49 + version: 1.9.49 + lint-staged: + specifier: ^14.0.0 + version: 14.0.0 + parcel: + specifier: 2.9.3 + version: 2.9.3(postcss@8.4.6) + parcel-resolver-ignore: + specifier: ^2.1.3 + version: 2.1.3(parcel@2.9.3) + postcss: + specifier: ^8.4.6 + version: 8.4.6 + postcss-modules: + specifier: ^4.3.0 + version: 4.3.0(postcss@8.4.6) + prettier: + specifier: ^3.0.0 + version: 3.0.0 + react: + specifier: ^18.0.0 + version: 18.2.0 + react-device-detect: + specifier: ^2.2.2 + version: 2.2.2(react-dom@18.2.0)(react@18.2.0) + react-dom: + specifier: ^18.0.0 + version: 18.2.0(react@18.2.0) + react-helmet: + specifier: ^6.1.0 + version: 6.1.0(react@18.2.0) + react-hook-form: + specifier: ^7.34.0 + version: 7.34.0(react@18.2.0) + react-i18next: + specifier: ^12.3.1 + version: 12.3.1(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0) + react-modal: + specifier: ^3.15.1 + version: 3.15.1(react-dom@18.2.0)(react@18.2.0) + react-router-dom: + specifier: ^6.10.0 + version: 6.10.0(react-dom@18.2.0)(react@18.2.0) + react-string-replace: + specifier: ^1.0.0 + version: 1.0.0 + react-timer-hook: + specifier: ^3.0.5 + version: 3.0.5(react-dom@18.2.0)(react@18.2.0) + react-top-loading-bar: + specifier: ^2.3.1 + version: 2.3.1(react@18.2.0) + stylelint: + specifier: ^15.0.0 + version: 15.0.0 + superstruct: + specifier: ^1.0.3 + version: 1.0.3 + tiny-cookie: + specifier: ^2.4.1 + version: 2.4.1 + typescript: + specifier: ^5.0.0 + version: 5.0.2 + use-debounced-loader: + specifier: ^0.1.1 + version: 0.1.1(react@18.2.0) + zod: + specifier: ^3.20.2 + version: 3.20.2 + packages/phrases: dependencies: '@logto/language-kit': @@ -3580,7 +3787,7 @@ importers: specifier: ^5.0.0 version: 5.0.2 - packages/phrases-ui: + packages/phrases-journey: dependencies: '@logto/core-kit': specifier: workspace:^2.0.1 @@ -3631,9 +3838,9 @@ importers: '@logto/phrases': specifier: workspace:^1.4.1 version: link:../phrases - '@logto/phrases-ui': + '@logto/phrases-journey': specifier: workspace:^1.2.0 - version: link:../phrases-ui + version: link:../phrases-journey '@logto/shared': specifier: workspace:^2.0.0 version: link:../shared @@ -3909,213 +4116,6 @@ importers: specifier: ^5.0.0 version: 5.0.2 - packages/ui: - devDependencies: - '@jest/types': - specifier: ^29.5.0 - version: 29.5.0 - '@logto/app-insights': - specifier: workspace:^1.3.1 - version: link:../app-insights - '@logto/connector-kit': - specifier: workspace:^1.1.1 - version: link:../toolkit/connector-kit - '@logto/core-kit': - specifier: workspace:^2.0.1 - version: link:../toolkit/core-kit - '@logto/language-kit': - specifier: workspace:^1.0.0 - version: link:../toolkit/language-kit - '@logto/phrases': - specifier: workspace:^1.4.1 - version: link:../phrases - '@logto/phrases-ui': - specifier: workspace:^1.2.0 - version: link:../phrases-ui - '@logto/schemas': - specifier: workspace:^1.6.0 - version: link:../schemas - '@parcel/compressor-brotli': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/compressor-gzip': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/core': - specifier: 2.9.3 - version: 2.9.3 - '@parcel/transformer-sass': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@parcel/transformer-svg-react': - specifier: 2.9.3 - version: 2.9.3(@parcel/core@2.9.3) - '@react-spring/shared': - specifier: ^9.6.1 - version: 9.6.1(react@18.2.0) - '@react-spring/web': - specifier: ^9.6.1 - version: 9.6.1(react-dom@18.2.0)(react@18.2.0) - '@silverhand/eslint-config': - specifier: 4.0.1 - version: 4.0.1(eslint@8.44.0)(prettier@3.0.0)(typescript@5.0.2) - '@silverhand/eslint-config-react': - specifier: 4.0.1 - version: 4.0.1(eslint@8.44.0)(postcss@8.4.6)(prettier@3.0.0)(stylelint@15.0.0)(typescript@5.0.2) - '@silverhand/essentials': - specifier: ^2.8.4 - version: 2.8.4 - '@silverhand/ts-config': - specifier: 4.0.0 - version: 4.0.0(typescript@5.0.2) - '@silverhand/ts-config-react': - specifier: 4.0.0 - version: 4.0.0(typescript@5.0.2) - '@swc/core': - specifier: ^1.3.52 - version: 1.3.52 - '@swc/jest': - specifier: ^0.2.26 - version: 0.2.26(@swc/core@1.3.52) - '@testing-library/react': - specifier: ^14.0.0 - version: 14.0.0(react-dom@18.2.0)(react@18.2.0) - '@types/color': - specifier: ^3.0.3 - version: 3.0.3 - '@types/jest': - specifier: ^29.4.0 - version: 29.4.0 - '@types/react': - specifier: ^18.0.31 - version: 18.0.31 - '@types/react-dom': - specifier: ^18.0.0 - version: 18.0.6 - '@types/react-helmet': - specifier: ^6.1.6 - version: 6.1.6 - '@types/react-modal': - specifier: ^3.13.1 - version: 3.13.1 - '@types/react-router-dom': - specifier: ^5.3.2 - version: 5.3.2 - camelcase-keys: - specifier: ^9.0.0 - version: 9.0.0 - classnames: - specifier: ^2.3.1 - version: 2.3.1 - color: - specifier: ^4.2.3 - version: 4.2.3 - cross-env: - specifier: ^7.0.3 - version: 7.0.3 - eslint: - specifier: ^8.44.0 - version: 8.44.0 - i18next: - specifier: ^22.4.15 - version: 22.4.15 - i18next-browser-languagedetector: - specifier: ^7.0.1 - version: 7.0.1 - identity-obj-proxy: - specifier: ^3.0.0 - version: 3.0.0 - jest: - specifier: ^29.5.0 - version: 29.5.0(@types/node@18.11.18)(ts-node@10.9.1) - jest-environment-jsdom: - specifier: ^29.0.0 - version: 29.2.2 - jest-transform-stub: - specifier: ^2.0.0 - version: 2.0.0 - jest-transformer-svg: - specifier: ^2.0.0 - version: 2.0.0(jest@29.5.0)(react@18.2.0) - js-base64: - specifier: ^3.7.5 - version: 3.7.5 - ky: - specifier: ^0.33.0 - version: 0.33.0 - libphonenumber-js: - specifier: ^1.9.49 - version: 1.9.49 - lint-staged: - specifier: ^14.0.0 - version: 14.0.0 - parcel: - specifier: 2.9.3 - version: 2.9.3(postcss@8.4.6) - parcel-resolver-ignore: - specifier: ^2.1.3 - version: 2.1.3(parcel@2.9.3) - postcss: - specifier: ^8.4.6 - version: 8.4.6 - postcss-modules: - specifier: ^4.3.0 - version: 4.3.0(postcss@8.4.6) - prettier: - specifier: ^3.0.0 - version: 3.0.0 - react: - specifier: ^18.0.0 - version: 18.2.0 - react-device-detect: - specifier: ^2.2.2 - version: 2.2.2(react-dom@18.2.0)(react@18.2.0) - react-dom: - specifier: ^18.0.0 - version: 18.2.0(react@18.2.0) - react-helmet: - specifier: ^6.1.0 - version: 6.1.0(react@18.2.0) - react-hook-form: - specifier: ^7.34.0 - version: 7.34.0(react@18.2.0) - react-i18next: - specifier: ^12.3.1 - version: 12.3.1(i18next@22.4.15)(react-dom@18.2.0)(react@18.2.0) - react-modal: - specifier: ^3.15.1 - version: 3.15.1(react-dom@18.2.0)(react@18.2.0) - react-router-dom: - specifier: ^6.10.0 - version: 6.10.0(react-dom@18.2.0)(react@18.2.0) - react-string-replace: - specifier: ^1.0.0 - version: 1.0.0 - react-timer-hook: - specifier: ^3.0.5 - version: 3.0.5(react-dom@18.2.0)(react@18.2.0) - react-top-loading-bar: - specifier: ^2.3.1 - version: 2.3.1(react@18.2.0) - stylelint: - specifier: ^15.0.0 - version: 15.0.0 - superstruct: - specifier: ^1.0.3 - version: 1.0.3 - tiny-cookie: - specifier: ^2.4.1 - version: 2.4.1 - typescript: - specifier: ^5.0.0 - version: 5.0.2 - use-debounced-loader: - specifier: ^0.1.1 - version: 0.1.1(react@18.2.0) - zod: - specifier: ^3.20.2 - version: 3.20.2 - packages: /@aashutoshrathi/word-wrap@1.2.6: @@ -6078,11 +6078,6 @@ packages: resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==} engines: {node: '>=6.9.0'} - /@babel/helper-validator-identifier@7.19.1: - resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} - engines: {node: '>=6.9.0'} - dev: true - /@babel/helper-validator-identifier@7.22.5: resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} engines: {node: '>=6.9.0'} @@ -7959,7 +7954,7 @@ packages: json5: 2.2.1 msgpackr: 1.8.5 nullthrows: 1.1.1 - semver: 7.5.3 + semver: 7.5.4 dev: true /@parcel/diagnostic@2.9.3: @@ -9320,7 +9315,7 @@ packages: '@babel/code-frame': 7.22.5 '@babel/runtime': 7.21.0 '@types/aria-query': 5.0.1 - aria-query: 5.0.0 + aria-query: 5.3.0 chalk: 4.1.2 dom-accessibility-api: 0.5.10 lz-string: 1.4.4 @@ -9334,7 +9329,7 @@ packages: react: ^18.0.0 react-dom: ^18.0.0 dependencies: - '@babel/runtime': 7.19.4 + '@babel/runtime': 7.21.0 '@testing-library/dom': 9.0.0 '@types/react-dom': 18.0.6 react: 18.2.0 @@ -9517,10 +9512,6 @@ packages: resolution: {integrity: sha512-qjDJRrmvBMiTx+jyLxvLfJU7UznFuokDv4f3WRuriHKERccVpFU+8XMQUAbDzoiJCsmexxRExQeMwwCdamSKDA==} dev: true - /@types/history@4.7.9: - resolution: {integrity: sha512-MUc6zSmU3tEVnkQ78q0peeEjKWPUADMlC/t++2bI8WnAG2tvYRPIgHG8lWkXwqc8MsUF6Z2MOf+Mh5sazOmhiQ==} - dev: true - /@types/http-assert@1.5.3: resolution: {integrity: sha512-FyAOrDuQmBi8/or3ns4rwPno7/9tJTijVW6aQQjK02+kOQ8zmoNg2XJtAuQhvQcy1ASJq38wirX5//9J1EqoUA==} dev: true @@ -9777,7 +9768,7 @@ packages: /@types/react-router-dom@5.3.2: resolution: {integrity: sha512-ELEYRUie2czuJzaZ5+ziIp9Hhw+juEw8b7C11YNA4QdLCVbQ3qLi2l4aq8XnlqM7V31LZX8dxUuFUCrzHm6sqQ==} dependencies: - '@types/history': 4.7.9 + '@types/history': 4.7.11 '@types/react': 18.0.31 '@types/react-router': 5.1.17 dev: true @@ -9939,7 +9930,7 @@ packages: graphemer: 1.4.0 ignore: 5.2.4 natural-compare-lite: 1.4.0 - semver: 7.5.3 + semver: 7.5.4 tsutils: 3.21.0(typescript@5.0.2) typescript: 5.0.2 transitivePeerDependencies: @@ -10028,7 +10019,7 @@ packages: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0) '@types/json-schema': 7.0.11 - '@types/semver': 7.3.12 + '@types/semver': 7.5.0 '@typescript-eslint/scope-manager': 5.61.0 '@typescript-eslint/types': 5.61.0 '@typescript-eslint/typescript-estree': 5.61.0(typescript@5.0.2) @@ -10315,11 +10306,6 @@ packages: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} dev: true - /aria-query@5.0.0: - resolution: {integrity: sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg==} - engines: {node: '>=6.0'} - dev: true - /aria-query@5.3.0: resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} dependencies: @@ -12256,7 +12242,7 @@ packages: minimatch: 3.1.2 object.entries: 1.1.6 object.fromentries: 2.0.6 - semver: 6.3.0 + semver: 6.3.1 dev: true /eslint-plugin-no-use-extend-native@0.5.0: @@ -12343,7 +12329,7 @@ packages: object.values: 1.1.6 prop-types: 15.8.1 resolve: 2.0.0-next.4 - semver: 6.3.0 + semver: 6.3.1 string.prototype.matchall: 4.0.8 dev: true @@ -12369,7 +12355,7 @@ packages: peerDependencies: eslint: '>=8.38.0' dependencies: - '@babel/helper-validator-identifier': 7.19.1 + '@babel/helper-validator-identifier': 7.22.5 '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0) ci-info: 3.8.0 clean-regexp: 1.0.0 @@ -12384,7 +12370,7 @@ packages: regexp-tree: 0.1.24 regjsparser: 0.10.0 safe-regex: 2.1.1 - semver: 7.5.3 + semver: 7.5.4 strip-indent: 3.0.0 dev: true @@ -17367,12 +17353,12 @@ packages: util-deprecate: 1.0.2 dev: true - /postcss-sorting@7.0.1(postcss@8.4.24): + /postcss-sorting@7.0.1(postcss@8.4.26): resolution: {integrity: sha512-iLBFYz6VRYyLJEJsBJ8M3TCqNcckVzz4wFounSc5Oez35ogE/X+aoC5fFu103Ot7NyvjU3/xqIXn93Gp3kJk4g==} peerDependencies: postcss: ^8.3.9 dependencies: - postcss: 8.4.24 + postcss: 8.4.26 dev: true /postcss-value-parser@3.3.1: @@ -17410,15 +17396,6 @@ packages: source-map-js: 1.0.2 dev: true - /postcss@8.4.24: - resolution: {integrity: sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.6 - picocolors: 1.0.0 - source-map-js: 1.0.2 - dev: true - /postcss@8.4.26: resolution: {integrity: sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==} engines: {node: ^10 || ^12 || >=14} @@ -17432,7 +17409,7 @@ packages: resolution: {integrity: sha512-OovjwIzs9Te46vlEx7+uXB0PLijpwjXGKXjVGGPIGubGpq7uh5Xgf6D6FiJ/SzJMBosHDp6a2hiXOS97iBXcaA==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.4 + nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 dev: true @@ -18693,11 +18670,6 @@ packages: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} hasBin: true - /semver@6.3.0: - resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} - hasBin: true - dev: true - /semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true @@ -18719,14 +18691,6 @@ packages: lru-cache: 6.0.0 dev: true - /semver@7.5.3: - resolution: {integrity: sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - /semver@7.5.4: resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} engines: {node: '>=10'} @@ -19456,8 +19420,8 @@ packages: peerDependencies: stylelint: ^14.0.0 || ^15.0.0 dependencies: - postcss: 8.4.24 - postcss-sorting: 7.0.1(postcss@8.4.24) + postcss: 8.4.26 + postcss-sorting: 7.0.1(postcss@8.4.26) stylelint: 15.0.0 dev: true @@ -19466,8 +19430,8 @@ packages: peerDependencies: stylelint: ^14.0.0 || ^15.0.0 dependencies: - postcss: 8.4.24 - postcss-sorting: 7.0.1(postcss@8.4.24) + postcss: 8.4.26 + postcss-sorting: 7.0.1(postcss@8.4.26) stylelint: 15.10.1 dev: true