Skip to content

Commit

Permalink
update docs, fixes #2386, #2387, #2391
Browse files Browse the repository at this point in the history
  • Loading branch information
Eonasdan committed Sep 6, 2021
1 parent 57cb65a commit ba82605
Show file tree
Hide file tree
Showing 23 changed files with 974 additions and 1,255 deletions.
2 changes: 1 addition & 1 deletion build/browser-sync-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
cert: 'C:\\projects\\https\\localhost.crt',
},
proxy: false,
port: 3000,
port: 3001,
middleware: false,
serveStatic: [],
ghostMode: {
Expand Down
34 changes: 24 additions & 10 deletions dist/js/tempus-dominus.js

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

2 changes: 1 addition & 1 deletion dist/js/tempus-dominus.js.map

Large diffs are not rendered by default.

30 changes: 20 additions & 10 deletions docs/6/change-log.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,15 +223,25 @@ <h1 class="bd-title title" id="content">Change Log</h1>
</div>
</div>
<div id="mainContent" class="bd-content ps-lg-4">
<h1>Version 6</h1>
<section>
<h1>Version 6</h1>
<h2 id="general">General</h2>
<h2>Version 6-alpha1.0.3</h2>
<h3>Bug fixes</h3>
<ul>
<li>Fixed year display after selecting a decade. <a href="https://github.com/Eonasdan/tempus-dominus/issues/2386">#2386</a></li>
<li>Fixed issue if the input field had a value. <a href="https://github.com/Eonasdan/tempus-dominus/issues/2387">#2387</a></li>
<li>Fixed setting the defaultDate option with a Date object. <a href="https://github.com/Eonasdan/tempus-dominus/issues/2391">#2391</a></li>
</ul>
</section>
<section>
<h2>Version 6-alpha1</h2>
<h3 id="general">General</h3>
<ul>
<li>picker returns a <code>DateTime</code> which is an extended javascript <code>Date</code> object.</li>
<li>picker no longer uses jQuery, momentjs, or bootstrap</li>
<li>events now have interfaces</li>
</ul>
<h2 id="configuration">Configuration</h2>
<h3 id="configuration">Configuration</h3>
<ul>
<li>renamed <code>tooltip</code> to <code>localization</code>
<ul>
Expand Down Expand Up @@ -299,9 +309,9 @@ <h2 id="configuration">Configuration</h2>
<li>removed <code>ignoreReadonly&lt;</code></li>
<li>removed <code>focusOnShow&lt;</code></li>
</ul>
<h3 id="styles">Styles</h3>
<h4 id="tip-all-new-css-values-are-in-namespace-css-in-the-consts-ts-file">Tip: All new css values are in <code>Namespace.Css.*</code>
in the <code>consts.ts</code> file</h4>
<h4 id="styles">Styles</h4>
<h5 id="tip-all-new-css-values-are-in-namespace-css-in-the-consts-ts-file">Tip: All new css values are in <code>Namespace.Css.*</code>
in the <code>consts.ts</code> file</h5>
<ul>
<li>renamed <code>bootstrap-datetimepicker-widget</code> to <code>tempus-dominus-widget</code></li>
<li>renamed <code>tempusDominus-bootstrap-datetimepicker-widget-with-calendar-weeks</code> to <code>tempus-dominus-with-calendar-weeks</code>
Expand All @@ -314,7 +324,7 @@ <h4 id="tip-all-new-css-values-are-in-namespace-css-in-the-consts-ts-file">Tip:
</ul>
</li>
</ul>
<h5 id="date">Date</h5>
<h6 id="date">Date</h6>
<ul>
<li>renamed <code>datepicker</code> to <code>date-container</code></li>
<li>renamed <code>datepicker-decades</code> to <code>date-container-decades</code></li>
Expand All @@ -324,18 +334,18 @@ <h5 id="date">Date</h5>
<li>renamed <code>prev</code> to <code>previous</code></li>
<li>renamed <code>data-day</code> to <code>data-value</code> to be consistent with other views</li>
</ul>
<h5 id="time">Time</h5>
<h6 id="time">Time</h6>
<ul>
<li>renamed <code>usetwentyfour</code> to <code>useTwentyfour</code></li>
<li>renamed <code>timepicker</code> to <code>time-container</code></li>
<li>renamed <code>timepicker-hour</code> to <code>time-container-hour</code></li>
<li>renamed <code>timepicker-minute</code> to <code>time-container-minute</code></li>
<li>renamed <code>timepicker-second</code> to <code>time-container-second</code></li>
</ul>
<h4 id="saas">Saas</h4>
<h5 id="saas">Saas</h5>
<p>Saas file is now called <code>tempus-dominus.scss</code>. The "build" file has been deleted as it's
no longer required.</p>
<h2 id="events">Events</h2>
<h3 id="events">Events</h3>
<ul>
<li>changed <code>isInvalid</code> to <code>isValid</code> and flipped the boolean (v5)</li>
<li>changed event now emits <code>undefined</code> instead of false when the date is being cleared</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/6/js/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"file": "change-log.html",
"title": "Change Log",
"body": "version general picker returns a datetime which is an extended javascript date object no longer uses jquery momentjs or bootstrap events now have interfaces configuration renamed tooltip to localization tooltip.prevmonth localization.previousmonth tooltip.prevyear localization.previousyear tooltip.prevdecade localization.previousdecade tooltip.prevcentury localization.previouscentury moved dayviewheaderformat localization.dayviewheaderformat takes intl month option e.g long default locale removed usestrict timezone format added display.inputformat that datetimeformatoptions collapse extraformats widgetparent widgetpositioning changed viewmode from times days clock calendar allowmultidate and multidateseparator multipledates multipledatesseparator the following restrictions mindate maxdate disableddates enableddates daysofweekdisabled disabledhours enabledhours readonly disabledtimeintervals display sidebyside calendarweeks toolbarplacement buttons icons inline keepopen array of check for dateoptions on element data set hid allowing by looping through properties keybindings this might come back later ignorereadonly focusonshow styles tip all new css values are in namespace.css consts.ts file bootstrap-datetimepicker-widget tempus-dominus-widget tempusdominus-bootstrap-datetimepicker-widget-with-calendar-weeks tempus-dominus-with-calendar-weeks v input-group data-toggle=\"datetimepicker setting cursor type pointer datepicker date-container datepicker-decades date-container-decades datepicker-years date-container-years datepicker-months date-container-months datepicker-days date-container-days prev previous data-day data-value be consistent with other views time usetwentyfour timepicker time-container timepicker-hour time-container-hour timepicker-minute time-container-minute timepicker-second time-container-second saas called tempus-dominus.scss build has been deleted as it's required isinvalid isvalid flipped boolean event emits undefined instead false when being cleared plugin.name datetimepicker tempus-dominus root namespace td was rewrite taking some pending pull requests fixes along it unfortunately i didn't do very good job at documenting those changes changlog v2-v can read here",
"body": "version alpha bug fixes fixed year display after selecting a decade issue if the input field had value setting defaultdate option with date object general picker returns datetime which is an extended javascript no longer uses jquery momentjs or bootstrap events now have interfaces configuration renamed tooltip to localization tooltip.prevmonth localization.previousmonth tooltip.prevyear localization.previousyear tooltip.prevdecade localization.previousdecade tooltip.prevcentury localization.previouscentury moved dayviewheaderformat localization.dayviewheaderformat takes intl month e.g long default locale removed usestrict timezone format added display.inputformat that datetimeformatoptions collapse extraformats widgetparent widgetpositioning changed viewmode from times days clock calendar allowmultidate and multidateseparator multipledates multipledatesseparator following restrictions mindate maxdate disableddates enableddates daysofweekdisabled disabledhours enabledhours readonly disabledtimeintervals sidebyside calendarweeks toolbarplacement buttons icons inline keepopen array of check for dateoptions on element data set hid allowing by looping through properties keybindings this might come back later ignorereadonly focusonshow styles tip all new css values are in namespace.css consts.ts file bootstrap-datetimepicker-widget tempus-dominus-widget tempusdominus-bootstrap-datetimepicker-widget-with-calendar-weeks tempus-dominus-with-calendar-weeks v input-group data-toggle=\"datetimepicker cursor type pointer datepicker date-container datepicker-decades date-container-decades datepicker-years date-container-years datepicker-months date-container-months datepicker-days date-container-days prev previous data-day data-value be consistent other views time usetwentyfour timepicker time-container timepicker-hour time-container-hour timepicker-minute time-container-minute timepicker-second time-container-second saas called tempus-dominus.scss build has been deleted as it's required isinvalid isvalid flipped boolean event emits undefined instead false when being cleared plugin.name datetimepicker tempus-dominus root namespace td was rewrite taking some pending pull requests along it unfortunately i didn't do very good job at documenting those changes changlog v2-v can read here",
"postDate": "07/20/2021",
"updateDate": "07/20/2021",
"excerpt": "An overview of changes between different version of tempus dominus\n ",
Expand Down
34 changes: 24 additions & 10 deletions docs/6/js/tempus-dominus.js

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

2 changes: 1 addition & 1 deletion docs/6/js/tempus-dominus.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit ba82605

Please sign in to comment.