diff --git a/lib/cjs/components/display-name-slug-editor.js b/lib/cjs/components/display-name-slug-editor.js index 87c880d..9c66f19 100644 --- a/lib/cjs/components/display-name-slug-editor.js +++ b/lib/cjs/components/display-name-slug-editor.js @@ -157,5 +157,4 @@ DisplayNameSlugEditor.defaultProps = { resource: {}, resourceType: '' }; -var _default = DisplayNameSlugEditor; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = DisplayNameSlugEditor; \ No newline at end of file diff --git a/lib/cjs/components/drag-and-drop-target.js b/lib/cjs/components/drag-and-drop-target.js index 7ec573f..e5287e1 100644 --- a/lib/cjs/components/drag-and-drop-target.js +++ b/lib/cjs/components/drag-and-drop-target.js @@ -24,7 +24,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } -var DragAndDropTarget = /*#__PURE__*/function (_React$Component) { +var DragAndDropTarget = exports["default"] = /*#__PURE__*/function (_React$Component) { _inherits(DragAndDropTarget, _React$Component); var _super = _createSuper(DragAndDropTarget); function DragAndDropTarget(props) { @@ -99,7 +99,6 @@ var DragAndDropTarget = /*#__PURE__*/function (_React$Component) { }]); return DragAndDropTarget; }(_react["default"].Component); -exports["default"] = DragAndDropTarget; DragAndDropTarget.defaultProps = { children: null, className: '', diff --git a/lib/cjs/components/file-button.js b/lib/cjs/components/file-button.js index e97ad39..46f2f16 100644 --- a/lib/cjs/components/file-button.js +++ b/lib/cjs/components/file-button.js @@ -24,7 +24,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } -var FileButton = /*#__PURE__*/function (_React$Component) { +var FileButton = exports["default"] = /*#__PURE__*/function (_React$Component) { _inherits(FileButton, _React$Component); var _super = _createSuper(FileButton); function FileButton(props) { @@ -96,7 +96,6 @@ var FileButton = /*#__PURE__*/function (_React$Component) { }]); return FileButton; }(_react["default"].Component); -exports["default"] = FileButton; FileButton.defaultProps = { accept: '*/*', children: null, diff --git a/lib/cjs/components/image-selector.js b/lib/cjs/components/image-selector.js index a7bdfe3..79dae97 100644 --- a/lib/cjs/components/image-selector.js +++ b/lib/cjs/components/image-selector.js @@ -198,5 +198,4 @@ ImageSelector.defaultProps = { resourceSrc: '', ratio: NaN }; -var _default = ImageSelector; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = ImageSelector; \ No newline at end of file diff --git a/lib/cjs/components/layout/admin-checkbox.js b/lib/cjs/components/layout/admin-checkbox.js index c8d816d..ed936c8 100644 --- a/lib/cjs/components/layout/admin-checkbox.js +++ b/lib/cjs/components/layout/admin-checkbox.js @@ -29,5 +29,4 @@ AdminCheckbox.propTypes = { label: _propTypes["default"].string, onChange: _propTypes["default"].func }; -var _default = AdminCheckbox; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = AdminCheckbox; \ No newline at end of file diff --git a/lib/cjs/components/layout/logout-button.js b/lib/cjs/components/layout/logout-button.js index 275bb33..3b415b6 100644 --- a/lib/cjs/components/layout/logout-button.js +++ b/lib/cjs/components/layout/logout-button.js @@ -31,5 +31,4 @@ LogoutButton.propTypes = { label: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].string]), logout: _propTypes["default"].func.isRequired }; -var _default = LogoutButton; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = LogoutButton; \ No newline at end of file diff --git a/lib/cjs/components/layout/mobile-navigation-menu.js b/lib/cjs/components/layout/mobile-navigation-menu.js index 17cc249..a93d3b3 100644 --- a/lib/cjs/components/layout/mobile-navigation-menu.js +++ b/lib/cjs/components/layout/mobile-navigation-menu.js @@ -80,5 +80,4 @@ MobileNavigationMenu.propTypes = { isMobile: _propTypes["default"].bool, mobileNavList: _propTypes["default"].arrayOf(_propTypes["default"].node).isRequired }; -var _default = (0, _withMobileView["default"])(MobileNavigationMenu); -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = (0, _withMobileView["default"])(MobileNavigationMenu); \ No newline at end of file diff --git a/lib/cjs/components/layout/signed-in-user-navigation.js b/lib/cjs/components/layout/signed-in-user-navigation.js index 343f04a..c4727e1 100644 --- a/lib/cjs/components/layout/signed-in-user-navigation.js +++ b/lib/cjs/components/layout/signed-in-user-navigation.js @@ -41,5 +41,4 @@ SignedInUserNavigation.propTypes = { user: _propTypes["default"].object.isRequired, userMenuNavList: _propTypes["default"].arrayOf(_propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].string])).isRequired }; -var _default = SignedInUserNavigation; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = SignedInUserNavigation; \ No newline at end of file diff --git a/lib/cjs/components/layout/user-navigation.js b/lib/cjs/components/layout/user-navigation.js index cd1891b..769d1de 100644 --- a/lib/cjs/components/layout/user-navigation.js +++ b/lib/cjs/components/layout/user-navigation.js @@ -57,5 +57,4 @@ UserNavigation.propTypes = { notificationsLabel: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].string]).isRequired, notificationsLink: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].string]).isRequired }; -var _default = (0, _withMobileView["default"])(UserNavigation); -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = (0, _withMobileView["default"])(UserNavigation); \ No newline at end of file diff --git a/lib/cjs/components/layout/zoo-footer.js b/lib/cjs/components/layout/zoo-footer.js index 21d506a..b80f219 100644 --- a/lib/cjs/components/layout/zoo-footer.js +++ b/lib/cjs/components/layout/zoo-footer.js @@ -328,5 +328,4 @@ ZooFooter.propTypes = { socialNavList: _propTypes["default"].arrayOf(_propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].string])).isRequired, talkNavList: _propTypes["default"].arrayOf(_propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].string])).isRequired }; -var _default = ZooFooter; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = ZooFooter; \ No newline at end of file diff --git a/lib/cjs/components/layout/zoo-header.js b/lib/cjs/components/layout/zoo-header.js index 0d385e4..8888e06 100644 --- a/lib/cjs/components/layout/zoo-header.js +++ b/lib/cjs/components/layout/zoo-header.js @@ -86,5 +86,4 @@ ZooHeader.propTypes = { logoHomeLink: _propTypes["default"].node.isRequired, mainHeaderNavList: _propTypes["default"].arrayOf(_propTypes["default"].node).isRequired }; -var _default = (0, _withMobileView["default"])(ZooHeader); -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = (0, _withMobileView["default"])(ZooHeader); \ No newline at end of file diff --git a/lib/cjs/components/media-card.js b/lib/cjs/components/media-card.js index 398c575..e588208 100644 --- a/lib/cjs/components/media-card.js +++ b/lib/cjs/components/media-card.js @@ -26,7 +26,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } var IMAGE_EXTENSIONS = ['gif', 'jpeg', 'jpg', 'png', 'svg']; var VIDEO_EXTENSIONS = ['mp4']; -var MediaCard = /*#__PURE__*/function (_React$Component) { +var MediaCard = exports["default"] = /*#__PURE__*/function (_React$Component) { _inherits(MediaCard, _React$Component); var _super = _createSuper(MediaCard); function MediaCard() { @@ -69,7 +69,6 @@ var MediaCard = /*#__PURE__*/function (_React$Component) { }]); return MediaCard; }(_react["default"].Component); -exports["default"] = MediaCard; MediaCard.propTypes = { src: _propTypes["default"].string }; diff --git a/lib/cjs/components/media-icon.js b/lib/cjs/components/media-icon.js index adb601b..19a9c30 100644 --- a/lib/cjs/components/media-icon.js +++ b/lib/cjs/components/media-icon.js @@ -23,7 +23,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } -var MediaIcon = /*#__PURE__*/function (_React$Component) { +var MediaIcon = exports["default"] = /*#__PURE__*/function (_React$Component) { _inherits(MediaIcon, _React$Component); var _super = _createSuper(MediaIcon); function MediaIcon(props) { @@ -115,7 +115,6 @@ var MediaIcon = /*#__PURE__*/function (_React$Component) { }]); return MediaIcon; }(_react["default"].Component); -exports["default"] = MediaIcon; MediaIcon.defaultProps = { height: 80, onDelete: function onDelete() {}, diff --git a/lib/cjs/components/paginator.js b/lib/cjs/components/paginator.js index f2a0927..c3c3a4a 100644 --- a/lib/cjs/components/paginator.js +++ b/lib/cjs/components/paginator.js @@ -183,5 +183,4 @@ Paginator.propTypes = { selectionText: _propTypes["default"].string, totalItems: _propTypes["default"].oneOfType([_propTypes["default"].node, _propTypes["default"].string]) }; -var _default = Paginator; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = Paginator; \ No newline at end of file diff --git a/lib/cjs/components/step-through.js b/lib/cjs/components/step-through.js index 07bdf5e..9cc60d8 100644 --- a/lib/cjs/components/step-through.js +++ b/lib/cjs/components/step-through.js @@ -184,5 +184,4 @@ StepThrough.propTypes = { StepThrough.defaultProps = { defaultStep: 0 }; -var _default = StepThrough; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = StepThrough; \ No newline at end of file diff --git a/lib/cjs/components/thumbnail.js b/lib/cjs/components/thumbnail.js index 1a16b17..10a1d7d 100644 --- a/lib/cjs/components/thumbnail.js +++ b/lib/cjs/components/thumbnail.js @@ -25,7 +25,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } var MAX_THUMBNAIL_DIMENSION = 999; -var Thumbnail = /*#__PURE__*/function (_React$Component) { +var Thumbnail = exports["default"] = /*#__PURE__*/function (_React$Component) { _inherits(Thumbnail, _React$Component); var _super = _createSuper(Thumbnail); function Thumbnail(props) { @@ -94,7 +94,6 @@ var Thumbnail = /*#__PURE__*/function (_React$Component) { }]); return Thumbnail; }(_react["default"].Component); -exports["default"] = Thumbnail; Thumbnail.defaultProps = { format: 'image', height: MAX_THUMBNAIL_DIMENSION, diff --git a/lib/cjs/components/tutorial.js b/lib/cjs/components/tutorial.js index dc7488e..75c7d4f 100644 --- a/lib/cjs/components/tutorial.js +++ b/lib/cjs/components/tutorial.js @@ -212,5 +212,4 @@ Tutorial.defaultProps = { }, user: null }; -var _default = Tutorial; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = Tutorial; \ No newline at end of file diff --git a/lib/cjs/components/user-search.js b/lib/cjs/components/user-search.js index 8281ae3..02a9eae 100644 --- a/lib/cjs/components/user-search.js +++ b/lib/cjs/components/user-search.js @@ -26,7 +26,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g var delayBy = function delayBy(timeout, fn) { return setTimeout(fn, timeout); }; -var UserSearch = /*#__PURE__*/function (_React$Component) { +var UserSearch = exports["default"] = /*#__PURE__*/function (_React$Component) { _inherits(UserSearch, _React$Component); var _super = _createSuper(UserSearch); function UserSearch(props) { @@ -120,7 +120,6 @@ var UserSearch = /*#__PURE__*/function (_React$Component) { }]); return UserSearch; }(_react["default"].Component); -exports["default"] = UserSearch; UserSearch.propTypes = { className: _propTypes["default"].string, debounce: _propTypes["default"].number, diff --git a/lib/cjs/components/zooniverse-logo.js b/lib/cjs/components/zooniverse-logo.js index 72d6829..5ed959a 100644 --- a/lib/cjs/components/zooniverse-logo.js +++ b/lib/cjs/components/zooniverse-logo.js @@ -63,5 +63,4 @@ ZooniverseLogo.defaultProps = { style: {}, className: '' }; -var _default = ZooniverseLogo; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = ZooniverseLogo; \ No newline at end of file diff --git a/lib/cjs/components/zooniverse-logotype.js b/lib/cjs/components/zooniverse-logotype.js index 39f5f00..2fefe6b 100644 --- a/lib/cjs/components/zooniverse-logotype.js +++ b/lib/cjs/components/zooniverse-logotype.js @@ -53,5 +53,4 @@ ZooniverseLogotype.defaultProps = { title: 'Zooniverse Logotype', className: '' }; -var _default = ZooniverseLogotype; -exports["default"] = _default; \ No newline at end of file +var _default = exports["default"] = ZooniverseLogotype; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index a45e6d5..30c91f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "zooniverse-react-components", - "version": "0.12.6", + "version": "0.12.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "zooniverse-react-components", - "version": "0.12.6", + "version": "0.12.7", "license": "Apache-2.0", "dependencies": { "animated-scrollto": "^1.1.0", diff --git a/package.json b/package.json index a1d0319..bd7c9d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zooniverse-react-components", - "version": "0.12.6", + "version": "0.12.7", "description": "Zooniverse-React-Components ===========================", "main": "lib/cjs/index.js", "module": "lib/esm/index.js",