1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
This commit is contained in:
Mark Otto 2017-10-19 09:13:17 -07:00
parent 06641ca0b3
commit 6124e7f229
16 changed files with 76 additions and 50 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1870,6 +1870,7 @@ pre code {
background-color: #fff; background-color: #fff;
border-color: #80bdff; border-color: #80bdff;
outline: none; outline: none;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
} }
.form-control::-webkit-input-placeholder { .form-control::-webkit-input-placeholder {
@ -2289,7 +2290,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn:focus, .btn.focus { .btn:focus, .btn.focus {
outline: 0; outline: 0;
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
} }
.btn.disabled, .btn:disabled { .btn.disabled, .btn:disabled {
@ -2318,7 +2319,7 @@ fieldset[disabled] a.btn {
} }
.btn-primary:focus, .btn-primary.focus { .btn-primary:focus, .btn-primary.focus {
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
} }
.btn-primary.disabled, .btn-primary:disabled { .btn-primary.disabled, .btn-primary:disabled {
@ -2328,9 +2329,10 @@ fieldset[disabled] a.btn {
.btn-primary:not([disabled]):not(.disabled):active, .btn-primary:not([disabled]):not(.disabled).active, .btn-primary:not([disabled]):not(.disabled):active, .btn-primary:not([disabled]):not(.disabled).active,
.show > .btn-primary.dropdown-toggle { .show > .btn-primary.dropdown-toggle {
color: #fff;
background-color: #0062cc; background-color: #0062cc;
background-image: none;
border-color: #005cbf; border-color: #005cbf;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
} }
.btn-secondary { .btn-secondary {
@ -2346,7 +2348,7 @@ fieldset[disabled] a.btn {
} }
.btn-secondary:focus, .btn-secondary.focus { .btn-secondary:focus, .btn-secondary.focus {
box-shadow: 0 0 0 3px rgba(134, 142, 150, 0.5); box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
} }
.btn-secondary.disabled, .btn-secondary:disabled { .btn-secondary.disabled, .btn-secondary:disabled {
@ -2356,9 +2358,10 @@ fieldset[disabled] a.btn {
.btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active, .btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle { .show > .btn-secondary.dropdown-toggle {
color: #fff;
background-color: #6c757d; background-color: #6c757d;
background-image: none;
border-color: #666e76; border-color: #666e76;
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
} }
.btn-success { .btn-success {
@ -2374,7 +2377,7 @@ fieldset[disabled] a.btn {
} }
.btn-success:focus, .btn-success.focus { .btn-success:focus, .btn-success.focus {
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5); box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
} }
.btn-success.disabled, .btn-success:disabled { .btn-success.disabled, .btn-success:disabled {
@ -2384,9 +2387,10 @@ fieldset[disabled] a.btn {
.btn-success:not([disabled]):not(.disabled):active, .btn-success:not([disabled]):not(.disabled).active, .btn-success:not([disabled]):not(.disabled):active, .btn-success:not([disabled]):not(.disabled).active,
.show > .btn-success.dropdown-toggle { .show > .btn-success.dropdown-toggle {
color: #fff;
background-color: #1e7e34; background-color: #1e7e34;
background-image: none;
border-color: #1c7430; border-color: #1c7430;
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
} }
.btn-info { .btn-info {
@ -2402,7 +2406,7 @@ fieldset[disabled] a.btn {
} }
.btn-info:focus, .btn-info.focus { .btn-info:focus, .btn-info.focus {
box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5); box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
} }
.btn-info.disabled, .btn-info:disabled { .btn-info.disabled, .btn-info:disabled {
@ -2412,9 +2416,10 @@ fieldset[disabled] a.btn {
.btn-info:not([disabled]):not(.disabled):active, .btn-info:not([disabled]):not(.disabled).active, .btn-info:not([disabled]):not(.disabled):active, .btn-info:not([disabled]):not(.disabled).active,
.show > .btn-info.dropdown-toggle { .show > .btn-info.dropdown-toggle {
color: #fff;
background-color: #117a8b; background-color: #117a8b;
background-image: none;
border-color: #10707f; border-color: #10707f;
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
} }
.btn-warning { .btn-warning {
@ -2430,7 +2435,7 @@ fieldset[disabled] a.btn {
} }
.btn-warning:focus, .btn-warning.focus { .btn-warning:focus, .btn-warning.focus {
box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5); box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
} }
.btn-warning.disabled, .btn-warning:disabled { .btn-warning.disabled, .btn-warning:disabled {
@ -2440,9 +2445,10 @@ fieldset[disabled] a.btn {
.btn-warning:not([disabled]):not(.disabled):active, .btn-warning:not([disabled]):not(.disabled).active, .btn-warning:not([disabled]):not(.disabled):active, .btn-warning:not([disabled]):not(.disabled).active,
.show > .btn-warning.dropdown-toggle { .show > .btn-warning.dropdown-toggle {
color: #111;
background-color: #d39e00; background-color: #d39e00;
background-image: none;
border-color: #c69500; border-color: #c69500;
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
} }
.btn-danger { .btn-danger {
@ -2458,7 +2464,7 @@ fieldset[disabled] a.btn {
} }
.btn-danger:focus, .btn-danger.focus { .btn-danger:focus, .btn-danger.focus {
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5); box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
} }
.btn-danger.disabled, .btn-danger:disabled { .btn-danger.disabled, .btn-danger:disabled {
@ -2468,9 +2474,10 @@ fieldset[disabled] a.btn {
.btn-danger:not([disabled]):not(.disabled):active, .btn-danger:not([disabled]):not(.disabled).active, .btn-danger:not([disabled]):not(.disabled):active, .btn-danger:not([disabled]):not(.disabled).active,
.show > .btn-danger.dropdown-toggle { .show > .btn-danger.dropdown-toggle {
color: #fff;
background-color: #bd2130; background-color: #bd2130;
background-image: none;
border-color: #b21f2d; border-color: #b21f2d;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
} }
.btn-light { .btn-light {
@ -2486,7 +2493,7 @@ fieldset[disabled] a.btn {
} }
.btn-light:focus, .btn-light.focus { .btn-light:focus, .btn-light.focus {
box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5); box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
} }
.btn-light.disabled, .btn-light:disabled { .btn-light.disabled, .btn-light:disabled {
@ -2496,9 +2503,10 @@ fieldset[disabled] a.btn {
.btn-light:not([disabled]):not(.disabled):active, .btn-light:not([disabled]):not(.disabled).active, .btn-light:not([disabled]):not(.disabled):active, .btn-light:not([disabled]):not(.disabled).active,
.show > .btn-light.dropdown-toggle { .show > .btn-light.dropdown-toggle {
color: #111;
background-color: #dae0e5; background-color: #dae0e5;
background-image: none;
border-color: #d3d9df; border-color: #d3d9df;
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
} }
.btn-dark { .btn-dark {
@ -2514,7 +2522,7 @@ fieldset[disabled] a.btn {
} }
.btn-dark:focus, .btn-dark.focus { .btn-dark:focus, .btn-dark.focus {
box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.5); box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
} }
.btn-dark.disabled, .btn-dark:disabled { .btn-dark.disabled, .btn-dark:disabled {
@ -2524,9 +2532,10 @@ fieldset[disabled] a.btn {
.btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active, .btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active,
.show > .btn-dark.dropdown-toggle { .show > .btn-dark.dropdown-toggle {
color: #fff;
background-color: #1d2124; background-color: #1d2124;
background-image: none;
border-color: #171a1d; border-color: #171a1d;
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
} }
.btn-outline-primary { .btn-outline-primary {
@ -2543,7 +2552,7 @@ fieldset[disabled] a.btn {
} }
.btn-outline-primary:focus, .btn-outline-primary.focus { .btn-outline-primary:focus, .btn-outline-primary.focus {
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
} }
.btn-outline-primary.disabled, .btn-outline-primary:disabled { .btn-outline-primary.disabled, .btn-outline-primary:disabled {
@ -2556,6 +2565,7 @@ fieldset[disabled] a.btn {
color: #fff; color: #fff;
background-color: #007bff; background-color: #007bff;
border-color: #007bff; border-color: #007bff;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
} }
.btn-outline-secondary { .btn-outline-secondary {
@ -2572,7 +2582,7 @@ fieldset[disabled] a.btn {
} }
.btn-outline-secondary:focus, .btn-outline-secondary.focus { .btn-outline-secondary:focus, .btn-outline-secondary.focus {
box-shadow: 0 0 0 3px rgba(134, 142, 150, 0.5); box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
} }
.btn-outline-secondary.disabled, .btn-outline-secondary:disabled { .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
@ -2585,6 +2595,7 @@ fieldset[disabled] a.btn {
color: #fff; color: #fff;
background-color: #868e96; background-color: #868e96;
border-color: #868e96; border-color: #868e96;
box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
} }
.btn-outline-success { .btn-outline-success {
@ -2601,7 +2612,7 @@ fieldset[disabled] a.btn {
} }
.btn-outline-success:focus, .btn-outline-success.focus { .btn-outline-success:focus, .btn-outline-success.focus {
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.5); box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
} }
.btn-outline-success.disabled, .btn-outline-success:disabled { .btn-outline-success.disabled, .btn-outline-success:disabled {
@ -2614,6 +2625,7 @@ fieldset[disabled] a.btn {
color: #fff; color: #fff;
background-color: #28a745; background-color: #28a745;
border-color: #28a745; border-color: #28a745;
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
} }
.btn-outline-info { .btn-outline-info {
@ -2630,7 +2642,7 @@ fieldset[disabled] a.btn {
} }
.btn-outline-info:focus, .btn-outline-info.focus { .btn-outline-info:focus, .btn-outline-info.focus {
box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.5); box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
} }
.btn-outline-info.disabled, .btn-outline-info:disabled { .btn-outline-info.disabled, .btn-outline-info:disabled {
@ -2643,6 +2655,7 @@ fieldset[disabled] a.btn {
color: #fff; color: #fff;
background-color: #17a2b8; background-color: #17a2b8;
border-color: #17a2b8; border-color: #17a2b8;
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
} }
.btn-outline-warning { .btn-outline-warning {
@ -2659,7 +2672,7 @@ fieldset[disabled] a.btn {
} }
.btn-outline-warning:focus, .btn-outline-warning.focus { .btn-outline-warning:focus, .btn-outline-warning.focus {
box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5); box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
} }
.btn-outline-warning.disabled, .btn-outline-warning:disabled { .btn-outline-warning.disabled, .btn-outline-warning:disabled {
@ -2672,6 +2685,7 @@ fieldset[disabled] a.btn {
color: #fff; color: #fff;
background-color: #ffc107; background-color: #ffc107;
border-color: #ffc107; border-color: #ffc107;
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
} }
.btn-outline-danger { .btn-outline-danger {
@ -2688,7 +2702,7 @@ fieldset[disabled] a.btn {
} }
.btn-outline-danger:focus, .btn-outline-danger.focus { .btn-outline-danger:focus, .btn-outline-danger.focus {
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5); box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
} }
.btn-outline-danger.disabled, .btn-outline-danger:disabled { .btn-outline-danger.disabled, .btn-outline-danger:disabled {
@ -2701,6 +2715,7 @@ fieldset[disabled] a.btn {
color: #fff; color: #fff;
background-color: #dc3545; background-color: #dc3545;
border-color: #dc3545; border-color: #dc3545;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
} }
.btn-outline-light { .btn-outline-light {
@ -2717,7 +2732,7 @@ fieldset[disabled] a.btn {
} }
.btn-outline-light:focus, .btn-outline-light.focus { .btn-outline-light:focus, .btn-outline-light.focus {
box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5); box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
} }
.btn-outline-light.disabled, .btn-outline-light:disabled { .btn-outline-light.disabled, .btn-outline-light:disabled {
@ -2730,6 +2745,7 @@ fieldset[disabled] a.btn {
color: #212529; color: #212529;
background-color: #f8f9fa; background-color: #f8f9fa;
border-color: #f8f9fa; border-color: #f8f9fa;
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
} }
.btn-outline-dark { .btn-outline-dark {
@ -2746,7 +2762,7 @@ fieldset[disabled] a.btn {
} }
.btn-outline-dark:focus, .btn-outline-dark.focus { .btn-outline-dark:focus, .btn-outline-dark.focus {
box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.5); box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
} }
.btn-outline-dark.disabled, .btn-outline-dark:disabled { .btn-outline-dark.disabled, .btn-outline-dark:disabled {
@ -2759,6 +2775,7 @@ fieldset[disabled] a.btn {
color: #fff; color: #fff;
background-color: #343a40; background-color: #343a40;
border-color: #343a40; border-color: #343a40;
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
} }
.btn-link { .btn-link {
@ -3300,7 +3317,7 @@ tbody.collapse.show {
} }
.custom-control-input:focus ~ .custom-control-indicator { .custom-control-input:focus ~ .custom-control-indicator {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007bff; box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
} }
.custom-control-input:active ~ .custom-control-indicator { .custom-control-input:active ~ .custom-control-indicator {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -6258,11 +6258,14 @@ var Tab = function () {
} }
var version = $.fn.jquery.split(' ')[0].split('.'); var version = $.fn.jquery.split(' ')[0].split('.');
var min = 3; var minMajor = 1;
var max = 4; var ltMajor = 2;
var minMinor = 9;
var minPatch = 1;
var maxMajor = 4;
if (version[0] < min || version[0] >= max) { if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {
throw new Error('Bootstrap\'s JavaScript requires at least jQuery v3.0.0 but less than v4.0.0'); throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0');
} }
})($); })($);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -3821,11 +3821,14 @@ var Tab = function () {
} }
var version = $.fn.jquery.split(' ')[0].split('.'); var version = $.fn.jquery.split(' ')[0].split('.');
var min = 3; var minMajor = 1;
var max = 4; var ltMajor = 2;
var minMinor = 9;
var minPatch = 1;
var maxMajor = 4;
if (version[0] < min || version[0] >= max) { if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {
throw new Error('Bootstrap\'s JavaScript requires at least jQuery v3.0.0 but less than v4.0.0'); throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0');
} }
})($); })($);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

11
js/dist/index.js vendored
View file

@ -10,11 +10,14 @@
} }
var version = $.fn.jquery.split(' ')[0].split('.'); var version = $.fn.jquery.split(' ')[0].split('.');
var min = 3; var minMajor = 1;
var max = 4; var ltMajor = 2;
var minMinor = 9;
var minPatch = 1;
var maxMajor = 4;
if (version[0] < min || version[0] >= max) { if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {
throw new Error('Bootstrap\'s JavaScript requires at least jQuery v3.0.0 but less than v4.0.0'); throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0');
} }
})($); })($);
//# sourceMappingURL=index.js.map //# sourceMappingURL=index.js.map

View file

@ -1 +1 @@
{"version":3,"sources":["../src/index.js"],"names":["$","Error","version","fn","jquery","split","min","max"],"mappings":"AAaA;;;;;;AAOA,CAAC,YAAM;AACL,MAAI,OAAOA,CAAP,KAAa,WAAjB,EAA8B;AAC5B,UAAM,IAAIC,KAAJ,CAAU,kGAAV,CAAN;AACD;;AAED,MAAMC,UAAUF,EAAEG,EAAF,CAAKC,MAAL,CAAYC,KAAZ,CAAkB,GAAlB,EAAuB,CAAvB,EAA0BA,KAA1B,CAAgC,GAAhC,CAAhB;AACA,MAAMC,MAAM,CAAZ;AACA,MAAMC,MAAM,CAAZ;;AACA,MAAIL,QAAQ,CAAR,IAAaI,GAAb,IAAoBJ,QAAQ,CAAR,KAAcK,GAAtC,EAA2C;AACzC,UAAM,IAAIN,KAAJ,CAAU,8EAAV,CAAN;AACD;AACF,CAXD,EAWGD,CAXH","file":"index.js","sourcesContent":["import $ from 'jquery'\nimport Alert from './alert'\nimport Button from './button'\nimport Carousel from './carousel'\nimport Collapse from './collapse'\nimport Dropdown from './dropdown'\nimport Modal from './modal'\nimport Popover from './popover'\nimport Scrollspy from './scrollspy'\nimport Tab from './tab'\nimport Tooltip from './tooltip'\nimport Util from './util'\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.0.0-alpha.6): index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n(() => {\n if (typeof $ === 'undefined') {\n throw new Error('Bootstrap\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\'s JavaScript.')\n }\n\n const version = $.fn.jquery.split(' ')[0].split('.')\n const min = 3\n const max = 4\n if (version[0] < min || version[0] >= max) {\n throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v3.0.0 but less than v4.0.0')\n }\n})($)\n\nexport {\n Util,\n Alert,\n Button,\n Carousel,\n Collapse,\n Dropdown,\n Modal,\n Popover,\n Scrollspy,\n Tab,\n Tooltip\n}\n"]} {"version":3,"sources":["../src/index.js"],"names":["$","Error","version","fn","jquery","split","minMajor","ltMajor","minMinor","minPatch","maxMajor"],"mappings":"AAaA;;;;;;AAOA,CAAC,YAAM;AACL,MAAI,OAAOA,CAAP,KAAa,WAAjB,EAA8B;AAC5B,UAAM,IAAIC,KAAJ,CAAU,kGAAV,CAAN;AACD;;AAED,MAAMC,UAAUF,EAAEG,EAAF,CAAKC,MAAL,CAAYC,KAAZ,CAAkB,GAAlB,EAAuB,CAAvB,EAA0BA,KAA1B,CAAgC,GAAhC,CAAhB;AACA,MAAMC,WAAW,CAAjB;AACA,MAAMC,UAAW,CAAjB;AACA,MAAMC,WAAW,CAAjB;AACA,MAAMC,WAAW,CAAjB;AACA,MAAMC,WAAW,CAAjB;;AAEA,MAAIR,QAAQ,CAAR,IAAaK,OAAb,IAAwBL,QAAQ,CAAR,IAAaM,QAArC,IAAiDN,QAAQ,CAAR,MAAeI,QAAf,IAA2BJ,QAAQ,CAAR,MAAeM,QAA1C,IAAsDN,QAAQ,CAAR,IAAaO,QAApH,IAAgIP,QAAQ,CAAR,KAAcQ,QAAlJ,EAA4J;AAC1J,UAAM,IAAIT,KAAJ,CAAU,8EAAV,CAAN;AACD;AACF,CAfD,EAeGD,CAfH","file":"index.js","sourcesContent":["import $ from 'jquery'\nimport Alert from './alert'\nimport Button from './button'\nimport Carousel from './carousel'\nimport Collapse from './collapse'\nimport Dropdown from './dropdown'\nimport Modal from './modal'\nimport Popover from './popover'\nimport Scrollspy from './scrollspy'\nimport Tab from './tab'\nimport Tooltip from './tooltip'\nimport Util from './util'\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.0.0-alpha.6): index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n(() => {\n if (typeof $ === 'undefined') {\n throw new Error('Bootstrap\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\'s JavaScript.')\n }\n\n const version = $.fn.jquery.split(' ')[0].split('.')\n const minMajor = 1\n const ltMajor = 2\n const minMinor = 9\n const minPatch = 1\n const maxMajor = 4\n\n if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {\n throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')\n }\n})($)\n\nexport {\n Util,\n Alert,\n Button,\n Carousel,\n Collapse,\n Dropdown,\n Modal,\n Popover,\n Scrollspy,\n Tab,\n Tooltip\n}\n"]}