![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@spectrum-web-components/color-slider
Advanced tools
An `<sp-color-slider>` lets users visually change an individual channel of a color. The background of the `<sp-color-slider>` is a visual representation of the range of values a user can select from. This can represent color properties such as hues, color
An <sp-color-slider>
lets users visually change an individual channel of a color. The background of the <sp-color-slider>
is a visual representation of the range of values a user can select from. This can represent color properties such as hues, color channel values (such as RGB or CMYK levels), or opacity. Currently, the slider only supports leveraging the hue
property.
yarn add @spectrum-web-components/color-slider
Import the side effectful registration of <sp-color-slider>
via:
import '@spectrum-web-components/color-slider/sp-color-slider.js';
When looking to leverage the ColorSlider
base class as a type and/or for extension purposes, do so via:
import { ColorSlider } from '@spectrum-web-components/color-slider';
When using the color elements, use el.color
to access the color
property, which should manage itself in the colour format supplied. If you supply a color in rgb()
format, el.color
should return the color in rgb()
format, as well.
The current color formats supported are as follows:
Please note for the following formats: HSV, HSVA, HSL, HSLA
When using the HSL or HSV formats, and a color's value (in HSV) is set to 0, or its luminosity (in HSL) is set to 0 or 1, the hue and saturation values may not be preserved by the element's color
property. This is detailed in the TinyColor documentation. Seperately, the element's value
property is directly managed by the hue as represented in the interface.
<sp-color-slider></sp-color-slider>
<sp-color-slider vertical></sp-color-slider>
<sp-color-slider disabled></sp-color-slider>
1.1.1 (2025-01-29)
Note: Version bump only for package @adobe/spectrum-web-components
FAQs
An `<sp-color-slider>` lets users visually change an individual channel of a color. The background of the `<sp-color-slider>` is a visual representation of the range of values a user can select from. This can represent color properties such as hues, color
The npm package @spectrum-web-components/color-slider receives a total of 0 weekly downloads. As such, @spectrum-web-components/color-slider popularity was classified as not popular.
We found that @spectrum-web-components/color-slider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.