Giter Site home page Giter Site logo

yaireo / color-picker Goto Github PK

View Code? Open in Web Editor NEW
56.0 5.0 7.0 5.21 MB

Minimal javascript color picker component

Home Page: https://yaireo.github.io/color-picker

License: GNU Affero General Public License v3.0

JavaScript 64.15% HTML 18.21% SCSS 17.64%
color-picker component vanilajs color widget javascript javascript-component colorpicker ui

color-picker's People

Contributors

yaireo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

color-picker's Issues

Nothing exported on 0.12.x

It seems that version 0.12.x doesn't export anything.

import ColorPicker from '@yaireo/color-picker';

raises Attempted import error: '@yaireo/color-picker' does not contain a default export.

import * as ColorPicker from '@yaireo/color-picker';

does not raise any errors but ColorPicker is just an empty object {} and does not contain any exports.

0.11.0 works fine.

For the record, the build system in use was esbuild and I have tried both with node 18.15.0 and 20.5.0 (I understand that 20 is incompatible with the engines defined in package.json).

oninput event doesn't trigger

Hello,
It seems like the oninput event can never get triggered while the default color picker can.
I also tried to remove inputmode="none" attribute but oninput event is still not triggered.
Any solutions/workarounds? Thanks for your time!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.