ext_yarn 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +41 -47
- data/README.md +10 -0
- data/bin/yarn_after +12 -0
- data/lib/ext_yarn/version.rb +1 -1
- data/package.json +14 -13
- data/vendor/.yarn-integrity +35 -39
- data/vendor/bootswatch-sass/package.json +1 -1
- data/vendor/chart.js/dist/Chart.bundle.js +5754 -5711
- data/vendor/chart.js/dist/Chart.js +2118 -2046
- data/vendor/chart.js/package.json +1 -1
- data/vendor/chartkick/LICENSE.txt +1 -1
- data/vendor/chartkick/dist/chartkick.js +2239 -0
- data/vendor/chartkick/package.json +18 -8
- data/vendor/file-saver/dist/FileSaver.js +180 -0
- data/vendor/file-saver/package.json +16 -4
- data/vendor/jquery/dist/jquery.js +453 -342
- data/vendor/jquery/dist/jquery.slim.js +428 -319
- data/vendor/jquery/package.json +32 -21
- data/vendor/{tempusdominus-bootstrap-4 → jquery-touch-events}/LICENSE +21 -21
- data/vendor/jquery-touch-events/package.json +32 -0
- data/vendor/jquery-touch-events/src/jquery.mobile-events.js +920 -0
- data/vendor/jquery-ui-touch-punch-zoom-fork/jquery.ui.touch-punch.js +186 -0
- data/vendor/jquery-ujs/package.json +1 -1
- data/vendor/jquery-ujs/src/rails.js +14 -4
- data/vendor/{bootswatch → jquery.iframe-transport}/LICENSE +2 -2
- data/vendor/jquery.iframe-transport/jquery.iframe-transport.js +247 -0
- data/vendor/jquery.iframe-transport/package.json +28 -0
- data/vendor/jstz/dist/jstz.js +9 -1
- data/vendor/jstz/package.json +6 -4
- data/vendor/lazysizes/LICENSE +22 -0
- data/vendor/lazysizes/lazysizes-umd.js +706 -0
- data/vendor/lazysizes/lazysizes.js +703 -0
- data/vendor/lazysizes/package.json +65 -0
- data/vendor/lazysizes/plugins/artdirect/ls.artdirect.js +160 -0
- data/vendor/lazysizes/plugins/aspectratio/ls.aspectratio.js +209 -0
- data/vendor/lazysizes/plugins/attrchange/ls.attrchange.js +129 -0
- data/vendor/lazysizes/plugins/bgset/ls.bgset.js +198 -0
- data/vendor/lazysizes/plugins/blur-up/ls.blur-up.js +191 -0
- data/vendor/lazysizes/plugins/custommedia/ls.custommedia.js +75 -0
- data/vendor/lazysizes/plugins/fix-ios-sizes/fix-ios-sizes.js +80 -0
- data/vendor/lazysizes/plugins/include/ls.include.js +589 -0
- data/vendor/lazysizes/plugins/noscript/ls.noscript.js +87 -0
- data/vendor/lazysizes/plugins/object-fit/ls.object-fit.js +149 -0
- data/vendor/lazysizes/plugins/optimumx/ls.optimumx.js +273 -0
- data/vendor/lazysizes/plugins/parent-fit/ls.parent-fit.js +157 -0
- data/vendor/lazysizes/plugins/print/ls.print.js +51 -0
- data/vendor/lazysizes/plugins/progressive/ls.progressive.js +49 -0
- data/vendor/lazysizes/plugins/respimg/ls.respimg.js +314 -0
- data/vendor/lazysizes/plugins/rias/ls.rias.js +391 -0
- data/vendor/lazysizes/plugins/static-gecko-picture/ls.static-gecko-picture.js +82 -0
- data/vendor/lazysizes/plugins/twitter/ls.twitter.js +63 -0
- data/vendor/lazysizes/plugins/unload/ls.unload.js +155 -0
- data/vendor/lazysizes/plugins/unveilhooks/ls.unveilhooks.js +145 -0
- data/vendor/lazysizes/plugins/video-embed/ls.video-embed.js +114 -0
- data/vendor/lodash/core.js +75 -57
- data/vendor/lodash/lodash.js +105 -82
- data/vendor/lodash/package.json +2 -2
- data/vendor/moment/locale/af.js +58 -60
- data/vendor/moment/locale/ar-dz.js +45 -47
- data/vendor/moment/locale/ar-kw.js +45 -47
- data/vendor/moment/locale/ar-ly.js +106 -112
- data/vendor/moment/locale/ar-ma.js +45 -48
- data/vendor/moment/locale/ar-sa.js +88 -91
- data/vendor/moment/locale/ar-tn.js +45 -47
- data/vendor/moment/locale/ar.js +119 -128
- data/vendor/moment/locale/az.js +89 -91
- data/vendor/moment/locale/be.js +111 -115
- data/vendor/moment/locale/bg.js +73 -75
- data/vendor/moment/locale/bm.js +44 -47
- data/vendor/moment/locale/bn.js +103 -105
- data/vendor/moment/locale/bo.js +103 -105
- data/vendor/moment/locale/br.js +88 -90
- data/vendor/moment/locale/bs.js +133 -136
- data/vendor/moment/locale/ca.js +68 -70
- data/vendor/moment/locale/cs.js +160 -162
- data/vendor/moment/locale/cv.js +48 -50
- data/vendor/moment/locale/cy.js +64 -67
- data/vendor/moment/locale/da.js +46 -48
- data/vendor/moment/locale/de-at.js +61 -66
- data/vendor/moment/locale/de-ch.js +61 -65
- data/vendor/moment/locale/de.js +61 -65
- data/vendor/moment/locale/dv.js +82 -85
- data/vendor/moment/locale/el.js +82 -84
- data/vendor/moment/locale/en-au.js +53 -55
- data/vendor/moment/locale/en-ca.js +49 -51
- data/vendor/moment/locale/en-gb.js +53 -55
- data/vendor/moment/locale/en-ie.js +53 -55
- data/vendor/moment/locale/en-il.js +61 -0
- data/vendor/moment/locale/en-nz.js +53 -55
- data/vendor/moment/locale/eo.js +56 -60
- data/vendor/moment/locale/es-do.js +72 -73
- data/vendor/moment/locale/es-us.js +64 -66
- data/vendor/moment/locale/es.js +72 -74
- data/vendor/moment/locale/et.js +64 -67
- data/vendor/moment/locale/eu.js +52 -54
- data/vendor/moment/locale/fa.js +90 -93
- data/vendor/moment/locale/fi.js +93 -95
- data/vendor/moment/locale/fo.js +46 -48
- data/vendor/moment/locale/fr-ca.js +58 -60
- data/vendor/moment/locale/fr-ch.js +62 -64
- data/vendor/moment/locale/fr.js +66 -68
- data/vendor/moment/locale/fy.js +59 -61
- data/vendor/moment/locale/gd.js +57 -59
- data/vendor/moment/locale/gl.js +60 -62
- data/vendor/moment/locale/gom-latn.js +107 -109
- data/vendor/moment/locale/gu.js +108 -110
- data/vendor/moment/locale/he.js +77 -81
- data/vendor/moment/locale/hi.js +108 -110
- data/vendor/moment/locale/hr.js +136 -138
- data/vendor/moment/locale/hu.js +92 -94
- data/vendor/moment/locale/hy-am.js +78 -80
- data/vendor/moment/locale/id.js +67 -70
- data/vendor/moment/locale/is.js +110 -112
- data/vendor/moment/locale/it.js +53 -56
- data/vendor/moment/locale/ja.js +77 -67
- data/vendor/moment/locale/jv.js +67 -70
- data/vendor/moment/locale/ka.js +70 -72
- data/vendor/moment/locale/kk.js +72 -74
- data/vendor/moment/locale/km.js +96 -46
- data/vendor/moment/locale/kn.js +110 -112
- data/vendor/moment/locale/ko.js +66 -69
- data/vendor/moment/locale/ky.js +72 -75
- data/vendor/moment/locale/lb.js +113 -116
- data/vendor/moment/locale/lo.js +55 -57
- data/vendor/moment/locale/lt.js +100 -102
- data/vendor/moment/locale/lv.js +81 -84
- data/vendor/moment/locale/me.js +93 -95
- data/vendor/moment/locale/mi.js +50 -52
- data/vendor/moment/locale/mk.js +73 -75
- data/vendor/moment/locale/ml.js +66 -68
- data/vendor/moment/locale/mn.js +103 -0
- data/vendor/moment/locale/mr.js +140 -143
- data/vendor/moment/locale/ms-my.js +67 -70
- data/vendor/moment/locale/ms.js +67 -69
- data/vendor/moment/locale/mt.js +46 -48
- data/vendor/moment/locale/my.js +77 -82
- data/vendor/moment/locale/nb.js +48 -51
- data/vendor/moment/locale/ne.js +107 -109
- data/vendor/moment/locale/nl-be.js +68 -71
- data/vendor/moment/locale/nl.js +68 -71
- data/vendor/moment/locale/nn.js +46 -48
- data/vendor/moment/locale/pa-in.js +108 -110
- data/vendor/moment/locale/pl.js +104 -106
- data/vendor/moment/locale/pt-br.js +46 -48
- data/vendor/moment/locale/pt.js +50 -52
- data/vendor/moment/locale/ro.js +59 -62
- data/vendor/moment/locale/ru.js +153 -157
- data/vendor/moment/locale/sd.js +82 -84
- data/vendor/moment/locale/se.js +46 -49
- data/vendor/moment/locale/si.js +56 -58
- data/vendor/moment/locale/sk.js +138 -141
- data/vendor/moment/locale/sl.js +154 -156
- data/vendor/moment/locale/sq.js +54 -58
- data/vendor/moment/locale/sr-cyrl.js +93 -95
- data/vendor/moment/locale/sr.js +93 -95
- data/vendor/moment/locale/ss.js +72 -75
- data/vendor/moment/locale/sv.js +55 -57
- data/vendor/moment/locale/sw.js +45 -47
- data/vendor/moment/locale/ta.js +113 -116
- data/vendor/moment/locale/te.js +74 -76
- data/vendor/moment/locale/tet.js +53 -56
- data/vendor/moment/locale/tg.js +115 -0
- data/vendor/moment/locale/th.js +52 -54
- data/vendor/moment/locale/tl-ph.js +48 -50
- data/vendor/moment/locale/tlh.js +101 -103
- data/vendor/moment/locale/tr.js +80 -78
- data/vendor/moment/locale/tzl.js +75 -78
- data/vendor/moment/locale/tzm-latn.js +44 -46
- data/vendor/moment/locale/tzm.js +44 -46
- data/vendor/moment/locale/ug-cn.js +118 -0
- data/vendor/moment/locale/uk.js +129 -132
- data/vendor/moment/locale/ur.js +82 -85
- data/vendor/moment/locale/uz-latn.js +44 -46
- data/vendor/moment/locale/uz.js +44 -46
- data/vendor/moment/locale/vi.js +64 -66
- data/vendor/moment/locale/x-pseudo.js +54 -56
- data/vendor/moment/locale/yo.js +46 -48
- data/vendor/moment/locale/zh-cn.js +95 -98
- data/vendor/moment/locale/zh-hk.js +88 -92
- data/vendor/moment/locale/zh-tw.js +88 -91
- data/vendor/moment/min/locales.js +9701 -9581
- data/vendor/moment/min/moment-with-locales.js +13426 -13335
- data/vendor/moment/moment.js +3780 -3809
- data/vendor/moment/package.json +10 -10
- data/vendor/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +43 -35
- data/vendor/moment-timezone/builds/moment-timezone-with-data.js +290 -282
- data/vendor/moment-timezone/moment-timezone-utils.js +12 -10
- data/vendor/moment-timezone/moment-timezone.js +15 -7
- data/vendor/moment-timezone/package.json +5 -3
- data/vendor/{bootstrap → pako}/LICENSE +2 -3
- data/vendor/pako/dist/pako.js +6811 -0
- data/vendor/pako/dist/pako_deflate.js +3995 -0
- data/vendor/pako/dist/pako_inflate.js +3295 -0
- data/vendor/pako/package.json +48 -0
- data/yarn.lock +51 -78
- metadata +45 -155
- data/vendor/bootstrap/dist/js/bootstrap.bundle.js +0 -6461
- data/vendor/bootstrap/dist/js/bootstrap.js +0 -3944
- data/vendor/bootstrap/js/dist/alert.js +0 -204
- data/vendor/bootstrap/js/dist/button.js +0 -192
- data/vendor/bootstrap/js/dist/carousel.js +0 -567
- data/vendor/bootstrap/js/dist/collapse.js +0 -431
- data/vendor/bootstrap/js/dist/dropdown.js +0 -552
- data/vendor/bootstrap/js/dist/index.js +0 -23
- data/vendor/bootstrap/js/dist/modal.js +0 -634
- data/vendor/bootstrap/js/dist/popover.js +0 -266
- data/vendor/bootstrap/js/dist/scrollspy.js +0 -379
- data/vendor/bootstrap/js/dist/tab.js +0 -278
- data/vendor/bootstrap/js/dist/tooltip.js +0 -734
- data/vendor/bootstrap/js/dist/util.js +0 -144
- data/vendor/bootstrap/package.json +0 -217
- data/vendor/bootstrap/scss/_alert.scss +0 -51
- data/vendor/bootstrap/scss/_badge.scss +0 -47
- data/vendor/bootstrap/scss/_breadcrumb.scss +0 -41
- data/vendor/bootstrap/scss/_button-group.scss +0 -172
- data/vendor/bootstrap/scss/_buttons.scss +0 -143
- data/vendor/bootstrap/scss/_card.scss +0 -301
- data/vendor/bootstrap/scss/_carousel.scss +0 -236
- data/vendor/bootstrap/scss/_close.scss +0 -35
- data/vendor/bootstrap/scss/_code.scss +0 -48
- data/vendor/bootstrap/scss/_custom-forms.scss +0 -433
- data/vendor/bootstrap/scss/_dropdown.scss +0 -166
- data/vendor/bootstrap/scss/_forms.scss +0 -333
- data/vendor/bootstrap/scss/_functions.scss +0 -86
- data/vendor/bootstrap/scss/_grid.scss +0 -52
- data/vendor/bootstrap/scss/_images.scss +0 -42
- data/vendor/bootstrap/scss/_input-group.scss +0 -173
- data/vendor/bootstrap/scss/_jumbotron.scss +0 -16
- data/vendor/bootstrap/scss/_list-group.scss +0 -115
- data/vendor/bootstrap/scss/_media.scss +0 -8
- data/vendor/bootstrap/scss/_mixins.scss +0 -41
- data/vendor/bootstrap/scss/_modal.scss +0 -180
- data/vendor/bootstrap/scss/_nav.scss +0 -118
- data/vendor/bootstrap/scss/_navbar.scss +0 -299
- data/vendor/bootstrap/scss/_pagination.scss +0 -78
- data/vendor/bootstrap/scss/_popover.scss +0 -183
- data/vendor/bootstrap/scss/_print.scss +0 -141
- data/vendor/bootstrap/scss/_progress.scss +0 -34
- data/vendor/bootstrap/scss/_reboot.scss +0 -483
- data/vendor/bootstrap/scss/_root.scss +0 -19
- data/vendor/bootstrap/scss/_tables.scss +0 -187
- data/vendor/bootstrap/scss/_tooltip.scss +0 -115
- data/vendor/bootstrap/scss/_transitions.scss +0 -22
- data/vendor/bootstrap/scss/_type.scss +0 -125
- data/vendor/bootstrap/scss/_utilities.scss +0 -15
- data/vendor/bootstrap/scss/_variables.scss +0 -952
- data/vendor/bootstrap/scss/bootstrap-grid.scss +0 -32
- data/vendor/bootstrap/scss/bootstrap-reboot.scss +0 -12
- data/vendor/bootstrap/scss/bootstrap.scss +0 -42
- data/vendor/bootstrap/scss/mixins/_alert.scss +0 -13
- data/vendor/bootstrap/scss/mixins/_background-variant.scss +0 -21
- data/vendor/bootstrap/scss/mixins/_badge.scss +0 -12
- data/vendor/bootstrap/scss/mixins/_border-radius.scss +0 -35
- data/vendor/bootstrap/scss/mixins/_box-shadow.scss +0 -5
- data/vendor/bootstrap/scss/mixins/_breakpoints.scss +0 -123
- data/vendor/bootstrap/scss/mixins/_buttons.scss +0 -109
- data/vendor/bootstrap/scss/mixins/_caret.scss +0 -66
- data/vendor/bootstrap/scss/mixins/_clearfix.scss +0 -7
- data/vendor/bootstrap/scss/mixins/_float.scss +0 -11
- data/vendor/bootstrap/scss/mixins/_forms.scss +0 -147
- data/vendor/bootstrap/scss/mixins/_gradients.scss +0 -45
- data/vendor/bootstrap/scss/mixins/_grid-framework.scss +0 -67
- data/vendor/bootstrap/scss/mixins/_grid.scss +0 -52
- data/vendor/bootstrap/scss/mixins/_hover.scss +0 -37
- data/vendor/bootstrap/scss/mixins/_image.scss +0 -36
- data/vendor/bootstrap/scss/mixins/_list-group.scss +0 -21
- data/vendor/bootstrap/scss/mixins/_lists.scss +0 -7
- data/vendor/bootstrap/scss/mixins/_nav-divider.scss +0 -10
- data/vendor/bootstrap/scss/mixins/_pagination.scss +0 -22
- data/vendor/bootstrap/scss/mixins/_reset-text.scss +0 -17
- data/vendor/bootstrap/scss/mixins/_resize.scss +0 -6
- data/vendor/bootstrap/scss/mixins/_screen-reader.scss +0 -33
- data/vendor/bootstrap/scss/mixins/_size.scss +0 -6
- data/vendor/bootstrap/scss/mixins/_table-row.scss +0 -30
- data/vendor/bootstrap/scss/mixins/_text-emphasis.scss +0 -14
- data/vendor/bootstrap/scss/mixins/_text-hide.scss +0 -13
- data/vendor/bootstrap/scss/mixins/_text-truncate.scss +0 -8
- data/vendor/bootstrap/scss/mixins/_transition.scss +0 -13
- data/vendor/bootstrap/scss/mixins/_visibility.scss +0 -7
- data/vendor/bootstrap/scss/utilities/_align.scss +0 -8
- data/vendor/bootstrap/scss/utilities/_background.scss +0 -19
- data/vendor/bootstrap/scss/utilities/_borders.scss +0 -59
- data/vendor/bootstrap/scss/utilities/_clearfix.scss +0 -3
- data/vendor/bootstrap/scss/utilities/_display.scss +0 -38
- data/vendor/bootstrap/scss/utilities/_embed.scss +0 -52
- data/vendor/bootstrap/scss/utilities/_flex.scss +0 -51
- data/vendor/bootstrap/scss/utilities/_float.scss +0 -9
- data/vendor/bootstrap/scss/utilities/_position.scss +0 -37
- data/vendor/bootstrap/scss/utilities/_screenreaders.scss +0 -11
- data/vendor/bootstrap/scss/utilities/_shadows.scss +0 -6
- data/vendor/bootstrap/scss/utilities/_sizing.scss +0 -12
- data/vendor/bootstrap/scss/utilities/_spacing.scss +0 -51
- data/vendor/bootstrap/scss/utilities/_text.scss +0 -58
- data/vendor/bootstrap/scss/utilities/_visibility.scss +0 -11
- data/vendor/bootswatch/dist/cerulean/_bootswatch.scss +0 -99
- data/vendor/bootswatch/dist/cerulean/_variables.scss +0 -57
- data/vendor/bootswatch/dist/cosmo/_bootswatch.scss +0 -38
- data/vendor/bootswatch/dist/cosmo/_variables.scss +0 -68
- data/vendor/bootswatch/dist/cyborg/_bootswatch.scss +0 -230
- data/vendor/bootswatch/dist/cyborg/_variables.scss +0 -173
- data/vendor/bootswatch/dist/darkly/_bootswatch.scss +0 -186
- data/vendor/bootswatch/dist/darkly/_variables.scss +0 -178
- data/vendor/bootswatch/dist/flatly/_bootswatch.scss +0 -185
- data/vendor/bootswatch/dist/flatly/_variables.scss +0 -113
- data/vendor/bootswatch/dist/journal/_bootswatch.scss +0 -73
- data/vendor/bootswatch/dist/journal/_variables.scss +0 -60
- data/vendor/bootswatch/dist/litera/_bootswatch.scss +0 -212
- data/vendor/bootswatch/dist/litera/_variables.scss +0 -77
- data/vendor/bootswatch/dist/lumen/_bootswatch.scss +0 -429
- data/vendor/bootswatch/dist/lumen/_variables.scss +0 -82
- data/vendor/bootswatch/dist/lux/_bootswatch.scss +0 -157
- data/vendor/bootswatch/dist/lux/_variables.scss +0 -120
- data/vendor/bootswatch/dist/materia/_bootswatch.scss +0 -677
- data/vendor/bootswatch/dist/materia/_variables.scss +0 -131
- data/vendor/bootswatch/dist/minty/_bootswatch.scss +0 -258
- data/vendor/bootswatch/dist/minty/_variables.scss +0 -97
- data/vendor/bootswatch/dist/pulse/_bootswatch.scss +0 -154
- data/vendor/bootswatch/dist/pulse/_variables.scss +0 -100
- data/vendor/bootswatch/dist/sandstone/_bootswatch.scss +0 -235
- data/vendor/bootswatch/dist/sandstone/_variables.scss +0 -143
- data/vendor/bootswatch/dist/simplex/_bootswatch.scss +0 -130
- data/vendor/bootswatch/dist/simplex/_variables.scss +0 -108
- data/vendor/bootswatch/dist/sketchy/_bootswatch.scss +0 -411
- data/vendor/bootswatch/dist/sketchy/_variables.scss +0 -164
- data/vendor/bootswatch/dist/slate/_bootswatch.scss +0 -425
- data/vendor/bootswatch/dist/slate/_variables.scss +0 -160
- data/vendor/bootswatch/dist/solar/_bootswatch.scss +0 -119
- data/vendor/bootswatch/dist/solar/_variables.scss +0 -175
- data/vendor/bootswatch/dist/spacelab/_bootswatch.scss +0 -167
- data/vendor/bootswatch/dist/spacelab/_variables.scss +0 -63
- data/vendor/bootswatch/dist/superhero/_bootswatch.scss +0 -200
- data/vendor/bootswatch/dist/superhero/_variables.scss +0 -148
- data/vendor/bootswatch/dist/united/_bootswatch.scss +0 -26
- data/vendor/bootswatch/dist/united/_variables.scss +0 -53
- data/vendor/bootswatch/dist/yeti/_bootswatch.scss +0 -468
- data/vendor/bootswatch/dist/yeti/_variables.scss +0 -110
- data/vendor/bootswatch/package.json +0 -38
- data/vendor/chartkick/chartkick.js +0 -1872
- data/vendor/file-saver/FileSaver.js +0 -188
- data/vendor/popper.js/dist/umd/popper-utils.js +0 -1133
- data/vendor/popper.js/dist/umd/popper.js +0 -2540
- data/vendor/popper.js/package.json +0 -54
- data/vendor/tempusdominus-bootstrap-4/build/js/tempusdominus-bootstrap-4.js +0 -2779
- data/vendor/tempusdominus-bootstrap-4/package.json +0 -79
- data/vendor/tempusdominus-bootstrap-4/src/sass/_tempusdominus-bootstrap-4.scss +0 -342
- data/vendor/tempusdominus-bootstrap-4/src/sass/tempusdominus-bootstrap-4-build.scss +0 -12
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
|
|
4
|
-
(global.Util = factory(global.jQuery));
|
|
5
|
-
}(this, (function ($) { 'use strict';
|
|
6
|
-
|
|
7
|
-
$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* --------------------------------------------------------------------------
|
|
11
|
-
* Bootstrap (v4.1.3): util.js
|
|
12
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
13
|
-
* --------------------------------------------------------------------------
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
var Util = function ($$$1) {
|
|
17
|
-
/**
|
|
18
|
-
* ------------------------------------------------------------------------
|
|
19
|
-
* Private TransitionEnd Helpers
|
|
20
|
-
* ------------------------------------------------------------------------
|
|
21
|
-
*/
|
|
22
|
-
var TRANSITION_END = 'transitionend';
|
|
23
|
-
var MAX_UID = 1000000;
|
|
24
|
-
var MILLISECONDS_MULTIPLIER = 1000; // Shoutout AngusCroll (https://goo.gl/pxwQGp)
|
|
25
|
-
|
|
26
|
-
function toType(obj) {
|
|
27
|
-
return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase();
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
function getSpecialTransitionEndEvent() {
|
|
31
|
-
return {
|
|
32
|
-
bindType: TRANSITION_END,
|
|
33
|
-
delegateType: TRANSITION_END,
|
|
34
|
-
handle: function handle(event) {
|
|
35
|
-
if ($$$1(event.target).is(this)) {
|
|
36
|
-
return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
return undefined; // eslint-disable-line no-undefined
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function transitionEndEmulator(duration) {
|
|
45
|
-
var _this = this;
|
|
46
|
-
|
|
47
|
-
var called = false;
|
|
48
|
-
$$$1(this).one(Util.TRANSITION_END, function () {
|
|
49
|
-
called = true;
|
|
50
|
-
});
|
|
51
|
-
setTimeout(function () {
|
|
52
|
-
if (!called) {
|
|
53
|
-
Util.triggerTransitionEnd(_this);
|
|
54
|
-
}
|
|
55
|
-
}, duration);
|
|
56
|
-
return this;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function setTransitionEndSupport() {
|
|
60
|
-
$$$1.fn.emulateTransitionEnd = transitionEndEmulator;
|
|
61
|
-
$$$1.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* --------------------------------------------------------------------------
|
|
65
|
-
* Public Util Api
|
|
66
|
-
* --------------------------------------------------------------------------
|
|
67
|
-
*/
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
var Util = {
|
|
71
|
-
TRANSITION_END: 'bsTransitionEnd',
|
|
72
|
-
getUID: function getUID(prefix) {
|
|
73
|
-
do {
|
|
74
|
-
// eslint-disable-next-line no-bitwise
|
|
75
|
-
prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
|
|
76
|
-
} while (document.getElementById(prefix));
|
|
77
|
-
|
|
78
|
-
return prefix;
|
|
79
|
-
},
|
|
80
|
-
getSelectorFromElement: function getSelectorFromElement(element) {
|
|
81
|
-
var selector = element.getAttribute('data-target');
|
|
82
|
-
|
|
83
|
-
if (!selector || selector === '#') {
|
|
84
|
-
selector = element.getAttribute('href') || '';
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
try {
|
|
88
|
-
return document.querySelector(selector) ? selector : null;
|
|
89
|
-
} catch (err) {
|
|
90
|
-
return null;
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
getTransitionDurationFromElement: function getTransitionDurationFromElement(element) {
|
|
94
|
-
if (!element) {
|
|
95
|
-
return 0;
|
|
96
|
-
} // Get transition-duration of the element
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
var transitionDuration = $$$1(element).css('transition-duration');
|
|
100
|
-
var floatTransitionDuration = parseFloat(transitionDuration); // Return 0 if element or transition duration is not found
|
|
101
|
-
|
|
102
|
-
if (!floatTransitionDuration) {
|
|
103
|
-
return 0;
|
|
104
|
-
} // If multiple durations are defined, take the first
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
transitionDuration = transitionDuration.split(',')[0];
|
|
108
|
-
return parseFloat(transitionDuration) * MILLISECONDS_MULTIPLIER;
|
|
109
|
-
},
|
|
110
|
-
reflow: function reflow(element) {
|
|
111
|
-
return element.offsetHeight;
|
|
112
|
-
},
|
|
113
|
-
triggerTransitionEnd: function triggerTransitionEnd(element) {
|
|
114
|
-
$$$1(element).trigger(TRANSITION_END);
|
|
115
|
-
},
|
|
116
|
-
// TODO: Remove in v5
|
|
117
|
-
supportsTransitionEnd: function supportsTransitionEnd() {
|
|
118
|
-
return Boolean(TRANSITION_END);
|
|
119
|
-
},
|
|
120
|
-
isElement: function isElement(obj) {
|
|
121
|
-
return (obj[0] || obj).nodeType;
|
|
122
|
-
},
|
|
123
|
-
typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) {
|
|
124
|
-
for (var property in configTypes) {
|
|
125
|
-
if (Object.prototype.hasOwnProperty.call(configTypes, property)) {
|
|
126
|
-
var expectedTypes = configTypes[property];
|
|
127
|
-
var value = config[property];
|
|
128
|
-
var valueType = value && Util.isElement(value) ? 'element' : toType(value);
|
|
129
|
-
|
|
130
|
-
if (!new RegExp(expectedTypes).test(valueType)) {
|
|
131
|
-
throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\"."));
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
setTransitionEndSupport();
|
|
138
|
-
return Util;
|
|
139
|
-
}($);
|
|
140
|
-
|
|
141
|
-
return Util;
|
|
142
|
-
|
|
143
|
-
})));
|
|
144
|
-
//# sourceMappingURL=util.js.map
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "bootstrap",
|
|
3
|
-
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
|
4
|
-
"version": "4.1.3",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"css",
|
|
7
|
-
"sass",
|
|
8
|
-
"mobile-first",
|
|
9
|
-
"responsive",
|
|
10
|
-
"front-end",
|
|
11
|
-
"framework",
|
|
12
|
-
"web"
|
|
13
|
-
],
|
|
14
|
-
"homepage": "https://getbootstrap.com/",
|
|
15
|
-
"author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
|
|
16
|
-
"contributors": [
|
|
17
|
-
"Twitter, Inc."
|
|
18
|
-
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"start": "npm-run-all --parallel watch docs-serve",
|
|
21
|
-
"blc": "blc --exclude-external --filter-level 3 --get --ordered --recursive --host-requests 4 --input http://localhost:3000/",
|
|
22
|
-
"http-server": "http-server --silent -p 3000",
|
|
23
|
-
"bundlesize": "bundlesize",
|
|
24
|
-
"check-broken-links": "npm-run-all --parallel --race \"http-server -- _gh_pages/\" blc",
|
|
25
|
-
"css": "npm-run-all --parallel css-lint* css-compile* --sequential css-prefix* css-minify*",
|
|
26
|
-
"css-main": "npm-run-all --parallel css-lint css-compile --sequential css-prefix css-minify css-copy",
|
|
27
|
-
"css-docs": "npm-run-all --parallel css-lint-docs css-compile-docs --sequential css-prefix-docs css-minify-docs",
|
|
28
|
-
"css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css",
|
|
29
|
-
"css-compile-docs": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 site/docs/4.1/assets/scss/docs.scss site/docs/4.1/assets/css/docs.min.css",
|
|
30
|
-
"css-copy": "shx mkdir -p site/docs/4.1/dist/ && shx cp -r dist/css/ site/docs/4.1/dist/",
|
|
31
|
-
"css-lint": "stylelint --syntax scss \"scss/**/*.scss\"",
|
|
32
|
-
"css-lint-docs": "stylelint --syntax scss \"site/docs/4.1/assets/scss/*.scss\" && stylelint \"docs/**/*.css\"",
|
|
33
|
-
"css-lint-vars": "node build/lint-vars.js scss/ site/docs/4.1/assets/scss/",
|
|
34
|
-
"css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
|
|
35
|
-
"css-prefix-docs": "postcss --config build/postcss.config.js --replace \"site/docs/4.1/assets/css/docs.min.css\" \"docs/**/*.css\"",
|
|
36
|
-
"css-minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
|
|
37
|
-
"css-minify-docs": "cleancss --level 1 --source-map --source-map-inline-sources --output site/docs/4.1/assets/css/docs.min.css site/docs/4.1/assets/css/docs.min.css",
|
|
38
|
-
"js": "npm-run-all js-lint* js-compile js-minify js-copy",
|
|
39
|
-
"js-copy": "shx mkdir -p site/docs/4.1/dist/ && shx cp -r dist/js/ site/docs/4.1/dist/",
|
|
40
|
-
"js-main": "npm-run-all js-lint js-compile js-minify",
|
|
41
|
-
"js-docs": "npm-run-all js-lint-docs js-minify-docs",
|
|
42
|
-
"js-lint": "eslint js/src js/tests build/",
|
|
43
|
-
"js-lint-docs": "eslint site/docs/4.1/assets/js/ site/sw.js",
|
|
44
|
-
"js-compile": "npm-run-all --parallel js-compile-* --sequential js-copy",
|
|
45
|
-
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
|
|
46
|
-
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
|
|
47
|
-
"js-compile-plugins": "node build/build-plugins.js",
|
|
48
|
-
"js-compile-plugins-coverage": "cross-env NODE_ENV=test node build/build-plugins.js",
|
|
49
|
-
"js-minify": "npm-run-all --parallel js-minify-*",
|
|
50
|
-
"js-minify-standalone": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
|
|
51
|
-
"js-minify-bundle": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.bundle.js.map,includeSources,url=bootstrap.bundle.min.js.map\" --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js",
|
|
52
|
-
"js-minify-docs": "uglifyjs --mangle --comments \"/^!/\" --output site/docs/4.1/assets/js/docs.min.js site/docs/4.1/assets/js/vendor/anchor.min.js site/docs/4.1/assets/js/vendor/clipboard.min.js site/docs/4.1/assets/js/vendor/holder.min.js \"site/docs/4.1/assets/js/src/*.js\"",
|
|
53
|
-
"js-test": "npm-run-all js-test-karma*",
|
|
54
|
-
"js-test-karma": "karma start js/tests/karma.conf.js",
|
|
55
|
-
"js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma",
|
|
56
|
-
"js-test-karma-bundle": "cross-env karma start js/tests/karma-bundle.conf.js",
|
|
57
|
-
"js-test-karma-bundle-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma-bundle",
|
|
58
|
-
"js-test-cloud": "npm-run-all --parallel --race http-server saucelabs-test",
|
|
59
|
-
"coveralls": "shx cat js/coverage/lcov.info | coveralls",
|
|
60
|
-
"docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint",
|
|
61
|
-
"docs-compile": "bundle exec jekyll build",
|
|
62
|
-
"postdocs-compile": "npm run docs-workbox-precache",
|
|
63
|
-
"docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml",
|
|
64
|
-
"docs-github-serve": "npm run docs-serve -- --skip-initial-build --no-watch",
|
|
65
|
-
"docs-lint": "npm-run-all docs-lint-*",
|
|
66
|
-
"docs-lint-htmllint": "htmllint --rc build/.htmllintrc \"_gh_pages/**/*.html\" \"js/tests/**/*.html\"",
|
|
67
|
-
"docs-lint-vnu-jar": "node build/vnu-jar.js",
|
|
68
|
-
"docs-serve": "bundle exec jekyll serve",
|
|
69
|
-
"docs-workbox-precache": "node build/workbox.js",
|
|
70
|
-
"maintenance-dependencies": "ncu -a -x jquery && npm update && bundle update && shx echo \"Manually update site/docs/4.1/assets/js/vendor/*, js/tests/vendor/* and .travis.yml\"",
|
|
71
|
-
"release-sri": "node build/generate-sri.js",
|
|
72
|
-
"release-version": "node build/change-version.js",
|
|
73
|
-
"release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
|
|
74
|
-
"saucelabs-test": "node build/saucelabs-unit-test.js",
|
|
75
|
-
"dist": "npm-run-all --parallel css-main js",
|
|
76
|
-
"test": "npm-run-all dist js-test docs-compile docs-lint bundlesize",
|
|
77
|
-
"watch": "npm-run-all --parallel watch-*",
|
|
78
|
-
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
|
|
79
|
-
"watch-css-docs": "nodemon --watch site/docs/4.1/assets/scss/ --ext scss --exec \"npm run css-docs\"",
|
|
80
|
-
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm run js-compile\"",
|
|
81
|
-
"watch-js-docs": "nodemon --watch site/docs/4.1/assets/js/src/ --ext js --exec \"npm run js-docs\""
|
|
82
|
-
},
|
|
83
|
-
"style": "dist/css/bootstrap.css",
|
|
84
|
-
"sass": "scss/bootstrap.scss",
|
|
85
|
-
"main": "dist/js/bootstrap",
|
|
86
|
-
"repository": {
|
|
87
|
-
"type": "git",
|
|
88
|
-
"url": "git+https://github.com/twbs/bootstrap.git"
|
|
89
|
-
},
|
|
90
|
-
"bugs": {
|
|
91
|
-
"url": "https://github.com/twbs/bootstrap/issues"
|
|
92
|
-
},
|
|
93
|
-
"license": "MIT",
|
|
94
|
-
"dependencies": {},
|
|
95
|
-
"peerDependencies": {
|
|
96
|
-
"jquery": "1.9.1 - 3",
|
|
97
|
-
"popper.js": "^1.14.3"
|
|
98
|
-
},
|
|
99
|
-
"devDependencies": {
|
|
100
|
-
"@babel/cli": "7.0.0-beta.52",
|
|
101
|
-
"@babel/core": "7.0.0-beta.52",
|
|
102
|
-
"@babel/preset-env": "7.0.0-beta.52",
|
|
103
|
-
"autoprefixer": "^8.6.5",
|
|
104
|
-
"babel-eslint": "^8.2.5",
|
|
105
|
-
"babel-plugin-istanbul": "^4.1.6",
|
|
106
|
-
"broken-link-checker": "^0.7.8",
|
|
107
|
-
"bundlesize": "^0.15.3",
|
|
108
|
-
"clean-css-cli": "^4.1.11",
|
|
109
|
-
"coveralls": "^3.0.2",
|
|
110
|
-
"cross-env": "^5.2.0",
|
|
111
|
-
"eslint": "^5.0.1",
|
|
112
|
-
"eslint-plugin-compat": "^2.4.0",
|
|
113
|
-
"glob": "^7.1.2",
|
|
114
|
-
"htmllint-cli": "^0.0.7",
|
|
115
|
-
"http-server": "^0.11.1",
|
|
116
|
-
"jsunitsaucelabs": "^1.3.2",
|
|
117
|
-
"karma": "^2.0.4",
|
|
118
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
119
|
-
"karma-coverage-istanbul-reporter": "^2.0.1",
|
|
120
|
-
"karma-detect-browsers": "^2.3.2",
|
|
121
|
-
"karma-firefox-launcher": "^1.1.0",
|
|
122
|
-
"karma-qunit": "^2.1.0",
|
|
123
|
-
"karma-sinon": "^1.0.5",
|
|
124
|
-
"node-sass": "^4.9.1",
|
|
125
|
-
"nodemon": "^1.17.5",
|
|
126
|
-
"npm-run-all": "^4.1.3",
|
|
127
|
-
"popper.js": "^1.14.3",
|
|
128
|
-
"postcss-cli": "^5.0.1",
|
|
129
|
-
"qunit": "^2.6.1",
|
|
130
|
-
"rollup": "^0.62.0",
|
|
131
|
-
"rollup-plugin-babel": "4.0.0-beta.5",
|
|
132
|
-
"rollup-plugin-node-resolve": "^3.3.0",
|
|
133
|
-
"shelljs": "^0.8.2",
|
|
134
|
-
"shx": "^0.3.1",
|
|
135
|
-
"sinon": "^6.1.2",
|
|
136
|
-
"sri-toolbox": "^0.2.0",
|
|
137
|
-
"stylelint": "^9.3.0",
|
|
138
|
-
"stylelint-config-recommended-scss": "^3.2.0",
|
|
139
|
-
"stylelint-config-standard": "^18.2.0",
|
|
140
|
-
"stylelint-order": "^0.8.1",
|
|
141
|
-
"stylelint-scss": "^3.1.3",
|
|
142
|
-
"uglify-js": "^3.4.3",
|
|
143
|
-
"vnu-jar": "^18.3.0",
|
|
144
|
-
"workbox-build": "^3.3.1"
|
|
145
|
-
},
|
|
146
|
-
"engines": {
|
|
147
|
-
"node": ">=6"
|
|
148
|
-
},
|
|
149
|
-
"files": [
|
|
150
|
-
"dist/",
|
|
151
|
-
"js/{src,dist}/",
|
|
152
|
-
"scss/"
|
|
153
|
-
],
|
|
154
|
-
"bundlesize": [
|
|
155
|
-
{
|
|
156
|
-
"path": "./dist/css/bootstrap-grid.css",
|
|
157
|
-
"maxSize": "5 kB"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"path": "./dist/css/bootstrap-grid.min.css",
|
|
161
|
-
"maxSize": "5 kB"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"path": "./dist/css/bootstrap-reboot.css",
|
|
165
|
-
"maxSize": "3 kB"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"path": "./dist/css/bootstrap-reboot.min.css",
|
|
169
|
-
"maxSize": "3 kB"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"path": "./dist/css/bootstrap.css",
|
|
173
|
-
"maxSize": "25 kB"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"path": "./dist/css/bootstrap.min.css",
|
|
177
|
-
"maxSize": "21 kB"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"path": "./dist/js/bootstrap.bundle.js",
|
|
181
|
-
"maxSize": "45 kB"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"path": "./dist/js/bootstrap.bundle.min.js",
|
|
185
|
-
"maxSize": "25 kB"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"path": "./dist/js/bootstrap.js",
|
|
189
|
-
"maxSize": "21 kB"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"path": "./dist/js/bootstrap.min.js",
|
|
193
|
-
"maxSize": "15 kB"
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"jspm": {
|
|
197
|
-
"registry": "npm",
|
|
198
|
-
"main": "js/bootstrap",
|
|
199
|
-
"directories": {
|
|
200
|
-
"lib": "dist"
|
|
201
|
-
},
|
|
202
|
-
"shim": {
|
|
203
|
-
"js/bootstrap": {
|
|
204
|
-
"deps": [
|
|
205
|
-
"jquery",
|
|
206
|
-
"popper.js"
|
|
207
|
-
],
|
|
208
|
-
"exports": "$"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"dependencies": {},
|
|
212
|
-
"peerDependencies": {
|
|
213
|
-
"jquery": "1.9.1 - 3",
|
|
214
|
-
"popper.js": "^1.14.1"
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Base styles
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
.alert {
|
|
6
|
-
position: relative;
|
|
7
|
-
padding: $alert-padding-y $alert-padding-x;
|
|
8
|
-
margin-bottom: $alert-margin-bottom;
|
|
9
|
-
border: $alert-border-width solid transparent;
|
|
10
|
-
@include border-radius($alert-border-radius);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// Headings for larger alerts
|
|
14
|
-
.alert-heading {
|
|
15
|
-
// Specified to prevent conflicts of changing $headings-color
|
|
16
|
-
color: inherit;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Provide class for links that match alerts
|
|
20
|
-
.alert-link {
|
|
21
|
-
font-weight: $alert-link-font-weight;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// Dismissible alerts
|
|
26
|
-
//
|
|
27
|
-
// Expand the right padding and account for the close button's positioning.
|
|
28
|
-
|
|
29
|
-
.alert-dismissible {
|
|
30
|
-
padding-right: ($close-font-size + $alert-padding-x * 2);
|
|
31
|
-
|
|
32
|
-
// Adjust close link position
|
|
33
|
-
.close {
|
|
34
|
-
position: absolute;
|
|
35
|
-
top: 0;
|
|
36
|
-
right: 0;
|
|
37
|
-
padding: $alert-padding-y $alert-padding-x;
|
|
38
|
-
color: inherit;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
// Alternate styles
|
|
44
|
-
//
|
|
45
|
-
// Generate contextual modifier classes for colorizing the alert.
|
|
46
|
-
|
|
47
|
-
@each $color, $value in $theme-colors {
|
|
48
|
-
.alert-#{$color} {
|
|
49
|
-
@include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Base class
|
|
2
|
-
//
|
|
3
|
-
// Requires one of the contextual, color modifier classes for `color` and
|
|
4
|
-
// `background-color`.
|
|
5
|
-
|
|
6
|
-
.badge {
|
|
7
|
-
display: inline-block;
|
|
8
|
-
padding: $badge-padding-y $badge-padding-x;
|
|
9
|
-
font-size: $badge-font-size;
|
|
10
|
-
font-weight: $badge-font-weight;
|
|
11
|
-
line-height: 1;
|
|
12
|
-
text-align: center;
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
vertical-align: baseline;
|
|
15
|
-
@include border-radius($badge-border-radius);
|
|
16
|
-
|
|
17
|
-
// Empty badges collapse automatically
|
|
18
|
-
&:empty {
|
|
19
|
-
display: none;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// Quick fix for badges in buttons
|
|
24
|
-
.btn .badge {
|
|
25
|
-
position: relative;
|
|
26
|
-
top: -1px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Pill badges
|
|
30
|
-
//
|
|
31
|
-
// Make them extra rounded with a modifier to replace v3's badges.
|
|
32
|
-
|
|
33
|
-
.badge-pill {
|
|
34
|
-
padding-right: $badge-pill-padding-x;
|
|
35
|
-
padding-left: $badge-pill-padding-x;
|
|
36
|
-
@include border-radius($badge-pill-border-radius);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// Colors
|
|
40
|
-
//
|
|
41
|
-
// Contextual variations (linked badges get darker on :hover).
|
|
42
|
-
|
|
43
|
-
@each $color, $value in $theme-colors {
|
|
44
|
-
.badge-#{$color} {
|
|
45
|
-
@include badge-variant($value);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
.breadcrumb {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
|
5
|
-
margin-bottom: $breadcrumb-margin-bottom;
|
|
6
|
-
list-style: none;
|
|
7
|
-
background-color: $breadcrumb-bg;
|
|
8
|
-
@include border-radius($breadcrumb-border-radius);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.breadcrumb-item {
|
|
12
|
-
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
|
13
|
-
+ .breadcrumb-item {
|
|
14
|
-
padding-left: $breadcrumb-item-padding;
|
|
15
|
-
|
|
16
|
-
&::before {
|
|
17
|
-
display: inline-block; // Suppress underlining of the separator in modern browsers
|
|
18
|
-
padding-right: $breadcrumb-item-padding;
|
|
19
|
-
color: $breadcrumb-divider-color;
|
|
20
|
-
content: $breadcrumb-divider;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
|
|
25
|
-
// without `<ul>`s. The `::before` pseudo-element generates an element
|
|
26
|
-
// *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
|
|
27
|
-
//
|
|
28
|
-
// To trick IE into suppressing the underline, we give the pseudo-element an
|
|
29
|
-
// underline and then immediately remove it.
|
|
30
|
-
+ .breadcrumb-item:hover::before {
|
|
31
|
-
text-decoration: underline;
|
|
32
|
-
}
|
|
33
|
-
// stylelint-disable-next-line no-duplicate-selectors
|
|
34
|
-
+ .breadcrumb-item:hover::before {
|
|
35
|
-
text-decoration: none;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.active {
|
|
39
|
-
color: $breadcrumb-active-color;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
// stylelint-disable selector-no-qualifying-type
|
|
2
|
-
|
|
3
|
-
// Make the div behave like a button
|
|
4
|
-
.btn-group,
|
|
5
|
-
.btn-group-vertical {
|
|
6
|
-
position: relative;
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
vertical-align: middle; // match .btn alignment given font-size hack above
|
|
9
|
-
|
|
10
|
-
> .btn {
|
|
11
|
-
position: relative;
|
|
12
|
-
flex: 0 1 auto;
|
|
13
|
-
|
|
14
|
-
// Bring the hover, focused, and "active" buttons to the front to overlay
|
|
15
|
-
// the borders properly
|
|
16
|
-
@include hover {
|
|
17
|
-
z-index: 1;
|
|
18
|
-
}
|
|
19
|
-
&:focus,
|
|
20
|
-
&:active,
|
|
21
|
-
&.active {
|
|
22
|
-
z-index: 1;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Prevent double borders when buttons are next to each other
|
|
27
|
-
.btn + .btn,
|
|
28
|
-
.btn + .btn-group,
|
|
29
|
-
.btn-group + .btn,
|
|
30
|
-
.btn-group + .btn-group {
|
|
31
|
-
margin-left: -$btn-border-width;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// Optional: Group multiple button groups together for a toolbar
|
|
36
|
-
.btn-toolbar {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-wrap: wrap;
|
|
39
|
-
justify-content: flex-start;
|
|
40
|
-
|
|
41
|
-
.input-group {
|
|
42
|
-
width: auto;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.btn-group {
|
|
47
|
-
> .btn:first-child {
|
|
48
|
-
margin-left: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// Reset rounded corners
|
|
52
|
-
> .btn:not(:last-child):not(.dropdown-toggle),
|
|
53
|
-
> .btn-group:not(:last-child) > .btn {
|
|
54
|
-
@include border-right-radius(0);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
> .btn:not(:first-child),
|
|
58
|
-
> .btn-group:not(:first-child) > .btn {
|
|
59
|
-
@include border-left-radius(0);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Sizing
|
|
64
|
-
//
|
|
65
|
-
// Remix the default button sizing classes into new ones for easier manipulation.
|
|
66
|
-
|
|
67
|
-
.btn-group-sm > .btn { @extend .btn-sm; }
|
|
68
|
-
.btn-group-lg > .btn { @extend .btn-lg; }
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
//
|
|
72
|
-
// Split button dropdowns
|
|
73
|
-
//
|
|
74
|
-
|
|
75
|
-
.dropdown-toggle-split {
|
|
76
|
-
padding-right: $btn-padding-x * .75;
|
|
77
|
-
padding-left: $btn-padding-x * .75;
|
|
78
|
-
|
|
79
|
-
&::after,
|
|
80
|
-
.dropup &::after,
|
|
81
|
-
.dropright &::after {
|
|
82
|
-
margin-left: 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.dropleft &::before {
|
|
86
|
-
margin-right: 0;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.btn-sm + .dropdown-toggle-split {
|
|
91
|
-
padding-right: $btn-padding-x-sm * .75;
|
|
92
|
-
padding-left: $btn-padding-x-sm * .75;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.btn-lg + .dropdown-toggle-split {
|
|
96
|
-
padding-right: $btn-padding-x-lg * .75;
|
|
97
|
-
padding-left: $btn-padding-x-lg * .75;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
// The clickable button for toggling the menu
|
|
102
|
-
// Set the same inset shadow as the :active state
|
|
103
|
-
.btn-group.show .dropdown-toggle {
|
|
104
|
-
@include box-shadow($btn-active-box-shadow);
|
|
105
|
-
|
|
106
|
-
// Show no shadow for `.btn-link` since it has no other button styles.
|
|
107
|
-
&.btn-link {
|
|
108
|
-
@include box-shadow(none);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
//
|
|
114
|
-
// Vertical button groups
|
|
115
|
-
//
|
|
116
|
-
|
|
117
|
-
.btn-group-vertical {
|
|
118
|
-
flex-direction: column;
|
|
119
|
-
align-items: flex-start;
|
|
120
|
-
justify-content: center;
|
|
121
|
-
|
|
122
|
-
.btn,
|
|
123
|
-
.btn-group {
|
|
124
|
-
width: 100%;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
> .btn + .btn,
|
|
128
|
-
> .btn + .btn-group,
|
|
129
|
-
> .btn-group + .btn,
|
|
130
|
-
> .btn-group + .btn-group {
|
|
131
|
-
margin-top: -$btn-border-width;
|
|
132
|
-
margin-left: 0;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// Reset rounded corners
|
|
136
|
-
> .btn:not(:last-child):not(.dropdown-toggle),
|
|
137
|
-
> .btn-group:not(:last-child) > .btn {
|
|
138
|
-
@include border-bottom-radius(0);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
> .btn:not(:first-child),
|
|
142
|
-
> .btn-group:not(:first-child) > .btn {
|
|
143
|
-
@include border-top-radius(0);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
// Checkbox and radio options
|
|
149
|
-
//
|
|
150
|
-
// In order to support the browser's form validation feedback, powered by the
|
|
151
|
-
// `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
|
|
152
|
-
// `display: none;` or `visibility: hidden;` as that also hides the popover.
|
|
153
|
-
// Simply visually hiding the inputs via `opacity` would leave them clickable in
|
|
154
|
-
// certain cases which is prevented by using `clip` and `pointer-events`.
|
|
155
|
-
// This way, we ensure a DOM element is visible to position the popover from.
|
|
156
|
-
//
|
|
157
|
-
// See https://github.com/twbs/bootstrap/pull/12794 and
|
|
158
|
-
// https://github.com/twbs/bootstrap/pull/14559 for more information.
|
|
159
|
-
|
|
160
|
-
.btn-group-toggle {
|
|
161
|
-
> .btn,
|
|
162
|
-
> .btn-group > .btn {
|
|
163
|
-
margin-bottom: 0; // Override default `<label>` value
|
|
164
|
-
|
|
165
|
-
input[type="radio"],
|
|
166
|
-
input[type="checkbox"] {
|
|
167
|
-
position: absolute;
|
|
168
|
-
clip: rect(0, 0, 0, 0);
|
|
169
|
-
pointer-events: none;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|