From 9365e877db673b105e8d4f9b539264e541c24fbd Mon Sep 17 00:00:00 2001 From: wendybujalski Date: Fri, 13 Dec 2024 18:21:58 -0500 Subject: [PATCH] added color picker to modal --- app/web/src/components/AssetDetailsPanel.vue | 2 +- .../ModelingView/TemplateSelectionModal.vue | 38 ++++++++++++++++++- app/web/src/store/components.store.ts | 1 + lib/vue-lib/package.json | 1 + .../src/design-system/forms}/ColorPicker.vue | 4 +- lib/vue-lib/src/design-system/index.ts | 1 + .../src/design-system/modals/Modal.vue | 20 ++++++++-- pnpm-lock.yaml | 3 ++ 8 files changed, 62 insertions(+), 8 deletions(-) rename {app/web/src/components => lib/vue-lib/src/design-system/forms}/ColorPicker.vue (93%) diff --git a/app/web/src/components/AssetDetailsPanel.vue b/app/web/src/components/AssetDetailsPanel.vue index b02ce391a5..33b6de3c10 100644 --- a/app/web/src/components/AssetDetailsPanel.vue +++ b/app/web/src/components/AssetDetailsPanel.vue @@ -238,6 +238,7 @@ import { VButton, VormInput, Icon, + ColorPicker, } from "@si/vue-lib/design-system"; import * as _ from "lodash-es"; import { useToast } from "vue-toastification"; @@ -264,7 +265,6 @@ import { } from "@/api/sdf/dal/schema"; import { useFuncStore } from "@/store/func/funcs.store"; import { PropId } from "@/api/sdf/dal/prop"; -import ColorPicker from "./ColorPicker.vue"; import AssetFuncAttachModal from "./AssetFuncAttachModal.vue"; import AssetNameModal from "./AssetNameModal.vue"; import AssetDetailIntrinsicInput from "./AssetDetailIntrinsicInput.vue"; diff --git a/app/web/src/components/ModelingView/TemplateSelectionModal.vue b/app/web/src/components/ModelingView/TemplateSelectionModal.vue index 353ec444f8..8f5099635d 100644 --- a/app/web/src/components/ModelingView/TemplateSelectionModal.vue +++ b/app/web/src/components/ModelingView/TemplateSelectionModal.vue @@ -1,5 +1,5 @@