@atlaskit/tooltip
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -161,3 +161,3 @@ module.exports = /******/ | ||
}); | ||
var _getPrototypeOf = __webpack_require__(6), _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf), _classCallCheck2 = __webpack_require__(7), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(8), _createClass3 = _interopRequireDefault(_createClass2), _possibleConstructorReturn2 = __webpack_require__(9), _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2), _inherits2 = __webpack_require__(10), _inherits3 = _interopRequireDefault(_inherits2), _react = __webpack_require__(11), _react2 = _interopRequireDefault(_react), _akLayer = __webpack_require__(13), _akLayer2 = _interopRequireDefault(_akLayer), _styles = __webpack_require__(14), _styles2 = _interopRequireDefault(_styles), _helpers = __webpack_require__(18), StatelessTooltip = function(_PureComponent) { | ||
var _getPrototypeOf = __webpack_require__(6), _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf), _classCallCheck2 = __webpack_require__(7), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(8), _createClass3 = _interopRequireDefault(_createClass2), _possibleConstructorReturn2 = __webpack_require__(9), _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2), _inherits2 = __webpack_require__(10), _inherits3 = _interopRequireDefault(_inherits2), _react = __webpack_require__(11), _react2 = _interopRequireDefault(_react), _layer = __webpack_require__(13), _layer2 = _interopRequireDefault(_layer), _styles = __webpack_require__(14), _styles2 = _interopRequireDefault(_styles), _helpers = __webpack_require__(18), StatelessTooltip = function(_PureComponent) { | ||
function StatelessTooltip(props) { | ||
@@ -185,3 +185,3 @@ (0, _classCallCheck3.default)(this, StatelessTooltip); | ||
onMouseOut: props.onMouseOut | ||
}, _react2.default.createElement(_akLayer2.default, { | ||
}, _react2.default.createElement(_layer2.default, { | ||
position: (0, _helpers.positionToPopperPosition)(props.position), | ||
@@ -237,3 +237,3 @@ autoPosition: !0, | ||
function(module, exports) { | ||
module.exports = require("ak-layer"); | ||
module.exports = require("@atlaskit/layer"); | ||
}, /* 14 */ | ||
@@ -254,23 +254,23 @@ /***/ | ||
// module | ||
exports.push([ module.id, "._3Gnam0AIUfySzus2T9CaEd{background-color:#091e42;border-radius:3px;box-sizing:border-box;color:#fff;font-size:12px;line-height:1.33333333;max-width:420px;margin:8px;padding:2px 8px;pointer-events:none}@-webkit-keyframes _3fxJQsE6itYUcoXUYQb__X{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3fxJQsE6itYUcoXUYQb__X{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _3Q-N-wSAmOC4Bca_L6PwWI{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3Q-N-wSAmOC4Bca_L6PwWI{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes bfrZ0ntuUi-X8f-YIgre0{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes bfrZ0ntuUi-X8f-YIgre0{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes _1uUNrhb5ty2eiAurkVzUk{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes _1uUNrhb5ty2eiAurkVzUk{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}._3YByy8OIjy0mJzvR1m5rMj{-webkit-animation:_3fxJQsE6itYUcoXUYQb__X 1.1s .1s backwards;animation:_3fxJQsE6itYUcoXUYQb__X 1.1s .1s backwards}._3ToT8hOssNjy4nXgHIIyG4{-webkit-animation:_3Q-N-wSAmOC4Bca_L6PwWI 1.1s .1s backwards;animation:_3Q-N-wSAmOC4Bca_L6PwWI 1.1s .1s backwards}._13ooR6tLMe_mkphI0_hUa9{-webkit-animation:bfrZ0ntuUi-X8f-YIgre0 1.1s .1s backwards;animation:bfrZ0ntuUi-X8f-YIgre0 1.1s .1s backwards}._1htcm1G-TCrVKQRCLk-g-7{-webkit-animation:_1uUNrhb5ty2eiAurkVzUk 1.1s .1s backwards;animation:_1uUNrhb5ty2eiAurkVzUk 1.1s .1s backwards}", "" ]), | ||
exports.push([ module.id, "._3kCzLlKFRFaScck17noZVh{background-color:#091e42;border-radius:3px;box-sizing:border-box;color:#fff;font-size:12px;line-height:1.33333333;max-width:420px;margin:8px;padding:2px 8px;pointer-events:none}@-webkit-keyframes _3PwIerOXVWhJFCIWmZGA0F{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3PwIerOXVWhJFCIWmZGA0F{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _21J3MWO0ej85rgNI33VyRs{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _21J3MWO0ej85rgNI33VyRs{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _1MKZFsG6ZX3UxlgdmtSuGO{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes _1MKZFsG6ZX3UxlgdmtSuGO{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes glrdroY13CPtyBb-WB_BU{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes glrdroY13CPtyBb-WB_BU{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}._3mOV8Tf-F6oy9JUrYhHba7{-webkit-animation:_3PwIerOXVWhJFCIWmZGA0F 1.1s .1s backwards;animation:_3PwIerOXVWhJFCIWmZGA0F 1.1s .1s backwards}._2XTuADgmrKeK0co5Xl_af2{-webkit-animation:_21J3MWO0ej85rgNI33VyRs 1.1s .1s backwards;animation:_21J3MWO0ej85rgNI33VyRs 1.1s .1s backwards}._24dAh94VjWW0_TzvyWD06V{-webkit-animation:_1MKZFsG6ZX3UxlgdmtSuGO 1.1s .1s backwards;animation:_1MKZFsG6ZX3UxlgdmtSuGO 1.1s .1s backwards}._1PZz8F_LbnpisN7xxFsKYT{-webkit-animation:glrdroY13CPtyBb-WB_BU 1.1s .1s backwards;animation:glrdroY13CPtyBb-WB_BU 1.1s .1s backwards}", "" ]), | ||
// exports | ||
exports.locals = { | ||
tooltip: "_3Gnam0AIUfySzus2T9CaEd", | ||
tooltip: "_3Gnam0AIUfySzus2T9CaEd", | ||
slideUpAnimation: "_3YByy8OIjy0mJzvR1m5rMj", | ||
slideUpAnimation: "_3YByy8OIjy0mJzvR1m5rMj", | ||
"slide-up": "_3fxJQsE6itYUcoXUYQb__X", | ||
slideUp: "_3fxJQsE6itYUcoXUYQb__X", | ||
slideDownAnimation: "_3ToT8hOssNjy4nXgHIIyG4", | ||
slideDownAnimation: "_3ToT8hOssNjy4nXgHIIyG4", | ||
"slide-down": "_3Q-N-wSAmOC4Bca_L6PwWI", | ||
slideDown: "_3Q-N-wSAmOC4Bca_L6PwWI", | ||
slideLeftAnimation: "_13ooR6tLMe_mkphI0_hUa9", | ||
slideLeftAnimation: "_13ooR6tLMe_mkphI0_hUa9", | ||
"slide-left": "bfrZ0ntuUi-X8f-YIgre0", | ||
slideLeft: "bfrZ0ntuUi-X8f-YIgre0", | ||
slideRightAnimation: "_1htcm1G-TCrVKQRCLk-g-7", | ||
slideRightAnimation: "_1htcm1G-TCrVKQRCLk-g-7", | ||
"slide-right": "_1uUNrhb5ty2eiAurkVzUk", | ||
slideRight: "_1uUNrhb5ty2eiAurkVzUk" | ||
tooltip: "_3kCzLlKFRFaScck17noZVh", | ||
tooltip: "_3kCzLlKFRFaScck17noZVh", | ||
slideUpAnimation: "_3mOV8Tf-F6oy9JUrYhHba7", | ||
slideUpAnimation: "_3mOV8Tf-F6oy9JUrYhHba7", | ||
"slide-up": "_3PwIerOXVWhJFCIWmZGA0F", | ||
slideUp: "_3PwIerOXVWhJFCIWmZGA0F", | ||
slideDownAnimation: "_2XTuADgmrKeK0co5Xl_af2", | ||
slideDownAnimation: "_2XTuADgmrKeK0co5Xl_af2", | ||
"slide-down": "_21J3MWO0ej85rgNI33VyRs", | ||
slideDown: "_21J3MWO0ej85rgNI33VyRs", | ||
slideLeftAnimation: "_24dAh94VjWW0_TzvyWD06V", | ||
slideLeftAnimation: "_24dAh94VjWW0_TzvyWD06V", | ||
"slide-left": "_1MKZFsG6ZX3UxlgdmtSuGO", | ||
slideLeft: "_1MKZFsG6ZX3UxlgdmtSuGO", | ||
slideRightAnimation: "_1PZz8F_LbnpisN7xxFsKYT", | ||
slideRightAnimation: "_1PZz8F_LbnpisN7xxFsKYT", | ||
"slide-right": "glrdroY13CPtyBb-WB_BU", | ||
slideRight: "glrdroY13CPtyBb-WB_BU" | ||
}; | ||
@@ -277,0 +277,0 @@ }, /* 16 */ |
@@ -1,1 +0,1 @@ | ||
module.exports=function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(5)},,,,,function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Tooltip=void 0;var r=i(6),o=n(r),a=i(7),s=n(a),u=i(8),c=n(u),f=i(9),l=n(f),p=i(10),m=n(p),b=i(11),d=n(b),h=i(12),y=n(h),g=function(t){function e(t){(0,s.default)(this,e);var i=(0,l.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return i.hideTooltip=function(){i.setState({visible:!1})},i.showTooltip=function(){i.setState({visible:!0})},i.state={visible:!1},i}return(0,m.default)(e,t),(0,c.default)(e,[{key:"render",value:function(){var t=this.props;return d.default.createElement(y.default,{visible:this.state.visible,description:t.description,position:t.position,onMouseOver:this.showTooltip,onMouseOut:this.hideTooltip},t.children)}}]),e}(b.PureComponent);g.propTypes={description:b.PropTypes.string,position:b.PropTypes.oneOf(["top","bottom","left","right"]),children:b.PropTypes.node},g.defaultProps={description:"",position:"bottom",children:null},e.default=g,e.Tooltip=y.default},function(t,e){t.exports=require("babel-runtime/core-js/object/get-prototype-of")},function(t,e){t.exports=require("babel-runtime/helpers/classCallCheck")},function(t,e){t.exports=require("babel-runtime/helpers/createClass")},function(t,e){t.exports=require("babel-runtime/helpers/possibleConstructorReturn")},function(t,e){t.exports=require("babel-runtime/helpers/inherits")},function(t,e){t.exports=require("react")},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=i(6),o=n(r),a=i(7),s=n(a),u=i(8),c=n(u),f=i(9),l=n(f),p=i(10),m=n(p),b=i(11),d=n(b),h=i(13),y=n(h),g=i(14),k=n(g),w=i(18),v=function(t){function e(t){(0,s.default)(this,e);var i=(0,l.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return i.handleLayerFlipChange=function(t){var e=t.flipped;i.setState({isFlipped:e})},i.state={isFlipped:!1},i}return(0,m.default)(e,t),(0,c.default)(e,[{key:"render",value:function(){var t=this.props,e=(0,w.getAnimationClass)(t.position,this.state.isFlipped),i=t.visible?d.default.createElement("div",{className:k.default.tooltip+" "+e},t.description):null;return d.default.createElement("div",{onMouseOver:t.onMouseOver,onMouseOut:t.onMouseOut},d.default.createElement(y.default,{position:(0,w.positionToPopperPosition)(t.position),autoPosition:!0,content:i,onFlippedChange:this.handleLayerFlipChange},this.props.children))}}]),e}(b.PureComponent);v.propTypes={position:b.PropTypes.oneOf(["top","bottom","left","right"]),description:b.PropTypes.string,visible:b.PropTypes.bool,onMouseOver:b.PropTypes.func,onMouseOut:b.PropTypes.func,children:b.PropTypes.node},v.defaultProps={position:"bottom",description:"",visible:!1,onMouseOver:function(){},onMouseOut:function(){},children:null},e.default=v},function(t,e){t.exports=require("ak-layer")},function(t,e,i){var n=i(15);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){e=t.exports=i(16)(),e.push([t.id,"._3Gnam0AIUfySzus2T9CaEd{background-color:#091e42;border-radius:3px;box-sizing:border-box;color:#fff;font-size:12px;line-height:1.33333333;max-width:420px;margin:8px;padding:2px 8px;pointer-events:none}@-webkit-keyframes _3fxJQsE6itYUcoXUYQb__X{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3fxJQsE6itYUcoXUYQb__X{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _3Q-N-wSAmOC4Bca_L6PwWI{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3Q-N-wSAmOC4Bca_L6PwWI{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes bfrZ0ntuUi-X8f-YIgre0{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes bfrZ0ntuUi-X8f-YIgre0{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes _1uUNrhb5ty2eiAurkVzUk{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes _1uUNrhb5ty2eiAurkVzUk{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}._3YByy8OIjy0mJzvR1m5rMj{-webkit-animation:_3fxJQsE6itYUcoXUYQb__X 1.1s .1s backwards;animation:_3fxJQsE6itYUcoXUYQb__X 1.1s .1s backwards}._3ToT8hOssNjy4nXgHIIyG4{-webkit-animation:_3Q-N-wSAmOC4Bca_L6PwWI 1.1s .1s backwards;animation:_3Q-N-wSAmOC4Bca_L6PwWI 1.1s .1s backwards}._13ooR6tLMe_mkphI0_hUa9{-webkit-animation:bfrZ0ntuUi-X8f-YIgre0 1.1s .1s backwards;animation:bfrZ0ntuUi-X8f-YIgre0 1.1s .1s backwards}._1htcm1G-TCrVKQRCLk-g-7{-webkit-animation:_1uUNrhb5ty2eiAurkVzUk 1.1s .1s backwards;animation:_1uUNrhb5ty2eiAurkVzUk 1.1s .1s backwards}",""]),e.locals={tooltip:"_3Gnam0AIUfySzus2T9CaEd",tooltip:"_3Gnam0AIUfySzus2T9CaEd",slideUpAnimation:"_3YByy8OIjy0mJzvR1m5rMj",slideUpAnimation:"_3YByy8OIjy0mJzvR1m5rMj","slide-up":"_3fxJQsE6itYUcoXUYQb__X",slideUp:"_3fxJQsE6itYUcoXUYQb__X",slideDownAnimation:"_3ToT8hOssNjy4nXgHIIyG4",slideDownAnimation:"_3ToT8hOssNjy4nXgHIIyG4","slide-down":"_3Q-N-wSAmOC4Bca_L6PwWI",slideDown:"_3Q-N-wSAmOC4Bca_L6PwWI",slideLeftAnimation:"_13ooR6tLMe_mkphI0_hUa9",slideLeftAnimation:"_13ooR6tLMe_mkphI0_hUa9","slide-left":"bfrZ0ntuUi-X8f-YIgre0",slideLeft:"bfrZ0ntuUi-X8f-YIgre0",slideRightAnimation:"_1htcm1G-TCrVKQRCLk-g-7",slideRightAnimation:"_1htcm1G-TCrVKQRCLk-g-7","slide-right":"_1uUNrhb5ty2eiAurkVzUk",slideRight:"_1uUNrhb5ty2eiAurkVzUk"}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(n[o]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&n[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]="("+a[2]+") and ("+i+")"),t.push(a))}},t}},function(t,e,i){function n(t,e){for(var i=0;i<t.length;i++){var n=t[i],r=m[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(c(n.parts[o],e))}else{for(var a=[],o=0;o<n.parts.length;o++)a.push(c(n.parts[o],e));m[n.id]={id:n.id,refs:1,parts:a}}}}function r(t){for(var e=[],i={},n=0;n<t.length;n++){var r=t[n],o=r[0],a=r[1],s=r[2],u=r[3],c={css:a,media:s,sourceMap:u};i[o]?i[o].parts.push(c):e.push(i[o]={id:o,parts:[c]})}return e}function o(t,e){var i=h(),n=k[k.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),k.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=k.indexOf(t);e>=0&&k.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t){var e=document.createElement("link");return e.rel="stylesheet",o(t,e),e}function c(t,e){var i,n,r;if(e.singleton){var o=g++;i=y||(y=s(e)),n=f.bind(null,i,o,!1),r=f.bind(null,i,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=u(e),n=p.bind(null,i),r=function(){a(i),i.href&&URL.revokeObjectURL(i.href)}):(i=s(e),n=l.bind(null,i),r=function(){a(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}function f(t,e,i,n){var r=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=w(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function l(t,e){var i=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}function p(t,e){var i=e.css,n=e.sourceMap;n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var r=new Blob([i],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var m={},b=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},d=b(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=b(function(){return document.head||document.getElementsByTagName("head")[0]}),y=null,g=0,k=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=d()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var i=r(t);return n(i,e),function(t){for(var o=[],a=0;a<i.length;a++){var s=i[a],u=m[s.id];u.refs--,o.push(u)}if(t){var c=r(t);n(c,e)}for(var a=0;a<o.length;a++){var u=o[a];if(0===u.refs){for(var f=0;f<u.parts.length;f++)u.parts[f]();delete m[u.id]}}}};var w=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){var e={top:"top center",bottom:"bottom center",left:"left middle",right:"right middle"};return e[t]?e[t]:e.bottom}function o(t,e){var i={top:s.default.locals.slideUpAnimation,bottom:s.default.locals.slideDownAnimation,left:s.default.locals.slideLeftAnimation,right:s.default.locals.slideRightAnimation},n={top:"bottom",bottom:"top",left:"right",right:"left"},r=e?n[t]:t;return i[r]?i[r]:null}Object.defineProperty(e,"__esModule",{value:!0}),e.positionToPopperPosition=r,e.getAnimationClass=o;var a=i(15),s=n(a)}]); | ||
module.exports=function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(5)},,,,,function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Tooltip=void 0;var r=i(6),o=n(r),a=i(7),s=n(a),l=i(8),c=n(l),u=i(9),f=n(u),p=i(10),m=n(p),b=i(11),d=n(b),h=i(12),g=n(h),y=function(t){function e(t){(0,s.default)(this,e);var i=(0,f.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return i.hideTooltip=function(){i.setState({visible:!1})},i.showTooltip=function(){i.setState({visible:!0})},i.state={visible:!1},i}return(0,m.default)(e,t),(0,c.default)(e,[{key:"render",value:function(){var t=this.props;return d.default.createElement(g.default,{visible:this.state.visible,description:t.description,position:t.position,onMouseOver:this.showTooltip,onMouseOut:this.hideTooltip},t.children)}}]),e}(b.PureComponent);y.propTypes={description:b.PropTypes.string,position:b.PropTypes.oneOf(["top","bottom","left","right"]),children:b.PropTypes.node},y.defaultProps={description:"",position:"bottom",children:null},e.default=y,e.Tooltip=g.default},function(t,e){t.exports=require("babel-runtime/core-js/object/get-prototype-of")},function(t,e){t.exports=require("babel-runtime/helpers/classCallCheck")},function(t,e){t.exports=require("babel-runtime/helpers/createClass")},function(t,e){t.exports=require("babel-runtime/helpers/possibleConstructorReturn")},function(t,e){t.exports=require("babel-runtime/helpers/inherits")},function(t,e){t.exports=require("react")},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=i(6),o=n(r),a=i(7),s=n(a),l=i(8),c=n(l),u=i(9),f=n(u),p=i(10),m=n(p),b=i(11),d=n(b),h=i(13),g=n(h),y=i(14),v=n(y),x=i(18),k=function(t){function e(t){(0,s.default)(this,e);var i=(0,f.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return i.handleLayerFlipChange=function(t){var e=t.flipped;i.setState({isFlipped:e})},i.state={isFlipped:!1},i}return(0,m.default)(e,t),(0,c.default)(e,[{key:"render",value:function(){var t=this.props,e=(0,x.getAnimationClass)(t.position,this.state.isFlipped),i=t.visible?d.default.createElement("div",{className:v.default.tooltip+" "+e},t.description):null;return d.default.createElement("div",{onMouseOver:t.onMouseOver,onMouseOut:t.onMouseOut},d.default.createElement(g.default,{position:(0,x.positionToPopperPosition)(t.position),autoPosition:!0,content:i,onFlippedChange:this.handleLayerFlipChange},this.props.children))}}]),e}(b.PureComponent);k.propTypes={position:b.PropTypes.oneOf(["top","bottom","left","right"]),description:b.PropTypes.string,visible:b.PropTypes.bool,onMouseOver:b.PropTypes.func,onMouseOut:b.PropTypes.func,children:b.PropTypes.node},k.defaultProps={position:"bottom",description:"",visible:!1,onMouseOver:function(){},onMouseOut:function(){},children:null},e.default=k},function(t,e){t.exports=require("@atlaskit/layer")},function(t,e,i){var n=i(15);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){e=t.exports=i(16)(),e.push([t.id,"._3kCzLlKFRFaScck17noZVh{background-color:#091e42;border-radius:3px;box-sizing:border-box;color:#fff;font-size:12px;line-height:1.33333333;max-width:420px;margin:8px;padding:2px 8px;pointer-events:none}@-webkit-keyframes _3PwIerOXVWhJFCIWmZGA0F{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3PwIerOXVWhJFCIWmZGA0F{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _21J3MWO0ej85rgNI33VyRs{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _21J3MWO0ej85rgNI33VyRs{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _1MKZFsG6ZX3UxlgdmtSuGO{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes _1MKZFsG6ZX3UxlgdmtSuGO{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes glrdroY13CPtyBb-WB_BU{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes glrdroY13CPtyBb-WB_BU{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}._3mOV8Tf-F6oy9JUrYhHba7{-webkit-animation:_3PwIerOXVWhJFCIWmZGA0F 1.1s .1s backwards;animation:_3PwIerOXVWhJFCIWmZGA0F 1.1s .1s backwards}._2XTuADgmrKeK0co5Xl_af2{-webkit-animation:_21J3MWO0ej85rgNI33VyRs 1.1s .1s backwards;animation:_21J3MWO0ej85rgNI33VyRs 1.1s .1s backwards}._24dAh94VjWW0_TzvyWD06V{-webkit-animation:_1MKZFsG6ZX3UxlgdmtSuGO 1.1s .1s backwards;animation:_1MKZFsG6ZX3UxlgdmtSuGO 1.1s .1s backwards}._1PZz8F_LbnpisN7xxFsKYT{-webkit-animation:glrdroY13CPtyBb-WB_BU 1.1s .1s backwards;animation:glrdroY13CPtyBb-WB_BU 1.1s .1s backwards}",""]),e.locals={tooltip:"_3kCzLlKFRFaScck17noZVh",tooltip:"_3kCzLlKFRFaScck17noZVh",slideUpAnimation:"_3mOV8Tf-F6oy9JUrYhHba7",slideUpAnimation:"_3mOV8Tf-F6oy9JUrYhHba7","slide-up":"_3PwIerOXVWhJFCIWmZGA0F",slideUp:"_3PwIerOXVWhJFCIWmZGA0F",slideDownAnimation:"_2XTuADgmrKeK0co5Xl_af2",slideDownAnimation:"_2XTuADgmrKeK0co5Xl_af2","slide-down":"_21J3MWO0ej85rgNI33VyRs",slideDown:"_21J3MWO0ej85rgNI33VyRs",slideLeftAnimation:"_24dAh94VjWW0_TzvyWD06V",slideLeftAnimation:"_24dAh94VjWW0_TzvyWD06V","slide-left":"_1MKZFsG6ZX3UxlgdmtSuGO",slideLeft:"_1MKZFsG6ZX3UxlgdmtSuGO",slideRightAnimation:"_1PZz8F_LbnpisN7xxFsKYT",slideRightAnimation:"_1PZz8F_LbnpisN7xxFsKYT","slide-right":"glrdroY13CPtyBb-WB_BU",slideRight:"glrdroY13CPtyBb-WB_BU"}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(n[o]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&n[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]="("+a[2]+") and ("+i+")"),t.push(a))}},t}},function(t,e,i){function n(t,e){for(var i=0;i<t.length;i++){var n=t[i],r=m[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(c(n.parts[o],e))}else{for(var a=[],o=0;o<n.parts.length;o++)a.push(c(n.parts[o],e));m[n.id]={id:n.id,refs:1,parts:a}}}}function r(t){for(var e=[],i={},n=0;n<t.length;n++){var r=t[n],o=r[0],a=r[1],s=r[2],l=r[3],c={css:a,media:s,sourceMap:l};i[o]?i[o].parts.push(c):e.push(i[o]={id:o,parts:[c]})}return e}function o(t,e){var i=h(),n=v[v.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),v.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=v.indexOf(t);e>=0&&v.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function l(t){var e=document.createElement("link");return e.rel="stylesheet",o(t,e),e}function c(t,e){var i,n,r;if(e.singleton){var o=y++;i=g||(g=s(e)),n=u.bind(null,i,o,!1),r=u.bind(null,i,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=l(e),n=p.bind(null,i),r=function(){a(i),i.href&&URL.revokeObjectURL(i.href)}):(i=s(e),n=f.bind(null,i),r=function(){a(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}function u(t,e,i,n){var r=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=x(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(t,e){var i=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}function p(t,e){var i=e.css,n=e.sourceMap;n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var r=new Blob([i],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var m={},b=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},d=b(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=b(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,v=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=d()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var i=r(t);return n(i,e),function(t){for(var o=[],a=0;a<i.length;a++){var s=i[a],l=m[s.id];l.refs--,o.push(l)}if(t){var c=r(t);n(c,e)}for(var a=0;a<o.length;a++){var l=o[a];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete m[l.id]}}}};var x=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){var e={top:"top center",bottom:"bottom center",left:"left middle",right:"right middle"};return e[t]?e[t]:e.bottom}function o(t,e){var i={top:s.default.locals.slideUpAnimation,bottom:s.default.locals.slideDownAnimation,left:s.default.locals.slideLeftAnimation,right:s.default.locals.slideRightAnimation},n={top:"bottom",bottom:"top",left:"right",right:"left"},r=e?n[t]:t;return i[r]?i[r]:null}Object.defineProperty(e,"__esModule",{value:!0}),e.positionToPopperPosition=r,e.getAnimationClass=o;var a=i(15),s=n(a)}]); |
!function(root, factory) { | ||
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("babel-runtime/core-js/object/get-prototype-of"), require("babel-runtime/helpers/classCallCheck"), require("babel-runtime/helpers/createClass"), require("babel-runtime/helpers/possibleConstructorReturn"), require("babel-runtime/helpers/inherits"), require("react"), require("ak-layer")) : "function" == typeof define && define.amd ? define([ "babel-runtime/core-js/object/get-prototype-of", "babel-runtime/helpers/classCallCheck", "babel-runtime/helpers/createClass", "babel-runtime/helpers/possibleConstructorReturn", "babel-runtime/helpers/inherits", "react", "ak-layer" ], factory) : "object" == typeof exports ? exports["@atlaskit/tooltip"] = factory(require("babel-runtime/core-js/object/get-prototype-of"), require("babel-runtime/helpers/classCallCheck"), require("babel-runtime/helpers/createClass"), require("babel-runtime/helpers/possibleConstructorReturn"), require("babel-runtime/helpers/inherits"), require("react"), require("ak-layer")) : root["@atlaskit/tooltip"] = factory(root["babel-runtime/core-js/object/get-prototype-of"], root["babel-runtime/helpers/classCallCheck"], root["babel-runtime/helpers/createClass"], root["babel-runtime/helpers/possibleConstructorReturn"], root["babel-runtime/helpers/inherits"], root.react, root["ak-layer"]); | ||
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("babel-runtime/core-js/object/get-prototype-of"), require("babel-runtime/helpers/classCallCheck"), require("babel-runtime/helpers/createClass"), require("babel-runtime/helpers/possibleConstructorReturn"), require("babel-runtime/helpers/inherits"), require("react"), require("@atlaskit/layer")) : "function" == typeof define && define.amd ? define([ "babel-runtime/core-js/object/get-prototype-of", "babel-runtime/helpers/classCallCheck", "babel-runtime/helpers/createClass", "babel-runtime/helpers/possibleConstructorReturn", "babel-runtime/helpers/inherits", "react", "@atlaskit/layer" ], factory) : "object" == typeof exports ? exports["@atlaskit/tooltip"] = factory(require("babel-runtime/core-js/object/get-prototype-of"), require("babel-runtime/helpers/classCallCheck"), require("babel-runtime/helpers/createClass"), require("babel-runtime/helpers/possibleConstructorReturn"), require("babel-runtime/helpers/inherits"), require("react"), require("@atlaskit/layer")) : root["@atlaskit/tooltip"] = factory(root["babel-runtime/core-js/object/get-prototype-of"], root["babel-runtime/helpers/classCallCheck"], root["babel-runtime/helpers/createClass"], root["babel-runtime/helpers/possibleConstructorReturn"], root["babel-runtime/helpers/inherits"], root.react, root["@atlaskit/layer"]); | ||
}(this, function(__WEBPACK_EXTERNAL_MODULE_6__, __WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_8__, __WEBPACK_EXTERNAL_MODULE_9__, __WEBPACK_EXTERNAL_MODULE_10__, __WEBPACK_EXTERNAL_MODULE_11__, __WEBPACK_EXTERNAL_MODULE_13__) { | ||
@@ -164,3 +164,3 @@ /******/ | ||
}); | ||
var _getPrototypeOf = __webpack_require__(6), _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf), _classCallCheck2 = __webpack_require__(7), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(8), _createClass3 = _interopRequireDefault(_createClass2), _possibleConstructorReturn2 = __webpack_require__(9), _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2), _inherits2 = __webpack_require__(10), _inherits3 = _interopRequireDefault(_inherits2), _react = __webpack_require__(11), _react2 = _interopRequireDefault(_react), _akLayer = __webpack_require__(13), _akLayer2 = _interopRequireDefault(_akLayer), _styles = __webpack_require__(14), _styles2 = _interopRequireDefault(_styles), _helpers = __webpack_require__(18), StatelessTooltip = function(_PureComponent) { | ||
var _getPrototypeOf = __webpack_require__(6), _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf), _classCallCheck2 = __webpack_require__(7), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(8), _createClass3 = _interopRequireDefault(_createClass2), _possibleConstructorReturn2 = __webpack_require__(9), _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2), _inherits2 = __webpack_require__(10), _inherits3 = _interopRequireDefault(_inherits2), _react = __webpack_require__(11), _react2 = _interopRequireDefault(_react), _layer = __webpack_require__(13), _layer2 = _interopRequireDefault(_layer), _styles = __webpack_require__(14), _styles2 = _interopRequireDefault(_styles), _helpers = __webpack_require__(18), StatelessTooltip = function(_PureComponent) { | ||
function StatelessTooltip(props) { | ||
@@ -188,3 +188,3 @@ (0, _classCallCheck3.default)(this, StatelessTooltip); | ||
onMouseOut: props.onMouseOut | ||
}, _react2.default.createElement(_akLayer2.default, { | ||
}, _react2.default.createElement(_layer2.default, { | ||
position: (0, _helpers.positionToPopperPosition)(props.position), | ||
@@ -256,23 +256,23 @@ autoPosition: !0, | ||
// module | ||
exports.push([ module.id, "._3Gnam0AIUfySzus2T9CaEd{background-color:#091e42;border-radius:3px;box-sizing:border-box;color:#fff;font-size:12px;line-height:1.33333333;max-width:420px;margin:8px;padding:2px 8px;pointer-events:none}@-webkit-keyframes _3fxJQsE6itYUcoXUYQb__X{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3fxJQsE6itYUcoXUYQb__X{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _3Q-N-wSAmOC4Bca_L6PwWI{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3Q-N-wSAmOC4Bca_L6PwWI{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes bfrZ0ntuUi-X8f-YIgre0{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes bfrZ0ntuUi-X8f-YIgre0{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes _1uUNrhb5ty2eiAurkVzUk{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes _1uUNrhb5ty2eiAurkVzUk{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}._3YByy8OIjy0mJzvR1m5rMj{-webkit-animation:_3fxJQsE6itYUcoXUYQb__X 1.1s .1s backwards;animation:_3fxJQsE6itYUcoXUYQb__X 1.1s .1s backwards}._3ToT8hOssNjy4nXgHIIyG4{-webkit-animation:_3Q-N-wSAmOC4Bca_L6PwWI 1.1s .1s backwards;animation:_3Q-N-wSAmOC4Bca_L6PwWI 1.1s .1s backwards}._13ooR6tLMe_mkphI0_hUa9{-webkit-animation:bfrZ0ntuUi-X8f-YIgre0 1.1s .1s backwards;animation:bfrZ0ntuUi-X8f-YIgre0 1.1s .1s backwards}._1htcm1G-TCrVKQRCLk-g-7{-webkit-animation:_1uUNrhb5ty2eiAurkVzUk 1.1s .1s backwards;animation:_1uUNrhb5ty2eiAurkVzUk 1.1s .1s backwards}", "" ]), | ||
exports.push([ module.id, "._3kCzLlKFRFaScck17noZVh{background-color:#091e42;border-radius:3px;box-sizing:border-box;color:#fff;font-size:12px;line-height:1.33333333;max-width:420px;margin:8px;padding:2px 8px;pointer-events:none}@-webkit-keyframes _3PwIerOXVWhJFCIWmZGA0F{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3PwIerOXVWhJFCIWmZGA0F{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _21J3MWO0ej85rgNI33VyRs{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _21J3MWO0ej85rgNI33VyRs{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _1MKZFsG6ZX3UxlgdmtSuGO{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes _1MKZFsG6ZX3UxlgdmtSuGO{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes glrdroY13CPtyBb-WB_BU{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes glrdroY13CPtyBb-WB_BU{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}._3mOV8Tf-F6oy9JUrYhHba7{-webkit-animation:_3PwIerOXVWhJFCIWmZGA0F 1.1s .1s backwards;animation:_3PwIerOXVWhJFCIWmZGA0F 1.1s .1s backwards}._2XTuADgmrKeK0co5Xl_af2{-webkit-animation:_21J3MWO0ej85rgNI33VyRs 1.1s .1s backwards;animation:_21J3MWO0ej85rgNI33VyRs 1.1s .1s backwards}._24dAh94VjWW0_TzvyWD06V{-webkit-animation:_1MKZFsG6ZX3UxlgdmtSuGO 1.1s .1s backwards;animation:_1MKZFsG6ZX3UxlgdmtSuGO 1.1s .1s backwards}._1PZz8F_LbnpisN7xxFsKYT{-webkit-animation:glrdroY13CPtyBb-WB_BU 1.1s .1s backwards;animation:glrdroY13CPtyBb-WB_BU 1.1s .1s backwards}", "" ]), | ||
// exports | ||
exports.locals = { | ||
tooltip: "_3Gnam0AIUfySzus2T9CaEd", | ||
tooltip: "_3Gnam0AIUfySzus2T9CaEd", | ||
slideUpAnimation: "_3YByy8OIjy0mJzvR1m5rMj", | ||
slideUpAnimation: "_3YByy8OIjy0mJzvR1m5rMj", | ||
"slide-up": "_3fxJQsE6itYUcoXUYQb__X", | ||
slideUp: "_3fxJQsE6itYUcoXUYQb__X", | ||
slideDownAnimation: "_3ToT8hOssNjy4nXgHIIyG4", | ||
slideDownAnimation: "_3ToT8hOssNjy4nXgHIIyG4", | ||
"slide-down": "_3Q-N-wSAmOC4Bca_L6PwWI", | ||
slideDown: "_3Q-N-wSAmOC4Bca_L6PwWI", | ||
slideLeftAnimation: "_13ooR6tLMe_mkphI0_hUa9", | ||
slideLeftAnimation: "_13ooR6tLMe_mkphI0_hUa9", | ||
"slide-left": "bfrZ0ntuUi-X8f-YIgre0", | ||
slideLeft: "bfrZ0ntuUi-X8f-YIgre0", | ||
slideRightAnimation: "_1htcm1G-TCrVKQRCLk-g-7", | ||
slideRightAnimation: "_1htcm1G-TCrVKQRCLk-g-7", | ||
"slide-right": "_1uUNrhb5ty2eiAurkVzUk", | ||
slideRight: "_1uUNrhb5ty2eiAurkVzUk" | ||
tooltip: "_3kCzLlKFRFaScck17noZVh", | ||
tooltip: "_3kCzLlKFRFaScck17noZVh", | ||
slideUpAnimation: "_3mOV8Tf-F6oy9JUrYhHba7", | ||
slideUpAnimation: "_3mOV8Tf-F6oy9JUrYhHba7", | ||
"slide-up": "_3PwIerOXVWhJFCIWmZGA0F", | ||
slideUp: "_3PwIerOXVWhJFCIWmZGA0F", | ||
slideDownAnimation: "_2XTuADgmrKeK0co5Xl_af2", | ||
slideDownAnimation: "_2XTuADgmrKeK0co5Xl_af2", | ||
"slide-down": "_21J3MWO0ej85rgNI33VyRs", | ||
slideDown: "_21J3MWO0ej85rgNI33VyRs", | ||
slideLeftAnimation: "_24dAh94VjWW0_TzvyWD06V", | ||
slideLeftAnimation: "_24dAh94VjWW0_TzvyWD06V", | ||
"slide-left": "_1MKZFsG6ZX3UxlgdmtSuGO", | ||
slideLeft: "_1MKZFsG6ZX3UxlgdmtSuGO", | ||
slideRightAnimation: "_1PZz8F_LbnpisN7xxFsKYT", | ||
slideRightAnimation: "_1PZz8F_LbnpisN7xxFsKYT", | ||
"slide-right": "glrdroY13CPtyBb-WB_BU", | ||
slideRight: "glrdroY13CPtyBb-WB_BU" | ||
}; | ||
@@ -279,0 +279,0 @@ }, /* 16 */ |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("react"),require("ak-layer")):"function"==typeof define&&define.amd?define(["babel-runtime/core-js/object/get-prototype-of","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/createClass","babel-runtime/helpers/possibleConstructorReturn","babel-runtime/helpers/inherits","react","ak-layer"],e):"object"==typeof exports?exports["@atlaskit/tooltip"]=e(require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("react"),require("ak-layer")):t["@atlaskit/tooltip"]=e(t["babel-runtime/core-js/object/get-prototype-of"],t["babel-runtime/helpers/classCallCheck"],t["babel-runtime/helpers/createClass"],t["babel-runtime/helpers/possibleConstructorReturn"],t["babel-runtime/helpers/inherits"],t.react,t["ak-layer"])}(this,function(t,e,i,n,r,o,a){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(5)},,,,,function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Tooltip=void 0;var r=i(6),o=n(r),a=i(7),s=n(a),u=i(8),l=n(u),c=i(9),f=n(c),p=i(10),b=n(p),m=i(11),d=n(m),h=i(12),y=n(h),g=function(t){function e(t){(0,s.default)(this,e);var i=(0,f.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return i.hideTooltip=function(){i.setState({visible:!1})},i.showTooltip=function(){i.setState({visible:!0})},i.state={visible:!1},i}return(0,b.default)(e,t),(0,l.default)(e,[{key:"render",value:function(){var t=this.props;return d.default.createElement(y.default,{visible:this.state.visible,description:t.description,position:t.position,onMouseOver:this.showTooltip,onMouseOut:this.hideTooltip},t.children)}}]),e}(m.PureComponent);g.propTypes={description:m.PropTypes.string,position:m.PropTypes.oneOf(["top","bottom","left","right"]),children:m.PropTypes.node},g.defaultProps={description:"",position:"bottom",children:null},e.default=g,e.Tooltip=y.default},function(e,i){e.exports=t},function(t,i){t.exports=e},function(t,e){t.exports=i},function(t,e){t.exports=n},function(t,e){t.exports=r},function(t,e){t.exports=o},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=i(6),o=n(r),a=i(7),s=n(a),u=i(8),l=n(u),c=i(9),f=n(c),p=i(10),b=n(p),m=i(11),d=n(m),h=i(13),y=n(h),g=i(14),k=n(g),w=i(18),v=function(t){function e(t){(0,s.default)(this,e);var i=(0,f.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return i.handleLayerFlipChange=function(t){var e=t.flipped;i.setState({isFlipped:e})},i.state={isFlipped:!1},i}return(0,b.default)(e,t),(0,l.default)(e,[{key:"render",value:function(){var t=this.props,e=(0,w.getAnimationClass)(t.position,this.state.isFlipped),i=t.visible?d.default.createElement("div",{className:k.default.tooltip+" "+e},t.description):null;return d.default.createElement("div",{onMouseOver:t.onMouseOver,onMouseOut:t.onMouseOut},d.default.createElement(y.default,{position:(0,w.positionToPopperPosition)(t.position),autoPosition:!0,content:i,onFlippedChange:this.handleLayerFlipChange},this.props.children))}}]),e}(m.PureComponent);v.propTypes={position:m.PropTypes.oneOf(["top","bottom","left","right"]),description:m.PropTypes.string,visible:m.PropTypes.bool,onMouseOver:m.PropTypes.func,onMouseOut:m.PropTypes.func,children:m.PropTypes.node},v.defaultProps={position:"bottom",description:"",visible:!1,onMouseOver:function(){},onMouseOut:function(){},children:null},e.default=v},function(t,e){t.exports=a},function(t,e,i){var n=i(15);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){e=t.exports=i(16)(),e.push([t.id,"._3Gnam0AIUfySzus2T9CaEd{background-color:#091e42;border-radius:3px;box-sizing:border-box;color:#fff;font-size:12px;line-height:1.33333333;max-width:420px;margin:8px;padding:2px 8px;pointer-events:none}@-webkit-keyframes _3fxJQsE6itYUcoXUYQb__X{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3fxJQsE6itYUcoXUYQb__X{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _3Q-N-wSAmOC4Bca_L6PwWI{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3Q-N-wSAmOC4Bca_L6PwWI{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes bfrZ0ntuUi-X8f-YIgre0{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes bfrZ0ntuUi-X8f-YIgre0{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes _1uUNrhb5ty2eiAurkVzUk{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes _1uUNrhb5ty2eiAurkVzUk{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}._3YByy8OIjy0mJzvR1m5rMj{-webkit-animation:_3fxJQsE6itYUcoXUYQb__X 1.1s .1s backwards;animation:_3fxJQsE6itYUcoXUYQb__X 1.1s .1s backwards}._3ToT8hOssNjy4nXgHIIyG4{-webkit-animation:_3Q-N-wSAmOC4Bca_L6PwWI 1.1s .1s backwards;animation:_3Q-N-wSAmOC4Bca_L6PwWI 1.1s .1s backwards}._13ooR6tLMe_mkphI0_hUa9{-webkit-animation:bfrZ0ntuUi-X8f-YIgre0 1.1s .1s backwards;animation:bfrZ0ntuUi-X8f-YIgre0 1.1s .1s backwards}._1htcm1G-TCrVKQRCLk-g-7{-webkit-animation:_1uUNrhb5ty2eiAurkVzUk 1.1s .1s backwards;animation:_1uUNrhb5ty2eiAurkVzUk 1.1s .1s backwards}",""]),e.locals={tooltip:"_3Gnam0AIUfySzus2T9CaEd",tooltip:"_3Gnam0AIUfySzus2T9CaEd",slideUpAnimation:"_3YByy8OIjy0mJzvR1m5rMj",slideUpAnimation:"_3YByy8OIjy0mJzvR1m5rMj","slide-up":"_3fxJQsE6itYUcoXUYQb__X",slideUp:"_3fxJQsE6itYUcoXUYQb__X",slideDownAnimation:"_3ToT8hOssNjy4nXgHIIyG4",slideDownAnimation:"_3ToT8hOssNjy4nXgHIIyG4","slide-down":"_3Q-N-wSAmOC4Bca_L6PwWI",slideDown:"_3Q-N-wSAmOC4Bca_L6PwWI",slideLeftAnimation:"_13ooR6tLMe_mkphI0_hUa9",slideLeftAnimation:"_13ooR6tLMe_mkphI0_hUa9","slide-left":"bfrZ0ntuUi-X8f-YIgre0",slideLeft:"bfrZ0ntuUi-X8f-YIgre0",slideRightAnimation:"_1htcm1G-TCrVKQRCLk-g-7",slideRightAnimation:"_1htcm1G-TCrVKQRCLk-g-7","slide-right":"_1uUNrhb5ty2eiAurkVzUk",slideRight:"_1uUNrhb5ty2eiAurkVzUk"}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(n[o]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&n[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]="("+a[2]+") and ("+i+")"),t.push(a))}},t}},function(t,e,i){function n(t,e){for(var i=0;i<t.length;i++){var n=t[i],r=b[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(l(n.parts[o],e))}else{for(var a=[],o=0;o<n.parts.length;o++)a.push(l(n.parts[o],e));b[n.id]={id:n.id,refs:1,parts:a}}}}function r(t){for(var e=[],i={},n=0;n<t.length;n++){var r=t[n],o=r[0],a=r[1],s=r[2],u=r[3],l={css:a,media:s,sourceMap:u};i[o]?i[o].parts.push(l):e.push(i[o]={id:o,parts:[l]})}return e}function o(t,e){var i=h(),n=k[k.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),k.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=k.indexOf(t);e>=0&&k.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t){var e=document.createElement("link");return e.rel="stylesheet",o(t,e),e}function l(t,e){var i,n,r;if(e.singleton){var o=g++;i=y||(y=s(e)),n=c.bind(null,i,o,!1),r=c.bind(null,i,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=u(e),n=p.bind(null,i),r=function(){a(i),i.href&&URL.revokeObjectURL(i.href)}):(i=s(e),n=f.bind(null,i),r=function(){a(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}function c(t,e,i,n){var r=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=w(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(t,e){var i=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}function p(t,e){var i=e.css,n=e.sourceMap;n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var r=new Blob([i],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var b={},m=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},d=m(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=m(function(){return document.head||document.getElementsByTagName("head")[0]}),y=null,g=0,k=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=d()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var i=r(t);return n(i,e),function(t){for(var o=[],a=0;a<i.length;a++){var s=i[a],u=b[s.id];u.refs--,o.push(u)}if(t){var l=r(t);n(l,e)}for(var a=0;a<o.length;a++){var u=o[a];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete b[u.id]}}}};var w=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){var e={top:"top center",bottom:"bottom center",left:"left middle",right:"right middle"};return e[t]?e[t]:e.bottom}function o(t,e){var i={top:s.default.locals.slideUpAnimation,bottom:s.default.locals.slideDownAnimation,left:s.default.locals.slideLeftAnimation,right:s.default.locals.slideRightAnimation},n={top:"bottom",bottom:"top",left:"right",right:"left"},r=e?n[t]:t;return i[r]?i[r]:null}Object.defineProperty(e,"__esModule",{value:!0}),e.positionToPopperPosition=r,e.getAnimationClass=o;var a=i(15),s=n(a)}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("react"),require("@atlaskit/layer")):"function"==typeof define&&define.amd?define(["babel-runtime/core-js/object/get-prototype-of","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/createClass","babel-runtime/helpers/possibleConstructorReturn","babel-runtime/helpers/inherits","react","@atlaskit/layer"],e):"object"==typeof exports?exports["@atlaskit/tooltip"]=e(require("babel-runtime/core-js/object/get-prototype-of"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("babel-runtime/helpers/possibleConstructorReturn"),require("babel-runtime/helpers/inherits"),require("react"),require("@atlaskit/layer")):t["@atlaskit/tooltip"]=e(t["babel-runtime/core-js/object/get-prototype-of"],t["babel-runtime/helpers/classCallCheck"],t["babel-runtime/helpers/createClass"],t["babel-runtime/helpers/possibleConstructorReturn"],t["babel-runtime/helpers/inherits"],t.react,t["@atlaskit/layer"])}(this,function(t,e,i,n,r,o,a){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){t.exports=i(5)},,,,,function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.Tooltip=void 0;var r=i(6),o=n(r),a=i(7),s=n(a),l=i(8),u=n(l),c=i(9),p=n(c),f=i(10),b=n(f),m=i(11),d=n(m),h=i(12),g=n(h),y=function(t){function e(t){(0,s.default)(this,e);var i=(0,p.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return i.hideTooltip=function(){i.setState({visible:!1})},i.showTooltip=function(){i.setState({visible:!0})},i.state={visible:!1},i}return(0,b.default)(e,t),(0,u.default)(e,[{key:"render",value:function(){var t=this.props;return d.default.createElement(g.default,{visible:this.state.visible,description:t.description,position:t.position,onMouseOver:this.showTooltip,onMouseOut:this.hideTooltip},t.children)}}]),e}(m.PureComponent);y.propTypes={description:m.PropTypes.string,position:m.PropTypes.oneOf(["top","bottom","left","right"]),children:m.PropTypes.node},y.defaultProps={description:"",position:"bottom",children:null},e.default=y,e.Tooltip=g.default},function(e,i){e.exports=t},function(t,i){t.exports=e},function(t,e){t.exports=i},function(t,e){t.exports=n},function(t,e){t.exports=r},function(t,e){t.exports=o},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=i(6),o=n(r),a=i(7),s=n(a),l=i(8),u=n(l),c=i(9),p=n(c),f=i(10),b=n(f),m=i(11),d=n(m),h=i(13),g=n(h),y=i(14),k=n(y),x=i(18),v=function(t){function e(t){(0,s.default)(this,e);var i=(0,p.default)(this,(e.__proto__||(0,o.default)(e)).call(this,t));return i.handleLayerFlipChange=function(t){var e=t.flipped;i.setState({isFlipped:e})},i.state={isFlipped:!1},i}return(0,b.default)(e,t),(0,u.default)(e,[{key:"render",value:function(){var t=this.props,e=(0,x.getAnimationClass)(t.position,this.state.isFlipped),i=t.visible?d.default.createElement("div",{className:k.default.tooltip+" "+e},t.description):null;return d.default.createElement("div",{onMouseOver:t.onMouseOver,onMouseOut:t.onMouseOut},d.default.createElement(g.default,{position:(0,x.positionToPopperPosition)(t.position),autoPosition:!0,content:i,onFlippedChange:this.handleLayerFlipChange},this.props.children))}}]),e}(m.PureComponent);v.propTypes={position:m.PropTypes.oneOf(["top","bottom","left","right"]),description:m.PropTypes.string,visible:m.PropTypes.bool,onMouseOver:m.PropTypes.func,onMouseOut:m.PropTypes.func,children:m.PropTypes.node},v.defaultProps={position:"bottom",description:"",visible:!1,onMouseOver:function(){},onMouseOut:function(){},children:null},e.default=v},function(t,e){t.exports=a},function(t,e,i){var n=i(15);"string"==typeof n&&(n=[[t.id,n,""]]),i(17)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){e=t.exports=i(16)(),e.push([t.id,"._3kCzLlKFRFaScck17noZVh{background-color:#091e42;border-radius:3px;box-sizing:border-box;color:#fff;font-size:12px;line-height:1.33333333;max-width:420px;margin:8px;padding:2px 8px;pointer-events:none}@-webkit-keyframes _3PwIerOXVWhJFCIWmZGA0F{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _3PwIerOXVWhJFCIWmZGA0F{0%{-webkit-transform:translateY(12px);transform:translateY(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(2.3999999999999986px);transform:translateY(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _21J3MWO0ej85rgNI33VyRs{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes _21J3MWO0ej85rgNI33VyRs{0%{-webkit-transform:translateY(-12px);transform:translateY(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateY(-2.3999999999999986px);transform:translateY(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes _1MKZFsG6ZX3UxlgdmtSuGO{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes _1MKZFsG6ZX3UxlgdmtSuGO{0%{-webkit-transform:translateX(12px);transform:translateX(12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(2.3999999999999986px);transform:translateX(2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes glrdroY13CPtyBb-WB_BU{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes glrdroY13CPtyBb-WB_BU{0%{-webkit-transform:translateX(-12px);transform:translateX(-12px);opacity:0;-webkit-animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192);animation-timing-function:cubic-bezier(.2383005,0,.25586733,.79011192)}20%{-webkit-transform:translateX(-2.3999999999999986px);transform:translateX(-2.3999999999999986px);opacity:.8;-webkit-animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1);animation-timing-function:cubic-bezier(.21787238,.98324005,.58694151,1)}to{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}._3mOV8Tf-F6oy9JUrYhHba7{-webkit-animation:_3PwIerOXVWhJFCIWmZGA0F 1.1s .1s backwards;animation:_3PwIerOXVWhJFCIWmZGA0F 1.1s .1s backwards}._2XTuADgmrKeK0co5Xl_af2{-webkit-animation:_21J3MWO0ej85rgNI33VyRs 1.1s .1s backwards;animation:_21J3MWO0ej85rgNI33VyRs 1.1s .1s backwards}._24dAh94VjWW0_TzvyWD06V{-webkit-animation:_1MKZFsG6ZX3UxlgdmtSuGO 1.1s .1s backwards;animation:_1MKZFsG6ZX3UxlgdmtSuGO 1.1s .1s backwards}._1PZz8F_LbnpisN7xxFsKYT{-webkit-animation:glrdroY13CPtyBb-WB_BU 1.1s .1s backwards;animation:glrdroY13CPtyBb-WB_BU 1.1s .1s backwards}",""]),e.locals={tooltip:"_3kCzLlKFRFaScck17noZVh",tooltip:"_3kCzLlKFRFaScck17noZVh",slideUpAnimation:"_3mOV8Tf-F6oy9JUrYhHba7",slideUpAnimation:"_3mOV8Tf-F6oy9JUrYhHba7","slide-up":"_3PwIerOXVWhJFCIWmZGA0F",slideUp:"_3PwIerOXVWhJFCIWmZGA0F",slideDownAnimation:"_2XTuADgmrKeK0co5Xl_af2",slideDownAnimation:"_2XTuADgmrKeK0co5Xl_af2","slide-down":"_21J3MWO0ej85rgNI33VyRs",slideDown:"_21J3MWO0ej85rgNI33VyRs",slideLeftAnimation:"_24dAh94VjWW0_TzvyWD06V",slideLeftAnimation:"_24dAh94VjWW0_TzvyWD06V","slide-left":"_1MKZFsG6ZX3UxlgdmtSuGO",slideLeft:"_1MKZFsG6ZX3UxlgdmtSuGO",slideRightAnimation:"_1PZz8F_LbnpisN7xxFsKYT",slideRightAnimation:"_1PZz8F_LbnpisN7xxFsKYT","slide-right":"glrdroY13CPtyBb-WB_BU",slideRight:"glrdroY13CPtyBb-WB_BU"}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(n[o]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&n[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]="("+a[2]+") and ("+i+")"),t.push(a))}},t}},function(t,e,i){function n(t,e){for(var i=0;i<t.length;i++){var n=t[i],r=b[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(u(n.parts[o],e))}else{for(var a=[],o=0;o<n.parts.length;o++)a.push(u(n.parts[o],e));b[n.id]={id:n.id,refs:1,parts:a}}}}function r(t){for(var e=[],i={},n=0;n<t.length;n++){var r=t[n],o=r[0],a=r[1],s=r[2],l=r[3],u={css:a,media:s,sourceMap:l};i[o]?i[o].parts.push(u):e.push(i[o]={id:o,parts:[u]})}return e}function o(t,e){var i=h(),n=k[k.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),k.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=k.indexOf(t);e>=0&&k.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function l(t){var e=document.createElement("link");return e.rel="stylesheet",o(t,e),e}function u(t,e){var i,n,r;if(e.singleton){var o=y++;i=g||(g=s(e)),n=c.bind(null,i,o,!1),r=c.bind(null,i,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=l(e),n=f.bind(null,i),r=function(){a(i),i.href&&URL.revokeObjectURL(i.href)}):(i=s(e),n=p.bind(null,i),r=function(){a(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}function c(t,e,i,n){var r=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=x(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function p(t,e){var i=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}function f(t,e){var i=e.css,n=e.sourceMap;n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var r=new Blob([i],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var b={},m=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},d=m(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=m(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,k=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=d()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var i=r(t);return n(i,e),function(t){for(var o=[],a=0;a<i.length;a++){var s=i[a],l=b[s.id];l.refs--,o.push(l)}if(t){var u=r(t);n(u,e)}for(var a=0;a<o.length;a++){var l=o[a];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete b[l.id]}}}};var x=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){var e={top:"top center",bottom:"bottom center",left:"left middle",right:"right middle"};return e[t]?e[t]:e.bottom}function o(t,e){var i={top:s.default.locals.slideUpAnimation,bottom:s.default.locals.slideDownAnimation,left:s.default.locals.slideLeftAnimation,right:s.default.locals.slideRightAnimation},n={top:"bottom",bottom:"top",left:"right",right:"left"},r=e?n[t]:t;return i[r]?i[r]:null}Object.defineProperty(e,"__esModule",{value:!0}),e.positionToPopperPosition=r,e.getAnimationClass=o;var a=i(15),s=n(a)}])}); |
{ | ||
"name": "@atlaskit/tooltip", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"config": { | ||
@@ -18,5 +18,5 @@ "access": "public" | ||
"dependencies": { | ||
"akutil-shared-styles": "^37.0.0", | ||
"@atlaskit/util-shared-styles": "^1.0.0", | ||
"babel-runtime": "^6.11.6", | ||
"ak-layer": "^62.0.2" | ||
"@atlaskit/layer": "^1.0.0" | ||
}, | ||
@@ -23,0 +23,0 @@ "author": "Atlassian Pty Ltd", |
@@ -5,3 +5,3 @@ [![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://aui-cdn.atlassian.com/atlaskit/registry/) | ||
[![Report an issue](https://img.shields.io/badge/Report-an_issue-6554C0.svg)](https://ecosystem.atlassian.net/browse/AK) | ||
[![Ask in our forum](https://img.shields.io/badge/Ask-in_our_forum-6554C0.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/tooltip,@atlaskit/tooltip@1.0.1) | ||
[![Ask in our forum](https://img.shields.io/badge/Ask-in_our_forum-6554C0.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/tooltip,@atlaskit/tooltip@1.0.2) | ||
@@ -12,3 +12,3 @@ # Tooltip | ||
![Example tooltip](https://bytebucket.org/atlassian/atlaskit/raw/24da72c0cb75efabd5771f8bc52dfe1c984b797e/packages/ak-tooltip/docs/exampleTooltip.gif) | ||
![Example tooltip](https://i.imgur.com/vlvguzg.gif) | ||
@@ -131,3 +131,3 @@ ## Installation | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/tooltip,@atlaskit/tooltip@1.0.1). | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/tooltip,@atlaskit/tooltip@1.0.2). | ||
@@ -134,0 +134,0 @@ Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
92883
8
1
+ Added@atlaskit/layer@^1.0.0
+ Added@atlaskit/layer@1.1.9(transitive)
+ Added@atlaskit/util-shared-styles@1.7.1(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbowser@1.9.4(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcss-color-list@0.0.1(transitive)
+ Addedcss-color-names@0.0.1(transitive)
+ Addedcss-to-react-native@1.0.6(transitive)
+ Addeddiscontinuous-range@1.0.0(transitive)
+ Addedhas-flag@1.0.0(transitive)
+ Addedhyphenate-style-name@1.1.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedinline-style-prefixer@2.0.5(transitive)
+ Addedis-function@1.0.2(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedisobject@3.0.1(transitive)
+ Addedmoo@0.5.2(transitive)
+ Addednearley@2.20.1(transitive)
+ Addedrailroad-diagrams@1.0.0(transitive)
+ Addedrandexp@0.4.6(transitive)
+ Addedret@0.1.15(transitive)
+ Addedstyled-components@1.4.6(transitive)
+ Addedsupports-color@3.2.3(transitive)
- Removedak-layer@^62.0.2
- Removedakutil-shared-styles@^37.0.0
- Removedak-layer@62.2.2(transitive)
- Removedakutil-shared-styles@37.3.3(transitive)