@protacon/arrow-ui-react-components
Advanced tools
Comparing version 4.5.2 to 4.6.0
@@ -69,2 +69,4 @@ "use strict"; | ||
exports.LanguageSelect = LanguageSelect_1.LanguageSelect; | ||
var DateTimePicker_1 = require("./DateTimePicker"); | ||
exports.DateTimePicker = DateTimePicker_1.DateTimePicker; | ||
var Table_1 = require("./Table"); | ||
@@ -71,0 +73,0 @@ exports.Table = Table_1.Table; |
@@ -165,3 +165,3 @@ "use strict"; | ||
var _this = this; | ||
var _a = this.props, id = _a.id, options = _a.options, value = _a.value, _b = _a.placeholder, placeholder = _b === void 0 ? '' : _b, _c = _a.background, background = _c === void 0 ? true : _c, className = _a.className, _d = _a.hideOnSelect, hideOnSelect = _d === void 0 ? true : _d, disabled = _a.disabled, multiselect = _a.multiselect, searchable = _a.searchable, searchFunction = _a.searchFunction, _e = _a.dropup, dropup = _e === void 0 ? false : _e, _f = _a.t, t = _f === void 0 ? function (s) { return s; } : _f; | ||
var _a = this.props, id = _a.id, options = _a.options, value = _a.value, _b = _a.placeholder, placeholder = _b === void 0 ? '' : _b, _c = _a.background, background = _c === void 0 ? true : _c, className = _a.className, _d = _a.hideOnSelect, hideOnSelect = _d === void 0 ? true : _d, disabled = _a.disabled, multiselect = _a.multiselect, searchable = _a.searchable, searchFunction = _a.searchFunction, _e = _a.dropup, dropup = _e === void 0 ? false : _e, style = _a.style, _f = _a.t, t = _f === void 0 ? function (s) { return s; } : _f; | ||
var _g = this.state, show = _g.show, searchTerm = _g.searchTerm, highlightOption = _g.highlightOption; | ||
@@ -176,3 +176,3 @@ var filtered = options.filter(function (option) { | ||
}); | ||
return (React.createElement("div", { className: className, ref: this.containerDiv }, | ||
return (React.createElement("div", { className: className, ref: this.containerDiv, style: style }, | ||
React.createElement("div", { className: "dropdown " + (disabled ? 'disabled' : '') }, | ||
@@ -179,0 +179,0 @@ React.createElement("button", { type: "button", id: id, className: "select", onClick: this.toggleList, onKeyUp: function (e) { |
@@ -36,2 +36,5 @@ "use strict"; | ||
}; | ||
exports.getMinutesOfDay = function (time) { | ||
return time.hour() * 60 + time.minute(); | ||
}; | ||
//# sourceMappingURL=util.js.map |
{ | ||
"name": "@protacon/arrow-ui-react-components", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"private": false, | ||
@@ -25,3 +25,2 @@ "main": "build/lib/index.js", | ||
"prepare": "npm run build", | ||
"publish": "npm run build", | ||
"lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}'", | ||
@@ -38,3 +37,4 @@ "lint:fix": "npm run lint -- --fix" | ||
"fuse.js": "^3.4.5", | ||
"react-virtualized": "^9.21.1" | ||
"react-virtualized": "^9.21.1", | ||
"lodash.isequal": "4.5.0" | ||
}, | ||
@@ -53,4 +53,6 @@ "devDependencies": { | ||
"@types/lodash.orderby": "^4.6.6", | ||
"@types/lodash.isequal": "4.5.5", | ||
"@types/node": "10.12.0", | ||
"@types/react": "16.8.8", | ||
"@types/react-dates": "17.1.5", | ||
"@types/react-dom": "16.8.2", | ||
@@ -65,2 +67,3 @@ "@types/react-tooltip": "^3.9.2", | ||
"react": "16.8.4", | ||
"react-dates": "20.1.0", | ||
"react-dom": "16.8.4", | ||
@@ -67,0 +70,0 @@ "react-md-spinner": "0.3.0", |
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
190996
109
2525
9
35