Skip to content

Commit

Permalink
update react-modal
Browse files Browse the repository at this point in the history
  • Loading branch information
hlolli committed Sep 7, 2017
1 parent b3494d7 commit d67d812
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 48 deletions.
4 changes: 2 additions & 2 deletions react-modal/build.boot
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

(require '[cljsjs.boot-cljsjs.packaging :refer :all])

(def +lib-version+ "1.6.5")
(def +lib-version+ "2.3.2")

(def +version+ (str +lib-version+ "-0"))

Expand All @@ -25,7 +25,7 @@

(deftask download-react-modal []
(download :url (format "https://github.com/reactjs/react-modal/archive/v%s.zip" +lib-version+)
:checksum "6e1d66c3bb5bb349d58eef673b7da825"
:checksum "f91e3506bb45f918e557e9f66f8100e1"
:unzip true))

(deftask package []
Expand Down
139 changes: 93 additions & 46 deletions react-modal/resources/cljsjs/react-modal/common/react-modal.ext.js
Original file line number Diff line number Diff line change
@@ -1,50 +1,97 @@
/**********************************************************************
* Extern for ReactModal
* Generated by http://jmmk.github.io/javascript-externs-generator
**********************************************************************/
var ReactModal = {
"Modal": {
"propTypes": {
"isOpen": {
"isRequired": function () {}
},
"onAfterOpen": {
"isRequired": function () {}
},
"style": {
"isRequired": function () {}
},
"onRequestClose": {
"isRequired": function () {}
},
"closeTimeoutMS": {
"isRequired": function () {}
},
"shouldCloseOnOverlayClick": {
"isRequired": function () {}
},
"contentLabel": {
"isRequired": function () {}
},
},
"defaultProps": {
"isActive": {},
"onAfterOpen": function () {},
"style": {},
"onRequestClose": function () {},
"closeTimeoutMS": {},
"shouldCloseOnOverlayClick": {},
"contentLabel": {},
},
"defaultProps": {
"ariaHideApp": {},
"bodyOpenClassName": {},
"closeTimeoutMS": {},
"isOpen": {},
"parentSelector": function () {},
"portalClassName": {},
"shouldCloseOnOverlayClick": {},
"shouldFocusAfterRender": {}
},
"defaultStyles": {
"content": {
"WebkitOverflowScrolling": {},
"background": {},
"border": {},
"borderRadius": {},
"bottom": {},
"left": {},
"outline": {},
"overflow": {},
"padding": {},
"position": {},
"right": {},
"top": {}
},
"overlay": {
"backgroundColor": {},
"bottom": {},
"left": {},
"position": {},
"right": {},
"top": {}
}
},
"propTypes": {
"appElement": {
"isRequired": function () {}
},
"aria": {
"isRequired": function () {}
},
"ariaHideApp": {
"isRequired": function () {}
},
"bodyOpenClassName": {
"isRequired": function () {}
},
"className": {
"isRequired": function () {}
},
"closeTimeoutMS": {
"isRequired": function () {}
},
"contentLabel": function () {},
"isOpen": function () {},
"onAfterOpen": {
"isRequired": function () {}
},
"onRequestClose": {
"isRequired": function () {}
},
"overlayClassName": {
"isRequired": function () {}
},
"parentSelector": {
"isRequired": function () {}
},
"portalClassName": {
"isRequired": function () {}
},
"role": {
"isRequired": function () {}
},
"shouldCloseOnOverlayClick": {
"isRequired": function () {}
},
"shouldFocusAfter": {
"isRequired": function () {}
},
"style": {
"isRequired": function () {}
}
}
};


ReactModal.Modal.prototype = {
"isReactComponent": function () {},
"setState": function () {},
"forceUpdate": function () {}
};


ReactModal.default.prototype = {
"isReactComponent": function () {},
"setState": function () {},
"forceUpdate": function () {}
ReactModal.prototype = {
"forceUpdate": function () {},
"isReactComponent": function () {},
"setState": function () {}
};
/**********************************************************************
* End Generated Extern for ReactModal
/**********************************************************************/

0 comments on commit d67d812

Please sign in to comment.