diff --git a/node_modules/tippy.js/README.md b/node_modules/tippy.js/README.md index ff449c80c..42cbc8d2c 100644 --- a/node_modules/tippy.js/README.md +++ b/node_modules/tippy.js/README.md @@ -52,7 +52,7 @@ The core CSS comes bundled with the default unpkg import. ## Usage For detailed usage information, -[visit the docs](https://atomiks.github.io/tippyjs/v6/creation/). +[visit the docs](https://atomiks.github.io/tippyjs/v6/getting-started/). ## Component Wrappers diff --git a/node_modules/tippy.js/dist/tippy-bundle.umd.js b/node_modules/tippy.js/dist/tippy-bundle.umd.js index 0653b228e..5f58c281f 100644 --- a/node_modules/tippy.js/dist/tippy-bundle.umd.js +++ b/node_modules/tippy.js/dist/tippy-bundle.umd.js @@ -1,6 +1,6 @@ /**! -* tippy.js v6.2.5 -* (c) 2017-2020 atomiks +* tippy.js v6.3.7 +* (c) 2017-2021 atomiks * MIT License */ (function (global, factory) { @@ -9,7 +9,7 @@ (global = global || self, global.tippy = factory(global.Popper)); }(this, (function (core) { 'use strict'; - var css = ".tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:\"\";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}"; + var css = ".tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:\"\";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}"; function injectCSS(css) { var style = document.createElement('style'); @@ -26,8 +26,8 @@ } var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined'; - var ua = isBrowser ? navigator.userAgent : ''; - var isIE = /MSIE |Trident\//.test(ua); + var isIE11 = isBrowser ? // @ts-ignore + !!window.msCrypto : false; var ROUND_ARROW = ''; var BOX_CLASS = "tippy-box"; @@ -39,6 +39,9 @@ passive: true, capture: true }; + var TIPPY_DEFAULT_APPEND_TO = function TIPPY_DEFAULT_APPEND_TO() { + return document.body; + }; function hasOwnProperty(obj, key) { return {}.hasOwnProperty.call(obj, key); @@ -158,10 +161,13 @@ }); } function getOwnerDocument(elementOrElements) { - var _normalizeToArray = normalizeToArray(elementOrElements), - element = _normalizeToArray[0]; + var _element$ownerDocumen; - return element ? element.ownerDocument || document : document; + var _normalizeToArray = normalizeToArray(elementOrElements), + element = _normalizeToArray[0]; // Elements created via a