diff --git a/cspell.config.yaml b/cspell.config.yaml index a50c37593..ae065e99e 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -94,6 +94,7 @@ words: - mingcute - mkdist - modelcontextprotocol + - modnet - moeru - Morioki - Myriam diff --git a/packages/stage-ui/src/components/Menu/CharacterCard.story.vue b/packages/stage-ui/src/components/Menu/CharacterCard.story.vue new file mode 100644 index 000000000..748c26b38 --- /dev/null +++ b/packages/stage-ui/src/components/Menu/CharacterCard.story.vue @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + diff --git a/packages/stage-ui/src/components/Menu/CharacterCard.vue b/packages/stage-ui/src/components/Menu/CharacterCard.vue new file mode 100644 index 000000000..0319ce5e0 --- /dev/null +++ b/packages/stage-ui/src/components/Menu/CharacterCard.vue @@ -0,0 +1,248 @@ + + + + + + + + + + + + + {{ backgroundLabel }} + + + + + + + + {{ subtitle }} + + + + {{ title }} + + + + + + + + + + + + + + + {{ description }} + + + + + + + + + + + + + + + + + + diff --git a/packages/stage-ui/src/components/Menu/HeroCardDemo.story.vue b/packages/stage-ui/src/components/Menu/HeroCardDemo.story.vue new file mode 100644 index 000000000..5f1731751 --- /dev/null +++ b/packages/stage-ui/src/components/Menu/HeroCardDemo.story.vue @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + diff --git a/packages/stage-ui/src/components/Menu/relu.png b/packages/stage-ui/src/components/Menu/relu.png new file mode 100644 index 000000000..a994ae801 Binary files /dev/null and b/packages/stage-ui/src/components/Menu/relu.png differ diff --git a/packages/stage-ui/uno.config.ts b/packages/stage-ui/uno.config.ts index da3c794ba..75f8367c2 100644 --- a/packages/stage-ui/uno.config.ts +++ b/packages/stage-ui/uno.config.ts @@ -104,9 +104,6 @@ export default defineConfig({ '(components|src)/**/*.{js,ts}', ], }, - // filesystem: [ - // 'src/**/*.{vue,ts,js}', - // ], }, rules: [ [/^mask-\[(.*)\]$/, ([, suffix]) => ({ '-webkit-mask-image': suffix.replace(/_/g, ' ') })], diff --git a/packages/stage-ui/vite.config.ts b/packages/stage-ui/vite.config.ts index 94a7e92b4..2c33d03f7 100644 --- a/packages/stage-ui/vite.config.ts +++ b/packages/stage-ui/vite.config.ts @@ -1,9 +1,15 @@ +import { join } from 'node:path' import vue from '@vitejs/plugin-vue' import Unocss from 'unocss/vite' import { defineConfig } from 'vite' // For Histoire export default defineConfig({ + server: { + fs: { + allow: [join('..', '..')], + }, + }, plugins: [ vue(), Unocss(),