Socket
Socket
Sign inDemoInstall

@spectrum-web-components/color-loupe

Package Overview
Dependencies
8
Maintainers
10
Versions
154
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
1.8K
increased by246.62%
Maintainers
10
Created
Weekly downloads
 

Changelog

Source

0.43.0 (2024-06-11)

Bug Fixes

  • coachmark,overlay: adjust imports of overlay and coachmark (#4455) (39706da)
  • duplicate code to empty global-vars before generating (#4507) (83215b6)
  • menu: enable numpad arrow and Enter keys (#4492) (012c411)
  • number-field: select full value when using Tab to enter a field with a unit (#4340) (a9d5cef)
  • number-field: updated number field to respect all locales (#4508) (cc6e928)
  • overlay: ensure hint Overlays within shadow roots open as expected (#4443) (7dd64b9)
  • overlay: ensure that passing "open" to the directive manages a single strategy (#4474) (15d6ac7)
  • overlay: persist "host" in directive rendered Overlay content (#4475) (5d189c2)
  • swatch: sync aria-label with changes in label, color, and mixed state (#4519) (50aef31)

Features

  • combobox: add pending state (#4462) (2d0c388)
  • contextual-help: add contextual help pattern (#4285) (a259aa3)

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 11 Jun 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc