Détail du package

@cocreate/pickr

CoCreate-app437MIT1.13.3

A simple pickr component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.

pickr, cocreate, low-code-framework, no-code-framework

readme

CoCreate-pickr

A simple pickr component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our playground!

minified gzip brotli GitHub latest release License Hiring

CoCreate-pickr

Docs & Demo

For a complete guide and working demo refer to the doumentation

CDN

<script src="https://cdn.cocreate.app/pickr/latest/CoCreate-pickr.min.js"></script>
<script src="https://cdn.cocreate.app/pickr/latest/CoCreate-pickr.min.css"></script>

NPM

$ npm i @cocreate/pickr

yarn

$ yarn install @cocreate/pickr

Table of Contents

Announcements

All updates to this library are documented in our CHANGELOG and releases. You may also subscribe to email for releases and breaking changes.

Roadmap

If you are interested in the future direction of this project, please take a look at our open issues and pull requests. We would love to hear your feedback.

About

CoCreate-pickr is guided and supported by the CoCreate Developer Experience Team.

Please Email the Developer Experience Team here in case of any queries.

CoCreate-pickr is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.

How to Contribute

We encourage contribution to our libraries (you might even score some nifty swag), please see our CONTRIBUTING guide for details.

We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create issues and pull requests or merely upvote or comment on existing issues or pull requests.

We appreciate your continued support, thank you!

License

The MIT License (MIT)

changelog

1.13.3 (2025-05-01)

Bug Fixes

1.13.2 (2025-04-30)

Bug Fixes

  • added css-loader (fa3ebb7)
  • update query attributes (e712316)
  • updated cocreate modules versions (55ee02a)
  • webpack.config and devdependencies (f7788bc)

1.13.1 (2025-04-11)

Bug Fixes

  • update observer observe param to type and and attributeName to attributeFilter (1f5b35d)

1.13.0 (2024-11-04)

Bug Fixes

  • check element for crud functions prior to execution (acecd5c)
  • observer taget has been renamed to selector (31b15ad)
  • pretier.config.js and file formating (e8a12f3)

Features

  • add prettier.config.js and format files (e7b94d9)
  • add prettier.config.js and format files (86c5494)

1.12.3 (2024-06-12)

Bug Fixes

1.12.2 (2024-04-29)

Bug Fixes

  • bump cocreate dependencies (d016a3f)

1.12.1 (2024-02-05)

Bug Fixes

1.12.0 (2023-11-25)

Features

  • upgrade dependencies for latest features and fixes (52061e5)

1.11.0 (2023-11-25)

Bug Fixes

  • update nav, edit button and css path (fe63cd2)

Features

  • upgrade dependencies for latest features and fixes (83b6131)

1.10.0 (2023-11-19)

Features

  • update dependecies for th latest features and bug fixes (aa009c1)

1.9.9 (2023-11-12)

Bug Fixes

  • bump dependencies for latest features (05413a3)

1.9.8 (2023-11-09)

Bug Fixes

1.9.7 (2023-11-03)

Bug Fixes

  • update dependencies to the lates versions (c741f7d)

1.9.6 (2023-10-25)

Bug Fixes

1.9.5 (2023-10-14)

Bug Fixes

1.9.4 (2023-10-09)

Bug Fixes

1.9.3 (2023-10-09)

Bug Fixes

1.9.2 (2023-09-18)

Bug Fixes

  • Add path and pathname (8d600fc)
  • Update CoCreate depndencies to latest versions (4a9493d)

1.9.1 (2023-08-21)

Bug Fixes

1.9.0 (2023-08-21)

Features

  • Update cocreate dependencies for the latest features and bug fixes (894a205)

1.8.1 (2023-08-21)

Bug Fixes

1.8.0 (2023-08-17)

Features

  • bump cocreate dependencies for the latest updates and features (74a9f96)

1.7.0 (2023-08-16)

Bug Fixes

  • crud attributes renamed (de1e002)
  • removed @cocreate/crud (d6c1106)
  • replace -target -selector (545a394)
  • webpack.config and package.json make use of mode=production instead of process.env (a20dd32)

