Socket
Socket
Sign inDemoInstall

@spectrum-web-components/color-loupe

Package Overview
Dependencies
8
Maintainers
7
Versions
151
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @spectrum-web-components/color-loupe

An `<sp-color-loupe>` shows the output color that would otherwise be covered by a cursor, stylus, or finger during color selection.


Version published
Weekly downloads
918
increased by113.49%
Maintainers
7
Created
Weekly downloads
 

Changelog

Source

0.42.3 (2024-05-01)

Bug Fixes

  • color-area: providing x and y attributes renders color handle correctly (#4240) (9eb5056)
  • combobox: correct package.json listings (35a69a2)
  • link: added feature to stop click propagation for disabled link (#4251) (64f26a5)
  • number-field, slider: floating point roundoff precision bug (#4263) (74480ef)
  • overlay: prevent "receivesFocus=false" overlays from returning focus (607819f)
  • textfield: textarea actually grows with multiline (#4271) (d8d0e84)
  • theme: deprecate theme property for system (#4230) (ac26168)
  • tooltip: fix infinite loop in self-managed tooltips (#4269) (b66ee49)
  • update dependency @ctrl/tinycolor to v4.1.0 (#4357) (a0e2182)
  • update dependency @floating-ui/dom to v1.6.3 (#4322) (3ba0018)
  • update dependency @floating-ui/dom to v1.6.4 (#4326) (8183df3)
  • update dependency @floating-ui/utils to v0.2.2 (#4327) (81b570d)
  • update dependency @internationalized/number to v3.5.1 (#4323) (56d5a63)

Readme

Source

Description

An <sp-color-loupe> shows the output color that would otherwise be covered by a cursor, stylus, or finger during color selection.

Usage

See it on NPM! How big is this package in your project? Try it on webcomponents.dev

yarn add @spectrum-web-components/color-loupe

Import the side effectful registration of <sp-color-loupe> via:

import '@spectrum-web-components/color-loupe/sp-color-loupe.js';

When looking to leverage the ColorLoupe base class as a type and/or for extension purposes, do so via:

import { ColorLoupe } from '@spectrum-web-components/color-loupe';

Example

<div style="padding: 100px 0 0;">
    <div style="position:relative">
        <sp-color-loupe open="" dir="ltr"></sp-color-loupe>
    </div>
</div>

Keywords

FAQs

Last updated on 01 May 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc