Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare Release 1.21.0 #1270

Merged
merged 2 commits into from
Jun 22, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/blueprint-landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -6220,6 +6220,10 @@ table.pt-table {
color: #182026; }
.pt-tag.pt-tag-removable {
padding-right: 20px; }
.pt-tag.pt-active {
outline: rgba(19, 124, 189, 0.5) auto 2px;
outline-offset: 0;
-moz-outline-radius: 6px; }
.pt-tag.pt-large,
.pt-large .pt-tag {
min-width: 30px;
Expand Down
30 changes: 26 additions & 4 deletions docs/blueprint-landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -5032,6 +5032,7 @@
exports.POPOVER_WARN_DEPRECATED_CONSTRAINTS = deprec + " <Popover> constraints and useSmartPositioning are deprecated. Use tetherOptions directly.";
exports.POPOVER_WARN_INLINE_NO_TETHER = ns + " <Popover inline={true}> ignores tetherOptions, constraints, and useSmartPositioning.";
exports.POPOVER_WARN_UNCONTROLLED_ONINTERACTION = ns + " <Popover> onInteraction is ignored when uncontrolled.";
exports.PORTAL_CONTEXT_CLASS_NAME_STRING = ns + " <Portal> context blueprintPortalClassName must be string";
exports.RADIOGROUP_WARN_CHILDREN_OPTIONS_MUTEX = ns + " <RadioGroup> children and options prop are mutually exclusive, with options taking priority.";
exports.SLIDER_ZERO_STEP = ns + " <Slider> stepSize must be greater than zero.";
exports.SLIDER_ZERO_LABEL_STEP = ns + " <Slider> labelStepSize must be greater than zero.";
Expand Down Expand Up @@ -5552,6 +5553,7 @@
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BACKSPACE = 8;
exports.TAB = 9;
exports.ENTER = 13;
exports.SHIFT = 16;
Expand Down Expand Up @@ -28937,8 +28939,17 @@
var React = __webpack_require__(24);
var ReactDOM = __webpack_require__(71);
var Classes = __webpack_require__(66);
var Errors = __webpack_require__(60);
var props_1 = __webpack_require__(64);
var utils_1 = __webpack_require__(59);
var REACT_CONTEXT_TYPES = {
blueprintPortalClassName: function (obj, key) {
if (obj[key] != null && typeof obj[key] !== "string") {
return new Error(Errors.PORTAL_CONTEXT_CLASS_NAME_STRING);
}
return undefined;
},
};
/**
* This component detaches its contents and re-attaches them to document.body.
* Use it when you need to circumvent DOM z-stacking (for dialogs, popovers, etc.).
Expand All @@ -28955,6 +28966,9 @@
Portal.prototype.componentDidMount = function () {
var targetElement = document.createElement("div");
targetElement.classList.add(Classes.PORTAL);
if (this.context.blueprintPortalClassName != null) {
targetElement.classList.add(this.context.blueprintPortalClassName);
}
document.body.appendChild(targetElement);
this.targetElement = targetElement;
this.componentDidUpdate();
Expand All @@ -28972,6 +28986,7 @@
return Portal;
}(React.Component));
Portal.displayName = "Blueprint.Portal";
Portal.contextTypes = REACT_CONTEXT_TYPES;
exports.Portal = Portal;

//# sourceMappingURL=portal.js.map
Expand Down Expand Up @@ -33305,20 +33320,27 @@
var classNames = __webpack_require__(218);
var PureRender = __webpack_require__(219);
var React = __webpack_require__(24);
var common_1 = __webpack_require__(21);
var props_1 = __webpack_require__(64);
var utils_1 = __webpack_require__(59);
var Classes = __webpack_require__(66);
var Tag = (function (_super) {
tslib_1.__extends(Tag, _super);
function Tag() {
return _super !== null && _super.apply(this, arguments) || this;
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.onRemoveClick = function (e) {
common_1.Utils.safeInvoke(_this.props.onRemove, e, _this.props);
};
return _this;
}
Tag.prototype.render = function () {
var _a = this.props, className = _a.className, intent = _a.intent, onRemove = _a.onRemove;
var _a = this.props, active = _a.active, className = _a.className, intent = _a.intent, onRemove = _a.onRemove;
var tagClasses = classNames(Classes.TAG, Classes.intentClass(intent), (_b = {},
_b[Classes.TAG_REMOVABLE] = onRemove != null,
_b[Classes.ACTIVE] = active,
_b), className);
var button = utils_1.isFunction(onRemove) ? React.createElement("button", { type: "button", className: Classes.TAG_REMOVE, onClick: onRemove }) : undefined;
var button = common_1.Utils.isFunction(onRemove)
? React.createElement("button", { type: "button", className: Classes.TAG_REMOVE, onClick: this.onRemoveClick })
: undefined;
return (React.createElement("span", tslib_1.__assign({}, props_1.removeNonHTMLProps(this.props), { className: tagClasses }),
this.props.children,
button));
Expand Down
54 changes: 54 additions & 0 deletions docs/docs/site-docs.css

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

Loading