Features

  • name attribute and variable renamed to key (4e5eeeb)

1.6.28 (2023-06-14)

Bug Fixes

1.6.27 (2023-06-11)

Bug Fixes

1.6.26 (2023-06-11)

Bug Fixes

1.6.25 (2023-06-11)

Bug Fixes

1.6.24 (2023-06-11)

Bug Fixes

1.6.23 (2023-06-11)

Bug Fixes

1.6.22 (2023-06-11)

Bug Fixes

1.6.21 (2023-06-11)

Bug Fixes

1.6.20 (2023-06-11)

Bug Fixes

1.6.19 (2023-06-11)

Bug Fixes

  • @cocreate/cli moved to dependencies (674cbc1)

1.6.18 (2023-06-11)

Bug Fixes

1.6.17 (2023-06-11)

Bug Fixes

  • renamed hosts to host. the value can be a string or an array of strings (f487a82)

1.6.16 (2023-06-10)

Bug Fixes

1.6.15 (2023-06-10)

Bug Fixes

1.6.14 (2023-06-04)

Bug Fixes

  • Refactor CoCreate.config.js to remove hard-coded credentials (b8ccb09)

1.6.13 (2023-06-04)

Bug Fixes

  • replaced secert GITHUB_TOKEN with GITHUB (63cfd44)
  • Update dependencies versions for @cocreate libraries (852c36f)

1.6.12 (2023-06-04)

Bug Fixes

  • semantic-release: worklow error solved by running node version 14 (47f96fc)

1.6.11 (2023-06-02)

Bug Fixes

1.6.10 (2023-05-21)

Bug Fixes

1.6.9 (2023-05-19)

Bug Fixes

  • apikey renamed to key (f87349d)
  • update packages to latest version. This commit updates various packages in the dependencies section of the package.json file to their latest published versions, thereby fixing multiple bugs and improving overall performance. (5a30def)

1.6.8 (2023-05-06)

Bug Fixes

1.6.7 (2023-05-01)

Bug Fixes

  • update manifest.json to manifest.webmanifest (47ddd59)

1.6.6 (2023-05-01)

Bug Fixes

  • replace fontawesome with svg (edf0151)

1.6.5 (2023-04-30)

Bug Fixes

  • fullscreen target updated to fullscreen fullscreen-target (7d1068c)
  • package-lock.json and pnpm-lock.yaml added to .gitignore (edd55f8)
  • removed toogle fullscreen icons. now using css content (fcb6a3f)

1.6.4 (2023-04-24)

Bug Fixes

  • updated worrkflows to v3 and node version 16 (a04c8c6)

1.6.3 (2023-04-24)

Bug Fixes

  • workflow node version updated 16 (5d19e3a)

1.6.2 (2023-04-24)

Bug Fixes

1.6.1 (2023-04-24)

Bug Fixes

  • removed uglifyjs-webpack-plugin (67d8ed0)

1.6.0 (2023-04-24)

Features

1.5.6 (2023-04-11)

Bug Fixes

1.5.5 (2023-04-11)

Bug Fixes

1.5.4 (2023-04-11)

Bug Fixes

  • renamed domains to hosts (326bda5)

1.5.3 (2023-03-30)

Bug Fixes

1.5.2 (2023-03-16)

Bug Fixes

1.5.1 (2023-03-16)

Bug Fixes

1.5.0 (2023-03-16)

Features

  • replaced get-value and set-value with a super charged version of CoCreate-events (4d44548)

1.4.90 (2023-02-01)

Bug Fixes

1.4.89 (2023-01-31)

Bug Fixes

1.4.88 (2023-01-30)

Bug Fixes

1.4.87 (2023-01-29)

Bug Fixes

1.4.86 (2023-01-29)

Bug Fixes

1.4.85 (2023-01-27)

Bug Fixes

1.4.84 (2023-01-13)

Bug Fixes

1.4.83 (2023-01-10)

Bug Fixes

1.4.82 (2023-01-09)

Bug Fixes

1.4.81 (2023-01-06)

Bug Fixes

