Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
chore(release): 2.2.8 [skip ci]
Browse files Browse the repository at this point in the history
## [2.2.8](v2.2.7...v2.2.8) (2020-09-03)

### Bug Fixes

* change minDate to start at the beginning of the day ([#247](#247)) ([545cada](545cada))
  • Loading branch information
semantic-release-bot committed Sep 3, 2020
1 parent 545cada commit 569aef7
Show file tree
Hide file tree
Showing 21 changed files with 40 additions and 30 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [2.2.8](https://github.com/toptal/simple-react-calendar/compare/v2.2.7...v2.2.8) (2020-09-03)


### Bug Fixes

* change minDate to start at the beginning of the day ([#247](https://github.com/toptal/simple-react-calendar/issues/247)) ([545cada](https://github.com/toptal/simple-react-calendar/commit/545cada7099eee21c7d281aeacce605c774561ee))

## [2.2.7](https://github.com/toptal/simple-react-calendar/compare/v2.2.6...v2.2.7) (2020-07-08)


Expand Down
2 changes: 1 addition & 1 deletion dist/simple-calendar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/simple-calendar.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
}</script><link href="https://fonts.googleapis.com/css?family=PT+Sans:400,700" rel="stylesheet"><style>#root[hidden],
#docs-root[hidden] {
display: none !important;
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.76069a3793595cc5db96.bundle.js"></script><script src="vendors~main.76069a3793595cc5db96.bundle.js"></script><script src="main.76069a3793595cc5db96.bundle.js"></script></body></html>
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.7776ad6f6be4ad65bac7.bundle.js"></script><script src="vendors~main.7776ad6f6be4ad65bac7.bundle.js"></script><script src="main.7776ad6f6be4ad65bac7.bundle.js"></script></body></html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
}</script><style>#root[hidden],
#docs-root[hidden] {
display: none !important;
}</style></head><body><div id="root"></div><div id="docs-root"></div><script>window['DOCS_MODE'] = false;</script><script src="runtime~main.2a37fc36a7ebe15dd031.bundle.js"></script><script src="vendors~main.7ff6fc781e0b8440709c.bundle.js"></script><script src="main.bd6c50ef87bfe50257d5.bundle.js"></script></body></html>
}</style></head><body><div id="root"></div><div id="docs-root"></div><script>window['DOCS_MODE'] = false;</script><script src="runtime~main.2a37fc36a7ebe15dd031.bundle.js"></script><script src="vendors~main.73adffc631c1c90b5686.bundle.js"></script><script src="main.5481f14baed1d6ed9527.bundle.js"></script></body></html>
1 change: 1 addition & 0 deletions docs/main.5481f14baed1d6ed9527.bundle.js

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

1 change: 0 additions & 1 deletion docs/main.76069a3793595cc5db96.bundle.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/main.7776ad6f6be4ad65bac7.bundle.js.map

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

1 change: 0 additions & 1 deletion docs/main.bd6c50ef87bfe50257d5.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/runtime~main.76069a3793595cc5db96.bundle.js.map

This file was deleted.

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

1 change: 1 addition & 0 deletions docs/runtime~main.7776ad6f6be4ad65bac7.bundle.js.map

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

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions docs/vendors~main.76069a3793595cc5db96.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/vendors~main.76069a3793595cc5db96.bundle.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions docs/vendors~main.7776ad6f6be4ad65bac7.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/vendors~main.7776ad6f6be4ad65bac7.bundle.js.map

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

5 changes: 4 additions & 1 deletion lib/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ var _is_same_month = _interopRequireDefault(require("date-fns/is_same_month"));

var _is_valid = _interopRequireDefault(require("date-fns/is_valid"));

var _start_of_day = _interopRequireDefault(require("date-fns/start_of_day"));

var _start_of_month = _interopRequireDefault(require("date-fns/start_of_month"));

var helper = _interopRequireWildcard(require("../helper"));
Expand Down Expand Up @@ -298,6 +300,7 @@ var Calendar = /*#__PURE__*/function (_Component) {

var highlight = this._highlight();

var normalizedMinDate = minDate ? (0, _start_of_day["default"])(minDate) : minDate;
return (
/*#__PURE__*/
// @ts-ignore: No overload matches this call
Expand All @@ -316,7 +319,7 @@ var Calendar = /*#__PURE__*/function (_Component) {
highlightedEnd: highlight.end,
highlightedStart: highlight.start,
maxDate: maxDate,
minDate: minDate,
minDate: normalizedMinDate,
minNumberOfWeeks: minNumberOfWeeks,
mode: mode,
onChange: this._selectionChanged.bind(this),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "git",
"url": "git+https://github.com/toptal/simple-react-calendar.git"
},
"version": "2.2.7",
"version": "2.2.8",
"scripts": {
"start": "webpack-dev-server --config config/webpack.dev.js --env.development --hot --progress",
"build": "rm -rf ./dist && webpack --config config/webpack.lib.js --progress --env.production ",
Expand Down

0 comments on commit 569aef7

Please sign in to comment.