diff --git a/apps/stage-tamagotchi/package.json b/apps/stage-tamagotchi/package.json index de9e9674c..babadea31 100644 --- a/apps/stage-tamagotchi/package.json +++ b/apps/stage-tamagotchi/package.json @@ -122,6 +122,7 @@ "@vueuse/motion": "^3.0.3", "@xsai-transformers/embed": "^0.0.7", "cac": "^6.7.14", + "csstype": "^3.1.3", "execa": "^9.6.0", "less": "^4.4.0", "unocss-preset-scrollbar": "^3.2.0", diff --git a/apps/stage-web/package.json b/apps/stage-web/package.json index dd93ccf32..0fb6ce752 100644 --- a/apps/stage-web/package.json +++ b/apps/stage-web/package.json @@ -111,6 +111,7 @@ "@vitejs/plugin-vue": "^6.0.0", "@vue-macros/volar": "^3.0.0-beta.17", "@vueuse/motion": "^3.0.3", + "csstype": "^3.1.3", "execa": "^9.6.0", "hfup": "^0.6.2", "less": "^4.3.0", diff --git a/cspell.config.yaml b/cspell.config.yaml index d837a4025..d326512c4 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -45,6 +45,7 @@ words: - crossws - csmmap - csmvector + - csstype - cubismbreath - cubismdebug - cubismdefaultparameterid diff --git a/packages/stage-ui/histoire.config.ts b/packages/stage-ui/histoire.config.ts index 132b3d5f2..208071e0e 100644 --- a/packages/stage-ui/histoire.config.ts +++ b/packages/stage-ui/histoire.config.ts @@ -26,6 +26,7 @@ export default defineConfig({ viteNodeTransformMode: { web: [ /\.web\.vue$/, + /\.web\.story\.vue$/, ], }, tree: { @@ -42,22 +43,26 @@ export default defineConfig({ id: 'form', title: 'Form', }, - { - id: 'menu', - title: 'Menu', - }, - { - id: 'providers', - title: 'Providers', - }, { id: 'misc', title: 'Misc', }, + { + id: 'data-pane', + title: 'Data Pane', + }, + { + id: 'menu', + title: 'Menu', + }, { id: 'widgets', title: 'Widgets', }, + { + id: 'gadgets', + title: 'Gadgets', + }, { id: 'physics', title: 'Physics', @@ -67,12 +72,8 @@ export default defineConfig({ title: 'Graphics', }, { - id: 'gadgets', - title: 'Gadgets', - }, - { - id: 'data-gui', - title: 'Data GUI', + id: 'providers', + title: 'Providers', }, ], }, diff --git a/packages/stage-ui/package.json b/packages/stage-ui/package.json index 67204f5ea..c83e82f63 100644 --- a/packages/stage-ui/package.json +++ b/packages/stage-ui/package.json @@ -142,6 +142,7 @@ "@unocss/reset": "^66.3.3", "@vitejs/plugin-vue": "^6.0.0", "clustr": "^0.0.3", + "csstype": "^3.1.3", "histoire": "1.0.0-alpha.2", "unocss": "^66.3.3", "unplugin-info": "^1.2.2", diff --git a/packages/stage-ui/src/components/DataPane/ColorPicker.vue b/packages/stage-ui/src/components/DataPane/ColorPicker.vue new file mode 100644 index 000000000..cdf1c87e8 --- /dev/null +++ b/packages/stage-ui/src/components/DataPane/ColorPicker.vue @@ -0,0 +1,159 @@ + + + + + diff --git a/packages/stage-ui/src/components/DataGui/Range.story.vue b/packages/stage-ui/src/components/DataPane/Range.story.vue similarity index 88% rename from packages/stage-ui/src/components/DataGui/Range.story.vue rename to packages/stage-ui/src/components/DataPane/Range.story.vue index cd8131c37..87645acaa 100644 --- a/packages/stage-ui/src/components/DataGui/Range.story.vue +++ b/packages/stage-ui/src/components/DataPane/Range.story.vue @@ -9,7 +9,7 @@ const maxValue = ref(100)