Skip to content

Commit

Permalink
Development (#2569)
Browse files Browse the repository at this point in the history
* make viewMode optional (#2551)

* introduce a simple overridable function parseInput (#2552)

so that you don't have to know all the internal details when overriding
this just gets 1 input and can return another
Just as formatInput also works (its the opposite)

* fixed #2487, #2495

* fixed #2487, #2495

* fix for #2506

* fix for #2549

* fix for #2549

* pub npm

* pub npm

* package update

Co-authored-by: Johan Compagner <[email protected]>
  • Loading branch information
Eonasdan and jcompagner authored May 15, 2022
1 parent 9c99501 commit b54bb33
Show file tree
Hide file tree
Showing 56 changed files with 3,256 additions and 3,332 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish Package to npm
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Rate on Openbase](https://badges.openbase.com/js/rating/@eonasdan/tempus-dominus.svg)](https://openbase.com/js/@eonasdan/tempus-dominus?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge)

# Tempus Dominus Date/Time Picker v6.0.0-beta5.1
# Tempus Dominus Date/Time Picker v6.0.0-beta7

Tempus Dominus is a powerful and robust date time picker for javascript. Version 6 is another major rewrite over the previous version. V6 is written with modern browsers in mind and is written in typescript. Bootstrap, momentjs and jQuery are no longer required dependencies. Popper2 is all that is required for the picker to position correctly. If you still require jQuery (seriously, you should move off that asap) there's a jQuery provider that wraps the native js functions.

Expand Down
8 changes: 4 additions & 4 deletions dist/js/jQuery-provider.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
///<reference src="js/tempus-dominus"/>
/*global $ */
/*global $, tempusDominus */

/*!
* Tempus Dominus v6.0.0-beta5.1 (https://getdatepicker.com/)
* Copyright 2013-2021 [object Object]
* Tempus Dominus v6.0.0-beta7 (https://getdatepicker.com/)
* Copyright 2013-2021 Jonathan Peterson
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
*/
tempusDominus.jQueryInterface = function (option, argument) {
Expand Down Expand Up @@ -145,9 +145,9 @@ $(document)
}
);
const name = 'tempusDominus';
const JQUERY_NO_CONFLICT = $.fn[name];
$.fn[name] = tempusDominus.jQueryInterface;
$.fn[name].Constructor = tempusDominus.TempusDominus;
const JQUERY_NO_CONFLICT = $.fn[name];
$.fn[name].noConflict = function () {
$.fn[name] = JQUERY_NO_CONFLICT;
return tempusDominus.jQueryInterface;
Expand Down
6 changes: 3 additions & 3 deletions dist/js/jQuery-provider.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b54bb33

Please sign in to comment.