Simple date and time picker in vanilla javascript

Overview

simplepicker

Simple datetime picker in vanilla javascript. This project is mostly based on material-datetime-picker, but without it relying on external dependencies like moment, rome, and materialize.

Installation

Install from npm:

npm install simplepicker

We also started to publish this package (starting from v2.0.0) to GitHub's package registry. If you prefer the installing it from there you will need to follow GitHub's instructions.

Usage

To use simplepicker in your project you will need to include CSS and JavaScript files in dist/ directory. CSS file dist/simplepicker.css is used to style the simplepicker and the JavaScript file required is in dist/simplepicker.js.

If you use build tools, therefore require or ES6 import, you can also require or import simplepicker; if you use typescript you'll need to do import SimplePicker = require('simplepicker');.

If you include the js file in dist folder, SimplePicker is defined using var declaration and is avalible as SimplePicker.

For typescript projects we provide the typescript declaration file with the npm package.

API

This library is exported as a constructor, so you will need to create and instance of the simplepicker.

new SimplePicker([el, opts]):

  • el (optional, string, Element) - this parameter is optional but if no selector or element is passed it defaults to body.

  • opts (optional, object) - possible options:

    • zIndex (number): sets the z-index for the simplepicker.
    • disableTimeSection (boolean): If true disables the time picker section.
    • compactMode (boolean): If true the simplepicker will be more compact; the large display of the selected date, i.e. 25th will not be displayed.
    • selectedDate (Date): initialize the simplepicker with this date, if not used then today will be used

The first argument passed could be opts.

This method creates new simplepicker instance, and inserts it into the dom. It throws error only if the selector passed is not valid.

const simplepicker = new SimplePicker();

Note: You can have two SimplePicker instances but they both must have two diffrent element passed in to bind to otherwise they both will trigger the same event; this is beacuse they both will respond to event triggred by the same element.

// below both picker1 and picker2 are the same.
const picker1 = new SimplePicker();
const picker2 = new SimplePicker();

// but to have to diffrent picker on same page
// you will need to pass a diffrent selector as shown below.
const picker1 = new SimplePicker();
const picker2 = new SimplePicker('.some-element');

simplepicker.open()

This method opens the picker. The picker is hidden automatically when the Cancel button or the overlay is clicked.

If it closed due to an user action the close event is triggred whereas if the user selected an date the submit event it triggred. See on method below to listen to these events.

simplepicker.close()

This method closes the picker without the user's action. Make sure you are not ruining user experience unnecessarily.

simplepicker.reset(date):

  • date (optional, Date) - The date to select after reset. Default is current date (as in new Date()).

Note: This method will overrride what the user may have already selected. Therefore, use it with care considering user experience.

The example below sets resets to a date before showing the picker.

const sp = new SimplePicker();
sp.reset(new Date(2019, 12, 31, 7, 0, 0));
sp.open();

simplepicker.on(event, handler):

  • event (required, string): The name of the event, currently submit, and close are supported.
  • handler (required, function): This handler is called then the event is triggred.

This function attaches a listener to simplepicker, which are called on sepecific events. There could be multiple event listeners for a single event.

Events:

  • submit: handler(date, readableDate) - Called when user selects the date. It is called with two arguments: date is first arguments that is a javascript date object, and the second parameter is readableDate a string with date in format 1st October 2018 12:00 AM.
  • close: handler() - It is called when due to user's action the picker was close. It happens when user clicks the cancel button or the picker overlay. Its handlers are called with no arguments.

simplepicker.disableTimeSection()

This method disables the time picker section.

simplepicker.enableTimeSection()

This method re-enables the time picker section if it was previously disabled.