1.4.80 (2023-01-05)

Bug Fixes

1.4.79 (2023-01-01)

Bug Fixes

1.4.78 (2022-12-31)

Bug Fixes

1.4.77 (2022-12-30)

Bug Fixes

  • update config sources to use template braces with entry on src (3f00de7)

1.4.76 (2022-12-29)

Bug Fixes

1.4.75 (2022-12-27)

Bug Fixes

1.4.74 (2022-12-25)

Bug Fixes

1.4.73 (2022-12-23)

Bug Fixes

1.4.72 (2022-12-22)

Bug Fixes

1.4.71 (2022-12-22)

Bug Fixes

  • update demos and bump dependencies (93256d5)

1.4.70 (2022-12-21)

Bug Fixes

1.4.69 (2022-12-20)

Bug Fixes

1.4.68 (2022-12-15)

Bug Fixes

  • add missing dev dependency style-loader (6dfda9d)

1.4.67 (2022-12-13)

Bug Fixes

  • removed un used devDependencies (42ab3a8)

1.4.66 (2022-12-13)

Bug Fixes

1.4.65 (2022-12-12)

Bug Fixes

1.4.64 (2022-12-11)

Bug Fixes

1.4.63 (2022-12-09)

Bug Fixes

1.4.62 (2022-12-08)

Bug Fixes

1.4.61 (2022-12-07)

Bug Fixes

1.4.60 (2022-12-04)

Bug Fixes

  • bump dependencies (a5395bb)
  • getObjectValueByPath renamed to getValueFromObject (64ea1be)

1.4.59 (2022-12-02)

Bug Fixes

1.4.58 (2022-12-02)

Bug Fixes

1.4.57 (2022-11-28)

Bug Fixes

1.4.56 (2022-11-28)

Bug Fixes

1.4.55 (2022-11-27)

Bug Fixes

1.4.54 (2022-11-26)

Bug Fixes

1.4.53 (2022-11-25)

Bug Fixes

  • bump dependencies (f8d7763)
  • CoCreate.crud.default removed bug causing default object (3219cf8)

1.4.52 (2022-11-24)

Bug Fixes

1.4.51 (2022-11-23)

Bug Fixes

1.4.50 (2022-11-22)

Bug Fixes

  • apply src: {{source}} to CoCreate.config (b93b32a)
  • workflow docs (6e30fd7)

1.4.49 (2022-11-21)

Bug Fixes

1.4.48 (2022-11-21)

Bug Fixes

  • replaced document_id with document._id (5951ac8)

1.4.47 (2022-11-21)

Bug Fixes

1.4.46 (2022-11-21)

Bug Fixes

  • bump d@cocreate ependencies (bfbb0ab)

1.4.45 (2022-11-21)

Bug Fixes

  • renamed data.data to data.document (811c82d)
  • setVaremoved element param from getValue (2987ad1)
  • update crud functions to receive an array of objects as the response (e6f7da7)

1.4.44 (2022-10-02)

Bug Fixes

1.4.43 (2022-10-02)

Bug Fixes

  • bump @cocreate/hosting and @cocreate/socket-client (1e08814)

1.4.42 (2022-10-01)

Bug Fixes

1.4.41 (2022-09-30)

Bug Fixes

1.4.40 (2022-09-30)

Bug Fixes

1.4.39 (2022-09-30)

Bug Fixes

1.4.38 (2022-09-30)

Bug Fixes

1.4.37 (2022-09-30)

Bug Fixes

1.4.36 (2022-09-29)

Bug Fixes

  • config renameed to CoCreateConfig (e967d8f)

1.4.35 (2022-09-01)

Bug Fixes

1.4.34 (2022-07-25)

Bug Fixes

  • crud.read no longer needs param isFlat (57df684)

1.4.33 (2022-06-18)

Bug Fixes

1.4.32 (2022-06-12)

Bug Fixes

1.4.31 (2022-05-23)

Bug Fixes

1.4.30 (2022-05-19)

Bug Fixes

  • update document_id on link index.css (0cb3b64)

1.4.29 (2022-05-06)

