Merge pull request #257 from Budibase/property-panel/master

Removing Svelte Color Picker
This commit is contained in:
Conor_Mack 2020-05-26 15:15:48 +01:00 committed by GitHub
commit 105d901bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -79,8 +79,7 @@
"rollup-plugin-svelte": "^5.0.3",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-url": "^2.2.2",
"svelte": "^3.0.0",
"svelte-color-picker": "^1.0.7"
"svelte": "^3.0.0"
},
"gitHead": "115189f72a850bfb52b65ec61d932531bf327072"
}
}

View File

@ -1,6 +1,6 @@
<script>
import { onMount } from "svelte"
import { HsvPicker } from "svelte-color-picker"
// import { HsvPicker } from "svelte-color-picker"
// export let initialValue = "#ffffff"
export let onChange = color => {}
@ -68,7 +68,7 @@
<div class="colorpicker" {style}>
<div class="overlay" on:click|self={() => toggleColorpicker(false)} />
<div class="cp" style={pickerStyle}>
<HsvPicker on:colorChange={onColourChange} startColor={value} />
<!-- <HsvPicker on:colorChange={onColourChange} startColor={value} /> -->
</div>
</div>
<!--