
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@budibase/colorpicker
Advanced tools
A multi format Colorpicker built with Svelte. The Colorpicker accepts and sets hex(a), rgb(a) and hsl(a) colors.
A multi format Colorpicker built with Svelte. The Colorpicker accepts and sets hex(a), rgb(a) and hsl(a) colors.

yarn add @budibase/colorpicker.npm i @budibase/colorpicker.import Colorpicker from "@budibase/colorpicker"
<Colorpicker
//must be a valid color supported by Colorpicker (hsl(a), hex(a) or rgb(a))
value="#abc"
//An array of 12 or less swatches for use in the Colorpicker panel.
swatches=["#abc2", "rgba(255,2,100,0.5)", "hsl(360,50,50)"]
//disable swatches for the Colorpicker. Defaults to false
disableSwatches={true | false}
//Open or close the Colorpicker. Defaults to false
open={true | false}
//width of the Colorpreview. Defaults to 25px
width="25px"
//height of the Colorpreview. Defaults to 25px
height="25px"
//change event - invoked when color has been selected
on:change={selectedColor => {}}
//remove swatch - invoked when swatch has been removed
on:removeswatch={removedSwatch => {})}
//add swatch event - invoked when a swatch has been added
on:addswatch={addedSwatch => {}}
/>
The Colorpicker exposes the following events. In each case, the color will be provided as the first parameter to the bound function.
Change Event
on:change={selectedColor: string => {}}
The on change event will be invoked whenever a color has been set in the Colorpicker via the palette, the hue slider, the alpha slider or by typing into the input.
Add Swatch
on:addswatch={addedSwatch: string => {}}
The add swatch event will be invoked when a user adds a swatch by clicking the add button.
Remove Swatch
on:removeswatch={removedSwatch: string => {}}
The remove swatch will be invoked when a user clicks the delete button that appears when hovering over a swatch.
disableSwatches={true} property to the Colorpicker.To work with the Colorpicker locally clone, yarn``` and yarn svench`. Follow the URL in the terminal.
FAQs
A multi format Colorpicker built with Svelte. The Colorpicker accepts and sets hex(a), rgb(a) and hsl(a) colors.
The npm package @budibase/colorpicker receives a total of 65 weekly downloads. As such, @budibase/colorpicker popularity was classified as not popular.
We found that @budibase/colorpicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.