Bug Fixes

  • update config organization_Id to organization_id (ec96a8d)

1.4.28 (2022-02-24)

Bug Fixes

  • CoCreate.config replace CoCreate.app with * (40c22f8)

1.4.27 (2022-02-16)

Bug Fixes

1.4.26 (2022-02-10)

Bug Fixes

1.4.25 (2022-02-07)

Bug Fixes

  • bump dependency versions (91fc715)

1.4.24 (2022-02-03)

Bug Fixes

  • replaced show and hide class hidden with attribute hidden (cbc34bf)

1.4.23 (2022-02-01)

Bug Fixes

  • update dependency versions (ee030a2)

1.4.22 (2022-01-01)

Bug Fixes

  • get-value attribute value now supports a selector added # to all values currently in get-value attributes (f66611f)

1.4.21 (2021-12-15)

Bug Fixes

1.4.20 (2021-12-14)

Bug Fixes

1.4.19 (2021-11-27)

Bug Fixes

1.4.18 (2021-11-27)

Bug Fixes

1.4.17 (2021-11-27)

Bug Fixes

  • update docs api and cocreateJS script (3037dcf)

1.4.16 (2021-11-26)

Bug Fixes

1.4.15 (2021-11-26)

Bug Fixes

1.4.14 (2021-11-23)

Bug Fixes

1.4.13 (2021-11-20)

Bug Fixes

1.4.12 (2021-11-18)

Bug Fixes

1.4.11 (2021-11-16)

Bug Fixes

1.4.10 (2021-11-15)

Bug Fixes

1.4.9 (2021-11-11)

Bug Fixes

1.4.8 (2021-11-06)

Bug Fixes

1.4.7 (2021-11-04)

Bug Fixes

  • minor bugs and clean code (cb68172)

1.4.6 (2021-11-04)

Bug Fixes

  • getAttribute error resolved, the element pickr was sending to crud was the replaced element so it no longer existed (3e80cc3)

1.4.5 (2021-11-04)

Bug Fixes

1.4.4 (2021-11-04)

Bug Fixes

1.4.3 (2021-11-03)

Bug Fixes

  • dispatch event was firing when not needed (818c24e)

1.4.2 (2021-11-02)

Bug Fixes

1.4.1 (2021-11-02)

Bug Fixes

  • changed onload to an init() as the component can be loaded after page load (e65b931)

1.4.0 (2021-11-02)

Features

  • added setValue function to dom element so other CoCreate components can easily set a value (adbee16)

1.3.1 (2021-11-01)

Bug Fixes

  • update package dependencies (451ad6c)

1.3.0 (2021-11-01)

Features

  • sets the value in the dom.element refrence as getValue all cocreate components are doing this making it a simple unified way to get an elements value regardless of what component (f65e128)

1.2.34 (2021-10-29)

Bug Fixes

1.2.33 (2021-10-17)

Bug Fixes

1.2.32 (2021-10-16)

Bug Fixes

  • update socket package to fix bug in docs (2a0cbdd)

1.2.31 (2021-10-15)

Bug Fixes

1.2.30 (2021-10-15)

Bug Fixes

1.2.29 (2021-10-15)

Bug Fixes

1.2.28 (2021-10-13)

Bug Fixes

1.2.27 (2021-10-13)

Bug Fixes

1.2.26 (2021-10-06)

Bug Fixes

1.2.25 (2021-10-05)

Bug Fixes

  • update dependencies (159b3ab)
  • website_id in CoCreate.config (57237ea)

1.2.24 (2021-10-04)

Bug Fixes

1.2.23 (2021-10-04)

Bug Fixes

1.2.22 (2021-10-01)

Bug Fixes

1.2.21 (2021-10-01)

Bug Fixes

1.2.20 (2021-09-30)

Bug Fixes

1.2.19 (2021-09-28)

Bug Fixes

1.2.18 (2021-09-16)

Bug Fixes

1.2.17 (2021-09-14)

Bug Fixes

  • add cocreate.app to domains (b8aa0ac)

1.2.16 (2021-09-13)

Bug Fixes

1.2.15 (2021-09-12)

Bug Fixes

  • update sidenav to use resize and toggle (1f673c6)

1.2.14 (2021-09-09)

Bug Fixes

  • update dependency @cocreate/docs (929c44a)

1.2.13 (2021-09-09)

Bug Fixes

1.2.12 (2021-09-09)

Bug Fixes

1.2.11 (2021-09-09)

Bug Fixes

  • CoCreate.config directory, path, name and public (1388991)

1.2.10 (2021-09-08)

Bug Fixes

1.2.9 (2021-09-04)

Bug Fixes

1.2.8 (2021-08-31)

Bug Fixes

1.2.7 (2021-08-27)

Bug Fixes

1.2.6 (2021-08-23)

Bug Fixes

  • update package versions (c7e70b1)

1.2.5 (2021-08-22)

Bug Fixes

  • removed data- from main-content, clone, filter-value_type (a1d6c54)

1.2.4 (2021-08-22)

Bug Fixes

1.2.3 (2021-08-22)

Bug Fixes

1.2.2 (2021-08-14)

Bug Fixes

1.2.1 (2021-08-02)

Bug Fixes

  • remove data- from attributes (3bbf1ca)
  • update data-fullscreen to fullscreen (01e4bf2)

1.2.0 (2021-07-28)

Bug Fixes

  • remove data- from fetch, pass and filter (ced46f0)

Features

  • add new is{attribute} system and remove data- from attributtes (5f41004)

1.1.25 (2021-07-17)

Bug Fixes

1.1.24 (2021-07-14)

Bug Fixes

1.1.23 (2021-07-13)

Bug Fixes

  • add yarn lockfile to git ignore (642fd90)
  • remove yarn.lock (b00fb80)

1.1.22 (2021-07-10)

Bug Fixes

1.1.21 (2021-06-30)

Bug Fixes

1.1.20 (2021-06-30)

Bug Fixes

  • automated and manual workflows (58d4f3b)

1.1.19 (2021-06-29)

Bug Fixes

1.1.18 (2021-06-25)

Bug Fixes

  • latest version numbers applied to all cocreate packages (2afa98a)

1.1.17 (2021-06-24)

Bug Fixes

  • package versioningto 1.0.0 (1d2b652)

1.1.16 (2021-06-24)

Bug Fixes

  • add method to turn on and off console.log while in development (2918579)
  • update all @cocreate to use latest versions (16326a9)

1.1.15 (2021-06-23)

Bug Fixes

  • crud.listen updateDocument (b94fa04)

1.1.14 (2021-06-23)

Bug Fixes

  • update to new crud.save and crud.read (a7fc726)

1.1.13 (2021-06-20)

Bug Fixes

  • new mutaionObserver init function (9ccdfa1)

1.1.12 (2021-06-16)

Bug Fixes

1.1.11 (2021-06-07)

Bug Fixes

  • update path to pickr css (11606d5)

1.1.10 (2021-06-06)

Bug Fixes

  • refactor disabledEvent (4db2b9b)
  • remove file duplicate file (794c02a)

1.1.9 (2021-05-18)

Bug Fixes

  • removed package.lock file and fix bug doing multiple crud request (73c4728)

1.1.8 (2021-05-08)

Bug Fixes

  • add css auto parse and save to docs. (6ce103f)

1.1.7 (2021-04-27)

Bug Fixes

1.1.6 (2021-04-27)

Bug Fixes

  • Update to readme, demo, added cdn scripts (6dcc65c)

1.1.5 (2021-04-23)

Bug Fixes

  • readme and documentation. Removed securitykeys (7827e95)

1.1.4 (2021-04-19)

Bug Fixes

  • ci and build process (990d24f)
  • npm publish and cdn deployment (226f649)

1.1.3 (2021-03-31)

Bug Fixes

  • remove yarn.lock and package-lock.json (e1cd14f)

1.1.2 (2021-03-30)

Bug Fixes

1.1.1 (2021-03-29)

Bug Fixes

1.1.0 (2021-03-29)

Features

1.0.0 (2021-03-26)

Features