From db99af7a59f43f29a0271a5aef8a6945842d0dbc Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Tue, 22 Jul 2025 03:37:17 +0800 Subject: [PATCH] feat(stage-web): info action --- apps/stage-tamagotchi/package.json | 1 + apps/stage-tamagotchi/tsconfig.json | 3 +- apps/stage-web/package.json | 3 + .../Layouts/InteractiveArea/Actions/About.vue | 91 ++++++ .../Layouts/MobileInteractiveArea.vue | 5 +- apps/stage-web/tsconfig.json | 3 +- apps/stage-web/uno.config.ts | 7 + apps/stage-web/vite.config.ts | 3 + packages/stage-ui/package.json | 1 + .../Scenarios/Dialogs/About/Dialog.vue | 35 +++ .../Scenarios/Dialogs/About/index.ts | 1 + .../Dialogs/Onboarding/OnboardingDialog.vue | 2 +- .../src/components/Scenarios/Dialogs/index.ts | 1 + .../components/TypographySans.story.vue | 30 +- packages/stage-ui/tsconfig.json | 3 +- pnpm-lock.yaml | 280 +++++++++++------- uno.config.ts | 6 +- 17 files changed, 341 insertions(+), 134 deletions(-) create mode 100644 apps/stage-web/src/components/Layouts/InteractiveArea/Actions/About.vue create mode 100644 packages/stage-ui/src/components/Scenarios/Dialogs/About/Dialog.vue create mode 100644 packages/stage-ui/src/components/Scenarios/Dialogs/About/index.ts diff --git a/apps/stage-tamagotchi/package.json b/apps/stage-tamagotchi/package.json index 2470eb075..181a68b20 100644 --- a/apps/stage-tamagotchi/package.json +++ b/apps/stage-tamagotchi/package.json @@ -123,6 +123,7 @@ "execa": "^9.6.0", "less": "^4.3.0", "unocss-preset-scrollbar": "^3.2.0", + "unplugin-info": "^1.2.2", "unplugin-vue-macros": "^2.14.5", "unplugin-vue-router": "^0.14.0", "unplugin-yaml": "^3.0.1", diff --git a/apps/stage-tamagotchi/tsconfig.json b/apps/stage-tamagotchi/tsconfig.json index 5f75dd763..977365904 100644 --- a/apps/stage-tamagotchi/tsconfig.json +++ b/apps/stage-tamagotchi/tsconfig.json @@ -18,7 +18,8 @@ "vite-plugin-vue-layouts/client", "unplugin-vue-macros/macros-global", "unplugin-vue-router/client", - "@types/audioworklet" + "@types/audioworklet", + "unplugin-info/client" ], "allowJs": true, "strict": true, diff --git a/apps/stage-web/package.json b/apps/stage-web/package.json index 29dc470f4..7d9c9c3eb 100644 --- a/apps/stage-web/package.json +++ b/apps/stage-web/package.json @@ -66,6 +66,7 @@ "pinia": "^3.0.3", "radix-vue": "^1.9.17", "rehype-stringify": "^10.0.1", + "reka-ui": "^2.3.2", "remark-parse": "^11.0.0", "remark-rehype": "^11.1.2", "shiki": "^3.7.0", @@ -107,8 +108,10 @@ "@vitejs/plugin-vue": "^6.0.0", "@vue-macros/volar": "^3.0.0-beta.15", "@vueuse/motion": "^3.0.3", + "execa": "^9.6.0", "hfup": "^0.5.0", "less": "^4.3.0", + "unplugin-info": "^1.2.2", "unplugin-vue-macros": "^2.14.5", "unplugin-vue-router": "^0.14.0", "unplugin-yaml": "^3.0.1", diff --git a/apps/stage-web/src/components/Layouts/InteractiveArea/Actions/About.vue b/apps/stage-web/src/components/Layouts/InteractiveArea/Actions/About.vue new file mode 100644 index 000000000..a0e25f06b --- /dev/null +++ b/apps/stage-web/src/components/Layouts/InteractiveArea/Actions/About.vue @@ -0,0 +1,91 @@ + + + diff --git a/apps/stage-web/src/components/Layouts/MobileInteractiveArea.vue b/apps/stage-web/src/components/Layouts/MobileInteractiveArea.vue index 847d73f4c..51e65a878 100644 --- a/apps/stage-web/src/components/Layouts/MobileInteractiveArea.vue +++ b/apps/stage-web/src/components/Layouts/MobileInteractiveArea.vue @@ -11,6 +11,7 @@ import { useI18n } from 'vue-i18n' import { RouterLink } from 'vue-router' import MobileChatHistory from '../Widgets/MobileChatHistory.vue' +import ActionAbout from './InteractiveArea/Actions/About.vue' import ActionViewControls from './InteractiveArea/Actions/ViewControls.vue' import ViewControlInputs from './ViewControls/Inputs.vue' @@ -125,9 +126,7 @@ onMounted(() => {
- +