From 293ca3e54f455ae519b8dae5c2f0b9680b5fad90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Mon, 8 Mar 2021 17:05:42 +0100 Subject: [PATCH 1/2] fixes colorpicker bugs --- packages/builder/package.json | 2 +- .../PropertyControls/ColorPicker.svelte | 33 ++++++++++++++++++- packages/builder/yarn.lock | 8 ++--- 3 files changed, 37 insertions(+), 6 deletions(-) diff --git a/packages/builder/package.json b/packages/builder/package.json index 6d0bb15083..6a4f6eea4b 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -65,7 +65,7 @@ "dependencies": { "@budibase/bbui": "^1.58.13", "@budibase/client": "^0.8.3", - "@budibase/colorpicker": "1.0.1", + "@budibase/colorpicker": "1.1.2", "@budibase/string-templates": "^0.8.3", "@budibase/svelte-ag-grid": "^1.0.4", "@sentry/browser": "5.19.1", diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte index 63ce8da6c4..3c4c7f22d7 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte @@ -1,7 +1,38 @@ - + diff --git a/packages/builder/yarn.lock b/packages/builder/yarn.lock index 593a2ed815..e5ded575b2 100644 --- a/packages/builder/yarn.lock +++ b/packages/builder/yarn.lock @@ -833,10 +833,10 @@ svelte-portal "^1.0.0" turndown "^7.0.0" -"@budibase/colorpicker@1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@budibase/colorpicker/-/colorpicker-1.0.1.tgz#940c180e7ebba0cb0756c4c8ef13f5dfab58e810" - integrity sha512-+DTHYhU0sTi5RfCyd7AAvMsLFwyF/wgs0owf7KyQU+ZILRW+YsWa7OQMz+hKQfgVAmvzwrNz8ATiBlG3Ac6Asg== +"@budibase/colorpicker@1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@budibase/colorpicker/-/colorpicker-1.1.2.tgz#f7436924ee746d7be9b2009c2fa193e710c30f89" + integrity sha512-2PlZBVkATDqDC4b4Ri8Xi8X3OxhuHOGfmZwtXbZL38lNIeofaQT3Qyc1ECzEY5N+HrdGrWhY9EnliF6QM+LIuA== "@budibase/svelte-ag-grid@^1.0.4": version "1.0.4" From bb4681f2b6c628e73286a961df5da358fb8b8016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Tue, 9 Mar 2021 09:32:53 +0100 Subject: [PATCH 2/2] change default color of colorpicker --- .../design/PropertiesPanel/PropertyControls/ColorPicker.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte index 3c4c7f22d7..6235e744f8 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte @@ -35,4 +35,4 @@ }, WAIT, true) - +