pronto-common-components
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var Bar, React; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var ConfirmButton, React; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var Dropdown, React, classSet, hashobj; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var Empty, React; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var FilterMixin, React; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var capitalize, compareObjects, descend, descendUpdate, formatPercent, formatThousands, gravatarUrl, hashobj, mapobj, md5, randomString, slugify, unslugify; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
module.exports = { | ||
@@ -3,0 +3,0 @@ helpers: require('./helpers'), |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var NavigableMixin, React; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var Overlay, React; | ||
@@ -11,4 +11,4 @@ | ||
render: function() { | ||
var onClickBackdrop; | ||
onClickBackdrop = this.props.onClickBackdrop || this.stopClick; | ||
var onClose; | ||
onClose = this.props.onClose || this.stopClick; | ||
return React.createElement("div", { | ||
@@ -18,7 +18,12 @@ "className": "overlay " + this.props.className | ||
"className": 'overlay-backdrop', | ||
"onClick": onClickBackdrop | ||
"onClick": onClose | ||
}), React.createElement("div", { | ||
"className": 'overlay-inner' | ||
}, React.createElement("div", { | ||
"className": 'overlay-close', | ||
"onClick": onClose | ||
}), React.createElement("div", { | ||
"className": 'overlay-content' | ||
}, this.props.children)); | ||
}, this.props.children))); | ||
} | ||
}); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var React, ReloadableList, Spinner; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var React, SearchInput; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var React, Select, classSet; | ||
@@ -52,3 +52,3 @@ | ||
return React.createElement("select", { | ||
"value": (ref = this.getSelected()) != null ? ref.value : void 0, | ||
"value": ((ref = this.getSelected()) != null ? ref.value : void 0), | ||
"onChange": this.props.onChoose | ||
@@ -55,0 +55,0 @@ }, [ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var React, Spinner; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var React, Tabs, ref, slugify, unslugify; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.7 | ||
var KefirBus, React, Tagger, inc; | ||
@@ -96,3 +96,6 @@ | ||
var base; | ||
return typeof (base = this.props).onUpdate === "function" ? base.onUpdate(this.state.tags) : void 0; | ||
if (typeof (base = this.props).onUpdate === "function") { | ||
base.onUpdate(this.state.tags); | ||
} | ||
return this.refs.input.focus(); | ||
}, | ||
@@ -165,3 +168,8 @@ changeNewTag: function(e) { | ||
"onKeyDown": this.handleKeyDown, | ||
"placeholder": this.props.placeholder | ||
"placeholder": this.props.placeholder, | ||
"ref": ((function(_this) { | ||
return function(el) { | ||
return _this.refs.input = el; | ||
}; | ||
})(this)) | ||
}), (this.state.new_tag.length && this.props.create_help_text ? ((ref = this.state.suggestions) != null ? ref.length : void 0) && this.state.suggestion_i === -1 && this.props.can_create && this.props.create_or_suggest_help_text ? React.createElement("span", { | ||
@@ -168,0 +176,0 @@ "className": 'help_text' |
{ | ||
"name": "pronto-common-components", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
45871
829