Skip to content
This repository has been archived by the owner on Dec 15, 2017. It is now read-only.

Add "Calendar" object for using with calendars other than Georgian #250

Open
wants to merge 776 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
776 commits
Select commit Hold shift + click to select a range
d262698
Allow the user to style individual calendar days
sdeken Aug 16, 2016
c633b59
Update README.md
Eonasdan Aug 17, 2016
50f38ea
fixing
Eonasdan Aug 17, 2016
295db97
Merge branch 'development' of https://github.com/Eonasdan/bootstrap-d…
Eonasdan Aug 17, 2016
70570dc
Update _bootstrap-datetimepicker.scss
baszczewski Aug 23, 2016
fe17da2
Merge pull request #1635 from kibs/bugfix/rouge-plus
Eonasdan Aug 27, 2016
c3e46cc
Merge pull request #1749 from baszczewski/patch-1
Eonasdan Sep 5, 2016
dc0a3ce
Fix issue #1065: Can't use minDate with stepping
johnnyRose Sep 11, 2016
8980e3f
Merge pull request #1780 from johnnyRose/development
Eonasdan Sep 14, 2016
da8757c
README.md typo fix
kaworu Sep 20, 2016
f30e0e2
Fix reset of viewMode option after first focus on input field
Oct 2, 2016
fba1e54
bumpb version
Eonasdan Oct 19, 2016
8e45bfe
added nugetpack to release task
Eonasdan Oct 19, 2016
280d046
[Fix] Allow passing Date()-objects to viewDate()
malthejorgensen Oct 25, 2016
2ddbd7a
Merge pull request #1809 from diegosurita/development
Eonasdan Oct 27, 2016
000c272
Merge pull request #1640 from ToxicTree/patch-1
Eonasdan Oct 27, 2016
84c4d6b
Merge pull request #1796 from kAworu/patch-1
Eonasdan Oct 27, 2016
044aa9c
Merge pull request #1732 from sdeken/development
Eonasdan Oct 27, 2016
108d27c
Merge pull request #1667 from NickBeeuwsaert/development
Eonasdan Oct 27, 2016
f0cb465
Merge pull request #1853 from peergradeio/PR/set-date-with-moment
Eonasdan Oct 27, 2016
3ca9c9e
Fix CommonJS export
memee Sep 6, 2016
3757b31
Merge pull request #1856 from memee/fix-commonjs-check
Eonasdan Oct 31, 2016
137874a
Update composer.json
ozzy-simpson Nov 16, 2016
354b751
Merge pull request #1887 from oznorts/patch-1
Eonasdan Nov 25, 2016
86b24d3
datetimepicker() is not a function => jquery, moment, bootstrap are p…
Guymestef Dec 2, 2016
03d21b3
Fix css style with jQuery 3
btecu Dec 25, 2016
acfd5e9
datetimepicker should be placed within a non-static positioned container
eisa-netlinks Dec 29, 2016
6384819
fixes viewdate
Eonasdan Dec 30, 2016
dad92a9
merge
Eonasdan Dec 30, 2016
6050b7e
Merge pull request #1953 from Eonasdan/master
Eonasdan Dec 31, 2016
d27c445
update version
Eonasdan Dec 31, 2016
02cc61c
Merge pull request #1955 from Eonasdan/master
Eonasdan Dec 31, 2016
66880e0
Merge pull request #1946 from eisaqasemi/develop
Eonasdan Jan 1, 2017
34bc7cc
Merge pull request #1939 from btecu/development
Eonasdan Jan 1, 2017
1137554
Fixes #1662
Guymestef Jan 2, 2017
5c9764a
Merge pull request #1913 from Guymestef/development
Eonasdan Jan 3, 2017
853b9c8
bump bersion 4.17.45
Eonasdan Jan 13, 2017
d8363de
bump version 4.17.45
Eonasdan Jan 13, 2017
bf88bcc
really 4.17.45
Eonasdan Jan 13, 2017
6b1f49a
Add support for Jquery ^3.0 in Package.json
gustaflindqvist Jan 18, 2017
af1f138
seriously why won't you go away
Eonasdan Jan 26, 2017
1815e95
can we please get this fixed now
Eonasdan Jan 26, 2017
646299f
Merge pull request #1978 from gustaflindqvist/master
Eonasdan Feb 14, 2017
25c11d7
bump version for jquery 3 just in case
Eonasdan Feb 28, 2017
35d659a
Create ISSUE_TEMPLATE
Eonasdan Jun 26, 2017
1231400
Create PULL_REQUEST_TEMPLATE
Eonasdan Jun 26, 2017
25a315c
Update README.md
Eonasdan Jul 1, 2017
5a991bf
Update package.json
Eonasdan Jul 1, 2017
4aa059a
docs
Eonasdan Aug 2, 2018
40fd466
docs
Eonasdan Aug 2, 2018
0212a60
docs
Eonasdan Aug 2, 2018
f67ca4e
docs
Eonasdan Aug 2, 2018
70eacba
Update base.css
Eonasdan Aug 3, 2018
96f8eef
creative tim 1
Eonasdan Feb 5, 2020
4e2483b
creative tim 2
Eonasdan Feb 5, 2020
e4bd184
update docs
Eonasdan Sep 29, 2020
7c6ea4a
update docs
Eonasdan Sep 29, 2020
08db0da
stupid mkdocs
Eonasdan Sep 29, 2020
cef46e5
stupid mkdocs
Eonasdan Sep 29, 2020
3e53bc2
blog post notice
Eonasdan Oct 4, 2020
65a3bef
blog post notice
Eonasdan Oct 4, 2020
7a31e1c
update prep
Eonasdan Nov 12, 2020
850698f
death to v4. getting ready for v6
Eonasdan Nov 13, 2020
07f43e2
Update README.md
Eonasdan Nov 13, 2020
9da6d10
Create CNAME
Eonasdan Nov 13, 2020
38bc904
new docs temp
Eonasdan Nov 13, 2020
5c510a5
new docs temp
Eonasdan Nov 13, 2020
6e2a873
Create CNAME
Eonasdan Nov 13, 2020
0b644aa
docs again
Eonasdan Nov 13, 2020
82c6eeb
Merge remote-tracking branch 'origin/master' into master
Eonasdan Nov 13, 2020
2204e44
fix links
Eonasdan Nov 13, 2020
d600417
Update README.md
Eonasdan Nov 22, 2020
e1f061d
Update README.md
Eonasdan Dec 17, 2020
00e189f
migrating v5 docs
Eonasdan Dec 17, 2020
33c9f8d
fixing docs issues
Eonasdan Feb 1, 2021
d1548e6
Update README.md
Eonasdan Feb 17, 2021
09a6e8e
Update ISSUE_TEMPLATE
Eonasdan Mar 10, 2021
3569d81
fix image
Eonasdan May 18, 2021
a49061e
fix image
Eonasdan May 18, 2021
ce3f370
v6 prep
Eonasdan Sep 1, 2021
88239d9
v6-alpha1
Eonasdan Sep 1, 2021
57cb65a
docs
Eonasdan Sep 1, 2021
ba82605
update docs, fixes #2386, #2387, #2391
Eonasdan Sep 6, 2021
993c06f
update readme
Eonasdan Sep 6, 2021
707a571
migration tool!
Eonasdan Sep 7, 2021
cab1ccf
fix migration
Eonasdan Sep 7, 2021
2ca2f3d
fixed z-index, exported options interface
Eonasdan Sep 9, 2021
238bb5a
fix useTwentyfourHour.
ThiagoLAMF Sep 9, 2021
068c5de
working some fixes
Eonasdan Sep 11, 2021
aaeac07
Merge pull request #2396 from ThiagoLAMF/master
Eonasdan Sep 15, 2021
ca78ac8
prepping changes
Eonasdan Sep 15, 2021
f7535be
releasing 6.0.0-alpha1.0.13
Eonasdan Sep 15, 2021
68c4572
Merge remote-tracking branch 'origin/master'
Eonasdan Sep 15, 2021
9927950
oops :(
Eonasdan Sep 15, 2021
c1eb8bf
Localize number
hkvstore Sep 17, 2021
a7b0679
Compare date types with strongly typed names
faatihi Oct 3, 2021
9e29391
Merge pull request #2408 from faatihi/patch-1
Eonasdan Oct 3, 2021
dd0ae17
should fix #2407, #2404 #2403, #2402, #2387
Eonasdan Oct 7, 2021
ee2d0a2
Update src/js/actions.ts
Eonasdan Oct 7, 2021
f985c76
Update src/js/actions.ts
Eonasdan Oct 7, 2021
bf89e94
Merge pull request #2406 from hkvstore/localization
Eonasdan Oct 7, 2021
37919a2
updated docs, fixed attribute access
Eonasdan Oct 7, 2021
f5e8188
updated the input hooks to include the context
Eonasdan Oct 9, 2021
101dd36
updated docs
Eonasdan Oct 9, 2021
3378f1e
Merge branch 'master' into v6-next
Eonasdan Oct 9, 2021
82f989b
merge master, nothing to see here
Eonasdan Oct 9, 2021
5fc9ffc
update version
Eonasdan Oct 10, 2021
84c6908
Merge pull request #2409 from Eonasdan/v6-next
Eonasdan Oct 10, 2021
69b3a64
docs rebuild
Eonasdan Oct 10, 2021
27af030
Fix typos in documentation
naglis Oct 20, 2021
c535812
Merge pull request #2417 from naglis/fix-typos
Eonasdan Oct 20, 2021
94b8d2a
Bug Fixes
Eonasdan Oct 20, 2021
1993eb0
version bump and github cleanup
Eonasdan Oct 20, 2021
f2e491c
fixing unsubscribe typing
Eonasdan Nov 16, 2021
3ea0684
update packages
Eonasdan Nov 16, 2021
9e34441
* Added localization.startOfTheWeek. This allows setting the start of…
Eonasdan Nov 28, 2021
7ec7ade
commit weirdness
Eonasdan Nov 28, 2021
f868e66
Fixed start of the week option having the incorrect heading. #2443
Eonasdan Dec 13, 2021
a82bc36
cleaned up migration page and prepped for html code migration
Eonasdan Dec 13, 2021
412a890
* Fixed issue with reading the data- attributes. #2430
Eonasdan Dec 16, 2021
886e525
Added some additional guards for #2438
Eonasdan Dec 17, 2021
1bf1ece
Fixed issue with daysOfWeekDisabled #2419
Eonasdan Dec 17, 2021
634794f
#2419
Eonasdan Dec 17, 2021
8ca1da1
#2419
Eonasdan Dec 20, 2021
58bb123
#2419
Eonasdan Dec 20, 2021
43bfb0d
17
Eonasdan Dec 21, 2021
1cc19f0
17
Eonasdan Dec 21, 2021
66b03b1
Merge pull request #2455 from Eonasdan/development
Eonasdan Dec 21, 2021
2a5e408
fixed missing entry
Eonasdan Dec 22, 2021
8c2ebc5
fix missing changelog
Eonasdan Dec 22, 2021
46cebc3
Merge pull request #2459 from Eonasdan/development
Eonasdan Dec 22, 2021
b511654
Feature allow to change parent container for the widget generation
miniben-90 Jan 6, 2022
629939c
fix(time picker): In case of only clock the popover was not generated
miniben-90 Jan 8, 2022
54549fc
fix(index.html): Correction for the range example
miniben-90 Jan 8, 2022
b8a61bb
Fixing frequent typo
philipwhiuk Jan 10, 2022
f4c5435
Merge pull request #2464 from philipwhiuk/master
Eonasdan Jan 11, 2022
a44e8e8
Merge pull request #2463 from miniben-90/fix-time-picker
Eonasdan Jan 11, 2022
34d4df2
Merge branch 'development' of https://github.com/Eonasdan/tempus-domi…
miniben-90 Jan 11, 2022
d929204
feat(container): Add example of the container option for vanillajs an…
miniben-90 Jan 13, 2022
86e73cb
fix(jquery): Fix wrong jquery example of container option.
miniben-90 Jan 13, 2022
a76aa6c
Merge pull request #2462 from miniben-90/feat-custom-container
Eonasdan Jan 15, 2022
5653eb5
building prs
Eonasdan Jan 15, 2022
3f5ae20
git?
Eonasdan Jan 15, 2022
4cf9611
Merge pull request #2468 from Eonasdan/development
Eonasdan Jan 15, 2022
6084eb0
Create codeql-analysis.yml
Eonasdan Jan 15, 2022
43bfb7c
update packages, fix security
Eonasdan Jan 15, 2022
a20c1d4
build
Eonasdan Jan 15, 2022
cb21d5a
Merge pull request #2469 from Eonasdan/development
Eonasdan Jan 15, 2022
29ee9c0
update readme
Eonasdan Jan 15, 2022
f2601d3
docs workflow.
Eonasdan Jan 17, 2022
b039762
ignore docs
Eonasdan Jan 17, 2022
b0779d2
Merge pull request #2470 from Eonasdan/development
Eonasdan Jan 17, 2022
0a27e34
Create main.yml
Eonasdan Jan 17, 2022
3a59164
clean code cleaning. testing Cognitive Complexity
Eonasdan Jan 17, 2022
65bc9c9
Merge pull request #2471 from Eonasdan/development
Eonasdan Jan 17, 2022
77bdd3f
Bump nanoid from 3.1.25 to 3.2.0
dependabot[bot] Jan 27, 2022
89f69f8
Merge pull request #2476 from Eonasdan/dependabot/npm_and_yarn/nanoid…
Eonasdan Jan 27, 2022
3ab219d
Development (#2520)
Eonasdan Mar 22, 2022
6ba6696
Update main.yml
Eonasdan Mar 22, 2022
a65e6f3
Development (#2535)
Eonasdan Apr 11, 2022
9c99501
Dev master (#2546)
Eonasdan Apr 22, 2022
b54bb33
Development (#2569)
Eonasdan May 15, 2022
7214b82
Development (#2585)
Eonasdan Jun 10, 2022
929a556
Beta 9 (#2604)
Eonasdan Jul 11, 2022
24b6261
Update bug_report.yml
Eonasdan Jul 11, 2022
6bf00d4
Update bug_report.yml
Eonasdan Jul 11, 2022
0acf5f6
Update bug_report.yml
Eonasdan Jul 11, 2022
98609c6
Create FUNDING.yml
Eonasdan Aug 4, 2022
6fa2dc1
6.0.0-beta10 (#2624)
Eonasdan Aug 15, 2022
62aeac4
Fix npm (#2626)
Eonasdan Aug 15, 2022
1822635
Fix npm (#2628)
Eonasdan Aug 15, 2022
c0090c4
Update nuget.yml
Eonasdan Aug 15, 2022
f05f65d
Update nuget.yml
Eonasdan Aug 15, 2022
21802b3
Update nuget.yml
Eonasdan Aug 15, 2022
748a044
Update nuget.yml
Eonasdan Aug 15, 2022
fe40a00
Update nuget.yml
Eonasdan Aug 15, 2022
03c8362
Update TempusDominus.nuspec
Eonasdan Aug 15, 2022
1348837
Update TempusDominus.scss.nuspec
Eonasdan Aug 15, 2022
b7d3d6d
Update nuget.yml
Eonasdan Aug 15, 2022
9fa4684
Update TempusDominus.nuspec
Eonasdan Aug 15, 2022
d89f62f
Update TempusDominus.scss.nuspec
Eonasdan Aug 15, 2022
ea435f4
Update TempusDominus.scss.nuspec
Eonasdan Aug 16, 2022
dc8172f
Update TempusDominus.nuspec
Eonasdan Aug 16, 2022
b5fb450
Update nuget.yml
Eonasdan Aug 16, 2022
96e529e
Update nuget.yml
Eonasdan Aug 16, 2022
1a40267
Update TempusDominus.scss.nuspec
Eonasdan Aug 16, 2022
bdf3678
Update TempusDominus.nuspec
Eonasdan Aug 16, 2022
bc0a7d2
Update nuget.yml
Eonasdan Aug 16, 2022
7205837
Update nuget.yml
Eonasdan Aug 16, 2022
6177423
Update nuget.yml
Eonasdan Aug 16, 2022
a338df1
Update nuget.yml
Eonasdan Aug 16, 2022
9790335
Update nuget.yml
Eonasdan Aug 16, 2022
1a7a34b
finally v6 (#2629)
Eonasdan Aug 16, 2022
613e4ce
Update publish.yml
Eonasdan Aug 16, 2022
ec36379
Update publish.yml
Eonasdan Aug 16, 2022
661043d
Update publish.yml
Eonasdan Aug 16, 2022
7ee65d6
Update publish.yml
Eonasdan Aug 16, 2022
09558cc
Update publish.yml
Eonasdan Aug 16, 2022
e81fe1b
Update publish.yml
Eonasdan Aug 16, 2022
1e839c2
Development (#2637)
Eonasdan Aug 30, 2022
7fbf2a1
Master dev (#2659)
Eonasdan Sep 22, 2022
20483d3
docs action (#2660) (#2661)
Eonasdan Sep 22, 2022
9d28d5b
Development (#2668)
Eonasdan Sep 27, 2022
86d50b4
fixed customDateFormat (#2671)
Eonasdan Sep 28, 2022
6d0e929
updated docs (#2675)
Eonasdan Sep 30, 2022
3868ddf
6.2.5 (#2696)
Eonasdan Oct 25, 2022
4741bf7
6.2.6 (#2700)
Eonasdan Oct 29, 2022
5e04fcc
Master 627 (#2714)
Eonasdan Nov 5, 2022
4dbbd20
Development (#2740)
Eonasdan Dec 14, 2022
3414800
Fix: CustomDateFormat Plugin: Hours always undefined (#2742) (#2743)
Eonasdan Dec 15, 2022
1a3ff82
6.2.10 (#2748)
Eonasdan Dec 22, 2022
7b4622c
v6.4.1 (#2772)
Eonasdan Mar 14, 2023
55326d7
Development (#2779)
Eonasdan Mar 16, 2023
fbb65fa
* fixes #2774 (#2780)
Eonasdan Mar 21, 2023
efba21a
Development master (#2803)
Eonasdan Apr 22, 2023
93de311
Development master (#2835)
Eonasdan Jul 3, 2023
2a43241
Add files via upload
Eonasdan Sep 28, 2023
78cf1d7
Update bug_report.yml
Eonasdan Sep 28, 2023
394b469
Update bug_report.yml
Eonasdan Sep 28, 2023
8695e45
Update bug_report.yml
Eonasdan Sep 28, 2023
5bd0dd4
Update bug_report.yml
Eonasdan Sep 28, 2023
4a348cb
Update bug_report.yml
Eonasdan Sep 28, 2023
0636015
Master merge (#2874)
Eonasdan Nov 6, 2023
041b929
Enabled code path for parsing multiple dates when date picker is in d…
hagen93 Nov 6, 2023
99bbb60
Czech localization (#2861)
KamilPesek Nov 6, 2023
41ee0a4
6.7.19 (#2876)
Eonasdan Nov 10, 2023
b95f63c
Fix where minDate would be a reference of viewDate instead of declari…
LePtitJoNadeau Dec 18, 2023
8a371d2
Added Croatian and Serbian locales (#2883)
m-gallesio Dec 18, 2023
5f79399
6.9.4 (#2887)
Eonasdan Dec 21, 2023
0953561
Customized styling - enhancements in scss files (#2892)
EMaderbacher Feb 2, 2024
5da648d
release action
Eonasdan Feb 2, 2024
8146693
Added China locales (#2900)
ajiho Mar 28, 2024
13c9fea
Create pt-PT.ts (#2904)
nfcg May 9, 2024
0e47fdf
Bump vite from 4.1.4 to 4.5.3 (#2905)
dependabot[bot] May 11, 2024
3e141c3
Bump tough-cookie from 4.1.2 to 4.1.4 (#2906)
dependabot[bot] May 11, 2024
25fb008
Fixed dayViewHeaderFormat (#2907)
chirmac May 16, 2024
0d4b93c
Add Ukrainian localization (#2911)
denysdesign May 30, 2024
9367fa8
revert vitest breaking change
Eonasdan May 30, 2024
a83bd58
Update package.json
Eonasdan Jun 21, 2024
cd39d04
Bump ws and socket.io (#2918)
dependabot[bot] Jun 21, 2024
bc80b7b
Bump braces from 3.0.2 to 3.0.3 (#2919)
dependabot[bot] Jun 21, 2024
7e66e06
Bump ws and socket.io-adapter (#2920)
dependabot[bot] Jun 21, 2024
4bc7c19
Add 'sk' locale (#2929)
sieberlukas Aug 5, 2024
feea120
Fix 'cs' locale (#2928)
sieberlukas Aug 5, 2024
268cd13
update sponsors
Eonasdan Aug 15, 2024
612c1f3
docs action
Eonasdan Aug 15, 2024
b22890a
fix name
Eonasdan Aug 15, 2024
1c53c55
fix inputs
Eonasdan Aug 15, 2024
9f3dcd2
Fix #2931 (#2932)
iTzVirtual00 Sep 7, 2024
bfd75fc
Bump rollup from 2.79.1 to 2.79.2 (#2938)
dependabot[bot] Sep 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/dist/
**/docs/
**/coverage/
**/.husky/
**/types/
**/build/
**/test/
18 changes: 18 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
env:
browser: true
es2021: true
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
- prettier
overrides: []
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: latest
sourceType: module
plugins:
- '@typescript-eslint'
rules:
linebreak-style:
- error
- unix
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
41 changes: 41 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Submitting Issues

If you are submitting a bug, please test and/or fork [this StackBlitz](https://stackblitz.com/edit/tempus-dominus-v6-simple-setup) demonstrating the issue. Code issues and fringe case bugs that do not include a StackBlitz (or similar) will be closed.

Issues that are submitted without a description (title only) will be closed with no further explanation.

# Contributing code

To contribute, fork the library and run `npm install`. You need [node](http://nodejs.org/); use [nvm](https://github.com/creationix/nvm) or [nenv](https://github.com/ryuone/nenv) to install it.

```bash
git https://github.com/Eonasdan/tempus-dominus.git
cd tempus-dominus
npm i
git checkout development # all patches against development branch, please!
```

# Very important notes

**Pull requests to the `master` branch will be closed.** Please submit all pull requests to the `development` branch.
- **Do not include the minified files in your pull request.** Don't worry, we'll build them when we cut a release.
- Pull requests that do not include a description (title only) and the following will be closed:
- What the change does
- A use case (for new features or enhancements)

# NPM Scripts


| Script | Description |
|--------|------------|
| start | Launches browser sync and watches for files changes.|
| serve | Launches browser sync to serve the docs. |
| build | Creates compiled js, css and copies the extra files to the dist folder. |
| sass | Compiles just the sass files to css. |
| rollup | Compiles typescript and scss files. |
| rollup-watch | Same as above but watches for changes and compiles as needed. |
| build:declarations | Builds the typescript definition files. |
| prettier | Runs prettier to format the code. |
| docs | Builds the docs. |
| docs-watch | Watches for changes to the docs files. |
| release-version | Creates a new release version. |
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: eonasdan
ko_fi: eonasdan
77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Report a bug
description: Tell us about your issue.
title: "Provide a general summary of the issue"
labels: ["Type: Bug", "State: Triage"]
body:
- type: markdown
attributes:
value: "<h3>Note: I am no longer taking feature requests.
Beginning in 2024, tickets will be paid support only. Please see [this discussion](https://github.com/Eonasdan/tempus-dominus/discussions/2694).</h3>"
- type: checkboxes
attributes:
label: Prerequisites
description: Take a couple minutes to help our maintainers work faster.
options:
- label: I have [searched](https://github.com/Eonasdan/tempus-dominus/issues?q=is%3Aissue) for duplicate or closed issues.
required: true
- label: I have validated my setup against the latest version on [StackBlitz](https://stackblitz.com/edit/tempus-dominus-v6-simple-setup).
required: true
- label: I have read the [contributing guidelines](https://github.com/Eonasdan/tempus-dominus/blob/master/.github/CONTRIBUTING.md).
required: true
- label: I understand that only sponsored issues will be worked on and that if I wish to sponsor an issue, I will contact the owner FIRST.
required: true
- type: textarea
id: what-happened
attributes:
label: Describe the issue
description: Provide a summary of the issue and what you expected to happen, including specific steps to reproduce.
validations:
required: true
- type: markdown
attributes:
value: "![Please provide the link in the address bar](https://raw.githubusercontent.com/Eonasdan/tempus-dominus/master/.github/ISSUE_TEMPLATE/image.png)"
- type: textarea
id: reduced-test-case
attributes:
label: StackBlitz fork
description: "You MUST provide an StackBlitz fork of one of the following examples: [HTML](https://stackblitz.com/edit/tempus-dominus-v6-simple-setup), [Typescript](https://stackblitz.com/edit/v6-typescript), [Using import](https://stackblitz.com/edit/tempus-dominus-v6-simple-setup-import), or [jQuery](https://stackblitz.com/edit/tempus-dominus-v6-simple-jquery-setup)."
validations:
required: true
- type: dropdown
id: os
attributes:
label: What operating system(s) are you seeing the problem on?
multiple: true
options:
- Windows
- macOS
- Android
- iOS
- Linux
validations:
required: true
- type: dropdown
id: browser
attributes:
label: What browser(s) are you seeing the problem on?
multiple: true
options:
- Chrome
- Safari
- Firefox
- Microsoft Edge
- Opera
- type: input
id: version
attributes:
label: What version of are you using? You can find this information from the sample StackBlitz.
placeholder: "e.g., v5.1.0 or v4.5.2"
validations:
required: true
- type: input
id: locale
attributes:
label: What your browser's locale? You can find this information from the sample StackBlitz.
placeholder: "e.g., 'en-US'"
validations:
required: true
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: Ask a question
url: https://github.com/Eonasdan/tempus-dominus/discussions/new
about: Ask and discuss questions with other community members
Binary file added .github/ISSUE_TEMPLATE/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
PRs relating to the v4 will be closed and locked.

* **Please check if the PR fulfills these requirements**
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)


* **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...). If this is a fix, please tag a bug.



* **What is the current behavior?** (You can also link to an open issue here)



* **What is the new behavior (if this is a feature change)?**



* **Does this PR introduce a breaking change?** (What changes might users need to make in their application due to this PR?)



* **Other information**:
19 changes: 19 additions & 0 deletions .github/workflows/base/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Setup Node
description: Setup node

inputs:
registry:
description: 'A Github PAT'
default: 'https://registry.npmjs.org'

runs:
using: composite
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
registry-url: ${{ inputs.registry }}
- name: Npm install
shell: bash
run: npm ci
28 changes: 28 additions & 0 deletions .github/workflows/build/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build
description: Build

inputs:
GITHUB_TOKEN:
description: 'A Github PAT'
required: true
SONAR_TOKEN:
description: 'A Sonar token'
required: true

runs:
using: composite
steps:
- name: Unit tests
shell: bash
run: npm run test:coverage
- name: Build
shell: bash
run: npm run build
- name: Build docs
shell: bash
run: npm run docs
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ inputs.SONAR_TOKEN }}
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '16 12 * * 1'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
20 changes: 20 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Docs
on:
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/workflows/base
- name: Build
uses: ./.github/workflows/build
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Deploy Docs
uses: ./.github/workflows/docs
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading