Skip to content

Commit

Permalink
Prepare release v1.23.0 (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
llorca authored Jul 14, 2017
1 parent 0404c88 commit 02045aa
Show file tree
Hide file tree
Showing 22 changed files with 1,955 additions and 630 deletions.
Binary file modified docs/assets/fonts/icons-16.eot
Binary file not shown.
Binary file modified docs/assets/fonts/icons-16.ttf
Binary file not shown.
Binary file modified docs/assets/fonts/icons-16.woff
Binary file not shown.
Binary file modified docs/assets/fonts/icons-20.eot
Binary file not shown.
Binary file modified docs/assets/fonts/icons-20.ttf
Binary file not shown.
Binary file modified docs/assets/fonts/icons-20.woff
Binary file not shown.
15 changes: 12 additions & 3 deletions docs/blueprint-landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -1522,6 +1522,9 @@ span.pt-icon {
.pt-icon-ip-address::before {
content: "\E772"; }

.pt-icon-eraser::before {
content: "\E773"; }

:focus {
outline: rgba(19, 124, 189, 0.5) auto 2px;
outline-offset: 2px;
Expand Down Expand Up @@ -2672,7 +2675,7 @@ a.pt-button {
-webkit-flex-direction: column;
flex-direction: column;
position: absolute;
top: 25%;
top: 10%;
right: 50%;
z-index: 20;
margin-bottom: 20px;
Expand Down Expand Up @@ -3740,7 +3743,7 @@ a.pt-button {
position: relative;
margin-bottom: 10px;
cursor: pointer;
min-height: 20px;
min-height: 16px;
padding-left: 26px;
text-transform: none;
line-height: 16px;
Expand Down Expand Up @@ -3898,6 +3901,7 @@ a.pt-button {
right: 0;
left: auto; }
.pt-control.pt-large {
min-height: 20px;
padding-left: 30px;
line-height: 20px;
font-size: 16px; }
Expand Down Expand Up @@ -3928,7 +3932,7 @@ a.pt-button {
.pt-dark .pt-control {
color: #f5f8fa; }
.pt-dark .pt-control.pt-disabled {
color: rgba(92, 112, 128, 0.5); }
color: rgba(191, 204, 214, 0.5); }
.pt-dark .pt-control .pt-control-indicator {
background: #394b59;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)) left no-repeat, center no-repeat #394b59;
Expand Down Expand Up @@ -4206,9 +4210,13 @@ a.pt-button {
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-align-items: baseline;
align-items: baseline;
margin: 0 0 15px; }
.pt-form-group label.pt-label {
margin-bottom: 5px; }
.pt-form-group .pt-control {
margin-top: 5px; }
.pt-form-group .pt-form-helper-text {
margin-top: 5px;
color: #5c7080;
Expand Down Expand Up @@ -5334,6 +5342,7 @@ button.pt-menu-item {
.pt-dark .pt-non-ideal-state-icon .pt-icon {
color: rgba(191, 204, 214, 0.5); }

.pt-non-ideal-state-title,
.pt-non-ideal-state-description {
text-align: center; }

Expand Down
52 changes: 33 additions & 19 deletions docs/blueprint-landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -29789,7 +29789,7 @@
return _super !== null && _super.apply(this, arguments) || this;
}
Menu.prototype.render = function () {
return React.createElement("ul", { className: classNames(Classes.MENU, this.props.className) }, this.props.children);
return (React.createElement("ul", { className: classNames(Classes.MENU, this.props.className), ref: this.props.ulRef }, this.props.children));
};
return Menu;
}(React.Component));
Expand Down Expand Up @@ -31119,10 +31119,10 @@
return element != null && element.type === Hotkey;
};
Hotkey.prototype.render = function () {
var _a = this.props, combo = _a.combo, label = _a.label;
var _a = this.props, label = _a.label, spreadableProps = tslib_1.__rest(_a, ["label"]);
return React.createElement("div", { className: "pt-hotkey" },
React.createElement("div", { className: "pt-hotkey-label" }, label),
React.createElement(keyCombo_1.KeyCombo, { combo: combo }));
React.createElement(keyCombo_1.KeyCombo, tslib_1.__assign({}, spreadableProps)));
};
Hotkey.prototype.validateProps = function (props) {
if (props.global !== true && props.group == null) {
Expand All @@ -31132,7 +31132,11 @@
return Hotkey;
}(common_1.AbstractComponent));
Hotkey.defaultProps = {
allowInInput: false,
disabled: false,
global: false,
preventDefault: false,
stopPropagation: false,
};
exports.Hotkey = Hotkey;

Expand Down Expand Up @@ -31580,32 +31584,22 @@
this.scope = scope;
this.actions = [];
this.handleKeyDown = function (e) {
if (_this.isTextInput(e) || hotkeysDialog_1.isHotkeysDialogShowing()) {
if (hotkeysDialog_1.isHotkeysDialogShowing()) {
return;
}
var combo = hotkeyParser_1.getKeyCombo(e);
if (hotkeyParser_1.comboMatches(hotkeyParser_1.parseKeyCombo(SHOW_DIALOG_KEY), combo)) {
var isTextInput = _this.isTextInput(e);
if (!isTextInput && hotkeyParser_1.comboMatches(hotkeyParser_1.parseKeyCombo(SHOW_DIALOG_KEY), combo)) {
hotkeysDialog_1.showHotkeysDialog(_this.actions.map(function (action) { return action.props; }));
return;
}
for (var _i = 0, _a = _this.actions; _i < _a.length; _i++) {
var action = _a[_i];
if (hotkeyParser_1.comboMatches(action.combo, combo)) {
utils_1.safeInvoke(action.props.onKeyDown, e);
}
}
_this.invokeNamedCallbackIfComboRecognized(combo, "onKeyDown", e);
};
this.handleKeyUp = function (e) {
if (_this.isTextInput(e) || hotkeysDialog_1.isHotkeysDialogShowing()) {
if (hotkeysDialog_1.isHotkeysDialogShowing()) {
return;
}
var combo = hotkeyParser_1.getKeyCombo(e);
for (var _i = 0, _a = _this.actions; _i < _a.length; _i++) {
var action = _a[_i];
if (hotkeyParser_1.comboMatches(action.combo, combo)) {
utils_1.safeInvoke(action.props.onKeyUp, e);
}
}
_this.invokeNamedCallbackIfComboRecognized(hotkeyParser_1.getKeyCombo(e), "onKeyUp", e);
};
}
HotkeysEvents.prototype.count = function () {
Expand All @@ -31627,6 +31621,24 @@
});
this.actions = actions;
};
HotkeysEvents.prototype.invokeNamedCallbackIfComboRecognized = function (combo, callbackName, e) {
var isTextInput = this.isTextInput(e);
for (var _i = 0, _a = this.actions; _i < _a.length; _i++) {
var action = _a[_i];
var shouldIgnore = (isTextInput && !action.props.allowInInput) || action.props.disabled;
if (!shouldIgnore && hotkeyParser_1.comboMatches(action.combo, combo)) {
if (action.props.preventDefault) {
e.preventDefault();
}
if (action.props.stopPropagation) {
// set a flag just for unit testing. not meant to be referenced in feature work.
e.isPropagationStopped = true;
e.stopPropagation();
}
utils_1.safeInvoke(action.props[callbackName], e);
}
}
};
HotkeysEvents.prototype.isScope = function (props) {
return (props.global ? HotkeyScope.GLOBAL : HotkeyScope.LOCAL) === this.scope;
};
Expand Down Expand Up @@ -34182,6 +34194,7 @@
CELL_TOWER: "pt-icon-cell-tower",
ID_NUMBER: "pt-icon-id-number",
IP_ADDRESS: "pt-icon-ip-address",
ERASER: "pt-icon-eraser",
};

//# sourceMappingURL=iconClasses.js.map
Expand Down Expand Up @@ -34598,6 +34611,7 @@
CELL_TOWER: "\ue770",
ID_NUMBER: "\ue771",
IP_ADDRESS: "\ue772",
ERASER: "\ue773",
};

//# sourceMappingURL=iconStrings.js.map
Expand Down
Binary file modified docs/docs/assets/icons-16.eot
Binary file not shown.
Binary file modified docs/docs/assets/icons-16.ttf
Binary file not shown.
Binary file modified docs/docs/assets/icons-16.woff
Binary file not shown.
Binary file modified docs/docs/assets/icons-20.eot
Binary file not shown.
Binary file modified docs/docs/assets/icons-20.ttf
Binary file not shown.
Binary file modified docs/docs/assets/icons-20.woff
Binary file not shown.
101 changes: 93 additions & 8 deletions docs/docs/site-docs.css

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

Loading

1 comment on commit 02045aa

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prepare release v1.23.0 (#1350)

Preview: documentation
Coverage: core | datetime

Please sign in to comment.