Skip to content

Commit

Permalink
0.12.7
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed Oct 6, 2023
1 parent 61b0aaf commit 771144a
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 43 deletions.
3 changes: 1 addition & 2 deletions lib/cjs/components/display-name-slug-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,4 @@ DisplayNameSlugEditor.defaultProps = {
resource: {},
resourceType: ''
};
var _default = DisplayNameSlugEditor;
exports["default"] = _default;
var _default = exports["default"] = DisplayNameSlugEditor;
3 changes: 1 addition & 2 deletions lib/cjs/components/drag-and-drop-target.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -99,7 +99,6 @@ var DragAndDropTarget = /*#__PURE__*/function (_React$Component) {
}]);
return DragAndDropTarget;
}(_react["default"].Component);
exports["default"] = DragAndDropTarget;
DragAndDropTarget.defaultProps = {
children: null,
className: '',
Expand Down
3 changes: 1 addition & 2 deletions lib/cjs/components/file-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -96,7 +96,6 @@ var FileButton = /*#__PURE__*/function (_React$Component) {
}]);
return FileButton;
}(_react["default"].Component);
exports["default"] = FileButton;
FileButton.defaultProps = {
accept: '*/*',
children: null,
Expand Down
3 changes: 1 addition & 2 deletions lib/cjs/components/image-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,4 @@ ImageSelector.defaultProps = {
resourceSrc: '',
ratio: NaN
};
var _default = ImageSelector;
exports["default"] = _default;
var _default = exports["default"] = ImageSelector;
3 changes: 1 addition & 2 deletions lib/cjs/components/layout/admin-checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ AdminCheckbox.propTypes = {
label: _propTypes["default"].string,
onChange: _propTypes["default"].func
};
var _default = AdminCheckbox;
exports["default"] = _default;
var _default = exports["default"] = AdminCheckbox;
3 changes: 1 addition & 2 deletions lib/cjs/components/layout/logout-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
var _default = exports["default"] = LogoutButton;
3 changes: 1 addition & 2 deletions lib/cjs/components/layout/mobile-navigation-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
var _default = exports["default"] = (0, _withMobileView["default"])(MobileNavigationMenu);
3 changes: 1 addition & 2 deletions lib/cjs/components/layout/signed-in-user-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
var _default = exports["default"] = SignedInUserNavigation;
3 changes: 1 addition & 2 deletions lib/cjs/components/layout/user-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
var _default = exports["default"] = (0, _withMobileView["default"])(UserNavigation);
3 changes: 1 addition & 2 deletions lib/cjs/components/layout/zoo-footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
var _default = exports["default"] = ZooFooter;
3 changes: 1 addition & 2 deletions lib/cjs/components/layout/zoo-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
var _default = exports["default"] = (0, _withMobileView["default"])(ZooHeader);
3 changes: 1 addition & 2 deletions lib/cjs/components/media-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -69,7 +69,6 @@ var MediaCard = /*#__PURE__*/function (_React$Component) {
}]);
return MediaCard;
}(_react["default"].Component);
exports["default"] = MediaCard;
MediaCard.propTypes = {
src: _propTypes["default"].string
};
Expand Down
3 changes: 1 addition & 2 deletions lib/cjs/components/media-icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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() {},
Expand Down
3 changes: 1 addition & 2 deletions lib/cjs/components/paginator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
var _default = exports["default"] = Paginator;
3 changes: 1 addition & 2 deletions lib/cjs/components/step-through.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,4 @@ StepThrough.propTypes = {
StepThrough.defaultProps = {
defaultStep: 0
};
var _default = StepThrough;
exports["default"] = _default;
var _default = exports["default"] = StepThrough;
3 changes: 1 addition & 2 deletions lib/cjs/components/thumbnail.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions lib/cjs/components/tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,4 @@ Tutorial.defaultProps = {
},
user: null
};
var _default = Tutorial;
exports["default"] = _default;
var _default = exports["default"] = Tutorial;
3 changes: 1 addition & 2 deletions lib/cjs/components/user-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions lib/cjs/components/zooniverse-logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,4 @@ ZooniverseLogo.defaultProps = {
style: {},
className: ''
};
var _default = ZooniverseLogo;
exports["default"] = _default;
var _default = exports["default"] = ZooniverseLogo;
3 changes: 1 addition & 2 deletions lib/cjs/components/zooniverse-logotype.js

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

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 771144a

Please sign in to comment.