Comments
  • Default picker time does not match return value

    Default picker time does not match return value

    The default time for the picker shows the local time in the UI, but the default value returned on submit is always 12:00. Changing either the time or date causes the return time value to match the displayed time value. See here

    bug 
    opened by epiqu1n 6
  • Get undefined dates in February

    Get undefined dates in February

    Nice code. Using a cut down version in a ESP8266 project. Noted that not working for the month of February. It is because is spelled wrong. In dist/simplepicker.js e.exports={monthTracker:n,months:["January","Febuary", should be e.exports={monthTracker:n,months:["January","February",

    bug good first issue 
    opened by bbkiwi 6
  • Some problems about using different picker on same page

    Some problems about using different picker on same page

    Hi. There is a problem I cannot understand.

    At first I tried to create two pickers on same page:

    $scope.onClickPlannedShipmentDateTime = function () {
                   var simplepicker = new SimplePicker({
                       zIndex: 10
                   });
    
                   simplepicker.open();
    
                   simplepicker.on('submit', (date, readableDate) => {
                       console.log(date);
                       $scope.transportationOrderManagementModel.PlannedShipmentDateTime = moment(date).format("DD.MM.YYYY HH.mm.ss");
                       $scope.$apply();
                   simplepicker.close();
                       console.log(readableDate);
                   });
    
                   simplepicker.on('close', (date) => {
                       console.log('Picker Closed');
                   });
               }
    
               $scope.onClickPlannedDeliveryDateTime = function () {
                   var simplepickerlannedDeliveryDate = new SimplePicker( {
                       zIndex: 10
                   });
    
                   simplepickerlannedDeliveryDate.open();
    
                   simplepickerlannedDeliveryDate.on('submit', (date, readableDate) => {
                       console.log(date);
                       $scope.transportationOrderManagementModel.PlannedDeliveryDateTime = moment(date).format("DD.MM.YYYY HH.mm.ss");
                       $scope.$apply();
                       simplepickerlannedDeliveryDate.close();
                       console.log(readableDate);
                   });
    
                   simplepickerlannedDeliveryDate.on('close', (date) => {
                       console.log('Picker Closed');
                   });
               }
               
           };
    

    But when I change the second picker value at the same time the first picker is set with the same value.

    And then, I tried to create a picker with a selector but it is didn't open. There is no error at the console.

    var simplepicker = new SimplePicker(".plannedShipmentDateTime");
    ....
    var simplepickerlannedDeliveryDate= new SimplePicker(".plannedDeliveryDateTime");
    

    I think that it may be about z-index and than I tried like that but it didn't open:

    var simplepicker = new SimplePicker(".plannedShipmentDateTime", {
                        zIndex: 10
                    });
    ...
    var simplepickerlannedDeliveryDate = new SimplePicker(".plannedDeliveryDateTime", {
                        zIndex: 10
                    });
    

    Can you help me?

    bug 
    opened by mhkoca 5
  • New Functionality and bug fixing

    New Functionality and bug fixing

    Hello, I've added the following:

    • Description to the reset method so developers understand that this overrides the date
    • Fixed an important bug as the selector was not used and therefore it was not working with more than 1 picker
    • Fixed some indentation recommended.
    • Implemented the reset method so developer can change the current selected date.
    • Implemented a new opts.selectedDate so developers can initialize the control with a date different than today.
    • Added an index_multi.html to test the multi control.
    opened by crossleyjuan 5
  • selectedDate not working

    selectedDate not working

    Im trying to set the initially selected date of the Picker, but it doesn't seem to work.

    const fromDate = new Date(Date.now() - (7 * 24 * 60 * 60 * 1000));
    
    const pickerFrom = new SimplePicker(pickerContainerFrom, {
      selectedDate: fromDate,
    });
    const pickerTo = new SimplePicker(pickerContainerTo);
    

    I've also tried it with only one picker to make sure the error is not caused by my multiple Picker setup.

    const fromDate = new Date(Date.now() - (7 * 24 * 60 * 60 * 1000));
    
    const pickerFrom = new SimplePicker({
      selectedDate: fromDate,
    });
    
    bug help wanted 
    opened by Eschon 4
  • Picker is always inserted directly under document body

    Picker is always inserted directly under document body

    Regardless of if an element or a selector is passed to the constructor, the picker is always inserted directly under the body instead of replacing or inserting into (either would be fine) the element.

    image image

    Tested on latest versions of Chrome and Firefox

    opened by epiqu1n 4
  • Two pickers result in empty calendar

    Two pickers result in empty calendar

    Instantiating two date picker, leaving the first constructor empty and pass an element to the second as the README demonstrates, the first date picker would have an empty calendar when opened. After switching month, the date list comes back. Is it a bug or the way I use is not correct?

    Thanks,

    bug 
    opened by qyzh195 4
  • Create 2 simple date picker in one page

    Create 2 simple date picker in one page

    when i submit datepicker, my event submit always run to all my datepicker. ex: when i try submit myPicker2 , myPicker always triggered too. are something wrong with my code?

    this is my code : `

    		var myPicker2 = new SimplePicker();
    		var myPicker = new SimplePicker();
    		$('.choose-date1').click(function(event) {
    			myPicker.open();
    		});
    		$('.choose-date2').click(function(event) {
    			myPicker2.open();
    
    		});
    		myPicker.on('submit', function(date, readableDate){
    			console.log('pciker1');
    			$('#day1').html(convert_date(date.getDate()));
    			var full = my_month(date.getUTCMonth())+','+date.getUTCFullYear()+'<br>'+my_day(date.getDay());
    			$('#all_date1').html(full);
    			var full2 = date.getUTCFullYear()+'/'+date.getUTCMonth()+'/'+convert_date(date.getDate())
    			$('#date1').val(full2);
    		});
    
    
    		myPicker2.on('submit', function(date, readableDate){
    			console.log('pciker2');
    			
    			$('#day2').html(convert_date(date.getDate()));
    			var full3 = my_month(date.getUTCMonth())+','+date.getUTCFullYear()+'<br>'+my_day(date.getDay());
    			$('#all_date2').html(full3);
    			var full4 = date.getUTCFullYear()+'/'+date.getUTCMonth()+'/'+convert_date(date.getDate())
    			$('#date2').val(full3);
    		});`
    
    opened by dikyridhlo 4
  • Text-align center day abbreviations

    Text-align center day abbreviations

    I am using simplepicker at work in a Bootstrap 4-powered site, and their CSS reset stylesheet resets the browser default text-align: center on <th> elements, which messes up the picker's appearance. All this PR does is add an explicit text-align: center on the th selector for day abbreviations so the appearance remains the same. A case could be made against this, but I'm of the thought that if I'm importing a library, it keeps an consistent appearance at all times. So visually, this change changes nothing but makes the design a little more bullet-proof.

    Thank you for making this, BTW! I've been looking for a nice, jQuery/dependency-free datetime picker for a while and this is exactly what I've wanted. 😃

    opened by le717 4
  • When using index-multi.html on local wampserver, arrows jumps 2 months ahead

    When using index-multi.html on local wampserver, arrows jumps 2 months ahead

    When I use the "multi picker on same page" on https://priyank-p.github.io/simplepicker/index-multi.html, it works beautifully. But when I import index-multi.html on my local website using wampserver without changing or modifying any of the code at all, it doesn't work properly anymore. The arrow jumps 2 months ahead (from april to june to august etc... and same going backward). I'm clueless. Again, I haven't changed the code at all, I just copied index-multi.html on my local folder and it won't work like it does on https://priyank-p.github.io/simplepicker/index-multi.html. Any ideas?

    opened by dudanesk 3
  • How to clean a date from input

    How to clean a date from input

    I'm setting the value of an input with the selected date, and the picker appears when the input is clicked.

    There is no button / option as far as I can tell, that allows to delete the value from the input.

    How do others handle cleaning the values from inputs?

    opened by ppazos 2
  • build(deps): bump json5, ts-loader, css-loader, mini-css-extract-plugin, webpack and webpack-cli

    build(deps): bump json5, ts-loader, css-loader, mini-css-extract-plugin, webpack and webpack-cli

    Bumps json5 to 2.2.2 and updates ancestor dependencies json5, ts-loader, css-loader, mini-css-extract-plugin, webpack and webpack-cli. These dependencies need to be updated together.

    Updates json5 from 2.1.0 to 2.2.2

    Release notes

    Sourced from json5's releases.

    v2.2.2

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295).

    v2.2.1

    • Fix: Removed dependence on minimist to patch CVE-2021-44906. (#266)

    v2.2.0

    • New: Accurate and documented TypeScript declarations are now included. There is no need to install @types/json5. (#236, #244)

    v2.1.3 [code, diff]

    • Fix: An out of memory bug when parsing numbers has been fixed. (#228, #229)

    v2.1.2

    • Fix: Bump minimist to v1.2.5. (#222)

    v2.1.1

    • New: package.json and package.json5 include a module property so bundlers like webpack, rollup and parcel can take advantage of the ES Module build. (#208)
    • Fix: stringify outputs \0 as \\x00 when followed by a digit. (#210)
    • Fix: Spelling mistakes have been fixed. (#196)
    Changelog

    Sourced from json5's changelog.

    v2.2.2 [code, diff]

    • Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a prototype pollution vulnerability reported by Jonathan Gregson! (#295).

    v2.2.1 [code, diff]

    • Fix: Removed dependence on minimist to patch CVE-2021-44906. (#266)

    v2.2.0 [code, diff]

    • New: Accurate and documented TypeScript declarations are now included. There is no need to install @types/json5. (#236, #244)

    v2.1.3 [code, diff]

    • Fix: An out of memory bug when parsing numbers has been fixed. (#228, #229)

    v2.1.2 [code, diff]

    • Fix: Bump minimist to v1.2.5. (#222)

    v2.1.1 [code, diff]

    • New: package.json and package.json5 include a module property so bundlers like webpack, rollup and parcel can take advantage of the ES Module build. (#208)
    • Fix: stringify outputs \0 as \\x00 when followed by a digit. (#210)
    • Fix: Spelling mistakes have been fixed. (#196)
    Commits
    • 14f8cb1 2.2.2
    • 10cc7ca docs: update CHANGELOG for v2.2.2
    • 7774c10 fix: add proto to objects and arrays
    • edde30a Readme: slight tweak to intro
    • 97286f8 Improve example in readme
    • d720b4f Improve readme (e.g. explain JSON5 better!) (#291)
    • 910ce25 docs: fix spelling of Aseem
    • 2aab4dd test: require tap as t in cli tests
    • 6d42686 test: remove mocha syntax from tests
    • 4798b9d docs: update installation and usage for modules
    • Additional commits viewable in compare view

    Updates ts-loader from 5.4.3 to 9.4.2

    Release notes

    Sourced from ts-loader's releases.

    v9.4.2

    9.4.1

    v9.4.0

    v9.3.1

    v9.3.0

    v9.2.9

    v9.2.8

    v9.2.7

    v9.2.6

    v9.2.5

    v9.2.4

    v9.2.3

    v9.2.2

    v9.2.1

    v9.2.0

    v9.1.2

    v9.1.1

    ... (truncated)

    Changelog

    Sourced from ts-loader's changelog.

    9.4.2

    9.4.1

    v9.4.0

    v9.3.1

    v9.3.0

    v9.2.9

    v9.2.8

    v9.2.7

    v9.2.6

    v9.2.5

    v9.2.4

    v9.2.3

    v9.2.2

    ... (truncated)

    Commits
    • 5e7220b Use custom transformer when building solution references (#1550)
    • 87a9fff add missing comma in README.md (#1551)
    • 620ee79 Typescript 4 9 (#1547)
    • 3319b91 chore(deps): bump minimatch in /examples/project-references-example (#1530)
    • 60e5784 Fix anchor jumping in README.md (#1521)
    • 5c66d2b Update outdated LICENSE year (#1513)
    • 64a4136 Bump terser from 4.8.0 to 4.8.1 in /examples/project-references-example (#1489)
    • cf1d227 Bump lodash in /test/execution-tests/babel-codeSplitting (#1435)
    • e76abb0 Add Tests and Remarks Concerning the New .cts And .mts File Extensions (#...
    • d9fcbfd Hotfix: Disable enhanced-resolve (#1506)
    • Additional commits viewable in compare view

    Updates css-loader from 0.28.11 to 6.7.3

    Release notes

    Sourced from css-loader's releases.

    v6.7.3

    6.7.3 (2022-12-14)

    Bug Fixes

    v6.7.2

    6.7.2 (2022-11-13)

    Bug Fixes

    • css modules generation with inline syntax (#1480) (2f4c273)

    v6.7.1

    6.7.1 (2022-03-08)

    Bug Fixes

    v6.7.0

    6.7.0 (2022-03-04)

    Features

    v6.6.0

    6.6.0 (2022-02-02)

    Features

    • added the hashStrategy option (ca4abce)

    v6.5.1

    6.5.1 (2021-11-03)

    Bug Fixes

    • regression with unicode characters in locals (b7a8441)
    • runtime path generation (#1393) (feafea8)

    v6.5.0

    ... (truncated)

    Changelog

    Sourced from css-loader's changelog.

    6.7.3 (2022-12-14)

    Bug Fixes

    6.7.2 (2022-11-13)

    Bug Fixes

    • css modules generation with inline syntax (#1480) (2f4c273)

    6.7.1 (2022-03-08)

    Bug Fixes

    6.7.0 (2022-03-04)

    Features

    6.6.0 (2022-02-02)

    Features

    • added the hashStrategy option (ca4abce)

    6.5.1 (2021-11-03)

    Bug Fixes

    • regression with unicode characters in locals (b7a8441)
    • runtime path generation (#1393) (feafea8)

    6.5.0 (2021-10-26)

    Features

    • support absolute URL in url() when experiments.buildHttp enabled (#1389) (8946be4)

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by evilebottnawi, a new releaser for css-loader since your current version.


    Updates mini-css-extract-plugin from 0.4.5 to 2.7.2

    Release notes

    Sourced from mini-css-extract-plugin's releases.

    v2.7.2

    2.7.2 (2022-12-06)

    Bug Fixes

    v2.7.1

    2.7.1 (2022-11-29)

    Bug Fixes

    v2.7.0

    2.7.0 (2022-11-16)

    Features

    • add function support for locals (loader) (#985) (65519d0)

    v2.6.1

    2.6.1 (2022-06-15)

    Bug Fixes

    • do not attempt hot reloading when emit is false (#953) (b426f04)

    v2.6.0

    2.6.0 (2022-03-03)

    Features

    • added baseUri option support (from entry options) (#915) (6004d95)

    v2.5.3

    2.5.3 (2022-01-25)

    Bug Fixes

    v2.5.2

    2.5.2 (2022-01-17)

    ... (truncated)

    Changelog

    Sourced from mini-css-extract-plugin's changelog.

    2.7.2 (2022-12-06)

    Bug Fixes

    2.7.1 (2022-11-29)

    Bug Fixes

    2.7.0 (2022-11-16)

    Features

    • add function support for locals (loader) (#985) (65519d0)

    2.6.1 (2022-06-15)

    Bug Fixes

    • do not attempt hot reloading when emit is false (#953) (b426f04)

    2.6.0 (2022-03-03)

    Features

    • added baseUri option support (from entry options) (#915) (6004d95)

    2.5.3 (2022-01-25)

    Bug Fixes

    2.5.2 (2022-01-17)

    Bug Fixes

    2.5.1 (2022-01-17)

    ... (truncated)

    Commits

    Updates webpack from 4.28.3 to 5.75.0

    Release notes

    Sourced from webpack's releases.

    v5.75.0

    Bugfixes

    • experiments.* normalize to false when opt-out
    • avoid NaN%
    • show the correct error when using a conflicting chunk name in code
    • HMR code tests existance of window before trying to access it
    • fix eval-nosources-* actually exclude sources
    • fix race condition where no module is returned from processing module
    • fix position of standalong semicolon in runtime code

    Features

    • add support for @import to extenal CSS when using experimental CSS in node
    • add i64 support to the deprecated WASM implementation

    Developer Experience

    • expose EnableWasmLoadingPlugin
    • add more typings
    • generate getters instead of readonly properties in typings to allow overriding them

    v5.74.0

    Features

    • add resolve.extensionAlias option which allows to alias extensions
      • This is useful when you are forced to add the .js extension to imports when the file really has a .ts extension (typescript + "type": "module")
    • add support for ES2022 features like static blocks
    • add Tree Shaking support for ProvidePlugin

    Bugfixes

    • fix persistent cache when some build dependencies are on a different windows drive
    • make order of evaluation of side-effect-free modules deterministic between concatenated and non-concatenated modules
    • remove left-over from debugging in TLA/async modules runtime code
    • remove unneeded extra 1s timestamp offset during watching when files are actually untouched
      • This sometimes caused an additional second build which are not really needed
    • fix shareScope option for ModuleFederationPlugin
    • set "use-credentials" also for same origin scripts

    Performance

    • Improve memory usage and performance of aggregating needed files/directories for watching
      • This affects rebuild performance

    Extensibility

    • export HarmonyImportDependency for plugins

    v5.73.0

    ... (truncated)

    Commits

    Updates webpack-cli from 3.2.0 to 5.0.1

    Release notes

    Sourced from webpack-cli's releases.

    v5.0.1

    5.0.1 (2022-12-05)

    Bug Fixes

    • make define-process-env-node-env alias node-env (#3514) (346a518)

    v5.0.0

    5.0.0 (2022-11-17)

    Bug Fixes

    • improve description of the --disable-interpret option (#3364) (bdb7e20)
    • remove the redundant utils export (#3343) (a9ce5d0)
    • respect NODE_PATH env variable (#3411) (83d1f58)
    • show all CLI specific flags in the minimum help output (#3354) (35843e8)

    Features

    • failOnWarnings option (#3317) (c48c848)
    • update commander to v9 (#3460) (6621c02)
    • added the --define-process-env-node-env option
    • update interpret to v3 and rechoir to v0.8
    • add an option for preventing interpret (#3329) (c737383)

    BREAKING CHANGES

    • the minimum supported webpack version is v5.0.0 (#3342) (b1af0dc), closes #3342
    • webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0
    • webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0
    • remove the migrate command (#3291) (56b43e4), closes #3291
    • remove the --prefetch option in favor the PrefetchPlugin plugin
    • remove the --node-env option in favor --define-process-env-node-env
    • remove the --hot option in favor of directly using the HotModuleReplacement plugin (only for build command, for serve it will work)
    • the behavior logic of the --entry option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use webpack --entry-reset --entry './src/my-entry.js'

    v4.10.0

    4.10.0 (2022-06-13)

    Bug Fixes

    Features

    v4.9.2

    4.9.2 (2022-01-24)

    ... (truncated)

    Changelog

    Sourced from webpack-cli's changelog.

    5.0.1 (2022-12-05)

    Bug Fixes

    • make define-process-env-node-env alias node-env (#3514) (346a518)

    5.0.0 (2022-11-17)

    Bug Fixes

    • improve description of the --disable-interpret option (#3364) (bdb7e20)
    • remove the redundant utils export (#3343) (a9ce5d0)
    • respect NODE_PATH env variable (#3411) (83d1f58)
    • show all CLI specific flags in the minimum help output (#3354) (35843e8)

    Features

    • failOnWarnings option (#3317) (c48c848)
    • update commander to v9 (#3460) (6621c02)
    • added the --define-process-env-node-env option
    • update interpret to v3 and rechoir to v0.8
    • add an option for preventing interpret (#3329) (c737383)

    BREAKING CHANGES

    • the minimum supported webpack version is v5.0.0 (#3342) (b1af0dc), closes #3342
    • webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0
    • webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0
    • remove the migrate command (#3291) (56b43e4), closes #3291
    • remove the --prefetch option in favor the PrefetchPlugin plugin
    • remove the --node-env option in favor --define-process-env-node-env
    • remove the --hot option in favor of directly using the HotModuleReplacement plugin (only for build command, for serve it will work)
    • the behavior logic of the --entry option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use webpack --entry-reset --entry './src/my-entry.js'

    4.10.0 (2022-06-13)

    Bug Fixes

    Features

    4.9.2 (2022-01-24)

    Bug Fixes

    • respect negatedDescription for flags from schema (#3102) (463b731)

    ... (truncated)

    Commits
    • 4a0f893 chore(release): publish new version
    • 9de982c chore: fix cspell
    • 32d26c8 chore(deps-dev): bump cspell from 6.15.1 to 6.16.0 (#3517)
    • 2788bf9 chore(deps-dev): bump eslint from 8.28.0 to 8.29.0 (#3516)
    • ac88ee4 chore(deps-dev): bump lint-staged from 13.0.4 to 13.1.0 (#3515)
    • 346a518 fix: make define-process-env-node-env alias node-env (#3514)
    • 3ec7b16 chore(deps): bump yeoman-environment from 3.12.1 to 3.13.0 (#3508)
    • c8adfa6 chore(deps-dev): bump @​types/node from 18.11.9 to 18.11.10 (#3513)
    • 0ad8cc2 chore(deps-dev): bump cspell from 6.15.0 to 6.15.1 (#3512)
    • d30f261 chore(deps-dev): bump ts-loader from 9.4.1 to 9.4.2 (#3511)
    • Additional commits viewable in compare view
    Maintainer changes

    This version was pushed to npm by evilebottnawi, a new releaser for webpack-cli since your current version.


    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump express from 4.16.4 to 4.18.2

    build(deps): bump express from 4.16.4 to 4.18.2

    Bumps express from 4.16.4 to 4.18.2.

    Release notes

    Sourced from express's releases.

    4.18.2

    4.18.1

    • Fix hanging on large stack of sync routes

    4.18.0

    ... (truncated)

    Changelog

    Sourced from express's changelog.

    4.18.2 / 2022-10-08

    4.18.1 / 2022-04-29

    • Fix hanging on large stack of sync routes

    4.18.0 / 2022-04-25

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump qs and express

    build(deps): bump qs and express

    Bumps qs and express. These dependencies needed to be updated together. Updates qs from 6.5.2 to 6.11.0

    Changelog

    Sourced from qs's changelog.

    6.11.0

    • [New] [Fix] stringify: revert 0e903c0; add commaRoundTrip option (#442)
    • [readme] fix version badge

    6.10.5

    • [Fix] stringify: with arrayFormat: comma, properly include an explicit [] on a single-item array (#434)

    6.10.4

    • [Fix] stringify: with arrayFormat: comma, include an explicit [] on a single-item array (#441)
    • [meta] use npmignore to autogenerate an npmignore file
    • [Dev Deps] update eslint, @ljharb/eslint-config, aud, has-symbol, object-inspect, tape

    6.10.3

    • [Fix] parse: ignore __proto__ keys (#428)
    • [Robustness] stringify: avoid relying on a global undefined (#427)
    • [actions] reuse common workflows
    • [Dev Deps] update eslint, @ljharb/eslint-config, object-inspect, tape

    6.10.2

    • [Fix] stringify: actually fix cyclic references (#426)
    • [Fix] stringify: avoid encoding arrayformat comma when encodeValuesOnly = true (#424)
    • [readme] remove travis badge; add github actions/codecov badges; update URLs
    • [Docs] add note and links for coercing primitive values (#408)
    • [actions] update codecov uploader
    • [actions] update workflows
    • [Tests] clean up stringify tests slightly
    • [Dev Deps] update eslint, @ljharb/eslint-config, aud, object-inspect, safe-publish-latest, tape

    6.10.1

    • [Fix] stringify: avoid exception on repeated object values (#402)

    6.10.0

    • [New] stringify: throw on cycles, instead of an infinite loop (#395, #394, #393)
    • [New] parse: add allowSparse option for collapsing arrays with missing indices (#312)
    • [meta] fix README.md (#399)
    • [meta] only run npm run dist in publish, not install
    • [Dev Deps] update eslint, @ljharb/eslint-config, aud, has-symbols, tape
    • [Tests] fix tests on node v0.6
    • [Tests] use ljharb/actions/node/install instead of ljharb/actions/node/run
    • [Tests] Revert "[meta] ignore eclint transitive audit warning"

    6.9.7

    • [Fix] parse: ignore __proto__ keys (#428)
    • [Fix] stringify: avoid encoding arrayformat comma when encodeValuesOnly = true (#424)
    • [Robustness] stringify: avoid relying on a global undefined (#427)
    • [readme] remove travis badge; add github actions/codecov badges; update URLs
    • [Docs] add note and links for coercing primitive values (#408)
    • [Tests] clean up stringify tests slightly
    • [meta] fix README.md (#399)
    • Revert "[meta] ignore eclint transitive audit warning"

    ... (truncated)

    Commits
    • 56763c1 v6.11.0
    • ddd3e29 [readme] fix version badge
    • c313472 [New] [Fix] stringify: revert 0e903c0; add commaRoundTrip option
    • 95bc018 v6.10.5
    • 0e903c0 [Fix] stringify: with arrayFormat: comma, properly include an explicit `[...
    • ba9703c v6.10.4
    • 4e44019 [Fix] stringify: with arrayFormat: comma, include an explicit [] on a s...
    • 113b990 [Dev Deps] update object-inspect
    • c77f38f [Dev Deps] update eslint, @ljharb/eslint-config, aud, has-symbol, tape
    • 2cf45b2 [meta] use npmignore to autogenerate an npmignore file
    • Additional commits viewable in compare view

    Updates express from 4.16.4 to 4.18.2

    Release notes

    Sourced from express's releases.

    4.18.2

    4.18.1

    • Fix hanging on large stack of sync routes

    4.18.0

    ... (truncated)

    Changelog

    Sourced from express's changelog.

    4.18.2 / 2022-10-08

    4.18.1 / 2022-04-29

    • Fix hanging on large stack of sync routes

    4.18.0 / 2022-04-25

    ... (truncated)

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump decode-uri-component from 0.2.0 to 0.2.2

    build(deps): bump decode-uri-component from 0.2.0 to 0.2.2

    Bumps decode-uri-component from 0.2.0 to 0.2.2.

    Release notes

    Sourced from decode-uri-component's releases.

    v0.2.2

    • Prevent overwriting previously decoded tokens 980e0bf

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2

    v0.2.1

    • Switch to GitHub workflows 76abc93
    • Fix issue where decode throws - fixes #6 746ca5d
    • Update license (#1) 486d7e2
    • Tidelift tasks a650457
    • Meta tweaks 66e1c28

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • build(deps): bump loader-utils from 1.1.0 to 1.4.2

    build(deps): bump loader-utils from 1.1.0 to 1.4.2

    Bumps loader-utils from 1.1.0 to 1.4.2.

    Release notes

    Sourced from loader-utils's releases.

    v1.4.2

    1.4.2 (2022-11-11)

    Bug Fixes

    v1.4.1

    1.4.1 (2022-11-07)

    Bug Fixes

    v1.4.0

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    v1.3.0

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)

    v1.2.3

    1.2.3 (2018-12-27)

    Bug Fixes

    • interpolateName: don't interpolated hashType without hash or contenthash (#140) (3528fd9)

    v1.2.2

    1.2.2 (2018-12-27)

    Bug Fixes

    ... (truncated)

    Changelog

    Sourced from loader-utils's changelog.

    1.4.2 (2022-11-11)

    Bug Fixes

    1.4.1 (2022-11-07)

    Bug Fixes

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)

    1.2.3 (2018-12-27)

    Bug Fixes

    • interpolateName: don't interpolated hashType without hash or contenthash (#140) (3528fd9)

    1.2.2 (2018-12-27)

    Bug Fixes

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by evilebottnawi, a new releaser for loader-utils since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • having two of these causes each one to jump forwards by 2 months when click next month button

    having two of these causes each one to jump forwards by 2 months when click next month button

    I've got two simplePickers, for starts at and ends at

    var sa_simplePicker = new SimplePicker(['input#starts_at', {zIndex: 100}]); var ea_simplePicker = new SimplePicker(['input#ends_at', {zIndex: 100}]);

    and some simple js to open these when each input is focused. That works fine, but when I have both enabled, in either when popped up, if I click next month it goes forwards two months, And when I close the popup and the on submit function fires, it fires for both (that function just outputs the readableDate to the input value - it ends up in both.

    opened by lauriek 0
Releases(v2.0.4)
  • v2.0.4(May 24, 2021)

  • v2.0.3(Aug 27, 2020)

    v2.0.3

    This release contains 3 bug fixes: #21, #23, #25:

    • Fixed a bug where simplepicker would modify table under it's parent element.
    • Fixed issues with the constructor not working as expected in some cases.
    • Fixed a issue with where the date reported by the submit method differed from the one in UI. This bug was because of the reset method which is also used when created a simplepicker instance.

    Commit changelog

    git log --pretty="- %h: %s" v2.0.2...v2.0.3

    • e55e55802: release: New release v2.0.3.
    • 1302765ce: simplepicker: Fix an issue with the reset method affecting time.
    • 6ad2ed830: simplepicker: Don't modify elements outside the simplepicker elements.
    • 43e9cd316: simplepicker: Don't set this.$simplepicker to wrong el.
    • 8cde1bf6d: simplepicker: Fix logic of the constructor.
    • 131c215c7: build(deps): bump elliptic from 6.4.1 to 6.5.3
    • 5b1786095: dependencies: Update lodash to 4.17.19.
    • 3535ebdf7: dependencies: Upgrade websocket-extensions from 0.1.3 to 0.1.4.
    • ffde497ca: simplepicker: Fix an issue with multiple instances of simplepicker.
    • e27aa1133: Add index-multi demo page.
    Source code(tar.gz)
    Source code(zip)
  • v2.0.2(May 28, 2020)

    v2.0.2

    This release contains a new feature: the reset method. It also contains a minor bugfix #12. We also had a new contributor @crossleyjuan who implemented the reset method feature.

    Changelog

    git log --format='- %h: %s' v2.0.1...v2.0.2:

    • ce128e3eb: release: New release v2.0.2.
    • e4d34992f: simplepicker: Update the time based on the reset date.
    • 29e9fad12: simplepicker: Allow user to pass a date to the reset method.
    • 50027057c: dependencies: bump acorn from 5.7.3 to 5.7.4
    Source code(tar.gz)
    Source code(zip)
  • v2.0.1(Feb 5, 2020)

  • 2.0.0(Jul 4, 2019)

    simplepicker

    Simple datetime picker in vanilla javascript. This project is mostly based on material-datetime-picker, but without it relying on external dependencies like moment, rome, and materialize.

    Usage

    To use simplepicker in your project you will need to include CSS and JavaScript files in dist/ directory. CSS file dist/simplepicker.css is used to style the simplepicker and the JavaScript file required is in dist/simplepicker.js.

    If you use build tools, therefore require or ES6 import, you can also require or import simplepicker; if you use typescript you'll need to do import SimplePicker = require('simplepicker');.

    If you include the js file in dist folder, SimplePicker is defined using var declaration and is avalible as SimplePicker.

    For typescript projects we provide the typescript declaration file with the npm package.

    API

    This library is exported as a constructor, so you will need to create and instance of the simplepicker.

    new SimplePicker([el, opts]):

    • el (optional, string, Element) - this parameter is optional but if no selector or element is passed it defaults to body.

    • opts (optional, object) - possible options:

      • zIndex (number): sets the z-index for the simplepicker.
      • `` (boolean): If true disables the time picker section.
      • compactMode (boolean): If true the simplepicker will be more compact; the large display of the selected date, i.e. 25th will not be displayed.

    The first argument passed could be opts.

    This method creates new simplepicker instance, and inserts it into the dom. It throws error only if the selector passed is not valid.

    const simplepicker = new SimplePicker();
    

    Note: You can have two SimplePicker instances but they both must have two diffrent element passed in to bind to otherwise they both will trigger the same event; this is beacuse they both will respond to event triggred by the same element.

    // below both picker1 and picker2 are the same.
    const picker1 = new SimplePicker();
    const picker2 = new SimplePicker();
    
    // but to have to diffrent picker on same page
    // you will need to pass a diffrent selector as shown below.
    const picker1 = new SimplePicker();
    const picker2 = new SimplePicker('.some-element');
    

    simplepicker.open()

    This method opens the picker. The picker is hidden automatically when the Cancel button or the overlay is clicked.

    If it closed due to an user action the close event is triggred whereas if the user selected an date the submit event it triggred. See on method below to listen to these events.

    simplepicker.close()

    This method closes the picker without the user's action. Make sure you are not ruining user experience unnecessarily.

    simplepicker.on(event, handler):

    • event (required, string): The name of the event, currently submit, and close are supported.
    • handler (required, function): This handler is called then the event is triggred.

    This function attaches a listener to simplepicker, which are called on sepecific events. There could be multiple event listeners for a single event.

    Events:

    • submit: handler(date, readableDate) - Called when user selects the date. It is called with two arguments: date is first arguments that is a javascript date object, and the second parameter is readableDate a string with date in format 1st October 2018 12:00 AM.
    • close: handler() - It is called when due to user's action the picker was close. It happens when user clicks the cancel button or the picker overlay. Its handlers are called with no arguments.

    simplepicker.disableTimeSection()

    This method disables the time picker section.

    simplepicker.enableTimeSection()

    This method re-enables the time picker section if it was previously disabled.

    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(Feb 14, 2019)

    v2.0.0 - Critical Bug Fix Release

    This version fixes an critical bug where users using firefox browser were facing an issue where the date, month displayed "NaN" and "undefined". See issue #6 for more details.

    Source code(tar.gz)
    Source code(zip)
  • v1.2.4(Jan 3, 2019)

    v1.2.4

    This version fixes an issue where if there are two instances of simplepicker, opening one of them would make the calendar section blank. (#5)

    Source code(tar.gz)
    Source code(zip)
  • v1.2.3(Oct 13, 2018)

  • v1.2.2(Sep 6, 2018)

    Changes

    This release contains bug fixes:

    • Fixed issue where readable date was not updated.
    • Made the size of picker 310px, on some browsers the calender was cut-off from the right side which fixes this issue.

    Commits

    git log v1.2.1...v1.2.2 --reverse --oneline --format=' * %h: %s':

    • b57c0aa: relase: new release v1.2.0.
    • aa14116: relase: new release v1.2.1.
    • bdbe61c: simplepicker: fix an issue where readable date is not updated.
    • 26d74d9: simplepicker: make the size 310px.
    • d872ac2: npm-scripts: make prepare script to prepack.
    • 856a81e: relase: new relase v1.2.2.
    Source code(tar.gz)
    Source code(zip)
  • v1.2.1(Sep 2, 2018)

  • v1.2.0-beta(Sep 1, 2018)

  • v1.2.0(Sep 1, 2018)

    v1.2.0

    This version contains lots of improvements and bug fixes. - Fixed an issue with the time not being passed to date. - The default value for the constructor is body tag. - Fixed the typescript declaration file where the open function was show.

    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(Aug 31, 2018)

    v1.1.0

    This is the first major release, with lots of improvements: - Solve a bug where correct time was not being passed. - We now pass readableDate as the second parameter to submit event callback. - Finished up the button design for the picker. - Fixed problems with dist/ folder for node/commonjs bundle. - Made various improvements in development mode.

    Full Commit changelog

    Commits (git log --oneline --reverse v1.0.0...v1.1.0 --format='- %h: %s'):

    • 353c3e4: webpack-config: use node target for common.js.
    • 4093b5a: webpack-config: rename common bundle to node.
    • 178b7b3: webpack-config: do not modify base config directly.
    • eb2d69b: Add webpack.config.js.
    • f0bd66b: webpack: remove building for node.
    • 3dcba00: package.json: change main file to lib/index.js and include it in files.
    • a0d6e7e: devlopment: add webpack-dev-server.
    • 44bbd1f: lib: fix a type.
    • c3ae02f: simplepicker: make design of buttons more nicer.
    • ae1a7ef: simplepicker: make the button color consistent.
    • e4a10e8: index.html: add event log.
    • 827fc50: simplepicker: fix date not having time.
    • 5b45846: simplepicker: add support for readble date.
    • ea8dd58: simplepicker: add acroymn to readable date.
    • 657221e: webpack: mave dev mode faster.
    • f428ca1: simplepicker: fade time and date element when toggled.
    • 092960c: Add experimental typescript declaration file.
    • a5b0834: relase: new release v1.1.0.
    Source code(tar.gz)
    Source code(zip)
Colr Pickr, a vanilla JavaScript color picker component built with SVGs, with features like saving colors. Similar design to the chrome-dev-tools color picker.

Colr Pickr Colr Pickr, a vanilla JavaScript color picking component built with SVGs, with features like saving colors. Similar design to the chrome-de

TEK 27 Jun 27, 2022
A JavaScript component that is a date & time range picker, no need to build, no dependencies except Moment.js, that is based on Dan Grossman's bootstrap-daterangepicker.

vanilla-datetimerange-picker Overview. A JavaScript component that is a date & time range picker, no need to build, no dependencies except Moment.js,

null 22 Dec 6, 2022
A simplified jQuery date and time picker

jSunPicker A simplified jQuery date and time picker Why another Date picker? There are numerous date, time pickers out there. However, each of those l

null 1 May 31, 2022
A super-lightweight, highly configurable, cross-browser date / time picker jQuery plugin

Zebra Datepicker A super-lightweight, highly configurable, cross-browser date/time picker jQuery plugin Zebra_Datepicker is a small yet and highly con

Stefan Gabos 391 Dec 29, 2022
Bootstrap Persian/Gregorian Date Time Picker

MD.BootstrapPersianDateTimePicker Bootstrap 5+ Persian And Gregorian Date Time Picker Major changes: Using Bootstrap 5 jQuery Removed Rewrite all code

Mohammad Dayyan 305 Nov 23, 2022
this is a single-page web application. we built a book website where the user can add , remove and display books. we used modules to implement these functionalities. also, we used the Date class to display the date and time.

Awsome Books In this Project, we have built A Books websites. Built With ?? HTML CSS javascript Git & Github Live Demo Here you can find the live Demo

Nedjwa Bouraiou 10 Aug 3, 2022
Tool Cool Color Picker is a color picker library written in typescript and using web component technologies.

Tool Cool Color Picker Tool Cool Color Picker is a color picker library written in typescript and using web component technologies. Check out the demo

Tool Cool 13 Oct 23, 2022
A jQuery Plug-in to select the time with a clock inspired by the Android time picker.

Clock Timepicker Plugin for jQuery See a demo here A free jQuery Plug-in to select the time with a clock inspired by the Android time picker. This plu

Andy 51 Dec 22, 2022
📆 The modern, open source "Airbnb style" date picker.

Date Picker A pretty, modern date picker. Coming soon. ?? Get Started wip wip ?? Testing pnpm test ?? Changelog Please see our releases page for more

Open Web Foundation 8 Oct 11, 2022
Vanilla javascript emoji picker

FG Emoji Picker - Emoji picker created with vanilla javascript This is the simplest to use emoji picker built with vanilla javascript. Benefits: It is

null 41 Dec 16, 2022
This is just a script I put together to check and notify me via email (MailGun) when there's an earlier date before my initial appointment date. It doesn't handle rescheduling.

US-visa-appointment-notifier This is just a script I put together to check and notify me via email (MailGun) when there's an earlier date before my in

Theophilus Omoregbee 13 Jan 4, 2023
Quick access to view the current time and date in Ethiopian calendar.

Ethiopian-Current-time-chrome-extension Quick access to view the current time and date in Ethiopian calendar. steps to follow:- Extract the zip folder

null 10 Aug 26, 2022
A simple color picker application written in pure JavaScript, for modern browsers.

Color Picker A simple color picker application written in pure JavaScript, for modern browsers. Has support for touch events. Touchy… touchy… Demo and

Taufik Nurrohman 207 Dec 14, 2022
Um date time simples com frases do nosso Deus toguro 📅

toguro-datetime Um date time simples com frases do nosso Deus toguro ?? Como utilizar o pacote ? ?? Instale o pacote ?? npm -i toguro-datetime | ya

Paulo Henrique 7 Oct 23, 2022
Flat and simple color-picker library. No dependencies, no jquery.

Flat and simple color-picker Fully Featured demo Features Simple: The interface is straight forward and easy to use. Practical: Multiple color represe

Ivan Matveev 15 Nov 14, 2022
🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library.

?? Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!

Simon 3.9k Dec 27, 2022
A simple emotion picker that displays all the supported GitHub emojis :octocat:.

github-emoji-picker A simple Emoji picker that displays all the emojis that GitHub supports. It is automatically generated from GitHub Emoji API and U

Rick Staa 80 Dec 27, 2022
This is a vanilla Node.js rest API created to show that it is possible to create a rest API using only vanilla Node.js

This is a vanilla Node.js rest API created to show that it is possible to create a rest API using only vanilla Node.js. But in most cases, I would recommend you to use something like Express in a production project for productivity purposes.

Eduardo Dantas 7 Jul 19, 2022