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.1 [skip ci]
Browse files Browse the repository at this point in the history
## [2.2.1](v2.2.0...v2.2.1) (2020-04-22)

### Bug Fixes

* call preventDefault method of event object properly ([#188](#188)) ([614c194](614c194))
  • Loading branch information
semantic-release-bot committed Apr 22, 2020
1 parent 614c194 commit 9409720
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 15 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.1](https://github.com/toptal/simple-react-calendar/compare/v2.2.0...v2.2.1) (2020-04-22)


### Bug Fixes

* call preventDefault method of event object properly ([#188](https://github.com/toptal/simple-react-calendar/issues/188)) ([614c194](https://github.com/toptal/simple-react-calendar/commit/614c194963f0b84cb6713b57832b5492b7c2b1a7))

# [2.2.0](https://github.com/toptal/simple-react-calendar/compare/v2.1.0...v2.2.0) (2020-04-20)


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.0f51837d80c4aa8b41b7.bundle.js"></script><script src="vendors~main.0f51837d80c4aa8b41b7.bundle.js"></script><script src="main.0f51837d80c4aa8b41b7.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.4522ae9600afaf512ef3.bundle.js"></script><script src="vendors~main.4522ae9600afaf512ef3.bundle.js"></script><script src="main.4522ae9600afaf512ef3.bundle.js"></script></body></html>
2 changes: 0 additions & 2 deletions docs/main.0f51837d80c4aa8b41b7.bundle.js

This file was deleted.

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

This file was deleted.

2 changes: 2 additions & 0 deletions docs/main.4522ae9600afaf512ef3.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/main.4522ae9600afaf512ef3.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/runtime~main.0f51837d80c4aa8b41b7.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.4522ae9600afaf512ef3.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/vendors~main.0f51837d80c4aa8b41b7.bundle.js.map

This file was deleted.

Large diffs are not rendered by default.

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

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

5 changes: 2 additions & 3 deletions lib/calendar/month.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,9 @@ function (_Component) {
_this._pushNoticeUpdate(null);
});

_defineProperty(_assertThisInitialized(_this), "handleOnDisabledDayClick", function (_ref) {
var preventDefault = _ref.preventDefault;
_defineProperty(_assertThisInitialized(_this), "handleOnDisabledDayClick", function (event) {
var onNoticeChange = _this.props.onNoticeChange;
preventDefault();
event.preventDefault();
onNoticeChange('disabled_day_click');
});

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.0",
"version": "2.2.1",
"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 9409720

Please sign in to comment.