Comparing version 4.0.0-beta.3 to 4.0.0
@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): alert.js | ||
* Bootstrap (v4.0.0): alert.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -19,3 +19,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'alert'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.alert'; | ||
@@ -51,3 +51,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
this._element = element; | ||
} // getters | ||
} // Getters | ||
@@ -57,3 +57,3 @@ | ||
// public | ||
// Public | ||
_proto.close = function close(element) { | ||
@@ -76,3 +76,3 @@ element = element || this._element; | ||
this._element = null; | ||
}; // private | ||
}; // Private | ||
@@ -119,3 +119,3 @@ | ||
$(element).detach().trigger(Event.CLOSED).remove(); | ||
}; // static | ||
}; // Static | ||
@@ -122,0 +122,0 @@ |
@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): button.js | ||
* Bootstrap (v4.0.0): button.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -19,3 +19,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'button'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.button'; | ||
@@ -53,3 +53,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
this._element = element; | ||
} // getters | ||
} // Getters | ||
@@ -59,3 +59,3 @@ | ||
// public | ||
// Public | ||
_proto.toggle = function toggle() { | ||
@@ -108,3 +108,3 @@ var triggerChangeEvent = true; | ||
this._element = null; | ||
}; // static | ||
}; // Static | ||
@@ -111,0 +111,0 @@ |
@@ -9,3 +9,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): carousel.js | ||
* Bootstrap (v4.0.0): carousel.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -21,3 +21,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'carousel'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.carousel'; | ||
@@ -105,3 +105,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
this._addEventListeners(); | ||
} // getters | ||
} // Getters | ||
@@ -111,3 +111,3 @@ | ||
// public | ||
// Public | ||
_proto.next = function next() { | ||
@@ -202,3 +202,3 @@ if (!this._isSliding) { | ||
this._indicatorsElement = null; | ||
}; // private | ||
}; // Private | ||
@@ -229,3 +229,3 @@ | ||
if ('ontouchstart' in document.documentElement) { | ||
// if it's a touch-enabled device, mouseenter/leave are fired as | ||
// If it's a touch-enabled device, mouseenter/leave are fired as | ||
// part of the mouse compatibility events on first tap - the carousel | ||
@@ -269,3 +269,2 @@ // would stop cycling until user tapped out of it; | ||
default: | ||
return; | ||
} | ||
@@ -362,3 +361,3 @@ }; | ||
if (!activeElement || !nextElement) { | ||
// some weirdness is happening, so we bail | ||
// Some weirdness is happening, so we bail | ||
return; | ||
@@ -405,3 +404,3 @@ } | ||
} | ||
}; // static | ||
}; // Static | ||
@@ -430,3 +429,3 @@ | ||
if (typeof data[action] === 'undefined') { | ||
throw new Error("No method named \"" + action + "\""); | ||
throw new TypeError("No method named \"" + action + "\""); | ||
} | ||
@@ -433,0 +432,0 @@ |
@@ -9,3 +9,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): collapse.js | ||
* Bootstrap (v4.0.0): collapse.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -21,3 +21,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'collapse'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.collapse'; | ||
@@ -54,3 +54,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
var Selector = { | ||
ACTIVES: '*:not(.multi) > .show, *:not(.multi) > .collapsing', | ||
ACTIVES: '*:not(.multi) > .show, *:not(.multi) > .collapsing, > .show, > .collapsing', | ||
// boosted mod | ||
@@ -81,2 +81,4 @@ DATA_TOGGLE: '[data-toggle="collapse"]' | ||
if (selector !== null && $(selector).filter(element).length > 0) { | ||
this._selector = selector; | ||
this._triggerArray.push(elem); | ||
@@ -95,3 +97,3 @@ } | ||
} | ||
} // getters | ||
} // Getters | ||
@@ -101,3 +103,3 @@ | ||
// public | ||
// Public | ||
_proto.toggle = function toggle() { | ||
@@ -122,5 +124,5 @@ if ($(this._element).hasClass(ClassName.SHOW)) { | ||
if (this._parent) { | ||
actives = $.makeArray($(this._parent).children().children(Selector.ACTIVES)); | ||
actives = $.makeArray($(this._parent).find(Selector.ACTIVES).filter("[data-parent=\"" + this._config.parent + "\"]")); | ||
if (!actives.length) { | ||
if (actives.length === 0) { | ||
actives = null; | ||
@@ -131,3 +133,3 @@ } | ||
if (actives) { | ||
activesData = $(actives).data(DATA_KEY); | ||
activesData = $(actives).not(this._selector).data(DATA_KEY); | ||
@@ -147,3 +149,3 @@ if (activesData && activesData._isTransitioning) { | ||
if (actives) { | ||
Collapse._jQueryInterface.call($(actives), 'hide'); | ||
Collapse._jQueryInterface.call($(actives).not(this._selector), 'hide'); | ||
@@ -163,3 +165,3 @@ if (!activesData) { | ||
if (this._triggerArray.length) { | ||
if (this._triggerArray.length > 0) { | ||
$(this._triggerArray).removeClass(ClassName.COLLAPSED).attr('aria-expanded', true); | ||
@@ -213,3 +215,3 @@ } | ||
if (this._triggerArray.length) { | ||
if (this._triggerArray.length > 0) { | ||
for (var i = 0; i < this._triggerArray.length; i++) { | ||
@@ -258,3 +260,3 @@ var trigger = this._triggerArray[i]; | ||
this._isTransitioning = null; | ||
}; // private | ||
}; // Private | ||
@@ -264,3 +266,3 @@ | ||
config = _extends({}, Default, config); | ||
config.toggle = Boolean(config.toggle); // coerce string values | ||
config.toggle = Boolean(config.toggle); // Coerce string values | ||
@@ -282,3 +284,3 @@ Util.typeCheckConfig(NAME, config, DefaultType); | ||
if (Util.isElement(this._config.parent)) { | ||
parent = this._config.parent; // it's a jQuery object | ||
parent = this._config.parent; // It's a jQuery object | ||
@@ -303,9 +305,8 @@ if (typeof this._config.parent.jquery !== 'undefined') { | ||
element.setAttribute('aria-expanded', isOpen); // boosted mod | ||
// todo : add role tab & tabpanel for accordions | ||
if (triggerArray.length) { | ||
if (triggerArray.length > 0) { | ||
$(triggerArray).toggleClass(ClassName.COLLAPSED, !isOpen).attr('aria-expanded', isOpen); | ||
} | ||
} | ||
}; // static | ||
}; // Static | ||
@@ -343,3 +344,3 @@ | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error("No method named \"" + config + "\""); | ||
throw new TypeError("No method named \"" + config + "\""); | ||
} | ||
@@ -346,0 +347,0 @@ |
@@ -9,3 +9,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): dropdown.js | ||
* Bootstrap (v4.0.0): dropdown.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -21,3 +21,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'dropdown'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.dropdown'; | ||
@@ -112,3 +112,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
} // getters | ||
} // Getters | ||
@@ -118,3 +118,3 @@ | ||
// public | ||
// Public | ||
_proto.toggle = function toggle() { | ||
@@ -152,6 +152,6 @@ if (this._element.disabled || $(this._element).hasClass(ClassName.DISABLED)) { | ||
if (typeof Popper === 'undefined') { | ||
throw new Error('Bootstrap dropdown require Popper.js (https://popper.js.org)'); | ||
throw new TypeError('Bootstrap dropdown require Popper.js (https://popper.js.org)'); | ||
} | ||
var element = this._element; // for dropup with alignment we use the parent as popper container | ||
var element = this._element; // For dropup with alignment we use the parent as popper container | ||
@@ -172,3 +172,3 @@ if ($(parent).hasClass(ClassName.DROPUP)) { | ||
this._popper = new Popper(element, this._menu, this._getPopperConfig()); | ||
} // if this is a touch-enabled device we add extra | ||
} // If this is a touch-enabled device we add extra | ||
// empty mouseover listeners to the body's immediate children; | ||
@@ -179,3 +179,3 @@ // only needed because of broken event delegation on iOS | ||
if ('ontouchstart' in document.documentElement && !$(parent).closest(Selector.NAVBAR_NAV).length) { | ||
if ('ontouchstart' in document.documentElement && $(parent).closest(Selector.NAVBAR_NAV).length === 0) { | ||
$('body').children().on('mouseover', null, $.noop); | ||
@@ -213,3 +213,3 @@ } | ||
} | ||
}; // private | ||
}; // Private | ||
@@ -296,3 +296,3 @@ | ||
return popperConfig; | ||
}; // boosted mod | ||
}; // Boosted mod | ||
@@ -307,3 +307,3 @@ | ||
}; // end mod | ||
// static | ||
// Static | ||
@@ -330,3 +330,3 @@ | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error("No method named \"" + config + "\""); | ||
throw new TypeError("No method named \"" + config + "\""); | ||
} | ||
@@ -373,3 +373,3 @@ | ||
continue; | ||
} // if this is a touch-enabled device we remove the extra | ||
} // If this is a touch-enabled device we remove the extra | ||
// empty mouseover listeners we added for iOS support | ||
@@ -435,3 +435,3 @@ | ||
if (!items.length) { | ||
if (items.length === 0) { | ||
return; | ||
@@ -443,3 +443,3 @@ } | ||
if (event.which === ARROW_UP_KEYCODE && index > 0) { | ||
// up | ||
// Up | ||
index--; | ||
@@ -449,3 +449,3 @@ } | ||
if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { | ||
// down | ||
// Down | ||
index++; | ||
@@ -452,0 +452,0 @@ } |
@@ -9,3 +9,3 @@ /** | ||
if (typeof $ === 'undefined') { | ||
throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.'); | ||
throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.'); | ||
} | ||
@@ -12,0 +12,0 @@ |
@@ -9,3 +9,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): modal.js | ||
* Bootstrap (v4.0.0): modal.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -21,3 +21,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'modal'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.modal'; | ||
@@ -94,3 +94,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
} // getters | ||
} // Getters | ||
@@ -100,3 +100,3 @@ | ||
// public | ||
// Public | ||
_proto.toggle = function toggle(relatedTarget) { | ||
@@ -214,3 +214,3 @@ return this._isShown ? this.hide() : this.show(relatedTarget); | ||
this._adjustDialog(); | ||
}; // private | ||
}; // Private | ||
@@ -230,3 +230,3 @@ | ||
if (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) { | ||
// don't move modals dom position | ||
// Don't move modal's DOM position | ||
document.body.appendChild(this._element); | ||
@@ -274,5 +274,5 @@ } | ||
$(document).off(Event.FOCUSIN) // guard against infinite focus loop | ||
$(document).off(Event.FOCUSIN) // Guard against infinite focus loop | ||
.on(Event.FOCUSIN, function (event) { | ||
if (document !== event.target && _this4._element !== event.target && !$(_this4._element).has(event.target).length) { | ||
if (document !== event.target && _this4._element !== event.target && $(_this4._element).has(event.target).length === 0) { | ||
_this4._element.focus(); | ||
@@ -540,3 +540,3 @@ } | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error("No method named \"" + config + "\""); | ||
throw new TypeError("No method named \"" + config + "\""); | ||
} | ||
@@ -590,3 +590,3 @@ | ||
if (showEvent.isDefaultPrevented()) { | ||
// only register focus restorer if modal will actually get shown | ||
// Only register focus restorer if modal will actually get shown | ||
return; | ||
@@ -593,0 +593,0 @@ } |
@@ -9,3 +9,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
* -------------------------------------------------------------------------- | ||
* Boosted (v4.0.0-beta.3): o-megamenu.js | ||
* Boosted (v4.0.0): o-megamenu.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -21,3 +21,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'megamenu'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.megamenu'; | ||
@@ -228,3 +228,2 @@ var JQUERY_NO_CONFLICT = $.fn[NAME]; | ||
default: | ||
return; | ||
} | ||
@@ -231,0 +230,0 @@ }; |
@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
* -------------------------------------------------------------------------- | ||
* Boosted (v4.0.0-beta.3): o-navbar.js | ||
* Boosted (v4.0.0): o-navbar.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -19,3 +19,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'navbar'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.navbar'; | ||
@@ -22,0 +22,0 @@ var JQUERY_NO_CONFLICT = $.fn[NAME]; |
@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
* -------------------------------------------------------------------------- | ||
* Boosted (v4.0.0-beta.3): o-priority-nav.js | ||
* Boosted (v4.0.0): o-priority-nav.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -19,3 +19,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'prioritynav'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.prioritynav'; | ||
@@ -41,5 +41,5 @@ var JQUERY_NO_CONFLICT = $.fn[NAME]; | ||
var MenuTemplate = function MenuTemplate(MenuLabel) { | ||
function MenuTemplate(MenuLabel) { | ||
return "\n <li class=\"overflow-nav nav-item dropdown\">\n <a href=\"#\" class=\"dropdown-toggle nav-link\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\">" + MenuLabel + "</a>\n <ul class=\"overflow-nav-list dropdown-menu dropdown-menu-right\"></ul>\n </li>\n "; | ||
}; | ||
} | ||
/** | ||
@@ -46,0 +46,0 @@ * ------------------------------------------------------------------------ |
@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
* -------------------------------------------------------------------------- | ||
* Boosted (v4.0.0-beta.3): o-scroll-up.js | ||
* Boosted (v4.0.0): o-scroll-up.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -19,3 +19,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'scrollup'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.scrollup'; | ||
@@ -22,0 +22,0 @@ var EVENT_KEY = "." + DATA_KEY; |
@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
* ------------------------------------------------------------------------------------------------------ | ||
* Boosted (v4.0.0-beta.3): otab.js | ||
* Boosted (v4.0.0): otab.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -19,3 +19,3 @@ * ------------------------------------------------------------------------------------------------------ | ||
var NAME = 'otab'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.otab'; | ||
@@ -22,0 +22,0 @@ var EVENT_KEY = "." + DATA_KEY; |
@@ -11,3 +11,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): popover.js | ||
* Bootstrap (v4.0.0): popover.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -23,3 +23,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'popover'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.popover'; | ||
@@ -80,3 +80,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
// overrides | ||
// Overrides | ||
_proto.isWithContent = function isWithContent() { | ||
@@ -96,3 +96,3 @@ return this.getTitle() || this._getContent(); | ||
_proto.setContent = function setContent() { | ||
var $tip = $(this.getTipElement()); // we use append for html objects to maintain js events | ||
var $tip = $(this.getTipElement()); // We use append for html objects to maintain js events | ||
@@ -109,3 +109,3 @@ this.setElementContent($tip.find(Selector.TITLE), this.getTitle()); | ||
$tip.removeClass(ClassName.FADE + " " + ClassName.SHOW); | ||
}; // private | ||
}; // Private | ||
@@ -124,3 +124,3 @@ | ||
} | ||
}; // static | ||
}; // Static | ||
@@ -145,3 +145,3 @@ | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error("No method named \"" + config + "\""); | ||
throw new TypeError("No method named \"" + config + "\""); | ||
} | ||
@@ -156,3 +156,3 @@ | ||
key: "VERSION", | ||
// getters | ||
// Getters | ||
get: function get() { | ||
@@ -159,0 +159,0 @@ return VERSION; |
@@ -9,3 +9,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): scrollspy.js | ||
* Bootstrap (v4.0.0): scrollspy.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -21,3 +21,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'scrollspy'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.scrollspy'; | ||
@@ -89,3 +89,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
this._process(); | ||
} // getters | ||
} // Getters | ||
@@ -95,7 +95,7 @@ | ||
// public | ||
// Public | ||
_proto.refresh = function refresh() { | ||
var _this2 = this; | ||
var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET; | ||
var autoMethod = this._scrollElement === this._scrollElement.window ? OffsetMethod.OFFSET : OffsetMethod.POSITION; | ||
var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method; | ||
@@ -119,3 +119,3 @@ var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0; | ||
if (targetBCR.width || targetBCR.height) { | ||
// todo (fat): remove sketch reliance on jQuery position/offset | ||
// TODO (fat): remove sketch reliance on jQuery position/offset | ||
return [$(target)[offsetMethod]().top + offsetBase, targetSelector]; | ||
@@ -148,3 +148,3 @@ } | ||
this._scrollHeight = null; | ||
}; // private | ||
}; // Private | ||
@@ -253,3 +253,3 @@ | ||
$(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE); | ||
}; // static | ||
}; // Static | ||
@@ -270,3 +270,3 @@ | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error("No method named \"" + config + "\""); | ||
throw new TypeError("No method named \"" + config + "\""); | ||
} | ||
@@ -273,0 +273,0 @@ |
@@ -7,3 +7,3 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): tab.js | ||
* Bootstrap (v4.0.0): tab.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -19,3 +19,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'tab'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.tab'; | ||
@@ -79,3 +79,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
} // getters | ||
} // Getters | ||
@@ -85,3 +85,3 @@ | ||
// public | ||
// Public | ||
_proto.show = function show() { | ||
@@ -149,3 +149,3 @@ var _this = this; | ||
this._element = null; | ||
}; // private | ||
}; // Private | ||
@@ -283,3 +283,3 @@ | ||
}; // end mod | ||
// static | ||
// Static | ||
// Boosted mod | ||
@@ -342,3 +342,3 @@ | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error("No method named \"" + config + "\""); | ||
throw new TypeError("No method named \"" + config + "\""); | ||
} | ||
@@ -345,0 +345,0 @@ |
@@ -9,3 +9,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): tooltip.js | ||
* Bootstrap (v4.0.0): tooltip.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -21,3 +21,3 @@ * -------------------------------------------------------------------------- | ||
var NAME = 'tooltip'; | ||
var VERSION = '4.0.0-beta.3'; | ||
var VERSION = '4.0.0'; | ||
var DATA_KEY = 'bs.tooltip'; | ||
@@ -111,3 +111,3 @@ var EVENT_KEY = "." + DATA_KEY; | ||
if (typeof Popper === 'undefined') { | ||
throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)'); | ||
throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)'); | ||
} // private | ||
@@ -120,3 +120,3 @@ | ||
this._activeTrigger = {}; | ||
this._popper = null; // protected | ||
this._popper = null; // Protected | ||
@@ -128,3 +128,3 @@ this.element = element; | ||
this._setListeners(); | ||
} // getters | ||
} // Getters | ||
@@ -134,3 +134,3 @@ | ||
// public | ||
// Public | ||
_proto.enable = function enable() { | ||
@@ -270,3 +270,3 @@ this._isEnabled = true; | ||
}); | ||
$(tip).addClass(ClassName.SHOW); // if this is a touch-enabled device we add extra | ||
$(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra | ||
// empty mouseover listeners to the body's immediate children; | ||
@@ -334,3 +334,3 @@ // only needed because of broken event delegation on iOS | ||
$(tip).removeClass(ClassName.SHOW); // if this is a touch-enabled device we remove the extra | ||
$(tip).removeClass(ClassName.SHOW); // If this is a touch-enabled device we remove the extra | ||
// empty mouseover listeners we added for iOS support | ||
@@ -359,3 +359,3 @@ | ||
} | ||
}; // protected | ||
}; // Protected | ||
@@ -386,3 +386,3 @@ | ||
if (typeof content === 'object' && (content.nodeType || content.jquery)) { | ||
// content is a DOM node or a jQuery | ||
// Content is a DOM node or a jQuery | ||
if (html) { | ||
@@ -408,3 +408,3 @@ if (!$(content).parent().is($element)) { | ||
return title; | ||
}; // private | ||
}; // Private | ||
@@ -598,3 +598,3 @@ | ||
this.config.animation = initConfigAnimation; | ||
}; // static | ||
}; // Static | ||
@@ -619,3 +619,3 @@ | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error("No method named \"" + config + "\""); | ||
throw new TypeError("No method named \"" + config + "\""); | ||
} | ||
@@ -622,0 +622,0 @@ |
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): util.js | ||
* Bootstrap (v4.0.0): util.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -14,3 +14,3 @@ * -------------------------------------------------------------------------- | ||
var transition = false; | ||
var MAX_UID = 1000000; // shoutout AngusCroll (https://goo.gl/pxwQGp) | ||
var MAX_UID = 1000000; // Shoutout AngusCroll (https://goo.gl/pxwQGp) | ||
@@ -36,3 +36,3 @@ function toType(obj) { | ||
function transitionEndTest() { | ||
if (window.QUnit) { | ||
if (typeof window !== 'undefined' && window.QUnit) { | ||
return false; | ||
@@ -71,3 +71,3 @@ } | ||
function escapeId(selector) { | ||
// we escape IDs in case of special selectors (selector = '#myId:something') | ||
// We escape IDs in case of special selectors (selector = '#myId:something') | ||
// $.escapeSelector does not exist in jQuery < 3 | ||
@@ -99,3 +99,3 @@ selector = typeof $.escapeSelector === 'function' ? $.escapeSelector(selector).substr(1) : selector.replace(/(:|\.|\[|\]|,|=|@)/g, '\\$1'); | ||
selector = element.getAttribute('href') || ''; | ||
} // if it's an ID | ||
} // If it's an ID | ||
@@ -110,3 +110,3 @@ | ||
return $selector.length > 0 ? selector : null; | ||
} catch (error) { | ||
} catch (err) { | ||
return null; | ||
@@ -113,0 +113,0 @@ } |
import $ from 'jquery' | ||
import Util from './util' | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): alert.js | ||
* Bootstrap (v4.0.0): alert.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -13,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const Alert = (($) => { | ||
/** | ||
@@ -23,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'alert' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.alert' | ||
@@ -47,3 +44,2 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
/** | ||
@@ -56,3 +52,2 @@ * ------------------------------------------------------------------------ | ||
class Alert { | ||
constructor(element) { | ||
@@ -62,5 +57,4 @@ this._element = element | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -70,5 +64,4 @@ return VERSION | ||
// Public | ||
// public | ||
close(element) { | ||
@@ -92,5 +85,4 @@ element = element || this._element | ||
// Private | ||
// private | ||
_getRootElement(element) { | ||
@@ -139,5 +131,4 @@ const selector = Util.getSelectorFromElement(element) | ||
// Static | ||
// static | ||
static _jQueryInterface(config) { | ||
@@ -168,6 +159,4 @@ return this.each(function () { | ||
} | ||
} | ||
/** | ||
@@ -185,3 +174,2 @@ * ------------------------------------------------------------------------ | ||
/** | ||
@@ -201,5 +189,4 @@ * ------------------------------------------------------------------------ | ||
return Alert | ||
})($) | ||
export default Alert |
@@ -5,3 +5,3 @@ import $ from 'jquery' | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): button.js | ||
* Bootstrap (v4.0.0): button.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -12,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const Button = (($) => { | ||
/** | ||
@@ -22,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'button' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.button' | ||
@@ -45,7 +43,6 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`, | ||
FOCUS_BLUR_DATA_API : `focus${EVENT_KEY}${DATA_API_KEY} ` | ||
+ `blur${EVENT_KEY}${DATA_API_KEY}` | ||
FOCUS_BLUR_DATA_API : `focus${EVENT_KEY}${DATA_API_KEY} ` + | ||
`blur${EVENT_KEY}${DATA_API_KEY}` | ||
} | ||
/** | ||
@@ -58,3 +55,2 @@ * ------------------------------------------------------------------------ | ||
class Button { | ||
constructor(element) { | ||
@@ -64,5 +60,4 @@ this._element = element | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -72,5 +67,4 @@ return VERSION | ||
// Public | ||
// public | ||
toggle() { | ||
@@ -91,3 +85,2 @@ let triggerChangeEvent = true | ||
triggerChangeEvent = false | ||
} else { | ||
@@ -116,3 +109,2 @@ const activeElement = $(rootElement).find(Selector.ACTIVE)[0] | ||
} | ||
} | ||
@@ -122,3 +114,3 @@ | ||
this._element.setAttribute('aria-pressed', | ||
!$(this._element).hasClass(ClassName.ACTIVE)) | ||
!$(this._element).hasClass(ClassName.ACTIVE)) | ||
} | ||
@@ -136,5 +128,4 @@ | ||
// Static | ||
// static | ||
static _jQueryInterface(config) { | ||
@@ -154,6 +145,4 @@ return this.each(function () { | ||
} | ||
} | ||
/** | ||
@@ -182,3 +171,2 @@ * ------------------------------------------------------------------------ | ||
/** | ||
@@ -198,5 +186,4 @@ * ------------------------------------------------------------------------ | ||
return Button | ||
})($) | ||
export default Button |
import $ from 'jquery' | ||
import Util from './util' | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): carousel.js | ||
* Bootstrap (v4.0.0): carousel.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -13,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const Carousel = (($) => { | ||
/** | ||
@@ -23,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'carousel' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.carousel' | ||
@@ -89,3 +86,2 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
/** | ||
@@ -98,3 +94,2 @@ * ------------------------------------------------------------------------ | ||
class Carousel { | ||
constructor(element, config) { | ||
@@ -117,5 +112,4 @@ this._items = null | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -129,5 +123,4 @@ return VERSION | ||
// Public | ||
// public | ||
next() { | ||
@@ -207,5 +200,5 @@ if (!this._isSliding) { | ||
const direction = index > activeIndex ? | ||
Direction.NEXT : | ||
Direction.PREV | ||
const direction = index > activeIndex | ||
? Direction.NEXT | ||
: Direction.PREV | ||
@@ -229,5 +222,4 @@ this._slide(direction, this._items[index]) | ||
// Private | ||
// private | ||
_getConfig(config) { | ||
@@ -253,3 +245,3 @@ config = { | ||
if ('ontouchstart' in document.documentElement) { | ||
// if it's a touch-enabled device, mouseenter/leave are fired as | ||
// If it's a touch-enabled device, mouseenter/leave are fired as | ||
// part of the mouse compatibility events on first tap - the carousel | ||
@@ -287,3 +279,2 @@ // would stop cycling until user tapped out of it; | ||
default: | ||
return | ||
} | ||
@@ -312,7 +303,6 @@ } | ||
return itemIndex === -1 ? | ||
this._items[this._items.length - 1] : this._items[itemIndex] | ||
return itemIndex === -1 | ||
? this._items[this._items.length - 1] : this._items[itemIndex] | ||
} | ||
_triggerSlideEvent(relatedTarget, eventDirectionName) { | ||
@@ -382,3 +372,3 @@ const targetIndex = this._getItemIndex(relatedTarget) | ||
if (!activeElement || !nextElement) { | ||
// some weirdness is happening, so we bail | ||
// Some weirdness is happening, so we bail | ||
return | ||
@@ -404,3 +394,2 @@ } | ||
$(this._element).hasClass(ClassName.SLIDE)) { | ||
$(nextElement).addClass(orderClassName) | ||
@@ -424,6 +413,4 @@ | ||
setTimeout(() => $(this._element).trigger(slidEvent), 0) | ||
}) | ||
.emulateTransitionEnd(TRANSITION_DURATION) | ||
} else { | ||
@@ -442,5 +429,4 @@ $(activeElement).removeClass(ClassName.ACTIVE) | ||
// Static | ||
// static | ||
static _jQueryInterface(config) { | ||
@@ -472,3 +458,3 @@ return this.each(function () { | ||
if (typeof data[action] === 'undefined') { | ||
throw new Error(`No method named "${action}"`) | ||
throw new TypeError(`No method named "${action}"`) | ||
} | ||
@@ -514,6 +500,4 @@ data[action]() | ||
} | ||
} | ||
/** | ||
@@ -535,3 +519,2 @@ * ------------------------------------------------------------------------ | ||
/** | ||
@@ -551,5 +534,4 @@ * ------------------------------------------------------------------------ | ||
return Carousel | ||
})($) | ||
export default Carousel |
import $ from 'jquery' | ||
import Util from './util' | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): collapse.js | ||
* Bootstrap (v4.0.0): collapse.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -13,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const Collapse = (($) => { | ||
/** | ||
@@ -23,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'collapse' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.collapse' | ||
@@ -62,7 +59,6 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
const Selector = { | ||
ACTIVES : '*:not(.multi) > .show, *:not(.multi) > .collapsing', // boosted mod | ||
ACTIVES : '*:not(.multi) > .show, *:not(.multi) > .collapsing, > .show, > .collapsing', // boosted mod | ||
DATA_TOGGLE : '[data-toggle="collapse"]' | ||
} | ||
/** | ||
@@ -75,3 +71,2 @@ * ------------------------------------------------------------------------ | ||
class Collapse { | ||
constructor(element, config) { | ||
@@ -90,2 +85,3 @@ this._isTransitioning = false | ||
if (selector !== null && $(selector).filter(element).length > 0) { | ||
this._selector = selector | ||
this._triggerArray.push(elem) | ||
@@ -106,5 +102,4 @@ } | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -118,5 +113,4 @@ return VERSION | ||
// Public | ||
// public | ||
toggle() { | ||
@@ -140,4 +134,8 @@ if ($(this._element).hasClass(ClassName.SHOW)) { | ||
if (this._parent) { | ||
actives = $.makeArray($(this._parent).children().children(Selector.ACTIVES)) | ||
if (!actives.length) { | ||
actives = $.makeArray( | ||
$(this._parent) | ||
.find(Selector.ACTIVES) | ||
.filter(`[data-parent="${this._config.parent}"]`) | ||
) | ||
if (actives.length === 0) { | ||
actives = null | ||
@@ -148,3 +146,3 @@ } | ||
if (actives) { | ||
activesData = $(actives).data(DATA_KEY) | ||
activesData = $(actives).not(this._selector).data(DATA_KEY) | ||
if (activesData && activesData._isTransitioning) { | ||
@@ -162,3 +160,3 @@ return | ||
if (actives) { | ||
Collapse._jQueryInterface.call($(actives), 'hide') | ||
Collapse._jQueryInterface.call($(actives).not(this._selector), 'hide') | ||
if (!activesData) { | ||
@@ -178,3 +176,3 @@ $(actives).data(DATA_KEY, null) | ||
if (this._triggerArray.length) { | ||
if (this._triggerArray.length > 0) { | ||
$(this._triggerArray) | ||
@@ -240,3 +238,3 @@ .removeClass(ClassName.COLLAPSED) | ||
if (this._triggerArray.length) { | ||
if (this._triggerArray.length > 0) { | ||
for (let i = 0; i < this._triggerArray.length; i++) { | ||
@@ -249,3 +247,3 @@ const trigger = this._triggerArray[i] | ||
$(trigger).addClass(ClassName.COLLAPSED) | ||
.attr('aria-expanded', false) | ||
.attr('aria-expanded', false) | ||
} | ||
@@ -292,5 +290,4 @@ } | ||
// Private | ||
// private | ||
_getConfig(config) { | ||
@@ -301,3 +298,3 @@ config = { | ||
} | ||
config.toggle = Boolean(config.toggle) // coerce string values | ||
config.toggle = Boolean(config.toggle) // Coerce string values | ||
Util.typeCheckConfig(NAME, config, DefaultType) | ||
@@ -317,3 +314,3 @@ return config | ||
// it's a jQuery object | ||
// It's a jQuery object | ||
if (typeof this._config.parent.jquery !== 'undefined') { | ||
@@ -343,5 +340,4 @@ parent = this._config.parent[0] | ||
element.setAttribute('aria-expanded', isOpen) // boosted mod | ||
// todo : add role tab & tabpanel for accordions | ||
if (triggerArray.length) { | ||
if (triggerArray.length > 0) { | ||
$(triggerArray) | ||
@@ -354,5 +350,4 @@ .toggleClass(ClassName.COLLAPSED, !isOpen) | ||
// Static | ||
// static | ||
static _getTargetFromElement(element) { | ||
@@ -390,3 +385,3 @@ const selector = Util.getSelectorFromElement(element) | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error(`No method named "${config}"`) | ||
throw new TypeError(`No method named "${config}"`) | ||
} | ||
@@ -397,6 +392,4 @@ data[config]() | ||
} | ||
} | ||
/** | ||
@@ -424,9 +417,9 @@ * ------------------------------------------------------------------------ | ||
// Boosted mod | ||
.on('DOMContentLoaded', () => { | ||
$(Selector.DATA_TOGGLE).each(function () { | ||
const target = Collapse._getTargetFromElement(this) | ||
.on('DOMContentLoaded', () => { | ||
$(Selector.DATA_TOGGLE).each(function () { | ||
const target = Collapse._getTargetFromElement(this) | ||
Collapse._jQueryInterface.call($(target), 'init') | ||
Collapse._jQueryInterface.call($(target), 'init') | ||
}) | ||
}) | ||
}) | ||
// end mod | ||
@@ -448,5 +441,4 @@ | ||
return Collapse | ||
})($) | ||
export default Collapse |
@@ -5,6 +5,5 @@ import $ from 'jquery' | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): dropdown.js | ||
* Bootstrap (v4.0.0): dropdown.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -15,3 +14,2 @@ * -------------------------------------------------------------------------- | ||
const Dropdown = (($) => { | ||
/** | ||
@@ -24,3 +22,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'dropdown' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.dropdown' | ||
@@ -95,3 +93,2 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
/** | ||
@@ -104,3 +101,2 @@ * ------------------------------------------------------------------------ | ||
class Dropdown { | ||
constructor(element, config) { | ||
@@ -117,5 +113,4 @@ this._element = element | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -133,3 +128,3 @@ return VERSION | ||
// public | ||
// Public | ||
@@ -168,6 +163,6 @@ toggle() { | ||
if (typeof Popper === 'undefined') { | ||
throw new Error('Bootstrap dropdown require Popper.js (https://popper.js.org)') | ||
throw new TypeError('Bootstrap dropdown require Popper.js (https://popper.js.org)') | ||
} | ||
let element = this._element | ||
// for dropup with alignment we use the parent as popper container | ||
// For dropup with alignment we use the parent as popper container | ||
if ($(parent).hasClass(ClassName.DROPUP)) { | ||
@@ -187,4 +182,3 @@ if ($(this._menu).hasClass(ClassName.MENULEFT) || $(this._menu).hasClass(ClassName.MENURIGHT)) { | ||
// if this is a touch-enabled device we add extra | ||
// If this is a touch-enabled device we add extra | ||
// empty mouseover listeners to the body's immediate children; | ||
@@ -194,3 +188,3 @@ // only needed because of broken event delegation on iOS | ||
if ('ontouchstart' in document.documentElement && | ||
!$(parent).closest(Selector.NAVBAR_NAV).length) { | ||
$(parent).closest(Selector.NAVBAR_NAV).length === 0) { | ||
$('body').children().on('mouseover', null, $.noop) | ||
@@ -230,3 +224,3 @@ } | ||
// private | ||
// Private | ||
@@ -318,3 +312,3 @@ _addEventListeners() { | ||
// boosted mod | ||
// Boosted mod | ||
_addAccessibility() { | ||
@@ -329,3 +323,3 @@ $(this._element).attr('aria-haspopup', true) | ||
// static | ||
// Static | ||
@@ -350,3 +344,3 @@ static _jQueryInterface(config) { | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error(`No method named "${config}"`) | ||
throw new TypeError(`No method named "${config}"`) | ||
} | ||
@@ -382,4 +376,4 @@ data[config]() | ||
if (event && (event.type === 'click' && | ||
/input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) | ||
&& $.contains(parent, event.target)) { | ||
/input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) && | ||
$.contains(parent, event.target)) { | ||
continue | ||
@@ -394,3 +388,3 @@ } | ||
// if this is a touch-enabled device we remove the extra | ||
// If this is a touch-enabled device we remove the extra | ||
// empty mouseover listeners we added for iOS support | ||
@@ -430,4 +424,4 @@ if ('ontouchstart' in document.documentElement) { | ||
// - If trigger inside the menu => not a dropdown command | ||
if (/input|textarea/i.test(event.target.tagName) ? | ||
event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE && | ||
if (/input|textarea/i.test(event.target.tagName) | ||
? event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE && | ||
(event.which !== ARROW_DOWN_KEYCODE && event.which !== ARROW_UP_KEYCODE || | ||
@@ -450,3 +444,2 @@ $(event.target).closest(Selector.MENU).length) : !REGEXP_KEYDOWN.test(event.which)) { | ||
isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) { | ||
if (event.which === ESCAPE_KEYCODE) { | ||
@@ -463,3 +456,3 @@ const toggle = $(parent).find(Selector.DATA_TOGGLE)[0] | ||
if (!items.length) { | ||
if (items.length === 0) { | ||
return | ||
@@ -470,7 +463,7 @@ } | ||
if (event.which === ARROW_UP_KEYCODE && index > 0) { // up | ||
if (event.which === ARROW_UP_KEYCODE && index > 0) { // Up | ||
index-- | ||
} | ||
if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { // down | ||
if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { // Down | ||
index++ | ||
@@ -485,6 +478,4 @@ } | ||
} | ||
} | ||
/** | ||
@@ -529,5 +520,4 @@ * ------------------------------------------------------------------------ | ||
return Dropdown | ||
})($, Popper) | ||
export default Dropdown |
@@ -28,3 +28,3 @@ import $ from 'jquery' | ||
if (typeof $ === 'undefined') { | ||
throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.') | ||
throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.') | ||
} | ||
@@ -31,0 +31,0 @@ |
import $ from 'jquery' | ||
import Util from './util' | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): modal.js | ||
* Bootstrap (v4.0.0): modal.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -13,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const Modal = (($) => { | ||
/** | ||
@@ -23,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'modal' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.modal' | ||
@@ -78,3 +75,2 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
/** | ||
@@ -87,3 +83,2 @@ * ------------------------------------------------------------------------ | ||
class Modal { | ||
constructor(element, config) { | ||
@@ -105,5 +100,4 @@ this._config = this._getConfig(config) | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -117,5 +111,4 @@ return VERSION | ||
// Public | ||
// public | ||
toggle(relatedTarget) { | ||
@@ -209,3 +202,2 @@ return this._isShown ? this.hide() : this.show(relatedTarget) | ||
if (transition) { | ||
$(this._element) | ||
@@ -238,3 +230,3 @@ .one(Util.TRANSITION_END, (event) => this._hideModal(event)) | ||
// private | ||
// Private | ||
@@ -256,3 +248,3 @@ _getConfig(config) { | ||
this._element.parentNode.nodeType !== Node.ELEMENT_NODE) { | ||
// don't move modals dom position | ||
// Don't move modal's DOM position | ||
document.body.appendChild(this._element) | ||
@@ -298,7 +290,7 @@ } | ||
$(document) | ||
.off(Event.FOCUSIN) // guard against infinite focus loop | ||
.off(Event.FOCUSIN) // Guard against infinite focus loop | ||
.on(Event.FOCUSIN, (event) => { | ||
if (document !== event.target && | ||
this._element !== event.target && | ||
!$(this._element).has(event.target).length) { | ||
$(this._element).has(event.target).length === 0) { | ||
this._element.focus() | ||
@@ -317,3 +309,2 @@ } | ||
}) | ||
} else if (!this._isShown) { | ||
@@ -352,4 +343,4 @@ $(this._element).off(Event.KEYDOWN_DISMISS) | ||
_showBackdrop(callback) { | ||
const animate = $(this._element).hasClass(ClassName.FADE) ? | ||
ClassName.FADE : '' | ||
const animate = $(this._element).hasClass(ClassName.FADE) | ||
? ClassName.FADE : '' | ||
@@ -401,3 +392,2 @@ if (this._isShown && this._config.backdrop) { | ||
.emulateTransitionEnd(BACKDROP_TRANSITION_DURATION) | ||
} else if (!this._isShown && this._backdrop) { | ||
@@ -421,3 +411,2 @@ $(this._backdrop).removeClass(ClassName.SHOW) | ||
} | ||
} else if (callback) { | ||
@@ -428,3 +417,2 @@ callback() | ||
// ---------------------------------------------------------------------- | ||
@@ -548,3 +536,2 @@ // the following methods are used to handle overflowing modals | ||
} | ||
} | ||
@@ -571,3 +558,3 @@ // end mod | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error(`No method named "${config}"`) | ||
throw new TypeError(`No method named "${config}"`) | ||
} | ||
@@ -580,6 +567,4 @@ data[config](relatedTarget) | ||
} | ||
} | ||
/** | ||
@@ -599,4 +584,4 @@ * ------------------------------------------------------------------------ | ||
const config = $(target).data(DATA_KEY) ? | ||
'toggle' : { | ||
const config = $(target).data(DATA_KEY) | ||
? 'toggle' : { | ||
...$(target).data(), | ||
@@ -612,3 +597,3 @@ ...$(this).data() | ||
if (showEvent.isDefaultPrevented()) { | ||
// only register focus restorer if modal will actually get shown | ||
// Only register focus restorer if modal will actually get shown | ||
return | ||
@@ -641,5 +626,4 @@ } | ||
return Modal | ||
})($) | ||
export default Modal |
@@ -8,3 +8,3 @@ import $ from 'jquery' | ||
* -------------------------------------------------------------------------- | ||
* Boosted (v4.0.0-beta.3): o-megamenu.js | ||
* Boosted (v4.0.0): o-megamenu.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -15,4 +15,2 @@ * -------------------------------------------------------------------------- | ||
const MegaMenu = (() => { | ||
/** | ||
@@ -25,3 +23,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'megamenu' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.megamenu' | ||
@@ -62,3 +60,2 @@ const JQUERY_NO_CONFLICT = $.fn[NAME] | ||
class MegaMenu { | ||
constructor(element, config) { | ||
@@ -215,3 +212,2 @@ this._element = element | ||
default: | ||
return | ||
} | ||
@@ -372,5 +368,4 @@ } | ||
return MegaMenu | ||
})($) | ||
export default MegaMenu |
@@ -7,3 +7,3 @@ import $ from 'jquery' | ||
* -------------------------------------------------------------------------- | ||
* Boosted (v4.0.0-beta.3): o-navbar.js | ||
* Boosted (v4.0.0): o-navbar.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -14,4 +14,2 @@ * -------------------------------------------------------------------------- | ||
const Navbar = (() => { | ||
/** | ||
@@ -24,3 +22,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'navbar' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.navbar' | ||
@@ -53,3 +51,2 @@ const JQUERY_NO_CONFLICT = $.fn[NAME] | ||
class Navbar { | ||
constructor(element, config) { | ||
@@ -144,3 +141,2 @@ this._element = element | ||
} | ||
} | ||
@@ -162,5 +158,4 @@ | ||
return Navbar | ||
})($) | ||
export default Navbar |
@@ -5,3 +5,3 @@ import $ from 'jquery' | ||
* -------------------------------------------------------------------------- | ||
* Boosted (v4.0.0-beta.3): o-priority-nav.js | ||
* Boosted (v4.0.0): o-priority-nav.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -12,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const PriorityNav = (() => { | ||
/** | ||
@@ -22,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'prioritynav' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.prioritynav' | ||
@@ -48,3 +46,4 @@ const JQUERY_NO_CONFLICT = $.fn[NAME] | ||
const MenuTemplate = (MenuLabel) => ` | ||
function MenuTemplate(MenuLabel) { | ||
return ` | ||
<li class="overflow-nav nav-item dropdown"> | ||
@@ -55,2 +54,3 @@ <a href="#" class="dropdown-toggle nav-link" data-toggle="dropdown" role="button" aria-haspopup="true">${MenuLabel}</a> | ||
` | ||
} | ||
@@ -65,3 +65,2 @@ | ||
class PriorityNav { | ||
constructor(element, config) { | ||
@@ -123,3 +122,2 @@ this._element = element | ||
if (pos.top !== firstPos.top) { | ||
// If element is wrapped, add it to set | ||
@@ -137,3 +135,2 @@ $wrappedElements = $wrappedElements.add($elm) | ||
if ($wrappedElements.length) { | ||
// Clone set before altering | ||
@@ -169,3 +166,2 @@ const newSet = $wrappedElements.clone() | ||
this._$menu.find('.overflow-nav').attr('aria-hidden', true) | ||
} | ||
@@ -234,5 +230,4 @@ | ||
return PriorityNav | ||
})($) | ||
export default PriorityNav |
@@ -5,3 +5,3 @@ import $ from 'jquery' | ||
* -------------------------------------------------------------------------- | ||
* Boosted (v4.0.0-beta.3): o-scroll-up.js | ||
* Boosted (v4.0.0): o-scroll-up.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -12,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const ScrollUp = (() => { | ||
/** | ||
@@ -22,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'scrollup' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.scrollup' | ||
@@ -60,3 +58,2 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
class ScrollUp { | ||
constructor(element) { | ||
@@ -130,4 +127,2 @@ this._element = element | ||
} | ||
} | ||
@@ -165,5 +160,4 @@ | ||
return ScrollUp | ||
})($) | ||
export default ScrollUp |
@@ -6,3 +6,3 @@ import $ from 'jquery' | ||
* ------------------------------------------------------------------------------------------------------ | ||
* Boosted (v4.0.0-beta.3): otab.js | ||
* Boosted (v4.0.0): otab.js | ||
* Licensed under MIT (https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/master/LICENSE) | ||
@@ -13,4 +13,2 @@ * ------------------------------------------------------------------------------------------------------ | ||
const Otab = (() => { | ||
/** | ||
@@ -23,3 +21,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'otab' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.otab' | ||
@@ -54,3 +52,2 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
class Otab { | ||
constructor(element) { | ||
@@ -173,5 +170,4 @@ this._element = element | ||
return Otab | ||
})($) | ||
export default Otab |
import $ from 'jquery' | ||
import Tooltip from './tooltip' | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): popover.js | ||
* Bootstrap (v4.0.0): popover.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -13,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const Popover = (($) => { | ||
/** | ||
@@ -23,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'popover' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.popover' | ||
@@ -36,6 +33,6 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
content : '', | ||
template : '<div class="popover" role="tooltip">' | ||
+ '<div class="arrow"></div>' | ||
+ '<h3 class="popover-header"></h3>' | ||
+ '<div class="popover-body"></div></div>' | ||
template : '<div class="popover" role="tooltip">' + | ||
'<div class="arrow"></div>' + | ||
'<h3 class="popover-header"></h3>' + | ||
'<div class="popover-body"></div></div>' | ||
} | ||
@@ -71,3 +68,2 @@ | ||
/** | ||
@@ -80,6 +76,4 @@ * ------------------------------------------------------------------------ | ||
class Popover extends Tooltip { | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -113,5 +107,4 @@ return VERSION | ||
// Overrides | ||
// overrides | ||
isWithContent() { | ||
@@ -133,3 +126,3 @@ return this.getTitle() || this._getContent() | ||
// we use append for html objects to maintain js events | ||
// We use append for html objects to maintain js events | ||
this.setElementContent($tip.find(Selector.TITLE), this.getTitle()) | ||
@@ -145,7 +138,7 @@ let content = this._getContent() | ||
// private | ||
// Private | ||
_getContent() { | ||
return this.element.getAttribute('data-content') | ||
|| this.config.content | ||
return this.element.getAttribute('data-content') || | ||
this.config.content | ||
} | ||
@@ -161,5 +154,4 @@ | ||
// Static | ||
// static | ||
static _jQueryInterface(config) { | ||
@@ -181,3 +173,3 @@ return this.each(function () { | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error(`No method named "${config}"`) | ||
throw new TypeError(`No method named "${config}"`) | ||
} | ||
@@ -190,3 +182,2 @@ data[config]() | ||
/** | ||
@@ -206,5 +197,4 @@ * ------------------------------------------------------------------------ | ||
return Popover | ||
})($) | ||
export default Popover |
import $ from 'jquery' | ||
import Util from './util' | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): scrollspy.js | ||
* Bootstrap (v4.0.0): scrollspy.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -13,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const ScrollSpy = (($) => { | ||
/** | ||
@@ -23,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'scrollspy' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.scrollspy' | ||
@@ -71,3 +68,2 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
/** | ||
@@ -80,3 +76,2 @@ * ------------------------------------------------------------------------ | ||
class ScrollSpy { | ||
constructor(element, config) { | ||
@@ -86,5 +81,5 @@ this._element = element | ||
this._config = this._getConfig(config) | ||
this._selector = `${this._config.target} ${Selector.NAV_LINKS},` | ||
+ `${this._config.target} ${Selector.LIST_ITEMS},` | ||
+ `${this._config.target} ${Selector.DROPDOWN_ITEMS}` | ||
this._selector = `${this._config.target} ${Selector.NAV_LINKS},` + | ||
`${this._config.target} ${Selector.LIST_ITEMS},` + | ||
`${this._config.target} ${Selector.DROPDOWN_ITEMS}` | ||
this._offsets = [] | ||
@@ -101,5 +96,4 @@ this._targets = [] | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -113,14 +107,13 @@ return VERSION | ||
// Public | ||
// public | ||
refresh() { | ||
const autoMethod = this._scrollElement !== this._scrollElement.window ? | ||
OffsetMethod.POSITION : OffsetMethod.OFFSET | ||
const autoMethod = this._scrollElement === this._scrollElement.window | ||
? OffsetMethod.OFFSET : OffsetMethod.POSITION | ||
const offsetMethod = this._config.method === 'auto' ? | ||
autoMethod : this._config.method | ||
const offsetMethod = this._config.method === 'auto' | ||
? autoMethod : this._config.method | ||
const offsetBase = offsetMethod === OffsetMethod.POSITION ? | ||
this._getScrollTop() : 0 | ||
const offsetBase = offsetMethod === OffsetMethod.POSITION | ||
? this._getScrollTop() : 0 | ||
@@ -146,3 +139,3 @@ this._offsets = [] | ||
if (targetBCR.width || targetBCR.height) { | ||
// todo (fat): remove sketch reliance on jQuery position/offset | ||
// TODO (fat): remove sketch reliance on jQuery position/offset | ||
return [ | ||
@@ -178,5 +171,4 @@ $(target)[offsetMethod]().top + offsetBase, | ||
// Private | ||
// private | ||
_getConfig(config) { | ||
@@ -203,4 +195,4 @@ config = { | ||
_getScrollTop() { | ||
return this._scrollElement === window ? | ||
this._scrollElement.pageYOffset : this._scrollElement.scrollTop | ||
return this._scrollElement === window | ||
? this._scrollElement.pageYOffset : this._scrollElement.scrollTop | ||
} | ||
@@ -216,4 +208,4 @@ | ||
_getOffsetHeight() { | ||
return this._scrollElement === window ? | ||
window.innerHeight : this._scrollElement.getBoundingClientRect().height | ||
return this._scrollElement === window | ||
? window.innerHeight : this._scrollElement.getBoundingClientRect().height | ||
} | ||
@@ -224,5 +216,5 @@ | ||
const scrollHeight = this._getScrollHeight() | ||
const maxScroll = this._config.offset | ||
+ scrollHeight | ||
- this._getOffsetHeight() | ||
const maxScroll = this._config.offset + | ||
scrollHeight - | ||
this._getOffsetHeight() | ||
@@ -249,5 +241,5 @@ if (this._scrollHeight !== scrollHeight) { | ||
for (let i = this._offsets.length; i--;) { | ||
const isActiveTarget = this._activeTarget !== this._targets[i] | ||
&& scrollTop >= this._offsets[i] | ||
&& (typeof this._offsets[i + 1] === 'undefined' || | ||
const isActiveTarget = this._activeTarget !== this._targets[i] && | ||
scrollTop >= this._offsets[i] && | ||
(typeof this._offsets[i + 1] === 'undefined' || | ||
scrollTop < this._offsets[i + 1]) | ||
@@ -297,5 +289,4 @@ | ||
// Static | ||
// static | ||
static _jQueryInterface(config) { | ||
@@ -313,3 +304,3 @@ return this.each(function () { | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error(`No method named "${config}"`) | ||
throw new TypeError(`No method named "${config}"`) | ||
} | ||
@@ -320,7 +311,4 @@ data[config]() | ||
} | ||
} | ||
/** | ||
@@ -341,3 +329,2 @@ * ------------------------------------------------------------------------ | ||
/** | ||
@@ -357,5 +344,4 @@ * ------------------------------------------------------------------------ | ||
return ScrollSpy | ||
})($) | ||
export default ScrollSpy |
import $ from 'jquery' | ||
import Util from './util' | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): tab.js | ||
* Bootstrap (v4.0.0): tab.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -13,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const Tab = (($) => { | ||
/** | ||
@@ -23,3 +20,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'tab' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.tab' | ||
@@ -66,3 +63,2 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
/** | ||
@@ -75,3 +71,2 @@ * ------------------------------------------------------------------------ | ||
class Tab { | ||
constructor(element) { | ||
@@ -82,5 +77,4 @@ this._element = element | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -90,5 +84,4 @@ return VERSION | ||
// Public | ||
// public | ||
show() { | ||
@@ -166,5 +159,4 @@ if (this._element.parentNode && | ||
// Private | ||
// private | ||
_activate(element, container, callback) { | ||
@@ -179,5 +171,5 @@ let activeElements | ||
const active = activeElements[0] | ||
const isTransitioning = callback | ||
&& Util.supportsTransitionEnd() | ||
&& (active && $(active).hasClass(ClassName.FADE)) | ||
const isTransitioning = callback && | ||
Util.supportsTransitionEnd() && | ||
(active && $(active).hasClass(ClassName.FADE)) | ||
@@ -247,3 +239,2 @@ const complete = () => this._transitionComplete( | ||
$(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) { | ||
const dropdownElement = $(element).closest(Selector.DROPDOWN)[0] | ||
@@ -313,3 +304,3 @@ if (dropdownElement) { | ||
// static | ||
// Static | ||
@@ -368,3 +359,3 @@ // Boosted mod | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error(`No method named "${config}"`) | ||
throw new TypeError(`No method named "${config}"`) | ||
} | ||
@@ -375,6 +366,4 @@ data[config]() | ||
} | ||
} | ||
/** | ||
@@ -417,5 +406,4 @@ * ------------------------------------------------------------------------ | ||
return Tab | ||
})($) | ||
export default Tab |
@@ -5,6 +5,5 @@ import $ from 'jquery' | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): tooltip.js | ||
* Bootstrap (v4.0.0): tooltip.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -15,3 +14,2 @@ * -------------------------------------------------------------------------- | ||
const Tooltip = (($) => { | ||
/** | ||
@@ -24,3 +22,3 @@ * ------------------------------------------------------------------------ | ||
const NAME = 'tooltip' | ||
const VERSION = '4.0.0-beta.3' | ||
const VERSION = '4.0.0' | ||
const DATA_KEY = 'bs.tooltip' | ||
@@ -58,5 +56,5 @@ const EVENT_KEY = `.${DATA_KEY}` | ||
animation : true, | ||
template : '<div class="tooltip" role="tooltip">' | ||
+ '<div class="arrow"></div>' | ||
+ '<div class="tooltip-inner"></div></div>', | ||
template : '<div class="tooltip" role="tooltip">' + | ||
'<div class="arrow"></div>' + | ||
'<div class="tooltip-inner"></div></div>', | ||
trigger : 'hover focus', | ||
@@ -118,3 +116,2 @@ title : '', | ||
class Tooltip { | ||
constructor(element, config) { | ||
@@ -126,3 +123,3 @@ /** | ||
if (typeof Popper === 'undefined') { | ||
throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)') | ||
throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)') | ||
} | ||
@@ -137,3 +134,3 @@ | ||
// protected | ||
// Protected | ||
this.element = element | ||
@@ -144,8 +141,6 @@ this.config = this._getConfig(config) | ||
this._setListeners() | ||
} | ||
// Getters | ||
// getters | ||
static get VERSION() { | ||
@@ -179,5 +174,4 @@ return VERSION | ||
// Public | ||
// public | ||
enable() { | ||
@@ -219,5 +213,3 @@ this._isEnabled = true | ||
} | ||
} else { | ||
if ($(this.getTipElement()).hasClass(ClassName.SHOW)) { | ||
@@ -288,5 +280,5 @@ this._leave(null, this) | ||
const placement = typeof this.config.placement === 'function' ? | ||
this.config.placement.call(this, tip, this.element) : | ||
this.config.placement | ||
const placement = typeof this.config.placement === 'function' | ||
? this.config.placement.call(this, tip, this.element) | ||
: this.config.placement | ||
@@ -334,3 +326,3 @@ const attachment = this._getAttachment(placement) | ||
// if this is a touch-enabled device we add extra | ||
// If this is a touch-enabled device we add extra | ||
// empty mouseover listeners to the body's immediate children; | ||
@@ -395,3 +387,3 @@ // only needed because of broken event delegation on iOS | ||
// if this is a touch-enabled device we remove the extra | ||
// If this is a touch-enabled device we remove the extra | ||
// empty mouseover listeners we added for iOS support | ||
@@ -408,7 +400,5 @@ if ('ontouchstart' in document.documentElement) { | ||
$(this.tip).hasClass(ClassName.FADE)) { | ||
$(tip) | ||
.one(Util.TRANSITION_END, complete) | ||
.emulateTransitionEnd(TRANSITION_DURATION) | ||
} else { | ||
@@ -419,3 +409,2 @@ complete() | ||
this._hoverState = '' | ||
} | ||
@@ -429,3 +418,3 @@ | ||
// protected | ||
// Protected | ||
@@ -454,3 +443,3 @@ isWithContent() { | ||
if (typeof content === 'object' && (content.nodeType || content.jquery)) { | ||
// content is a DOM node or a jQuery | ||
// Content is a DOM node or a jQuery | ||
if (html) { | ||
@@ -472,5 +461,5 @@ if (!$(content).parent().is($element)) { | ||
if (!title) { | ||
title = typeof this.config.title === 'function' ? | ||
this.config.title.call(this.element) : | ||
this.config.title | ||
title = typeof this.config.title === 'function' | ||
? this.config.title.call(this.element) | ||
: this.config.title | ||
} | ||
@@ -481,5 +470,4 @@ | ||
// Private | ||
// private | ||
_getAttachment(placement) { | ||
@@ -499,10 +487,9 @@ return AttachmentMap[placement.toUpperCase()] | ||
) | ||
} else if (trigger !== Trigger.MANUAL) { | ||
const eventIn = trigger === Trigger.HOVER ? | ||
this.constructor.Event.MOUSEENTER : | ||
this.constructor.Event.FOCUSIN | ||
const eventOut = trigger === Trigger.HOVER ? | ||
this.constructor.Event.MOUSELEAVE : | ||
this.constructor.Event.FOCUSOUT | ||
const eventIn = trigger === Trigger.HOVER | ||
? this.constructor.Event.MOUSEENTER | ||
: this.constructor.Event.FOCUSIN | ||
const eventOut = trigger === Trigger.HOVER | ||
? this.constructor.Event.MOUSELEAVE | ||
: this.constructor.Event.FOCUSOUT | ||
@@ -712,3 +699,3 @@ $(this.element) | ||
// static | ||
// Static | ||
@@ -731,3 +718,3 @@ static _jQueryInterface(config) { | ||
if (typeof data[config] === 'undefined') { | ||
throw new Error(`No method named "${config}"`) | ||
throw new TypeError(`No method named "${config}"`) | ||
} | ||
@@ -740,3 +727,2 @@ data[config]() | ||
/** | ||
@@ -756,5 +742,4 @@ * ------------------------------------------------------------------------ | ||
return Tooltip | ||
})($, Popper) | ||
export default Tooltip |
@@ -5,3 +5,3 @@ import $ from 'jquery' | ||
* -------------------------------------------------------------------------- | ||
* Bootstrap (v4.0.0-beta.3): util.js | ||
* Bootstrap (v4.0.0): util.js | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
@@ -12,4 +12,2 @@ * -------------------------------------------------------------------------- | ||
const Util = (($) => { | ||
/** | ||
@@ -25,3 +23,3 @@ * ------------------------------------------------------------------------ | ||
// shoutout AngusCroll (https://goo.gl/pxwQGp) | ||
// Shoutout AngusCroll (https://goo.gl/pxwQGp) | ||
function toType(obj) { | ||
@@ -45,3 +43,3 @@ return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase() | ||
function transitionEndTest() { | ||
if (window.QUnit) { | ||
if (typeof window !== 'undefined' && window.QUnit) { | ||
return false | ||
@@ -82,6 +80,6 @@ } | ||
function escapeId(selector) { | ||
// we escape IDs in case of special selectors (selector = '#myId:something') | ||
// We escape IDs in case of special selectors (selector = '#myId:something') | ||
// $.escapeSelector does not exist in jQuery < 3 | ||
selector = typeof $.escapeSelector === 'function' ? $.escapeSelector(selector).substr(1) : | ||
selector.replace(/(:|\.|\[|\]|,|=|@)/g, '\\$1') | ||
selector = typeof $.escapeSelector === 'function' ? $.escapeSelector(selector).substr(1) | ||
: selector.replace(/(:|\.|\[|\]|,|=|@)/g, '\\$1') | ||
@@ -115,3 +113,3 @@ return selector | ||
// if it's an ID | ||
// If it's an ID | ||
if (selector.charAt(0) === '#') { | ||
@@ -124,3 +122,3 @@ selector = escapeId(selector) | ||
return $selector.length > 0 ? selector : null | ||
} catch (error) { | ||
} catch (err) { | ||
return null | ||
@@ -151,4 +149,4 @@ } | ||
const value = config[property] | ||
const valueType = value && Util.isElement(value) ? | ||
'element' : toType(value) | ||
const valueType = value && Util.isElement(value) | ||
? 'element' : toType(value) | ||
@@ -169,5 +167,4 @@ if (!new RegExp(expectedTypes).test(valueType)) { | ||
return Util | ||
})($) | ||
export default Util |
{ | ||
"name": "boosted", | ||
"description": "Orange Boosted with Bootstrap is a framework library accessible, ergonomic and Orange branded based on Bootstrap v4.0.0-beta.3.", | ||
"version": "4.0.0-beta.3", | ||
"description": "Orange Boosted with Bootstrap is a framework library accessible, ergonomic and Orange branded based on Bootstrap v4.0.0.", | ||
"version": "4.0.0", | ||
"keywords": [ | ||
@@ -25,6 +25,6 @@ "css", | ||
"css-docs": "npm-run-all --parallel css-lint-docs css-compile-docs --sequential css-prefix-docs css-minify-docs", | ||
"css-compile": "node-sass --functions build/sass-functions.js --output-style expanded --source-map true --source-map-contents true --precision 6 scss/boosted.scss dist/css/boosted.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/boosted-grid.scss dist/css/boosted-grid.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/boosted-reboot.scss dist/css/boosted-reboot.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/o-rtl.scss dist/css/o-rtl.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/orangeHelvetica.scss dist/css/orangeHelvetica.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/orangeIcons.scss dist/css/orangeIcons.css && rtlcss dist/css/boosted.css dist/css/boosted-rtl.css && shx cat dist/css/o-rtl.css >> dist/css/boosted-rtl.css", | ||
"css-compile-docs": "node-sass --functions build/sass-functions.js --output-style expanded --source-map true --source-map-contents true --precision 6 assets/scss/docs.scss assets/css/docs.min.css", | ||
"css-lint": "stylelint --config build/.stylelintrc --syntax scss scss/**/*.scss", | ||
"css-lint-docs": "stylelint --config build/.stylelintrc --syntax scss \"assets/scss/*.scss\" && stylelint --config docs/4.0/examples/.stylelintrc \"docs/**/*.css\"", | ||
"css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/boosted.scss dist/css/boosted.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/boosted-grid.scss dist/css/boosted-grid.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/boosted-reboot.scss dist/css/boosted-reboot.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/o-rtl.scss dist/css/o-rtl.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/orangeHelvetica.scss dist/css/orangeHelvetica.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/orangeIcons.scss dist/css/orangeIcons.css && rtlcss dist/css/boosted.css dist/css/boosted-rtl.css && shx cat dist/css/o-rtl.css >> dist/css/boosted-rtl.css", | ||
"css-compile-docs": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 assets/scss/docs.scss assets/css/docs.min.css", | ||
"css-lint": "stylelint --syntax scss \"scss/**/*.scss\"", | ||
"css-lint-docs": "stylelint --syntax scss \"assets/scss/*.scss\" && stylelint \"docs/**/*.css\"", | ||
"css-lint-vars": "node build/lint-vars.js scss/ assets/scss/", | ||
@@ -38,7 +38,7 @@ "css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"", | ||
"img": "shx mkdir -p dist/img && shx cp -r img/* dist/img/", | ||
"js": "npm-run-all js-lint* js-compile js-minify", | ||
"js": "npm-run-all js-lint* js-compile js-minify js-vendor", | ||
"js-main": "npm-run-all js-lint js-compile js-minify", | ||
"js-docs": "npm-run-all js-lint-docs js-minify-docs", | ||
"js-lint": "eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/", | ||
"js-lint-docs": "eslint --config js/tests/.eslintrc.json assets/js/ docs/ sw.js", | ||
"js-lint": "eslint js/ build/", | ||
"js-lint-docs": "eslint assets/js/ docs/ sw.js", | ||
"js-compile": "npm-run-all --parallel js-compile-*", | ||
@@ -56,6 +56,7 @@ "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap", | ||
"js-test-cloud": "ruby -r webrick -e \"s = WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd, :Logger => WEBrick::Log.new('/dev/null'), :AccessLog => []); trap('INT') { s.shutdown }; s.start\" & node build/saucelabs-unit-test.js", | ||
"js-vendor": "shx mkdir -p dist/js/vendor && shx cp node_modules/swiper/dist/js/swiper.min.js dist/js/vendor/ && shx cp -r js/vendor/* dist/js/vendor/", | ||
"js-vendor": "shx mkdir -p dist/js/vendor && shx cp node_modules/swiper/dist/js/swiper.min.js dist/js/vendor/ && shx cp node_modules/swiper/dist/js/swiper.min.js.map dist/js/vendor/", | ||
"docs": "npm-run-all --parallel css-docs js-docs --sequential docs-rtl docs-compile docs-lint", | ||
"docs-compile": "bundle exec jekyll build", | ||
"postdocs-compile": "npm run docs-workbox-precache", | ||
"docs-autoshot": "node build/autoshot.js", | ||
"docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml", | ||
@@ -91,3 +92,4 @@ "docs-lint": "npm-run-all docs-lint-*", | ||
"dependencies": { | ||
"swiper": "^3.4.1" | ||
"sass-math-pow": "^0.1.4", | ||
"swiper": "^4.1.0" | ||
}, | ||
@@ -97,10 +99,11 @@ "peerDependencies": { | ||
"popper.js": "^1.12.9", | ||
"tablesorter": "^2.29.0" | ||
"tablesorter": "^2.29.4" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "7.0.0-beta.35", | ||
"@babel/core": "7.0.0-beta.35", | ||
"@babel/preset-env": "7.0.0-beta.35", | ||
"autoprefixer": "^7.2.3", | ||
"babel-eslint": "^8.0.3", | ||
"@babel/cli": "7.0.0-beta.37", | ||
"@babel/core": "7.0.0-beta.37", | ||
"@babel/preset-env": "7.0.0-beta.37", | ||
"async": "^2.6.0", | ||
"autoprefixer": "^7.2.4", | ||
"babel-eslint": "^8.2.1", | ||
"babel-plugin-transform-es2015-modules-strip": "^0.1.1", | ||
@@ -110,3 +113,3 @@ "bundlesize": "^0.15.3", | ||
"cross-env": "^5.1.3", | ||
"eslint": "^4.13.1", | ||
"eslint": "^4.15.0", | ||
"eslint-plugin-compat": "^2.1.0", | ||
@@ -122,3 +125,4 @@ "glob": "^7.1.2", | ||
"node-sass": "^4.7.2", | ||
"nodemon": "^1.14.1", | ||
"node-webshot": "^1.0.2", | ||
"nodemon": "^1.14.10", | ||
"npm-run-all": "^4.1.2", | ||
@@ -128,6 +132,7 @@ "popper.js": "^1.12.9", | ||
"qunitjs": "^2.4.1", | ||
"rollup": "^0.52.3", | ||
"rollup": "^0.53.4", | ||
"rollup-plugin-babel": "4.0.0-beta.0", | ||
"rollup-plugin-node-resolve": "^3.0.0", | ||
"rollup-plugin-node-resolve": "^3.0.2", | ||
"rtlcss": "^2.2.1", | ||
"serve-static": "^1.13.1", | ||
"shelljs": "^0.7.8", | ||
@@ -141,4 +146,4 @@ "shx": "^0.2.2", | ||
"stylelint-scss": "^2.2.0", | ||
"tablesorter": "^2.29.0", | ||
"uglify-js": "^3.2.2", | ||
"tablesorter": "^2.29.4", | ||
"uglify-js": "^3.3.5", | ||
"vnu-jar": "^17.11.1", | ||
@@ -222,3 +227,4 @@ "workbox-build": "^2.1.2" | ||
"jquery", | ||
"popper.js" | ||
"popper.js", | ||
"tablesorter" | ||
], | ||
@@ -232,5 +238,5 @@ "exports": "$" | ||
"popper.js": "^1.12.9", | ||
"tablesorter": "^2.29.0" | ||
"tablesorter": "^2.29.4" | ||
} | ||
} | ||
} |
@@ -35,7 +35,7 @@ <p align="center"> | ||
- [Download the latest release.](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/archive/v4.0.0-beta.3.zip) | ||
- [Download the latest release.](https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/archive/v4.0.0.zip) | ||
- Clone the repo: `git clone https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap.git` | ||
- Install with [npm](https://www.npmjs.com): `npm install boosted@4.0.0-beta.3` | ||
- Install with [yarn](https://github.com/yarnpkg/yarn): `yarn add boosted@4.0.0-beta.3` | ||
- Install with [Composer](https://getcomposer.org): `composer require orange-opensource/orange-boosted-bootstrap:4.0.0-beta.3` | ||
- Install with [npm](https://www.npmjs.com): `npm install boosted` | ||
- Install with [yarn](https://github.com/yarnpkg/yarn): `yarn add boosted@4.0.0` | ||
- Install with [Composer](https://getcomposer.org): `composer require orange-opensource/orange-boosted-bootstrap:4.0.0` | ||
- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package boosted -Pre` Sass: `Install-Package boosted.sass -Pre` (`-Pre` is only required until Boosted v4 has a stable release). | ||
@@ -47,3 +47,3 @@ | ||
[![Build Status](https://img.shields.io/travis/Orange-OpenSource/Orange-Boosted-Bootstrap/v4-dev.svg)](https://travis-ci.org/Orange-OpenSource/Orange-Boosted-Bootstrap) | ||
[![Build Status](https://img.shields.io/travis/Orange-OpenSource/Orange-Boosted-Bootstrap/v4.0.0.svg)](https://travis-ci.org/Orange-OpenSource/Orange-Boosted-Bootstrap) | ||
[![npm version](https://img.shields.io/npm/v/boosted.svg)](https://www.npmjs.com/package/boosted) | ||
@@ -50,0 +50,0 @@ [![NuGet](https://img.shields.io/nuget/vpre/boosted.svg)](https://www.nuget.org/packages/boosted/absoluteLatest) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
12096324
5
44
224
49811
+ Addedsass-math-pow@^0.1.4
+ Addedarchy@1.0.0(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddom7@2.1.5(transitive)
+ Addedensure-symlink@1.0.2(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedeyeglass@3.0.3(transitive)
+ Addedeyeglass-math@1.0.1(transitive)
+ Addedfs-extra@7.0.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedheimdalljs@0.2.6(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedjson-stable-stringify@1.1.1(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addedjsonify@0.0.1(transitive)
+ Addedlodash.includes@4.3.0(transitive)
+ Addedlodash.merge@4.6.2(transitive)
+ Addedlru-cache@5.1.1(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedms@2.1.3(transitive)
+ Addednode-sass-utils@0.2.11.1.3(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedrsvp@3.2.1(transitive)
+ Addedsass-math-pow@0.1.7(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedssr-window@1.0.12.0.0(transitive)
+ Addedswiper@4.5.1(transitive)
+ Addeduniversalify@0.1.2(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedyallist@3.1.1(transitive)
- Removedswiper@3.4.2(transitive)
Updatedswiper@^4.1.0