Skip to content

Commit

Permalink
Publish react-datepicker sub-package in commonjs format (#1358)
Browse files Browse the repository at this point in the history
* Publish react-datepicker sub-package as commonjs format

* changelog
  • Loading branch information
chandlerprall authored Dec 7, 2018
1 parent 5670e07 commit 29eb67b
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 151 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ generator-eui/
test/
src-docs/
src-framer/
packages/react-datepicker
.nvmrc

# typescript output
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
- Altered `EuiHeader`'s location of `EuiHeaderBreadcrumbs` based on the new `truncate` ability ([#1346](https://github.com/elastic/eui/pull/1346))
- Added support for `href` and `target` props in `EuiBasicTable` actions ([#1347](https://github.com/elastic/eui/pull/1347))

**Bug fixes**

- Fixed EUI when used in an environment lacking ES Modules support, e.g. Jest ([#1358](https://github.com/elastic/eui/pull/1358))

## [`5.4.0`](https://github.com/elastic/eui/tree/v5.4.0)

**Note: this release broke usage of EUI in non-ES Module compatible environments. This is fixed in `5.5.0`.**

- Added 3 new icons — `folderOpen`, `folderClosed`, and `crosshairs` ([#1350](https://github.com/elastic/eui/pull/1350))
- Added `bottomGraphic` prop to `EuiCard` for Kibana home page ([#1338](https://github.com/elastic/eui/pull/1338))
- Added keyboard and screenreader support to `EuiDatePicker` ([#1337](https://github.com/elastic/eui/pull/1337))
Expand Down
6 changes: 4 additions & 2 deletions packages/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import ReactDatePicker from './react-datepicker';
var ReactDatePicker = require('./react-datepicker').default;

export { ReactDatePicker };
module.exports = {
ReactDatePicker: ReactDatePicker
};
Loading

0 comments on commit 29eb67b

Please sign in to comment.