You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2017/10/20 11:53:40 UTC
[myfaces-tobago] 02/02: rebuild themes after update
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
commit 1e487e04e56ef2a151d59d3c5afc7a8f845837b5
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Fri Oct 20 13:52:49 2017 +0200
rebuild themes after update
---
.../080-sheet/35-markup/sheet-markup.xhtml | 2 +-
.../tobago-theme-charlotteville/rebuild-theme.log | 733 +++--
.../tobago-bootstrap/_version/css/bootstrap.css | 2286 +++++++-------
.../_version/css/bootstrap.css.map | 2 +-
.../_version/css/bootstrap.min.css | 4 +-
.../_version/css/bootstrap.min.css.map | 2 +-
.../tobago-bootstrap/_version/js/bootstrap.js | 3103 ++++++++++----------
.../tobago-bootstrap/_version/js/bootstrap.min.js | 11 +-
.../tobago-theme-richmond/rebuild-theme.log | 737 +++--
.../tobago-bootstrap/_version/css/bootstrap.css | 2231 +++++++-------
.../_version/css/bootstrap.css.map | 2 +-
.../_version/css/bootstrap.min.css | 4 +-
.../_version/css/bootstrap.min.css.map | 2 +-
.../tobago-bootstrap/_version/js/bootstrap.js | 3103 ++++++++++----------
.../tobago-bootstrap/_version/js/bootstrap.min.js | 11 +-
.../tobago-theme-scarborough/rebuild-theme.log | 733 +++--
.../tobago-bootstrap/_version/css/bootstrap.css | 2286 +++++++-------
.../_version/css/bootstrap.css.map | 2 +-
.../_version/css/bootstrap.min.css | 4 +-
.../_version/css/bootstrap.min.css.map | 2 +-
.../tobago-bootstrap/_version/js/bootstrap.js | 3103 ++++++++++----------
.../tobago-bootstrap/_version/js/bootstrap.min.js | 11 +-
.../tobago-theme-speyside/rebuild-theme.log | 737 +++--
.../tobago-bootstrap/_version/css/bootstrap.css | 2286 +++++++-------
.../_version/css/bootstrap.css.map | 2 +-
.../_version/css/bootstrap.min.css | 4 +-
.../_version/css/bootstrap.min.css.map | 2 +-
.../tobago-bootstrap/_version/js/bootstrap.js | 3103 ++++++++++----------
.../tobago-bootstrap/_version/js/bootstrap.min.js | 11 +-
.../tobago-theme-standard/rebuild-theme.log | 743 +++--
.../tobago-bootstrap/_version/css/bootstrap.css | 2301 ++++++++-------
.../_version/css/bootstrap.css.map | 2 +-
.../_version/css/bootstrap.min.css | 4 +-
.../_version/css/bootstrap.min.css.map | 2 +-
.../tobago-bootstrap/_version/js/bootstrap.js | 3103 ++++++++++----------
.../tobago-bootstrap/_version/js/bootstrap.min.js | 11 +-
36 files changed, 16291 insertions(+), 14394 deletions(-)
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/35-markup/sheet-markup.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/35-markup/sheet-markup.xhtml
index e777f04..f8256cd 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/35-markup/sheet-markup.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/35-markup/sheet-markup.xhtml
@@ -32,7 +32,7 @@
<tc:selectManyShuttle value="#{sheetController.markup}">
<tc:event/>
- <tc:selectItem itemLabel="Inverse" itemValue="inverse"/>
+ <tc:selectItem itemLabel="Dark" itemValue="dark"/>
<tc:selectItem itemLabel="Striped" itemValue="striped"/>
<tc:selectItem itemLabel="Bordered" itemValue="bordered"/>
<tc:selectItem itemLabel="Hover" itemValue="hover"/>
diff --git a/tobago-theme/tobago-theme-charlotteville/rebuild-theme.log b/tobago-theme/tobago-theme-charlotteville/rebuild-theme.log
index 5223bd4..8f980e2 100644
--- a/tobago-theme/tobago-theme-charlotteville/rebuild-theme.log
+++ b/tobago-theme/tobago-theme-charlotteville/rebuild-theme.log
@@ -1,4 +1,4 @@
-Build date: 2017-10-12 17:58:25
+Build date: 2017-10-20 13:30:26
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
@@ -11,20 +11,20 @@ Build date: 2017-10-12 17:58:25
[INFO]
[INFO] --- maven-scm-plugin:1.9.5:checkout (step #1: checkout-bootstrap) @ tobago-theme-charlotteville ---
[INFO] Removing __CURRENT__/tobago-theme-charlotteville/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-charlotteville/target && git clone --branch v4.0.0-beta https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-charlotteville/target/checkout
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-charlotteville/target && git clone --branch v4.0.0-beta.2 https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-charlotteville/target/checkout
[INFO] Working directory: __CURRENT__/tobago-theme-charlotteville/target
[INFO] Executing: /bin/sh -c cd /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/ && git ls-remote https://github.com/twbs/bootstrap
[INFO] Working directory: /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-charlotteville/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta:v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-charlotteville/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta.2:v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-charlotteville/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-charlotteville/target/checkout && git checkout v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-charlotteville/target/checkout && git checkout v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-charlotteville/target/checkout
[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-charlotteville/target/checkout && git ls-files
[INFO] Working directory: __CURRENT__/tobago-theme-charlotteville/target/checkout
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #2: copy-bootstrap) @ tobago-theme-charlotteville ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 392 resources
+[INFO] Copying 425 resources
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #3: copy-custom) @ tobago-theme-charlotteville ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
@@ -38,30 +38,27 @@ Build date: 2017-10-12 17:58:25
[INFO] Unpacking __REPO__/org/apache/myfaces/tobago/tobago-core/4.0.0-SNAPSHOT/tobago-core-4.0.0-SNAPSHOT.jar to __CURRENT__/tobago-theme-charlotteville/target/bootstrap with includes "**/*.scss" and excludes ""
[INFO]
[INFO] --- frontend-maven-plugin:1.4:install-node-and-npm (step #6: install node and npm) @ tobago-theme-charlotteville ---
-[INFO] Installing node version v6.10.2
-[INFO] Unpacking __REPO__/com/github/eirslett/node/6.10.2/node-6.10.2-darwin-x64.tar.gz into __CURRENT__/tobago-theme-charlotteville/target/frontend/node/tmp
-[INFO] Copying node binary from __CURRENT__/tobago-theme-charlotteville/target/frontend/node/tmp/node-v6.10.2-darwin-x64/bin/node to __CURRENT__/tobago-theme-charlotteville/target/frontend/node/node
+[INFO] Installing node version v7.10.1
+[INFO] Unpacking __REPO__/com/github/eirslett/node/7.10.1/node-7.10.1-darwin-x64.tar.gz into __CURRENT__/tobago-theme-charlotteville/target/frontend/node/tmp
+[INFO] Copying node binary from __CURRENT__/tobago-theme-charlotteville/target/frontend/node/tmp/node-v7.10.1-darwin-x64/bin/node to __CURRENT__/tobago-theme-charlotteville/target/frontend/node/node
[INFO] Installed node locally.
-[INFO] Installing npm version 3.10.10
-[INFO] Unpacking __REPO__/com/github/eirslett/npm/3.10.10/npm-3.10.10.tar.gz into __CURRENT__/tobago-theme-charlotteville/target/frontend/node/node_modules
+[INFO] Installing npm version 4.2.0
+[INFO] Unpacking __REPO__/com/github/eirslett/npm/4.2.0/npm-4.2.0.tar.gz into __CURRENT__/tobago-theme-charlotteville/target/frontend/node/node_modules
[INFO] Installed npm locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #7: npm install) @ tobago-theme-charlotteville ---
[INFO] Running 'npm install' in __CURRENT__/tobago-theme-charlotteville/target/bootstrap
-[WARNING] npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
-[WARNING] npm WARN prefer global coffee-script@1.10.0 should be installed with -g
[WARNING] npm WARN prefer global node-gyp@3.6.2 should be installed with -g
[INFO]
[INFO] > fsevents@1.1.2 install __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/fsevents
[INFO] > node install
[INFO]
-[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
-[INFO] Pass --update-binary to reinstall or --build-from-source to recompile
+[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node" is installed via remote
[INFO]
[INFO] > node-sass@4.5.3 install __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/install.js
[INFO]
-[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-48_binding.node
+[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-51_binding.node
[INFO]
[INFO] > phantomjs-prebuilt@2.1.15 install __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/phantomjs-prebuilt
[INFO] > node install.js
@@ -71,58 +68,57 @@ Build date: 2017-10-12 17:58:25
[INFO] Verified checksum of previously downloaded file
[INFO] Extracting zip contents
[INFO] Removing __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
-[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1507823989812/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
+[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1508499181259/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
[INFO] Writing location.js file
[INFO] Done. Phantomjs binary available at __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
[INFO]
[INFO] > node-sass@4.5.3 postinstall __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/build.js
[INFO]
-[INFO] Binary found at __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-48/binding.node
+[INFO] Binary found at __CURRENT__/tobago-theme-charlotteville/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-51/binding.node
[INFO] Testing binary
[INFO] Binary is fine
-[INFO] bootstrap@4.0.0-beta __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] bootstrap@4.0.0-beta.2 __CURRENT__/tobago-theme-charlotteville/target/bootstrap
[INFO] ├─┬ autoprefixer@7.1.5
[INFO] │ ├─┬ browserslist@2.5.1
-[INFO] │ │ └── electron-to-chromium@1.3.26
-[INFO] │ ├── caniuse-lite@1.0.30000746
+[INFO] │ │ └── electron-to-chromium@1.3.27
+[INFO] │ ├── caniuse-lite@1.0.30000748
[INFO] │ ├── normalize-range@0.1.2
[INFO] │ ├── num2fraction@1.2.2
[INFO] │ ├─┬ postcss@6.0.13
-[INFO] │ │ ├── source-map@0.6.1
-[INFO] │ │ └─┬ supports-color@4.4.0
+[INFO] │ │ └─┬ supports-color@4.5.0
[INFO] │ │ └── has-flag@2.0.0
[INFO] │ └── postcss-value-parser@3.3.0
-[INFO] ├─┬ babel-cli@6.26.0
-[INFO] │ ├─┬ babel-core@6.26.0
-[INFO] │ │ ├─┬ babel-generator@6.26.0
-[INFO] │ │ │ ├─┬ detect-indent@4.0.0
-[INFO] │ │ │ │ └─┬ repeating@2.0.1
-[INFO] │ │ │ │ └── is-finite@1.0.2
-[INFO] │ │ │ ├── jsesc@1.3.0
+[INFO] ├─┬ babel-cli@7.0.0-beta.2
+[INFO] │ ├─┬ babel-core@7.0.0-beta.2
+[INFO] │ │ ├── babel-code-frame@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-generator@7.0.0-beta.2
+[INFO] │ │ │ ├── jsesc@2.5.1
[INFO] │ │ │ ├── source-map@0.5.7
[INFO] │ │ │ └── trim-right@1.0.1
-[INFO] │ │ ├── babel-helpers@6.24.1
-[INFO] │ │ ├── babel-messages@6.23.0
-[INFO] │ │ ├── babel-template@6.26.0
+[INFO] │ │ ├── babel-helpers@7.0.0-beta.2
+[INFO] │ │ ├── babel-messages@7.0.0-beta.2
+[INFO] │ │ ├── babel-template@7.0.0-beta.2
+[INFO] │ │ ├── babel-traverse@7.0.0-beta.2
+[INFO] │ │ ├── babel-types@7.0.0-beta.2
+[INFO] │ │ ├── babylon@7.0.0-beta.25
[INFO] │ │ ├── json5@0.5.1
-[INFO] │ │ ├── private@0.1.7
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-polyfill@6.26.0
+[INFO] │ ├─┬ babel-polyfill@7.0.0-beta.2
[INFO] │ │ ├── core-js@2.5.1
-[INFO] │ │ └── regenerator-runtime@0.10.5
-[INFO] │ ├─┬ babel-register@6.26.0
-[INFO] │ │ ├─┬ home-or-tmp@2.0.0
-[INFO] │ │ │ ├── os-homedir@1.0.2
-[INFO] │ │ │ └── os-tmpdir@1.0.2
+[INFO] │ │ └── regenerator-runtime@0.11.0
+[INFO] │ ├─┬ babel-register@7.0.0-beta.2
+[INFO] │ │ ├─┬ find-cache-dir@1.0.0
+[INFO] │ │ │ ├── commondir@1.0.1
+[INFO] │ │ │ ├── make-dir@1.0.0
+[INFO] │ │ │ └── pkg-dir@2.0.0
+[INFO] │ │ ├── home-or-tmp@3.0.0
+[INFO] │ │ ├─┬ pirates@3.0.1
+[INFO] │ │ │ └── node-modules-regexp@1.0.0
[INFO] │ │ └─┬ source-map-support@0.4.18
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-runtime@6.26.0
-[INFO] │ │ └── regenerator-runtime@0.11.0
[INFO] │ ├─┬ chokidar@1.7.0
-[INFO] │ │ ├─┬ anymatch@1.3.2
-[INFO] │ │ │ └─┬ normalize-path@2.1.1
-[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├── anymatch@1.3.2
[INFO] │ │ ├── async-each@1.0.1
[INFO] │ │ ├─┬ fsevents@1.1.2
[INFO] │ │ │ └─┬ node-pre-gyp@0.6.36
@@ -161,6 +157,7 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ │ │ ├── caseless@0.12.0
[INFO] │ │ │ │ ├─┬ combined-stream@1.0.5
[INFO] │ │ │ │ │ └── delayed-stream@1.0.0
+[WARNING] npm WARN bootstrap@4.0.0-beta.2 requires a peer of jquery@1.9.1 - 3 but none was installed.
[INFO] │ │ │ │ ├── extend@3.0.1
[INFO] │ │ │ │ ├── forever-agent@0.6.1
[INFO] │ │ │ │ ├─┬ form-data@2.1.4
@@ -228,13 +225,11 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ │ ├─┬ debug@2.6.8
[INFO] │ │ │ │ └── ms@2.0.0
[INFO] │ │ │ ├── fstream-ignore@1.0.5
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of jquery@>=1.9.1 but none was installed.
[INFO] │ │ │ ├─┬ once@1.4.0
[INFO] │ │ │ │ └── wrappy@1.0.2
[INFO] │ │ │ ├─┬ readable-stream@2.2.9
[INFO] │ │ │ │ ├── buffer-shims@1.0.0
[INFO] │ │ │ │ ├── core-util-is@1.0.2
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of popper.js@^1.11.0 but none was installed.
[INFO] │ │ │ │ ├── isarray@1.0.0
[INFO] │ │ │ │ ├── process-nextick-args@1.0.7
[INFO] │ │ │ │ ├── string_decoder@1.0.1
@@ -244,8 +239,8 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ ├── inherits@2.0.3
[INFO] │ │ ├─┬ is-binary-path@1.0.1
[INFO] │ │ │ └── binary-extensions@1.10.0
-[INFO] │ │ ├─┬ is-glob@2.0.1
-[INFO] │ │ │ └── is-extglob@1.0.0
+[INFO] │ │ ├── is-glob@2.0.1
+[INFO] │ │ ├── path-is-absolute@1.0.1
[INFO] │ │ └─┬ readdirp@2.1.0
[INFO] │ │ └── set-immediate-shim@1.0.1
[INFO] │ ├── commander@2.11.0
@@ -257,76 +252,155 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ │ └── wrappy@1.0.2
[INFO] │ │ └── once@1.4.0
[INFO] │ ├── lodash@4.17.4
-[INFO] │ ├─┬ output-file-sync@1.1.2
+[INFO] │ ├─┬ output-file-sync@2.0.0
[INFO] │ │ ├── graceful-fs@4.1.11
-[INFO] │ │ └── object-assign@4.1.1
-[INFO] │ ├── path-is-absolute@1.0.1
+[INFO] │ │ └── is-plain-obj@1.1.0
[INFO] │ ├── slash@1.0.0
-[INFO] │ ├── source-map@0.5.7
-[INFO] │ └─┬ v8flags@2.1.1
-[INFO] │ └── user-home@1.1.1
-[INFO] ├─┬ babel-eslint@7.2.3
-[INFO] │ ├─┬ babel-code-frame@6.26.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ └── source-map@0.5.7
+[INFO] ├─┬ babel-eslint@8.0.1
+[INFO] │ ├─┬ babel-code-frame@7.0.0-beta.0
[INFO] │ │ └── js-tokens@3.0.2
-[INFO] │ ├─┬ babel-traverse@6.26.0
-[INFO] │ │ └─┬ invariant@2.2.2
-[INFO] │ │ └── loose-envify@1.3.1
-[INFO] │ ├─┬ babel-types@6.26.0
-[INFO] │ │ └── to-fast-properties@1.0.3
-[INFO] │ └── babylon@6.18.0
+[INFO] │ ├─┬ babel-traverse@7.0.0-beta.0
+[INFO] │ │ ├─┬ babel-helper-function-name@7.0.0-beta.0
+[INFO] │ │ │ ├── babel-helper-get-function-arity@7.0.0-beta.0
+[INFO] │ │ │ └── babel-template@7.0.0-beta.0
+[INFO] │ │ ├── babel-messages@7.0.0-beta.0
+[INFO] │ │ └── globals@10.1.0
+[INFO] │ ├─┬ babel-types@7.0.0-beta.0
+[INFO] │ │ └── to-fast-properties@2.0.0
+[INFO] │ └── babylon@7.0.0-beta.22
+[INFO] ├── babel-plugin-external-helpers@7.0.0-beta.2
[INFO] ├── babel-plugin-transform-es2015-modules-strip@0.1.1
-[INFO] ├─┬ babel-preset-es2015@6.24.1
-[INFO] │ ├── babel-plugin-check-es2015-constants@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@6.26.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@6.24.1
-[INFO] │ │ ├── babel-helper-define-map@6.26.0
-[INFO] │ │ ├── babel-helper-function-name@6.24.1
-[INFO] │ │ ├── babel-helper-optimise-call-expression@6.24.1
-[INFO] │ │ └── babel-helper-replace-supers@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-destructuring@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-for-of@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-function-name@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-modules-amd@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-commonjs@6.26.0
-[INFO] │ │ └── babel-plugin-transform-strict-mode@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@6.24.1
-[INFO] │ │ └── babel-helper-hoist-variables@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-object-super@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@6.24.1
-[INFO] │ │ ├── babel-helper-call-delegate@6.24.1
-[INFO] │ │ └── babel-helper-get-function-arity@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-spread@6.22.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.24.1
-[INFO] │ │ └── babel-helper-regex@6.26.0
-[INFO] │ ├── babel-plugin-transform-es2015-template-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@6.23.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.24.1
-[INFO] │ │ └─┬ regexpu-core@2.0.0
+[INFO] ├─┬ babel-preset-env@2.0.0-beta.2
+[INFO] │ ├── babel-plugin-check-es2015-constants@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-syntax-async-generators@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-object-rest-spread@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
+[INFO] │ ├─┬ babel-plugin-transform-async-generator-functions@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-remap-async-to-generator@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-wrap-function@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-generators@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-async-to-generator@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-functions@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-annotate-as-pure@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-define-map@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-function-name@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-optimise-call-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-replace-supers@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-destructuring@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-for-of@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-function-name@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-literals@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-amd@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-module-transforms@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-commonjs@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-hoist-variables@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-object-super@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-call-delegate@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-get-function-arity@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-regex@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-template-literals@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@7.0.0-beta.2
+[INFO] │ │ └─┬ regexpu-core@4.1.3
[INFO] │ │ ├── regenerate@1.3.3
-[INFO] │ │ ├── regjsgen@0.2.0
-[INFO] │ │ └─┬ regjsparser@0.1.5
-[INFO] │ │ └── jsesc@0.5.0
-[INFO] │ └─┬ babel-plugin-transform-regenerator@6.26.0
-[INFO] │ └── regenerator-transform@0.10.1
+[INFO] │ │ ├── regenerate-unicode-properties@5.1.1
+[INFO] │ │ ├── regjsgen@0.3.0
+[INFO] │ │ ├─┬ regjsparser@0.2.1
+[INFO] │ │ │ └── jsesc@0.5.0
+[INFO] │ │ ├─┬ unicode-match-property-ecmascript@1.0.3
+[INFO] │ │ │ ├── unicode-canonical-property-names-ecmascript@1.0.2
+[INFO] │ │ │ └── unicode-property-aliases-ecmascript@1.0.3
+[INFO] │ │ └── unicode-match-property-value-ecmascript@1.0.1
+[INFO] │ ├─┬ babel-plugin-transform-exponentiation-operator@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-builder-binary-assignment-operator-visitor@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-explode-assignable-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-exponentiation-operator@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-new-target@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-object-rest-spread@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-object-rest-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-optional-catch-binding@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-regenerator@7.0.0-beta.2
+[INFO] │ │ └─┬ regenerator-transform@0.10.0
+[INFO] │ │ ├─┬ babel-types@6.26.0
+[INFO] │ │ │ └── to-fast-properties@1.0.3
+[INFO] │ │ └── private@0.1.8
+[INFO] │ ├─┬ babel-plugin-transform-unicode-property-regex@2.0.5
+[INFO] │ │ └─┬ babel-helper-regex@6.26.0
+[INFO] │ │ └─┬ babel-types@6.26.0
+[INFO] │ │ └── to-fast-properties@1.0.3
+[INFO] │ ├─┬ invariant@2.2.2
+[INFO] │ │ └── loose-envify@1.3.1
+[INFO] │ └── semver@5.4.1
+[INFO] ├─┬ bundlesize@0.15.3
+[INFO] │ ├─┬ axios@0.16.2
+[INFO] │ │ ├─┬ follow-redirects@1.2.5
+[INFO] │ │ │ └── debug@2.6.9
+[INFO] │ │ └── is-buffer@1.1.5
+[INFO] │ ├── bytes@3.0.0
+[INFO] │ ├── ci-env@1.4.0
+[INFO] │ ├─┬ github-build@1.2.0
+[INFO] │ │ └─┬ axios@0.15.3
+[INFO] │ │ └─┬ follow-redirects@1.0.0
+[INFO] │ │ └── debug@2.6.9
+[INFO] │ ├─┬ gzip-size@4.0.0
+[INFO] │ │ ├── duplexer@0.1.1
+[INFO] │ │ └── pify@3.0.0
+[INFO] │ ├─┬ opencollective@1.0.3
+[INFO] │ │ ├─┬ babel-polyfill@6.23.0
+[INFO] │ │ │ └── regenerator-runtime@0.10.5
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── minimist@1.2.0
+[INFO] │ │ ├─┬ node-fetch@1.6.3
+[INFO] │ │ │ └── encoding@0.1.12
+[INFO] │ │ └── opn@4.0.2
+[INFO] │ ├─┬ prettycli@1.4.3
+[INFO] │ │ └── chalk@2.1.0
+[INFO] │ └─┬ read-pkg-up@2.0.0
+[INFO] │ └─┬ find-up@2.1.0
+[INFO] │ └─┬ locate-path@2.0.0
+[INFO] │ ├─┬ p-locate@2.0.0
+[INFO] │ │ └── p-limit@1.1.0
+[INFO] │ └── path-exists@3.0.0
[INFO] ├─┬ clean-css-cli@4.1.10
[INFO] │ └─┬ clean-css@4.1.9
[INFO] │ └── source-map@0.5.7
-[INFO] ├─┬ eslint@4.8.0
+[INFO] ├─┬ cross-env@5.1.0
+[INFO] │ ├─┬ cross-spawn@5.1.0
+[INFO] │ │ ├─┬ lru-cache@4.1.1
+[INFO] │ │ │ ├── pseudomap@1.0.2
+[INFO] │ │ │ └── yallist@2.1.2
+[INFO] │ │ ├─┬ shebang-command@1.2.0
+[INFO] │ │ │ └── shebang-regex@1.0.0
+[INFO] │ │ └── which@1.3.0
+[INFO] │ └── is-windows@1.0.1
+[INFO] ├─┬ eslint@4.9.0
[INFO] │ ├─┬ ajv@5.2.3
[INFO] │ │ ├── co@4.6.0
[INFO] │ │ ├── fast-deep-equal@1.0.0
[INFO] │ │ └── json-schema-traverse@0.3.1
-[INFO] │ ├─┬ chalk@2.1.0
+[INFO] │ ├─┬ babel-code-frame@6.26.0
+[INFO] │ │ └─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ ├─┬ chalk@2.2.0
[INFO] │ │ └── escape-string-regexp@1.0.5
[INFO] │ ├─┬ concat-stream@1.6.0
[INFO] │ │ ├─┬ readable-stream@2.3.3
@@ -335,13 +409,6 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ │ ├── string_decoder@1.0.3
[INFO] │ │ │ └── util-deprecate@1.0.2
[INFO] │ │ └── typedarray@0.0.6
-[INFO] │ ├─┬ cross-spawn@5.1.0
-[INFO] │ │ ├─┬ lru-cache@4.1.1
-[INFO] │ │ │ ├── pseudomap@1.0.2
-[INFO] │ │ │ └── yallist@2.1.2
-[INFO] │ │ ├─┬ shebang-command@1.2.0
-[INFO] │ │ │ └── shebang-regex@1.0.0
-[INFO] │ │ └── which@1.3.0
[INFO] │ ├─┬ debug@3.1.0
[INFO] │ │ └── ms@2.0.0
[INFO] │ ├─┬ doctrine@2.0.0
@@ -356,39 +423,39 @@ Build date: 2017-10-12 17:58:25
[INFO] │ ├── estraverse@4.2.0
[INFO] │ ├── esutils@2.0.2
[INFO] │ ├─┬ file-entry-cache@2.0.0
-[INFO] │ │ └─┬ flat-cache@1.3.0
-[INFO] │ │ ├── circular-json@0.3.3
-[INFO] │ │ ├─┬ del@2.2.2
-[INFO] │ │ │ ├─┬ globby@5.0.0
-[INFO] │ │ │ │ └── arrify@1.0.1
-[INFO] │ │ │ ├── is-path-cwd@1.0.0
-[INFO] │ │ │ └── is-path-in-cwd@1.0.0
-[INFO] │ │ └── write@0.2.1
+[INFO] │ │ ├─┬ flat-cache@1.3.0
+[INFO] │ │ │ ├── circular-json@0.3.3
+[INFO] │ │ │ ├─┬ del@2.2.2
+[INFO] │ │ │ │ ├─┬ globby@5.0.0
+[INFO] │ │ │ │ │ └── arrify@1.0.1
+[INFO] │ │ │ │ ├── is-path-cwd@1.0.0
+[INFO] │ │ │ │ └── is-path-in-cwd@1.0.0
+[INFO] │ │ │ └── write@0.2.1
+[INFO] │ │ └── object-assign@4.1.1
[INFO] │ ├── functional-red-black-tree@1.0.1
[INFO] │ ├── globals@9.18.0
[INFO] │ ├── ignore@3.3.5
[INFO] │ ├── imurmurhash@0.1.4
-[INFO] │ ├─┬ inquirer@3.3.0
-[INFO] │ │ ├── ansi-escapes@3.0.0
+[INFO] │ ├─┬ inquirer@3.0.6
+[INFO] │ │ ├── ansi-escapes@1.4.0
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
[INFO] │ │ ├─┬ cli-cursor@2.1.0
[INFO] │ │ │ └─┬ restore-cursor@2.0.0
[INFO] │ │ │ └── onetime@2.0.1
[INFO] │ │ ├── cli-width@2.2.0
[INFO] │ │ ├─┬ external-editor@2.0.5
+[INFO] │ │ │ ├── iconv-lite@0.4.19
[INFO] │ │ │ ├── jschardet@1.5.1
[INFO] │ │ │ └── tmp@0.0.33
[INFO] │ │ ├── figures@2.0.0
[INFO] │ │ ├── mute-stream@0.0.7
[INFO] │ │ ├─┬ run-async@2.3.0
[INFO] │ │ │ └── is-promise@2.1.0
-[INFO] │ │ ├── rx-lite@4.0.8
-[INFO] │ │ ├── rx-lite-aggregates@4.0.8
-[INFO] │ │ ├─┬ string-width@2.1.1
-[INFO] │ │ │ ├── is-fullwidth-code-point@2.0.0
-[INFO] │ │ │ └─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
-[INFO] │ │ ├─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
+[INFO] │ │ ├── rx@4.1.0
+[INFO] │ │ ├─┬ strip-ansi@3.0.1
+[INFO] │ │ │ └── ansi-regex@2.1.1
[INFO] │ │ └── through@2.3.8
[INFO] │ ├─┬ is-resolvable@1.0.0
[INFO] │ │ └── tryit@1.0.3
@@ -403,7 +470,6 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ └── type-check@0.3.2
[INFO] │ ├─┬ minimatch@3.0.4
[INFO] │ │ └─┬ brace-expansion@1.1.8
-[INFO] │ │ ├── balanced-match@1.0.0
[INFO] │ │ └── concat-map@0.0.1
[INFO] │ ├─┬ mkdirp@0.5.1
[INFO] │ │ └── minimist@0.0.8
@@ -419,7 +485,6 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ ├─┬ caller-path@0.1.0
[INFO] │ │ │ └── callsites@0.2.0
[INFO] │ │ └── resolve-from@1.0.1
-[INFO] │ ├── semver@5.4.1
[INFO] │ ├─┬ strip-ansi@4.0.0
[INFO] │ │ └── ansi-regex@3.0.0
[INFO] │ ├── strip-json-comments@2.0.1
@@ -427,63 +492,15 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ ├── ajv-keywords@2.1.0
[INFO] │ │ └── slice-ansi@1.0.0
[INFO] │ └── text-table@0.2.0
-[INFO] ├─┬ grunt@1.0.1
-[INFO] │ ├── coffee-script@1.10.0
-[INFO] │ ├── dateformat@1.0.12
-[INFO] │ ├── eventemitter2@0.4.14
-[INFO] │ ├── exit@0.1.2
-[INFO] │ ├─┬ findup-sync@0.3.0
-[INFO] │ │ └── glob@5.0.15
-[INFO] │ ├── glob@7.0.6
-[INFO] │ ├── grunt-known-options@1.1.0
-[INFO] │ ├─┬ grunt-legacy-log@1.0.0
-[INFO] │ │ ├─┬ grunt-legacy-log-utils@1.0.0
-[INFO] │ │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ │ └── supports-color@2.0.0
-[INFO] │ │ │ └── lodash@4.3.0
-[INFO] │ │ ├── hooker@0.2.3
-[INFO] │ │ ├── lodash@3.10.1
-[INFO] │ │ └── underscore.string@3.2.3
-[INFO] │ ├─┬ grunt-legacy-util@1.0.0
-[INFO] │ │ ├── async@1.5.2
-[INFO] │ │ ├── getobject@0.1.0
-[INFO] │ │ ├── lodash@4.3.0
-[INFO] │ │ └── which@1.2.14
-[INFO] │ ├── iconv-lite@0.4.19
-[INFO] │ ├─┬ js-yaml@3.5.5
-[INFO] │ │ └── esprima@2.7.3
-[INFO] │ ├─┬ nopt@3.0.6
-[INFO] │ │ └── abbrev@1.1.1
-[INFO] │ └── rimraf@2.2.8
-[INFO] ├─┬ grunt-cli@1.2.0
-[INFO] │ └── resolve@1.1.7
-[INFO] ├─┬ grunt-saucelabs@9.0.0
-[INFO] │ ├── colors@1.1.2
-[INFO] │ ├── lodash@4.13.1
-[INFO] │ ├── q@1.4.1
-[INFO] │ ├─┬ requestretry@1.9.1
-[INFO] │ │ ├── extend@3.0.1
-[INFO] │ │ ├─┬ fg-lodash@0.0.2
-[INFO] │ │ │ ├── lodash@2.4.2
-[INFO] │ │ │ └── underscore.string@2.3.3
-[INFO] │ │ └── when@3.7.8
-[INFO] │ ├─┬ sauce-tunnel@2.5.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
-[INFO] │ │ └── split@1.0.1
-[INFO] │ └─┬ saucelabs@1.2.0
-[INFO] │ └─┬ https-proxy-agent@1.0.0
-[INFO] │ └─┬ agent-base@2.1.1
-[INFO] │ └── semver@5.0.3
+[INFO] ├─┬ eslint-plugin-compat@2.0.1
+[INFO] │ ├── babel-runtime@6.26.0
+[INFO] │ ├── caniuse-db@1.0.30000748
+[INFO] │ └── requireindex@1.1.0
[INFO] ├─┬ htmllint-cli@0.0.6
[INFO] │ ├── bluebird@3.5.1
[INFO] │ ├─┬ chalk@1.1.3
[INFO] │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ ├─┬ has-ansi@2.0.0
-[INFO] │ │ │ └── ansi-regex@2.1.1
-[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ ├── has-ansi@2.0.0
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ cjson@0.5.0
[INFO] │ │ └─┬ json-parse-helpfulerror@1.0.3
@@ -498,7 +515,7 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ │ └── domelementtype@1.1.3
[INFO] │ │ └── entities@1.1.1
[INFO] │ ├─┬ liftoff@2.3.0
-[INFO] │ │ ├── findup-sync@0.4.3
+[INFO] │ │ ├── extend@3.0.1
[INFO] │ │ ├─┬ fined@1.1.0
[INFO] │ │ │ ├─┬ expand-tilde@2.0.2
[INFO] │ │ │ │ └─┬ homedir-polyfill@1.0.1
@@ -508,16 +525,16 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ │ ├─┬ object.defaults@1.1.0
[INFO] │ │ │ │ ├── array-each@1.0.1
[INFO] │ │ │ │ ├── array-slice@1.0.0
-[INFO] │ │ │ │ ├─┬ for-own@1.0.0
-[INFO] │ │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ │ ├── for-own@1.0.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ ├─┬ object.pick@1.3.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ └─┬ parse-filepath@1.0.1
[INFO] │ │ │ ├─┬ is-absolute@0.2.6
-[INFO] │ │ │ │ └─┬ is-relative@0.2.1
-[INFO] │ │ │ │ └─┬ is-unc-path@0.1.2
-[INFO] │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ ├─┬ is-relative@0.2.1
+[INFO] │ │ │ │ │ └─┬ is-unc-path@0.1.2
+[INFO] │ │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ └── is-windows@0.2.0
[INFO] │ │ │ ├── map-cache@0.2.2
[INFO] │ │ │ └─┬ path-root@0.1.1
[INFO] │ │ │ └── path-root-regex@0.1.2
@@ -557,9 +574,15 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ └── number-is-nan@1.0.1
[INFO] │ ├── which-module@1.0.0
[INFO] │ ├── y18n@3.2.1
-[INFO] │ └─┬ yargs-parser@4.2.1
-[INFO] │ └── camelcase@3.0.0
-[INFO] ├── UNMET PEER DEPENDENCY jquery@>=1.9.1
+[INFO] │ └── yargs-parser@4.2.1
+[INFO] ├── UNMET PEER DEPENDENCY jquery@1.9.1 - 3
+[INFO] ├─┬ jsunitsaucelabs@1.3.0
+[INFO] │ ├── colors@1.1.2
+[INFO] │ └─┬ sauce-tunnel@2.5.0
+[INFO] │ ├─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ └── split@1.0.1
[INFO] ├─┬ node-sass@4.5.3
[INFO] │ ├── async-foreach@0.1.3
[INFO] │ ├─┬ chalk@1.1.3
@@ -584,20 +607,32 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ ├── minimist@1.2.0
[INFO] │ │ ├─┬ normalize-package-data@2.4.0
[INFO] │ │ │ ├── hosted-git-info@2.5.0
-[INFO] │ │ │ ├─┬ is-builtin-module@1.0.0
-[INFO] │ │ │ │ └── builtin-modules@1.1.1
+[INFO] │ │ │ ├── is-builtin-module@1.0.0
[INFO] │ │ │ └─┬ validate-npm-package-license@3.0.1
[INFO] │ │ │ ├─┬ spdx-correct@1.0.2
[INFO] │ │ │ │ └── spdx-license-ids@1.2.2
[INFO] │ │ │ └── spdx-expression-parse@1.0.4
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ redent@1.0.0
-[INFO] │ │ │ ├── indent-string@2.1.0
+[INFO] │ │ │ ├─┬ indent-string@2.1.0
+[INFO] │ │ │ │ └─┬ repeating@2.0.1
+[INFO] │ │ │ │ └── is-finite@1.0.2
[INFO] │ │ │ └── strip-indent@1.0.1
[INFO] │ │ └── trim-newlines@1.0.0
[INFO] │ ├── nan@2.7.0
[INFO] │ ├─┬ node-gyp@3.6.2
[INFO] │ │ ├── fstream@1.0.11
-[INFO] │ │ ├── osenv@0.1.4
+[INFO] │ │ ├─┬ nopt@3.0.6
+[INFO] │ │ │ └── abbrev@1.1.1
+[INFO] │ │ ├─┬ osenv@0.1.4
+[INFO] │ │ │ ├── os-homedir@1.0.2
+[INFO] │ │ │ └── os-tmpdir@1.0.2
[INFO] │ │ ├── rimraf@2.6.2
[INFO] │ │ ├── semver@5.3.0
[INFO] │ │ └─┬ tar@2.2.1
@@ -665,7 +700,13 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ │ └─┬ source-map@0.4.4
[INFO] │ │ │ └── amdefine@1.0.1
[INFO] │ │ └─┬ yargs@7.1.0
-[INFO] │ │ ├── camelcase@3.0.0
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ string-width@1.0.2
[INFO] │ │ │ └── is-fullwidth-code-point@1.0.0
[INFO] │ │ └── yargs-parser@5.0.0
@@ -688,7 +729,6 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ └── lodash.restparam@3.6.1
[INFO] │ ├─┬ ps-tree@1.1.0
[INFO] │ │ └─┬ event-stream@3.3.4
-[INFO] │ │ ├── duplexer@0.1.1
[INFO] │ │ ├── from@0.1.7
[INFO] │ │ ├── map-stream@0.1.0
[INFO] │ │ ├── pause-stream@0.0.11
@@ -698,7 +738,7 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ └── nopt@1.0.10
[INFO] │ ├── undefsafe@0.0.3
[INFO] │ └─┬ update-notifier@2.3.0
-[INFO] │ ├─┬ boxen@1.2.1
+[INFO] │ ├─┬ boxen@1.2.2
[INFO] │ │ ├── ansi-align@2.0.0
[INFO] │ │ ├── camelcase@4.1.0
[INFO] │ │ ├── cli-boxes@1.0.0
@@ -709,7 +749,6 @@ Build date: 2017-10-12 17:58:25
[INFO] │ ├─┬ configstore@3.1.1
[INFO] │ │ ├─┬ dot-prop@4.2.0
[INFO] │ │ │ └── is-obj@1.0.1
-[INFO] │ │ ├── make-dir@1.0.0
[INFO] │ │ ├─┬ unique-string@1.0.0
[INFO] │ │ │ └── crypto-random-string@1.0.0
[INFO] │ │ └── write-file-atomic@2.3.0
@@ -733,7 +772,7 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ │ └─┬ url-parse-lax@1.0.0
[INFO] │ │ │ └── prepend-http@1.0.4
[INFO] │ │ ├─┬ registry-auth-token@3.3.1
-[INFO] │ │ │ └─┬ rc@1.2.1
+[INFO] │ │ │ └─┬ rc@1.2.2
[INFO] │ │ │ ├── deep-extend@0.4.2
[INFO] │ │ │ └── minimist@1.2.0
[INFO] │ │ └── registry-url@3.1.0
@@ -749,9 +788,7 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ └── string_decoder@0.10.31
[INFO] │ ├─┬ read-pkg@2.0.0
[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ ├─┬ parse-json@2.2.0
-[INFO] │ │ │ │ └─┬ error-ex@1.3.1
-[INFO] │ │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ │ ├── parse-json@2.2.0
[INFO] │ │ │ └── strip-bom@3.0.0
[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├─┬ shell-quote@1.6.1
@@ -807,7 +844,7 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ └── throttleit@1.0.0
[INFO] │ └─┬ which@1.2.14
[INFO] │ └── isexe@2.0.0
-[INFO] ├── UNMET PEER DEPENDENCY popper.js@^1.11.0
+[INFO] ├── popper.js@1.12.5
[INFO] ├─┬ postcss-cli@4.1.1
[INFO] │ ├── dependency-graph@0.5.1
[INFO] │ ├─┬ fs-extra@4.0.2
@@ -829,7 +866,6 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ postcss-load-config@1.2.0
[INFO] │ │ ├─┬ cosmiconfig@2.2.2
-[INFO] │ │ │ ├── is-directory@0.3.1
[INFO] │ │ │ ├── minimist@1.2.0
[INFO] │ │ │ └── require-from-string@1.2.1
[INFO] │ │ ├── postcss-load-options@1.2.0
@@ -849,16 +885,6 @@ Build date: 2017-10-12 17:58:25
[INFO] │ │ │ └── strip-eof@1.0.0
[INFO] │ │ └─┬ mem@1.1.0
[INFO] │ │ └── mimic-fn@1.1.0
-[INFO] │ ├─┬ read-pkg-up@2.0.0
-[INFO] │ │ ├─┬ find-up@2.1.0
-[INFO] │ │ │ └─┬ locate-path@2.0.0
-[INFO] │ │ │ ├─┬ p-locate@2.0.0
-[INFO] │ │ │ │ └── p-limit@1.1.0
-[INFO] │ │ │ └── path-exists@3.0.0
-[INFO] │ │ └─┬ read-pkg@2.0.0
-[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ └── strip-bom@3.0.0
-[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├── which-module@2.0.0
[INFO] │ └── yargs-parser@7.0.0
[INFO] ├─┬ qunit-phantomjs-runner@2.3.0
@@ -871,41 +897,11 @@ Build date: 2017-10-12 17:58:25
[INFO] │ ├─┬ findup-sync@0.4.3
[INFO] │ │ ├─┬ detect-file@0.1.0
[INFO] │ │ │ └── fs-exists-sync@0.1.0
-[INFO] │ │ ├─┬ micromatch@2.3.11
-[INFO] │ │ │ ├─┬ arr-diff@2.0.0
-[INFO] │ │ │ │ └── arr-flatten@1.1.0
-[INFO] │ │ │ ├── array-unique@0.2.1
-[INFO] │ │ │ ├─┬ braces@1.8.5
-[INFO] │ │ │ │ ├─┬ expand-range@1.8.2
-[INFO] │ │ │ │ │ └─┬ fill-range@2.2.3
-[INFO] │ │ │ │ │ ├── is-number@2.1.0
-[INFO] │ │ │ │ │ ├── isobject@2.1.0
-[INFO] │ │ │ │ │ ├─┬ randomatic@1.1.7
-[INFO] │ │ │ │ │ │ ├─┬ is-number@3.0.0
-[INFO] │ │ │ │ │ │ │ └── kind-of@3.2.2
-[INFO] │ │ │ │ │ │ └── kind-of@4.0.0
-[INFO] │ │ │ │ │ └── repeat-string@1.6.1
-[INFO] │ │ │ │ ├── preserve@0.2.0
-[INFO] │ │ │ │ └── repeat-element@1.1.2
-[INFO] │ │ │ ├─┬ expand-brackets@0.1.5
-[INFO] │ │ │ │ └── is-posix-bracket@0.1.1
-[INFO] │ │ │ ├── extglob@0.3.2
-[INFO] │ │ │ ├── filename-regex@2.0.1
-[INFO] │ │ │ ├─┬ kind-of@3.2.2
-[INFO] │ │ │ │ └── is-buffer@1.1.5
-[INFO] │ │ │ ├─┬ object.omit@2.0.1
-[INFO] │ │ │ │ ├── for-own@0.1.5
-[INFO] │ │ │ │ └── is-extendable@0.1.1
-[INFO] │ │ │ ├─┬ parse-glob@3.0.4
-[INFO] │ │ │ │ ├── glob-base@0.3.0
-[INFO] │ │ │ │ └── is-dotfile@1.0.3
-[INFO] │ │ │ └─┬ regex-cache@0.4.4
-[INFO] │ │ │ └─┬ is-equal-shallow@0.1.3
-[INFO] │ │ │ └── is-primitive@2.0.0
[INFO] │ │ └─┬ resolve-dir@0.1.1
[INFO] │ │ ├── expand-tilde@1.2.2
[INFO] │ │ └─┬ global-modules@0.2.3
-[INFO] │ │ ├── global-prefix@0.1.5
+[INFO] │ │ ├─┬ global-prefix@0.1.5
+[INFO] │ │ │ └── is-windows@0.2.0
[INFO] │ │ └── is-windows@0.2.0
[INFO] │ ├── js-reporters@1.2.0
[INFO] │ ├─┬ resolve@1.3.2
@@ -913,20 +909,128 @@ Build date: 2017-10-12 17:58:25
[INFO] │ └─┬ walk-sync@0.3.1
[INFO] │ ├── ensure-posix-path@1.0.2
[INFO] │ └── matcher-collection@1.0.5
+[INFO] ├── rollup@0.50.0
+[INFO] ├─┬ rollup-plugin-babel@3.0.2
+[INFO] │ └─┬ rollup-pluginutils@1.5.2
+[INFO] │ └── estree-walker@0.2.1
+[INFO] ├─┬ rollup-plugin-node-resolve@3.0.0
+[INFO] │ ├─┬ browser-resolve@1.11.2
+[INFO] │ │ └── resolve@1.1.7
+[INFO] │ ├── builtin-modules@1.1.1
+[INFO] │ ├── is-module@1.0.0
+[INFO] │ └── resolve@1.4.0
[INFO] ├─┬ shelljs@0.7.8
[INFO] │ ├── interpret@1.0.4
[INFO] │ └── rechoir@0.6.2
[INFO] ├─┬ shx@0.2.2
[INFO] │ ├── es6-object-assign@1.1.0
[INFO] │ └── minimist@1.2.0
-[INFO] └─┬ uglify-js@3.1.3
-[INFO] └── source-map@0.5.7
+[INFO] ├─┬ stylelint@8.2.0
+[INFO] │ ├── balanced-match@1.0.0
+[INFO] │ ├─┬ cosmiconfig@3.1.0
+[INFO] │ │ ├── is-directory@0.3.1
+[INFO] │ │ ├─┬ parse-json@3.0.0
+[INFO] │ │ │ └─┬ error-ex@1.3.1
+[INFO] │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ └── require-from-string@2.0.1
+[INFO] │ ├─┬ execall@1.0.0
+[INFO] │ │ └─┬ clone-regexp@1.0.0
+[INFO] │ │ ├── is-regexp@1.0.0
+[INFO] │ │ └── is-supported-regexp-flag@1.0.0
+[INFO] │ ├── get-stdin@5.0.1
+[INFO] │ ├─┬ globby@6.1.0
+[INFO] │ │ └── pify@2.3.0
+[INFO] │ ├── globjoin@0.1.4
+[INFO] │ ├── html-tags@2.0.0
+[INFO] │ ├── known-css-properties@0.4.1
+[INFO] │ ├── log-symbols@2.1.0
+[INFO] │ ├── mathml-tag-names@2.0.1
+[INFO] │ ├─┬ micromatch@2.3.11
+[INFO] │ │ ├─┬ arr-diff@2.0.0
+[INFO] │ │ │ └── arr-flatten@1.1.0
+[INFO] │ │ ├── array-unique@0.2.1
+[INFO] │ │ ├─┬ braces@1.8.5
+[INFO] │ │ │ ├─┬ expand-range@1.8.2
+[INFO] │ │ │ │ └─┬ fill-range@2.2.3
+[INFO] │ │ │ │ ├── is-number@2.1.0
+[INFO] │ │ │ │ ├── isobject@2.1.0
+[INFO] │ │ │ │ ├─┬ randomatic@1.1.7
+[INFO] │ │ │ │ │ ├─┬ is-number@3.0.0
+[INFO] │ │ │ │ │ │ └── kind-of@3.2.2
+[INFO] │ │ │ │ │ └── kind-of@4.0.0
+[INFO] │ │ │ │ └── repeat-string@1.6.1
+[INFO] │ │ │ ├── preserve@0.2.0
+[INFO] │ │ │ └── repeat-element@1.1.2
+[INFO] │ │ ├─┬ expand-brackets@0.1.5
+[INFO] │ │ │ └── is-posix-bracket@0.1.1
+[INFO] │ │ ├── extglob@0.3.2
+[INFO] │ │ ├── filename-regex@2.0.1
+[INFO] │ │ ├── is-extglob@1.0.0
+[INFO] │ │ ├── kind-of@3.2.2
+[INFO] │ │ ├─┬ normalize-path@2.1.1
+[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├─┬ object.omit@2.0.1
+[INFO] │ │ │ ├─┬ for-own@0.1.5
+[INFO] │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ └── is-extendable@0.1.1
+[INFO] │ │ ├─┬ parse-glob@3.0.4
+[INFO] │ │ │ ├── glob-base@0.3.0
+[INFO] │ │ │ └── is-dotfile@1.0.3
+[INFO] │ │ └─┬ regex-cache@0.4.4
+[INFO] │ │ └─┬ is-equal-shallow@0.1.3
+[INFO] │ │ └── is-primitive@2.0.0
+[INFO] │ ├── normalize-selector@0.2.0
+[INFO] │ ├── pify@3.0.0
+[INFO] │ ├─┬ postcss-less@1.1.1
+[INFO] │ │ └─┬ postcss@5.2.18
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── source-map@0.5.7
+[INFO] │ │ └─┬ supports-color@3.2.3
+[INFO] │ │ └── has-flag@1.0.0
+[INFO] │ ├── postcss-media-query-parser@0.2.3
+[INFO] │ ├── postcss-resolve-nested-selector@0.1.1
+[INFO] │ ├── postcss-safe-parser@3.0.1
+[INFO] │ ├── postcss-scss@1.0.2
+[INFO] │ ├─┬ postcss-selector-parser@2.2.3
+[INFO] │ │ ├── flatten@1.0.2
+[INFO] │ │ ├── indexes-of@1.0.1
+[INFO] │ │ └── uniq@1.0.1
+[INFO] │ ├── resolve-from@4.0.0
+[INFO] │ ├── specificity@0.3.2
+[INFO] │ ├─┬ string-width@2.1.1
+[INFO] │ │ ├── is-fullwidth-code-point@2.0.0
+[INFO] │ │ └─┬ strip-ansi@4.0.0
+[INFO] │ │ └── ansi-regex@3.0.0
+[INFO] │ ├── style-search@0.1.0
+[INFO] │ ├── sugarss@1.0.0
+[INFO] │ └── svg-tags@1.0.0
+[INFO] ├─┬ stylelint-config-recommended-scss@2.0.0
+[INFO] │ └── stylelint-config-recommended@1.0.0
+[INFO] ├── stylelint-config-standard@17.0.0
+[INFO] ├─┬ stylelint-order@0.7.0
+[INFO] │ └── postcss-sorting@3.0.2
+[INFO] ├── stylelint-scss@2.1.0
+[INFO] ├─┬ uglify-js@3.1.4
+[INFO] │ └── source-map@0.6.1
+[INFO] ├── vnu-jar@17.11.1
+[INFO] └─┬ workbox-build@2.1.0
+[INFO] ├─┬ chalk@1.1.3
+[INFO] │ ├── ansi-styles@2.2.1
+[INFO] │ └── supports-color@2.0.0
+[INFO] ├─┬ fs-extra@3.0.1
+[INFO] │ └── jsonfile@3.0.1
+[INFO] ├─┬ lodash.template@4.4.0
+[INFO] │ ├── lodash._reinterpolate@3.0.0
+[INFO] │ └── lodash.templatesettings@4.1.0
+[INFO] └── workbox-sw@2.1.0
[INFO]
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #8: npm run css-compile) @ tobago-theme-charlotteville ---
[INFO] Running 'npm run css-compile' in __CURRENT__/tobago-theme-charlotteville/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-compile __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-compile __CURRENT__/tobago-theme-charlotteville/target/bootstrap
[INFO] > 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
[INFO]
[ERROR] Rendering Complete, saving .css file...
@@ -936,56 +1040,101 @@ Build date: 2017-10-12 17:58:25
[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-charlotteville/target/bootstrap/dist/css/bootstrap-grid.css.map
[ERROR] Wrote CSS to __CURRENT__/tobago-theme-charlotteville/target/bootstrap/dist/css/bootstrap-grid.css
[ERROR] Rendering Complete, saving .css file...
-[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-charlotteville/target/bootstrap/dist/css/bootstrap-reboot.css.map
[ERROR] Wrote CSS to __CURRENT__/tobago-theme-charlotteville/target/bootstrap/dist/css/bootstrap-reboot.css
+[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-charlotteville/target/bootstrap/dist/css/bootstrap-reboot.css.map
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #9: npm run css-prefix) @ tobago-theme-charlotteville ---
[INFO] Running 'npm run css-prefix' in __CURRENT__/tobago-theme-charlotteville/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-prefix __CURRENT__/tobago-theme-charlotteville/target/bootstrap
-[INFO] > postcss --config build/postcss.config.js --replace dist/css/*.css
+[INFO] > bootstrap@4.0.0-beta.2 css-prefix __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > postcss --config build/postcss.config.js --replace "dist/css/*.css"
[INFO]
-[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.21 s)
-[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.22 s)
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.22 s)
-[ERROR] ✔ Finished dist/css/bootstrap.css (1.22 s)
-[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.22 s)
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.22 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.07 s)
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #10: npm run css-minify) @ tobago-theme-charlotteville ---
[INFO] Running 'npm run css-minify' in __CURRENT__/tobago-theme-charlotteville/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-minify __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-minify __CURRENT__/tobago-theme-charlotteville/target/bootstrap
[INFO] > 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
[INFO]
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #11: npm run js) @ tobago-theme-charlotteville ---
[INFO] Running 'npm run js' in __CURRENT__/tobago-theme-charlotteville/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta js __CURRENT__/tobago-theme-charlotteville/target/bootstrap
-[INFO] > npm-run-all js-lint js-compile js-minify
+[INFO] > bootstrap@4.0.0-beta.2 js __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > npm-run-all js-lint* js-compile* js-minify*
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-lint __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-lint __CURRENT__/tobago-theme-charlotteville/target/bootstrap
-[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/ Gruntfile.js
+[INFO] > bootstrap@4.0.0-beta.2 js-lint-docs __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > eslint --config js/tests/.eslintrc.json assets/js/ docs/ sw.js
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 js-compile __CURRENT__/tobago-theme-charlotteville/target/bootstrap
[INFO] > npm-run-all --parallel js-compile-*
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-plugins __CURRENT__/tobago-theme-charlotteville/target/bootstrap
-[INFO] > babel js/src/ --out-dir js/dist/ --source-maps
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-charlotteville/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-charlotteville/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[INFO] js/src/alert.js -> js/dist/alert.js
+[INFO] js/src/button.js -> js/dist/button.js
+[INFO] js/src/carousel.js -> js/dist/carousel.js
+[INFO] js/src/collapse.js -> js/dist/collapse.js
+[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
+[INFO] js/src/modal.js -> js/dist/modal.js
+[INFO] js/src/popover.js -> js/dist/popover.js
+[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
+[INFO] js/src/tab.js -> js/dist/tab.js
+[INFO] js/src/tooltip.js -> js/dist/tooltip.js
+[INFO] js/src/util.js -> js/dist/util.js
+[ERROR] created dist/js/bootstrap.js in 2.5s
+[ERROR] created dist/js/bootstrap.bundle.js in 2.8s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-charlotteville/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[ERROR] created dist/js/bootstrap.js in 1.5s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-charlotteville/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[ERROR] created dist/js/bootstrap.bundle.js in 1.9s
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-bundle __CURRENT__/tobago-theme-charlotteville/target/bootstrap
-[INFO] > shx cat js/src/util.js js/src/alert.js js/src/button.js js/src/carousel.js js/src/collapse.js js/src/dropdown.js js/src/modal.js js/src/scrollspy.js js/src/tab.js js/src/tooltip.js js/src/popover.js | shx sed "s/^(import|export).*//" | babel --filename js/src/bootstrap.js | node build/stamp.js > dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
[INFO]
[INFO] js/src/alert.js -> js/dist/alert.js
[INFO] js/src/button.js -> js/dist/button.js
[INFO] js/src/carousel.js -> js/dist/carousel.js
[INFO] js/src/collapse.js -> js/dist/collapse.js
[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
[INFO] js/src/modal.js -> js/dist/modal.js
[INFO] js/src/popover.js -> js/dist/popover.js
[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
@@ -993,8 +1142,36 @@ Build date: 2017-10-12 17:58:25
[INFO] js/src/tooltip.js -> js/dist/tooltip.js
[INFO] js/src/util.js -> js/dist/util.js
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-minify __CURRENT__/tobago-theme-charlotteville/target/bootstrap
-[INFO] > uglifyjs --config-file build/uglifyjs.config.json --output dist/js/bootstrap.min.js dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-minify __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > npm-run-all --parallel js-minify-*
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > 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
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-charlotteville/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ tobago-theme-charlotteville ---
@@ -1038,7 +1215,7 @@ main:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 01:41 min
-[INFO] Finished at: 2017-10-12T18:00:08+02:00
-[INFO] Final Memory: 32M/399M
+[INFO] Total time: 03:10 min
+[INFO] Finished at: 2017-10-20T13:33:38+02:00
+[INFO] Final Memory: 29M/393M
[INFO] ------------------------------------------------------------------------
diff --git a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css
index ff4f208..06edb8b 100644
--- a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css
+++ b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css
@@ -1,6 +1,6 @@
@charset "UTF-8";
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
@@ -21,6 +21,37 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+:root {
+ --blue: #007bff;
+ --indigo: #6610f2;
+ --purple: #6f42c1;
+ --pink: #e83e8c;
+ --red: #dc3545;
+ --orange: #fd7e14;
+ --yellow: #ffc107;
+ --green: #28a745;
+ --teal: #20c997;
+ --cyan: #17a2b8;
+ --white: #fff;
+ --gray: #868e96;
+ --gray-dark: #343a40;
+ --primary: #007bff;
+ --secondary: #868e96;
+ --success: #28a745;
+ --info: #17a2b8;
+ --warning: #ffc107;
+ --danger: #dc3545;
+ --light: #f8f9fa;
+ --dark: #343a40;
+ --breakpoint-xs: 0;
+ --breakpoint-sm: 576px;
+ --breakpoint-md: 768px;
+ --breakpoint-lg: 992px;
+ --breakpoint-xl: 1200px;
+ --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+ --font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+}
+
@media print {
*,
*::before,
@@ -79,8 +110,13 @@
}
}
-html {
+*,
+*::before,
+*::after {
box-sizing: border-box;
+}
+
+html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
@@ -89,12 +125,6 @@ html {
-webkit-tap-highlight-color: transparent;
}
-*,
-*::before,
-*::after {
- box-sizing: inherit;
-}
-
@-ms-viewport {
width: device-width;
}
@@ -105,11 +135,12 @@ article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, s
body {
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 1rem;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
color: #212529;
+ text-align: left;
background-color: #ffeecf;
}
@@ -125,7 +156,7 @@ hr {
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
- margin-bottom: .5rem;
+ margin-bottom: 0.5rem;
}
p {
@@ -163,7 +194,7 @@ ul ol {
}
dt {
- font-weight: bold;
+ font-weight: 700;
}
dd {
@@ -242,6 +273,7 @@ pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
+ -ms-overflow-style: scrollbar;
}
figure {
@@ -261,7 +293,7 @@ a,
area,
button,
[role="button"],
-input,
+input:not([type="range"]),
label,
select,
summary,
@@ -283,7 +315,7 @@ caption {
}
th {
- text-align: left;
+ text-align: inherit;
}
label {
@@ -291,6 +323,10 @@ label {
margin-bottom: .5rem;
}
+button {
+ border-radius: 0;
+}
+
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
@@ -414,7 +450,7 @@ h1, h2, h3, h4, h5, h6,
margin-bottom: 0.5rem;
font-family: inherit;
font-weight: 500;
- line-height: 1.1;
+ line-height: 1.2;
color: inherit;
}
@@ -450,25 +486,25 @@ h6, .h6 {
.display-1 {
font-size: 6rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-2 {
font-size: 5.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-3 {
font-size: 4.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-4 {
font-size: 3.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
hr {
@@ -481,7 +517,7 @@ hr {
small,
.small {
font-size: 80%;
- font-weight: normal;
+ font-weight: 400;
}
mark,
@@ -561,7 +597,7 @@ code,
kbd,
pre,
samp {
- font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+ font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
code {
@@ -589,7 +625,7 @@ kbd {
kbd kbd {
padding: 0;
font-size: 100%;
- font-weight: bold;
+ font-weight: 700;
}
pre {
@@ -614,11 +650,11 @@ pre code {
}
.container {
- margin-right: auto;
- margin-left: auto;
+ width: 100%;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
@media (min-width: 576px) {
@@ -647,11 +683,10 @@ pre code {
.container-fluid {
width: 100%;
- margin-right: auto;
- margin-left: auto;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
.row {
@@ -774,6 +809,11 @@ pre code {
max-width: 100%;
}
+.order-first {
+ -ms-flex-order: -1;
+ order: -1;
+}
+
.order-1 {
-ms-flex-order: 1;
order: 1;
@@ -834,6 +874,50 @@ pre code {
order: 12;
}
+.offset-1 {
+ margin-left: 8.333333%;
+}
+
+.offset-2 {
+ margin-left: 16.666667%;
+}
+
+.offset-3 {
+ margin-left: 25%;
+}
+
+.offset-4 {
+ margin-left: 33.333333%;
+}
+
+.offset-5 {
+ margin-left: 41.666667%;
+}
+
+.offset-6 {
+ margin-left: 50%;
+}
+
+.offset-7 {
+ margin-left: 58.333333%;
+}
+
+.offset-8 {
+ margin-left: 66.666667%;
+}
+
+.offset-9 {
+ margin-left: 75%;
+}
+
+.offset-10 {
+ margin-left: 83.333333%;
+}
+
+.offset-11 {
+ margin-left: 91.666667%;
+}
+
@media (min-width: 576px) {
.col-sm {
-ms-flex-preferred-size: 0;
@@ -908,6 +992,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-sm-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-sm-1 {
-ms-flex-order: 1;
order: 1;
@@ -956,6 +1044,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-sm-0 {
+ margin-left: 0;
+ }
+ .offset-sm-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-sm-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-sm-3 {
+ margin-left: 25%;
+ }
+ .offset-sm-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-sm-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-sm-6 {
+ margin-left: 50%;
+ }
+ .offset-sm-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-sm-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-sm-9 {
+ margin-left: 75%;
+ }
+ .offset-sm-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-sm-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 768px) {
@@ -1032,6 +1156,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-md-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-md-1 {
-ms-flex-order: 1;
order: 1;
@@ -1080,6 +1208,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-md-0 {
+ margin-left: 0;
+ }
+ .offset-md-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-md-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-md-3 {
+ margin-left: 25%;
+ }
+ .offset-md-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-md-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-md-6 {
+ margin-left: 50%;
+ }
+ .offset-md-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-md-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-md-9 {
+ margin-left: 75%;
+ }
+ .offset-md-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-md-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 992px) {
@@ -1156,6 +1320,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-lg-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-lg-1 {
-ms-flex-order: 1;
order: 1;
@@ -1204,6 +1372,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-lg-0 {
+ margin-left: 0;
+ }
+ .offset-lg-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-lg-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-lg-3 {
+ margin-left: 25%;
+ }
+ .offset-lg-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-lg-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-lg-6 {
+ margin-left: 50%;
+ }
+ .offset-lg-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-lg-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-lg-9 {
+ margin-left: 75%;
+ }
+ .offset-lg-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-lg-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 1200px) {
@@ -1280,6 +1484,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-xl-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-xl-1 {
-ms-flex-order: 1;
order: 1;
@@ -1328,6 +1536,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-xl-0 {
+ margin-left: 0;
+ }
+ .offset-xl-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-xl-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-xl-3 {
+ margin-left: 25%;
+ }
+ .offset-xl-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-xl-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-xl-6 {
+ margin-left: 50%;
+ }
+ .offset-xl-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-xl-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-xl-9 {
+ margin-left: 75%;
+ }
+ .offset-xl-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-xl-11 {
+ margin-left: 91.666667%;
+ }
}
.table {
@@ -1519,62 +1763,116 @@ pre code {
background-color: rgba(0, 0, 0, 0.075);
}
-.thead-inverse th {
+.table .thead-dark th {
color: #fff;
background-color: #212529;
+ border-color: #32383e;
}
-.thead-default th {
+.table .thead-light th {
color: #495057;
background-color: #e9ecef;
+ border-color: #e9ecef;
}
-.table-inverse {
+.table-dark {
color: #fff;
background-color: #212529;
}
-.table-inverse th,
-.table-inverse td,
-.table-inverse thead th {
+.table-dark th,
+.table-dark td,
+.table-dark thead th {
border-color: #32383e;
}
-.table-inverse.table-bordered {
+.table-dark.table-bordered {
border: 0;
}
-.table-inverse.table-striped tbody tr:nth-of-type(odd) {
+.table-dark.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(255, 255, 255, 0.05);
}
-.table-inverse.table-hover tbody tr:hover {
+.table-dark.table-hover tbody tr:hover {
background-color: rgba(255, 255, 255, 0.075);
}
+@media (max-width: 575px) {
+ .table-responsive-sm {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-sm.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 767px) {
+ .table-responsive-md {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-md.table-bordered {
+ border: 0;
+ }
+}
+
@media (max-width: 991px) {
- .table-responsive {
+ .table-responsive-lg {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-lg.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 1199px) {
+ .table-responsive-xl {
display: block;
width: 100%;
overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
- .table-responsive.table-bordered {
+ .table-responsive-xl.table-bordered {
border: 0;
}
}
+.table-responsive {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+}
+
+.table-responsive.table-bordered {
+ border: 0;
+}
+
.form-control {
display: block;
width: 100%;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
background-color: #fff;
background-image: none;
background-clip: padding-box;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
@@ -1589,6 +1887,7 @@ pre code {
background-color: #fff;
border-color: #80bdff;
outline: none;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-control::-webkit-input-placeholder {
@@ -1631,35 +1930,39 @@ select.form-control:focus::-ms-value {
}
.col-form-label {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem + 1px);
+ padding-bottom: calc(0.375rem + 1px);
margin-bottom: 0;
+ line-height: 1.5;
}
.col-form-label-lg {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.5rem + 1px);
+ padding-bottom: calc(0.5rem + 1px);
font-size: 1.25rem;
+ line-height: 1.5;
}
.col-form-label-sm {
- padding-top: calc(0.25rem - 1px * 2);
- padding-bottom: calc(0.25rem - 1px * 2);
+ padding-top: calc(0.25rem + 1px);
+ padding-bottom: calc(0.25rem + 1px);
font-size: 0.875rem;
+ line-height: 1.5;
}
.col-form-legend {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
font-size: 1rem;
}
.form-control-plaintext {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
- line-height: 1.25;
+ line-height: 1.5;
+ background-color: transparent;
border: solid transparent;
border-width: 1px 0;
}
@@ -1700,7 +2003,7 @@ select.form-control-sm:not([size]):not([multiple]), .input-group-sm > select.for
select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.form-control:not([size]):not([multiple]),
.input-group-lg > select.input-group-addon:not([size]):not([multiple]),
.input-group-lg > .input-group-btn > select.btn:not([size]):not([multiple]) {
- height: calc(2.3125rem + 2px);
+ height: calc(2.875rem + 2px);
}
.form-group {
@@ -1748,30 +2051,23 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
margin-left: -1.25rem;
}
-.form-check-input:only-child {
- position: static;
-}
-
.form-check-inline {
display: inline-block;
+ margin-right: 0.75rem;
}
.form-check-inline .form-check-label {
vertical-align: middle;
}
-.form-check-inline + .form-check-inline {
- margin-left: 0.75rem;
-}
-
-.invalid-feedback {
+.valid-feedback {
display: none;
margin-top: .25rem;
font-size: .875rem;
- color: #dc3545;
+ color: #28a745;
}
-.invalid-tooltip {
+.valid-tooltip {
position: absolute;
top: 100%;
z-index: 5;
@@ -1782,7 +2078,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
font-size: .875rem;
line-height: 1;
color: #fff;
- background-color: rgba(220, 53, 69, 0.8);
+ background-color: rgba(40, 167, 69, 0.8);
border-radius: .2rem;
}
@@ -1798,14 +2094,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
-.was-validated .form-control:valid ~ .invalid-feedback,
-.was-validated .form-control:valid ~ .invalid-tooltip, .form-control.is-valid ~ .invalid-feedback,
-.form-control.is-valid ~ .invalid-tooltip, .was-validated
-.custom-select:valid ~ .invalid-feedback,
+.was-validated .form-control:valid ~ .valid-feedback,
+.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback,
+.form-control.is-valid ~ .valid-tooltip, .was-validated
+.custom-select:valid ~ .valid-feedback,
.was-validated
-.custom-select:valid ~ .invalid-tooltip,
-.custom-select.is-valid ~ .invalid-feedback,
-.custom-select.is-valid ~ .invalid-tooltip {
+.custom-select:valid ~ .valid-tooltip,
+.custom-select.is-valid ~ .valid-feedback,
+.custom-select.is-valid ~ .valid-tooltip {
display: block;
}
@@ -1833,6 +2129,28 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
+.invalid-feedback {
+ display: none;
+ margin-top: .25rem;
+ font-size: .875rem;
+ color: #dc3545;
+}
+
+.invalid-tooltip {
+ position: absolute;
+ top: 100%;
+ z-index: 5;
+ display: none;
+ width: 250px;
+ padding: .5rem;
+ margin-top: .1rem;
+ font-size: .875rem;
+ line-height: 1;
+ color: #fff;
+ background-color: rgba(220, 53, 69, 0.8);
+ border-radius: .2rem;
+}
+
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated
.custom-select:invalid,
.custom-select.is-invalid {
@@ -1925,10 +2243,6 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.form-inline .input-group {
width: auto;
}
- .form-inline .form-control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
.form-inline .form-check {
display: -ms-flexbox;
display: flex;
@@ -1971,7 +2285,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn {
display: inline-block;
- font-weight: normal;
+ font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
@@ -1980,11 +2294,11 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
border-radius: 0.25rem;
- transition: all 0.15s ease-in-out;
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:focus, .btn:hover {
@@ -1993,14 +2307,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn:focus, .btn.focus {
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 {
opacity: .65;
}
-.btn:active, .btn.active {
+.btn:not([disabled]):not(.disabled):active, .btn:not([disabled]):not(.disabled).active {
background-image: none;
}
@@ -2022,7 +2336,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2030,11 +2344,12 @@ fieldset[disabled] a.btn {
border-color: #007bff;
}
-.btn-primary:active, .btn-primary.active,
+.btn-primary:not([disabled]):not(.disabled):active, .btn-primary:not([disabled]):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
- background-color: #0069d9;
- background-image: none;
- border-color: #0062cc;
+ color: #fff;
+ background-color: #0062cc;
+ border-color: #005cbf;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-secondary {
@@ -2050,7 +2365,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2058,11 +2373,12 @@ fieldset[disabled] a.btn {
border-color: #868e96;
}
-.btn-secondary:active, .btn-secondary.active,
+.btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
- background-color: #727b84;
- background-image: none;
- border-color: #6c757d;
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #666e76;
+ box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-success {
@@ -2078,7 +2394,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2086,11 +2402,12 @@ fieldset[disabled] a.btn {
border-color: #28a745;
}
-.btn-success:active, .btn-success.active,
+.btn-success:not([disabled]):not(.disabled):active, .btn-success:not([disabled]):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
- background-color: #218838;
- background-image: none;
- border-color: #1e7e34;
+ color: #fff;
+ background-color: #1e7e34;
+ border-color: #1c7430;
+ box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-info {
@@ -2106,7 +2423,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2114,11 +2431,12 @@ fieldset[disabled] a.btn {
border-color: #17a2b8;
}
-.btn-info:active, .btn-info.active,
+.btn-info:not([disabled]):not(.disabled):active, .btn-info:not([disabled]):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
- background-color: #138496;
- background-image: none;
- border-color: #117a8b;
+ color: #fff;
+ background-color: #117a8b;
+ border-color: #10707f;
+ box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-warning {
@@ -2134,7 +2452,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2142,11 +2460,12 @@ fieldset[disabled] a.btn {
border-color: #ffc107;
}
-.btn-warning:active, .btn-warning.active,
+.btn-warning:not([disabled]):not(.disabled):active, .btn-warning:not([disabled]):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
- background-color: #e0a800;
- background-image: none;
- border-color: #d39e00;
+ color: #111;
+ background-color: #d39e00;
+ border-color: #c69500;
+ box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-danger {
@@ -2162,7 +2481,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2170,11 +2489,12 @@ fieldset[disabled] a.btn {
border-color: #dc3545;
}
-.btn-danger:active, .btn-danger.active,
+.btn-danger:not([disabled]):not(.disabled):active, .btn-danger:not([disabled]):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
- background-color: #c82333;
- background-image: none;
- border-color: #bd2130;
+ color: #fff;
+ background-color: #bd2130;
+ border-color: #b21f2d;
+ box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-light {
@@ -2190,7 +2510,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2198,11 +2518,12 @@ fieldset[disabled] a.btn {
border-color: #f8f9fa;
}
-.btn-light:active, .btn-light.active,
+.btn-light:not([disabled]):not(.disabled):active, .btn-light:not([disabled]):not(.disabled).active,
.show > .btn-light.dropdown-toggle {
- background-color: #e2e6ea;
- background-image: none;
- border-color: #dae0e5;
+ color: #111;
+ background-color: #dae0e5;
+ border-color: #d3d9df;
+ box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-dark {
@@ -2218,7 +2539,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2226,11 +2547,12 @@ fieldset[disabled] a.btn {
border-color: #343a40;
}
-.btn-dark:active, .btn-dark.active,
+.btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active,
.show > .btn-dark.dropdown-toggle {
- background-color: #23272b;
- background-image: none;
- border-color: #1d2124;
+ color: #fff;
+ background-color: #1d2124;
+ border-color: #171a1d;
+ box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-outline-primary {
@@ -2247,7 +2569,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2255,11 +2577,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-primary:active, .btn-outline-primary.active,
+.btn-outline-primary:not([disabled]):not(.disabled):active, .btn-outline-primary:not([disabled]):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
color: #fff;
background-color: #007bff;
border-color: #007bff;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-secondary {
@@ -2276,7 +2599,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2284,11 +2607,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-secondary:active, .btn-outline-secondary.active,
+.btn-outline-secondary:not([disabled]):not(.disabled):active, .btn-outline-secondary:not([disabled]):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
color: #fff;
background-color: #868e96;
border-color: #868e96;
+ box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-outline-success {
@@ -2305,7 +2629,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2313,11 +2637,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-success:active, .btn-outline-success.active,
+.btn-outline-success:not([disabled]):not(.disabled):active, .btn-outline-success:not([disabled]):not(.disabled).active,
.show > .btn-outline-success.dropdown-toggle {
color: #fff;
background-color: #28a745;
border-color: #28a745;
+ box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-outline-info {
@@ -2334,7 +2659,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2342,11 +2667,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-info:active, .btn-outline-info.active,
+.btn-outline-info:not([disabled]):not(.disabled):active, .btn-outline-info:not([disabled]):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
color: #fff;
background-color: #17a2b8;
border-color: #17a2b8;
+ box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-outline-warning {
@@ -2363,7 +2689,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2371,11 +2697,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-warning:active, .btn-outline-warning.active,
+.btn-outline-warning:not([disabled]):not(.disabled):active, .btn-outline-warning:not([disabled]):not(.disabled).active,
.show > .btn-outline-warning.dropdown-toggle {
color: #fff;
background-color: #ffc107;
border-color: #ffc107;
+ box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-outline-danger {
@@ -2392,7 +2719,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2400,11 +2727,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-danger:active, .btn-outline-danger.active,
+.btn-outline-danger:not([disabled]):not(.disabled):active, .btn-outline-danger:not([disabled]):not(.disabled).active,
.show > .btn-outline-danger.dropdown-toggle {
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
+ box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-outline-light {
@@ -2415,13 +2743,13 @@ fieldset[disabled] a.btn {
}
.btn-outline-light:hover {
- color: #fff;
+ color: #212529;
background-color: #f8f9fa;
border-color: #f8f9fa;
}
.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 {
@@ -2429,11 +2757,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-light:active, .btn-outline-light.active,
+.btn-outline-light:not([disabled]):not(.disabled):active, .btn-outline-light:not([disabled]):not(.disabled).active,
.show > .btn-outline-light.dropdown-toggle {
- color: #fff;
+ color: #212529;
background-color: #f8f9fa;
border-color: #f8f9fa;
+ box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-outline-dark {
@@ -2450,7 +2779,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2458,44 +2787,34 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-dark:active, .btn-outline-dark.active,
+.btn-outline-dark:not([disabled]):not(.disabled):active, .btn-outline-dark:not([disabled]):not(.disabled).active,
.show > .btn-outline-dark.dropdown-toggle {
color: #fff;
background-color: #343a40;
border-color: #343a40;
+ box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-link {
- font-weight: normal;
+ font-weight: 400;
color: #007bff;
- border-radius: 0;
-}
-
-.btn-link, .btn-link:active, .btn-link.active, .btn-link:disabled {
background-color: transparent;
}
-.btn-link, .btn-link:focus, .btn-link:active {
- border-color: transparent;
- box-shadow: none;
-}
-
.btn-link:hover {
- border-color: transparent;
-}
-
-.btn-link:focus, .btn-link:hover {
color: #0056b3;
text-decoration: underline;
background-color: transparent;
+ border-color: transparent;
}
-.btn-link:disabled {
- color: #868e96;
+.btn-link:focus, .btn-link.focus {
+ border-color: transparent;
+ box-shadow: none;
}
-.btn-link:disabled:focus, .btn-link:disabled:hover {
- text-decoration: none;
+.btn-link:disabled, .btn-link.disabled {
+ color: #868e96;
}
.btn-lg, .btn-group-lg > .btn {
@@ -2573,6 +2892,7 @@ tbody.collapse.show {
content: "";
border-top: 0.3em solid;
border-right: 0.3em solid transparent;
+ border-bottom: 0;
border-left: 0.3em solid transparent;
}
@@ -2580,16 +2900,6 @@ tbody.collapse.show {
margin-left: 0;
}
-.dropup .dropdown-menu {
- margin-top: 0;
- margin-bottom: 0.125rem;
-}
-
-.dropup .dropdown-toggle::after {
- border-top: 0;
- border-bottom: 0.3em solid;
-}
-
.dropdown-menu {
position: absolute;
top: 100%;
@@ -2610,6 +2920,28 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.dropup .dropdown-menu {
+ margin-top: 0;
+ margin-bottom: 0.125rem;
+}
+
+.dropup .dropdown-toggle::after {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0.3em solid;
+ border-left: 0.3em solid transparent;
+}
+
+.dropup .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+
.dropdown-divider {
height: 0;
margin: 0.5rem 0;
@@ -2622,7 +2954,7 @@ tbody.collapse.show {
width: 100%;
padding: 0.25rem 1.5rem;
clear: both;
- font-weight: normal;
+ font-weight: 400;
color: #212529;
text-align: inherit;
white-space: nowrap;
@@ -2647,10 +2979,6 @@ tbody.collapse.show {
background-color: transparent;
}
-.show > a {
- outline: 0;
-}
-
.dropdown-menu.show {
display: block;
}
@@ -2677,7 +3005,6 @@ tbody.collapse.show {
position: relative;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
- margin-bottom: 0;
}
.btn-group > .btn:hover,
@@ -2774,8 +3101,6 @@ tbody.collapse.show {
}
.btn-group-vertical {
- display: -ms-inline-flexbox;
- display: inline-flex;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-align: start;
@@ -2839,6 +3164,8 @@ tbody.collapse.show {
position: relative;
display: -ms-flexbox;
display: flex;
+ -ms-flex-align: stretch;
+ align-items: stretch;
width: 100%;
}
@@ -2873,19 +3200,18 @@ tbody.collapse.show {
.input-group-addon,
.input-group-btn {
white-space: nowrap;
- vertical-align: middle;
}
.input-group-addon {
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
- font-weight: normal;
- line-height: 1.25;
+ font-weight: 400;
+ line-height: 1.5;
color: #495057;
text-align: center;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -2942,6 +3268,8 @@ tbody.collapse.show {
.input-group-btn {
position: relative;
+ -ms-flex-align: stretch;
+ align-items: stretch;
font-size: 0;
white-space: nowrap;
}
@@ -2958,6 +3286,10 @@ tbody.collapse.show {
z-index: 3;
}
+.input-group-btn:first-child > .btn + .btn {
+ margin-left: 0;
+}
+
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group {
margin-right: -1px;
@@ -2966,6 +3298,11 @@ tbody.collapse.show {
.input-group-btn:not(:first-child) > .btn,
.input-group-btn:not(:first-child) > .btn-group {
z-index: 2;
+ margin-left: 0;
+}
+
+.input-group-btn:not(:first-child) > .btn:first-child,
+.input-group-btn:not(:first-child) > .btn-group:first-child {
margin-left: -1px;
}
@@ -2997,7 +3334,7 @@ tbody.collapse.show {
}
.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 {
@@ -3072,12 +3409,12 @@ tbody.collapse.show {
max-width: 100%;
height: calc(2.25rem + 2px);
padding: 0.375rem 1.75rem 0.375rem 0.75rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
vertical-align: middle;
background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
background-size: 8px 10px;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
-webkit-appearance: none;
-moz-appearance: none;
@@ -3094,6 +3431,11 @@ tbody.collapse.show {
background-color: #fff;
}
+.custom-select[multiple] {
+ height: auto;
+ background-image: none;
+}
+
.custom-select:disabled {
color: #868e96;
background-color: #e9ecef;
@@ -3114,26 +3456,30 @@ tbody.collapse.show {
position: relative;
display: inline-block;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin-bottom: 0;
}
.custom-file-input {
min-width: 14rem;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin: 0;
opacity: 0;
}
+.custom-file-input:focus ~ .custom-file-control {
+ box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.2rem #007bff;
+}
+
.custom-file-control {
position: absolute;
top: 0;
right: 0;
left: 0;
z-index: 5;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
pointer-events: none;
@@ -3142,7 +3488,7 @@ tbody.collapse.show {
-ms-user-select: none;
user-select: none;
background-color: #fff;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -3157,12 +3503,12 @@ tbody.collapse.show {
bottom: -1px;
z-index: 6;
display: block;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0 0.25rem 0.25rem 0;
}
@@ -3235,7 +3581,7 @@ tbody.collapse.show {
}
.nav-pills .nav-link.active,
-.show > .nav-pills .nav-link {
+.nav-pills .show > .nav-link {
color: #fff;
background-color: #007bff;
}
@@ -3330,6 +3676,8 @@ tbody.collapse.show {
.navbar-collapse {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
+ -ms-flex-positive: 1;
+ flex-grow: 1;
-ms-flex-align: center;
align-items: center;
}
@@ -3367,10 +3715,8 @@ tbody.collapse.show {
@media (min-width: 576px) {
.navbar-expand-sm {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3397,10 +3743,16 @@ tbody.collapse.show {
.navbar-expand-sm .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-sm .navbar-toggler {
display: none;
}
+ .navbar-expand-sm .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 767px) {
@@ -3413,10 +3765,8 @@ tbody.collapse.show {
@media (min-width: 768px) {
.navbar-expand-md {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3443,10 +3793,16 @@ tbody.collapse.show {
.navbar-expand-md .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-md .navbar-toggler {
display: none;
}
+ .navbar-expand-md .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 991px) {
@@ -3459,10 +3815,8 @@ tbody.collapse.show {
@media (min-width: 992px) {
.navbar-expand-lg {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3489,10 +3843,16 @@ tbody.collapse.show {
.navbar-expand-lg .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-lg .navbar-toggler {
display: none;
}
+ .navbar-expand-lg .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 1199px) {
@@ -3505,10 +3865,8 @@ tbody.collapse.show {
@media (min-width: 1200px) {
.navbar-expand-xl {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3535,17 +3893,21 @@ tbody.collapse.show {
.navbar-expand-xl .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-xl .navbar-toggler {
display: none;
}
+ .navbar-expand-xl .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
.navbar-expand {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3584,12 +3946,19 @@ tbody.collapse.show {
.navbar-expand .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand .navbar-toggler {
display: none;
}
+.navbar-expand .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+}
+
.navbar-light .navbar-brand {
color: rgba(0, 0, 0, 0.9);
}
@@ -3630,12 +3999,20 @@ tbody.collapse.show {
color: rgba(0, 0, 0, 0.5);
}
+.navbar-light .navbar-text a {
+ color: rgba(0, 0, 0, 0.9);
+}
+
+.navbar-light .navbar-text a:focus, .navbar-light .navbar-text a:hover {
+ color: rgba(0, 0, 0, 0.9);
+}
+
.navbar-dark .navbar-brand {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-nav .nav-link {
@@ -3654,7 +4031,7 @@ tbody.collapse.show {
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .nav-link.active {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-toggler {
@@ -3670,6 +4047,14 @@ tbody.collapse.show {
color: rgba(255, 255, 255, 0.5);
}
+.navbar-dark .navbar-text a {
+ color: #fff;
+}
+
+.navbar-dark .navbar-text a:focus, .navbar-dark .navbar-text a:hover {
+ color: #fff;
+}
+
.card {
position: relative;
display: -ms-flexbox;
@@ -3684,6 +4069,21 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.card > hr {
+ margin-right: 0;
+ margin-left: 0;
+}
+
+.card > .list-group:first-child .list-group-item:first-child {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+}
+
+.card > .list-group:last-child .list-group-item:last-child {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+
.card-body {
-ms-flex: 1 1 auto;
flex: 1 1 auto;
@@ -3711,16 +4111,6 @@ tbody.collapse.show {
margin-left: 1.25rem;
}
-.card > .list-group:first-child .list-group-item:first-child {
- border-top-left-radius: 0.25rem;
- border-top-right-radius: 0.25rem;
-}
-
-.card > .list-group:last-child .list-group-item:last-child {
- border-bottom-right-radius: 0.25rem;
- border-bottom-left-radius: 0.25rem;
-}
-
.card-header {
padding: 0.75rem 1.25rem;
margin-bottom: 0;
@@ -3732,6 +4122,10 @@ tbody.collapse.show {
border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
+.card-header + .list-group .list-group-item:first-child {
+ border-top: 0;
+}
+
.card-footer {
padding: 0.75rem 1.25rem;
background-color: rgba(0, 0, 0, 0.03);
@@ -3780,10 +4174,19 @@ tbody.collapse.show {
border-bottom-left-radius: calc(0.25rem - 1px);
}
+.card-deck {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-deck .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-deck {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
margin-right: -15px;
@@ -3797,20 +4200,31 @@ tbody.collapse.show {
-ms-flex-direction: column;
flex-direction: column;
margin-right: 15px;
+ margin-bottom: 0;
margin-left: 15px;
}
}
+.card-group {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-group .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-group {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
}
.card-group .card {
-ms-flex: 1 0 0%;
flex: 1 0 0%;
+ margin-bottom: 0;
}
.card-group .card + .card {
margin-left: 0;
@@ -3836,11 +4250,22 @@ tbody.collapse.show {
.card-group .card:last-child .card-img-bottom {
border-bottom-left-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) {
+ .card-group .card:only-child {
+ border-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-top {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-bottom {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+ }
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) {
border-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) .card-img-top,
- .card-group .card:not(:first-child):not(:last-child) .card-img-bottom {
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom {
border-radius: 0;
}
}
@@ -3863,6 +4288,10 @@ tbody.collapse.show {
}
.breadcrumb {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-wrap: wrap;
+ flex-wrap: wrap;
padding: 0.75rem 1rem;
margin-bottom: 1rem;
list-style: none;
@@ -3870,16 +4299,6 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
-.breadcrumb::after {
- display: block;
- clear: both;
- content: "";
-}
-
-.breadcrumb-item {
- float: left;
-}
-
.breadcrumb-item + .breadcrumb-item::before {
display: inline-block;
padding-right: 0.5rem;
@@ -3987,9 +4406,8 @@ tbody.collapse.show {
display: inline-block;
padding: 0.25em 0.4em;
font-size: 75%;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
- color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
@@ -4119,6 +4537,7 @@ tbody.collapse.show {
}
.alert {
+ position: relative;
padding: 0.75rem 1.25rem;
margin-bottom: 1rem;
border: 1px solid transparent;
@@ -4130,13 +4549,13 @@ tbody.collapse.show {
}
.alert-link {
- font-weight: bold;
+ font-weight: 700;
}
.alert-dismissible .close {
- position: relative;
- top: -0.75rem;
- right: -1.25rem;
+ position: absolute;
+ top: 0;
+ right: 0;
padding: 0.75rem 1.25rem;
color: inherit;
}
@@ -4274,20 +4693,22 @@ tbody.collapse.show {
.progress {
display: -ms-flexbox;
display: flex;
+ height: 1rem;
overflow: hidden;
font-size: 0.75rem;
- line-height: 1rem;
- text-align: center;
background-color: #e9ecef;
border-radius: 0.25rem;
}
.progress-bar {
- height: 1rem;
- line-height: 1rem;
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-align: center;
+ align-items: center;
+ -ms-flex-pack: center;
+ justify-content: center;
color: #fff;
background-color: #007bff;
- transition: width 0.6s ease;
}
.progress-bar-striped {
@@ -4583,7 +5004,7 @@ button.list-group-item-dark.active {
.close {
float: right;
font-size: 1.5rem;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
@@ -4641,6 +5062,7 @@ button.close {
position: relative;
width: auto;
margin: 10px;
+ pointer-events: none;
}
.modal-content {
@@ -4649,6 +5071,7 @@ button.close {
display: flex;
-ms-flex-direction: column;
flex-direction: column;
+ pointer-events: auto;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.2);
@@ -4677,12 +5100,19 @@ button.close {
.modal-header {
display: -ms-flexbox;
display: flex;
- -ms-flex-align: center;
- align-items: center;
+ -ms-flex-align: start;
+ align-items: flex-start;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 15px;
border-bottom: 1px solid #e9ecef;
+ border-top-left-radius: 0.3rem;
+ border-top-right-radius: 0.3rem;
+}
+
+.modal-header .close {
+ padding: 15px;
+ margin: -15px -15px -15px auto;
}
.modal-title {
@@ -4745,9 +5175,9 @@ button.close {
z-index: 1070;
display: block;
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4775,6 +5205,12 @@ button.close {
height: 5px;
}
+.tooltip .arrow::before {
+ position: absolute;
+ border-color: transparent;
+ border-style: solid;
+}
+
.tooltip.bs-tooltip-top, .tooltip.bs-tooltip-auto[x-placement^="top"] {
padding: 5px 0;
}
@@ -4836,12 +5272,6 @@ button.close {
border-left-color: #000;
}
-.tooltip .arrow::before {
- position: absolute;
- border-color: transparent;
- border-style: solid;
-}
-
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
@@ -4858,10 +5288,9 @@ button.close {
z-index: 1060;
display: block;
max-width: 276px;
- padding: 1px;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4884,8 +5313,8 @@ button.close {
.popover .arrow {
position: absolute;
display: block;
- width: 10px;
- height: 5px;
+ width: 0.8rem;
+ height: 0.4rem;
}
.popover .arrow::before,
@@ -4898,16 +5327,16 @@ button.close {
.popover .arrow::before {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover .arrow::after {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover.bs-popover-top, .popover.bs-popover-auto[x-placement^="top"] {
- margin-bottom: 10px;
+ margin-bottom: 0.8rem;
}
.popover.bs-popover-top .arrow, .popover.bs-popover-auto[x-placement^="top"] .arrow {
@@ -4920,19 +5349,19 @@ button.close {
}
.popover.bs-popover-top .arrow::before, .popover.bs-popover-auto[x-placement^="top"] .arrow::before {
- bottom: -11px;
- margin-left: -6px;
+ bottom: -0.8rem;
+ margin-left: -0.8rem;
border-top-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-top .arrow::after, .popover.bs-popover-auto[x-placement^="top"] .arrow::after {
- bottom: -10px;
- margin-left: -6px;
+ bottom: calc((0.8rem - 1px) * -1);
+ margin-left: -0.8rem;
border-top-color: #fff;
}
.popover.bs-popover-right, .popover.bs-popover-auto[x-placement^="right"] {
- margin-left: 10px;
+ margin-left: 0.8rem;
}
.popover.bs-popover-right .arrow, .popover.bs-popover-auto[x-placement^="right"] .arrow {
@@ -4941,22 +5370,22 @@ button.close {
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before,
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-left-width: 0;
}
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before {
- left: -11px;
+ left: -0.8rem;
border-right-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- left: -10px;
+ left: calc((0.8rem - 1px) * -1);
border-right-color: #fff;
}
.popover.bs-popover-bottom, .popover.bs-popover-auto[x-placement^="bottom"] {
- margin-top: 10px;
+ margin-top: 0.8rem;
}
.popover.bs-popover-bottom .arrow, .popover.bs-popover-auto[x-placement^="bottom"] .arrow {
@@ -4965,17 +5394,17 @@ button.close {
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before,
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- margin-left: -7px;
+ margin-left: -0.8rem;
border-top-width: 0;
}
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before {
- top: -11px;
+ top: -0.8rem;
border-bottom-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- top: -10px;
+ top: calc((0.8rem - 1px) * -1);
border-bottom-color: #fff;
}
@@ -4991,7 +5420,7 @@ button.close {
}
.popover.bs-popover-left, .popover.bs-popover-auto[x-placement^="left"] {
- margin-right: 10px;
+ margin-right: 0.8rem;
}
.popover.bs-popover-left .arrow, .popover.bs-popover-auto[x-placement^="left"] .arrow {
@@ -5000,22 +5429,22 @@ button.close {
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before,
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-right-width: 0;
}
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before {
- right: -11px;
+ right: -0.8rem;
border-left-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- right: -10px;
+ right: calc((0.8rem - 1px) * -1);
border-left-color: #fff;
}
.popover-header {
- padding: 8px 14px;
+ padding: 0.5rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
color: inherit;
@@ -5030,7 +5459,7 @@ button.close {
}
.popover-body {
- padding: 9px 14px;
+ padding: 0.5rem 0.75rem;
color: #212529;
}
@@ -5157,11 +5586,11 @@ button.close {
}
.carousel-control-prev-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.carousel-indicators {
@@ -5409,11 +5838,11 @@ a.bg-dark:focus, a.bg-dark:hover {
}
.rounded-circle {
- border-radius: 50%;
+ border-radius: 50% !important;
}
.rounded-0 {
- border-radius: 0;
+ border-radius: 0 !important;
}
.clearfix::after {
@@ -5442,6 +5871,10 @@ a.bg-dark:focus, a.bg-dark:hover {
display: table !important;
}
+.d-table-row {
+ display: table-row !important;
+}
+
.d-table-cell {
display: table-cell !important;
}
@@ -5472,6 +5905,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-sm-table {
display: table !important;
}
+ .d-sm-table-row {
+ display: table-row !important;
+ }
.d-sm-table-cell {
display: table-cell !important;
}
@@ -5501,6 +5937,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-md-table {
display: table !important;
}
+ .d-md-table-row {
+ display: table-row !important;
+ }
.d-md-table-cell {
display: table-cell !important;
}
@@ -5530,6 +5969,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-lg-table {
display: table !important;
}
+ .d-lg-table-row {
+ display: table-row !important;
+ }
.d-lg-table-cell {
display: table-cell !important;
}
@@ -5559,6 +6001,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-xl-table {
display: table !important;
}
+ .d-xl-table-row {
+ display: table-row !important;
+ }
.d-xl-table-cell {
display: table-cell !important;
}
@@ -6332,10 +6777,31 @@ a.bg-dark:focus, a.bg-dark:hover {
}
}
-.fixed-top {
- position: fixed;
- top: 0;
- right: 0;
+.position-static {
+ position: static !important;
+}
+
+.position-relative {
+ position: relative !important;
+}
+
+.position-absolute {
+ position: absolute !important;
+}
+
+.position-fixed {
+ position: fixed !important;
+}
+
+.position-sticky {
+ position: -webkit-sticky !important;
+ position: sticky !important;
+}
+
+.fixed-top {
+ position: fixed;
+ top: 0;
+ right: 0;
left: 0;
z-index: 1030;
}
@@ -6425,1598 +6891,1312 @@ a.bg-dark:focus, a.bg-dark:hover {
margin: 0 !important;
}
-.mt-0 {
+.mt-0,
+.my-0 {
margin-top: 0 !important;
}
-.mr-0 {
+.mr-0,
+.mx-0 {
margin-right: 0 !important;
}
-.mb-0 {
+.mb-0,
+.my-0 {
margin-bottom: 0 !important;
}
-.ml-0 {
- margin-left: 0 !important;
-}
-
+.ml-0,
.mx-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
-.my-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
-}
-
.m-1 {
margin: 0.25rem !important;
}
-.mt-1 {
+.mt-1,
+.my-1 {
margin-top: 0.25rem !important;
}
-.mr-1 {
+.mr-1,
+.mx-1 {
margin-right: 0.25rem !important;
}
-.mb-1 {
+.mb-1,
+.my-1 {
margin-bottom: 0.25rem !important;
}
-.ml-1 {
- margin-left: 0.25rem !important;
-}
-
+.ml-1,
.mx-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
-.my-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
-}
-
.m-2 {
margin: 0.5rem !important;
}
-.mt-2 {
+.mt-2,
+.my-2 {
margin-top: 0.5rem !important;
}
-.mr-2 {
+.mr-2,
+.mx-2 {
margin-right: 0.5rem !important;
}
-.mb-2 {
+.mb-2,
+.my-2 {
margin-bottom: 0.5rem !important;
}
-.ml-2 {
- margin-left: 0.5rem !important;
-}
-
+.ml-2,
.mx-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
-.my-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
-}
-
.m-3 {
margin: 1rem !important;
}
-.mt-3 {
+.mt-3,
+.my-3 {
margin-top: 1rem !important;
}
-.mr-3 {
+.mr-3,
+.mx-3 {
margin-right: 1rem !important;
}
-.mb-3 {
+.mb-3,
+.my-3 {
margin-bottom: 1rem !important;
}
-.ml-3 {
- margin-left: 1rem !important;
-}
-
+.ml-3,
.mx-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
-.my-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
-}
-
.m-4 {
margin: 1.5rem !important;
}
-.mt-4 {
+.mt-4,
+.my-4 {
margin-top: 1.5rem !important;
}
-.mr-4 {
+.mr-4,
+.mx-4 {
margin-right: 1.5rem !important;
}
-.mb-4 {
+.mb-4,
+.my-4 {
margin-bottom: 1.5rem !important;
}
-.ml-4 {
- margin-left: 1.5rem !important;
-}
-
+.ml-4,
.mx-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
-.my-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
-}
-
.m-5 {
margin: 3rem !important;
}
-.mt-5 {
+.mt-5,
+.my-5 {
margin-top: 3rem !important;
}
-.mr-5 {
+.mr-5,
+.mx-5 {
margin-right: 3rem !important;
}
-.mb-5 {
+.mb-5,
+.my-5 {
margin-bottom: 3rem !important;
}
-.ml-5 {
- margin-left: 3rem !important;
-}
-
+.ml-5,
.mx-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
-.my-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
-}
-
.p-0 {
padding: 0 !important;
}
-.pt-0 {
+.pt-0,
+.py-0 {
padding-top: 0 !important;
}
-.pr-0 {
+.pr-0,
+.px-0 {
padding-right: 0 !important;
}
-.pb-0 {
+.pb-0,
+.py-0 {
padding-bottom: 0 !important;
}
-.pl-0 {
- padding-left: 0 !important;
-}
-
+.pl-0,
.px-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
-.py-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
-}
-
.p-1 {
padding: 0.25rem !important;
}
-.pt-1 {
+.pt-1,
+.py-1 {
padding-top: 0.25rem !important;
}
-.pr-1 {
+.pr-1,
+.px-1 {
padding-right: 0.25rem !important;
}
-.pb-1 {
+.pb-1,
+.py-1 {
padding-bottom: 0.25rem !important;
}
-.pl-1 {
- padding-left: 0.25rem !important;
-}
-
+.pl-1,
.px-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
-.py-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
-}
-
.p-2 {
padding: 0.5rem !important;
}
-.pt-2 {
+.pt-2,
+.py-2 {
padding-top: 0.5rem !important;
}
-.pr-2 {
+.pr-2,
+.px-2 {
padding-right: 0.5rem !important;
}
-.pb-2 {
+.pb-2,
+.py-2 {
padding-bottom: 0.5rem !important;
}
-.pl-2 {
- padding-left: 0.5rem !important;
-}
-
+.pl-2,
.px-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
-.py-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
-}
-
.p-3 {
padding: 1rem !important;
}
-.pt-3 {
+.pt-3,
+.py-3 {
padding-top: 1rem !important;
}
-.pr-3 {
+.pr-3,
+.px-3 {
padding-right: 1rem !important;
}
-.pb-3 {
+.pb-3,
+.py-3 {
padding-bottom: 1rem !important;
}
-.pl-3 {
- padding-left: 1rem !important;
-}
-
+.pl-3,
.px-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
-.py-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
-}
-
.p-4 {
padding: 1.5rem !important;
}
-.pt-4 {
+.pt-4,
+.py-4 {
padding-top: 1.5rem !important;
}
-.pr-4 {
+.pr-4,
+.px-4 {
padding-right: 1.5rem !important;
}
-.pb-4 {
+.pb-4,
+.py-4 {
padding-bottom: 1.5rem !important;
}
-.pl-4 {
- padding-left: 1.5rem !important;
-}
-
+.pl-4,
.px-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
-.py-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
-}
-
.p-5 {
padding: 3rem !important;
}
-.pt-5 {
+.pt-5,
+.py-5 {
padding-top: 3rem !important;
}
-.pr-5 {
+.pr-5,
+.px-5 {
padding-right: 3rem !important;
}
-.pb-5 {
+.pb-5,
+.py-5 {
padding-bottom: 3rem !important;
}
-.pl-5 {
- padding-left: 3rem !important;
-}
-
+.pl-5,
.px-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
-.py-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
-}
-
.m-auto {
margin: auto !important;
}
-.mt-auto {
+.mt-auto,
+.my-auto {
margin-top: auto !important;
}
-.mr-auto {
+.mr-auto,
+.mx-auto {
margin-right: auto !important;
}
-.mb-auto {
+.mb-auto,
+.my-auto {
margin-bottom: auto !important;
}
-.ml-auto {
- margin-left: auto !important;
-}
-
+.ml-auto,
.mx-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
-.my-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
-}
-
@media (min-width: 576px) {
.m-sm-0 {
margin: 0 !important;
}
- .mt-sm-0 {
+ .mt-sm-0,
+ .my-sm-0 {
margin-top: 0 !important;
}
- .mr-sm-0 {
+ .mr-sm-0,
+ .mx-sm-0 {
margin-right: 0 !important;
}
- .mb-sm-0 {
+ .mb-sm-0,
+ .my-sm-0 {
margin-bottom: 0 !important;
}
- .ml-sm-0 {
- margin-left: 0 !important;
- }
+ .ml-sm-0,
.mx-sm-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-sm-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-sm-1 {
margin: 0.25rem !important;
}
- .mt-sm-1 {
+ .mt-sm-1,
+ .my-sm-1 {
margin-top: 0.25rem !important;
}
- .mr-sm-1 {
+ .mr-sm-1,
+ .mx-sm-1 {
margin-right: 0.25rem !important;
}
- .mb-sm-1 {
+ .mb-sm-1,
+ .my-sm-1 {
margin-bottom: 0.25rem !important;
}
- .ml-sm-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-sm-1,
.mx-sm-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-sm-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-sm-2 {
margin: 0.5rem !important;
}
- .mt-sm-2 {
+ .mt-sm-2,
+ .my-sm-2 {
margin-top: 0.5rem !important;
}
- .mr-sm-2 {
+ .mr-sm-2,
+ .mx-sm-2 {
margin-right: 0.5rem !important;
}
- .mb-sm-2 {
+ .mb-sm-2,
+ .my-sm-2 {
margin-bottom: 0.5rem !important;
}
- .ml-sm-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-sm-2,
.mx-sm-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-sm-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-sm-3 {
margin: 1rem !important;
}
- .mt-sm-3 {
+ .mt-sm-3,
+ .my-sm-3 {
margin-top: 1rem !important;
}
- .mr-sm-3 {
+ .mr-sm-3,
+ .mx-sm-3 {
margin-right: 1rem !important;
}
- .mb-sm-3 {
+ .mb-sm-3,
+ .my-sm-3 {
margin-bottom: 1rem !important;
}
- .ml-sm-3 {
- margin-left: 1rem !important;
- }
+ .ml-sm-3,
.mx-sm-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-sm-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-sm-4 {
margin: 1.5rem !important;
}
- .mt-sm-4 {
+ .mt-sm-4,
+ .my-sm-4 {
margin-top: 1.5rem !important;
}
- .mr-sm-4 {
+ .mr-sm-4,
+ .mx-sm-4 {
margin-right: 1.5rem !important;
}
- .mb-sm-4 {
+ .mb-sm-4,
+ .my-sm-4 {
margin-bottom: 1.5rem !important;
}
- .ml-sm-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-sm-4,
.mx-sm-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-sm-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-sm-5 {
margin: 3rem !important;
}
- .mt-sm-5 {
+ .mt-sm-5,
+ .my-sm-5 {
margin-top: 3rem !important;
}
- .mr-sm-5 {
+ .mr-sm-5,
+ .mx-sm-5 {
margin-right: 3rem !important;
}
- .mb-sm-5 {
+ .mb-sm-5,
+ .my-sm-5 {
margin-bottom: 3rem !important;
}
- .ml-sm-5 {
- margin-left: 3rem !important;
- }
+ .ml-sm-5,
.mx-sm-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-sm-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-sm-0 {
padding: 0 !important;
}
- .pt-sm-0 {
+ .pt-sm-0,
+ .py-sm-0 {
padding-top: 0 !important;
}
- .pr-sm-0 {
+ .pr-sm-0,
+ .px-sm-0 {
padding-right: 0 !important;
}
- .pb-sm-0 {
+ .pb-sm-0,
+ .py-sm-0 {
padding-bottom: 0 !important;
}
- .pl-sm-0 {
- padding-left: 0 !important;
- }
+ .pl-sm-0,
.px-sm-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-sm-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-sm-1 {
padding: 0.25rem !important;
}
- .pt-sm-1 {
+ .pt-sm-1,
+ .py-sm-1 {
padding-top: 0.25rem !important;
}
- .pr-sm-1 {
+ .pr-sm-1,
+ .px-sm-1 {
padding-right: 0.25rem !important;
}
- .pb-sm-1 {
+ .pb-sm-1,
+ .py-sm-1 {
padding-bottom: 0.25rem !important;
}
- .pl-sm-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-sm-1,
.px-sm-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-sm-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-sm-2 {
padding: 0.5rem !important;
}
- .pt-sm-2 {
+ .pt-sm-2,
+ .py-sm-2 {
padding-top: 0.5rem !important;
}
- .pr-sm-2 {
+ .pr-sm-2,
+ .px-sm-2 {
padding-right: 0.5rem !important;
}
- .pb-sm-2 {
+ .pb-sm-2,
+ .py-sm-2 {
padding-bottom: 0.5rem !important;
}
- .pl-sm-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-sm-2,
.px-sm-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-sm-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-sm-3 {
padding: 1rem !important;
}
- .pt-sm-3 {
+ .pt-sm-3,
+ .py-sm-3 {
padding-top: 1rem !important;
}
- .pr-sm-3 {
+ .pr-sm-3,
+ .px-sm-3 {
padding-right: 1rem !important;
}
- .pb-sm-3 {
+ .pb-sm-3,
+ .py-sm-3 {
padding-bottom: 1rem !important;
}
- .pl-sm-3 {
- padding-left: 1rem !important;
- }
+ .pl-sm-3,
.px-sm-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-sm-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-sm-4 {
padding: 1.5rem !important;
}
- .pt-sm-4 {
+ .pt-sm-4,
+ .py-sm-4 {
padding-top: 1.5rem !important;
}
- .pr-sm-4 {
+ .pr-sm-4,
+ .px-sm-4 {
padding-right: 1.5rem !important;
}
- .pb-sm-4 {
+ .pb-sm-4,
+ .py-sm-4 {
padding-bottom: 1.5rem !important;
}
- .pl-sm-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-sm-4,
.px-sm-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-sm-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-sm-5 {
padding: 3rem !important;
}
- .pt-sm-5 {
+ .pt-sm-5,
+ .py-sm-5 {
padding-top: 3rem !important;
}
- .pr-sm-5 {
+ .pr-sm-5,
+ .px-sm-5 {
padding-right: 3rem !important;
}
- .pb-sm-5 {
+ .pb-sm-5,
+ .py-sm-5 {
padding-bottom: 3rem !important;
}
- .pl-sm-5 {
- padding-left: 3rem !important;
- }
+ .pl-sm-5,
.px-sm-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-sm-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-sm-auto {
margin: auto !important;
}
- .mt-sm-auto {
+ .mt-sm-auto,
+ .my-sm-auto {
margin-top: auto !important;
}
- .mr-sm-auto {
+ .mr-sm-auto,
+ .mx-sm-auto {
margin-right: auto !important;
}
- .mb-sm-auto {
+ .mb-sm-auto,
+ .my-sm-auto {
margin-bottom: auto !important;
}
- .ml-sm-auto {
- margin-left: auto !important;
- }
+ .ml-sm-auto,
.mx-sm-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-sm-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 768px) {
.m-md-0 {
margin: 0 !important;
}
- .mt-md-0 {
+ .mt-md-0,
+ .my-md-0 {
margin-top: 0 !important;
}
- .mr-md-0 {
+ .mr-md-0,
+ .mx-md-0 {
margin-right: 0 !important;
}
- .mb-md-0 {
+ .mb-md-0,
+ .my-md-0 {
margin-bottom: 0 !important;
}
- .ml-md-0 {
- margin-left: 0 !important;
- }
+ .ml-md-0,
.mx-md-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-md-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-md-1 {
margin: 0.25rem !important;
}
- .mt-md-1 {
+ .mt-md-1,
+ .my-md-1 {
margin-top: 0.25rem !important;
}
- .mr-md-1 {
+ .mr-md-1,
+ .mx-md-1 {
margin-right: 0.25rem !important;
}
- .mb-md-1 {
+ .mb-md-1,
+ .my-md-1 {
margin-bottom: 0.25rem !important;
}
- .ml-md-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-md-1,
.mx-md-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-md-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-md-2 {
margin: 0.5rem !important;
}
- .mt-md-2 {
+ .mt-md-2,
+ .my-md-2 {
margin-top: 0.5rem !important;
}
- .mr-md-2 {
+ .mr-md-2,
+ .mx-md-2 {
margin-right: 0.5rem !important;
}
- .mb-md-2 {
+ .mb-md-2,
+ .my-md-2 {
margin-bottom: 0.5rem !important;
}
- .ml-md-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-md-2,
.mx-md-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-md-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-md-3 {
margin: 1rem !important;
}
- .mt-md-3 {
+ .mt-md-3,
+ .my-md-3 {
margin-top: 1rem !important;
}
- .mr-md-3 {
+ .mr-md-3,
+ .mx-md-3 {
margin-right: 1rem !important;
}
- .mb-md-3 {
+ .mb-md-3,
+ .my-md-3 {
margin-bottom: 1rem !important;
}
- .ml-md-3 {
- margin-left: 1rem !important;
- }
+ .ml-md-3,
.mx-md-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-md-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-md-4 {
margin: 1.5rem !important;
}
- .mt-md-4 {
+ .mt-md-4,
+ .my-md-4 {
margin-top: 1.5rem !important;
}
- .mr-md-4 {
+ .mr-md-4,
+ .mx-md-4 {
margin-right: 1.5rem !important;
}
- .mb-md-4 {
+ .mb-md-4,
+ .my-md-4 {
margin-bottom: 1.5rem !important;
}
- .ml-md-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-md-4,
.mx-md-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-md-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-md-5 {
margin: 3rem !important;
}
- .mt-md-5 {
+ .mt-md-5,
+ .my-md-5 {
margin-top: 3rem !important;
}
- .mr-md-5 {
+ .mr-md-5,
+ .mx-md-5 {
margin-right: 3rem !important;
}
- .mb-md-5 {
+ .mb-md-5,
+ .my-md-5 {
margin-bottom: 3rem !important;
}
- .ml-md-5 {
- margin-left: 3rem !important;
- }
+ .ml-md-5,
.mx-md-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-md-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-md-0 {
padding: 0 !important;
}
- .pt-md-0 {
+ .pt-md-0,
+ .py-md-0 {
padding-top: 0 !important;
}
- .pr-md-0 {
+ .pr-md-0,
+ .px-md-0 {
padding-right: 0 !important;
}
- .pb-md-0 {
+ .pb-md-0,
+ .py-md-0 {
padding-bottom: 0 !important;
}
- .pl-md-0 {
- padding-left: 0 !important;
- }
+ .pl-md-0,
.px-md-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-md-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-md-1 {
padding: 0.25rem !important;
}
- .pt-md-1 {
+ .pt-md-1,
+ .py-md-1 {
padding-top: 0.25rem !important;
}
- .pr-md-1 {
+ .pr-md-1,
+ .px-md-1 {
padding-right: 0.25rem !important;
}
- .pb-md-1 {
+ .pb-md-1,
+ .py-md-1 {
padding-bottom: 0.25rem !important;
}
- .pl-md-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-md-1,
.px-md-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-md-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-md-2 {
padding: 0.5rem !important;
}
- .pt-md-2 {
+ .pt-md-2,
+ .py-md-2 {
padding-top: 0.5rem !important;
}
- .pr-md-2 {
+ .pr-md-2,
+ .px-md-2 {
padding-right: 0.5rem !important;
}
- .pb-md-2 {
+ .pb-md-2,
+ .py-md-2 {
padding-bottom: 0.5rem !important;
}
- .pl-md-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-md-2,
.px-md-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-md-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-md-3 {
padding: 1rem !important;
}
- .pt-md-3 {
+ .pt-md-3,
+ .py-md-3 {
padding-top: 1rem !important;
}
- .pr-md-3 {
+ .pr-md-3,
+ .px-md-3 {
padding-right: 1rem !important;
}
- .pb-md-3 {
+ .pb-md-3,
+ .py-md-3 {
padding-bottom: 1rem !important;
}
- .pl-md-3 {
- padding-left: 1rem !important;
- }
+ .pl-md-3,
.px-md-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-md-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-md-4 {
padding: 1.5rem !important;
}
- .pt-md-4 {
+ .pt-md-4,
+ .py-md-4 {
padding-top: 1.5rem !important;
}
- .pr-md-4 {
+ .pr-md-4,
+ .px-md-4 {
padding-right: 1.5rem !important;
}
- .pb-md-4 {
+ .pb-md-4,
+ .py-md-4 {
padding-bottom: 1.5rem !important;
}
- .pl-md-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-md-4,
.px-md-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-md-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-md-5 {
padding: 3rem !important;
}
- .pt-md-5 {
+ .pt-md-5,
+ .py-md-5 {
padding-top: 3rem !important;
}
- .pr-md-5 {
+ .pr-md-5,
+ .px-md-5 {
padding-right: 3rem !important;
}
- .pb-md-5 {
+ .pb-md-5,
+ .py-md-5 {
padding-bottom: 3rem !important;
}
- .pl-md-5 {
- padding-left: 3rem !important;
- }
+ .pl-md-5,
.px-md-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-md-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-md-auto {
margin: auto !important;
}
- .mt-md-auto {
+ .mt-md-auto,
+ .my-md-auto {
margin-top: auto !important;
}
- .mr-md-auto {
+ .mr-md-auto,
+ .mx-md-auto {
margin-right: auto !important;
}
- .mb-md-auto {
+ .mb-md-auto,
+ .my-md-auto {
margin-bottom: auto !important;
}
- .ml-md-auto {
- margin-left: auto !important;
- }
+ .ml-md-auto,
.mx-md-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-md-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 992px) {
.m-lg-0 {
margin: 0 !important;
}
- .mt-lg-0 {
+ .mt-lg-0,
+ .my-lg-0 {
margin-top: 0 !important;
}
- .mr-lg-0 {
+ .mr-lg-0,
+ .mx-lg-0 {
margin-right: 0 !important;
}
- .mb-lg-0 {
+ .mb-lg-0,
+ .my-lg-0 {
margin-bottom: 0 !important;
}
- .ml-lg-0 {
- margin-left: 0 !important;
- }
+ .ml-lg-0,
.mx-lg-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-lg-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-lg-1 {
margin: 0.25rem !important;
}
- .mt-lg-1 {
+ .mt-lg-1,
+ .my-lg-1 {
margin-top: 0.25rem !important;
}
- .mr-lg-1 {
+ .mr-lg-1,
+ .mx-lg-1 {
margin-right: 0.25rem !important;
}
- .mb-lg-1 {
+ .mb-lg-1,
+ .my-lg-1 {
margin-bottom: 0.25rem !important;
}
- .ml-lg-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-lg-1,
.mx-lg-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-lg-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-lg-2 {
margin: 0.5rem !important;
}
- .mt-lg-2 {
+ .mt-lg-2,
+ .my-lg-2 {
margin-top: 0.5rem !important;
}
- .mr-lg-2 {
+ .mr-lg-2,
+ .mx-lg-2 {
margin-right: 0.5rem !important;
}
- .mb-lg-2 {
+ .mb-lg-2,
+ .my-lg-2 {
margin-bottom: 0.5rem !important;
}
- .ml-lg-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-lg-2,
.mx-lg-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-lg-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-lg-3 {
margin: 1rem !important;
}
- .mt-lg-3 {
+ .mt-lg-3,
+ .my-lg-3 {
margin-top: 1rem !important;
}
- .mr-lg-3 {
+ .mr-lg-3,
+ .mx-lg-3 {
margin-right: 1rem !important;
}
- .mb-lg-3 {
+ .mb-lg-3,
+ .my-lg-3 {
margin-bottom: 1rem !important;
}
- .ml-lg-3 {
- margin-left: 1rem !important;
- }
+ .ml-lg-3,
.mx-lg-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-lg-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-lg-4 {
margin: 1.5rem !important;
}
- .mt-lg-4 {
+ .mt-lg-4,
+ .my-lg-4 {
margin-top: 1.5rem !important;
}
- .mr-lg-4 {
+ .mr-lg-4,
+ .mx-lg-4 {
margin-right: 1.5rem !important;
}
- .mb-lg-4 {
+ .mb-lg-4,
+ .my-lg-4 {
margin-bottom: 1.5rem !important;
}
- .ml-lg-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-lg-4,
.mx-lg-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-lg-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-lg-5 {
margin: 3rem !important;
}
- .mt-lg-5 {
+ .mt-lg-5,
+ .my-lg-5 {
margin-top: 3rem !important;
}
- .mr-lg-5 {
+ .mr-lg-5,
+ .mx-lg-5 {
margin-right: 3rem !important;
}
- .mb-lg-5 {
+ .mb-lg-5,
+ .my-lg-5 {
margin-bottom: 3rem !important;
}
- .ml-lg-5 {
- margin-left: 3rem !important;
- }
+ .ml-lg-5,
.mx-lg-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-lg-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-lg-0 {
padding: 0 !important;
}
- .pt-lg-0 {
+ .pt-lg-0,
+ .py-lg-0 {
padding-top: 0 !important;
}
- .pr-lg-0 {
+ .pr-lg-0,
+ .px-lg-0 {
padding-right: 0 !important;
}
- .pb-lg-0 {
+ .pb-lg-0,
+ .py-lg-0 {
padding-bottom: 0 !important;
}
- .pl-lg-0 {
- padding-left: 0 !important;
- }
+ .pl-lg-0,
.px-lg-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-lg-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-lg-1 {
padding: 0.25rem !important;
}
- .pt-lg-1 {
+ .pt-lg-1,
+ .py-lg-1 {
padding-top: 0.25rem !important;
}
- .pr-lg-1 {
+ .pr-lg-1,
+ .px-lg-1 {
padding-right: 0.25rem !important;
}
- .pb-lg-1 {
+ .pb-lg-1,
+ .py-lg-1 {
padding-bottom: 0.25rem !important;
}
- .pl-lg-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-lg-1,
.px-lg-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-lg-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-lg-2 {
padding: 0.5rem !important;
}
- .pt-lg-2 {
+ .pt-lg-2,
+ .py-lg-2 {
padding-top: 0.5rem !important;
}
- .pr-lg-2 {
+ .pr-lg-2,
+ .px-lg-2 {
padding-right: 0.5rem !important;
}
- .pb-lg-2 {
+ .pb-lg-2,
+ .py-lg-2 {
padding-bottom: 0.5rem !important;
}
- .pl-lg-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-lg-2,
.px-lg-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-lg-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-lg-3 {
padding: 1rem !important;
}
- .pt-lg-3 {
+ .pt-lg-3,
+ .py-lg-3 {
padding-top: 1rem !important;
}
- .pr-lg-3 {
+ .pr-lg-3,
+ .px-lg-3 {
padding-right: 1rem !important;
}
- .pb-lg-3 {
+ .pb-lg-3,
+ .py-lg-3 {
padding-bottom: 1rem !important;
}
- .pl-lg-3 {
- padding-left: 1rem !important;
- }
+ .pl-lg-3,
.px-lg-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-lg-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-lg-4 {
padding: 1.5rem !important;
}
- .pt-lg-4 {
+ .pt-lg-4,
+ .py-lg-4 {
padding-top: 1.5rem !important;
}
- .pr-lg-4 {
+ .pr-lg-4,
+ .px-lg-4 {
padding-right: 1.5rem !important;
}
- .pb-lg-4 {
+ .pb-lg-4,
+ .py-lg-4 {
padding-bottom: 1.5rem !important;
}
- .pl-lg-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-lg-4,
.px-lg-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-lg-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-lg-5 {
padding: 3rem !important;
}
- .pt-lg-5 {
+ .pt-lg-5,
+ .py-lg-5 {
padding-top: 3rem !important;
}
- .pr-lg-5 {
+ .pr-lg-5,
+ .px-lg-5 {
padding-right: 3rem !important;
}
- .pb-lg-5 {
+ .pb-lg-5,
+ .py-lg-5 {
padding-bottom: 3rem !important;
}
- .pl-lg-5 {
- padding-left: 3rem !important;
- }
+ .pl-lg-5,
.px-lg-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-lg-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-lg-auto {
margin: auto !important;
}
- .mt-lg-auto {
+ .mt-lg-auto,
+ .my-lg-auto {
margin-top: auto !important;
}
- .mr-lg-auto {
+ .mr-lg-auto,
+ .mx-lg-auto {
margin-right: auto !important;
}
- .mb-lg-auto {
+ .mb-lg-auto,
+ .my-lg-auto {
margin-bottom: auto !important;
}
- .ml-lg-auto {
- margin-left: auto !important;
- }
+ .ml-lg-auto,
.mx-lg-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-lg-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 1200px) {
.m-xl-0 {
margin: 0 !important;
}
- .mt-xl-0 {
+ .mt-xl-0,
+ .my-xl-0 {
margin-top: 0 !important;
}
- .mr-xl-0 {
+ .mr-xl-0,
+ .mx-xl-0 {
margin-right: 0 !important;
}
- .mb-xl-0 {
+ .mb-xl-0,
+ .my-xl-0 {
margin-bottom: 0 !important;
}
- .ml-xl-0 {
- margin-left: 0 !important;
- }
+ .ml-xl-0,
.mx-xl-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-xl-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-xl-1 {
margin: 0.25rem !important;
}
- .mt-xl-1 {
+ .mt-xl-1,
+ .my-xl-1 {
margin-top: 0.25rem !important;
}
- .mr-xl-1 {
+ .mr-xl-1,
+ .mx-xl-1 {
margin-right: 0.25rem !important;
}
- .mb-xl-1 {
+ .mb-xl-1,
+ .my-xl-1 {
margin-bottom: 0.25rem !important;
}
- .ml-xl-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-xl-1,
.mx-xl-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-xl-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-xl-2 {
margin: 0.5rem !important;
}
- .mt-xl-2 {
+ .mt-xl-2,
+ .my-xl-2 {
margin-top: 0.5rem !important;
}
- .mr-xl-2 {
+ .mr-xl-2,
+ .mx-xl-2 {
margin-right: 0.5rem !important;
}
- .mb-xl-2 {
+ .mb-xl-2,
+ .my-xl-2 {
margin-bottom: 0.5rem !important;
}
- .ml-xl-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-xl-2,
.mx-xl-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-xl-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-xl-3 {
margin: 1rem !important;
}
- .mt-xl-3 {
+ .mt-xl-3,
+ .my-xl-3 {
margin-top: 1rem !important;
}
- .mr-xl-3 {
+ .mr-xl-3,
+ .mx-xl-3 {
margin-right: 1rem !important;
}
- .mb-xl-3 {
+ .mb-xl-3,
+ .my-xl-3 {
margin-bottom: 1rem !important;
}
- .ml-xl-3 {
- margin-left: 1rem !important;
- }
+ .ml-xl-3,
.mx-xl-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-xl-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-xl-4 {
margin: 1.5rem !important;
}
- .mt-xl-4 {
+ .mt-xl-4,
+ .my-xl-4 {
margin-top: 1.5rem !important;
}
- .mr-xl-4 {
+ .mr-xl-4,
+ .mx-xl-4 {
margin-right: 1.5rem !important;
}
- .mb-xl-4 {
+ .mb-xl-4,
+ .my-xl-4 {
margin-bottom: 1.5rem !important;
}
- .ml-xl-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-xl-4,
.mx-xl-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-xl-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-xl-5 {
margin: 3rem !important;
}
- .mt-xl-5 {
+ .mt-xl-5,
+ .my-xl-5 {
margin-top: 3rem !important;
}
- .mr-xl-5 {
+ .mr-xl-5,
+ .mx-xl-5 {
margin-right: 3rem !important;
}
- .mb-xl-5 {
+ .mb-xl-5,
+ .my-xl-5 {
margin-bottom: 3rem !important;
}
- .ml-xl-5 {
- margin-left: 3rem !important;
- }
+ .ml-xl-5,
.mx-xl-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-xl-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-xl-0 {
padding: 0 !important;
}
- .pt-xl-0 {
+ .pt-xl-0,
+ .py-xl-0 {
padding-top: 0 !important;
}
- .pr-xl-0 {
+ .pr-xl-0,
+ .px-xl-0 {
padding-right: 0 !important;
}
- .pb-xl-0 {
+ .pb-xl-0,
+ .py-xl-0 {
padding-bottom: 0 !important;
}
- .pl-xl-0 {
- padding-left: 0 !important;
- }
+ .pl-xl-0,
.px-xl-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-xl-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-xl-1 {
padding: 0.25rem !important;
}
- .pt-xl-1 {
+ .pt-xl-1,
+ .py-xl-1 {
padding-top: 0.25rem !important;
}
- .pr-xl-1 {
+ .pr-xl-1,
+ .px-xl-1 {
padding-right: 0.25rem !important;
}
- .pb-xl-1 {
+ .pb-xl-1,
+ .py-xl-1 {
padding-bottom: 0.25rem !important;
}
- .pl-xl-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-xl-1,
.px-xl-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-xl-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-xl-2 {
padding: 0.5rem !important;
}
- .pt-xl-2 {
+ .pt-xl-2,
+ .py-xl-2 {
padding-top: 0.5rem !important;
}
- .pr-xl-2 {
+ .pr-xl-2,
+ .px-xl-2 {
padding-right: 0.5rem !important;
}
- .pb-xl-2 {
+ .pb-xl-2,
+ .py-xl-2 {
padding-bottom: 0.5rem !important;
}
- .pl-xl-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-xl-2,
.px-xl-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-xl-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-xl-3 {
padding: 1rem !important;
}
- .pt-xl-3 {
+ .pt-xl-3,
+ .py-xl-3 {
padding-top: 1rem !important;
}
- .pr-xl-3 {
+ .pr-xl-3,
+ .px-xl-3 {
padding-right: 1rem !important;
}
- .pb-xl-3 {
+ .pb-xl-3,
+ .py-xl-3 {
padding-bottom: 1rem !important;
}
- .pl-xl-3 {
- padding-left: 1rem !important;
- }
+ .pl-xl-3,
.px-xl-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-xl-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-xl-4 {
padding: 1.5rem !important;
}
- .pt-xl-4 {
+ .pt-xl-4,
+ .py-xl-4 {
padding-top: 1.5rem !important;
}
- .pr-xl-4 {
+ .pr-xl-4,
+ .px-xl-4 {
padding-right: 1.5rem !important;
}
- .pb-xl-4 {
+ .pb-xl-4,
+ .py-xl-4 {
padding-bottom: 1.5rem !important;
}
- .pl-xl-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-xl-4,
.px-xl-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-xl-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-xl-5 {
padding: 3rem !important;
}
- .pt-xl-5 {
+ .pt-xl-5,
+ .py-xl-5 {
padding-top: 3rem !important;
}
- .pr-xl-5 {
+ .pr-xl-5,
+ .px-xl-5 {
padding-right: 3rem !important;
}
- .pb-xl-5 {
+ .pb-xl-5,
+ .py-xl-5 {
padding-bottom: 3rem !important;
}
- .pl-xl-5 {
- padding-left: 3rem !important;
- }
+ .pl-xl-5,
.px-xl-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-xl-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-xl-auto {
margin: auto !important;
}
- .mt-xl-auto {
+ .mt-xl-auto,
+ .my-xl-auto {
margin-top: auto !important;
}
- .mr-xl-auto {
+ .mr-xl-auto,
+ .mx-xl-auto {
margin-right: auto !important;
}
- .mb-xl-auto {
+ .mb-xl-auto,
+ .my-xl-auto {
margin-bottom: auto !important;
}
- .ml-xl-auto {
- margin-left: auto !important;
- }
+ .ml-xl-auto,
.mx-xl-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-xl-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
.text-justify {
@@ -8105,16 +8285,20 @@ a.bg-dark:focus, a.bg-dark:hover {
text-transform: capitalize !important;
}
+.font-weight-light {
+ font-weight: 300 !important;
+}
+
.font-weight-normal {
- font-weight: normal;
+ font-weight: 400 !important;
}
.font-weight-bold {
- font-weight: bold;
+ font-weight: 700 !important;
}
.font-italic {
- font-style: italic;
+ font-style: italic !important;
}
.text-white {
@@ -8272,7 +8456,7 @@ Todo: check, if this is needed? (It doesn't work with the build system)
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link {
- color: white;
+ color: #fff;
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link:hover, .tobago-bar.navbar-dark .navbar-brand > .tobago-link:focus {
@@ -8484,8 +8668,8 @@ table.tobago-gridLayout > tbody > tr:first-child > td {
/* image ----------------------------------------------------------- */
.tobago-image-markup-disabled {
- -webkit-filter: blur(2px) contrast(0.5) brightness(1.2);
- filter: blur(2px) contrast(0.5) brightness(1.2);
+ -webkit-filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
+ filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
}
/* in ----------------------------------------------------------- */
@@ -8867,14 +9051,14 @@ h1 > .fa:first-child, h2 > .fa:first-child, h3 > .fa:first-child, h4 > .fa:first
/* inline */
.tobago-selectBooleanCheckbox.form-check {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
margin-bottom: 0;
}
.tobago-selectManyCheckbox-inline, .tobago-selectOneRadio-inline {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
}
.tobago-selectManyCheckbox-inline .form-check.form-check-inline, .tobago-selectOneRadio-inline .form-check.form-check-inline {
diff --git a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css.map b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css.map
index b778894..54f009a 100644
--- a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css.map
+++ b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.css.map
@@ -1 +1 @@
-{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixi [...]
\ No newline at end of file
+{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_root.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_gri [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css
index 5ae0b08..6531d25 100644
--- a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css
+++ b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td, [...]
+ */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#868e96;--gray-dark:#343a40;--primary:#007bff;--secondary:#868e96;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-s [...]
/*# sourceMappingURL=bootstrap.min.css.map */
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css.map b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css.map
index 09f3059..085db5a 100644
--- a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css.map
+++ b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/css/bootstrap.min.css.map
@@ -1 +1 @@
-{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../s [...]
\ No newline at end of file
+{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_root.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_br [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/js/bootstrap.js b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/js/bootstrap.js
index 7597fb3..630a9e0 100644
--- a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/js/bootstrap.js
+++ b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/js/bootstrap.js
@@ -1,63 +1,39 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-if (typeof jQuery === 'undefined') {
- throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
-}
-
-(function ($) {
- var version = $.fn.jquery.split(' ')[0].split('.')
- if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 4)) {
- throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')
- }
-})(jQuery);
-
-(function () {
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap = (function (exports,$,Popper) {
+'use strict';
-var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) [...]
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
+Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): util.js
+ * Bootstrap (v4.0.0-beta.2): util.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Util = function ($) {
-
+var Util = function () {
/**
* ------------------------------------------------------------------------
* Private TransitionEnd Helpers
* ------------------------------------------------------------------------
*/
-
var transition = false;
-
var MAX_UID = 1000000;
-
var TransitionEndEvent = {
WebkitTransition: 'webkitTransitionEnd',
MozTransition: 'transitionend',
OTransition: 'oTransitionEnd otransitionend',
- transition: 'transitionend'
+ transition: 'transitionend' // shoutout AngusCroll (https://goo.gl/pxwQGp)
- // shoutout AngusCroll (https://goo.gl/pxwQGp)
- };function toType(obj) {
- return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
- }
+ };
- function isElement(obj) {
- return (obj[0] || obj).nodeType;
+ function toType(obj) {
+ return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
}
function getSpecialTransitionEndEvent() {
@@ -68,7 +44,8 @@ var Util = function ($) {
if ($(event.target).is(this)) {
return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
}
- return undefined;
+
+ return undefined; // eslint-disable-line no-undefined
}
};
}
@@ -81,7 +58,7 @@ var Util = function ($) {
var el = document.createElement('bootstrap');
for (var name in TransitionEndEvent) {
- if (el.style[name] !== undefined) {
+ if (typeof el.style[name] !== 'undefined') {
return {
end: TransitionEndEvent[name]
};
@@ -95,55 +72,51 @@ var Util = function ($) {
var _this = this;
var called = false;
-
$(this).one(Util.TRANSITION_END, function () {
called = true;
});
-
setTimeout(function () {
if (!called) {
Util.triggerTransitionEnd(_this);
}
}, duration);
-
return this;
}
function setTransitionEndSupport() {
transition = transitionEndTest();
-
$.fn.emulateTransitionEnd = transitionEndEmulator;
if (Util.supportsTransitionEnd()) {
$.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
}
}
-
/**
* --------------------------------------------------------------------------
* Public Util Api
* --------------------------------------------------------------------------
*/
- var Util = {
+ var Util = {
TRANSITION_END: 'bsTransitionEnd',
-
getUID: function getUID(prefix) {
do {
// eslint-disable-next-line no-bitwise
prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
+
return prefix;
},
getSelectorFromElement: function getSelectorFromElement(element) {
var selector = element.getAttribute('data-target');
+
if (!selector || selector === '#') {
selector = element.getAttribute('href') || '';
}
try {
- var $selector = $(selector);
+ var $selector = $(document).find(selector);
return $selector.length > 0 ? selector : null;
} catch (error) {
return null;
@@ -158,64 +131,85 @@ var Util = function ($) {
supportsTransitionEnd: function supportsTransitionEnd() {
return Boolean(transition);
},
+ isElement: function isElement(obj) {
+ return (obj[0] || obj).nodeType;
+ },
typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) {
for (var property in configTypes) {
- if (configTypes.hasOwnProperty(property)) {
+ if (Object.prototype.hasOwnProperty.call(configTypes, property)) {
var expectedTypes = configTypes[property];
var value = config[property];
- var valueType = value && isElement(value) ? 'element' : toType(value);
+ var valueType = value && Util.isElement(value) ? 'element' : toType(value);
if (!new RegExp(expectedTypes).test(valueType)) {
- throw new Error(componentName.toUpperCase() + ': ' + ('Option "' + property + '" provided type "' + valueType + '" ') + ('but expected type "' + expectedTypes + '".'));
+ throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\"."));
}
}
}
}
};
-
setTransitionEndSupport();
-
return Util;
-}(jQuery);
+}($);
+
+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);
+ }
+}
+
+function _createClass(Constructor, protoProps, staticProps) {
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
+ if (staticProps) _defineProperties(Constructor, staticProps);
+ return Constructor;
+}
+
+var createClass = _createClass;
+
+function _inheritsLoose(subClass, superClass) {
+ subClass.prototype = Object.create(superClass.prototype);
+ subClass.prototype.constructor = subClass;
+ subClass.__proto__ = superClass;
+}
+
+var inheritsLoose = _inheritsLoose;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): alert.js
+ * Bootstrap (v4.0.0-beta.2): alert.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Alert = function ($) {
-
+var Alert = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'alert';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.alert';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 150;
-
var Selector = {
DISMISS: '[data-dismiss="alert"]'
};
-
var Event = {
- CLOSE: 'close' + EVENT_KEY,
- CLOSED: 'closed' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ CLOSE: "close" + EVENT_KEY,
+ CLOSED: "closed" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
ALERT: 'alert',
FADE: 'fade',
SHOW: 'show'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -223,21 +217,23 @@ var Alert = function ($) {
*/
};
- var Alert = function () {
- function Alert(element) {
- _classCallCheck(this, Alert);
+ var Alert =
+ /*#__PURE__*/
+ function () {
+ function Alert(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Alert.prototype;
- Alert.prototype.close = function close(element) {
+ // public
+ _proto.close = function close(element) {
element = element || this._element;
var rootElement = this._getRootElement(element);
+
var customEvent = this._triggerCloseEvent(rootElement);
if (customEvent.isDefaultPrevented()) {
@@ -247,14 +243,13 @@ var Alert = function ($) {
this._removeElement(rootElement);
};
- Alert.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // private
- // private
- Alert.prototype._getRootElement = function _getRootElement(element) {
+ _proto._getRootElement = function _getRootElement(element) {
var selector = Util.getSelectorFromElement(element);
var parent = false;
@@ -263,39 +258,38 @@ var Alert = function ($) {
}
if (!parent) {
- parent = $(element).closest('.' + ClassName.ALERT)[0];
+ parent = $(element).closest("." + ClassName.ALERT)[0];
}
return parent;
};
- Alert.prototype._triggerCloseEvent = function _triggerCloseEvent(element) {
+ _proto._triggerCloseEvent = function _triggerCloseEvent(element) {
var closeEvent = $.Event(Event.CLOSE);
-
$(element).trigger(closeEvent);
return closeEvent;
};
- Alert.prototype._removeElement = function _removeElement(element) {
- var _this2 = this;
+ _proto._removeElement = function _removeElement(element) {
+ var _this = this;
$(element).removeClass(ClassName.SHOW);
if (!Util.supportsTransitionEnd() || !$(element).hasClass(ClassName.FADE)) {
this._destroyElement(element);
+
return;
}
$(element).one(Util.TRANSITION_END, function (event) {
- return _this2._destroyElement(element, event);
+ return _this._destroyElement(element, event);
}).emulateTransitionEnd(TRANSITION_DURATION);
};
- Alert.prototype._destroyElement = function _destroyElement(element) {
+ _proto._destroyElement = function _destroyElement(element) {
$(element).detach().trigger(Event.CLOSED).remove();
- };
+ }; // static
- // static
Alert._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -323,24 +317,22 @@ var Alert = function ($) {
};
};
- _createClass(Alert, null, [{
- key: 'VERSION',
+ createClass(Alert, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Alert;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
+ $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
/**
* ------------------------------------------------------------------------
* jQuery
@@ -349,42 +341,39 @@ var Alert = function ($) {
$.fn[NAME] = Alert._jQueryInterface;
$.fn[NAME].Constructor = Alert;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Alert._jQueryInterface;
};
return Alert;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): button.js
+ * Bootstrap (v4.0.0-beta.2): button.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Button = function ($) {
-
+var Button = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'button';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.button';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
-
var ClassName = {
ACTIVE: 'active',
BUTTON: 'btn',
FOCUS: 'focus'
};
-
var Selector = {
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
DATA_TOGGLE: '[data-toggle="buttons"]',
@@ -392,11 +381,9 @@ var Button = function ($) {
ACTIVE: '.active',
BUTTON: '.btn'
};
-
var Event = {
- 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)
-
+ 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)
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -404,18 +391,19 @@ var Button = function ($) {
*/
};
- var Button = function () {
- function Button(element) {
- _classCallCheck(this, Button);
+ var Button =
+ /*#__PURE__*/
+ function () {
+ function Button(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Button.prototype;
- Button.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
var triggerChangeEvent = true;
var addAriaPressed = true;
var rootElement = $(this._element).closest(Selector.DATA_TOGGLE)[0];
@@ -440,6 +428,7 @@ var Button = function ($) {
if (input.hasAttribute('disabled') || rootElement.hasAttribute('disabled') || input.classList.contains('disabled') || rootElement.classList.contains('disabled')) {
return;
}
+
input.checked = !$(this._element).hasClass(ClassName.ACTIVE);
$(input).trigger('change');
}
@@ -458,12 +447,11 @@ var Button = function ($) {
}
};
- Button.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // static
- // static
Button._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -480,25 +468,23 @@ var Button = function ($) {
});
};
- _createClass(Button, null, [{
- key: 'VERSION',
+ createClass(Button, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Button;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) {
event.preventDefault();
-
var button = event.target;
if (!$(button).hasClass(ClassName.BUTTON)) {
@@ -510,7 +496,6 @@ var Button = function ($) {
var button = $(event.target).closest(Selector.BUTTON)[0];
$(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type));
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -519,38 +504,39 @@ var Button = function ($) {
$.fn[NAME] = Button._jQueryInterface;
$.fn[NAME].Constructor = Button;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Button._jQueryInterface;
};
return Button;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): carousel.js
+ * Bootstrap (v4.0.0-beta.2): carousel.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Carousel = function ($) {
-
+var Carousel = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'carousel';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.carousel';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
var ARROW_LEFT_KEYCODE = 37; // KeyboardEvent.which value for left arrow key
+
var ARROW_RIGHT_KEYCODE = 39; // KeyboardEvent.which value for right arrow key
+
var TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch
var Default = {
@@ -560,7 +546,6 @@ var Carousel = function ($) {
pause: 'hover',
wrap: true
};
-
var DefaultType = {
interval: '(number|boolean)',
keyboard: 'boolean',
@@ -568,25 +553,22 @@ var Carousel = function ($) {
pause: '(string|boolean)',
wrap: 'boolean'
};
-
var Direction = {
NEXT: 'next',
PREV: 'prev',
LEFT: 'left',
RIGHT: 'right'
};
-
var Event = {
- SLIDE: 'slide' + EVENT_KEY,
- SLID: 'slid' + EVENT_KEY,
- KEYDOWN: 'keydown' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY,
- TOUCHEND: 'touchend' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SLIDE: "slide" + EVENT_KEY,
+ SLID: "slid" + EVENT_KEY,
+ KEYDOWN: "keydown" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY,
+ TOUCHEND: "touchend" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
CAROUSEL: 'carousel',
ACTIVE: 'active',
@@ -597,7 +579,6 @@ var Carousel = function ($) {
PREV: 'carousel-item-prev',
ITEM: 'carousel-item'
};
-
var Selector = {
ACTIVE: '.active',
ACTIVE_ITEM: '.active.carousel-item',
@@ -606,7 +587,6 @@ var Carousel = function ($) {
INDICATORS: '.carousel-indicators',
DATA_SLIDE: '[data-slide], [data-slide-to]',
DATA_RIDE: '[data-ride="carousel"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -614,50 +594,49 @@ var Carousel = function ($) {
*/
};
- var Carousel = function () {
- function Carousel(element, config) {
- _classCallCheck(this, Carousel);
+ var Carousel =
+ /*#__PURE__*/
+ function () {
+ function Carousel(element, config) {
this._items = null;
this._interval = null;
this._activeElement = null;
-
this._isPaused = false;
this._isSliding = false;
-
this.touchTimeout = null;
-
this._config = this._getConfig(config);
this._element = $(element)[0];
this._indicatorsElement = $(this._element).find(Selector.INDICATORS)[0];
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Carousel.prototype;
- Carousel.prototype.next = function next() {
+ // public
+ _proto.next = function next() {
if (!this._isSliding) {
this._slide(Direction.NEXT);
}
};
- Carousel.prototype.nextWhenVisible = function nextWhenVisible() {
+ _proto.nextWhenVisible = function nextWhenVisible() {
// Don't call next when the page isn't visible
- if (!document.hidden) {
+ // or the carousel or its parent isn't visible
+ if (!document.hidden && $(this._element).is(':visible') && $(this._element).css('visibility') !== 'hidden') {
this.next();
}
};
- Carousel.prototype.prev = function prev() {
+ _proto.prev = function prev() {
if (!this._isSliding) {
this._slide(Direction.PREV);
}
};
- Carousel.prototype.pause = function pause(event) {
+ _proto.pause = function pause(event) {
if (!event) {
this._isPaused = true;
}
@@ -671,7 +650,7 @@ var Carousel = function ($) {
this._interval = null;
};
- Carousel.prototype.cycle = function cycle(event) {
+ _proto.cycle = function cycle(event) {
if (!event) {
this._isPaused = false;
}
@@ -686,8 +665,8 @@ var Carousel = function ($) {
}
};
- Carousel.prototype.to = function to(index) {
- var _this3 = this;
+ _proto.to = function to(index) {
+ var _this = this;
this._activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
@@ -699,7 +678,7 @@ var Carousel = function ($) {
if (this._isSliding) {
$(this._element).one(Event.SLID, function () {
- return _this3.to(index);
+ return _this.to(index);
});
return;
}
@@ -715,10 +694,9 @@ var Carousel = function ($) {
this._slide(direction, this._items[index]);
};
- Carousel.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$(this._element).off(EVENT_KEY);
$.removeData(this._element, DATA_KEY);
-
this._items = null;
this._config = null;
this._element = null;
@@ -727,31 +705,31 @@ var Carousel = function ($) {
this._isSliding = null;
this._activeElement = null;
this._indicatorsElement = null;
- };
+ }; // private
- // private
- Carousel.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Carousel.prototype._addEventListeners = function _addEventListeners() {
- var _this4 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this2 = this;
if (this._config.keyboard) {
$(this._element).on(Event.KEYDOWN, function (event) {
- return _this4._keydown(event);
+ return _this2._keydown(event);
});
}
if (this._config.pause === 'hover') {
$(this._element).on(Event.MOUSEENTER, function (event) {
- return _this4.pause(event);
+ return _this2.pause(event);
}).on(Event.MOUSELEAVE, function (event) {
- return _this4.cycle(event);
+ return _this2.cycle(event);
});
+
if ('ontouchstart' in document.documentElement) {
// if it's a touch-enabled device, mouseenter/leave are fired as
// part of the mouse compatibility events on first tap - the carousel
@@ -761,19 +739,21 @@ var Carousel = function ($) {
// is NOT fired) and after a timeout (to allow for mouse compatibility
// events to fire) we explicitly restart cycling
$(this._element).on(Event.TOUCHEND, function () {
- _this4.pause();
- if (_this4.touchTimeout) {
- clearTimeout(_this4.touchTimeout);
+ _this2.pause();
+
+ if (_this2.touchTimeout) {
+ clearTimeout(_this2.touchTimeout);
}
- _this4.touchTimeout = setTimeout(function (event) {
- return _this4.cycle(event);
- }, TOUCHEVENT_COMPAT_WAIT + _this4._config.interval);
+
+ _this2.touchTimeout = setTimeout(function (event) {
+ return _this2.cycle(event);
+ }, TOUCHEVENT_COMPAT_WAIT + _this2._config.interval);
});
}
}
};
- Carousel.prototype._keydown = function _keydown(event) {
+ _proto._keydown = function _keydown(event) {
if (/input|textarea/i.test(event.target.tagName)) {
return;
}
@@ -783,24 +763,28 @@ var Carousel = function ($) {
event.preventDefault();
this.prev();
break;
+
case ARROW_RIGHT_KEYCODE:
event.preventDefault();
this.next();
break;
+
default:
return;
}
};
- Carousel.prototype._getItemIndex = function _getItemIndex(element) {
+ _proto._getItemIndex = function _getItemIndex(element) {
this._items = $.makeArray($(element).parent().find(Selector.ITEM));
return this._items.indexOf(element);
};
- Carousel.prototype._getItemByDirection = function _getItemByDirection(direction, activeElement) {
+ _proto._getItemByDirection = function _getItemByDirection(direction, activeElement) {
var isNextDirection = direction === Direction.NEXT;
var isPrevDirection = direction === Direction.PREV;
+
var activeIndex = this._getItemIndex(activeElement);
+
var lastItemIndex = this._items.length - 1;
var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex;
@@ -810,26 +794,25 @@ var Carousel = function ($) {
var delta = direction === Direction.PREV ? -1 : 1;
var itemIndex = (activeIndex + delta) % this._items.length;
-
return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex];
};
- Carousel.prototype._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
+ _proto._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
var targetIndex = this._getItemIndex(relatedTarget);
+
var fromIndex = this._getItemIndex($(this._element).find(Selector.ACTIVE_ITEM)[0]);
+
var slideEvent = $.Event(Event.SLIDE, {
relatedTarget: relatedTarget,
direction: eventDirectionName,
from: fromIndex,
to: targetIndex
});
-
$(this._element).trigger(slideEvent);
-
return slideEvent;
};
- Carousel.prototype._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
+ _proto._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
if (this._indicatorsElement) {
$(this._indicatorsElement).find(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
@@ -841,18 +824,21 @@ var Carousel = function ($) {
}
};
- Carousel.prototype._slide = function _slide(direction, element) {
- var _this5 = this;
+ _proto._slide = function _slide(direction, element) {
+ var _this3 = this;
var activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
+
var activeElementIndex = this._getItemIndex(activeElement);
+
var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement);
+
var nextElementIndex = this._getItemIndex(nextElement);
- var isCycling = Boolean(this._interval);
- var directionalClassName = void 0;
- var orderClassName = void 0;
- var eventDirectionName = void 0;
+ var isCycling = Boolean(this._interval);
+ var directionalClassName;
+ var orderClassName;
+ var eventDirectionName;
if (direction === Direction.NEXT) {
directionalClassName = ClassName.LEFT;
@@ -870,6 +856,7 @@ var Carousel = function ($) {
}
var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);
+
if (slideEvent.isDefaultPrevented()) {
return;
}
@@ -895,29 +882,21 @@ var Carousel = function ($) {
});
if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.SLIDE)) {
-
$(nextElement).addClass(orderClassName);
-
Util.reflow(nextElement);
-
$(activeElement).addClass(directionalClassName);
$(nextElement).addClass(directionalClassName);
-
$(activeElement).one(Util.TRANSITION_END, function () {
- $(nextElement).removeClass(directionalClassName + ' ' + orderClassName).addClass(ClassName.ACTIVE);
-
- $(activeElement).removeClass(ClassName.ACTIVE + ' ' + orderClassName + ' ' + directionalClassName);
-
- _this5._isSliding = false;
-
+ $(nextElement).removeClass(directionalClassName + " " + orderClassName).addClass(ClassName.ACTIVE);
+ $(activeElement).removeClass(ClassName.ACTIVE + " " + orderClassName + " " + directionalClassName);
+ _this3._isSliding = false;
setTimeout(function () {
- return $(_this5._element).trigger(slidEvent);
+ return $(_this3._element).trigger(slidEvent);
}, 0);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
$(activeElement).removeClass(ClassName.ACTIVE);
$(nextElement).addClass(ClassName.ACTIVE);
-
this._isSliding = false;
$(this._element).trigger(slidEvent);
}
@@ -925,16 +904,16 @@ var Carousel = function ($) {
if (isCycling) {
this.cycle();
}
- };
+ }; // static
- // static
Carousel._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
+
var _config = $.extend({}, Default, $(this).data());
- if ((typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object') {
+ if (typeof config === 'object') {
$.extend(_config, config);
}
@@ -948,9 +927,10 @@ var Carousel = function ($) {
if (typeof config === 'number') {
data.to(config);
} else if (typeof action === 'string') {
- if (data[action] === undefined) {
- throw new Error('No method named "' + action + '"');
+ if (typeof data[action] === 'undefined') {
+ throw new Error("No method named \"" + action + "\"");
}
+
data[action]();
} else if (_config.interval) {
data.pause();
@@ -988,36 +968,34 @@ var Carousel = function ($) {
event.preventDefault();
};
- _createClass(Carousel, null, [{
- key: 'VERSION',
+ createClass(Carousel, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Carousel;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
$(window).on(Event.LOAD_DATA_API, function () {
$(Selector.DATA_RIDE).each(function () {
var $carousel = $(this);
+
Carousel._jQueryInterface.call($carousel, $carousel.data());
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1026,71 +1004,63 @@ var Carousel = function ($) {
$.fn[NAME] = Carousel._jQueryInterface;
$.fn[NAME].Constructor = Carousel;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Carousel._jQueryInterface;
};
return Carousel;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): collapse.js
+ * Bootstrap (v4.0.0-beta.2): collapse.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Collapse = function ($) {
-
+var Collapse = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'collapse';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.collapse';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
-
var Default = {
toggle: true,
parent: ''
};
-
var DefaultType = {
toggle: 'boolean',
- parent: 'string'
+ parent: '(string|element)'
};
-
var Event = {
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SHOW: 'show',
COLLAPSE: 'collapse',
COLLAPSING: 'collapsing',
COLLAPSED: 'collapsed'
};
-
var Dimension = {
WIDTH: 'width',
HEIGHT: 'height'
};
-
var Selector = {
ACTIVES: '.show, .collapsing',
DATA_TOGGLE: '[data-toggle="collapse"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1098,18 +1068,21 @@ var Collapse = function ($) {
*/
};
- var Collapse = function () {
- function Collapse(element, config) {
- _classCallCheck(this, Collapse);
+ var Collapse =
+ /*#__PURE__*/
+ function () {
+ function Collapse(element, config) {
this._isTransitioning = false;
this._element = element;
this._config = this._getConfig(config);
- this._triggerArray = $.makeArray($('[data-toggle="collapse"][href="#' + element.id + '"],' + ('[data-toggle="collapse"][data-target="#' + element.id + '"]')));
+ this._triggerArray = $.makeArray($("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
var tabToggles = $(Selector.DATA_TOGGLE);
+
for (var i = 0; i < tabToggles.length; i++) {
var elem = tabToggles[i];
var selector = Util.getSelectorFromElement(elem);
+
if (selector !== null && $(selector).filter(element).length > 0) {
this._triggerArray.push(elem);
}
@@ -1124,13 +1097,13 @@ var Collapse = function ($) {
if (this._config.toggle) {
this.toggle();
}
- }
+ } // getters
- // getters
- // public
+ var _proto = Collapse.prototype;
- Collapse.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if ($(this._element).hasClass(ClassName.SHOW)) {
this.hide();
} else {
@@ -1138,18 +1111,19 @@ var Collapse = function ($) {
}
};
- Collapse.prototype.show = function show() {
- var _this6 = this;
+ _proto.show = function show() {
+ var _this = this;
if (this._isTransitioning || $(this._element).hasClass(ClassName.SHOW)) {
return;
}
- var actives = void 0;
- var activesData = void 0;
+ var actives;
+ var activesData;
if (this._parent) {
actives = $.makeArray($(this._parent).children().children(Selector.ACTIVES));
+
if (!actives.length) {
actives = null;
}
@@ -1157,6 +1131,7 @@ var Collapse = function ($) {
if (actives) {
activesData = $(actives).data(DATA_KEY);
+
if (activesData && activesData._isTransitioning) {
return;
}
@@ -1164,12 +1139,14 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.SHOW);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
if (actives) {
Collapse._jQueryInterface.call($(actives), 'hide');
+
if (!activesData) {
$(actives).data(DATA_KEY, null);
}
@@ -1178,7 +1155,6 @@ var Collapse = function ($) {
var dimension = this._getDimension();
$(this._element).removeClass(ClassName.COLLAPSE).addClass(ClassName.COLLAPSING);
-
this._element.style[dimension] = 0;
if (this._triggerArray.length) {
@@ -1188,13 +1164,12 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- $(_this6._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
-
- _this6._element.style[dimension] = '';
+ $(_this._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
+ _this._element.style[dimension] = '';
- _this6.setTransitioning(false);
+ _this.setTransitioning(false);
- $(_this6._element).trigger(Event.SHOWN);
+ $(_this._element).trigger(Event.SHOWN);
};
if (!Util.supportsTransitionEnd()) {
@@ -1203,15 +1178,13 @@ var Collapse = function ($) {
}
var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);
- var scrollSize = 'scroll' + capitalizedDimension;
-
+ var scrollSize = "scroll" + capitalizedDimension;
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
-
- this._element.style[dimension] = this._element[scrollSize] + 'px';
+ this._element.style[dimension] = this._element[scrollSize] + "px";
};
- Collapse.prototype.hide = function hide() {
- var _this7 = this;
+ _proto.hide = function hide() {
+ var _this2 = this;
if (this._isTransitioning || !$(this._element).hasClass(ClassName.SHOW)) {
return;
@@ -1219,24 +1192,25 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.HIDE);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
var dimension = this._getDimension();
- this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + 'px';
-
+ this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + "px";
Util.reflow(this._element);
-
$(this._element).addClass(ClassName.COLLAPSING).removeClass(ClassName.COLLAPSE).removeClass(ClassName.SHOW);
if (this._triggerArray.length) {
for (var i = 0; i < this._triggerArray.length; i++) {
var trigger = this._triggerArray[i];
var selector = Util.getSelectorFromElement(trigger);
+
if (selector !== null) {
var $elem = $(selector);
+
if (!$elem.hasClass(ClassName.SHOW)) {
$(trigger).addClass(ClassName.COLLAPSED).attr('aria-expanded', false);
}
@@ -1247,8 +1221,9 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- _this7.setTransitioning(false);
- $(_this7._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
+ _this2.setTransitioning(false);
+
+ $(_this2._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
};
this._element.style[dimension] = '';
@@ -1261,48 +1236,56 @@ var Collapse = function ($) {
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
};
- Collapse.prototype.setTransitioning = function setTransitioning(isTransitioning) {
+ _proto.setTransitioning = function setTransitioning(isTransitioning) {
this._isTransitioning = isTransitioning;
};
- Collapse.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
this._config = null;
this._parent = null;
this._element = null;
this._triggerArray = null;
this._isTransitioning = null;
- };
+ }; // private
- // private
- Collapse.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
config.toggle = Boolean(config.toggle); // coerce string values
+
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Collapse.prototype._getDimension = function _getDimension() {
+ _proto._getDimension = function _getDimension() {
var hasWidth = $(this._element).hasClass(Dimension.WIDTH);
return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT;
};
- Collapse.prototype._getParent = function _getParent() {
- var _this8 = this;
+ _proto._getParent = function _getParent() {
+ var _this3 = this;
+
+ var parent = null;
- var parent = $(this._config.parent)[0];
- var selector = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]';
+ if (Util.isElement(this._config.parent)) {
+ parent = this._config.parent; // it's a jQuery object
+
+ if (typeof this._config.parent.jquery !== 'undefined') {
+ parent = this._config.parent[0];
+ }
+ } else {
+ parent = $(this._config.parent)[0];
+ }
+ var selector = "[data-toggle=\"collapse\"][data-parent=\"" + this._config.parent + "\"]";
$(parent).find(selector).each(function (i, element) {
- _this8._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
+ _this3._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
});
-
return parent;
};
- Collapse.prototype._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
+ _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
if (element) {
var isOpen = $(element).hasClass(ClassName.SHOW);
@@ -1310,9 +1293,8 @@ var Collapse = function ($) {
$(triggerArray).toggleClass(ClassName.COLLAPSED, !isOpen).attr('aria-expanded', isOpen);
}
}
- };
+ }; // static
- // static
Collapse._getTargetFromElement = function _getTargetFromElement(element) {
var selector = Util.getSelectorFromElement(element);
@@ -1323,7 +1305,8 @@ var Collapse = function ($) {
return this.each(function () {
var $this = $(this);
var data = $this.data(DATA_KEY);
- var _config = $.extend({}, Default, $this.data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Default, $this.data(), typeof config === 'object' && config);
if (!data && _config.toggle && /show|hide/.test(config)) {
_config.toggle = false;
@@ -1335,37 +1318,38 @@ var Collapse = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Collapse, null, [{
- key: 'VERSION',
+ createClass(Collapse, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Collapse;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- if (!/input|textarea/i.test(event.target.tagName)) {
+ // preventDefault only for <a> elements (which change the URL) not inside the collapsible element
+ if (event.currentTarget.tagName === 'A') {
event.preventDefault();
}
@@ -1375,10 +1359,10 @@ var Collapse = function ($) {
var $target = $(this);
var data = $target.data(DATA_KEY);
var config = data ? 'toggle' : $trigger.data();
+
Collapse._jQueryInterface.call($target, config);
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1387,25 +1371,23 @@ var Collapse = function ($) {
$.fn[NAME] = Collapse._jQueryInterface;
$.fn[NAME].Constructor = Collapse;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Collapse._jQueryInterface;
};
return Collapse;
-}(jQuery);
-
-/* global Popper */
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): dropdown.js
+ * Bootstrap (v4.0.0-beta.2): dropdown.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Dropdown = function ($) {
-
+var Dropdown = function () {
/**
* Check for Popper dependency
* Popper - https://popper.js.org
@@ -1413,38 +1395,42 @@ var Dropdown = function ($) {
if (typeof Popper === 'undefined') {
throw new Error('Bootstrap dropdown require Popper.js (https://popper.js.org)');
}
-
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
+
var NAME = 'dropdown';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.dropdown';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key
+
var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key
+
var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key
+
var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key
+
var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key
+
var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse)
- var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + '|' + ARROW_DOWN_KEYCODE + '|' + ESCAPE_KEYCODE);
+ var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + "|" + ARROW_DOWN_KEYCODE + "|" + ESCAPE_KEYCODE);
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
- KEYDOWN_DATA_API: 'keydown' + EVENT_KEY + DATA_API_KEY,
- KEYUP_DATA_API: 'keyup' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY,
+ KEYDOWN_DATA_API: "keydown" + EVENT_KEY + DATA_API_KEY,
+ KEYUP_DATA_API: "keyup" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
DISABLED: 'disabled',
SHOW: 'show',
@@ -1452,7 +1438,6 @@ var Dropdown = function ($) {
MENURIGHT: 'dropdown-menu-right',
MENULEFT: 'dropdown-menu-left'
};
-
var Selector = {
DATA_TOGGLE: '[data-toggle="dropdown"]',
FORM_CHILD: '.dropdown form',
@@ -1460,25 +1445,19 @@ var Dropdown = function ($) {
NAVBAR_NAV: '.navbar-nav',
VISIBLE_ITEMS: '.dropdown-menu .dropdown-item:not(.disabled)'
};
-
var AttachmentMap = {
TOP: 'top-start',
TOPEND: 'top-end',
BOTTOM: 'bottom-start',
BOTTOMEND: 'bottom-end'
};
-
var Default = {
- placement: AttachmentMap.BOTTOM,
offset: 0,
flip: true
};
-
var DefaultType = {
- placement: 'string',
- offset: '(number|string)',
+ offset: '(number|string|function)',
flip: 'boolean'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1486,10 +1465,11 @@ var Dropdown = function ($) {
*/
};
- var Dropdown = function () {
- function Dropdown(element, config) {
- _classCallCheck(this, Dropdown);
+ var Dropdown =
+ /*#__PURE__*/
+ function () {
+ function Dropdown(element, config) {
this._element = element;
this._popper = null;
this._config = this._getConfig(config);
@@ -1497,18 +1477,19 @@ var Dropdown = function ($) {
this._inNavbar = this._detectNavbar();
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Dropdown.prototype;
- Dropdown.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if (this._element.disabled || $(this._element).hasClass(ClassName.DISABLED)) {
return;
}
var parent = Dropdown._getParentFromElement(this._element);
+
var isActive = $(this._menu).hasClass(ClassName.SHOW);
Dropdown._clearMenus();
@@ -1521,135 +1502,147 @@ var Dropdown = function ($) {
relatedTarget: this._element
};
var showEvent = $.Event(Event.SHOW, relatedTarget);
-
$(parent).trigger(showEvent);
if (showEvent.isDefaultPrevented()) {
return;
}
- 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
+
if ($(parent).hasClass(ClassName.DROPUP)) {
if ($(this._menu).hasClass(ClassName.MENULEFT) || $(this._menu).hasClass(ClassName.MENURIGHT)) {
element = parent;
}
}
- this._popper = new Popper(element, this._menu, this._getPopperConfig());
- // if this is a touch-enabled device we add extra
+ this._popper = new Popper(element, this._menu, this._getPopperConfig()); // if this is a touch-enabled device we add extra
// empty mouseover listeners to the body's immediate children;
// only needed because of broken event delegation on iOS
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
+
if ('ontouchstart' in document.documentElement && !$(parent).closest(Selector.NAVBAR_NAV).length) {
$('body').children().on('mouseover', null, $.noop);
}
this._element.focus();
+
this._element.setAttribute('aria-expanded', true);
$(this._menu).toggleClass(ClassName.SHOW);
$(parent).toggleClass(ClassName.SHOW).trigger($.Event(Event.SHOWN, relatedTarget));
};
- Dropdown.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
$(this._element).off(EVENT_KEY);
this._element = null;
this._menu = null;
+
if (this._popper !== null) {
this._popper.destroy();
}
+
this._popper = null;
};
- Dropdown.prototype.update = function update() {
+ _proto.update = function update() {
this._inNavbar = this._detectNavbar();
+
if (this._popper !== null) {
this._popper.scheduleUpdate();
}
- };
+ }; // private
- // private
- Dropdown.prototype._addEventListeners = function _addEventListeners() {
- var _this9 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this = this;
$(this._element).on(Event.CLICK, function (event) {
event.preventDefault();
event.stopPropagation();
- _this9.toggle();
+
+ _this.toggle();
});
};
- Dropdown.prototype._getConfig = function _getConfig(config) {
- var elementData = $(this._element).data();
- if (elementData.placement !== undefined) {
- elementData.placement = AttachmentMap[elementData.placement.toUpperCase()];
- }
-
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
-
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
-
return config;
};
- Dropdown.prototype._getMenuElement = function _getMenuElement() {
+ _proto._getMenuElement = function _getMenuElement() {
if (!this._menu) {
var parent = Dropdown._getParentFromElement(this._element);
+
this._menu = $(parent).find(Selector.MENU)[0];
}
+
return this._menu;
};
- Dropdown.prototype._getPlacement = function _getPlacement() {
+ _proto._getPlacement = function _getPlacement() {
var $parentDropdown = $(this._element).parent();
- var placement = this._config.placement;
+ var placement = AttachmentMap.BOTTOM; // Handle dropup
- // Handle dropup
- if ($parentDropdown.hasClass(ClassName.DROPUP) || this._config.placement === AttachmentMap.TOP) {
+ if ($parentDropdown.hasClass(ClassName.DROPUP)) {
placement = AttachmentMap.TOP;
+
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.TOPEND;
}
} else if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.BOTTOMEND;
}
+
return placement;
};
- Dropdown.prototype._detectNavbar = function _detectNavbar() {
+ _proto._detectNavbar = function _detectNavbar() {
return $(this._element).closest('.navbar').length > 0;
};
- Dropdown.prototype._getPopperConfig = function _getPopperConfig() {
+ _proto._getPopperConfig = function _getPopperConfig() {
+ var _this2 = this;
+
+ var offsetConf = {};
+
+ if (typeof this._config.offset === 'function') {
+ offsetConf.fn = function (data) {
+ data.offsets = $.extend({}, data.offsets, _this2._config.offset(data.offsets) || {});
+ return data;
+ };
+ } else {
+ offsetConf.offset = this._config.offset;
+ }
+
var popperConfig = {
placement: this._getPlacement(),
modifiers: {
- offset: {
- offset: this._config.offset
- },
+ offset: offsetConf,
flip: {
enabled: this._config.flip
}
- }
+ } // Disable Popper.js for Dropdown in Navbar
+
+ };
- // Disable Popper.js for Dropdown in Navbar
- };if (this._inNavbar) {
+ if (this._inNavbar) {
popperConfig.modifiers.applyStyle = {
enabled: !this._inNavbar
};
}
+
return popperConfig;
- };
+ }; // static
- // static
Dropdown._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+
+ var _config = typeof config === 'object' ? config : null;
if (!data) {
data = new Dropdown(this, _config);
@@ -1657,9 +1650,10 @@ var Dropdown = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
@@ -1671,8 +1665,10 @@ var Dropdown = function ($) {
}
var toggles = $.makeArray($(Selector.DATA_TOGGLE));
+
for (var i = 0; i < toggles.length; i++) {
var parent = Dropdown._getParentFromElement(toggles[i]);
+
var context = $(toggles[i]).data(DATA_KEY);
var relatedTarget = {
relatedTarget: toggles[i]
@@ -1683,6 +1679,7 @@ var Dropdown = function ($) {
}
var dropdownMenu = context._menu;
+
if (!$(parent).hasClass(ClassName.SHOW)) {
continue;
}
@@ -1693,25 +1690,25 @@ var Dropdown = function ($) {
var hideEvent = $.Event(Event.HIDE, relatedTarget);
$(parent).trigger(hideEvent);
+
if (hideEvent.isDefaultPrevented()) {
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
+
+
if ('ontouchstart' in document.documentElement) {
$('body').children().off('mouseover', null, $.noop);
}
toggles[i].setAttribute('aria-expanded', 'false');
-
$(dropdownMenu).removeClass(ClassName.SHOW);
$(parent).removeClass(ClassName.SHOW).trigger($.Event(Event.HIDDEN, relatedTarget));
}
};
Dropdown._getParentFromElement = function _getParentFromElement(element) {
- var parent = void 0;
+ var parent;
var selector = Util.getSelectorFromElement(element);
if (selector) {
@@ -1734,10 +1731,10 @@ var Dropdown = function ($) {
}
var parent = Dropdown._getParentFromElement(this);
+
var isActive = $(parent).hasClass(ClassName.SHOW);
if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
-
if (event.which === ESCAPE_KEYCODE) {
var toggle = $(parent).find(Selector.DATA_TOGGLE)[0];
$(toggle).trigger('focus');
@@ -1772,40 +1769,39 @@ var Dropdown = function ($) {
items[index].focus();
};
- _createClass(Dropdown, null, [{
- key: 'VERSION',
+ createClass(Dropdown, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}, {
- key: 'DefaultType',
+ key: "DefaultType",
get: function get() {
return DefaultType;
}
}]);
-
return Dropdown;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + ' ' + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+
+ $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + " " + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
event.preventDefault();
event.stopPropagation();
+
Dropdown._jQueryInterface.call($(this), 'toggle');
}).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) {
e.stopPropagation();
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1814,33 +1810,32 @@ var Dropdown = function ($) {
$.fn[NAME] = Dropdown._jQueryInterface;
$.fn[NAME].Constructor = Dropdown;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Dropdown._jQueryInterface;
};
return Dropdown;
-}(jQuery);
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): modal.js
+ * Bootstrap (v4.0.0-beta.2): modal.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Modal = function ($) {
-
+var Modal = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'modal';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.modal';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 300;
@@ -1853,28 +1848,25 @@ var Modal = function ($) {
focus: true,
show: true
};
-
var DefaultType = {
backdrop: '(boolean|string)',
keyboard: 'boolean',
focus: 'boolean',
show: 'boolean'
};
-
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- RESIZE: 'resize' + EVENT_KEY,
- CLICK_DISMISS: 'click.dismiss' + EVENT_KEY,
- KEYDOWN_DISMISS: 'keydown.dismiss' + EVENT_KEY,
- MOUSEUP_DISMISS: 'mouseup.dismiss' + EVENT_KEY,
- MOUSEDOWN_DISMISS: 'mousedown.dismiss' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ RESIZE: "resize" + EVENT_KEY,
+ CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
+ KEYDOWN_DISMISS: "keydown.dismiss" + EVENT_KEY,
+ MOUSEUP_DISMISS: "mouseup.dismiss" + EVENT_KEY,
+ MOUSEDOWN_DISMISS: "mousedown.dismiss" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SCROLLBAR_MEASURER: 'modal-scrollbar-measure',
BACKDROP: 'modal-backdrop',
@@ -1882,14 +1874,13 @@ var Modal = function ($) {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
DIALOG: '.modal-dialog',
DATA_TOGGLE: '[data-toggle="modal"]',
DATA_DISMISS: '[data-dismiss="modal"]',
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
+ STICKY_CONTENT: '.sticky-top',
NAVBAR_TOGGLER: '.navbar-toggler'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1897,10 +1888,11 @@ var Modal = function ($) {
*/
};
- var Modal = function () {
- function Modal(element, config) {
- _classCallCheck(this, Modal);
+ var Modal =
+ /*#__PURE__*/
+ function () {
+ function Modal(element, config) {
this._config = this._getConfig(config);
this._element = element;
this._dialog = $(element).find(Selector.DIALOG)[0];
@@ -1910,20 +1902,20 @@ var Modal = function ($) {
this._ignoreBackdropClick = false;
this._originalBodyPadding = 0;
this._scrollbarWidth = 0;
- }
+ } // getters
- // getters
- // public
+ var _proto = Modal.prototype;
- Modal.prototype.toggle = function toggle(relatedTarget) {
+ // public
+ _proto.toggle = function toggle(relatedTarget) {
return this._isShown ? this.hide() : this.show(relatedTarget);
};
- Modal.prototype.show = function show(relatedTarget) {
- var _this10 = this;
+ _proto.show = function show(relatedTarget) {
+ var _this = this;
- if (this._isTransitioning) {
+ if (this._isTransitioning || this._isShown) {
return;
}
@@ -1934,7 +1926,6 @@ var Modal = function ($) {
var showEvent = $.Event(Event.SHOW, {
relatedTarget: relatedTarget
});
-
$(this._element).trigger(showEvent);
if (this._isShown || showEvent.isDefaultPrevented()) {
@@ -1944,32 +1935,35 @@ var Modal = function ($) {
this._isShown = true;
this._checkScrollbar();
+
this._setScrollbar();
+ this._adjustDialog();
+
$(document.body).addClass(ClassName.OPEN);
this._setEscapeEvent();
+
this._setResizeEvent();
$(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function (event) {
- return _this10.hide(event);
+ return _this.hide(event);
});
-
$(this._dialog).on(Event.MOUSEDOWN_DISMISS, function () {
- $(_this10._element).one(Event.MOUSEUP_DISMISS, function (event) {
- if ($(event.target).is(_this10._element)) {
- _this10._ignoreBackdropClick = true;
+ $(_this._element).one(Event.MOUSEUP_DISMISS, function (event) {
+ if ($(event.target).is(_this._element)) {
+ _this._ignoreBackdropClick = true;
}
});
});
this._showBackdrop(function () {
- return _this10._showElement(relatedTarget);
+ return _this._showElement(relatedTarget);
});
};
- Modal.prototype.hide = function hide(event) {
- var _this11 = this;
+ _proto.hide = function hide(event) {
+ var _this2 = this;
if (event) {
event.preventDefault();
@@ -1979,14 +1973,7 @@ var Modal = function ($) {
return;
}
- var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
-
- if (transition) {
- this._isTransitioning = true;
- }
-
var hideEvent = $.Event(Event.HIDE);
-
$(this._element).trigger(hideEvent);
if (!this._isShown || hideEvent.isDefaultPrevented()) {
@@ -1994,32 +1981,33 @@ var Modal = function ($) {
}
this._isShown = false;
+ var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
+
+ if (transition) {
+ this._isTransitioning = true;
+ }
this._setEscapeEvent();
+
this._setResizeEvent();
$(document).off(Event.FOCUSIN);
-
$(this._element).removeClass(ClassName.SHOW);
-
$(this._element).off(Event.CLICK_DISMISS);
$(this._dialog).off(Event.MOUSEDOWN_DISMISS);
if (transition) {
-
$(this._element).one(Util.TRANSITION_END, function (event) {
- return _this11._hideModal(event);
+ return _this2._hideModal(event);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
this._hideModal();
}
};
- Modal.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
$(window, document, this._element, this._backdrop).off(EVENT_KEY);
-
this._config = null;
this._element = null;
this._dialog = null;
@@ -2030,20 +2018,19 @@ var Modal = function ($) {
this._scrollbarWidth = null;
};
- Modal.prototype.handleUpdate = function handleUpdate() {
+ _proto.handleUpdate = function handleUpdate() {
this._adjustDialog();
- };
+ }; // private
- // private
- Modal.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Modal.prototype._showElement = function _showElement(relatedTarget) {
- var _this12 = this;
+ _proto._showElement = function _showElement(relatedTarget) {
+ var _this3 = this;
var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
@@ -2053,7 +2040,9 @@ var Modal = function ($) {
}
this._element.style.display = 'block';
+
this._element.removeAttribute('aria-hidden');
+
this._element.scrollTop = 0;
if (transition) {
@@ -2071,11 +2060,12 @@ var Modal = function ($) {
});
var transitionComplete = function transitionComplete() {
- if (_this12._config.focus) {
- _this12._element.focus();
+ if (_this3._config.focus) {
+ _this3._element.focus();
}
- _this12._isTransitioning = false;
- $(_this12._element).trigger(shownEvent);
+
+ _this3._isTransitioning = false;
+ $(_this3._element).trigger(shownEvent);
};
if (transition) {
@@ -2085,25 +2075,26 @@ var Modal = function ($) {
}
};
- Modal.prototype._enforceFocus = function _enforceFocus() {
- var _this13 = this;
+ _proto._enforceFocus = function _enforceFocus() {
+ var _this4 = this;
$(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) {
- if (document !== event.target && _this13._element !== event.target && !$(_this13._element).has(event.target).length) {
- _this13._element.focus();
+ if (document !== event.target && _this4._element !== event.target && !$(_this4._element).has(event.target).length) {
+ _this4._element.focus();
}
});
};
- Modal.prototype._setEscapeEvent = function _setEscapeEvent() {
- var _this14 = this;
+ _proto._setEscapeEvent = function _setEscapeEvent() {
+ var _this5 = this;
if (this._isShown && this._config.keyboard) {
$(this._element).on(Event.KEYDOWN_DISMISS, function (event) {
if (event.which === ESCAPE_KEYCODE) {
event.preventDefault();
- _this14.hide();
+
+ _this5.hide();
}
});
} else if (!this._isShown) {
@@ -2111,47 +2102,52 @@ var Modal = function ($) {
}
};
- Modal.prototype._setResizeEvent = function _setResizeEvent() {
- var _this15 = this;
+ _proto._setResizeEvent = function _setResizeEvent() {
+ var _this6 = this;
if (this._isShown) {
$(window).on(Event.RESIZE, function (event) {
- return _this15.handleUpdate(event);
+ return _this6.handleUpdate(event);
});
} else {
$(window).off(Event.RESIZE);
}
};
- Modal.prototype._hideModal = function _hideModal() {
- var _this16 = this;
+ _proto._hideModal = function _hideModal() {
+ var _this7 = this;
this._element.style.display = 'none';
+
this._element.setAttribute('aria-hidden', true);
+
this._isTransitioning = false;
+
this._showBackdrop(function () {
$(document.body).removeClass(ClassName.OPEN);
- _this16._resetAdjustments();
- _this16._resetScrollbar();
- $(_this16._element).trigger(Event.HIDDEN);
+
+ _this7._resetAdjustments();
+
+ _this7._resetScrollbar();
+
+ $(_this7._element).trigger(Event.HIDDEN);
});
};
- Modal.prototype._removeBackdrop = function _removeBackdrop() {
+ _proto._removeBackdrop = function _removeBackdrop() {
if (this._backdrop) {
$(this._backdrop).remove();
this._backdrop = null;
}
};
- Modal.prototype._showBackdrop = function _showBackdrop(callback) {
- var _this17 = this;
+ _proto._showBackdrop = function _showBackdrop(callback) {
+ var _this8 = this;
var animate = $(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : '';
if (this._isShown && this._config.backdrop) {
var doAnimate = Util.supportsTransitionEnd() && animate;
-
this._backdrop = document.createElement('div');
this._backdrop.className = ClassName.BACKDROP;
@@ -2160,19 +2156,20 @@ var Modal = function ($) {
}
$(this._backdrop).appendTo(document.body);
-
$(this._element).on(Event.CLICK_DISMISS, function (event) {
- if (_this17._ignoreBackdropClick) {
- _this17._ignoreBackdropClick = false;
+ if (_this8._ignoreBackdropClick) {
+ _this8._ignoreBackdropClick = false;
return;
}
+
if (event.target !== event.currentTarget) {
return;
}
- if (_this17._config.backdrop === 'static') {
- _this17._element.focus();
+
+ if (_this8._config.backdrop === 'static') {
+ _this8._element.focus();
} else {
- _this17.hide();
+ _this8.hide();
}
});
@@ -2196,7 +2193,8 @@ var Modal = function ($) {
$(this._backdrop).removeClass(ClassName.SHOW);
var callbackRemove = function callbackRemove() {
- _this17._removeBackdrop();
+ _this8._removeBackdrop();
+
if (callback) {
callback();
}
@@ -2210,88 +2208,92 @@ var Modal = function ($) {
} else if (callback) {
callback();
}
- };
-
- // ----------------------------------------------------------------------
+ }; // ----------------------------------------------------------------------
// the following methods are used to handle overflowing modals
// todo (fat): these should probably be refactored out of modal.js
// ----------------------------------------------------------------------
- Modal.prototype._adjustDialog = function _adjustDialog() {
+
+ _proto._adjustDialog = function _adjustDialog() {
var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;
if (!this._isBodyOverflowing && isModalOverflowing) {
- this._element.style.paddingLeft = this._scrollbarWidth + 'px';
+ this._element.style.paddingLeft = this._scrollbarWidth + "px";
}
if (this._isBodyOverflowing && !isModalOverflowing) {
- this._element.style.paddingRight = this._scrollbarWidth + 'px';
+ this._element.style.paddingRight = this._scrollbarWidth + "px";
}
};
- Modal.prototype._resetAdjustments = function _resetAdjustments() {
+ _proto._resetAdjustments = function _resetAdjustments() {
this._element.style.paddingLeft = '';
this._element.style.paddingRight = '';
};
- Modal.prototype._checkScrollbar = function _checkScrollbar() {
- this._isBodyOverflowing = document.body.clientWidth < window.innerWidth;
+ _proto._checkScrollbar = function _checkScrollbar() {
+ var rect = document.body.getBoundingClientRect();
+ this._isBodyOverflowing = rect.left + rect.right < window.innerWidth;
this._scrollbarWidth = this._getScrollbarWidth();
};
- Modal.prototype._setScrollbar = function _setScrollbar() {
- var _this18 = this;
+ _proto._setScrollbar = function _setScrollbar() {
+ var _this9 = this;
if (this._isBodyOverflowing) {
// Note: DOMNode.style.paddingRight returns the actual value or '' if not set
// while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set
-
// Adjust fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var actualPadding = $(element)[0].style.paddingRight;
var calculatedPadding = $(element).css('padding-right');
- $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this9._scrollbarWidth + "px");
+ }); // Adjust sticky content margin
+
+ $(Selector.STICKY_CONTENT).each(function (index, element) {
+ var actualMargin = $(element)[0].style.marginRight;
+ var calculatedMargin = $(element).css('margin-right');
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) - _this9._scrollbarWidth + "px");
+ }); // Adjust navbar-toggler margin
- // Adjust navbar-toggler margin
$(Selector.NAVBAR_TOGGLER).each(function (index, element) {
var actualMargin = $(element)[0].style.marginRight;
var calculatedMargin = $(element).css('margin-right');
- $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this9._scrollbarWidth + "px");
+ }); // Adjust body padding
- // Adjust body padding
var actualPadding = document.body.style.paddingRight;
var calculatedPadding = $('body').css('padding-right');
- $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + 'px');
+ $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
}
};
- Modal.prototype._resetScrollbar = function _resetScrollbar() {
+ _proto._resetScrollbar = function _resetScrollbar() {
// Restore fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var padding = $(element).data('padding-right');
+
if (typeof padding !== 'undefined') {
$(element).css('padding-right', padding).removeData('padding-right');
}
- });
+ }); // Restore sticky content and navbar-toggler margin
- // Restore navbar-toggler margin
- $(Selector.NAVBAR_TOGGLER).each(function (index, element) {
+ $(Selector.STICKY_CONTENT + ", " + Selector.NAVBAR_TOGGLER).each(function (index, element) {
var margin = $(element).data('margin-right');
+
if (typeof margin !== 'undefined') {
$(element).css('margin-right', margin).removeData('margin-right');
}
- });
+ }); // Restore body padding
- // Restore body padding
var padding = $('body').data('padding-right');
+
if (typeof padding !== 'undefined') {
$('body').css('padding-right', padding).removeData('padding-right');
}
};
- Modal.prototype._getScrollbarWidth = function _getScrollbarWidth() {
+ _proto._getScrollbarWidth = function _getScrollbarWidth() {
// thx d.walsh
var scrollDiv = document.createElement('div');
scrollDiv.className = ClassName.SCROLLBAR_MEASURER;
@@ -2299,14 +2301,14 @@ var Modal = function ($) {
var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth;
document.body.removeChild(scrollDiv);
return scrollbarWidth;
- };
+ }; // static
- // static
Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = $.extend({}, Modal.Default, $(this).data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Modal.Default, $(this).data(), typeof config === 'object' && config);
if (!data) {
data = new Modal(this, _config);
@@ -2314,9 +2316,10 @@ var Modal = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config](relatedTarget);
} else if (_config.show) {
data.show(relatedTarget);
@@ -2324,31 +2327,30 @@ var Modal = function ($) {
});
};
- _createClass(Modal, null, [{
- key: 'VERSION',
+ createClass(Modal, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Modal;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- var _this19 = this;
+ var _this10 = this;
- var target = void 0;
+ var target;
var selector = Util.getSelectorFromElement(this);
if (selector) {
@@ -2368,15 +2370,14 @@ var Modal = function ($) {
}
$target.one(Event.HIDDEN, function () {
- if ($(_this19).is(':visible')) {
- _this19.focus();
+ if ($(_this10).is(':visible')) {
+ _this10.focus();
}
});
});
Modal._jQueryInterface.call($(target), config, this);
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -2385,75 +2386,108 @@ var Modal = function ($) {
$.fn[NAME] = Modal._jQueryInterface;
$.fn[NAME].Constructor = Modal;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Modal._jQueryInterface;
};
return Modal;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): scrollspy.js
+ * Bootstrap (v4.0.0-beta.2): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var ScrollSpy = function ($) {
-
+var Tooltip = function () {
+ /**
+ * Check for Popper dependency
+ * Popper - https://popper.js.org
+ */
+ if (typeof Popper === 'undefined') {
+ throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
+ }
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
- var NAME = 'scrollspy';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.scrollspy';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var NAME = 'tooltip';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tooltip';
+ var EVENT_KEY = "." + DATA_KEY;
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var TRANSITION_DURATION = 150;
+ var CLASS_PREFIX = 'bs-tooltip';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var DefaultType = {
+ animation: 'boolean',
+ template: 'string',
+ title: '(string|element|function)',
+ trigger: 'string',
+ delay: '(number|object)',
+ html: 'boolean',
+ selector: '(string|boolean)',
+ placement: '(string|function)',
+ offset: '(number|string)',
+ container: '(string|element|boolean)',
+ fallbackPlacement: '(string|array)'
+ };
+ var AttachmentMap = {
+ AUTO: 'auto',
+ TOP: 'top',
+ RIGHT: 'right',
+ BOTTOM: 'bottom',
+ LEFT: 'left'
+ };
var Default = {
- offset: 10,
- method: 'auto',
- target: ''
+ animation: true,
+ template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
+ trigger: 'hover focus',
+ title: '',
+ delay: 0,
+ html: false,
+ selector: false,
+ placement: 'top',
+ offset: 0,
+ container: false,
+ fallbackPlacement: 'flip'
};
-
- var DefaultType = {
- offset: 'number',
- method: 'string',
- target: '(string|element)'
+ var HoverState = {
+ SHOW: 'show',
+ OUT: 'out'
};
-
var Event = {
- ACTIVATE: 'activate' + EVENT_KEY,
- SCROLL: 'scroll' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
};
-
var ClassName = {
- DROPDOWN_ITEM: 'dropdown-item',
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active'
+ FADE: 'fade',
+ SHOW: 'show'
};
-
var Selector = {
- DATA_SPY: '[data-spy="scroll"]',
- ACTIVE: '.active',
- NAV_LIST_GROUP: '.nav, .list-group',
- NAV_LINKS: '.nav-link',
- LIST_ITEMS: '.list-group-item',
- DROPDOWN: '.dropdown',
- DROPDOWN_ITEMS: '.dropdown-item',
- DROPDOWN_TOGGLE: '.dropdown-toggle'
+ TOOLTIP: '.tooltip',
+ TOOLTIP_INNER: '.tooltip-inner',
+ ARROW: '.arrow'
};
-
- var OffsetMethod = {
- OFFSET: 'offset',
- POSITION: 'position'
-
+ var Trigger = {
+ HOVER: 'hover',
+ FOCUS: 'focus',
+ CLICK: 'click',
+ MANUAL: 'manual'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -2461,607 +2495,615 @@ var ScrollSpy = function ($) {
*/
};
- var ScrollSpy = function () {
- function ScrollSpy(element, config) {
- var _this20 = this;
- _classCallCheck(this, ScrollSpy);
+ var Tooltip =
+ /*#__PURE__*/
+ function () {
+ function Tooltip(element, config) {
+ // private
+ this._isEnabled = true;
+ this._timeout = 0;
+ this._hoverState = '';
+ this._activeTrigger = {};
+ this._popper = null; // protected
- this._element = element;
- this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
- this._targets = [];
- this._activeTarget = null;
- this._scrollHeight = 0;
+ this.element = element;
+ this.config = this._getConfig(config);
+ this.tip = null;
- $(this._scrollElement).on(Event.SCROLL, function (event) {
- return _this20._process(event);
- });
+ this._setListeners();
+ } // getters
- this.refresh();
- this._process();
- }
- // getters
+ var _proto = Tooltip.prototype;
// public
+ _proto.enable = function enable() {
+ this._isEnabled = true;
+ };
- ScrollSpy.prototype.refresh = function refresh() {
- var _this21 = this;
-
- var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
-
- var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ _proto.disable = function disable() {
+ this._isEnabled = false;
+ };
- var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ _proto.toggleEnabled = function toggleEnabled() {
+ this._isEnabled = !this._isEnabled;
+ };
- this._offsets = [];
- this._targets = [];
+ _proto.toggle = function toggle(event) {
+ if (!this._isEnabled) {
+ return;
+ }
- this._scrollHeight = this._getScrollHeight();
+ if (event) {
+ var dataKey = this.constructor.DATA_KEY;
+ var context = $(event.currentTarget).data(dataKey);
- var targets = $.makeArray($(this._selector));
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- targets.map(function (element) {
- var target = void 0;
- var targetSelector = Util.getSelectorFromElement(element);
+ context._activeTrigger.click = !context._activeTrigger.click;
- if (targetSelector) {
- target = $(targetSelector)[0];
+ if (context._isWithActiveTrigger()) {
+ context._enter(null, context);
+ } else {
+ context._leave(null, context);
}
+ } else {
+ if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
+ this._leave(null, this);
- if (target) {
- var targetBCR = target.getBoundingClientRect();
- if (targetBCR.width || targetBCR.height) {
- // todo (fat): remove sketch reliance on jQuery position/offset
- return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
- }
+ return;
}
- return null;
- }).filter(function (item) {
- return item;
- }).sort(function (a, b) {
- return a[0] - b[0];
- }).forEach(function (item) {
- _this21._offsets.push(item[0]);
- _this21._targets.push(item[1]);
- });
- };
-
- ScrollSpy.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- $(this._scrollElement).off(EVENT_KEY);
- this._element = null;
- this._scrollElement = null;
- this._config = null;
- this._selector = null;
- this._offsets = null;
- this._targets = null;
- this._activeTarget = null;
- this._scrollHeight = null;
+ this._enter(null, this);
+ }
};
- // private
-
- ScrollSpy.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, Default, config);
+ _proto.dispose = function dispose() {
+ clearTimeout(this._timeout);
+ $.removeData(this.element, this.constructor.DATA_KEY);
+ $(this.element).off(this.constructor.EVENT_KEY);
+ $(this.element).closest('.modal').off('hide.bs.modal');
- if (typeof config.target !== 'string') {
- var id = $(config.target).attr('id');
- if (!id) {
- id = Util.getUID(NAME);
- $(config.target).attr('id', id);
- }
- config.target = '#' + id;
+ if (this.tip) {
+ $(this.tip).remove();
}
- Util.typeCheckConfig(NAME, config, DefaultType);
+ this._isEnabled = null;
+ this._timeout = null;
+ this._hoverState = null;
+ this._activeTrigger = null;
- return config;
- };
+ if (this._popper !== null) {
+ this._popper.destroy();
+ }
- ScrollSpy.prototype._getScrollTop = function _getScrollTop() {
- return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ this._popper = null;
+ this.element = null;
+ this.config = null;
+ this.tip = null;
};
- ScrollSpy.prototype._getScrollHeight = function _getScrollHeight() {
- return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
- };
+ _proto.show = function show() {
+ var _this = this;
- ScrollSpy.prototype._getOffsetHeight = function _getOffsetHeight() {
- return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
- };
+ if ($(this.element).css('display') === 'none') {
+ throw new Error('Please use show on visible elements');
+ }
- ScrollSpy.prototype._process = function _process() {
- var scrollTop = this._getScrollTop() + this._config.offset;
- var scrollHeight = this._getScrollHeight();
- var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
+ var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this._scrollHeight !== scrollHeight) {
- this.refresh();
- }
+ if (this.isWithContent() && this._isEnabled) {
+ $(this.element).trigger(showEvent);
+ var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
- if (scrollTop >= maxScroll) {
- var target = this._targets[this._targets.length - 1];
+ if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ return;
+ }
- if (this._activeTarget !== target) {
- this._activate(target);
+ var tip = this.getTipElement();
+ var tipId = Util.getUID(this.constructor.NAME);
+ tip.setAttribute('id', tipId);
+ this.element.setAttribute('aria-describedby', tipId);
+ this.setContent();
+
+ if (this.config.animation) {
+ $(tip).addClass(ClassName.FADE);
}
- return;
- }
- if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
- this._activeTarget = null;
- this._clear();
- return;
- }
+ var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
- for (var i = this._offsets.length; i--;) {
- var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (this._offsets[i + 1] === undefined || scrollTop < this._offsets[i + 1]);
+ var attachment = this._getAttachment(placement);
- if (isActiveTarget) {
- this._activate(this._targets[i]);
+ this.addAttachmentClass(attachment);
+ var container = this.config.container === false ? document.body : $(this.config.container);
+ $(tip).data(this.constructor.DATA_KEY, this);
+
+ if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
+ $(tip).appendTo(container);
}
- }
- };
- ScrollSpy.prototype._activate = function _activate(target) {
- this._activeTarget = target;
+ $(this.element).trigger(this.constructor.Event.INSERTED);
+ this._popper = new Popper(this.element, tip, {
+ placement: attachment,
+ modifiers: {
+ offset: {
+ offset: this.config.offset
+ },
+ flip: {
+ behavior: this.config.fallbackPlacement
+ },
+ arrow: {
+ element: Selector.ARROW
+ }
+ },
+ onCreate: function onCreate(data) {
+ if (data.originalPlacement !== data.placement) {
+ _this._handlePopperPlacementChange(data);
+ }
+ },
+ onUpdate: function onUpdate(data) {
+ _this._handlePopperPlacementChange(data);
+ }
+ });
+ $(tip).addClass(ClassName.SHOW); // if this is a touch-enabled device we add extra
+ // empty mouseover listeners to the body's immediate children;
+ // only needed because of broken event delegation on iOS
+ // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- this._clear();
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().on('mouseover', null, $.noop);
+ }
- var queries = this._selector.split(',');
- queries = queries.map(function (selector) {
- return selector + '[data-target="' + target + '"],' + (selector + '[href="' + target + '"]');
- });
+ var complete = function complete() {
+ if (_this.config.animation) {
+ _this._fixTransition();
+ }
- var $link = $(queries.join(','));
+ var prevHoverState = _this._hoverState;
+ _this._hoverState = null;
+ $(_this.element).trigger(_this.constructor.Event.SHOWN);
- if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
- $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- $link.addClass(ClassName.ACTIVE);
- } else {
- // Set triggered link as active
- $link.addClass(ClassName.ACTIVE);
- // Set triggered links parents as active
- // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE);
- }
+ if (prevHoverState === HoverState.OUT) {
+ _this._leave(null, _this);
+ }
+ };
- $(this._scrollElement).trigger(Event.ACTIVATE, {
- relatedTarget: target
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+ }
};
- ScrollSpy.prototype._clear = function _clear() {
- $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
- };
+ _proto.hide = function hide(callback) {
+ var _this2 = this;
- // static
+ var tip = this.getTipElement();
+ var hideEvent = $.Event(this.constructor.Event.HIDE);
- ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
+ var complete = function complete() {
+ if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) {
+ tip.parentNode.removeChild(tip);
+ }
- if (!data) {
- data = new ScrollSpy(this, _config);
- $(this).data(DATA_KEY, data);
+ _this2._cleanTipClass();
+
+ _this2.element.removeAttribute('aria-describedby');
+
+ $(_this2.element).trigger(_this2.constructor.Event.HIDDEN);
+
+ if (_this2._popper !== null) {
+ _this2._popper.destroy();
}
- if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
- }
- data[config]();
+ if (callback) {
+ callback();
}
- });
- };
+ };
- _createClass(ScrollSpy, null, [{
- key: 'VERSION',
- get: function get() {
- return VERSION;
- }
- }, {
- key: 'Default',
- get: function get() {
- return Default;
+ $(this.element).trigger(hideEvent);
+
+ if (hideEvent.isDefaultPrevented()) {
+ return;
}
- }]);
- return ScrollSpy;
- }();
+ $(tip).removeClass(ClassName.SHOW); // if this is a touch-enabled device we remove the extra
+ // empty mouseover listeners we added for iOS support
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().off('mouseover', null, $.noop);
+ }
- $(window).on(Event.LOAD_DATA_API, function () {
- var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+ this._activeTrigger[Trigger.CLICK] = false;
+ this._activeTrigger[Trigger.FOCUS] = false;
+ this._activeTrigger[Trigger.HOVER] = false;
- for (var i = scrollSpys.length; i--;) {
- var $spy = $(scrollSpys[i]);
- ScrollSpy._jQueryInterface.call($spy, $spy.data());
- }
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
- */
+ this._hoverState = '';
+ };
- $.fn[NAME] = ScrollSpy._jQueryInterface;
- $.fn[NAME].Constructor = ScrollSpy;
- $.fn[NAME].noConflict = function () {
- $.fn[NAME] = JQUERY_NO_CONFLICT;
- return ScrollSpy._jQueryInterface;
- };
+ _proto.update = function update() {
+ if (this._popper !== null) {
+ this._popper.scheduleUpdate();
+ }
+ }; // protected
- return ScrollSpy;
-}(jQuery);
-/**
- * --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tab.js
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * --------------------------------------------------------------------------
- */
+ _proto.isWithContent = function isWithContent() {
+ return Boolean(this.getTitle());
+ };
-var Tab = function ($) {
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
+ };
- /**
- * ------------------------------------------------------------------------
- * Constants
- * ------------------------------------------------------------------------
- */
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
+ };
- var NAME = 'tab';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tab';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement());
+ this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ };
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
- };
+ _proto.setElementContent = function setElementContent($element, content) {
+ var html = this.config.html;
- var ClassName = {
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active',
- DISABLED: 'disabled',
- FADE: 'fade',
- SHOW: 'show'
- };
+ if (typeof content === 'object' && (content.nodeType || content.jquery)) {
+ // content is a DOM node or a jQuery
+ if (html) {
+ if (!$(content).parent().is($element)) {
+ $element.empty().append(content);
+ }
+ } else {
+ $element.text($(content).text());
+ }
+ } else {
+ $element[html ? 'html' : 'text'](content);
+ }
+ };
- var Selector = {
- DROPDOWN: '.dropdown',
- NAV_LIST_GROUP: '.nav, .list-group',
- ACTIVE: '.active',
- DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
- DROPDOWN_TOGGLE: '.dropdown-toggle',
- DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
+ _proto.getTitle = function getTitle() {
+ var title = this.element.getAttribute('data-original-title');
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
+ if (!title) {
+ title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
+ }
- };
- var Tab = function () {
- function Tab(element) {
- _classCallCheck(this, Tab);
+ return title;
+ }; // private
- this._element = element;
- }
- // getters
+ _proto._getAttachment = function _getAttachment(placement) {
+ return AttachmentMap[placement.toUpperCase()];
+ };
- // public
+ _proto._setListeners = function _setListeners() {
+ var _this3 = this;
+
+ var triggers = this.config.trigger.split(' ');
+ triggers.forEach(function (trigger) {
+ if (trigger === 'click') {
+ $(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) {
+ return _this3.toggle(event);
+ });
+ } else if (trigger !== Trigger.MANUAL) {
+ var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN;
+ var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT;
+ $(_this3.element).on(eventIn, _this3.config.selector, function (event) {
+ return _this3._enter(event);
+ }).on(eventOut, _this3.config.selector, function (event) {
+ return _this3._leave(event);
+ });
+ }
- Tab.prototype.show = function show() {
- var _this22 = this;
+ $(_this3.element).closest('.modal').on('hide.bs.modal', function () {
+ return _this3.hide();
+ });
+ });
- if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
- return;
+ if (this.config.selector) {
+ this.config = $.extend({}, this.config, {
+ trigger: 'manual',
+ selector: ''
+ });
+ } else {
+ this._fixTitle();
}
+ };
- var target = void 0;
- var previous = void 0;
- var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
- var selector = Util.getSelectorFromElement(this._element);
+ _proto._fixTitle = function _fixTitle() {
+ var titleType = typeof this.element.getAttribute('data-original-title');
- if (listElement) {
- previous = $.makeArray($(listElement).find(Selector.ACTIVE));
- previous = previous[previous.length - 1];
+ if (this.element.getAttribute('title') || titleType !== 'string') {
+ this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
+ this.element.setAttribute('title', '');
}
+ };
- var hideEvent = $.Event(Event.HIDE, {
- relatedTarget: this._element
- });
-
- var showEvent = $.Event(Event.SHOW, {
- relatedTarget: previous
- });
+ _proto._enter = function _enter(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- if (previous) {
- $(previous).trigger(hideEvent);
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
}
- $(this._element).trigger(showEvent);
+ if (event) {
+ context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
+ }
- if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
+ context._hoverState = HoverState.SHOW;
return;
}
- if (selector) {
- target = $(selector)[0];
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.SHOW;
+
+ if (!context.config.delay || !context.config.delay.show) {
+ context.show();
+ return;
}
- this._activate(this._element, listElement);
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.SHOW) {
+ context.show();
+ }
+ }, context.config.delay.show);
+ };
- var complete = function complete() {
- var hiddenEvent = $.Event(Event.HIDDEN, {
- relatedTarget: _this22._element
- });
+ _proto._leave = function _leave(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- var shownEvent = $.Event(Event.SHOWN, {
- relatedTarget: previous
- });
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- $(previous).trigger(hiddenEvent);
- $(_this22._element).trigger(shownEvent);
- };
+ if (event) {
+ context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
+ }
- if (target) {
- this._activate(target, target.parentNode, complete);
- } else {
- complete();
+ if (context._isWithActiveTrigger()) {
+ return;
}
- };
- Tab.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- this._element = null;
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.OUT;
+
+ if (!context.config.delay || !context.config.delay.hide) {
+ context.hide();
+ return;
+ }
+
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.OUT) {
+ context.hide();
+ }
+ }, context.config.delay.hide);
};
- // private
+ _proto._isWithActiveTrigger = function _isWithActiveTrigger() {
+ for (var trigger in this._activeTrigger) {
+ if (this._activeTrigger[trigger]) {
+ return true;
+ }
+ }
- Tab.prototype._activate = function _activate(element, container, callback) {
- var _this23 = this;
+ return false;
+ };
- var active = $(container).find(Selector.ACTIVE)[0];
- var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
- var complete = function complete() {
- return _this23._transitionComplete(element, active, isTransitioning, callback);
- };
+ if (typeof config.delay === 'number') {
+ config.delay = {
+ show: config.delay,
+ hide: config.delay
+ };
+ }
- if (active && isTransitioning) {
- $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
+ if (typeof config.title === 'number') {
+ config.title = config.title.toString();
}
- if (active) {
- $(active).removeClass(ClassName.SHOW);
+ if (typeof config.content === 'number') {
+ config.content = config.content.toString();
}
- };
- Tab.prototype._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
- if (active) {
- $(active).removeClass(ClassName.ACTIVE);
+ Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ return config;
+ };
- var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
+ _proto._getDelegateConfig = function _getDelegateConfig() {
+ var config = {};
- if (dropdownChild) {
- $(dropdownChild).removeClass(ClassName.ACTIVE);
+ if (this.config) {
+ for (var key in this.config) {
+ if (this.constructor.Default[key] !== this.config[key]) {
+ config[key] = this.config[key];
+ }
}
-
- active.setAttribute('aria-expanded', false);
}
- $(element).addClass(ClassName.ACTIVE);
- element.setAttribute('aria-expanded', true);
+ return config;
+ };
- if (isTransitioning) {
- Util.reflow(element);
- $(element).addClass(ClassName.SHOW);
- } else {
- $(element).removeClass(ClassName.FADE);
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
+
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
+ };
- if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
+ this._cleanTipClass();
- var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
- if (dropdownElement) {
- $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- }
+ this.addAttachmentClass(this._getAttachment(data.placement));
+ };
- element.setAttribute('aria-expanded', true);
- }
+ _proto._fixTransition = function _fixTransition() {
+ var tip = this.getTipElement();
+ var initConfigAnimation = this.config.animation;
- if (callback) {
- callback();
+ if (tip.getAttribute('x-placement') !== null) {
+ return;
}
- };
- // static
+ $(tip).removeClass(ClassName.FADE);
+ this.config.animation = false;
+ this.hide();
+ this.show();
+ this.config.animation = initConfigAnimation;
+ }; // static
+
- Tab._jQueryInterface = function _jQueryInterface(config) {
+ Tooltip._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
- var $this = $(this);
- var data = $this.data(DATA_KEY);
+ var data = $(this).data(DATA_KEY);
+
+ var _config = typeof config === 'object' && config;
+
+ if (!data && /dispose|hide/.test(config)) {
+ return;
+ }
if (!data) {
- data = new Tab(this);
- $this.data(DATA_KEY, data);
+ data = new Tooltip(this, _config);
+ $(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tab, null, [{
- key: 'VERSION',
+ createClass(Tooltip, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }]);
-
- return Tab;
- }();
-
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
-
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- event.preventDefault();
- Tab._jQueryInterface.call($(this), 'show');
- });
-
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Tooltip;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tab._jQueryInterface;
- $.fn[NAME].Constructor = Tab;
+
+ $.fn[NAME] = Tooltip._jQueryInterface;
+ $.fn[NAME].Constructor = Tooltip;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tab._jQueryInterface;
+ return Tooltip._jQueryInterface;
};
- return Tab;
-}(jQuery);
-
-/* global Popper */
+ return Tooltip;
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tooltip.js
+ * Bootstrap (v4.0.0-beta.2): popover.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Tooltip = function ($) {
-
- /**
- * Check for Popper dependency
- * Popper - https://popper.js.org
- */
- if (typeof Popper === 'undefined') {
- throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
- }
-
+var Popover = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'tooltip';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tooltip';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'popover';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.popover';
+ var EVENT_KEY = "." + DATA_KEY;
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
- var CLASS_PREFIX = 'bs-tooltip';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var DefaultType = {
- animation: 'boolean',
- template: 'string',
- title: '(string|element|function)',
- trigger: 'string',
- delay: '(number|object)',
- html: 'boolean',
- selector: '(string|boolean)',
- placement: '(string|function)',
- offset: '(number|string)',
- container: '(string|element|boolean)',
- fallbackPlacement: '(string|array)'
- };
-
- var AttachmentMap = {
- AUTO: 'auto',
- TOP: 'top',
- RIGHT: 'right',
- BOTTOM: 'bottom',
- LEFT: 'left'
- };
-
- var Default = {
- animation: true,
- template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
- trigger: 'hover focus',
- title: '',
- delay: 0,
- html: false,
- selector: false,
- placement: 'top',
- offset: 0,
- container: false,
- fallbackPlacement: 'flip'
- };
-
- var HoverState = {
- SHOW: 'show',
- OUT: 'out'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
- };
-
+ var CLASS_PREFIX = 'bs-popover';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var Default = $.extend({}, Tooltip.Default, {
+ placement: 'right',
+ trigger: 'click',
+ content: '',
+ template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
+ });
+ var DefaultType = $.extend({}, Tooltip.DefaultType, {
+ content: '(string|element|function)'
+ });
var ClassName = {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TOOLTIP: '.tooltip',
- TOOLTIP_INNER: '.tooltip-inner',
- ARROW: '.arrow'
+ TITLE: '.popover-header',
+ CONTENT: '.popover-body'
};
-
- var Trigger = {
- HOVER: 'hover',
- FOCUS: 'focus',
- CLICK: 'click',
- MANUAL: 'manual'
-
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3069,625 +3111,490 @@ var Tooltip = function ($) {
*/
};
- var Tooltip = function () {
- function Tooltip(element, config) {
- _classCallCheck(this, Tooltip);
- // private
- this._isEnabled = true;
- this._timeout = 0;
- this._hoverState = '';
- this._activeTrigger = {};
- this._popper = null;
+ var Popover =
+ /*#__PURE__*/
+ function (_Tooltip) {
+ inheritsLoose(Popover, _Tooltip);
- // protected
- this.element = element;
- this.config = this._getConfig(config);
- this.tip = null;
-
- this._setListeners();
+ function Popover() {
+ return _Tooltip.apply(this, arguments) || this;
}
- // getters
-
- // public
+ var _proto = Popover.prototype;
- Tooltip.prototype.enable = function enable() {
- this._isEnabled = true;
+ // overrides
+ _proto.isWithContent = function isWithContent() {
+ return this.getTitle() || this._getContent();
};
- Tooltip.prototype.disable = function disable() {
- this._isEnabled = false;
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
};
- Tooltip.prototype.toggleEnabled = function toggleEnabled() {
- this._isEnabled = !this._isEnabled;
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
};
- Tooltip.prototype.toggle = function toggle(event) {
- if (event) {
- var dataKey = this.constructor.DATA_KEY;
- var context = $(event.currentTarget).data(dataKey);
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement()); // we use append for html objects to maintain js events
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
-
- context._activeTrigger.click = !context._activeTrigger.click;
-
- if (context._isWithActiveTrigger()) {
- context._enter(null, context);
- } else {
- context._leave(null, context);
- }
- } else {
+ this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
+ this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ }; // private
- if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
- this._leave(null, this);
- return;
- }
- this._enter(null, this);
- }
+ _proto._getContent = function _getContent() {
+ return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
};
- Tooltip.prototype.dispose = function dispose() {
- clearTimeout(this._timeout);
-
- $.removeData(this.element, this.constructor.DATA_KEY);
-
- $(this.element).off(this.constructor.EVENT_KEY);
- $(this.element).closest('.modal').off('hide.bs.modal');
-
- if (this.tip) {
- $(this.tip).remove();
- }
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- this._isEnabled = null;
- this._timeout = null;
- this._hoverState = null;
- this._activeTrigger = null;
- if (this._popper !== null) {
- this._popper.destroy();
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
- this._popper = null;
-
- this.element = null;
- this.config = null;
- this.tip = null;
- };
+ }; // static
- Tooltip.prototype.show = function show() {
- var _this24 = this;
- if ($(this.element).css('display') === 'none') {
- throw new Error('Please use show on visible elements');
- }
-
- var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this.isWithContent() && this._isEnabled) {
- $(this.element).trigger(showEvent);
+ Popover._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var data = $(this).data(DATA_KEY);
- var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
+ var _config = typeof config === 'object' ? config : null;
- if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ if (!data && /destroy|hide/.test(config)) {
return;
}
- var tip = this.getTipElement();
- var tipId = Util.getUID(this.constructor.NAME);
-
- tip.setAttribute('id', tipId);
- this.element.setAttribute('aria-describedby', tipId);
-
- this.setContent();
-
- if (this.config.animation) {
- $(tip).addClass(ClassName.FADE);
- }
-
- var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
-
- var attachment = this._getAttachment(placement);
- this.addAttachmentClass(attachment);
-
- var container = this.config.container === false ? document.body : $(this.config.container);
-
- $(tip).data(this.constructor.DATA_KEY, this);
-
- if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
- $(tip).appendTo(container);
- }
-
- $(this.element).trigger(this.constructor.Event.INSERTED);
-
- this._popper = new Popper(this.element, tip, {
- placement: attachment,
- modifiers: {
- offset: {
- offset: this.config.offset
- },
- flip: {
- behavior: this.config.fallbackPlacement
- },
- arrow: {
- element: Selector.ARROW
- }
- },
- onCreate: function onCreate(data) {
- if (data.originalPlacement !== data.placement) {
- _this24._handlePopperPlacementChange(data);
- }
- },
- onUpdate: function onUpdate(data) {
- _this24._handlePopperPlacementChange(data);
- }
- });
-
- $(tip).addClass(ClassName.SHOW);
-
- // if this is a touch-enabled device we add extra
- // empty mouseover listeners to the body's immediate children;
- // only needed because of broken event delegation on iOS
- // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- if ('ontouchstart' in document.documentElement) {
- $('body').children().on('mouseover', null, $.noop);
+ if (!data) {
+ data = new Popover(this, _config);
+ $(this).data(DATA_KEY, data);
}
- var complete = function complete() {
- if (_this24.config.animation) {
- _this24._fixTransition();
- }
- var prevHoverState = _this24._hoverState;
- _this24._hoverState = null;
-
- $(_this24.element).trigger(_this24.constructor.Event.SHOWN);
-
- if (prevHoverState === HoverState.OUT) {
- _this24._leave(null, _this24);
+ if (typeof config === 'string') {
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
- };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
- $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
- } else {
- complete();
+ data[config]();
}
- }
+ });
};
- Tooltip.prototype.hide = function hide(callback) {
- var _this25 = this;
-
- var tip = this.getTipElement();
- var hideEvent = $.Event(this.constructor.Event.HIDE);
- var complete = function complete() {
- if (_this25._hoverState !== HoverState.SHOW && tip.parentNode) {
- tip.parentNode.removeChild(tip);
- }
+ createClass(Popover, null, [{
+ key: "VERSION",
+ // getters
+ get: function get() {
+ return VERSION;
+ }
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Popover;
+ }(Tooltip);
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
+ */
- _this25._cleanTipClass();
- _this25.element.removeAttribute('aria-describedby');
- $(_this25.element).trigger(_this25.constructor.Event.HIDDEN);
- if (_this25._popper !== null) {
- _this25._popper.destroy();
- }
- if (callback) {
- callback();
- }
- };
+ $.fn[NAME] = Popover._jQueryInterface;
+ $.fn[NAME].Constructor = Popover;
- $(this.element).trigger(hideEvent);
+ $.fn[NAME].noConflict = function () {
+ $.fn[NAME] = JQUERY_NO_CONFLICT;
+ return Popover._jQueryInterface;
+ };
- if (hideEvent.isDefaultPrevented()) {
- return;
- }
+ return Popover;
+}($);
- $(tip).removeClass(ClassName.SHOW);
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-beta.2): scrollspy.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
- // if this is a touch-enabled device we remove the extra
- // empty mouseover listeners we added for iOS support
- if ('ontouchstart' in document.documentElement) {
- $('body').children().off('mouseover', null, $.noop);
- }
+var ScrollSpy = function () {
+ /**
+ * ------------------------------------------------------------------------
+ * Constants
+ * ------------------------------------------------------------------------
+ */
+ var NAME = 'scrollspy';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.scrollspy';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var Default = {
+ offset: 10,
+ method: 'auto',
+ target: ''
+ };
+ var DefaultType = {
+ offset: 'number',
+ method: 'string',
+ target: '(string|element)'
+ };
+ var Event = {
+ ACTIVATE: "activate" + EVENT_KEY,
+ SCROLL: "scroll" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY
+ };
+ var ClassName = {
+ DROPDOWN_ITEM: 'dropdown-item',
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active'
+ };
+ var Selector = {
+ DATA_SPY: '[data-spy="scroll"]',
+ ACTIVE: '.active',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ NAV_LINKS: '.nav-link',
+ NAV_ITEMS: '.nav-item',
+ LIST_ITEMS: '.list-group-item',
+ DROPDOWN: '.dropdown',
+ DROPDOWN_ITEMS: '.dropdown-item',
+ DROPDOWN_TOGGLE: '.dropdown-toggle'
+ };
+ var OffsetMethod = {
+ OFFSET: 'offset',
+ POSITION: 'position'
+ /**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
- this._activeTrigger[Trigger.CLICK] = false;
- this._activeTrigger[Trigger.FOCUS] = false;
- this._activeTrigger[Trigger.HOVER] = false;
+ };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ var ScrollSpy =
+ /*#__PURE__*/
+ function () {
+ function ScrollSpy(element, config) {
+ var _this = this;
- $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
- }
+ this._element = element;
+ this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
+ this._targets = [];
+ this._activeTarget = null;
+ this._scrollHeight = 0;
+ $(this._scrollElement).on(Event.SCROLL, function (event) {
+ return _this._process(event);
+ });
+ this.refresh();
- this._hoverState = '';
- };
+ this._process();
+ } // getters
- Tooltip.prototype.update = function update() {
- if (this._popper !== null) {
- this._popper.scheduleUpdate();
- }
- };
- // protected
+ var _proto = ScrollSpy.prototype;
- Tooltip.prototype.isWithContent = function isWithContent() {
- return Boolean(this.getTitle());
- };
+ // public
+ _proto.refresh = function refresh() {
+ var _this2 = this;
- Tooltip.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
+ var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ this._offsets = [];
+ this._targets = [];
+ this._scrollHeight = this._getScrollHeight();
+ var targets = $.makeArray($(this._selector));
+ targets.map(function (element) {
+ var target;
+ var targetSelector = Util.getSelectorFromElement(element);
- Tooltip.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ if (targetSelector) {
+ target = $(targetSelector)[0];
+ }
- Tooltip.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
- this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (target) {
+ var targetBCR = target.getBoundingClientRect();
- Tooltip.prototype.setElementContent = function setElementContent($element, content) {
- var html = this.config.html;
- if ((typeof content === 'undefined' ? 'undefined' : _typeof(content)) === 'object' && (content.nodeType || content.jquery)) {
- // content is a DOM node or a jQuery
- if (html) {
- if (!$(content).parent().is($element)) {
- $element.empty().append(content);
+ if (targetBCR.width || targetBCR.height) {
+ // todo (fat): remove sketch reliance on jQuery position/offset
+ return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
}
- } else {
- $element.text($(content).text());
}
- } else {
- $element[html ? 'html' : 'text'](content);
- }
- };
-
- Tooltip.prototype.getTitle = function getTitle() {
- var title = this.element.getAttribute('data-original-title');
- if (!title) {
- title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
- }
+ return null;
+ }).filter(function (item) {
+ return item;
+ }).sort(function (a, b) {
+ return a[0] - b[0];
+ }).forEach(function (item) {
+ _this2._offsets.push(item[0]);
- return title;
+ _this2._targets.push(item[1]);
+ });
};
- // private
-
- Tooltip.prototype._getAttachment = function _getAttachment(placement) {
- return AttachmentMap[placement.toUpperCase()];
- };
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ $(this._scrollElement).off(EVENT_KEY);
+ this._element = null;
+ this._scrollElement = null;
+ this._config = null;
+ this._selector = null;
+ this._offsets = null;
+ this._targets = null;
+ this._activeTarget = null;
+ this._scrollHeight = null;
+ }; // private
- Tooltip.prototype._setListeners = function _setListeners() {
- var _this26 = this;
- var triggers = this.config.trigger.split(' ');
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, Default, config);
- triggers.forEach(function (trigger) {
- if (trigger === 'click') {
- $(_this26.element).on(_this26.constructor.Event.CLICK, _this26.config.selector, function (event) {
- return _this26.toggle(event);
- });
- } else if (trigger !== Trigger.MANUAL) {
- var eventIn = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSEENTER : _this26.constructor.Event.FOCUSIN;
- var eventOut = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSELEAVE : _this26.constructor.Event.FOCUSOUT;
+ if (typeof config.target !== 'string') {
+ var id = $(config.target).attr('id');
- $(_this26.element).on(eventIn, _this26.config.selector, function (event) {
- return _this26._enter(event);
- }).on(eventOut, _this26.config.selector, function (event) {
- return _this26._leave(event);
- });
+ if (!id) {
+ id = Util.getUID(NAME);
+ $(config.target).attr('id', id);
}
- $(_this26.element).closest('.modal').on('hide.bs.modal', function () {
- return _this26.hide();
- });
- });
-
- if (this.config.selector) {
- this.config = $.extend({}, this.config, {
- trigger: 'manual',
- selector: ''
- });
- } else {
- this._fixTitle();
+ config.target = "#" + id;
}
- };
- Tooltip.prototype._fixTitle = function _fixTitle() {
- var titleType = _typeof(this.element.getAttribute('data-original-title'));
- if (this.element.getAttribute('title') || titleType !== 'string') {
- this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
- this.element.setAttribute('title', '');
- }
+ Util.typeCheckConfig(NAME, config, DefaultType);
+ return config;
};
- Tooltip.prototype._enter = function _enter(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
+ _proto._getScrollTop = function _getScrollTop() {
+ return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ };
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ _proto._getScrollHeight = function _getScrollHeight() {
+ return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
+ };
- if (event) {
- context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
- }
+ _proto._getOffsetHeight = function _getOffsetHeight() {
+ return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
+ };
- if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
- context._hoverState = HoverState.SHOW;
- return;
- }
+ _proto._process = function _process() {
+ var scrollTop = this._getScrollTop() + this._config.offset;
- clearTimeout(context._timeout);
+ var scrollHeight = this._getScrollHeight();
- context._hoverState = HoverState.SHOW;
+ var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
- if (!context.config.delay || !context.config.delay.show) {
- context.show();
- return;
+ if (this._scrollHeight !== scrollHeight) {
+ this.refresh();
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.SHOW) {
- context.show();
- }
- }, context.config.delay.show);
- };
-
- Tooltip.prototype._leave = function _leave(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
-
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ if (scrollTop >= maxScroll) {
+ var target = this._targets[this._targets.length - 1];
- if (event) {
- context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
- }
+ if (this._activeTarget !== target) {
+ this._activate(target);
+ }
- if (context._isWithActiveTrigger()) {
return;
}
- clearTimeout(context._timeout);
+ if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
+ this._activeTarget = null;
- context._hoverState = HoverState.OUT;
+ this._clear();
- if (!context.config.delay || !context.config.delay.hide) {
- context.hide();
return;
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.OUT) {
- context.hide();
- }
- }, context.config.delay.hide);
- };
+ for (var i = this._offsets.length; i--;) {
+ var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]);
- Tooltip.prototype._isWithActiveTrigger = function _isWithActiveTrigger() {
- for (var trigger in this._activeTrigger) {
- if (this._activeTrigger[trigger]) {
- return true;
+ if (isActiveTarget) {
+ this._activate(this._targets[i]);
}
}
-
- return false;
};
- Tooltip.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
-
- if (config.delay && typeof config.delay === 'number') {
- config.delay = {
- show: config.delay,
- hide: config.delay
- };
- }
-
- if (config.title && typeof config.title === 'number') {
- config.title = config.title.toString();
- }
+ _proto._activate = function _activate(target) {
+ this._activeTarget = target;
- if (config.content && typeof config.content === 'number') {
- config.content = config.content.toString();
- }
+ this._clear();
- Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ var queries = this._selector.split(','); // eslint-disable-next-line arrow-body-style
- return config;
- };
- Tooltip.prototype._getDelegateConfig = function _getDelegateConfig() {
- var config = {};
+ queries = queries.map(function (selector) {
+ return selector + "[data-target=\"" + target + "\"]," + (selector + "[href=\"" + target + "\"]");
+ });
+ var $link = $(queries.join(','));
- if (this.config) {
- for (var key in this.config) {
- if (this.constructor.Default[key] !== this.config[key]) {
- config[key] = this.config[key];
- }
- }
- }
+ if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
+ $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
+ $link.addClass(ClassName.ACTIVE);
+ } else {
+ // Set triggered link as active
+ $link.addClass(ClassName.ACTIVE); // Set triggered links parents as active
+ // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- return config;
- };
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ", " + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); // Handle special case when .nav-link is inside .nav-item
- Tooltip.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_ITEMS).children(Selector.NAV_LINKS).addClass(ClassName.ACTIVE);
}
- };
- Tooltip.prototype._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
- this._cleanTipClass();
- this.addAttachmentClass(this._getAttachment(data.placement));
+ $(this._scrollElement).trigger(Event.ACTIVATE, {
+ relatedTarget: target
+ });
};
- Tooltip.prototype._fixTransition = function _fixTransition() {
- var tip = this.getTipElement();
- var initConfigAnimation = this.config.animation;
- if (tip.getAttribute('x-placement') !== null) {
- return;
- }
- $(tip).removeClass(ClassName.FADE);
- this.config.animation = false;
- this.hide();
- this.show();
- this.config.animation = initConfigAnimation;
- };
+ _proto._clear = function _clear() {
+ $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
+ }; // static
- // static
- Tooltip._jQueryInterface = function _jQueryInterface(config) {
+ ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
- if (!data && /dispose|hide/.test(config)) {
- return;
- }
+ var _config = typeof config === 'object' && config;
if (!data) {
- data = new Tooltip(this, _config);
+ data = new ScrollSpy(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tooltip, null, [{
- key: 'VERSION',
+ createClass(ScrollSpy, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
-
- return Tooltip;
+ return ScrollSpy;
}();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
+
+
+ $(window).on(Event.LOAD_DATA_API, function () {
+ var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+
+ for (var i = scrollSpys.length; i--;) {
+ var $spy = $(scrollSpys[i]);
+ ScrollSpy._jQueryInterface.call($spy, $spy.data());
+ }
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tooltip._jQueryInterface;
- $.fn[NAME].Constructor = Tooltip;
+ $.fn[NAME] = ScrollSpy._jQueryInterface;
+ $.fn[NAME].Constructor = ScrollSpy;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tooltip._jQueryInterface;
+ return ScrollSpy._jQueryInterface;
};
- return Tooltip;
-}(jQuery);
+ return ScrollSpy;
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): popover.js
+ * Bootstrap (v4.0.0-beta.2): tab.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Popover = function ($) {
-
+var Tab = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'popover';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.popover';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'tab';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tab';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var CLASS_PREFIX = 'bs-popover';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var Default = $.extend({}, Tooltip.Default, {
- placement: 'right',
- trigger: 'click',
- content: '',
- template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
- });
-
- var DefaultType = $.extend({}, Tooltip.DefaultType, {
- content: '(string|element|function)'
- });
-
+ var TRANSITION_DURATION = 150;
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
+ };
var ClassName = {
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active',
+ DISABLED: 'disabled',
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TITLE: '.popover-header',
- CONTENT: '.popover-body'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
-
+ DROPDOWN: '.dropdown',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ ACTIVE: '.active',
+ ACTIVE_UL: '> li > .active',
+ DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
+ DROPDOWN_TOGGLE: '.dropdown-toggle',
+ DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3695,137 +3602,249 @@ var Popover = function ($) {
*/
};
- var Popover = function (_Tooltip) {
- _inherits(Popover, _Tooltip);
- function Popover() {
- _classCallCheck(this, Popover);
+ var Tab =
+ /*#__PURE__*/
+ function () {
+ function Tab(element) {
+ this._element = element;
+ } // getters
- return _possibleConstructorReturn(this, _Tooltip.apply(this, arguments));
- }
- // overrides
+ var _proto = Tab.prototype;
- Popover.prototype.isWithContent = function isWithContent() {
- return this.getTitle() || this._getContent();
- };
+ // public
+ _proto.show = function show() {
+ var _this = this;
- Popover.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
+ return;
+ }
- Popover.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ var target;
+ var previous;
+ var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
+ var selector = Util.getSelectorFromElement(this._element);
- Popover.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
+ if (listElement) {
+ var itemSelector = listElement.nodeName === 'UL' ? Selector.ACTIVE_UL : Selector.ACTIVE;
+ previous = $.makeArray($(listElement).find(itemSelector));
+ previous = previous[previous.length - 1];
+ }
- // we use append for html objects to maintain js events
- this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
- this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ var hideEvent = $.Event(Event.HIDE, {
+ relatedTarget: this._element
+ });
+ var showEvent = $.Event(Event.SHOW, {
+ relatedTarget: previous
+ });
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (previous) {
+ $(previous).trigger(hideEvent);
+ }
- // private
+ $(this._element).trigger(showEvent);
- Popover.prototype._getContent = function _getContent() {
- return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
+ if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ return;
+ }
+
+ if (selector) {
+ target = $(selector)[0];
+ }
+
+ this._activate(this._element, listElement);
+
+ var complete = function complete() {
+ var hiddenEvent = $.Event(Event.HIDDEN, {
+ relatedTarget: _this._element
+ });
+ var shownEvent = $.Event(Event.SHOWN, {
+ relatedTarget: previous
+ });
+ $(previous).trigger(hiddenEvent);
+ $(_this._element).trigger(shownEvent);
+ };
+
+ if (target) {
+ this._activate(target, target.parentNode, complete);
+ } else {
+ complete();
+ }
};
- Popover.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ this._element = null;
+ }; // private
+
+
+ _proto._activate = function _activate(element, container, callback) {
+ var _this2 = this;
+
+ var activeElements;
+
+ if (container.nodeName === 'UL') {
+ activeElements = $(container).find(Selector.ACTIVE_UL);
+ } else {
+ activeElements = $(container).children(Selector.ACTIVE);
+ }
+
+ var active = activeElements[0];
+ var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+
+ var complete = function complete() {
+ return _this2._transitionComplete(element, active, isTransitioning, callback);
+ };
+
+ if (active && isTransitioning) {
+ $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+
+ if (active) {
+ $(active).removeClass(ClassName.SHOW);
}
};
- // static
+ _proto._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
+ if (active) {
+ $(active).removeClass(ClassName.ACTIVE);
+ var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
- Popover._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+ if (dropdownChild) {
+ $(dropdownChild).removeClass(ClassName.ACTIVE);
+ }
- if (!data && /destroy|hide/.test(config)) {
- return;
+ if (active.getAttribute('role') === 'tab') {
+ active.setAttribute('aria-selected', false);
+ }
+ }
+
+ $(element).addClass(ClassName.ACTIVE);
+
+ if (element.getAttribute('role') === 'tab') {
+ element.setAttribute('aria-selected', true);
+ }
+
+ if (isTransitioning) {
+ Util.reflow(element);
+ $(element).addClass(ClassName.SHOW);
+ } else {
+ $(element).removeClass(ClassName.FADE);
+ }
+
+ if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
+
+ if (dropdownElement) {
+ $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
}
+ element.setAttribute('aria-expanded', true);
+ }
+
+ if (callback) {
+ callback();
+ }
+ }; // static
+
+
+ Tab._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var $this = $(this);
+ var data = $this.data(DATA_KEY);
+
if (!data) {
- data = new Popover(this, _config);
- $(this).data(DATA_KEY, data);
+ data = new Tab(this);
+ $this.data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Popover, null, [{
- key: 'VERSION',
-
-
- // getters
-
+ createClass(Tab, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }, {
- key: 'Default',
- get: function get() {
- return Default;
- }
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
+ return Tab;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
- return Popover;
- }(Tooltip);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+ event.preventDefault();
+
+ Tab._jQueryInterface.call($(this), 'show');
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Popover._jQueryInterface;
- $.fn[NAME].Constructor = Popover;
+ $.fn[NAME] = Tab._jQueryInterface;
+ $.fn[NAME].Constructor = Tab;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Popover._jQueryInterface;
+ return Tab._jQueryInterface;
};
- return Popover;
-}(jQuery);
+ return Tab;
+}($);
+
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-alpha.6): index.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
+(function () {
+ if (typeof $ === 'undefined') {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');
+ }
-})();
\ No newline at end of file
+ var version = $.fn.jquery.split(' ')[0].split('.');
+ var minMajor = 1;
+ var ltMajor = 2;
+ var minMinor = 9;
+ var minPatch = 1;
+ var maxMajor = 4;
+
+ 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 v1.9.1 but less than v4.0.0');
+ }
+})($);
+
+exports.Util = Util;
+exports.Alert = Alert;
+exports.Button = Button;
+exports.Carousel = Carousel;
+exports.Collapse = Collapse;
+exports.Dropdown = Dropdown;
+exports.Modal = Modal;
+exports.Popover = Popover;
+exports.Scrollspy = ScrollSpy;
+exports.Tab = Tab;
+exports.Tooltip = Tooltip;
+
+return exports;
+
+}({},$,Popper));
+//# sourceMappingURL=bootstrap.js.map
diff --git a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/js/bootstrap.min.js b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/js/bootstrap.min.js
index e187476..27aace3 100644
--- a/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/js/bootstrap.min.js
+++ b/tobago-theme/tobago-theme-charlotteville/src/main/resources/META-INF/resources/tobago/charlotteville/tobago-bootstrap/_version/js/bootstrap.min.js
@@ -1,6 +1,7 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(t){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function t(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object [...]
\ No newline at end of file
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap=function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){function t(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(){return{bindType:r.end,delegateType:r.end,handle:function(t){if(e(t.target).is(this) [...]
+//# sourceMappingURL=bootstrap.min.js.map
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-richmond/rebuild-theme.log b/tobago-theme/tobago-theme-richmond/rebuild-theme.log
index 89a14ec..f0c08bc 100644
--- a/tobago-theme/tobago-theme-richmond/rebuild-theme.log
+++ b/tobago-theme/tobago-theme-richmond/rebuild-theme.log
@@ -1,4 +1,4 @@
-Build date: 2017-10-12 18:00:08
+Build date: 2017-10-20 13:33:38
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
@@ -11,20 +11,20 @@ Build date: 2017-10-12 18:00:08
[INFO]
[INFO] --- maven-scm-plugin:1.9.5:checkout (step #1: checkout-bootstrap) @ tobago-theme-richmond ---
[INFO] Removing __CURRENT__/tobago-theme-richmond/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-richmond/target && git clone --branch v4.0.0-beta https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-richmond/target/checkout
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-richmond/target && git clone --branch v4.0.0-beta.2 https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-richmond/target/checkout
[INFO] Working directory: __CURRENT__/tobago-theme-richmond/target
[INFO] Executing: /bin/sh -c cd /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/ && git ls-remote https://github.com/twbs/bootstrap
[INFO] Working directory: /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-richmond/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta:v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-richmond/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta.2:v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-richmond/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-richmond/target/checkout && git checkout v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-richmond/target/checkout && git checkout v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-richmond/target/checkout
[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-richmond/target/checkout && git ls-files
[INFO] Working directory: __CURRENT__/tobago-theme-richmond/target/checkout
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #2: copy-bootstrap) @ tobago-theme-richmond ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 392 resources
+[INFO] Copying 425 resources
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #3: copy-custom) @ tobago-theme-richmond ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
@@ -38,30 +38,27 @@ Build date: 2017-10-12 18:00:08
[INFO] Unpacking __REPO__/org/apache/myfaces/tobago/tobago-core/4.0.0-SNAPSHOT/tobago-core-4.0.0-SNAPSHOT.jar to __CURRENT__/tobago-theme-richmond/target/bootstrap with includes "**/*.scss" and excludes ""
[INFO]
[INFO] --- frontend-maven-plugin:1.4:install-node-and-npm (step #6: install node and npm) @ tobago-theme-richmond ---
-[INFO] Installing node version v6.10.2
-[INFO] Unpacking __REPO__/com/github/eirslett/node/6.10.2/node-6.10.2-darwin-x64.tar.gz into __CURRENT__/tobago-theme-richmond/target/frontend/node/tmp
-[INFO] Copying node binary from __CURRENT__/tobago-theme-richmond/target/frontend/node/tmp/node-v6.10.2-darwin-x64/bin/node to __CURRENT__/tobago-theme-richmond/target/frontend/node/node
+[INFO] Installing node version v7.10.1
+[INFO] Unpacking __REPO__/com/github/eirslett/node/7.10.1/node-7.10.1-darwin-x64.tar.gz into __CURRENT__/tobago-theme-richmond/target/frontend/node/tmp
+[INFO] Copying node binary from __CURRENT__/tobago-theme-richmond/target/frontend/node/tmp/node-v7.10.1-darwin-x64/bin/node to __CURRENT__/tobago-theme-richmond/target/frontend/node/node
[INFO] Installed node locally.
-[INFO] Installing npm version 3.10.10
-[INFO] Unpacking __REPO__/com/github/eirslett/npm/3.10.10/npm-3.10.10.tar.gz into __CURRENT__/tobago-theme-richmond/target/frontend/node/node_modules
+[INFO] Installing npm version 4.2.0
+[INFO] Unpacking __REPO__/com/github/eirslett/npm/4.2.0/npm-4.2.0.tar.gz into __CURRENT__/tobago-theme-richmond/target/frontend/node/node_modules
[INFO] Installed npm locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #7: npm install) @ tobago-theme-richmond ---
[INFO] Running 'npm install' in __CURRENT__/tobago-theme-richmond/target/bootstrap
-[WARNING] npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
-[WARNING] npm WARN prefer global coffee-script@1.10.0 should be installed with -g
[WARNING] npm WARN prefer global node-gyp@3.6.2 should be installed with -g
[INFO]
[INFO] > fsevents@1.1.2 install __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/fsevents
[INFO] > node install
[INFO]
-[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
-[INFO] Pass --update-binary to reinstall or --build-from-source to recompile
+[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node" is installed via remote
[INFO]
[INFO] > node-sass@4.5.3 install __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/install.js
[INFO]
-[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-48_binding.node
+[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-51_binding.node
[INFO]
[INFO] > phantomjs-prebuilt@2.1.15 install __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/phantomjs-prebuilt
[INFO] > node install.js
@@ -71,58 +68,57 @@ Build date: 2017-10-12 18:00:08
[INFO] Verified checksum of previously downloaded file
[INFO] Extracting zip contents
[INFO] Removing __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
-[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1507824091702/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
+[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1508499309616/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
[INFO] Writing location.js file
[INFO] Done. Phantomjs binary available at __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
[INFO]
[INFO] > node-sass@4.5.3 postinstall __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/build.js
[INFO]
-[INFO] Binary found at __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-48/binding.node
+[INFO] Binary found at __CURRENT__/tobago-theme-richmond/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-51/binding.node
[INFO] Testing binary
[INFO] Binary is fine
-[INFO] bootstrap@4.0.0-beta __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] bootstrap@4.0.0-beta.2 __CURRENT__/tobago-theme-richmond/target/bootstrap
[INFO] ├─┬ autoprefixer@7.1.5
[INFO] │ ├─┬ browserslist@2.5.1
-[INFO] │ │ └── electron-to-chromium@1.3.26
-[INFO] │ ├── caniuse-lite@1.0.30000746
+[INFO] │ │ └── electron-to-chromium@1.3.27
+[INFO] │ ├── caniuse-lite@1.0.30000748
[INFO] │ ├── normalize-range@0.1.2
[INFO] │ ├── num2fraction@1.2.2
[INFO] │ ├─┬ postcss@6.0.13
-[INFO] │ │ ├── source-map@0.6.1
-[INFO] │ │ └─┬ supports-color@4.4.0
+[INFO] │ │ └─┬ supports-color@4.5.0
[INFO] │ │ └── has-flag@2.0.0
[INFO] │ └── postcss-value-parser@3.3.0
-[INFO] ├─┬ babel-cli@6.26.0
-[INFO] │ ├─┬ babel-core@6.26.0
-[INFO] │ │ ├─┬ babel-generator@6.26.0
-[INFO] │ │ │ ├─┬ detect-indent@4.0.0
-[INFO] │ │ │ │ └─┬ repeating@2.0.1
-[INFO] │ │ │ │ └── is-finite@1.0.2
-[INFO] │ │ │ ├── jsesc@1.3.0
+[INFO] ├─┬ babel-cli@7.0.0-beta.2
+[INFO] │ ├─┬ babel-core@7.0.0-beta.2
+[INFO] │ │ ├── babel-code-frame@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-generator@7.0.0-beta.2
+[INFO] │ │ │ ├── jsesc@2.5.1
[INFO] │ │ │ ├── source-map@0.5.7
[INFO] │ │ │ └── trim-right@1.0.1
-[INFO] │ │ ├── babel-helpers@6.24.1
-[INFO] │ │ ├── babel-messages@6.23.0
-[INFO] │ │ ├── babel-template@6.26.0
+[INFO] │ │ ├── babel-helpers@7.0.0-beta.2
+[INFO] │ │ ├── babel-messages@7.0.0-beta.2
+[INFO] │ │ ├── babel-template@7.0.0-beta.2
+[INFO] │ │ ├── babel-traverse@7.0.0-beta.2
+[INFO] │ │ ├── babel-types@7.0.0-beta.2
+[INFO] │ │ ├── babylon@7.0.0-beta.25
[INFO] │ │ ├── json5@0.5.1
-[INFO] │ │ ├── private@0.1.7
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-polyfill@6.26.0
+[INFO] │ ├─┬ babel-polyfill@7.0.0-beta.2
[INFO] │ │ ├── core-js@2.5.1
-[INFO] │ │ └── regenerator-runtime@0.10.5
-[INFO] │ ├─┬ babel-register@6.26.0
-[INFO] │ │ ├─┬ home-or-tmp@2.0.0
-[INFO] │ │ │ ├── os-homedir@1.0.2
-[INFO] │ │ │ └── os-tmpdir@1.0.2
+[INFO] │ │ └── regenerator-runtime@0.11.0
+[INFO] │ ├─┬ babel-register@7.0.0-beta.2
+[INFO] │ │ ├─┬ find-cache-dir@1.0.0
+[INFO] │ │ │ ├── commondir@1.0.1
+[INFO] │ │ │ ├── make-dir@1.0.0
+[INFO] │ │ │ └── pkg-dir@2.0.0
+[INFO] │ │ ├── home-or-tmp@3.0.0
+[INFO] │ │ ├─┬ pirates@3.0.1
+[INFO] │ │ │ └── node-modules-regexp@1.0.0
[INFO] │ │ └─┬ source-map-support@0.4.18
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-runtime@6.26.0
-[INFO] │ │ └── regenerator-runtime@0.11.0
[INFO] │ ├─┬ chokidar@1.7.0
-[INFO] │ │ ├─┬ anymatch@1.3.2
-[INFO] │ │ │ └─┬ normalize-path@2.1.1
-[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├── anymatch@1.3.2
[INFO] │ │ ├── async-each@1.0.1
[INFO] │ │ ├─┬ fsevents@1.1.2
[INFO] │ │ │ └─┬ node-pre-gyp@0.6.36
@@ -219,8 +215,6 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ │ │ │ └── concat-map@0.0.1
[INFO] │ │ │ │ └── path-is-absolute@1.0.1
[INFO] │ │ │ ├── semver@5.3.0
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of jquery@>=1.9.1 but none was installed.
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of popper.js@^1.11.0 but none was installed.
[INFO] │ │ │ ├─┬ tar@2.2.1
[INFO] │ │ │ │ ├── block-stream@0.0.9
[INFO] │ │ │ │ ├─┬ fstream@1.0.11
@@ -244,8 +238,8 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ ├── inherits@2.0.3
[INFO] │ │ ├─┬ is-binary-path@1.0.1
[INFO] │ │ │ └── binary-extensions@1.10.0
-[INFO] │ │ ├─┬ is-glob@2.0.1
-[INFO] │ │ │ └── is-extglob@1.0.0
+[INFO] │ │ ├── is-glob@2.0.1
+[INFO] │ │ ├── path-is-absolute@1.0.1
[INFO] │ │ └─┬ readdirp@2.1.0
[INFO] │ │ └── set-immediate-shim@1.0.1
[INFO] │ ├── commander@2.11.0
@@ -257,76 +251,155 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ │ └── wrappy@1.0.2
[INFO] │ │ └── once@1.4.0
[INFO] │ ├── lodash@4.17.4
-[INFO] │ ├─┬ output-file-sync@1.1.2
+[INFO] │ ├─┬ output-file-sync@2.0.0
[INFO] │ │ ├── graceful-fs@4.1.11
-[INFO] │ │ └── object-assign@4.1.1
-[INFO] │ ├── path-is-absolute@1.0.1
+[INFO] │ │ └── is-plain-obj@1.1.0
[INFO] │ ├── slash@1.0.0
-[INFO] │ ├── source-map@0.5.7
-[INFO] │ └─┬ v8flags@2.1.1
-[INFO] │ └── user-home@1.1.1
-[INFO] ├─┬ babel-eslint@7.2.3
-[INFO] │ ├─┬ babel-code-frame@6.26.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ └── source-map@0.5.7
+[INFO] ├─┬ babel-eslint@8.0.1
+[INFO] │ ├─┬ babel-code-frame@7.0.0-beta.0
[INFO] │ │ └── js-tokens@3.0.2
-[INFO] │ ├─┬ babel-traverse@6.26.0
-[INFO] │ │ └─┬ invariant@2.2.2
-[INFO] │ │ └── loose-envify@1.3.1
-[INFO] │ ├─┬ babel-types@6.26.0
-[INFO] │ │ └── to-fast-properties@1.0.3
-[INFO] │ └── babylon@6.18.0
+[INFO] │ ├─┬ babel-traverse@7.0.0-beta.0
+[INFO] │ │ ├─┬ babel-helper-function-name@7.0.0-beta.0
+[INFO] │ │ │ ├── babel-helper-get-function-arity@7.0.0-beta.0
+[INFO] │ │ │ └── babel-template@7.0.0-beta.0
+[INFO] │ │ ├── babel-messages@7.0.0-beta.0
+[INFO] │ │ └── globals@10.1.0
+[INFO] │ ├─┬ babel-types@7.0.0-beta.0
+[INFO] │ │ └── to-fast-properties@2.0.0
+[INFO] │ └── babylon@7.0.0-beta.22
+[INFO] ├── babel-plugin-external-helpers@7.0.0-beta.2
[INFO] ├── babel-plugin-transform-es2015-modules-strip@0.1.1
-[INFO] ├─┬ babel-preset-es2015@6.24.1
-[INFO] │ ├── babel-plugin-check-es2015-constants@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@6.26.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@6.24.1
-[INFO] │ │ ├── babel-helper-define-map@6.26.0
-[INFO] │ │ ├── babel-helper-function-name@6.24.1
-[INFO] │ │ ├── babel-helper-optimise-call-expression@6.24.1
-[INFO] │ │ └── babel-helper-replace-supers@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-destructuring@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-for-of@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-function-name@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-modules-amd@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-commonjs@6.26.0
-[INFO] │ │ └── babel-plugin-transform-strict-mode@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@6.24.1
-[INFO] │ │ └── babel-helper-hoist-variables@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-object-super@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@6.24.1
-[INFO] │ │ ├── babel-helper-call-delegate@6.24.1
-[INFO] │ │ └── babel-helper-get-function-arity@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-spread@6.22.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.24.1
-[INFO] │ │ └── babel-helper-regex@6.26.0
-[INFO] │ ├── babel-plugin-transform-es2015-template-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@6.23.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.24.1
-[INFO] │ │ └─┬ regexpu-core@2.0.0
+[INFO] ├─┬ babel-preset-env@2.0.0-beta.2
+[INFO] │ ├── babel-plugin-check-es2015-constants@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-syntax-async-generators@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-object-rest-spread@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
+[INFO] │ ├─┬ babel-plugin-transform-async-generator-functions@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-remap-async-to-generator@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-wrap-function@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-generators@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-async-to-generator@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-functions@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-annotate-as-pure@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-define-map@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-function-name@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-optimise-call-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-replace-supers@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-destructuring@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-for-of@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-function-name@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-literals@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-amd@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-module-transforms@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-commonjs@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-hoist-variables@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-object-super@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-call-delegate@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-get-function-arity@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-regex@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-template-literals@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@7.0.0-beta.2
+[INFO] │ │ └─┬ regexpu-core@4.1.3
[INFO] │ │ ├── regenerate@1.3.3
-[INFO] │ │ ├── regjsgen@0.2.0
-[INFO] │ │ └─┬ regjsparser@0.1.5
-[INFO] │ │ └── jsesc@0.5.0
-[INFO] │ └─┬ babel-plugin-transform-regenerator@6.26.0
-[INFO] │ └── regenerator-transform@0.10.1
+[INFO] │ │ ├── regenerate-unicode-properties@5.1.1
+[INFO] │ │ ├── regjsgen@0.3.0
+[INFO] │ │ ├─┬ regjsparser@0.2.1
+[INFO] │ │ │ └── jsesc@0.5.0
+[INFO] │ │ ├─┬ unicode-match-property-ecmascript@1.0.3
+[INFO] │ │ │ ├── unicode-canonical-property-names-ecmascript@1.0.2
+[INFO] │ │ │ └── unicode-property-aliases-ecmascript@1.0.3
+[INFO] │ │ └── unicode-match-property-value-ecmascript@1.0.1
+[INFO] │ ├─┬ babel-plugin-transform-exponentiation-operator@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-builder-binary-assignment-operator-visitor@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-explode-assignable-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-exponentiation-operator@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-new-target@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-object-rest-spread@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-object-rest-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-optional-catch-binding@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-regenerator@7.0.0-beta.2
+[INFO] │ │ └─┬ regenerator-transform@0.10.0
+[INFO] │ │ ├─┬ babel-types@6.26.0
+[INFO] │ │ │ └── to-fast-properties@1.0.3
+[INFO] │ │ └── private@0.1.8
+[INFO] │ ├─┬ babel-plugin-transform-unicode-property-regex@2.0.5
+[INFO] │ │ └─┬ babel-helper-regex@6.26.0
+[INFO] │ │ └─┬ babel-types@6.26.0
+[INFO] │ │ └── to-fast-properties@1.0.3
+[INFO] │ ├─┬ invariant@2.2.2
+[INFO] │ │ └── loose-envify@1.3.1
+[INFO] │ └── semver@5.4.1
+[INFO] ├─┬ bundlesize@0.15.3
+[INFO] │ ├─┬ axios@0.16.2
+[INFO] │ │ ├─┬ follow-redirects@1.2.5
+[INFO] │ │ │ └── debug@2.6.9
+[INFO] │ │ └── is-buffer@1.1.5
+[INFO] │ ├── bytes@3.0.0
+[INFO] │ ├── ci-env@1.4.0
+[INFO] │ ├─┬ github-build@1.2.0
+[INFO] │ │ └─┬ axios@0.15.3
+[INFO] │ │ └─┬ follow-redirects@1.0.0
+[INFO] │ │ └── debug@2.6.9
+[INFO] │ ├─┬ gzip-size@4.0.0
+[INFO] │ │ ├── duplexer@0.1.1
+[INFO] │ │ └── pify@3.0.0
+[INFO] │ ├─┬ opencollective@1.0.3
+[INFO] │ │ ├─┬ babel-polyfill@6.23.0
+[INFO] │ │ │ └── regenerator-runtime@0.10.5
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── minimist@1.2.0
+[INFO] │ │ ├─┬ node-fetch@1.6.3
+[INFO] │ │ │ └── encoding@0.1.12
+[INFO] │ │ └── opn@4.0.2
+[INFO] │ ├─┬ prettycli@1.4.3
+[INFO] │ │ └── chalk@2.1.0
+[INFO] │ └─┬ read-pkg-up@2.0.0
+[INFO] │ └─┬ find-up@2.1.0
+[INFO] │ └─┬ locate-path@2.0.0
+[INFO] │ ├─┬ p-locate@2.0.0
+[INFO] │ │ └── p-limit@1.1.0
+[INFO] │ └── path-exists@3.0.0
[INFO] ├─┬ clean-css-cli@4.1.10
[INFO] │ └─┬ clean-css@4.1.9
[INFO] │ └── source-map@0.5.7
-[INFO] ├─┬ eslint@4.8.0
+[INFO] ├─┬ cross-env@5.1.0
+[INFO] │ ├─┬ cross-spawn@5.1.0
+[INFO] │ │ ├─┬ lru-cache@4.1.1
+[INFO] │ │ │ ├── pseudomap@1.0.2
+[INFO] │ │ │ └── yallist@2.1.2
+[INFO] │ │ ├─┬ shebang-command@1.2.0
+[INFO] │ │ │ └── shebang-regex@1.0.0
+[INFO] │ │ └── which@1.3.0
+[INFO] │ └── is-windows@1.0.1
+[INFO] ├─┬ eslint@4.9.0
[INFO] │ ├─┬ ajv@5.2.3
[INFO] │ │ ├── co@4.6.0
[INFO] │ │ ├── fast-deep-equal@1.0.0
[INFO] │ │ └── json-schema-traverse@0.3.1
-[INFO] │ ├─┬ chalk@2.1.0
+[INFO] │ ├─┬ babel-code-frame@6.26.0
+[INFO] │ │ └─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ ├─┬ chalk@2.2.0
[INFO] │ │ └── escape-string-regexp@1.0.5
[INFO] │ ├─┬ concat-stream@1.6.0
[INFO] │ │ ├─┬ readable-stream@2.3.3
@@ -335,13 +408,6 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ │ ├── string_decoder@1.0.3
[INFO] │ │ │ └── util-deprecate@1.0.2
[INFO] │ │ └── typedarray@0.0.6
-[INFO] │ ├─┬ cross-spawn@5.1.0
-[INFO] │ │ ├─┬ lru-cache@4.1.1
-[INFO] │ │ │ ├── pseudomap@1.0.2
-[INFO] │ │ │ └── yallist@2.1.2
-[INFO] │ │ ├─┬ shebang-command@1.2.0
-[INFO] │ │ │ └── shebang-regex@1.0.0
-[INFO] │ │ └── which@1.3.0
[INFO] │ ├─┬ debug@3.1.0
[INFO] │ │ └── ms@2.0.0
[INFO] │ ├─┬ doctrine@2.0.0
@@ -356,39 +422,39 @@ Build date: 2017-10-12 18:00:08
[INFO] │ ├── estraverse@4.2.0
[INFO] │ ├── esutils@2.0.2
[INFO] │ ├─┬ file-entry-cache@2.0.0
-[INFO] │ │ └─┬ flat-cache@1.3.0
-[INFO] │ │ ├── circular-json@0.3.3
-[INFO] │ │ ├─┬ del@2.2.2
-[INFO] │ │ │ ├─┬ globby@5.0.0
-[INFO] │ │ │ │ └── arrify@1.0.1
-[INFO] │ │ │ ├── is-path-cwd@1.0.0
-[INFO] │ │ │ └── is-path-in-cwd@1.0.0
-[INFO] │ │ └── write@0.2.1
+[INFO] │ │ ├─┬ flat-cache@1.3.0
+[INFO] │ │ │ ├── circular-json@0.3.3
+[INFO] │ │ │ ├─┬ del@2.2.2
+[INFO] │ │ │ │ ├─┬ globby@5.0.0
+[INFO] │ │ │ │ │ └── arrify@1.0.1
+[INFO] │ │ │ │ ├── is-path-cwd@1.0.0
+[INFO] │ │ │ │ └── is-path-in-cwd@1.0.0
+[INFO] │ │ │ └── write@0.2.1
+[INFO] │ │ └── object-assign@4.1.1
[INFO] │ ├── functional-red-black-tree@1.0.1
[INFO] │ ├── globals@9.18.0
[INFO] │ ├── ignore@3.3.5
[INFO] │ ├── imurmurhash@0.1.4
-[INFO] │ ├─┬ inquirer@3.3.0
-[INFO] │ │ ├── ansi-escapes@3.0.0
+[INFO] │ ├─┬ inquirer@3.0.6
+[INFO] │ │ ├── ansi-escapes@1.4.0
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
[INFO] │ │ ├─┬ cli-cursor@2.1.0
[INFO] │ │ │ └─┬ restore-cursor@2.0.0
[INFO] │ │ │ └── onetime@2.0.1
[INFO] │ │ ├── cli-width@2.2.0
[INFO] │ │ ├─┬ external-editor@2.0.5
+[INFO] │ │ │ ├── iconv-lite@0.4.19
[INFO] │ │ │ ├── jschardet@1.5.1
[INFO] │ │ │ └── tmp@0.0.33
[INFO] │ │ ├── figures@2.0.0
[INFO] │ │ ├── mute-stream@0.0.7
[INFO] │ │ ├─┬ run-async@2.3.0
[INFO] │ │ │ └── is-promise@2.1.0
-[INFO] │ │ ├── rx-lite@4.0.8
-[INFO] │ │ ├── rx-lite-aggregates@4.0.8
-[INFO] │ │ ├─┬ string-width@2.1.1
-[INFO] │ │ │ ├── is-fullwidth-code-point@2.0.0
-[INFO] │ │ │ └─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
-[INFO] │ │ ├─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
+[INFO] │ │ ├── rx@4.1.0
+[INFO] │ │ ├─┬ strip-ansi@3.0.1
+[INFO] │ │ │ └── ansi-regex@2.1.1
[INFO] │ │ └── through@2.3.8
[INFO] │ ├─┬ is-resolvable@1.0.0
[INFO] │ │ └── tryit@1.0.3
@@ -403,12 +469,12 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ └── type-check@0.3.2
[INFO] │ ├─┬ minimatch@3.0.4
[INFO] │ │ └─┬ brace-expansion@1.1.8
-[INFO] │ │ ├── balanced-match@1.0.0
[INFO] │ │ └── concat-map@0.0.1
[INFO] │ ├─┬ mkdirp@0.5.1
[INFO] │ │ └── minimist@0.0.8
[INFO] │ ├── natural-compare@1.4.0
[INFO] │ ├─┬ optionator@0.8.2
+[WARNING] npm WARN bootstrap@4.0.0-beta.2 requires a peer of jquery@1.9.1 - 3 but none was installed.
[INFO] │ │ ├── deep-is@0.1.3
[INFO] │ │ ├── fast-levenshtein@2.0.6
[INFO] │ │ └── wordwrap@1.0.0
@@ -419,7 +485,6 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ ├─┬ caller-path@0.1.0
[INFO] │ │ │ └── callsites@0.2.0
[INFO] │ │ └── resolve-from@1.0.1
-[INFO] │ ├── semver@5.4.1
[INFO] │ ├─┬ strip-ansi@4.0.0
[INFO] │ │ └── ansi-regex@3.0.0
[INFO] │ ├── strip-json-comments@2.0.1
@@ -427,63 +492,15 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ ├── ajv-keywords@2.1.0
[INFO] │ │ └── slice-ansi@1.0.0
[INFO] │ └── text-table@0.2.0
-[INFO] ├─┬ grunt@1.0.1
-[INFO] │ ├── coffee-script@1.10.0
-[INFO] │ ├── dateformat@1.0.12
-[INFO] │ ├── eventemitter2@0.4.14
-[INFO] │ ├── exit@0.1.2
-[INFO] │ ├─┬ findup-sync@0.3.0
-[INFO] │ │ └── glob@5.0.15
-[INFO] │ ├── glob@7.0.6
-[INFO] │ ├── grunt-known-options@1.1.0
-[INFO] │ ├─┬ grunt-legacy-log@1.0.0
-[INFO] │ │ ├─┬ grunt-legacy-log-utils@1.0.0
-[INFO] │ │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ │ └── supports-color@2.0.0
-[INFO] │ │ │ └── lodash@4.3.0
-[INFO] │ │ ├── hooker@0.2.3
-[INFO] │ │ ├── lodash@3.10.1
-[INFO] │ │ └── underscore.string@3.2.3
-[INFO] │ ├─┬ grunt-legacy-util@1.0.0
-[INFO] │ │ ├── async@1.5.2
-[INFO] │ │ ├── getobject@0.1.0
-[INFO] │ │ ├── lodash@4.3.0
-[INFO] │ │ └── which@1.2.14
-[INFO] │ ├── iconv-lite@0.4.19
-[INFO] │ ├─┬ js-yaml@3.5.5
-[INFO] │ │ └── esprima@2.7.3
-[INFO] │ ├─┬ nopt@3.0.6
-[INFO] │ │ └── abbrev@1.1.1
-[INFO] │ └── rimraf@2.2.8
-[INFO] ├─┬ grunt-cli@1.2.0
-[INFO] │ └── resolve@1.1.7
-[INFO] ├─┬ grunt-saucelabs@9.0.0
-[INFO] │ ├── colors@1.1.2
-[INFO] │ ├── lodash@4.13.1
-[INFO] │ ├── q@1.4.1
-[INFO] │ ├─┬ requestretry@1.9.1
-[INFO] │ │ ├── extend@3.0.1
-[INFO] │ │ ├─┬ fg-lodash@0.0.2
-[INFO] │ │ │ ├── lodash@2.4.2
-[INFO] │ │ │ └── underscore.string@2.3.3
-[INFO] │ │ └── when@3.7.8
-[INFO] │ ├─┬ sauce-tunnel@2.5.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
-[INFO] │ │ └── split@1.0.1
-[INFO] │ └─┬ saucelabs@1.2.0
-[INFO] │ └─┬ https-proxy-agent@1.0.0
-[INFO] │ └─┬ agent-base@2.1.1
-[INFO] │ └── semver@5.0.3
+[INFO] ├─┬ eslint-plugin-compat@2.0.1
+[INFO] │ ├── babel-runtime@6.26.0
+[INFO] │ ├── caniuse-db@1.0.30000748
+[INFO] │ └── requireindex@1.1.0
[INFO] ├─┬ htmllint-cli@0.0.6
[INFO] │ ├── bluebird@3.5.1
[INFO] │ ├─┬ chalk@1.1.3
[INFO] │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ ├─┬ has-ansi@2.0.0
-[INFO] │ │ │ └── ansi-regex@2.1.1
-[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ ├── has-ansi@2.0.0
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ cjson@0.5.0
[INFO] │ │ └─┬ json-parse-helpfulerror@1.0.3
@@ -498,7 +515,7 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ │ └── domelementtype@1.1.3
[INFO] │ │ └── entities@1.1.1
[INFO] │ ├─┬ liftoff@2.3.0
-[INFO] │ │ ├── findup-sync@0.4.3
+[INFO] │ │ ├── extend@3.0.1
[INFO] │ │ ├─┬ fined@1.1.0
[INFO] │ │ │ ├─┬ expand-tilde@2.0.2
[INFO] │ │ │ │ └─┬ homedir-polyfill@1.0.1
@@ -508,16 +525,16 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ │ ├─┬ object.defaults@1.1.0
[INFO] │ │ │ │ ├── array-each@1.0.1
[INFO] │ │ │ │ ├── array-slice@1.0.0
-[INFO] │ │ │ │ ├─┬ for-own@1.0.0
-[INFO] │ │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ │ ├── for-own@1.0.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ ├─┬ object.pick@1.3.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ └─┬ parse-filepath@1.0.1
[INFO] │ │ │ ├─┬ is-absolute@0.2.6
-[INFO] │ │ │ │ └─┬ is-relative@0.2.1
-[INFO] │ │ │ │ └─┬ is-unc-path@0.1.2
-[INFO] │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ ├─┬ is-relative@0.2.1
+[INFO] │ │ │ │ │ └─┬ is-unc-path@0.1.2
+[INFO] │ │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ └── is-windows@0.2.0
[INFO] │ │ │ ├── map-cache@0.2.2
[INFO] │ │ │ └─┬ path-root@0.1.1
[INFO] │ │ │ └── path-root-regex@0.1.2
@@ -557,9 +574,15 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ └── number-is-nan@1.0.1
[INFO] │ ├── which-module@1.0.0
[INFO] │ ├── y18n@3.2.1
-[INFO] │ └─┬ yargs-parser@4.2.1
-[INFO] │ └── camelcase@3.0.0
-[INFO] ├── UNMET PEER DEPENDENCY jquery@>=1.9.1
+[INFO] │ └── yargs-parser@4.2.1
+[INFO] ├── UNMET PEER DEPENDENCY jquery@1.9.1 - 3
+[INFO] ├─┬ jsunitsaucelabs@1.3.0
+[INFO] │ ├── colors@1.1.2
+[INFO] │ └─┬ sauce-tunnel@2.5.0
+[INFO] │ ├─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ └── split@1.0.1
[INFO] ├─┬ node-sass@4.5.3
[INFO] │ ├── async-foreach@0.1.3
[INFO] │ ├─┬ chalk@1.1.3
@@ -584,20 +607,32 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ ├── minimist@1.2.0
[INFO] │ │ ├─┬ normalize-package-data@2.4.0
[INFO] │ │ │ ├── hosted-git-info@2.5.0
-[INFO] │ │ │ ├─┬ is-builtin-module@1.0.0
-[INFO] │ │ │ │ └── builtin-modules@1.1.1
+[INFO] │ │ │ ├── is-builtin-module@1.0.0
[INFO] │ │ │ └─┬ validate-npm-package-license@3.0.1
[INFO] │ │ │ ├─┬ spdx-correct@1.0.2
[INFO] │ │ │ │ └── spdx-license-ids@1.2.2
[INFO] │ │ │ └── spdx-expression-parse@1.0.4
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ redent@1.0.0
-[INFO] │ │ │ ├── indent-string@2.1.0
+[INFO] │ │ │ ├─┬ indent-string@2.1.0
+[INFO] │ │ │ │ └─┬ repeating@2.0.1
+[INFO] │ │ │ │ └── is-finite@1.0.2
[INFO] │ │ │ └── strip-indent@1.0.1
[INFO] │ │ └── trim-newlines@1.0.0
[INFO] │ ├── nan@2.7.0
[INFO] │ ├─┬ node-gyp@3.6.2
[INFO] │ │ ├── fstream@1.0.11
-[INFO] │ │ ├── osenv@0.1.4
+[INFO] │ │ ├─┬ nopt@3.0.6
+[INFO] │ │ │ └── abbrev@1.1.1
+[INFO] │ │ ├─┬ osenv@0.1.4
+[INFO] │ │ │ ├── os-homedir@1.0.2
+[INFO] │ │ │ └── os-tmpdir@1.0.2
[INFO] │ │ ├── rimraf@2.6.2
[INFO] │ │ ├── semver@5.3.0
[INFO] │ │ └─┬ tar@2.2.1
@@ -665,7 +700,13 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ │ └─┬ source-map@0.4.4
[INFO] │ │ │ └── amdefine@1.0.1
[INFO] │ │ └─┬ yargs@7.1.0
-[INFO] │ │ ├── camelcase@3.0.0
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ string-width@1.0.2
[INFO] │ │ │ └── is-fullwidth-code-point@1.0.0
[INFO] │ │ └── yargs-parser@5.0.0
@@ -688,7 +729,6 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ └── lodash.restparam@3.6.1
[INFO] │ ├─┬ ps-tree@1.1.0
[INFO] │ │ └─┬ event-stream@3.3.4
-[INFO] │ │ ├── duplexer@0.1.1
[INFO] │ │ ├── from@0.1.7
[INFO] │ │ ├── map-stream@0.1.0
[INFO] │ │ ├── pause-stream@0.0.11
@@ -698,7 +738,7 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ └── nopt@1.0.10
[INFO] │ ├── undefsafe@0.0.3
[INFO] │ └─┬ update-notifier@2.3.0
-[INFO] │ ├─┬ boxen@1.2.1
+[INFO] │ ├─┬ boxen@1.2.2
[INFO] │ │ ├── ansi-align@2.0.0
[INFO] │ │ ├── camelcase@4.1.0
[INFO] │ │ ├── cli-boxes@1.0.0
@@ -709,7 +749,6 @@ Build date: 2017-10-12 18:00:08
[INFO] │ ├─┬ configstore@3.1.1
[INFO] │ │ ├─┬ dot-prop@4.2.0
[INFO] │ │ │ └── is-obj@1.0.1
-[INFO] │ │ ├── make-dir@1.0.0
[INFO] │ │ ├─┬ unique-string@1.0.0
[INFO] │ │ │ └── crypto-random-string@1.0.0
[INFO] │ │ └── write-file-atomic@2.3.0
@@ -733,7 +772,7 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ │ └─┬ url-parse-lax@1.0.0
[INFO] │ │ │ └── prepend-http@1.0.4
[INFO] │ │ ├─┬ registry-auth-token@3.3.1
-[INFO] │ │ │ └─┬ rc@1.2.1
+[INFO] │ │ │ └─┬ rc@1.2.2
[INFO] │ │ │ ├── deep-extend@0.4.2
[INFO] │ │ │ └── minimist@1.2.0
[INFO] │ │ └── registry-url@3.1.0
@@ -749,9 +788,7 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ └── string_decoder@0.10.31
[INFO] │ ├─┬ read-pkg@2.0.0
[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ ├─┬ parse-json@2.2.0
-[INFO] │ │ │ │ └─┬ error-ex@1.3.1
-[INFO] │ │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ │ ├── parse-json@2.2.0
[INFO] │ │ │ └── strip-bom@3.0.0
[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├─┬ shell-quote@1.6.1
@@ -807,7 +844,7 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ └── throttleit@1.0.0
[INFO] │ └─┬ which@1.2.14
[INFO] │ └── isexe@2.0.0
-[INFO] ├── UNMET PEER DEPENDENCY popper.js@^1.11.0
+[INFO] ├── popper.js@1.12.5
[INFO] ├─┬ postcss-cli@4.1.1
[INFO] │ ├── dependency-graph@0.5.1
[INFO] │ ├─┬ fs-extra@4.0.2
@@ -829,7 +866,6 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ postcss-load-config@1.2.0
[INFO] │ │ ├─┬ cosmiconfig@2.2.2
-[INFO] │ │ │ ├── is-directory@0.3.1
[INFO] │ │ │ ├── minimist@1.2.0
[INFO] │ │ │ └── require-from-string@1.2.1
[INFO] │ │ ├── postcss-load-options@1.2.0
@@ -849,16 +885,6 @@ Build date: 2017-10-12 18:00:08
[INFO] │ │ │ └── strip-eof@1.0.0
[INFO] │ │ └─┬ mem@1.1.0
[INFO] │ │ └── mimic-fn@1.1.0
-[INFO] │ ├─┬ read-pkg-up@2.0.0
-[INFO] │ │ ├─┬ find-up@2.1.0
-[INFO] │ │ │ └─┬ locate-path@2.0.0
-[INFO] │ │ │ ├─┬ p-locate@2.0.0
-[INFO] │ │ │ │ └── p-limit@1.1.0
-[INFO] │ │ │ └── path-exists@3.0.0
-[INFO] │ │ └─┬ read-pkg@2.0.0
-[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ └── strip-bom@3.0.0
-[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├── which-module@2.0.0
[INFO] │ └── yargs-parser@7.0.0
[INFO] ├─┬ qunit-phantomjs-runner@2.3.0
@@ -871,41 +897,11 @@ Build date: 2017-10-12 18:00:08
[INFO] │ ├─┬ findup-sync@0.4.3
[INFO] │ │ ├─┬ detect-file@0.1.0
[INFO] │ │ │ └── fs-exists-sync@0.1.0
-[INFO] │ │ ├─┬ micromatch@2.3.11
-[INFO] │ │ │ ├─┬ arr-diff@2.0.0
-[INFO] │ │ │ │ └── arr-flatten@1.1.0
-[INFO] │ │ │ ├── array-unique@0.2.1
-[INFO] │ │ │ ├─┬ braces@1.8.5
-[INFO] │ │ │ │ ├─┬ expand-range@1.8.2
-[INFO] │ │ │ │ │ └─┬ fill-range@2.2.3
-[INFO] │ │ │ │ │ ├── is-number@2.1.0
-[INFO] │ │ │ │ │ ├── isobject@2.1.0
-[INFO] │ │ │ │ │ ├─┬ randomatic@1.1.7
-[INFO] │ │ │ │ │ │ ├─┬ is-number@3.0.0
-[INFO] │ │ │ │ │ │ │ └── kind-of@3.2.2
-[INFO] │ │ │ │ │ │ └── kind-of@4.0.0
-[INFO] │ │ │ │ │ └── repeat-string@1.6.1
-[INFO] │ │ │ │ ├── preserve@0.2.0
-[INFO] │ │ │ │ └── repeat-element@1.1.2
-[INFO] │ │ │ ├─┬ expand-brackets@0.1.5
-[INFO] │ │ │ │ └── is-posix-bracket@0.1.1
-[INFO] │ │ │ ├── extglob@0.3.2
-[INFO] │ │ │ ├── filename-regex@2.0.1
-[INFO] │ │ │ ├─┬ kind-of@3.2.2
-[INFO] │ │ │ │ └── is-buffer@1.1.5
-[INFO] │ │ │ ├─┬ object.omit@2.0.1
-[INFO] │ │ │ │ ├── for-own@0.1.5
-[INFO] │ │ │ │ └── is-extendable@0.1.1
-[INFO] │ │ │ ├─┬ parse-glob@3.0.4
-[INFO] │ │ │ │ ├── glob-base@0.3.0
-[INFO] │ │ │ │ └── is-dotfile@1.0.3
-[INFO] │ │ │ └─┬ regex-cache@0.4.4
-[INFO] │ │ │ └─┬ is-equal-shallow@0.1.3
-[INFO] │ │ │ └── is-primitive@2.0.0
[INFO] │ │ └─┬ resolve-dir@0.1.1
[INFO] │ │ ├── expand-tilde@1.2.2
[INFO] │ │ └─┬ global-modules@0.2.3
-[INFO] │ │ ├── global-prefix@0.1.5
+[INFO] │ │ ├─┬ global-prefix@0.1.5
+[INFO] │ │ │ └── is-windows@0.2.0
[INFO] │ │ └── is-windows@0.2.0
[INFO] │ ├── js-reporters@1.2.0
[INFO] │ ├─┬ resolve@1.3.2
@@ -913,79 +909,232 @@ Build date: 2017-10-12 18:00:08
[INFO] │ └─┬ walk-sync@0.3.1
[INFO] │ ├── ensure-posix-path@1.0.2
[INFO] │ └── matcher-collection@1.0.5
+[INFO] ├── rollup@0.50.0
+[INFO] ├─┬ rollup-plugin-babel@3.0.2
+[INFO] │ └─┬ rollup-pluginutils@1.5.2
+[INFO] │ └── estree-walker@0.2.1
+[INFO] ├─┬ rollup-plugin-node-resolve@3.0.0
+[INFO] │ ├─┬ browser-resolve@1.11.2
+[INFO] │ │ └── resolve@1.1.7
+[INFO] │ ├── builtin-modules@1.1.1
+[INFO] │ ├── is-module@1.0.0
+[INFO] │ └── resolve@1.4.0
[INFO] ├─┬ shelljs@0.7.8
[INFO] │ ├── interpret@1.0.4
[INFO] │ └── rechoir@0.6.2
[INFO] ├─┬ shx@0.2.2
[INFO] │ ├── es6-object-assign@1.1.0
[INFO] │ └── minimist@1.2.0
-[INFO] └─┬ uglify-js@3.1.3
-[INFO] └── source-map@0.5.7
+[INFO] ├─┬ stylelint@8.2.0
+[INFO] │ ├── balanced-match@1.0.0
+[INFO] │ ├─┬ cosmiconfig@3.1.0
+[INFO] │ │ ├── is-directory@0.3.1
+[INFO] │ │ ├─┬ parse-json@3.0.0
+[INFO] │ │ │ └─┬ error-ex@1.3.1
+[INFO] │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ └── require-from-string@2.0.1
+[INFO] │ ├─┬ execall@1.0.0
+[INFO] │ │ └─┬ clone-regexp@1.0.0
+[INFO] │ │ ├── is-regexp@1.0.0
+[INFO] │ │ └── is-supported-regexp-flag@1.0.0
+[INFO] │ ├── get-stdin@5.0.1
+[INFO] │ ├─┬ globby@6.1.0
+[INFO] │ │ └── pify@2.3.0
+[INFO] │ ├── globjoin@0.1.4
+[INFO] │ ├── html-tags@2.0.0
+[INFO] │ ├── known-css-properties@0.4.1
+[INFO] │ ├── log-symbols@2.1.0
+[INFO] │ ├── mathml-tag-names@2.0.1
+[INFO] │ ├─┬ micromatch@2.3.11
+[INFO] │ │ ├─┬ arr-diff@2.0.0
+[INFO] │ │ │ └── arr-flatten@1.1.0
+[INFO] │ │ ├── array-unique@0.2.1
+[INFO] │ │ ├─┬ braces@1.8.5
+[INFO] │ │ │ ├─┬ expand-range@1.8.2
+[INFO] │ │ │ │ └─┬ fill-range@2.2.3
+[INFO] │ │ │ │ ├── is-number@2.1.0
+[INFO] │ │ │ │ ├── isobject@2.1.0
+[INFO] │ │ │ │ ├─┬ randomatic@1.1.7
+[INFO] │ │ │ │ │ ├─┬ is-number@3.0.0
+[INFO] │ │ │ │ │ │ └── kind-of@3.2.2
+[INFO] │ │ │ │ │ └── kind-of@4.0.0
+[INFO] │ │ │ │ └── repeat-string@1.6.1
+[INFO] │ │ │ ├── preserve@0.2.0
+[INFO] │ │ │ └── repeat-element@1.1.2
+[INFO] │ │ ├─┬ expand-brackets@0.1.5
+[INFO] │ │ │ └── is-posix-bracket@0.1.1
+[INFO] │ │ ├── extglob@0.3.2
+[INFO] │ │ ├── filename-regex@2.0.1
+[INFO] │ │ ├── is-extglob@1.0.0
+[INFO] │ │ ├── kind-of@3.2.2
+[INFO] │ │ ├─┬ normalize-path@2.1.1
+[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├─┬ object.omit@2.0.1
+[INFO] │ │ │ ├─┬ for-own@0.1.5
+[INFO] │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ └── is-extendable@0.1.1
+[INFO] │ │ ├─┬ parse-glob@3.0.4
+[INFO] │ │ │ ├── glob-base@0.3.0
+[INFO] │ │ │ └── is-dotfile@1.0.3
+[INFO] │ │ └─┬ regex-cache@0.4.4
+[INFO] │ │ └─┬ is-equal-shallow@0.1.3
+[INFO] │ │ └── is-primitive@2.0.0
+[INFO] │ ├── normalize-selector@0.2.0
+[INFO] │ ├── pify@3.0.0
+[INFO] │ ├─┬ postcss-less@1.1.1
+[INFO] │ │ └─┬ postcss@5.2.18
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── source-map@0.5.7
+[INFO] │ │ └─┬ supports-color@3.2.3
+[INFO] │ │ └── has-flag@1.0.0
+[INFO] │ ├── postcss-media-query-parser@0.2.3
+[INFO] │ ├── postcss-resolve-nested-selector@0.1.1
+[INFO] │ ├── postcss-safe-parser@3.0.1
+[INFO] │ ├── postcss-scss@1.0.2
+[INFO] │ ├─┬ postcss-selector-parser@2.2.3
+[INFO] │ │ ├── flatten@1.0.2
+[INFO] │ │ ├── indexes-of@1.0.1
+[INFO] │ │ └── uniq@1.0.1
+[INFO] │ ├── resolve-from@4.0.0
+[INFO] │ ├── specificity@0.3.2
+[INFO] │ ├─┬ string-width@2.1.1
+[INFO] │ │ ├── is-fullwidth-code-point@2.0.0
+[INFO] │ │ └─┬ strip-ansi@4.0.0
+[INFO] │ │ └── ansi-regex@3.0.0
+[INFO] │ ├── style-search@0.1.0
+[INFO] │ ├── sugarss@1.0.0
+[INFO] │ └── svg-tags@1.0.0
+[INFO] ├─┬ stylelint-config-recommended-scss@2.0.0
+[INFO] │ └── stylelint-config-recommended@1.0.0
+[INFO] ├── stylelint-config-standard@17.0.0
+[INFO] ├─┬ stylelint-order@0.7.0
+[INFO] │ └── postcss-sorting@3.0.2
+[INFO] ├── stylelint-scss@2.1.0
+[INFO] ├─┬ uglify-js@3.1.4
+[INFO] │ └── source-map@0.6.1
+[INFO] ├── vnu-jar@17.11.1
+[INFO] └─┬ workbox-build@2.1.0
+[INFO] ├─┬ chalk@1.1.3
+[INFO] │ ├── ansi-styles@2.2.1
+[INFO] │ └── supports-color@2.0.0
+[INFO] ├─┬ fs-extra@3.0.1
+[INFO] │ └── jsonfile@3.0.1
+[INFO] ├─┬ lodash.template@4.4.0
+[INFO] │ ├── lodash._reinterpolate@3.0.0
+[INFO] │ └── lodash.templatesettings@4.1.0
+[INFO] └── workbox-sw@2.1.0
[INFO]
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #8: npm run css-compile) @ tobago-theme-richmond ---
[INFO] Running 'npm run css-compile' in __CURRENT__/tobago-theme-richmond/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-compile __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-compile __CURRENT__/tobago-theme-richmond/target/bootstrap
[INFO] > 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
[INFO]
[ERROR] Rendering Complete, saving .css file...
-[ERROR] Wrote CSS to __CURRENT__/tobago-theme-richmond/target/bootstrap/dist/css/bootstrap.css
[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-richmond/target/bootstrap/dist/css/bootstrap.css.map
+[ERROR] Wrote CSS to __CURRENT__/tobago-theme-richmond/target/bootstrap/dist/css/bootstrap.css
[ERROR] Rendering Complete, saving .css file...
-[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-richmond/target/bootstrap/dist/css/bootstrap-grid.css.map
[ERROR] Wrote CSS to __CURRENT__/tobago-theme-richmond/target/bootstrap/dist/css/bootstrap-grid.css
+[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-richmond/target/bootstrap/dist/css/bootstrap-grid.css.map
[ERROR] Rendering Complete, saving .css file...
-[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-richmond/target/bootstrap/dist/css/bootstrap-reboot.css.map
[ERROR] Wrote CSS to __CURRENT__/tobago-theme-richmond/target/bootstrap/dist/css/bootstrap-reboot.css
+[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-richmond/target/bootstrap/dist/css/bootstrap-reboot.css.map
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #9: npm run css-prefix) @ tobago-theme-richmond ---
[INFO] Running 'npm run css-prefix' in __CURRENT__/tobago-theme-richmond/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-prefix __CURRENT__/tobago-theme-richmond/target/bootstrap
-[INFO] > postcss --config build/postcss.config.js --replace dist/css/*.css
+[INFO] > bootstrap@4.0.0-beta.2 css-prefix __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > postcss --config build/postcss.config.js --replace "dist/css/*.css"
[INFO]
-[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.13 s)
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.14 s)
-[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.14 s)
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.14 s)
-[ERROR] ✔ Finished dist/css/bootstrap.css (1.14 s)
-[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.14 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.18 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.18 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.19 s)
+[ERROR] ✔ Finished dist/css/bootstrap.css (1.19 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.19 s)
+[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.19 s)
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #10: npm run css-minify) @ tobago-theme-richmond ---
[INFO] Running 'npm run css-minify' in __CURRENT__/tobago-theme-richmond/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-minify __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-minify __CURRENT__/tobago-theme-richmond/target/bootstrap
[INFO] > 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
[INFO]
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #11: npm run js) @ tobago-theme-richmond ---
[INFO] Running 'npm run js' in __CURRENT__/tobago-theme-richmond/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta js __CURRENT__/tobago-theme-richmond/target/bootstrap
-[INFO] > npm-run-all js-lint js-compile js-minify
+[INFO] > bootstrap@4.0.0-beta.2 js __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > npm-run-all js-lint* js-compile* js-minify*
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-lint __CURRENT__/tobago-theme-richmond/target/bootstrap
-[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/ Gruntfile.js
+[INFO] > bootstrap@4.0.0-beta.2 js-lint __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 js-lint-docs __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > eslint --config js/tests/.eslintrc.json assets/js/ docs/ sw.js
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile __CURRENT__/tobago-theme-richmond/target/bootstrap
[INFO] > npm-run-all --parallel js-compile-*
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-bundle __CURRENT__/tobago-theme-richmond/target/bootstrap
-[INFO] > shx cat js/src/util.js js/src/alert.js js/src/button.js js/src/carousel.js js/src/collapse.js js/src/dropdown.js js/src/modal.js js/src/scrollspy.js js/src/tab.js js/src/tooltip.js js/src/popover.js | shx sed "s/^(import|export).*//" | babel --filename js/src/bootstrap.js | node build/stamp.js > dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-richmond/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-richmond/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[INFO] js/src/alert.js -> js/dist/alert.js
+[INFO] js/src/button.js -> js/dist/button.js
+[INFO] js/src/carousel.js -> js/dist/carousel.js
+[INFO] js/src/collapse.js -> js/dist/collapse.js
+[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
+[INFO] js/src/modal.js -> js/dist/modal.js
+[INFO] js/src/popover.js -> js/dist/popover.js
+[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
+[INFO] js/src/tab.js -> js/dist/tab.js
+[INFO] js/src/tooltip.js -> js/dist/tooltip.js
+[INFO] js/src/util.js -> js/dist/util.js
+[ERROR] created dist/js/bootstrap.js in 3.1s
+[ERROR] created dist/js/bootstrap.bundle.js in 3.3s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-richmond/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[ERROR] created dist/js/bootstrap.js in 1.5s
[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-plugins __CURRENT__/tobago-theme-richmond/target/bootstrap
-[INFO] > babel js/src/ --out-dir js/dist/ --source-maps
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-richmond/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[ERROR] created dist/js/bootstrap.bundle.js in 1.8s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
[INFO]
[INFO] js/src/alert.js -> js/dist/alert.js
[INFO] js/src/button.js -> js/dist/button.js
[INFO] js/src/carousel.js -> js/dist/carousel.js
[INFO] js/src/collapse.js -> js/dist/collapse.js
[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
[INFO] js/src/modal.js -> js/dist/modal.js
[INFO] js/src/popover.js -> js/dist/popover.js
[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
@@ -993,8 +1142,36 @@ Build date: 2017-10-12 18:00:08
[INFO] js/src/tooltip.js -> js/dist/tooltip.js
[INFO] js/src/util.js -> js/dist/util.js
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-minify __CURRENT__/tobago-theme-richmond/target/bootstrap
-[INFO] > uglifyjs --config-file build/uglifyjs.config.json --output dist/js/bootstrap.min.js dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-minify __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > npm-run-all --parallel js-minify-*
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > 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
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-richmond/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ tobago-theme-richmond ---
@@ -1038,7 +1215,7 @@ main:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 01:39 min
-[INFO] Finished at: 2017-10-12T18:01:49+02:00
-[INFO] Final Memory: 32M/408M
+[INFO] Total time: 02:09 min
+[INFO] Finished at: 2017-10-20T13:35:48+02:00
+[INFO] Final Memory: 29M/397M
[INFO] ------------------------------------------------------------------------
diff --git a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.css b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.css
index 986c49c..f1f9160 100644
--- a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.css
+++ b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.css
@@ -1,6 +1,6 @@
@charset "UTF-8";
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
@@ -21,6 +21,34 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+:root {
+ --blue: #007bff;
+ --indigo: #6610f2;
+ --purple: #6f42c1;
+ --pink: #e83e8c;
+ --red: #dc3545;
+ --orange: #fd7e14;
+ --yellow: #ffc107;
+ --green: #28a745;
+ --teal: #20c997;
+ --cyan: #17a2b8;
+ --white: #fff;
+ --gray: #868e96;
+ --gray-dark: #343a40;
+ --primary: #4f4fa8;
+ --success: #3c883c;
+ --info: #007f7f;
+ --warning: #a0ad2e;
+ --danger: #8f59a9;
+ --breakpoint-xs: 0;
+ --breakpoint-sm: 576px;
+ --breakpoint-md: 768px;
+ --breakpoint-lg: 992px;
+ --breakpoint-xl: 1200px;
+ --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+ --font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+}
+
@media print {
*,
*::before,
@@ -79,8 +107,13 @@
}
}
-html {
+*,
+*::before,
+*::after {
box-sizing: border-box;
+}
+
+html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
@@ -89,12 +122,6 @@ html {
-webkit-tap-highlight-color: transparent;
}
-*,
-*::before,
-*::after {
- box-sizing: inherit;
-}
-
@-ms-viewport {
width: device-width;
}
@@ -105,11 +132,12 @@ article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, s
body {
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 1rem;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
color: #808080;
+ text-align: left;
background-color: #000000;
}
@@ -125,7 +153,7 @@ hr {
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
- margin-bottom: .5rem;
+ margin-bottom: 0.5rem;
}
p {
@@ -163,7 +191,7 @@ ul ol {
}
dt {
- font-weight: bold;
+ font-weight: 700;
}
dd {
@@ -242,6 +270,7 @@ pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
+ -ms-overflow-style: scrollbar;
}
figure {
@@ -261,7 +290,7 @@ a,
area,
button,
[role="button"],
-input,
+input:not([type="range"]),
label,
select,
summary,
@@ -283,7 +312,7 @@ caption {
}
th {
- text-align: left;
+ text-align: inherit;
}
label {
@@ -291,6 +320,10 @@ label {
margin-bottom: .5rem;
}
+button {
+ border-radius: 0;
+}
+
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
@@ -414,7 +447,7 @@ h1, h2, h3, h4, h5, h6,
margin-bottom: 0.5rem;
font-family: inherit;
font-weight: 500;
- line-height: 1.1;
+ line-height: 1.2;
color: inherit;
}
@@ -450,25 +483,25 @@ h6, .h6 {
.display-1 {
font-size: 6rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-2 {
font-size: 5.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-3 {
font-size: 4.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-4 {
font-size: 3.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
hr {
@@ -481,7 +514,7 @@ hr {
small,
.small {
font-size: 80%;
- font-weight: normal;
+ font-weight: 400;
}
mark,
@@ -561,7 +594,7 @@ code,
kbd,
pre,
samp {
- font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+ font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
code {
@@ -589,7 +622,7 @@ kbd {
kbd kbd {
padding: 0;
font-size: 100%;
- font-weight: bold;
+ font-weight: 700;
}
pre {
@@ -614,11 +647,11 @@ pre code {
}
.container {
- margin-right: auto;
- margin-left: auto;
+ width: 100%;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
@media (min-width: 576px) {
@@ -647,11 +680,10 @@ pre code {
.container-fluid {
width: 100%;
- margin-right: auto;
- margin-left: auto;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
.row {
@@ -774,6 +806,11 @@ pre code {
max-width: 100%;
}
+.order-first {
+ -ms-flex-order: -1;
+ order: -1;
+}
+
.order-1 {
-ms-flex-order: 1;
order: 1;
@@ -834,6 +871,50 @@ pre code {
order: 12;
}
+.offset-1 {
+ margin-left: 8.333333%;
+}
+
+.offset-2 {
+ margin-left: 16.666667%;
+}
+
+.offset-3 {
+ margin-left: 25%;
+}
+
+.offset-4 {
+ margin-left: 33.333333%;
+}
+
+.offset-5 {
+ margin-left: 41.666667%;
+}
+
+.offset-6 {
+ margin-left: 50%;
+}
+
+.offset-7 {
+ margin-left: 58.333333%;
+}
+
+.offset-8 {
+ margin-left: 66.666667%;
+}
+
+.offset-9 {
+ margin-left: 75%;
+}
+
+.offset-10 {
+ margin-left: 83.333333%;
+}
+
+.offset-11 {
+ margin-left: 91.666667%;
+}
+
@media (min-width: 576px) {
.col-sm {
-ms-flex-preferred-size: 0;
@@ -908,6 +989,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-sm-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-sm-1 {
-ms-flex-order: 1;
order: 1;
@@ -956,6 +1041,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-sm-0 {
+ margin-left: 0;
+ }
+ .offset-sm-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-sm-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-sm-3 {
+ margin-left: 25%;
+ }
+ .offset-sm-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-sm-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-sm-6 {
+ margin-left: 50%;
+ }
+ .offset-sm-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-sm-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-sm-9 {
+ margin-left: 75%;
+ }
+ .offset-sm-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-sm-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 768px) {
@@ -1032,6 +1153,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-md-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-md-1 {
-ms-flex-order: 1;
order: 1;
@@ -1080,6 +1205,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-md-0 {
+ margin-left: 0;
+ }
+ .offset-md-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-md-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-md-3 {
+ margin-left: 25%;
+ }
+ .offset-md-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-md-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-md-6 {
+ margin-left: 50%;
+ }
+ .offset-md-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-md-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-md-9 {
+ margin-left: 75%;
+ }
+ .offset-md-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-md-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 992px) {
@@ -1156,6 +1317,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-lg-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-lg-1 {
-ms-flex-order: 1;
order: 1;
@@ -1204,6 +1369,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-lg-0 {
+ margin-left: 0;
+ }
+ .offset-lg-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-lg-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-lg-3 {
+ margin-left: 25%;
+ }
+ .offset-lg-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-lg-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-lg-6 {
+ margin-left: 50%;
+ }
+ .offset-lg-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-lg-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-lg-9 {
+ margin-left: 75%;
+ }
+ .offset-lg-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-lg-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 1200px) {
@@ -1280,6 +1481,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-xl-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-xl-1 {
-ms-flex-order: 1;
order: 1;
@@ -1328,6 +1533,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-xl-0 {
+ margin-left: 0;
+ }
+ .offset-xl-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-xl-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-xl-3 {
+ margin-left: 25%;
+ }
+ .offset-xl-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-xl-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-xl-6 {
+ margin-left: 50%;
+ }
+ .offset-xl-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-xl-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-xl-9 {
+ margin-left: 75%;
+ }
+ .offset-xl-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-xl-11 {
+ margin-left: 91.666667%;
+ }
}
.table {
@@ -1474,62 +1715,116 @@ pre code {
background-color: rgba(0, 0, 0, 0.075);
}
-.thead-inverse th {
+.table .thead-dark th {
color: #fff;
background-color: #212529;
+ border-color: #32383e;
}
-.thead-default th {
+.table .thead-light th {
color: #495057;
background-color: #e9ecef;
+ border-color: #e9ecef;
}
-.table-inverse {
+.table-dark {
color: #fff;
background-color: #212529;
}
-.table-inverse th,
-.table-inverse td,
-.table-inverse thead th {
+.table-dark th,
+.table-dark td,
+.table-dark thead th {
border-color: #32383e;
}
-.table-inverse.table-bordered {
+.table-dark.table-bordered {
border: 0;
}
-.table-inverse.table-striped tbody tr:nth-of-type(odd) {
+.table-dark.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(255, 255, 255, 0.05);
}
-.table-inverse.table-hover tbody tr:hover {
+.table-dark.table-hover tbody tr:hover {
background-color: rgba(255, 255, 255, 0.075);
}
+@media (max-width: 575px) {
+ .table-responsive-sm {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-sm.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 767px) {
+ .table-responsive-md {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-md.table-bordered {
+ border: 0;
+ }
+}
+
@media (max-width: 991px) {
- .table-responsive {
+ .table-responsive-lg {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-lg.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 1199px) {
+ .table-responsive-xl {
display: block;
width: 100%;
overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
- .table-responsive.table-bordered {
+ .table-responsive-xl.table-bordered {
border: 0;
}
}
+.table-responsive {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+}
+
+.table-responsive.table-bordered {
+ border: 0;
+}
+
.form-control {
display: block;
width: 100%;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
background-color: #505050;
background-image: none;
background-clip: padding-box;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
@@ -1544,6 +1839,7 @@ pre code {
background-color: #fff;
border-color: #80bdff;
outline: none;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-control::-webkit-input-placeholder {
@@ -1586,35 +1882,39 @@ select.form-control:focus::-ms-value {
}
.col-form-label {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem + 1px);
+ padding-bottom: calc(0.375rem + 1px);
margin-bottom: 0;
+ line-height: 1.5;
}
.col-form-label-lg {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.5rem + 1px);
+ padding-bottom: calc(0.5rem + 1px);
font-size: 1.25rem;
+ line-height: 1.5;
}
.col-form-label-sm {
- padding-top: calc(0.25rem - 1px * 2);
- padding-bottom: calc(0.25rem - 1px * 2);
+ padding-top: calc(0.25rem + 1px);
+ padding-bottom: calc(0.25rem + 1px);
font-size: 0.875rem;
+ line-height: 1.5;
}
.col-form-legend {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
font-size: 1rem;
}
.form-control-plaintext {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
- line-height: 1.25;
+ line-height: 1.5;
+ background-color: transparent;
border: solid transparent;
border-width: 1px 0;
}
@@ -1655,7 +1955,7 @@ select.form-control-sm:not([size]):not([multiple]), .input-group-sm > select.for
select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.form-control:not([size]):not([multiple]),
.input-group-lg > select.input-group-addon:not([size]):not([multiple]),
.input-group-lg > .input-group-btn > select.btn:not([size]):not([multiple]) {
- height: calc(2.3125rem + 2px);
+ height: calc(2.875rem + 2px);
}
.form-group {
@@ -1703,30 +2003,23 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
margin-left: -1.25rem;
}
-.form-check-input:only-child {
- position: static;
-}
-
.form-check-inline {
display: inline-block;
+ margin-right: 0.75rem;
}
.form-check-inline .form-check-label {
vertical-align: middle;
}
-.form-check-inline + .form-check-inline {
- margin-left: 0.75rem;
-}
-
-.invalid-feedback {
+.valid-feedback {
display: none;
margin-top: .25rem;
font-size: .875rem;
- color: #dc3545;
+ color: #28a745;
}
-.invalid-tooltip {
+.valid-tooltip {
position: absolute;
top: 100%;
z-index: 5;
@@ -1737,7 +2030,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
font-size: .875rem;
line-height: 1;
color: #fff;
- background-color: rgba(220, 53, 69, 0.8);
+ background-color: rgba(40, 167, 69, 0.8);
border-radius: .2rem;
}
@@ -1753,14 +2046,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
-.was-validated .form-control:valid ~ .invalid-feedback,
-.was-validated .form-control:valid ~ .invalid-tooltip, .form-control.is-valid ~ .invalid-feedback,
-.form-control.is-valid ~ .invalid-tooltip, .was-validated
-.custom-select:valid ~ .invalid-feedback,
+.was-validated .form-control:valid ~ .valid-feedback,
+.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback,
+.form-control.is-valid ~ .valid-tooltip, .was-validated
+.custom-select:valid ~ .valid-feedback,
.was-validated
-.custom-select:valid ~ .invalid-tooltip,
-.custom-select.is-valid ~ .invalid-feedback,
-.custom-select.is-valid ~ .invalid-tooltip {
+.custom-select:valid ~ .valid-tooltip,
+.custom-select.is-valid ~ .valid-feedback,
+.custom-select.is-valid ~ .valid-tooltip {
display: block;
}
@@ -1788,6 +2081,28 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
+.invalid-feedback {
+ display: none;
+ margin-top: .25rem;
+ font-size: .875rem;
+ color: #dc3545;
+}
+
+.invalid-tooltip {
+ position: absolute;
+ top: 100%;
+ z-index: 5;
+ display: none;
+ width: 250px;
+ padding: .5rem;
+ margin-top: .1rem;
+ font-size: .875rem;
+ line-height: 1;
+ color: #fff;
+ background-color: rgba(220, 53, 69, 0.8);
+ border-radius: .2rem;
+}
+
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated
.custom-select:invalid,
.custom-select.is-invalid {
@@ -1880,10 +2195,6 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.form-inline .input-group {
width: auto;
}
- .form-inline .form-control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
.form-inline .form-check {
display: -ms-flexbox;
display: flex;
@@ -1926,7 +2237,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn {
display: inline-block;
- font-weight: normal;
+ font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
@@ -1935,11 +2246,11 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
border-radius: 0.25rem;
- transition: all 0.15s ease-in-out;
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:focus, .btn:hover {
@@ -1948,14 +2259,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn:focus, .btn.focus {
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 {
opacity: .65;
}
-.btn:active, .btn.active {
+.btn:not([disabled]):not(.disabled):active, .btn:not([disabled]):not(.disabled).active {
background-image: none;
}
@@ -1977,7 +2288,7 @@ fieldset[disabled] a.btn {
}
.btn-primary:focus, .btn-primary.focus {
- box-shadow: 0 0 0 3px rgba(79, 79, 168, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(79, 79, 168, 0.5);
}
.btn-primary.disabled, .btn-primary:disabled {
@@ -1985,11 +2296,12 @@ fieldset[disabled] a.btn {
border-color: #4f4fa8;
}
-.btn-primary:active, .btn-primary.active,
+.btn-primary:not([disabled]):not(.disabled):active, .btn-primary:not([disabled]):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
- background-color: #43438e;
- background-image: none;
- border-color: #3f3f85;
+ color: #fff;
+ background-color: #3f3f85;
+ border-color: #3b3b7d;
+ box-shadow: 0 0 0 0.2rem rgba(79, 79, 168, 0.5);
}
.btn-success {
@@ -2005,7 +2317,7 @@ fieldset[disabled] a.btn {
}
.btn-success:focus, .btn-success.focus {
- box-shadow: 0 0 0 3px rgba(60, 136, 60, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(60, 136, 60, 0.5);
}
.btn-success.disabled, .btn-success:disabled {
@@ -2013,11 +2325,12 @@ fieldset[disabled] a.btn {
border-color: #3c883c;
}
-.btn-success:active, .btn-success.active,
+.btn-success:not([disabled]):not(.disabled):active, .btn-success:not([disabled]):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
- background-color: #306d30;
- background-image: none;
- border-color: #2c652c;
+ color: #fff;
+ background-color: #2c652c;
+ border-color: #285c28;
+ box-shadow: 0 0 0 0.2rem rgba(60, 136, 60, 0.5);
}
.btn-info {
@@ -2033,7 +2346,7 @@ fieldset[disabled] a.btn {
}
.btn-info:focus, .btn-info.focus {
- box-shadow: 0 0 0 3px rgba(0, 127, 127, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(0, 127, 127, 0.5);
}
.btn-info.disabled, .btn-info:disabled {
@@ -2041,11 +2354,12 @@ fieldset[disabled] a.btn {
border-color: #007f7f;
}
-.btn-info:active, .btn-info.active,
+.btn-info:not([disabled]):not(.disabled):active, .btn-info:not([disabled]):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
- background-color: #005959;
- background-image: none;
- border-color: #004c4c;
+ color: #fff;
+ background-color: #004c4c;
+ border-color: #003f3f;
+ box-shadow: 0 0 0 0.2rem rgba(0, 127, 127, 0.5);
}
.btn-warning {
@@ -2055,13 +2369,13 @@ fieldset[disabled] a.btn {
}
.btn-warning:hover {
- color: #111;
+ color: #fff;
background-color: #848f26;
border-color: #7b8523;
}
.btn-warning:focus, .btn-warning.focus {
- box-shadow: 0 0 0 3px rgba(160, 173, 46, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(160, 173, 46, 0.5);
}
.btn-warning.disabled, .btn-warning:disabled {
@@ -2069,11 +2383,12 @@ fieldset[disabled] a.btn {
border-color: #a0ad2e;
}
-.btn-warning:active, .btn-warning.active,
+.btn-warning:not([disabled]):not(.disabled):active, .btn-warning:not([disabled]):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
- background-color: #848f26;
- background-image: none;
- border-color: #7b8523;
+ color: #fff;
+ background-color: #7b8523;
+ border-color: #717b21;
+ box-shadow: 0 0 0 0.2rem rgba(160, 173, 46, 0.5);
}
.btn-danger {
@@ -2089,7 +2404,7 @@ fieldset[disabled] a.btn {
}
.btn-danger:focus, .btn-danger.focus {
- box-shadow: 0 0 0 3px rgba(143, 89, 169, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(143, 89, 169, 0.5);
}
.btn-danger.disabled, .btn-danger:disabled {
@@ -2097,11 +2412,12 @@ fieldset[disabled] a.btn {
border-color: #8f59a9;
}
-.btn-danger:active, .btn-danger.active,
+.btn-danger:not([disabled]):not(.disabled):active, .btn-danger:not([disabled]):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
- background-color: #7a4b91;
- background-image: none;
- border-color: #734788;
+ color: #fff;
+ background-color: #734788;
+ border-color: #6c4280;
+ box-shadow: 0 0 0 0.2rem rgba(143, 89, 169, 0.5);
}
.btn-outline-primary {
@@ -2118,7 +2434,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-primary:focus, .btn-outline-primary.focus {
- box-shadow: 0 0 0 3px rgba(79, 79, 168, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(79, 79, 168, 0.5);
}
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
@@ -2126,11 +2442,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-primary:active, .btn-outline-primary.active,
+.btn-outline-primary:not([disabled]):not(.disabled):active, .btn-outline-primary:not([disabled]):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
color: #fff;
background-color: #4f4fa8;
border-color: #4f4fa8;
+ box-shadow: 0 0 0 0.2rem rgba(79, 79, 168, 0.5);
}
.btn-outline-success {
@@ -2147,7 +2464,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-success:focus, .btn-outline-success.focus {
- box-shadow: 0 0 0 3px rgba(60, 136, 60, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(60, 136, 60, 0.5);
}
.btn-outline-success.disabled, .btn-outline-success:disabled {
@@ -2155,11 +2472,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-success:active, .btn-outline-success.active,
+.btn-outline-success:not([disabled]):not(.disabled):active, .btn-outline-success:not([disabled]):not(.disabled).active,
.show > .btn-outline-success.dropdown-toggle {
color: #fff;
background-color: #3c883c;
border-color: #3c883c;
+ box-shadow: 0 0 0 0.2rem rgba(60, 136, 60, 0.5);
}
.btn-outline-info {
@@ -2176,7 +2494,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-info:focus, .btn-outline-info.focus {
- box-shadow: 0 0 0 3px rgba(0, 127, 127, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(0, 127, 127, 0.5);
}
.btn-outline-info.disabled, .btn-outline-info:disabled {
@@ -2184,11 +2502,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-info:active, .btn-outline-info.active,
+.btn-outline-info:not([disabled]):not(.disabled):active, .btn-outline-info:not([disabled]):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
color: #fff;
background-color: #007f7f;
border-color: #007f7f;
+ box-shadow: 0 0 0 0.2rem rgba(0, 127, 127, 0.5);
}
.btn-outline-warning {
@@ -2205,7 +2524,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-warning:focus, .btn-outline-warning.focus {
- box-shadow: 0 0 0 3px rgba(160, 173, 46, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(160, 173, 46, 0.5);
}
.btn-outline-warning.disabled, .btn-outline-warning:disabled {
@@ -2213,11 +2532,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-warning:active, .btn-outline-warning.active,
+.btn-outline-warning:not([disabled]):not(.disabled):active, .btn-outline-warning:not([disabled]):not(.disabled).active,
.show > .btn-outline-warning.dropdown-toggle {
color: #fff;
background-color: #a0ad2e;
border-color: #a0ad2e;
+ box-shadow: 0 0 0 0.2rem rgba(160, 173, 46, 0.5);
}
.btn-outline-danger {
@@ -2234,7 +2554,7 @@ fieldset[disabled] a.btn {
}
.btn-outline-danger:focus, .btn-outline-danger.focus {
- box-shadow: 0 0 0 3px rgba(143, 89, 169, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(143, 89, 169, 0.5);
}
.btn-outline-danger.disabled, .btn-outline-danger:disabled {
@@ -2242,44 +2562,34 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-danger:active, .btn-outline-danger.active,
+.btn-outline-danger:not([disabled]):not(.disabled):active, .btn-outline-danger:not([disabled]):not(.disabled).active,
.show > .btn-outline-danger.dropdown-toggle {
color: #fff;
background-color: #8f59a9;
border-color: #8f59a9;
+ box-shadow: 0 0 0 0.2rem rgba(143, 89, 169, 0.5);
}
.btn-link {
- font-weight: normal;
+ font-weight: 400;
color: #007bff;
- border-radius: 0;
-}
-
-.btn-link, .btn-link:active, .btn-link.active, .btn-link:disabled {
background-color: transparent;
}
-.btn-link, .btn-link:focus, .btn-link:active {
- border-color: transparent;
- box-shadow: none;
-}
-
.btn-link:hover {
- border-color: transparent;
-}
-
-.btn-link:focus, .btn-link:hover {
color: #0056b3;
text-decoration: underline;
background-color: transparent;
+ border-color: transparent;
}
-.btn-link:disabled {
- color: #868e96;
+.btn-link:focus, .btn-link.focus {
+ border-color: transparent;
+ box-shadow: none;
}
-.btn-link:disabled:focus, .btn-link:disabled:hover {
- text-decoration: none;
+.btn-link:disabled, .btn-link.disabled {
+ color: #868e96;
}
.btn-lg, .btn-group-lg > .btn {
@@ -2357,6 +2667,7 @@ tbody.collapse.show {
content: "";
border-top: 0.3em solid;
border-right: 0.3em solid transparent;
+ border-bottom: 0;
border-left: 0.3em solid transparent;
}
@@ -2364,16 +2675,6 @@ tbody.collapse.show {
margin-left: 0;
}
-.dropup .dropdown-menu {
- margin-top: 0;
- margin-bottom: 0.125rem;
-}
-
-.dropup .dropdown-toggle::after {
- border-top: 0;
- border-bottom: 0.3em solid;
-}
-
.dropdown-menu {
position: absolute;
top: 100%;
@@ -2394,6 +2695,28 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.dropup .dropdown-menu {
+ margin-top: 0;
+ margin-bottom: 0.125rem;
+}
+
+.dropup .dropdown-toggle::after {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0.3em solid;
+ border-left: 0.3em solid transparent;
+}
+
+.dropup .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+
.dropdown-divider {
height: 0;
margin: 0.5rem 0;
@@ -2406,7 +2729,7 @@ tbody.collapse.show {
width: 100%;
padding: 0.25rem 1.5rem;
clear: both;
- font-weight: normal;
+ font-weight: 400;
color: #212529;
text-align: inherit;
white-space: nowrap;
@@ -2431,10 +2754,6 @@ tbody.collapse.show {
background-color: transparent;
}
-.show > a {
- outline: 0;
-}
-
.dropdown-menu.show {
display: block;
}
@@ -2461,7 +2780,6 @@ tbody.collapse.show {
position: relative;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
- margin-bottom: 0;
}
.btn-group > .btn:hover,
@@ -2558,8 +2876,6 @@ tbody.collapse.show {
}
.btn-group-vertical {
- display: -ms-inline-flexbox;
- display: inline-flex;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-align: start;
@@ -2623,6 +2939,8 @@ tbody.collapse.show {
position: relative;
display: -ms-flexbox;
display: flex;
+ -ms-flex-align: stretch;
+ align-items: stretch;
width: 100%;
}
@@ -2657,19 +2975,18 @@ tbody.collapse.show {
.input-group-addon,
.input-group-btn {
white-space: nowrap;
- vertical-align: middle;
}
.input-group-addon {
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
- font-weight: normal;
- line-height: 1.25;
+ font-weight: 400;
+ line-height: 1.5;
color: #495057;
text-align: center;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -2726,6 +3043,8 @@ tbody.collapse.show {
.input-group-btn {
position: relative;
+ -ms-flex-align: stretch;
+ align-items: stretch;
font-size: 0;
white-space: nowrap;
}
@@ -2742,6 +3061,10 @@ tbody.collapse.show {
z-index: 3;
}
+.input-group-btn:first-child > .btn + .btn {
+ margin-left: 0;
+}
+
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group {
margin-right: -1px;
@@ -2750,6 +3073,11 @@ tbody.collapse.show {
.input-group-btn:not(:first-child) > .btn,
.input-group-btn:not(:first-child) > .btn-group {
z-index: 2;
+ margin-left: 0;
+}
+
+.input-group-btn:not(:first-child) > .btn:first-child,
+.input-group-btn:not(:first-child) > .btn-group:first-child {
margin-left: -1px;
}
@@ -2781,7 +3109,7 @@ tbody.collapse.show {
}
.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 {
@@ -2856,12 +3184,12 @@ tbody.collapse.show {
max-width: 100%;
height: calc(2.25rem + 2px);
padding: 0.375rem 1.75rem 0.375rem 0.75rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
vertical-align: middle;
background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
background-size: 8px 10px;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
-webkit-appearance: none;
-moz-appearance: none;
@@ -2878,6 +3206,11 @@ tbody.collapse.show {
background-color: #505050;
}
+.custom-select[multiple] {
+ height: auto;
+ background-image: none;
+}
+
.custom-select:disabled {
color: #868e96;
background-color: #e9ecef;
@@ -2898,26 +3231,30 @@ tbody.collapse.show {
position: relative;
display: inline-block;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin-bottom: 0;
}
.custom-file-input {
min-width: 14rem;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin: 0;
opacity: 0;
}
+.custom-file-input:focus ~ .custom-file-control {
+ box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.2rem #007bff;
+}
+
.custom-file-control {
position: absolute;
top: 0;
right: 0;
left: 0;
z-index: 5;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
pointer-events: none;
@@ -2926,7 +3263,7 @@ tbody.collapse.show {
-ms-user-select: none;
user-select: none;
background-color: #fff;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -2941,12 +3278,12 @@ tbody.collapse.show {
bottom: -1px;
z-index: 6;
display: block;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0 0.25rem 0.25rem 0;
}
@@ -3019,7 +3356,7 @@ tbody.collapse.show {
}
.nav-pills .nav-link.active,
-.show > .nav-pills .nav-link {
+.nav-pills .show > .nav-link {
color: #fff;
background-color: #007bff;
}
@@ -3114,6 +3451,8 @@ tbody.collapse.show {
.navbar-collapse {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
+ -ms-flex-positive: 1;
+ flex-grow: 1;
-ms-flex-align: center;
align-items: center;
}
@@ -3151,10 +3490,8 @@ tbody.collapse.show {
@media (min-width: 576px) {
.navbar-expand-sm {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3181,10 +3518,16 @@ tbody.collapse.show {
.navbar-expand-sm .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-sm .navbar-toggler {
display: none;
}
+ .navbar-expand-sm .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 767px) {
@@ -3197,10 +3540,8 @@ tbody.collapse.show {
@media (min-width: 768px) {
.navbar-expand-md {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3227,10 +3568,16 @@ tbody.collapse.show {
.navbar-expand-md .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-md .navbar-toggler {
display: none;
}
+ .navbar-expand-md .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 991px) {
@@ -3243,10 +3590,8 @@ tbody.collapse.show {
@media (min-width: 992px) {
.navbar-expand-lg {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3273,10 +3618,16 @@ tbody.collapse.show {
.navbar-expand-lg .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-lg .navbar-toggler {
display: none;
}
+ .navbar-expand-lg .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 1199px) {
@@ -3289,10 +3640,8 @@ tbody.collapse.show {
@media (min-width: 1200px) {
.navbar-expand-xl {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3319,17 +3668,21 @@ tbody.collapse.show {
.navbar-expand-xl .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-xl .navbar-toggler {
display: none;
}
+ .navbar-expand-xl .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
.navbar-expand {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3368,12 +3721,19 @@ tbody.collapse.show {
.navbar-expand .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand .navbar-toggler {
display: none;
}
+.navbar-expand .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+}
+
.navbar-light .navbar-brand {
color: #707070;
}
@@ -3414,12 +3774,20 @@ tbody.collapse.show {
color: #606060;
}
+.navbar-light .navbar-text a {
+ color: #707070;
+}
+
+.navbar-light .navbar-text a:focus, .navbar-light .navbar-text a:hover {
+ color: #707070;
+}
+
.navbar-dark .navbar-brand {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-nav .nav-link {
@@ -3438,7 +3806,7 @@ tbody.collapse.show {
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .nav-link.active {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-toggler {
@@ -3454,6 +3822,14 @@ tbody.collapse.show {
color: rgba(255, 255, 255, 0.5);
}
+.navbar-dark .navbar-text a {
+ color: #fff;
+}
+
+.navbar-dark .navbar-text a:focus, .navbar-dark .navbar-text a:hover {
+ color: #fff;
+}
+
.card {
position: relative;
display: -ms-flexbox;
@@ -3468,6 +3844,21 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.card > hr {
+ margin-right: 0;
+ margin-left: 0;
+}
+
+.card > .list-group:first-child .list-group-item:first-child {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+}
+
+.card > .list-group:last-child .list-group-item:last-child {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+
.card-body {
-ms-flex: 1 1 auto;
flex: 1 1 auto;
@@ -3495,16 +3886,6 @@ tbody.collapse.show {
margin-left: 1.25rem;
}
-.card > .list-group:first-child .list-group-item:first-child {
- border-top-left-radius: 0.25rem;
- border-top-right-radius: 0.25rem;
-}
-
-.card > .list-group:last-child .list-group-item:last-child {
- border-bottom-right-radius: 0.25rem;
- border-bottom-left-radius: 0.25rem;
-}
-
.card-header {
padding: 0.75rem 1.25rem;
margin-bottom: 0;
@@ -3516,6 +3897,10 @@ tbody.collapse.show {
border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
+.card-header + .list-group .list-group-item:first-child {
+ border-top: 0;
+}
+
.card-footer {
padding: 0.75rem 1.25rem;
background-color: rgba(0, 0, 0, 0.03);
@@ -3564,10 +3949,19 @@ tbody.collapse.show {
border-bottom-left-radius: calc(0.25rem - 1px);
}
+.card-deck {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-deck .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-deck {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
margin-right: -15px;
@@ -3581,20 +3975,31 @@ tbody.collapse.show {
-ms-flex-direction: column;
flex-direction: column;
margin-right: 15px;
+ margin-bottom: 0;
margin-left: 15px;
}
}
+.card-group {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-group .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-group {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
}
.card-group .card {
-ms-flex: 1 0 0%;
flex: 1 0 0%;
+ margin-bottom: 0;
}
.card-group .card + .card {
margin-left: 0;
@@ -3620,11 +4025,22 @@ tbody.collapse.show {
.card-group .card:last-child .card-img-bottom {
border-bottom-left-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) {
+ .card-group .card:only-child {
+ border-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-top {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-bottom {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+ }
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) {
border-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) .card-img-top,
- .card-group .card:not(:first-child):not(:last-child) .card-img-bottom {
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom {
border-radius: 0;
}
}
@@ -3647,6 +4063,10 @@ tbody.collapse.show {
}
.breadcrumb {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-wrap: wrap;
+ flex-wrap: wrap;
padding: 0.75rem 1rem;
margin-bottom: 1rem;
list-style: none;
@@ -3654,16 +4074,6 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
-.breadcrumb::after {
- display: block;
- clear: both;
- content: "";
-}
-
-.breadcrumb-item {
- float: left;
-}
-
.breadcrumb-item + .breadcrumb-item::before {
display: inline-block;
padding-right: 0.5rem;
@@ -3771,9 +4181,8 @@ tbody.collapse.show {
display: inline-block;
padding: 0.25em 0.4em;
font-size: 75%;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
- color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
@@ -3870,6 +4279,7 @@ tbody.collapse.show {
}
.alert {
+ position: relative;
padding: 0.75rem 1.25rem;
margin-bottom: 1rem;
border: 1px solid transparent;
@@ -3881,13 +4291,13 @@ tbody.collapse.show {
}
.alert-link {
- font-weight: bold;
+ font-weight: 700;
}
.alert-dismissible .close {
- position: relative;
- top: -0.75rem;
- right: -1.25rem;
+ position: absolute;
+ top: 0;
+ right: 0;
padding: 0.75rem 1.25rem;
color: inherit;
}
@@ -3983,20 +4393,22 @@ tbody.collapse.show {
.progress {
display: -ms-flexbox;
display: flex;
+ height: 1rem;
overflow: hidden;
font-size: 0.75rem;
- line-height: 1rem;
- text-align: center;
background-color: #e9ecef;
border-radius: 0.25rem;
}
.progress-bar {
- height: 1rem;
- line-height: 1rem;
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-align: center;
+ align-items: center;
+ -ms-flex-pack: center;
+ justify-content: center;
color: #fff;
background-color: #007bff;
- transition: width 0.6s ease;
}
.progress-bar-striped {
@@ -4220,7 +4632,7 @@ button.list-group-item-danger.active {
.close {
float: right;
font-size: 1.5rem;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
@@ -4278,6 +4690,7 @@ button.close {
position: relative;
width: auto;
margin: 10px;
+ pointer-events: none;
}
.modal-content {
@@ -4286,6 +4699,7 @@ button.close {
display: flex;
-ms-flex-direction: column;
flex-direction: column;
+ pointer-events: auto;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.2);
@@ -4314,12 +4728,19 @@ button.close {
.modal-header {
display: -ms-flexbox;
display: flex;
- -ms-flex-align: center;
- align-items: center;
+ -ms-flex-align: start;
+ align-items: flex-start;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 15px;
border-bottom: 1px solid #e9ecef;
+ border-top-left-radius: 0.3rem;
+ border-top-right-radius: 0.3rem;
+}
+
+.modal-header .close {
+ padding: 15px;
+ margin: -15px -15px -15px auto;
}
.modal-title {
@@ -4382,9 +4803,9 @@ button.close {
z-index: 1070;
display: block;
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4412,6 +4833,12 @@ button.close {
height: 5px;
}
+.tooltip .arrow::before {
+ position: absolute;
+ border-color: transparent;
+ border-style: solid;
+}
+
.tooltip.bs-tooltip-top, .tooltip.bs-tooltip-auto[x-placement^="top"] {
padding: 5px 0;
}
@@ -4473,12 +4900,6 @@ button.close {
border-left-color: #000;
}
-.tooltip .arrow::before {
- position: absolute;
- border-color: transparent;
- border-style: solid;
-}
-
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
@@ -4495,10 +4916,9 @@ button.close {
z-index: 1060;
display: block;
max-width: 276px;
- padding: 1px;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4521,8 +4941,8 @@ button.close {
.popover .arrow {
position: absolute;
display: block;
- width: 10px;
- height: 5px;
+ width: 0.8rem;
+ height: 0.4rem;
}
.popover .arrow::before,
@@ -4535,16 +4955,16 @@ button.close {
.popover .arrow::before {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover .arrow::after {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover.bs-popover-top, .popover.bs-popover-auto[x-placement^="top"] {
- margin-bottom: 10px;
+ margin-bottom: 0.8rem;
}
.popover.bs-popover-top .arrow, .popover.bs-popover-auto[x-placement^="top"] .arrow {
@@ -4557,19 +4977,19 @@ button.close {
}
.popover.bs-popover-top .arrow::before, .popover.bs-popover-auto[x-placement^="top"] .arrow::before {
- bottom: -11px;
- margin-left: -6px;
+ bottom: -0.8rem;
+ margin-left: -0.8rem;
border-top-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-top .arrow::after, .popover.bs-popover-auto[x-placement^="top"] .arrow::after {
- bottom: -10px;
- margin-left: -6px;
+ bottom: calc((0.8rem - 1px) * -1);
+ margin-left: -0.8rem;
border-top-color: #fff;
}
.popover.bs-popover-right, .popover.bs-popover-auto[x-placement^="right"] {
- margin-left: 10px;
+ margin-left: 0.8rem;
}
.popover.bs-popover-right .arrow, .popover.bs-popover-auto[x-placement^="right"] .arrow {
@@ -4578,22 +4998,22 @@ button.close {
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before,
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-left-width: 0;
}
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before {
- left: -11px;
+ left: -0.8rem;
border-right-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- left: -10px;
+ left: calc((0.8rem - 1px) * -1);
border-right-color: #fff;
}
.popover.bs-popover-bottom, .popover.bs-popover-auto[x-placement^="bottom"] {
- margin-top: 10px;
+ margin-top: 0.8rem;
}
.popover.bs-popover-bottom .arrow, .popover.bs-popover-auto[x-placement^="bottom"] .arrow {
@@ -4602,17 +5022,17 @@ button.close {
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before,
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- margin-left: -7px;
+ margin-left: -0.8rem;
border-top-width: 0;
}
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before {
- top: -11px;
+ top: -0.8rem;
border-bottom-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- top: -10px;
+ top: calc((0.8rem - 1px) * -1);
border-bottom-color: #fff;
}
@@ -4628,7 +5048,7 @@ button.close {
}
.popover.bs-popover-left, .popover.bs-popover-auto[x-placement^="left"] {
- margin-right: 10px;
+ margin-right: 0.8rem;
}
.popover.bs-popover-left .arrow, .popover.bs-popover-auto[x-placement^="left"] .arrow {
@@ -4637,22 +5057,22 @@ button.close {
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before,
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-right-width: 0;
}
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before {
- right: -11px;
+ right: -0.8rem;
border-left-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- right: -10px;
+ right: calc((0.8rem - 1px) * -1);
border-left-color: #fff;
}
.popover-header {
- padding: 8px 14px;
+ padding: 0.5rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
color: inherit;
@@ -4667,7 +5087,7 @@ button.close {
}
.popover-body {
- padding: 9px 14px;
+ padding: 0.5rem 0.75rem;
color: #212529;
}
@@ -4794,11 +5214,11 @@ button.close {
}
.carousel-control-prev-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.carousel-indicators {
@@ -5010,11 +5430,11 @@ a.bg-danger:focus, a.bg-danger:hover {
}
.rounded-circle {
- border-radius: 50%;
+ border-radius: 50% !important;
}
.rounded-0 {
- border-radius: 0;
+ border-radius: 0 !important;
}
.clearfix::after {
@@ -5043,6 +5463,10 @@ a.bg-danger:focus, a.bg-danger:hover {
display: table !important;
}
+.d-table-row {
+ display: table-row !important;
+}
+
.d-table-cell {
display: table-cell !important;
}
@@ -5073,6 +5497,9 @@ a.bg-danger:focus, a.bg-danger:hover {
.d-sm-table {
display: table !important;
}
+ .d-sm-table-row {
+ display: table-row !important;
+ }
.d-sm-table-cell {
display: table-cell !important;
}
@@ -5102,6 +5529,9 @@ a.bg-danger:focus, a.bg-danger:hover {
.d-md-table {
display: table !important;
}
+ .d-md-table-row {
+ display: table-row !important;
+ }
.d-md-table-cell {
display: table-cell !important;
}
@@ -5131,6 +5561,9 @@ a.bg-danger:focus, a.bg-danger:hover {
.d-lg-table {
display: table !important;
}
+ .d-lg-table-row {
+ display: table-row !important;
+ }
.d-lg-table-cell {
display: table-cell !important;
}
@@ -5160,6 +5593,9 @@ a.bg-danger:focus, a.bg-danger:hover {
.d-xl-table {
display: table !important;
}
+ .d-xl-table-row {
+ display: table-row !important;
+ }
.d-xl-table-cell {
display: table-cell !important;
}
@@ -5933,6 +6369,27 @@ a.bg-danger:focus, a.bg-danger:hover {
}
}
+.position-static {
+ position: static !important;
+}
+
+.position-relative {
+ position: relative !important;
+}
+
+.position-absolute {
+ position: absolute !important;
+}
+
+.position-fixed {
+ position: fixed !important;
+}
+
+.position-sticky {
+ position: -webkit-sticky !important;
+ position: sticky !important;
+}
+
.fixed-top {
position: fixed;
top: 0;
@@ -6026,1598 +6483,1312 @@ a.bg-danger:focus, a.bg-danger:hover {
margin: 0 !important;
}
-.mt-0 {
+.mt-0,
+.my-0 {
margin-top: 0 !important;
}
-.mr-0 {
+.mr-0,
+.mx-0 {
margin-right: 0 !important;
}
-.mb-0 {
+.mb-0,
+.my-0 {
margin-bottom: 0 !important;
}
-.ml-0 {
+.ml-0,
+.mx-0 {
margin-left: 0 !important;
}
-.mx-0 {
- margin-right: 0 !important;
- margin-left: 0 !important;
+.m-1 {
+ margin: 0.25rem !important;
}
-.my-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
-}
-
-.m-1 {
- margin: 0.25rem !important;
-}
-
-.mt-1 {
+.mt-1,
+.my-1 {
margin-top: 0.25rem !important;
}
-.mr-1 {
+.mr-1,
+.mx-1 {
margin-right: 0.25rem !important;
}
-.mb-1 {
+.mb-1,
+.my-1 {
margin-bottom: 0.25rem !important;
}
-.ml-1 {
- margin-left: 0.25rem !important;
-}
-
+.ml-1,
.mx-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
-.my-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
-}
-
.m-2 {
margin: 0.5rem !important;
}
-.mt-2 {
+.mt-2,
+.my-2 {
margin-top: 0.5rem !important;
}
-.mr-2 {
+.mr-2,
+.mx-2 {
margin-right: 0.5rem !important;
}
-.mb-2 {
+.mb-2,
+.my-2 {
margin-bottom: 0.5rem !important;
}
-.ml-2 {
- margin-left: 0.5rem !important;
-}
-
+.ml-2,
.mx-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
-.my-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
-}
-
.m-3 {
margin: 1rem !important;
}
-.mt-3 {
+.mt-3,
+.my-3 {
margin-top: 1rem !important;
}
-.mr-3 {
+.mr-3,
+.mx-3 {
margin-right: 1rem !important;
}
-.mb-3 {
+.mb-3,
+.my-3 {
margin-bottom: 1rem !important;
}
-.ml-3 {
- margin-left: 1rem !important;
-}
-
+.ml-3,
.mx-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
-.my-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
-}
-
.m-4 {
margin: 1.5rem !important;
}
-.mt-4 {
+.mt-4,
+.my-4 {
margin-top: 1.5rem !important;
}
-.mr-4 {
+.mr-4,
+.mx-4 {
margin-right: 1.5rem !important;
}
-.mb-4 {
+.mb-4,
+.my-4 {
margin-bottom: 1.5rem !important;
}
-.ml-4 {
- margin-left: 1.5rem !important;
-}
-
+.ml-4,
.mx-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
-.my-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
-}
-
.m-5 {
margin: 3rem !important;
}
-.mt-5 {
+.mt-5,
+.my-5 {
margin-top: 3rem !important;
}
-.mr-5 {
+.mr-5,
+.mx-5 {
margin-right: 3rem !important;
}
-.mb-5 {
+.mb-5,
+.my-5 {
margin-bottom: 3rem !important;
}
-.ml-5 {
- margin-left: 3rem !important;
-}
-
+.ml-5,
.mx-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
-.my-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
-}
-
.p-0 {
padding: 0 !important;
}
-.pt-0 {
+.pt-0,
+.py-0 {
padding-top: 0 !important;
}
-.pr-0 {
+.pr-0,
+.px-0 {
padding-right: 0 !important;
}
-.pb-0 {
+.pb-0,
+.py-0 {
padding-bottom: 0 !important;
}
-.pl-0 {
- padding-left: 0 !important;
-}
-
+.pl-0,
.px-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
-.py-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
-}
-
.p-1 {
padding: 0.25rem !important;
}
-.pt-1 {
+.pt-1,
+.py-1 {
padding-top: 0.25rem !important;
}
-.pr-1 {
+.pr-1,
+.px-1 {
padding-right: 0.25rem !important;
}
-.pb-1 {
+.pb-1,
+.py-1 {
padding-bottom: 0.25rem !important;
}
-.pl-1 {
- padding-left: 0.25rem !important;
-}
-
+.pl-1,
.px-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
-.py-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
-}
-
.p-2 {
padding: 0.5rem !important;
}
-.pt-2 {
+.pt-2,
+.py-2 {
padding-top: 0.5rem !important;
}
-.pr-2 {
+.pr-2,
+.px-2 {
padding-right: 0.5rem !important;
}
-.pb-2 {
+.pb-2,
+.py-2 {
padding-bottom: 0.5rem !important;
}
-.pl-2 {
- padding-left: 0.5rem !important;
-}
-
+.pl-2,
.px-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
-.py-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
-}
-
.p-3 {
padding: 1rem !important;
}
-.pt-3 {
+.pt-3,
+.py-3 {
padding-top: 1rem !important;
}
-.pr-3 {
+.pr-3,
+.px-3 {
padding-right: 1rem !important;
}
-.pb-3 {
+.pb-3,
+.py-3 {
padding-bottom: 1rem !important;
}
-.pl-3 {
- padding-left: 1rem !important;
-}
-
+.pl-3,
.px-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
-.py-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
-}
-
.p-4 {
padding: 1.5rem !important;
}
-.pt-4 {
+.pt-4,
+.py-4 {
padding-top: 1.5rem !important;
}
-.pr-4 {
+.pr-4,
+.px-4 {
padding-right: 1.5rem !important;
}
-.pb-4 {
+.pb-4,
+.py-4 {
padding-bottom: 1.5rem !important;
}
-.pl-4 {
- padding-left: 1.5rem !important;
-}
-
+.pl-4,
.px-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
-.py-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
-}
-
.p-5 {
padding: 3rem !important;
}
-.pt-5 {
+.pt-5,
+.py-5 {
padding-top: 3rem !important;
}
-.pr-5 {
+.pr-5,
+.px-5 {
padding-right: 3rem !important;
}
-.pb-5 {
+.pb-5,
+.py-5 {
padding-bottom: 3rem !important;
}
-.pl-5 {
- padding-left: 3rem !important;
-}
-
+.pl-5,
.px-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
-.py-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
-}
-
.m-auto {
margin: auto !important;
}
-.mt-auto {
+.mt-auto,
+.my-auto {
margin-top: auto !important;
}
-.mr-auto {
+.mr-auto,
+.mx-auto {
margin-right: auto !important;
}
-.mb-auto {
+.mb-auto,
+.my-auto {
margin-bottom: auto !important;
}
-.ml-auto {
- margin-left: auto !important;
-}
-
+.ml-auto,
.mx-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
-.my-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
-}
-
@media (min-width: 576px) {
.m-sm-0 {
margin: 0 !important;
}
- .mt-sm-0 {
+ .mt-sm-0,
+ .my-sm-0 {
margin-top: 0 !important;
}
- .mr-sm-0 {
+ .mr-sm-0,
+ .mx-sm-0 {
margin-right: 0 !important;
}
- .mb-sm-0 {
+ .mb-sm-0,
+ .my-sm-0 {
margin-bottom: 0 !important;
}
- .ml-sm-0 {
- margin-left: 0 !important;
- }
+ .ml-sm-0,
.mx-sm-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-sm-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-sm-1 {
margin: 0.25rem !important;
}
- .mt-sm-1 {
+ .mt-sm-1,
+ .my-sm-1 {
margin-top: 0.25rem !important;
}
- .mr-sm-1 {
+ .mr-sm-1,
+ .mx-sm-1 {
margin-right: 0.25rem !important;
}
- .mb-sm-1 {
+ .mb-sm-1,
+ .my-sm-1 {
margin-bottom: 0.25rem !important;
}
- .ml-sm-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-sm-1,
.mx-sm-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-sm-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-sm-2 {
margin: 0.5rem !important;
}
- .mt-sm-2 {
+ .mt-sm-2,
+ .my-sm-2 {
margin-top: 0.5rem !important;
}
- .mr-sm-2 {
+ .mr-sm-2,
+ .mx-sm-2 {
margin-right: 0.5rem !important;
}
- .mb-sm-2 {
+ .mb-sm-2,
+ .my-sm-2 {
margin-bottom: 0.5rem !important;
}
- .ml-sm-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-sm-2,
.mx-sm-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-sm-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-sm-3 {
margin: 1rem !important;
}
- .mt-sm-3 {
+ .mt-sm-3,
+ .my-sm-3 {
margin-top: 1rem !important;
}
- .mr-sm-3 {
+ .mr-sm-3,
+ .mx-sm-3 {
margin-right: 1rem !important;
}
- .mb-sm-3 {
+ .mb-sm-3,
+ .my-sm-3 {
margin-bottom: 1rem !important;
}
- .ml-sm-3 {
- margin-left: 1rem !important;
- }
+ .ml-sm-3,
.mx-sm-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-sm-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-sm-4 {
margin: 1.5rem !important;
}
- .mt-sm-4 {
+ .mt-sm-4,
+ .my-sm-4 {
margin-top: 1.5rem !important;
}
- .mr-sm-4 {
+ .mr-sm-4,
+ .mx-sm-4 {
margin-right: 1.5rem !important;
}
- .mb-sm-4 {
+ .mb-sm-4,
+ .my-sm-4 {
margin-bottom: 1.5rem !important;
}
- .ml-sm-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-sm-4,
.mx-sm-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-sm-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-sm-5 {
margin: 3rem !important;
}
- .mt-sm-5 {
+ .mt-sm-5,
+ .my-sm-5 {
margin-top: 3rem !important;
}
- .mr-sm-5 {
+ .mr-sm-5,
+ .mx-sm-5 {
margin-right: 3rem !important;
}
- .mb-sm-5 {
+ .mb-sm-5,
+ .my-sm-5 {
margin-bottom: 3rem !important;
}
- .ml-sm-5 {
- margin-left: 3rem !important;
- }
+ .ml-sm-5,
.mx-sm-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-sm-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-sm-0 {
padding: 0 !important;
}
- .pt-sm-0 {
+ .pt-sm-0,
+ .py-sm-0 {
padding-top: 0 !important;
}
- .pr-sm-0 {
+ .pr-sm-0,
+ .px-sm-0 {
padding-right: 0 !important;
}
- .pb-sm-0 {
+ .pb-sm-0,
+ .py-sm-0 {
padding-bottom: 0 !important;
}
- .pl-sm-0 {
- padding-left: 0 !important;
- }
+ .pl-sm-0,
.px-sm-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-sm-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-sm-1 {
padding: 0.25rem !important;
}
- .pt-sm-1 {
+ .pt-sm-1,
+ .py-sm-1 {
padding-top: 0.25rem !important;
}
- .pr-sm-1 {
+ .pr-sm-1,
+ .px-sm-1 {
padding-right: 0.25rem !important;
}
- .pb-sm-1 {
+ .pb-sm-1,
+ .py-sm-1 {
padding-bottom: 0.25rem !important;
}
- .pl-sm-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-sm-1,
.px-sm-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-sm-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-sm-2 {
padding: 0.5rem !important;
}
- .pt-sm-2 {
+ .pt-sm-2,
+ .py-sm-2 {
padding-top: 0.5rem !important;
}
- .pr-sm-2 {
+ .pr-sm-2,
+ .px-sm-2 {
padding-right: 0.5rem !important;
}
- .pb-sm-2 {
+ .pb-sm-2,
+ .py-sm-2 {
padding-bottom: 0.5rem !important;
}
- .pl-sm-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-sm-2,
.px-sm-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-sm-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-sm-3 {
padding: 1rem !important;
}
- .pt-sm-3 {
+ .pt-sm-3,
+ .py-sm-3 {
padding-top: 1rem !important;
}
- .pr-sm-3 {
+ .pr-sm-3,
+ .px-sm-3 {
padding-right: 1rem !important;
}
- .pb-sm-3 {
+ .pb-sm-3,
+ .py-sm-3 {
padding-bottom: 1rem !important;
}
- .pl-sm-3 {
- padding-left: 1rem !important;
- }
+ .pl-sm-3,
.px-sm-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-sm-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-sm-4 {
padding: 1.5rem !important;
}
- .pt-sm-4 {
+ .pt-sm-4,
+ .py-sm-4 {
padding-top: 1.5rem !important;
}
- .pr-sm-4 {
+ .pr-sm-4,
+ .px-sm-4 {
padding-right: 1.5rem !important;
}
- .pb-sm-4 {
+ .pb-sm-4,
+ .py-sm-4 {
padding-bottom: 1.5rem !important;
}
- .pl-sm-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-sm-4,
.px-sm-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-sm-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-sm-5 {
padding: 3rem !important;
}
- .pt-sm-5 {
+ .pt-sm-5,
+ .py-sm-5 {
padding-top: 3rem !important;
}
- .pr-sm-5 {
+ .pr-sm-5,
+ .px-sm-5 {
padding-right: 3rem !important;
}
- .pb-sm-5 {
+ .pb-sm-5,
+ .py-sm-5 {
padding-bottom: 3rem !important;
}
- .pl-sm-5 {
- padding-left: 3rem !important;
- }
+ .pl-sm-5,
.px-sm-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-sm-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-sm-auto {
margin: auto !important;
}
- .mt-sm-auto {
+ .mt-sm-auto,
+ .my-sm-auto {
margin-top: auto !important;
}
- .mr-sm-auto {
+ .mr-sm-auto,
+ .mx-sm-auto {
margin-right: auto !important;
}
- .mb-sm-auto {
+ .mb-sm-auto,
+ .my-sm-auto {
margin-bottom: auto !important;
}
- .ml-sm-auto {
- margin-left: auto !important;
- }
+ .ml-sm-auto,
.mx-sm-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-sm-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 768px) {
.m-md-0 {
margin: 0 !important;
}
- .mt-md-0 {
+ .mt-md-0,
+ .my-md-0 {
margin-top: 0 !important;
}
- .mr-md-0 {
+ .mr-md-0,
+ .mx-md-0 {
margin-right: 0 !important;
}
- .mb-md-0 {
+ .mb-md-0,
+ .my-md-0 {
margin-bottom: 0 !important;
}
- .ml-md-0 {
- margin-left: 0 !important;
- }
+ .ml-md-0,
.mx-md-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-md-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-md-1 {
margin: 0.25rem !important;
}
- .mt-md-1 {
+ .mt-md-1,
+ .my-md-1 {
margin-top: 0.25rem !important;
}
- .mr-md-1 {
+ .mr-md-1,
+ .mx-md-1 {
margin-right: 0.25rem !important;
}
- .mb-md-1 {
+ .mb-md-1,
+ .my-md-1 {
margin-bottom: 0.25rem !important;
}
- .ml-md-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-md-1,
.mx-md-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-md-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-md-2 {
margin: 0.5rem !important;
}
- .mt-md-2 {
+ .mt-md-2,
+ .my-md-2 {
margin-top: 0.5rem !important;
}
- .mr-md-2 {
+ .mr-md-2,
+ .mx-md-2 {
margin-right: 0.5rem !important;
}
- .mb-md-2 {
+ .mb-md-2,
+ .my-md-2 {
margin-bottom: 0.5rem !important;
}
- .ml-md-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-md-2,
.mx-md-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-md-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-md-3 {
margin: 1rem !important;
}
- .mt-md-3 {
+ .mt-md-3,
+ .my-md-3 {
margin-top: 1rem !important;
}
- .mr-md-3 {
+ .mr-md-3,
+ .mx-md-3 {
margin-right: 1rem !important;
}
- .mb-md-3 {
+ .mb-md-3,
+ .my-md-3 {
margin-bottom: 1rem !important;
}
- .ml-md-3 {
- margin-left: 1rem !important;
- }
+ .ml-md-3,
.mx-md-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-md-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-md-4 {
margin: 1.5rem !important;
}
- .mt-md-4 {
+ .mt-md-4,
+ .my-md-4 {
margin-top: 1.5rem !important;
}
- .mr-md-4 {
+ .mr-md-4,
+ .mx-md-4 {
margin-right: 1.5rem !important;
}
- .mb-md-4 {
+ .mb-md-4,
+ .my-md-4 {
margin-bottom: 1.5rem !important;
}
- .ml-md-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-md-4,
.mx-md-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-md-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-md-5 {
margin: 3rem !important;
}
- .mt-md-5 {
+ .mt-md-5,
+ .my-md-5 {
margin-top: 3rem !important;
}
- .mr-md-5 {
+ .mr-md-5,
+ .mx-md-5 {
margin-right: 3rem !important;
}
- .mb-md-5 {
+ .mb-md-5,
+ .my-md-5 {
margin-bottom: 3rem !important;
}
- .ml-md-5 {
- margin-left: 3rem !important;
- }
+ .ml-md-5,
.mx-md-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-md-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-md-0 {
padding: 0 !important;
}
- .pt-md-0 {
+ .pt-md-0,
+ .py-md-0 {
padding-top: 0 !important;
}
- .pr-md-0 {
+ .pr-md-0,
+ .px-md-0 {
padding-right: 0 !important;
}
- .pb-md-0 {
+ .pb-md-0,
+ .py-md-0 {
padding-bottom: 0 !important;
}
- .pl-md-0 {
- padding-left: 0 !important;
- }
+ .pl-md-0,
.px-md-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-md-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-md-1 {
padding: 0.25rem !important;
}
- .pt-md-1 {
+ .pt-md-1,
+ .py-md-1 {
padding-top: 0.25rem !important;
}
- .pr-md-1 {
+ .pr-md-1,
+ .px-md-1 {
padding-right: 0.25rem !important;
}
- .pb-md-1 {
+ .pb-md-1,
+ .py-md-1 {
padding-bottom: 0.25rem !important;
}
- .pl-md-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-md-1,
.px-md-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-md-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-md-2 {
padding: 0.5rem !important;
}
- .pt-md-2 {
+ .pt-md-2,
+ .py-md-2 {
padding-top: 0.5rem !important;
}
- .pr-md-2 {
+ .pr-md-2,
+ .px-md-2 {
padding-right: 0.5rem !important;
}
- .pb-md-2 {
+ .pb-md-2,
+ .py-md-2 {
padding-bottom: 0.5rem !important;
}
- .pl-md-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-md-2,
.px-md-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-md-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-md-3 {
padding: 1rem !important;
}
- .pt-md-3 {
+ .pt-md-3,
+ .py-md-3 {
padding-top: 1rem !important;
}
- .pr-md-3 {
+ .pr-md-3,
+ .px-md-3 {
padding-right: 1rem !important;
}
- .pb-md-3 {
+ .pb-md-3,
+ .py-md-3 {
padding-bottom: 1rem !important;
}
- .pl-md-3 {
- padding-left: 1rem !important;
- }
+ .pl-md-3,
.px-md-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-md-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-md-4 {
padding: 1.5rem !important;
}
- .pt-md-4 {
+ .pt-md-4,
+ .py-md-4 {
padding-top: 1.5rem !important;
}
- .pr-md-4 {
+ .pr-md-4,
+ .px-md-4 {
padding-right: 1.5rem !important;
}
- .pb-md-4 {
+ .pb-md-4,
+ .py-md-4 {
padding-bottom: 1.5rem !important;
}
- .pl-md-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-md-4,
.px-md-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-md-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-md-5 {
padding: 3rem !important;
}
- .pt-md-5 {
+ .pt-md-5,
+ .py-md-5 {
padding-top: 3rem !important;
}
- .pr-md-5 {
+ .pr-md-5,
+ .px-md-5 {
padding-right: 3rem !important;
}
- .pb-md-5 {
+ .pb-md-5,
+ .py-md-5 {
padding-bottom: 3rem !important;
}
- .pl-md-5 {
- padding-left: 3rem !important;
- }
+ .pl-md-5,
.px-md-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-md-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-md-auto {
margin: auto !important;
}
- .mt-md-auto {
+ .mt-md-auto,
+ .my-md-auto {
margin-top: auto !important;
}
- .mr-md-auto {
+ .mr-md-auto,
+ .mx-md-auto {
margin-right: auto !important;
}
- .mb-md-auto {
+ .mb-md-auto,
+ .my-md-auto {
margin-bottom: auto !important;
}
- .ml-md-auto {
- margin-left: auto !important;
- }
+ .ml-md-auto,
.mx-md-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-md-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 992px) {
.m-lg-0 {
margin: 0 !important;
}
- .mt-lg-0 {
+ .mt-lg-0,
+ .my-lg-0 {
margin-top: 0 !important;
}
- .mr-lg-0 {
+ .mr-lg-0,
+ .mx-lg-0 {
margin-right: 0 !important;
}
- .mb-lg-0 {
+ .mb-lg-0,
+ .my-lg-0 {
margin-bottom: 0 !important;
}
- .ml-lg-0 {
- margin-left: 0 !important;
- }
+ .ml-lg-0,
.mx-lg-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-lg-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-lg-1 {
margin: 0.25rem !important;
}
- .mt-lg-1 {
+ .mt-lg-1,
+ .my-lg-1 {
margin-top: 0.25rem !important;
}
- .mr-lg-1 {
+ .mr-lg-1,
+ .mx-lg-1 {
margin-right: 0.25rem !important;
}
- .mb-lg-1 {
+ .mb-lg-1,
+ .my-lg-1 {
margin-bottom: 0.25rem !important;
}
- .ml-lg-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-lg-1,
.mx-lg-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-lg-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-lg-2 {
margin: 0.5rem !important;
}
- .mt-lg-2 {
+ .mt-lg-2,
+ .my-lg-2 {
margin-top: 0.5rem !important;
}
- .mr-lg-2 {
+ .mr-lg-2,
+ .mx-lg-2 {
margin-right: 0.5rem !important;
}
- .mb-lg-2 {
+ .mb-lg-2,
+ .my-lg-2 {
margin-bottom: 0.5rem !important;
}
- .ml-lg-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-lg-2,
.mx-lg-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-lg-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-lg-3 {
margin: 1rem !important;
}
- .mt-lg-3 {
+ .mt-lg-3,
+ .my-lg-3 {
margin-top: 1rem !important;
}
- .mr-lg-3 {
+ .mr-lg-3,
+ .mx-lg-3 {
margin-right: 1rem !important;
}
- .mb-lg-3 {
+ .mb-lg-3,
+ .my-lg-3 {
margin-bottom: 1rem !important;
}
- .ml-lg-3 {
- margin-left: 1rem !important;
- }
+ .ml-lg-3,
.mx-lg-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-lg-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-lg-4 {
margin: 1.5rem !important;
}
- .mt-lg-4 {
+ .mt-lg-4,
+ .my-lg-4 {
margin-top: 1.5rem !important;
}
- .mr-lg-4 {
+ .mr-lg-4,
+ .mx-lg-4 {
margin-right: 1.5rem !important;
}
- .mb-lg-4 {
+ .mb-lg-4,
+ .my-lg-4 {
margin-bottom: 1.5rem !important;
}
- .ml-lg-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-lg-4,
.mx-lg-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-lg-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-lg-5 {
margin: 3rem !important;
}
- .mt-lg-5 {
+ .mt-lg-5,
+ .my-lg-5 {
margin-top: 3rem !important;
}
- .mr-lg-5 {
+ .mr-lg-5,
+ .mx-lg-5 {
margin-right: 3rem !important;
}
- .mb-lg-5 {
+ .mb-lg-5,
+ .my-lg-5 {
margin-bottom: 3rem !important;
}
- .ml-lg-5 {
- margin-left: 3rem !important;
- }
+ .ml-lg-5,
.mx-lg-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-lg-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-lg-0 {
padding: 0 !important;
}
- .pt-lg-0 {
+ .pt-lg-0,
+ .py-lg-0 {
padding-top: 0 !important;
}
- .pr-lg-0 {
+ .pr-lg-0,
+ .px-lg-0 {
padding-right: 0 !important;
}
- .pb-lg-0 {
+ .pb-lg-0,
+ .py-lg-0 {
padding-bottom: 0 !important;
}
- .pl-lg-0 {
- padding-left: 0 !important;
- }
+ .pl-lg-0,
.px-lg-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-lg-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-lg-1 {
padding: 0.25rem !important;
}
- .pt-lg-1 {
+ .pt-lg-1,
+ .py-lg-1 {
padding-top: 0.25rem !important;
}
- .pr-lg-1 {
+ .pr-lg-1,
+ .px-lg-1 {
padding-right: 0.25rem !important;
}
- .pb-lg-1 {
+ .pb-lg-1,
+ .py-lg-1 {
padding-bottom: 0.25rem !important;
}
- .pl-lg-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-lg-1,
.px-lg-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-lg-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-lg-2 {
padding: 0.5rem !important;
}
- .pt-lg-2 {
+ .pt-lg-2,
+ .py-lg-2 {
padding-top: 0.5rem !important;
}
- .pr-lg-2 {
+ .pr-lg-2,
+ .px-lg-2 {
padding-right: 0.5rem !important;
}
- .pb-lg-2 {
+ .pb-lg-2,
+ .py-lg-2 {
padding-bottom: 0.5rem !important;
}
- .pl-lg-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-lg-2,
.px-lg-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-lg-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-lg-3 {
padding: 1rem !important;
}
- .pt-lg-3 {
+ .pt-lg-3,
+ .py-lg-3 {
padding-top: 1rem !important;
}
- .pr-lg-3 {
+ .pr-lg-3,
+ .px-lg-3 {
padding-right: 1rem !important;
}
- .pb-lg-3 {
+ .pb-lg-3,
+ .py-lg-3 {
padding-bottom: 1rem !important;
}
- .pl-lg-3 {
- padding-left: 1rem !important;
- }
+ .pl-lg-3,
.px-lg-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-lg-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-lg-4 {
padding: 1.5rem !important;
}
- .pt-lg-4 {
+ .pt-lg-4,
+ .py-lg-4 {
padding-top: 1.5rem !important;
}
- .pr-lg-4 {
+ .pr-lg-4,
+ .px-lg-4 {
padding-right: 1.5rem !important;
}
- .pb-lg-4 {
+ .pb-lg-4,
+ .py-lg-4 {
padding-bottom: 1.5rem !important;
}
- .pl-lg-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-lg-4,
.px-lg-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-lg-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-lg-5 {
padding: 3rem !important;
}
- .pt-lg-5 {
+ .pt-lg-5,
+ .py-lg-5 {
padding-top: 3rem !important;
}
- .pr-lg-5 {
+ .pr-lg-5,
+ .px-lg-5 {
padding-right: 3rem !important;
}
- .pb-lg-5 {
+ .pb-lg-5,
+ .py-lg-5 {
padding-bottom: 3rem !important;
}
- .pl-lg-5 {
- padding-left: 3rem !important;
- }
+ .pl-lg-5,
.px-lg-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-lg-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-lg-auto {
margin: auto !important;
}
- .mt-lg-auto {
+ .mt-lg-auto,
+ .my-lg-auto {
margin-top: auto !important;
}
- .mr-lg-auto {
+ .mr-lg-auto,
+ .mx-lg-auto {
margin-right: auto !important;
}
- .mb-lg-auto {
+ .mb-lg-auto,
+ .my-lg-auto {
margin-bottom: auto !important;
}
- .ml-lg-auto {
- margin-left: auto !important;
- }
+ .ml-lg-auto,
.mx-lg-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-lg-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 1200px) {
.m-xl-0 {
margin: 0 !important;
}
- .mt-xl-0 {
+ .mt-xl-0,
+ .my-xl-0 {
margin-top: 0 !important;
}
- .mr-xl-0 {
+ .mr-xl-0,
+ .mx-xl-0 {
margin-right: 0 !important;
}
- .mb-xl-0 {
+ .mb-xl-0,
+ .my-xl-0 {
margin-bottom: 0 !important;
}
- .ml-xl-0 {
- margin-left: 0 !important;
- }
+ .ml-xl-0,
.mx-xl-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-xl-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-xl-1 {
margin: 0.25rem !important;
}
- .mt-xl-1 {
+ .mt-xl-1,
+ .my-xl-1 {
margin-top: 0.25rem !important;
}
- .mr-xl-1 {
+ .mr-xl-1,
+ .mx-xl-1 {
margin-right: 0.25rem !important;
}
- .mb-xl-1 {
+ .mb-xl-1,
+ .my-xl-1 {
margin-bottom: 0.25rem !important;
}
- .ml-xl-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-xl-1,
.mx-xl-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-xl-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-xl-2 {
margin: 0.5rem !important;
}
- .mt-xl-2 {
+ .mt-xl-2,
+ .my-xl-2 {
margin-top: 0.5rem !important;
}
- .mr-xl-2 {
+ .mr-xl-2,
+ .mx-xl-2 {
margin-right: 0.5rem !important;
}
- .mb-xl-2 {
+ .mb-xl-2,
+ .my-xl-2 {
margin-bottom: 0.5rem !important;
}
- .ml-xl-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-xl-2,
.mx-xl-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-xl-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-xl-3 {
margin: 1rem !important;
}
- .mt-xl-3 {
+ .mt-xl-3,
+ .my-xl-3 {
margin-top: 1rem !important;
}
- .mr-xl-3 {
+ .mr-xl-3,
+ .mx-xl-3 {
margin-right: 1rem !important;
}
- .mb-xl-3 {
+ .mb-xl-3,
+ .my-xl-3 {
margin-bottom: 1rem !important;
}
- .ml-xl-3 {
- margin-left: 1rem !important;
- }
+ .ml-xl-3,
.mx-xl-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-xl-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-xl-4 {
margin: 1.5rem !important;
}
- .mt-xl-4 {
+ .mt-xl-4,
+ .my-xl-4 {
margin-top: 1.5rem !important;
}
- .mr-xl-4 {
+ .mr-xl-4,
+ .mx-xl-4 {
margin-right: 1.5rem !important;
}
- .mb-xl-4 {
+ .mb-xl-4,
+ .my-xl-4 {
margin-bottom: 1.5rem !important;
}
- .ml-xl-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-xl-4,
.mx-xl-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-xl-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-xl-5 {
margin: 3rem !important;
}
- .mt-xl-5 {
+ .mt-xl-5,
+ .my-xl-5 {
margin-top: 3rem !important;
}
- .mr-xl-5 {
+ .mr-xl-5,
+ .mx-xl-5 {
margin-right: 3rem !important;
}
- .mb-xl-5 {
+ .mb-xl-5,
+ .my-xl-5 {
margin-bottom: 3rem !important;
}
- .ml-xl-5 {
- margin-left: 3rem !important;
- }
+ .ml-xl-5,
.mx-xl-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-xl-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-xl-0 {
padding: 0 !important;
}
- .pt-xl-0 {
+ .pt-xl-0,
+ .py-xl-0 {
padding-top: 0 !important;
}
- .pr-xl-0 {
+ .pr-xl-0,
+ .px-xl-0 {
padding-right: 0 !important;
}
- .pb-xl-0 {
+ .pb-xl-0,
+ .py-xl-0 {
padding-bottom: 0 !important;
}
- .pl-xl-0 {
- padding-left: 0 !important;
- }
+ .pl-xl-0,
.px-xl-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-xl-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-xl-1 {
padding: 0.25rem !important;
}
- .pt-xl-1 {
+ .pt-xl-1,
+ .py-xl-1 {
padding-top: 0.25rem !important;
}
- .pr-xl-1 {
+ .pr-xl-1,
+ .px-xl-1 {
padding-right: 0.25rem !important;
}
- .pb-xl-1 {
+ .pb-xl-1,
+ .py-xl-1 {
padding-bottom: 0.25rem !important;
}
- .pl-xl-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-xl-1,
.px-xl-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-xl-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-xl-2 {
padding: 0.5rem !important;
}
- .pt-xl-2 {
+ .pt-xl-2,
+ .py-xl-2 {
padding-top: 0.5rem !important;
}
- .pr-xl-2 {
+ .pr-xl-2,
+ .px-xl-2 {
padding-right: 0.5rem !important;
}
- .pb-xl-2 {
+ .pb-xl-2,
+ .py-xl-2 {
padding-bottom: 0.5rem !important;
}
- .pl-xl-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-xl-2,
.px-xl-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-xl-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-xl-3 {
padding: 1rem !important;
}
- .pt-xl-3 {
+ .pt-xl-3,
+ .py-xl-3 {
padding-top: 1rem !important;
}
- .pr-xl-3 {
+ .pr-xl-3,
+ .px-xl-3 {
padding-right: 1rem !important;
}
- .pb-xl-3 {
+ .pb-xl-3,
+ .py-xl-3 {
padding-bottom: 1rem !important;
}
- .pl-xl-3 {
- padding-left: 1rem !important;
- }
+ .pl-xl-3,
.px-xl-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-xl-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-xl-4 {
padding: 1.5rem !important;
}
- .pt-xl-4 {
+ .pt-xl-4,
+ .py-xl-4 {
padding-top: 1.5rem !important;
}
- .pr-xl-4 {
+ .pr-xl-4,
+ .px-xl-4 {
padding-right: 1.5rem !important;
}
- .pb-xl-4 {
+ .pb-xl-4,
+ .py-xl-4 {
padding-bottom: 1.5rem !important;
}
- .pl-xl-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-xl-4,
.px-xl-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-xl-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-xl-5 {
padding: 3rem !important;
}
- .pt-xl-5 {
+ .pt-xl-5,
+ .py-xl-5 {
padding-top: 3rem !important;
}
- .pr-xl-5 {
+ .pr-xl-5,
+ .px-xl-5 {
padding-right: 3rem !important;
}
- .pb-xl-5 {
+ .pb-xl-5,
+ .py-xl-5 {
padding-bottom: 3rem !important;
}
- .pl-xl-5 {
- padding-left: 3rem !important;
- }
+ .pl-xl-5,
.px-xl-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-xl-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-xl-auto {
margin: auto !important;
}
- .mt-xl-auto {
+ .mt-xl-auto,
+ .my-xl-auto {
margin-top: auto !important;
}
- .mr-xl-auto {
+ .mr-xl-auto,
+ .mx-xl-auto {
margin-right: auto !important;
}
- .mb-xl-auto {
+ .mb-xl-auto,
+ .my-xl-auto {
margin-bottom: auto !important;
}
- .ml-xl-auto {
- margin-left: auto !important;
- }
+ .ml-xl-auto,
.mx-xl-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-xl-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
.text-justify {
@@ -7706,16 +7877,20 @@ a.bg-danger:focus, a.bg-danger:hover {
text-transform: capitalize !important;
}
+.font-weight-light {
+ font-weight: 300 !important;
+}
+
.font-weight-normal {
- font-weight: normal;
+ font-weight: 400 !important;
}
.font-weight-bold {
- font-weight: bold;
+ font-weight: 700 !important;
}
.font-italic {
- font-style: italic;
+ font-style: italic !important;
}
.text-white {
@@ -7849,7 +8024,7 @@ Todo: check, if this is needed? (It doesn't work with the build system)
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link {
- color: white;
+ color: #fff;
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link:hover, .tobago-bar.navbar-dark .navbar-brand > .tobago-link:focus {
@@ -8061,8 +8236,8 @@ table.tobago-gridLayout > tbody > tr:first-child > td {
/* image ----------------------------------------------------------- */
.tobago-image-markup-disabled {
- -webkit-filter: blur(2px) contrast(0.5) brightness(1.2);
- filter: blur(2px) contrast(0.5) brightness(1.2);
+ -webkit-filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
+ filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
}
/* in ----------------------------------------------------------- */
@@ -8444,14 +8619,14 @@ h1 > .fa:first-child, h2 > .fa:first-child, h3 > .fa:first-child, h4 > .fa:first
/* inline */
.tobago-selectBooleanCheckbox.form-check {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
margin-bottom: 0;
}
.tobago-selectManyCheckbox-inline, .tobago-selectOneRadio-inline {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
}
.tobago-selectManyCheckbox-inline .form-check.form-check-inline, .tobago-selectOneRadio-inline .form-check.form-check-inline {
diff --git a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.css.map b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.css.map
index 634b20a..a7783b1 100644
--- a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.css.map
+++ b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.css.map
@@ -1 +1 @@
-{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixi [...]
\ No newline at end of file
+{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_root.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_gri [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.min.css b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.min.css
index cf179b8..e229370 100644
--- a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.min.css
+++ b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td, [...]
+ */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#868e96;--gray-dark:#343a40;--primary:#4f4fa8;--success:#3c883c;--info:#007f7f;--warning:#a0ad2e;--danger:#8f59a9;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helveti [...]
/*# sourceMappingURL=bootstrap.min.css.map */
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.min.css.map b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.min.css.map
index 8931fd0..2430ad0 100644
--- a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.min.css.map
+++ b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/css/bootstrap.min.css.map
@@ -1 +1 @@
-{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../s [...]
\ No newline at end of file
+{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_root.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_br [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/js/bootstrap.js b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/js/bootstrap.js
index 7597fb3..630a9e0 100644
--- a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/js/bootstrap.js
+++ b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/js/bootstrap.js
@@ -1,63 +1,39 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-if (typeof jQuery === 'undefined') {
- throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
-}
-
-(function ($) {
- var version = $.fn.jquery.split(' ')[0].split('.')
- if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 4)) {
- throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')
- }
-})(jQuery);
-
-(function () {
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap = (function (exports,$,Popper) {
+'use strict';
-var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) [...]
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
+Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): util.js
+ * Bootstrap (v4.0.0-beta.2): util.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Util = function ($) {
-
+var Util = function () {
/**
* ------------------------------------------------------------------------
* Private TransitionEnd Helpers
* ------------------------------------------------------------------------
*/
-
var transition = false;
-
var MAX_UID = 1000000;
-
var TransitionEndEvent = {
WebkitTransition: 'webkitTransitionEnd',
MozTransition: 'transitionend',
OTransition: 'oTransitionEnd otransitionend',
- transition: 'transitionend'
+ transition: 'transitionend' // shoutout AngusCroll (https://goo.gl/pxwQGp)
- // shoutout AngusCroll (https://goo.gl/pxwQGp)
- };function toType(obj) {
- return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
- }
+ };
- function isElement(obj) {
- return (obj[0] || obj).nodeType;
+ function toType(obj) {
+ return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
}
function getSpecialTransitionEndEvent() {
@@ -68,7 +44,8 @@ var Util = function ($) {
if ($(event.target).is(this)) {
return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
}
- return undefined;
+
+ return undefined; // eslint-disable-line no-undefined
}
};
}
@@ -81,7 +58,7 @@ var Util = function ($) {
var el = document.createElement('bootstrap');
for (var name in TransitionEndEvent) {
- if (el.style[name] !== undefined) {
+ if (typeof el.style[name] !== 'undefined') {
return {
end: TransitionEndEvent[name]
};
@@ -95,55 +72,51 @@ var Util = function ($) {
var _this = this;
var called = false;
-
$(this).one(Util.TRANSITION_END, function () {
called = true;
});
-
setTimeout(function () {
if (!called) {
Util.triggerTransitionEnd(_this);
}
}, duration);
-
return this;
}
function setTransitionEndSupport() {
transition = transitionEndTest();
-
$.fn.emulateTransitionEnd = transitionEndEmulator;
if (Util.supportsTransitionEnd()) {
$.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
}
}
-
/**
* --------------------------------------------------------------------------
* Public Util Api
* --------------------------------------------------------------------------
*/
- var Util = {
+ var Util = {
TRANSITION_END: 'bsTransitionEnd',
-
getUID: function getUID(prefix) {
do {
// eslint-disable-next-line no-bitwise
prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
+
return prefix;
},
getSelectorFromElement: function getSelectorFromElement(element) {
var selector = element.getAttribute('data-target');
+
if (!selector || selector === '#') {
selector = element.getAttribute('href') || '';
}
try {
- var $selector = $(selector);
+ var $selector = $(document).find(selector);
return $selector.length > 0 ? selector : null;
} catch (error) {
return null;
@@ -158,64 +131,85 @@ var Util = function ($) {
supportsTransitionEnd: function supportsTransitionEnd() {
return Boolean(transition);
},
+ isElement: function isElement(obj) {
+ return (obj[0] || obj).nodeType;
+ },
typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) {
for (var property in configTypes) {
- if (configTypes.hasOwnProperty(property)) {
+ if (Object.prototype.hasOwnProperty.call(configTypes, property)) {
var expectedTypes = configTypes[property];
var value = config[property];
- var valueType = value && isElement(value) ? 'element' : toType(value);
+ var valueType = value && Util.isElement(value) ? 'element' : toType(value);
if (!new RegExp(expectedTypes).test(valueType)) {
- throw new Error(componentName.toUpperCase() + ': ' + ('Option "' + property + '" provided type "' + valueType + '" ') + ('but expected type "' + expectedTypes + '".'));
+ throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\"."));
}
}
}
}
};
-
setTransitionEndSupport();
-
return Util;
-}(jQuery);
+}($);
+
+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);
+ }
+}
+
+function _createClass(Constructor, protoProps, staticProps) {
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
+ if (staticProps) _defineProperties(Constructor, staticProps);
+ return Constructor;
+}
+
+var createClass = _createClass;
+
+function _inheritsLoose(subClass, superClass) {
+ subClass.prototype = Object.create(superClass.prototype);
+ subClass.prototype.constructor = subClass;
+ subClass.__proto__ = superClass;
+}
+
+var inheritsLoose = _inheritsLoose;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): alert.js
+ * Bootstrap (v4.0.0-beta.2): alert.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Alert = function ($) {
-
+var Alert = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'alert';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.alert';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 150;
-
var Selector = {
DISMISS: '[data-dismiss="alert"]'
};
-
var Event = {
- CLOSE: 'close' + EVENT_KEY,
- CLOSED: 'closed' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ CLOSE: "close" + EVENT_KEY,
+ CLOSED: "closed" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
ALERT: 'alert',
FADE: 'fade',
SHOW: 'show'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -223,21 +217,23 @@ var Alert = function ($) {
*/
};
- var Alert = function () {
- function Alert(element) {
- _classCallCheck(this, Alert);
+ var Alert =
+ /*#__PURE__*/
+ function () {
+ function Alert(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Alert.prototype;
- Alert.prototype.close = function close(element) {
+ // public
+ _proto.close = function close(element) {
element = element || this._element;
var rootElement = this._getRootElement(element);
+
var customEvent = this._triggerCloseEvent(rootElement);
if (customEvent.isDefaultPrevented()) {
@@ -247,14 +243,13 @@ var Alert = function ($) {
this._removeElement(rootElement);
};
- Alert.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // private
- // private
- Alert.prototype._getRootElement = function _getRootElement(element) {
+ _proto._getRootElement = function _getRootElement(element) {
var selector = Util.getSelectorFromElement(element);
var parent = false;
@@ -263,39 +258,38 @@ var Alert = function ($) {
}
if (!parent) {
- parent = $(element).closest('.' + ClassName.ALERT)[0];
+ parent = $(element).closest("." + ClassName.ALERT)[0];
}
return parent;
};
- Alert.prototype._triggerCloseEvent = function _triggerCloseEvent(element) {
+ _proto._triggerCloseEvent = function _triggerCloseEvent(element) {
var closeEvent = $.Event(Event.CLOSE);
-
$(element).trigger(closeEvent);
return closeEvent;
};
- Alert.prototype._removeElement = function _removeElement(element) {
- var _this2 = this;
+ _proto._removeElement = function _removeElement(element) {
+ var _this = this;
$(element).removeClass(ClassName.SHOW);
if (!Util.supportsTransitionEnd() || !$(element).hasClass(ClassName.FADE)) {
this._destroyElement(element);
+
return;
}
$(element).one(Util.TRANSITION_END, function (event) {
- return _this2._destroyElement(element, event);
+ return _this._destroyElement(element, event);
}).emulateTransitionEnd(TRANSITION_DURATION);
};
- Alert.prototype._destroyElement = function _destroyElement(element) {
+ _proto._destroyElement = function _destroyElement(element) {
$(element).detach().trigger(Event.CLOSED).remove();
- };
+ }; // static
- // static
Alert._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -323,24 +317,22 @@ var Alert = function ($) {
};
};
- _createClass(Alert, null, [{
- key: 'VERSION',
+ createClass(Alert, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Alert;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
+ $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
/**
* ------------------------------------------------------------------------
* jQuery
@@ -349,42 +341,39 @@ var Alert = function ($) {
$.fn[NAME] = Alert._jQueryInterface;
$.fn[NAME].Constructor = Alert;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Alert._jQueryInterface;
};
return Alert;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): button.js
+ * Bootstrap (v4.0.0-beta.2): button.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Button = function ($) {
-
+var Button = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'button';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.button';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
-
var ClassName = {
ACTIVE: 'active',
BUTTON: 'btn',
FOCUS: 'focus'
};
-
var Selector = {
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
DATA_TOGGLE: '[data-toggle="buttons"]',
@@ -392,11 +381,9 @@ var Button = function ($) {
ACTIVE: '.active',
BUTTON: '.btn'
};
-
var Event = {
- 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)
-
+ 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)
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -404,18 +391,19 @@ var Button = function ($) {
*/
};
- var Button = function () {
- function Button(element) {
- _classCallCheck(this, Button);
+ var Button =
+ /*#__PURE__*/
+ function () {
+ function Button(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Button.prototype;
- Button.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
var triggerChangeEvent = true;
var addAriaPressed = true;
var rootElement = $(this._element).closest(Selector.DATA_TOGGLE)[0];
@@ -440,6 +428,7 @@ var Button = function ($) {
if (input.hasAttribute('disabled') || rootElement.hasAttribute('disabled') || input.classList.contains('disabled') || rootElement.classList.contains('disabled')) {
return;
}
+
input.checked = !$(this._element).hasClass(ClassName.ACTIVE);
$(input).trigger('change');
}
@@ -458,12 +447,11 @@ var Button = function ($) {
}
};
- Button.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // static
- // static
Button._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -480,25 +468,23 @@ var Button = function ($) {
});
};
- _createClass(Button, null, [{
- key: 'VERSION',
+ createClass(Button, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Button;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) {
event.preventDefault();
-
var button = event.target;
if (!$(button).hasClass(ClassName.BUTTON)) {
@@ -510,7 +496,6 @@ var Button = function ($) {
var button = $(event.target).closest(Selector.BUTTON)[0];
$(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type));
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -519,38 +504,39 @@ var Button = function ($) {
$.fn[NAME] = Button._jQueryInterface;
$.fn[NAME].Constructor = Button;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Button._jQueryInterface;
};
return Button;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): carousel.js
+ * Bootstrap (v4.0.0-beta.2): carousel.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Carousel = function ($) {
-
+var Carousel = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'carousel';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.carousel';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
var ARROW_LEFT_KEYCODE = 37; // KeyboardEvent.which value for left arrow key
+
var ARROW_RIGHT_KEYCODE = 39; // KeyboardEvent.which value for right arrow key
+
var TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch
var Default = {
@@ -560,7 +546,6 @@ var Carousel = function ($) {
pause: 'hover',
wrap: true
};
-
var DefaultType = {
interval: '(number|boolean)',
keyboard: 'boolean',
@@ -568,25 +553,22 @@ var Carousel = function ($) {
pause: '(string|boolean)',
wrap: 'boolean'
};
-
var Direction = {
NEXT: 'next',
PREV: 'prev',
LEFT: 'left',
RIGHT: 'right'
};
-
var Event = {
- SLIDE: 'slide' + EVENT_KEY,
- SLID: 'slid' + EVENT_KEY,
- KEYDOWN: 'keydown' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY,
- TOUCHEND: 'touchend' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SLIDE: "slide" + EVENT_KEY,
+ SLID: "slid" + EVENT_KEY,
+ KEYDOWN: "keydown" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY,
+ TOUCHEND: "touchend" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
CAROUSEL: 'carousel',
ACTIVE: 'active',
@@ -597,7 +579,6 @@ var Carousel = function ($) {
PREV: 'carousel-item-prev',
ITEM: 'carousel-item'
};
-
var Selector = {
ACTIVE: '.active',
ACTIVE_ITEM: '.active.carousel-item',
@@ -606,7 +587,6 @@ var Carousel = function ($) {
INDICATORS: '.carousel-indicators',
DATA_SLIDE: '[data-slide], [data-slide-to]',
DATA_RIDE: '[data-ride="carousel"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -614,50 +594,49 @@ var Carousel = function ($) {
*/
};
- var Carousel = function () {
- function Carousel(element, config) {
- _classCallCheck(this, Carousel);
+ var Carousel =
+ /*#__PURE__*/
+ function () {
+ function Carousel(element, config) {
this._items = null;
this._interval = null;
this._activeElement = null;
-
this._isPaused = false;
this._isSliding = false;
-
this.touchTimeout = null;
-
this._config = this._getConfig(config);
this._element = $(element)[0];
this._indicatorsElement = $(this._element).find(Selector.INDICATORS)[0];
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Carousel.prototype;
- Carousel.prototype.next = function next() {
+ // public
+ _proto.next = function next() {
if (!this._isSliding) {
this._slide(Direction.NEXT);
}
};
- Carousel.prototype.nextWhenVisible = function nextWhenVisible() {
+ _proto.nextWhenVisible = function nextWhenVisible() {
// Don't call next when the page isn't visible
- if (!document.hidden) {
+ // or the carousel or its parent isn't visible
+ if (!document.hidden && $(this._element).is(':visible') && $(this._element).css('visibility') !== 'hidden') {
this.next();
}
};
- Carousel.prototype.prev = function prev() {
+ _proto.prev = function prev() {
if (!this._isSliding) {
this._slide(Direction.PREV);
}
};
- Carousel.prototype.pause = function pause(event) {
+ _proto.pause = function pause(event) {
if (!event) {
this._isPaused = true;
}
@@ -671,7 +650,7 @@ var Carousel = function ($) {
this._interval = null;
};
- Carousel.prototype.cycle = function cycle(event) {
+ _proto.cycle = function cycle(event) {
if (!event) {
this._isPaused = false;
}
@@ -686,8 +665,8 @@ var Carousel = function ($) {
}
};
- Carousel.prototype.to = function to(index) {
- var _this3 = this;
+ _proto.to = function to(index) {
+ var _this = this;
this._activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
@@ -699,7 +678,7 @@ var Carousel = function ($) {
if (this._isSliding) {
$(this._element).one(Event.SLID, function () {
- return _this3.to(index);
+ return _this.to(index);
});
return;
}
@@ -715,10 +694,9 @@ var Carousel = function ($) {
this._slide(direction, this._items[index]);
};
- Carousel.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$(this._element).off(EVENT_KEY);
$.removeData(this._element, DATA_KEY);
-
this._items = null;
this._config = null;
this._element = null;
@@ -727,31 +705,31 @@ var Carousel = function ($) {
this._isSliding = null;
this._activeElement = null;
this._indicatorsElement = null;
- };
+ }; // private
- // private
- Carousel.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Carousel.prototype._addEventListeners = function _addEventListeners() {
- var _this4 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this2 = this;
if (this._config.keyboard) {
$(this._element).on(Event.KEYDOWN, function (event) {
- return _this4._keydown(event);
+ return _this2._keydown(event);
});
}
if (this._config.pause === 'hover') {
$(this._element).on(Event.MOUSEENTER, function (event) {
- return _this4.pause(event);
+ return _this2.pause(event);
}).on(Event.MOUSELEAVE, function (event) {
- return _this4.cycle(event);
+ return _this2.cycle(event);
});
+
if ('ontouchstart' in document.documentElement) {
// if it's a touch-enabled device, mouseenter/leave are fired as
// part of the mouse compatibility events on first tap - the carousel
@@ -761,19 +739,21 @@ var Carousel = function ($) {
// is NOT fired) and after a timeout (to allow for mouse compatibility
// events to fire) we explicitly restart cycling
$(this._element).on(Event.TOUCHEND, function () {
- _this4.pause();
- if (_this4.touchTimeout) {
- clearTimeout(_this4.touchTimeout);
+ _this2.pause();
+
+ if (_this2.touchTimeout) {
+ clearTimeout(_this2.touchTimeout);
}
- _this4.touchTimeout = setTimeout(function (event) {
- return _this4.cycle(event);
- }, TOUCHEVENT_COMPAT_WAIT + _this4._config.interval);
+
+ _this2.touchTimeout = setTimeout(function (event) {
+ return _this2.cycle(event);
+ }, TOUCHEVENT_COMPAT_WAIT + _this2._config.interval);
});
}
}
};
- Carousel.prototype._keydown = function _keydown(event) {
+ _proto._keydown = function _keydown(event) {
if (/input|textarea/i.test(event.target.tagName)) {
return;
}
@@ -783,24 +763,28 @@ var Carousel = function ($) {
event.preventDefault();
this.prev();
break;
+
case ARROW_RIGHT_KEYCODE:
event.preventDefault();
this.next();
break;
+
default:
return;
}
};
- Carousel.prototype._getItemIndex = function _getItemIndex(element) {
+ _proto._getItemIndex = function _getItemIndex(element) {
this._items = $.makeArray($(element).parent().find(Selector.ITEM));
return this._items.indexOf(element);
};
- Carousel.prototype._getItemByDirection = function _getItemByDirection(direction, activeElement) {
+ _proto._getItemByDirection = function _getItemByDirection(direction, activeElement) {
var isNextDirection = direction === Direction.NEXT;
var isPrevDirection = direction === Direction.PREV;
+
var activeIndex = this._getItemIndex(activeElement);
+
var lastItemIndex = this._items.length - 1;
var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex;
@@ -810,26 +794,25 @@ var Carousel = function ($) {
var delta = direction === Direction.PREV ? -1 : 1;
var itemIndex = (activeIndex + delta) % this._items.length;
-
return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex];
};
- Carousel.prototype._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
+ _proto._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
var targetIndex = this._getItemIndex(relatedTarget);
+
var fromIndex = this._getItemIndex($(this._element).find(Selector.ACTIVE_ITEM)[0]);
+
var slideEvent = $.Event(Event.SLIDE, {
relatedTarget: relatedTarget,
direction: eventDirectionName,
from: fromIndex,
to: targetIndex
});
-
$(this._element).trigger(slideEvent);
-
return slideEvent;
};
- Carousel.prototype._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
+ _proto._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
if (this._indicatorsElement) {
$(this._indicatorsElement).find(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
@@ -841,18 +824,21 @@ var Carousel = function ($) {
}
};
- Carousel.prototype._slide = function _slide(direction, element) {
- var _this5 = this;
+ _proto._slide = function _slide(direction, element) {
+ var _this3 = this;
var activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
+
var activeElementIndex = this._getItemIndex(activeElement);
+
var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement);
+
var nextElementIndex = this._getItemIndex(nextElement);
- var isCycling = Boolean(this._interval);
- var directionalClassName = void 0;
- var orderClassName = void 0;
- var eventDirectionName = void 0;
+ var isCycling = Boolean(this._interval);
+ var directionalClassName;
+ var orderClassName;
+ var eventDirectionName;
if (direction === Direction.NEXT) {
directionalClassName = ClassName.LEFT;
@@ -870,6 +856,7 @@ var Carousel = function ($) {
}
var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);
+
if (slideEvent.isDefaultPrevented()) {
return;
}
@@ -895,29 +882,21 @@ var Carousel = function ($) {
});
if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.SLIDE)) {
-
$(nextElement).addClass(orderClassName);
-
Util.reflow(nextElement);
-
$(activeElement).addClass(directionalClassName);
$(nextElement).addClass(directionalClassName);
-
$(activeElement).one(Util.TRANSITION_END, function () {
- $(nextElement).removeClass(directionalClassName + ' ' + orderClassName).addClass(ClassName.ACTIVE);
-
- $(activeElement).removeClass(ClassName.ACTIVE + ' ' + orderClassName + ' ' + directionalClassName);
-
- _this5._isSliding = false;
-
+ $(nextElement).removeClass(directionalClassName + " " + orderClassName).addClass(ClassName.ACTIVE);
+ $(activeElement).removeClass(ClassName.ACTIVE + " " + orderClassName + " " + directionalClassName);
+ _this3._isSliding = false;
setTimeout(function () {
- return $(_this5._element).trigger(slidEvent);
+ return $(_this3._element).trigger(slidEvent);
}, 0);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
$(activeElement).removeClass(ClassName.ACTIVE);
$(nextElement).addClass(ClassName.ACTIVE);
-
this._isSliding = false;
$(this._element).trigger(slidEvent);
}
@@ -925,16 +904,16 @@ var Carousel = function ($) {
if (isCycling) {
this.cycle();
}
- };
+ }; // static
- // static
Carousel._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
+
var _config = $.extend({}, Default, $(this).data());
- if ((typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object') {
+ if (typeof config === 'object') {
$.extend(_config, config);
}
@@ -948,9 +927,10 @@ var Carousel = function ($) {
if (typeof config === 'number') {
data.to(config);
} else if (typeof action === 'string') {
- if (data[action] === undefined) {
- throw new Error('No method named "' + action + '"');
+ if (typeof data[action] === 'undefined') {
+ throw new Error("No method named \"" + action + "\"");
}
+
data[action]();
} else if (_config.interval) {
data.pause();
@@ -988,36 +968,34 @@ var Carousel = function ($) {
event.preventDefault();
};
- _createClass(Carousel, null, [{
- key: 'VERSION',
+ createClass(Carousel, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Carousel;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
$(window).on(Event.LOAD_DATA_API, function () {
$(Selector.DATA_RIDE).each(function () {
var $carousel = $(this);
+
Carousel._jQueryInterface.call($carousel, $carousel.data());
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1026,71 +1004,63 @@ var Carousel = function ($) {
$.fn[NAME] = Carousel._jQueryInterface;
$.fn[NAME].Constructor = Carousel;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Carousel._jQueryInterface;
};
return Carousel;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): collapse.js
+ * Bootstrap (v4.0.0-beta.2): collapse.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Collapse = function ($) {
-
+var Collapse = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'collapse';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.collapse';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
-
var Default = {
toggle: true,
parent: ''
};
-
var DefaultType = {
toggle: 'boolean',
- parent: 'string'
+ parent: '(string|element)'
};
-
var Event = {
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SHOW: 'show',
COLLAPSE: 'collapse',
COLLAPSING: 'collapsing',
COLLAPSED: 'collapsed'
};
-
var Dimension = {
WIDTH: 'width',
HEIGHT: 'height'
};
-
var Selector = {
ACTIVES: '.show, .collapsing',
DATA_TOGGLE: '[data-toggle="collapse"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1098,18 +1068,21 @@ var Collapse = function ($) {
*/
};
- var Collapse = function () {
- function Collapse(element, config) {
- _classCallCheck(this, Collapse);
+ var Collapse =
+ /*#__PURE__*/
+ function () {
+ function Collapse(element, config) {
this._isTransitioning = false;
this._element = element;
this._config = this._getConfig(config);
- this._triggerArray = $.makeArray($('[data-toggle="collapse"][href="#' + element.id + '"],' + ('[data-toggle="collapse"][data-target="#' + element.id + '"]')));
+ this._triggerArray = $.makeArray($("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
var tabToggles = $(Selector.DATA_TOGGLE);
+
for (var i = 0; i < tabToggles.length; i++) {
var elem = tabToggles[i];
var selector = Util.getSelectorFromElement(elem);
+
if (selector !== null && $(selector).filter(element).length > 0) {
this._triggerArray.push(elem);
}
@@ -1124,13 +1097,13 @@ var Collapse = function ($) {
if (this._config.toggle) {
this.toggle();
}
- }
+ } // getters
- // getters
- // public
+ var _proto = Collapse.prototype;
- Collapse.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if ($(this._element).hasClass(ClassName.SHOW)) {
this.hide();
} else {
@@ -1138,18 +1111,19 @@ var Collapse = function ($) {
}
};
- Collapse.prototype.show = function show() {
- var _this6 = this;
+ _proto.show = function show() {
+ var _this = this;
if (this._isTransitioning || $(this._element).hasClass(ClassName.SHOW)) {
return;
}
- var actives = void 0;
- var activesData = void 0;
+ var actives;
+ var activesData;
if (this._parent) {
actives = $.makeArray($(this._parent).children().children(Selector.ACTIVES));
+
if (!actives.length) {
actives = null;
}
@@ -1157,6 +1131,7 @@ var Collapse = function ($) {
if (actives) {
activesData = $(actives).data(DATA_KEY);
+
if (activesData && activesData._isTransitioning) {
return;
}
@@ -1164,12 +1139,14 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.SHOW);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
if (actives) {
Collapse._jQueryInterface.call($(actives), 'hide');
+
if (!activesData) {
$(actives).data(DATA_KEY, null);
}
@@ -1178,7 +1155,6 @@ var Collapse = function ($) {
var dimension = this._getDimension();
$(this._element).removeClass(ClassName.COLLAPSE).addClass(ClassName.COLLAPSING);
-
this._element.style[dimension] = 0;
if (this._triggerArray.length) {
@@ -1188,13 +1164,12 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- $(_this6._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
-
- _this6._element.style[dimension] = '';
+ $(_this._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
+ _this._element.style[dimension] = '';
- _this6.setTransitioning(false);
+ _this.setTransitioning(false);
- $(_this6._element).trigger(Event.SHOWN);
+ $(_this._element).trigger(Event.SHOWN);
};
if (!Util.supportsTransitionEnd()) {
@@ -1203,15 +1178,13 @@ var Collapse = function ($) {
}
var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);
- var scrollSize = 'scroll' + capitalizedDimension;
-
+ var scrollSize = "scroll" + capitalizedDimension;
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
-
- this._element.style[dimension] = this._element[scrollSize] + 'px';
+ this._element.style[dimension] = this._element[scrollSize] + "px";
};
- Collapse.prototype.hide = function hide() {
- var _this7 = this;
+ _proto.hide = function hide() {
+ var _this2 = this;
if (this._isTransitioning || !$(this._element).hasClass(ClassName.SHOW)) {
return;
@@ -1219,24 +1192,25 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.HIDE);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
var dimension = this._getDimension();
- this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + 'px';
-
+ this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + "px";
Util.reflow(this._element);
-
$(this._element).addClass(ClassName.COLLAPSING).removeClass(ClassName.COLLAPSE).removeClass(ClassName.SHOW);
if (this._triggerArray.length) {
for (var i = 0; i < this._triggerArray.length; i++) {
var trigger = this._triggerArray[i];
var selector = Util.getSelectorFromElement(trigger);
+
if (selector !== null) {
var $elem = $(selector);
+
if (!$elem.hasClass(ClassName.SHOW)) {
$(trigger).addClass(ClassName.COLLAPSED).attr('aria-expanded', false);
}
@@ -1247,8 +1221,9 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- _this7.setTransitioning(false);
- $(_this7._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
+ _this2.setTransitioning(false);
+
+ $(_this2._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
};
this._element.style[dimension] = '';
@@ -1261,48 +1236,56 @@ var Collapse = function ($) {
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
};
- Collapse.prototype.setTransitioning = function setTransitioning(isTransitioning) {
+ _proto.setTransitioning = function setTransitioning(isTransitioning) {
this._isTransitioning = isTransitioning;
};
- Collapse.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
this._config = null;
this._parent = null;
this._element = null;
this._triggerArray = null;
this._isTransitioning = null;
- };
+ }; // private
- // private
- Collapse.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
config.toggle = Boolean(config.toggle); // coerce string values
+
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Collapse.prototype._getDimension = function _getDimension() {
+ _proto._getDimension = function _getDimension() {
var hasWidth = $(this._element).hasClass(Dimension.WIDTH);
return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT;
};
- Collapse.prototype._getParent = function _getParent() {
- var _this8 = this;
+ _proto._getParent = function _getParent() {
+ var _this3 = this;
+
+ var parent = null;
- var parent = $(this._config.parent)[0];
- var selector = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]';
+ if (Util.isElement(this._config.parent)) {
+ parent = this._config.parent; // it's a jQuery object
+
+ if (typeof this._config.parent.jquery !== 'undefined') {
+ parent = this._config.parent[0];
+ }
+ } else {
+ parent = $(this._config.parent)[0];
+ }
+ var selector = "[data-toggle=\"collapse\"][data-parent=\"" + this._config.parent + "\"]";
$(parent).find(selector).each(function (i, element) {
- _this8._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
+ _this3._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
});
-
return parent;
};
- Collapse.prototype._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
+ _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
if (element) {
var isOpen = $(element).hasClass(ClassName.SHOW);
@@ -1310,9 +1293,8 @@ var Collapse = function ($) {
$(triggerArray).toggleClass(ClassName.COLLAPSED, !isOpen).attr('aria-expanded', isOpen);
}
}
- };
+ }; // static
- // static
Collapse._getTargetFromElement = function _getTargetFromElement(element) {
var selector = Util.getSelectorFromElement(element);
@@ -1323,7 +1305,8 @@ var Collapse = function ($) {
return this.each(function () {
var $this = $(this);
var data = $this.data(DATA_KEY);
- var _config = $.extend({}, Default, $this.data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Default, $this.data(), typeof config === 'object' && config);
if (!data && _config.toggle && /show|hide/.test(config)) {
_config.toggle = false;
@@ -1335,37 +1318,38 @@ var Collapse = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Collapse, null, [{
- key: 'VERSION',
+ createClass(Collapse, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Collapse;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- if (!/input|textarea/i.test(event.target.tagName)) {
+ // preventDefault only for <a> elements (which change the URL) not inside the collapsible element
+ if (event.currentTarget.tagName === 'A') {
event.preventDefault();
}
@@ -1375,10 +1359,10 @@ var Collapse = function ($) {
var $target = $(this);
var data = $target.data(DATA_KEY);
var config = data ? 'toggle' : $trigger.data();
+
Collapse._jQueryInterface.call($target, config);
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1387,25 +1371,23 @@ var Collapse = function ($) {
$.fn[NAME] = Collapse._jQueryInterface;
$.fn[NAME].Constructor = Collapse;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Collapse._jQueryInterface;
};
return Collapse;
-}(jQuery);
-
-/* global Popper */
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): dropdown.js
+ * Bootstrap (v4.0.0-beta.2): dropdown.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Dropdown = function ($) {
-
+var Dropdown = function () {
/**
* Check for Popper dependency
* Popper - https://popper.js.org
@@ -1413,38 +1395,42 @@ var Dropdown = function ($) {
if (typeof Popper === 'undefined') {
throw new Error('Bootstrap dropdown require Popper.js (https://popper.js.org)');
}
-
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
+
var NAME = 'dropdown';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.dropdown';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key
+
var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key
+
var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key
+
var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key
+
var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key
+
var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse)
- var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + '|' + ARROW_DOWN_KEYCODE + '|' + ESCAPE_KEYCODE);
+ var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + "|" + ARROW_DOWN_KEYCODE + "|" + ESCAPE_KEYCODE);
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
- KEYDOWN_DATA_API: 'keydown' + EVENT_KEY + DATA_API_KEY,
- KEYUP_DATA_API: 'keyup' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY,
+ KEYDOWN_DATA_API: "keydown" + EVENT_KEY + DATA_API_KEY,
+ KEYUP_DATA_API: "keyup" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
DISABLED: 'disabled',
SHOW: 'show',
@@ -1452,7 +1438,6 @@ var Dropdown = function ($) {
MENURIGHT: 'dropdown-menu-right',
MENULEFT: 'dropdown-menu-left'
};
-
var Selector = {
DATA_TOGGLE: '[data-toggle="dropdown"]',
FORM_CHILD: '.dropdown form',
@@ -1460,25 +1445,19 @@ var Dropdown = function ($) {
NAVBAR_NAV: '.navbar-nav',
VISIBLE_ITEMS: '.dropdown-menu .dropdown-item:not(.disabled)'
};
-
var AttachmentMap = {
TOP: 'top-start',
TOPEND: 'top-end',
BOTTOM: 'bottom-start',
BOTTOMEND: 'bottom-end'
};
-
var Default = {
- placement: AttachmentMap.BOTTOM,
offset: 0,
flip: true
};
-
var DefaultType = {
- placement: 'string',
- offset: '(number|string)',
+ offset: '(number|string|function)',
flip: 'boolean'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1486,10 +1465,11 @@ var Dropdown = function ($) {
*/
};
- var Dropdown = function () {
- function Dropdown(element, config) {
- _classCallCheck(this, Dropdown);
+ var Dropdown =
+ /*#__PURE__*/
+ function () {
+ function Dropdown(element, config) {
this._element = element;
this._popper = null;
this._config = this._getConfig(config);
@@ -1497,18 +1477,19 @@ var Dropdown = function ($) {
this._inNavbar = this._detectNavbar();
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Dropdown.prototype;
- Dropdown.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if (this._element.disabled || $(this._element).hasClass(ClassName.DISABLED)) {
return;
}
var parent = Dropdown._getParentFromElement(this._element);
+
var isActive = $(this._menu).hasClass(ClassName.SHOW);
Dropdown._clearMenus();
@@ -1521,135 +1502,147 @@ var Dropdown = function ($) {
relatedTarget: this._element
};
var showEvent = $.Event(Event.SHOW, relatedTarget);
-
$(parent).trigger(showEvent);
if (showEvent.isDefaultPrevented()) {
return;
}
- 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
+
if ($(parent).hasClass(ClassName.DROPUP)) {
if ($(this._menu).hasClass(ClassName.MENULEFT) || $(this._menu).hasClass(ClassName.MENURIGHT)) {
element = parent;
}
}
- this._popper = new Popper(element, this._menu, this._getPopperConfig());
- // if this is a touch-enabled device we add extra
+ this._popper = new Popper(element, this._menu, this._getPopperConfig()); // if this is a touch-enabled device we add extra
// empty mouseover listeners to the body's immediate children;
// only needed because of broken event delegation on iOS
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
+
if ('ontouchstart' in document.documentElement && !$(parent).closest(Selector.NAVBAR_NAV).length) {
$('body').children().on('mouseover', null, $.noop);
}
this._element.focus();
+
this._element.setAttribute('aria-expanded', true);
$(this._menu).toggleClass(ClassName.SHOW);
$(parent).toggleClass(ClassName.SHOW).trigger($.Event(Event.SHOWN, relatedTarget));
};
- Dropdown.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
$(this._element).off(EVENT_KEY);
this._element = null;
this._menu = null;
+
if (this._popper !== null) {
this._popper.destroy();
}
+
this._popper = null;
};
- Dropdown.prototype.update = function update() {
+ _proto.update = function update() {
this._inNavbar = this._detectNavbar();
+
if (this._popper !== null) {
this._popper.scheduleUpdate();
}
- };
+ }; // private
- // private
- Dropdown.prototype._addEventListeners = function _addEventListeners() {
- var _this9 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this = this;
$(this._element).on(Event.CLICK, function (event) {
event.preventDefault();
event.stopPropagation();
- _this9.toggle();
+
+ _this.toggle();
});
};
- Dropdown.prototype._getConfig = function _getConfig(config) {
- var elementData = $(this._element).data();
- if (elementData.placement !== undefined) {
- elementData.placement = AttachmentMap[elementData.placement.toUpperCase()];
- }
-
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
-
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
-
return config;
};
- Dropdown.prototype._getMenuElement = function _getMenuElement() {
+ _proto._getMenuElement = function _getMenuElement() {
if (!this._menu) {
var parent = Dropdown._getParentFromElement(this._element);
+
this._menu = $(parent).find(Selector.MENU)[0];
}
+
return this._menu;
};
- Dropdown.prototype._getPlacement = function _getPlacement() {
+ _proto._getPlacement = function _getPlacement() {
var $parentDropdown = $(this._element).parent();
- var placement = this._config.placement;
+ var placement = AttachmentMap.BOTTOM; // Handle dropup
- // Handle dropup
- if ($parentDropdown.hasClass(ClassName.DROPUP) || this._config.placement === AttachmentMap.TOP) {
+ if ($parentDropdown.hasClass(ClassName.DROPUP)) {
placement = AttachmentMap.TOP;
+
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.TOPEND;
}
} else if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.BOTTOMEND;
}
+
return placement;
};
- Dropdown.prototype._detectNavbar = function _detectNavbar() {
+ _proto._detectNavbar = function _detectNavbar() {
return $(this._element).closest('.navbar').length > 0;
};
- Dropdown.prototype._getPopperConfig = function _getPopperConfig() {
+ _proto._getPopperConfig = function _getPopperConfig() {
+ var _this2 = this;
+
+ var offsetConf = {};
+
+ if (typeof this._config.offset === 'function') {
+ offsetConf.fn = function (data) {
+ data.offsets = $.extend({}, data.offsets, _this2._config.offset(data.offsets) || {});
+ return data;
+ };
+ } else {
+ offsetConf.offset = this._config.offset;
+ }
+
var popperConfig = {
placement: this._getPlacement(),
modifiers: {
- offset: {
- offset: this._config.offset
- },
+ offset: offsetConf,
flip: {
enabled: this._config.flip
}
- }
+ } // Disable Popper.js for Dropdown in Navbar
+
+ };
- // Disable Popper.js for Dropdown in Navbar
- };if (this._inNavbar) {
+ if (this._inNavbar) {
popperConfig.modifiers.applyStyle = {
enabled: !this._inNavbar
};
}
+
return popperConfig;
- };
+ }; // static
- // static
Dropdown._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+
+ var _config = typeof config === 'object' ? config : null;
if (!data) {
data = new Dropdown(this, _config);
@@ -1657,9 +1650,10 @@ var Dropdown = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
@@ -1671,8 +1665,10 @@ var Dropdown = function ($) {
}
var toggles = $.makeArray($(Selector.DATA_TOGGLE));
+
for (var i = 0; i < toggles.length; i++) {
var parent = Dropdown._getParentFromElement(toggles[i]);
+
var context = $(toggles[i]).data(DATA_KEY);
var relatedTarget = {
relatedTarget: toggles[i]
@@ -1683,6 +1679,7 @@ var Dropdown = function ($) {
}
var dropdownMenu = context._menu;
+
if (!$(parent).hasClass(ClassName.SHOW)) {
continue;
}
@@ -1693,25 +1690,25 @@ var Dropdown = function ($) {
var hideEvent = $.Event(Event.HIDE, relatedTarget);
$(parent).trigger(hideEvent);
+
if (hideEvent.isDefaultPrevented()) {
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
+
+
if ('ontouchstart' in document.documentElement) {
$('body').children().off('mouseover', null, $.noop);
}
toggles[i].setAttribute('aria-expanded', 'false');
-
$(dropdownMenu).removeClass(ClassName.SHOW);
$(parent).removeClass(ClassName.SHOW).trigger($.Event(Event.HIDDEN, relatedTarget));
}
};
Dropdown._getParentFromElement = function _getParentFromElement(element) {
- var parent = void 0;
+ var parent;
var selector = Util.getSelectorFromElement(element);
if (selector) {
@@ -1734,10 +1731,10 @@ var Dropdown = function ($) {
}
var parent = Dropdown._getParentFromElement(this);
+
var isActive = $(parent).hasClass(ClassName.SHOW);
if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
-
if (event.which === ESCAPE_KEYCODE) {
var toggle = $(parent).find(Selector.DATA_TOGGLE)[0];
$(toggle).trigger('focus');
@@ -1772,40 +1769,39 @@ var Dropdown = function ($) {
items[index].focus();
};
- _createClass(Dropdown, null, [{
- key: 'VERSION',
+ createClass(Dropdown, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}, {
- key: 'DefaultType',
+ key: "DefaultType",
get: function get() {
return DefaultType;
}
}]);
-
return Dropdown;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + ' ' + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+
+ $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + " " + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
event.preventDefault();
event.stopPropagation();
+
Dropdown._jQueryInterface.call($(this), 'toggle');
}).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) {
e.stopPropagation();
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1814,33 +1810,32 @@ var Dropdown = function ($) {
$.fn[NAME] = Dropdown._jQueryInterface;
$.fn[NAME].Constructor = Dropdown;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Dropdown._jQueryInterface;
};
return Dropdown;
-}(jQuery);
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): modal.js
+ * Bootstrap (v4.0.0-beta.2): modal.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Modal = function ($) {
-
+var Modal = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'modal';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.modal';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 300;
@@ -1853,28 +1848,25 @@ var Modal = function ($) {
focus: true,
show: true
};
-
var DefaultType = {
backdrop: '(boolean|string)',
keyboard: 'boolean',
focus: 'boolean',
show: 'boolean'
};
-
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- RESIZE: 'resize' + EVENT_KEY,
- CLICK_DISMISS: 'click.dismiss' + EVENT_KEY,
- KEYDOWN_DISMISS: 'keydown.dismiss' + EVENT_KEY,
- MOUSEUP_DISMISS: 'mouseup.dismiss' + EVENT_KEY,
- MOUSEDOWN_DISMISS: 'mousedown.dismiss' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ RESIZE: "resize" + EVENT_KEY,
+ CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
+ KEYDOWN_DISMISS: "keydown.dismiss" + EVENT_KEY,
+ MOUSEUP_DISMISS: "mouseup.dismiss" + EVENT_KEY,
+ MOUSEDOWN_DISMISS: "mousedown.dismiss" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SCROLLBAR_MEASURER: 'modal-scrollbar-measure',
BACKDROP: 'modal-backdrop',
@@ -1882,14 +1874,13 @@ var Modal = function ($) {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
DIALOG: '.modal-dialog',
DATA_TOGGLE: '[data-toggle="modal"]',
DATA_DISMISS: '[data-dismiss="modal"]',
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
+ STICKY_CONTENT: '.sticky-top',
NAVBAR_TOGGLER: '.navbar-toggler'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1897,10 +1888,11 @@ var Modal = function ($) {
*/
};
- var Modal = function () {
- function Modal(element, config) {
- _classCallCheck(this, Modal);
+ var Modal =
+ /*#__PURE__*/
+ function () {
+ function Modal(element, config) {
this._config = this._getConfig(config);
this._element = element;
this._dialog = $(element).find(Selector.DIALOG)[0];
@@ -1910,20 +1902,20 @@ var Modal = function ($) {
this._ignoreBackdropClick = false;
this._originalBodyPadding = 0;
this._scrollbarWidth = 0;
- }
+ } // getters
- // getters
- // public
+ var _proto = Modal.prototype;
- Modal.prototype.toggle = function toggle(relatedTarget) {
+ // public
+ _proto.toggle = function toggle(relatedTarget) {
return this._isShown ? this.hide() : this.show(relatedTarget);
};
- Modal.prototype.show = function show(relatedTarget) {
- var _this10 = this;
+ _proto.show = function show(relatedTarget) {
+ var _this = this;
- if (this._isTransitioning) {
+ if (this._isTransitioning || this._isShown) {
return;
}
@@ -1934,7 +1926,6 @@ var Modal = function ($) {
var showEvent = $.Event(Event.SHOW, {
relatedTarget: relatedTarget
});
-
$(this._element).trigger(showEvent);
if (this._isShown || showEvent.isDefaultPrevented()) {
@@ -1944,32 +1935,35 @@ var Modal = function ($) {
this._isShown = true;
this._checkScrollbar();
+
this._setScrollbar();
+ this._adjustDialog();
+
$(document.body).addClass(ClassName.OPEN);
this._setEscapeEvent();
+
this._setResizeEvent();
$(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function (event) {
- return _this10.hide(event);
+ return _this.hide(event);
});
-
$(this._dialog).on(Event.MOUSEDOWN_DISMISS, function () {
- $(_this10._element).one(Event.MOUSEUP_DISMISS, function (event) {
- if ($(event.target).is(_this10._element)) {
- _this10._ignoreBackdropClick = true;
+ $(_this._element).one(Event.MOUSEUP_DISMISS, function (event) {
+ if ($(event.target).is(_this._element)) {
+ _this._ignoreBackdropClick = true;
}
});
});
this._showBackdrop(function () {
- return _this10._showElement(relatedTarget);
+ return _this._showElement(relatedTarget);
});
};
- Modal.prototype.hide = function hide(event) {
- var _this11 = this;
+ _proto.hide = function hide(event) {
+ var _this2 = this;
if (event) {
event.preventDefault();
@@ -1979,14 +1973,7 @@ var Modal = function ($) {
return;
}
- var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
-
- if (transition) {
- this._isTransitioning = true;
- }
-
var hideEvent = $.Event(Event.HIDE);
-
$(this._element).trigger(hideEvent);
if (!this._isShown || hideEvent.isDefaultPrevented()) {
@@ -1994,32 +1981,33 @@ var Modal = function ($) {
}
this._isShown = false;
+ var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
+
+ if (transition) {
+ this._isTransitioning = true;
+ }
this._setEscapeEvent();
+
this._setResizeEvent();
$(document).off(Event.FOCUSIN);
-
$(this._element).removeClass(ClassName.SHOW);
-
$(this._element).off(Event.CLICK_DISMISS);
$(this._dialog).off(Event.MOUSEDOWN_DISMISS);
if (transition) {
-
$(this._element).one(Util.TRANSITION_END, function (event) {
- return _this11._hideModal(event);
+ return _this2._hideModal(event);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
this._hideModal();
}
};
- Modal.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
$(window, document, this._element, this._backdrop).off(EVENT_KEY);
-
this._config = null;
this._element = null;
this._dialog = null;
@@ -2030,20 +2018,19 @@ var Modal = function ($) {
this._scrollbarWidth = null;
};
- Modal.prototype.handleUpdate = function handleUpdate() {
+ _proto.handleUpdate = function handleUpdate() {
this._adjustDialog();
- };
+ }; // private
- // private
- Modal.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Modal.prototype._showElement = function _showElement(relatedTarget) {
- var _this12 = this;
+ _proto._showElement = function _showElement(relatedTarget) {
+ var _this3 = this;
var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
@@ -2053,7 +2040,9 @@ var Modal = function ($) {
}
this._element.style.display = 'block';
+
this._element.removeAttribute('aria-hidden');
+
this._element.scrollTop = 0;
if (transition) {
@@ -2071,11 +2060,12 @@ var Modal = function ($) {
});
var transitionComplete = function transitionComplete() {
- if (_this12._config.focus) {
- _this12._element.focus();
+ if (_this3._config.focus) {
+ _this3._element.focus();
}
- _this12._isTransitioning = false;
- $(_this12._element).trigger(shownEvent);
+
+ _this3._isTransitioning = false;
+ $(_this3._element).trigger(shownEvent);
};
if (transition) {
@@ -2085,25 +2075,26 @@ var Modal = function ($) {
}
};
- Modal.prototype._enforceFocus = function _enforceFocus() {
- var _this13 = this;
+ _proto._enforceFocus = function _enforceFocus() {
+ var _this4 = this;
$(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) {
- if (document !== event.target && _this13._element !== event.target && !$(_this13._element).has(event.target).length) {
- _this13._element.focus();
+ if (document !== event.target && _this4._element !== event.target && !$(_this4._element).has(event.target).length) {
+ _this4._element.focus();
}
});
};
- Modal.prototype._setEscapeEvent = function _setEscapeEvent() {
- var _this14 = this;
+ _proto._setEscapeEvent = function _setEscapeEvent() {
+ var _this5 = this;
if (this._isShown && this._config.keyboard) {
$(this._element).on(Event.KEYDOWN_DISMISS, function (event) {
if (event.which === ESCAPE_KEYCODE) {
event.preventDefault();
- _this14.hide();
+
+ _this5.hide();
}
});
} else if (!this._isShown) {
@@ -2111,47 +2102,52 @@ var Modal = function ($) {
}
};
- Modal.prototype._setResizeEvent = function _setResizeEvent() {
- var _this15 = this;
+ _proto._setResizeEvent = function _setResizeEvent() {
+ var _this6 = this;
if (this._isShown) {
$(window).on(Event.RESIZE, function (event) {
- return _this15.handleUpdate(event);
+ return _this6.handleUpdate(event);
});
} else {
$(window).off(Event.RESIZE);
}
};
- Modal.prototype._hideModal = function _hideModal() {
- var _this16 = this;
+ _proto._hideModal = function _hideModal() {
+ var _this7 = this;
this._element.style.display = 'none';
+
this._element.setAttribute('aria-hidden', true);
+
this._isTransitioning = false;
+
this._showBackdrop(function () {
$(document.body).removeClass(ClassName.OPEN);
- _this16._resetAdjustments();
- _this16._resetScrollbar();
- $(_this16._element).trigger(Event.HIDDEN);
+
+ _this7._resetAdjustments();
+
+ _this7._resetScrollbar();
+
+ $(_this7._element).trigger(Event.HIDDEN);
});
};
- Modal.prototype._removeBackdrop = function _removeBackdrop() {
+ _proto._removeBackdrop = function _removeBackdrop() {
if (this._backdrop) {
$(this._backdrop).remove();
this._backdrop = null;
}
};
- Modal.prototype._showBackdrop = function _showBackdrop(callback) {
- var _this17 = this;
+ _proto._showBackdrop = function _showBackdrop(callback) {
+ var _this8 = this;
var animate = $(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : '';
if (this._isShown && this._config.backdrop) {
var doAnimate = Util.supportsTransitionEnd() && animate;
-
this._backdrop = document.createElement('div');
this._backdrop.className = ClassName.BACKDROP;
@@ -2160,19 +2156,20 @@ var Modal = function ($) {
}
$(this._backdrop).appendTo(document.body);
-
$(this._element).on(Event.CLICK_DISMISS, function (event) {
- if (_this17._ignoreBackdropClick) {
- _this17._ignoreBackdropClick = false;
+ if (_this8._ignoreBackdropClick) {
+ _this8._ignoreBackdropClick = false;
return;
}
+
if (event.target !== event.currentTarget) {
return;
}
- if (_this17._config.backdrop === 'static') {
- _this17._element.focus();
+
+ if (_this8._config.backdrop === 'static') {
+ _this8._element.focus();
} else {
- _this17.hide();
+ _this8.hide();
}
});
@@ -2196,7 +2193,8 @@ var Modal = function ($) {
$(this._backdrop).removeClass(ClassName.SHOW);
var callbackRemove = function callbackRemove() {
- _this17._removeBackdrop();
+ _this8._removeBackdrop();
+
if (callback) {
callback();
}
@@ -2210,88 +2208,92 @@ var Modal = function ($) {
} else if (callback) {
callback();
}
- };
-
- // ----------------------------------------------------------------------
+ }; // ----------------------------------------------------------------------
// the following methods are used to handle overflowing modals
// todo (fat): these should probably be refactored out of modal.js
// ----------------------------------------------------------------------
- Modal.prototype._adjustDialog = function _adjustDialog() {
+
+ _proto._adjustDialog = function _adjustDialog() {
var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;
if (!this._isBodyOverflowing && isModalOverflowing) {
- this._element.style.paddingLeft = this._scrollbarWidth + 'px';
+ this._element.style.paddingLeft = this._scrollbarWidth + "px";
}
if (this._isBodyOverflowing && !isModalOverflowing) {
- this._element.style.paddingRight = this._scrollbarWidth + 'px';
+ this._element.style.paddingRight = this._scrollbarWidth + "px";
}
};
- Modal.prototype._resetAdjustments = function _resetAdjustments() {
+ _proto._resetAdjustments = function _resetAdjustments() {
this._element.style.paddingLeft = '';
this._element.style.paddingRight = '';
};
- Modal.prototype._checkScrollbar = function _checkScrollbar() {
- this._isBodyOverflowing = document.body.clientWidth < window.innerWidth;
+ _proto._checkScrollbar = function _checkScrollbar() {
+ var rect = document.body.getBoundingClientRect();
+ this._isBodyOverflowing = rect.left + rect.right < window.innerWidth;
this._scrollbarWidth = this._getScrollbarWidth();
};
- Modal.prototype._setScrollbar = function _setScrollbar() {
- var _this18 = this;
+ _proto._setScrollbar = function _setScrollbar() {
+ var _this9 = this;
if (this._isBodyOverflowing) {
// Note: DOMNode.style.paddingRight returns the actual value or '' if not set
// while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set
-
// Adjust fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var actualPadding = $(element)[0].style.paddingRight;
var calculatedPadding = $(element).css('padding-right');
- $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this9._scrollbarWidth + "px");
+ }); // Adjust sticky content margin
+
+ $(Selector.STICKY_CONTENT).each(function (index, element) {
+ var actualMargin = $(element)[0].style.marginRight;
+ var calculatedMargin = $(element).css('margin-right');
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) - _this9._scrollbarWidth + "px");
+ }); // Adjust navbar-toggler margin
- // Adjust navbar-toggler margin
$(Selector.NAVBAR_TOGGLER).each(function (index, element) {
var actualMargin = $(element)[0].style.marginRight;
var calculatedMargin = $(element).css('margin-right');
- $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this9._scrollbarWidth + "px");
+ }); // Adjust body padding
- // Adjust body padding
var actualPadding = document.body.style.paddingRight;
var calculatedPadding = $('body').css('padding-right');
- $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + 'px');
+ $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
}
};
- Modal.prototype._resetScrollbar = function _resetScrollbar() {
+ _proto._resetScrollbar = function _resetScrollbar() {
// Restore fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var padding = $(element).data('padding-right');
+
if (typeof padding !== 'undefined') {
$(element).css('padding-right', padding).removeData('padding-right');
}
- });
+ }); // Restore sticky content and navbar-toggler margin
- // Restore navbar-toggler margin
- $(Selector.NAVBAR_TOGGLER).each(function (index, element) {
+ $(Selector.STICKY_CONTENT + ", " + Selector.NAVBAR_TOGGLER).each(function (index, element) {
var margin = $(element).data('margin-right');
+
if (typeof margin !== 'undefined') {
$(element).css('margin-right', margin).removeData('margin-right');
}
- });
+ }); // Restore body padding
- // Restore body padding
var padding = $('body').data('padding-right');
+
if (typeof padding !== 'undefined') {
$('body').css('padding-right', padding).removeData('padding-right');
}
};
- Modal.prototype._getScrollbarWidth = function _getScrollbarWidth() {
+ _proto._getScrollbarWidth = function _getScrollbarWidth() {
// thx d.walsh
var scrollDiv = document.createElement('div');
scrollDiv.className = ClassName.SCROLLBAR_MEASURER;
@@ -2299,14 +2301,14 @@ var Modal = function ($) {
var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth;
document.body.removeChild(scrollDiv);
return scrollbarWidth;
- };
+ }; // static
- // static
Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = $.extend({}, Modal.Default, $(this).data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Modal.Default, $(this).data(), typeof config === 'object' && config);
if (!data) {
data = new Modal(this, _config);
@@ -2314,9 +2316,10 @@ var Modal = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config](relatedTarget);
} else if (_config.show) {
data.show(relatedTarget);
@@ -2324,31 +2327,30 @@ var Modal = function ($) {
});
};
- _createClass(Modal, null, [{
- key: 'VERSION',
+ createClass(Modal, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Modal;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- var _this19 = this;
+ var _this10 = this;
- var target = void 0;
+ var target;
var selector = Util.getSelectorFromElement(this);
if (selector) {
@@ -2368,15 +2370,14 @@ var Modal = function ($) {
}
$target.one(Event.HIDDEN, function () {
- if ($(_this19).is(':visible')) {
- _this19.focus();
+ if ($(_this10).is(':visible')) {
+ _this10.focus();
}
});
});
Modal._jQueryInterface.call($(target), config, this);
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -2385,75 +2386,108 @@ var Modal = function ($) {
$.fn[NAME] = Modal._jQueryInterface;
$.fn[NAME].Constructor = Modal;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Modal._jQueryInterface;
};
return Modal;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): scrollspy.js
+ * Bootstrap (v4.0.0-beta.2): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var ScrollSpy = function ($) {
-
+var Tooltip = function () {
+ /**
+ * Check for Popper dependency
+ * Popper - https://popper.js.org
+ */
+ if (typeof Popper === 'undefined') {
+ throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
+ }
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
- var NAME = 'scrollspy';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.scrollspy';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var NAME = 'tooltip';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tooltip';
+ var EVENT_KEY = "." + DATA_KEY;
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var TRANSITION_DURATION = 150;
+ var CLASS_PREFIX = 'bs-tooltip';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var DefaultType = {
+ animation: 'boolean',
+ template: 'string',
+ title: '(string|element|function)',
+ trigger: 'string',
+ delay: '(number|object)',
+ html: 'boolean',
+ selector: '(string|boolean)',
+ placement: '(string|function)',
+ offset: '(number|string)',
+ container: '(string|element|boolean)',
+ fallbackPlacement: '(string|array)'
+ };
+ var AttachmentMap = {
+ AUTO: 'auto',
+ TOP: 'top',
+ RIGHT: 'right',
+ BOTTOM: 'bottom',
+ LEFT: 'left'
+ };
var Default = {
- offset: 10,
- method: 'auto',
- target: ''
+ animation: true,
+ template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
+ trigger: 'hover focus',
+ title: '',
+ delay: 0,
+ html: false,
+ selector: false,
+ placement: 'top',
+ offset: 0,
+ container: false,
+ fallbackPlacement: 'flip'
};
-
- var DefaultType = {
- offset: 'number',
- method: 'string',
- target: '(string|element)'
+ var HoverState = {
+ SHOW: 'show',
+ OUT: 'out'
};
-
var Event = {
- ACTIVATE: 'activate' + EVENT_KEY,
- SCROLL: 'scroll' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
};
-
var ClassName = {
- DROPDOWN_ITEM: 'dropdown-item',
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active'
+ FADE: 'fade',
+ SHOW: 'show'
};
-
var Selector = {
- DATA_SPY: '[data-spy="scroll"]',
- ACTIVE: '.active',
- NAV_LIST_GROUP: '.nav, .list-group',
- NAV_LINKS: '.nav-link',
- LIST_ITEMS: '.list-group-item',
- DROPDOWN: '.dropdown',
- DROPDOWN_ITEMS: '.dropdown-item',
- DROPDOWN_TOGGLE: '.dropdown-toggle'
+ TOOLTIP: '.tooltip',
+ TOOLTIP_INNER: '.tooltip-inner',
+ ARROW: '.arrow'
};
-
- var OffsetMethod = {
- OFFSET: 'offset',
- POSITION: 'position'
-
+ var Trigger = {
+ HOVER: 'hover',
+ FOCUS: 'focus',
+ CLICK: 'click',
+ MANUAL: 'manual'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -2461,607 +2495,615 @@ var ScrollSpy = function ($) {
*/
};
- var ScrollSpy = function () {
- function ScrollSpy(element, config) {
- var _this20 = this;
- _classCallCheck(this, ScrollSpy);
+ var Tooltip =
+ /*#__PURE__*/
+ function () {
+ function Tooltip(element, config) {
+ // private
+ this._isEnabled = true;
+ this._timeout = 0;
+ this._hoverState = '';
+ this._activeTrigger = {};
+ this._popper = null; // protected
- this._element = element;
- this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
- this._targets = [];
- this._activeTarget = null;
- this._scrollHeight = 0;
+ this.element = element;
+ this.config = this._getConfig(config);
+ this.tip = null;
- $(this._scrollElement).on(Event.SCROLL, function (event) {
- return _this20._process(event);
- });
+ this._setListeners();
+ } // getters
- this.refresh();
- this._process();
- }
- // getters
+ var _proto = Tooltip.prototype;
// public
+ _proto.enable = function enable() {
+ this._isEnabled = true;
+ };
- ScrollSpy.prototype.refresh = function refresh() {
- var _this21 = this;
-
- var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
-
- var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ _proto.disable = function disable() {
+ this._isEnabled = false;
+ };
- var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ _proto.toggleEnabled = function toggleEnabled() {
+ this._isEnabled = !this._isEnabled;
+ };
- this._offsets = [];
- this._targets = [];
+ _proto.toggle = function toggle(event) {
+ if (!this._isEnabled) {
+ return;
+ }
- this._scrollHeight = this._getScrollHeight();
+ if (event) {
+ var dataKey = this.constructor.DATA_KEY;
+ var context = $(event.currentTarget).data(dataKey);
- var targets = $.makeArray($(this._selector));
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- targets.map(function (element) {
- var target = void 0;
- var targetSelector = Util.getSelectorFromElement(element);
+ context._activeTrigger.click = !context._activeTrigger.click;
- if (targetSelector) {
- target = $(targetSelector)[0];
+ if (context._isWithActiveTrigger()) {
+ context._enter(null, context);
+ } else {
+ context._leave(null, context);
}
+ } else {
+ if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
+ this._leave(null, this);
- if (target) {
- var targetBCR = target.getBoundingClientRect();
- if (targetBCR.width || targetBCR.height) {
- // todo (fat): remove sketch reliance on jQuery position/offset
- return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
- }
+ return;
}
- return null;
- }).filter(function (item) {
- return item;
- }).sort(function (a, b) {
- return a[0] - b[0];
- }).forEach(function (item) {
- _this21._offsets.push(item[0]);
- _this21._targets.push(item[1]);
- });
- };
-
- ScrollSpy.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- $(this._scrollElement).off(EVENT_KEY);
- this._element = null;
- this._scrollElement = null;
- this._config = null;
- this._selector = null;
- this._offsets = null;
- this._targets = null;
- this._activeTarget = null;
- this._scrollHeight = null;
+ this._enter(null, this);
+ }
};
- // private
-
- ScrollSpy.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, Default, config);
+ _proto.dispose = function dispose() {
+ clearTimeout(this._timeout);
+ $.removeData(this.element, this.constructor.DATA_KEY);
+ $(this.element).off(this.constructor.EVENT_KEY);
+ $(this.element).closest('.modal').off('hide.bs.modal');
- if (typeof config.target !== 'string') {
- var id = $(config.target).attr('id');
- if (!id) {
- id = Util.getUID(NAME);
- $(config.target).attr('id', id);
- }
- config.target = '#' + id;
+ if (this.tip) {
+ $(this.tip).remove();
}
- Util.typeCheckConfig(NAME, config, DefaultType);
+ this._isEnabled = null;
+ this._timeout = null;
+ this._hoverState = null;
+ this._activeTrigger = null;
- return config;
- };
+ if (this._popper !== null) {
+ this._popper.destroy();
+ }
- ScrollSpy.prototype._getScrollTop = function _getScrollTop() {
- return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ this._popper = null;
+ this.element = null;
+ this.config = null;
+ this.tip = null;
};
- ScrollSpy.prototype._getScrollHeight = function _getScrollHeight() {
- return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
- };
+ _proto.show = function show() {
+ var _this = this;
- ScrollSpy.prototype._getOffsetHeight = function _getOffsetHeight() {
- return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
- };
+ if ($(this.element).css('display') === 'none') {
+ throw new Error('Please use show on visible elements');
+ }
- ScrollSpy.prototype._process = function _process() {
- var scrollTop = this._getScrollTop() + this._config.offset;
- var scrollHeight = this._getScrollHeight();
- var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
+ var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this._scrollHeight !== scrollHeight) {
- this.refresh();
- }
+ if (this.isWithContent() && this._isEnabled) {
+ $(this.element).trigger(showEvent);
+ var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
- if (scrollTop >= maxScroll) {
- var target = this._targets[this._targets.length - 1];
+ if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ return;
+ }
- if (this._activeTarget !== target) {
- this._activate(target);
+ var tip = this.getTipElement();
+ var tipId = Util.getUID(this.constructor.NAME);
+ tip.setAttribute('id', tipId);
+ this.element.setAttribute('aria-describedby', tipId);
+ this.setContent();
+
+ if (this.config.animation) {
+ $(tip).addClass(ClassName.FADE);
}
- return;
- }
- if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
- this._activeTarget = null;
- this._clear();
- return;
- }
+ var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
- for (var i = this._offsets.length; i--;) {
- var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (this._offsets[i + 1] === undefined || scrollTop < this._offsets[i + 1]);
+ var attachment = this._getAttachment(placement);
- if (isActiveTarget) {
- this._activate(this._targets[i]);
+ this.addAttachmentClass(attachment);
+ var container = this.config.container === false ? document.body : $(this.config.container);
+ $(tip).data(this.constructor.DATA_KEY, this);
+
+ if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
+ $(tip).appendTo(container);
}
- }
- };
- ScrollSpy.prototype._activate = function _activate(target) {
- this._activeTarget = target;
+ $(this.element).trigger(this.constructor.Event.INSERTED);
+ this._popper = new Popper(this.element, tip, {
+ placement: attachment,
+ modifiers: {
+ offset: {
+ offset: this.config.offset
+ },
+ flip: {
+ behavior: this.config.fallbackPlacement
+ },
+ arrow: {
+ element: Selector.ARROW
+ }
+ },
+ onCreate: function onCreate(data) {
+ if (data.originalPlacement !== data.placement) {
+ _this._handlePopperPlacementChange(data);
+ }
+ },
+ onUpdate: function onUpdate(data) {
+ _this._handlePopperPlacementChange(data);
+ }
+ });
+ $(tip).addClass(ClassName.SHOW); // if this is a touch-enabled device we add extra
+ // empty mouseover listeners to the body's immediate children;
+ // only needed because of broken event delegation on iOS
+ // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- this._clear();
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().on('mouseover', null, $.noop);
+ }
- var queries = this._selector.split(',');
- queries = queries.map(function (selector) {
- return selector + '[data-target="' + target + '"],' + (selector + '[href="' + target + '"]');
- });
+ var complete = function complete() {
+ if (_this.config.animation) {
+ _this._fixTransition();
+ }
- var $link = $(queries.join(','));
+ var prevHoverState = _this._hoverState;
+ _this._hoverState = null;
+ $(_this.element).trigger(_this.constructor.Event.SHOWN);
- if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
- $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- $link.addClass(ClassName.ACTIVE);
- } else {
- // Set triggered link as active
- $link.addClass(ClassName.ACTIVE);
- // Set triggered links parents as active
- // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE);
- }
+ if (prevHoverState === HoverState.OUT) {
+ _this._leave(null, _this);
+ }
+ };
- $(this._scrollElement).trigger(Event.ACTIVATE, {
- relatedTarget: target
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+ }
};
- ScrollSpy.prototype._clear = function _clear() {
- $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
- };
+ _proto.hide = function hide(callback) {
+ var _this2 = this;
- // static
+ var tip = this.getTipElement();
+ var hideEvent = $.Event(this.constructor.Event.HIDE);
- ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
+ var complete = function complete() {
+ if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) {
+ tip.parentNode.removeChild(tip);
+ }
- if (!data) {
- data = new ScrollSpy(this, _config);
- $(this).data(DATA_KEY, data);
+ _this2._cleanTipClass();
+
+ _this2.element.removeAttribute('aria-describedby');
+
+ $(_this2.element).trigger(_this2.constructor.Event.HIDDEN);
+
+ if (_this2._popper !== null) {
+ _this2._popper.destroy();
}
- if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
- }
- data[config]();
+ if (callback) {
+ callback();
}
- });
- };
+ };
- _createClass(ScrollSpy, null, [{
- key: 'VERSION',
- get: function get() {
- return VERSION;
- }
- }, {
- key: 'Default',
- get: function get() {
- return Default;
+ $(this.element).trigger(hideEvent);
+
+ if (hideEvent.isDefaultPrevented()) {
+ return;
}
- }]);
- return ScrollSpy;
- }();
+ $(tip).removeClass(ClassName.SHOW); // if this is a touch-enabled device we remove the extra
+ // empty mouseover listeners we added for iOS support
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().off('mouseover', null, $.noop);
+ }
- $(window).on(Event.LOAD_DATA_API, function () {
- var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+ this._activeTrigger[Trigger.CLICK] = false;
+ this._activeTrigger[Trigger.FOCUS] = false;
+ this._activeTrigger[Trigger.HOVER] = false;
- for (var i = scrollSpys.length; i--;) {
- var $spy = $(scrollSpys[i]);
- ScrollSpy._jQueryInterface.call($spy, $spy.data());
- }
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
- */
+ this._hoverState = '';
+ };
- $.fn[NAME] = ScrollSpy._jQueryInterface;
- $.fn[NAME].Constructor = ScrollSpy;
- $.fn[NAME].noConflict = function () {
- $.fn[NAME] = JQUERY_NO_CONFLICT;
- return ScrollSpy._jQueryInterface;
- };
+ _proto.update = function update() {
+ if (this._popper !== null) {
+ this._popper.scheduleUpdate();
+ }
+ }; // protected
- return ScrollSpy;
-}(jQuery);
-/**
- * --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tab.js
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * --------------------------------------------------------------------------
- */
+ _proto.isWithContent = function isWithContent() {
+ return Boolean(this.getTitle());
+ };
-var Tab = function ($) {
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
+ };
- /**
- * ------------------------------------------------------------------------
- * Constants
- * ------------------------------------------------------------------------
- */
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
+ };
- var NAME = 'tab';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tab';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement());
+ this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ };
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
- };
+ _proto.setElementContent = function setElementContent($element, content) {
+ var html = this.config.html;
- var ClassName = {
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active',
- DISABLED: 'disabled',
- FADE: 'fade',
- SHOW: 'show'
- };
+ if (typeof content === 'object' && (content.nodeType || content.jquery)) {
+ // content is a DOM node or a jQuery
+ if (html) {
+ if (!$(content).parent().is($element)) {
+ $element.empty().append(content);
+ }
+ } else {
+ $element.text($(content).text());
+ }
+ } else {
+ $element[html ? 'html' : 'text'](content);
+ }
+ };
- var Selector = {
- DROPDOWN: '.dropdown',
- NAV_LIST_GROUP: '.nav, .list-group',
- ACTIVE: '.active',
- DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
- DROPDOWN_TOGGLE: '.dropdown-toggle',
- DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
+ _proto.getTitle = function getTitle() {
+ var title = this.element.getAttribute('data-original-title');
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
+ if (!title) {
+ title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
+ }
- };
- var Tab = function () {
- function Tab(element) {
- _classCallCheck(this, Tab);
+ return title;
+ }; // private
- this._element = element;
- }
- // getters
+ _proto._getAttachment = function _getAttachment(placement) {
+ return AttachmentMap[placement.toUpperCase()];
+ };
- // public
+ _proto._setListeners = function _setListeners() {
+ var _this3 = this;
+
+ var triggers = this.config.trigger.split(' ');
+ triggers.forEach(function (trigger) {
+ if (trigger === 'click') {
+ $(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) {
+ return _this3.toggle(event);
+ });
+ } else if (trigger !== Trigger.MANUAL) {
+ var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN;
+ var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT;
+ $(_this3.element).on(eventIn, _this3.config.selector, function (event) {
+ return _this3._enter(event);
+ }).on(eventOut, _this3.config.selector, function (event) {
+ return _this3._leave(event);
+ });
+ }
- Tab.prototype.show = function show() {
- var _this22 = this;
+ $(_this3.element).closest('.modal').on('hide.bs.modal', function () {
+ return _this3.hide();
+ });
+ });
- if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
- return;
+ if (this.config.selector) {
+ this.config = $.extend({}, this.config, {
+ trigger: 'manual',
+ selector: ''
+ });
+ } else {
+ this._fixTitle();
}
+ };
- var target = void 0;
- var previous = void 0;
- var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
- var selector = Util.getSelectorFromElement(this._element);
+ _proto._fixTitle = function _fixTitle() {
+ var titleType = typeof this.element.getAttribute('data-original-title');
- if (listElement) {
- previous = $.makeArray($(listElement).find(Selector.ACTIVE));
- previous = previous[previous.length - 1];
+ if (this.element.getAttribute('title') || titleType !== 'string') {
+ this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
+ this.element.setAttribute('title', '');
}
+ };
- var hideEvent = $.Event(Event.HIDE, {
- relatedTarget: this._element
- });
-
- var showEvent = $.Event(Event.SHOW, {
- relatedTarget: previous
- });
+ _proto._enter = function _enter(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- if (previous) {
- $(previous).trigger(hideEvent);
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
}
- $(this._element).trigger(showEvent);
+ if (event) {
+ context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
+ }
- if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
+ context._hoverState = HoverState.SHOW;
return;
}
- if (selector) {
- target = $(selector)[0];
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.SHOW;
+
+ if (!context.config.delay || !context.config.delay.show) {
+ context.show();
+ return;
}
- this._activate(this._element, listElement);
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.SHOW) {
+ context.show();
+ }
+ }, context.config.delay.show);
+ };
- var complete = function complete() {
- var hiddenEvent = $.Event(Event.HIDDEN, {
- relatedTarget: _this22._element
- });
+ _proto._leave = function _leave(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- var shownEvent = $.Event(Event.SHOWN, {
- relatedTarget: previous
- });
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- $(previous).trigger(hiddenEvent);
- $(_this22._element).trigger(shownEvent);
- };
+ if (event) {
+ context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
+ }
- if (target) {
- this._activate(target, target.parentNode, complete);
- } else {
- complete();
+ if (context._isWithActiveTrigger()) {
+ return;
}
- };
- Tab.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- this._element = null;
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.OUT;
+
+ if (!context.config.delay || !context.config.delay.hide) {
+ context.hide();
+ return;
+ }
+
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.OUT) {
+ context.hide();
+ }
+ }, context.config.delay.hide);
};
- // private
+ _proto._isWithActiveTrigger = function _isWithActiveTrigger() {
+ for (var trigger in this._activeTrigger) {
+ if (this._activeTrigger[trigger]) {
+ return true;
+ }
+ }
- Tab.prototype._activate = function _activate(element, container, callback) {
- var _this23 = this;
+ return false;
+ };
- var active = $(container).find(Selector.ACTIVE)[0];
- var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
- var complete = function complete() {
- return _this23._transitionComplete(element, active, isTransitioning, callback);
- };
+ if (typeof config.delay === 'number') {
+ config.delay = {
+ show: config.delay,
+ hide: config.delay
+ };
+ }
- if (active && isTransitioning) {
- $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
+ if (typeof config.title === 'number') {
+ config.title = config.title.toString();
}
- if (active) {
- $(active).removeClass(ClassName.SHOW);
+ if (typeof config.content === 'number') {
+ config.content = config.content.toString();
}
- };
- Tab.prototype._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
- if (active) {
- $(active).removeClass(ClassName.ACTIVE);
+ Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ return config;
+ };
- var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
+ _proto._getDelegateConfig = function _getDelegateConfig() {
+ var config = {};
- if (dropdownChild) {
- $(dropdownChild).removeClass(ClassName.ACTIVE);
+ if (this.config) {
+ for (var key in this.config) {
+ if (this.constructor.Default[key] !== this.config[key]) {
+ config[key] = this.config[key];
+ }
}
-
- active.setAttribute('aria-expanded', false);
}
- $(element).addClass(ClassName.ACTIVE);
- element.setAttribute('aria-expanded', true);
+ return config;
+ };
- if (isTransitioning) {
- Util.reflow(element);
- $(element).addClass(ClassName.SHOW);
- } else {
- $(element).removeClass(ClassName.FADE);
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
+
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
+ };
- if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
+ this._cleanTipClass();
- var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
- if (dropdownElement) {
- $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- }
+ this.addAttachmentClass(this._getAttachment(data.placement));
+ };
- element.setAttribute('aria-expanded', true);
- }
+ _proto._fixTransition = function _fixTransition() {
+ var tip = this.getTipElement();
+ var initConfigAnimation = this.config.animation;
- if (callback) {
- callback();
+ if (tip.getAttribute('x-placement') !== null) {
+ return;
}
- };
- // static
+ $(tip).removeClass(ClassName.FADE);
+ this.config.animation = false;
+ this.hide();
+ this.show();
+ this.config.animation = initConfigAnimation;
+ }; // static
+
- Tab._jQueryInterface = function _jQueryInterface(config) {
+ Tooltip._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
- var $this = $(this);
- var data = $this.data(DATA_KEY);
+ var data = $(this).data(DATA_KEY);
+
+ var _config = typeof config === 'object' && config;
+
+ if (!data && /dispose|hide/.test(config)) {
+ return;
+ }
if (!data) {
- data = new Tab(this);
- $this.data(DATA_KEY, data);
+ data = new Tooltip(this, _config);
+ $(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tab, null, [{
- key: 'VERSION',
+ createClass(Tooltip, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }]);
-
- return Tab;
- }();
-
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
-
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- event.preventDefault();
- Tab._jQueryInterface.call($(this), 'show');
- });
-
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Tooltip;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tab._jQueryInterface;
- $.fn[NAME].Constructor = Tab;
+
+ $.fn[NAME] = Tooltip._jQueryInterface;
+ $.fn[NAME].Constructor = Tooltip;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tab._jQueryInterface;
+ return Tooltip._jQueryInterface;
};
- return Tab;
-}(jQuery);
-
-/* global Popper */
+ return Tooltip;
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tooltip.js
+ * Bootstrap (v4.0.0-beta.2): popover.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Tooltip = function ($) {
-
- /**
- * Check for Popper dependency
- * Popper - https://popper.js.org
- */
- if (typeof Popper === 'undefined') {
- throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
- }
-
+var Popover = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'tooltip';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tooltip';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'popover';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.popover';
+ var EVENT_KEY = "." + DATA_KEY;
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
- var CLASS_PREFIX = 'bs-tooltip';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var DefaultType = {
- animation: 'boolean',
- template: 'string',
- title: '(string|element|function)',
- trigger: 'string',
- delay: '(number|object)',
- html: 'boolean',
- selector: '(string|boolean)',
- placement: '(string|function)',
- offset: '(number|string)',
- container: '(string|element|boolean)',
- fallbackPlacement: '(string|array)'
- };
-
- var AttachmentMap = {
- AUTO: 'auto',
- TOP: 'top',
- RIGHT: 'right',
- BOTTOM: 'bottom',
- LEFT: 'left'
- };
-
- var Default = {
- animation: true,
- template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
- trigger: 'hover focus',
- title: '',
- delay: 0,
- html: false,
- selector: false,
- placement: 'top',
- offset: 0,
- container: false,
- fallbackPlacement: 'flip'
- };
-
- var HoverState = {
- SHOW: 'show',
- OUT: 'out'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
- };
-
+ var CLASS_PREFIX = 'bs-popover';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var Default = $.extend({}, Tooltip.Default, {
+ placement: 'right',
+ trigger: 'click',
+ content: '',
+ template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
+ });
+ var DefaultType = $.extend({}, Tooltip.DefaultType, {
+ content: '(string|element|function)'
+ });
var ClassName = {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TOOLTIP: '.tooltip',
- TOOLTIP_INNER: '.tooltip-inner',
- ARROW: '.arrow'
+ TITLE: '.popover-header',
+ CONTENT: '.popover-body'
};
-
- var Trigger = {
- HOVER: 'hover',
- FOCUS: 'focus',
- CLICK: 'click',
- MANUAL: 'manual'
-
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3069,625 +3111,490 @@ var Tooltip = function ($) {
*/
};
- var Tooltip = function () {
- function Tooltip(element, config) {
- _classCallCheck(this, Tooltip);
- // private
- this._isEnabled = true;
- this._timeout = 0;
- this._hoverState = '';
- this._activeTrigger = {};
- this._popper = null;
+ var Popover =
+ /*#__PURE__*/
+ function (_Tooltip) {
+ inheritsLoose(Popover, _Tooltip);
- // protected
- this.element = element;
- this.config = this._getConfig(config);
- this.tip = null;
-
- this._setListeners();
+ function Popover() {
+ return _Tooltip.apply(this, arguments) || this;
}
- // getters
-
- // public
+ var _proto = Popover.prototype;
- Tooltip.prototype.enable = function enable() {
- this._isEnabled = true;
+ // overrides
+ _proto.isWithContent = function isWithContent() {
+ return this.getTitle() || this._getContent();
};
- Tooltip.prototype.disable = function disable() {
- this._isEnabled = false;
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
};
- Tooltip.prototype.toggleEnabled = function toggleEnabled() {
- this._isEnabled = !this._isEnabled;
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
};
- Tooltip.prototype.toggle = function toggle(event) {
- if (event) {
- var dataKey = this.constructor.DATA_KEY;
- var context = $(event.currentTarget).data(dataKey);
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement()); // we use append for html objects to maintain js events
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
-
- context._activeTrigger.click = !context._activeTrigger.click;
-
- if (context._isWithActiveTrigger()) {
- context._enter(null, context);
- } else {
- context._leave(null, context);
- }
- } else {
+ this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
+ this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ }; // private
- if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
- this._leave(null, this);
- return;
- }
- this._enter(null, this);
- }
+ _proto._getContent = function _getContent() {
+ return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
};
- Tooltip.prototype.dispose = function dispose() {
- clearTimeout(this._timeout);
-
- $.removeData(this.element, this.constructor.DATA_KEY);
-
- $(this.element).off(this.constructor.EVENT_KEY);
- $(this.element).closest('.modal').off('hide.bs.modal');
-
- if (this.tip) {
- $(this.tip).remove();
- }
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- this._isEnabled = null;
- this._timeout = null;
- this._hoverState = null;
- this._activeTrigger = null;
- if (this._popper !== null) {
- this._popper.destroy();
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
- this._popper = null;
-
- this.element = null;
- this.config = null;
- this.tip = null;
- };
+ }; // static
- Tooltip.prototype.show = function show() {
- var _this24 = this;
- if ($(this.element).css('display') === 'none') {
- throw new Error('Please use show on visible elements');
- }
-
- var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this.isWithContent() && this._isEnabled) {
- $(this.element).trigger(showEvent);
+ Popover._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var data = $(this).data(DATA_KEY);
- var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
+ var _config = typeof config === 'object' ? config : null;
- if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ if (!data && /destroy|hide/.test(config)) {
return;
}
- var tip = this.getTipElement();
- var tipId = Util.getUID(this.constructor.NAME);
-
- tip.setAttribute('id', tipId);
- this.element.setAttribute('aria-describedby', tipId);
-
- this.setContent();
-
- if (this.config.animation) {
- $(tip).addClass(ClassName.FADE);
- }
-
- var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
-
- var attachment = this._getAttachment(placement);
- this.addAttachmentClass(attachment);
-
- var container = this.config.container === false ? document.body : $(this.config.container);
-
- $(tip).data(this.constructor.DATA_KEY, this);
-
- if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
- $(tip).appendTo(container);
- }
-
- $(this.element).trigger(this.constructor.Event.INSERTED);
-
- this._popper = new Popper(this.element, tip, {
- placement: attachment,
- modifiers: {
- offset: {
- offset: this.config.offset
- },
- flip: {
- behavior: this.config.fallbackPlacement
- },
- arrow: {
- element: Selector.ARROW
- }
- },
- onCreate: function onCreate(data) {
- if (data.originalPlacement !== data.placement) {
- _this24._handlePopperPlacementChange(data);
- }
- },
- onUpdate: function onUpdate(data) {
- _this24._handlePopperPlacementChange(data);
- }
- });
-
- $(tip).addClass(ClassName.SHOW);
-
- // if this is a touch-enabled device we add extra
- // empty mouseover listeners to the body's immediate children;
- // only needed because of broken event delegation on iOS
- // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- if ('ontouchstart' in document.documentElement) {
- $('body').children().on('mouseover', null, $.noop);
+ if (!data) {
+ data = new Popover(this, _config);
+ $(this).data(DATA_KEY, data);
}
- var complete = function complete() {
- if (_this24.config.animation) {
- _this24._fixTransition();
- }
- var prevHoverState = _this24._hoverState;
- _this24._hoverState = null;
-
- $(_this24.element).trigger(_this24.constructor.Event.SHOWN);
-
- if (prevHoverState === HoverState.OUT) {
- _this24._leave(null, _this24);
+ if (typeof config === 'string') {
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
- };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
- $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
- } else {
- complete();
+ data[config]();
}
- }
+ });
};
- Tooltip.prototype.hide = function hide(callback) {
- var _this25 = this;
-
- var tip = this.getTipElement();
- var hideEvent = $.Event(this.constructor.Event.HIDE);
- var complete = function complete() {
- if (_this25._hoverState !== HoverState.SHOW && tip.parentNode) {
- tip.parentNode.removeChild(tip);
- }
+ createClass(Popover, null, [{
+ key: "VERSION",
+ // getters
+ get: function get() {
+ return VERSION;
+ }
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Popover;
+ }(Tooltip);
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
+ */
- _this25._cleanTipClass();
- _this25.element.removeAttribute('aria-describedby');
- $(_this25.element).trigger(_this25.constructor.Event.HIDDEN);
- if (_this25._popper !== null) {
- _this25._popper.destroy();
- }
- if (callback) {
- callback();
- }
- };
+ $.fn[NAME] = Popover._jQueryInterface;
+ $.fn[NAME].Constructor = Popover;
- $(this.element).trigger(hideEvent);
+ $.fn[NAME].noConflict = function () {
+ $.fn[NAME] = JQUERY_NO_CONFLICT;
+ return Popover._jQueryInterface;
+ };
- if (hideEvent.isDefaultPrevented()) {
- return;
- }
+ return Popover;
+}($);
- $(tip).removeClass(ClassName.SHOW);
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-beta.2): scrollspy.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
- // if this is a touch-enabled device we remove the extra
- // empty mouseover listeners we added for iOS support
- if ('ontouchstart' in document.documentElement) {
- $('body').children().off('mouseover', null, $.noop);
- }
+var ScrollSpy = function () {
+ /**
+ * ------------------------------------------------------------------------
+ * Constants
+ * ------------------------------------------------------------------------
+ */
+ var NAME = 'scrollspy';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.scrollspy';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var Default = {
+ offset: 10,
+ method: 'auto',
+ target: ''
+ };
+ var DefaultType = {
+ offset: 'number',
+ method: 'string',
+ target: '(string|element)'
+ };
+ var Event = {
+ ACTIVATE: "activate" + EVENT_KEY,
+ SCROLL: "scroll" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY
+ };
+ var ClassName = {
+ DROPDOWN_ITEM: 'dropdown-item',
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active'
+ };
+ var Selector = {
+ DATA_SPY: '[data-spy="scroll"]',
+ ACTIVE: '.active',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ NAV_LINKS: '.nav-link',
+ NAV_ITEMS: '.nav-item',
+ LIST_ITEMS: '.list-group-item',
+ DROPDOWN: '.dropdown',
+ DROPDOWN_ITEMS: '.dropdown-item',
+ DROPDOWN_TOGGLE: '.dropdown-toggle'
+ };
+ var OffsetMethod = {
+ OFFSET: 'offset',
+ POSITION: 'position'
+ /**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
- this._activeTrigger[Trigger.CLICK] = false;
- this._activeTrigger[Trigger.FOCUS] = false;
- this._activeTrigger[Trigger.HOVER] = false;
+ };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ var ScrollSpy =
+ /*#__PURE__*/
+ function () {
+ function ScrollSpy(element, config) {
+ var _this = this;
- $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
- }
+ this._element = element;
+ this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
+ this._targets = [];
+ this._activeTarget = null;
+ this._scrollHeight = 0;
+ $(this._scrollElement).on(Event.SCROLL, function (event) {
+ return _this._process(event);
+ });
+ this.refresh();
- this._hoverState = '';
- };
+ this._process();
+ } // getters
- Tooltip.prototype.update = function update() {
- if (this._popper !== null) {
- this._popper.scheduleUpdate();
- }
- };
- // protected
+ var _proto = ScrollSpy.prototype;
- Tooltip.prototype.isWithContent = function isWithContent() {
- return Boolean(this.getTitle());
- };
+ // public
+ _proto.refresh = function refresh() {
+ var _this2 = this;
- Tooltip.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
+ var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ this._offsets = [];
+ this._targets = [];
+ this._scrollHeight = this._getScrollHeight();
+ var targets = $.makeArray($(this._selector));
+ targets.map(function (element) {
+ var target;
+ var targetSelector = Util.getSelectorFromElement(element);
- Tooltip.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ if (targetSelector) {
+ target = $(targetSelector)[0];
+ }
- Tooltip.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
- this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (target) {
+ var targetBCR = target.getBoundingClientRect();
- Tooltip.prototype.setElementContent = function setElementContent($element, content) {
- var html = this.config.html;
- if ((typeof content === 'undefined' ? 'undefined' : _typeof(content)) === 'object' && (content.nodeType || content.jquery)) {
- // content is a DOM node or a jQuery
- if (html) {
- if (!$(content).parent().is($element)) {
- $element.empty().append(content);
+ if (targetBCR.width || targetBCR.height) {
+ // todo (fat): remove sketch reliance on jQuery position/offset
+ return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
}
- } else {
- $element.text($(content).text());
}
- } else {
- $element[html ? 'html' : 'text'](content);
- }
- };
-
- Tooltip.prototype.getTitle = function getTitle() {
- var title = this.element.getAttribute('data-original-title');
- if (!title) {
- title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
- }
+ return null;
+ }).filter(function (item) {
+ return item;
+ }).sort(function (a, b) {
+ return a[0] - b[0];
+ }).forEach(function (item) {
+ _this2._offsets.push(item[0]);
- return title;
+ _this2._targets.push(item[1]);
+ });
};
- // private
-
- Tooltip.prototype._getAttachment = function _getAttachment(placement) {
- return AttachmentMap[placement.toUpperCase()];
- };
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ $(this._scrollElement).off(EVENT_KEY);
+ this._element = null;
+ this._scrollElement = null;
+ this._config = null;
+ this._selector = null;
+ this._offsets = null;
+ this._targets = null;
+ this._activeTarget = null;
+ this._scrollHeight = null;
+ }; // private
- Tooltip.prototype._setListeners = function _setListeners() {
- var _this26 = this;
- var triggers = this.config.trigger.split(' ');
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, Default, config);
- triggers.forEach(function (trigger) {
- if (trigger === 'click') {
- $(_this26.element).on(_this26.constructor.Event.CLICK, _this26.config.selector, function (event) {
- return _this26.toggle(event);
- });
- } else if (trigger !== Trigger.MANUAL) {
- var eventIn = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSEENTER : _this26.constructor.Event.FOCUSIN;
- var eventOut = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSELEAVE : _this26.constructor.Event.FOCUSOUT;
+ if (typeof config.target !== 'string') {
+ var id = $(config.target).attr('id');
- $(_this26.element).on(eventIn, _this26.config.selector, function (event) {
- return _this26._enter(event);
- }).on(eventOut, _this26.config.selector, function (event) {
- return _this26._leave(event);
- });
+ if (!id) {
+ id = Util.getUID(NAME);
+ $(config.target).attr('id', id);
}
- $(_this26.element).closest('.modal').on('hide.bs.modal', function () {
- return _this26.hide();
- });
- });
-
- if (this.config.selector) {
- this.config = $.extend({}, this.config, {
- trigger: 'manual',
- selector: ''
- });
- } else {
- this._fixTitle();
+ config.target = "#" + id;
}
- };
- Tooltip.prototype._fixTitle = function _fixTitle() {
- var titleType = _typeof(this.element.getAttribute('data-original-title'));
- if (this.element.getAttribute('title') || titleType !== 'string') {
- this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
- this.element.setAttribute('title', '');
- }
+ Util.typeCheckConfig(NAME, config, DefaultType);
+ return config;
};
- Tooltip.prototype._enter = function _enter(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
+ _proto._getScrollTop = function _getScrollTop() {
+ return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ };
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ _proto._getScrollHeight = function _getScrollHeight() {
+ return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
+ };
- if (event) {
- context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
- }
+ _proto._getOffsetHeight = function _getOffsetHeight() {
+ return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
+ };
- if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
- context._hoverState = HoverState.SHOW;
- return;
- }
+ _proto._process = function _process() {
+ var scrollTop = this._getScrollTop() + this._config.offset;
- clearTimeout(context._timeout);
+ var scrollHeight = this._getScrollHeight();
- context._hoverState = HoverState.SHOW;
+ var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
- if (!context.config.delay || !context.config.delay.show) {
- context.show();
- return;
+ if (this._scrollHeight !== scrollHeight) {
+ this.refresh();
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.SHOW) {
- context.show();
- }
- }, context.config.delay.show);
- };
-
- Tooltip.prototype._leave = function _leave(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
-
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ if (scrollTop >= maxScroll) {
+ var target = this._targets[this._targets.length - 1];
- if (event) {
- context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
- }
+ if (this._activeTarget !== target) {
+ this._activate(target);
+ }
- if (context._isWithActiveTrigger()) {
return;
}
- clearTimeout(context._timeout);
+ if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
+ this._activeTarget = null;
- context._hoverState = HoverState.OUT;
+ this._clear();
- if (!context.config.delay || !context.config.delay.hide) {
- context.hide();
return;
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.OUT) {
- context.hide();
- }
- }, context.config.delay.hide);
- };
+ for (var i = this._offsets.length; i--;) {
+ var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]);
- Tooltip.prototype._isWithActiveTrigger = function _isWithActiveTrigger() {
- for (var trigger in this._activeTrigger) {
- if (this._activeTrigger[trigger]) {
- return true;
+ if (isActiveTarget) {
+ this._activate(this._targets[i]);
}
}
-
- return false;
};
- Tooltip.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
-
- if (config.delay && typeof config.delay === 'number') {
- config.delay = {
- show: config.delay,
- hide: config.delay
- };
- }
-
- if (config.title && typeof config.title === 'number') {
- config.title = config.title.toString();
- }
+ _proto._activate = function _activate(target) {
+ this._activeTarget = target;
- if (config.content && typeof config.content === 'number') {
- config.content = config.content.toString();
- }
+ this._clear();
- Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ var queries = this._selector.split(','); // eslint-disable-next-line arrow-body-style
- return config;
- };
- Tooltip.prototype._getDelegateConfig = function _getDelegateConfig() {
- var config = {};
+ queries = queries.map(function (selector) {
+ return selector + "[data-target=\"" + target + "\"]," + (selector + "[href=\"" + target + "\"]");
+ });
+ var $link = $(queries.join(','));
- if (this.config) {
- for (var key in this.config) {
- if (this.constructor.Default[key] !== this.config[key]) {
- config[key] = this.config[key];
- }
- }
- }
+ if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
+ $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
+ $link.addClass(ClassName.ACTIVE);
+ } else {
+ // Set triggered link as active
+ $link.addClass(ClassName.ACTIVE); // Set triggered links parents as active
+ // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- return config;
- };
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ", " + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); // Handle special case when .nav-link is inside .nav-item
- Tooltip.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_ITEMS).children(Selector.NAV_LINKS).addClass(ClassName.ACTIVE);
}
- };
- Tooltip.prototype._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
- this._cleanTipClass();
- this.addAttachmentClass(this._getAttachment(data.placement));
+ $(this._scrollElement).trigger(Event.ACTIVATE, {
+ relatedTarget: target
+ });
};
- Tooltip.prototype._fixTransition = function _fixTransition() {
- var tip = this.getTipElement();
- var initConfigAnimation = this.config.animation;
- if (tip.getAttribute('x-placement') !== null) {
- return;
- }
- $(tip).removeClass(ClassName.FADE);
- this.config.animation = false;
- this.hide();
- this.show();
- this.config.animation = initConfigAnimation;
- };
+ _proto._clear = function _clear() {
+ $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
+ }; // static
- // static
- Tooltip._jQueryInterface = function _jQueryInterface(config) {
+ ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
- if (!data && /dispose|hide/.test(config)) {
- return;
- }
+ var _config = typeof config === 'object' && config;
if (!data) {
- data = new Tooltip(this, _config);
+ data = new ScrollSpy(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tooltip, null, [{
- key: 'VERSION',
+ createClass(ScrollSpy, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
-
- return Tooltip;
+ return ScrollSpy;
}();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
+
+
+ $(window).on(Event.LOAD_DATA_API, function () {
+ var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+
+ for (var i = scrollSpys.length; i--;) {
+ var $spy = $(scrollSpys[i]);
+ ScrollSpy._jQueryInterface.call($spy, $spy.data());
+ }
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tooltip._jQueryInterface;
- $.fn[NAME].Constructor = Tooltip;
+ $.fn[NAME] = ScrollSpy._jQueryInterface;
+ $.fn[NAME].Constructor = ScrollSpy;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tooltip._jQueryInterface;
+ return ScrollSpy._jQueryInterface;
};
- return Tooltip;
-}(jQuery);
+ return ScrollSpy;
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): popover.js
+ * Bootstrap (v4.0.0-beta.2): tab.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Popover = function ($) {
-
+var Tab = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'popover';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.popover';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'tab';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tab';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var CLASS_PREFIX = 'bs-popover';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var Default = $.extend({}, Tooltip.Default, {
- placement: 'right',
- trigger: 'click',
- content: '',
- template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
- });
-
- var DefaultType = $.extend({}, Tooltip.DefaultType, {
- content: '(string|element|function)'
- });
-
+ var TRANSITION_DURATION = 150;
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
+ };
var ClassName = {
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active',
+ DISABLED: 'disabled',
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TITLE: '.popover-header',
- CONTENT: '.popover-body'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
-
+ DROPDOWN: '.dropdown',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ ACTIVE: '.active',
+ ACTIVE_UL: '> li > .active',
+ DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
+ DROPDOWN_TOGGLE: '.dropdown-toggle',
+ DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3695,137 +3602,249 @@ var Popover = function ($) {
*/
};
- var Popover = function (_Tooltip) {
- _inherits(Popover, _Tooltip);
- function Popover() {
- _classCallCheck(this, Popover);
+ var Tab =
+ /*#__PURE__*/
+ function () {
+ function Tab(element) {
+ this._element = element;
+ } // getters
- return _possibleConstructorReturn(this, _Tooltip.apply(this, arguments));
- }
- // overrides
+ var _proto = Tab.prototype;
- Popover.prototype.isWithContent = function isWithContent() {
- return this.getTitle() || this._getContent();
- };
+ // public
+ _proto.show = function show() {
+ var _this = this;
- Popover.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
+ return;
+ }
- Popover.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ var target;
+ var previous;
+ var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
+ var selector = Util.getSelectorFromElement(this._element);
- Popover.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
+ if (listElement) {
+ var itemSelector = listElement.nodeName === 'UL' ? Selector.ACTIVE_UL : Selector.ACTIVE;
+ previous = $.makeArray($(listElement).find(itemSelector));
+ previous = previous[previous.length - 1];
+ }
- // we use append for html objects to maintain js events
- this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
- this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ var hideEvent = $.Event(Event.HIDE, {
+ relatedTarget: this._element
+ });
+ var showEvent = $.Event(Event.SHOW, {
+ relatedTarget: previous
+ });
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (previous) {
+ $(previous).trigger(hideEvent);
+ }
- // private
+ $(this._element).trigger(showEvent);
- Popover.prototype._getContent = function _getContent() {
- return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
+ if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ return;
+ }
+
+ if (selector) {
+ target = $(selector)[0];
+ }
+
+ this._activate(this._element, listElement);
+
+ var complete = function complete() {
+ var hiddenEvent = $.Event(Event.HIDDEN, {
+ relatedTarget: _this._element
+ });
+ var shownEvent = $.Event(Event.SHOWN, {
+ relatedTarget: previous
+ });
+ $(previous).trigger(hiddenEvent);
+ $(_this._element).trigger(shownEvent);
+ };
+
+ if (target) {
+ this._activate(target, target.parentNode, complete);
+ } else {
+ complete();
+ }
};
- Popover.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ this._element = null;
+ }; // private
+
+
+ _proto._activate = function _activate(element, container, callback) {
+ var _this2 = this;
+
+ var activeElements;
+
+ if (container.nodeName === 'UL') {
+ activeElements = $(container).find(Selector.ACTIVE_UL);
+ } else {
+ activeElements = $(container).children(Selector.ACTIVE);
+ }
+
+ var active = activeElements[0];
+ var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+
+ var complete = function complete() {
+ return _this2._transitionComplete(element, active, isTransitioning, callback);
+ };
+
+ if (active && isTransitioning) {
+ $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+
+ if (active) {
+ $(active).removeClass(ClassName.SHOW);
}
};
- // static
+ _proto._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
+ if (active) {
+ $(active).removeClass(ClassName.ACTIVE);
+ var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
- Popover._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+ if (dropdownChild) {
+ $(dropdownChild).removeClass(ClassName.ACTIVE);
+ }
- if (!data && /destroy|hide/.test(config)) {
- return;
+ if (active.getAttribute('role') === 'tab') {
+ active.setAttribute('aria-selected', false);
+ }
+ }
+
+ $(element).addClass(ClassName.ACTIVE);
+
+ if (element.getAttribute('role') === 'tab') {
+ element.setAttribute('aria-selected', true);
+ }
+
+ if (isTransitioning) {
+ Util.reflow(element);
+ $(element).addClass(ClassName.SHOW);
+ } else {
+ $(element).removeClass(ClassName.FADE);
+ }
+
+ if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
+
+ if (dropdownElement) {
+ $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
}
+ element.setAttribute('aria-expanded', true);
+ }
+
+ if (callback) {
+ callback();
+ }
+ }; // static
+
+
+ Tab._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var $this = $(this);
+ var data = $this.data(DATA_KEY);
+
if (!data) {
- data = new Popover(this, _config);
- $(this).data(DATA_KEY, data);
+ data = new Tab(this);
+ $this.data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Popover, null, [{
- key: 'VERSION',
-
-
- // getters
-
+ createClass(Tab, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }, {
- key: 'Default',
- get: function get() {
- return Default;
- }
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
+ return Tab;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
- return Popover;
- }(Tooltip);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+ event.preventDefault();
+
+ Tab._jQueryInterface.call($(this), 'show');
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Popover._jQueryInterface;
- $.fn[NAME].Constructor = Popover;
+ $.fn[NAME] = Tab._jQueryInterface;
+ $.fn[NAME].Constructor = Tab;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Popover._jQueryInterface;
+ return Tab._jQueryInterface;
};
- return Popover;
-}(jQuery);
+ return Tab;
+}($);
+
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-alpha.6): index.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
+(function () {
+ if (typeof $ === 'undefined') {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');
+ }
-})();
\ No newline at end of file
+ var version = $.fn.jquery.split(' ')[0].split('.');
+ var minMajor = 1;
+ var ltMajor = 2;
+ var minMinor = 9;
+ var minPatch = 1;
+ var maxMajor = 4;
+
+ 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 v1.9.1 but less than v4.0.0');
+ }
+})($);
+
+exports.Util = Util;
+exports.Alert = Alert;
+exports.Button = Button;
+exports.Carousel = Carousel;
+exports.Collapse = Collapse;
+exports.Dropdown = Dropdown;
+exports.Modal = Modal;
+exports.Popover = Popover;
+exports.Scrollspy = ScrollSpy;
+exports.Tab = Tab;
+exports.Tooltip = Tooltip;
+
+return exports;
+
+}({},$,Popper));
+//# sourceMappingURL=bootstrap.js.map
diff --git a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/js/bootstrap.min.js b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/js/bootstrap.min.js
index e187476..27aace3 100644
--- a/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/js/bootstrap.min.js
+++ b/tobago-theme/tobago-theme-richmond/src/main/resources/META-INF/resources/tobago/richmond/tobago-bootstrap/_version/js/bootstrap.min.js
@@ -1,6 +1,7 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(t){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function t(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object [...]
\ No newline at end of file
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap=function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){function t(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(){return{bindType:r.end,delegateType:r.end,handle:function(t){if(e(t.target).is(this) [...]
+//# sourceMappingURL=bootstrap.min.js.map
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-scarborough/rebuild-theme.log b/tobago-theme/tobago-theme-scarborough/rebuild-theme.log
index e75391a..0f6d52e 100644
--- a/tobago-theme/tobago-theme-scarborough/rebuild-theme.log
+++ b/tobago-theme/tobago-theme-scarborough/rebuild-theme.log
@@ -1,4 +1,4 @@
-Build date: 2017-10-12 18:01:49
+Build date: 2017-10-20 13:35:49
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
@@ -11,20 +11,20 @@ Build date: 2017-10-12 18:01:49
[INFO]
[INFO] --- maven-scm-plugin:1.9.5:checkout (step #1: checkout-bootstrap) @ tobago-theme-scarborough ---
[INFO] Removing __CURRENT__/tobago-theme-scarborough/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-scarborough/target && git clone --branch v4.0.0-beta https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-scarborough/target/checkout
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-scarborough/target && git clone --branch v4.0.0-beta.2 https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-scarborough/target/checkout
[INFO] Working directory: __CURRENT__/tobago-theme-scarborough/target
[INFO] Executing: /bin/sh -c cd /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/ && git ls-remote https://github.com/twbs/bootstrap
[INFO] Working directory: /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-scarborough/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta:v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-scarborough/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta.2:v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-scarborough/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-scarborough/target/checkout && git checkout v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-scarborough/target/checkout && git checkout v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-scarborough/target/checkout
[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-scarborough/target/checkout && git ls-files
[INFO] Working directory: __CURRENT__/tobago-theme-scarborough/target/checkout
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #2: copy-bootstrap) @ tobago-theme-scarborough ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 392 resources
+[INFO] Copying 425 resources
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #3: copy-custom) @ tobago-theme-scarborough ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
@@ -38,30 +38,27 @@ Build date: 2017-10-12 18:01:49
[INFO] Unpacking __REPO__/org/apache/myfaces/tobago/tobago-core/4.0.0-SNAPSHOT/tobago-core-4.0.0-SNAPSHOT.jar to __CURRENT__/tobago-theme-scarborough/target/bootstrap with includes "**/*.scss" and excludes ""
[INFO]
[INFO] --- frontend-maven-plugin:1.4:install-node-and-npm (step #6: install node and npm) @ tobago-theme-scarborough ---
-[INFO] Installing node version v6.10.2
-[INFO] Unpacking __REPO__/com/github/eirslett/node/6.10.2/node-6.10.2-darwin-x64.tar.gz into __CURRENT__/tobago-theme-scarborough/target/frontend/node/tmp
-[INFO] Copying node binary from __CURRENT__/tobago-theme-scarborough/target/frontend/node/tmp/node-v6.10.2-darwin-x64/bin/node to __CURRENT__/tobago-theme-scarborough/target/frontend/node/node
+[INFO] Installing node version v7.10.1
+[INFO] Unpacking __REPO__/com/github/eirslett/node/7.10.1/node-7.10.1-darwin-x64.tar.gz into __CURRENT__/tobago-theme-scarborough/target/frontend/node/tmp
+[INFO] Copying node binary from __CURRENT__/tobago-theme-scarborough/target/frontend/node/tmp/node-v7.10.1-darwin-x64/bin/node to __CURRENT__/tobago-theme-scarborough/target/frontend/node/node
[INFO] Installed node locally.
-[INFO] Installing npm version 3.10.10
-[INFO] Unpacking __REPO__/com/github/eirslett/npm/3.10.10/npm-3.10.10.tar.gz into __CURRENT__/tobago-theme-scarborough/target/frontend/node/node_modules
+[INFO] Installing npm version 4.2.0
+[INFO] Unpacking __REPO__/com/github/eirslett/npm/4.2.0/npm-4.2.0.tar.gz into __CURRENT__/tobago-theme-scarborough/target/frontend/node/node_modules
[INFO] Installed npm locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #7: npm install) @ tobago-theme-scarborough ---
[INFO] Running 'npm install' in __CURRENT__/tobago-theme-scarborough/target/bootstrap
-[WARNING] npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
-[WARNING] npm WARN prefer global coffee-script@1.10.0 should be installed with -g
[WARNING] npm WARN prefer global node-gyp@3.6.2 should be installed with -g
[INFO]
[INFO] > fsevents@1.1.2 install __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/fsevents
[INFO] > node install
[INFO]
-[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
-[INFO] Pass --update-binary to reinstall or --build-from-source to recompile
+[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node" is installed via remote
[INFO]
[INFO] > node-sass@4.5.3 install __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/install.js
[INFO]
-[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-48_binding.node
+[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-51_binding.node
[INFO]
[INFO] > phantomjs-prebuilt@2.1.15 install __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/phantomjs-prebuilt
[INFO] > node install.js
@@ -71,58 +68,57 @@ Build date: 2017-10-12 18:01:49
[INFO] Verified checksum of previously downloaded file
[INFO] Extracting zip contents
[INFO] Removing __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
-[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1507824189120/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
+[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1508499482564/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
[INFO] Writing location.js file
[INFO] Done. Phantomjs binary available at __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
[INFO]
[INFO] > node-sass@4.5.3 postinstall __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/build.js
[INFO]
-[INFO] Binary found at __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-48/binding.node
+[INFO] Binary found at __CURRENT__/tobago-theme-scarborough/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-51/binding.node
[INFO] Testing binary
[INFO] Binary is fine
-[INFO] bootstrap@4.0.0-beta __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] bootstrap@4.0.0-beta.2 __CURRENT__/tobago-theme-scarborough/target/bootstrap
[INFO] ├─┬ autoprefixer@7.1.5
[INFO] │ ├─┬ browserslist@2.5.1
-[INFO] │ │ └── electron-to-chromium@1.3.26
-[INFO] │ ├── caniuse-lite@1.0.30000746
+[INFO] │ │ └── electron-to-chromium@1.3.27
+[INFO] │ ├── caniuse-lite@1.0.30000748
[INFO] │ ├── normalize-range@0.1.2
[INFO] │ ├── num2fraction@1.2.2
[INFO] │ ├─┬ postcss@6.0.13
-[INFO] │ │ ├── source-map@0.6.1
-[INFO] │ │ └─┬ supports-color@4.4.0
+[INFO] │ │ └─┬ supports-color@4.5.0
[INFO] │ │ └── has-flag@2.0.0
[INFO] │ └── postcss-value-parser@3.3.0
-[INFO] ├─┬ babel-cli@6.26.0
-[INFO] │ ├─┬ babel-core@6.26.0
-[INFO] │ │ ├─┬ babel-generator@6.26.0
-[INFO] │ │ │ ├─┬ detect-indent@4.0.0
-[INFO] │ │ │ │ └─┬ repeating@2.0.1
-[INFO] │ │ │ │ └── is-finite@1.0.2
-[INFO] │ │ │ ├── jsesc@1.3.0
+[INFO] ├─┬ babel-cli@7.0.0-beta.2
+[INFO] │ ├─┬ babel-core@7.0.0-beta.2
+[INFO] │ │ ├── babel-code-frame@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-generator@7.0.0-beta.2
+[INFO] │ │ │ ├── jsesc@2.5.1
[INFO] │ │ │ ├── source-map@0.5.7
[INFO] │ │ │ └── trim-right@1.0.1
-[INFO] │ │ ├── babel-helpers@6.24.1
-[INFO] │ │ ├── babel-messages@6.23.0
-[INFO] │ │ ├── babel-template@6.26.0
+[INFO] │ │ ├── babel-helpers@7.0.0-beta.2
+[INFO] │ │ ├── babel-messages@7.0.0-beta.2
+[INFO] │ │ ├── babel-template@7.0.0-beta.2
+[INFO] │ │ ├── babel-traverse@7.0.0-beta.2
+[INFO] │ │ ├── babel-types@7.0.0-beta.2
+[INFO] │ │ ├── babylon@7.0.0-beta.25
[INFO] │ │ ├── json5@0.5.1
-[INFO] │ │ ├── private@0.1.7
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-polyfill@6.26.0
+[INFO] │ ├─┬ babel-polyfill@7.0.0-beta.2
[INFO] │ │ ├── core-js@2.5.1
-[INFO] │ │ └── regenerator-runtime@0.10.5
-[INFO] │ ├─┬ babel-register@6.26.0
-[INFO] │ │ ├─┬ home-or-tmp@2.0.0
-[INFO] │ │ │ ├── os-homedir@1.0.2
-[INFO] │ │ │ └── os-tmpdir@1.0.2
+[INFO] │ │ └── regenerator-runtime@0.11.0
+[INFO] │ ├─┬ babel-register@7.0.0-beta.2
+[INFO] │ │ ├─┬ find-cache-dir@1.0.0
+[INFO] │ │ │ ├── commondir@1.0.1
+[INFO] │ │ │ ├── make-dir@1.0.0
+[INFO] │ │ │ └── pkg-dir@2.0.0
+[INFO] │ │ ├── home-or-tmp@3.0.0
+[INFO] │ │ ├─┬ pirates@3.0.1
+[INFO] │ │ │ └── node-modules-regexp@1.0.0
[INFO] │ │ └─┬ source-map-support@0.4.18
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-runtime@6.26.0
-[INFO] │ │ └── regenerator-runtime@0.11.0
[INFO] │ ├─┬ chokidar@1.7.0
-[INFO] │ │ ├─┬ anymatch@1.3.2
-[INFO] │ │ │ └─┬ normalize-path@2.1.1
-[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├── anymatch@1.3.2
[INFO] │ │ ├── async-each@1.0.1
[INFO] │ │ ├─┬ fsevents@1.1.2
[INFO] │ │ │ └─┬ node-pre-gyp@0.6.36
@@ -242,8 +238,8 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ ├── inherits@2.0.3
[INFO] │ │ ├─┬ is-binary-path@1.0.1
[INFO] │ │ │ └── binary-extensions@1.10.0
-[INFO] │ │ ├─┬ is-glob@2.0.1
-[INFO] │ │ │ └── is-extglob@1.0.0
+[INFO] │ │ ├── is-glob@2.0.1
+[INFO] │ │ ├── path-is-absolute@1.0.1
[INFO] │ │ └─┬ readdirp@2.1.0
[INFO] │ │ └── set-immediate-shim@1.0.1
[INFO] │ ├── commander@2.11.0
@@ -255,76 +251,155 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ │ └── wrappy@1.0.2
[INFO] │ │ └── once@1.4.0
[INFO] │ ├── lodash@4.17.4
-[INFO] │ ├─┬ output-file-sync@1.1.2
+[INFO] │ ├─┬ output-file-sync@2.0.0
[INFO] │ │ ├── graceful-fs@4.1.11
-[INFO] │ │ └── object-assign@4.1.1
-[INFO] │ ├── path-is-absolute@1.0.1
+[INFO] │ │ └── is-plain-obj@1.1.0
[INFO] │ ├── slash@1.0.0
-[INFO] │ ├── source-map@0.5.7
-[INFO] │ └─┬ v8flags@2.1.1
-[INFO] │ └── user-home@1.1.1
-[INFO] ├─┬ babel-eslint@7.2.3
-[INFO] │ ├─┬ babel-code-frame@6.26.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ └── source-map@0.5.7
+[INFO] ├─┬ babel-eslint@8.0.1
+[INFO] │ ├─┬ babel-code-frame@7.0.0-beta.0
[INFO] │ │ └── js-tokens@3.0.2
-[INFO] │ ├─┬ babel-traverse@6.26.0
-[INFO] │ │ └─┬ invariant@2.2.2
-[INFO] │ │ └── loose-envify@1.3.1
-[INFO] │ ├─┬ babel-types@6.26.0
-[INFO] │ │ └── to-fast-properties@1.0.3
-[INFO] │ └── babylon@6.18.0
+[INFO] │ ├─┬ babel-traverse@7.0.0-beta.0
+[INFO] │ │ ├─┬ babel-helper-function-name@7.0.0-beta.0
+[INFO] │ │ │ ├── babel-helper-get-function-arity@7.0.0-beta.0
+[INFO] │ │ │ └── babel-template@7.0.0-beta.0
+[INFO] │ │ ├── babel-messages@7.0.0-beta.0
+[INFO] │ │ └── globals@10.1.0
+[INFO] │ ├─┬ babel-types@7.0.0-beta.0
+[INFO] │ │ └── to-fast-properties@2.0.0
+[INFO] │ └── babylon@7.0.0-beta.22
+[INFO] ├── babel-plugin-external-helpers@7.0.0-beta.2
[INFO] ├── babel-plugin-transform-es2015-modules-strip@0.1.1
-[INFO] ├─┬ babel-preset-es2015@6.24.1
-[INFO] │ ├── babel-plugin-check-es2015-constants@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@6.26.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@6.24.1
-[INFO] │ │ ├── babel-helper-define-map@6.26.0
-[INFO] │ │ ├── babel-helper-function-name@6.24.1
-[INFO] │ │ ├── babel-helper-optimise-call-expression@6.24.1
-[INFO] │ │ └── babel-helper-replace-supers@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-destructuring@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-for-of@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-function-name@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-modules-amd@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-commonjs@6.26.0
-[INFO] │ │ └── babel-plugin-transform-strict-mode@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@6.24.1
-[INFO] │ │ └── babel-helper-hoist-variables@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-object-super@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@6.24.1
-[INFO] │ │ ├── babel-helper-call-delegate@6.24.1
-[INFO] │ │ └── babel-helper-get-function-arity@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-spread@6.22.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.24.1
-[INFO] │ │ └── babel-helper-regex@6.26.0
-[INFO] │ ├── babel-plugin-transform-es2015-template-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@6.23.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.24.1
-[INFO] │ │ └─┬ regexpu-core@2.0.0
+[INFO] ├─┬ babel-preset-env@2.0.0-beta.2
+[INFO] │ ├── babel-plugin-check-es2015-constants@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-syntax-async-generators@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-object-rest-spread@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
+[INFO] │ ├─┬ babel-plugin-transform-async-generator-functions@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-remap-async-to-generator@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-wrap-function@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-generators@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-async-to-generator@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-functions@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-annotate-as-pure@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-define-map@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-function-name@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-optimise-call-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-replace-supers@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-destructuring@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-for-of@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-function-name@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-literals@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-amd@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-module-transforms@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-commonjs@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-hoist-variables@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-object-super@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-call-delegate@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-get-function-arity@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-regex@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-template-literals@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@7.0.0-beta.2
+[INFO] │ │ └─┬ regexpu-core@4.1.3
[INFO] │ │ ├── regenerate@1.3.3
-[INFO] │ │ ├── regjsgen@0.2.0
-[INFO] │ │ └─┬ regjsparser@0.1.5
-[INFO] │ │ └── jsesc@0.5.0
-[INFO] │ └─┬ babel-plugin-transform-regenerator@6.26.0
-[INFO] │ └── regenerator-transform@0.10.1
+[INFO] │ │ ├── regenerate-unicode-properties@5.1.1
+[INFO] │ │ ├── regjsgen@0.3.0
+[INFO] │ │ ├─┬ regjsparser@0.2.1
+[INFO] │ │ │ └── jsesc@0.5.0
+[INFO] │ │ ├─┬ unicode-match-property-ecmascript@1.0.3
+[INFO] │ │ │ ├── unicode-canonical-property-names-ecmascript@1.0.2
+[INFO] │ │ │ └── unicode-property-aliases-ecmascript@1.0.3
+[INFO] │ │ └── unicode-match-property-value-ecmascript@1.0.1
+[INFO] │ ├─┬ babel-plugin-transform-exponentiation-operator@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-builder-binary-assignment-operator-visitor@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-explode-assignable-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-exponentiation-operator@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-new-target@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-object-rest-spread@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-object-rest-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-optional-catch-binding@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-regenerator@7.0.0-beta.2
+[INFO] │ │ └─┬ regenerator-transform@0.10.0
+[INFO] │ │ ├─┬ babel-types@6.26.0
+[INFO] │ │ │ └── to-fast-properties@1.0.3
+[INFO] │ │ └── private@0.1.8
+[INFO] │ ├─┬ babel-plugin-transform-unicode-property-regex@2.0.5
+[INFO] │ │ └─┬ babel-helper-regex@6.26.0
+[INFO] │ │ └─┬ babel-types@6.26.0
+[INFO] │ │ └── to-fast-properties@1.0.3
+[INFO] │ ├─┬ invariant@2.2.2
+[INFO] │ │ └── loose-envify@1.3.1
+[INFO] │ └── semver@5.4.1
+[INFO] ├─┬ bundlesize@0.15.3
+[INFO] │ ├─┬ axios@0.16.2
+[INFO] │ │ ├─┬ follow-redirects@1.2.5
+[INFO] │ │ │ └── debug@2.6.9
+[INFO] │ │ └── is-buffer@1.1.5
+[INFO] │ ├── bytes@3.0.0
+[INFO] │ ├── ci-env@1.4.0
+[INFO] │ ├─┬ github-build@1.2.0
+[INFO] │ │ └─┬ axios@0.15.3
+[INFO] │ │ └─┬ follow-redirects@1.0.0
+[INFO] │ │ └── debug@2.6.9
+[INFO] │ ├─┬ gzip-size@4.0.0
+[INFO] │ │ ├── duplexer@0.1.1
+[INFO] │ │ └── pify@3.0.0
+[INFO] │ ├─┬ opencollective@1.0.3
+[INFO] │ │ ├─┬ babel-polyfill@6.23.0
+[INFO] │ │ │ └── regenerator-runtime@0.10.5
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── minimist@1.2.0
+[INFO] │ │ ├─┬ node-fetch@1.6.3
+[INFO] │ │ │ └── encoding@0.1.12
+[INFO] │ │ └── opn@4.0.2
+[INFO] │ ├─┬ prettycli@1.4.3
+[INFO] │ │ └── chalk@2.1.0
+[INFO] │ └─┬ read-pkg-up@2.0.0
+[INFO] │ └─┬ find-up@2.1.0
+[INFO] │ └─┬ locate-path@2.0.0
+[INFO] │ ├─┬ p-locate@2.0.0
+[INFO] │ │ └── p-limit@1.1.0
+[INFO] │ └── path-exists@3.0.0
[INFO] ├─┬ clean-css-cli@4.1.10
[INFO] │ └─┬ clean-css@4.1.9
[INFO] │ └── source-map@0.5.7
-[INFO] ├─┬ eslint@4.8.0
+[INFO] ├─┬ cross-env@5.1.0
+[INFO] │ ├─┬ cross-spawn@5.1.0
+[INFO] │ │ ├─┬ lru-cache@4.1.1
+[INFO] │ │ │ ├── pseudomap@1.0.2
+[INFO] │ │ │ └── yallist@2.1.2
+[INFO] │ │ ├─┬ shebang-command@1.2.0
+[INFO] │ │ │ └── shebang-regex@1.0.0
+[INFO] │ │ └── which@1.3.0
+[INFO] │ └── is-windows@1.0.1
+[INFO] ├─┬ eslint@4.9.0
[INFO] │ ├─┬ ajv@5.2.3
[INFO] │ │ ├── co@4.6.0
[INFO] │ │ ├── fast-deep-equal@1.0.0
[INFO] │ │ └── json-schema-traverse@0.3.1
-[INFO] │ ├─┬ chalk@2.1.0
+[INFO] │ ├─┬ babel-code-frame@6.26.0
+[INFO] │ │ └─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ ├─┬ chalk@2.2.0
[INFO] │ │ └── escape-string-regexp@1.0.5
[INFO] │ ├─┬ concat-stream@1.6.0
[INFO] │ │ ├─┬ readable-stream@2.3.3
@@ -333,13 +408,6 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ │ ├── string_decoder@1.0.3
[INFO] │ │ │ └── util-deprecate@1.0.2
[INFO] │ │ └── typedarray@0.0.6
-[INFO] │ ├─┬ cross-spawn@5.1.0
-[INFO] │ │ ├─┬ lru-cache@4.1.1
-[INFO] │ │ │ ├── pseudomap@1.0.2
-[INFO] │ │ │ └── yallist@2.1.2
-[INFO] │ │ ├─┬ shebang-command@1.2.0
-[INFO] │ │ │ └── shebang-regex@1.0.0
-[INFO] │ │ └── which@1.3.0
[INFO] │ ├─┬ debug@3.1.0
[INFO] │ │ └── ms@2.0.0
[INFO] │ ├─┬ doctrine@2.0.0
@@ -354,39 +422,39 @@ Build date: 2017-10-12 18:01:49
[INFO] │ ├── estraverse@4.2.0
[INFO] │ ├── esutils@2.0.2
[INFO] │ ├─┬ file-entry-cache@2.0.0
-[INFO] │ │ └─┬ flat-cache@1.3.0
-[INFO] │ │ ├── circular-json@0.3.3
-[INFO] │ │ ├─┬ del@2.2.2
-[INFO] │ │ │ ├─┬ globby@5.0.0
-[INFO] │ │ │ │ └── arrify@1.0.1
-[INFO] │ │ │ ├── is-path-cwd@1.0.0
-[INFO] │ │ │ └── is-path-in-cwd@1.0.0
-[INFO] │ │ └── write@0.2.1
+[INFO] │ │ ├─┬ flat-cache@1.3.0
+[INFO] │ │ │ ├── circular-json@0.3.3
+[INFO] │ │ │ ├─┬ del@2.2.2
+[INFO] │ │ │ │ ├─┬ globby@5.0.0
+[INFO] │ │ │ │ │ └── arrify@1.0.1
+[INFO] │ │ │ │ ├── is-path-cwd@1.0.0
+[INFO] │ │ │ │ └── is-path-in-cwd@1.0.0
+[INFO] │ │ │ └── write@0.2.1
+[INFO] │ │ └── object-assign@4.1.1
[INFO] │ ├── functional-red-black-tree@1.0.1
[INFO] │ ├── globals@9.18.0
[INFO] │ ├── ignore@3.3.5
[INFO] │ ├── imurmurhash@0.1.4
-[INFO] │ ├─┬ inquirer@3.3.0
-[INFO] │ │ ├── ansi-escapes@3.0.0
+[INFO] │ ├─┬ inquirer@3.0.6
+[INFO] │ │ ├── ansi-escapes@1.4.0
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
[INFO] │ │ ├─┬ cli-cursor@2.1.0
[INFO] │ │ │ └─┬ restore-cursor@2.0.0
[INFO] │ │ │ └── onetime@2.0.1
[INFO] │ │ ├── cli-width@2.2.0
[INFO] │ │ ├─┬ external-editor@2.0.5
+[INFO] │ │ │ ├── iconv-lite@0.4.19
[INFO] │ │ │ ├── jschardet@1.5.1
[INFO] │ │ │ └── tmp@0.0.33
[INFO] │ │ ├── figures@2.0.0
[INFO] │ │ ├── mute-stream@0.0.7
[INFO] │ │ ├─┬ run-async@2.3.0
[INFO] │ │ │ └── is-promise@2.1.0
-[INFO] │ │ ├── rx-lite@4.0.8
-[INFO] │ │ ├── rx-lite-aggregates@4.0.8
-[INFO] │ │ ├─┬ string-width@2.1.1
-[INFO] │ │ │ ├── is-fullwidth-code-point@2.0.0
-[INFO] │ │ │ └─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
-[INFO] │ │ ├─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
+[INFO] │ │ ├── rx@4.1.0
+[INFO] │ │ ├─┬ strip-ansi@3.0.1
+[INFO] │ │ │ └── ansi-regex@2.1.1
[INFO] │ │ └── through@2.3.8
[INFO] │ ├─┬ is-resolvable@1.0.0
[INFO] │ │ └── tryit@1.0.3
@@ -401,10 +469,7 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ └── type-check@0.3.2
[INFO] │ ├─┬ minimatch@3.0.4
[INFO] │ │ └─┬ brace-expansion@1.1.8
-[INFO] │ │ ├── balanced-match@1.0.0
[INFO] │ │ └── concat-map@0.0.1
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of jquery@>=1.9.1 but none was installed.
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of popper.js@^1.11.0 but none was installed.
[INFO] │ ├─┬ mkdirp@0.5.1
[INFO] │ │ └── minimist@0.0.8
[INFO] │ ├── natural-compare@1.4.0
@@ -419,7 +484,6 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ ├─┬ caller-path@0.1.0
[INFO] │ │ │ └── callsites@0.2.0
[INFO] │ │ └── resolve-from@1.0.1
-[INFO] │ ├── semver@5.4.1
[INFO] │ ├─┬ strip-ansi@4.0.0
[INFO] │ │ └── ansi-regex@3.0.0
[INFO] │ ├── strip-json-comments@2.0.1
@@ -427,63 +491,15 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ ├── ajv-keywords@2.1.0
[INFO] │ │ └── slice-ansi@1.0.0
[INFO] │ └── text-table@0.2.0
-[INFO] ├─┬ grunt@1.0.1
-[INFO] │ ├── coffee-script@1.10.0
-[INFO] │ ├── dateformat@1.0.12
-[INFO] │ ├── eventemitter2@0.4.14
-[INFO] │ ├── exit@0.1.2
-[INFO] │ ├─┬ findup-sync@0.3.0
-[INFO] │ │ └── glob@5.0.15
-[INFO] │ ├── glob@7.0.6
-[INFO] │ ├── grunt-known-options@1.1.0
-[INFO] │ ├─┬ grunt-legacy-log@1.0.0
-[INFO] │ │ ├─┬ grunt-legacy-log-utils@1.0.0
-[INFO] │ │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ │ └── supports-color@2.0.0
-[INFO] │ │ │ └── lodash@4.3.0
-[INFO] │ │ ├── hooker@0.2.3
-[INFO] │ │ ├── lodash@3.10.1
-[INFO] │ │ └── underscore.string@3.2.3
-[INFO] │ ├─┬ grunt-legacy-util@1.0.0
-[INFO] │ │ ├── async@1.5.2
-[INFO] │ │ ├── getobject@0.1.0
-[INFO] │ │ ├── lodash@4.3.0
-[INFO] │ │ └── which@1.2.14
-[INFO] │ ├── iconv-lite@0.4.19
-[INFO] │ ├─┬ js-yaml@3.5.5
-[INFO] │ │ └── esprima@2.7.3
-[INFO] │ ├─┬ nopt@3.0.6
-[INFO] │ │ └── abbrev@1.1.1
-[INFO] │ └── rimraf@2.2.8
-[INFO] ├─┬ grunt-cli@1.2.0
-[INFO] │ └── resolve@1.1.7
-[INFO] ├─┬ grunt-saucelabs@9.0.0
-[INFO] │ ├── colors@1.1.2
-[INFO] │ ├── lodash@4.13.1
-[INFO] │ ├── q@1.4.1
-[INFO] │ ├─┬ requestretry@1.9.1
-[INFO] │ │ ├── extend@3.0.1
-[INFO] │ │ ├─┬ fg-lodash@0.0.2
-[INFO] │ │ │ ├── lodash@2.4.2
-[INFO] │ │ │ └── underscore.string@2.3.3
-[INFO] │ │ └── when@3.7.8
-[INFO] │ ├─┬ sauce-tunnel@2.5.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
-[INFO] │ │ └── split@1.0.1
-[INFO] │ └─┬ saucelabs@1.2.0
-[INFO] │ └─┬ https-proxy-agent@1.0.0
-[INFO] │ └─┬ agent-base@2.1.1
-[INFO] │ └── semver@5.0.3
+[INFO] ├─┬ eslint-plugin-compat@2.0.1
+[INFO] │ ├── babel-runtime@6.26.0
+[INFO] │ ├── caniuse-db@1.0.30000748
+[INFO] │ └── requireindex@1.1.0
[INFO] ├─┬ htmllint-cli@0.0.6
[INFO] │ ├── bluebird@3.5.1
[INFO] │ ├─┬ chalk@1.1.3
[INFO] │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ ├─┬ has-ansi@2.0.0
-[INFO] │ │ │ └── ansi-regex@2.1.1
-[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ ├── has-ansi@2.0.0
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ cjson@0.5.0
[INFO] │ │ └─┬ json-parse-helpfulerror@1.0.3
@@ -498,7 +514,7 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ │ └── domelementtype@1.1.3
[INFO] │ │ └── entities@1.1.1
[INFO] │ ├─┬ liftoff@2.3.0
-[INFO] │ │ ├── findup-sync@0.4.3
+[INFO] │ │ ├── extend@3.0.1
[INFO] │ │ ├─┬ fined@1.1.0
[INFO] │ │ │ ├─┬ expand-tilde@2.0.2
[INFO] │ │ │ │ └─┬ homedir-polyfill@1.0.1
@@ -508,16 +524,16 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ │ ├─┬ object.defaults@1.1.0
[INFO] │ │ │ │ ├── array-each@1.0.1
[INFO] │ │ │ │ ├── array-slice@1.0.0
-[INFO] │ │ │ │ ├─┬ for-own@1.0.0
-[INFO] │ │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ │ ├── for-own@1.0.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ ├─┬ object.pick@1.3.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ └─┬ parse-filepath@1.0.1
[INFO] │ │ │ ├─┬ is-absolute@0.2.6
-[INFO] │ │ │ │ └─┬ is-relative@0.2.1
-[INFO] │ │ │ │ └─┬ is-unc-path@0.1.2
-[INFO] │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ ├─┬ is-relative@0.2.1
+[INFO] │ │ │ │ │ └─┬ is-unc-path@0.1.2
+[INFO] │ │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ └── is-windows@0.2.0
[INFO] │ │ │ ├── map-cache@0.2.2
[INFO] │ │ │ └─┬ path-root@0.1.1
[INFO] │ │ │ └── path-root-regex@0.1.2
@@ -557,9 +573,15 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ └── number-is-nan@1.0.1
[INFO] │ ├── which-module@1.0.0
[INFO] │ ├── y18n@3.2.1
-[INFO] │ └─┬ yargs-parser@4.2.1
-[INFO] │ └── camelcase@3.0.0
-[INFO] ├── UNMET PEER DEPENDENCY jquery@>=1.9.1
+[INFO] │ └── yargs-parser@4.2.1
+[INFO] ├── UNMET PEER DEPENDENCY jquery@1.9.1 - 3
+[INFO] ├─┬ jsunitsaucelabs@1.3.0
+[INFO] │ ├── colors@1.1.2
+[INFO] │ └─┬ sauce-tunnel@2.5.0
+[INFO] │ ├─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ └── split@1.0.1
[INFO] ├─┬ node-sass@4.5.3
[INFO] │ ├── async-foreach@0.1.3
[INFO] │ ├─┬ chalk@1.1.3
@@ -584,20 +606,32 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ ├── minimist@1.2.0
[INFO] │ │ ├─┬ normalize-package-data@2.4.0
[INFO] │ │ │ ├── hosted-git-info@2.5.0
-[INFO] │ │ │ ├─┬ is-builtin-module@1.0.0
-[INFO] │ │ │ │ └── builtin-modules@1.1.1
+[INFO] │ │ │ ├── is-builtin-module@1.0.0
[INFO] │ │ │ └─┬ validate-npm-package-license@3.0.1
[INFO] │ │ │ ├─┬ spdx-correct@1.0.2
[INFO] │ │ │ │ └── spdx-license-ids@1.2.2
[INFO] │ │ │ └── spdx-expression-parse@1.0.4
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ redent@1.0.0
-[INFO] │ │ │ ├── indent-string@2.1.0
+[INFO] │ │ │ ├─┬ indent-string@2.1.0
+[INFO] │ │ │ │ └─┬ repeating@2.0.1
+[INFO] │ │ │ │ └── is-finite@1.0.2
[INFO] │ │ │ └── strip-indent@1.0.1
[INFO] │ │ └── trim-newlines@1.0.0
[INFO] │ ├── nan@2.7.0
[INFO] │ ├─┬ node-gyp@3.6.2
[INFO] │ │ ├── fstream@1.0.11
-[INFO] │ │ ├── osenv@0.1.4
+[INFO] │ │ ├─┬ nopt@3.0.6
+[INFO] │ │ │ └── abbrev@1.1.1
+[INFO] │ │ ├─┬ osenv@0.1.4
+[INFO] │ │ │ ├── os-homedir@1.0.2
+[INFO] │ │ │ └── os-tmpdir@1.0.2
[INFO] │ │ ├── rimraf@2.6.2
[INFO] │ │ ├── semver@5.3.0
[INFO] │ │ └─┬ tar@2.2.1
@@ -665,7 +699,13 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ │ └─┬ source-map@0.4.4
[INFO] │ │ │ └── amdefine@1.0.1
[INFO] │ │ └─┬ yargs@7.1.0
-[INFO] │ │ ├── camelcase@3.0.0
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ string-width@1.0.2
[INFO] │ │ │ └── is-fullwidth-code-point@1.0.0
[INFO] │ │ └── yargs-parser@5.0.0
@@ -688,7 +728,6 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ └── lodash.restparam@3.6.1
[INFO] │ ├─┬ ps-tree@1.1.0
[INFO] │ │ └─┬ event-stream@3.3.4
-[INFO] │ │ ├── duplexer@0.1.1
[INFO] │ │ ├── from@0.1.7
[INFO] │ │ ├── map-stream@0.1.0
[INFO] │ │ ├── pause-stream@0.0.11
@@ -698,7 +737,7 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ └── nopt@1.0.10
[INFO] │ ├── undefsafe@0.0.3
[INFO] │ └─┬ update-notifier@2.3.0
-[INFO] │ ├─┬ boxen@1.2.1
+[INFO] │ ├─┬ boxen@1.2.2
[INFO] │ │ ├── ansi-align@2.0.0
[INFO] │ │ ├── camelcase@4.1.0
[INFO] │ │ ├── cli-boxes@1.0.0
@@ -709,7 +748,6 @@ Build date: 2017-10-12 18:01:49
[INFO] │ ├─┬ configstore@3.1.1
[INFO] │ │ ├─┬ dot-prop@4.2.0
[INFO] │ │ │ └── is-obj@1.0.1
-[INFO] │ │ ├── make-dir@1.0.0
[INFO] │ │ ├─┬ unique-string@1.0.0
[INFO] │ │ │ └── crypto-random-string@1.0.0
[INFO] │ │ └── write-file-atomic@2.3.0
@@ -733,7 +771,7 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ │ └─┬ url-parse-lax@1.0.0
[INFO] │ │ │ └── prepend-http@1.0.4
[INFO] │ │ ├─┬ registry-auth-token@3.3.1
-[INFO] │ │ │ └─┬ rc@1.2.1
+[INFO] │ │ │ └─┬ rc@1.2.2
[INFO] │ │ │ ├── deep-extend@0.4.2
[INFO] │ │ │ └── minimist@1.2.0
[INFO] │ │ └── registry-url@3.1.0
@@ -749,9 +787,7 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ └── string_decoder@0.10.31
[INFO] │ ├─┬ read-pkg@2.0.0
[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ ├─┬ parse-json@2.2.0
-[INFO] │ │ │ │ └─┬ error-ex@1.3.1
-[INFO] │ │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ │ ├── parse-json@2.2.0
[INFO] │ │ │ └── strip-bom@3.0.0
[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├─┬ shell-quote@1.6.1
@@ -807,7 +843,7 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ └── throttleit@1.0.0
[INFO] │ └─┬ which@1.2.14
[INFO] │ └── isexe@2.0.0
-[INFO] ├── UNMET PEER DEPENDENCY popper.js@^1.11.0
+[INFO] ├── popper.js@1.12.5
[INFO] ├─┬ postcss-cli@4.1.1
[INFO] │ ├── dependency-graph@0.5.1
[INFO] │ ├─┬ fs-extra@4.0.2
@@ -829,7 +865,6 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ postcss-load-config@1.2.0
[INFO] │ │ ├─┬ cosmiconfig@2.2.2
-[INFO] │ │ │ ├── is-directory@0.3.1
[INFO] │ │ │ ├── minimist@1.2.0
[INFO] │ │ │ └── require-from-string@1.2.1
[INFO] │ │ ├── postcss-load-options@1.2.0
@@ -849,16 +884,6 @@ Build date: 2017-10-12 18:01:49
[INFO] │ │ │ └── strip-eof@1.0.0
[INFO] │ │ └─┬ mem@1.1.0
[INFO] │ │ └── mimic-fn@1.1.0
-[INFO] │ ├─┬ read-pkg-up@2.0.0
-[INFO] │ │ ├─┬ find-up@2.1.0
-[INFO] │ │ │ └─┬ locate-path@2.0.0
-[INFO] │ │ │ ├─┬ p-locate@2.0.0
-[INFO] │ │ │ │ └── p-limit@1.1.0
-[INFO] │ │ │ └── path-exists@3.0.0
-[INFO] │ │ └─┬ read-pkg@2.0.0
-[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ └── strip-bom@3.0.0
-[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├── which-module@2.0.0
[INFO] │ └── yargs-parser@7.0.0
[INFO] ├─┬ qunit-phantomjs-runner@2.3.0
@@ -871,41 +896,11 @@ Build date: 2017-10-12 18:01:49
[INFO] │ ├─┬ findup-sync@0.4.3
[INFO] │ │ ├─┬ detect-file@0.1.0
[INFO] │ │ │ └── fs-exists-sync@0.1.0
-[INFO] │ │ ├─┬ micromatch@2.3.11
-[INFO] │ │ │ ├─┬ arr-diff@2.0.0
-[INFO] │ │ │ │ └── arr-flatten@1.1.0
-[INFO] │ │ │ ├── array-unique@0.2.1
-[INFO] │ │ │ ├─┬ braces@1.8.5
-[INFO] │ │ │ │ ├─┬ expand-range@1.8.2
-[INFO] │ │ │ │ │ └─┬ fill-range@2.2.3
-[INFO] │ │ │ │ │ ├── is-number@2.1.0
-[INFO] │ │ │ │ │ ├── isobject@2.1.0
-[INFO] │ │ │ │ │ ├─┬ randomatic@1.1.7
-[INFO] │ │ │ │ │ │ ├─┬ is-number@3.0.0
-[INFO] │ │ │ │ │ │ │ └── kind-of@3.2.2
-[INFO] │ │ │ │ │ │ └── kind-of@4.0.0
-[INFO] │ │ │ │ │ └── repeat-string@1.6.1
-[INFO] │ │ │ │ ├── preserve@0.2.0
-[INFO] │ │ │ │ └── repeat-element@1.1.2
-[INFO] │ │ │ ├─┬ expand-brackets@0.1.5
-[INFO] │ │ │ │ └── is-posix-bracket@0.1.1
-[INFO] │ │ │ ├── extglob@0.3.2
-[INFO] │ │ │ ├── filename-regex@2.0.1
-[INFO] │ │ │ ├─┬ kind-of@3.2.2
-[INFO] │ │ │ │ └── is-buffer@1.1.5
-[INFO] │ │ │ ├─┬ object.omit@2.0.1
-[INFO] │ │ │ │ ├── for-own@0.1.5
-[INFO] │ │ │ │ └── is-extendable@0.1.1
-[INFO] │ │ │ ├─┬ parse-glob@3.0.4
-[INFO] │ │ │ │ ├── glob-base@0.3.0
-[INFO] │ │ │ │ └── is-dotfile@1.0.3
-[INFO] │ │ │ └─┬ regex-cache@0.4.4
-[INFO] │ │ │ └─┬ is-equal-shallow@0.1.3
-[INFO] │ │ │ └── is-primitive@2.0.0
[INFO] │ │ └─┬ resolve-dir@0.1.1
[INFO] │ │ ├── expand-tilde@1.2.2
[INFO] │ │ └─┬ global-modules@0.2.3
-[INFO] │ │ ├── global-prefix@0.1.5
+[INFO] │ │ ├─┬ global-prefix@0.1.5
+[INFO] │ │ │ └── is-windows@0.2.0
[INFO] │ │ └── is-windows@0.2.0
[INFO] │ ├── js-reporters@1.2.0
[INFO] │ ├─┬ resolve@1.3.2
@@ -913,20 +908,129 @@ Build date: 2017-10-12 18:01:49
[INFO] │ └─┬ walk-sync@0.3.1
[INFO] │ ├── ensure-posix-path@1.0.2
[INFO] │ └── matcher-collection@1.0.5
+[INFO] ├── rollup@0.50.0
+[INFO] ├─┬ rollup-plugin-babel@3.0.2
+[INFO] │ └─┬ rollup-pluginutils@1.5.2
+[INFO] │ └── estree-walker@0.2.1
+[INFO] ├─┬ rollup-plugin-node-resolve@3.0.0
+[INFO] │ ├─┬ browser-resolve@1.11.2
+[INFO] │ │ └── resolve@1.1.7
+[INFO] │ ├── builtin-modules@1.1.1
+[INFO] │ ├── is-module@1.0.0
+[INFO] │ └── resolve@1.4.0
[INFO] ├─┬ shelljs@0.7.8
[INFO] │ ├── interpret@1.0.4
[INFO] │ └── rechoir@0.6.2
[INFO] ├─┬ shx@0.2.2
[INFO] │ ├── es6-object-assign@1.1.0
[INFO] │ └── minimist@1.2.0
-[INFO] └─┬ uglify-js@3.1.3
-[INFO] └── source-map@0.5.7
+[INFO] ├─┬ stylelint@8.2.0
+[INFO] │ ├── balanced-match@1.0.0
+[INFO] │ ├─┬ cosmiconfig@3.1.0
+[INFO] │ │ ├── is-directory@0.3.1
+[INFO] │ │ ├─┬ parse-json@3.0.0
+[INFO] │ │ │ └─┬ error-ex@1.3.1
+[INFO] │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ └── require-from-string@2.0.1
+[INFO] │ ├─┬ execall@1.0.0
+[INFO] │ │ └─┬ clone-regexp@1.0.0
+[INFO] │ │ ├── is-regexp@1.0.0
+[INFO] │ │ └── is-supported-regexp-flag@1.0.0
+[INFO] │ ├── get-stdin@5.0.1
+[INFO] │ ├─┬ globby@6.1.0
+[INFO] │ │ └── pify@2.3.0
+[INFO] │ ├── globjoin@0.1.4
+[INFO] │ ├── html-tags@2.0.0
+[INFO] │ ├── known-css-properties@0.4.1
+[INFO] │ ├── log-symbols@2.1.0
+[INFO] │ ├── mathml-tag-names@2.0.1
+[INFO] │ ├─┬ micromatch@2.3.11
+[INFO] │ │ ├─┬ arr-diff@2.0.0
+[INFO] │ │ │ └── arr-flatten@1.1.0
+[INFO] │ │ ├── array-unique@0.2.1
+[INFO] │ │ ├─┬ braces@1.8.5
+[INFO] │ │ │ ├─┬ expand-range@1.8.2
+[INFO] │ │ │ │ └─┬ fill-range@2.2.3
+[INFO] │ │ │ │ ├── is-number@2.1.0
+[INFO] │ │ │ │ ├── isobject@2.1.0
+[INFO] │ │ │ │ ├─┬ randomatic@1.1.7
+[INFO] │ │ │ │ │ ├─┬ is-number@3.0.0
+[INFO] │ │ │ │ │ │ └── kind-of@3.2.2
+[INFO] │ │ │ │ │ └── kind-of@4.0.0
+[INFO] │ │ │ │ └── repeat-string@1.6.1
+[INFO] │ │ │ ├── preserve@0.2.0
+[INFO] │ │ │ └── repeat-element@1.1.2
+[INFO] │ │ ├─┬ expand-brackets@0.1.5
+[INFO] │ │ │ └── is-posix-bracket@0.1.1
+[INFO] │ │ ├── extglob@0.3.2
+[INFO] │ │ ├── filename-regex@2.0.1
+[INFO] │ │ ├── is-extglob@1.0.0
+[INFO] │ │ ├── kind-of@3.2.2
+[INFO] │ │ ├─┬ normalize-path@2.1.1
+[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├─┬ object.omit@2.0.1
+[INFO] │ │ │ ├─┬ for-own@0.1.5
+[INFO] │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ └── is-extendable@0.1.1
+[INFO] │ │ ├─┬ parse-glob@3.0.4
+[INFO] │ │ │ ├── glob-base@0.3.0
+[INFO] │ │ │ └── is-dotfile@1.0.3
+[INFO] │ │ └─┬ regex-cache@0.4.4
+[INFO] │ │ └─┬ is-equal-shallow@0.1.3
+[INFO] │ │ └── is-primitive@2.0.0
+[INFO] │ ├── normalize-selector@0.2.0
+[INFO] │ ├── pify@3.0.0
+[INFO] │ ├─┬ postcss-less@1.1.1
+[INFO] │ │ └─┬ postcss@5.2.18
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── source-map@0.5.7
+[INFO] │ │ └─┬ supports-color@3.2.3
+[INFO] │ │ └── has-flag@1.0.0
+[INFO] │ ├── postcss-media-query-parser@0.2.3
+[INFO] │ ├── postcss-resolve-nested-selector@0.1.1
+[INFO] │ ├── postcss-safe-parser@3.0.1
+[INFO] │ ├── postcss-scss@1.0.2
+[INFO] │ ├─┬ postcss-selector-parser@2.2.3
+[INFO] │ │ ├── flatten@1.0.2
+[INFO] │ │ ├── indexes-of@1.0.1
+[INFO] │ │ └── uniq@1.0.1
+[INFO] │ ├── resolve-from@4.0.0
+[INFO] │ ├── specificity@0.3.2
+[INFO] │ ├─┬ string-width@2.1.1
+[INFO] │ │ ├── is-fullwidth-code-point@2.0.0
+[INFO] │ │ └─┬ strip-ansi@4.0.0
+[INFO] │ │ └── ansi-regex@3.0.0
+[INFO] │ ├── style-search@0.1.0
+[INFO] │ ├── sugarss@1.0.0
+[INFO] │ └── svg-tags@1.0.0
+[INFO] ├─┬ stylelint-config-recommended-scss@2.0.0
+[INFO] │ └── stylelint-config-recommended@1.0.0
+[INFO] ├── stylelint-config-standard@17.0.0
+[INFO] ├─┬ stylelint-order@0.7.0
+[INFO] │ └── postcss-sorting@3.0.2
+[INFO] ├── stylelint-scss@2.1.0
+[INFO] ├─┬ uglify-js@3.1.4
+[INFO] │ └── source-map@0.6.1
+[INFO] ├── vnu-jar@17.11.1
+[INFO] └─┬ workbox-build@2.1.0
+[INFO] ├─┬ chalk@1.1.3
+[INFO] │ ├── ansi-styles@2.2.1
+[INFO] │ └── supports-color@2.0.0
+[INFO] ├─┬ fs-extra@3.0.1
+[INFO] │ └── jsonfile@3.0.1
+[INFO] ├─┬ lodash.template@4.4.0
+[INFO] │ ├── lodash._reinterpolate@3.0.0
+[INFO] │ └── lodash.templatesettings@4.1.0
+[INFO] └── workbox-sw@2.1.0
[INFO]
+[WARNING] npm WARN bootstrap@4.0.0-beta.2 requires a peer of jquery@1.9.1 - 3 but none was installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #8: npm run css-compile) @ tobago-theme-scarborough ---
[INFO] Running 'npm run css-compile' in __CURRENT__/tobago-theme-scarborough/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-compile __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-compile __CURRENT__/tobago-theme-scarborough/target/bootstrap
[INFO] > 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
[INFO]
[ERROR] Rendering Complete, saving .css file...
@@ -936,56 +1040,101 @@ Build date: 2017-10-12 18:01:49
[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-scarborough/target/bootstrap/dist/css/bootstrap-grid.css.map
[ERROR] Wrote CSS to __CURRENT__/tobago-theme-scarborough/target/bootstrap/dist/css/bootstrap-grid.css
[ERROR] Rendering Complete, saving .css file...
-[ERROR] Wrote CSS to __CURRENT__/tobago-theme-scarborough/target/bootstrap/dist/css/bootstrap-reboot.css
[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-scarborough/target/bootstrap/dist/css/bootstrap-reboot.css.map
+[ERROR] Wrote CSS to __CURRENT__/tobago-theme-scarborough/target/bootstrap/dist/css/bootstrap-reboot.css
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #9: npm run css-prefix) @ tobago-theme-scarborough ---
[INFO] Running 'npm run css-prefix' in __CURRENT__/tobago-theme-scarborough/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-prefix __CURRENT__/tobago-theme-scarborough/target/bootstrap
-[INFO] > postcss --config build/postcss.config.js --replace dist/css/*.css
+[INFO] > bootstrap@4.0.0-beta.2 css-prefix __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > postcss --config build/postcss.config.js --replace "dist/css/*.css"
[INFO]
-[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.11 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.07 s)
+[ERROR] ✔ Finished dist/css/bootstrap.css (1.07 s)
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #10: npm run css-minify) @ tobago-theme-scarborough ---
[INFO] Running 'npm run css-minify' in __CURRENT__/tobago-theme-scarborough/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-minify __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-minify __CURRENT__/tobago-theme-scarborough/target/bootstrap
[INFO] > 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
[INFO]
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #11: npm run js) @ tobago-theme-scarborough ---
[INFO] Running 'npm run js' in __CURRENT__/tobago-theme-scarborough/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta js __CURRENT__/tobago-theme-scarborough/target/bootstrap
-[INFO] > npm-run-all js-lint js-compile js-minify
+[INFO] > bootstrap@4.0.0-beta.2 js __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > npm-run-all js-lint* js-compile* js-minify*
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-lint __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-lint __CURRENT__/tobago-theme-scarborough/target/bootstrap
-[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/ Gruntfile.js
+[INFO] > bootstrap@4.0.0-beta.2 js-lint-docs __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > eslint --config js/tests/.eslintrc.json assets/js/ docs/ sw.js
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 js-compile __CURRENT__/tobago-theme-scarborough/target/bootstrap
[INFO] > npm-run-all --parallel js-compile-*
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-bundle __CURRENT__/tobago-theme-scarborough/target/bootstrap
-[INFO] > shx cat js/src/util.js js/src/alert.js js/src/button.js js/src/carousel.js js/src/collapse.js js/src/dropdown.js js/src/modal.js js/src/scrollspy.js js/src/tab.js js/src/tooltip.js js/src/popover.js | shx sed "s/^(import|export).*//" | babel --filename js/src/bootstrap.js | node build/stamp.js > dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-scarborough/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-scarborough/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[INFO] js/src/alert.js -> js/dist/alert.js
+[INFO] js/src/button.js -> js/dist/button.js
+[INFO] js/src/carousel.js -> js/dist/carousel.js
+[INFO] js/src/collapse.js -> js/dist/collapse.js
+[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
+[INFO] js/src/modal.js -> js/dist/modal.js
+[INFO] js/src/popover.js -> js/dist/popover.js
+[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
+[INFO] js/src/tab.js -> js/dist/tab.js
+[INFO] js/src/tooltip.js -> js/dist/tooltip.js
+[INFO] js/src/util.js -> js/dist/util.js
+[ERROR] created dist/js/bootstrap.js in 2.5s
+[ERROR] created dist/js/bootstrap.bundle.js in 2.8s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-scarborough/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[ERROR] created dist/js/bootstrap.js in 1.6s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-scarborough/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[ERROR] created dist/js/bootstrap.bundle.js in 1.7s
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-plugins __CURRENT__/tobago-theme-scarborough/target/bootstrap
-[INFO] > babel js/src/ --out-dir js/dist/ --source-maps
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
[INFO]
[INFO] js/src/alert.js -> js/dist/alert.js
[INFO] js/src/button.js -> js/dist/button.js
[INFO] js/src/carousel.js -> js/dist/carousel.js
[INFO] js/src/collapse.js -> js/dist/collapse.js
[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
[INFO] js/src/modal.js -> js/dist/modal.js
[INFO] js/src/popover.js -> js/dist/popover.js
[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
@@ -993,8 +1142,36 @@ Build date: 2017-10-12 18:01:49
[INFO] js/src/tooltip.js -> js/dist/tooltip.js
[INFO] js/src/util.js -> js/dist/util.js
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-minify __CURRENT__/tobago-theme-scarborough/target/bootstrap
-[INFO] > uglifyjs --config-file build/uglifyjs.config.json --output dist/js/bootstrap.min.js dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-minify __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > npm-run-all --parallel js-minify-*
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > 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
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > 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
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-scarborough/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ tobago-theme-scarborough ---
@@ -1038,7 +1215,7 @@ main:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 01:35 min
-[INFO] Finished at: 2017-10-12T18:03:26+02:00
-[INFO] Final Memory: 32M/401M
+[INFO] Total time: 02:52 min
+[INFO] Finished at: 2017-10-20T13:38:42+02:00
+[INFO] Final Memory: 29M/400M
[INFO] ------------------------------------------------------------------------
diff --git a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css
index 5ee1ef9..ceb7a5f 100644
--- a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css
+++ b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css
@@ -1,6 +1,6 @@
@charset "UTF-8";
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
@@ -21,6 +21,37 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+:root {
+ --blue: #007bff;
+ --indigo: #6610f2;
+ --purple: #6f42c1;
+ --pink: #e83e8c;
+ --red: #dc3545;
+ --orange: #fd7e14;
+ --yellow: #ffc107;
+ --green: #28a745;
+ --teal: #20c997;
+ --cyan: #17a2b8;
+ --white: #fff;
+ --gray: #868e96;
+ --gray-dark: #343a40;
+ --primary: #007bff;
+ --secondary: #868e96;
+ --success: #28a745;
+ --info: #17a2b8;
+ --warning: #ffc107;
+ --danger: #dc3545;
+ --light: #f8f9fa;
+ --dark: #343a40;
+ --breakpoint-xs: 0;
+ --breakpoint-sm: 576px;
+ --breakpoint-md: 768px;
+ --breakpoint-lg: 992px;
+ --breakpoint-xl: 1200px;
+ --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+ --font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+}
+
@media print {
*,
*::before,
@@ -79,8 +110,13 @@
}
}
-html {
+*,
+*::before,
+*::after {
box-sizing: border-box;
+}
+
+html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
@@ -89,12 +125,6 @@ html {
-webkit-tap-highlight-color: transparent;
}
-*,
-*::before,
-*::after {
- box-sizing: inherit;
-}
-
@-ms-viewport {
width: device-width;
}
@@ -105,11 +135,12 @@ article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, s
body {
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 1rem;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
color: #212529;
+ text-align: left;
background-color: #fff;
}
@@ -125,7 +156,7 @@ hr {
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
- margin-bottom: .5rem;
+ margin-bottom: 0.5rem;
}
p {
@@ -163,7 +194,7 @@ ul ol {
}
dt {
- font-weight: bold;
+ font-weight: 700;
}
dd {
@@ -242,6 +273,7 @@ pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
+ -ms-overflow-style: scrollbar;
}
figure {
@@ -261,7 +293,7 @@ a,
area,
button,
[role="button"],
-input,
+input:not([type="range"]),
label,
select,
summary,
@@ -283,7 +315,7 @@ caption {
}
th {
- text-align: left;
+ text-align: inherit;
}
label {
@@ -291,6 +323,10 @@ label {
margin-bottom: .5rem;
}
+button {
+ border-radius: 0;
+}
+
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
@@ -414,7 +450,7 @@ h1, h2, h3, h4, h5, h6,
margin-bottom: 0.5rem;
font-family: inherit;
font-weight: 500;
- line-height: 1.1;
+ line-height: 1.2;
color: inherit;
}
@@ -450,25 +486,25 @@ h6, .h6 {
.display-1 {
font-size: 6rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-2 {
font-size: 5.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-3 {
font-size: 4.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-4 {
font-size: 3.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
hr {
@@ -481,7 +517,7 @@ hr {
small,
.small {
font-size: 80%;
- font-weight: normal;
+ font-weight: 400;
}
mark,
@@ -561,7 +597,7 @@ code,
kbd,
pre,
samp {
- font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+ font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
code {
@@ -589,7 +625,7 @@ kbd {
kbd kbd {
padding: 0;
font-size: 100%;
- font-weight: bold;
+ font-weight: 700;
}
pre {
@@ -614,11 +650,11 @@ pre code {
}
.container {
- margin-right: auto;
- margin-left: auto;
+ width: 100%;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
@media (min-width: 576px) {
@@ -647,11 +683,10 @@ pre code {
.container-fluid {
width: 100%;
- margin-right: auto;
- margin-left: auto;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
.row {
@@ -774,6 +809,11 @@ pre code {
max-width: 100%;
}
+.order-first {
+ -ms-flex-order: -1;
+ order: -1;
+}
+
.order-1 {
-ms-flex-order: 1;
order: 1;
@@ -834,6 +874,50 @@ pre code {
order: 12;
}
+.offset-1 {
+ margin-left: 8.333333%;
+}
+
+.offset-2 {
+ margin-left: 16.666667%;
+}
+
+.offset-3 {
+ margin-left: 25%;
+}
+
+.offset-4 {
+ margin-left: 33.333333%;
+}
+
+.offset-5 {
+ margin-left: 41.666667%;
+}
+
+.offset-6 {
+ margin-left: 50%;
+}
+
+.offset-7 {
+ margin-left: 58.333333%;
+}
+
+.offset-8 {
+ margin-left: 66.666667%;
+}
+
+.offset-9 {
+ margin-left: 75%;
+}
+
+.offset-10 {
+ margin-left: 83.333333%;
+}
+
+.offset-11 {
+ margin-left: 91.666667%;
+}
+
@media (min-width: 576px) {
.col-sm {
-ms-flex-preferred-size: 0;
@@ -908,6 +992,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-sm-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-sm-1 {
-ms-flex-order: 1;
order: 1;
@@ -956,6 +1044,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-sm-0 {
+ margin-left: 0;
+ }
+ .offset-sm-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-sm-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-sm-3 {
+ margin-left: 25%;
+ }
+ .offset-sm-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-sm-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-sm-6 {
+ margin-left: 50%;
+ }
+ .offset-sm-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-sm-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-sm-9 {
+ margin-left: 75%;
+ }
+ .offset-sm-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-sm-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 768px) {
@@ -1032,6 +1156,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-md-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-md-1 {
-ms-flex-order: 1;
order: 1;
@@ -1080,6 +1208,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-md-0 {
+ margin-left: 0;
+ }
+ .offset-md-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-md-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-md-3 {
+ margin-left: 25%;
+ }
+ .offset-md-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-md-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-md-6 {
+ margin-left: 50%;
+ }
+ .offset-md-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-md-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-md-9 {
+ margin-left: 75%;
+ }
+ .offset-md-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-md-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 992px) {
@@ -1156,6 +1320,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-lg-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-lg-1 {
-ms-flex-order: 1;
order: 1;
@@ -1204,6 +1372,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-lg-0 {
+ margin-left: 0;
+ }
+ .offset-lg-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-lg-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-lg-3 {
+ margin-left: 25%;
+ }
+ .offset-lg-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-lg-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-lg-6 {
+ margin-left: 50%;
+ }
+ .offset-lg-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-lg-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-lg-9 {
+ margin-left: 75%;
+ }
+ .offset-lg-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-lg-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 1200px) {
@@ -1280,6 +1484,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-xl-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-xl-1 {
-ms-flex-order: 1;
order: 1;
@@ -1328,6 +1536,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-xl-0 {
+ margin-left: 0;
+ }
+ .offset-xl-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-xl-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-xl-3 {
+ margin-left: 25%;
+ }
+ .offset-xl-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-xl-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-xl-6 {
+ margin-left: 50%;
+ }
+ .offset-xl-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-xl-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-xl-9 {
+ margin-left: 75%;
+ }
+ .offset-xl-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-xl-11 {
+ margin-left: 91.666667%;
+ }
}
.table {
@@ -1519,62 +1763,116 @@ pre code {
background-color: rgba(0, 0, 0, 0.075);
}
-.thead-inverse th {
+.table .thead-dark th {
color: #fff;
background-color: #212529;
+ border-color: #32383e;
}
-.thead-default th {
+.table .thead-light th {
color: #495057;
background-color: #e9ecef;
+ border-color: #e9ecef;
}
-.table-inverse {
+.table-dark {
color: #fff;
background-color: #212529;
}
-.table-inverse th,
-.table-inverse td,
-.table-inverse thead th {
+.table-dark th,
+.table-dark td,
+.table-dark thead th {
border-color: #32383e;
}
-.table-inverse.table-bordered {
+.table-dark.table-bordered {
border: 0;
}
-.table-inverse.table-striped tbody tr:nth-of-type(odd) {
+.table-dark.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(255, 255, 255, 0.05);
}
-.table-inverse.table-hover tbody tr:hover {
+.table-dark.table-hover tbody tr:hover {
background-color: rgba(255, 255, 255, 0.075);
}
+@media (max-width: 575px) {
+ .table-responsive-sm {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-sm.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 767px) {
+ .table-responsive-md {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-md.table-bordered {
+ border: 0;
+ }
+}
+
@media (max-width: 991px) {
- .table-responsive {
+ .table-responsive-lg {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-lg.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 1199px) {
+ .table-responsive-xl {
display: block;
width: 100%;
overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
- .table-responsive.table-bordered {
+ .table-responsive-xl.table-bordered {
border: 0;
}
}
+.table-responsive {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+}
+
+.table-responsive.table-bordered {
+ border: 0;
+}
+
.form-control {
display: block;
width: 100%;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
background-color: #fff;
background-image: none;
background-clip: padding-box;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
@@ -1589,6 +1887,7 @@ pre code {
background-color: #fff;
border-color: #80bdff;
outline: none;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-control::-webkit-input-placeholder {
@@ -1631,35 +1930,39 @@ select.form-control:focus::-ms-value {
}
.col-form-label {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem + 1px);
+ padding-bottom: calc(0.375rem + 1px);
margin-bottom: 0;
+ line-height: 1.5;
}
.col-form-label-lg {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.5rem + 1px);
+ padding-bottom: calc(0.5rem + 1px);
font-size: 1.25rem;
+ line-height: 1.5;
}
.col-form-label-sm {
- padding-top: calc(0.25rem - 1px * 2);
- padding-bottom: calc(0.25rem - 1px * 2);
+ padding-top: calc(0.25rem + 1px);
+ padding-bottom: calc(0.25rem + 1px);
font-size: 0.875rem;
+ line-height: 1.5;
}
.col-form-legend {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
font-size: 1rem;
}
.form-control-plaintext {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
- line-height: 1.25;
+ line-height: 1.5;
+ background-color: transparent;
border: solid transparent;
border-width: 1px 0;
}
@@ -1700,7 +2003,7 @@ select.form-control-sm:not([size]):not([multiple]), .input-group-sm > select.for
select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.form-control:not([size]):not([multiple]),
.input-group-lg > select.input-group-addon:not([size]):not([multiple]),
.input-group-lg > .input-group-btn > select.btn:not([size]):not([multiple]) {
- height: calc(2.3125rem + 2px);
+ height: calc(2.875rem + 2px);
}
.form-group {
@@ -1748,30 +2051,23 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
margin-left: -1.25rem;
}
-.form-check-input:only-child {
- position: static;
-}
-
.form-check-inline {
display: inline-block;
+ margin-right: 0.75rem;
}
.form-check-inline .form-check-label {
vertical-align: middle;
}
-.form-check-inline + .form-check-inline {
- margin-left: 0.75rem;
-}
-
-.invalid-feedback {
+.valid-feedback {
display: none;
margin-top: .25rem;
font-size: .875rem;
- color: #dc3545;
+ color: #28a745;
}
-.invalid-tooltip {
+.valid-tooltip {
position: absolute;
top: 100%;
z-index: 5;
@@ -1782,7 +2078,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
font-size: .875rem;
line-height: 1;
color: #fff;
- background-color: rgba(220, 53, 69, 0.8);
+ background-color: rgba(40, 167, 69, 0.8);
border-radius: .2rem;
}
@@ -1798,14 +2094,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
-.was-validated .form-control:valid ~ .invalid-feedback,
-.was-validated .form-control:valid ~ .invalid-tooltip, .form-control.is-valid ~ .invalid-feedback,
-.form-control.is-valid ~ .invalid-tooltip, .was-validated
-.custom-select:valid ~ .invalid-feedback,
+.was-validated .form-control:valid ~ .valid-feedback,
+.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback,
+.form-control.is-valid ~ .valid-tooltip, .was-validated
+.custom-select:valid ~ .valid-feedback,
.was-validated
-.custom-select:valid ~ .invalid-tooltip,
-.custom-select.is-valid ~ .invalid-feedback,
-.custom-select.is-valid ~ .invalid-tooltip {
+.custom-select:valid ~ .valid-tooltip,
+.custom-select.is-valid ~ .valid-feedback,
+.custom-select.is-valid ~ .valid-tooltip {
display: block;
}
@@ -1833,6 +2129,28 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
+.invalid-feedback {
+ display: none;
+ margin-top: .25rem;
+ font-size: .875rem;
+ color: #dc3545;
+}
+
+.invalid-tooltip {
+ position: absolute;
+ top: 100%;
+ z-index: 5;
+ display: none;
+ width: 250px;
+ padding: .5rem;
+ margin-top: .1rem;
+ font-size: .875rem;
+ line-height: 1;
+ color: #fff;
+ background-color: rgba(220, 53, 69, 0.8);
+ border-radius: .2rem;
+}
+
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated
.custom-select:invalid,
.custom-select.is-invalid {
@@ -1925,10 +2243,6 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.form-inline .input-group {
width: auto;
}
- .form-inline .form-control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
.form-inline .form-check {
display: -ms-flexbox;
display: flex;
@@ -1971,7 +2285,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn {
display: inline-block;
- font-weight: normal;
+ font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
@@ -1980,11 +2294,11 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
border-radius: 0.25rem;
- transition: all 0.15s ease-in-out;
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:focus, .btn:hover {
@@ -1993,14 +2307,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn:focus, .btn.focus {
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 {
opacity: .65;
}
-.btn:active, .btn.active {
+.btn:not([disabled]):not(.disabled):active, .btn:not([disabled]):not(.disabled).active {
background-image: none;
}
@@ -2022,7 +2336,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2030,11 +2344,12 @@ fieldset[disabled] a.btn {
border-color: #007bff;
}
-.btn-primary:active, .btn-primary.active,
+.btn-primary:not([disabled]):not(.disabled):active, .btn-primary:not([disabled]):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
- background-color: #0069d9;
- background-image: none;
- border-color: #0062cc;
+ color: #fff;
+ background-color: #0062cc;
+ border-color: #005cbf;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-secondary {
@@ -2050,7 +2365,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2058,11 +2373,12 @@ fieldset[disabled] a.btn {
border-color: #868e96;
}
-.btn-secondary:active, .btn-secondary.active,
+.btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
- background-color: #727b84;
- background-image: none;
- border-color: #6c757d;
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #666e76;
+ box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-success {
@@ -2078,7 +2394,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2086,11 +2402,12 @@ fieldset[disabled] a.btn {
border-color: #28a745;
}
-.btn-success:active, .btn-success.active,
+.btn-success:not([disabled]):not(.disabled):active, .btn-success:not([disabled]):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
- background-color: #218838;
- background-image: none;
- border-color: #1e7e34;
+ color: #fff;
+ background-color: #1e7e34;
+ border-color: #1c7430;
+ box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-info {
@@ -2106,7 +2423,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2114,11 +2431,12 @@ fieldset[disabled] a.btn {
border-color: #17a2b8;
}
-.btn-info:active, .btn-info.active,
+.btn-info:not([disabled]):not(.disabled):active, .btn-info:not([disabled]):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
- background-color: #138496;
- background-image: none;
- border-color: #117a8b;
+ color: #fff;
+ background-color: #117a8b;
+ border-color: #10707f;
+ box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-warning {
@@ -2134,7 +2452,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2142,11 +2460,12 @@ fieldset[disabled] a.btn {
border-color: #ffc107;
}
-.btn-warning:active, .btn-warning.active,
+.btn-warning:not([disabled]):not(.disabled):active, .btn-warning:not([disabled]):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
- background-color: #e0a800;
- background-image: none;
- border-color: #d39e00;
+ color: #111;
+ background-color: #d39e00;
+ border-color: #c69500;
+ box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-danger {
@@ -2162,7 +2481,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2170,11 +2489,12 @@ fieldset[disabled] a.btn {
border-color: #dc3545;
}
-.btn-danger:active, .btn-danger.active,
+.btn-danger:not([disabled]):not(.disabled):active, .btn-danger:not([disabled]):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
- background-color: #c82333;
- background-image: none;
- border-color: #bd2130;
+ color: #fff;
+ background-color: #bd2130;
+ border-color: #b21f2d;
+ box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-light {
@@ -2190,7 +2510,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2198,11 +2518,12 @@ fieldset[disabled] a.btn {
border-color: #f8f9fa;
}
-.btn-light:active, .btn-light.active,
+.btn-light:not([disabled]):not(.disabled):active, .btn-light:not([disabled]):not(.disabled).active,
.show > .btn-light.dropdown-toggle {
- background-color: #e2e6ea;
- background-image: none;
- border-color: #dae0e5;
+ color: #111;
+ background-color: #dae0e5;
+ border-color: #d3d9df;
+ box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-dark {
@@ -2218,7 +2539,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2226,11 +2547,12 @@ fieldset[disabled] a.btn {
border-color: #343a40;
}
-.btn-dark:active, .btn-dark.active,
+.btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active,
.show > .btn-dark.dropdown-toggle {
- background-color: #23272b;
- background-image: none;
- border-color: #1d2124;
+ color: #fff;
+ background-color: #1d2124;
+ border-color: #171a1d;
+ box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-outline-primary {
@@ -2247,7 +2569,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2255,11 +2577,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-primary:active, .btn-outline-primary.active,
+.btn-outline-primary:not([disabled]):not(.disabled):active, .btn-outline-primary:not([disabled]):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
color: #fff;
background-color: #007bff;
border-color: #007bff;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-secondary {
@@ -2276,7 +2599,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2284,11 +2607,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-secondary:active, .btn-outline-secondary.active,
+.btn-outline-secondary:not([disabled]):not(.disabled):active, .btn-outline-secondary:not([disabled]):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
color: #fff;
background-color: #868e96;
border-color: #868e96;
+ box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-outline-success {
@@ -2305,7 +2629,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2313,11 +2637,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-success:active, .btn-outline-success.active,
+.btn-outline-success:not([disabled]):not(.disabled):active, .btn-outline-success:not([disabled]):not(.disabled).active,
.show > .btn-outline-success.dropdown-toggle {
color: #fff;
background-color: #28a745;
border-color: #28a745;
+ box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-outline-info {
@@ -2334,7 +2659,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2342,11 +2667,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-info:active, .btn-outline-info.active,
+.btn-outline-info:not([disabled]):not(.disabled):active, .btn-outline-info:not([disabled]):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
color: #fff;
background-color: #17a2b8;
border-color: #17a2b8;
+ box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-outline-warning {
@@ -2363,7 +2689,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2371,11 +2697,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-warning:active, .btn-outline-warning.active,
+.btn-outline-warning:not([disabled]):not(.disabled):active, .btn-outline-warning:not([disabled]):not(.disabled).active,
.show > .btn-outline-warning.dropdown-toggle {
color: #fff;
background-color: #ffc107;
border-color: #ffc107;
+ box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-outline-danger {
@@ -2392,7 +2719,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2400,11 +2727,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-danger:active, .btn-outline-danger.active,
+.btn-outline-danger:not([disabled]):not(.disabled):active, .btn-outline-danger:not([disabled]):not(.disabled).active,
.show > .btn-outline-danger.dropdown-toggle {
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
+ box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-outline-light {
@@ -2415,13 +2743,13 @@ fieldset[disabled] a.btn {
}
.btn-outline-light:hover {
- color: #fff;
+ color: #212529;
background-color: #f8f9fa;
border-color: #f8f9fa;
}
.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 {
@@ -2429,11 +2757,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-light:active, .btn-outline-light.active,
+.btn-outline-light:not([disabled]):not(.disabled):active, .btn-outline-light:not([disabled]):not(.disabled).active,
.show > .btn-outline-light.dropdown-toggle {
- color: #fff;
+ color: #212529;
background-color: #f8f9fa;
border-color: #f8f9fa;
+ box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-outline-dark {
@@ -2450,7 +2779,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2458,44 +2787,34 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-dark:active, .btn-outline-dark.active,
+.btn-outline-dark:not([disabled]):not(.disabled):active, .btn-outline-dark:not([disabled]):not(.disabled).active,
.show > .btn-outline-dark.dropdown-toggle {
color: #fff;
background-color: #343a40;
border-color: #343a40;
+ box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-link {
- font-weight: normal;
+ font-weight: 400;
color: #007bff;
- border-radius: 0;
-}
-
-.btn-link, .btn-link:active, .btn-link.active, .btn-link:disabled {
background-color: transparent;
}
-.btn-link, .btn-link:focus, .btn-link:active {
- border-color: transparent;
- box-shadow: none;
-}
-
.btn-link:hover {
- border-color: transparent;
-}
-
-.btn-link:focus, .btn-link:hover {
color: #0056b3;
text-decoration: underline;
background-color: transparent;
+ border-color: transparent;
}
-.btn-link:disabled {
- color: #868e96;
+.btn-link:focus, .btn-link.focus {
+ border-color: transparent;
+ box-shadow: none;
}
-.btn-link:disabled:focus, .btn-link:disabled:hover {
- text-decoration: none;
+.btn-link:disabled, .btn-link.disabled {
+ color: #868e96;
}
.btn-lg, .btn-group-lg > .btn {
@@ -2573,6 +2892,7 @@ tbody.collapse.show {
content: "";
border-top: 0.3em solid;
border-right: 0.3em solid transparent;
+ border-bottom: 0;
border-left: 0.3em solid transparent;
}
@@ -2580,16 +2900,6 @@ tbody.collapse.show {
margin-left: 0;
}
-.dropup .dropdown-menu {
- margin-top: 0;
- margin-bottom: 0.125rem;
-}
-
-.dropup .dropdown-toggle::after {
- border-top: 0;
- border-bottom: 0.3em solid;
-}
-
.dropdown-menu {
position: absolute;
top: 100%;
@@ -2610,6 +2920,28 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.dropup .dropdown-menu {
+ margin-top: 0;
+ margin-bottom: 0.125rem;
+}
+
+.dropup .dropdown-toggle::after {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0.3em solid;
+ border-left: 0.3em solid transparent;
+}
+
+.dropup .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+
.dropdown-divider {
height: 0;
margin: 0.5rem 0;
@@ -2622,7 +2954,7 @@ tbody.collapse.show {
width: 100%;
padding: 0.25rem 1.5rem;
clear: both;
- font-weight: normal;
+ font-weight: 400;
color: #212529;
text-align: inherit;
white-space: nowrap;
@@ -2647,10 +2979,6 @@ tbody.collapse.show {
background-color: transparent;
}
-.show > a {
- outline: 0;
-}
-
.dropdown-menu.show {
display: block;
}
@@ -2677,7 +3005,6 @@ tbody.collapse.show {
position: relative;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
- margin-bottom: 0;
}
.btn-group > .btn:hover,
@@ -2774,8 +3101,6 @@ tbody.collapse.show {
}
.btn-group-vertical {
- display: -ms-inline-flexbox;
- display: inline-flex;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-align: start;
@@ -2839,6 +3164,8 @@ tbody.collapse.show {
position: relative;
display: -ms-flexbox;
display: flex;
+ -ms-flex-align: stretch;
+ align-items: stretch;
width: 100%;
}
@@ -2873,19 +3200,18 @@ tbody.collapse.show {
.input-group-addon,
.input-group-btn {
white-space: nowrap;
- vertical-align: middle;
}
.input-group-addon {
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
- font-weight: normal;
- line-height: 1.25;
+ font-weight: 400;
+ line-height: 1.5;
color: #495057;
text-align: center;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -2942,6 +3268,8 @@ tbody.collapse.show {
.input-group-btn {
position: relative;
+ -ms-flex-align: stretch;
+ align-items: stretch;
font-size: 0;
white-space: nowrap;
}
@@ -2958,6 +3286,10 @@ tbody.collapse.show {
z-index: 3;
}
+.input-group-btn:first-child > .btn + .btn {
+ margin-left: 0;
+}
+
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group {
margin-right: -1px;
@@ -2966,6 +3298,11 @@ tbody.collapse.show {
.input-group-btn:not(:first-child) > .btn,
.input-group-btn:not(:first-child) > .btn-group {
z-index: 2;
+ margin-left: 0;
+}
+
+.input-group-btn:not(:first-child) > .btn:first-child,
+.input-group-btn:not(:first-child) > .btn-group:first-child {
margin-left: -1px;
}
@@ -2997,7 +3334,7 @@ tbody.collapse.show {
}
.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 {
@@ -3072,12 +3409,12 @@ tbody.collapse.show {
max-width: 100%;
height: calc(2.25rem + 2px);
padding: 0.375rem 1.75rem 0.375rem 0.75rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
vertical-align: middle;
background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
background-size: 8px 10px;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
-webkit-appearance: none;
-moz-appearance: none;
@@ -3094,6 +3431,11 @@ tbody.collapse.show {
background-color: #fff;
}
+.custom-select[multiple] {
+ height: auto;
+ background-image: none;
+}
+
.custom-select:disabled {
color: #868e96;
background-color: #e9ecef;
@@ -3114,26 +3456,30 @@ tbody.collapse.show {
position: relative;
display: inline-block;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin-bottom: 0;
}
.custom-file-input {
min-width: 14rem;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin: 0;
opacity: 0;
}
+.custom-file-input:focus ~ .custom-file-control {
+ box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.2rem #007bff;
+}
+
.custom-file-control {
position: absolute;
top: 0;
right: 0;
left: 0;
z-index: 5;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
pointer-events: none;
@@ -3142,7 +3488,7 @@ tbody.collapse.show {
-ms-user-select: none;
user-select: none;
background-color: #fff;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -3157,12 +3503,12 @@ tbody.collapse.show {
bottom: -1px;
z-index: 6;
display: block;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0 0.25rem 0.25rem 0;
}
@@ -3235,7 +3581,7 @@ tbody.collapse.show {
}
.nav-pills .nav-link.active,
-.show > .nav-pills .nav-link {
+.nav-pills .show > .nav-link {
color: #fff;
background-color: #007bff;
}
@@ -3330,6 +3676,8 @@ tbody.collapse.show {
.navbar-collapse {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
+ -ms-flex-positive: 1;
+ flex-grow: 1;
-ms-flex-align: center;
align-items: center;
}
@@ -3367,10 +3715,8 @@ tbody.collapse.show {
@media (min-width: 576px) {
.navbar-expand-sm {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3397,10 +3743,16 @@ tbody.collapse.show {
.navbar-expand-sm .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-sm .navbar-toggler {
display: none;
}
+ .navbar-expand-sm .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 767px) {
@@ -3413,10 +3765,8 @@ tbody.collapse.show {
@media (min-width: 768px) {
.navbar-expand-md {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3443,10 +3793,16 @@ tbody.collapse.show {
.navbar-expand-md .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-md .navbar-toggler {
display: none;
}
+ .navbar-expand-md .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 991px) {
@@ -3459,10 +3815,8 @@ tbody.collapse.show {
@media (min-width: 992px) {
.navbar-expand-lg {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3489,10 +3843,16 @@ tbody.collapse.show {
.navbar-expand-lg .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-lg .navbar-toggler {
display: none;
}
+ .navbar-expand-lg .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 1199px) {
@@ -3505,10 +3865,8 @@ tbody.collapse.show {
@media (min-width: 1200px) {
.navbar-expand-xl {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3535,17 +3893,21 @@ tbody.collapse.show {
.navbar-expand-xl .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-xl .navbar-toggler {
display: none;
}
+ .navbar-expand-xl .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
.navbar-expand {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3584,12 +3946,19 @@ tbody.collapse.show {
.navbar-expand .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand .navbar-toggler {
display: none;
}
+.navbar-expand .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+}
+
.navbar-light .navbar-brand {
color: rgba(0, 0, 0, 0.9);
}
@@ -3630,12 +3999,20 @@ tbody.collapse.show {
color: rgba(0, 0, 0, 0.5);
}
+.navbar-light .navbar-text a {
+ color: rgba(0, 0, 0, 0.9);
+}
+
+.navbar-light .navbar-text a:focus, .navbar-light .navbar-text a:hover {
+ color: rgba(0, 0, 0, 0.9);
+}
+
.navbar-dark .navbar-brand {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-nav .nav-link {
@@ -3654,7 +4031,7 @@ tbody.collapse.show {
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .nav-link.active {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-toggler {
@@ -3670,6 +4047,14 @@ tbody.collapse.show {
color: rgba(255, 255, 255, 0.5);
}
+.navbar-dark .navbar-text a {
+ color: #fff;
+}
+
+.navbar-dark .navbar-text a:focus, .navbar-dark .navbar-text a:hover {
+ color: #fff;
+}
+
.card {
position: relative;
display: -ms-flexbox;
@@ -3684,6 +4069,21 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.card > hr {
+ margin-right: 0;
+ margin-left: 0;
+}
+
+.card > .list-group:first-child .list-group-item:first-child {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+}
+
+.card > .list-group:last-child .list-group-item:last-child {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+
.card-body {
-ms-flex: 1 1 auto;
flex: 1 1 auto;
@@ -3711,16 +4111,6 @@ tbody.collapse.show {
margin-left: 1.25rem;
}
-.card > .list-group:first-child .list-group-item:first-child {
- border-top-left-radius: 0.25rem;
- border-top-right-radius: 0.25rem;
-}
-
-.card > .list-group:last-child .list-group-item:last-child {
- border-bottom-right-radius: 0.25rem;
- border-bottom-left-radius: 0.25rem;
-}
-
.card-header {
padding: 0.75rem 1.25rem;
margin-bottom: 0;
@@ -3732,6 +4122,10 @@ tbody.collapse.show {
border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
+.card-header + .list-group .list-group-item:first-child {
+ border-top: 0;
+}
+
.card-footer {
padding: 0.75rem 1.25rem;
background-color: rgba(0, 0, 0, 0.03);
@@ -3780,10 +4174,19 @@ tbody.collapse.show {
border-bottom-left-radius: calc(0.25rem - 1px);
}
+.card-deck {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-deck .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-deck {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
margin-right: -15px;
@@ -3797,20 +4200,31 @@ tbody.collapse.show {
-ms-flex-direction: column;
flex-direction: column;
margin-right: 15px;
+ margin-bottom: 0;
margin-left: 15px;
}
}
+.card-group {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-group .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-group {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
}
.card-group .card {
-ms-flex: 1 0 0%;
flex: 1 0 0%;
+ margin-bottom: 0;
}
.card-group .card + .card {
margin-left: 0;
@@ -3836,11 +4250,22 @@ tbody.collapse.show {
.card-group .card:last-child .card-img-bottom {
border-bottom-left-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) {
+ .card-group .card:only-child {
+ border-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-top {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-bottom {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+ }
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) {
border-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) .card-img-top,
- .card-group .card:not(:first-child):not(:last-child) .card-img-bottom {
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom {
border-radius: 0;
}
}
@@ -3863,6 +4288,10 @@ tbody.collapse.show {
}
.breadcrumb {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-wrap: wrap;
+ flex-wrap: wrap;
padding: 0.75rem 1rem;
margin-bottom: 1rem;
list-style: none;
@@ -3870,16 +4299,6 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
-.breadcrumb::after {
- display: block;
- clear: both;
- content: "";
-}
-
-.breadcrumb-item {
- float: left;
-}
-
.breadcrumb-item + .breadcrumb-item::before {
display: inline-block;
padding-right: 0.5rem;
@@ -3987,9 +4406,8 @@ tbody.collapse.show {
display: inline-block;
padding: 0.25em 0.4em;
font-size: 75%;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
- color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
@@ -4119,6 +4537,7 @@ tbody.collapse.show {
}
.alert {
+ position: relative;
padding: 0.75rem 1.25rem;
margin-bottom: 1rem;
border: 1px solid transparent;
@@ -4130,13 +4549,13 @@ tbody.collapse.show {
}
.alert-link {
- font-weight: bold;
+ font-weight: 700;
}
.alert-dismissible .close {
- position: relative;
- top: -0.75rem;
- right: -1.25rem;
+ position: absolute;
+ top: 0;
+ right: 0;
padding: 0.75rem 1.25rem;
color: inherit;
}
@@ -4274,20 +4693,22 @@ tbody.collapse.show {
.progress {
display: -ms-flexbox;
display: flex;
+ height: 1rem;
overflow: hidden;
font-size: 0.75rem;
- line-height: 1rem;
- text-align: center;
background-color: #e9ecef;
border-radius: 0.25rem;
}
.progress-bar {
- height: 1rem;
- line-height: 1rem;
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-align: center;
+ align-items: center;
+ -ms-flex-pack: center;
+ justify-content: center;
color: #fff;
background-color: #007bff;
- transition: width 0.6s ease;
}
.progress-bar-striped {
@@ -4583,7 +5004,7 @@ button.list-group-item-dark.active {
.close {
float: right;
font-size: 1.5rem;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
@@ -4641,6 +5062,7 @@ button.close {
position: relative;
width: auto;
margin: 10px;
+ pointer-events: none;
}
.modal-content {
@@ -4649,6 +5071,7 @@ button.close {
display: flex;
-ms-flex-direction: column;
flex-direction: column;
+ pointer-events: auto;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.2);
@@ -4677,12 +5100,19 @@ button.close {
.modal-header {
display: -ms-flexbox;
display: flex;
- -ms-flex-align: center;
- align-items: center;
+ -ms-flex-align: start;
+ align-items: flex-start;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 15px;
border-bottom: 1px solid #e9ecef;
+ border-top-left-radius: 0.3rem;
+ border-top-right-radius: 0.3rem;
+}
+
+.modal-header .close {
+ padding: 15px;
+ margin: -15px -15px -15px auto;
}
.modal-title {
@@ -4745,9 +5175,9 @@ button.close {
z-index: 1070;
display: block;
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4775,6 +5205,12 @@ button.close {
height: 5px;
}
+.tooltip .arrow::before {
+ position: absolute;
+ border-color: transparent;
+ border-style: solid;
+}
+
.tooltip.bs-tooltip-top, .tooltip.bs-tooltip-auto[x-placement^="top"] {
padding: 5px 0;
}
@@ -4836,12 +5272,6 @@ button.close {
border-left-color: #000;
}
-.tooltip .arrow::before {
- position: absolute;
- border-color: transparent;
- border-style: solid;
-}
-
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
@@ -4858,10 +5288,9 @@ button.close {
z-index: 1060;
display: block;
max-width: 276px;
- padding: 1px;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4884,8 +5313,8 @@ button.close {
.popover .arrow {
position: absolute;
display: block;
- width: 10px;
- height: 5px;
+ width: 0.8rem;
+ height: 0.4rem;
}
.popover .arrow::before,
@@ -4898,16 +5327,16 @@ button.close {
.popover .arrow::before {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover .arrow::after {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover.bs-popover-top, .popover.bs-popover-auto[x-placement^="top"] {
- margin-bottom: 10px;
+ margin-bottom: 0.8rem;
}
.popover.bs-popover-top .arrow, .popover.bs-popover-auto[x-placement^="top"] .arrow {
@@ -4920,19 +5349,19 @@ button.close {
}
.popover.bs-popover-top .arrow::before, .popover.bs-popover-auto[x-placement^="top"] .arrow::before {
- bottom: -11px;
- margin-left: -6px;
+ bottom: -0.8rem;
+ margin-left: -0.8rem;
border-top-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-top .arrow::after, .popover.bs-popover-auto[x-placement^="top"] .arrow::after {
- bottom: -10px;
- margin-left: -6px;
+ bottom: calc((0.8rem - 1px) * -1);
+ margin-left: -0.8rem;
border-top-color: #fff;
}
.popover.bs-popover-right, .popover.bs-popover-auto[x-placement^="right"] {
- margin-left: 10px;
+ margin-left: 0.8rem;
}
.popover.bs-popover-right .arrow, .popover.bs-popover-auto[x-placement^="right"] .arrow {
@@ -4941,22 +5370,22 @@ button.close {
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before,
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-left-width: 0;
}
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before {
- left: -11px;
+ left: -0.8rem;
border-right-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- left: -10px;
+ left: calc((0.8rem - 1px) * -1);
border-right-color: #fff;
}
.popover.bs-popover-bottom, .popover.bs-popover-auto[x-placement^="bottom"] {
- margin-top: 10px;
+ margin-top: 0.8rem;
}
.popover.bs-popover-bottom .arrow, .popover.bs-popover-auto[x-placement^="bottom"] .arrow {
@@ -4965,17 +5394,17 @@ button.close {
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before,
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- margin-left: -7px;
+ margin-left: -0.8rem;
border-top-width: 0;
}
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before {
- top: -11px;
+ top: -0.8rem;
border-bottom-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- top: -10px;
+ top: calc((0.8rem - 1px) * -1);
border-bottom-color: #fff;
}
@@ -4991,7 +5420,7 @@ button.close {
}
.popover.bs-popover-left, .popover.bs-popover-auto[x-placement^="left"] {
- margin-right: 10px;
+ margin-right: 0.8rem;
}
.popover.bs-popover-left .arrow, .popover.bs-popover-auto[x-placement^="left"] .arrow {
@@ -5000,22 +5429,22 @@ button.close {
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before,
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-right-width: 0;
}
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before {
- right: -11px;
+ right: -0.8rem;
border-left-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- right: -10px;
+ right: calc((0.8rem - 1px) * -1);
border-left-color: #fff;
}
.popover-header {
- padding: 8px 14px;
+ padding: 0.5rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
color: inherit;
@@ -5030,7 +5459,7 @@ button.close {
}
.popover-body {
- padding: 9px 14px;
+ padding: 0.5rem 0.75rem;
color: #212529;
}
@@ -5157,11 +5586,11 @@ button.close {
}
.carousel-control-prev-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.carousel-indicators {
@@ -5409,11 +5838,11 @@ a.bg-dark:focus, a.bg-dark:hover {
}
.rounded-circle {
- border-radius: 50%;
+ border-radius: 50% !important;
}
.rounded-0 {
- border-radius: 0;
+ border-radius: 0 !important;
}
.clearfix::after {
@@ -5442,6 +5871,10 @@ a.bg-dark:focus, a.bg-dark:hover {
display: table !important;
}
+.d-table-row {
+ display: table-row !important;
+}
+
.d-table-cell {
display: table-cell !important;
}
@@ -5472,6 +5905,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-sm-table {
display: table !important;
}
+ .d-sm-table-row {
+ display: table-row !important;
+ }
.d-sm-table-cell {
display: table-cell !important;
}
@@ -5501,6 +5937,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-md-table {
display: table !important;
}
+ .d-md-table-row {
+ display: table-row !important;
+ }
.d-md-table-cell {
display: table-cell !important;
}
@@ -5530,6 +5969,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-lg-table {
display: table !important;
}
+ .d-lg-table-row {
+ display: table-row !important;
+ }
.d-lg-table-cell {
display: table-cell !important;
}
@@ -5559,6 +6001,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-xl-table {
display: table !important;
}
+ .d-xl-table-row {
+ display: table-row !important;
+ }
.d-xl-table-cell {
display: table-cell !important;
}
@@ -6332,10 +6777,31 @@ a.bg-dark:focus, a.bg-dark:hover {
}
}
-.fixed-top {
- position: fixed;
- top: 0;
- right: 0;
+.position-static {
+ position: static !important;
+}
+
+.position-relative {
+ position: relative !important;
+}
+
+.position-absolute {
+ position: absolute !important;
+}
+
+.position-fixed {
+ position: fixed !important;
+}
+
+.position-sticky {
+ position: -webkit-sticky !important;
+ position: sticky !important;
+}
+
+.fixed-top {
+ position: fixed;
+ top: 0;
+ right: 0;
left: 0;
z-index: 1030;
}
@@ -6425,1598 +6891,1312 @@ a.bg-dark:focus, a.bg-dark:hover {
margin: 0 !important;
}
-.mt-0 {
+.mt-0,
+.my-0 {
margin-top: 0 !important;
}
-.mr-0 {
+.mr-0,
+.mx-0 {
margin-right: 0 !important;
}
-.mb-0 {
+.mb-0,
+.my-0 {
margin-bottom: 0 !important;
}
-.ml-0 {
- margin-left: 0 !important;
-}
-
+.ml-0,
.mx-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
-.my-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
-}
-
.m-1 {
margin: 0.25rem !important;
}
-.mt-1 {
+.mt-1,
+.my-1 {
margin-top: 0.25rem !important;
}
-.mr-1 {
+.mr-1,
+.mx-1 {
margin-right: 0.25rem !important;
}
-.mb-1 {
+.mb-1,
+.my-1 {
margin-bottom: 0.25rem !important;
}
-.ml-1 {
- margin-left: 0.25rem !important;
-}
-
+.ml-1,
.mx-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
-.my-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
-}
-
.m-2 {
margin: 0.5rem !important;
}
-.mt-2 {
+.mt-2,
+.my-2 {
margin-top: 0.5rem !important;
}
-.mr-2 {
+.mr-2,
+.mx-2 {
margin-right: 0.5rem !important;
}
-.mb-2 {
+.mb-2,
+.my-2 {
margin-bottom: 0.5rem !important;
}
-.ml-2 {
- margin-left: 0.5rem !important;
-}
-
+.ml-2,
.mx-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
-.my-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
-}
-
.m-3 {
margin: 1rem !important;
}
-.mt-3 {
+.mt-3,
+.my-3 {
margin-top: 1rem !important;
}
-.mr-3 {
+.mr-3,
+.mx-3 {
margin-right: 1rem !important;
}
-.mb-3 {
+.mb-3,
+.my-3 {
margin-bottom: 1rem !important;
}
-.ml-3 {
- margin-left: 1rem !important;
-}
-
+.ml-3,
.mx-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
-.my-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
-}
-
.m-4 {
margin: 1.5rem !important;
}
-.mt-4 {
+.mt-4,
+.my-4 {
margin-top: 1.5rem !important;
}
-.mr-4 {
+.mr-4,
+.mx-4 {
margin-right: 1.5rem !important;
}
-.mb-4 {
+.mb-4,
+.my-4 {
margin-bottom: 1.5rem !important;
}
-.ml-4 {
- margin-left: 1.5rem !important;
-}
-
+.ml-4,
.mx-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
-.my-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
-}
-
.m-5 {
margin: 3rem !important;
}
-.mt-5 {
+.mt-5,
+.my-5 {
margin-top: 3rem !important;
}
-.mr-5 {
+.mr-5,
+.mx-5 {
margin-right: 3rem !important;
}
-.mb-5 {
+.mb-5,
+.my-5 {
margin-bottom: 3rem !important;
}
-.ml-5 {
- margin-left: 3rem !important;
-}
-
+.ml-5,
.mx-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
-.my-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
-}
-
.p-0 {
padding: 0 !important;
}
-.pt-0 {
+.pt-0,
+.py-0 {
padding-top: 0 !important;
}
-.pr-0 {
+.pr-0,
+.px-0 {
padding-right: 0 !important;
}
-.pb-0 {
+.pb-0,
+.py-0 {
padding-bottom: 0 !important;
}
-.pl-0 {
- padding-left: 0 !important;
-}
-
+.pl-0,
.px-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
-.py-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
-}
-
.p-1 {
padding: 0.25rem !important;
}
-.pt-1 {
+.pt-1,
+.py-1 {
padding-top: 0.25rem !important;
}
-.pr-1 {
+.pr-1,
+.px-1 {
padding-right: 0.25rem !important;
}
-.pb-1 {
+.pb-1,
+.py-1 {
padding-bottom: 0.25rem !important;
}
-.pl-1 {
- padding-left: 0.25rem !important;
-}
-
+.pl-1,
.px-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
-.py-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
-}
-
.p-2 {
padding: 0.5rem !important;
}
-.pt-2 {
+.pt-2,
+.py-2 {
padding-top: 0.5rem !important;
}
-.pr-2 {
+.pr-2,
+.px-2 {
padding-right: 0.5rem !important;
}
-.pb-2 {
+.pb-2,
+.py-2 {
padding-bottom: 0.5rem !important;
}
-.pl-2 {
- padding-left: 0.5rem !important;
-}
-
+.pl-2,
.px-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
-.py-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
-}
-
.p-3 {
padding: 1rem !important;
}
-.pt-3 {
+.pt-3,
+.py-3 {
padding-top: 1rem !important;
}
-.pr-3 {
+.pr-3,
+.px-3 {
padding-right: 1rem !important;
}
-.pb-3 {
+.pb-3,
+.py-3 {
padding-bottom: 1rem !important;
}
-.pl-3 {
- padding-left: 1rem !important;
-}
-
+.pl-3,
.px-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
-.py-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
-}
-
.p-4 {
padding: 1.5rem !important;
}
-.pt-4 {
+.pt-4,
+.py-4 {
padding-top: 1.5rem !important;
}
-.pr-4 {
+.pr-4,
+.px-4 {
padding-right: 1.5rem !important;
}
-.pb-4 {
+.pb-4,
+.py-4 {
padding-bottom: 1.5rem !important;
}
-.pl-4 {
- padding-left: 1.5rem !important;
-}
-
+.pl-4,
.px-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
-.py-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
-}
-
.p-5 {
padding: 3rem !important;
}
-.pt-5 {
+.pt-5,
+.py-5 {
padding-top: 3rem !important;
}
-.pr-5 {
+.pr-5,
+.px-5 {
padding-right: 3rem !important;
}
-.pb-5 {
+.pb-5,
+.py-5 {
padding-bottom: 3rem !important;
}
-.pl-5 {
- padding-left: 3rem !important;
-}
-
+.pl-5,
.px-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
-.py-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
-}
-
.m-auto {
margin: auto !important;
}
-.mt-auto {
+.mt-auto,
+.my-auto {
margin-top: auto !important;
}
-.mr-auto {
+.mr-auto,
+.mx-auto {
margin-right: auto !important;
}
-.mb-auto {
+.mb-auto,
+.my-auto {
margin-bottom: auto !important;
}
-.ml-auto {
- margin-left: auto !important;
-}
-
+.ml-auto,
.mx-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
-.my-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
-}
-
@media (min-width: 576px) {
.m-sm-0 {
margin: 0 !important;
}
- .mt-sm-0 {
+ .mt-sm-0,
+ .my-sm-0 {
margin-top: 0 !important;
}
- .mr-sm-0 {
+ .mr-sm-0,
+ .mx-sm-0 {
margin-right: 0 !important;
}
- .mb-sm-0 {
+ .mb-sm-0,
+ .my-sm-0 {
margin-bottom: 0 !important;
}
- .ml-sm-0 {
- margin-left: 0 !important;
- }
+ .ml-sm-0,
.mx-sm-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-sm-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-sm-1 {
margin: 0.25rem !important;
}
- .mt-sm-1 {
+ .mt-sm-1,
+ .my-sm-1 {
margin-top: 0.25rem !important;
}
- .mr-sm-1 {
+ .mr-sm-1,
+ .mx-sm-1 {
margin-right: 0.25rem !important;
}
- .mb-sm-1 {
+ .mb-sm-1,
+ .my-sm-1 {
margin-bottom: 0.25rem !important;
}
- .ml-sm-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-sm-1,
.mx-sm-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-sm-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-sm-2 {
margin: 0.5rem !important;
}
- .mt-sm-2 {
+ .mt-sm-2,
+ .my-sm-2 {
margin-top: 0.5rem !important;
}
- .mr-sm-2 {
+ .mr-sm-2,
+ .mx-sm-2 {
margin-right: 0.5rem !important;
}
- .mb-sm-2 {
+ .mb-sm-2,
+ .my-sm-2 {
margin-bottom: 0.5rem !important;
}
- .ml-sm-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-sm-2,
.mx-sm-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-sm-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-sm-3 {
margin: 1rem !important;
}
- .mt-sm-3 {
+ .mt-sm-3,
+ .my-sm-3 {
margin-top: 1rem !important;
}
- .mr-sm-3 {
+ .mr-sm-3,
+ .mx-sm-3 {
margin-right: 1rem !important;
}
- .mb-sm-3 {
+ .mb-sm-3,
+ .my-sm-3 {
margin-bottom: 1rem !important;
}
- .ml-sm-3 {
- margin-left: 1rem !important;
- }
+ .ml-sm-3,
.mx-sm-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-sm-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-sm-4 {
margin: 1.5rem !important;
}
- .mt-sm-4 {
+ .mt-sm-4,
+ .my-sm-4 {
margin-top: 1.5rem !important;
}
- .mr-sm-4 {
+ .mr-sm-4,
+ .mx-sm-4 {
margin-right: 1.5rem !important;
}
- .mb-sm-4 {
+ .mb-sm-4,
+ .my-sm-4 {
margin-bottom: 1.5rem !important;
}
- .ml-sm-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-sm-4,
.mx-sm-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-sm-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-sm-5 {
margin: 3rem !important;
}
- .mt-sm-5 {
+ .mt-sm-5,
+ .my-sm-5 {
margin-top: 3rem !important;
}
- .mr-sm-5 {
+ .mr-sm-5,
+ .mx-sm-5 {
margin-right: 3rem !important;
}
- .mb-sm-5 {
+ .mb-sm-5,
+ .my-sm-5 {
margin-bottom: 3rem !important;
}
- .ml-sm-5 {
- margin-left: 3rem !important;
- }
+ .ml-sm-5,
.mx-sm-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-sm-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-sm-0 {
padding: 0 !important;
}
- .pt-sm-0 {
+ .pt-sm-0,
+ .py-sm-0 {
padding-top: 0 !important;
}
- .pr-sm-0 {
+ .pr-sm-0,
+ .px-sm-0 {
padding-right: 0 !important;
}
- .pb-sm-0 {
+ .pb-sm-0,
+ .py-sm-0 {
padding-bottom: 0 !important;
}
- .pl-sm-0 {
- padding-left: 0 !important;
- }
+ .pl-sm-0,
.px-sm-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-sm-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-sm-1 {
padding: 0.25rem !important;
}
- .pt-sm-1 {
+ .pt-sm-1,
+ .py-sm-1 {
padding-top: 0.25rem !important;
}
- .pr-sm-1 {
+ .pr-sm-1,
+ .px-sm-1 {
padding-right: 0.25rem !important;
}
- .pb-sm-1 {
+ .pb-sm-1,
+ .py-sm-1 {
padding-bottom: 0.25rem !important;
}
- .pl-sm-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-sm-1,
.px-sm-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-sm-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-sm-2 {
padding: 0.5rem !important;
}
- .pt-sm-2 {
+ .pt-sm-2,
+ .py-sm-2 {
padding-top: 0.5rem !important;
}
- .pr-sm-2 {
+ .pr-sm-2,
+ .px-sm-2 {
padding-right: 0.5rem !important;
}
- .pb-sm-2 {
+ .pb-sm-2,
+ .py-sm-2 {
padding-bottom: 0.5rem !important;
}
- .pl-sm-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-sm-2,
.px-sm-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-sm-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-sm-3 {
padding: 1rem !important;
}
- .pt-sm-3 {
+ .pt-sm-3,
+ .py-sm-3 {
padding-top: 1rem !important;
}
- .pr-sm-3 {
+ .pr-sm-3,
+ .px-sm-3 {
padding-right: 1rem !important;
}
- .pb-sm-3 {
+ .pb-sm-3,
+ .py-sm-3 {
padding-bottom: 1rem !important;
}
- .pl-sm-3 {
- padding-left: 1rem !important;
- }
+ .pl-sm-3,
.px-sm-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-sm-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-sm-4 {
padding: 1.5rem !important;
}
- .pt-sm-4 {
+ .pt-sm-4,
+ .py-sm-4 {
padding-top: 1.5rem !important;
}
- .pr-sm-4 {
+ .pr-sm-4,
+ .px-sm-4 {
padding-right: 1.5rem !important;
}
- .pb-sm-4 {
+ .pb-sm-4,
+ .py-sm-4 {
padding-bottom: 1.5rem !important;
}
- .pl-sm-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-sm-4,
.px-sm-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-sm-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-sm-5 {
padding: 3rem !important;
}
- .pt-sm-5 {
+ .pt-sm-5,
+ .py-sm-5 {
padding-top: 3rem !important;
}
- .pr-sm-5 {
+ .pr-sm-5,
+ .px-sm-5 {
padding-right: 3rem !important;
}
- .pb-sm-5 {
+ .pb-sm-5,
+ .py-sm-5 {
padding-bottom: 3rem !important;
}
- .pl-sm-5 {
- padding-left: 3rem !important;
- }
+ .pl-sm-5,
.px-sm-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-sm-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-sm-auto {
margin: auto !important;
}
- .mt-sm-auto {
+ .mt-sm-auto,
+ .my-sm-auto {
margin-top: auto !important;
}
- .mr-sm-auto {
+ .mr-sm-auto,
+ .mx-sm-auto {
margin-right: auto !important;
}
- .mb-sm-auto {
+ .mb-sm-auto,
+ .my-sm-auto {
margin-bottom: auto !important;
}
- .ml-sm-auto {
- margin-left: auto !important;
- }
+ .ml-sm-auto,
.mx-sm-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-sm-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 768px) {
.m-md-0 {
margin: 0 !important;
}
- .mt-md-0 {
+ .mt-md-0,
+ .my-md-0 {
margin-top: 0 !important;
}
- .mr-md-0 {
+ .mr-md-0,
+ .mx-md-0 {
margin-right: 0 !important;
}
- .mb-md-0 {
+ .mb-md-0,
+ .my-md-0 {
margin-bottom: 0 !important;
}
- .ml-md-0 {
- margin-left: 0 !important;
- }
+ .ml-md-0,
.mx-md-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-md-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-md-1 {
margin: 0.25rem !important;
}
- .mt-md-1 {
+ .mt-md-1,
+ .my-md-1 {
margin-top: 0.25rem !important;
}
- .mr-md-1 {
+ .mr-md-1,
+ .mx-md-1 {
margin-right: 0.25rem !important;
}
- .mb-md-1 {
+ .mb-md-1,
+ .my-md-1 {
margin-bottom: 0.25rem !important;
}
- .ml-md-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-md-1,
.mx-md-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-md-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-md-2 {
margin: 0.5rem !important;
}
- .mt-md-2 {
+ .mt-md-2,
+ .my-md-2 {
margin-top: 0.5rem !important;
}
- .mr-md-2 {
+ .mr-md-2,
+ .mx-md-2 {
margin-right: 0.5rem !important;
}
- .mb-md-2 {
+ .mb-md-2,
+ .my-md-2 {
margin-bottom: 0.5rem !important;
}
- .ml-md-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-md-2,
.mx-md-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-md-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-md-3 {
margin: 1rem !important;
}
- .mt-md-3 {
+ .mt-md-3,
+ .my-md-3 {
margin-top: 1rem !important;
}
- .mr-md-3 {
+ .mr-md-3,
+ .mx-md-3 {
margin-right: 1rem !important;
}
- .mb-md-3 {
+ .mb-md-3,
+ .my-md-3 {
margin-bottom: 1rem !important;
}
- .ml-md-3 {
- margin-left: 1rem !important;
- }
+ .ml-md-3,
.mx-md-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-md-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-md-4 {
margin: 1.5rem !important;
}
- .mt-md-4 {
+ .mt-md-4,
+ .my-md-4 {
margin-top: 1.5rem !important;
}
- .mr-md-4 {
+ .mr-md-4,
+ .mx-md-4 {
margin-right: 1.5rem !important;
}
- .mb-md-4 {
+ .mb-md-4,
+ .my-md-4 {
margin-bottom: 1.5rem !important;
}
- .ml-md-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-md-4,
.mx-md-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-md-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-md-5 {
margin: 3rem !important;
}
- .mt-md-5 {
+ .mt-md-5,
+ .my-md-5 {
margin-top: 3rem !important;
}
- .mr-md-5 {
+ .mr-md-5,
+ .mx-md-5 {
margin-right: 3rem !important;
}
- .mb-md-5 {
+ .mb-md-5,
+ .my-md-5 {
margin-bottom: 3rem !important;
}
- .ml-md-5 {
- margin-left: 3rem !important;
- }
+ .ml-md-5,
.mx-md-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-md-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-md-0 {
padding: 0 !important;
}
- .pt-md-0 {
+ .pt-md-0,
+ .py-md-0 {
padding-top: 0 !important;
}
- .pr-md-0 {
+ .pr-md-0,
+ .px-md-0 {
padding-right: 0 !important;
}
- .pb-md-0 {
+ .pb-md-0,
+ .py-md-0 {
padding-bottom: 0 !important;
}
- .pl-md-0 {
- padding-left: 0 !important;
- }
+ .pl-md-0,
.px-md-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-md-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-md-1 {
padding: 0.25rem !important;
}
- .pt-md-1 {
+ .pt-md-1,
+ .py-md-1 {
padding-top: 0.25rem !important;
}
- .pr-md-1 {
+ .pr-md-1,
+ .px-md-1 {
padding-right: 0.25rem !important;
}
- .pb-md-1 {
+ .pb-md-1,
+ .py-md-1 {
padding-bottom: 0.25rem !important;
}
- .pl-md-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-md-1,
.px-md-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-md-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-md-2 {
padding: 0.5rem !important;
}
- .pt-md-2 {
+ .pt-md-2,
+ .py-md-2 {
padding-top: 0.5rem !important;
}
- .pr-md-2 {
+ .pr-md-2,
+ .px-md-2 {
padding-right: 0.5rem !important;
}
- .pb-md-2 {
+ .pb-md-2,
+ .py-md-2 {
padding-bottom: 0.5rem !important;
}
- .pl-md-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-md-2,
.px-md-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-md-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-md-3 {
padding: 1rem !important;
}
- .pt-md-3 {
+ .pt-md-3,
+ .py-md-3 {
padding-top: 1rem !important;
}
- .pr-md-3 {
+ .pr-md-3,
+ .px-md-3 {
padding-right: 1rem !important;
}
- .pb-md-3 {
+ .pb-md-3,
+ .py-md-3 {
padding-bottom: 1rem !important;
}
- .pl-md-3 {
- padding-left: 1rem !important;
- }
+ .pl-md-3,
.px-md-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-md-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-md-4 {
padding: 1.5rem !important;
}
- .pt-md-4 {
+ .pt-md-4,
+ .py-md-4 {
padding-top: 1.5rem !important;
}
- .pr-md-4 {
+ .pr-md-4,
+ .px-md-4 {
padding-right: 1.5rem !important;
}
- .pb-md-4 {
+ .pb-md-4,
+ .py-md-4 {
padding-bottom: 1.5rem !important;
}
- .pl-md-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-md-4,
.px-md-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-md-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-md-5 {
padding: 3rem !important;
}
- .pt-md-5 {
+ .pt-md-5,
+ .py-md-5 {
padding-top: 3rem !important;
}
- .pr-md-5 {
+ .pr-md-5,
+ .px-md-5 {
padding-right: 3rem !important;
}
- .pb-md-5 {
+ .pb-md-5,
+ .py-md-5 {
padding-bottom: 3rem !important;
}
- .pl-md-5 {
- padding-left: 3rem !important;
- }
+ .pl-md-5,
.px-md-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-md-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-md-auto {
margin: auto !important;
}
- .mt-md-auto {
+ .mt-md-auto,
+ .my-md-auto {
margin-top: auto !important;
}
- .mr-md-auto {
+ .mr-md-auto,
+ .mx-md-auto {
margin-right: auto !important;
}
- .mb-md-auto {
+ .mb-md-auto,
+ .my-md-auto {
margin-bottom: auto !important;
}
- .ml-md-auto {
- margin-left: auto !important;
- }
+ .ml-md-auto,
.mx-md-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-md-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 992px) {
.m-lg-0 {
margin: 0 !important;
}
- .mt-lg-0 {
+ .mt-lg-0,
+ .my-lg-0 {
margin-top: 0 !important;
}
- .mr-lg-0 {
+ .mr-lg-0,
+ .mx-lg-0 {
margin-right: 0 !important;
}
- .mb-lg-0 {
+ .mb-lg-0,
+ .my-lg-0 {
margin-bottom: 0 !important;
}
- .ml-lg-0 {
- margin-left: 0 !important;
- }
+ .ml-lg-0,
.mx-lg-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-lg-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-lg-1 {
margin: 0.25rem !important;
}
- .mt-lg-1 {
+ .mt-lg-1,
+ .my-lg-1 {
margin-top: 0.25rem !important;
}
- .mr-lg-1 {
+ .mr-lg-1,
+ .mx-lg-1 {
margin-right: 0.25rem !important;
}
- .mb-lg-1 {
+ .mb-lg-1,
+ .my-lg-1 {
margin-bottom: 0.25rem !important;
}
- .ml-lg-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-lg-1,
.mx-lg-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-lg-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-lg-2 {
margin: 0.5rem !important;
}
- .mt-lg-2 {
+ .mt-lg-2,
+ .my-lg-2 {
margin-top: 0.5rem !important;
}
- .mr-lg-2 {
+ .mr-lg-2,
+ .mx-lg-2 {
margin-right: 0.5rem !important;
}
- .mb-lg-2 {
+ .mb-lg-2,
+ .my-lg-2 {
margin-bottom: 0.5rem !important;
}
- .ml-lg-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-lg-2,
.mx-lg-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-lg-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-lg-3 {
margin: 1rem !important;
}
- .mt-lg-3 {
+ .mt-lg-3,
+ .my-lg-3 {
margin-top: 1rem !important;
}
- .mr-lg-3 {
+ .mr-lg-3,
+ .mx-lg-3 {
margin-right: 1rem !important;
}
- .mb-lg-3 {
+ .mb-lg-3,
+ .my-lg-3 {
margin-bottom: 1rem !important;
}
- .ml-lg-3 {
- margin-left: 1rem !important;
- }
+ .ml-lg-3,
.mx-lg-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-lg-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-lg-4 {
margin: 1.5rem !important;
}
- .mt-lg-4 {
+ .mt-lg-4,
+ .my-lg-4 {
margin-top: 1.5rem !important;
}
- .mr-lg-4 {
+ .mr-lg-4,
+ .mx-lg-4 {
margin-right: 1.5rem !important;
}
- .mb-lg-4 {
+ .mb-lg-4,
+ .my-lg-4 {
margin-bottom: 1.5rem !important;
}
- .ml-lg-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-lg-4,
.mx-lg-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-lg-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-lg-5 {
margin: 3rem !important;
}
- .mt-lg-5 {
+ .mt-lg-5,
+ .my-lg-5 {
margin-top: 3rem !important;
}
- .mr-lg-5 {
+ .mr-lg-5,
+ .mx-lg-5 {
margin-right: 3rem !important;
}
- .mb-lg-5 {
+ .mb-lg-5,
+ .my-lg-5 {
margin-bottom: 3rem !important;
}
- .ml-lg-5 {
- margin-left: 3rem !important;
- }
+ .ml-lg-5,
.mx-lg-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-lg-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-lg-0 {
padding: 0 !important;
}
- .pt-lg-0 {
+ .pt-lg-0,
+ .py-lg-0 {
padding-top: 0 !important;
}
- .pr-lg-0 {
+ .pr-lg-0,
+ .px-lg-0 {
padding-right: 0 !important;
}
- .pb-lg-0 {
+ .pb-lg-0,
+ .py-lg-0 {
padding-bottom: 0 !important;
}
- .pl-lg-0 {
- padding-left: 0 !important;
- }
+ .pl-lg-0,
.px-lg-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-lg-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-lg-1 {
padding: 0.25rem !important;
}
- .pt-lg-1 {
+ .pt-lg-1,
+ .py-lg-1 {
padding-top: 0.25rem !important;
}
- .pr-lg-1 {
+ .pr-lg-1,
+ .px-lg-1 {
padding-right: 0.25rem !important;
}
- .pb-lg-1 {
+ .pb-lg-1,
+ .py-lg-1 {
padding-bottom: 0.25rem !important;
}
- .pl-lg-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-lg-1,
.px-lg-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-lg-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-lg-2 {
padding: 0.5rem !important;
}
- .pt-lg-2 {
+ .pt-lg-2,
+ .py-lg-2 {
padding-top: 0.5rem !important;
}
- .pr-lg-2 {
+ .pr-lg-2,
+ .px-lg-2 {
padding-right: 0.5rem !important;
}
- .pb-lg-2 {
+ .pb-lg-2,
+ .py-lg-2 {
padding-bottom: 0.5rem !important;
}
- .pl-lg-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-lg-2,
.px-lg-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-lg-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-lg-3 {
padding: 1rem !important;
}
- .pt-lg-3 {
+ .pt-lg-3,
+ .py-lg-3 {
padding-top: 1rem !important;
}
- .pr-lg-3 {
+ .pr-lg-3,
+ .px-lg-3 {
padding-right: 1rem !important;
}
- .pb-lg-3 {
+ .pb-lg-3,
+ .py-lg-3 {
padding-bottom: 1rem !important;
}
- .pl-lg-3 {
- padding-left: 1rem !important;
- }
+ .pl-lg-3,
.px-lg-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-lg-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-lg-4 {
padding: 1.5rem !important;
}
- .pt-lg-4 {
+ .pt-lg-4,
+ .py-lg-4 {
padding-top: 1.5rem !important;
}
- .pr-lg-4 {
+ .pr-lg-4,
+ .px-lg-4 {
padding-right: 1.5rem !important;
}
- .pb-lg-4 {
+ .pb-lg-4,
+ .py-lg-4 {
padding-bottom: 1.5rem !important;
}
- .pl-lg-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-lg-4,
.px-lg-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-lg-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-lg-5 {
padding: 3rem !important;
}
- .pt-lg-5 {
+ .pt-lg-5,
+ .py-lg-5 {
padding-top: 3rem !important;
}
- .pr-lg-5 {
+ .pr-lg-5,
+ .px-lg-5 {
padding-right: 3rem !important;
}
- .pb-lg-5 {
+ .pb-lg-5,
+ .py-lg-5 {
padding-bottom: 3rem !important;
}
- .pl-lg-5 {
- padding-left: 3rem !important;
- }
+ .pl-lg-5,
.px-lg-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-lg-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-lg-auto {
margin: auto !important;
}
- .mt-lg-auto {
+ .mt-lg-auto,
+ .my-lg-auto {
margin-top: auto !important;
}
- .mr-lg-auto {
+ .mr-lg-auto,
+ .mx-lg-auto {
margin-right: auto !important;
}
- .mb-lg-auto {
+ .mb-lg-auto,
+ .my-lg-auto {
margin-bottom: auto !important;
}
- .ml-lg-auto {
- margin-left: auto !important;
- }
+ .ml-lg-auto,
.mx-lg-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-lg-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 1200px) {
.m-xl-0 {
margin: 0 !important;
}
- .mt-xl-0 {
+ .mt-xl-0,
+ .my-xl-0 {
margin-top: 0 !important;
}
- .mr-xl-0 {
+ .mr-xl-0,
+ .mx-xl-0 {
margin-right: 0 !important;
}
- .mb-xl-0 {
+ .mb-xl-0,
+ .my-xl-0 {
margin-bottom: 0 !important;
}
- .ml-xl-0 {
- margin-left: 0 !important;
- }
+ .ml-xl-0,
.mx-xl-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-xl-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-xl-1 {
margin: 0.25rem !important;
}
- .mt-xl-1 {
+ .mt-xl-1,
+ .my-xl-1 {
margin-top: 0.25rem !important;
}
- .mr-xl-1 {
+ .mr-xl-1,
+ .mx-xl-1 {
margin-right: 0.25rem !important;
}
- .mb-xl-1 {
+ .mb-xl-1,
+ .my-xl-1 {
margin-bottom: 0.25rem !important;
}
- .ml-xl-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-xl-1,
.mx-xl-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-xl-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-xl-2 {
margin: 0.5rem !important;
}
- .mt-xl-2 {
+ .mt-xl-2,
+ .my-xl-2 {
margin-top: 0.5rem !important;
}
- .mr-xl-2 {
+ .mr-xl-2,
+ .mx-xl-2 {
margin-right: 0.5rem !important;
}
- .mb-xl-2 {
+ .mb-xl-2,
+ .my-xl-2 {
margin-bottom: 0.5rem !important;
}
- .ml-xl-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-xl-2,
.mx-xl-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-xl-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-xl-3 {
margin: 1rem !important;
}
- .mt-xl-3 {
+ .mt-xl-3,
+ .my-xl-3 {
margin-top: 1rem !important;
}
- .mr-xl-3 {
+ .mr-xl-3,
+ .mx-xl-3 {
margin-right: 1rem !important;
}
- .mb-xl-3 {
+ .mb-xl-3,
+ .my-xl-3 {
margin-bottom: 1rem !important;
}
- .ml-xl-3 {
- margin-left: 1rem !important;
- }
+ .ml-xl-3,
.mx-xl-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-xl-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-xl-4 {
margin: 1.5rem !important;
}
- .mt-xl-4 {
+ .mt-xl-4,
+ .my-xl-4 {
margin-top: 1.5rem !important;
}
- .mr-xl-4 {
+ .mr-xl-4,
+ .mx-xl-4 {
margin-right: 1.5rem !important;
}
- .mb-xl-4 {
+ .mb-xl-4,
+ .my-xl-4 {
margin-bottom: 1.5rem !important;
}
- .ml-xl-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-xl-4,
.mx-xl-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-xl-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-xl-5 {
margin: 3rem !important;
}
- .mt-xl-5 {
+ .mt-xl-5,
+ .my-xl-5 {
margin-top: 3rem !important;
}
- .mr-xl-5 {
+ .mr-xl-5,
+ .mx-xl-5 {
margin-right: 3rem !important;
}
- .mb-xl-5 {
+ .mb-xl-5,
+ .my-xl-5 {
margin-bottom: 3rem !important;
}
- .ml-xl-5 {
- margin-left: 3rem !important;
- }
+ .ml-xl-5,
.mx-xl-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-xl-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-xl-0 {
padding: 0 !important;
}
- .pt-xl-0 {
+ .pt-xl-0,
+ .py-xl-0 {
padding-top: 0 !important;
}
- .pr-xl-0 {
+ .pr-xl-0,
+ .px-xl-0 {
padding-right: 0 !important;
}
- .pb-xl-0 {
+ .pb-xl-0,
+ .py-xl-0 {
padding-bottom: 0 !important;
}
- .pl-xl-0 {
- padding-left: 0 !important;
- }
+ .pl-xl-0,
.px-xl-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-xl-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-xl-1 {
padding: 0.25rem !important;
}
- .pt-xl-1 {
+ .pt-xl-1,
+ .py-xl-1 {
padding-top: 0.25rem !important;
}
- .pr-xl-1 {
+ .pr-xl-1,
+ .px-xl-1 {
padding-right: 0.25rem !important;
}
- .pb-xl-1 {
+ .pb-xl-1,
+ .py-xl-1 {
padding-bottom: 0.25rem !important;
}
- .pl-xl-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-xl-1,
.px-xl-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-xl-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-xl-2 {
padding: 0.5rem !important;
}
- .pt-xl-2 {
+ .pt-xl-2,
+ .py-xl-2 {
padding-top: 0.5rem !important;
}
- .pr-xl-2 {
+ .pr-xl-2,
+ .px-xl-2 {
padding-right: 0.5rem !important;
}
- .pb-xl-2 {
+ .pb-xl-2,
+ .py-xl-2 {
padding-bottom: 0.5rem !important;
}
- .pl-xl-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-xl-2,
.px-xl-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-xl-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-xl-3 {
padding: 1rem !important;
}
- .pt-xl-3 {
+ .pt-xl-3,
+ .py-xl-3 {
padding-top: 1rem !important;
}
- .pr-xl-3 {
+ .pr-xl-3,
+ .px-xl-3 {
padding-right: 1rem !important;
}
- .pb-xl-3 {
+ .pb-xl-3,
+ .py-xl-3 {
padding-bottom: 1rem !important;
}
- .pl-xl-3 {
- padding-left: 1rem !important;
- }
+ .pl-xl-3,
.px-xl-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-xl-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-xl-4 {
padding: 1.5rem !important;
}
- .pt-xl-4 {
+ .pt-xl-4,
+ .py-xl-4 {
padding-top: 1.5rem !important;
}
- .pr-xl-4 {
+ .pr-xl-4,
+ .px-xl-4 {
padding-right: 1.5rem !important;
}
- .pb-xl-4 {
+ .pb-xl-4,
+ .py-xl-4 {
padding-bottom: 1.5rem !important;
}
- .pl-xl-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-xl-4,
.px-xl-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-xl-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-xl-5 {
padding: 3rem !important;
}
- .pt-xl-5 {
+ .pt-xl-5,
+ .py-xl-5 {
padding-top: 3rem !important;
}
- .pr-xl-5 {
+ .pr-xl-5,
+ .px-xl-5 {
padding-right: 3rem !important;
}
- .pb-xl-5 {
+ .pb-xl-5,
+ .py-xl-5 {
padding-bottom: 3rem !important;
}
- .pl-xl-5 {
- padding-left: 3rem !important;
- }
+ .pl-xl-5,
.px-xl-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-xl-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-xl-auto {
margin: auto !important;
}
- .mt-xl-auto {
+ .mt-xl-auto,
+ .my-xl-auto {
margin-top: auto !important;
}
- .mr-xl-auto {
+ .mr-xl-auto,
+ .mx-xl-auto {
margin-right: auto !important;
}
- .mb-xl-auto {
+ .mb-xl-auto,
+ .my-xl-auto {
margin-bottom: auto !important;
}
- .ml-xl-auto {
- margin-left: auto !important;
- }
+ .ml-xl-auto,
.mx-xl-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-xl-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
.text-justify {
@@ -8105,16 +8285,20 @@ a.bg-dark:focus, a.bg-dark:hover {
text-transform: capitalize !important;
}
+.font-weight-light {
+ font-weight: 300 !important;
+}
+
.font-weight-normal {
- font-weight: normal;
+ font-weight: 400 !important;
}
.font-weight-bold {
- font-weight: bold;
+ font-weight: 700 !important;
}
.font-italic {
- font-style: italic;
+ font-style: italic !important;
}
.text-white {
@@ -8272,7 +8456,7 @@ Todo: check, if this is needed? (It doesn't work with the build system)
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link {
- color: white;
+ color: #fff;
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link:hover, .tobago-bar.navbar-dark .navbar-brand > .tobago-link:focus {
@@ -8484,8 +8668,8 @@ table.tobago-gridLayout > tbody > tr:first-child > td {
/* image ----------------------------------------------------------- */
.tobago-image-markup-disabled {
- -webkit-filter: blur(2px) contrast(0.5) brightness(1.2);
- filter: blur(2px) contrast(0.5) brightness(1.2);
+ -webkit-filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
+ filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
}
/* in ----------------------------------------------------------- */
@@ -8867,14 +9051,14 @@ h1 > .fa:first-child, h2 > .fa:first-child, h3 > .fa:first-child, h4 > .fa:first
/* inline */
.tobago-selectBooleanCheckbox.form-check {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
margin-bottom: 0;
}
.tobago-selectManyCheckbox-inline, .tobago-selectOneRadio-inline {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
}
.tobago-selectManyCheckbox-inline .form-check.form-check-inline, .tobago-selectOneRadio-inline .form-check.form-check-inline {
diff --git a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css.map b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css.map
index f4534ed..6e5432e 100644
--- a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css.map
+++ b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.css.map
@@ -1 +1 @@
-{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixi [...]
\ No newline at end of file
+{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_root.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_gri [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css
index 934c4a1..c8467c7 100644
--- a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css
+++ b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td, [...]
+ */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#868e96;--gray-dark:#343a40;--primary:#007bff;--secondary:#868e96;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-s [...]
/*# sourceMappingURL=bootstrap.min.css.map */
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css.map b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css.map
index 227a23e..5c1da5f 100644
--- a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css.map
+++ b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/css/bootstrap.min.css.map
@@ -1 +1 @@
-{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../s [...]
\ No newline at end of file
+{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_root.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_br [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/js/bootstrap.js b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/js/bootstrap.js
index 7597fb3..630a9e0 100644
--- a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/js/bootstrap.js
+++ b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/js/bootstrap.js
@@ -1,63 +1,39 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-if (typeof jQuery === 'undefined') {
- throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
-}
-
-(function ($) {
- var version = $.fn.jquery.split(' ')[0].split('.')
- if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 4)) {
- throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')
- }
-})(jQuery);
-
-(function () {
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap = (function (exports,$,Popper) {
+'use strict';
-var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) [...]
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
+Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): util.js
+ * Bootstrap (v4.0.0-beta.2): util.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Util = function ($) {
-
+var Util = function () {
/**
* ------------------------------------------------------------------------
* Private TransitionEnd Helpers
* ------------------------------------------------------------------------
*/
-
var transition = false;
-
var MAX_UID = 1000000;
-
var TransitionEndEvent = {
WebkitTransition: 'webkitTransitionEnd',
MozTransition: 'transitionend',
OTransition: 'oTransitionEnd otransitionend',
- transition: 'transitionend'
+ transition: 'transitionend' // shoutout AngusCroll (https://goo.gl/pxwQGp)
- // shoutout AngusCroll (https://goo.gl/pxwQGp)
- };function toType(obj) {
- return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
- }
+ };
- function isElement(obj) {
- return (obj[0] || obj).nodeType;
+ function toType(obj) {
+ return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
}
function getSpecialTransitionEndEvent() {
@@ -68,7 +44,8 @@ var Util = function ($) {
if ($(event.target).is(this)) {
return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
}
- return undefined;
+
+ return undefined; // eslint-disable-line no-undefined
}
};
}
@@ -81,7 +58,7 @@ var Util = function ($) {
var el = document.createElement('bootstrap');
for (var name in TransitionEndEvent) {
- if (el.style[name] !== undefined) {
+ if (typeof el.style[name] !== 'undefined') {
return {
end: TransitionEndEvent[name]
};
@@ -95,55 +72,51 @@ var Util = function ($) {
var _this = this;
var called = false;
-
$(this).one(Util.TRANSITION_END, function () {
called = true;
});
-
setTimeout(function () {
if (!called) {
Util.triggerTransitionEnd(_this);
}
}, duration);
-
return this;
}
function setTransitionEndSupport() {
transition = transitionEndTest();
-
$.fn.emulateTransitionEnd = transitionEndEmulator;
if (Util.supportsTransitionEnd()) {
$.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
}
}
-
/**
* --------------------------------------------------------------------------
* Public Util Api
* --------------------------------------------------------------------------
*/
- var Util = {
+ var Util = {
TRANSITION_END: 'bsTransitionEnd',
-
getUID: function getUID(prefix) {
do {
// eslint-disable-next-line no-bitwise
prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
+
return prefix;
},
getSelectorFromElement: function getSelectorFromElement(element) {
var selector = element.getAttribute('data-target');
+
if (!selector || selector === '#') {
selector = element.getAttribute('href') || '';
}
try {
- var $selector = $(selector);
+ var $selector = $(document).find(selector);
return $selector.length > 0 ? selector : null;
} catch (error) {
return null;
@@ -158,64 +131,85 @@ var Util = function ($) {
supportsTransitionEnd: function supportsTransitionEnd() {
return Boolean(transition);
},
+ isElement: function isElement(obj) {
+ return (obj[0] || obj).nodeType;
+ },
typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) {
for (var property in configTypes) {
- if (configTypes.hasOwnProperty(property)) {
+ if (Object.prototype.hasOwnProperty.call(configTypes, property)) {
var expectedTypes = configTypes[property];
var value = config[property];
- var valueType = value && isElement(value) ? 'element' : toType(value);
+ var valueType = value && Util.isElement(value) ? 'element' : toType(value);
if (!new RegExp(expectedTypes).test(valueType)) {
- throw new Error(componentName.toUpperCase() + ': ' + ('Option "' + property + '" provided type "' + valueType + '" ') + ('but expected type "' + expectedTypes + '".'));
+ throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\"."));
}
}
}
}
};
-
setTransitionEndSupport();
-
return Util;
-}(jQuery);
+}($);
+
+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);
+ }
+}
+
+function _createClass(Constructor, protoProps, staticProps) {
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
+ if (staticProps) _defineProperties(Constructor, staticProps);
+ return Constructor;
+}
+
+var createClass = _createClass;
+
+function _inheritsLoose(subClass, superClass) {
+ subClass.prototype = Object.create(superClass.prototype);
+ subClass.prototype.constructor = subClass;
+ subClass.__proto__ = superClass;
+}
+
+var inheritsLoose = _inheritsLoose;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): alert.js
+ * Bootstrap (v4.0.0-beta.2): alert.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Alert = function ($) {
-
+var Alert = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'alert';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.alert';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 150;
-
var Selector = {
DISMISS: '[data-dismiss="alert"]'
};
-
var Event = {
- CLOSE: 'close' + EVENT_KEY,
- CLOSED: 'closed' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ CLOSE: "close" + EVENT_KEY,
+ CLOSED: "closed" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
ALERT: 'alert',
FADE: 'fade',
SHOW: 'show'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -223,21 +217,23 @@ var Alert = function ($) {
*/
};
- var Alert = function () {
- function Alert(element) {
- _classCallCheck(this, Alert);
+ var Alert =
+ /*#__PURE__*/
+ function () {
+ function Alert(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Alert.prototype;
- Alert.prototype.close = function close(element) {
+ // public
+ _proto.close = function close(element) {
element = element || this._element;
var rootElement = this._getRootElement(element);
+
var customEvent = this._triggerCloseEvent(rootElement);
if (customEvent.isDefaultPrevented()) {
@@ -247,14 +243,13 @@ var Alert = function ($) {
this._removeElement(rootElement);
};
- Alert.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // private
- // private
- Alert.prototype._getRootElement = function _getRootElement(element) {
+ _proto._getRootElement = function _getRootElement(element) {
var selector = Util.getSelectorFromElement(element);
var parent = false;
@@ -263,39 +258,38 @@ var Alert = function ($) {
}
if (!parent) {
- parent = $(element).closest('.' + ClassName.ALERT)[0];
+ parent = $(element).closest("." + ClassName.ALERT)[0];
}
return parent;
};
- Alert.prototype._triggerCloseEvent = function _triggerCloseEvent(element) {
+ _proto._triggerCloseEvent = function _triggerCloseEvent(element) {
var closeEvent = $.Event(Event.CLOSE);
-
$(element).trigger(closeEvent);
return closeEvent;
};
- Alert.prototype._removeElement = function _removeElement(element) {
- var _this2 = this;
+ _proto._removeElement = function _removeElement(element) {
+ var _this = this;
$(element).removeClass(ClassName.SHOW);
if (!Util.supportsTransitionEnd() || !$(element).hasClass(ClassName.FADE)) {
this._destroyElement(element);
+
return;
}
$(element).one(Util.TRANSITION_END, function (event) {
- return _this2._destroyElement(element, event);
+ return _this._destroyElement(element, event);
}).emulateTransitionEnd(TRANSITION_DURATION);
};
- Alert.prototype._destroyElement = function _destroyElement(element) {
+ _proto._destroyElement = function _destroyElement(element) {
$(element).detach().trigger(Event.CLOSED).remove();
- };
+ }; // static
- // static
Alert._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -323,24 +317,22 @@ var Alert = function ($) {
};
};
- _createClass(Alert, null, [{
- key: 'VERSION',
+ createClass(Alert, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Alert;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
+ $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
/**
* ------------------------------------------------------------------------
* jQuery
@@ -349,42 +341,39 @@ var Alert = function ($) {
$.fn[NAME] = Alert._jQueryInterface;
$.fn[NAME].Constructor = Alert;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Alert._jQueryInterface;
};
return Alert;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): button.js
+ * Bootstrap (v4.0.0-beta.2): button.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Button = function ($) {
-
+var Button = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'button';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.button';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
-
var ClassName = {
ACTIVE: 'active',
BUTTON: 'btn',
FOCUS: 'focus'
};
-
var Selector = {
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
DATA_TOGGLE: '[data-toggle="buttons"]',
@@ -392,11 +381,9 @@ var Button = function ($) {
ACTIVE: '.active',
BUTTON: '.btn'
};
-
var Event = {
- 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)
-
+ 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)
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -404,18 +391,19 @@ var Button = function ($) {
*/
};
- var Button = function () {
- function Button(element) {
- _classCallCheck(this, Button);
+ var Button =
+ /*#__PURE__*/
+ function () {
+ function Button(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Button.prototype;
- Button.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
var triggerChangeEvent = true;
var addAriaPressed = true;
var rootElement = $(this._element).closest(Selector.DATA_TOGGLE)[0];
@@ -440,6 +428,7 @@ var Button = function ($) {
if (input.hasAttribute('disabled') || rootElement.hasAttribute('disabled') || input.classList.contains('disabled') || rootElement.classList.contains('disabled')) {
return;
}
+
input.checked = !$(this._element).hasClass(ClassName.ACTIVE);
$(input).trigger('change');
}
@@ -458,12 +447,11 @@ var Button = function ($) {
}
};
- Button.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // static
- // static
Button._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -480,25 +468,23 @@ var Button = function ($) {
});
};
- _createClass(Button, null, [{
- key: 'VERSION',
+ createClass(Button, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Button;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) {
event.preventDefault();
-
var button = event.target;
if (!$(button).hasClass(ClassName.BUTTON)) {
@@ -510,7 +496,6 @@ var Button = function ($) {
var button = $(event.target).closest(Selector.BUTTON)[0];
$(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type));
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -519,38 +504,39 @@ var Button = function ($) {
$.fn[NAME] = Button._jQueryInterface;
$.fn[NAME].Constructor = Button;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Button._jQueryInterface;
};
return Button;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): carousel.js
+ * Bootstrap (v4.0.0-beta.2): carousel.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Carousel = function ($) {
-
+var Carousel = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'carousel';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.carousel';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
var ARROW_LEFT_KEYCODE = 37; // KeyboardEvent.which value for left arrow key
+
var ARROW_RIGHT_KEYCODE = 39; // KeyboardEvent.which value for right arrow key
+
var TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch
var Default = {
@@ -560,7 +546,6 @@ var Carousel = function ($) {
pause: 'hover',
wrap: true
};
-
var DefaultType = {
interval: '(number|boolean)',
keyboard: 'boolean',
@@ -568,25 +553,22 @@ var Carousel = function ($) {
pause: '(string|boolean)',
wrap: 'boolean'
};
-
var Direction = {
NEXT: 'next',
PREV: 'prev',
LEFT: 'left',
RIGHT: 'right'
};
-
var Event = {
- SLIDE: 'slide' + EVENT_KEY,
- SLID: 'slid' + EVENT_KEY,
- KEYDOWN: 'keydown' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY,
- TOUCHEND: 'touchend' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SLIDE: "slide" + EVENT_KEY,
+ SLID: "slid" + EVENT_KEY,
+ KEYDOWN: "keydown" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY,
+ TOUCHEND: "touchend" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
CAROUSEL: 'carousel',
ACTIVE: 'active',
@@ -597,7 +579,6 @@ var Carousel = function ($) {
PREV: 'carousel-item-prev',
ITEM: 'carousel-item'
};
-
var Selector = {
ACTIVE: '.active',
ACTIVE_ITEM: '.active.carousel-item',
@@ -606,7 +587,6 @@ var Carousel = function ($) {
INDICATORS: '.carousel-indicators',
DATA_SLIDE: '[data-slide], [data-slide-to]',
DATA_RIDE: '[data-ride="carousel"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -614,50 +594,49 @@ var Carousel = function ($) {
*/
};
- var Carousel = function () {
- function Carousel(element, config) {
- _classCallCheck(this, Carousel);
+ var Carousel =
+ /*#__PURE__*/
+ function () {
+ function Carousel(element, config) {
this._items = null;
this._interval = null;
this._activeElement = null;
-
this._isPaused = false;
this._isSliding = false;
-
this.touchTimeout = null;
-
this._config = this._getConfig(config);
this._element = $(element)[0];
this._indicatorsElement = $(this._element).find(Selector.INDICATORS)[0];
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Carousel.prototype;
- Carousel.prototype.next = function next() {
+ // public
+ _proto.next = function next() {
if (!this._isSliding) {
this._slide(Direction.NEXT);
}
};
- Carousel.prototype.nextWhenVisible = function nextWhenVisible() {
+ _proto.nextWhenVisible = function nextWhenVisible() {
// Don't call next when the page isn't visible
- if (!document.hidden) {
+ // or the carousel or its parent isn't visible
+ if (!document.hidden && $(this._element).is(':visible') && $(this._element).css('visibility') !== 'hidden') {
this.next();
}
};
- Carousel.prototype.prev = function prev() {
+ _proto.prev = function prev() {
if (!this._isSliding) {
this._slide(Direction.PREV);
}
};
- Carousel.prototype.pause = function pause(event) {
+ _proto.pause = function pause(event) {
if (!event) {
this._isPaused = true;
}
@@ -671,7 +650,7 @@ var Carousel = function ($) {
this._interval = null;
};
- Carousel.prototype.cycle = function cycle(event) {
+ _proto.cycle = function cycle(event) {
if (!event) {
this._isPaused = false;
}
@@ -686,8 +665,8 @@ var Carousel = function ($) {
}
};
- Carousel.prototype.to = function to(index) {
- var _this3 = this;
+ _proto.to = function to(index) {
+ var _this = this;
this._activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
@@ -699,7 +678,7 @@ var Carousel = function ($) {
if (this._isSliding) {
$(this._element).one(Event.SLID, function () {
- return _this3.to(index);
+ return _this.to(index);
});
return;
}
@@ -715,10 +694,9 @@ var Carousel = function ($) {
this._slide(direction, this._items[index]);
};
- Carousel.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$(this._element).off(EVENT_KEY);
$.removeData(this._element, DATA_KEY);
-
this._items = null;
this._config = null;
this._element = null;
@@ -727,31 +705,31 @@ var Carousel = function ($) {
this._isSliding = null;
this._activeElement = null;
this._indicatorsElement = null;
- };
+ }; // private
- // private
- Carousel.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Carousel.prototype._addEventListeners = function _addEventListeners() {
- var _this4 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this2 = this;
if (this._config.keyboard) {
$(this._element).on(Event.KEYDOWN, function (event) {
- return _this4._keydown(event);
+ return _this2._keydown(event);
});
}
if (this._config.pause === 'hover') {
$(this._element).on(Event.MOUSEENTER, function (event) {
- return _this4.pause(event);
+ return _this2.pause(event);
}).on(Event.MOUSELEAVE, function (event) {
- return _this4.cycle(event);
+ return _this2.cycle(event);
});
+
if ('ontouchstart' in document.documentElement) {
// if it's a touch-enabled device, mouseenter/leave are fired as
// part of the mouse compatibility events on first tap - the carousel
@@ -761,19 +739,21 @@ var Carousel = function ($) {
// is NOT fired) and after a timeout (to allow for mouse compatibility
// events to fire) we explicitly restart cycling
$(this._element).on(Event.TOUCHEND, function () {
- _this4.pause();
- if (_this4.touchTimeout) {
- clearTimeout(_this4.touchTimeout);
+ _this2.pause();
+
+ if (_this2.touchTimeout) {
+ clearTimeout(_this2.touchTimeout);
}
- _this4.touchTimeout = setTimeout(function (event) {
- return _this4.cycle(event);
- }, TOUCHEVENT_COMPAT_WAIT + _this4._config.interval);
+
+ _this2.touchTimeout = setTimeout(function (event) {
+ return _this2.cycle(event);
+ }, TOUCHEVENT_COMPAT_WAIT + _this2._config.interval);
});
}
}
};
- Carousel.prototype._keydown = function _keydown(event) {
+ _proto._keydown = function _keydown(event) {
if (/input|textarea/i.test(event.target.tagName)) {
return;
}
@@ -783,24 +763,28 @@ var Carousel = function ($) {
event.preventDefault();
this.prev();
break;
+
case ARROW_RIGHT_KEYCODE:
event.preventDefault();
this.next();
break;
+
default:
return;
}
};
- Carousel.prototype._getItemIndex = function _getItemIndex(element) {
+ _proto._getItemIndex = function _getItemIndex(element) {
this._items = $.makeArray($(element).parent().find(Selector.ITEM));
return this._items.indexOf(element);
};
- Carousel.prototype._getItemByDirection = function _getItemByDirection(direction, activeElement) {
+ _proto._getItemByDirection = function _getItemByDirection(direction, activeElement) {
var isNextDirection = direction === Direction.NEXT;
var isPrevDirection = direction === Direction.PREV;
+
var activeIndex = this._getItemIndex(activeElement);
+
var lastItemIndex = this._items.length - 1;
var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex;
@@ -810,26 +794,25 @@ var Carousel = function ($) {
var delta = direction === Direction.PREV ? -1 : 1;
var itemIndex = (activeIndex + delta) % this._items.length;
-
return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex];
};
- Carousel.prototype._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
+ _proto._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
var targetIndex = this._getItemIndex(relatedTarget);
+
var fromIndex = this._getItemIndex($(this._element).find(Selector.ACTIVE_ITEM)[0]);
+
var slideEvent = $.Event(Event.SLIDE, {
relatedTarget: relatedTarget,
direction: eventDirectionName,
from: fromIndex,
to: targetIndex
});
-
$(this._element).trigger(slideEvent);
-
return slideEvent;
};
- Carousel.prototype._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
+ _proto._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
if (this._indicatorsElement) {
$(this._indicatorsElement).find(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
@@ -841,18 +824,21 @@ var Carousel = function ($) {
}
};
- Carousel.prototype._slide = function _slide(direction, element) {
- var _this5 = this;
+ _proto._slide = function _slide(direction, element) {
+ var _this3 = this;
var activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
+
var activeElementIndex = this._getItemIndex(activeElement);
+
var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement);
+
var nextElementIndex = this._getItemIndex(nextElement);
- var isCycling = Boolean(this._interval);
- var directionalClassName = void 0;
- var orderClassName = void 0;
- var eventDirectionName = void 0;
+ var isCycling = Boolean(this._interval);
+ var directionalClassName;
+ var orderClassName;
+ var eventDirectionName;
if (direction === Direction.NEXT) {
directionalClassName = ClassName.LEFT;
@@ -870,6 +856,7 @@ var Carousel = function ($) {
}
var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);
+
if (slideEvent.isDefaultPrevented()) {
return;
}
@@ -895,29 +882,21 @@ var Carousel = function ($) {
});
if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.SLIDE)) {
-
$(nextElement).addClass(orderClassName);
-
Util.reflow(nextElement);
-
$(activeElement).addClass(directionalClassName);
$(nextElement).addClass(directionalClassName);
-
$(activeElement).one(Util.TRANSITION_END, function () {
- $(nextElement).removeClass(directionalClassName + ' ' + orderClassName).addClass(ClassName.ACTIVE);
-
- $(activeElement).removeClass(ClassName.ACTIVE + ' ' + orderClassName + ' ' + directionalClassName);
-
- _this5._isSliding = false;
-
+ $(nextElement).removeClass(directionalClassName + " " + orderClassName).addClass(ClassName.ACTIVE);
+ $(activeElement).removeClass(ClassName.ACTIVE + " " + orderClassName + " " + directionalClassName);
+ _this3._isSliding = false;
setTimeout(function () {
- return $(_this5._element).trigger(slidEvent);
+ return $(_this3._element).trigger(slidEvent);
}, 0);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
$(activeElement).removeClass(ClassName.ACTIVE);
$(nextElement).addClass(ClassName.ACTIVE);
-
this._isSliding = false;
$(this._element).trigger(slidEvent);
}
@@ -925,16 +904,16 @@ var Carousel = function ($) {
if (isCycling) {
this.cycle();
}
- };
+ }; // static
- // static
Carousel._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
+
var _config = $.extend({}, Default, $(this).data());
- if ((typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object') {
+ if (typeof config === 'object') {
$.extend(_config, config);
}
@@ -948,9 +927,10 @@ var Carousel = function ($) {
if (typeof config === 'number') {
data.to(config);
} else if (typeof action === 'string') {
- if (data[action] === undefined) {
- throw new Error('No method named "' + action + '"');
+ if (typeof data[action] === 'undefined') {
+ throw new Error("No method named \"" + action + "\"");
}
+
data[action]();
} else if (_config.interval) {
data.pause();
@@ -988,36 +968,34 @@ var Carousel = function ($) {
event.preventDefault();
};
- _createClass(Carousel, null, [{
- key: 'VERSION',
+ createClass(Carousel, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Carousel;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
$(window).on(Event.LOAD_DATA_API, function () {
$(Selector.DATA_RIDE).each(function () {
var $carousel = $(this);
+
Carousel._jQueryInterface.call($carousel, $carousel.data());
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1026,71 +1004,63 @@ var Carousel = function ($) {
$.fn[NAME] = Carousel._jQueryInterface;
$.fn[NAME].Constructor = Carousel;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Carousel._jQueryInterface;
};
return Carousel;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): collapse.js
+ * Bootstrap (v4.0.0-beta.2): collapse.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Collapse = function ($) {
-
+var Collapse = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'collapse';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.collapse';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
-
var Default = {
toggle: true,
parent: ''
};
-
var DefaultType = {
toggle: 'boolean',
- parent: 'string'
+ parent: '(string|element)'
};
-
var Event = {
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SHOW: 'show',
COLLAPSE: 'collapse',
COLLAPSING: 'collapsing',
COLLAPSED: 'collapsed'
};
-
var Dimension = {
WIDTH: 'width',
HEIGHT: 'height'
};
-
var Selector = {
ACTIVES: '.show, .collapsing',
DATA_TOGGLE: '[data-toggle="collapse"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1098,18 +1068,21 @@ var Collapse = function ($) {
*/
};
- var Collapse = function () {
- function Collapse(element, config) {
- _classCallCheck(this, Collapse);
+ var Collapse =
+ /*#__PURE__*/
+ function () {
+ function Collapse(element, config) {
this._isTransitioning = false;
this._element = element;
this._config = this._getConfig(config);
- this._triggerArray = $.makeArray($('[data-toggle="collapse"][href="#' + element.id + '"],' + ('[data-toggle="collapse"][data-target="#' + element.id + '"]')));
+ this._triggerArray = $.makeArray($("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
var tabToggles = $(Selector.DATA_TOGGLE);
+
for (var i = 0; i < tabToggles.length; i++) {
var elem = tabToggles[i];
var selector = Util.getSelectorFromElement(elem);
+
if (selector !== null && $(selector).filter(element).length > 0) {
this._triggerArray.push(elem);
}
@@ -1124,13 +1097,13 @@ var Collapse = function ($) {
if (this._config.toggle) {
this.toggle();
}
- }
+ } // getters
- // getters
- // public
+ var _proto = Collapse.prototype;
- Collapse.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if ($(this._element).hasClass(ClassName.SHOW)) {
this.hide();
} else {
@@ -1138,18 +1111,19 @@ var Collapse = function ($) {
}
};
- Collapse.prototype.show = function show() {
- var _this6 = this;
+ _proto.show = function show() {
+ var _this = this;
if (this._isTransitioning || $(this._element).hasClass(ClassName.SHOW)) {
return;
}
- var actives = void 0;
- var activesData = void 0;
+ var actives;
+ var activesData;
if (this._parent) {
actives = $.makeArray($(this._parent).children().children(Selector.ACTIVES));
+
if (!actives.length) {
actives = null;
}
@@ -1157,6 +1131,7 @@ var Collapse = function ($) {
if (actives) {
activesData = $(actives).data(DATA_KEY);
+
if (activesData && activesData._isTransitioning) {
return;
}
@@ -1164,12 +1139,14 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.SHOW);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
if (actives) {
Collapse._jQueryInterface.call($(actives), 'hide');
+
if (!activesData) {
$(actives).data(DATA_KEY, null);
}
@@ -1178,7 +1155,6 @@ var Collapse = function ($) {
var dimension = this._getDimension();
$(this._element).removeClass(ClassName.COLLAPSE).addClass(ClassName.COLLAPSING);
-
this._element.style[dimension] = 0;
if (this._triggerArray.length) {
@@ -1188,13 +1164,12 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- $(_this6._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
-
- _this6._element.style[dimension] = '';
+ $(_this._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
+ _this._element.style[dimension] = '';
- _this6.setTransitioning(false);
+ _this.setTransitioning(false);
- $(_this6._element).trigger(Event.SHOWN);
+ $(_this._element).trigger(Event.SHOWN);
};
if (!Util.supportsTransitionEnd()) {
@@ -1203,15 +1178,13 @@ var Collapse = function ($) {
}
var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);
- var scrollSize = 'scroll' + capitalizedDimension;
-
+ var scrollSize = "scroll" + capitalizedDimension;
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
-
- this._element.style[dimension] = this._element[scrollSize] + 'px';
+ this._element.style[dimension] = this._element[scrollSize] + "px";
};
- Collapse.prototype.hide = function hide() {
- var _this7 = this;
+ _proto.hide = function hide() {
+ var _this2 = this;
if (this._isTransitioning || !$(this._element).hasClass(ClassName.SHOW)) {
return;
@@ -1219,24 +1192,25 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.HIDE);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
var dimension = this._getDimension();
- this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + 'px';
-
+ this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + "px";
Util.reflow(this._element);
-
$(this._element).addClass(ClassName.COLLAPSING).removeClass(ClassName.COLLAPSE).removeClass(ClassName.SHOW);
if (this._triggerArray.length) {
for (var i = 0; i < this._triggerArray.length; i++) {
var trigger = this._triggerArray[i];
var selector = Util.getSelectorFromElement(trigger);
+
if (selector !== null) {
var $elem = $(selector);
+
if (!$elem.hasClass(ClassName.SHOW)) {
$(trigger).addClass(ClassName.COLLAPSED).attr('aria-expanded', false);
}
@@ -1247,8 +1221,9 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- _this7.setTransitioning(false);
- $(_this7._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
+ _this2.setTransitioning(false);
+
+ $(_this2._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
};
this._element.style[dimension] = '';
@@ -1261,48 +1236,56 @@ var Collapse = function ($) {
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
};
- Collapse.prototype.setTransitioning = function setTransitioning(isTransitioning) {
+ _proto.setTransitioning = function setTransitioning(isTransitioning) {
this._isTransitioning = isTransitioning;
};
- Collapse.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
this._config = null;
this._parent = null;
this._element = null;
this._triggerArray = null;
this._isTransitioning = null;
- };
+ }; // private
- // private
- Collapse.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
config.toggle = Boolean(config.toggle); // coerce string values
+
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Collapse.prototype._getDimension = function _getDimension() {
+ _proto._getDimension = function _getDimension() {
var hasWidth = $(this._element).hasClass(Dimension.WIDTH);
return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT;
};
- Collapse.prototype._getParent = function _getParent() {
- var _this8 = this;
+ _proto._getParent = function _getParent() {
+ var _this3 = this;
+
+ var parent = null;
- var parent = $(this._config.parent)[0];
- var selector = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]';
+ if (Util.isElement(this._config.parent)) {
+ parent = this._config.parent; // it's a jQuery object
+
+ if (typeof this._config.parent.jquery !== 'undefined') {
+ parent = this._config.parent[0];
+ }
+ } else {
+ parent = $(this._config.parent)[0];
+ }
+ var selector = "[data-toggle=\"collapse\"][data-parent=\"" + this._config.parent + "\"]";
$(parent).find(selector).each(function (i, element) {
- _this8._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
+ _this3._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
});
-
return parent;
};
- Collapse.prototype._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
+ _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
if (element) {
var isOpen = $(element).hasClass(ClassName.SHOW);
@@ -1310,9 +1293,8 @@ var Collapse = function ($) {
$(triggerArray).toggleClass(ClassName.COLLAPSED, !isOpen).attr('aria-expanded', isOpen);
}
}
- };
+ }; // static
- // static
Collapse._getTargetFromElement = function _getTargetFromElement(element) {
var selector = Util.getSelectorFromElement(element);
@@ -1323,7 +1305,8 @@ var Collapse = function ($) {
return this.each(function () {
var $this = $(this);
var data = $this.data(DATA_KEY);
- var _config = $.extend({}, Default, $this.data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Default, $this.data(), typeof config === 'object' && config);
if (!data && _config.toggle && /show|hide/.test(config)) {
_config.toggle = false;
@@ -1335,37 +1318,38 @@ var Collapse = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Collapse, null, [{
- key: 'VERSION',
+ createClass(Collapse, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Collapse;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- if (!/input|textarea/i.test(event.target.tagName)) {
+ // preventDefault only for <a> elements (which change the URL) not inside the collapsible element
+ if (event.currentTarget.tagName === 'A') {
event.preventDefault();
}
@@ -1375,10 +1359,10 @@ var Collapse = function ($) {
var $target = $(this);
var data = $target.data(DATA_KEY);
var config = data ? 'toggle' : $trigger.data();
+
Collapse._jQueryInterface.call($target, config);
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1387,25 +1371,23 @@ var Collapse = function ($) {
$.fn[NAME] = Collapse._jQueryInterface;
$.fn[NAME].Constructor = Collapse;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Collapse._jQueryInterface;
};
return Collapse;
-}(jQuery);
-
-/* global Popper */
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): dropdown.js
+ * Bootstrap (v4.0.0-beta.2): dropdown.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Dropdown = function ($) {
-
+var Dropdown = function () {
/**
* Check for Popper dependency
* Popper - https://popper.js.org
@@ -1413,38 +1395,42 @@ var Dropdown = function ($) {
if (typeof Popper === 'undefined') {
throw new Error('Bootstrap dropdown require Popper.js (https://popper.js.org)');
}
-
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
+
var NAME = 'dropdown';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.dropdown';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key
+
var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key
+
var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key
+
var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key
+
var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key
+
var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse)
- var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + '|' + ARROW_DOWN_KEYCODE + '|' + ESCAPE_KEYCODE);
+ var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + "|" + ARROW_DOWN_KEYCODE + "|" + ESCAPE_KEYCODE);
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
- KEYDOWN_DATA_API: 'keydown' + EVENT_KEY + DATA_API_KEY,
- KEYUP_DATA_API: 'keyup' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY,
+ KEYDOWN_DATA_API: "keydown" + EVENT_KEY + DATA_API_KEY,
+ KEYUP_DATA_API: "keyup" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
DISABLED: 'disabled',
SHOW: 'show',
@@ -1452,7 +1438,6 @@ var Dropdown = function ($) {
MENURIGHT: 'dropdown-menu-right',
MENULEFT: 'dropdown-menu-left'
};
-
var Selector = {
DATA_TOGGLE: '[data-toggle="dropdown"]',
FORM_CHILD: '.dropdown form',
@@ -1460,25 +1445,19 @@ var Dropdown = function ($) {
NAVBAR_NAV: '.navbar-nav',
VISIBLE_ITEMS: '.dropdown-menu .dropdown-item:not(.disabled)'
};
-
var AttachmentMap = {
TOP: 'top-start',
TOPEND: 'top-end',
BOTTOM: 'bottom-start',
BOTTOMEND: 'bottom-end'
};
-
var Default = {
- placement: AttachmentMap.BOTTOM,
offset: 0,
flip: true
};
-
var DefaultType = {
- placement: 'string',
- offset: '(number|string)',
+ offset: '(number|string|function)',
flip: 'boolean'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1486,10 +1465,11 @@ var Dropdown = function ($) {
*/
};
- var Dropdown = function () {
- function Dropdown(element, config) {
- _classCallCheck(this, Dropdown);
+ var Dropdown =
+ /*#__PURE__*/
+ function () {
+ function Dropdown(element, config) {
this._element = element;
this._popper = null;
this._config = this._getConfig(config);
@@ -1497,18 +1477,19 @@ var Dropdown = function ($) {
this._inNavbar = this._detectNavbar();
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Dropdown.prototype;
- Dropdown.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if (this._element.disabled || $(this._element).hasClass(ClassName.DISABLED)) {
return;
}
var parent = Dropdown._getParentFromElement(this._element);
+
var isActive = $(this._menu).hasClass(ClassName.SHOW);
Dropdown._clearMenus();
@@ -1521,135 +1502,147 @@ var Dropdown = function ($) {
relatedTarget: this._element
};
var showEvent = $.Event(Event.SHOW, relatedTarget);
-
$(parent).trigger(showEvent);
if (showEvent.isDefaultPrevented()) {
return;
}
- 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
+
if ($(parent).hasClass(ClassName.DROPUP)) {
if ($(this._menu).hasClass(ClassName.MENULEFT) || $(this._menu).hasClass(ClassName.MENURIGHT)) {
element = parent;
}
}
- this._popper = new Popper(element, this._menu, this._getPopperConfig());
- // if this is a touch-enabled device we add extra
+ this._popper = new Popper(element, this._menu, this._getPopperConfig()); // if this is a touch-enabled device we add extra
// empty mouseover listeners to the body's immediate children;
// only needed because of broken event delegation on iOS
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
+
if ('ontouchstart' in document.documentElement && !$(parent).closest(Selector.NAVBAR_NAV).length) {
$('body').children().on('mouseover', null, $.noop);
}
this._element.focus();
+
this._element.setAttribute('aria-expanded', true);
$(this._menu).toggleClass(ClassName.SHOW);
$(parent).toggleClass(ClassName.SHOW).trigger($.Event(Event.SHOWN, relatedTarget));
};
- Dropdown.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
$(this._element).off(EVENT_KEY);
this._element = null;
this._menu = null;
+
if (this._popper !== null) {
this._popper.destroy();
}
+
this._popper = null;
};
- Dropdown.prototype.update = function update() {
+ _proto.update = function update() {
this._inNavbar = this._detectNavbar();
+
if (this._popper !== null) {
this._popper.scheduleUpdate();
}
- };
+ }; // private
- // private
- Dropdown.prototype._addEventListeners = function _addEventListeners() {
- var _this9 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this = this;
$(this._element).on(Event.CLICK, function (event) {
event.preventDefault();
event.stopPropagation();
- _this9.toggle();
+
+ _this.toggle();
});
};
- Dropdown.prototype._getConfig = function _getConfig(config) {
- var elementData = $(this._element).data();
- if (elementData.placement !== undefined) {
- elementData.placement = AttachmentMap[elementData.placement.toUpperCase()];
- }
-
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
-
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
-
return config;
};
- Dropdown.prototype._getMenuElement = function _getMenuElement() {
+ _proto._getMenuElement = function _getMenuElement() {
if (!this._menu) {
var parent = Dropdown._getParentFromElement(this._element);
+
this._menu = $(parent).find(Selector.MENU)[0];
}
+
return this._menu;
};
- Dropdown.prototype._getPlacement = function _getPlacement() {
+ _proto._getPlacement = function _getPlacement() {
var $parentDropdown = $(this._element).parent();
- var placement = this._config.placement;
+ var placement = AttachmentMap.BOTTOM; // Handle dropup
- // Handle dropup
- if ($parentDropdown.hasClass(ClassName.DROPUP) || this._config.placement === AttachmentMap.TOP) {
+ if ($parentDropdown.hasClass(ClassName.DROPUP)) {
placement = AttachmentMap.TOP;
+
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.TOPEND;
}
} else if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.BOTTOMEND;
}
+
return placement;
};
- Dropdown.prototype._detectNavbar = function _detectNavbar() {
+ _proto._detectNavbar = function _detectNavbar() {
return $(this._element).closest('.navbar').length > 0;
};
- Dropdown.prototype._getPopperConfig = function _getPopperConfig() {
+ _proto._getPopperConfig = function _getPopperConfig() {
+ var _this2 = this;
+
+ var offsetConf = {};
+
+ if (typeof this._config.offset === 'function') {
+ offsetConf.fn = function (data) {
+ data.offsets = $.extend({}, data.offsets, _this2._config.offset(data.offsets) || {});
+ return data;
+ };
+ } else {
+ offsetConf.offset = this._config.offset;
+ }
+
var popperConfig = {
placement: this._getPlacement(),
modifiers: {
- offset: {
- offset: this._config.offset
- },
+ offset: offsetConf,
flip: {
enabled: this._config.flip
}
- }
+ } // Disable Popper.js for Dropdown in Navbar
+
+ };
- // Disable Popper.js for Dropdown in Navbar
- };if (this._inNavbar) {
+ if (this._inNavbar) {
popperConfig.modifiers.applyStyle = {
enabled: !this._inNavbar
};
}
+
return popperConfig;
- };
+ }; // static
- // static
Dropdown._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+
+ var _config = typeof config === 'object' ? config : null;
if (!data) {
data = new Dropdown(this, _config);
@@ -1657,9 +1650,10 @@ var Dropdown = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
@@ -1671,8 +1665,10 @@ var Dropdown = function ($) {
}
var toggles = $.makeArray($(Selector.DATA_TOGGLE));
+
for (var i = 0; i < toggles.length; i++) {
var parent = Dropdown._getParentFromElement(toggles[i]);
+
var context = $(toggles[i]).data(DATA_KEY);
var relatedTarget = {
relatedTarget: toggles[i]
@@ -1683,6 +1679,7 @@ var Dropdown = function ($) {
}
var dropdownMenu = context._menu;
+
if (!$(parent).hasClass(ClassName.SHOW)) {
continue;
}
@@ -1693,25 +1690,25 @@ var Dropdown = function ($) {
var hideEvent = $.Event(Event.HIDE, relatedTarget);
$(parent).trigger(hideEvent);
+
if (hideEvent.isDefaultPrevented()) {
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
+
+
if ('ontouchstart' in document.documentElement) {
$('body').children().off('mouseover', null, $.noop);
}
toggles[i].setAttribute('aria-expanded', 'false');
-
$(dropdownMenu).removeClass(ClassName.SHOW);
$(parent).removeClass(ClassName.SHOW).trigger($.Event(Event.HIDDEN, relatedTarget));
}
};
Dropdown._getParentFromElement = function _getParentFromElement(element) {
- var parent = void 0;
+ var parent;
var selector = Util.getSelectorFromElement(element);
if (selector) {
@@ -1734,10 +1731,10 @@ var Dropdown = function ($) {
}
var parent = Dropdown._getParentFromElement(this);
+
var isActive = $(parent).hasClass(ClassName.SHOW);
if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
-
if (event.which === ESCAPE_KEYCODE) {
var toggle = $(parent).find(Selector.DATA_TOGGLE)[0];
$(toggle).trigger('focus');
@@ -1772,40 +1769,39 @@ var Dropdown = function ($) {
items[index].focus();
};
- _createClass(Dropdown, null, [{
- key: 'VERSION',
+ createClass(Dropdown, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}, {
- key: 'DefaultType',
+ key: "DefaultType",
get: function get() {
return DefaultType;
}
}]);
-
return Dropdown;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + ' ' + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+
+ $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + " " + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
event.preventDefault();
event.stopPropagation();
+
Dropdown._jQueryInterface.call($(this), 'toggle');
}).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) {
e.stopPropagation();
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1814,33 +1810,32 @@ var Dropdown = function ($) {
$.fn[NAME] = Dropdown._jQueryInterface;
$.fn[NAME].Constructor = Dropdown;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Dropdown._jQueryInterface;
};
return Dropdown;
-}(jQuery);
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): modal.js
+ * Bootstrap (v4.0.0-beta.2): modal.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Modal = function ($) {
-
+var Modal = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'modal';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.modal';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 300;
@@ -1853,28 +1848,25 @@ var Modal = function ($) {
focus: true,
show: true
};
-
var DefaultType = {
backdrop: '(boolean|string)',
keyboard: 'boolean',
focus: 'boolean',
show: 'boolean'
};
-
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- RESIZE: 'resize' + EVENT_KEY,
- CLICK_DISMISS: 'click.dismiss' + EVENT_KEY,
- KEYDOWN_DISMISS: 'keydown.dismiss' + EVENT_KEY,
- MOUSEUP_DISMISS: 'mouseup.dismiss' + EVENT_KEY,
- MOUSEDOWN_DISMISS: 'mousedown.dismiss' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ RESIZE: "resize" + EVENT_KEY,
+ CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
+ KEYDOWN_DISMISS: "keydown.dismiss" + EVENT_KEY,
+ MOUSEUP_DISMISS: "mouseup.dismiss" + EVENT_KEY,
+ MOUSEDOWN_DISMISS: "mousedown.dismiss" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SCROLLBAR_MEASURER: 'modal-scrollbar-measure',
BACKDROP: 'modal-backdrop',
@@ -1882,14 +1874,13 @@ var Modal = function ($) {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
DIALOG: '.modal-dialog',
DATA_TOGGLE: '[data-toggle="modal"]',
DATA_DISMISS: '[data-dismiss="modal"]',
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
+ STICKY_CONTENT: '.sticky-top',
NAVBAR_TOGGLER: '.navbar-toggler'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1897,10 +1888,11 @@ var Modal = function ($) {
*/
};
- var Modal = function () {
- function Modal(element, config) {
- _classCallCheck(this, Modal);
+ var Modal =
+ /*#__PURE__*/
+ function () {
+ function Modal(element, config) {
this._config = this._getConfig(config);
this._element = element;
this._dialog = $(element).find(Selector.DIALOG)[0];
@@ -1910,20 +1902,20 @@ var Modal = function ($) {
this._ignoreBackdropClick = false;
this._originalBodyPadding = 0;
this._scrollbarWidth = 0;
- }
+ } // getters
- // getters
- // public
+ var _proto = Modal.prototype;
- Modal.prototype.toggle = function toggle(relatedTarget) {
+ // public
+ _proto.toggle = function toggle(relatedTarget) {
return this._isShown ? this.hide() : this.show(relatedTarget);
};
- Modal.prototype.show = function show(relatedTarget) {
- var _this10 = this;
+ _proto.show = function show(relatedTarget) {
+ var _this = this;
- if (this._isTransitioning) {
+ if (this._isTransitioning || this._isShown) {
return;
}
@@ -1934,7 +1926,6 @@ var Modal = function ($) {
var showEvent = $.Event(Event.SHOW, {
relatedTarget: relatedTarget
});
-
$(this._element).trigger(showEvent);
if (this._isShown || showEvent.isDefaultPrevented()) {
@@ -1944,32 +1935,35 @@ var Modal = function ($) {
this._isShown = true;
this._checkScrollbar();
+
this._setScrollbar();
+ this._adjustDialog();
+
$(document.body).addClass(ClassName.OPEN);
this._setEscapeEvent();
+
this._setResizeEvent();
$(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function (event) {
- return _this10.hide(event);
+ return _this.hide(event);
});
-
$(this._dialog).on(Event.MOUSEDOWN_DISMISS, function () {
- $(_this10._element).one(Event.MOUSEUP_DISMISS, function (event) {
- if ($(event.target).is(_this10._element)) {
- _this10._ignoreBackdropClick = true;
+ $(_this._element).one(Event.MOUSEUP_DISMISS, function (event) {
+ if ($(event.target).is(_this._element)) {
+ _this._ignoreBackdropClick = true;
}
});
});
this._showBackdrop(function () {
- return _this10._showElement(relatedTarget);
+ return _this._showElement(relatedTarget);
});
};
- Modal.prototype.hide = function hide(event) {
- var _this11 = this;
+ _proto.hide = function hide(event) {
+ var _this2 = this;
if (event) {
event.preventDefault();
@@ -1979,14 +1973,7 @@ var Modal = function ($) {
return;
}
- var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
-
- if (transition) {
- this._isTransitioning = true;
- }
-
var hideEvent = $.Event(Event.HIDE);
-
$(this._element).trigger(hideEvent);
if (!this._isShown || hideEvent.isDefaultPrevented()) {
@@ -1994,32 +1981,33 @@ var Modal = function ($) {
}
this._isShown = false;
+ var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
+
+ if (transition) {
+ this._isTransitioning = true;
+ }
this._setEscapeEvent();
+
this._setResizeEvent();
$(document).off(Event.FOCUSIN);
-
$(this._element).removeClass(ClassName.SHOW);
-
$(this._element).off(Event.CLICK_DISMISS);
$(this._dialog).off(Event.MOUSEDOWN_DISMISS);
if (transition) {
-
$(this._element).one(Util.TRANSITION_END, function (event) {
- return _this11._hideModal(event);
+ return _this2._hideModal(event);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
this._hideModal();
}
};
- Modal.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
$(window, document, this._element, this._backdrop).off(EVENT_KEY);
-
this._config = null;
this._element = null;
this._dialog = null;
@@ -2030,20 +2018,19 @@ var Modal = function ($) {
this._scrollbarWidth = null;
};
- Modal.prototype.handleUpdate = function handleUpdate() {
+ _proto.handleUpdate = function handleUpdate() {
this._adjustDialog();
- };
+ }; // private
- // private
- Modal.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Modal.prototype._showElement = function _showElement(relatedTarget) {
- var _this12 = this;
+ _proto._showElement = function _showElement(relatedTarget) {
+ var _this3 = this;
var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
@@ -2053,7 +2040,9 @@ var Modal = function ($) {
}
this._element.style.display = 'block';
+
this._element.removeAttribute('aria-hidden');
+
this._element.scrollTop = 0;
if (transition) {
@@ -2071,11 +2060,12 @@ var Modal = function ($) {
});
var transitionComplete = function transitionComplete() {
- if (_this12._config.focus) {
- _this12._element.focus();
+ if (_this3._config.focus) {
+ _this3._element.focus();
}
- _this12._isTransitioning = false;
- $(_this12._element).trigger(shownEvent);
+
+ _this3._isTransitioning = false;
+ $(_this3._element).trigger(shownEvent);
};
if (transition) {
@@ -2085,25 +2075,26 @@ var Modal = function ($) {
}
};
- Modal.prototype._enforceFocus = function _enforceFocus() {
- var _this13 = this;
+ _proto._enforceFocus = function _enforceFocus() {
+ var _this4 = this;
$(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) {
- if (document !== event.target && _this13._element !== event.target && !$(_this13._element).has(event.target).length) {
- _this13._element.focus();
+ if (document !== event.target && _this4._element !== event.target && !$(_this4._element).has(event.target).length) {
+ _this4._element.focus();
}
});
};
- Modal.prototype._setEscapeEvent = function _setEscapeEvent() {
- var _this14 = this;
+ _proto._setEscapeEvent = function _setEscapeEvent() {
+ var _this5 = this;
if (this._isShown && this._config.keyboard) {
$(this._element).on(Event.KEYDOWN_DISMISS, function (event) {
if (event.which === ESCAPE_KEYCODE) {
event.preventDefault();
- _this14.hide();
+
+ _this5.hide();
}
});
} else if (!this._isShown) {
@@ -2111,47 +2102,52 @@ var Modal = function ($) {
}
};
- Modal.prototype._setResizeEvent = function _setResizeEvent() {
- var _this15 = this;
+ _proto._setResizeEvent = function _setResizeEvent() {
+ var _this6 = this;
if (this._isShown) {
$(window).on(Event.RESIZE, function (event) {
- return _this15.handleUpdate(event);
+ return _this6.handleUpdate(event);
});
} else {
$(window).off(Event.RESIZE);
}
};
- Modal.prototype._hideModal = function _hideModal() {
- var _this16 = this;
+ _proto._hideModal = function _hideModal() {
+ var _this7 = this;
this._element.style.display = 'none';
+
this._element.setAttribute('aria-hidden', true);
+
this._isTransitioning = false;
+
this._showBackdrop(function () {
$(document.body).removeClass(ClassName.OPEN);
- _this16._resetAdjustments();
- _this16._resetScrollbar();
- $(_this16._element).trigger(Event.HIDDEN);
+
+ _this7._resetAdjustments();
+
+ _this7._resetScrollbar();
+
+ $(_this7._element).trigger(Event.HIDDEN);
});
};
- Modal.prototype._removeBackdrop = function _removeBackdrop() {
+ _proto._removeBackdrop = function _removeBackdrop() {
if (this._backdrop) {
$(this._backdrop).remove();
this._backdrop = null;
}
};
- Modal.prototype._showBackdrop = function _showBackdrop(callback) {
- var _this17 = this;
+ _proto._showBackdrop = function _showBackdrop(callback) {
+ var _this8 = this;
var animate = $(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : '';
if (this._isShown && this._config.backdrop) {
var doAnimate = Util.supportsTransitionEnd() && animate;
-
this._backdrop = document.createElement('div');
this._backdrop.className = ClassName.BACKDROP;
@@ -2160,19 +2156,20 @@ var Modal = function ($) {
}
$(this._backdrop).appendTo(document.body);
-
$(this._element).on(Event.CLICK_DISMISS, function (event) {
- if (_this17._ignoreBackdropClick) {
- _this17._ignoreBackdropClick = false;
+ if (_this8._ignoreBackdropClick) {
+ _this8._ignoreBackdropClick = false;
return;
}
+
if (event.target !== event.currentTarget) {
return;
}
- if (_this17._config.backdrop === 'static') {
- _this17._element.focus();
+
+ if (_this8._config.backdrop === 'static') {
+ _this8._element.focus();
} else {
- _this17.hide();
+ _this8.hide();
}
});
@@ -2196,7 +2193,8 @@ var Modal = function ($) {
$(this._backdrop).removeClass(ClassName.SHOW);
var callbackRemove = function callbackRemove() {
- _this17._removeBackdrop();
+ _this8._removeBackdrop();
+
if (callback) {
callback();
}
@@ -2210,88 +2208,92 @@ var Modal = function ($) {
} else if (callback) {
callback();
}
- };
-
- // ----------------------------------------------------------------------
+ }; // ----------------------------------------------------------------------
// the following methods are used to handle overflowing modals
// todo (fat): these should probably be refactored out of modal.js
// ----------------------------------------------------------------------
- Modal.prototype._adjustDialog = function _adjustDialog() {
+
+ _proto._adjustDialog = function _adjustDialog() {
var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;
if (!this._isBodyOverflowing && isModalOverflowing) {
- this._element.style.paddingLeft = this._scrollbarWidth + 'px';
+ this._element.style.paddingLeft = this._scrollbarWidth + "px";
}
if (this._isBodyOverflowing && !isModalOverflowing) {
- this._element.style.paddingRight = this._scrollbarWidth + 'px';
+ this._element.style.paddingRight = this._scrollbarWidth + "px";
}
};
- Modal.prototype._resetAdjustments = function _resetAdjustments() {
+ _proto._resetAdjustments = function _resetAdjustments() {
this._element.style.paddingLeft = '';
this._element.style.paddingRight = '';
};
- Modal.prototype._checkScrollbar = function _checkScrollbar() {
- this._isBodyOverflowing = document.body.clientWidth < window.innerWidth;
+ _proto._checkScrollbar = function _checkScrollbar() {
+ var rect = document.body.getBoundingClientRect();
+ this._isBodyOverflowing = rect.left + rect.right < window.innerWidth;
this._scrollbarWidth = this._getScrollbarWidth();
};
- Modal.prototype._setScrollbar = function _setScrollbar() {
- var _this18 = this;
+ _proto._setScrollbar = function _setScrollbar() {
+ var _this9 = this;
if (this._isBodyOverflowing) {
// Note: DOMNode.style.paddingRight returns the actual value or '' if not set
// while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set
-
// Adjust fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var actualPadding = $(element)[0].style.paddingRight;
var calculatedPadding = $(element).css('padding-right');
- $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this9._scrollbarWidth + "px");
+ }); // Adjust sticky content margin
+
+ $(Selector.STICKY_CONTENT).each(function (index, element) {
+ var actualMargin = $(element)[0].style.marginRight;
+ var calculatedMargin = $(element).css('margin-right');
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) - _this9._scrollbarWidth + "px");
+ }); // Adjust navbar-toggler margin
- // Adjust navbar-toggler margin
$(Selector.NAVBAR_TOGGLER).each(function (index, element) {
var actualMargin = $(element)[0].style.marginRight;
var calculatedMargin = $(element).css('margin-right');
- $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this9._scrollbarWidth + "px");
+ }); // Adjust body padding
- // Adjust body padding
var actualPadding = document.body.style.paddingRight;
var calculatedPadding = $('body').css('padding-right');
- $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + 'px');
+ $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
}
};
- Modal.prototype._resetScrollbar = function _resetScrollbar() {
+ _proto._resetScrollbar = function _resetScrollbar() {
// Restore fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var padding = $(element).data('padding-right');
+
if (typeof padding !== 'undefined') {
$(element).css('padding-right', padding).removeData('padding-right');
}
- });
+ }); // Restore sticky content and navbar-toggler margin
- // Restore navbar-toggler margin
- $(Selector.NAVBAR_TOGGLER).each(function (index, element) {
+ $(Selector.STICKY_CONTENT + ", " + Selector.NAVBAR_TOGGLER).each(function (index, element) {
var margin = $(element).data('margin-right');
+
if (typeof margin !== 'undefined') {
$(element).css('margin-right', margin).removeData('margin-right');
}
- });
+ }); // Restore body padding
- // Restore body padding
var padding = $('body').data('padding-right');
+
if (typeof padding !== 'undefined') {
$('body').css('padding-right', padding).removeData('padding-right');
}
};
- Modal.prototype._getScrollbarWidth = function _getScrollbarWidth() {
+ _proto._getScrollbarWidth = function _getScrollbarWidth() {
// thx d.walsh
var scrollDiv = document.createElement('div');
scrollDiv.className = ClassName.SCROLLBAR_MEASURER;
@@ -2299,14 +2301,14 @@ var Modal = function ($) {
var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth;
document.body.removeChild(scrollDiv);
return scrollbarWidth;
- };
+ }; // static
- // static
Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = $.extend({}, Modal.Default, $(this).data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Modal.Default, $(this).data(), typeof config === 'object' && config);
if (!data) {
data = new Modal(this, _config);
@@ -2314,9 +2316,10 @@ var Modal = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config](relatedTarget);
} else if (_config.show) {
data.show(relatedTarget);
@@ -2324,31 +2327,30 @@ var Modal = function ($) {
});
};
- _createClass(Modal, null, [{
- key: 'VERSION',
+ createClass(Modal, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Modal;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- var _this19 = this;
+ var _this10 = this;
- var target = void 0;
+ var target;
var selector = Util.getSelectorFromElement(this);
if (selector) {
@@ -2368,15 +2370,14 @@ var Modal = function ($) {
}
$target.one(Event.HIDDEN, function () {
- if ($(_this19).is(':visible')) {
- _this19.focus();
+ if ($(_this10).is(':visible')) {
+ _this10.focus();
}
});
});
Modal._jQueryInterface.call($(target), config, this);
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -2385,75 +2386,108 @@ var Modal = function ($) {
$.fn[NAME] = Modal._jQueryInterface;
$.fn[NAME].Constructor = Modal;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Modal._jQueryInterface;
};
return Modal;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): scrollspy.js
+ * Bootstrap (v4.0.0-beta.2): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var ScrollSpy = function ($) {
-
+var Tooltip = function () {
+ /**
+ * Check for Popper dependency
+ * Popper - https://popper.js.org
+ */
+ if (typeof Popper === 'undefined') {
+ throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
+ }
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
- var NAME = 'scrollspy';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.scrollspy';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var NAME = 'tooltip';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tooltip';
+ var EVENT_KEY = "." + DATA_KEY;
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var TRANSITION_DURATION = 150;
+ var CLASS_PREFIX = 'bs-tooltip';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var DefaultType = {
+ animation: 'boolean',
+ template: 'string',
+ title: '(string|element|function)',
+ trigger: 'string',
+ delay: '(number|object)',
+ html: 'boolean',
+ selector: '(string|boolean)',
+ placement: '(string|function)',
+ offset: '(number|string)',
+ container: '(string|element|boolean)',
+ fallbackPlacement: '(string|array)'
+ };
+ var AttachmentMap = {
+ AUTO: 'auto',
+ TOP: 'top',
+ RIGHT: 'right',
+ BOTTOM: 'bottom',
+ LEFT: 'left'
+ };
var Default = {
- offset: 10,
- method: 'auto',
- target: ''
+ animation: true,
+ template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
+ trigger: 'hover focus',
+ title: '',
+ delay: 0,
+ html: false,
+ selector: false,
+ placement: 'top',
+ offset: 0,
+ container: false,
+ fallbackPlacement: 'flip'
};
-
- var DefaultType = {
- offset: 'number',
- method: 'string',
- target: '(string|element)'
+ var HoverState = {
+ SHOW: 'show',
+ OUT: 'out'
};
-
var Event = {
- ACTIVATE: 'activate' + EVENT_KEY,
- SCROLL: 'scroll' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
};
-
var ClassName = {
- DROPDOWN_ITEM: 'dropdown-item',
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active'
+ FADE: 'fade',
+ SHOW: 'show'
};
-
var Selector = {
- DATA_SPY: '[data-spy="scroll"]',
- ACTIVE: '.active',
- NAV_LIST_GROUP: '.nav, .list-group',
- NAV_LINKS: '.nav-link',
- LIST_ITEMS: '.list-group-item',
- DROPDOWN: '.dropdown',
- DROPDOWN_ITEMS: '.dropdown-item',
- DROPDOWN_TOGGLE: '.dropdown-toggle'
+ TOOLTIP: '.tooltip',
+ TOOLTIP_INNER: '.tooltip-inner',
+ ARROW: '.arrow'
};
-
- var OffsetMethod = {
- OFFSET: 'offset',
- POSITION: 'position'
-
+ var Trigger = {
+ HOVER: 'hover',
+ FOCUS: 'focus',
+ CLICK: 'click',
+ MANUAL: 'manual'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -2461,607 +2495,615 @@ var ScrollSpy = function ($) {
*/
};
- var ScrollSpy = function () {
- function ScrollSpy(element, config) {
- var _this20 = this;
- _classCallCheck(this, ScrollSpy);
+ var Tooltip =
+ /*#__PURE__*/
+ function () {
+ function Tooltip(element, config) {
+ // private
+ this._isEnabled = true;
+ this._timeout = 0;
+ this._hoverState = '';
+ this._activeTrigger = {};
+ this._popper = null; // protected
- this._element = element;
- this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
- this._targets = [];
- this._activeTarget = null;
- this._scrollHeight = 0;
+ this.element = element;
+ this.config = this._getConfig(config);
+ this.tip = null;
- $(this._scrollElement).on(Event.SCROLL, function (event) {
- return _this20._process(event);
- });
+ this._setListeners();
+ } // getters
- this.refresh();
- this._process();
- }
- // getters
+ var _proto = Tooltip.prototype;
// public
+ _proto.enable = function enable() {
+ this._isEnabled = true;
+ };
- ScrollSpy.prototype.refresh = function refresh() {
- var _this21 = this;
-
- var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
-
- var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ _proto.disable = function disable() {
+ this._isEnabled = false;
+ };
- var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ _proto.toggleEnabled = function toggleEnabled() {
+ this._isEnabled = !this._isEnabled;
+ };
- this._offsets = [];
- this._targets = [];
+ _proto.toggle = function toggle(event) {
+ if (!this._isEnabled) {
+ return;
+ }
- this._scrollHeight = this._getScrollHeight();
+ if (event) {
+ var dataKey = this.constructor.DATA_KEY;
+ var context = $(event.currentTarget).data(dataKey);
- var targets = $.makeArray($(this._selector));
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- targets.map(function (element) {
- var target = void 0;
- var targetSelector = Util.getSelectorFromElement(element);
+ context._activeTrigger.click = !context._activeTrigger.click;
- if (targetSelector) {
- target = $(targetSelector)[0];
+ if (context._isWithActiveTrigger()) {
+ context._enter(null, context);
+ } else {
+ context._leave(null, context);
}
+ } else {
+ if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
+ this._leave(null, this);
- if (target) {
- var targetBCR = target.getBoundingClientRect();
- if (targetBCR.width || targetBCR.height) {
- // todo (fat): remove sketch reliance on jQuery position/offset
- return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
- }
+ return;
}
- return null;
- }).filter(function (item) {
- return item;
- }).sort(function (a, b) {
- return a[0] - b[0];
- }).forEach(function (item) {
- _this21._offsets.push(item[0]);
- _this21._targets.push(item[1]);
- });
- };
-
- ScrollSpy.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- $(this._scrollElement).off(EVENT_KEY);
- this._element = null;
- this._scrollElement = null;
- this._config = null;
- this._selector = null;
- this._offsets = null;
- this._targets = null;
- this._activeTarget = null;
- this._scrollHeight = null;
+ this._enter(null, this);
+ }
};
- // private
-
- ScrollSpy.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, Default, config);
+ _proto.dispose = function dispose() {
+ clearTimeout(this._timeout);
+ $.removeData(this.element, this.constructor.DATA_KEY);
+ $(this.element).off(this.constructor.EVENT_KEY);
+ $(this.element).closest('.modal').off('hide.bs.modal');
- if (typeof config.target !== 'string') {
- var id = $(config.target).attr('id');
- if (!id) {
- id = Util.getUID(NAME);
- $(config.target).attr('id', id);
- }
- config.target = '#' + id;
+ if (this.tip) {
+ $(this.tip).remove();
}
- Util.typeCheckConfig(NAME, config, DefaultType);
+ this._isEnabled = null;
+ this._timeout = null;
+ this._hoverState = null;
+ this._activeTrigger = null;
- return config;
- };
+ if (this._popper !== null) {
+ this._popper.destroy();
+ }
- ScrollSpy.prototype._getScrollTop = function _getScrollTop() {
- return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ this._popper = null;
+ this.element = null;
+ this.config = null;
+ this.tip = null;
};
- ScrollSpy.prototype._getScrollHeight = function _getScrollHeight() {
- return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
- };
+ _proto.show = function show() {
+ var _this = this;
- ScrollSpy.prototype._getOffsetHeight = function _getOffsetHeight() {
- return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
- };
+ if ($(this.element).css('display') === 'none') {
+ throw new Error('Please use show on visible elements');
+ }
- ScrollSpy.prototype._process = function _process() {
- var scrollTop = this._getScrollTop() + this._config.offset;
- var scrollHeight = this._getScrollHeight();
- var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
+ var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this._scrollHeight !== scrollHeight) {
- this.refresh();
- }
+ if (this.isWithContent() && this._isEnabled) {
+ $(this.element).trigger(showEvent);
+ var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
- if (scrollTop >= maxScroll) {
- var target = this._targets[this._targets.length - 1];
+ if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ return;
+ }
- if (this._activeTarget !== target) {
- this._activate(target);
+ var tip = this.getTipElement();
+ var tipId = Util.getUID(this.constructor.NAME);
+ tip.setAttribute('id', tipId);
+ this.element.setAttribute('aria-describedby', tipId);
+ this.setContent();
+
+ if (this.config.animation) {
+ $(tip).addClass(ClassName.FADE);
}
- return;
- }
- if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
- this._activeTarget = null;
- this._clear();
- return;
- }
+ var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
- for (var i = this._offsets.length; i--;) {
- var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (this._offsets[i + 1] === undefined || scrollTop < this._offsets[i + 1]);
+ var attachment = this._getAttachment(placement);
- if (isActiveTarget) {
- this._activate(this._targets[i]);
+ this.addAttachmentClass(attachment);
+ var container = this.config.container === false ? document.body : $(this.config.container);
+ $(tip).data(this.constructor.DATA_KEY, this);
+
+ if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
+ $(tip).appendTo(container);
}
- }
- };
- ScrollSpy.prototype._activate = function _activate(target) {
- this._activeTarget = target;
+ $(this.element).trigger(this.constructor.Event.INSERTED);
+ this._popper = new Popper(this.element, tip, {
+ placement: attachment,
+ modifiers: {
+ offset: {
+ offset: this.config.offset
+ },
+ flip: {
+ behavior: this.config.fallbackPlacement
+ },
+ arrow: {
+ element: Selector.ARROW
+ }
+ },
+ onCreate: function onCreate(data) {
+ if (data.originalPlacement !== data.placement) {
+ _this._handlePopperPlacementChange(data);
+ }
+ },
+ onUpdate: function onUpdate(data) {
+ _this._handlePopperPlacementChange(data);
+ }
+ });
+ $(tip).addClass(ClassName.SHOW); // if this is a touch-enabled device we add extra
+ // empty mouseover listeners to the body's immediate children;
+ // only needed because of broken event delegation on iOS
+ // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- this._clear();
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().on('mouseover', null, $.noop);
+ }
- var queries = this._selector.split(',');
- queries = queries.map(function (selector) {
- return selector + '[data-target="' + target + '"],' + (selector + '[href="' + target + '"]');
- });
+ var complete = function complete() {
+ if (_this.config.animation) {
+ _this._fixTransition();
+ }
- var $link = $(queries.join(','));
+ var prevHoverState = _this._hoverState;
+ _this._hoverState = null;
+ $(_this.element).trigger(_this.constructor.Event.SHOWN);
- if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
- $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- $link.addClass(ClassName.ACTIVE);
- } else {
- // Set triggered link as active
- $link.addClass(ClassName.ACTIVE);
- // Set triggered links parents as active
- // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE);
- }
+ if (prevHoverState === HoverState.OUT) {
+ _this._leave(null, _this);
+ }
+ };
- $(this._scrollElement).trigger(Event.ACTIVATE, {
- relatedTarget: target
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+ }
};
- ScrollSpy.prototype._clear = function _clear() {
- $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
- };
+ _proto.hide = function hide(callback) {
+ var _this2 = this;
- // static
+ var tip = this.getTipElement();
+ var hideEvent = $.Event(this.constructor.Event.HIDE);
- ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
+ var complete = function complete() {
+ if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) {
+ tip.parentNode.removeChild(tip);
+ }
- if (!data) {
- data = new ScrollSpy(this, _config);
- $(this).data(DATA_KEY, data);
+ _this2._cleanTipClass();
+
+ _this2.element.removeAttribute('aria-describedby');
+
+ $(_this2.element).trigger(_this2.constructor.Event.HIDDEN);
+
+ if (_this2._popper !== null) {
+ _this2._popper.destroy();
}
- if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
- }
- data[config]();
+ if (callback) {
+ callback();
}
- });
- };
+ };
- _createClass(ScrollSpy, null, [{
- key: 'VERSION',
- get: function get() {
- return VERSION;
- }
- }, {
- key: 'Default',
- get: function get() {
- return Default;
+ $(this.element).trigger(hideEvent);
+
+ if (hideEvent.isDefaultPrevented()) {
+ return;
}
- }]);
- return ScrollSpy;
- }();
+ $(tip).removeClass(ClassName.SHOW); // if this is a touch-enabled device we remove the extra
+ // empty mouseover listeners we added for iOS support
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().off('mouseover', null, $.noop);
+ }
- $(window).on(Event.LOAD_DATA_API, function () {
- var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+ this._activeTrigger[Trigger.CLICK] = false;
+ this._activeTrigger[Trigger.FOCUS] = false;
+ this._activeTrigger[Trigger.HOVER] = false;
- for (var i = scrollSpys.length; i--;) {
- var $spy = $(scrollSpys[i]);
- ScrollSpy._jQueryInterface.call($spy, $spy.data());
- }
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
- */
+ this._hoverState = '';
+ };
- $.fn[NAME] = ScrollSpy._jQueryInterface;
- $.fn[NAME].Constructor = ScrollSpy;
- $.fn[NAME].noConflict = function () {
- $.fn[NAME] = JQUERY_NO_CONFLICT;
- return ScrollSpy._jQueryInterface;
- };
+ _proto.update = function update() {
+ if (this._popper !== null) {
+ this._popper.scheduleUpdate();
+ }
+ }; // protected
- return ScrollSpy;
-}(jQuery);
-/**
- * --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tab.js
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * --------------------------------------------------------------------------
- */
+ _proto.isWithContent = function isWithContent() {
+ return Boolean(this.getTitle());
+ };
-var Tab = function ($) {
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
+ };
- /**
- * ------------------------------------------------------------------------
- * Constants
- * ------------------------------------------------------------------------
- */
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
+ };
- var NAME = 'tab';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tab';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement());
+ this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ };
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
- };
+ _proto.setElementContent = function setElementContent($element, content) {
+ var html = this.config.html;
- var ClassName = {
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active',
- DISABLED: 'disabled',
- FADE: 'fade',
- SHOW: 'show'
- };
+ if (typeof content === 'object' && (content.nodeType || content.jquery)) {
+ // content is a DOM node or a jQuery
+ if (html) {
+ if (!$(content).parent().is($element)) {
+ $element.empty().append(content);
+ }
+ } else {
+ $element.text($(content).text());
+ }
+ } else {
+ $element[html ? 'html' : 'text'](content);
+ }
+ };
- var Selector = {
- DROPDOWN: '.dropdown',
- NAV_LIST_GROUP: '.nav, .list-group',
- ACTIVE: '.active',
- DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
- DROPDOWN_TOGGLE: '.dropdown-toggle',
- DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
+ _proto.getTitle = function getTitle() {
+ var title = this.element.getAttribute('data-original-title');
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
+ if (!title) {
+ title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
+ }
- };
- var Tab = function () {
- function Tab(element) {
- _classCallCheck(this, Tab);
+ return title;
+ }; // private
- this._element = element;
- }
- // getters
+ _proto._getAttachment = function _getAttachment(placement) {
+ return AttachmentMap[placement.toUpperCase()];
+ };
- // public
+ _proto._setListeners = function _setListeners() {
+ var _this3 = this;
+
+ var triggers = this.config.trigger.split(' ');
+ triggers.forEach(function (trigger) {
+ if (trigger === 'click') {
+ $(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) {
+ return _this3.toggle(event);
+ });
+ } else if (trigger !== Trigger.MANUAL) {
+ var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN;
+ var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT;
+ $(_this3.element).on(eventIn, _this3.config.selector, function (event) {
+ return _this3._enter(event);
+ }).on(eventOut, _this3.config.selector, function (event) {
+ return _this3._leave(event);
+ });
+ }
- Tab.prototype.show = function show() {
- var _this22 = this;
+ $(_this3.element).closest('.modal').on('hide.bs.modal', function () {
+ return _this3.hide();
+ });
+ });
- if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
- return;
+ if (this.config.selector) {
+ this.config = $.extend({}, this.config, {
+ trigger: 'manual',
+ selector: ''
+ });
+ } else {
+ this._fixTitle();
}
+ };
- var target = void 0;
- var previous = void 0;
- var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
- var selector = Util.getSelectorFromElement(this._element);
+ _proto._fixTitle = function _fixTitle() {
+ var titleType = typeof this.element.getAttribute('data-original-title');
- if (listElement) {
- previous = $.makeArray($(listElement).find(Selector.ACTIVE));
- previous = previous[previous.length - 1];
+ if (this.element.getAttribute('title') || titleType !== 'string') {
+ this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
+ this.element.setAttribute('title', '');
}
+ };
- var hideEvent = $.Event(Event.HIDE, {
- relatedTarget: this._element
- });
-
- var showEvent = $.Event(Event.SHOW, {
- relatedTarget: previous
- });
+ _proto._enter = function _enter(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- if (previous) {
- $(previous).trigger(hideEvent);
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
}
- $(this._element).trigger(showEvent);
+ if (event) {
+ context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
+ }
- if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
+ context._hoverState = HoverState.SHOW;
return;
}
- if (selector) {
- target = $(selector)[0];
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.SHOW;
+
+ if (!context.config.delay || !context.config.delay.show) {
+ context.show();
+ return;
}
- this._activate(this._element, listElement);
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.SHOW) {
+ context.show();
+ }
+ }, context.config.delay.show);
+ };
- var complete = function complete() {
- var hiddenEvent = $.Event(Event.HIDDEN, {
- relatedTarget: _this22._element
- });
+ _proto._leave = function _leave(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- var shownEvent = $.Event(Event.SHOWN, {
- relatedTarget: previous
- });
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- $(previous).trigger(hiddenEvent);
- $(_this22._element).trigger(shownEvent);
- };
+ if (event) {
+ context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
+ }
- if (target) {
- this._activate(target, target.parentNode, complete);
- } else {
- complete();
+ if (context._isWithActiveTrigger()) {
+ return;
}
- };
- Tab.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- this._element = null;
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.OUT;
+
+ if (!context.config.delay || !context.config.delay.hide) {
+ context.hide();
+ return;
+ }
+
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.OUT) {
+ context.hide();
+ }
+ }, context.config.delay.hide);
};
- // private
+ _proto._isWithActiveTrigger = function _isWithActiveTrigger() {
+ for (var trigger in this._activeTrigger) {
+ if (this._activeTrigger[trigger]) {
+ return true;
+ }
+ }
- Tab.prototype._activate = function _activate(element, container, callback) {
- var _this23 = this;
+ return false;
+ };
- var active = $(container).find(Selector.ACTIVE)[0];
- var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
- var complete = function complete() {
- return _this23._transitionComplete(element, active, isTransitioning, callback);
- };
+ if (typeof config.delay === 'number') {
+ config.delay = {
+ show: config.delay,
+ hide: config.delay
+ };
+ }
- if (active && isTransitioning) {
- $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
+ if (typeof config.title === 'number') {
+ config.title = config.title.toString();
}
- if (active) {
- $(active).removeClass(ClassName.SHOW);
+ if (typeof config.content === 'number') {
+ config.content = config.content.toString();
}
- };
- Tab.prototype._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
- if (active) {
- $(active).removeClass(ClassName.ACTIVE);
+ Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ return config;
+ };
- var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
+ _proto._getDelegateConfig = function _getDelegateConfig() {
+ var config = {};
- if (dropdownChild) {
- $(dropdownChild).removeClass(ClassName.ACTIVE);
+ if (this.config) {
+ for (var key in this.config) {
+ if (this.constructor.Default[key] !== this.config[key]) {
+ config[key] = this.config[key];
+ }
}
-
- active.setAttribute('aria-expanded', false);
}
- $(element).addClass(ClassName.ACTIVE);
- element.setAttribute('aria-expanded', true);
+ return config;
+ };
- if (isTransitioning) {
- Util.reflow(element);
- $(element).addClass(ClassName.SHOW);
- } else {
- $(element).removeClass(ClassName.FADE);
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
+
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
+ };
- if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
+ this._cleanTipClass();
- var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
- if (dropdownElement) {
- $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- }
+ this.addAttachmentClass(this._getAttachment(data.placement));
+ };
- element.setAttribute('aria-expanded', true);
- }
+ _proto._fixTransition = function _fixTransition() {
+ var tip = this.getTipElement();
+ var initConfigAnimation = this.config.animation;
- if (callback) {
- callback();
+ if (tip.getAttribute('x-placement') !== null) {
+ return;
}
- };
- // static
+ $(tip).removeClass(ClassName.FADE);
+ this.config.animation = false;
+ this.hide();
+ this.show();
+ this.config.animation = initConfigAnimation;
+ }; // static
+
- Tab._jQueryInterface = function _jQueryInterface(config) {
+ Tooltip._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
- var $this = $(this);
- var data = $this.data(DATA_KEY);
+ var data = $(this).data(DATA_KEY);
+
+ var _config = typeof config === 'object' && config;
+
+ if (!data && /dispose|hide/.test(config)) {
+ return;
+ }
if (!data) {
- data = new Tab(this);
- $this.data(DATA_KEY, data);
+ data = new Tooltip(this, _config);
+ $(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tab, null, [{
- key: 'VERSION',
+ createClass(Tooltip, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }]);
-
- return Tab;
- }();
-
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
-
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- event.preventDefault();
- Tab._jQueryInterface.call($(this), 'show');
- });
-
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Tooltip;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tab._jQueryInterface;
- $.fn[NAME].Constructor = Tab;
+
+ $.fn[NAME] = Tooltip._jQueryInterface;
+ $.fn[NAME].Constructor = Tooltip;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tab._jQueryInterface;
+ return Tooltip._jQueryInterface;
};
- return Tab;
-}(jQuery);
-
-/* global Popper */
+ return Tooltip;
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tooltip.js
+ * Bootstrap (v4.0.0-beta.2): popover.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Tooltip = function ($) {
-
- /**
- * Check for Popper dependency
- * Popper - https://popper.js.org
- */
- if (typeof Popper === 'undefined') {
- throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
- }
-
+var Popover = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'tooltip';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tooltip';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'popover';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.popover';
+ var EVENT_KEY = "." + DATA_KEY;
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
- var CLASS_PREFIX = 'bs-tooltip';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var DefaultType = {
- animation: 'boolean',
- template: 'string',
- title: '(string|element|function)',
- trigger: 'string',
- delay: '(number|object)',
- html: 'boolean',
- selector: '(string|boolean)',
- placement: '(string|function)',
- offset: '(number|string)',
- container: '(string|element|boolean)',
- fallbackPlacement: '(string|array)'
- };
-
- var AttachmentMap = {
- AUTO: 'auto',
- TOP: 'top',
- RIGHT: 'right',
- BOTTOM: 'bottom',
- LEFT: 'left'
- };
-
- var Default = {
- animation: true,
- template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
- trigger: 'hover focus',
- title: '',
- delay: 0,
- html: false,
- selector: false,
- placement: 'top',
- offset: 0,
- container: false,
- fallbackPlacement: 'flip'
- };
-
- var HoverState = {
- SHOW: 'show',
- OUT: 'out'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
- };
-
+ var CLASS_PREFIX = 'bs-popover';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var Default = $.extend({}, Tooltip.Default, {
+ placement: 'right',
+ trigger: 'click',
+ content: '',
+ template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
+ });
+ var DefaultType = $.extend({}, Tooltip.DefaultType, {
+ content: '(string|element|function)'
+ });
var ClassName = {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TOOLTIP: '.tooltip',
- TOOLTIP_INNER: '.tooltip-inner',
- ARROW: '.arrow'
+ TITLE: '.popover-header',
+ CONTENT: '.popover-body'
};
-
- var Trigger = {
- HOVER: 'hover',
- FOCUS: 'focus',
- CLICK: 'click',
- MANUAL: 'manual'
-
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3069,625 +3111,490 @@ var Tooltip = function ($) {
*/
};
- var Tooltip = function () {
- function Tooltip(element, config) {
- _classCallCheck(this, Tooltip);
- // private
- this._isEnabled = true;
- this._timeout = 0;
- this._hoverState = '';
- this._activeTrigger = {};
- this._popper = null;
+ var Popover =
+ /*#__PURE__*/
+ function (_Tooltip) {
+ inheritsLoose(Popover, _Tooltip);
- // protected
- this.element = element;
- this.config = this._getConfig(config);
- this.tip = null;
-
- this._setListeners();
+ function Popover() {
+ return _Tooltip.apply(this, arguments) || this;
}
- // getters
-
- // public
+ var _proto = Popover.prototype;
- Tooltip.prototype.enable = function enable() {
- this._isEnabled = true;
+ // overrides
+ _proto.isWithContent = function isWithContent() {
+ return this.getTitle() || this._getContent();
};
- Tooltip.prototype.disable = function disable() {
- this._isEnabled = false;
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
};
- Tooltip.prototype.toggleEnabled = function toggleEnabled() {
- this._isEnabled = !this._isEnabled;
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
};
- Tooltip.prototype.toggle = function toggle(event) {
- if (event) {
- var dataKey = this.constructor.DATA_KEY;
- var context = $(event.currentTarget).data(dataKey);
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement()); // we use append for html objects to maintain js events
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
-
- context._activeTrigger.click = !context._activeTrigger.click;
-
- if (context._isWithActiveTrigger()) {
- context._enter(null, context);
- } else {
- context._leave(null, context);
- }
- } else {
+ this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
+ this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ }; // private
- if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
- this._leave(null, this);
- return;
- }
- this._enter(null, this);
- }
+ _proto._getContent = function _getContent() {
+ return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
};
- Tooltip.prototype.dispose = function dispose() {
- clearTimeout(this._timeout);
-
- $.removeData(this.element, this.constructor.DATA_KEY);
-
- $(this.element).off(this.constructor.EVENT_KEY);
- $(this.element).closest('.modal').off('hide.bs.modal');
-
- if (this.tip) {
- $(this.tip).remove();
- }
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- this._isEnabled = null;
- this._timeout = null;
- this._hoverState = null;
- this._activeTrigger = null;
- if (this._popper !== null) {
- this._popper.destroy();
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
- this._popper = null;
-
- this.element = null;
- this.config = null;
- this.tip = null;
- };
+ }; // static
- Tooltip.prototype.show = function show() {
- var _this24 = this;
- if ($(this.element).css('display') === 'none') {
- throw new Error('Please use show on visible elements');
- }
-
- var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this.isWithContent() && this._isEnabled) {
- $(this.element).trigger(showEvent);
+ Popover._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var data = $(this).data(DATA_KEY);
- var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
+ var _config = typeof config === 'object' ? config : null;
- if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ if (!data && /destroy|hide/.test(config)) {
return;
}
- var tip = this.getTipElement();
- var tipId = Util.getUID(this.constructor.NAME);
-
- tip.setAttribute('id', tipId);
- this.element.setAttribute('aria-describedby', tipId);
-
- this.setContent();
-
- if (this.config.animation) {
- $(tip).addClass(ClassName.FADE);
- }
-
- var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
-
- var attachment = this._getAttachment(placement);
- this.addAttachmentClass(attachment);
-
- var container = this.config.container === false ? document.body : $(this.config.container);
-
- $(tip).data(this.constructor.DATA_KEY, this);
-
- if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
- $(tip).appendTo(container);
- }
-
- $(this.element).trigger(this.constructor.Event.INSERTED);
-
- this._popper = new Popper(this.element, tip, {
- placement: attachment,
- modifiers: {
- offset: {
- offset: this.config.offset
- },
- flip: {
- behavior: this.config.fallbackPlacement
- },
- arrow: {
- element: Selector.ARROW
- }
- },
- onCreate: function onCreate(data) {
- if (data.originalPlacement !== data.placement) {
- _this24._handlePopperPlacementChange(data);
- }
- },
- onUpdate: function onUpdate(data) {
- _this24._handlePopperPlacementChange(data);
- }
- });
-
- $(tip).addClass(ClassName.SHOW);
-
- // if this is a touch-enabled device we add extra
- // empty mouseover listeners to the body's immediate children;
- // only needed because of broken event delegation on iOS
- // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- if ('ontouchstart' in document.documentElement) {
- $('body').children().on('mouseover', null, $.noop);
+ if (!data) {
+ data = new Popover(this, _config);
+ $(this).data(DATA_KEY, data);
}
- var complete = function complete() {
- if (_this24.config.animation) {
- _this24._fixTransition();
- }
- var prevHoverState = _this24._hoverState;
- _this24._hoverState = null;
-
- $(_this24.element).trigger(_this24.constructor.Event.SHOWN);
-
- if (prevHoverState === HoverState.OUT) {
- _this24._leave(null, _this24);
+ if (typeof config === 'string') {
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
- };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
- $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
- } else {
- complete();
+ data[config]();
}
- }
+ });
};
- Tooltip.prototype.hide = function hide(callback) {
- var _this25 = this;
-
- var tip = this.getTipElement();
- var hideEvent = $.Event(this.constructor.Event.HIDE);
- var complete = function complete() {
- if (_this25._hoverState !== HoverState.SHOW && tip.parentNode) {
- tip.parentNode.removeChild(tip);
- }
+ createClass(Popover, null, [{
+ key: "VERSION",
+ // getters
+ get: function get() {
+ return VERSION;
+ }
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Popover;
+ }(Tooltip);
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
+ */
- _this25._cleanTipClass();
- _this25.element.removeAttribute('aria-describedby');
- $(_this25.element).trigger(_this25.constructor.Event.HIDDEN);
- if (_this25._popper !== null) {
- _this25._popper.destroy();
- }
- if (callback) {
- callback();
- }
- };
+ $.fn[NAME] = Popover._jQueryInterface;
+ $.fn[NAME].Constructor = Popover;
- $(this.element).trigger(hideEvent);
+ $.fn[NAME].noConflict = function () {
+ $.fn[NAME] = JQUERY_NO_CONFLICT;
+ return Popover._jQueryInterface;
+ };
- if (hideEvent.isDefaultPrevented()) {
- return;
- }
+ return Popover;
+}($);
- $(tip).removeClass(ClassName.SHOW);
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-beta.2): scrollspy.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
- // if this is a touch-enabled device we remove the extra
- // empty mouseover listeners we added for iOS support
- if ('ontouchstart' in document.documentElement) {
- $('body').children().off('mouseover', null, $.noop);
- }
+var ScrollSpy = function () {
+ /**
+ * ------------------------------------------------------------------------
+ * Constants
+ * ------------------------------------------------------------------------
+ */
+ var NAME = 'scrollspy';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.scrollspy';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var Default = {
+ offset: 10,
+ method: 'auto',
+ target: ''
+ };
+ var DefaultType = {
+ offset: 'number',
+ method: 'string',
+ target: '(string|element)'
+ };
+ var Event = {
+ ACTIVATE: "activate" + EVENT_KEY,
+ SCROLL: "scroll" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY
+ };
+ var ClassName = {
+ DROPDOWN_ITEM: 'dropdown-item',
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active'
+ };
+ var Selector = {
+ DATA_SPY: '[data-spy="scroll"]',
+ ACTIVE: '.active',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ NAV_LINKS: '.nav-link',
+ NAV_ITEMS: '.nav-item',
+ LIST_ITEMS: '.list-group-item',
+ DROPDOWN: '.dropdown',
+ DROPDOWN_ITEMS: '.dropdown-item',
+ DROPDOWN_TOGGLE: '.dropdown-toggle'
+ };
+ var OffsetMethod = {
+ OFFSET: 'offset',
+ POSITION: 'position'
+ /**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
- this._activeTrigger[Trigger.CLICK] = false;
- this._activeTrigger[Trigger.FOCUS] = false;
- this._activeTrigger[Trigger.HOVER] = false;
+ };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ var ScrollSpy =
+ /*#__PURE__*/
+ function () {
+ function ScrollSpy(element, config) {
+ var _this = this;
- $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
- }
+ this._element = element;
+ this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
+ this._targets = [];
+ this._activeTarget = null;
+ this._scrollHeight = 0;
+ $(this._scrollElement).on(Event.SCROLL, function (event) {
+ return _this._process(event);
+ });
+ this.refresh();
- this._hoverState = '';
- };
+ this._process();
+ } // getters
- Tooltip.prototype.update = function update() {
- if (this._popper !== null) {
- this._popper.scheduleUpdate();
- }
- };
- // protected
+ var _proto = ScrollSpy.prototype;
- Tooltip.prototype.isWithContent = function isWithContent() {
- return Boolean(this.getTitle());
- };
+ // public
+ _proto.refresh = function refresh() {
+ var _this2 = this;
- Tooltip.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
+ var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ this._offsets = [];
+ this._targets = [];
+ this._scrollHeight = this._getScrollHeight();
+ var targets = $.makeArray($(this._selector));
+ targets.map(function (element) {
+ var target;
+ var targetSelector = Util.getSelectorFromElement(element);
- Tooltip.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ if (targetSelector) {
+ target = $(targetSelector)[0];
+ }
- Tooltip.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
- this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (target) {
+ var targetBCR = target.getBoundingClientRect();
- Tooltip.prototype.setElementContent = function setElementContent($element, content) {
- var html = this.config.html;
- if ((typeof content === 'undefined' ? 'undefined' : _typeof(content)) === 'object' && (content.nodeType || content.jquery)) {
- // content is a DOM node or a jQuery
- if (html) {
- if (!$(content).parent().is($element)) {
- $element.empty().append(content);
+ if (targetBCR.width || targetBCR.height) {
+ // todo (fat): remove sketch reliance on jQuery position/offset
+ return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
}
- } else {
- $element.text($(content).text());
}
- } else {
- $element[html ? 'html' : 'text'](content);
- }
- };
-
- Tooltip.prototype.getTitle = function getTitle() {
- var title = this.element.getAttribute('data-original-title');
- if (!title) {
- title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
- }
+ return null;
+ }).filter(function (item) {
+ return item;
+ }).sort(function (a, b) {
+ return a[0] - b[0];
+ }).forEach(function (item) {
+ _this2._offsets.push(item[0]);
- return title;
+ _this2._targets.push(item[1]);
+ });
};
- // private
-
- Tooltip.prototype._getAttachment = function _getAttachment(placement) {
- return AttachmentMap[placement.toUpperCase()];
- };
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ $(this._scrollElement).off(EVENT_KEY);
+ this._element = null;
+ this._scrollElement = null;
+ this._config = null;
+ this._selector = null;
+ this._offsets = null;
+ this._targets = null;
+ this._activeTarget = null;
+ this._scrollHeight = null;
+ }; // private
- Tooltip.prototype._setListeners = function _setListeners() {
- var _this26 = this;
- var triggers = this.config.trigger.split(' ');
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, Default, config);
- triggers.forEach(function (trigger) {
- if (trigger === 'click') {
- $(_this26.element).on(_this26.constructor.Event.CLICK, _this26.config.selector, function (event) {
- return _this26.toggle(event);
- });
- } else if (trigger !== Trigger.MANUAL) {
- var eventIn = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSEENTER : _this26.constructor.Event.FOCUSIN;
- var eventOut = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSELEAVE : _this26.constructor.Event.FOCUSOUT;
+ if (typeof config.target !== 'string') {
+ var id = $(config.target).attr('id');
- $(_this26.element).on(eventIn, _this26.config.selector, function (event) {
- return _this26._enter(event);
- }).on(eventOut, _this26.config.selector, function (event) {
- return _this26._leave(event);
- });
+ if (!id) {
+ id = Util.getUID(NAME);
+ $(config.target).attr('id', id);
}
- $(_this26.element).closest('.modal').on('hide.bs.modal', function () {
- return _this26.hide();
- });
- });
-
- if (this.config.selector) {
- this.config = $.extend({}, this.config, {
- trigger: 'manual',
- selector: ''
- });
- } else {
- this._fixTitle();
+ config.target = "#" + id;
}
- };
- Tooltip.prototype._fixTitle = function _fixTitle() {
- var titleType = _typeof(this.element.getAttribute('data-original-title'));
- if (this.element.getAttribute('title') || titleType !== 'string') {
- this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
- this.element.setAttribute('title', '');
- }
+ Util.typeCheckConfig(NAME, config, DefaultType);
+ return config;
};
- Tooltip.prototype._enter = function _enter(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
+ _proto._getScrollTop = function _getScrollTop() {
+ return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ };
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ _proto._getScrollHeight = function _getScrollHeight() {
+ return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
+ };
- if (event) {
- context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
- }
+ _proto._getOffsetHeight = function _getOffsetHeight() {
+ return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
+ };
- if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
- context._hoverState = HoverState.SHOW;
- return;
- }
+ _proto._process = function _process() {
+ var scrollTop = this._getScrollTop() + this._config.offset;
- clearTimeout(context._timeout);
+ var scrollHeight = this._getScrollHeight();
- context._hoverState = HoverState.SHOW;
+ var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
- if (!context.config.delay || !context.config.delay.show) {
- context.show();
- return;
+ if (this._scrollHeight !== scrollHeight) {
+ this.refresh();
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.SHOW) {
- context.show();
- }
- }, context.config.delay.show);
- };
-
- Tooltip.prototype._leave = function _leave(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
-
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ if (scrollTop >= maxScroll) {
+ var target = this._targets[this._targets.length - 1];
- if (event) {
- context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
- }
+ if (this._activeTarget !== target) {
+ this._activate(target);
+ }
- if (context._isWithActiveTrigger()) {
return;
}
- clearTimeout(context._timeout);
+ if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
+ this._activeTarget = null;
- context._hoverState = HoverState.OUT;
+ this._clear();
- if (!context.config.delay || !context.config.delay.hide) {
- context.hide();
return;
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.OUT) {
- context.hide();
- }
- }, context.config.delay.hide);
- };
+ for (var i = this._offsets.length; i--;) {
+ var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]);
- Tooltip.prototype._isWithActiveTrigger = function _isWithActiveTrigger() {
- for (var trigger in this._activeTrigger) {
- if (this._activeTrigger[trigger]) {
- return true;
+ if (isActiveTarget) {
+ this._activate(this._targets[i]);
}
}
-
- return false;
};
- Tooltip.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
-
- if (config.delay && typeof config.delay === 'number') {
- config.delay = {
- show: config.delay,
- hide: config.delay
- };
- }
-
- if (config.title && typeof config.title === 'number') {
- config.title = config.title.toString();
- }
+ _proto._activate = function _activate(target) {
+ this._activeTarget = target;
- if (config.content && typeof config.content === 'number') {
- config.content = config.content.toString();
- }
+ this._clear();
- Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ var queries = this._selector.split(','); // eslint-disable-next-line arrow-body-style
- return config;
- };
- Tooltip.prototype._getDelegateConfig = function _getDelegateConfig() {
- var config = {};
+ queries = queries.map(function (selector) {
+ return selector + "[data-target=\"" + target + "\"]," + (selector + "[href=\"" + target + "\"]");
+ });
+ var $link = $(queries.join(','));
- if (this.config) {
- for (var key in this.config) {
- if (this.constructor.Default[key] !== this.config[key]) {
- config[key] = this.config[key];
- }
- }
- }
+ if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
+ $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
+ $link.addClass(ClassName.ACTIVE);
+ } else {
+ // Set triggered link as active
+ $link.addClass(ClassName.ACTIVE); // Set triggered links parents as active
+ // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- return config;
- };
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ", " + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); // Handle special case when .nav-link is inside .nav-item
- Tooltip.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_ITEMS).children(Selector.NAV_LINKS).addClass(ClassName.ACTIVE);
}
- };
- Tooltip.prototype._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
- this._cleanTipClass();
- this.addAttachmentClass(this._getAttachment(data.placement));
+ $(this._scrollElement).trigger(Event.ACTIVATE, {
+ relatedTarget: target
+ });
};
- Tooltip.prototype._fixTransition = function _fixTransition() {
- var tip = this.getTipElement();
- var initConfigAnimation = this.config.animation;
- if (tip.getAttribute('x-placement') !== null) {
- return;
- }
- $(tip).removeClass(ClassName.FADE);
- this.config.animation = false;
- this.hide();
- this.show();
- this.config.animation = initConfigAnimation;
- };
+ _proto._clear = function _clear() {
+ $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
+ }; // static
- // static
- Tooltip._jQueryInterface = function _jQueryInterface(config) {
+ ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
- if (!data && /dispose|hide/.test(config)) {
- return;
- }
+ var _config = typeof config === 'object' && config;
if (!data) {
- data = new Tooltip(this, _config);
+ data = new ScrollSpy(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tooltip, null, [{
- key: 'VERSION',
+ createClass(ScrollSpy, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
-
- return Tooltip;
+ return ScrollSpy;
}();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
+
+
+ $(window).on(Event.LOAD_DATA_API, function () {
+ var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+
+ for (var i = scrollSpys.length; i--;) {
+ var $spy = $(scrollSpys[i]);
+ ScrollSpy._jQueryInterface.call($spy, $spy.data());
+ }
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tooltip._jQueryInterface;
- $.fn[NAME].Constructor = Tooltip;
+ $.fn[NAME] = ScrollSpy._jQueryInterface;
+ $.fn[NAME].Constructor = ScrollSpy;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tooltip._jQueryInterface;
+ return ScrollSpy._jQueryInterface;
};
- return Tooltip;
-}(jQuery);
+ return ScrollSpy;
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): popover.js
+ * Bootstrap (v4.0.0-beta.2): tab.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Popover = function ($) {
-
+var Tab = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'popover';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.popover';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'tab';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tab';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var CLASS_PREFIX = 'bs-popover';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var Default = $.extend({}, Tooltip.Default, {
- placement: 'right',
- trigger: 'click',
- content: '',
- template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
- });
-
- var DefaultType = $.extend({}, Tooltip.DefaultType, {
- content: '(string|element|function)'
- });
-
+ var TRANSITION_DURATION = 150;
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
+ };
var ClassName = {
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active',
+ DISABLED: 'disabled',
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TITLE: '.popover-header',
- CONTENT: '.popover-body'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
-
+ DROPDOWN: '.dropdown',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ ACTIVE: '.active',
+ ACTIVE_UL: '> li > .active',
+ DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
+ DROPDOWN_TOGGLE: '.dropdown-toggle',
+ DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3695,137 +3602,249 @@ var Popover = function ($) {
*/
};
- var Popover = function (_Tooltip) {
- _inherits(Popover, _Tooltip);
- function Popover() {
- _classCallCheck(this, Popover);
+ var Tab =
+ /*#__PURE__*/
+ function () {
+ function Tab(element) {
+ this._element = element;
+ } // getters
- return _possibleConstructorReturn(this, _Tooltip.apply(this, arguments));
- }
- // overrides
+ var _proto = Tab.prototype;
- Popover.prototype.isWithContent = function isWithContent() {
- return this.getTitle() || this._getContent();
- };
+ // public
+ _proto.show = function show() {
+ var _this = this;
- Popover.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
+ return;
+ }
- Popover.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ var target;
+ var previous;
+ var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
+ var selector = Util.getSelectorFromElement(this._element);
- Popover.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
+ if (listElement) {
+ var itemSelector = listElement.nodeName === 'UL' ? Selector.ACTIVE_UL : Selector.ACTIVE;
+ previous = $.makeArray($(listElement).find(itemSelector));
+ previous = previous[previous.length - 1];
+ }
- // we use append for html objects to maintain js events
- this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
- this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ var hideEvent = $.Event(Event.HIDE, {
+ relatedTarget: this._element
+ });
+ var showEvent = $.Event(Event.SHOW, {
+ relatedTarget: previous
+ });
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (previous) {
+ $(previous).trigger(hideEvent);
+ }
- // private
+ $(this._element).trigger(showEvent);
- Popover.prototype._getContent = function _getContent() {
- return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
+ if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ return;
+ }
+
+ if (selector) {
+ target = $(selector)[0];
+ }
+
+ this._activate(this._element, listElement);
+
+ var complete = function complete() {
+ var hiddenEvent = $.Event(Event.HIDDEN, {
+ relatedTarget: _this._element
+ });
+ var shownEvent = $.Event(Event.SHOWN, {
+ relatedTarget: previous
+ });
+ $(previous).trigger(hiddenEvent);
+ $(_this._element).trigger(shownEvent);
+ };
+
+ if (target) {
+ this._activate(target, target.parentNode, complete);
+ } else {
+ complete();
+ }
};
- Popover.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ this._element = null;
+ }; // private
+
+
+ _proto._activate = function _activate(element, container, callback) {
+ var _this2 = this;
+
+ var activeElements;
+
+ if (container.nodeName === 'UL') {
+ activeElements = $(container).find(Selector.ACTIVE_UL);
+ } else {
+ activeElements = $(container).children(Selector.ACTIVE);
+ }
+
+ var active = activeElements[0];
+ var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+
+ var complete = function complete() {
+ return _this2._transitionComplete(element, active, isTransitioning, callback);
+ };
+
+ if (active && isTransitioning) {
+ $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+
+ if (active) {
+ $(active).removeClass(ClassName.SHOW);
}
};
- // static
+ _proto._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
+ if (active) {
+ $(active).removeClass(ClassName.ACTIVE);
+ var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
- Popover._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+ if (dropdownChild) {
+ $(dropdownChild).removeClass(ClassName.ACTIVE);
+ }
- if (!data && /destroy|hide/.test(config)) {
- return;
+ if (active.getAttribute('role') === 'tab') {
+ active.setAttribute('aria-selected', false);
+ }
+ }
+
+ $(element).addClass(ClassName.ACTIVE);
+
+ if (element.getAttribute('role') === 'tab') {
+ element.setAttribute('aria-selected', true);
+ }
+
+ if (isTransitioning) {
+ Util.reflow(element);
+ $(element).addClass(ClassName.SHOW);
+ } else {
+ $(element).removeClass(ClassName.FADE);
+ }
+
+ if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
+
+ if (dropdownElement) {
+ $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
}
+ element.setAttribute('aria-expanded', true);
+ }
+
+ if (callback) {
+ callback();
+ }
+ }; // static
+
+
+ Tab._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var $this = $(this);
+ var data = $this.data(DATA_KEY);
+
if (!data) {
- data = new Popover(this, _config);
- $(this).data(DATA_KEY, data);
+ data = new Tab(this);
+ $this.data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Popover, null, [{
- key: 'VERSION',
-
-
- // getters
-
+ createClass(Tab, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }, {
- key: 'Default',
- get: function get() {
- return Default;
- }
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
+ return Tab;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
- return Popover;
- }(Tooltip);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+ event.preventDefault();
+
+ Tab._jQueryInterface.call($(this), 'show');
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Popover._jQueryInterface;
- $.fn[NAME].Constructor = Popover;
+ $.fn[NAME] = Tab._jQueryInterface;
+ $.fn[NAME].Constructor = Tab;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Popover._jQueryInterface;
+ return Tab._jQueryInterface;
};
- return Popover;
-}(jQuery);
+ return Tab;
+}($);
+
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-alpha.6): index.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
+(function () {
+ if (typeof $ === 'undefined') {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');
+ }
-})();
\ No newline at end of file
+ var version = $.fn.jquery.split(' ')[0].split('.');
+ var minMajor = 1;
+ var ltMajor = 2;
+ var minMinor = 9;
+ var minPatch = 1;
+ var maxMajor = 4;
+
+ 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 v1.9.1 but less than v4.0.0');
+ }
+})($);
+
+exports.Util = Util;
+exports.Alert = Alert;
+exports.Button = Button;
+exports.Carousel = Carousel;
+exports.Collapse = Collapse;
+exports.Dropdown = Dropdown;
+exports.Modal = Modal;
+exports.Popover = Popover;
+exports.Scrollspy = ScrollSpy;
+exports.Tab = Tab;
+exports.Tooltip = Tooltip;
+
+return exports;
+
+}({},$,Popper));
+//# sourceMappingURL=bootstrap.js.map
diff --git a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/js/bootstrap.min.js b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/js/bootstrap.min.js
index e187476..27aace3 100644
--- a/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/js/bootstrap.min.js
+++ b/tobago-theme/tobago-theme-scarborough/src/main/resources/META-INF/resources/tobago/scarborough/tobago-bootstrap/_version/js/bootstrap.min.js
@@ -1,6 +1,7 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(t){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function t(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object [...]
\ No newline at end of file
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap=function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){function t(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(){return{bindType:r.end,delegateType:r.end,handle:function(t){if(e(t.target).is(this) [...]
+//# sourceMappingURL=bootstrap.min.js.map
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-speyside/rebuild-theme.log b/tobago-theme/tobago-theme-speyside/rebuild-theme.log
index 51bbcd8..95453b8 100644
--- a/tobago-theme/tobago-theme-speyside/rebuild-theme.log
+++ b/tobago-theme/tobago-theme-speyside/rebuild-theme.log
@@ -1,4 +1,4 @@
-Build date: 2017-10-12 18:03:26
+Build date: 2017-10-20 13:38:43
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
@@ -11,20 +11,20 @@ Build date: 2017-10-12 18:03:26
[INFO]
[INFO] --- maven-scm-plugin:1.9.5:checkout (step #1: checkout-bootstrap) @ tobago-theme-speyside ---
[INFO] Removing __CURRENT__/tobago-theme-speyside/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-speyside/target && git clone --branch v4.0.0-beta https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-speyside/target/checkout
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-speyside/target && git clone --branch v4.0.0-beta.2 https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-speyside/target/checkout
[INFO] Working directory: __CURRENT__/tobago-theme-speyside/target
[INFO] Executing: /bin/sh -c cd /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/ && git ls-remote https://github.com/twbs/bootstrap
[INFO] Working directory: /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-speyside/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta:v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-speyside/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta.2:v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-speyside/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-speyside/target/checkout && git checkout v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-speyside/target/checkout && git checkout v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-speyside/target/checkout
[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-speyside/target/checkout && git ls-files
[INFO] Working directory: __CURRENT__/tobago-theme-speyside/target/checkout
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #2: copy-bootstrap) @ tobago-theme-speyside ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 392 resources
+[INFO] Copying 425 resources
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #3: copy-custom) @ tobago-theme-speyside ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
@@ -38,30 +38,27 @@ Build date: 2017-10-12 18:03:26
[INFO] Unpacking __REPO__/org/apache/myfaces/tobago/tobago-core/4.0.0-SNAPSHOT/tobago-core-4.0.0-SNAPSHOT.jar to __CURRENT__/tobago-theme-speyside/target/bootstrap with includes "**/*.scss" and excludes ""
[INFO]
[INFO] --- frontend-maven-plugin:1.4:install-node-and-npm (step #6: install node and npm) @ tobago-theme-speyside ---
-[INFO] Installing node version v6.10.2
-[INFO] Unpacking __REPO__/com/github/eirslett/node/6.10.2/node-6.10.2-darwin-x64.tar.gz into __CURRENT__/tobago-theme-speyside/target/frontend/node/tmp
-[INFO] Copying node binary from __CURRENT__/tobago-theme-speyside/target/frontend/node/tmp/node-v6.10.2-darwin-x64/bin/node to __CURRENT__/tobago-theme-speyside/target/frontend/node/node
+[INFO] Installing node version v7.10.1
+[INFO] Unpacking __REPO__/com/github/eirslett/node/7.10.1/node-7.10.1-darwin-x64.tar.gz into __CURRENT__/tobago-theme-speyside/target/frontend/node/tmp
+[INFO] Copying node binary from __CURRENT__/tobago-theme-speyside/target/frontend/node/tmp/node-v7.10.1-darwin-x64/bin/node to __CURRENT__/tobago-theme-speyside/target/frontend/node/node
[INFO] Installed node locally.
-[INFO] Installing npm version 3.10.10
-[INFO] Unpacking __REPO__/com/github/eirslett/npm/3.10.10/npm-3.10.10.tar.gz into __CURRENT__/tobago-theme-speyside/target/frontend/node/node_modules
+[INFO] Installing npm version 4.2.0
+[INFO] Unpacking __REPO__/com/github/eirslett/npm/4.2.0/npm-4.2.0.tar.gz into __CURRENT__/tobago-theme-speyside/target/frontend/node/node_modules
[INFO] Installed npm locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #7: npm install) @ tobago-theme-speyside ---
[INFO] Running 'npm install' in __CURRENT__/tobago-theme-speyside/target/bootstrap
-[WARNING] npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
-[WARNING] npm WARN prefer global coffee-script@1.10.0 should be installed with -g
[WARNING] npm WARN prefer global node-gyp@3.6.2 should be installed with -g
[INFO]
[INFO] > fsevents@1.1.2 install __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/fsevents
[INFO] > node install
[INFO]
-[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
-[INFO] Pass --update-binary to reinstall or --build-from-source to recompile
+[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node" is installed via remote
[INFO]
[INFO] > node-sass@4.5.3 install __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/install.js
[INFO]
-[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-48_binding.node
+[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-51_binding.node
[INFO]
[INFO] > phantomjs-prebuilt@2.1.15 install __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/phantomjs-prebuilt
[INFO] > node install.js
@@ -71,62 +68,62 @@ Build date: 2017-10-12 18:03:26
[INFO] Verified checksum of previously downloaded file
[INFO] Extracting zip contents
[INFO] Removing __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
-[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1507824297232/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
+[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1508499612189/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
[INFO] Writing location.js file
[INFO] Done. Phantomjs binary available at __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
[INFO]
[INFO] > node-sass@4.5.3 postinstall __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/build.js
[INFO]
-[INFO] Binary found at __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-48/binding.node
+[INFO] Binary found at __CURRENT__/tobago-theme-speyside/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-51/binding.node
[INFO] Testing binary
[INFO] Binary is fine
-[INFO] bootstrap@4.0.0-beta __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] bootstrap@4.0.0-beta.2 __CURRENT__/tobago-theme-speyside/target/bootstrap
[INFO] ├─┬ autoprefixer@7.1.5
[INFO] │ ├─┬ browserslist@2.5.1
-[INFO] │ │ └── electron-to-chromium@1.3.26
-[INFO] │ ├── caniuse-lite@1.0.30000746
+[INFO] │ │ └── electron-to-chromium@1.3.27
+[INFO] │ ├── caniuse-lite@1.0.30000748
[INFO] │ ├── normalize-range@0.1.2
[INFO] │ ├── num2fraction@1.2.2
[INFO] │ ├─┬ postcss@6.0.13
-[INFO] │ │ ├── source-map@0.6.1
-[INFO] │ │ └─┬ supports-color@4.4.0
+[INFO] │ │ └─┬ supports-color@4.5.0
[INFO] │ │ └── has-flag@2.0.0
[INFO] │ └── postcss-value-parser@3.3.0
-[INFO] ├─┬ babel-cli@6.26.0
-[INFO] │ ├─┬ babel-core@6.26.0
-[INFO] │ │ ├─┬ babel-generator@6.26.0
-[INFO] │ │ │ ├─┬ detect-indent@4.0.0
-[INFO] │ │ │ │ └─┬ repeating@2.0.1
-[INFO] │ │ │ │ └── is-finite@1.0.2
-[INFO] │ │ │ ├── jsesc@1.3.0
+[INFO] ├─┬ babel-cli@7.0.0-beta.2
+[INFO] │ ├─┬ babel-core@7.0.0-beta.2
+[INFO] │ │ ├── babel-code-frame@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-generator@7.0.0-beta.2
+[INFO] │ │ │ ├── jsesc@2.5.1
[INFO] │ │ │ ├── source-map@0.5.7
[INFO] │ │ │ └── trim-right@1.0.1
-[INFO] │ │ ├── babel-helpers@6.24.1
-[INFO] │ │ ├── babel-messages@6.23.0
-[INFO] │ │ ├── babel-template@6.26.0
+[INFO] │ │ ├── babel-helpers@7.0.0-beta.2
+[INFO] │ │ ├── babel-messages@7.0.0-beta.2
+[INFO] │ │ ├── babel-template@7.0.0-beta.2
+[INFO] │ │ ├── babel-traverse@7.0.0-beta.2
+[INFO] │ │ ├── babel-types@7.0.0-beta.2
+[INFO] │ │ ├── babylon@7.0.0-beta.25
[INFO] │ │ ├── json5@0.5.1
-[INFO] │ │ ├── private@0.1.7
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-polyfill@6.26.0
+[INFO] │ ├─┬ babel-polyfill@7.0.0-beta.2
[INFO] │ │ ├── core-js@2.5.1
-[INFO] │ │ └── regenerator-runtime@0.10.5
-[INFO] │ ├─┬ babel-register@6.26.0
-[INFO] │ │ ├─┬ home-or-tmp@2.0.0
-[INFO] │ │ │ ├── os-homedir@1.0.2
-[INFO] │ │ │ └── os-tmpdir@1.0.2
+[INFO] │ │ └── regenerator-runtime@0.11.0
+[INFO] │ ├─┬ babel-register@7.0.0-beta.2
+[INFO] │ │ ├─┬ find-cache-dir@1.0.0
+[INFO] │ │ │ ├── commondir@1.0.1
+[INFO] │ │ │ ├── make-dir@1.0.0
+[INFO] │ │ │ └── pkg-dir@2.0.0
+[INFO] │ │ ├── home-or-tmp@3.0.0
+[INFO] │ │ ├─┬ pirates@3.0.1
+[INFO] │ │ │ └── node-modules-regexp@1.0.0
[INFO] │ │ └─┬ source-map-support@0.4.18
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-runtime@6.26.0
-[INFO] │ │ └── regenerator-runtime@0.11.0
[INFO] │ ├─┬ chokidar@1.7.0
-[INFO] │ │ ├─┬ anymatch@1.3.2
-[INFO] │ │ │ └─┬ normalize-path@2.1.1
-[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├── anymatch@1.3.2
[INFO] │ │ ├── async-each@1.0.1
[INFO] │ │ ├─┬ fsevents@1.1.2
[INFO] │ │ │ └─┬ node-pre-gyp@0.6.36
[INFO] │ │ │ ├─┬ mkdirp@0.5.1
+[WARNING] npm WARN bootstrap@4.0.0-beta.2 requires a peer of jquery@1.9.1 - 3 but none was installed.
[INFO] │ │ │ │ └── minimist@0.0.8
[INFO] │ │ │ ├─┬ nopt@4.0.1
[INFO] │ │ │ │ ├── abbrev@1.1.0
@@ -187,9 +184,7 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ │ │ │ ├── asn1@0.2.3
[INFO] │ │ │ │ │ ├── assert-plus@1.0.0
[INFO] │ │ │ │ │ ├── bcrypt-pbkdf@1.0.1
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of jquery@>=1.9.1 but none was installed.
[INFO] │ │ │ │ │ ├─┬ dashdash@1.14.1
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of popper.js@^1.11.0 but none was installed.
[INFO] │ │ │ │ │ │ └── assert-plus@1.0.0
[INFO] │ │ │ │ │ ├── ecc-jsbn@0.1.1
[INFO] │ │ │ │ │ ├─┬ getpass@0.1.7
@@ -244,8 +239,8 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ ├── inherits@2.0.3
[INFO] │ │ ├─┬ is-binary-path@1.0.1
[INFO] │ │ │ └── binary-extensions@1.10.0
-[INFO] │ │ ├─┬ is-glob@2.0.1
-[INFO] │ │ │ └── is-extglob@1.0.0
+[INFO] │ │ ├── is-glob@2.0.1
+[INFO] │ │ ├── path-is-absolute@1.0.1
[INFO] │ │ └─┬ readdirp@2.1.0
[INFO] │ │ └── set-immediate-shim@1.0.1
[INFO] │ ├── commander@2.11.0
@@ -257,76 +252,155 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ │ └── wrappy@1.0.2
[INFO] │ │ └── once@1.4.0
[INFO] │ ├── lodash@4.17.4
-[INFO] │ ├─┬ output-file-sync@1.1.2
+[INFO] │ ├─┬ output-file-sync@2.0.0
[INFO] │ │ ├── graceful-fs@4.1.11
-[INFO] │ │ └── object-assign@4.1.1
-[INFO] │ ├── path-is-absolute@1.0.1
+[INFO] │ │ └── is-plain-obj@1.1.0
[INFO] │ ├── slash@1.0.0
-[INFO] │ ├── source-map@0.5.7
-[INFO] │ └─┬ v8flags@2.1.1
-[INFO] │ └── user-home@1.1.1
-[INFO] ├─┬ babel-eslint@7.2.3
-[INFO] │ ├─┬ babel-code-frame@6.26.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ └── source-map@0.5.7
+[INFO] ├─┬ babel-eslint@8.0.1
+[INFO] │ ├─┬ babel-code-frame@7.0.0-beta.0
[INFO] │ │ └── js-tokens@3.0.2
-[INFO] │ ├─┬ babel-traverse@6.26.0
-[INFO] │ │ └─┬ invariant@2.2.2
-[INFO] │ │ └── loose-envify@1.3.1
-[INFO] │ ├─┬ babel-types@6.26.0
-[INFO] │ │ └── to-fast-properties@1.0.3
-[INFO] │ └── babylon@6.18.0
+[INFO] │ ├─┬ babel-traverse@7.0.0-beta.0
+[INFO] │ │ ├─┬ babel-helper-function-name@7.0.0-beta.0
+[INFO] │ │ │ ├── babel-helper-get-function-arity@7.0.0-beta.0
+[INFO] │ │ │ └── babel-template@7.0.0-beta.0
+[INFO] │ │ ├── babel-messages@7.0.0-beta.0
+[INFO] │ │ └── globals@10.1.0
+[INFO] │ ├─┬ babel-types@7.0.0-beta.0
+[INFO] │ │ └── to-fast-properties@2.0.0
+[INFO] │ └── babylon@7.0.0-beta.22
+[INFO] ├── babel-plugin-external-helpers@7.0.0-beta.2
[INFO] ├── babel-plugin-transform-es2015-modules-strip@0.1.1
-[INFO] ├─┬ babel-preset-es2015@6.24.1
-[INFO] │ ├── babel-plugin-check-es2015-constants@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@6.26.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@6.24.1
-[INFO] │ │ ├── babel-helper-define-map@6.26.0
-[INFO] │ │ ├── babel-helper-function-name@6.24.1
-[INFO] │ │ ├── babel-helper-optimise-call-expression@6.24.1
-[INFO] │ │ └── babel-helper-replace-supers@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-destructuring@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-for-of@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-function-name@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-modules-amd@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-commonjs@6.26.0
-[INFO] │ │ └── babel-plugin-transform-strict-mode@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@6.24.1
-[INFO] │ │ └── babel-helper-hoist-variables@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-object-super@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@6.24.1
-[INFO] │ │ ├── babel-helper-call-delegate@6.24.1
-[INFO] │ │ └── babel-helper-get-function-arity@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-spread@6.22.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.24.1
-[INFO] │ │ └── babel-helper-regex@6.26.0
-[INFO] │ ├── babel-plugin-transform-es2015-template-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@6.23.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.24.1
-[INFO] │ │ └─┬ regexpu-core@2.0.0
+[INFO] ├─┬ babel-preset-env@2.0.0-beta.2
+[INFO] │ ├── babel-plugin-check-es2015-constants@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-syntax-async-generators@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-object-rest-spread@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
+[INFO] │ ├─┬ babel-plugin-transform-async-generator-functions@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-remap-async-to-generator@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-wrap-function@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-generators@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-async-to-generator@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-functions@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-annotate-as-pure@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-define-map@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-function-name@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-optimise-call-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-replace-supers@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-destructuring@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-for-of@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-function-name@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-literals@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-amd@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-module-transforms@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-commonjs@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-hoist-variables@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-object-super@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-call-delegate@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-get-function-arity@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-regex@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-template-literals@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@7.0.0-beta.2
+[INFO] │ │ └─┬ regexpu-core@4.1.3
[INFO] │ │ ├── regenerate@1.3.3
-[INFO] │ │ ├── regjsgen@0.2.0
-[INFO] │ │ └─┬ regjsparser@0.1.5
-[INFO] │ │ └── jsesc@0.5.0
-[INFO] │ └─┬ babel-plugin-transform-regenerator@6.26.0
-[INFO] │ └── regenerator-transform@0.10.1
+[INFO] │ │ ├── regenerate-unicode-properties@5.1.1
+[INFO] │ │ ├── regjsgen@0.3.0
+[INFO] │ │ ├─┬ regjsparser@0.2.1
+[INFO] │ │ │ └── jsesc@0.5.0
+[INFO] │ │ ├─┬ unicode-match-property-ecmascript@1.0.3
+[INFO] │ │ │ ├── unicode-canonical-property-names-ecmascript@1.0.2
+[INFO] │ │ │ └── unicode-property-aliases-ecmascript@1.0.3
+[INFO] │ │ └── unicode-match-property-value-ecmascript@1.0.1
+[INFO] │ ├─┬ babel-plugin-transform-exponentiation-operator@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-builder-binary-assignment-operator-visitor@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-explode-assignable-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-exponentiation-operator@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-new-target@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-object-rest-spread@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-object-rest-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-optional-catch-binding@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-regenerator@7.0.0-beta.2
+[INFO] │ │ └─┬ regenerator-transform@0.10.0
+[INFO] │ │ ├─┬ babel-types@6.26.0
+[INFO] │ │ │ └── to-fast-properties@1.0.3
+[INFO] │ │ └── private@0.1.8
+[INFO] │ ├─┬ babel-plugin-transform-unicode-property-regex@2.0.5
+[INFO] │ │ └─┬ babel-helper-regex@6.26.0
+[INFO] │ │ └─┬ babel-types@6.26.0
+[INFO] │ │ └── to-fast-properties@1.0.3
+[INFO] │ ├─┬ invariant@2.2.2
+[INFO] │ │ └── loose-envify@1.3.1
+[INFO] │ └── semver@5.4.1
+[INFO] ├─┬ bundlesize@0.15.3
+[INFO] │ ├─┬ axios@0.16.2
+[INFO] │ │ ├─┬ follow-redirects@1.2.5
+[INFO] │ │ │ └── debug@2.6.9
+[INFO] │ │ └── is-buffer@1.1.5
+[INFO] │ ├── bytes@3.0.0
+[INFO] │ ├── ci-env@1.4.0
+[INFO] │ ├─┬ github-build@1.2.0
+[INFO] │ │ └─┬ axios@0.15.3
+[INFO] │ │ └─┬ follow-redirects@1.0.0
+[INFO] │ │ └── debug@2.6.9
+[INFO] │ ├─┬ gzip-size@4.0.0
+[INFO] │ │ ├── duplexer@0.1.1
+[INFO] │ │ └── pify@3.0.0
+[INFO] │ ├─┬ opencollective@1.0.3
+[INFO] │ │ ├─┬ babel-polyfill@6.23.0
+[INFO] │ │ │ └── regenerator-runtime@0.10.5
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── minimist@1.2.0
+[INFO] │ │ ├─┬ node-fetch@1.6.3
+[INFO] │ │ │ └── encoding@0.1.12
+[INFO] │ │ └── opn@4.0.2
+[INFO] │ ├─┬ prettycli@1.4.3
+[INFO] │ │ └── chalk@2.1.0
+[INFO] │ └─┬ read-pkg-up@2.0.0
+[INFO] │ └─┬ find-up@2.1.0
+[INFO] │ └─┬ locate-path@2.0.0
+[INFO] │ ├─┬ p-locate@2.0.0
+[INFO] │ │ └── p-limit@1.1.0
+[INFO] │ └── path-exists@3.0.0
[INFO] ├─┬ clean-css-cli@4.1.10
[INFO] │ └─┬ clean-css@4.1.9
[INFO] │ └── source-map@0.5.7
-[INFO] ├─┬ eslint@4.8.0
+[INFO] ├─┬ cross-env@5.1.0
+[INFO] │ ├─┬ cross-spawn@5.1.0
+[INFO] │ │ ├─┬ lru-cache@4.1.1
+[INFO] │ │ │ ├── pseudomap@1.0.2
+[INFO] │ │ │ └── yallist@2.1.2
+[INFO] │ │ ├─┬ shebang-command@1.2.0
+[INFO] │ │ │ └── shebang-regex@1.0.0
+[INFO] │ │ └── which@1.3.0
+[INFO] │ └── is-windows@1.0.1
+[INFO] ├─┬ eslint@4.9.0
[INFO] │ ├─┬ ajv@5.2.3
[INFO] │ │ ├── co@4.6.0
[INFO] │ │ ├── fast-deep-equal@1.0.0
[INFO] │ │ └── json-schema-traverse@0.3.1
-[INFO] │ ├─┬ chalk@2.1.0
+[INFO] │ ├─┬ babel-code-frame@6.26.0
+[INFO] │ │ └─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ ├─┬ chalk@2.2.0
[INFO] │ │ └── escape-string-regexp@1.0.5
[INFO] │ ├─┬ concat-stream@1.6.0
[INFO] │ │ ├─┬ readable-stream@2.3.3
@@ -335,13 +409,6 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ │ ├── string_decoder@1.0.3
[INFO] │ │ │ └── util-deprecate@1.0.2
[INFO] │ │ └── typedarray@0.0.6
-[INFO] │ ├─┬ cross-spawn@5.1.0
-[INFO] │ │ ├─┬ lru-cache@4.1.1
-[INFO] │ │ │ ├── pseudomap@1.0.2
-[INFO] │ │ │ └── yallist@2.1.2
-[INFO] │ │ ├─┬ shebang-command@1.2.0
-[INFO] │ │ │ └── shebang-regex@1.0.0
-[INFO] │ │ └── which@1.3.0
[INFO] │ ├─┬ debug@3.1.0
[INFO] │ │ └── ms@2.0.0
[INFO] │ ├─┬ doctrine@2.0.0
@@ -356,39 +423,39 @@ Build date: 2017-10-12 18:03:26
[INFO] │ ├── estraverse@4.2.0
[INFO] │ ├── esutils@2.0.2
[INFO] │ ├─┬ file-entry-cache@2.0.0
-[INFO] │ │ └─┬ flat-cache@1.3.0
-[INFO] │ │ ├── circular-json@0.3.3
-[INFO] │ │ ├─┬ del@2.2.2
-[INFO] │ │ │ ├─┬ globby@5.0.0
-[INFO] │ │ │ │ └── arrify@1.0.1
-[INFO] │ │ │ ├── is-path-cwd@1.0.0
-[INFO] │ │ │ └── is-path-in-cwd@1.0.0
-[INFO] │ │ └── write@0.2.1
+[INFO] │ │ ├─┬ flat-cache@1.3.0
+[INFO] │ │ │ ├── circular-json@0.3.3
+[INFO] │ │ │ ├─┬ del@2.2.2
+[INFO] │ │ │ │ ├─┬ globby@5.0.0
+[INFO] │ │ │ │ │ └── arrify@1.0.1
+[INFO] │ │ │ │ ├── is-path-cwd@1.0.0
+[INFO] │ │ │ │ └── is-path-in-cwd@1.0.0
+[INFO] │ │ │ └── write@0.2.1
+[INFO] │ │ └── object-assign@4.1.1
[INFO] │ ├── functional-red-black-tree@1.0.1
[INFO] │ ├── globals@9.18.0
[INFO] │ ├── ignore@3.3.5
[INFO] │ ├── imurmurhash@0.1.4
-[INFO] │ ├─┬ inquirer@3.3.0
-[INFO] │ │ ├── ansi-escapes@3.0.0
+[INFO] │ ├─┬ inquirer@3.0.6
+[INFO] │ │ ├── ansi-escapes@1.4.0
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
[INFO] │ │ ├─┬ cli-cursor@2.1.0
[INFO] │ │ │ └─┬ restore-cursor@2.0.0
[INFO] │ │ │ └── onetime@2.0.1
[INFO] │ │ ├── cli-width@2.2.0
[INFO] │ │ ├─┬ external-editor@2.0.5
+[INFO] │ │ │ ├── iconv-lite@0.4.19
[INFO] │ │ │ ├── jschardet@1.5.1
[INFO] │ │ │ └── tmp@0.0.33
[INFO] │ │ ├── figures@2.0.0
[INFO] │ │ ├── mute-stream@0.0.7
[INFO] │ │ ├─┬ run-async@2.3.0
[INFO] │ │ │ └── is-promise@2.1.0
-[INFO] │ │ ├── rx-lite@4.0.8
-[INFO] │ │ ├── rx-lite-aggregates@4.0.8
-[INFO] │ │ ├─┬ string-width@2.1.1
-[INFO] │ │ │ ├── is-fullwidth-code-point@2.0.0
-[INFO] │ │ │ └─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
-[INFO] │ │ ├─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
+[INFO] │ │ ├── rx@4.1.0
+[INFO] │ │ ├─┬ strip-ansi@3.0.1
+[INFO] │ │ │ └── ansi-regex@2.1.1
[INFO] │ │ └── through@2.3.8
[INFO] │ ├─┬ is-resolvable@1.0.0
[INFO] │ │ └── tryit@1.0.3
@@ -403,7 +470,6 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ └── type-check@0.3.2
[INFO] │ ├─┬ minimatch@3.0.4
[INFO] │ │ └─┬ brace-expansion@1.1.8
-[INFO] │ │ ├── balanced-match@1.0.0
[INFO] │ │ └── concat-map@0.0.1
[INFO] │ ├─┬ mkdirp@0.5.1
[INFO] │ │ └── minimist@0.0.8
@@ -419,7 +485,6 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ ├─┬ caller-path@0.1.0
[INFO] │ │ │ └── callsites@0.2.0
[INFO] │ │ └── resolve-from@1.0.1
-[INFO] │ ├── semver@5.4.1
[INFO] │ ├─┬ strip-ansi@4.0.0
[INFO] │ │ └── ansi-regex@3.0.0
[INFO] │ ├── strip-json-comments@2.0.1
@@ -427,63 +492,15 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ ├── ajv-keywords@2.1.0
[INFO] │ │ └── slice-ansi@1.0.0
[INFO] │ └── text-table@0.2.0
-[INFO] ├─┬ grunt@1.0.1
-[INFO] │ ├── coffee-script@1.10.0
-[INFO] │ ├── dateformat@1.0.12
-[INFO] │ ├── eventemitter2@0.4.14
-[INFO] │ ├── exit@0.1.2
-[INFO] │ ├─┬ findup-sync@0.3.0
-[INFO] │ │ └── glob@5.0.15
-[INFO] │ ├── glob@7.0.6
-[INFO] │ ├── grunt-known-options@1.1.0
-[INFO] │ ├─┬ grunt-legacy-log@1.0.0
-[INFO] │ │ ├─┬ grunt-legacy-log-utils@1.0.0
-[INFO] │ │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ │ └── supports-color@2.0.0
-[INFO] │ │ │ └── lodash@4.3.0
-[INFO] │ │ ├── hooker@0.2.3
-[INFO] │ │ ├── lodash@3.10.1
-[INFO] │ │ └── underscore.string@3.2.3
-[INFO] │ ├─┬ grunt-legacy-util@1.0.0
-[INFO] │ │ ├── async@1.5.2
-[INFO] │ │ ├── getobject@0.1.0
-[INFO] │ │ ├── lodash@4.3.0
-[INFO] │ │ └── which@1.2.14
-[INFO] │ ├── iconv-lite@0.4.19
-[INFO] │ ├─┬ js-yaml@3.5.5
-[INFO] │ │ └── esprima@2.7.3
-[INFO] │ ├─┬ nopt@3.0.6
-[INFO] │ │ └── abbrev@1.1.1
-[INFO] │ └── rimraf@2.2.8
-[INFO] ├─┬ grunt-cli@1.2.0
-[INFO] │ └── resolve@1.1.7
-[INFO] ├─┬ grunt-saucelabs@9.0.0
-[INFO] │ ├── colors@1.1.2
-[INFO] │ ├── lodash@4.13.1
-[INFO] │ ├── q@1.4.1
-[INFO] │ ├─┬ requestretry@1.9.1
-[INFO] │ │ ├── extend@3.0.1
-[INFO] │ │ ├─┬ fg-lodash@0.0.2
-[INFO] │ │ │ ├── lodash@2.4.2
-[INFO] │ │ │ └── underscore.string@2.3.3
-[INFO] │ │ └── when@3.7.8
-[INFO] │ ├─┬ sauce-tunnel@2.5.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
-[INFO] │ │ └── split@1.0.1
-[INFO] │ └─┬ saucelabs@1.2.0
-[INFO] │ └─┬ https-proxy-agent@1.0.0
-[INFO] │ └─┬ agent-base@2.1.1
-[INFO] │ └── semver@5.0.3
+[INFO] ├─┬ eslint-plugin-compat@2.0.1
+[INFO] │ ├── babel-runtime@6.26.0
+[INFO] │ ├── caniuse-db@1.0.30000748
+[INFO] │ └── requireindex@1.1.0
[INFO] ├─┬ htmllint-cli@0.0.6
[INFO] │ ├── bluebird@3.5.1
[INFO] │ ├─┬ chalk@1.1.3
[INFO] │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ ├─┬ has-ansi@2.0.0
-[INFO] │ │ │ └── ansi-regex@2.1.1
-[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ ├── has-ansi@2.0.0
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ cjson@0.5.0
[INFO] │ │ └─┬ json-parse-helpfulerror@1.0.3
@@ -498,7 +515,7 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ │ └── domelementtype@1.1.3
[INFO] │ │ └── entities@1.1.1
[INFO] │ ├─┬ liftoff@2.3.0
-[INFO] │ │ ├── findup-sync@0.4.3
+[INFO] │ │ ├── extend@3.0.1
[INFO] │ │ ├─┬ fined@1.1.0
[INFO] │ │ │ ├─┬ expand-tilde@2.0.2
[INFO] │ │ │ │ └─┬ homedir-polyfill@1.0.1
@@ -508,16 +525,16 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ │ ├─┬ object.defaults@1.1.0
[INFO] │ │ │ │ ├── array-each@1.0.1
[INFO] │ │ │ │ ├── array-slice@1.0.0
-[INFO] │ │ │ │ ├─┬ for-own@1.0.0
-[INFO] │ │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ │ ├── for-own@1.0.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ ├─┬ object.pick@1.3.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ └─┬ parse-filepath@1.0.1
[INFO] │ │ │ ├─┬ is-absolute@0.2.6
-[INFO] │ │ │ │ └─┬ is-relative@0.2.1
-[INFO] │ │ │ │ └─┬ is-unc-path@0.1.2
-[INFO] │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ ├─┬ is-relative@0.2.1
+[INFO] │ │ │ │ │ └─┬ is-unc-path@0.1.2
+[INFO] │ │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ └── is-windows@0.2.0
[INFO] │ │ │ ├── map-cache@0.2.2
[INFO] │ │ │ └─┬ path-root@0.1.1
[INFO] │ │ │ └── path-root-regex@0.1.2
@@ -557,9 +574,15 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ └── number-is-nan@1.0.1
[INFO] │ ├── which-module@1.0.0
[INFO] │ ├── y18n@3.2.1
-[INFO] │ └─┬ yargs-parser@4.2.1
-[INFO] │ └── camelcase@3.0.0
-[INFO] ├── UNMET PEER DEPENDENCY jquery@>=1.9.1
+[INFO] │ └── yargs-parser@4.2.1
+[INFO] ├── UNMET PEER DEPENDENCY jquery@1.9.1 - 3
+[INFO] ├─┬ jsunitsaucelabs@1.3.0
+[INFO] │ ├── colors@1.1.2
+[INFO] │ └─┬ sauce-tunnel@2.5.0
+[INFO] │ ├─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ └── split@1.0.1
[INFO] ├─┬ node-sass@4.5.3
[INFO] │ ├── async-foreach@0.1.3
[INFO] │ ├─┬ chalk@1.1.3
@@ -584,20 +607,32 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ ├── minimist@1.2.0
[INFO] │ │ ├─┬ normalize-package-data@2.4.0
[INFO] │ │ │ ├── hosted-git-info@2.5.0
-[INFO] │ │ │ ├─┬ is-builtin-module@1.0.0
-[INFO] │ │ │ │ └── builtin-modules@1.1.1
+[INFO] │ │ │ ├── is-builtin-module@1.0.0
[INFO] │ │ │ └─┬ validate-npm-package-license@3.0.1
[INFO] │ │ │ ├─┬ spdx-correct@1.0.2
[INFO] │ │ │ │ └── spdx-license-ids@1.2.2
[INFO] │ │ │ └── spdx-expression-parse@1.0.4
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ redent@1.0.0
-[INFO] │ │ │ ├── indent-string@2.1.0
+[INFO] │ │ │ ├─┬ indent-string@2.1.0
+[INFO] │ │ │ │ └─┬ repeating@2.0.1
+[INFO] │ │ │ │ └── is-finite@1.0.2
[INFO] │ │ │ └── strip-indent@1.0.1
[INFO] │ │ └── trim-newlines@1.0.0
[INFO] │ ├── nan@2.7.0
[INFO] │ ├─┬ node-gyp@3.6.2
[INFO] │ │ ├── fstream@1.0.11
-[INFO] │ │ ├── osenv@0.1.4
+[INFO] │ │ ├─┬ nopt@3.0.6
+[INFO] │ │ │ └── abbrev@1.1.1
+[INFO] │ │ ├─┬ osenv@0.1.4
+[INFO] │ │ │ ├── os-homedir@1.0.2
+[INFO] │ │ │ └── os-tmpdir@1.0.2
[INFO] │ │ ├── rimraf@2.6.2
[INFO] │ │ ├── semver@5.3.0
[INFO] │ │ └─┬ tar@2.2.1
@@ -665,7 +700,13 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ │ └─┬ source-map@0.4.4
[INFO] │ │ │ └── amdefine@1.0.1
[INFO] │ │ └─┬ yargs@7.1.0
-[INFO] │ │ ├── camelcase@3.0.0
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ string-width@1.0.2
[INFO] │ │ │ └── is-fullwidth-code-point@1.0.0
[INFO] │ │ └── yargs-parser@5.0.0
@@ -688,7 +729,6 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ └── lodash.restparam@3.6.1
[INFO] │ ├─┬ ps-tree@1.1.0
[INFO] │ │ └─┬ event-stream@3.3.4
-[INFO] │ │ ├── duplexer@0.1.1
[INFO] │ │ ├── from@0.1.7
[INFO] │ │ ├── map-stream@0.1.0
[INFO] │ │ ├── pause-stream@0.0.11
@@ -698,7 +738,7 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ └── nopt@1.0.10
[INFO] │ ├── undefsafe@0.0.3
[INFO] │ └─┬ update-notifier@2.3.0
-[INFO] │ ├─┬ boxen@1.2.1
+[INFO] │ ├─┬ boxen@1.2.2
[INFO] │ │ ├── ansi-align@2.0.0
[INFO] │ │ ├── camelcase@4.1.0
[INFO] │ │ ├── cli-boxes@1.0.0
@@ -709,7 +749,6 @@ Build date: 2017-10-12 18:03:26
[INFO] │ ├─┬ configstore@3.1.1
[INFO] │ │ ├─┬ dot-prop@4.2.0
[INFO] │ │ │ └── is-obj@1.0.1
-[INFO] │ │ ├── make-dir@1.0.0
[INFO] │ │ ├─┬ unique-string@1.0.0
[INFO] │ │ │ └── crypto-random-string@1.0.0
[INFO] │ │ └── write-file-atomic@2.3.0
@@ -733,7 +772,7 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ │ └─┬ url-parse-lax@1.0.0
[INFO] │ │ │ └── prepend-http@1.0.4
[INFO] │ │ ├─┬ registry-auth-token@3.3.1
-[INFO] │ │ │ └─┬ rc@1.2.1
+[INFO] │ │ │ └─┬ rc@1.2.2
[INFO] │ │ │ ├── deep-extend@0.4.2
[INFO] │ │ │ └── minimist@1.2.0
[INFO] │ │ └── registry-url@3.1.0
@@ -749,9 +788,7 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ └── string_decoder@0.10.31
[INFO] │ ├─┬ read-pkg@2.0.0
[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ ├─┬ parse-json@2.2.0
-[INFO] │ │ │ │ └─┬ error-ex@1.3.1
-[INFO] │ │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ │ ├── parse-json@2.2.0
[INFO] │ │ │ └── strip-bom@3.0.0
[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├─┬ shell-quote@1.6.1
@@ -807,7 +844,7 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ └── throttleit@1.0.0
[INFO] │ └─┬ which@1.2.14
[INFO] │ └── isexe@2.0.0
-[INFO] ├── UNMET PEER DEPENDENCY popper.js@^1.11.0
+[INFO] ├── popper.js@1.12.5
[INFO] ├─┬ postcss-cli@4.1.1
[INFO] │ ├── dependency-graph@0.5.1
[INFO] │ ├─┬ fs-extra@4.0.2
@@ -829,7 +866,6 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ postcss-load-config@1.2.0
[INFO] │ │ ├─┬ cosmiconfig@2.2.2
-[INFO] │ │ │ ├── is-directory@0.3.1
[INFO] │ │ │ ├── minimist@1.2.0
[INFO] │ │ │ └── require-from-string@1.2.1
[INFO] │ │ ├── postcss-load-options@1.2.0
@@ -849,16 +885,6 @@ Build date: 2017-10-12 18:03:26
[INFO] │ │ │ └── strip-eof@1.0.0
[INFO] │ │ └─┬ mem@1.1.0
[INFO] │ │ └── mimic-fn@1.1.0
-[INFO] │ ├─┬ read-pkg-up@2.0.0
-[INFO] │ │ ├─┬ find-up@2.1.0
-[INFO] │ │ │ └─┬ locate-path@2.0.0
-[INFO] │ │ │ ├─┬ p-locate@2.0.0
-[INFO] │ │ │ │ └── p-limit@1.1.0
-[INFO] │ │ │ └── path-exists@3.0.0
-[INFO] │ │ └─┬ read-pkg@2.0.0
-[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ └── strip-bom@3.0.0
-[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├── which-module@2.0.0
[INFO] │ └── yargs-parser@7.0.0
[INFO] ├─┬ qunit-phantomjs-runner@2.3.0
@@ -871,41 +897,11 @@ Build date: 2017-10-12 18:03:26
[INFO] │ ├─┬ findup-sync@0.4.3
[INFO] │ │ ├─┬ detect-file@0.1.0
[INFO] │ │ │ └── fs-exists-sync@0.1.0
-[INFO] │ │ ├─┬ micromatch@2.3.11
-[INFO] │ │ │ ├─┬ arr-diff@2.0.0
-[INFO] │ │ │ │ └── arr-flatten@1.1.0
-[INFO] │ │ │ ├── array-unique@0.2.1
-[INFO] │ │ │ ├─┬ braces@1.8.5
-[INFO] │ │ │ │ ├─┬ expand-range@1.8.2
-[INFO] │ │ │ │ │ └─┬ fill-range@2.2.3
-[INFO] │ │ │ │ │ ├── is-number@2.1.0
-[INFO] │ │ │ │ │ ├── isobject@2.1.0
-[INFO] │ │ │ │ │ ├─┬ randomatic@1.1.7
-[INFO] │ │ │ │ │ │ ├─┬ is-number@3.0.0
-[INFO] │ │ │ │ │ │ │ └── kind-of@3.2.2
-[INFO] │ │ │ │ │ │ └── kind-of@4.0.0
-[INFO] │ │ │ │ │ └── repeat-string@1.6.1
-[INFO] │ │ │ │ ├── preserve@0.2.0
-[INFO] │ │ │ │ └── repeat-element@1.1.2
-[INFO] │ │ │ ├─┬ expand-brackets@0.1.5
-[INFO] │ │ │ │ └── is-posix-bracket@0.1.1
-[INFO] │ │ │ ├── extglob@0.3.2
-[INFO] │ │ │ ├── filename-regex@2.0.1
-[INFO] │ │ │ ├─┬ kind-of@3.2.2
-[INFO] │ │ │ │ └── is-buffer@1.1.5
-[INFO] │ │ │ ├─┬ object.omit@2.0.1
-[INFO] │ │ │ │ ├── for-own@0.1.5
-[INFO] │ │ │ │ └── is-extendable@0.1.1
-[INFO] │ │ │ ├─┬ parse-glob@3.0.4
-[INFO] │ │ │ │ ├── glob-base@0.3.0
-[INFO] │ │ │ │ └── is-dotfile@1.0.3
-[INFO] │ │ │ └─┬ regex-cache@0.4.4
-[INFO] │ │ │ └─┬ is-equal-shallow@0.1.3
-[INFO] │ │ │ └── is-primitive@2.0.0
[INFO] │ │ └─┬ resolve-dir@0.1.1
[INFO] │ │ ├── expand-tilde@1.2.2
[INFO] │ │ └─┬ global-modules@0.2.3
-[INFO] │ │ ├── global-prefix@0.1.5
+[INFO] │ │ ├─┬ global-prefix@0.1.5
+[INFO] │ │ │ └── is-windows@0.2.0
[INFO] │ │ └── is-windows@0.2.0
[INFO] │ ├── js-reporters@1.2.0
[INFO] │ ├─┬ resolve@1.3.2
@@ -913,79 +909,232 @@ Build date: 2017-10-12 18:03:26
[INFO] │ └─┬ walk-sync@0.3.1
[INFO] │ ├── ensure-posix-path@1.0.2
[INFO] │ └── matcher-collection@1.0.5
+[INFO] ├── rollup@0.50.0
+[INFO] ├─┬ rollup-plugin-babel@3.0.2
+[INFO] │ └─┬ rollup-pluginutils@1.5.2
+[INFO] │ └── estree-walker@0.2.1
+[INFO] ├─┬ rollup-plugin-node-resolve@3.0.0
+[INFO] │ ├─┬ browser-resolve@1.11.2
+[INFO] │ │ └── resolve@1.1.7
+[INFO] │ ├── builtin-modules@1.1.1
+[INFO] │ ├── is-module@1.0.0
+[INFO] │ └── resolve@1.4.0
[INFO] ├─┬ shelljs@0.7.8
[INFO] │ ├── interpret@1.0.4
[INFO] │ └── rechoir@0.6.2
[INFO] ├─┬ shx@0.2.2
[INFO] │ ├── es6-object-assign@1.1.0
[INFO] │ └── minimist@1.2.0
-[INFO] └─┬ uglify-js@3.1.3
-[INFO] └── source-map@0.5.7
+[INFO] ├─┬ stylelint@8.2.0
+[INFO] │ ├── balanced-match@1.0.0
+[INFO] │ ├─┬ cosmiconfig@3.1.0
+[INFO] │ │ ├── is-directory@0.3.1
+[INFO] │ │ ├─┬ parse-json@3.0.0
+[INFO] │ │ │ └─┬ error-ex@1.3.1
+[INFO] │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ └── require-from-string@2.0.1
+[INFO] │ ├─┬ execall@1.0.0
+[INFO] │ │ └─┬ clone-regexp@1.0.0
+[INFO] │ │ ├── is-regexp@1.0.0
+[INFO] │ │ └── is-supported-regexp-flag@1.0.0
+[INFO] │ ├── get-stdin@5.0.1
+[INFO] │ ├─┬ globby@6.1.0
+[INFO] │ │ └── pify@2.3.0
+[INFO] │ ├── globjoin@0.1.4
+[INFO] │ ├── html-tags@2.0.0
+[INFO] │ ├── known-css-properties@0.4.1
+[INFO] │ ├── log-symbols@2.1.0
+[INFO] │ ├── mathml-tag-names@2.0.1
+[INFO] │ ├─┬ micromatch@2.3.11
+[INFO] │ │ ├─┬ arr-diff@2.0.0
+[INFO] │ │ │ └── arr-flatten@1.1.0
+[INFO] │ │ ├── array-unique@0.2.1
+[INFO] │ │ ├─┬ braces@1.8.5
+[INFO] │ │ │ ├─┬ expand-range@1.8.2
+[INFO] │ │ │ │ └─┬ fill-range@2.2.3
+[INFO] │ │ │ │ ├── is-number@2.1.0
+[INFO] │ │ │ │ ├── isobject@2.1.0
+[INFO] │ │ │ │ ├─┬ randomatic@1.1.7
+[INFO] │ │ │ │ │ ├─┬ is-number@3.0.0
+[INFO] │ │ │ │ │ │ └── kind-of@3.2.2
+[INFO] │ │ │ │ │ └── kind-of@4.0.0
+[INFO] │ │ │ │ └── repeat-string@1.6.1
+[INFO] │ │ │ ├── preserve@0.2.0
+[INFO] │ │ │ └── repeat-element@1.1.2
+[INFO] │ │ ├─┬ expand-brackets@0.1.5
+[INFO] │ │ │ └── is-posix-bracket@0.1.1
+[INFO] │ │ ├── extglob@0.3.2
+[INFO] │ │ ├── filename-regex@2.0.1
+[INFO] │ │ ├── is-extglob@1.0.0
+[INFO] │ │ ├── kind-of@3.2.2
+[INFO] │ │ ├─┬ normalize-path@2.1.1
+[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├─┬ object.omit@2.0.1
+[INFO] │ │ │ ├─┬ for-own@0.1.5
+[INFO] │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ └── is-extendable@0.1.1
+[INFO] │ │ ├─┬ parse-glob@3.0.4
+[INFO] │ │ │ ├── glob-base@0.3.0
+[INFO] │ │ │ └── is-dotfile@1.0.3
+[INFO] │ │ └─┬ regex-cache@0.4.4
+[INFO] │ │ └─┬ is-equal-shallow@0.1.3
+[INFO] │ │ └── is-primitive@2.0.0
+[INFO] │ ├── normalize-selector@0.2.0
+[INFO] │ ├── pify@3.0.0
+[INFO] │ ├─┬ postcss-less@1.1.1
+[INFO] │ │ └─┬ postcss@5.2.18
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── source-map@0.5.7
+[INFO] │ │ └─┬ supports-color@3.2.3
+[INFO] │ │ └── has-flag@1.0.0
+[INFO] │ ├── postcss-media-query-parser@0.2.3
+[INFO] │ ├── postcss-resolve-nested-selector@0.1.1
+[INFO] │ ├── postcss-safe-parser@3.0.1
+[INFO] │ ├── postcss-scss@1.0.2
+[INFO] │ ├─┬ postcss-selector-parser@2.2.3
+[INFO] │ │ ├── flatten@1.0.2
+[INFO] │ │ ├── indexes-of@1.0.1
+[INFO] │ │ └── uniq@1.0.1
+[INFO] │ ├── resolve-from@4.0.0
+[INFO] │ ├── specificity@0.3.2
+[INFO] │ ├─┬ string-width@2.1.1
+[INFO] │ │ ├── is-fullwidth-code-point@2.0.0
+[INFO] │ │ └─┬ strip-ansi@4.0.0
+[INFO] │ │ └── ansi-regex@3.0.0
+[INFO] │ ├── style-search@0.1.0
+[INFO] │ ├── sugarss@1.0.0
+[INFO] │ └── svg-tags@1.0.0
+[INFO] ├─┬ stylelint-config-recommended-scss@2.0.0
+[INFO] │ └── stylelint-config-recommended@1.0.0
+[INFO] ├── stylelint-config-standard@17.0.0
+[INFO] ├─┬ stylelint-order@0.7.0
+[INFO] │ └── postcss-sorting@3.0.2
+[INFO] ├── stylelint-scss@2.1.0
+[INFO] ├─┬ uglify-js@3.1.4
+[INFO] │ └── source-map@0.6.1
+[INFO] ├── vnu-jar@17.11.1
+[INFO] └─┬ workbox-build@2.1.0
+[INFO] ├─┬ chalk@1.1.3
+[INFO] │ ├── ansi-styles@2.2.1
+[INFO] │ └── supports-color@2.0.0
+[INFO] ├─┬ fs-extra@3.0.1
+[INFO] │ └── jsonfile@3.0.1
+[INFO] ├─┬ lodash.template@4.4.0
+[INFO] │ ├── lodash._reinterpolate@3.0.0
+[INFO] │ └── lodash.templatesettings@4.1.0
+[INFO] └── workbox-sw@2.1.0
[INFO]
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #8: npm run css-compile) @ tobago-theme-speyside ---
[INFO] Running 'npm run css-compile' in __CURRENT__/tobago-theme-speyside/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-compile __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-compile __CURRENT__/tobago-theme-speyside/target/bootstrap
[INFO] > 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
[INFO]
[ERROR] Rendering Complete, saving .css file...
-[ERROR] Wrote CSS to __CURRENT__/tobago-theme-speyside/target/bootstrap/dist/css/bootstrap.css
[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-speyside/target/bootstrap/dist/css/bootstrap.css.map
+[ERROR] Wrote CSS to __CURRENT__/tobago-theme-speyside/target/bootstrap/dist/css/bootstrap.css
[ERROR] Rendering Complete, saving .css file...
-[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-speyside/target/bootstrap/dist/css/bootstrap-grid.css.map
[ERROR] Wrote CSS to __CURRENT__/tobago-theme-speyside/target/bootstrap/dist/css/bootstrap-grid.css
+[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-speyside/target/bootstrap/dist/css/bootstrap-grid.css.map
[ERROR] Rendering Complete, saving .css file...
-[ERROR] Wrote CSS to __CURRENT__/tobago-theme-speyside/target/bootstrap/dist/css/bootstrap-reboot.css
[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-speyside/target/bootstrap/dist/css/bootstrap-reboot.css.map
+[ERROR] Wrote CSS to __CURRENT__/tobago-theme-speyside/target/bootstrap/dist/css/bootstrap-reboot.css
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #9: npm run css-prefix) @ tobago-theme-speyside ---
[INFO] Running 'npm run css-prefix' in __CURRENT__/tobago-theme-speyside/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-prefix __CURRENT__/tobago-theme-speyside/target/bootstrap
-[INFO] > postcss --config build/postcss.config.js --replace dist/css/*.css
+[INFO] > bootstrap@4.0.0-beta.2 css-prefix __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > postcss --config build/postcss.config.js --replace "dist/css/*.css"
[INFO]
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.11 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.14 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.14 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.14 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.14 s)
+[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.14 s)
+[ERROR] ✔ Finished dist/css/bootstrap.css (1.14 s)
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #10: npm run css-minify) @ tobago-theme-speyside ---
[INFO] Running 'npm run css-minify' in __CURRENT__/tobago-theme-speyside/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-minify __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-minify __CURRENT__/tobago-theme-speyside/target/bootstrap
[INFO] > 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
[INFO]
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #11: npm run js) @ tobago-theme-speyside ---
[INFO] Running 'npm run js' in __CURRENT__/tobago-theme-speyside/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta js __CURRENT__/tobago-theme-speyside/target/bootstrap
-[INFO] > npm-run-all js-lint js-compile js-minify
+[INFO] > bootstrap@4.0.0-beta.2 js __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > npm-run-all js-lint* js-compile* js-minify*
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-lint __CURRENT__/tobago-theme-speyside/target/bootstrap
-[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/ Gruntfile.js
+[INFO] > bootstrap@4.0.0-beta.2 js-lint __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 js-lint-docs __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > eslint --config js/tests/.eslintrc.json assets/js/ docs/ sw.js
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile __CURRENT__/tobago-theme-speyside/target/bootstrap
[INFO] > npm-run-all --parallel js-compile-*
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-bundle __CURRENT__/tobago-theme-speyside/target/bootstrap
-[INFO] > shx cat js/src/util.js js/src/alert.js js/src/button.js js/src/carousel.js js/src/collapse.js js/src/dropdown.js js/src/modal.js js/src/scrollspy.js js/src/tab.js js/src/tooltip.js js/src/popover.js | shx sed "s/^(import|export).*//" | babel --filename js/src/bootstrap.js | node build/stamp.js > dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-speyside/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-speyside/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[INFO] js/src/alert.js -> js/dist/alert.js
+[INFO] js/src/button.js -> js/dist/button.js
+[INFO] js/src/carousel.js -> js/dist/carousel.js
+[INFO] js/src/collapse.js -> js/dist/collapse.js
+[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
+[INFO] js/src/modal.js -> js/dist/modal.js
+[INFO] js/src/popover.js -> js/dist/popover.js
+[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
+[INFO] js/src/tab.js -> js/dist/tab.js
+[INFO] js/src/tooltip.js -> js/dist/tooltip.js
+[INFO] js/src/util.js -> js/dist/util.js
+[ERROR] created dist/js/bootstrap.js in 2.5s
+[ERROR] created dist/js/bootstrap.bundle.js in 2.7s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-speyside/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[ERROR] created dist/js/bootstrap.js in 1.5s
[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-plugins __CURRENT__/tobago-theme-speyside/target/bootstrap
-[INFO] > babel js/src/ --out-dir js/dist/ --source-maps
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-speyside/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[ERROR] created dist/js/bootstrap.bundle.js in 1.7s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
[INFO]
[INFO] js/src/alert.js -> js/dist/alert.js
[INFO] js/src/button.js -> js/dist/button.js
[INFO] js/src/carousel.js -> js/dist/carousel.js
[INFO] js/src/collapse.js -> js/dist/collapse.js
[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
[INFO] js/src/modal.js -> js/dist/modal.js
[INFO] js/src/popover.js -> js/dist/popover.js
[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
@@ -993,8 +1142,36 @@ Build date: 2017-10-12 18:03:26
[INFO] js/src/tooltip.js -> js/dist/tooltip.js
[INFO] js/src/util.js -> js/dist/util.js
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-minify __CURRENT__/tobago-theme-speyside/target/bootstrap
-[INFO] > uglifyjs --config-file build/uglifyjs.config.json --output dist/js/bootstrap.min.js dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-minify __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > npm-run-all --parallel js-minify-*
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > 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
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > 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
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-speyside/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ tobago-theme-speyside ---
@@ -1038,7 +1215,7 @@ main:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 01:46 min
-[INFO] Finished at: 2017-10-12T18:05:14+02:00
-[INFO] Final Memory: 35M/515M
+[INFO] Total time: 02:05 min
+[INFO] Finished at: 2017-10-20T13:40:50+02:00
+[INFO] Final Memory: 29M/399M
[INFO] ------------------------------------------------------------------------
diff --git a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css
index 0edd872..42f33a6 100644
--- a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css
+++ b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css
@@ -1,6 +1,6 @@
@charset "UTF-8";
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
@@ -21,6 +21,37 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+:root {
+ --blue: #007bff;
+ --indigo: #6610f2;
+ --purple: #6f42c1;
+ --pink: #e83e8c;
+ --red: #dc3545;
+ --orange: #fd7e14;
+ --yellow: #ffc107;
+ --green: #28a745;
+ --teal: #20c997;
+ --cyan: #17a2b8;
+ --white: #fff;
+ --gray: #868e96;
+ --gray-dark: #343a40;
+ --primary: #007bff;
+ --secondary: #868e96;
+ --success: #28a745;
+ --info: #17a2b8;
+ --warning: #ffc107;
+ --danger: #dc3545;
+ --light: #f8f9fa;
+ --dark: #343a40;
+ --breakpoint-xs: 0;
+ --breakpoint-sm: 576px;
+ --breakpoint-md: 768px;
+ --breakpoint-lg: 992px;
+ --breakpoint-xl: 1200px;
+ --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+ --font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+}
+
@media print {
*,
*::before,
@@ -79,8 +110,13 @@
}
}
-html {
+*,
+*::before,
+*::after {
box-sizing: border-box;
+}
+
+html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
@@ -89,12 +125,6 @@ html {
-webkit-tap-highlight-color: transparent;
}
-*,
-*::before,
-*::after {
- box-sizing: inherit;
-}
-
@-ms-viewport {
width: device-width;
}
@@ -105,11 +135,12 @@ article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, s
body {
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 1rem;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
color: #212529;
+ text-align: left;
background-color: #e2e2e2;
}
@@ -125,7 +156,7 @@ hr {
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
- margin-bottom: .5rem;
+ margin-bottom: 0.5rem;
}
p {
@@ -163,7 +194,7 @@ ul ol {
}
dt {
- font-weight: bold;
+ font-weight: 700;
}
dd {
@@ -242,6 +273,7 @@ pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
+ -ms-overflow-style: scrollbar;
}
figure {
@@ -261,7 +293,7 @@ a,
area,
button,
[role="button"],
-input,
+input:not([type="range"]),
label,
select,
summary,
@@ -283,7 +315,7 @@ caption {
}
th {
- text-align: left;
+ text-align: inherit;
}
label {
@@ -291,6 +323,10 @@ label {
margin-bottom: .5rem;
}
+button {
+ border-radius: 0;
+}
+
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
@@ -414,7 +450,7 @@ h1, h2, h3, h4, h5, h6,
margin-bottom: 0.5rem;
font-family: inherit;
font-weight: 500;
- line-height: 1.1;
+ line-height: 1.2;
color: inherit;
}
@@ -450,25 +486,25 @@ h6, .h6 {
.display-1 {
font-size: 6rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-2 {
font-size: 5.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-3 {
font-size: 4.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-4 {
font-size: 3.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
hr {
@@ -481,7 +517,7 @@ hr {
small,
.small {
font-size: 80%;
- font-weight: normal;
+ font-weight: 400;
}
mark,
@@ -561,7 +597,7 @@ code,
kbd,
pre,
samp {
- font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+ font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
code {
@@ -589,7 +625,7 @@ kbd {
kbd kbd {
padding: 0;
font-size: 100%;
- font-weight: bold;
+ font-weight: 700;
}
pre {
@@ -614,11 +650,11 @@ pre code {
}
.container {
- margin-right: auto;
- margin-left: auto;
+ width: 100%;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
@media (min-width: 576px) {
@@ -647,11 +683,10 @@ pre code {
.container-fluid {
width: 100%;
- margin-right: auto;
- margin-left: auto;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
.row {
@@ -774,6 +809,11 @@ pre code {
max-width: 100%;
}
+.order-first {
+ -ms-flex-order: -1;
+ order: -1;
+}
+
.order-1 {
-ms-flex-order: 1;
order: 1;
@@ -834,6 +874,50 @@ pre code {
order: 12;
}
+.offset-1 {
+ margin-left: 8.333333%;
+}
+
+.offset-2 {
+ margin-left: 16.666667%;
+}
+
+.offset-3 {
+ margin-left: 25%;
+}
+
+.offset-4 {
+ margin-left: 33.333333%;
+}
+
+.offset-5 {
+ margin-left: 41.666667%;
+}
+
+.offset-6 {
+ margin-left: 50%;
+}
+
+.offset-7 {
+ margin-left: 58.333333%;
+}
+
+.offset-8 {
+ margin-left: 66.666667%;
+}
+
+.offset-9 {
+ margin-left: 75%;
+}
+
+.offset-10 {
+ margin-left: 83.333333%;
+}
+
+.offset-11 {
+ margin-left: 91.666667%;
+}
+
@media (min-width: 576px) {
.col-sm {
-ms-flex-preferred-size: 0;
@@ -908,6 +992,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-sm-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-sm-1 {
-ms-flex-order: 1;
order: 1;
@@ -956,6 +1044,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-sm-0 {
+ margin-left: 0;
+ }
+ .offset-sm-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-sm-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-sm-3 {
+ margin-left: 25%;
+ }
+ .offset-sm-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-sm-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-sm-6 {
+ margin-left: 50%;
+ }
+ .offset-sm-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-sm-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-sm-9 {
+ margin-left: 75%;
+ }
+ .offset-sm-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-sm-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 768px) {
@@ -1032,6 +1156,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-md-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-md-1 {
-ms-flex-order: 1;
order: 1;
@@ -1080,6 +1208,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-md-0 {
+ margin-left: 0;
+ }
+ .offset-md-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-md-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-md-3 {
+ margin-left: 25%;
+ }
+ .offset-md-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-md-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-md-6 {
+ margin-left: 50%;
+ }
+ .offset-md-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-md-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-md-9 {
+ margin-left: 75%;
+ }
+ .offset-md-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-md-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 992px) {
@@ -1156,6 +1320,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-lg-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-lg-1 {
-ms-flex-order: 1;
order: 1;
@@ -1204,6 +1372,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-lg-0 {
+ margin-left: 0;
+ }
+ .offset-lg-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-lg-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-lg-3 {
+ margin-left: 25%;
+ }
+ .offset-lg-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-lg-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-lg-6 {
+ margin-left: 50%;
+ }
+ .offset-lg-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-lg-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-lg-9 {
+ margin-left: 75%;
+ }
+ .offset-lg-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-lg-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 1200px) {
@@ -1280,6 +1484,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-xl-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-xl-1 {
-ms-flex-order: 1;
order: 1;
@@ -1328,6 +1536,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-xl-0 {
+ margin-left: 0;
+ }
+ .offset-xl-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-xl-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-xl-3 {
+ margin-left: 25%;
+ }
+ .offset-xl-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-xl-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-xl-6 {
+ margin-left: 50%;
+ }
+ .offset-xl-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-xl-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-xl-9 {
+ margin-left: 75%;
+ }
+ .offset-xl-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-xl-11 {
+ margin-left: 91.666667%;
+ }
}
.table {
@@ -1519,62 +1763,116 @@ pre code {
background-color: rgba(0, 0, 0, 0.075);
}
-.thead-inverse th {
+.table .thead-dark th {
color: #fff;
background-color: #212529;
+ border-color: #32383e;
}
-.thead-default th {
+.table .thead-light th {
color: #495057;
background-color: #e9ecef;
+ border-color: #e9ecef;
}
-.table-inverse {
+.table-dark {
color: #fff;
background-color: #212529;
}
-.table-inverse th,
-.table-inverse td,
-.table-inverse thead th {
+.table-dark th,
+.table-dark td,
+.table-dark thead th {
border-color: #32383e;
}
-.table-inverse.table-bordered {
+.table-dark.table-bordered {
border: 0;
}
-.table-inverse.table-striped tbody tr:nth-of-type(odd) {
+.table-dark.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(255, 255, 255, 0.05);
}
-.table-inverse.table-hover tbody tr:hover {
+.table-dark.table-hover tbody tr:hover {
background-color: rgba(255, 255, 255, 0.075);
}
+@media (max-width: 575px) {
+ .table-responsive-sm {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-sm.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 767px) {
+ .table-responsive-md {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-md.table-bordered {
+ border: 0;
+ }
+}
+
@media (max-width: 991px) {
- .table-responsive {
+ .table-responsive-lg {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-lg.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 1199px) {
+ .table-responsive-xl {
display: block;
width: 100%;
overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
- .table-responsive.table-bordered {
+ .table-responsive-xl.table-bordered {
border: 0;
}
}
+.table-responsive {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+}
+
+.table-responsive.table-bordered {
+ border: 0;
+}
+
.form-control {
display: block;
width: 100%;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
background-color: #fff;
background-image: none;
background-clip: padding-box;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
@@ -1589,6 +1887,7 @@ pre code {
background-color: #fff;
border-color: #80bdff;
outline: none;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-control::-webkit-input-placeholder {
@@ -1631,35 +1930,39 @@ select.form-control:focus::-ms-value {
}
.col-form-label {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem + 1px);
+ padding-bottom: calc(0.375rem + 1px);
margin-bottom: 0;
+ line-height: 1.5;
}
.col-form-label-lg {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.5rem + 1px);
+ padding-bottom: calc(0.5rem + 1px);
font-size: 1.25rem;
+ line-height: 1.5;
}
.col-form-label-sm {
- padding-top: calc(0.25rem - 1px * 2);
- padding-bottom: calc(0.25rem - 1px * 2);
+ padding-top: calc(0.25rem + 1px);
+ padding-bottom: calc(0.25rem + 1px);
font-size: 0.875rem;
+ line-height: 1.5;
}
.col-form-legend {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
font-size: 1rem;
}
.form-control-plaintext {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
- line-height: 1.25;
+ line-height: 1.5;
+ background-color: transparent;
border: solid transparent;
border-width: 1px 0;
}
@@ -1700,7 +2003,7 @@ select.form-control-sm:not([size]):not([multiple]), .input-group-sm > select.for
select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.form-control:not([size]):not([multiple]),
.input-group-lg > select.input-group-addon:not([size]):not([multiple]),
.input-group-lg > .input-group-btn > select.btn:not([size]):not([multiple]) {
- height: calc(2.3125rem + 2px);
+ height: calc(2.875rem + 2px);
}
.form-group {
@@ -1748,30 +2051,23 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
margin-left: -1.25rem;
}
-.form-check-input:only-child {
- position: static;
-}
-
.form-check-inline {
display: inline-block;
+ margin-right: 0.75rem;
}
.form-check-inline .form-check-label {
vertical-align: middle;
}
-.form-check-inline + .form-check-inline {
- margin-left: 0.75rem;
-}
-
-.invalid-feedback {
+.valid-feedback {
display: none;
margin-top: .25rem;
font-size: .875rem;
- color: #dc3545;
+ color: #28a745;
}
-.invalid-tooltip {
+.valid-tooltip {
position: absolute;
top: 100%;
z-index: 5;
@@ -1782,7 +2078,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
font-size: .875rem;
line-height: 1;
color: #fff;
- background-color: rgba(220, 53, 69, 0.8);
+ background-color: rgba(40, 167, 69, 0.8);
border-radius: .2rem;
}
@@ -1798,14 +2094,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
-.was-validated .form-control:valid ~ .invalid-feedback,
-.was-validated .form-control:valid ~ .invalid-tooltip, .form-control.is-valid ~ .invalid-feedback,
-.form-control.is-valid ~ .invalid-tooltip, .was-validated
-.custom-select:valid ~ .invalid-feedback,
+.was-validated .form-control:valid ~ .valid-feedback,
+.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback,
+.form-control.is-valid ~ .valid-tooltip, .was-validated
+.custom-select:valid ~ .valid-feedback,
.was-validated
-.custom-select:valid ~ .invalid-tooltip,
-.custom-select.is-valid ~ .invalid-feedback,
-.custom-select.is-valid ~ .invalid-tooltip {
+.custom-select:valid ~ .valid-tooltip,
+.custom-select.is-valid ~ .valid-feedback,
+.custom-select.is-valid ~ .valid-tooltip {
display: block;
}
@@ -1833,6 +2129,28 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
+.invalid-feedback {
+ display: none;
+ margin-top: .25rem;
+ font-size: .875rem;
+ color: #dc3545;
+}
+
+.invalid-tooltip {
+ position: absolute;
+ top: 100%;
+ z-index: 5;
+ display: none;
+ width: 250px;
+ padding: .5rem;
+ margin-top: .1rem;
+ font-size: .875rem;
+ line-height: 1;
+ color: #fff;
+ background-color: rgba(220, 53, 69, 0.8);
+ border-radius: .2rem;
+}
+
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated
.custom-select:invalid,
.custom-select.is-invalid {
@@ -1925,10 +2243,6 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.form-inline .input-group {
width: auto;
}
- .form-inline .form-control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
.form-inline .form-check {
display: -ms-flexbox;
display: flex;
@@ -1971,7 +2285,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn {
display: inline-block;
- font-weight: normal;
+ font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
@@ -1980,11 +2294,11 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
border-radius: 0.25rem;
- transition: all 0.15s ease-in-out;
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:focus, .btn:hover {
@@ -1993,14 +2307,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn:focus, .btn.focus {
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 {
opacity: .65;
}
-.btn:active, .btn.active {
+.btn:not([disabled]):not(.disabled):active, .btn:not([disabled]):not(.disabled).active {
background-image: none;
}
@@ -2022,7 +2336,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2030,11 +2344,12 @@ fieldset[disabled] a.btn {
border-color: #007bff;
}
-.btn-primary:active, .btn-primary.active,
+.btn-primary:not([disabled]):not(.disabled):active, .btn-primary:not([disabled]):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
- background-color: #0069d9;
- background-image: none;
- border-color: #0062cc;
+ color: #fff;
+ background-color: #0062cc;
+ border-color: #005cbf;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-secondary {
@@ -2050,7 +2365,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2058,11 +2373,12 @@ fieldset[disabled] a.btn {
border-color: #868e96;
}
-.btn-secondary:active, .btn-secondary.active,
+.btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
- background-color: #727b84;
- background-image: none;
- border-color: #6c757d;
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #666e76;
+ box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-success {
@@ -2078,7 +2394,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2086,11 +2402,12 @@ fieldset[disabled] a.btn {
border-color: #28a745;
}
-.btn-success:active, .btn-success.active,
+.btn-success:not([disabled]):not(.disabled):active, .btn-success:not([disabled]):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
- background-color: #218838;
- background-image: none;
- border-color: #1e7e34;
+ color: #fff;
+ background-color: #1e7e34;
+ border-color: #1c7430;
+ box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-info {
@@ -2106,7 +2423,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2114,11 +2431,12 @@ fieldset[disabled] a.btn {
border-color: #17a2b8;
}
-.btn-info:active, .btn-info.active,
+.btn-info:not([disabled]):not(.disabled):active, .btn-info:not([disabled]):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
- background-color: #138496;
- background-image: none;
- border-color: #117a8b;
+ color: #fff;
+ background-color: #117a8b;
+ border-color: #10707f;
+ box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-warning {
@@ -2134,7 +2452,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2142,11 +2460,12 @@ fieldset[disabled] a.btn {
border-color: #ffc107;
}
-.btn-warning:active, .btn-warning.active,
+.btn-warning:not([disabled]):not(.disabled):active, .btn-warning:not([disabled]):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
- background-color: #e0a800;
- background-image: none;
- border-color: #d39e00;
+ color: #111;
+ background-color: #d39e00;
+ border-color: #c69500;
+ box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-danger {
@@ -2162,7 +2481,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2170,11 +2489,12 @@ fieldset[disabled] a.btn {
border-color: #dc3545;
}
-.btn-danger:active, .btn-danger.active,
+.btn-danger:not([disabled]):not(.disabled):active, .btn-danger:not([disabled]):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
- background-color: #c82333;
- background-image: none;
- border-color: #bd2130;
+ color: #fff;
+ background-color: #bd2130;
+ border-color: #b21f2d;
+ box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-light {
@@ -2190,7 +2510,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2198,11 +2518,12 @@ fieldset[disabled] a.btn {
border-color: #f8f9fa;
}
-.btn-light:active, .btn-light.active,
+.btn-light:not([disabled]):not(.disabled):active, .btn-light:not([disabled]):not(.disabled).active,
.show > .btn-light.dropdown-toggle {
- background-color: #e2e6ea;
- background-image: none;
- border-color: #dae0e5;
+ color: #111;
+ background-color: #dae0e5;
+ border-color: #d3d9df;
+ box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-dark {
@@ -2218,7 +2539,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2226,11 +2547,12 @@ fieldset[disabled] a.btn {
border-color: #343a40;
}
-.btn-dark:active, .btn-dark.active,
+.btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active,
.show > .btn-dark.dropdown-toggle {
- background-color: #23272b;
- background-image: none;
- border-color: #1d2124;
+ color: #fff;
+ background-color: #1d2124;
+ border-color: #171a1d;
+ box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-outline-primary {
@@ -2247,7 +2569,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2255,11 +2577,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-primary:active, .btn-outline-primary.active,
+.btn-outline-primary:not([disabled]):not(.disabled):active, .btn-outline-primary:not([disabled]):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
color: #fff;
background-color: #007bff;
border-color: #007bff;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-secondary {
@@ -2276,7 +2599,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2284,11 +2607,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-secondary:active, .btn-outline-secondary.active,
+.btn-outline-secondary:not([disabled]):not(.disabled):active, .btn-outline-secondary:not([disabled]):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
color: #fff;
background-color: #868e96;
border-color: #868e96;
+ box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-outline-success {
@@ -2305,7 +2629,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2313,11 +2637,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-success:active, .btn-outline-success.active,
+.btn-outline-success:not([disabled]):not(.disabled):active, .btn-outline-success:not([disabled]):not(.disabled).active,
.show > .btn-outline-success.dropdown-toggle {
color: #fff;
background-color: #28a745;
border-color: #28a745;
+ box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-outline-info {
@@ -2334,7 +2659,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2342,11 +2667,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-info:active, .btn-outline-info.active,
+.btn-outline-info:not([disabled]):not(.disabled):active, .btn-outline-info:not([disabled]):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
color: #fff;
background-color: #17a2b8;
border-color: #17a2b8;
+ box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-outline-warning {
@@ -2363,7 +2689,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2371,11 +2697,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-warning:active, .btn-outline-warning.active,
+.btn-outline-warning:not([disabled]):not(.disabled):active, .btn-outline-warning:not([disabled]):not(.disabled).active,
.show > .btn-outline-warning.dropdown-toggle {
color: #fff;
background-color: #ffc107;
border-color: #ffc107;
+ box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-outline-danger {
@@ -2392,7 +2719,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2400,11 +2727,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-danger:active, .btn-outline-danger.active,
+.btn-outline-danger:not([disabled]):not(.disabled):active, .btn-outline-danger:not([disabled]):not(.disabled).active,
.show > .btn-outline-danger.dropdown-toggle {
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
+ box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-outline-light {
@@ -2415,13 +2743,13 @@ fieldset[disabled] a.btn {
}
.btn-outline-light:hover {
- color: #fff;
+ color: #212529;
background-color: #f8f9fa;
border-color: #f8f9fa;
}
.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 {
@@ -2429,11 +2757,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-light:active, .btn-outline-light.active,
+.btn-outline-light:not([disabled]):not(.disabled):active, .btn-outline-light:not([disabled]):not(.disabled).active,
.show > .btn-outline-light.dropdown-toggle {
- color: #fff;
+ color: #212529;
background-color: #f8f9fa;
border-color: #f8f9fa;
+ box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-outline-dark {
@@ -2450,7 +2779,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2458,44 +2787,34 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-dark:active, .btn-outline-dark.active,
+.btn-outline-dark:not([disabled]):not(.disabled):active, .btn-outline-dark:not([disabled]):not(.disabled).active,
.show > .btn-outline-dark.dropdown-toggle {
color: #fff;
background-color: #343a40;
border-color: #343a40;
+ box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-link {
- font-weight: normal;
+ font-weight: 400;
color: #007bff;
- border-radius: 0;
-}
-
-.btn-link, .btn-link:active, .btn-link.active, .btn-link:disabled {
background-color: transparent;
}
-.btn-link, .btn-link:focus, .btn-link:active {
- border-color: transparent;
- box-shadow: none;
-}
-
.btn-link:hover {
- border-color: transparent;
-}
-
-.btn-link:focus, .btn-link:hover {
color: #0056b3;
text-decoration: underline;
background-color: transparent;
+ border-color: transparent;
}
-.btn-link:disabled {
- color: #868e96;
+.btn-link:focus, .btn-link.focus {
+ border-color: transparent;
+ box-shadow: none;
}
-.btn-link:disabled:focus, .btn-link:disabled:hover {
- text-decoration: none;
+.btn-link:disabled, .btn-link.disabled {
+ color: #868e96;
}
.btn-lg, .btn-group-lg > .btn {
@@ -2573,6 +2892,7 @@ tbody.collapse.show {
content: "";
border-top: 0.3em solid;
border-right: 0.3em solid transparent;
+ border-bottom: 0;
border-left: 0.3em solid transparent;
}
@@ -2580,16 +2900,6 @@ tbody.collapse.show {
margin-left: 0;
}
-.dropup .dropdown-menu {
- margin-top: 0;
- margin-bottom: 0.125rem;
-}
-
-.dropup .dropdown-toggle::after {
- border-top: 0;
- border-bottom: 0.3em solid;
-}
-
.dropdown-menu {
position: absolute;
top: 100%;
@@ -2610,6 +2920,28 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.dropup .dropdown-menu {
+ margin-top: 0;
+ margin-bottom: 0.125rem;
+}
+
+.dropup .dropdown-toggle::after {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0.3em solid;
+ border-left: 0.3em solid transparent;
+}
+
+.dropup .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+
.dropdown-divider {
height: 0;
margin: 0.5rem 0;
@@ -2622,7 +2954,7 @@ tbody.collapse.show {
width: 100%;
padding: 0.25rem 1.5rem;
clear: both;
- font-weight: normal;
+ font-weight: 400;
color: #212529;
text-align: inherit;
white-space: nowrap;
@@ -2647,10 +2979,6 @@ tbody.collapse.show {
background-color: transparent;
}
-.show > a {
- outline: 0;
-}
-
.dropdown-menu.show {
display: block;
}
@@ -2677,7 +3005,6 @@ tbody.collapse.show {
position: relative;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
- margin-bottom: 0;
}
.btn-group > .btn:hover,
@@ -2774,8 +3101,6 @@ tbody.collapse.show {
}
.btn-group-vertical {
- display: -ms-inline-flexbox;
- display: inline-flex;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-align: start;
@@ -2839,6 +3164,8 @@ tbody.collapse.show {
position: relative;
display: -ms-flexbox;
display: flex;
+ -ms-flex-align: stretch;
+ align-items: stretch;
width: 100%;
}
@@ -2873,19 +3200,18 @@ tbody.collapse.show {
.input-group-addon,
.input-group-btn {
white-space: nowrap;
- vertical-align: middle;
}
.input-group-addon {
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
- font-weight: normal;
- line-height: 1.25;
+ font-weight: 400;
+ line-height: 1.5;
color: #495057;
text-align: center;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -2942,6 +3268,8 @@ tbody.collapse.show {
.input-group-btn {
position: relative;
+ -ms-flex-align: stretch;
+ align-items: stretch;
font-size: 0;
white-space: nowrap;
}
@@ -2958,6 +3286,10 @@ tbody.collapse.show {
z-index: 3;
}
+.input-group-btn:first-child > .btn + .btn {
+ margin-left: 0;
+}
+
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group {
margin-right: -1px;
@@ -2966,6 +3298,11 @@ tbody.collapse.show {
.input-group-btn:not(:first-child) > .btn,
.input-group-btn:not(:first-child) > .btn-group {
z-index: 2;
+ margin-left: 0;
+}
+
+.input-group-btn:not(:first-child) > .btn:first-child,
+.input-group-btn:not(:first-child) > .btn-group:first-child {
margin-left: -1px;
}
@@ -2997,7 +3334,7 @@ tbody.collapse.show {
}
.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 {
@@ -3072,12 +3409,12 @@ tbody.collapse.show {
max-width: 100%;
height: calc(2.25rem + 2px);
padding: 0.375rem 1.75rem 0.375rem 0.75rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
vertical-align: middle;
background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
background-size: 8px 10px;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
-webkit-appearance: none;
-moz-appearance: none;
@@ -3094,6 +3431,11 @@ tbody.collapse.show {
background-color: #fff;
}
+.custom-select[multiple] {
+ height: auto;
+ background-image: none;
+}
+
.custom-select:disabled {
color: #868e96;
background-color: #e9ecef;
@@ -3114,26 +3456,30 @@ tbody.collapse.show {
position: relative;
display: inline-block;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin-bottom: 0;
}
.custom-file-input {
min-width: 14rem;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin: 0;
opacity: 0;
}
+.custom-file-input:focus ~ .custom-file-control {
+ box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.2rem #007bff;
+}
+
.custom-file-control {
position: absolute;
top: 0;
right: 0;
left: 0;
z-index: 5;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
pointer-events: none;
@@ -3142,7 +3488,7 @@ tbody.collapse.show {
-ms-user-select: none;
user-select: none;
background-color: #fff;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -3157,12 +3503,12 @@ tbody.collapse.show {
bottom: -1px;
z-index: 6;
display: block;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0 0.25rem 0.25rem 0;
}
@@ -3235,7 +3581,7 @@ tbody.collapse.show {
}
.nav-pills .nav-link.active,
-.show > .nav-pills .nav-link {
+.nav-pills .show > .nav-link {
color: #fff;
background-color: #007bff;
}
@@ -3330,6 +3676,8 @@ tbody.collapse.show {
.navbar-collapse {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
+ -ms-flex-positive: 1;
+ flex-grow: 1;
-ms-flex-align: center;
align-items: center;
}
@@ -3367,10 +3715,8 @@ tbody.collapse.show {
@media (min-width: 576px) {
.navbar-expand-sm {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3397,10 +3743,16 @@ tbody.collapse.show {
.navbar-expand-sm .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-sm .navbar-toggler {
display: none;
}
+ .navbar-expand-sm .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 767px) {
@@ -3413,10 +3765,8 @@ tbody.collapse.show {
@media (min-width: 768px) {
.navbar-expand-md {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3443,10 +3793,16 @@ tbody.collapse.show {
.navbar-expand-md .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-md .navbar-toggler {
display: none;
}
+ .navbar-expand-md .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 991px) {
@@ -3459,10 +3815,8 @@ tbody.collapse.show {
@media (min-width: 992px) {
.navbar-expand-lg {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3489,10 +3843,16 @@ tbody.collapse.show {
.navbar-expand-lg .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-lg .navbar-toggler {
display: none;
}
+ .navbar-expand-lg .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 1199px) {
@@ -3505,10 +3865,8 @@ tbody.collapse.show {
@media (min-width: 1200px) {
.navbar-expand-xl {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3535,17 +3893,21 @@ tbody.collapse.show {
.navbar-expand-xl .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-xl .navbar-toggler {
display: none;
}
+ .navbar-expand-xl .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
.navbar-expand {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3584,12 +3946,19 @@ tbody.collapse.show {
.navbar-expand .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand .navbar-toggler {
display: none;
}
+.navbar-expand .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+}
+
.navbar-light .navbar-brand {
color: rgba(0, 0, 0, 0.9);
}
@@ -3630,12 +3999,20 @@ tbody.collapse.show {
color: rgba(0, 0, 0, 0.5);
}
+.navbar-light .navbar-text a {
+ color: rgba(0, 0, 0, 0.9);
+}
+
+.navbar-light .navbar-text a:focus, .navbar-light .navbar-text a:hover {
+ color: rgba(0, 0, 0, 0.9);
+}
+
.navbar-dark .navbar-brand {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-nav .nav-link {
@@ -3654,7 +4031,7 @@ tbody.collapse.show {
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .nav-link.active {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-toggler {
@@ -3670,6 +4047,14 @@ tbody.collapse.show {
color: rgba(255, 255, 255, 0.5);
}
+.navbar-dark .navbar-text a {
+ color: #fff;
+}
+
+.navbar-dark .navbar-text a:focus, .navbar-dark .navbar-text a:hover {
+ color: #fff;
+}
+
.card {
position: relative;
display: -ms-flexbox;
@@ -3684,6 +4069,21 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.card > hr {
+ margin-right: 0;
+ margin-left: 0;
+}
+
+.card > .list-group:first-child .list-group-item:first-child {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+}
+
+.card > .list-group:last-child .list-group-item:last-child {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+
.card-body {
-ms-flex: 1 1 auto;
flex: 1 1 auto;
@@ -3711,16 +4111,6 @@ tbody.collapse.show {
margin-left: 1.25rem;
}
-.card > .list-group:first-child .list-group-item:first-child {
- border-top-left-radius: 0.25rem;
- border-top-right-radius: 0.25rem;
-}
-
-.card > .list-group:last-child .list-group-item:last-child {
- border-bottom-right-radius: 0.25rem;
- border-bottom-left-radius: 0.25rem;
-}
-
.card-header {
padding: 0.75rem 1.25rem;
margin-bottom: 0;
@@ -3732,6 +4122,10 @@ tbody.collapse.show {
border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
+.card-header + .list-group .list-group-item:first-child {
+ border-top: 0;
+}
+
.card-footer {
padding: 0.75rem 1.25rem;
background-color: rgba(0, 0, 0, 0.03);
@@ -3780,10 +4174,19 @@ tbody.collapse.show {
border-bottom-left-radius: calc(0.25rem - 1px);
}
+.card-deck {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-deck .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-deck {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
margin-right: -15px;
@@ -3797,20 +4200,31 @@ tbody.collapse.show {
-ms-flex-direction: column;
flex-direction: column;
margin-right: 15px;
+ margin-bottom: 0;
margin-left: 15px;
}
}
+.card-group {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-group .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-group {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
}
.card-group .card {
-ms-flex: 1 0 0%;
flex: 1 0 0%;
+ margin-bottom: 0;
}
.card-group .card + .card {
margin-left: 0;
@@ -3836,11 +4250,22 @@ tbody.collapse.show {
.card-group .card:last-child .card-img-bottom {
border-bottom-left-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) {
+ .card-group .card:only-child {
+ border-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-top {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-bottom {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+ }
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) {
border-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) .card-img-top,
- .card-group .card:not(:first-child):not(:last-child) .card-img-bottom {
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom {
border-radius: 0;
}
}
@@ -3863,6 +4288,10 @@ tbody.collapse.show {
}
.breadcrumb {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-wrap: wrap;
+ flex-wrap: wrap;
padding: 0.75rem 1rem;
margin-bottom: 1rem;
list-style: none;
@@ -3870,16 +4299,6 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
-.breadcrumb::after {
- display: block;
- clear: both;
- content: "";
-}
-
-.breadcrumb-item {
- float: left;
-}
-
.breadcrumb-item + .breadcrumb-item::before {
display: inline-block;
padding-right: 0.5rem;
@@ -3987,9 +4406,8 @@ tbody.collapse.show {
display: inline-block;
padding: 0.25em 0.4em;
font-size: 75%;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
- color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
@@ -4119,6 +4537,7 @@ tbody.collapse.show {
}
.alert {
+ position: relative;
padding: 0.75rem 1.25rem;
margin-bottom: 1rem;
border: 1px solid transparent;
@@ -4130,13 +4549,13 @@ tbody.collapse.show {
}
.alert-link {
- font-weight: bold;
+ font-weight: 700;
}
.alert-dismissible .close {
- position: relative;
- top: -0.75rem;
- right: -1.25rem;
+ position: absolute;
+ top: 0;
+ right: 0;
padding: 0.75rem 1.25rem;
color: inherit;
}
@@ -4274,20 +4693,22 @@ tbody.collapse.show {
.progress {
display: -ms-flexbox;
display: flex;
+ height: 1rem;
overflow: hidden;
font-size: 0.75rem;
- line-height: 1rem;
- text-align: center;
background-color: #e9ecef;
border-radius: 0.25rem;
}
.progress-bar {
- height: 1rem;
- line-height: 1rem;
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-align: center;
+ align-items: center;
+ -ms-flex-pack: center;
+ justify-content: center;
color: #fff;
background-color: #007bff;
- transition: width 0.6s ease;
}
.progress-bar-striped {
@@ -4583,7 +5004,7 @@ button.list-group-item-dark.active {
.close {
float: right;
font-size: 1.5rem;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
@@ -4641,6 +5062,7 @@ button.close {
position: relative;
width: auto;
margin: 10px;
+ pointer-events: none;
}
.modal-content {
@@ -4649,6 +5071,7 @@ button.close {
display: flex;
-ms-flex-direction: column;
flex-direction: column;
+ pointer-events: auto;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.2);
@@ -4677,12 +5100,19 @@ button.close {
.modal-header {
display: -ms-flexbox;
display: flex;
- -ms-flex-align: center;
- align-items: center;
+ -ms-flex-align: start;
+ align-items: flex-start;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 15px;
border-bottom: 1px solid #e9ecef;
+ border-top-left-radius: 0.3rem;
+ border-top-right-radius: 0.3rem;
+}
+
+.modal-header .close {
+ padding: 15px;
+ margin: -15px -15px -15px auto;
}
.modal-title {
@@ -4745,9 +5175,9 @@ button.close {
z-index: 1070;
display: block;
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4775,6 +5205,12 @@ button.close {
height: 5px;
}
+.tooltip .arrow::before {
+ position: absolute;
+ border-color: transparent;
+ border-style: solid;
+}
+
.tooltip.bs-tooltip-top, .tooltip.bs-tooltip-auto[x-placement^="top"] {
padding: 5px 0;
}
@@ -4836,12 +5272,6 @@ button.close {
border-left-color: #000;
}
-.tooltip .arrow::before {
- position: absolute;
- border-color: transparent;
- border-style: solid;
-}
-
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
@@ -4858,10 +5288,9 @@ button.close {
z-index: 1060;
display: block;
max-width: 276px;
- padding: 1px;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4884,8 +5313,8 @@ button.close {
.popover .arrow {
position: absolute;
display: block;
- width: 10px;
- height: 5px;
+ width: 0.8rem;
+ height: 0.4rem;
}
.popover .arrow::before,
@@ -4898,16 +5327,16 @@ button.close {
.popover .arrow::before {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover .arrow::after {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover.bs-popover-top, .popover.bs-popover-auto[x-placement^="top"] {
- margin-bottom: 10px;
+ margin-bottom: 0.8rem;
}
.popover.bs-popover-top .arrow, .popover.bs-popover-auto[x-placement^="top"] .arrow {
@@ -4920,19 +5349,19 @@ button.close {
}
.popover.bs-popover-top .arrow::before, .popover.bs-popover-auto[x-placement^="top"] .arrow::before {
- bottom: -11px;
- margin-left: -6px;
+ bottom: -0.8rem;
+ margin-left: -0.8rem;
border-top-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-top .arrow::after, .popover.bs-popover-auto[x-placement^="top"] .arrow::after {
- bottom: -10px;
- margin-left: -6px;
+ bottom: calc((0.8rem - 1px) * -1);
+ margin-left: -0.8rem;
border-top-color: #fff;
}
.popover.bs-popover-right, .popover.bs-popover-auto[x-placement^="right"] {
- margin-left: 10px;
+ margin-left: 0.8rem;
}
.popover.bs-popover-right .arrow, .popover.bs-popover-auto[x-placement^="right"] .arrow {
@@ -4941,22 +5370,22 @@ button.close {
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before,
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-left-width: 0;
}
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before {
- left: -11px;
+ left: -0.8rem;
border-right-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- left: -10px;
+ left: calc((0.8rem - 1px) * -1);
border-right-color: #fff;
}
.popover.bs-popover-bottom, .popover.bs-popover-auto[x-placement^="bottom"] {
- margin-top: 10px;
+ margin-top: 0.8rem;
}
.popover.bs-popover-bottom .arrow, .popover.bs-popover-auto[x-placement^="bottom"] .arrow {
@@ -4965,17 +5394,17 @@ button.close {
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before,
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- margin-left: -7px;
+ margin-left: -0.8rem;
border-top-width: 0;
}
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before {
- top: -11px;
+ top: -0.8rem;
border-bottom-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- top: -10px;
+ top: calc((0.8rem - 1px) * -1);
border-bottom-color: #fff;
}
@@ -4991,7 +5420,7 @@ button.close {
}
.popover.bs-popover-left, .popover.bs-popover-auto[x-placement^="left"] {
- margin-right: 10px;
+ margin-right: 0.8rem;
}
.popover.bs-popover-left .arrow, .popover.bs-popover-auto[x-placement^="left"] .arrow {
@@ -5000,22 +5429,22 @@ button.close {
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before,
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-right-width: 0;
}
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before {
- right: -11px;
+ right: -0.8rem;
border-left-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- right: -10px;
+ right: calc((0.8rem - 1px) * -1);
border-left-color: #fff;
}
.popover-header {
- padding: 8px 14px;
+ padding: 0.5rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
color: inherit;
@@ -5030,7 +5459,7 @@ button.close {
}
.popover-body {
- padding: 9px 14px;
+ padding: 0.5rem 0.75rem;
color: #212529;
}
@@ -5157,11 +5586,11 @@ button.close {
}
.carousel-control-prev-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.carousel-indicators {
@@ -5409,11 +5838,11 @@ a.bg-dark:focus, a.bg-dark:hover {
}
.rounded-circle {
- border-radius: 50%;
+ border-radius: 50% !important;
}
.rounded-0 {
- border-radius: 0;
+ border-radius: 0 !important;
}
.clearfix::after {
@@ -5442,6 +5871,10 @@ a.bg-dark:focus, a.bg-dark:hover {
display: table !important;
}
+.d-table-row {
+ display: table-row !important;
+}
+
.d-table-cell {
display: table-cell !important;
}
@@ -5472,6 +5905,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-sm-table {
display: table !important;
}
+ .d-sm-table-row {
+ display: table-row !important;
+ }
.d-sm-table-cell {
display: table-cell !important;
}
@@ -5501,6 +5937,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-md-table {
display: table !important;
}
+ .d-md-table-row {
+ display: table-row !important;
+ }
.d-md-table-cell {
display: table-cell !important;
}
@@ -5530,6 +5969,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-lg-table {
display: table !important;
}
+ .d-lg-table-row {
+ display: table-row !important;
+ }
.d-lg-table-cell {
display: table-cell !important;
}
@@ -5559,6 +6001,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-xl-table {
display: table !important;
}
+ .d-xl-table-row {
+ display: table-row !important;
+ }
.d-xl-table-cell {
display: table-cell !important;
}
@@ -6332,10 +6777,31 @@ a.bg-dark:focus, a.bg-dark:hover {
}
}
-.fixed-top {
- position: fixed;
- top: 0;
- right: 0;
+.position-static {
+ position: static !important;
+}
+
+.position-relative {
+ position: relative !important;
+}
+
+.position-absolute {
+ position: absolute !important;
+}
+
+.position-fixed {
+ position: fixed !important;
+}
+
+.position-sticky {
+ position: -webkit-sticky !important;
+ position: sticky !important;
+}
+
+.fixed-top {
+ position: fixed;
+ top: 0;
+ right: 0;
left: 0;
z-index: 1030;
}
@@ -6425,1598 +6891,1312 @@ a.bg-dark:focus, a.bg-dark:hover {
margin: 0 !important;
}
-.mt-0 {
+.mt-0,
+.my-0 {
margin-top: 0 !important;
}
-.mr-0 {
+.mr-0,
+.mx-0 {
margin-right: 0 !important;
}
-.mb-0 {
+.mb-0,
+.my-0 {
margin-bottom: 0 !important;
}
-.ml-0 {
- margin-left: 0 !important;
-}
-
+.ml-0,
.mx-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
-.my-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
-}
-
.m-1 {
margin: 0.25rem !important;
}
-.mt-1 {
+.mt-1,
+.my-1 {
margin-top: 0.25rem !important;
}
-.mr-1 {
+.mr-1,
+.mx-1 {
margin-right: 0.25rem !important;
}
-.mb-1 {
+.mb-1,
+.my-1 {
margin-bottom: 0.25rem !important;
}
-.ml-1 {
- margin-left: 0.25rem !important;
-}
-
+.ml-1,
.mx-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
-.my-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
-}
-
.m-2 {
margin: 0.5rem !important;
}
-.mt-2 {
+.mt-2,
+.my-2 {
margin-top: 0.5rem !important;
}
-.mr-2 {
+.mr-2,
+.mx-2 {
margin-right: 0.5rem !important;
}
-.mb-2 {
+.mb-2,
+.my-2 {
margin-bottom: 0.5rem !important;
}
-.ml-2 {
- margin-left: 0.5rem !important;
-}
-
+.ml-2,
.mx-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
-.my-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
-}
-
.m-3 {
margin: 1rem !important;
}
-.mt-3 {
+.mt-3,
+.my-3 {
margin-top: 1rem !important;
}
-.mr-3 {
+.mr-3,
+.mx-3 {
margin-right: 1rem !important;
}
-.mb-3 {
+.mb-3,
+.my-3 {
margin-bottom: 1rem !important;
}
-.ml-3 {
- margin-left: 1rem !important;
-}
-
+.ml-3,
.mx-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
-.my-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
-}
-
.m-4 {
margin: 1.5rem !important;
}
-.mt-4 {
+.mt-4,
+.my-4 {
margin-top: 1.5rem !important;
}
-.mr-4 {
+.mr-4,
+.mx-4 {
margin-right: 1.5rem !important;
}
-.mb-4 {
+.mb-4,
+.my-4 {
margin-bottom: 1.5rem !important;
}
-.ml-4 {
- margin-left: 1.5rem !important;
-}
-
+.ml-4,
.mx-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
-.my-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
-}
-
.m-5 {
margin: 3rem !important;
}
-.mt-5 {
+.mt-5,
+.my-5 {
margin-top: 3rem !important;
}
-.mr-5 {
+.mr-5,
+.mx-5 {
margin-right: 3rem !important;
}
-.mb-5 {
+.mb-5,
+.my-5 {
margin-bottom: 3rem !important;
}
-.ml-5 {
- margin-left: 3rem !important;
-}
-
+.ml-5,
.mx-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
-.my-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
-}
-
.p-0 {
padding: 0 !important;
}
-.pt-0 {
+.pt-0,
+.py-0 {
padding-top: 0 !important;
}
-.pr-0 {
+.pr-0,
+.px-0 {
padding-right: 0 !important;
}
-.pb-0 {
+.pb-0,
+.py-0 {
padding-bottom: 0 !important;
}
-.pl-0 {
- padding-left: 0 !important;
-}
-
+.pl-0,
.px-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
-.py-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
-}
-
.p-1 {
padding: 0.25rem !important;
}
-.pt-1 {
+.pt-1,
+.py-1 {
padding-top: 0.25rem !important;
}
-.pr-1 {
+.pr-1,
+.px-1 {
padding-right: 0.25rem !important;
}
-.pb-1 {
+.pb-1,
+.py-1 {
padding-bottom: 0.25rem !important;
}
-.pl-1 {
- padding-left: 0.25rem !important;
-}
-
+.pl-1,
.px-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
-.py-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
-}
-
.p-2 {
padding: 0.5rem !important;
}
-.pt-2 {
+.pt-2,
+.py-2 {
padding-top: 0.5rem !important;
}
-.pr-2 {
+.pr-2,
+.px-2 {
padding-right: 0.5rem !important;
}
-.pb-2 {
+.pb-2,
+.py-2 {
padding-bottom: 0.5rem !important;
}
-.pl-2 {
- padding-left: 0.5rem !important;
-}
-
+.pl-2,
.px-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
-.py-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
-}
-
.p-3 {
padding: 1rem !important;
}
-.pt-3 {
+.pt-3,
+.py-3 {
padding-top: 1rem !important;
}
-.pr-3 {
+.pr-3,
+.px-3 {
padding-right: 1rem !important;
}
-.pb-3 {
+.pb-3,
+.py-3 {
padding-bottom: 1rem !important;
}
-.pl-3 {
- padding-left: 1rem !important;
-}
-
+.pl-3,
.px-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
-.py-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
-}
-
.p-4 {
padding: 1.5rem !important;
}
-.pt-4 {
+.pt-4,
+.py-4 {
padding-top: 1.5rem !important;
}
-.pr-4 {
+.pr-4,
+.px-4 {
padding-right: 1.5rem !important;
}
-.pb-4 {
+.pb-4,
+.py-4 {
padding-bottom: 1.5rem !important;
}
-.pl-4 {
- padding-left: 1.5rem !important;
-}
-
+.pl-4,
.px-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
-.py-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
-}
-
.p-5 {
padding: 3rem !important;
}
-.pt-5 {
+.pt-5,
+.py-5 {
padding-top: 3rem !important;
}
-.pr-5 {
+.pr-5,
+.px-5 {
padding-right: 3rem !important;
}
-.pb-5 {
+.pb-5,
+.py-5 {
padding-bottom: 3rem !important;
}
-.pl-5 {
- padding-left: 3rem !important;
-}
-
+.pl-5,
.px-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
-.py-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
-}
-
.m-auto {
margin: auto !important;
}
-.mt-auto {
+.mt-auto,
+.my-auto {
margin-top: auto !important;
}
-.mr-auto {
+.mr-auto,
+.mx-auto {
margin-right: auto !important;
}
-.mb-auto {
+.mb-auto,
+.my-auto {
margin-bottom: auto !important;
}
-.ml-auto {
- margin-left: auto !important;
-}
-
+.ml-auto,
.mx-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
-.my-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
-}
-
@media (min-width: 576px) {
.m-sm-0 {
margin: 0 !important;
}
- .mt-sm-0 {
+ .mt-sm-0,
+ .my-sm-0 {
margin-top: 0 !important;
}
- .mr-sm-0 {
+ .mr-sm-0,
+ .mx-sm-0 {
margin-right: 0 !important;
}
- .mb-sm-0 {
+ .mb-sm-0,
+ .my-sm-0 {
margin-bottom: 0 !important;
}
- .ml-sm-0 {
- margin-left: 0 !important;
- }
+ .ml-sm-0,
.mx-sm-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-sm-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-sm-1 {
margin: 0.25rem !important;
}
- .mt-sm-1 {
+ .mt-sm-1,
+ .my-sm-1 {
margin-top: 0.25rem !important;
}
- .mr-sm-1 {
+ .mr-sm-1,
+ .mx-sm-1 {
margin-right: 0.25rem !important;
}
- .mb-sm-1 {
+ .mb-sm-1,
+ .my-sm-1 {
margin-bottom: 0.25rem !important;
}
- .ml-sm-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-sm-1,
.mx-sm-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-sm-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-sm-2 {
margin: 0.5rem !important;
}
- .mt-sm-2 {
+ .mt-sm-2,
+ .my-sm-2 {
margin-top: 0.5rem !important;
}
- .mr-sm-2 {
+ .mr-sm-2,
+ .mx-sm-2 {
margin-right: 0.5rem !important;
}
- .mb-sm-2 {
+ .mb-sm-2,
+ .my-sm-2 {
margin-bottom: 0.5rem !important;
}
- .ml-sm-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-sm-2,
.mx-sm-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-sm-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-sm-3 {
margin: 1rem !important;
}
- .mt-sm-3 {
+ .mt-sm-3,
+ .my-sm-3 {
margin-top: 1rem !important;
}
- .mr-sm-3 {
+ .mr-sm-3,
+ .mx-sm-3 {
margin-right: 1rem !important;
}
- .mb-sm-3 {
+ .mb-sm-3,
+ .my-sm-3 {
margin-bottom: 1rem !important;
}
- .ml-sm-3 {
- margin-left: 1rem !important;
- }
+ .ml-sm-3,
.mx-sm-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-sm-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-sm-4 {
margin: 1.5rem !important;
}
- .mt-sm-4 {
+ .mt-sm-4,
+ .my-sm-4 {
margin-top: 1.5rem !important;
}
- .mr-sm-4 {
+ .mr-sm-4,
+ .mx-sm-4 {
margin-right: 1.5rem !important;
}
- .mb-sm-4 {
+ .mb-sm-4,
+ .my-sm-4 {
margin-bottom: 1.5rem !important;
}
- .ml-sm-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-sm-4,
.mx-sm-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-sm-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-sm-5 {
margin: 3rem !important;
}
- .mt-sm-5 {
+ .mt-sm-5,
+ .my-sm-5 {
margin-top: 3rem !important;
}
- .mr-sm-5 {
+ .mr-sm-5,
+ .mx-sm-5 {
margin-right: 3rem !important;
}
- .mb-sm-5 {
+ .mb-sm-5,
+ .my-sm-5 {
margin-bottom: 3rem !important;
}
- .ml-sm-5 {
- margin-left: 3rem !important;
- }
+ .ml-sm-5,
.mx-sm-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-sm-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-sm-0 {
padding: 0 !important;
}
- .pt-sm-0 {
+ .pt-sm-0,
+ .py-sm-0 {
padding-top: 0 !important;
}
- .pr-sm-0 {
+ .pr-sm-0,
+ .px-sm-0 {
padding-right: 0 !important;
}
- .pb-sm-0 {
+ .pb-sm-0,
+ .py-sm-0 {
padding-bottom: 0 !important;
}
- .pl-sm-0 {
- padding-left: 0 !important;
- }
+ .pl-sm-0,
.px-sm-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-sm-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-sm-1 {
padding: 0.25rem !important;
}
- .pt-sm-1 {
+ .pt-sm-1,
+ .py-sm-1 {
padding-top: 0.25rem !important;
}
- .pr-sm-1 {
+ .pr-sm-1,
+ .px-sm-1 {
padding-right: 0.25rem !important;
}
- .pb-sm-1 {
+ .pb-sm-1,
+ .py-sm-1 {
padding-bottom: 0.25rem !important;
}
- .pl-sm-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-sm-1,
.px-sm-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-sm-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-sm-2 {
padding: 0.5rem !important;
}
- .pt-sm-2 {
+ .pt-sm-2,
+ .py-sm-2 {
padding-top: 0.5rem !important;
}
- .pr-sm-2 {
+ .pr-sm-2,
+ .px-sm-2 {
padding-right: 0.5rem !important;
}
- .pb-sm-2 {
+ .pb-sm-2,
+ .py-sm-2 {
padding-bottom: 0.5rem !important;
}
- .pl-sm-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-sm-2,
.px-sm-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-sm-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-sm-3 {
padding: 1rem !important;
}
- .pt-sm-3 {
+ .pt-sm-3,
+ .py-sm-3 {
padding-top: 1rem !important;
}
- .pr-sm-3 {
+ .pr-sm-3,
+ .px-sm-3 {
padding-right: 1rem !important;
}
- .pb-sm-3 {
+ .pb-sm-3,
+ .py-sm-3 {
padding-bottom: 1rem !important;
}
- .pl-sm-3 {
- padding-left: 1rem !important;
- }
+ .pl-sm-3,
.px-sm-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-sm-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-sm-4 {
padding: 1.5rem !important;
}
- .pt-sm-4 {
+ .pt-sm-4,
+ .py-sm-4 {
padding-top: 1.5rem !important;
}
- .pr-sm-4 {
+ .pr-sm-4,
+ .px-sm-4 {
padding-right: 1.5rem !important;
}
- .pb-sm-4 {
+ .pb-sm-4,
+ .py-sm-4 {
padding-bottom: 1.5rem !important;
}
- .pl-sm-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-sm-4,
.px-sm-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-sm-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-sm-5 {
padding: 3rem !important;
}
- .pt-sm-5 {
+ .pt-sm-5,
+ .py-sm-5 {
padding-top: 3rem !important;
}
- .pr-sm-5 {
+ .pr-sm-5,
+ .px-sm-5 {
padding-right: 3rem !important;
}
- .pb-sm-5 {
+ .pb-sm-5,
+ .py-sm-5 {
padding-bottom: 3rem !important;
}
- .pl-sm-5 {
- padding-left: 3rem !important;
- }
+ .pl-sm-5,
.px-sm-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-sm-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-sm-auto {
margin: auto !important;
}
- .mt-sm-auto {
+ .mt-sm-auto,
+ .my-sm-auto {
margin-top: auto !important;
}
- .mr-sm-auto {
+ .mr-sm-auto,
+ .mx-sm-auto {
margin-right: auto !important;
}
- .mb-sm-auto {
+ .mb-sm-auto,
+ .my-sm-auto {
margin-bottom: auto !important;
}
- .ml-sm-auto {
- margin-left: auto !important;
- }
+ .ml-sm-auto,
.mx-sm-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-sm-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 768px) {
.m-md-0 {
margin: 0 !important;
}
- .mt-md-0 {
+ .mt-md-0,
+ .my-md-0 {
margin-top: 0 !important;
}
- .mr-md-0 {
+ .mr-md-0,
+ .mx-md-0 {
margin-right: 0 !important;
}
- .mb-md-0 {
+ .mb-md-0,
+ .my-md-0 {
margin-bottom: 0 !important;
}
- .ml-md-0 {
- margin-left: 0 !important;
- }
+ .ml-md-0,
.mx-md-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-md-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-md-1 {
margin: 0.25rem !important;
}
- .mt-md-1 {
+ .mt-md-1,
+ .my-md-1 {
margin-top: 0.25rem !important;
}
- .mr-md-1 {
+ .mr-md-1,
+ .mx-md-1 {
margin-right: 0.25rem !important;
}
- .mb-md-1 {
+ .mb-md-1,
+ .my-md-1 {
margin-bottom: 0.25rem !important;
}
- .ml-md-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-md-1,
.mx-md-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-md-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-md-2 {
margin: 0.5rem !important;
}
- .mt-md-2 {
+ .mt-md-2,
+ .my-md-2 {
margin-top: 0.5rem !important;
}
- .mr-md-2 {
+ .mr-md-2,
+ .mx-md-2 {
margin-right: 0.5rem !important;
}
- .mb-md-2 {
+ .mb-md-2,
+ .my-md-2 {
margin-bottom: 0.5rem !important;
}
- .ml-md-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-md-2,
.mx-md-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-md-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-md-3 {
margin: 1rem !important;
}
- .mt-md-3 {
+ .mt-md-3,
+ .my-md-3 {
margin-top: 1rem !important;
}
- .mr-md-3 {
+ .mr-md-3,
+ .mx-md-3 {
margin-right: 1rem !important;
}
- .mb-md-3 {
+ .mb-md-3,
+ .my-md-3 {
margin-bottom: 1rem !important;
}
- .ml-md-3 {
- margin-left: 1rem !important;
- }
+ .ml-md-3,
.mx-md-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-md-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-md-4 {
margin: 1.5rem !important;
}
- .mt-md-4 {
+ .mt-md-4,
+ .my-md-4 {
margin-top: 1.5rem !important;
}
- .mr-md-4 {
+ .mr-md-4,
+ .mx-md-4 {
margin-right: 1.5rem !important;
}
- .mb-md-4 {
+ .mb-md-4,
+ .my-md-4 {
margin-bottom: 1.5rem !important;
}
- .ml-md-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-md-4,
.mx-md-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-md-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-md-5 {
margin: 3rem !important;
}
- .mt-md-5 {
+ .mt-md-5,
+ .my-md-5 {
margin-top: 3rem !important;
}
- .mr-md-5 {
+ .mr-md-5,
+ .mx-md-5 {
margin-right: 3rem !important;
}
- .mb-md-5 {
+ .mb-md-5,
+ .my-md-5 {
margin-bottom: 3rem !important;
}
- .ml-md-5 {
- margin-left: 3rem !important;
- }
+ .ml-md-5,
.mx-md-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-md-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-md-0 {
padding: 0 !important;
}
- .pt-md-0 {
+ .pt-md-0,
+ .py-md-0 {
padding-top: 0 !important;
}
- .pr-md-0 {
+ .pr-md-0,
+ .px-md-0 {
padding-right: 0 !important;
}
- .pb-md-0 {
+ .pb-md-0,
+ .py-md-0 {
padding-bottom: 0 !important;
}
- .pl-md-0 {
- padding-left: 0 !important;
- }
+ .pl-md-0,
.px-md-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-md-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-md-1 {
padding: 0.25rem !important;
}
- .pt-md-1 {
+ .pt-md-1,
+ .py-md-1 {
padding-top: 0.25rem !important;
}
- .pr-md-1 {
+ .pr-md-1,
+ .px-md-1 {
padding-right: 0.25rem !important;
}
- .pb-md-1 {
+ .pb-md-1,
+ .py-md-1 {
padding-bottom: 0.25rem !important;
}
- .pl-md-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-md-1,
.px-md-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-md-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-md-2 {
padding: 0.5rem !important;
}
- .pt-md-2 {
+ .pt-md-2,
+ .py-md-2 {
padding-top: 0.5rem !important;
}
- .pr-md-2 {
+ .pr-md-2,
+ .px-md-2 {
padding-right: 0.5rem !important;
}
- .pb-md-2 {
+ .pb-md-2,
+ .py-md-2 {
padding-bottom: 0.5rem !important;
}
- .pl-md-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-md-2,
.px-md-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-md-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-md-3 {
padding: 1rem !important;
}
- .pt-md-3 {
+ .pt-md-3,
+ .py-md-3 {
padding-top: 1rem !important;
}
- .pr-md-3 {
+ .pr-md-3,
+ .px-md-3 {
padding-right: 1rem !important;
}
- .pb-md-3 {
+ .pb-md-3,
+ .py-md-3 {
padding-bottom: 1rem !important;
}
- .pl-md-3 {
- padding-left: 1rem !important;
- }
+ .pl-md-3,
.px-md-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-md-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-md-4 {
padding: 1.5rem !important;
}
- .pt-md-4 {
+ .pt-md-4,
+ .py-md-4 {
padding-top: 1.5rem !important;
}
- .pr-md-4 {
+ .pr-md-4,
+ .px-md-4 {
padding-right: 1.5rem !important;
}
- .pb-md-4 {
+ .pb-md-4,
+ .py-md-4 {
padding-bottom: 1.5rem !important;
}
- .pl-md-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-md-4,
.px-md-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-md-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-md-5 {
padding: 3rem !important;
}
- .pt-md-5 {
+ .pt-md-5,
+ .py-md-5 {
padding-top: 3rem !important;
}
- .pr-md-5 {
+ .pr-md-5,
+ .px-md-5 {
padding-right: 3rem !important;
}
- .pb-md-5 {
+ .pb-md-5,
+ .py-md-5 {
padding-bottom: 3rem !important;
}
- .pl-md-5 {
- padding-left: 3rem !important;
- }
+ .pl-md-5,
.px-md-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-md-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-md-auto {
margin: auto !important;
}
- .mt-md-auto {
+ .mt-md-auto,
+ .my-md-auto {
margin-top: auto !important;
}
- .mr-md-auto {
+ .mr-md-auto,
+ .mx-md-auto {
margin-right: auto !important;
}
- .mb-md-auto {
+ .mb-md-auto,
+ .my-md-auto {
margin-bottom: auto !important;
}
- .ml-md-auto {
- margin-left: auto !important;
- }
+ .ml-md-auto,
.mx-md-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-md-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 992px) {
.m-lg-0 {
margin: 0 !important;
}
- .mt-lg-0 {
+ .mt-lg-0,
+ .my-lg-0 {
margin-top: 0 !important;
}
- .mr-lg-0 {
+ .mr-lg-0,
+ .mx-lg-0 {
margin-right: 0 !important;
}
- .mb-lg-0 {
+ .mb-lg-0,
+ .my-lg-0 {
margin-bottom: 0 !important;
}
- .ml-lg-0 {
- margin-left: 0 !important;
- }
+ .ml-lg-0,
.mx-lg-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-lg-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-lg-1 {
margin: 0.25rem !important;
}
- .mt-lg-1 {
+ .mt-lg-1,
+ .my-lg-1 {
margin-top: 0.25rem !important;
}
- .mr-lg-1 {
+ .mr-lg-1,
+ .mx-lg-1 {
margin-right: 0.25rem !important;
}
- .mb-lg-1 {
+ .mb-lg-1,
+ .my-lg-1 {
margin-bottom: 0.25rem !important;
}
- .ml-lg-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-lg-1,
.mx-lg-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-lg-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-lg-2 {
margin: 0.5rem !important;
}
- .mt-lg-2 {
+ .mt-lg-2,
+ .my-lg-2 {
margin-top: 0.5rem !important;
}
- .mr-lg-2 {
+ .mr-lg-2,
+ .mx-lg-2 {
margin-right: 0.5rem !important;
}
- .mb-lg-2 {
+ .mb-lg-2,
+ .my-lg-2 {
margin-bottom: 0.5rem !important;
}
- .ml-lg-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-lg-2,
.mx-lg-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-lg-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-lg-3 {
margin: 1rem !important;
}
- .mt-lg-3 {
+ .mt-lg-3,
+ .my-lg-3 {
margin-top: 1rem !important;
}
- .mr-lg-3 {
+ .mr-lg-3,
+ .mx-lg-3 {
margin-right: 1rem !important;
}
- .mb-lg-3 {
+ .mb-lg-3,
+ .my-lg-3 {
margin-bottom: 1rem !important;
}
- .ml-lg-3 {
- margin-left: 1rem !important;
- }
+ .ml-lg-3,
.mx-lg-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-lg-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-lg-4 {
margin: 1.5rem !important;
}
- .mt-lg-4 {
+ .mt-lg-4,
+ .my-lg-4 {
margin-top: 1.5rem !important;
}
- .mr-lg-4 {
+ .mr-lg-4,
+ .mx-lg-4 {
margin-right: 1.5rem !important;
}
- .mb-lg-4 {
+ .mb-lg-4,
+ .my-lg-4 {
margin-bottom: 1.5rem !important;
}
- .ml-lg-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-lg-4,
.mx-lg-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-lg-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-lg-5 {
margin: 3rem !important;
}
- .mt-lg-5 {
+ .mt-lg-5,
+ .my-lg-5 {
margin-top: 3rem !important;
}
- .mr-lg-5 {
+ .mr-lg-5,
+ .mx-lg-5 {
margin-right: 3rem !important;
}
- .mb-lg-5 {
+ .mb-lg-5,
+ .my-lg-5 {
margin-bottom: 3rem !important;
}
- .ml-lg-5 {
- margin-left: 3rem !important;
- }
+ .ml-lg-5,
.mx-lg-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-lg-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-lg-0 {
padding: 0 !important;
}
- .pt-lg-0 {
+ .pt-lg-0,
+ .py-lg-0 {
padding-top: 0 !important;
}
- .pr-lg-0 {
+ .pr-lg-0,
+ .px-lg-0 {
padding-right: 0 !important;
}
- .pb-lg-0 {
+ .pb-lg-0,
+ .py-lg-0 {
padding-bottom: 0 !important;
}
- .pl-lg-0 {
- padding-left: 0 !important;
- }
+ .pl-lg-0,
.px-lg-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-lg-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-lg-1 {
padding: 0.25rem !important;
}
- .pt-lg-1 {
+ .pt-lg-1,
+ .py-lg-1 {
padding-top: 0.25rem !important;
}
- .pr-lg-1 {
+ .pr-lg-1,
+ .px-lg-1 {
padding-right: 0.25rem !important;
}
- .pb-lg-1 {
+ .pb-lg-1,
+ .py-lg-1 {
padding-bottom: 0.25rem !important;
}
- .pl-lg-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-lg-1,
.px-lg-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-lg-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-lg-2 {
padding: 0.5rem !important;
}
- .pt-lg-2 {
+ .pt-lg-2,
+ .py-lg-2 {
padding-top: 0.5rem !important;
}
- .pr-lg-2 {
+ .pr-lg-2,
+ .px-lg-2 {
padding-right: 0.5rem !important;
}
- .pb-lg-2 {
+ .pb-lg-2,
+ .py-lg-2 {
padding-bottom: 0.5rem !important;
}
- .pl-lg-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-lg-2,
.px-lg-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-lg-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-lg-3 {
padding: 1rem !important;
}
- .pt-lg-3 {
+ .pt-lg-3,
+ .py-lg-3 {
padding-top: 1rem !important;
}
- .pr-lg-3 {
+ .pr-lg-3,
+ .px-lg-3 {
padding-right: 1rem !important;
}
- .pb-lg-3 {
+ .pb-lg-3,
+ .py-lg-3 {
padding-bottom: 1rem !important;
}
- .pl-lg-3 {
- padding-left: 1rem !important;
- }
+ .pl-lg-3,
.px-lg-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-lg-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-lg-4 {
padding: 1.5rem !important;
}
- .pt-lg-4 {
+ .pt-lg-4,
+ .py-lg-4 {
padding-top: 1.5rem !important;
}
- .pr-lg-4 {
+ .pr-lg-4,
+ .px-lg-4 {
padding-right: 1.5rem !important;
}
- .pb-lg-4 {
+ .pb-lg-4,
+ .py-lg-4 {
padding-bottom: 1.5rem !important;
}
- .pl-lg-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-lg-4,
.px-lg-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-lg-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-lg-5 {
padding: 3rem !important;
}
- .pt-lg-5 {
+ .pt-lg-5,
+ .py-lg-5 {
padding-top: 3rem !important;
}
- .pr-lg-5 {
+ .pr-lg-5,
+ .px-lg-5 {
padding-right: 3rem !important;
}
- .pb-lg-5 {
+ .pb-lg-5,
+ .py-lg-5 {
padding-bottom: 3rem !important;
}
- .pl-lg-5 {
- padding-left: 3rem !important;
- }
+ .pl-lg-5,
.px-lg-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-lg-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-lg-auto {
margin: auto !important;
}
- .mt-lg-auto {
+ .mt-lg-auto,
+ .my-lg-auto {
margin-top: auto !important;
}
- .mr-lg-auto {
+ .mr-lg-auto,
+ .mx-lg-auto {
margin-right: auto !important;
}
- .mb-lg-auto {
+ .mb-lg-auto,
+ .my-lg-auto {
margin-bottom: auto !important;
}
- .ml-lg-auto {
- margin-left: auto !important;
- }
+ .ml-lg-auto,
.mx-lg-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-lg-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 1200px) {
.m-xl-0 {
margin: 0 !important;
}
- .mt-xl-0 {
+ .mt-xl-0,
+ .my-xl-0 {
margin-top: 0 !important;
}
- .mr-xl-0 {
+ .mr-xl-0,
+ .mx-xl-0 {
margin-right: 0 !important;
}
- .mb-xl-0 {
+ .mb-xl-0,
+ .my-xl-0 {
margin-bottom: 0 !important;
}
- .ml-xl-0 {
- margin-left: 0 !important;
- }
+ .ml-xl-0,
.mx-xl-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-xl-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-xl-1 {
margin: 0.25rem !important;
}
- .mt-xl-1 {
+ .mt-xl-1,
+ .my-xl-1 {
margin-top: 0.25rem !important;
}
- .mr-xl-1 {
+ .mr-xl-1,
+ .mx-xl-1 {
margin-right: 0.25rem !important;
}
- .mb-xl-1 {
+ .mb-xl-1,
+ .my-xl-1 {
margin-bottom: 0.25rem !important;
}
- .ml-xl-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-xl-1,
.mx-xl-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-xl-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-xl-2 {
margin: 0.5rem !important;
}
- .mt-xl-2 {
+ .mt-xl-2,
+ .my-xl-2 {
margin-top: 0.5rem !important;
}
- .mr-xl-2 {
+ .mr-xl-2,
+ .mx-xl-2 {
margin-right: 0.5rem !important;
}
- .mb-xl-2 {
+ .mb-xl-2,
+ .my-xl-2 {
margin-bottom: 0.5rem !important;
}
- .ml-xl-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-xl-2,
.mx-xl-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-xl-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-xl-3 {
margin: 1rem !important;
}
- .mt-xl-3 {
+ .mt-xl-3,
+ .my-xl-3 {
margin-top: 1rem !important;
}
- .mr-xl-3 {
+ .mr-xl-3,
+ .mx-xl-3 {
margin-right: 1rem !important;
}
- .mb-xl-3 {
+ .mb-xl-3,
+ .my-xl-3 {
margin-bottom: 1rem !important;
}
- .ml-xl-3 {
- margin-left: 1rem !important;
- }
+ .ml-xl-3,
.mx-xl-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-xl-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-xl-4 {
margin: 1.5rem !important;
}
- .mt-xl-4 {
+ .mt-xl-4,
+ .my-xl-4 {
margin-top: 1.5rem !important;
}
- .mr-xl-4 {
+ .mr-xl-4,
+ .mx-xl-4 {
margin-right: 1.5rem !important;
}
- .mb-xl-4 {
+ .mb-xl-4,
+ .my-xl-4 {
margin-bottom: 1.5rem !important;
}
- .ml-xl-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-xl-4,
.mx-xl-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-xl-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-xl-5 {
margin: 3rem !important;
}
- .mt-xl-5 {
+ .mt-xl-5,
+ .my-xl-5 {
margin-top: 3rem !important;
}
- .mr-xl-5 {
+ .mr-xl-5,
+ .mx-xl-5 {
margin-right: 3rem !important;
}
- .mb-xl-5 {
+ .mb-xl-5,
+ .my-xl-5 {
margin-bottom: 3rem !important;
}
- .ml-xl-5 {
- margin-left: 3rem !important;
- }
+ .ml-xl-5,
.mx-xl-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-xl-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-xl-0 {
padding: 0 !important;
}
- .pt-xl-0 {
+ .pt-xl-0,
+ .py-xl-0 {
padding-top: 0 !important;
}
- .pr-xl-0 {
+ .pr-xl-0,
+ .px-xl-0 {
padding-right: 0 !important;
}
- .pb-xl-0 {
+ .pb-xl-0,
+ .py-xl-0 {
padding-bottom: 0 !important;
}
- .pl-xl-0 {
- padding-left: 0 !important;
- }
+ .pl-xl-0,
.px-xl-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-xl-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-xl-1 {
padding: 0.25rem !important;
}
- .pt-xl-1 {
+ .pt-xl-1,
+ .py-xl-1 {
padding-top: 0.25rem !important;
}
- .pr-xl-1 {
+ .pr-xl-1,
+ .px-xl-1 {
padding-right: 0.25rem !important;
}
- .pb-xl-1 {
+ .pb-xl-1,
+ .py-xl-1 {
padding-bottom: 0.25rem !important;
}
- .pl-xl-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-xl-1,
.px-xl-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-xl-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-xl-2 {
padding: 0.5rem !important;
}
- .pt-xl-2 {
+ .pt-xl-2,
+ .py-xl-2 {
padding-top: 0.5rem !important;
}
- .pr-xl-2 {
+ .pr-xl-2,
+ .px-xl-2 {
padding-right: 0.5rem !important;
}
- .pb-xl-2 {
+ .pb-xl-2,
+ .py-xl-2 {
padding-bottom: 0.5rem !important;
}
- .pl-xl-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-xl-2,
.px-xl-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-xl-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-xl-3 {
padding: 1rem !important;
}
- .pt-xl-3 {
+ .pt-xl-3,
+ .py-xl-3 {
padding-top: 1rem !important;
}
- .pr-xl-3 {
+ .pr-xl-3,
+ .px-xl-3 {
padding-right: 1rem !important;
}
- .pb-xl-3 {
+ .pb-xl-3,
+ .py-xl-3 {
padding-bottom: 1rem !important;
}
- .pl-xl-3 {
- padding-left: 1rem !important;
- }
+ .pl-xl-3,
.px-xl-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-xl-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-xl-4 {
padding: 1.5rem !important;
}
- .pt-xl-4 {
+ .pt-xl-4,
+ .py-xl-4 {
padding-top: 1.5rem !important;
}
- .pr-xl-4 {
+ .pr-xl-4,
+ .px-xl-4 {
padding-right: 1.5rem !important;
}
- .pb-xl-4 {
+ .pb-xl-4,
+ .py-xl-4 {
padding-bottom: 1.5rem !important;
}
- .pl-xl-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-xl-4,
.px-xl-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-xl-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-xl-5 {
padding: 3rem !important;
}
- .pt-xl-5 {
+ .pt-xl-5,
+ .py-xl-5 {
padding-top: 3rem !important;
}
- .pr-xl-5 {
+ .pr-xl-5,
+ .px-xl-5 {
padding-right: 3rem !important;
}
- .pb-xl-5 {
+ .pb-xl-5,
+ .py-xl-5 {
padding-bottom: 3rem !important;
}
- .pl-xl-5 {
- padding-left: 3rem !important;
- }
+ .pl-xl-5,
.px-xl-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-xl-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-xl-auto {
margin: auto !important;
}
- .mt-xl-auto {
+ .mt-xl-auto,
+ .my-xl-auto {
margin-top: auto !important;
}
- .mr-xl-auto {
+ .mr-xl-auto,
+ .mx-xl-auto {
margin-right: auto !important;
}
- .mb-xl-auto {
+ .mb-xl-auto,
+ .my-xl-auto {
margin-bottom: auto !important;
}
- .ml-xl-auto {
- margin-left: auto !important;
- }
+ .ml-xl-auto,
.mx-xl-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-xl-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
.text-justify {
@@ -8105,16 +8285,20 @@ a.bg-dark:focus, a.bg-dark:hover {
text-transform: capitalize !important;
}
+.font-weight-light {
+ font-weight: 300 !important;
+}
+
.font-weight-normal {
- font-weight: normal;
+ font-weight: 400 !important;
}
.font-weight-bold {
- font-weight: bold;
+ font-weight: 700 !important;
}
.font-italic {
- font-style: italic;
+ font-style: italic !important;
}
.text-white {
@@ -8272,7 +8456,7 @@ Todo: check, if this is needed? (It doesn't work with the build system)
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link {
- color: white;
+ color: #fff;
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link:hover, .tobago-bar.navbar-dark .navbar-brand > .tobago-link:focus {
@@ -8484,8 +8668,8 @@ table.tobago-gridLayout > tbody > tr:first-child > td {
/* image ----------------------------------------------------------- */
.tobago-image-markup-disabled {
- -webkit-filter: blur(2px) contrast(0.5) brightness(1.2);
- filter: blur(2px) contrast(0.5) brightness(1.2);
+ -webkit-filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
+ filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
}
/* in ----------------------------------------------------------- */
@@ -8867,14 +9051,14 @@ h1 > .fa:first-child, h2 > .fa:first-child, h3 > .fa:first-child, h4 > .fa:first
/* inline */
.tobago-selectBooleanCheckbox.form-check {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
margin-bottom: 0;
}
.tobago-selectManyCheckbox-inline, .tobago-selectOneRadio-inline {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
}
.tobago-selectManyCheckbox-inline .form-check.form-check-inline, .tobago-selectOneRadio-inline .form-check.form-check-inline {
diff --git a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css.map b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css.map
index 8ed16fa..e79b59b 100644
--- a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css.map
+++ b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.css.map
@@ -1 +1 @@
-{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixi [...]
\ No newline at end of file
+{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_root.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_gri [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css
index dae2fb3..3005c79 100644
--- a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css
+++ b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td, [...]
+ */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#868e96;--gray-dark:#343a40;--primary:#007bff;--secondary:#868e96;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-s [...]
/*# sourceMappingURL=bootstrap.min.css.map */
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css.map b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css.map
index 2292025..e4aec54 100644
--- a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css.map
+++ b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/css/bootstrap.min.css.map
@@ -1 +1 @@
-{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../s [...]
\ No newline at end of file
+{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_root.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_br [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/js/bootstrap.js b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/js/bootstrap.js
index 7597fb3..630a9e0 100644
--- a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/js/bootstrap.js
+++ b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/js/bootstrap.js
@@ -1,63 +1,39 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-if (typeof jQuery === 'undefined') {
- throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
-}
-
-(function ($) {
- var version = $.fn.jquery.split(' ')[0].split('.')
- if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 4)) {
- throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')
- }
-})(jQuery);
-
-(function () {
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap = (function (exports,$,Popper) {
+'use strict';
-var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) [...]
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
+Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): util.js
+ * Bootstrap (v4.0.0-beta.2): util.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Util = function ($) {
-
+var Util = function () {
/**
* ------------------------------------------------------------------------
* Private TransitionEnd Helpers
* ------------------------------------------------------------------------
*/
-
var transition = false;
-
var MAX_UID = 1000000;
-
var TransitionEndEvent = {
WebkitTransition: 'webkitTransitionEnd',
MozTransition: 'transitionend',
OTransition: 'oTransitionEnd otransitionend',
- transition: 'transitionend'
+ transition: 'transitionend' // shoutout AngusCroll (https://goo.gl/pxwQGp)
- // shoutout AngusCroll (https://goo.gl/pxwQGp)
- };function toType(obj) {
- return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
- }
+ };
- function isElement(obj) {
- return (obj[0] || obj).nodeType;
+ function toType(obj) {
+ return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
}
function getSpecialTransitionEndEvent() {
@@ -68,7 +44,8 @@ var Util = function ($) {
if ($(event.target).is(this)) {
return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
}
- return undefined;
+
+ return undefined; // eslint-disable-line no-undefined
}
};
}
@@ -81,7 +58,7 @@ var Util = function ($) {
var el = document.createElement('bootstrap');
for (var name in TransitionEndEvent) {
- if (el.style[name] !== undefined) {
+ if (typeof el.style[name] !== 'undefined') {
return {
end: TransitionEndEvent[name]
};
@@ -95,55 +72,51 @@ var Util = function ($) {
var _this = this;
var called = false;
-
$(this).one(Util.TRANSITION_END, function () {
called = true;
});
-
setTimeout(function () {
if (!called) {
Util.triggerTransitionEnd(_this);
}
}, duration);
-
return this;
}
function setTransitionEndSupport() {
transition = transitionEndTest();
-
$.fn.emulateTransitionEnd = transitionEndEmulator;
if (Util.supportsTransitionEnd()) {
$.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
}
}
-
/**
* --------------------------------------------------------------------------
* Public Util Api
* --------------------------------------------------------------------------
*/
- var Util = {
+ var Util = {
TRANSITION_END: 'bsTransitionEnd',
-
getUID: function getUID(prefix) {
do {
// eslint-disable-next-line no-bitwise
prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
+
return prefix;
},
getSelectorFromElement: function getSelectorFromElement(element) {
var selector = element.getAttribute('data-target');
+
if (!selector || selector === '#') {
selector = element.getAttribute('href') || '';
}
try {
- var $selector = $(selector);
+ var $selector = $(document).find(selector);
return $selector.length > 0 ? selector : null;
} catch (error) {
return null;
@@ -158,64 +131,85 @@ var Util = function ($) {
supportsTransitionEnd: function supportsTransitionEnd() {
return Boolean(transition);
},
+ isElement: function isElement(obj) {
+ return (obj[0] || obj).nodeType;
+ },
typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) {
for (var property in configTypes) {
- if (configTypes.hasOwnProperty(property)) {
+ if (Object.prototype.hasOwnProperty.call(configTypes, property)) {
var expectedTypes = configTypes[property];
var value = config[property];
- var valueType = value && isElement(value) ? 'element' : toType(value);
+ var valueType = value && Util.isElement(value) ? 'element' : toType(value);
if (!new RegExp(expectedTypes).test(valueType)) {
- throw new Error(componentName.toUpperCase() + ': ' + ('Option "' + property + '" provided type "' + valueType + '" ') + ('but expected type "' + expectedTypes + '".'));
+ throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\"."));
}
}
}
}
};
-
setTransitionEndSupport();
-
return Util;
-}(jQuery);
+}($);
+
+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);
+ }
+}
+
+function _createClass(Constructor, protoProps, staticProps) {
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
+ if (staticProps) _defineProperties(Constructor, staticProps);
+ return Constructor;
+}
+
+var createClass = _createClass;
+
+function _inheritsLoose(subClass, superClass) {
+ subClass.prototype = Object.create(superClass.prototype);
+ subClass.prototype.constructor = subClass;
+ subClass.__proto__ = superClass;
+}
+
+var inheritsLoose = _inheritsLoose;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): alert.js
+ * Bootstrap (v4.0.0-beta.2): alert.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Alert = function ($) {
-
+var Alert = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'alert';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.alert';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 150;
-
var Selector = {
DISMISS: '[data-dismiss="alert"]'
};
-
var Event = {
- CLOSE: 'close' + EVENT_KEY,
- CLOSED: 'closed' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ CLOSE: "close" + EVENT_KEY,
+ CLOSED: "closed" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
ALERT: 'alert',
FADE: 'fade',
SHOW: 'show'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -223,21 +217,23 @@ var Alert = function ($) {
*/
};
- var Alert = function () {
- function Alert(element) {
- _classCallCheck(this, Alert);
+ var Alert =
+ /*#__PURE__*/
+ function () {
+ function Alert(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Alert.prototype;
- Alert.prototype.close = function close(element) {
+ // public
+ _proto.close = function close(element) {
element = element || this._element;
var rootElement = this._getRootElement(element);
+
var customEvent = this._triggerCloseEvent(rootElement);
if (customEvent.isDefaultPrevented()) {
@@ -247,14 +243,13 @@ var Alert = function ($) {
this._removeElement(rootElement);
};
- Alert.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // private
- // private
- Alert.prototype._getRootElement = function _getRootElement(element) {
+ _proto._getRootElement = function _getRootElement(element) {
var selector = Util.getSelectorFromElement(element);
var parent = false;
@@ -263,39 +258,38 @@ var Alert = function ($) {
}
if (!parent) {
- parent = $(element).closest('.' + ClassName.ALERT)[0];
+ parent = $(element).closest("." + ClassName.ALERT)[0];
}
return parent;
};
- Alert.prototype._triggerCloseEvent = function _triggerCloseEvent(element) {
+ _proto._triggerCloseEvent = function _triggerCloseEvent(element) {
var closeEvent = $.Event(Event.CLOSE);
-
$(element).trigger(closeEvent);
return closeEvent;
};
- Alert.prototype._removeElement = function _removeElement(element) {
- var _this2 = this;
+ _proto._removeElement = function _removeElement(element) {
+ var _this = this;
$(element).removeClass(ClassName.SHOW);
if (!Util.supportsTransitionEnd() || !$(element).hasClass(ClassName.FADE)) {
this._destroyElement(element);
+
return;
}
$(element).one(Util.TRANSITION_END, function (event) {
- return _this2._destroyElement(element, event);
+ return _this._destroyElement(element, event);
}).emulateTransitionEnd(TRANSITION_DURATION);
};
- Alert.prototype._destroyElement = function _destroyElement(element) {
+ _proto._destroyElement = function _destroyElement(element) {
$(element).detach().trigger(Event.CLOSED).remove();
- };
+ }; // static
- // static
Alert._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -323,24 +317,22 @@ var Alert = function ($) {
};
};
- _createClass(Alert, null, [{
- key: 'VERSION',
+ createClass(Alert, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Alert;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
+ $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
/**
* ------------------------------------------------------------------------
* jQuery
@@ -349,42 +341,39 @@ var Alert = function ($) {
$.fn[NAME] = Alert._jQueryInterface;
$.fn[NAME].Constructor = Alert;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Alert._jQueryInterface;
};
return Alert;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): button.js
+ * Bootstrap (v4.0.0-beta.2): button.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Button = function ($) {
-
+var Button = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'button';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.button';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
-
var ClassName = {
ACTIVE: 'active',
BUTTON: 'btn',
FOCUS: 'focus'
};
-
var Selector = {
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
DATA_TOGGLE: '[data-toggle="buttons"]',
@@ -392,11 +381,9 @@ var Button = function ($) {
ACTIVE: '.active',
BUTTON: '.btn'
};
-
var Event = {
- 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)
-
+ 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)
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -404,18 +391,19 @@ var Button = function ($) {
*/
};
- var Button = function () {
- function Button(element) {
- _classCallCheck(this, Button);
+ var Button =
+ /*#__PURE__*/
+ function () {
+ function Button(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Button.prototype;
- Button.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
var triggerChangeEvent = true;
var addAriaPressed = true;
var rootElement = $(this._element).closest(Selector.DATA_TOGGLE)[0];
@@ -440,6 +428,7 @@ var Button = function ($) {
if (input.hasAttribute('disabled') || rootElement.hasAttribute('disabled') || input.classList.contains('disabled') || rootElement.classList.contains('disabled')) {
return;
}
+
input.checked = !$(this._element).hasClass(ClassName.ACTIVE);
$(input).trigger('change');
}
@@ -458,12 +447,11 @@ var Button = function ($) {
}
};
- Button.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // static
- // static
Button._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -480,25 +468,23 @@ var Button = function ($) {
});
};
- _createClass(Button, null, [{
- key: 'VERSION',
+ createClass(Button, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Button;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) {
event.preventDefault();
-
var button = event.target;
if (!$(button).hasClass(ClassName.BUTTON)) {
@@ -510,7 +496,6 @@ var Button = function ($) {
var button = $(event.target).closest(Selector.BUTTON)[0];
$(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type));
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -519,38 +504,39 @@ var Button = function ($) {
$.fn[NAME] = Button._jQueryInterface;
$.fn[NAME].Constructor = Button;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Button._jQueryInterface;
};
return Button;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): carousel.js
+ * Bootstrap (v4.0.0-beta.2): carousel.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Carousel = function ($) {
-
+var Carousel = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'carousel';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.carousel';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
var ARROW_LEFT_KEYCODE = 37; // KeyboardEvent.which value for left arrow key
+
var ARROW_RIGHT_KEYCODE = 39; // KeyboardEvent.which value for right arrow key
+
var TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch
var Default = {
@@ -560,7 +546,6 @@ var Carousel = function ($) {
pause: 'hover',
wrap: true
};
-
var DefaultType = {
interval: '(number|boolean)',
keyboard: 'boolean',
@@ -568,25 +553,22 @@ var Carousel = function ($) {
pause: '(string|boolean)',
wrap: 'boolean'
};
-
var Direction = {
NEXT: 'next',
PREV: 'prev',
LEFT: 'left',
RIGHT: 'right'
};
-
var Event = {
- SLIDE: 'slide' + EVENT_KEY,
- SLID: 'slid' + EVENT_KEY,
- KEYDOWN: 'keydown' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY,
- TOUCHEND: 'touchend' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SLIDE: "slide" + EVENT_KEY,
+ SLID: "slid" + EVENT_KEY,
+ KEYDOWN: "keydown" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY,
+ TOUCHEND: "touchend" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
CAROUSEL: 'carousel',
ACTIVE: 'active',
@@ -597,7 +579,6 @@ var Carousel = function ($) {
PREV: 'carousel-item-prev',
ITEM: 'carousel-item'
};
-
var Selector = {
ACTIVE: '.active',
ACTIVE_ITEM: '.active.carousel-item',
@@ -606,7 +587,6 @@ var Carousel = function ($) {
INDICATORS: '.carousel-indicators',
DATA_SLIDE: '[data-slide], [data-slide-to]',
DATA_RIDE: '[data-ride="carousel"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -614,50 +594,49 @@ var Carousel = function ($) {
*/
};
- var Carousel = function () {
- function Carousel(element, config) {
- _classCallCheck(this, Carousel);
+ var Carousel =
+ /*#__PURE__*/
+ function () {
+ function Carousel(element, config) {
this._items = null;
this._interval = null;
this._activeElement = null;
-
this._isPaused = false;
this._isSliding = false;
-
this.touchTimeout = null;
-
this._config = this._getConfig(config);
this._element = $(element)[0];
this._indicatorsElement = $(this._element).find(Selector.INDICATORS)[0];
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Carousel.prototype;
- Carousel.prototype.next = function next() {
+ // public
+ _proto.next = function next() {
if (!this._isSliding) {
this._slide(Direction.NEXT);
}
};
- Carousel.prototype.nextWhenVisible = function nextWhenVisible() {
+ _proto.nextWhenVisible = function nextWhenVisible() {
// Don't call next when the page isn't visible
- if (!document.hidden) {
+ // or the carousel or its parent isn't visible
+ if (!document.hidden && $(this._element).is(':visible') && $(this._element).css('visibility') !== 'hidden') {
this.next();
}
};
- Carousel.prototype.prev = function prev() {
+ _proto.prev = function prev() {
if (!this._isSliding) {
this._slide(Direction.PREV);
}
};
- Carousel.prototype.pause = function pause(event) {
+ _proto.pause = function pause(event) {
if (!event) {
this._isPaused = true;
}
@@ -671,7 +650,7 @@ var Carousel = function ($) {
this._interval = null;
};
- Carousel.prototype.cycle = function cycle(event) {
+ _proto.cycle = function cycle(event) {
if (!event) {
this._isPaused = false;
}
@@ -686,8 +665,8 @@ var Carousel = function ($) {
}
};
- Carousel.prototype.to = function to(index) {
- var _this3 = this;
+ _proto.to = function to(index) {
+ var _this = this;
this._activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
@@ -699,7 +678,7 @@ var Carousel = function ($) {
if (this._isSliding) {
$(this._element).one(Event.SLID, function () {
- return _this3.to(index);
+ return _this.to(index);
});
return;
}
@@ -715,10 +694,9 @@ var Carousel = function ($) {
this._slide(direction, this._items[index]);
};
- Carousel.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$(this._element).off(EVENT_KEY);
$.removeData(this._element, DATA_KEY);
-
this._items = null;
this._config = null;
this._element = null;
@@ -727,31 +705,31 @@ var Carousel = function ($) {
this._isSliding = null;
this._activeElement = null;
this._indicatorsElement = null;
- };
+ }; // private
- // private
- Carousel.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Carousel.prototype._addEventListeners = function _addEventListeners() {
- var _this4 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this2 = this;
if (this._config.keyboard) {
$(this._element).on(Event.KEYDOWN, function (event) {
- return _this4._keydown(event);
+ return _this2._keydown(event);
});
}
if (this._config.pause === 'hover') {
$(this._element).on(Event.MOUSEENTER, function (event) {
- return _this4.pause(event);
+ return _this2.pause(event);
}).on(Event.MOUSELEAVE, function (event) {
- return _this4.cycle(event);
+ return _this2.cycle(event);
});
+
if ('ontouchstart' in document.documentElement) {
// if it's a touch-enabled device, mouseenter/leave are fired as
// part of the mouse compatibility events on first tap - the carousel
@@ -761,19 +739,21 @@ var Carousel = function ($) {
// is NOT fired) and after a timeout (to allow for mouse compatibility
// events to fire) we explicitly restart cycling
$(this._element).on(Event.TOUCHEND, function () {
- _this4.pause();
- if (_this4.touchTimeout) {
- clearTimeout(_this4.touchTimeout);
+ _this2.pause();
+
+ if (_this2.touchTimeout) {
+ clearTimeout(_this2.touchTimeout);
}
- _this4.touchTimeout = setTimeout(function (event) {
- return _this4.cycle(event);
- }, TOUCHEVENT_COMPAT_WAIT + _this4._config.interval);
+
+ _this2.touchTimeout = setTimeout(function (event) {
+ return _this2.cycle(event);
+ }, TOUCHEVENT_COMPAT_WAIT + _this2._config.interval);
});
}
}
};
- Carousel.prototype._keydown = function _keydown(event) {
+ _proto._keydown = function _keydown(event) {
if (/input|textarea/i.test(event.target.tagName)) {
return;
}
@@ -783,24 +763,28 @@ var Carousel = function ($) {
event.preventDefault();
this.prev();
break;
+
case ARROW_RIGHT_KEYCODE:
event.preventDefault();
this.next();
break;
+
default:
return;
}
};
- Carousel.prototype._getItemIndex = function _getItemIndex(element) {
+ _proto._getItemIndex = function _getItemIndex(element) {
this._items = $.makeArray($(element).parent().find(Selector.ITEM));
return this._items.indexOf(element);
};
- Carousel.prototype._getItemByDirection = function _getItemByDirection(direction, activeElement) {
+ _proto._getItemByDirection = function _getItemByDirection(direction, activeElement) {
var isNextDirection = direction === Direction.NEXT;
var isPrevDirection = direction === Direction.PREV;
+
var activeIndex = this._getItemIndex(activeElement);
+
var lastItemIndex = this._items.length - 1;
var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex;
@@ -810,26 +794,25 @@ var Carousel = function ($) {
var delta = direction === Direction.PREV ? -1 : 1;
var itemIndex = (activeIndex + delta) % this._items.length;
-
return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex];
};
- Carousel.prototype._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
+ _proto._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
var targetIndex = this._getItemIndex(relatedTarget);
+
var fromIndex = this._getItemIndex($(this._element).find(Selector.ACTIVE_ITEM)[0]);
+
var slideEvent = $.Event(Event.SLIDE, {
relatedTarget: relatedTarget,
direction: eventDirectionName,
from: fromIndex,
to: targetIndex
});
-
$(this._element).trigger(slideEvent);
-
return slideEvent;
};
- Carousel.prototype._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
+ _proto._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
if (this._indicatorsElement) {
$(this._indicatorsElement).find(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
@@ -841,18 +824,21 @@ var Carousel = function ($) {
}
};
- Carousel.prototype._slide = function _slide(direction, element) {
- var _this5 = this;
+ _proto._slide = function _slide(direction, element) {
+ var _this3 = this;
var activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
+
var activeElementIndex = this._getItemIndex(activeElement);
+
var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement);
+
var nextElementIndex = this._getItemIndex(nextElement);
- var isCycling = Boolean(this._interval);
- var directionalClassName = void 0;
- var orderClassName = void 0;
- var eventDirectionName = void 0;
+ var isCycling = Boolean(this._interval);
+ var directionalClassName;
+ var orderClassName;
+ var eventDirectionName;
if (direction === Direction.NEXT) {
directionalClassName = ClassName.LEFT;
@@ -870,6 +856,7 @@ var Carousel = function ($) {
}
var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);
+
if (slideEvent.isDefaultPrevented()) {
return;
}
@@ -895,29 +882,21 @@ var Carousel = function ($) {
});
if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.SLIDE)) {
-
$(nextElement).addClass(orderClassName);
-
Util.reflow(nextElement);
-
$(activeElement).addClass(directionalClassName);
$(nextElement).addClass(directionalClassName);
-
$(activeElement).one(Util.TRANSITION_END, function () {
- $(nextElement).removeClass(directionalClassName + ' ' + orderClassName).addClass(ClassName.ACTIVE);
-
- $(activeElement).removeClass(ClassName.ACTIVE + ' ' + orderClassName + ' ' + directionalClassName);
-
- _this5._isSliding = false;
-
+ $(nextElement).removeClass(directionalClassName + " " + orderClassName).addClass(ClassName.ACTIVE);
+ $(activeElement).removeClass(ClassName.ACTIVE + " " + orderClassName + " " + directionalClassName);
+ _this3._isSliding = false;
setTimeout(function () {
- return $(_this5._element).trigger(slidEvent);
+ return $(_this3._element).trigger(slidEvent);
}, 0);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
$(activeElement).removeClass(ClassName.ACTIVE);
$(nextElement).addClass(ClassName.ACTIVE);
-
this._isSliding = false;
$(this._element).trigger(slidEvent);
}
@@ -925,16 +904,16 @@ var Carousel = function ($) {
if (isCycling) {
this.cycle();
}
- };
+ }; // static
- // static
Carousel._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
+
var _config = $.extend({}, Default, $(this).data());
- if ((typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object') {
+ if (typeof config === 'object') {
$.extend(_config, config);
}
@@ -948,9 +927,10 @@ var Carousel = function ($) {
if (typeof config === 'number') {
data.to(config);
} else if (typeof action === 'string') {
- if (data[action] === undefined) {
- throw new Error('No method named "' + action + '"');
+ if (typeof data[action] === 'undefined') {
+ throw new Error("No method named \"" + action + "\"");
}
+
data[action]();
} else if (_config.interval) {
data.pause();
@@ -988,36 +968,34 @@ var Carousel = function ($) {
event.preventDefault();
};
- _createClass(Carousel, null, [{
- key: 'VERSION',
+ createClass(Carousel, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Carousel;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
$(window).on(Event.LOAD_DATA_API, function () {
$(Selector.DATA_RIDE).each(function () {
var $carousel = $(this);
+
Carousel._jQueryInterface.call($carousel, $carousel.data());
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1026,71 +1004,63 @@ var Carousel = function ($) {
$.fn[NAME] = Carousel._jQueryInterface;
$.fn[NAME].Constructor = Carousel;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Carousel._jQueryInterface;
};
return Carousel;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): collapse.js
+ * Bootstrap (v4.0.0-beta.2): collapse.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Collapse = function ($) {
-
+var Collapse = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'collapse';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.collapse';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
-
var Default = {
toggle: true,
parent: ''
};
-
var DefaultType = {
toggle: 'boolean',
- parent: 'string'
+ parent: '(string|element)'
};
-
var Event = {
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SHOW: 'show',
COLLAPSE: 'collapse',
COLLAPSING: 'collapsing',
COLLAPSED: 'collapsed'
};
-
var Dimension = {
WIDTH: 'width',
HEIGHT: 'height'
};
-
var Selector = {
ACTIVES: '.show, .collapsing',
DATA_TOGGLE: '[data-toggle="collapse"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1098,18 +1068,21 @@ var Collapse = function ($) {
*/
};
- var Collapse = function () {
- function Collapse(element, config) {
- _classCallCheck(this, Collapse);
+ var Collapse =
+ /*#__PURE__*/
+ function () {
+ function Collapse(element, config) {
this._isTransitioning = false;
this._element = element;
this._config = this._getConfig(config);
- this._triggerArray = $.makeArray($('[data-toggle="collapse"][href="#' + element.id + '"],' + ('[data-toggle="collapse"][data-target="#' + element.id + '"]')));
+ this._triggerArray = $.makeArray($("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
var tabToggles = $(Selector.DATA_TOGGLE);
+
for (var i = 0; i < tabToggles.length; i++) {
var elem = tabToggles[i];
var selector = Util.getSelectorFromElement(elem);
+
if (selector !== null && $(selector).filter(element).length > 0) {
this._triggerArray.push(elem);
}
@@ -1124,13 +1097,13 @@ var Collapse = function ($) {
if (this._config.toggle) {
this.toggle();
}
- }
+ } // getters
- // getters
- // public
+ var _proto = Collapse.prototype;
- Collapse.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if ($(this._element).hasClass(ClassName.SHOW)) {
this.hide();
} else {
@@ -1138,18 +1111,19 @@ var Collapse = function ($) {
}
};
- Collapse.prototype.show = function show() {
- var _this6 = this;
+ _proto.show = function show() {
+ var _this = this;
if (this._isTransitioning || $(this._element).hasClass(ClassName.SHOW)) {
return;
}
- var actives = void 0;
- var activesData = void 0;
+ var actives;
+ var activesData;
if (this._parent) {
actives = $.makeArray($(this._parent).children().children(Selector.ACTIVES));
+
if (!actives.length) {
actives = null;
}
@@ -1157,6 +1131,7 @@ var Collapse = function ($) {
if (actives) {
activesData = $(actives).data(DATA_KEY);
+
if (activesData && activesData._isTransitioning) {
return;
}
@@ -1164,12 +1139,14 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.SHOW);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
if (actives) {
Collapse._jQueryInterface.call($(actives), 'hide');
+
if (!activesData) {
$(actives).data(DATA_KEY, null);
}
@@ -1178,7 +1155,6 @@ var Collapse = function ($) {
var dimension = this._getDimension();
$(this._element).removeClass(ClassName.COLLAPSE).addClass(ClassName.COLLAPSING);
-
this._element.style[dimension] = 0;
if (this._triggerArray.length) {
@@ -1188,13 +1164,12 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- $(_this6._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
-
- _this6._element.style[dimension] = '';
+ $(_this._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
+ _this._element.style[dimension] = '';
- _this6.setTransitioning(false);
+ _this.setTransitioning(false);
- $(_this6._element).trigger(Event.SHOWN);
+ $(_this._element).trigger(Event.SHOWN);
};
if (!Util.supportsTransitionEnd()) {
@@ -1203,15 +1178,13 @@ var Collapse = function ($) {
}
var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);
- var scrollSize = 'scroll' + capitalizedDimension;
-
+ var scrollSize = "scroll" + capitalizedDimension;
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
-
- this._element.style[dimension] = this._element[scrollSize] + 'px';
+ this._element.style[dimension] = this._element[scrollSize] + "px";
};
- Collapse.prototype.hide = function hide() {
- var _this7 = this;
+ _proto.hide = function hide() {
+ var _this2 = this;
if (this._isTransitioning || !$(this._element).hasClass(ClassName.SHOW)) {
return;
@@ -1219,24 +1192,25 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.HIDE);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
var dimension = this._getDimension();
- this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + 'px';
-
+ this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + "px";
Util.reflow(this._element);
-
$(this._element).addClass(ClassName.COLLAPSING).removeClass(ClassName.COLLAPSE).removeClass(ClassName.SHOW);
if (this._triggerArray.length) {
for (var i = 0; i < this._triggerArray.length; i++) {
var trigger = this._triggerArray[i];
var selector = Util.getSelectorFromElement(trigger);
+
if (selector !== null) {
var $elem = $(selector);
+
if (!$elem.hasClass(ClassName.SHOW)) {
$(trigger).addClass(ClassName.COLLAPSED).attr('aria-expanded', false);
}
@@ -1247,8 +1221,9 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- _this7.setTransitioning(false);
- $(_this7._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
+ _this2.setTransitioning(false);
+
+ $(_this2._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
};
this._element.style[dimension] = '';
@@ -1261,48 +1236,56 @@ var Collapse = function ($) {
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
};
- Collapse.prototype.setTransitioning = function setTransitioning(isTransitioning) {
+ _proto.setTransitioning = function setTransitioning(isTransitioning) {
this._isTransitioning = isTransitioning;
};
- Collapse.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
this._config = null;
this._parent = null;
this._element = null;
this._triggerArray = null;
this._isTransitioning = null;
- };
+ }; // private
- // private
- Collapse.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
config.toggle = Boolean(config.toggle); // coerce string values
+
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Collapse.prototype._getDimension = function _getDimension() {
+ _proto._getDimension = function _getDimension() {
var hasWidth = $(this._element).hasClass(Dimension.WIDTH);
return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT;
};
- Collapse.prototype._getParent = function _getParent() {
- var _this8 = this;
+ _proto._getParent = function _getParent() {
+ var _this3 = this;
+
+ var parent = null;
- var parent = $(this._config.parent)[0];
- var selector = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]';
+ if (Util.isElement(this._config.parent)) {
+ parent = this._config.parent; // it's a jQuery object
+
+ if (typeof this._config.parent.jquery !== 'undefined') {
+ parent = this._config.parent[0];
+ }
+ } else {
+ parent = $(this._config.parent)[0];
+ }
+ var selector = "[data-toggle=\"collapse\"][data-parent=\"" + this._config.parent + "\"]";
$(parent).find(selector).each(function (i, element) {
- _this8._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
+ _this3._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
});
-
return parent;
};
- Collapse.prototype._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
+ _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
if (element) {
var isOpen = $(element).hasClass(ClassName.SHOW);
@@ -1310,9 +1293,8 @@ var Collapse = function ($) {
$(triggerArray).toggleClass(ClassName.COLLAPSED, !isOpen).attr('aria-expanded', isOpen);
}
}
- };
+ }; // static
- // static
Collapse._getTargetFromElement = function _getTargetFromElement(element) {
var selector = Util.getSelectorFromElement(element);
@@ -1323,7 +1305,8 @@ var Collapse = function ($) {
return this.each(function () {
var $this = $(this);
var data = $this.data(DATA_KEY);
- var _config = $.extend({}, Default, $this.data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Default, $this.data(), typeof config === 'object' && config);
if (!data && _config.toggle && /show|hide/.test(config)) {
_config.toggle = false;
@@ -1335,37 +1318,38 @@ var Collapse = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Collapse, null, [{
- key: 'VERSION',
+ createClass(Collapse, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Collapse;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- if (!/input|textarea/i.test(event.target.tagName)) {
+ // preventDefault only for <a> elements (which change the URL) not inside the collapsible element
+ if (event.currentTarget.tagName === 'A') {
event.preventDefault();
}
@@ -1375,10 +1359,10 @@ var Collapse = function ($) {
var $target = $(this);
var data = $target.data(DATA_KEY);
var config = data ? 'toggle' : $trigger.data();
+
Collapse._jQueryInterface.call($target, config);
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1387,25 +1371,23 @@ var Collapse = function ($) {
$.fn[NAME] = Collapse._jQueryInterface;
$.fn[NAME].Constructor = Collapse;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Collapse._jQueryInterface;
};
return Collapse;
-}(jQuery);
-
-/* global Popper */
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): dropdown.js
+ * Bootstrap (v4.0.0-beta.2): dropdown.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Dropdown = function ($) {
-
+var Dropdown = function () {
/**
* Check for Popper dependency
* Popper - https://popper.js.org
@@ -1413,38 +1395,42 @@ var Dropdown = function ($) {
if (typeof Popper === 'undefined') {
throw new Error('Bootstrap dropdown require Popper.js (https://popper.js.org)');
}
-
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
+
var NAME = 'dropdown';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.dropdown';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key
+
var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key
+
var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key
+
var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key
+
var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key
+
var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse)
- var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + '|' + ARROW_DOWN_KEYCODE + '|' + ESCAPE_KEYCODE);
+ var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + "|" + ARROW_DOWN_KEYCODE + "|" + ESCAPE_KEYCODE);
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
- KEYDOWN_DATA_API: 'keydown' + EVENT_KEY + DATA_API_KEY,
- KEYUP_DATA_API: 'keyup' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY,
+ KEYDOWN_DATA_API: "keydown" + EVENT_KEY + DATA_API_KEY,
+ KEYUP_DATA_API: "keyup" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
DISABLED: 'disabled',
SHOW: 'show',
@@ -1452,7 +1438,6 @@ var Dropdown = function ($) {
MENURIGHT: 'dropdown-menu-right',
MENULEFT: 'dropdown-menu-left'
};
-
var Selector = {
DATA_TOGGLE: '[data-toggle="dropdown"]',
FORM_CHILD: '.dropdown form',
@@ -1460,25 +1445,19 @@ var Dropdown = function ($) {
NAVBAR_NAV: '.navbar-nav',
VISIBLE_ITEMS: '.dropdown-menu .dropdown-item:not(.disabled)'
};
-
var AttachmentMap = {
TOP: 'top-start',
TOPEND: 'top-end',
BOTTOM: 'bottom-start',
BOTTOMEND: 'bottom-end'
};
-
var Default = {
- placement: AttachmentMap.BOTTOM,
offset: 0,
flip: true
};
-
var DefaultType = {
- placement: 'string',
- offset: '(number|string)',
+ offset: '(number|string|function)',
flip: 'boolean'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1486,10 +1465,11 @@ var Dropdown = function ($) {
*/
};
- var Dropdown = function () {
- function Dropdown(element, config) {
- _classCallCheck(this, Dropdown);
+ var Dropdown =
+ /*#__PURE__*/
+ function () {
+ function Dropdown(element, config) {
this._element = element;
this._popper = null;
this._config = this._getConfig(config);
@@ -1497,18 +1477,19 @@ var Dropdown = function ($) {
this._inNavbar = this._detectNavbar();
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Dropdown.prototype;
- Dropdown.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if (this._element.disabled || $(this._element).hasClass(ClassName.DISABLED)) {
return;
}
var parent = Dropdown._getParentFromElement(this._element);
+
var isActive = $(this._menu).hasClass(ClassName.SHOW);
Dropdown._clearMenus();
@@ -1521,135 +1502,147 @@ var Dropdown = function ($) {
relatedTarget: this._element
};
var showEvent = $.Event(Event.SHOW, relatedTarget);
-
$(parent).trigger(showEvent);
if (showEvent.isDefaultPrevented()) {
return;
}
- 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
+
if ($(parent).hasClass(ClassName.DROPUP)) {
if ($(this._menu).hasClass(ClassName.MENULEFT) || $(this._menu).hasClass(ClassName.MENURIGHT)) {
element = parent;
}
}
- this._popper = new Popper(element, this._menu, this._getPopperConfig());
- // if this is a touch-enabled device we add extra
+ this._popper = new Popper(element, this._menu, this._getPopperConfig()); // if this is a touch-enabled device we add extra
// empty mouseover listeners to the body's immediate children;
// only needed because of broken event delegation on iOS
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
+
if ('ontouchstart' in document.documentElement && !$(parent).closest(Selector.NAVBAR_NAV).length) {
$('body').children().on('mouseover', null, $.noop);
}
this._element.focus();
+
this._element.setAttribute('aria-expanded', true);
$(this._menu).toggleClass(ClassName.SHOW);
$(parent).toggleClass(ClassName.SHOW).trigger($.Event(Event.SHOWN, relatedTarget));
};
- Dropdown.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
$(this._element).off(EVENT_KEY);
this._element = null;
this._menu = null;
+
if (this._popper !== null) {
this._popper.destroy();
}
+
this._popper = null;
};
- Dropdown.prototype.update = function update() {
+ _proto.update = function update() {
this._inNavbar = this._detectNavbar();
+
if (this._popper !== null) {
this._popper.scheduleUpdate();
}
- };
+ }; // private
- // private
- Dropdown.prototype._addEventListeners = function _addEventListeners() {
- var _this9 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this = this;
$(this._element).on(Event.CLICK, function (event) {
event.preventDefault();
event.stopPropagation();
- _this9.toggle();
+
+ _this.toggle();
});
};
- Dropdown.prototype._getConfig = function _getConfig(config) {
- var elementData = $(this._element).data();
- if (elementData.placement !== undefined) {
- elementData.placement = AttachmentMap[elementData.placement.toUpperCase()];
- }
-
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
-
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
-
return config;
};
- Dropdown.prototype._getMenuElement = function _getMenuElement() {
+ _proto._getMenuElement = function _getMenuElement() {
if (!this._menu) {
var parent = Dropdown._getParentFromElement(this._element);
+
this._menu = $(parent).find(Selector.MENU)[0];
}
+
return this._menu;
};
- Dropdown.prototype._getPlacement = function _getPlacement() {
+ _proto._getPlacement = function _getPlacement() {
var $parentDropdown = $(this._element).parent();
- var placement = this._config.placement;
+ var placement = AttachmentMap.BOTTOM; // Handle dropup
- // Handle dropup
- if ($parentDropdown.hasClass(ClassName.DROPUP) || this._config.placement === AttachmentMap.TOP) {
+ if ($parentDropdown.hasClass(ClassName.DROPUP)) {
placement = AttachmentMap.TOP;
+
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.TOPEND;
}
} else if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.BOTTOMEND;
}
+
return placement;
};
- Dropdown.prototype._detectNavbar = function _detectNavbar() {
+ _proto._detectNavbar = function _detectNavbar() {
return $(this._element).closest('.navbar').length > 0;
};
- Dropdown.prototype._getPopperConfig = function _getPopperConfig() {
+ _proto._getPopperConfig = function _getPopperConfig() {
+ var _this2 = this;
+
+ var offsetConf = {};
+
+ if (typeof this._config.offset === 'function') {
+ offsetConf.fn = function (data) {
+ data.offsets = $.extend({}, data.offsets, _this2._config.offset(data.offsets) || {});
+ return data;
+ };
+ } else {
+ offsetConf.offset = this._config.offset;
+ }
+
var popperConfig = {
placement: this._getPlacement(),
modifiers: {
- offset: {
- offset: this._config.offset
- },
+ offset: offsetConf,
flip: {
enabled: this._config.flip
}
- }
+ } // Disable Popper.js for Dropdown in Navbar
+
+ };
- // Disable Popper.js for Dropdown in Navbar
- };if (this._inNavbar) {
+ if (this._inNavbar) {
popperConfig.modifiers.applyStyle = {
enabled: !this._inNavbar
};
}
+
return popperConfig;
- };
+ }; // static
- // static
Dropdown._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+
+ var _config = typeof config === 'object' ? config : null;
if (!data) {
data = new Dropdown(this, _config);
@@ -1657,9 +1650,10 @@ var Dropdown = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
@@ -1671,8 +1665,10 @@ var Dropdown = function ($) {
}
var toggles = $.makeArray($(Selector.DATA_TOGGLE));
+
for (var i = 0; i < toggles.length; i++) {
var parent = Dropdown._getParentFromElement(toggles[i]);
+
var context = $(toggles[i]).data(DATA_KEY);
var relatedTarget = {
relatedTarget: toggles[i]
@@ -1683,6 +1679,7 @@ var Dropdown = function ($) {
}
var dropdownMenu = context._menu;
+
if (!$(parent).hasClass(ClassName.SHOW)) {
continue;
}
@@ -1693,25 +1690,25 @@ var Dropdown = function ($) {
var hideEvent = $.Event(Event.HIDE, relatedTarget);
$(parent).trigger(hideEvent);
+
if (hideEvent.isDefaultPrevented()) {
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
+
+
if ('ontouchstart' in document.documentElement) {
$('body').children().off('mouseover', null, $.noop);
}
toggles[i].setAttribute('aria-expanded', 'false');
-
$(dropdownMenu).removeClass(ClassName.SHOW);
$(parent).removeClass(ClassName.SHOW).trigger($.Event(Event.HIDDEN, relatedTarget));
}
};
Dropdown._getParentFromElement = function _getParentFromElement(element) {
- var parent = void 0;
+ var parent;
var selector = Util.getSelectorFromElement(element);
if (selector) {
@@ -1734,10 +1731,10 @@ var Dropdown = function ($) {
}
var parent = Dropdown._getParentFromElement(this);
+
var isActive = $(parent).hasClass(ClassName.SHOW);
if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
-
if (event.which === ESCAPE_KEYCODE) {
var toggle = $(parent).find(Selector.DATA_TOGGLE)[0];
$(toggle).trigger('focus');
@@ -1772,40 +1769,39 @@ var Dropdown = function ($) {
items[index].focus();
};
- _createClass(Dropdown, null, [{
- key: 'VERSION',
+ createClass(Dropdown, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}, {
- key: 'DefaultType',
+ key: "DefaultType",
get: function get() {
return DefaultType;
}
}]);
-
return Dropdown;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + ' ' + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+
+ $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + " " + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
event.preventDefault();
event.stopPropagation();
+
Dropdown._jQueryInterface.call($(this), 'toggle');
}).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) {
e.stopPropagation();
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1814,33 +1810,32 @@ var Dropdown = function ($) {
$.fn[NAME] = Dropdown._jQueryInterface;
$.fn[NAME].Constructor = Dropdown;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Dropdown._jQueryInterface;
};
return Dropdown;
-}(jQuery);
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): modal.js
+ * Bootstrap (v4.0.0-beta.2): modal.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Modal = function ($) {
-
+var Modal = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'modal';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.modal';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 300;
@@ -1853,28 +1848,25 @@ var Modal = function ($) {
focus: true,
show: true
};
-
var DefaultType = {
backdrop: '(boolean|string)',
keyboard: 'boolean',
focus: 'boolean',
show: 'boolean'
};
-
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- RESIZE: 'resize' + EVENT_KEY,
- CLICK_DISMISS: 'click.dismiss' + EVENT_KEY,
- KEYDOWN_DISMISS: 'keydown.dismiss' + EVENT_KEY,
- MOUSEUP_DISMISS: 'mouseup.dismiss' + EVENT_KEY,
- MOUSEDOWN_DISMISS: 'mousedown.dismiss' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ RESIZE: "resize" + EVENT_KEY,
+ CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
+ KEYDOWN_DISMISS: "keydown.dismiss" + EVENT_KEY,
+ MOUSEUP_DISMISS: "mouseup.dismiss" + EVENT_KEY,
+ MOUSEDOWN_DISMISS: "mousedown.dismiss" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SCROLLBAR_MEASURER: 'modal-scrollbar-measure',
BACKDROP: 'modal-backdrop',
@@ -1882,14 +1874,13 @@ var Modal = function ($) {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
DIALOG: '.modal-dialog',
DATA_TOGGLE: '[data-toggle="modal"]',
DATA_DISMISS: '[data-dismiss="modal"]',
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
+ STICKY_CONTENT: '.sticky-top',
NAVBAR_TOGGLER: '.navbar-toggler'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1897,10 +1888,11 @@ var Modal = function ($) {
*/
};
- var Modal = function () {
- function Modal(element, config) {
- _classCallCheck(this, Modal);
+ var Modal =
+ /*#__PURE__*/
+ function () {
+ function Modal(element, config) {
this._config = this._getConfig(config);
this._element = element;
this._dialog = $(element).find(Selector.DIALOG)[0];
@@ -1910,20 +1902,20 @@ var Modal = function ($) {
this._ignoreBackdropClick = false;
this._originalBodyPadding = 0;
this._scrollbarWidth = 0;
- }
+ } // getters
- // getters
- // public
+ var _proto = Modal.prototype;
- Modal.prototype.toggle = function toggle(relatedTarget) {
+ // public
+ _proto.toggle = function toggle(relatedTarget) {
return this._isShown ? this.hide() : this.show(relatedTarget);
};
- Modal.prototype.show = function show(relatedTarget) {
- var _this10 = this;
+ _proto.show = function show(relatedTarget) {
+ var _this = this;
- if (this._isTransitioning) {
+ if (this._isTransitioning || this._isShown) {
return;
}
@@ -1934,7 +1926,6 @@ var Modal = function ($) {
var showEvent = $.Event(Event.SHOW, {
relatedTarget: relatedTarget
});
-
$(this._element).trigger(showEvent);
if (this._isShown || showEvent.isDefaultPrevented()) {
@@ -1944,32 +1935,35 @@ var Modal = function ($) {
this._isShown = true;
this._checkScrollbar();
+
this._setScrollbar();
+ this._adjustDialog();
+
$(document.body).addClass(ClassName.OPEN);
this._setEscapeEvent();
+
this._setResizeEvent();
$(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function (event) {
- return _this10.hide(event);
+ return _this.hide(event);
});
-
$(this._dialog).on(Event.MOUSEDOWN_DISMISS, function () {
- $(_this10._element).one(Event.MOUSEUP_DISMISS, function (event) {
- if ($(event.target).is(_this10._element)) {
- _this10._ignoreBackdropClick = true;
+ $(_this._element).one(Event.MOUSEUP_DISMISS, function (event) {
+ if ($(event.target).is(_this._element)) {
+ _this._ignoreBackdropClick = true;
}
});
});
this._showBackdrop(function () {
- return _this10._showElement(relatedTarget);
+ return _this._showElement(relatedTarget);
});
};
- Modal.prototype.hide = function hide(event) {
- var _this11 = this;
+ _proto.hide = function hide(event) {
+ var _this2 = this;
if (event) {
event.preventDefault();
@@ -1979,14 +1973,7 @@ var Modal = function ($) {
return;
}
- var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
-
- if (transition) {
- this._isTransitioning = true;
- }
-
var hideEvent = $.Event(Event.HIDE);
-
$(this._element).trigger(hideEvent);
if (!this._isShown || hideEvent.isDefaultPrevented()) {
@@ -1994,32 +1981,33 @@ var Modal = function ($) {
}
this._isShown = false;
+ var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
+
+ if (transition) {
+ this._isTransitioning = true;
+ }
this._setEscapeEvent();
+
this._setResizeEvent();
$(document).off(Event.FOCUSIN);
-
$(this._element).removeClass(ClassName.SHOW);
-
$(this._element).off(Event.CLICK_DISMISS);
$(this._dialog).off(Event.MOUSEDOWN_DISMISS);
if (transition) {
-
$(this._element).one(Util.TRANSITION_END, function (event) {
- return _this11._hideModal(event);
+ return _this2._hideModal(event);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
this._hideModal();
}
};
- Modal.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
$(window, document, this._element, this._backdrop).off(EVENT_KEY);
-
this._config = null;
this._element = null;
this._dialog = null;
@@ -2030,20 +2018,19 @@ var Modal = function ($) {
this._scrollbarWidth = null;
};
- Modal.prototype.handleUpdate = function handleUpdate() {
+ _proto.handleUpdate = function handleUpdate() {
this._adjustDialog();
- };
+ }; // private
- // private
- Modal.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Modal.prototype._showElement = function _showElement(relatedTarget) {
- var _this12 = this;
+ _proto._showElement = function _showElement(relatedTarget) {
+ var _this3 = this;
var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
@@ -2053,7 +2040,9 @@ var Modal = function ($) {
}
this._element.style.display = 'block';
+
this._element.removeAttribute('aria-hidden');
+
this._element.scrollTop = 0;
if (transition) {
@@ -2071,11 +2060,12 @@ var Modal = function ($) {
});
var transitionComplete = function transitionComplete() {
- if (_this12._config.focus) {
- _this12._element.focus();
+ if (_this3._config.focus) {
+ _this3._element.focus();
}
- _this12._isTransitioning = false;
- $(_this12._element).trigger(shownEvent);
+
+ _this3._isTransitioning = false;
+ $(_this3._element).trigger(shownEvent);
};
if (transition) {
@@ -2085,25 +2075,26 @@ var Modal = function ($) {
}
};
- Modal.prototype._enforceFocus = function _enforceFocus() {
- var _this13 = this;
+ _proto._enforceFocus = function _enforceFocus() {
+ var _this4 = this;
$(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) {
- if (document !== event.target && _this13._element !== event.target && !$(_this13._element).has(event.target).length) {
- _this13._element.focus();
+ if (document !== event.target && _this4._element !== event.target && !$(_this4._element).has(event.target).length) {
+ _this4._element.focus();
}
});
};
- Modal.prototype._setEscapeEvent = function _setEscapeEvent() {
- var _this14 = this;
+ _proto._setEscapeEvent = function _setEscapeEvent() {
+ var _this5 = this;
if (this._isShown && this._config.keyboard) {
$(this._element).on(Event.KEYDOWN_DISMISS, function (event) {
if (event.which === ESCAPE_KEYCODE) {
event.preventDefault();
- _this14.hide();
+
+ _this5.hide();
}
});
} else if (!this._isShown) {
@@ -2111,47 +2102,52 @@ var Modal = function ($) {
}
};
- Modal.prototype._setResizeEvent = function _setResizeEvent() {
- var _this15 = this;
+ _proto._setResizeEvent = function _setResizeEvent() {
+ var _this6 = this;
if (this._isShown) {
$(window).on(Event.RESIZE, function (event) {
- return _this15.handleUpdate(event);
+ return _this6.handleUpdate(event);
});
} else {
$(window).off(Event.RESIZE);
}
};
- Modal.prototype._hideModal = function _hideModal() {
- var _this16 = this;
+ _proto._hideModal = function _hideModal() {
+ var _this7 = this;
this._element.style.display = 'none';
+
this._element.setAttribute('aria-hidden', true);
+
this._isTransitioning = false;
+
this._showBackdrop(function () {
$(document.body).removeClass(ClassName.OPEN);
- _this16._resetAdjustments();
- _this16._resetScrollbar();
- $(_this16._element).trigger(Event.HIDDEN);
+
+ _this7._resetAdjustments();
+
+ _this7._resetScrollbar();
+
+ $(_this7._element).trigger(Event.HIDDEN);
});
};
- Modal.prototype._removeBackdrop = function _removeBackdrop() {
+ _proto._removeBackdrop = function _removeBackdrop() {
if (this._backdrop) {
$(this._backdrop).remove();
this._backdrop = null;
}
};
- Modal.prototype._showBackdrop = function _showBackdrop(callback) {
- var _this17 = this;
+ _proto._showBackdrop = function _showBackdrop(callback) {
+ var _this8 = this;
var animate = $(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : '';
if (this._isShown && this._config.backdrop) {
var doAnimate = Util.supportsTransitionEnd() && animate;
-
this._backdrop = document.createElement('div');
this._backdrop.className = ClassName.BACKDROP;
@@ -2160,19 +2156,20 @@ var Modal = function ($) {
}
$(this._backdrop).appendTo(document.body);
-
$(this._element).on(Event.CLICK_DISMISS, function (event) {
- if (_this17._ignoreBackdropClick) {
- _this17._ignoreBackdropClick = false;
+ if (_this8._ignoreBackdropClick) {
+ _this8._ignoreBackdropClick = false;
return;
}
+
if (event.target !== event.currentTarget) {
return;
}
- if (_this17._config.backdrop === 'static') {
- _this17._element.focus();
+
+ if (_this8._config.backdrop === 'static') {
+ _this8._element.focus();
} else {
- _this17.hide();
+ _this8.hide();
}
});
@@ -2196,7 +2193,8 @@ var Modal = function ($) {
$(this._backdrop).removeClass(ClassName.SHOW);
var callbackRemove = function callbackRemove() {
- _this17._removeBackdrop();
+ _this8._removeBackdrop();
+
if (callback) {
callback();
}
@@ -2210,88 +2208,92 @@ var Modal = function ($) {
} else if (callback) {
callback();
}
- };
-
- // ----------------------------------------------------------------------
+ }; // ----------------------------------------------------------------------
// the following methods are used to handle overflowing modals
// todo (fat): these should probably be refactored out of modal.js
// ----------------------------------------------------------------------
- Modal.prototype._adjustDialog = function _adjustDialog() {
+
+ _proto._adjustDialog = function _adjustDialog() {
var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;
if (!this._isBodyOverflowing && isModalOverflowing) {
- this._element.style.paddingLeft = this._scrollbarWidth + 'px';
+ this._element.style.paddingLeft = this._scrollbarWidth + "px";
}
if (this._isBodyOverflowing && !isModalOverflowing) {
- this._element.style.paddingRight = this._scrollbarWidth + 'px';
+ this._element.style.paddingRight = this._scrollbarWidth + "px";
}
};
- Modal.prototype._resetAdjustments = function _resetAdjustments() {
+ _proto._resetAdjustments = function _resetAdjustments() {
this._element.style.paddingLeft = '';
this._element.style.paddingRight = '';
};
- Modal.prototype._checkScrollbar = function _checkScrollbar() {
- this._isBodyOverflowing = document.body.clientWidth < window.innerWidth;
+ _proto._checkScrollbar = function _checkScrollbar() {
+ var rect = document.body.getBoundingClientRect();
+ this._isBodyOverflowing = rect.left + rect.right < window.innerWidth;
this._scrollbarWidth = this._getScrollbarWidth();
};
- Modal.prototype._setScrollbar = function _setScrollbar() {
- var _this18 = this;
+ _proto._setScrollbar = function _setScrollbar() {
+ var _this9 = this;
if (this._isBodyOverflowing) {
// Note: DOMNode.style.paddingRight returns the actual value or '' if not set
// while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set
-
// Adjust fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var actualPadding = $(element)[0].style.paddingRight;
var calculatedPadding = $(element).css('padding-right');
- $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this9._scrollbarWidth + "px");
+ }); // Adjust sticky content margin
+
+ $(Selector.STICKY_CONTENT).each(function (index, element) {
+ var actualMargin = $(element)[0].style.marginRight;
+ var calculatedMargin = $(element).css('margin-right');
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) - _this9._scrollbarWidth + "px");
+ }); // Adjust navbar-toggler margin
- // Adjust navbar-toggler margin
$(Selector.NAVBAR_TOGGLER).each(function (index, element) {
var actualMargin = $(element)[0].style.marginRight;
var calculatedMargin = $(element).css('margin-right');
- $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this9._scrollbarWidth + "px");
+ }); // Adjust body padding
- // Adjust body padding
var actualPadding = document.body.style.paddingRight;
var calculatedPadding = $('body').css('padding-right');
- $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + 'px');
+ $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
}
};
- Modal.prototype._resetScrollbar = function _resetScrollbar() {
+ _proto._resetScrollbar = function _resetScrollbar() {
// Restore fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var padding = $(element).data('padding-right');
+
if (typeof padding !== 'undefined') {
$(element).css('padding-right', padding).removeData('padding-right');
}
- });
+ }); // Restore sticky content and navbar-toggler margin
- // Restore navbar-toggler margin
- $(Selector.NAVBAR_TOGGLER).each(function (index, element) {
+ $(Selector.STICKY_CONTENT + ", " + Selector.NAVBAR_TOGGLER).each(function (index, element) {
var margin = $(element).data('margin-right');
+
if (typeof margin !== 'undefined') {
$(element).css('margin-right', margin).removeData('margin-right');
}
- });
+ }); // Restore body padding
- // Restore body padding
var padding = $('body').data('padding-right');
+
if (typeof padding !== 'undefined') {
$('body').css('padding-right', padding).removeData('padding-right');
}
};
- Modal.prototype._getScrollbarWidth = function _getScrollbarWidth() {
+ _proto._getScrollbarWidth = function _getScrollbarWidth() {
// thx d.walsh
var scrollDiv = document.createElement('div');
scrollDiv.className = ClassName.SCROLLBAR_MEASURER;
@@ -2299,14 +2301,14 @@ var Modal = function ($) {
var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth;
document.body.removeChild(scrollDiv);
return scrollbarWidth;
- };
+ }; // static
- // static
Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = $.extend({}, Modal.Default, $(this).data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Modal.Default, $(this).data(), typeof config === 'object' && config);
if (!data) {
data = new Modal(this, _config);
@@ -2314,9 +2316,10 @@ var Modal = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config](relatedTarget);
} else if (_config.show) {
data.show(relatedTarget);
@@ -2324,31 +2327,30 @@ var Modal = function ($) {
});
};
- _createClass(Modal, null, [{
- key: 'VERSION',
+ createClass(Modal, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Modal;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- var _this19 = this;
+ var _this10 = this;
- var target = void 0;
+ var target;
var selector = Util.getSelectorFromElement(this);
if (selector) {
@@ -2368,15 +2370,14 @@ var Modal = function ($) {
}
$target.one(Event.HIDDEN, function () {
- if ($(_this19).is(':visible')) {
- _this19.focus();
+ if ($(_this10).is(':visible')) {
+ _this10.focus();
}
});
});
Modal._jQueryInterface.call($(target), config, this);
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -2385,75 +2386,108 @@ var Modal = function ($) {
$.fn[NAME] = Modal._jQueryInterface;
$.fn[NAME].Constructor = Modal;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Modal._jQueryInterface;
};
return Modal;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): scrollspy.js
+ * Bootstrap (v4.0.0-beta.2): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var ScrollSpy = function ($) {
-
+var Tooltip = function () {
+ /**
+ * Check for Popper dependency
+ * Popper - https://popper.js.org
+ */
+ if (typeof Popper === 'undefined') {
+ throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
+ }
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
- var NAME = 'scrollspy';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.scrollspy';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var NAME = 'tooltip';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tooltip';
+ var EVENT_KEY = "." + DATA_KEY;
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var TRANSITION_DURATION = 150;
+ var CLASS_PREFIX = 'bs-tooltip';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var DefaultType = {
+ animation: 'boolean',
+ template: 'string',
+ title: '(string|element|function)',
+ trigger: 'string',
+ delay: '(number|object)',
+ html: 'boolean',
+ selector: '(string|boolean)',
+ placement: '(string|function)',
+ offset: '(number|string)',
+ container: '(string|element|boolean)',
+ fallbackPlacement: '(string|array)'
+ };
+ var AttachmentMap = {
+ AUTO: 'auto',
+ TOP: 'top',
+ RIGHT: 'right',
+ BOTTOM: 'bottom',
+ LEFT: 'left'
+ };
var Default = {
- offset: 10,
- method: 'auto',
- target: ''
+ animation: true,
+ template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
+ trigger: 'hover focus',
+ title: '',
+ delay: 0,
+ html: false,
+ selector: false,
+ placement: 'top',
+ offset: 0,
+ container: false,
+ fallbackPlacement: 'flip'
};
-
- var DefaultType = {
- offset: 'number',
- method: 'string',
- target: '(string|element)'
+ var HoverState = {
+ SHOW: 'show',
+ OUT: 'out'
};
-
var Event = {
- ACTIVATE: 'activate' + EVENT_KEY,
- SCROLL: 'scroll' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
};
-
var ClassName = {
- DROPDOWN_ITEM: 'dropdown-item',
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active'
+ FADE: 'fade',
+ SHOW: 'show'
};
-
var Selector = {
- DATA_SPY: '[data-spy="scroll"]',
- ACTIVE: '.active',
- NAV_LIST_GROUP: '.nav, .list-group',
- NAV_LINKS: '.nav-link',
- LIST_ITEMS: '.list-group-item',
- DROPDOWN: '.dropdown',
- DROPDOWN_ITEMS: '.dropdown-item',
- DROPDOWN_TOGGLE: '.dropdown-toggle'
+ TOOLTIP: '.tooltip',
+ TOOLTIP_INNER: '.tooltip-inner',
+ ARROW: '.arrow'
};
-
- var OffsetMethod = {
- OFFSET: 'offset',
- POSITION: 'position'
-
+ var Trigger = {
+ HOVER: 'hover',
+ FOCUS: 'focus',
+ CLICK: 'click',
+ MANUAL: 'manual'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -2461,607 +2495,615 @@ var ScrollSpy = function ($) {
*/
};
- var ScrollSpy = function () {
- function ScrollSpy(element, config) {
- var _this20 = this;
- _classCallCheck(this, ScrollSpy);
+ var Tooltip =
+ /*#__PURE__*/
+ function () {
+ function Tooltip(element, config) {
+ // private
+ this._isEnabled = true;
+ this._timeout = 0;
+ this._hoverState = '';
+ this._activeTrigger = {};
+ this._popper = null; // protected
- this._element = element;
- this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
- this._targets = [];
- this._activeTarget = null;
- this._scrollHeight = 0;
+ this.element = element;
+ this.config = this._getConfig(config);
+ this.tip = null;
- $(this._scrollElement).on(Event.SCROLL, function (event) {
- return _this20._process(event);
- });
+ this._setListeners();
+ } // getters
- this.refresh();
- this._process();
- }
- // getters
+ var _proto = Tooltip.prototype;
// public
+ _proto.enable = function enable() {
+ this._isEnabled = true;
+ };
- ScrollSpy.prototype.refresh = function refresh() {
- var _this21 = this;
-
- var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
-
- var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ _proto.disable = function disable() {
+ this._isEnabled = false;
+ };
- var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ _proto.toggleEnabled = function toggleEnabled() {
+ this._isEnabled = !this._isEnabled;
+ };
- this._offsets = [];
- this._targets = [];
+ _proto.toggle = function toggle(event) {
+ if (!this._isEnabled) {
+ return;
+ }
- this._scrollHeight = this._getScrollHeight();
+ if (event) {
+ var dataKey = this.constructor.DATA_KEY;
+ var context = $(event.currentTarget).data(dataKey);
- var targets = $.makeArray($(this._selector));
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- targets.map(function (element) {
- var target = void 0;
- var targetSelector = Util.getSelectorFromElement(element);
+ context._activeTrigger.click = !context._activeTrigger.click;
- if (targetSelector) {
- target = $(targetSelector)[0];
+ if (context._isWithActiveTrigger()) {
+ context._enter(null, context);
+ } else {
+ context._leave(null, context);
}
+ } else {
+ if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
+ this._leave(null, this);
- if (target) {
- var targetBCR = target.getBoundingClientRect();
- if (targetBCR.width || targetBCR.height) {
- // todo (fat): remove sketch reliance on jQuery position/offset
- return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
- }
+ return;
}
- return null;
- }).filter(function (item) {
- return item;
- }).sort(function (a, b) {
- return a[0] - b[0];
- }).forEach(function (item) {
- _this21._offsets.push(item[0]);
- _this21._targets.push(item[1]);
- });
- };
-
- ScrollSpy.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- $(this._scrollElement).off(EVENT_KEY);
- this._element = null;
- this._scrollElement = null;
- this._config = null;
- this._selector = null;
- this._offsets = null;
- this._targets = null;
- this._activeTarget = null;
- this._scrollHeight = null;
+ this._enter(null, this);
+ }
};
- // private
-
- ScrollSpy.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, Default, config);
+ _proto.dispose = function dispose() {
+ clearTimeout(this._timeout);
+ $.removeData(this.element, this.constructor.DATA_KEY);
+ $(this.element).off(this.constructor.EVENT_KEY);
+ $(this.element).closest('.modal').off('hide.bs.modal');
- if (typeof config.target !== 'string') {
- var id = $(config.target).attr('id');
- if (!id) {
- id = Util.getUID(NAME);
- $(config.target).attr('id', id);
- }
- config.target = '#' + id;
+ if (this.tip) {
+ $(this.tip).remove();
}
- Util.typeCheckConfig(NAME, config, DefaultType);
+ this._isEnabled = null;
+ this._timeout = null;
+ this._hoverState = null;
+ this._activeTrigger = null;
- return config;
- };
+ if (this._popper !== null) {
+ this._popper.destroy();
+ }
- ScrollSpy.prototype._getScrollTop = function _getScrollTop() {
- return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ this._popper = null;
+ this.element = null;
+ this.config = null;
+ this.tip = null;
};
- ScrollSpy.prototype._getScrollHeight = function _getScrollHeight() {
- return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
- };
+ _proto.show = function show() {
+ var _this = this;
- ScrollSpy.prototype._getOffsetHeight = function _getOffsetHeight() {
- return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
- };
+ if ($(this.element).css('display') === 'none') {
+ throw new Error('Please use show on visible elements');
+ }
- ScrollSpy.prototype._process = function _process() {
- var scrollTop = this._getScrollTop() + this._config.offset;
- var scrollHeight = this._getScrollHeight();
- var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
+ var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this._scrollHeight !== scrollHeight) {
- this.refresh();
- }
+ if (this.isWithContent() && this._isEnabled) {
+ $(this.element).trigger(showEvent);
+ var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
- if (scrollTop >= maxScroll) {
- var target = this._targets[this._targets.length - 1];
+ if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ return;
+ }
- if (this._activeTarget !== target) {
- this._activate(target);
+ var tip = this.getTipElement();
+ var tipId = Util.getUID(this.constructor.NAME);
+ tip.setAttribute('id', tipId);
+ this.element.setAttribute('aria-describedby', tipId);
+ this.setContent();
+
+ if (this.config.animation) {
+ $(tip).addClass(ClassName.FADE);
}
- return;
- }
- if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
- this._activeTarget = null;
- this._clear();
- return;
- }
+ var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
- for (var i = this._offsets.length; i--;) {
- var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (this._offsets[i + 1] === undefined || scrollTop < this._offsets[i + 1]);
+ var attachment = this._getAttachment(placement);
- if (isActiveTarget) {
- this._activate(this._targets[i]);
+ this.addAttachmentClass(attachment);
+ var container = this.config.container === false ? document.body : $(this.config.container);
+ $(tip).data(this.constructor.DATA_KEY, this);
+
+ if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
+ $(tip).appendTo(container);
}
- }
- };
- ScrollSpy.prototype._activate = function _activate(target) {
- this._activeTarget = target;
+ $(this.element).trigger(this.constructor.Event.INSERTED);
+ this._popper = new Popper(this.element, tip, {
+ placement: attachment,
+ modifiers: {
+ offset: {
+ offset: this.config.offset
+ },
+ flip: {
+ behavior: this.config.fallbackPlacement
+ },
+ arrow: {
+ element: Selector.ARROW
+ }
+ },
+ onCreate: function onCreate(data) {
+ if (data.originalPlacement !== data.placement) {
+ _this._handlePopperPlacementChange(data);
+ }
+ },
+ onUpdate: function onUpdate(data) {
+ _this._handlePopperPlacementChange(data);
+ }
+ });
+ $(tip).addClass(ClassName.SHOW); // if this is a touch-enabled device we add extra
+ // empty mouseover listeners to the body's immediate children;
+ // only needed because of broken event delegation on iOS
+ // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- this._clear();
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().on('mouseover', null, $.noop);
+ }
- var queries = this._selector.split(',');
- queries = queries.map(function (selector) {
- return selector + '[data-target="' + target + '"],' + (selector + '[href="' + target + '"]');
- });
+ var complete = function complete() {
+ if (_this.config.animation) {
+ _this._fixTransition();
+ }
- var $link = $(queries.join(','));
+ var prevHoverState = _this._hoverState;
+ _this._hoverState = null;
+ $(_this.element).trigger(_this.constructor.Event.SHOWN);
- if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
- $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- $link.addClass(ClassName.ACTIVE);
- } else {
- // Set triggered link as active
- $link.addClass(ClassName.ACTIVE);
- // Set triggered links parents as active
- // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE);
- }
+ if (prevHoverState === HoverState.OUT) {
+ _this._leave(null, _this);
+ }
+ };
- $(this._scrollElement).trigger(Event.ACTIVATE, {
- relatedTarget: target
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+ }
};
- ScrollSpy.prototype._clear = function _clear() {
- $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
- };
+ _proto.hide = function hide(callback) {
+ var _this2 = this;
- // static
+ var tip = this.getTipElement();
+ var hideEvent = $.Event(this.constructor.Event.HIDE);
- ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
+ var complete = function complete() {
+ if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) {
+ tip.parentNode.removeChild(tip);
+ }
- if (!data) {
- data = new ScrollSpy(this, _config);
- $(this).data(DATA_KEY, data);
+ _this2._cleanTipClass();
+
+ _this2.element.removeAttribute('aria-describedby');
+
+ $(_this2.element).trigger(_this2.constructor.Event.HIDDEN);
+
+ if (_this2._popper !== null) {
+ _this2._popper.destroy();
}
- if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
- }
- data[config]();
+ if (callback) {
+ callback();
}
- });
- };
+ };
- _createClass(ScrollSpy, null, [{
- key: 'VERSION',
- get: function get() {
- return VERSION;
- }
- }, {
- key: 'Default',
- get: function get() {
- return Default;
+ $(this.element).trigger(hideEvent);
+
+ if (hideEvent.isDefaultPrevented()) {
+ return;
}
- }]);
- return ScrollSpy;
- }();
+ $(tip).removeClass(ClassName.SHOW); // if this is a touch-enabled device we remove the extra
+ // empty mouseover listeners we added for iOS support
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().off('mouseover', null, $.noop);
+ }
- $(window).on(Event.LOAD_DATA_API, function () {
- var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+ this._activeTrigger[Trigger.CLICK] = false;
+ this._activeTrigger[Trigger.FOCUS] = false;
+ this._activeTrigger[Trigger.HOVER] = false;
- for (var i = scrollSpys.length; i--;) {
- var $spy = $(scrollSpys[i]);
- ScrollSpy._jQueryInterface.call($spy, $spy.data());
- }
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
- */
+ this._hoverState = '';
+ };
- $.fn[NAME] = ScrollSpy._jQueryInterface;
- $.fn[NAME].Constructor = ScrollSpy;
- $.fn[NAME].noConflict = function () {
- $.fn[NAME] = JQUERY_NO_CONFLICT;
- return ScrollSpy._jQueryInterface;
- };
+ _proto.update = function update() {
+ if (this._popper !== null) {
+ this._popper.scheduleUpdate();
+ }
+ }; // protected
- return ScrollSpy;
-}(jQuery);
-/**
- * --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tab.js
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * --------------------------------------------------------------------------
- */
+ _proto.isWithContent = function isWithContent() {
+ return Boolean(this.getTitle());
+ };
-var Tab = function ($) {
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
+ };
- /**
- * ------------------------------------------------------------------------
- * Constants
- * ------------------------------------------------------------------------
- */
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
+ };
- var NAME = 'tab';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tab';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement());
+ this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ };
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
- };
+ _proto.setElementContent = function setElementContent($element, content) {
+ var html = this.config.html;
- var ClassName = {
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active',
- DISABLED: 'disabled',
- FADE: 'fade',
- SHOW: 'show'
- };
+ if (typeof content === 'object' && (content.nodeType || content.jquery)) {
+ // content is a DOM node or a jQuery
+ if (html) {
+ if (!$(content).parent().is($element)) {
+ $element.empty().append(content);
+ }
+ } else {
+ $element.text($(content).text());
+ }
+ } else {
+ $element[html ? 'html' : 'text'](content);
+ }
+ };
- var Selector = {
- DROPDOWN: '.dropdown',
- NAV_LIST_GROUP: '.nav, .list-group',
- ACTIVE: '.active',
- DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
- DROPDOWN_TOGGLE: '.dropdown-toggle',
- DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
+ _proto.getTitle = function getTitle() {
+ var title = this.element.getAttribute('data-original-title');
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
+ if (!title) {
+ title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
+ }
- };
- var Tab = function () {
- function Tab(element) {
- _classCallCheck(this, Tab);
+ return title;
+ }; // private
- this._element = element;
- }
- // getters
+ _proto._getAttachment = function _getAttachment(placement) {
+ return AttachmentMap[placement.toUpperCase()];
+ };
- // public
+ _proto._setListeners = function _setListeners() {
+ var _this3 = this;
+
+ var triggers = this.config.trigger.split(' ');
+ triggers.forEach(function (trigger) {
+ if (trigger === 'click') {
+ $(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) {
+ return _this3.toggle(event);
+ });
+ } else if (trigger !== Trigger.MANUAL) {
+ var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN;
+ var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT;
+ $(_this3.element).on(eventIn, _this3.config.selector, function (event) {
+ return _this3._enter(event);
+ }).on(eventOut, _this3.config.selector, function (event) {
+ return _this3._leave(event);
+ });
+ }
- Tab.prototype.show = function show() {
- var _this22 = this;
+ $(_this3.element).closest('.modal').on('hide.bs.modal', function () {
+ return _this3.hide();
+ });
+ });
- if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
- return;
+ if (this.config.selector) {
+ this.config = $.extend({}, this.config, {
+ trigger: 'manual',
+ selector: ''
+ });
+ } else {
+ this._fixTitle();
}
+ };
- var target = void 0;
- var previous = void 0;
- var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
- var selector = Util.getSelectorFromElement(this._element);
+ _proto._fixTitle = function _fixTitle() {
+ var titleType = typeof this.element.getAttribute('data-original-title');
- if (listElement) {
- previous = $.makeArray($(listElement).find(Selector.ACTIVE));
- previous = previous[previous.length - 1];
+ if (this.element.getAttribute('title') || titleType !== 'string') {
+ this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
+ this.element.setAttribute('title', '');
}
+ };
- var hideEvent = $.Event(Event.HIDE, {
- relatedTarget: this._element
- });
-
- var showEvent = $.Event(Event.SHOW, {
- relatedTarget: previous
- });
+ _proto._enter = function _enter(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- if (previous) {
- $(previous).trigger(hideEvent);
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
}
- $(this._element).trigger(showEvent);
+ if (event) {
+ context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
+ }
- if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
+ context._hoverState = HoverState.SHOW;
return;
}
- if (selector) {
- target = $(selector)[0];
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.SHOW;
+
+ if (!context.config.delay || !context.config.delay.show) {
+ context.show();
+ return;
}
- this._activate(this._element, listElement);
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.SHOW) {
+ context.show();
+ }
+ }, context.config.delay.show);
+ };
- var complete = function complete() {
- var hiddenEvent = $.Event(Event.HIDDEN, {
- relatedTarget: _this22._element
- });
+ _proto._leave = function _leave(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- var shownEvent = $.Event(Event.SHOWN, {
- relatedTarget: previous
- });
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- $(previous).trigger(hiddenEvent);
- $(_this22._element).trigger(shownEvent);
- };
+ if (event) {
+ context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
+ }
- if (target) {
- this._activate(target, target.parentNode, complete);
- } else {
- complete();
+ if (context._isWithActiveTrigger()) {
+ return;
}
- };
- Tab.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- this._element = null;
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.OUT;
+
+ if (!context.config.delay || !context.config.delay.hide) {
+ context.hide();
+ return;
+ }
+
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.OUT) {
+ context.hide();
+ }
+ }, context.config.delay.hide);
};
- // private
+ _proto._isWithActiveTrigger = function _isWithActiveTrigger() {
+ for (var trigger in this._activeTrigger) {
+ if (this._activeTrigger[trigger]) {
+ return true;
+ }
+ }
- Tab.prototype._activate = function _activate(element, container, callback) {
- var _this23 = this;
+ return false;
+ };
- var active = $(container).find(Selector.ACTIVE)[0];
- var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
- var complete = function complete() {
- return _this23._transitionComplete(element, active, isTransitioning, callback);
- };
+ if (typeof config.delay === 'number') {
+ config.delay = {
+ show: config.delay,
+ hide: config.delay
+ };
+ }
- if (active && isTransitioning) {
- $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
+ if (typeof config.title === 'number') {
+ config.title = config.title.toString();
}
- if (active) {
- $(active).removeClass(ClassName.SHOW);
+ if (typeof config.content === 'number') {
+ config.content = config.content.toString();
}
- };
- Tab.prototype._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
- if (active) {
- $(active).removeClass(ClassName.ACTIVE);
+ Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ return config;
+ };
- var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
+ _proto._getDelegateConfig = function _getDelegateConfig() {
+ var config = {};
- if (dropdownChild) {
- $(dropdownChild).removeClass(ClassName.ACTIVE);
+ if (this.config) {
+ for (var key in this.config) {
+ if (this.constructor.Default[key] !== this.config[key]) {
+ config[key] = this.config[key];
+ }
}
-
- active.setAttribute('aria-expanded', false);
}
- $(element).addClass(ClassName.ACTIVE);
- element.setAttribute('aria-expanded', true);
+ return config;
+ };
- if (isTransitioning) {
- Util.reflow(element);
- $(element).addClass(ClassName.SHOW);
- } else {
- $(element).removeClass(ClassName.FADE);
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
+
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
+ };
- if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
+ this._cleanTipClass();
- var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
- if (dropdownElement) {
- $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- }
+ this.addAttachmentClass(this._getAttachment(data.placement));
+ };
- element.setAttribute('aria-expanded', true);
- }
+ _proto._fixTransition = function _fixTransition() {
+ var tip = this.getTipElement();
+ var initConfigAnimation = this.config.animation;
- if (callback) {
- callback();
+ if (tip.getAttribute('x-placement') !== null) {
+ return;
}
- };
- // static
+ $(tip).removeClass(ClassName.FADE);
+ this.config.animation = false;
+ this.hide();
+ this.show();
+ this.config.animation = initConfigAnimation;
+ }; // static
+
- Tab._jQueryInterface = function _jQueryInterface(config) {
+ Tooltip._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
- var $this = $(this);
- var data = $this.data(DATA_KEY);
+ var data = $(this).data(DATA_KEY);
+
+ var _config = typeof config === 'object' && config;
+
+ if (!data && /dispose|hide/.test(config)) {
+ return;
+ }
if (!data) {
- data = new Tab(this);
- $this.data(DATA_KEY, data);
+ data = new Tooltip(this, _config);
+ $(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tab, null, [{
- key: 'VERSION',
+ createClass(Tooltip, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }]);
-
- return Tab;
- }();
-
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
-
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- event.preventDefault();
- Tab._jQueryInterface.call($(this), 'show');
- });
-
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Tooltip;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tab._jQueryInterface;
- $.fn[NAME].Constructor = Tab;
+
+ $.fn[NAME] = Tooltip._jQueryInterface;
+ $.fn[NAME].Constructor = Tooltip;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tab._jQueryInterface;
+ return Tooltip._jQueryInterface;
};
- return Tab;
-}(jQuery);
-
-/* global Popper */
+ return Tooltip;
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tooltip.js
+ * Bootstrap (v4.0.0-beta.2): popover.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Tooltip = function ($) {
-
- /**
- * Check for Popper dependency
- * Popper - https://popper.js.org
- */
- if (typeof Popper === 'undefined') {
- throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
- }
-
+var Popover = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'tooltip';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tooltip';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'popover';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.popover';
+ var EVENT_KEY = "." + DATA_KEY;
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
- var CLASS_PREFIX = 'bs-tooltip';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var DefaultType = {
- animation: 'boolean',
- template: 'string',
- title: '(string|element|function)',
- trigger: 'string',
- delay: '(number|object)',
- html: 'boolean',
- selector: '(string|boolean)',
- placement: '(string|function)',
- offset: '(number|string)',
- container: '(string|element|boolean)',
- fallbackPlacement: '(string|array)'
- };
-
- var AttachmentMap = {
- AUTO: 'auto',
- TOP: 'top',
- RIGHT: 'right',
- BOTTOM: 'bottom',
- LEFT: 'left'
- };
-
- var Default = {
- animation: true,
- template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
- trigger: 'hover focus',
- title: '',
- delay: 0,
- html: false,
- selector: false,
- placement: 'top',
- offset: 0,
- container: false,
- fallbackPlacement: 'flip'
- };
-
- var HoverState = {
- SHOW: 'show',
- OUT: 'out'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
- };
-
+ var CLASS_PREFIX = 'bs-popover';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var Default = $.extend({}, Tooltip.Default, {
+ placement: 'right',
+ trigger: 'click',
+ content: '',
+ template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
+ });
+ var DefaultType = $.extend({}, Tooltip.DefaultType, {
+ content: '(string|element|function)'
+ });
var ClassName = {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TOOLTIP: '.tooltip',
- TOOLTIP_INNER: '.tooltip-inner',
- ARROW: '.arrow'
+ TITLE: '.popover-header',
+ CONTENT: '.popover-body'
};
-
- var Trigger = {
- HOVER: 'hover',
- FOCUS: 'focus',
- CLICK: 'click',
- MANUAL: 'manual'
-
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3069,625 +3111,490 @@ var Tooltip = function ($) {
*/
};
- var Tooltip = function () {
- function Tooltip(element, config) {
- _classCallCheck(this, Tooltip);
- // private
- this._isEnabled = true;
- this._timeout = 0;
- this._hoverState = '';
- this._activeTrigger = {};
- this._popper = null;
+ var Popover =
+ /*#__PURE__*/
+ function (_Tooltip) {
+ inheritsLoose(Popover, _Tooltip);
- // protected
- this.element = element;
- this.config = this._getConfig(config);
- this.tip = null;
-
- this._setListeners();
+ function Popover() {
+ return _Tooltip.apply(this, arguments) || this;
}
- // getters
-
- // public
+ var _proto = Popover.prototype;
- Tooltip.prototype.enable = function enable() {
- this._isEnabled = true;
+ // overrides
+ _proto.isWithContent = function isWithContent() {
+ return this.getTitle() || this._getContent();
};
- Tooltip.prototype.disable = function disable() {
- this._isEnabled = false;
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
};
- Tooltip.prototype.toggleEnabled = function toggleEnabled() {
- this._isEnabled = !this._isEnabled;
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
};
- Tooltip.prototype.toggle = function toggle(event) {
- if (event) {
- var dataKey = this.constructor.DATA_KEY;
- var context = $(event.currentTarget).data(dataKey);
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement()); // we use append for html objects to maintain js events
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
-
- context._activeTrigger.click = !context._activeTrigger.click;
-
- if (context._isWithActiveTrigger()) {
- context._enter(null, context);
- } else {
- context._leave(null, context);
- }
- } else {
+ this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
+ this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ }; // private
- if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
- this._leave(null, this);
- return;
- }
- this._enter(null, this);
- }
+ _proto._getContent = function _getContent() {
+ return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
};
- Tooltip.prototype.dispose = function dispose() {
- clearTimeout(this._timeout);
-
- $.removeData(this.element, this.constructor.DATA_KEY);
-
- $(this.element).off(this.constructor.EVENT_KEY);
- $(this.element).closest('.modal').off('hide.bs.modal');
-
- if (this.tip) {
- $(this.tip).remove();
- }
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- this._isEnabled = null;
- this._timeout = null;
- this._hoverState = null;
- this._activeTrigger = null;
- if (this._popper !== null) {
- this._popper.destroy();
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
- this._popper = null;
-
- this.element = null;
- this.config = null;
- this.tip = null;
- };
+ }; // static
- Tooltip.prototype.show = function show() {
- var _this24 = this;
- if ($(this.element).css('display') === 'none') {
- throw new Error('Please use show on visible elements');
- }
-
- var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this.isWithContent() && this._isEnabled) {
- $(this.element).trigger(showEvent);
+ Popover._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var data = $(this).data(DATA_KEY);
- var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
+ var _config = typeof config === 'object' ? config : null;
- if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ if (!data && /destroy|hide/.test(config)) {
return;
}
- var tip = this.getTipElement();
- var tipId = Util.getUID(this.constructor.NAME);
-
- tip.setAttribute('id', tipId);
- this.element.setAttribute('aria-describedby', tipId);
-
- this.setContent();
-
- if (this.config.animation) {
- $(tip).addClass(ClassName.FADE);
- }
-
- var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
-
- var attachment = this._getAttachment(placement);
- this.addAttachmentClass(attachment);
-
- var container = this.config.container === false ? document.body : $(this.config.container);
-
- $(tip).data(this.constructor.DATA_KEY, this);
-
- if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
- $(tip).appendTo(container);
- }
-
- $(this.element).trigger(this.constructor.Event.INSERTED);
-
- this._popper = new Popper(this.element, tip, {
- placement: attachment,
- modifiers: {
- offset: {
- offset: this.config.offset
- },
- flip: {
- behavior: this.config.fallbackPlacement
- },
- arrow: {
- element: Selector.ARROW
- }
- },
- onCreate: function onCreate(data) {
- if (data.originalPlacement !== data.placement) {
- _this24._handlePopperPlacementChange(data);
- }
- },
- onUpdate: function onUpdate(data) {
- _this24._handlePopperPlacementChange(data);
- }
- });
-
- $(tip).addClass(ClassName.SHOW);
-
- // if this is a touch-enabled device we add extra
- // empty mouseover listeners to the body's immediate children;
- // only needed because of broken event delegation on iOS
- // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- if ('ontouchstart' in document.documentElement) {
- $('body').children().on('mouseover', null, $.noop);
+ if (!data) {
+ data = new Popover(this, _config);
+ $(this).data(DATA_KEY, data);
}
- var complete = function complete() {
- if (_this24.config.animation) {
- _this24._fixTransition();
- }
- var prevHoverState = _this24._hoverState;
- _this24._hoverState = null;
-
- $(_this24.element).trigger(_this24.constructor.Event.SHOWN);
-
- if (prevHoverState === HoverState.OUT) {
- _this24._leave(null, _this24);
+ if (typeof config === 'string') {
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
- };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
- $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
- } else {
- complete();
+ data[config]();
}
- }
+ });
};
- Tooltip.prototype.hide = function hide(callback) {
- var _this25 = this;
-
- var tip = this.getTipElement();
- var hideEvent = $.Event(this.constructor.Event.HIDE);
- var complete = function complete() {
- if (_this25._hoverState !== HoverState.SHOW && tip.parentNode) {
- tip.parentNode.removeChild(tip);
- }
+ createClass(Popover, null, [{
+ key: "VERSION",
+ // getters
+ get: function get() {
+ return VERSION;
+ }
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Popover;
+ }(Tooltip);
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
+ */
- _this25._cleanTipClass();
- _this25.element.removeAttribute('aria-describedby');
- $(_this25.element).trigger(_this25.constructor.Event.HIDDEN);
- if (_this25._popper !== null) {
- _this25._popper.destroy();
- }
- if (callback) {
- callback();
- }
- };
+ $.fn[NAME] = Popover._jQueryInterface;
+ $.fn[NAME].Constructor = Popover;
- $(this.element).trigger(hideEvent);
+ $.fn[NAME].noConflict = function () {
+ $.fn[NAME] = JQUERY_NO_CONFLICT;
+ return Popover._jQueryInterface;
+ };
- if (hideEvent.isDefaultPrevented()) {
- return;
- }
+ return Popover;
+}($);
- $(tip).removeClass(ClassName.SHOW);
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-beta.2): scrollspy.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
- // if this is a touch-enabled device we remove the extra
- // empty mouseover listeners we added for iOS support
- if ('ontouchstart' in document.documentElement) {
- $('body').children().off('mouseover', null, $.noop);
- }
+var ScrollSpy = function () {
+ /**
+ * ------------------------------------------------------------------------
+ * Constants
+ * ------------------------------------------------------------------------
+ */
+ var NAME = 'scrollspy';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.scrollspy';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var Default = {
+ offset: 10,
+ method: 'auto',
+ target: ''
+ };
+ var DefaultType = {
+ offset: 'number',
+ method: 'string',
+ target: '(string|element)'
+ };
+ var Event = {
+ ACTIVATE: "activate" + EVENT_KEY,
+ SCROLL: "scroll" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY
+ };
+ var ClassName = {
+ DROPDOWN_ITEM: 'dropdown-item',
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active'
+ };
+ var Selector = {
+ DATA_SPY: '[data-spy="scroll"]',
+ ACTIVE: '.active',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ NAV_LINKS: '.nav-link',
+ NAV_ITEMS: '.nav-item',
+ LIST_ITEMS: '.list-group-item',
+ DROPDOWN: '.dropdown',
+ DROPDOWN_ITEMS: '.dropdown-item',
+ DROPDOWN_TOGGLE: '.dropdown-toggle'
+ };
+ var OffsetMethod = {
+ OFFSET: 'offset',
+ POSITION: 'position'
+ /**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
- this._activeTrigger[Trigger.CLICK] = false;
- this._activeTrigger[Trigger.FOCUS] = false;
- this._activeTrigger[Trigger.HOVER] = false;
+ };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ var ScrollSpy =
+ /*#__PURE__*/
+ function () {
+ function ScrollSpy(element, config) {
+ var _this = this;
- $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
- }
+ this._element = element;
+ this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
+ this._targets = [];
+ this._activeTarget = null;
+ this._scrollHeight = 0;
+ $(this._scrollElement).on(Event.SCROLL, function (event) {
+ return _this._process(event);
+ });
+ this.refresh();
- this._hoverState = '';
- };
+ this._process();
+ } // getters
- Tooltip.prototype.update = function update() {
- if (this._popper !== null) {
- this._popper.scheduleUpdate();
- }
- };
- // protected
+ var _proto = ScrollSpy.prototype;
- Tooltip.prototype.isWithContent = function isWithContent() {
- return Boolean(this.getTitle());
- };
+ // public
+ _proto.refresh = function refresh() {
+ var _this2 = this;
- Tooltip.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
+ var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ this._offsets = [];
+ this._targets = [];
+ this._scrollHeight = this._getScrollHeight();
+ var targets = $.makeArray($(this._selector));
+ targets.map(function (element) {
+ var target;
+ var targetSelector = Util.getSelectorFromElement(element);
- Tooltip.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ if (targetSelector) {
+ target = $(targetSelector)[0];
+ }
- Tooltip.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
- this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (target) {
+ var targetBCR = target.getBoundingClientRect();
- Tooltip.prototype.setElementContent = function setElementContent($element, content) {
- var html = this.config.html;
- if ((typeof content === 'undefined' ? 'undefined' : _typeof(content)) === 'object' && (content.nodeType || content.jquery)) {
- // content is a DOM node or a jQuery
- if (html) {
- if (!$(content).parent().is($element)) {
- $element.empty().append(content);
+ if (targetBCR.width || targetBCR.height) {
+ // todo (fat): remove sketch reliance on jQuery position/offset
+ return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
}
- } else {
- $element.text($(content).text());
}
- } else {
- $element[html ? 'html' : 'text'](content);
- }
- };
-
- Tooltip.prototype.getTitle = function getTitle() {
- var title = this.element.getAttribute('data-original-title');
- if (!title) {
- title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
- }
+ return null;
+ }).filter(function (item) {
+ return item;
+ }).sort(function (a, b) {
+ return a[0] - b[0];
+ }).forEach(function (item) {
+ _this2._offsets.push(item[0]);
- return title;
+ _this2._targets.push(item[1]);
+ });
};
- // private
-
- Tooltip.prototype._getAttachment = function _getAttachment(placement) {
- return AttachmentMap[placement.toUpperCase()];
- };
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ $(this._scrollElement).off(EVENT_KEY);
+ this._element = null;
+ this._scrollElement = null;
+ this._config = null;
+ this._selector = null;
+ this._offsets = null;
+ this._targets = null;
+ this._activeTarget = null;
+ this._scrollHeight = null;
+ }; // private
- Tooltip.prototype._setListeners = function _setListeners() {
- var _this26 = this;
- var triggers = this.config.trigger.split(' ');
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, Default, config);
- triggers.forEach(function (trigger) {
- if (trigger === 'click') {
- $(_this26.element).on(_this26.constructor.Event.CLICK, _this26.config.selector, function (event) {
- return _this26.toggle(event);
- });
- } else if (trigger !== Trigger.MANUAL) {
- var eventIn = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSEENTER : _this26.constructor.Event.FOCUSIN;
- var eventOut = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSELEAVE : _this26.constructor.Event.FOCUSOUT;
+ if (typeof config.target !== 'string') {
+ var id = $(config.target).attr('id');
- $(_this26.element).on(eventIn, _this26.config.selector, function (event) {
- return _this26._enter(event);
- }).on(eventOut, _this26.config.selector, function (event) {
- return _this26._leave(event);
- });
+ if (!id) {
+ id = Util.getUID(NAME);
+ $(config.target).attr('id', id);
}
- $(_this26.element).closest('.modal').on('hide.bs.modal', function () {
- return _this26.hide();
- });
- });
-
- if (this.config.selector) {
- this.config = $.extend({}, this.config, {
- trigger: 'manual',
- selector: ''
- });
- } else {
- this._fixTitle();
+ config.target = "#" + id;
}
- };
- Tooltip.prototype._fixTitle = function _fixTitle() {
- var titleType = _typeof(this.element.getAttribute('data-original-title'));
- if (this.element.getAttribute('title') || titleType !== 'string') {
- this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
- this.element.setAttribute('title', '');
- }
+ Util.typeCheckConfig(NAME, config, DefaultType);
+ return config;
};
- Tooltip.prototype._enter = function _enter(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
+ _proto._getScrollTop = function _getScrollTop() {
+ return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ };
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ _proto._getScrollHeight = function _getScrollHeight() {
+ return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
+ };
- if (event) {
- context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
- }
+ _proto._getOffsetHeight = function _getOffsetHeight() {
+ return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
+ };
- if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
- context._hoverState = HoverState.SHOW;
- return;
- }
+ _proto._process = function _process() {
+ var scrollTop = this._getScrollTop() + this._config.offset;
- clearTimeout(context._timeout);
+ var scrollHeight = this._getScrollHeight();
- context._hoverState = HoverState.SHOW;
+ var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
- if (!context.config.delay || !context.config.delay.show) {
- context.show();
- return;
+ if (this._scrollHeight !== scrollHeight) {
+ this.refresh();
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.SHOW) {
- context.show();
- }
- }, context.config.delay.show);
- };
-
- Tooltip.prototype._leave = function _leave(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
-
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ if (scrollTop >= maxScroll) {
+ var target = this._targets[this._targets.length - 1];
- if (event) {
- context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
- }
+ if (this._activeTarget !== target) {
+ this._activate(target);
+ }
- if (context._isWithActiveTrigger()) {
return;
}
- clearTimeout(context._timeout);
+ if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
+ this._activeTarget = null;
- context._hoverState = HoverState.OUT;
+ this._clear();
- if (!context.config.delay || !context.config.delay.hide) {
- context.hide();
return;
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.OUT) {
- context.hide();
- }
- }, context.config.delay.hide);
- };
+ for (var i = this._offsets.length; i--;) {
+ var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]);
- Tooltip.prototype._isWithActiveTrigger = function _isWithActiveTrigger() {
- for (var trigger in this._activeTrigger) {
- if (this._activeTrigger[trigger]) {
- return true;
+ if (isActiveTarget) {
+ this._activate(this._targets[i]);
}
}
-
- return false;
};
- Tooltip.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
-
- if (config.delay && typeof config.delay === 'number') {
- config.delay = {
- show: config.delay,
- hide: config.delay
- };
- }
-
- if (config.title && typeof config.title === 'number') {
- config.title = config.title.toString();
- }
+ _proto._activate = function _activate(target) {
+ this._activeTarget = target;
- if (config.content && typeof config.content === 'number') {
- config.content = config.content.toString();
- }
+ this._clear();
- Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ var queries = this._selector.split(','); // eslint-disable-next-line arrow-body-style
- return config;
- };
- Tooltip.prototype._getDelegateConfig = function _getDelegateConfig() {
- var config = {};
+ queries = queries.map(function (selector) {
+ return selector + "[data-target=\"" + target + "\"]," + (selector + "[href=\"" + target + "\"]");
+ });
+ var $link = $(queries.join(','));
- if (this.config) {
- for (var key in this.config) {
- if (this.constructor.Default[key] !== this.config[key]) {
- config[key] = this.config[key];
- }
- }
- }
+ if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
+ $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
+ $link.addClass(ClassName.ACTIVE);
+ } else {
+ // Set triggered link as active
+ $link.addClass(ClassName.ACTIVE); // Set triggered links parents as active
+ // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- return config;
- };
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ", " + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); // Handle special case when .nav-link is inside .nav-item
- Tooltip.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_ITEMS).children(Selector.NAV_LINKS).addClass(ClassName.ACTIVE);
}
- };
- Tooltip.prototype._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
- this._cleanTipClass();
- this.addAttachmentClass(this._getAttachment(data.placement));
+ $(this._scrollElement).trigger(Event.ACTIVATE, {
+ relatedTarget: target
+ });
};
- Tooltip.prototype._fixTransition = function _fixTransition() {
- var tip = this.getTipElement();
- var initConfigAnimation = this.config.animation;
- if (tip.getAttribute('x-placement') !== null) {
- return;
- }
- $(tip).removeClass(ClassName.FADE);
- this.config.animation = false;
- this.hide();
- this.show();
- this.config.animation = initConfigAnimation;
- };
+ _proto._clear = function _clear() {
+ $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
+ }; // static
- // static
- Tooltip._jQueryInterface = function _jQueryInterface(config) {
+ ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
- if (!data && /dispose|hide/.test(config)) {
- return;
- }
+ var _config = typeof config === 'object' && config;
if (!data) {
- data = new Tooltip(this, _config);
+ data = new ScrollSpy(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tooltip, null, [{
- key: 'VERSION',
+ createClass(ScrollSpy, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
-
- return Tooltip;
+ return ScrollSpy;
}();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
+
+
+ $(window).on(Event.LOAD_DATA_API, function () {
+ var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+
+ for (var i = scrollSpys.length; i--;) {
+ var $spy = $(scrollSpys[i]);
+ ScrollSpy._jQueryInterface.call($spy, $spy.data());
+ }
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tooltip._jQueryInterface;
- $.fn[NAME].Constructor = Tooltip;
+ $.fn[NAME] = ScrollSpy._jQueryInterface;
+ $.fn[NAME].Constructor = ScrollSpy;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tooltip._jQueryInterface;
+ return ScrollSpy._jQueryInterface;
};
- return Tooltip;
-}(jQuery);
+ return ScrollSpy;
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): popover.js
+ * Bootstrap (v4.0.0-beta.2): tab.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Popover = function ($) {
-
+var Tab = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'popover';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.popover';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'tab';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tab';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var CLASS_PREFIX = 'bs-popover';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var Default = $.extend({}, Tooltip.Default, {
- placement: 'right',
- trigger: 'click',
- content: '',
- template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
- });
-
- var DefaultType = $.extend({}, Tooltip.DefaultType, {
- content: '(string|element|function)'
- });
-
+ var TRANSITION_DURATION = 150;
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
+ };
var ClassName = {
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active',
+ DISABLED: 'disabled',
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TITLE: '.popover-header',
- CONTENT: '.popover-body'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
-
+ DROPDOWN: '.dropdown',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ ACTIVE: '.active',
+ ACTIVE_UL: '> li > .active',
+ DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
+ DROPDOWN_TOGGLE: '.dropdown-toggle',
+ DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3695,137 +3602,249 @@ var Popover = function ($) {
*/
};
- var Popover = function (_Tooltip) {
- _inherits(Popover, _Tooltip);
- function Popover() {
- _classCallCheck(this, Popover);
+ var Tab =
+ /*#__PURE__*/
+ function () {
+ function Tab(element) {
+ this._element = element;
+ } // getters
- return _possibleConstructorReturn(this, _Tooltip.apply(this, arguments));
- }
- // overrides
+ var _proto = Tab.prototype;
- Popover.prototype.isWithContent = function isWithContent() {
- return this.getTitle() || this._getContent();
- };
+ // public
+ _proto.show = function show() {
+ var _this = this;
- Popover.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
+ return;
+ }
- Popover.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ var target;
+ var previous;
+ var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
+ var selector = Util.getSelectorFromElement(this._element);
- Popover.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
+ if (listElement) {
+ var itemSelector = listElement.nodeName === 'UL' ? Selector.ACTIVE_UL : Selector.ACTIVE;
+ previous = $.makeArray($(listElement).find(itemSelector));
+ previous = previous[previous.length - 1];
+ }
- // we use append for html objects to maintain js events
- this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
- this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ var hideEvent = $.Event(Event.HIDE, {
+ relatedTarget: this._element
+ });
+ var showEvent = $.Event(Event.SHOW, {
+ relatedTarget: previous
+ });
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (previous) {
+ $(previous).trigger(hideEvent);
+ }
- // private
+ $(this._element).trigger(showEvent);
- Popover.prototype._getContent = function _getContent() {
- return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
+ if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ return;
+ }
+
+ if (selector) {
+ target = $(selector)[0];
+ }
+
+ this._activate(this._element, listElement);
+
+ var complete = function complete() {
+ var hiddenEvent = $.Event(Event.HIDDEN, {
+ relatedTarget: _this._element
+ });
+ var shownEvent = $.Event(Event.SHOWN, {
+ relatedTarget: previous
+ });
+ $(previous).trigger(hiddenEvent);
+ $(_this._element).trigger(shownEvent);
+ };
+
+ if (target) {
+ this._activate(target, target.parentNode, complete);
+ } else {
+ complete();
+ }
};
- Popover.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ this._element = null;
+ }; // private
+
+
+ _proto._activate = function _activate(element, container, callback) {
+ var _this2 = this;
+
+ var activeElements;
+
+ if (container.nodeName === 'UL') {
+ activeElements = $(container).find(Selector.ACTIVE_UL);
+ } else {
+ activeElements = $(container).children(Selector.ACTIVE);
+ }
+
+ var active = activeElements[0];
+ var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+
+ var complete = function complete() {
+ return _this2._transitionComplete(element, active, isTransitioning, callback);
+ };
+
+ if (active && isTransitioning) {
+ $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+
+ if (active) {
+ $(active).removeClass(ClassName.SHOW);
}
};
- // static
+ _proto._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
+ if (active) {
+ $(active).removeClass(ClassName.ACTIVE);
+ var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
- Popover._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+ if (dropdownChild) {
+ $(dropdownChild).removeClass(ClassName.ACTIVE);
+ }
- if (!data && /destroy|hide/.test(config)) {
- return;
+ if (active.getAttribute('role') === 'tab') {
+ active.setAttribute('aria-selected', false);
+ }
+ }
+
+ $(element).addClass(ClassName.ACTIVE);
+
+ if (element.getAttribute('role') === 'tab') {
+ element.setAttribute('aria-selected', true);
+ }
+
+ if (isTransitioning) {
+ Util.reflow(element);
+ $(element).addClass(ClassName.SHOW);
+ } else {
+ $(element).removeClass(ClassName.FADE);
+ }
+
+ if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
+
+ if (dropdownElement) {
+ $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
}
+ element.setAttribute('aria-expanded', true);
+ }
+
+ if (callback) {
+ callback();
+ }
+ }; // static
+
+
+ Tab._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var $this = $(this);
+ var data = $this.data(DATA_KEY);
+
if (!data) {
- data = new Popover(this, _config);
- $(this).data(DATA_KEY, data);
+ data = new Tab(this);
+ $this.data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Popover, null, [{
- key: 'VERSION',
-
-
- // getters
-
+ createClass(Tab, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }, {
- key: 'Default',
- get: function get() {
- return Default;
- }
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
+ return Tab;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
- return Popover;
- }(Tooltip);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+ event.preventDefault();
+
+ Tab._jQueryInterface.call($(this), 'show');
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Popover._jQueryInterface;
- $.fn[NAME].Constructor = Popover;
+ $.fn[NAME] = Tab._jQueryInterface;
+ $.fn[NAME].Constructor = Tab;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Popover._jQueryInterface;
+ return Tab._jQueryInterface;
};
- return Popover;
-}(jQuery);
+ return Tab;
+}($);
+
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-alpha.6): index.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
+(function () {
+ if (typeof $ === 'undefined') {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');
+ }
-})();
\ No newline at end of file
+ var version = $.fn.jquery.split(' ')[0].split('.');
+ var minMajor = 1;
+ var ltMajor = 2;
+ var minMinor = 9;
+ var minPatch = 1;
+ var maxMajor = 4;
+
+ 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 v1.9.1 but less than v4.0.0');
+ }
+})($);
+
+exports.Util = Util;
+exports.Alert = Alert;
+exports.Button = Button;
+exports.Carousel = Carousel;
+exports.Collapse = Collapse;
+exports.Dropdown = Dropdown;
+exports.Modal = Modal;
+exports.Popover = Popover;
+exports.Scrollspy = ScrollSpy;
+exports.Tab = Tab;
+exports.Tooltip = Tooltip;
+
+return exports;
+
+}({},$,Popper));
+//# sourceMappingURL=bootstrap.js.map
diff --git a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/js/bootstrap.min.js b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/js/bootstrap.min.js
index e187476..27aace3 100644
--- a/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/js/bootstrap.min.js
+++ b/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/resources/tobago/speyside/tobago-bootstrap/_version/js/bootstrap.min.js
@@ -1,6 +1,7 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(t){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function t(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object [...]
\ No newline at end of file
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap=function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){function t(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(){return{bindType:r.end,delegateType:r.end,handle:function(t){if(e(t.target).is(this) [...]
+//# sourceMappingURL=bootstrap.min.js.map
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-standard/rebuild-theme.log b/tobago-theme/tobago-theme-standard/rebuild-theme.log
index 2927ab9..0f9ff6c 100644
--- a/tobago-theme/tobago-theme-standard/rebuild-theme.log
+++ b/tobago-theme/tobago-theme-standard/rebuild-theme.log
@@ -1,4 +1,4 @@
-Build date: 2017-10-12 18:05:14
+Build date: 2017-10-20 13:40:50
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
@@ -11,20 +11,20 @@ Build date: 2017-10-12 18:05:14
[INFO]
[INFO] --- maven-scm-plugin:1.9.5:checkout (step #1: checkout-bootstrap) @ tobago-theme-standard ---
[INFO] Removing __CURRENT__/tobago-theme-standard/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-standard/target && git clone --branch v4.0.0-beta https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-standard/target/checkout
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-standard/target && git clone --branch v4.0.0-beta.2 https://github.com/twbs/bootstrap __CURRENT__/tobago-theme-standard/target/checkout
[INFO] Working directory: __CURRENT__/tobago-theme-standard/target
[INFO] Executing: /bin/sh -c cd /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/ && git ls-remote https://github.com/twbs/bootstrap
[INFO] Working directory: /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-standard/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta:v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-standard/target/checkout && git pull https://github.com/twbs/bootstrap v4.0.0-beta.2:v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-standard/target/checkout
-[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-standard/target/checkout && git checkout v4.0.0-beta
+[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-standard/target/checkout && git checkout v4.0.0-beta.2
[INFO] Working directory: __CURRENT__/tobago-theme-standard/target/checkout
[INFO] Executing: /bin/sh -c cd __CURRENT__/tobago-theme-standard/target/checkout && git ls-files
[INFO] Working directory: __CURRENT__/tobago-theme-standard/target/checkout
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #2: copy-bootstrap) @ tobago-theme-standard ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
-[INFO] Copying 392 resources
+[INFO] Copying 425 resources
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (step #3: copy-custom) @ tobago-theme-standard ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
@@ -38,30 +38,27 @@ Build date: 2017-10-12 18:05:14
[INFO] Unpacking __REPO__/org/apache/myfaces/tobago/tobago-core/4.0.0-SNAPSHOT/tobago-core-4.0.0-SNAPSHOT.jar to __CURRENT__/tobago-theme-standard/target/bootstrap with includes "**/*.scss" and excludes ""
[INFO]
[INFO] --- frontend-maven-plugin:1.4:install-node-and-npm (step #6: install node and npm) @ tobago-theme-standard ---
-[INFO] Installing node version v6.10.2
-[INFO] Unpacking __REPO__/com/github/eirslett/node/6.10.2/node-6.10.2-darwin-x64.tar.gz into __CURRENT__/tobago-theme-standard/target/frontend/node/tmp
-[INFO] Copying node binary from __CURRENT__/tobago-theme-standard/target/frontend/node/tmp/node-v6.10.2-darwin-x64/bin/node to __CURRENT__/tobago-theme-standard/target/frontend/node/node
+[INFO] Installing node version v7.10.1
+[INFO] Unpacking __REPO__/com/github/eirslett/node/7.10.1/node-7.10.1-darwin-x64.tar.gz into __CURRENT__/tobago-theme-standard/target/frontend/node/tmp
+[INFO] Copying node binary from __CURRENT__/tobago-theme-standard/target/frontend/node/tmp/node-v7.10.1-darwin-x64/bin/node to __CURRENT__/tobago-theme-standard/target/frontend/node/node
[INFO] Installed node locally.
-[INFO] Installing npm version 3.10.10
-[INFO] Unpacking __REPO__/com/github/eirslett/npm/3.10.10/npm-3.10.10.tar.gz into __CURRENT__/tobago-theme-standard/target/frontend/node/node_modules
+[INFO] Installing npm version 4.2.0
+[INFO] Unpacking __REPO__/com/github/eirslett/npm/4.2.0/npm-4.2.0.tar.gz into __CURRENT__/tobago-theme-standard/target/frontend/node/node_modules
[INFO] Installed npm locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #7: npm install) @ tobago-theme-standard ---
[INFO] Running 'npm install' in __CURRENT__/tobago-theme-standard/target/bootstrap
-[WARNING] npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
-[WARNING] npm WARN prefer global coffee-script@1.10.0 should be installed with -g
[WARNING] npm WARN prefer global node-gyp@3.6.2 should be installed with -g
[INFO]
[INFO] > fsevents@1.1.2 install __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/fsevents
[INFO] > node install
[INFO]
-[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
-[INFO] Pass --update-binary to reinstall or --build-from-source to recompile
+[INFO] [fsevents] Success: "__CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node" is installed via remote
[INFO]
[INFO] > node-sass@4.5.3 install __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/install.js
[INFO]
-[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-48_binding.node
+[INFO] Cached binary found at __HOME__/.npm/node-sass/4.5.3/darwin-x64-51_binding.node
[INFO]
[INFO] > phantomjs-prebuilt@2.1.15 install __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/phantomjs-prebuilt
[INFO] > node install.js
@@ -71,66 +68,63 @@ Build date: 2017-10-12 18:05:14
[INFO] Verified checksum of previously downloaded file
[INFO] Extracting zip contents
[INFO] Removing __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
-[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1507824402486/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
+[INFO] Copying extracted folder /var/folders/yp/1vrxjnrs20798ydt_yl8wrpr0000gp/T/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1508499735480/phantomjs-2.1.1-macosx -> __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom
[INFO] Writing location.js file
[INFO] Done. Phantomjs binary available at __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
[INFO]
[INFO] > node-sass@4.5.3 postinstall __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/node-sass
[INFO] > node scripts/build.js
[INFO]
-[INFO] Binary found at __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-48/binding.node
+[INFO] Binary found at __CURRENT__/tobago-theme-standard/target/bootstrap/node_modules/node-sass/vendor/darwin-x64-51/binding.node
[INFO] Testing binary
[INFO] Binary is fine
-[INFO] bootstrap@4.0.0-beta __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] bootstrap@4.0.0-beta.2 __CURRENT__/tobago-theme-standard/target/bootstrap
[INFO] ├─┬ autoprefixer@7.1.5
[INFO] │ ├─┬ browserslist@2.5.1
-[INFO] │ │ └── electron-to-chromium@1.3.26
-[INFO] │ ├── caniuse-lite@1.0.30000746
+[INFO] │ │ └── electron-to-chromium@1.3.27
+[INFO] │ ├── caniuse-lite@1.0.30000748
[INFO] │ ├── normalize-range@0.1.2
[INFO] │ ├── num2fraction@1.2.2
[INFO] │ ├─┬ postcss@6.0.13
-[INFO] │ │ ├── source-map@0.6.1
-[INFO] │ │ └─┬ supports-color@4.4.0
+[INFO] │ │ └─┬ supports-color@4.5.0
[INFO] │ │ └── has-flag@2.0.0
[INFO] │ └── postcss-value-parser@3.3.0
-[INFO] ├─┬ babel-cli@6.26.0
-[INFO] │ ├─┬ babel-core@6.26.0
-[INFO] │ │ ├─┬ babel-generator@6.26.0
-[INFO] │ │ │ ├─┬ detect-indent@4.0.0
-[INFO] │ │ │ │ └─┬ repeating@2.0.1
-[INFO] │ │ │ │ └── is-finite@1.0.2
-[INFO] │ │ │ ├── jsesc@1.3.0
+[INFO] ├─┬ babel-cli@7.0.0-beta.2
+[INFO] │ ├─┬ babel-core@7.0.0-beta.2
+[INFO] │ │ ├── babel-code-frame@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-generator@7.0.0-beta.2
+[INFO] │ │ │ ├── jsesc@2.5.1
[INFO] │ │ │ ├── source-map@0.5.7
[INFO] │ │ │ └── trim-right@1.0.1
-[INFO] │ │ ├── babel-helpers@6.24.1
-[INFO] │ │ ├── babel-messages@6.23.0
-[INFO] │ │ ├── babel-template@6.26.0
+[INFO] │ │ ├── babel-helpers@7.0.0-beta.2
+[INFO] │ │ ├── babel-messages@7.0.0-beta.2
+[INFO] │ │ ├── babel-template@7.0.0-beta.2
+[INFO] │ │ ├── babel-traverse@7.0.0-beta.2
+[INFO] │ │ ├── babel-types@7.0.0-beta.2
+[INFO] │ │ ├── babylon@7.0.0-beta.25
[INFO] │ │ ├── json5@0.5.1
-[INFO] │ │ ├── private@0.1.7
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-polyfill@6.26.0
+[INFO] │ ├─┬ babel-polyfill@7.0.0-beta.2
[INFO] │ │ ├── core-js@2.5.1
-[INFO] │ │ └── regenerator-runtime@0.10.5
-[INFO] │ ├─┬ babel-register@6.26.0
-[INFO] │ │ ├─┬ home-or-tmp@2.0.0
-[INFO] │ │ │ ├── os-homedir@1.0.2
-[INFO] │ │ │ └── os-tmpdir@1.0.2
+[INFO] │ │ └── regenerator-runtime@0.11.0
+[INFO] │ ├─┬ babel-register@7.0.0-beta.2
+[INFO] │ │ ├─┬ find-cache-dir@1.0.0
+[INFO] │ │ │ ├── commondir@1.0.1
+[INFO] │ │ │ ├── make-dir@1.0.0
+[INFO] │ │ │ └── pkg-dir@2.0.0
+[INFO] │ │ ├── home-or-tmp@3.0.0
+[INFO] │ │ ├─┬ pirates@3.0.1
+[INFO] │ │ │ └── node-modules-regexp@1.0.0
[INFO] │ │ └─┬ source-map-support@0.4.18
[INFO] │ │ └── source-map@0.5.7
-[INFO] │ ├─┬ babel-runtime@6.26.0
-[INFO] │ │ └── regenerator-runtime@0.11.0
[INFO] │ ├─┬ chokidar@1.7.0
-[INFO] │ │ ├─┬ anymatch@1.3.2
-[INFO] │ │ │ └─┬ normalize-path@2.1.1
-[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├── anymatch@1.3.2
[INFO] │ │ ├── async-each@1.0.1
[INFO] │ │ ├─┬ fsevents@1.1.2
[INFO] │ │ │ └─┬ node-pre-gyp@0.6.36
[INFO] │ │ │ ├─┬ mkdirp@0.5.1
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of jquery@>=1.9.1 but none was installed.
[INFO] │ │ │ │ └── minimist@0.0.8
[INFO] │ │ │ ├─┬ nopt@4.0.1
-[WARNING] npm WARN bootstrap@4.0.0-beta requires a peer of popper.js@^1.11.0 but none was installed.
[INFO] │ │ │ │ ├── abbrev@1.1.0
[INFO] │ │ │ │ └─┬ osenv@0.1.4
[INFO] │ │ │ │ ├── os-homedir@1.0.2
@@ -244,8 +238,8 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ ├── inherits@2.0.3
[INFO] │ │ ├─┬ is-binary-path@1.0.1
[INFO] │ │ │ └── binary-extensions@1.10.0
-[INFO] │ │ ├─┬ is-glob@2.0.1
-[INFO] │ │ │ └── is-extglob@1.0.0
+[INFO] │ │ ├── is-glob@2.0.1
+[INFO] │ │ ├── path-is-absolute@1.0.1
[INFO] │ │ └─┬ readdirp@2.1.0
[INFO] │ │ └── set-immediate-shim@1.0.1
[INFO] │ ├── commander@2.11.0
@@ -257,76 +251,155 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ │ └── wrappy@1.0.2
[INFO] │ │ └── once@1.4.0
[INFO] │ ├── lodash@4.17.4
-[INFO] │ ├─┬ output-file-sync@1.1.2
+[INFO] │ ├─┬ output-file-sync@2.0.0
[INFO] │ │ ├── graceful-fs@4.1.11
-[INFO] │ │ └── object-assign@4.1.1
-[INFO] │ ├── path-is-absolute@1.0.1
+[INFO] │ │ └── is-plain-obj@1.1.0
[INFO] │ ├── slash@1.0.0
-[INFO] │ ├── source-map@0.5.7
-[INFO] │ └─┬ v8flags@2.1.1
-[INFO] │ └── user-home@1.1.1
-[INFO] ├─┬ babel-eslint@7.2.3
-[INFO] │ ├─┬ babel-code-frame@6.26.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ └── source-map@0.5.7
+[INFO] ├─┬ babel-eslint@8.0.1
+[INFO] │ ├─┬ babel-code-frame@7.0.0-beta.0
[INFO] │ │ └── js-tokens@3.0.2
-[INFO] │ ├─┬ babel-traverse@6.26.0
-[INFO] │ │ └─┬ invariant@2.2.2
-[INFO] │ │ └── loose-envify@1.3.1
-[INFO] │ ├─┬ babel-types@6.26.0
-[INFO] │ │ └── to-fast-properties@1.0.3
-[INFO] │ └── babylon@6.18.0
+[INFO] │ ├─┬ babel-traverse@7.0.0-beta.0
+[INFO] │ │ ├─┬ babel-helper-function-name@7.0.0-beta.0
+[INFO] │ │ │ ├── babel-helper-get-function-arity@7.0.0-beta.0
+[INFO] │ │ │ └── babel-template@7.0.0-beta.0
+[INFO] │ │ ├── babel-messages@7.0.0-beta.0
+[INFO] │ │ └── globals@10.1.0
+[INFO] │ ├─┬ babel-types@7.0.0-beta.0
+[INFO] │ │ └── to-fast-properties@2.0.0
+[INFO] │ └── babylon@7.0.0-beta.22
+[INFO] ├── babel-plugin-external-helpers@7.0.0-beta.2
[INFO] ├── babel-plugin-transform-es2015-modules-strip@0.1.1
-[INFO] ├─┬ babel-preset-es2015@6.24.1
-[INFO] │ ├── babel-plugin-check-es2015-constants@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@6.26.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@6.24.1
-[INFO] │ │ ├── babel-helper-define-map@6.26.0
-[INFO] │ │ ├── babel-helper-function-name@6.24.1
-[INFO] │ │ ├── babel-helper-optimise-call-expression@6.24.1
-[INFO] │ │ └── babel-helper-replace-supers@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-destructuring@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-for-of@6.23.0
-[INFO] │ ├── babel-plugin-transform-es2015-function-name@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-modules-amd@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-commonjs@6.26.0
-[INFO] │ │ └── babel-plugin-transform-strict-mode@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@6.24.1
-[INFO] │ │ └── babel-helper-hoist-variables@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-object-super@6.24.1
-[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@6.24.1
-[INFO] │ │ ├── babel-helper-call-delegate@6.24.1
-[INFO] │ │ └── babel-helper-get-function-arity@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1
-[INFO] │ ├── babel-plugin-transform-es2015-spread@6.22.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.24.1
-[INFO] │ │ └── babel-helper-regex@6.26.0
-[INFO] │ ├── babel-plugin-transform-es2015-template-literals@6.22.0
-[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@6.23.0
-[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.24.1
-[INFO] │ │ └─┬ regexpu-core@2.0.0
+[INFO] ├─┬ babel-preset-env@2.0.0-beta.2
+[INFO] │ ├── babel-plugin-check-es2015-constants@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-syntax-async-generators@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-object-rest-spread@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
+[INFO] │ ├─┬ babel-plugin-transform-async-generator-functions@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-remap-async-to-generator@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-wrap-function@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-generators@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-async-to-generator@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-async-functions@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-es2015-arrow-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoped-functions@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-block-scoping@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-classes@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-annotate-as-pure@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-define-map@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-function-name@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-optimise-call-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-replace-supers@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-computed-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-destructuring@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-duplicate-keys@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-for-of@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-function-name@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-literals@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-amd@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-module-transforms@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-commonjs@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-modules-systemjs@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-hoist-variables@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-modules-umd@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-object-super@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-parameters@7.0.0-beta.2
+[INFO] │ │ ├── babel-helper-call-delegate@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-get-function-arity@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-shorthand-properties@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-sticky-regex@7.0.0-beta.2
+[INFO] │ │ └── babel-helper-regex@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-template-literals@7.0.0-beta.2
+[INFO] │ ├── babel-plugin-transform-es2015-typeof-symbol@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-es2015-unicode-regex@7.0.0-beta.2
+[INFO] │ │ └─┬ regexpu-core@4.1.3
[INFO] │ │ ├── regenerate@1.3.3
-[INFO] │ │ ├── regjsgen@0.2.0
-[INFO] │ │ └─┬ regjsparser@0.1.5
-[INFO] │ │ └── jsesc@0.5.0
-[INFO] │ └─┬ babel-plugin-transform-regenerator@6.26.0
-[INFO] │ └── regenerator-transform@0.10.1
+[INFO] │ │ ├── regenerate-unicode-properties@5.1.1
+[INFO] │ │ ├── regjsgen@0.3.0
+[INFO] │ │ ├─┬ regjsparser@0.2.1
+[INFO] │ │ │ └── jsesc@0.5.0
+[INFO] │ │ ├─┬ unicode-match-property-ecmascript@1.0.3
+[INFO] │ │ │ ├── unicode-canonical-property-names-ecmascript@1.0.2
+[INFO] │ │ │ └── unicode-property-aliases-ecmascript@1.0.3
+[INFO] │ │ └── unicode-match-property-value-ecmascript@1.0.1
+[INFO] │ ├─┬ babel-plugin-transform-exponentiation-operator@7.0.0-beta.2
+[INFO] │ │ ├─┬ babel-helper-builder-binary-assignment-operator-visitor@7.0.0-beta.2
+[INFO] │ │ │ └── babel-helper-explode-assignable-expression@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-exponentiation-operator@7.0.0-beta.0
+[INFO] │ ├── babel-plugin-transform-new-target@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-object-rest-spread@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-object-rest-spread@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-optional-catch-binding@7.0.0-beta.2
+[INFO] │ │ └── babel-plugin-syntax-optional-catch-binding@7.0.0-beta.2
+[INFO] │ ├─┬ babel-plugin-transform-regenerator@7.0.0-beta.2
+[INFO] │ │ └─┬ regenerator-transform@0.10.0
+[INFO] │ │ ├─┬ babel-types@6.26.0
+[INFO] │ │ │ └── to-fast-properties@1.0.3
+[INFO] │ │ └── private@0.1.8
+[INFO] │ ├─┬ babel-plugin-transform-unicode-property-regex@2.0.5
+[INFO] │ │ └─┬ babel-helper-regex@6.26.0
+[INFO] │ │ └─┬ babel-types@6.26.0
+[INFO] │ │ └── to-fast-properties@1.0.3
+[INFO] │ ├─┬ invariant@2.2.2
+[INFO] │ │ └── loose-envify@1.3.1
+[INFO] │ └── semver@5.4.1
+[INFO] ├─┬ bundlesize@0.15.3
+[INFO] │ ├─┬ axios@0.16.2
+[INFO] │ │ ├─┬ follow-redirects@1.2.5
+[INFO] │ │ │ └── debug@2.6.9
+[INFO] │ │ └── is-buffer@1.1.5
+[INFO] │ ├── bytes@3.0.0
+[INFO] │ ├── ci-env@1.4.0
+[INFO] │ ├─┬ github-build@1.2.0
+[INFO] │ │ └─┬ axios@0.15.3
+[INFO] │ │ └─┬ follow-redirects@1.0.0
+[INFO] │ │ └── debug@2.6.9
+[INFO] │ ├─┬ gzip-size@4.0.0
+[INFO] │ │ ├── duplexer@0.1.1
+[INFO] │ │ └── pify@3.0.0
+[INFO] │ ├─┬ opencollective@1.0.3
+[INFO] │ │ ├─┬ babel-polyfill@6.23.0
+[INFO] │ │ │ └── regenerator-runtime@0.10.5
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── minimist@1.2.0
+[INFO] │ │ ├─┬ node-fetch@1.6.3
+[INFO] │ │ │ └── encoding@0.1.12
+[INFO] │ │ └── opn@4.0.2
+[INFO] │ ├─┬ prettycli@1.4.3
+[INFO] │ │ └── chalk@2.1.0
+[INFO] │ └─┬ read-pkg-up@2.0.0
+[INFO] │ └─┬ find-up@2.1.0
+[INFO] │ └─┬ locate-path@2.0.0
+[INFO] │ ├─┬ p-locate@2.0.0
+[INFO] │ │ └── p-limit@1.1.0
+[INFO] │ └── path-exists@3.0.0
[INFO] ├─┬ clean-css-cli@4.1.10
[INFO] │ └─┬ clean-css@4.1.9
[INFO] │ └── source-map@0.5.7
-[INFO] ├─┬ eslint@4.8.0
+[INFO] ├─┬ cross-env@5.1.0
+[INFO] │ ├─┬ cross-spawn@5.1.0
+[INFO] │ │ ├─┬ lru-cache@4.1.1
+[INFO] │ │ │ ├── pseudomap@1.0.2
+[INFO] │ │ │ └── yallist@2.1.2
+[INFO] │ │ ├─┬ shebang-command@1.2.0
+[INFO] │ │ │ └── shebang-regex@1.0.0
+[INFO] │ │ └── which@1.3.0
+[INFO] │ └── is-windows@1.0.1
+[INFO] ├─┬ eslint@4.9.0
[INFO] │ ├─┬ ajv@5.2.3
[INFO] │ │ ├── co@4.6.0
[INFO] │ │ ├── fast-deep-equal@1.0.0
[INFO] │ │ └── json-schema-traverse@0.3.1
-[INFO] │ ├─┬ chalk@2.1.0
+[INFO] │ ├─┬ babel-code-frame@6.26.0
+[INFO] │ │ └─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ ├─┬ chalk@2.2.0
[INFO] │ │ └── escape-string-regexp@1.0.5
[INFO] │ ├─┬ concat-stream@1.6.0
[INFO] │ │ ├─┬ readable-stream@2.3.3
@@ -335,13 +408,6 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ │ ├── string_decoder@1.0.3
[INFO] │ │ │ └── util-deprecate@1.0.2
[INFO] │ │ └── typedarray@0.0.6
-[INFO] │ ├─┬ cross-spawn@5.1.0
-[INFO] │ │ ├─┬ lru-cache@4.1.1
-[INFO] │ │ │ ├── pseudomap@1.0.2
-[INFO] │ │ │ └── yallist@2.1.2
-[INFO] │ │ ├─┬ shebang-command@1.2.0
-[INFO] │ │ │ └── shebang-regex@1.0.0
-[INFO] │ │ └── which@1.3.0
[INFO] │ ├─┬ debug@3.1.0
[INFO] │ │ └── ms@2.0.0
[INFO] │ ├─┬ doctrine@2.0.0
@@ -356,39 +422,39 @@ Build date: 2017-10-12 18:05:14
[INFO] │ ├── estraverse@4.2.0
[INFO] │ ├── esutils@2.0.2
[INFO] │ ├─┬ file-entry-cache@2.0.0
-[INFO] │ │ └─┬ flat-cache@1.3.0
-[INFO] │ │ ├── circular-json@0.3.3
-[INFO] │ │ ├─┬ del@2.2.2
-[INFO] │ │ │ ├─┬ globby@5.0.0
-[INFO] │ │ │ │ └── arrify@1.0.1
-[INFO] │ │ │ ├── is-path-cwd@1.0.0
-[INFO] │ │ │ └── is-path-in-cwd@1.0.0
-[INFO] │ │ └── write@0.2.1
+[INFO] │ │ ├─┬ flat-cache@1.3.0
+[INFO] │ │ │ ├── circular-json@0.3.3
+[INFO] │ │ │ ├─┬ del@2.2.2
+[INFO] │ │ │ │ ├─┬ globby@5.0.0
+[INFO] │ │ │ │ │ └── arrify@1.0.1
+[INFO] │ │ │ │ ├── is-path-cwd@1.0.0
+[INFO] │ │ │ │ └── is-path-in-cwd@1.0.0
+[INFO] │ │ │ └── write@0.2.1
+[INFO] │ │ └── object-assign@4.1.1
[INFO] │ ├── functional-red-black-tree@1.0.1
[INFO] │ ├── globals@9.18.0
[INFO] │ ├── ignore@3.3.5
[INFO] │ ├── imurmurhash@0.1.4
-[INFO] │ ├─┬ inquirer@3.3.0
-[INFO] │ │ ├── ansi-escapes@3.0.0
+[INFO] │ ├─┬ inquirer@3.0.6
+[INFO] │ │ ├── ansi-escapes@1.4.0
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
[INFO] │ │ ├─┬ cli-cursor@2.1.0
[INFO] │ │ │ └─┬ restore-cursor@2.0.0
[INFO] │ │ │ └── onetime@2.0.1
[INFO] │ │ ├── cli-width@2.2.0
[INFO] │ │ ├─┬ external-editor@2.0.5
+[INFO] │ │ │ ├── iconv-lite@0.4.19
[INFO] │ │ │ ├── jschardet@1.5.1
[INFO] │ │ │ └── tmp@0.0.33
[INFO] │ │ ├── figures@2.0.0
[INFO] │ │ ├── mute-stream@0.0.7
[INFO] │ │ ├─┬ run-async@2.3.0
[INFO] │ │ │ └── is-promise@2.1.0
-[INFO] │ │ ├── rx-lite@4.0.8
-[INFO] │ │ ├── rx-lite-aggregates@4.0.8
-[INFO] │ │ ├─┬ string-width@2.1.1
-[INFO] │ │ │ ├── is-fullwidth-code-point@2.0.0
-[INFO] │ │ │ └─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
-[INFO] │ │ ├─┬ strip-ansi@4.0.0
-[INFO] │ │ │ └── ansi-regex@3.0.0
+[INFO] │ │ ├── rx@4.1.0
+[INFO] │ │ ├─┬ strip-ansi@3.0.1
+[INFO] │ │ │ └── ansi-regex@2.1.1
[INFO] │ │ └── through@2.3.8
[INFO] │ ├─┬ is-resolvable@1.0.0
[INFO] │ │ └── tryit@1.0.3
@@ -403,7 +469,6 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ └── type-check@0.3.2
[INFO] │ ├─┬ minimatch@3.0.4
[INFO] │ │ └─┬ brace-expansion@1.1.8
-[INFO] │ │ ├── balanced-match@1.0.0
[INFO] │ │ └── concat-map@0.0.1
[INFO] │ ├─┬ mkdirp@0.5.1
[INFO] │ │ └── minimist@0.0.8
@@ -419,7 +484,6 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ ├─┬ caller-path@0.1.0
[INFO] │ │ │ └── callsites@0.2.0
[INFO] │ │ └── resolve-from@1.0.1
-[INFO] │ ├── semver@5.4.1
[INFO] │ ├─┬ strip-ansi@4.0.0
[INFO] │ │ └── ansi-regex@3.0.0
[INFO] │ ├── strip-json-comments@2.0.1
@@ -427,63 +491,15 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ ├── ajv-keywords@2.1.0
[INFO] │ │ └── slice-ansi@1.0.0
[INFO] │ └── text-table@0.2.0
-[INFO] ├─┬ grunt@1.0.1
-[INFO] │ ├── coffee-script@1.10.0
-[INFO] │ ├── dateformat@1.0.12
-[INFO] │ ├── eventemitter2@0.4.14
-[INFO] │ ├── exit@0.1.2
-[INFO] │ ├─┬ findup-sync@0.3.0
-[INFO] │ │ └── glob@5.0.15
-[INFO] │ ├── glob@7.0.6
-[INFO] │ ├── grunt-known-options@1.1.0
-[INFO] │ ├─┬ grunt-legacy-log@1.0.0
-[INFO] │ │ ├─┬ grunt-legacy-log-utils@1.0.0
-[INFO] │ │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ │ └── supports-color@2.0.0
-[INFO] │ │ │ └── lodash@4.3.0
-[INFO] │ │ ├── hooker@0.2.3
-[INFO] │ │ ├── lodash@3.10.1
-[INFO] │ │ └── underscore.string@3.2.3
-[INFO] │ ├─┬ grunt-legacy-util@1.0.0
-[INFO] │ │ ├── async@1.5.2
-[INFO] │ │ ├── getobject@0.1.0
-[INFO] │ │ ├── lodash@4.3.0
-[INFO] │ │ └── which@1.2.14
-[INFO] │ ├── iconv-lite@0.4.19
-[INFO] │ ├─┬ js-yaml@3.5.5
-[INFO] │ │ └── esprima@2.7.3
-[INFO] │ ├─┬ nopt@3.0.6
-[INFO] │ │ └── abbrev@1.1.1
-[INFO] │ └── rimraf@2.2.8
-[INFO] ├─┬ grunt-cli@1.2.0
-[INFO] │ └── resolve@1.1.7
-[INFO] ├─┬ grunt-saucelabs@9.0.0
-[INFO] │ ├── colors@1.1.2
-[INFO] │ ├── lodash@4.13.1
-[INFO] │ ├── q@1.4.1
-[INFO] │ ├─┬ requestretry@1.9.1
-[INFO] │ │ ├── extend@3.0.1
-[INFO] │ │ ├─┬ fg-lodash@0.0.2
-[INFO] │ │ │ ├── lodash@2.4.2
-[INFO] │ │ │ └── underscore.string@2.3.3
-[INFO] │ │ └── when@3.7.8
-[INFO] │ ├─┬ sauce-tunnel@2.5.0
-[INFO] │ │ ├─┬ chalk@1.1.3
-[INFO] │ │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ │ └── supports-color@2.0.0
-[INFO] │ │ └── split@1.0.1
-[INFO] │ └─┬ saucelabs@1.2.0
-[INFO] │ └─┬ https-proxy-agent@1.0.0
-[INFO] │ └─┬ agent-base@2.1.1
-[INFO] │ └── semver@5.0.3
+[INFO] ├─┬ eslint-plugin-compat@2.0.1
+[INFO] │ ├── babel-runtime@6.26.0
+[INFO] │ ├── caniuse-db@1.0.30000748
+[INFO] │ └── requireindex@1.1.0
[INFO] ├─┬ htmllint-cli@0.0.6
[INFO] │ ├── bluebird@3.5.1
[INFO] │ ├─┬ chalk@1.1.3
[INFO] │ │ ├── ansi-styles@2.2.1
-[INFO] │ │ ├─┬ has-ansi@2.0.0
-[INFO] │ │ │ └── ansi-regex@2.1.1
-[INFO] │ │ ├── strip-ansi@3.0.1
+[INFO] │ │ ├── has-ansi@2.0.0
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ cjson@0.5.0
[INFO] │ │ └─┬ json-parse-helpfulerror@1.0.3
@@ -498,7 +514,7 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ │ └── domelementtype@1.1.3
[INFO] │ │ └── entities@1.1.1
[INFO] │ ├─┬ liftoff@2.3.0
-[INFO] │ │ ├── findup-sync@0.4.3
+[INFO] │ │ ├── extend@3.0.1
[INFO] │ │ ├─┬ fined@1.1.0
[INFO] │ │ │ ├─┬ expand-tilde@2.0.2
[INFO] │ │ │ │ └─┬ homedir-polyfill@1.0.1
@@ -508,16 +524,16 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ │ ├─┬ object.defaults@1.1.0
[INFO] │ │ │ │ ├── array-each@1.0.1
[INFO] │ │ │ │ ├── array-slice@1.0.0
-[INFO] │ │ │ │ ├─┬ for-own@1.0.0
-[INFO] │ │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ │ ├── for-own@1.0.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ ├─┬ object.pick@1.3.0
[INFO] │ │ │ │ └── isobject@3.0.1
[INFO] │ │ │ └─┬ parse-filepath@1.0.1
[INFO] │ │ │ ├─┬ is-absolute@0.2.6
-[INFO] │ │ │ │ └─┬ is-relative@0.2.1
-[INFO] │ │ │ │ └─┬ is-unc-path@0.1.2
-[INFO] │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ ├─┬ is-relative@0.2.1
+[INFO] │ │ │ │ │ └─┬ is-unc-path@0.1.2
+[INFO] │ │ │ │ │ └── unc-path-regex@0.1.2
+[INFO] │ │ │ │ └── is-windows@0.2.0
[INFO] │ │ │ ├── map-cache@0.2.2
[INFO] │ │ │ └─┬ path-root@0.1.1
[INFO] │ │ │ └── path-root-regex@0.1.2
@@ -557,9 +573,15 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ └── number-is-nan@1.0.1
[INFO] │ ├── which-module@1.0.0
[INFO] │ ├── y18n@3.2.1
-[INFO] │ └─┬ yargs-parser@4.2.1
-[INFO] │ └── camelcase@3.0.0
-[INFO] ├── UNMET PEER DEPENDENCY jquery@>=1.9.1
+[INFO] │ └── yargs-parser@4.2.1
+[INFO] ├── UNMET PEER DEPENDENCY jquery@1.9.1 - 3
+[INFO] ├─┬ jsunitsaucelabs@1.3.0
+[INFO] │ ├── colors@1.1.2
+[INFO] │ └─┬ sauce-tunnel@2.5.0
+[INFO] │ ├─┬ chalk@1.1.3
+[INFO] │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ └── supports-color@2.0.0
+[INFO] │ └── split@1.0.1
[INFO] ├─┬ node-sass@4.5.3
[INFO] │ ├── async-foreach@0.1.3
[INFO] │ ├─┬ chalk@1.1.3
@@ -584,20 +606,32 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ ├── minimist@1.2.0
[INFO] │ │ ├─┬ normalize-package-data@2.4.0
[INFO] │ │ │ ├── hosted-git-info@2.5.0
-[INFO] │ │ │ ├─┬ is-builtin-module@1.0.0
-[INFO] │ │ │ │ └── builtin-modules@1.1.1
+[INFO] │ │ │ ├── is-builtin-module@1.0.0
[INFO] │ │ │ └─┬ validate-npm-package-license@3.0.1
[INFO] │ │ │ ├─┬ spdx-correct@1.0.2
[INFO] │ │ │ │ └── spdx-license-ids@1.2.2
[INFO] │ │ │ └── spdx-expression-parse@1.0.4
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ redent@1.0.0
-[INFO] │ │ │ ├── indent-string@2.1.0
+[INFO] │ │ │ ├─┬ indent-string@2.1.0
+[INFO] │ │ │ │ └─┬ repeating@2.0.1
+[INFO] │ │ │ │ └── is-finite@1.0.2
[INFO] │ │ │ └── strip-indent@1.0.1
[INFO] │ │ └── trim-newlines@1.0.0
[INFO] │ ├── nan@2.7.0
[INFO] │ ├─┬ node-gyp@3.6.2
[INFO] │ │ ├── fstream@1.0.11
-[INFO] │ │ ├── osenv@0.1.4
+[INFO] │ │ ├─┬ nopt@3.0.6
+[INFO] │ │ │ └── abbrev@1.1.1
+[INFO] │ │ ├─┬ osenv@0.1.4
+[INFO] │ │ │ ├── os-homedir@1.0.2
+[INFO] │ │ │ └── os-tmpdir@1.0.2
[INFO] │ │ ├── rimraf@2.6.2
[INFO] │ │ ├── semver@5.3.0
[INFO] │ │ └─┬ tar@2.2.1
@@ -665,7 +699,13 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ │ └─┬ source-map@0.4.4
[INFO] │ │ │ └── amdefine@1.0.1
[INFO] │ │ └─┬ yargs@7.1.0
-[INFO] │ │ ├── camelcase@3.0.0
+[INFO] │ │ ├─┬ read-pkg-up@1.0.1
+[INFO] │ │ │ ├─┬ find-up@1.1.2
+[INFO] │ │ │ │ └── path-exists@2.1.0
+[INFO] │ │ │ └─┬ read-pkg@1.1.0
+[INFO] │ │ │ ├─┬ load-json-file@1.1.0
+[INFO] │ │ │ │ └── strip-bom@2.0.0
+[INFO] │ │ │ └── path-type@1.1.0
[INFO] │ │ ├─┬ string-width@1.0.2
[INFO] │ │ │ └── is-fullwidth-code-point@1.0.0
[INFO] │ │ └── yargs-parser@5.0.0
@@ -688,7 +728,6 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ └── lodash.restparam@3.6.1
[INFO] │ ├─┬ ps-tree@1.1.0
[INFO] │ │ └─┬ event-stream@3.3.4
-[INFO] │ │ ├── duplexer@0.1.1
[INFO] │ │ ├── from@0.1.7
[INFO] │ │ ├── map-stream@0.1.0
[INFO] │ │ ├── pause-stream@0.0.11
@@ -698,7 +737,7 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ └── nopt@1.0.10
[INFO] │ ├── undefsafe@0.0.3
[INFO] │ └─┬ update-notifier@2.3.0
-[INFO] │ ├─┬ boxen@1.2.1
+[INFO] │ ├─┬ boxen@1.2.2
[INFO] │ │ ├── ansi-align@2.0.0
[INFO] │ │ ├── camelcase@4.1.0
[INFO] │ │ ├── cli-boxes@1.0.0
@@ -709,7 +748,6 @@ Build date: 2017-10-12 18:05:14
[INFO] │ ├─┬ configstore@3.1.1
[INFO] │ │ ├─┬ dot-prop@4.2.0
[INFO] │ │ │ └── is-obj@1.0.1
-[INFO] │ │ ├── make-dir@1.0.0
[INFO] │ │ ├─┬ unique-string@1.0.0
[INFO] │ │ │ └── crypto-random-string@1.0.0
[INFO] │ │ └── write-file-atomic@2.3.0
@@ -733,7 +771,7 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ │ └─┬ url-parse-lax@1.0.0
[INFO] │ │ │ └── prepend-http@1.0.4
[INFO] │ │ ├─┬ registry-auth-token@3.3.1
-[INFO] │ │ │ └─┬ rc@1.2.1
+[INFO] │ │ │ └─┬ rc@1.2.2
[INFO] │ │ │ ├── deep-extend@0.4.2
[INFO] │ │ │ └── minimist@1.2.0
[INFO] │ │ └── registry-url@3.1.0
@@ -749,9 +787,7 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ └── string_decoder@0.10.31
[INFO] │ ├─┬ read-pkg@2.0.0
[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ ├─┬ parse-json@2.2.0
-[INFO] │ │ │ │ └─┬ error-ex@1.3.1
-[INFO] │ │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ │ ├── parse-json@2.2.0
[INFO] │ │ │ └── strip-bom@3.0.0
[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├─┬ shell-quote@1.6.1
@@ -807,7 +843,7 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ └── throttleit@1.0.0
[INFO] │ └─┬ which@1.2.14
[INFO] │ └── isexe@2.0.0
-[INFO] ├── UNMET PEER DEPENDENCY popper.js@^1.11.0
+[INFO] ├── popper.js@1.12.5
[INFO] ├─┬ postcss-cli@4.1.1
[INFO] │ ├── dependency-graph@0.5.1
[INFO] │ ├─┬ fs-extra@4.0.2
@@ -829,7 +865,6 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ └── supports-color@2.0.0
[INFO] │ ├─┬ postcss-load-config@1.2.0
[INFO] │ │ ├─┬ cosmiconfig@2.2.2
-[INFO] │ │ │ ├── is-directory@0.3.1
[INFO] │ │ │ ├── minimist@1.2.0
[INFO] │ │ │ └── require-from-string@1.2.1
[INFO] │ │ ├── postcss-load-options@1.2.0
@@ -849,16 +884,6 @@ Build date: 2017-10-12 18:05:14
[INFO] │ │ │ └── strip-eof@1.0.0
[INFO] │ │ └─┬ mem@1.1.0
[INFO] │ │ └── mimic-fn@1.1.0
-[INFO] │ ├─┬ read-pkg-up@2.0.0
-[INFO] │ │ ├─┬ find-up@2.1.0
-[INFO] │ │ │ └─┬ locate-path@2.0.0
-[INFO] │ │ │ ├─┬ p-locate@2.0.0
-[INFO] │ │ │ │ └── p-limit@1.1.0
-[INFO] │ │ │ └── path-exists@3.0.0
-[INFO] │ │ └─┬ read-pkg@2.0.0
-[INFO] │ │ ├─┬ load-json-file@2.0.0
-[INFO] │ │ │ └── strip-bom@3.0.0
-[INFO] │ │ └── path-type@2.0.0
[INFO] │ ├── which-module@2.0.0
[INFO] │ └── yargs-parser@7.0.0
[INFO] ├─┬ qunit-phantomjs-runner@2.3.0
@@ -871,41 +896,11 @@ Build date: 2017-10-12 18:05:14
[INFO] │ ├─┬ findup-sync@0.4.3
[INFO] │ │ ├─┬ detect-file@0.1.0
[INFO] │ │ │ └── fs-exists-sync@0.1.0
-[INFO] │ │ ├─┬ micromatch@2.3.11
-[INFO] │ │ │ ├─┬ arr-diff@2.0.0
-[INFO] │ │ │ │ └── arr-flatten@1.1.0
-[INFO] │ │ │ ├── array-unique@0.2.1
-[INFO] │ │ │ ├─┬ braces@1.8.5
-[INFO] │ │ │ │ ├─┬ expand-range@1.8.2
-[INFO] │ │ │ │ │ └─┬ fill-range@2.2.3
-[INFO] │ │ │ │ │ ├── is-number@2.1.0
-[INFO] │ │ │ │ │ ├── isobject@2.1.0
-[INFO] │ │ │ │ │ ├─┬ randomatic@1.1.7
-[INFO] │ │ │ │ │ │ ├─┬ is-number@3.0.0
-[INFO] │ │ │ │ │ │ │ └── kind-of@3.2.2
-[INFO] │ │ │ │ │ │ └── kind-of@4.0.0
-[INFO] │ │ │ │ │ └── repeat-string@1.6.1
-[INFO] │ │ │ │ ├── preserve@0.2.0
-[INFO] │ │ │ │ └── repeat-element@1.1.2
-[INFO] │ │ │ ├─┬ expand-brackets@0.1.5
-[INFO] │ │ │ │ └── is-posix-bracket@0.1.1
-[INFO] │ │ │ ├── extglob@0.3.2
-[INFO] │ │ │ ├── filename-regex@2.0.1
-[INFO] │ │ │ ├─┬ kind-of@3.2.2
-[INFO] │ │ │ │ └── is-buffer@1.1.5
-[INFO] │ │ │ ├─┬ object.omit@2.0.1
-[INFO] │ │ │ │ ├── for-own@0.1.5
-[INFO] │ │ │ │ └── is-extendable@0.1.1
-[INFO] │ │ │ ├─┬ parse-glob@3.0.4
-[INFO] │ │ │ │ ├── glob-base@0.3.0
-[INFO] │ │ │ │ └── is-dotfile@1.0.3
-[INFO] │ │ │ └─┬ regex-cache@0.4.4
-[INFO] │ │ │ └─┬ is-equal-shallow@0.1.3
-[INFO] │ │ │ └── is-primitive@2.0.0
[INFO] │ │ └─┬ resolve-dir@0.1.1
[INFO] │ │ ├── expand-tilde@1.2.2
[INFO] │ │ └─┬ global-modules@0.2.3
-[INFO] │ │ ├── global-prefix@0.1.5
+[INFO] │ │ ├─┬ global-prefix@0.1.5
+[INFO] │ │ │ └── is-windows@0.2.0
[INFO] │ │ └── is-windows@0.2.0
[INFO] │ ├── js-reporters@1.2.0
[INFO] │ ├─┬ resolve@1.3.2
@@ -913,20 +908,129 @@ Build date: 2017-10-12 18:05:14
[INFO] │ └─┬ walk-sync@0.3.1
[INFO] │ ├── ensure-posix-path@1.0.2
[INFO] │ └── matcher-collection@1.0.5
+[INFO] ├── rollup@0.50.0
+[INFO] ├─┬ rollup-plugin-babel@3.0.2
+[INFO] │ └─┬ rollup-pluginutils@1.5.2
+[INFO] │ └── estree-walker@0.2.1
+[INFO] ├─┬ rollup-plugin-node-resolve@3.0.0
+[INFO] │ ├─┬ browser-resolve@1.11.2
+[INFO] │ │ └── resolve@1.1.7
+[INFO] │ ├── builtin-modules@1.1.1
+[INFO] │ ├── is-module@1.0.0
+[INFO] │ └── resolve@1.4.0
[INFO] ├─┬ shelljs@0.7.8
[INFO] │ ├── interpret@1.0.4
[INFO] │ └── rechoir@0.6.2
[INFO] ├─┬ shx@0.2.2
[INFO] │ ├── es6-object-assign@1.1.0
[INFO] │ └── minimist@1.2.0
-[INFO] └─┬ uglify-js@3.1.3
-[INFO] └── source-map@0.5.7
+[INFO] ├─┬ stylelint@8.2.0
+[INFO] │ ├── balanced-match@1.0.0
+[INFO] │ ├─┬ cosmiconfig@3.1.0
+[INFO] │ │ ├── is-directory@0.3.1
+[INFO] │ │ ├─┬ parse-json@3.0.0
+[INFO] │ │ │ └─┬ error-ex@1.3.1
+[INFO] │ │ │ └── is-arrayish@0.2.1
+[INFO] │ │ └── require-from-string@2.0.1
+[INFO] │ ├─┬ execall@1.0.0
+[INFO] │ │ └─┬ clone-regexp@1.0.0
+[INFO] │ │ ├── is-regexp@1.0.0
+[INFO] │ │ └── is-supported-regexp-flag@1.0.0
+[INFO] │ ├── get-stdin@5.0.1
+[INFO] │ ├─┬ globby@6.1.0
+[INFO] │ │ └── pify@2.3.0
+[INFO] │ ├── globjoin@0.1.4
+[INFO] │ ├── html-tags@2.0.0
+[INFO] │ ├── known-css-properties@0.4.1
+[INFO] │ ├── log-symbols@2.1.0
+[INFO] │ ├── mathml-tag-names@2.0.1
+[INFO] │ ├─┬ micromatch@2.3.11
+[INFO] │ │ ├─┬ arr-diff@2.0.0
+[INFO] │ │ │ └── arr-flatten@1.1.0
+[INFO] │ │ ├── array-unique@0.2.1
+[INFO] │ │ ├─┬ braces@1.8.5
+[INFO] │ │ │ ├─┬ expand-range@1.8.2
+[INFO] │ │ │ │ └─┬ fill-range@2.2.3
+[INFO] │ │ │ │ ├── is-number@2.1.0
+[INFO] │ │ │ │ ├── isobject@2.1.0
+[INFO] │ │ │ │ ├─┬ randomatic@1.1.7
+[INFO] │ │ │ │ │ ├─┬ is-number@3.0.0
+[INFO] │ │ │ │ │ │ └── kind-of@3.2.2
+[INFO] │ │ │ │ │ └── kind-of@4.0.0
+[INFO] │ │ │ │ └── repeat-string@1.6.1
+[INFO] │ │ │ ├── preserve@0.2.0
+[INFO] │ │ │ └── repeat-element@1.1.2
+[INFO] │ │ ├─┬ expand-brackets@0.1.5
+[INFO] │ │ │ └── is-posix-bracket@0.1.1
+[INFO] │ │ ├── extglob@0.3.2
+[INFO] │ │ ├── filename-regex@2.0.1
+[INFO] │ │ ├── is-extglob@1.0.0
+[INFO] │ │ ├── kind-of@3.2.2
+[INFO] │ │ ├─┬ normalize-path@2.1.1
+[INFO] │ │ │ └── remove-trailing-separator@1.1.0
+[INFO] │ │ ├─┬ object.omit@2.0.1
+[INFO] │ │ │ ├─┬ for-own@0.1.5
+[INFO] │ │ │ │ └── for-in@1.0.2
+[INFO] │ │ │ └── is-extendable@0.1.1
+[INFO] │ │ ├─┬ parse-glob@3.0.4
+[INFO] │ │ │ ├── glob-base@0.3.0
+[INFO] │ │ │ └── is-dotfile@1.0.3
+[INFO] │ │ └─┬ regex-cache@0.4.4
+[INFO] │ │ └─┬ is-equal-shallow@0.1.3
+[INFO] │ │ └── is-primitive@2.0.0
+[INFO] │ ├── normalize-selector@0.2.0
+[INFO] │ ├── pify@3.0.0
+[INFO] │ ├─┬ postcss-less@1.1.1
+[INFO] │ │ └─┬ postcss@5.2.18
+[INFO] │ │ ├─┬ chalk@1.1.3
+[INFO] │ │ │ ├── ansi-styles@2.2.1
+[INFO] │ │ │ └── supports-color@2.0.0
+[INFO] │ │ ├── source-map@0.5.7
+[INFO] │ │ └─┬ supports-color@3.2.3
+[INFO] │ │ └── has-flag@1.0.0
+[INFO] │ ├── postcss-media-query-parser@0.2.3
+[INFO] │ ├── postcss-resolve-nested-selector@0.1.1
+[INFO] │ ├── postcss-safe-parser@3.0.1
+[INFO] │ ├── postcss-scss@1.0.2
+[INFO] │ ├─┬ postcss-selector-parser@2.2.3
+[INFO] │ │ ├── flatten@1.0.2
+[INFO] │ │ ├── indexes-of@1.0.1
+[INFO] │ │ └── uniq@1.0.1
+[INFO] │ ├── resolve-from@4.0.0
+[INFO] │ ├── specificity@0.3.2
+[INFO] │ ├─┬ string-width@2.1.1
+[INFO] │ │ ├── is-fullwidth-code-point@2.0.0
+[INFO] │ │ └─┬ strip-ansi@4.0.0
+[INFO] │ │ └── ansi-regex@3.0.0
+[INFO] │ ├── style-search@0.1.0
+[INFO] │ ├── sugarss@1.0.0
+[INFO] │ └── svg-tags@1.0.0
+[INFO] ├─┬ stylelint-config-recommended-scss@2.0.0
+[INFO] │ └── stylelint-config-recommended@1.0.0
+[INFO] ├── stylelint-config-standard@17.0.0
+[INFO] ├─┬ stylelint-order@0.7.0
+[INFO] │ └── postcss-sorting@3.0.2
+[INFO] ├── stylelint-scss@2.1.0
+[INFO] ├─┬ uglify-js@3.1.4
+[INFO] │ └── source-map@0.6.1
+[INFO] ├── vnu-jar@17.11.1
+[INFO] └─┬ workbox-build@2.1.0
+[INFO] ├─┬ chalk@1.1.3
+[INFO] │ ├── ansi-styles@2.2.1
+[INFO] │ └── supports-color@2.0.0
+[INFO] ├─┬ fs-extra@3.0.1
+[INFO] │ └── jsonfile@3.0.1
+[INFO] ├─┬ lodash.template@4.4.0
+[INFO] │ ├── lodash._reinterpolate@3.0.0
+[INFO] │ └── lodash.templatesettings@4.1.0
+[INFO] └── workbox-sw@2.1.0
[INFO]
+[WARNING] npm WARN bootstrap@4.0.0-beta.2 requires a peer of jquery@1.9.1 - 3 but none was installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #8: npm run css-compile) @ tobago-theme-standard ---
[INFO] Running 'npm run css-compile' in __CURRENT__/tobago-theme-standard/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-compile __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-compile __CURRENT__/tobago-theme-standard/target/bootstrap
[INFO] > 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
[INFO]
[ERROR] Rendering Complete, saving .css file...
@@ -936,56 +1040,101 @@ Build date: 2017-10-12 18:05:14
[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-standard/target/bootstrap/dist/css/bootstrap-grid.css.map
[ERROR] Wrote CSS to __CURRENT__/tobago-theme-standard/target/bootstrap/dist/css/bootstrap-grid.css
[ERROR] Rendering Complete, saving .css file...
-[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-standard/target/bootstrap/dist/css/bootstrap-reboot.css.map
[ERROR] Wrote CSS to __CURRENT__/tobago-theme-standard/target/bootstrap/dist/css/bootstrap-reboot.css
+[ERROR] Wrote Source Map to __CURRENT__/tobago-theme-standard/target/bootstrap/dist/css/bootstrap-reboot.css.map
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #9: npm run css-prefix) @ tobago-theme-standard ---
[INFO] Running 'npm run css-prefix' in __CURRENT__/tobago-theme-standard/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-prefix __CURRENT__/tobago-theme-standard/target/bootstrap
-[INFO] > postcss --config build/postcss.config.js --replace dist/css/*.css
+[INFO] > bootstrap@4.0.0-beta.2 css-prefix __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > postcss --config build/postcss.config.js --replace "dist/css/*.css"
[INFO]
-[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.1 s)
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.1 s)
-[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap.css (1.11 s)
-[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.11 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.css (1.08 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.css (1.08 s)
+[ERROR] ✔ Finished dist/css/bootstrap-grid.min.css (1.08 s)
+[ERROR] ✔ Finished dist/css/bootstrap-reboot.min.css (1.08 s)
+[ERROR] ✔ Finished dist/css/bootstrap.min.css (1.08 s)
+[ERROR] ✔ Finished dist/css/bootstrap.css (1.08 s)
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #10: npm run css-minify) @ tobago-theme-standard ---
[INFO] Running 'npm run css-minify' in __CURRENT__/tobago-theme-standard/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta css-minify __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 css-minify __CURRENT__/tobago-theme-standard/target/bootstrap
[INFO] > 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
[INFO]
[INFO]
[INFO] --- frontend-maven-plugin:1.4:npm (step #11: npm run js) @ tobago-theme-standard ---
[INFO] Running 'npm run js' in __CURRENT__/tobago-theme-standard/target/bootstrap
[INFO]
-[INFO] > bootstrap@4.0.0-beta js __CURRENT__/tobago-theme-standard/target/bootstrap
-[INFO] > npm-run-all js-lint js-compile js-minify
+[INFO] > bootstrap@4.0.0-beta.2 js __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > npm-run-all js-lint* js-compile* js-minify*
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-lint __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-lint __CURRENT__/tobago-theme-standard/target/bootstrap
-[INFO] > eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/ Gruntfile.js
+[INFO] > bootstrap@4.0.0-beta.2 js-lint-docs __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > eslint --config js/tests/.eslintrc.json assets/js/ docs/ sw.js
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > bootstrap@4.0.0-beta.2 js-compile __CURRENT__/tobago-theme-standard/target/bootstrap
[INFO] > npm-run-all --parallel js-compile-*
[INFO]
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-bundle __CURRENT__/tobago-theme-standard/target/bootstrap
-[INFO] > shx cat js/src/util.js js/src/alert.js js/src/button.js js/src/carousel.js js/src/collapse.js js/src/dropdown.js js/src/modal.js js/src/scrollspy.js js/src/tab.js js/src/tooltip.js js/src/popover.js | shx sed "s/^(import|export).*//" | babel --filename js/src/bootstrap.js | node build/stamp.js > dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-standard/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-standard/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[INFO] js/src/alert.js -> js/dist/alert.js
+[INFO] js/src/button.js -> js/dist/button.js
+[INFO] js/src/carousel.js -> js/dist/carousel.js
+[INFO] js/src/collapse.js -> js/dist/collapse.js
+[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
+[INFO] js/src/modal.js -> js/dist/modal.js
+[INFO] js/src/popover.js -> js/dist/popover.js
+[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
+[INFO] js/src/tab.js -> js/dist/tab.js
+[INFO] js/src/tooltip.js -> js/dist/tooltip.js
+[INFO] js/src/util.js -> js/dist/util.js
+[ERROR] created dist/js/bootstrap.js in 2.5s
+[ERROR] created dist/js/bootstrap.bundle.js in 2.7s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-standalone __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap
+[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-standard/target/bootstrap/js/src/index.js → dist/js/bootstrap.js...
+[ERROR] created dist/js/bootstrap.js in 1.5s
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-bundle __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap
[INFO]
+[ERROR]
+[ERROR] __CURRENT__/tobago-theme-standard/target/bootstrap/js/src/index.js → dist/js/bootstrap.bundle.js...
+[ERROR] created dist/js/bootstrap.bundle.js in 1.8s
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-compile-plugins __CURRENT__/tobago-theme-standard/target/bootstrap
-[INFO] > babel js/src/ --out-dir js/dist/ --source-maps
+[INFO] > bootstrap@4.0.0-beta.2 js-compile-plugins __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps
[INFO]
[INFO] js/src/alert.js -> js/dist/alert.js
[INFO] js/src/button.js -> js/dist/button.js
[INFO] js/src/carousel.js -> js/dist/carousel.js
[INFO] js/src/collapse.js -> js/dist/collapse.js
[INFO] js/src/dropdown.js -> js/dist/dropdown.js
+[INFO] js/src/index.js -> js/dist/index.js
[INFO] js/src/modal.js -> js/dist/modal.js
[INFO] js/src/popover.js -> js/dist/popover.js
[INFO] js/src/scrollspy.js -> js/dist/scrollspy.js
@@ -993,8 +1142,36 @@ Build date: 2017-10-12 18:05:14
[INFO] js/src/tooltip.js -> js/dist/tooltip.js
[INFO] js/src/util.js -> js/dist/util.js
[INFO]
-[INFO] > bootstrap@4.0.0-beta js-minify __CURRENT__/tobago-theme-standard/target/bootstrap
-[INFO] > uglifyjs --config-file build/uglifyjs.config.json --output dist/js/bootstrap.min.js dist/js/bootstrap.js
+[INFO] > bootstrap@4.0.0-beta.2 js-minify __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > npm-run-all --parallel js-minify-*
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > 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
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
+[INFO]
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-standalone __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-bundle __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > 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
+[INFO]
+[ERROR] INFO: Using input source map: dist/js/bootstrap.bundle.js.map
+[INFO]
+[INFO] > bootstrap@4.0.0-beta.2 js-minify-docs __CURRENT__/tobago-theme-standard/target/bootstrap
+[INFO] > uglifyjs --mangle --comments "/^!/" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js assets/js/src/application.js assets/js/src/pwa.js
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ tobago-theme-standard ---
@@ -1018,8 +1195,8 @@ Build date: 2017-10-12 18:05:14
[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/tether/1.1.1/css/tether-theme-basic.min.css is younger than original, use 'force' option or clean your target
[INFO] tether-theme-arrows-dark.min.css (4681b) -> tether-theme-arrows-dark.min.min.css (4681b)[100%]
[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/tether/1.1.1/css/tether-theme-arrows.min.css is younger than original, use 'force' option or clean your target
-[INFO] bootstrap.min.css (143380b) -> bootstrap.min.min.css (143147b)[99%]
-[INFO] bootstrap.css (187630b) -> bootstrap.min.css (143577b)[76%]
+[INFO] bootstrap.min.css (145831b) -> bootstrap.min.min.css (145575b)[99%]
+[INFO] bootstrap.css (190014b) -> bootstrap.min.css (146003b)[76%]
[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/font-awesome/4.7.0/css/font-awesome.min.css is younger than original, use 'force' option or clean your target
[INFO] font-awesome.min.css (31000b) -> font-awesome.min.min.css (30990b)[99%]
[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/bootstrap-datetimepicker/4.17.37/css/bootstrap-datetimepicker.min.css is younger than original, use 'force' option or clean your target
@@ -1032,11 +1209,11 @@ Build date: 2017-10-12 18:05:14
[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/tether/1.1.1/css/tether-theme-basic.min.css is younger than original, use 'force' option or clean your target
[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/tether/1.1.1/css/tether-theme-arrows-dark.min.min.css is younger than original, use 'force' option or clean your target
[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/tether/1.1.1/css/tether-theme-arrows.min.css is younger than original, use 'force' option or clean your target
-[INFO] bootstrap.min.css (143380b) -> bootstrap.min.min.css (143147b)[99%]
-[INFO] bootstrap.css (187630b) -> bootstrap.min.css (143577b)[76%]
+[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.min.css is younger than original, use 'force' option or clean your target
+[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css is younger than original, use 'force' option or clean your target
[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/font-awesome/4.7.0/css/font-awesome.min.css is younger than original, use 'force' option or clean your target
[INFO] nothing to do, __CURRENT__/tobago-theme-standard/target/classes/META-INF/resources/tobago/standard/font-awesome/4.7.0/css/font-awesome.min.min.css is younger than original, use 'force' option or clean your target
-[INFO] total input (710922b) -> output (622282b)[87%]
+[INFO] total input (384747b) -> output (340412b)[88%]
[INFO] nb warnings: 0, nb errors: 0
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ tobago-theme-standard ---
@@ -1089,7 +1266,7 @@ Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
-[INFO] Total time: 01:50 min
-[INFO] Finished at: 2017-10-12T18:07:06+02:00
-[INFO] Final Memory: 39M/603M
+[INFO] Total time: 02:05 min
+[INFO] Finished at: 2017-10-20T13:42:57+02:00
+[INFO] Final Memory: 37M/502M
[INFO] ------------------------------------------------------------------------
diff --git a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css
index 962032a..a4b98ce 100644
--- a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css
+++ b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css
@@ -1,6 +1,6 @@
@charset "UTF-8";
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
@@ -21,6 +21,37 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+:root {
+ --blue: #007bff;
+ --indigo: #6610f2;
+ --purple: #6f42c1;
+ --pink: #e83e8c;
+ --red: #dc3545;
+ --orange: #fd7e14;
+ --yellow: #ffc107;
+ --green: #28a745;
+ --teal: #20c997;
+ --cyan: #17a2b8;
+ --white: #fff;
+ --gray: #868e96;
+ --gray-dark: #343a40;
+ --primary: #007bff;
+ --secondary: #868e96;
+ --success: #28a745;
+ --info: #17a2b8;
+ --warning: #ffc107;
+ --danger: #dc3545;
+ --light: #f8f9fa;
+ --dark: #343a40;
+ --breakpoint-xs: 0;
+ --breakpoint-sm: 576px;
+ --breakpoint-md: 768px;
+ --breakpoint-lg: 992px;
+ --breakpoint-xl: 1200px;
+ --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+ --font-family-monospace: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+}
+
@media print {
*,
*::before,
@@ -79,8 +110,13 @@
}
}
-html {
+*,
+*::before,
+*::after {
box-sizing: border-box;
+}
+
+html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
@@ -89,12 +125,6 @@ html {
-webkit-tap-highlight-color: transparent;
}
-*,
-*::before,
-*::after {
- box-sizing: inherit;
-}
-
@-ms-viewport {
width: device-width;
}
@@ -105,11 +135,12 @@ article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, s
body {
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 1rem;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
color: #212529;
+ text-align: left;
background-color: #fff;
}
@@ -125,7 +156,7 @@ hr {
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
- margin-bottom: .5rem;
+ margin-bottom: 0.5rem;
}
p {
@@ -163,7 +194,7 @@ ul ol {
}
dt {
- font-weight: bold;
+ font-weight: 700;
}
dd {
@@ -242,6 +273,7 @@ pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
+ -ms-overflow-style: scrollbar;
}
figure {
@@ -261,7 +293,7 @@ a,
area,
button,
[role="button"],
-input,
+input:not([type="range"]),
label,
select,
summary,
@@ -283,7 +315,7 @@ caption {
}
th {
- text-align: left;
+ text-align: inherit;
}
label {
@@ -291,6 +323,10 @@ label {
margin-bottom: .5rem;
}
+button {
+ border-radius: 0;
+}
+
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
@@ -414,7 +450,7 @@ h1, h2, h3, h4, h5, h6,
margin-bottom: 0.5rem;
font-family: inherit;
font-weight: 500;
- line-height: 1.1;
+ line-height: 1.2;
color: inherit;
}
@@ -450,25 +486,25 @@ h6, .h6 {
.display-1 {
font-size: 6rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-2 {
font-size: 5.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-3 {
font-size: 4.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
.display-4 {
font-size: 3.5rem;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
}
hr {
@@ -481,7 +517,7 @@ hr {
small,
.small {
font-size: 80%;
- font-weight: normal;
+ font-weight: 400;
}
mark,
@@ -561,7 +597,7 @@ code,
kbd,
pre,
samp {
- font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
+ font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
code {
@@ -589,7 +625,7 @@ kbd {
kbd kbd {
padding: 0;
font-size: 100%;
- font-weight: bold;
+ font-weight: 700;
}
pre {
@@ -614,11 +650,11 @@ pre code {
}
.container {
- margin-right: auto;
- margin-left: auto;
+ width: 100%;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
@media (min-width: 576px) {
@@ -647,11 +683,10 @@ pre code {
.container-fluid {
width: 100%;
- margin-right: auto;
- margin-left: auto;
padding-right: 15px;
padding-left: 15px;
- width: 100%;
+ margin-right: auto;
+ margin-left: auto;
}
.row {
@@ -774,6 +809,11 @@ pre code {
max-width: 100%;
}
+.order-first {
+ -ms-flex-order: -1;
+ order: -1;
+}
+
.order-1 {
-ms-flex-order: 1;
order: 1;
@@ -834,6 +874,50 @@ pre code {
order: 12;
}
+.offset-1 {
+ margin-left: 8.333333%;
+}
+
+.offset-2 {
+ margin-left: 16.666667%;
+}
+
+.offset-3 {
+ margin-left: 25%;
+}
+
+.offset-4 {
+ margin-left: 33.333333%;
+}
+
+.offset-5 {
+ margin-left: 41.666667%;
+}
+
+.offset-6 {
+ margin-left: 50%;
+}
+
+.offset-7 {
+ margin-left: 58.333333%;
+}
+
+.offset-8 {
+ margin-left: 66.666667%;
+}
+
+.offset-9 {
+ margin-left: 75%;
+}
+
+.offset-10 {
+ margin-left: 83.333333%;
+}
+
+.offset-11 {
+ margin-left: 91.666667%;
+}
+
@media (min-width: 576px) {
.col-sm {
-ms-flex-preferred-size: 0;
@@ -908,6 +992,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-sm-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-sm-1 {
-ms-flex-order: 1;
order: 1;
@@ -956,6 +1044,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-sm-0 {
+ margin-left: 0;
+ }
+ .offset-sm-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-sm-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-sm-3 {
+ margin-left: 25%;
+ }
+ .offset-sm-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-sm-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-sm-6 {
+ margin-left: 50%;
+ }
+ .offset-sm-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-sm-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-sm-9 {
+ margin-left: 75%;
+ }
+ .offset-sm-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-sm-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 768px) {
@@ -1032,6 +1156,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-md-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-md-1 {
-ms-flex-order: 1;
order: 1;
@@ -1080,6 +1208,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-md-0 {
+ margin-left: 0;
+ }
+ .offset-md-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-md-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-md-3 {
+ margin-left: 25%;
+ }
+ .offset-md-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-md-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-md-6 {
+ margin-left: 50%;
+ }
+ .offset-md-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-md-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-md-9 {
+ margin-left: 75%;
+ }
+ .offset-md-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-md-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 992px) {
@@ -1156,6 +1320,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-lg-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-lg-1 {
-ms-flex-order: 1;
order: 1;
@@ -1204,6 +1372,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-lg-0 {
+ margin-left: 0;
+ }
+ .offset-lg-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-lg-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-lg-3 {
+ margin-left: 25%;
+ }
+ .offset-lg-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-lg-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-lg-6 {
+ margin-left: 50%;
+ }
+ .offset-lg-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-lg-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-lg-9 {
+ margin-left: 75%;
+ }
+ .offset-lg-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-lg-11 {
+ margin-left: 91.666667%;
+ }
}
@media (min-width: 1200px) {
@@ -1280,6 +1484,10 @@ pre code {
flex: 0 0 100%;
max-width: 100%;
}
+ .order-xl-first {
+ -ms-flex-order: -1;
+ order: -1;
+ }
.order-xl-1 {
-ms-flex-order: 1;
order: 1;
@@ -1328,6 +1536,42 @@ pre code {
-ms-flex-order: 12;
order: 12;
}
+ .offset-xl-0 {
+ margin-left: 0;
+ }
+ .offset-xl-1 {
+ margin-left: 8.333333%;
+ }
+ .offset-xl-2 {
+ margin-left: 16.666667%;
+ }
+ .offset-xl-3 {
+ margin-left: 25%;
+ }
+ .offset-xl-4 {
+ margin-left: 33.333333%;
+ }
+ .offset-xl-5 {
+ margin-left: 41.666667%;
+ }
+ .offset-xl-6 {
+ margin-left: 50%;
+ }
+ .offset-xl-7 {
+ margin-left: 58.333333%;
+ }
+ .offset-xl-8 {
+ margin-left: 66.666667%;
+ }
+ .offset-xl-9 {
+ margin-left: 75%;
+ }
+ .offset-xl-10 {
+ margin-left: 83.333333%;
+ }
+ .offset-xl-11 {
+ margin-left: 91.666667%;
+ }
}
.table {
@@ -1519,62 +1763,116 @@ pre code {
background-color: rgba(0, 0, 0, 0.075);
}
-.thead-inverse th {
+.table .thead-dark th {
color: #fff;
background-color: #212529;
+ border-color: #32383e;
}
-.thead-default th {
+.table .thead-light th {
color: #495057;
background-color: #e9ecef;
+ border-color: #e9ecef;
}
-.table-inverse {
+.table-dark {
color: #fff;
background-color: #212529;
}
-.table-inverse th,
-.table-inverse td,
-.table-inverse thead th {
+.table-dark th,
+.table-dark td,
+.table-dark thead th {
border-color: #32383e;
}
-.table-inverse.table-bordered {
+.table-dark.table-bordered {
border: 0;
}
-.table-inverse.table-striped tbody tr:nth-of-type(odd) {
+.table-dark.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(255, 255, 255, 0.05);
}
-.table-inverse.table-hover tbody tr:hover {
+.table-dark.table-hover tbody tr:hover {
background-color: rgba(255, 255, 255, 0.075);
}
+@media (max-width: 575px) {
+ .table-responsive-sm {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-sm.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 767px) {
+ .table-responsive-md {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-md.table-bordered {
+ border: 0;
+ }
+}
+
@media (max-width: 991px) {
- .table-responsive {
+ .table-responsive-lg {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ }
+ .table-responsive-lg.table-bordered {
+ border: 0;
+ }
+}
+
+@media (max-width: 1199px) {
+ .table-responsive-xl {
display: block;
width: 100%;
overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
- .table-responsive.table-bordered {
+ .table-responsive-xl.table-bordered {
border: 0;
}
}
+.table-responsive {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+}
+
+.table-responsive.table-bordered {
+ border: 0;
+}
+
.form-control {
display: block;
width: 100%;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
background-color: #fff;
background-image: none;
background-clip: padding-box;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
@@ -1589,6 +1887,7 @@ pre code {
background-color: #fff;
border-color: #80bdff;
outline: none;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.form-control::-webkit-input-placeholder {
@@ -1631,35 +1930,39 @@ select.form-control:focus::-ms-value {
}
.col-form-label {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem + 1px);
+ padding-bottom: calc(0.375rem + 1px);
margin-bottom: 0;
+ line-height: 1.5;
}
.col-form-label-lg {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.5rem + 1px);
+ padding-bottom: calc(0.5rem + 1px);
font-size: 1.25rem;
+ line-height: 1.5;
}
.col-form-label-sm {
- padding-top: calc(0.25rem - 1px * 2);
- padding-bottom: calc(0.25rem - 1px * 2);
+ padding-top: calc(0.25rem + 1px);
+ padding-bottom: calc(0.25rem + 1px);
font-size: 0.875rem;
+ line-height: 1.5;
}
.col-form-legend {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
font-size: 1rem;
}
.form-control-plaintext {
- padding-top: 0.5rem;
- padding-bottom: 0.5rem;
+ padding-top: 0.375rem;
+ padding-bottom: 0.375rem;
margin-bottom: 0;
- line-height: 1.25;
+ line-height: 1.5;
+ background-color: transparent;
border: solid transparent;
border-width: 1px 0;
}
@@ -1700,7 +2003,7 @@ select.form-control-sm:not([size]):not([multiple]), .input-group-sm > select.for
select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.form-control:not([size]):not([multiple]),
.input-group-lg > select.input-group-addon:not([size]):not([multiple]),
.input-group-lg > .input-group-btn > select.btn:not([size]):not([multiple]) {
- height: calc(2.3125rem + 2px);
+ height: calc(2.875rem + 2px);
}
.form-group {
@@ -1748,30 +2051,23 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
margin-left: -1.25rem;
}
-.form-check-input:only-child {
- position: static;
-}
-
.form-check-inline {
display: inline-block;
+ margin-right: 0.75rem;
}
.form-check-inline .form-check-label {
vertical-align: middle;
}
-.form-check-inline + .form-check-inline {
- margin-left: 0.75rem;
-}
-
-.invalid-feedback {
+.valid-feedback {
display: none;
margin-top: .25rem;
font-size: .875rem;
- color: #dc3545;
+ color: #28a745;
}
-.invalid-tooltip {
+.valid-tooltip {
position: absolute;
top: 100%;
z-index: 5;
@@ -1782,7 +2078,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
font-size: .875rem;
line-height: 1;
color: #fff;
- background-color: rgba(220, 53, 69, 0.8);
+ background-color: rgba(40, 167, 69, 0.8);
border-radius: .2rem;
}
@@ -1798,14 +2094,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
-.was-validated .form-control:valid ~ .invalid-feedback,
-.was-validated .form-control:valid ~ .invalid-tooltip, .form-control.is-valid ~ .invalid-feedback,
-.form-control.is-valid ~ .invalid-tooltip, .was-validated
-.custom-select:valid ~ .invalid-feedback,
+.was-validated .form-control:valid ~ .valid-feedback,
+.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback,
+.form-control.is-valid ~ .valid-tooltip, .was-validated
+.custom-select:valid ~ .valid-feedback,
.was-validated
-.custom-select:valid ~ .invalid-tooltip,
-.custom-select.is-valid ~ .invalid-feedback,
-.custom-select.is-valid ~ .invalid-tooltip {
+.custom-select:valid ~ .valid-tooltip,
+.custom-select.is-valid ~ .valid-feedback,
+.custom-select.is-valid ~ .valid-tooltip {
display: block;
}
@@ -1833,6 +2129,28 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
+.invalid-feedback {
+ display: none;
+ margin-top: .25rem;
+ font-size: .875rem;
+ color: #dc3545;
+}
+
+.invalid-tooltip {
+ position: absolute;
+ top: 100%;
+ z-index: 5;
+ display: none;
+ width: 250px;
+ padding: .5rem;
+ margin-top: .1rem;
+ font-size: .875rem;
+ line-height: 1;
+ color: #fff;
+ background-color: rgba(220, 53, 69, 0.8);
+ border-radius: .2rem;
+}
+
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated
.custom-select:invalid,
.custom-select.is-invalid {
@@ -1925,10 +2243,6 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.form-inline .input-group {
width: auto;
}
- .form-inline .form-control-label {
- margin-bottom: 0;
- vertical-align: middle;
- }
.form-inline .form-check {
display: -ms-flexbox;
display: flex;
@@ -1971,7 +2285,7 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn {
display: inline-block;
- font-weight: normal;
+ font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
@@ -1980,11 +2294,11 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
font-size: 1rem;
- line-height: 1.25;
+ line-height: 1.5;
border-radius: 0.25rem;
- transition: all 0.15s ease-in-out;
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:focus, .btn:hover {
@@ -1993,14 +2307,14 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
.btn:focus, .btn.focus {
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 {
opacity: .65;
}
-.btn:active, .btn.active {
+.btn:not([disabled]):not(.disabled):active, .btn:not([disabled]):not(.disabled).active {
background-image: none;
}
@@ -2022,7 +2336,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2030,11 +2344,12 @@ fieldset[disabled] a.btn {
border-color: #007bff;
}
-.btn-primary:active, .btn-primary.active,
+.btn-primary:not([disabled]):not(.disabled):active, .btn-primary:not([disabled]):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
- background-color: #0069d9;
- background-image: none;
- border-color: #0062cc;
+ color: #fff;
+ background-color: #0062cc;
+ border-color: #005cbf;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-secondary {
@@ -2050,7 +2365,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2058,11 +2373,12 @@ fieldset[disabled] a.btn {
border-color: #868e96;
}
-.btn-secondary:active, .btn-secondary.active,
+.btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
- background-color: #727b84;
- background-image: none;
- border-color: #6c757d;
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #666e76;
+ box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-success {
@@ -2078,7 +2394,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2086,11 +2402,12 @@ fieldset[disabled] a.btn {
border-color: #28a745;
}
-.btn-success:active, .btn-success.active,
+.btn-success:not([disabled]):not(.disabled):active, .btn-success:not([disabled]):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
- background-color: #218838;
- background-image: none;
- border-color: #1e7e34;
+ color: #fff;
+ background-color: #1e7e34;
+ border-color: #1c7430;
+ box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-info {
@@ -2106,7 +2423,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2114,11 +2431,12 @@ fieldset[disabled] a.btn {
border-color: #17a2b8;
}
-.btn-info:active, .btn-info.active,
+.btn-info:not([disabled]):not(.disabled):active, .btn-info:not([disabled]):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
- background-color: #138496;
- background-image: none;
- border-color: #117a8b;
+ color: #fff;
+ background-color: #117a8b;
+ border-color: #10707f;
+ box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-warning {
@@ -2134,7 +2452,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2142,11 +2460,12 @@ fieldset[disabled] a.btn {
border-color: #ffc107;
}
-.btn-warning:active, .btn-warning.active,
+.btn-warning:not([disabled]):not(.disabled):active, .btn-warning:not([disabled]):not(.disabled).active,
.show > .btn-warning.dropdown-toggle {
- background-color: #e0a800;
- background-image: none;
- border-color: #d39e00;
+ color: #111;
+ background-color: #d39e00;
+ border-color: #c69500;
+ box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-danger {
@@ -2162,7 +2481,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2170,11 +2489,12 @@ fieldset[disabled] a.btn {
border-color: #dc3545;
}
-.btn-danger:active, .btn-danger.active,
+.btn-danger:not([disabled]):not(.disabled):active, .btn-danger:not([disabled]):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
- background-color: #c82333;
- background-image: none;
- border-color: #bd2130;
+ color: #fff;
+ background-color: #bd2130;
+ border-color: #b21f2d;
+ box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-light {
@@ -2190,7 +2510,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2198,11 +2518,12 @@ fieldset[disabled] a.btn {
border-color: #f8f9fa;
}
-.btn-light:active, .btn-light.active,
+.btn-light:not([disabled]):not(.disabled):active, .btn-light:not([disabled]):not(.disabled).active,
.show > .btn-light.dropdown-toggle {
- background-color: #e2e6ea;
- background-image: none;
- border-color: #dae0e5;
+ color: #111;
+ background-color: #dae0e5;
+ border-color: #d3d9df;
+ box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-dark {
@@ -2218,7 +2539,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2226,11 +2547,12 @@ fieldset[disabled] a.btn {
border-color: #343a40;
}
-.btn-dark:active, .btn-dark.active,
+.btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active,
.show > .btn-dark.dropdown-toggle {
- background-color: #23272b;
- background-image: none;
- border-color: #1d2124;
+ color: #fff;
+ background-color: #1d2124;
+ border-color: #171a1d;
+ box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-outline-primary {
@@ -2247,7 +2569,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2255,11 +2577,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-primary:active, .btn-outline-primary.active,
+.btn-outline-primary:not([disabled]):not(.disabled):active, .btn-outline-primary:not([disabled]):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
color: #fff;
background-color: #007bff;
border-color: #007bff;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.btn-outline-secondary {
@@ -2276,7 +2599,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2284,11 +2607,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-secondary:active, .btn-outline-secondary.active,
+.btn-outline-secondary:not([disabled]):not(.disabled):active, .btn-outline-secondary:not([disabled]):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
color: #fff;
background-color: #868e96;
border-color: #868e96;
+ box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5);
}
.btn-outline-success {
@@ -2305,7 +2629,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2313,11 +2637,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-success:active, .btn-outline-success.active,
+.btn-outline-success:not([disabled]):not(.disabled):active, .btn-outline-success:not([disabled]):not(.disabled).active,
.show > .btn-outline-success.dropdown-toggle {
color: #fff;
background-color: #28a745;
border-color: #28a745;
+ box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}
.btn-outline-info {
@@ -2334,7 +2659,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2342,11 +2667,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-info:active, .btn-outline-info.active,
+.btn-outline-info:not([disabled]):not(.disabled):active, .btn-outline-info:not([disabled]):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
color: #fff;
background-color: #17a2b8;
border-color: #17a2b8;
+ box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}
.btn-outline-warning {
@@ -2363,7 +2689,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2371,11 +2697,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-warning:active, .btn-outline-warning.active,
+.btn-outline-warning:not([disabled]):not(.disabled):active, .btn-outline-warning:not([disabled]):not(.disabled).active,
.show > .btn-outline-warning.dropdown-toggle {
color: #fff;
background-color: #ffc107;
border-color: #ffc107;
+ box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}
.btn-outline-danger {
@@ -2392,7 +2719,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2400,11 +2727,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-danger:active, .btn-outline-danger.active,
+.btn-outline-danger:not([disabled]):not(.disabled):active, .btn-outline-danger:not([disabled]):not(.disabled).active,
.show > .btn-outline-danger.dropdown-toggle {
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
+ box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}
.btn-outline-light {
@@ -2415,13 +2743,13 @@ fieldset[disabled] a.btn {
}
.btn-outline-light:hover {
- color: #fff;
+ color: #212529;
background-color: #f8f9fa;
border-color: #f8f9fa;
}
.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 {
@@ -2429,11 +2757,12 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-light:active, .btn-outline-light.active,
+.btn-outline-light:not([disabled]):not(.disabled):active, .btn-outline-light:not([disabled]):not(.disabled).active,
.show > .btn-outline-light.dropdown-toggle {
- color: #fff;
+ color: #212529;
background-color: #f8f9fa;
border-color: #f8f9fa;
+ box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
.btn-outline-dark {
@@ -2450,7 +2779,7 @@ fieldset[disabled] a.btn {
}
.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 {
@@ -2458,44 +2787,34 @@ fieldset[disabled] a.btn {
background-color: transparent;
}
-.btn-outline-dark:active, .btn-outline-dark.active,
+.btn-outline-dark:not([disabled]):not(.disabled):active, .btn-outline-dark:not([disabled]):not(.disabled).active,
.show > .btn-outline-dark.dropdown-toggle {
color: #fff;
background-color: #343a40;
border-color: #343a40;
+ box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.btn-link {
- font-weight: normal;
+ font-weight: 400;
color: #007bff;
- border-radius: 0;
-}
-
-.btn-link, .btn-link:active, .btn-link.active, .btn-link:disabled {
background-color: transparent;
}
-.btn-link, .btn-link:focus, .btn-link:active {
- border-color: transparent;
- box-shadow: none;
-}
-
.btn-link:hover {
- border-color: transparent;
-}
-
-.btn-link:focus, .btn-link:hover {
color: #0056b3;
text-decoration: underline;
background-color: transparent;
+ border-color: transparent;
}
-.btn-link:disabled {
- color: #868e96;
+.btn-link:focus, .btn-link.focus {
+ border-color: transparent;
+ box-shadow: none;
}
-.btn-link:disabled:focus, .btn-link:disabled:hover {
- text-decoration: none;
+.btn-link:disabled, .btn-link.disabled {
+ color: #868e96;
}
.btn-lg, .btn-group-lg > .btn {
@@ -2573,6 +2892,7 @@ tbody.collapse.show {
content: "";
border-top: 0.3em solid;
border-right: 0.3em solid transparent;
+ border-bottom: 0;
border-left: 0.3em solid transparent;
}
@@ -2580,16 +2900,6 @@ tbody.collapse.show {
margin-left: 0;
}
-.dropup .dropdown-menu {
- margin-top: 0;
- margin-bottom: 0.125rem;
-}
-
-.dropup .dropdown-toggle::after {
- border-top: 0;
- border-bottom: 0.3em solid;
-}
-
.dropdown-menu {
position: absolute;
top: 100%;
@@ -2610,6 +2920,28 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.dropup .dropdown-menu {
+ margin-top: 0;
+ margin-bottom: 0.125rem;
+}
+
+.dropup .dropdown-toggle::after {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0.3em solid;
+ border-left: 0.3em solid transparent;
+}
+
+.dropup .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+
.dropdown-divider {
height: 0;
margin: 0.5rem 0;
@@ -2622,7 +2954,7 @@ tbody.collapse.show {
width: 100%;
padding: 0.25rem 1.5rem;
clear: both;
- font-weight: normal;
+ font-weight: 400;
color: #212529;
text-align: inherit;
white-space: nowrap;
@@ -2647,10 +2979,6 @@ tbody.collapse.show {
background-color: transparent;
}
-.show > a {
- outline: 0;
-}
-
.dropdown-menu.show {
display: block;
}
@@ -2677,7 +3005,6 @@ tbody.collapse.show {
position: relative;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
- margin-bottom: 0;
}
.btn-group > .btn:hover,
@@ -2774,8 +3101,6 @@ tbody.collapse.show {
}
.btn-group-vertical {
- display: -ms-inline-flexbox;
- display: inline-flex;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-align: start;
@@ -2839,6 +3164,8 @@ tbody.collapse.show {
position: relative;
display: -ms-flexbox;
display: flex;
+ -ms-flex-align: stretch;
+ align-items: stretch;
width: 100%;
}
@@ -2873,19 +3200,18 @@ tbody.collapse.show {
.input-group-addon,
.input-group-btn {
white-space: nowrap;
- vertical-align: middle;
}
.input-group-addon {
- padding: 0.5rem 0.75rem;
+ padding: 0.375rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
- font-weight: normal;
- line-height: 1.25;
+ font-weight: 400;
+ line-height: 1.5;
color: #495057;
text-align: center;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -2942,6 +3268,8 @@ tbody.collapse.show {
.input-group-btn {
position: relative;
+ -ms-flex-align: stretch;
+ align-items: stretch;
font-size: 0;
white-space: nowrap;
}
@@ -2958,6 +3286,10 @@ tbody.collapse.show {
z-index: 3;
}
+.input-group-btn:first-child > .btn + .btn {
+ margin-left: 0;
+}
+
.input-group-btn:not(:last-child) > .btn,
.input-group-btn:not(:last-child) > .btn-group {
margin-right: -1px;
@@ -2966,6 +3298,11 @@ tbody.collapse.show {
.input-group-btn:not(:first-child) > .btn,
.input-group-btn:not(:first-child) > .btn-group {
z-index: 2;
+ margin-left: 0;
+}
+
+.input-group-btn:not(:first-child) > .btn:first-child,
+.input-group-btn:not(:first-child) > .btn-group:first-child {
margin-left: -1px;
}
@@ -2997,7 +3334,7 @@ tbody.collapse.show {
}
.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 {
@@ -3072,12 +3409,12 @@ tbody.collapse.show {
max-width: 100%;
height: calc(2.25rem + 2px);
padding: 0.375rem 1.75rem 0.375rem 0.75rem;
- line-height: 1.25;
+ line-height: 1.5;
color: #495057;
vertical-align: middle;
background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
background-size: 8px 10px;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
-webkit-appearance: none;
-moz-appearance: none;
@@ -3094,6 +3431,11 @@ tbody.collapse.show {
background-color: #fff;
}
+.custom-select[multiple] {
+ height: auto;
+ background-image: none;
+}
+
.custom-select:disabled {
color: #868e96;
background-color: #e9ecef;
@@ -3114,26 +3456,30 @@ tbody.collapse.show {
position: relative;
display: inline-block;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin-bottom: 0;
}
.custom-file-input {
min-width: 14rem;
max-width: 100%;
- height: 2.5rem;
+ height: calc(2.25rem + 2px);
margin: 0;
opacity: 0;
}
+.custom-file-input:focus ~ .custom-file-control {
+ box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.2rem #007bff;
+}
+
.custom-file-control {
position: absolute;
top: 0;
right: 0;
left: 0;
z-index: 5;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
pointer-events: none;
@@ -3142,7 +3488,7 @@ tbody.collapse.show {
-ms-user-select: none;
user-select: none;
background-color: #fff;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0.25rem;
}
@@ -3157,12 +3503,12 @@ tbody.collapse.show {
bottom: -1px;
z-index: 6;
display: block;
- height: 2.5rem;
- padding: 0.5rem 1rem;
+ height: calc(2.25rem + 2px);
+ padding: 0.375rem 0.75rem;
line-height: 1.5;
color: #495057;
background-color: #e9ecef;
- border: 1px solid rgba(0, 0, 0, 0.15);
+ border: 1px solid #ced4da;
border-radius: 0 0.25rem 0.25rem 0;
}
@@ -3235,7 +3581,7 @@ tbody.collapse.show {
}
.nav-pills .nav-link.active,
-.show > .nav-pills .nav-link {
+.nav-pills .show > .nav-link {
color: #fff;
background-color: #007bff;
}
@@ -3330,6 +3676,8 @@ tbody.collapse.show {
.navbar-collapse {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
+ -ms-flex-positive: 1;
+ flex-grow: 1;
-ms-flex-align: center;
align-items: center;
}
@@ -3367,10 +3715,8 @@ tbody.collapse.show {
@media (min-width: 576px) {
.navbar-expand-sm {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3397,10 +3743,16 @@ tbody.collapse.show {
.navbar-expand-sm .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-sm .navbar-toggler {
display: none;
}
+ .navbar-expand-sm .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 767px) {
@@ -3413,10 +3765,8 @@ tbody.collapse.show {
@media (min-width: 768px) {
.navbar-expand-md {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3443,10 +3793,16 @@ tbody.collapse.show {
.navbar-expand-md .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-md .navbar-toggler {
display: none;
}
+ .navbar-expand-md .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 991px) {
@@ -3459,10 +3815,8 @@ tbody.collapse.show {
@media (min-width: 992px) {
.navbar-expand-lg {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3489,10 +3843,16 @@ tbody.collapse.show {
.navbar-expand-lg .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-lg .navbar-toggler {
display: none;
}
+ .navbar-expand-lg .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
@media (max-width: 1199px) {
@@ -3505,10 +3865,8 @@ tbody.collapse.show {
@media (min-width: 1200px) {
.navbar-expand-xl {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3535,17 +3893,21 @@ tbody.collapse.show {
.navbar-expand-xl .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand-xl .navbar-toggler {
display: none;
}
+ .navbar-expand-xl .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ }
}
.navbar-expand {
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
+ -ms-flex-flow: row nowrap;
+ flex-flow: row nowrap;
-ms-flex-pack: start;
justify-content: flex-start;
}
@@ -3584,12 +3946,19 @@ tbody.collapse.show {
.navbar-expand .navbar-collapse {
display: -ms-flexbox !important;
display: flex !important;
+ -ms-flex-preferred-size: auto;
+ flex-basis: auto;
}
.navbar-expand .navbar-toggler {
display: none;
}
+.navbar-expand .dropup .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+}
+
.navbar-light .navbar-brand {
color: rgba(0, 0, 0, 0.9);
}
@@ -3630,12 +3999,20 @@ tbody.collapse.show {
color: rgba(0, 0, 0, 0.5);
}
+.navbar-light .navbar-text a {
+ color: rgba(0, 0, 0, 0.9);
+}
+
+.navbar-light .navbar-text a:focus, .navbar-light .navbar-text a:hover {
+ color: rgba(0, 0, 0, 0.9);
+}
+
.navbar-dark .navbar-brand {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-nav .nav-link {
@@ -3654,7 +4031,7 @@ tbody.collapse.show {
.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .nav-link.active {
- color: white;
+ color: #fff;
}
.navbar-dark .navbar-toggler {
@@ -3670,6 +4047,14 @@ tbody.collapse.show {
color: rgba(255, 255, 255, 0.5);
}
+.navbar-dark .navbar-text a {
+ color: #fff;
+}
+
+.navbar-dark .navbar-text a:focus, .navbar-dark .navbar-text a:hover {
+ color: #fff;
+}
+
.card {
position: relative;
display: -ms-flexbox;
@@ -3684,6 +4069,21 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
+.card > hr {
+ margin-right: 0;
+ margin-left: 0;
+}
+
+.card > .list-group:first-child .list-group-item:first-child {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+}
+
+.card > .list-group:last-child .list-group-item:last-child {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+
.card-body {
-ms-flex: 1 1 auto;
flex: 1 1 auto;
@@ -3711,16 +4111,6 @@ tbody.collapse.show {
margin-left: 1.25rem;
}
-.card > .list-group:first-child .list-group-item:first-child {
- border-top-left-radius: 0.25rem;
- border-top-right-radius: 0.25rem;
-}
-
-.card > .list-group:last-child .list-group-item:last-child {
- border-bottom-right-radius: 0.25rem;
- border-bottom-left-radius: 0.25rem;
-}
-
.card-header {
padding: 0.75rem 1.25rem;
margin-bottom: 0;
@@ -3732,6 +4122,10 @@ tbody.collapse.show {
border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
+.card-header + .list-group .list-group-item:first-child {
+ border-top: 0;
+}
+
.card-footer {
padding: 0.75rem 1.25rem;
background-color: rgba(0, 0, 0, 0.03);
@@ -3780,10 +4174,19 @@ tbody.collapse.show {
border-bottom-left-radius: calc(0.25rem - 1px);
}
+.card-deck {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-deck .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-deck {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
margin-right: -15px;
@@ -3797,20 +4200,31 @@ tbody.collapse.show {
-ms-flex-direction: column;
flex-direction: column;
margin-right: 15px;
+ margin-bottom: 0;
margin-left: 15px;
}
}
+.card-group {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.card-group .card {
+ margin-bottom: 15px;
+}
+
@media (min-width: 576px) {
.card-group {
- display: -ms-flexbox;
- display: flex;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
}
.card-group .card {
-ms-flex: 1 0 0%;
flex: 1 0 0%;
+ margin-bottom: 0;
}
.card-group .card + .card {
margin-left: 0;
@@ -3836,11 +4250,22 @@ tbody.collapse.show {
.card-group .card:last-child .card-img-bottom {
border-bottom-left-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) {
+ .card-group .card:only-child {
+ border-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-top {
+ border-top-left-radius: 0.25rem;
+ border-top-right-radius: 0.25rem;
+ }
+ .card-group .card:only-child .card-img-bottom {
+ border-bottom-right-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+ }
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) {
border-radius: 0;
}
- .card-group .card:not(:first-child):not(:last-child) .card-img-top,
- .card-group .card:not(:first-child):not(:last-child) .card-img-bottom {
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
+ .card-group .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom {
border-radius: 0;
}
}
@@ -3863,6 +4288,10 @@ tbody.collapse.show {
}
.breadcrumb {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-wrap: wrap;
+ flex-wrap: wrap;
padding: 0.75rem 1rem;
margin-bottom: 1rem;
list-style: none;
@@ -3870,16 +4299,6 @@ tbody.collapse.show {
border-radius: 0.25rem;
}
-.breadcrumb::after {
- display: block;
- clear: both;
- content: "";
-}
-
-.breadcrumb-item {
- float: left;
-}
-
.breadcrumb-item + .breadcrumb-item::before {
display: inline-block;
padding-right: 0.5rem;
@@ -3987,9 +4406,8 @@ tbody.collapse.show {
display: inline-block;
padding: 0.25em 0.4em;
font-size: 75%;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
- color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
@@ -4119,6 +4537,7 @@ tbody.collapse.show {
}
.alert {
+ position: relative;
padding: 0.75rem 1.25rem;
margin-bottom: 1rem;
border: 1px solid transparent;
@@ -4130,13 +4549,13 @@ tbody.collapse.show {
}
.alert-link {
- font-weight: bold;
+ font-weight: 700;
}
.alert-dismissible .close {
- position: relative;
- top: -0.75rem;
- right: -1.25rem;
+ position: absolute;
+ top: 0;
+ right: 0;
padding: 0.75rem 1.25rem;
color: inherit;
}
@@ -4274,20 +4693,22 @@ tbody.collapse.show {
.progress {
display: -ms-flexbox;
display: flex;
+ height: 1rem;
overflow: hidden;
font-size: 0.75rem;
- line-height: 1rem;
- text-align: center;
background-color: #e9ecef;
border-radius: 0.25rem;
}
.progress-bar {
- height: 1rem;
- line-height: 1rem;
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-align: center;
+ align-items: center;
+ -ms-flex-pack: center;
+ justify-content: center;
color: #fff;
background-color: #007bff;
- transition: width 0.6s ease;
}
.progress-bar-striped {
@@ -4583,7 +5004,7 @@ button.list-group-item-dark.active {
.close {
float: right;
font-size: 1.5rem;
- font-weight: bold;
+ font-weight: 700;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
@@ -4641,6 +5062,7 @@ button.close {
position: relative;
width: auto;
margin: 10px;
+ pointer-events: none;
}
.modal-content {
@@ -4649,6 +5071,7 @@ button.close {
display: flex;
-ms-flex-direction: column;
flex-direction: column;
+ pointer-events: auto;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.2);
@@ -4677,12 +5100,19 @@ button.close {
.modal-header {
display: -ms-flexbox;
display: flex;
- -ms-flex-align: center;
- align-items: center;
+ -ms-flex-align: start;
+ align-items: flex-start;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 15px;
border-bottom: 1px solid #e9ecef;
+ border-top-left-radius: 0.3rem;
+ border-top-right-radius: 0.3rem;
+}
+
+.modal-header .close {
+ padding: 15px;
+ margin: -15px -15px -15px auto;
}
.modal-title {
@@ -4745,9 +5175,9 @@ button.close {
z-index: 1070;
display: block;
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4775,6 +5205,12 @@ button.close {
height: 5px;
}
+.tooltip .arrow::before {
+ position: absolute;
+ border-color: transparent;
+ border-style: solid;
+}
+
.tooltip.bs-tooltip-top, .tooltip.bs-tooltip-auto[x-placement^="top"] {
padding: 5px 0;
}
@@ -4836,12 +5272,6 @@ button.close {
border-left-color: #000;
}
-.tooltip .arrow::before {
- position: absolute;
- border-color: transparent;
- border-style: solid;
-}
-
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
@@ -4858,10 +5288,9 @@ button.close {
z-index: 1060;
display: block;
max-width: 276px;
- padding: 1px;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-style: normal;
- font-weight: normal;
+ font-weight: 400;
line-height: 1.5;
text-align: left;
text-align: start;
@@ -4884,8 +5313,8 @@ button.close {
.popover .arrow {
position: absolute;
display: block;
- width: 10px;
- height: 5px;
+ width: 0.8rem;
+ height: 0.4rem;
}
.popover .arrow::before,
@@ -4898,16 +5327,16 @@ button.close {
.popover .arrow::before {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover .arrow::after {
content: "";
- border-width: 11px;
+ border-width: 0.8rem;
}
.popover.bs-popover-top, .popover.bs-popover-auto[x-placement^="top"] {
- margin-bottom: 10px;
+ margin-bottom: 0.8rem;
}
.popover.bs-popover-top .arrow, .popover.bs-popover-auto[x-placement^="top"] .arrow {
@@ -4920,19 +5349,19 @@ button.close {
}
.popover.bs-popover-top .arrow::before, .popover.bs-popover-auto[x-placement^="top"] .arrow::before {
- bottom: -11px;
- margin-left: -6px;
+ bottom: -0.8rem;
+ margin-left: -0.8rem;
border-top-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-top .arrow::after, .popover.bs-popover-auto[x-placement^="top"] .arrow::after {
- bottom: -10px;
- margin-left: -6px;
+ bottom: calc((0.8rem - 1px) * -1);
+ margin-left: -0.8rem;
border-top-color: #fff;
}
.popover.bs-popover-right, .popover.bs-popover-auto[x-placement^="right"] {
- margin-left: 10px;
+ margin-left: 0.8rem;
}
.popover.bs-popover-right .arrow, .popover.bs-popover-auto[x-placement^="right"] .arrow {
@@ -4941,22 +5370,22 @@ button.close {
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before,
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-left-width: 0;
}
.popover.bs-popover-right .arrow::before, .popover.bs-popover-auto[x-placement^="right"] .arrow::before {
- left: -11px;
+ left: -0.8rem;
border-right-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-right .arrow::after, .popover.bs-popover-auto[x-placement^="right"] .arrow::after {
- left: -10px;
+ left: calc((0.8rem - 1px) * -1);
border-right-color: #fff;
}
.popover.bs-popover-bottom, .popover.bs-popover-auto[x-placement^="bottom"] {
- margin-top: 10px;
+ margin-top: 0.8rem;
}
.popover.bs-popover-bottom .arrow, .popover.bs-popover-auto[x-placement^="bottom"] .arrow {
@@ -4965,17 +5394,17 @@ button.close {
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before,
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- margin-left: -7px;
+ margin-left: -0.8rem;
border-top-width: 0;
}
.popover.bs-popover-bottom .arrow::before, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::before {
- top: -11px;
+ top: -0.8rem;
border-bottom-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-bottom .arrow::after, .popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
- top: -10px;
+ top: calc((0.8rem - 1px) * -1);
border-bottom-color: #fff;
}
@@ -4991,7 +5420,7 @@ button.close {
}
.popover.bs-popover-left, .popover.bs-popover-auto[x-placement^="left"] {
- margin-right: 10px;
+ margin-right: 0.8rem;
}
.popover.bs-popover-left .arrow, .popover.bs-popover-auto[x-placement^="left"] .arrow {
@@ -5000,22 +5429,22 @@ button.close {
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before,
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- margin-top: -8px;
+ margin-top: -0.8rem;
border-right-width: 0;
}
.popover.bs-popover-left .arrow::before, .popover.bs-popover-auto[x-placement^="left"] .arrow::before {
- right: -11px;
+ right: -0.8rem;
border-left-color: rgba(0, 0, 0, 0.25);
}
.popover.bs-popover-left .arrow::after, .popover.bs-popover-auto[x-placement^="left"] .arrow::after {
- right: -10px;
+ right: calc((0.8rem - 1px) * -1);
border-left-color: #fff;
}
.popover-header {
- padding: 8px 14px;
+ padding: 0.5rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
color: inherit;
@@ -5030,7 +5459,7 @@ button.close {
}
.popover-body {
- padding: 9px 14px;
+ padding: 0.5rem 0.75rem;
color: #212529;
}
@@ -5157,11 +5586,11 @@ button.close {
}
.carousel-control-prev-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.carousel-indicators {
@@ -5409,11 +5838,11 @@ a.bg-dark:focus, a.bg-dark:hover {
}
.rounded-circle {
- border-radius: 50%;
+ border-radius: 50% !important;
}
.rounded-0 {
- border-radius: 0;
+ border-radius: 0 !important;
}
.clearfix::after {
@@ -5442,6 +5871,10 @@ a.bg-dark:focus, a.bg-dark:hover {
display: table !important;
}
+.d-table-row {
+ display: table-row !important;
+}
+
.d-table-cell {
display: table-cell !important;
}
@@ -5472,6 +5905,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-sm-table {
display: table !important;
}
+ .d-sm-table-row {
+ display: table-row !important;
+ }
.d-sm-table-cell {
display: table-cell !important;
}
@@ -5501,6 +5937,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-md-table {
display: table !important;
}
+ .d-md-table-row {
+ display: table-row !important;
+ }
.d-md-table-cell {
display: table-cell !important;
}
@@ -5530,6 +5969,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-lg-table {
display: table !important;
}
+ .d-lg-table-row {
+ display: table-row !important;
+ }
.d-lg-table-cell {
display: table-cell !important;
}
@@ -5559,6 +6001,9 @@ a.bg-dark:focus, a.bg-dark:hover {
.d-xl-table {
display: table !important;
}
+ .d-xl-table-row {
+ display: table-row !important;
+ }
.d-xl-table-cell {
display: table-cell !important;
}
@@ -6332,10 +6777,31 @@ a.bg-dark:focus, a.bg-dark:hover {
}
}
-.fixed-top {
- position: fixed;
- top: 0;
- right: 0;
+.position-static {
+ position: static !important;
+}
+
+.position-relative {
+ position: relative !important;
+}
+
+.position-absolute {
+ position: absolute !important;
+}
+
+.position-fixed {
+ position: fixed !important;
+}
+
+.position-sticky {
+ position: -webkit-sticky !important;
+ position: sticky !important;
+}
+
+.fixed-top {
+ position: fixed;
+ top: 0;
+ right: 0;
left: 0;
z-index: 1030;
}
@@ -6425,1598 +6891,1312 @@ a.bg-dark:focus, a.bg-dark:hover {
margin: 0 !important;
}
-.mt-0 {
+.mt-0,
+.my-0 {
margin-top: 0 !important;
}
-.mr-0 {
+.mr-0,
+.mx-0 {
margin-right: 0 !important;
}
-.mb-0 {
+.mb-0,
+.my-0 {
margin-bottom: 0 !important;
}
-.ml-0 {
- margin-left: 0 !important;
-}
-
+.ml-0,
.mx-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
-.my-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
-}
-
.m-1 {
margin: 0.25rem !important;
}
-.mt-1 {
+.mt-1,
+.my-1 {
margin-top: 0.25rem !important;
}
-.mr-1 {
+.mr-1,
+.mx-1 {
margin-right: 0.25rem !important;
}
-.mb-1 {
+.mb-1,
+.my-1 {
margin-bottom: 0.25rem !important;
}
-.ml-1 {
- margin-left: 0.25rem !important;
-}
-
+.ml-1,
.mx-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
-.my-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
-}
-
.m-2 {
margin: 0.5rem !important;
}
-.mt-2 {
+.mt-2,
+.my-2 {
margin-top: 0.5rem !important;
}
-.mr-2 {
+.mr-2,
+.mx-2 {
margin-right: 0.5rem !important;
}
-.mb-2 {
+.mb-2,
+.my-2 {
margin-bottom: 0.5rem !important;
}
-.ml-2 {
- margin-left: 0.5rem !important;
-}
-
+.ml-2,
.mx-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
-.my-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
-}
-
.m-3 {
margin: 1rem !important;
}
-.mt-3 {
+.mt-3,
+.my-3 {
margin-top: 1rem !important;
}
-.mr-3 {
+.mr-3,
+.mx-3 {
margin-right: 1rem !important;
}
-.mb-3 {
+.mb-3,
+.my-3 {
margin-bottom: 1rem !important;
}
-.ml-3 {
- margin-left: 1rem !important;
-}
-
+.ml-3,
.mx-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
-.my-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
-}
-
.m-4 {
margin: 1.5rem !important;
}
-.mt-4 {
+.mt-4,
+.my-4 {
margin-top: 1.5rem !important;
}
-.mr-4 {
+.mr-4,
+.mx-4 {
margin-right: 1.5rem !important;
}
-.mb-4 {
+.mb-4,
+.my-4 {
margin-bottom: 1.5rem !important;
}
-.ml-4 {
- margin-left: 1.5rem !important;
-}
-
+.ml-4,
.mx-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
-.my-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
-}
-
.m-5 {
margin: 3rem !important;
}
-.mt-5 {
+.mt-5,
+.my-5 {
margin-top: 3rem !important;
}
-.mr-5 {
+.mr-5,
+.mx-5 {
margin-right: 3rem !important;
}
-.mb-5 {
+.mb-5,
+.my-5 {
margin-bottom: 3rem !important;
}
-.ml-5 {
- margin-left: 3rem !important;
-}
-
+.ml-5,
.mx-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
-.my-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
-}
-
.p-0 {
padding: 0 !important;
}
-.pt-0 {
+.pt-0,
+.py-0 {
padding-top: 0 !important;
}
-.pr-0 {
+.pr-0,
+.px-0 {
padding-right: 0 !important;
}
-.pb-0 {
+.pb-0,
+.py-0 {
padding-bottom: 0 !important;
}
-.pl-0 {
- padding-left: 0 !important;
-}
-
+.pl-0,
.px-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
-.py-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
-}
-
.p-1 {
padding: 0.25rem !important;
}
-.pt-1 {
+.pt-1,
+.py-1 {
padding-top: 0.25rem !important;
}
-.pr-1 {
+.pr-1,
+.px-1 {
padding-right: 0.25rem !important;
}
-.pb-1 {
+.pb-1,
+.py-1 {
padding-bottom: 0.25rem !important;
}
-.pl-1 {
- padding-left: 0.25rem !important;
-}
-
+.pl-1,
.px-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
-.py-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
-}
-
.p-2 {
padding: 0.5rem !important;
}
-.pt-2 {
+.pt-2,
+.py-2 {
padding-top: 0.5rem !important;
}
-.pr-2 {
+.pr-2,
+.px-2 {
padding-right: 0.5rem !important;
}
-.pb-2 {
+.pb-2,
+.py-2 {
padding-bottom: 0.5rem !important;
}
-.pl-2 {
- padding-left: 0.5rem !important;
-}
-
+.pl-2,
.px-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
-.py-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
-}
-
.p-3 {
padding: 1rem !important;
}
-.pt-3 {
+.pt-3,
+.py-3 {
padding-top: 1rem !important;
}
-.pr-3 {
+.pr-3,
+.px-3 {
padding-right: 1rem !important;
}
-.pb-3 {
+.pb-3,
+.py-3 {
padding-bottom: 1rem !important;
}
-.pl-3 {
- padding-left: 1rem !important;
-}
-
+.pl-3,
.px-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
-.py-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
-}
-
.p-4 {
padding: 1.5rem !important;
}
-.pt-4 {
+.pt-4,
+.py-4 {
padding-top: 1.5rem !important;
}
-.pr-4 {
+.pr-4,
+.px-4 {
padding-right: 1.5rem !important;
}
-.pb-4 {
+.pb-4,
+.py-4 {
padding-bottom: 1.5rem !important;
}
-.pl-4 {
- padding-left: 1.5rem !important;
-}
-
+.pl-4,
.px-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
-.py-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
-}
-
.p-5 {
padding: 3rem !important;
}
-.pt-5 {
+.pt-5,
+.py-5 {
padding-top: 3rem !important;
}
-.pr-5 {
+.pr-5,
+.px-5 {
padding-right: 3rem !important;
}
-.pb-5 {
+.pb-5,
+.py-5 {
padding-bottom: 3rem !important;
}
-.pl-5 {
- padding-left: 3rem !important;
-}
-
+.pl-5,
.px-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
-.py-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
-}
-
.m-auto {
margin: auto !important;
}
-.mt-auto {
+.mt-auto,
+.my-auto {
margin-top: auto !important;
}
-.mr-auto {
+.mr-auto,
+.mx-auto {
margin-right: auto !important;
}
-.mb-auto {
+.mb-auto,
+.my-auto {
margin-bottom: auto !important;
}
-.ml-auto {
- margin-left: auto !important;
-}
-
+.ml-auto,
.mx-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
-.my-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
-}
-
@media (min-width: 576px) {
.m-sm-0 {
margin: 0 !important;
}
- .mt-sm-0 {
+ .mt-sm-0,
+ .my-sm-0 {
margin-top: 0 !important;
}
- .mr-sm-0 {
+ .mr-sm-0,
+ .mx-sm-0 {
margin-right: 0 !important;
}
- .mb-sm-0 {
+ .mb-sm-0,
+ .my-sm-0 {
margin-bottom: 0 !important;
}
- .ml-sm-0 {
- margin-left: 0 !important;
- }
+ .ml-sm-0,
.mx-sm-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-sm-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-sm-1 {
margin: 0.25rem !important;
}
- .mt-sm-1 {
+ .mt-sm-1,
+ .my-sm-1 {
margin-top: 0.25rem !important;
}
- .mr-sm-1 {
+ .mr-sm-1,
+ .mx-sm-1 {
margin-right: 0.25rem !important;
}
- .mb-sm-1 {
+ .mb-sm-1,
+ .my-sm-1 {
margin-bottom: 0.25rem !important;
}
- .ml-sm-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-sm-1,
.mx-sm-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-sm-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-sm-2 {
margin: 0.5rem !important;
}
- .mt-sm-2 {
+ .mt-sm-2,
+ .my-sm-2 {
margin-top: 0.5rem !important;
}
- .mr-sm-2 {
+ .mr-sm-2,
+ .mx-sm-2 {
margin-right: 0.5rem !important;
}
- .mb-sm-2 {
+ .mb-sm-2,
+ .my-sm-2 {
margin-bottom: 0.5rem !important;
}
- .ml-sm-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-sm-2,
.mx-sm-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-sm-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-sm-3 {
margin: 1rem !important;
}
- .mt-sm-3 {
+ .mt-sm-3,
+ .my-sm-3 {
margin-top: 1rem !important;
}
- .mr-sm-3 {
+ .mr-sm-3,
+ .mx-sm-3 {
margin-right: 1rem !important;
}
- .mb-sm-3 {
+ .mb-sm-3,
+ .my-sm-3 {
margin-bottom: 1rem !important;
}
- .ml-sm-3 {
- margin-left: 1rem !important;
- }
+ .ml-sm-3,
.mx-sm-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-sm-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-sm-4 {
margin: 1.5rem !important;
}
- .mt-sm-4 {
+ .mt-sm-4,
+ .my-sm-4 {
margin-top: 1.5rem !important;
}
- .mr-sm-4 {
+ .mr-sm-4,
+ .mx-sm-4 {
margin-right: 1.5rem !important;
}
- .mb-sm-4 {
+ .mb-sm-4,
+ .my-sm-4 {
margin-bottom: 1.5rem !important;
}
- .ml-sm-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-sm-4,
.mx-sm-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-sm-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-sm-5 {
margin: 3rem !important;
}
- .mt-sm-5 {
+ .mt-sm-5,
+ .my-sm-5 {
margin-top: 3rem !important;
}
- .mr-sm-5 {
+ .mr-sm-5,
+ .mx-sm-5 {
margin-right: 3rem !important;
}
- .mb-sm-5 {
+ .mb-sm-5,
+ .my-sm-5 {
margin-bottom: 3rem !important;
}
- .ml-sm-5 {
- margin-left: 3rem !important;
- }
+ .ml-sm-5,
.mx-sm-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-sm-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-sm-0 {
padding: 0 !important;
}
- .pt-sm-0 {
+ .pt-sm-0,
+ .py-sm-0 {
padding-top: 0 !important;
}
- .pr-sm-0 {
+ .pr-sm-0,
+ .px-sm-0 {
padding-right: 0 !important;
}
- .pb-sm-0 {
+ .pb-sm-0,
+ .py-sm-0 {
padding-bottom: 0 !important;
}
- .pl-sm-0 {
- padding-left: 0 !important;
- }
+ .pl-sm-0,
.px-sm-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-sm-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-sm-1 {
padding: 0.25rem !important;
}
- .pt-sm-1 {
+ .pt-sm-1,
+ .py-sm-1 {
padding-top: 0.25rem !important;
}
- .pr-sm-1 {
+ .pr-sm-1,
+ .px-sm-1 {
padding-right: 0.25rem !important;
}
- .pb-sm-1 {
+ .pb-sm-1,
+ .py-sm-1 {
padding-bottom: 0.25rem !important;
}
- .pl-sm-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-sm-1,
.px-sm-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-sm-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-sm-2 {
padding: 0.5rem !important;
}
- .pt-sm-2 {
+ .pt-sm-2,
+ .py-sm-2 {
padding-top: 0.5rem !important;
}
- .pr-sm-2 {
+ .pr-sm-2,
+ .px-sm-2 {
padding-right: 0.5rem !important;
}
- .pb-sm-2 {
+ .pb-sm-2,
+ .py-sm-2 {
padding-bottom: 0.5rem !important;
}
- .pl-sm-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-sm-2,
.px-sm-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-sm-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-sm-3 {
padding: 1rem !important;
}
- .pt-sm-3 {
+ .pt-sm-3,
+ .py-sm-3 {
padding-top: 1rem !important;
}
- .pr-sm-3 {
+ .pr-sm-3,
+ .px-sm-3 {
padding-right: 1rem !important;
}
- .pb-sm-3 {
+ .pb-sm-3,
+ .py-sm-3 {
padding-bottom: 1rem !important;
}
- .pl-sm-3 {
- padding-left: 1rem !important;
- }
+ .pl-sm-3,
.px-sm-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-sm-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-sm-4 {
padding: 1.5rem !important;
}
- .pt-sm-4 {
+ .pt-sm-4,
+ .py-sm-4 {
padding-top: 1.5rem !important;
}
- .pr-sm-4 {
+ .pr-sm-4,
+ .px-sm-4 {
padding-right: 1.5rem !important;
}
- .pb-sm-4 {
+ .pb-sm-4,
+ .py-sm-4 {
padding-bottom: 1.5rem !important;
}
- .pl-sm-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-sm-4,
.px-sm-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-sm-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-sm-5 {
padding: 3rem !important;
}
- .pt-sm-5 {
+ .pt-sm-5,
+ .py-sm-5 {
padding-top: 3rem !important;
}
- .pr-sm-5 {
+ .pr-sm-5,
+ .px-sm-5 {
padding-right: 3rem !important;
}
- .pb-sm-5 {
+ .pb-sm-5,
+ .py-sm-5 {
padding-bottom: 3rem !important;
}
- .pl-sm-5 {
- padding-left: 3rem !important;
- }
+ .pl-sm-5,
.px-sm-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-sm-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-sm-auto {
margin: auto !important;
}
- .mt-sm-auto {
+ .mt-sm-auto,
+ .my-sm-auto {
margin-top: auto !important;
}
- .mr-sm-auto {
+ .mr-sm-auto,
+ .mx-sm-auto {
margin-right: auto !important;
}
- .mb-sm-auto {
+ .mb-sm-auto,
+ .my-sm-auto {
margin-bottom: auto !important;
}
- .ml-sm-auto {
- margin-left: auto !important;
- }
+ .ml-sm-auto,
.mx-sm-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-sm-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 768px) {
.m-md-0 {
margin: 0 !important;
}
- .mt-md-0 {
+ .mt-md-0,
+ .my-md-0 {
margin-top: 0 !important;
}
- .mr-md-0 {
+ .mr-md-0,
+ .mx-md-0 {
margin-right: 0 !important;
}
- .mb-md-0 {
+ .mb-md-0,
+ .my-md-0 {
margin-bottom: 0 !important;
}
- .ml-md-0 {
- margin-left: 0 !important;
- }
+ .ml-md-0,
.mx-md-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-md-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-md-1 {
margin: 0.25rem !important;
}
- .mt-md-1 {
+ .mt-md-1,
+ .my-md-1 {
margin-top: 0.25rem !important;
}
- .mr-md-1 {
+ .mr-md-1,
+ .mx-md-1 {
margin-right: 0.25rem !important;
}
- .mb-md-1 {
+ .mb-md-1,
+ .my-md-1 {
margin-bottom: 0.25rem !important;
}
- .ml-md-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-md-1,
.mx-md-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-md-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-md-2 {
margin: 0.5rem !important;
}
- .mt-md-2 {
+ .mt-md-2,
+ .my-md-2 {
margin-top: 0.5rem !important;
}
- .mr-md-2 {
+ .mr-md-2,
+ .mx-md-2 {
margin-right: 0.5rem !important;
}
- .mb-md-2 {
+ .mb-md-2,
+ .my-md-2 {
margin-bottom: 0.5rem !important;
}
- .ml-md-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-md-2,
.mx-md-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-md-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-md-3 {
margin: 1rem !important;
}
- .mt-md-3 {
+ .mt-md-3,
+ .my-md-3 {
margin-top: 1rem !important;
}
- .mr-md-3 {
+ .mr-md-3,
+ .mx-md-3 {
margin-right: 1rem !important;
}
- .mb-md-3 {
+ .mb-md-3,
+ .my-md-3 {
margin-bottom: 1rem !important;
}
- .ml-md-3 {
- margin-left: 1rem !important;
- }
+ .ml-md-3,
.mx-md-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-md-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-md-4 {
margin: 1.5rem !important;
}
- .mt-md-4 {
+ .mt-md-4,
+ .my-md-4 {
margin-top: 1.5rem !important;
}
- .mr-md-4 {
+ .mr-md-4,
+ .mx-md-4 {
margin-right: 1.5rem !important;
}
- .mb-md-4 {
+ .mb-md-4,
+ .my-md-4 {
margin-bottom: 1.5rem !important;
}
- .ml-md-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-md-4,
.mx-md-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-md-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-md-5 {
margin: 3rem !important;
}
- .mt-md-5 {
+ .mt-md-5,
+ .my-md-5 {
margin-top: 3rem !important;
}
- .mr-md-5 {
+ .mr-md-5,
+ .mx-md-5 {
margin-right: 3rem !important;
}
- .mb-md-5 {
+ .mb-md-5,
+ .my-md-5 {
margin-bottom: 3rem !important;
}
- .ml-md-5 {
- margin-left: 3rem !important;
- }
+ .ml-md-5,
.mx-md-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-md-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-md-0 {
padding: 0 !important;
}
- .pt-md-0 {
+ .pt-md-0,
+ .py-md-0 {
padding-top: 0 !important;
}
- .pr-md-0 {
+ .pr-md-0,
+ .px-md-0 {
padding-right: 0 !important;
}
- .pb-md-0 {
+ .pb-md-0,
+ .py-md-0 {
padding-bottom: 0 !important;
}
- .pl-md-0 {
- padding-left: 0 !important;
- }
+ .pl-md-0,
.px-md-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-md-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-md-1 {
padding: 0.25rem !important;
}
- .pt-md-1 {
+ .pt-md-1,
+ .py-md-1 {
padding-top: 0.25rem !important;
}
- .pr-md-1 {
+ .pr-md-1,
+ .px-md-1 {
padding-right: 0.25rem !important;
}
- .pb-md-1 {
+ .pb-md-1,
+ .py-md-1 {
padding-bottom: 0.25rem !important;
}
- .pl-md-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-md-1,
.px-md-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-md-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-md-2 {
padding: 0.5rem !important;
}
- .pt-md-2 {
+ .pt-md-2,
+ .py-md-2 {
padding-top: 0.5rem !important;
}
- .pr-md-2 {
+ .pr-md-2,
+ .px-md-2 {
padding-right: 0.5rem !important;
}
- .pb-md-2 {
+ .pb-md-2,
+ .py-md-2 {
padding-bottom: 0.5rem !important;
}
- .pl-md-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-md-2,
.px-md-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-md-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-md-3 {
padding: 1rem !important;
}
- .pt-md-3 {
+ .pt-md-3,
+ .py-md-3 {
padding-top: 1rem !important;
}
- .pr-md-3 {
+ .pr-md-3,
+ .px-md-3 {
padding-right: 1rem !important;
}
- .pb-md-3 {
+ .pb-md-3,
+ .py-md-3 {
padding-bottom: 1rem !important;
}
- .pl-md-3 {
- padding-left: 1rem !important;
- }
+ .pl-md-3,
.px-md-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-md-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-md-4 {
padding: 1.5rem !important;
}
- .pt-md-4 {
+ .pt-md-4,
+ .py-md-4 {
padding-top: 1.5rem !important;
}
- .pr-md-4 {
+ .pr-md-4,
+ .px-md-4 {
padding-right: 1.5rem !important;
}
- .pb-md-4 {
+ .pb-md-4,
+ .py-md-4 {
padding-bottom: 1.5rem !important;
}
- .pl-md-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-md-4,
.px-md-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-md-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-md-5 {
padding: 3rem !important;
}
- .pt-md-5 {
+ .pt-md-5,
+ .py-md-5 {
padding-top: 3rem !important;
}
- .pr-md-5 {
+ .pr-md-5,
+ .px-md-5 {
padding-right: 3rem !important;
}
- .pb-md-5 {
+ .pb-md-5,
+ .py-md-5 {
padding-bottom: 3rem !important;
}
- .pl-md-5 {
- padding-left: 3rem !important;
- }
+ .pl-md-5,
.px-md-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-md-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-md-auto {
margin: auto !important;
}
- .mt-md-auto {
+ .mt-md-auto,
+ .my-md-auto {
margin-top: auto !important;
}
- .mr-md-auto {
+ .mr-md-auto,
+ .mx-md-auto {
margin-right: auto !important;
}
- .mb-md-auto {
+ .mb-md-auto,
+ .my-md-auto {
margin-bottom: auto !important;
}
- .ml-md-auto {
- margin-left: auto !important;
- }
+ .ml-md-auto,
.mx-md-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-md-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 992px) {
.m-lg-0 {
margin: 0 !important;
}
- .mt-lg-0 {
+ .mt-lg-0,
+ .my-lg-0 {
margin-top: 0 !important;
}
- .mr-lg-0 {
+ .mr-lg-0,
+ .mx-lg-0 {
margin-right: 0 !important;
}
- .mb-lg-0 {
+ .mb-lg-0,
+ .my-lg-0 {
margin-bottom: 0 !important;
}
- .ml-lg-0 {
- margin-left: 0 !important;
- }
+ .ml-lg-0,
.mx-lg-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-lg-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-lg-1 {
margin: 0.25rem !important;
}
- .mt-lg-1 {
- margin-top: 0.25rem !important;
- }
- .mr-lg-1 {
- margin-right: 0.25rem !important;
- }
- .mb-lg-1 {
- margin-bottom: 0.25rem !important;
- }
- .ml-lg-1 {
- margin-left: 0.25rem !important;
+ .mt-lg-1,
+ .my-lg-1 {
+ margin-top: 0.25rem !important;
}
+ .mr-lg-1,
.mx-lg-1 {
margin-right: 0.25rem !important;
- margin-left: 0.25rem !important;
}
+ .mb-lg-1,
.my-lg-1 {
- margin-top: 0.25rem !important;
margin-bottom: 0.25rem !important;
}
+ .ml-lg-1,
+ .mx-lg-1 {
+ margin-left: 0.25rem !important;
+ }
.m-lg-2 {
margin: 0.5rem !important;
}
- .mt-lg-2 {
+ .mt-lg-2,
+ .my-lg-2 {
margin-top: 0.5rem !important;
}
- .mr-lg-2 {
+ .mr-lg-2,
+ .mx-lg-2 {
margin-right: 0.5rem !important;
}
- .mb-lg-2 {
+ .mb-lg-2,
+ .my-lg-2 {
margin-bottom: 0.5rem !important;
}
- .ml-lg-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-lg-2,
.mx-lg-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-lg-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-lg-3 {
margin: 1rem !important;
}
- .mt-lg-3 {
+ .mt-lg-3,
+ .my-lg-3 {
margin-top: 1rem !important;
}
- .mr-lg-3 {
+ .mr-lg-3,
+ .mx-lg-3 {
margin-right: 1rem !important;
}
- .mb-lg-3 {
+ .mb-lg-3,
+ .my-lg-3 {
margin-bottom: 1rem !important;
}
- .ml-lg-3 {
- margin-left: 1rem !important;
- }
+ .ml-lg-3,
.mx-lg-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-lg-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-lg-4 {
margin: 1.5rem !important;
}
- .mt-lg-4 {
+ .mt-lg-4,
+ .my-lg-4 {
margin-top: 1.5rem !important;
}
- .mr-lg-4 {
+ .mr-lg-4,
+ .mx-lg-4 {
margin-right: 1.5rem !important;
}
- .mb-lg-4 {
+ .mb-lg-4,
+ .my-lg-4 {
margin-bottom: 1.5rem !important;
}
- .ml-lg-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-lg-4,
.mx-lg-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-lg-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-lg-5 {
margin: 3rem !important;
}
- .mt-lg-5 {
+ .mt-lg-5,
+ .my-lg-5 {
margin-top: 3rem !important;
}
- .mr-lg-5 {
+ .mr-lg-5,
+ .mx-lg-5 {
margin-right: 3rem !important;
}
- .mb-lg-5 {
+ .mb-lg-5,
+ .my-lg-5 {
margin-bottom: 3rem !important;
}
- .ml-lg-5 {
- margin-left: 3rem !important;
- }
+ .ml-lg-5,
.mx-lg-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-lg-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-lg-0 {
padding: 0 !important;
}
- .pt-lg-0 {
+ .pt-lg-0,
+ .py-lg-0 {
padding-top: 0 !important;
}
- .pr-lg-0 {
+ .pr-lg-0,
+ .px-lg-0 {
padding-right: 0 !important;
}
- .pb-lg-0 {
+ .pb-lg-0,
+ .py-lg-0 {
padding-bottom: 0 !important;
}
- .pl-lg-0 {
- padding-left: 0 !important;
- }
+ .pl-lg-0,
.px-lg-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-lg-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-lg-1 {
padding: 0.25rem !important;
}
- .pt-lg-1 {
+ .pt-lg-1,
+ .py-lg-1 {
padding-top: 0.25rem !important;
}
- .pr-lg-1 {
+ .pr-lg-1,
+ .px-lg-1 {
padding-right: 0.25rem !important;
}
- .pb-lg-1 {
+ .pb-lg-1,
+ .py-lg-1 {
padding-bottom: 0.25rem !important;
}
- .pl-lg-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-lg-1,
.px-lg-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-lg-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-lg-2 {
padding: 0.5rem !important;
}
- .pt-lg-2 {
+ .pt-lg-2,
+ .py-lg-2 {
padding-top: 0.5rem !important;
}
- .pr-lg-2 {
+ .pr-lg-2,
+ .px-lg-2 {
padding-right: 0.5rem !important;
}
- .pb-lg-2 {
+ .pb-lg-2,
+ .py-lg-2 {
padding-bottom: 0.5rem !important;
}
- .pl-lg-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-lg-2,
.px-lg-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-lg-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-lg-3 {
padding: 1rem !important;
}
- .pt-lg-3 {
+ .pt-lg-3,
+ .py-lg-3 {
padding-top: 1rem !important;
}
- .pr-lg-3 {
+ .pr-lg-3,
+ .px-lg-3 {
padding-right: 1rem !important;
}
- .pb-lg-3 {
+ .pb-lg-3,
+ .py-lg-3 {
padding-bottom: 1rem !important;
}
- .pl-lg-3 {
- padding-left: 1rem !important;
- }
+ .pl-lg-3,
.px-lg-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-lg-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-lg-4 {
padding: 1.5rem !important;
}
- .pt-lg-4 {
+ .pt-lg-4,
+ .py-lg-4 {
padding-top: 1.5rem !important;
}
- .pr-lg-4 {
+ .pr-lg-4,
+ .px-lg-4 {
padding-right: 1.5rem !important;
}
- .pb-lg-4 {
+ .pb-lg-4,
+ .py-lg-4 {
padding-bottom: 1.5rem !important;
}
- .pl-lg-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-lg-4,
.px-lg-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-lg-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-lg-5 {
padding: 3rem !important;
}
- .pt-lg-5 {
+ .pt-lg-5,
+ .py-lg-5 {
padding-top: 3rem !important;
}
- .pr-lg-5 {
+ .pr-lg-5,
+ .px-lg-5 {
padding-right: 3rem !important;
}
- .pb-lg-5 {
+ .pb-lg-5,
+ .py-lg-5 {
padding-bottom: 3rem !important;
}
- .pl-lg-5 {
- padding-left: 3rem !important;
- }
+ .pl-lg-5,
.px-lg-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-lg-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-lg-auto {
margin: auto !important;
}
- .mt-lg-auto {
+ .mt-lg-auto,
+ .my-lg-auto {
margin-top: auto !important;
}
- .mr-lg-auto {
+ .mr-lg-auto,
+ .mx-lg-auto {
margin-right: auto !important;
}
- .mb-lg-auto {
+ .mb-lg-auto,
+ .my-lg-auto {
margin-bottom: auto !important;
}
- .ml-lg-auto {
- margin-left: auto !important;
- }
+ .ml-lg-auto,
.mx-lg-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-lg-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
@media (min-width: 1200px) {
.m-xl-0 {
margin: 0 !important;
}
- .mt-xl-0 {
+ .mt-xl-0,
+ .my-xl-0 {
margin-top: 0 !important;
}
- .mr-xl-0 {
+ .mr-xl-0,
+ .mx-xl-0 {
margin-right: 0 !important;
}
- .mb-xl-0 {
+ .mb-xl-0,
+ .my-xl-0 {
margin-bottom: 0 !important;
}
- .ml-xl-0 {
- margin-left: 0 !important;
- }
+ .ml-xl-0,
.mx-xl-0 {
- margin-right: 0 !important;
margin-left: 0 !important;
}
- .my-xl-0 {
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- }
.m-xl-1 {
margin: 0.25rem !important;
}
- .mt-xl-1 {
+ .mt-xl-1,
+ .my-xl-1 {
margin-top: 0.25rem !important;
}
- .mr-xl-1 {
+ .mr-xl-1,
+ .mx-xl-1 {
margin-right: 0.25rem !important;
}
- .mb-xl-1 {
+ .mb-xl-1,
+ .my-xl-1 {
margin-bottom: 0.25rem !important;
}
- .ml-xl-1 {
- margin-left: 0.25rem !important;
- }
+ .ml-xl-1,
.mx-xl-1 {
- margin-right: 0.25rem !important;
margin-left: 0.25rem !important;
}
- .my-xl-1 {
- margin-top: 0.25rem !important;
- margin-bottom: 0.25rem !important;
- }
.m-xl-2 {
margin: 0.5rem !important;
}
- .mt-xl-2 {
+ .mt-xl-2,
+ .my-xl-2 {
margin-top: 0.5rem !important;
}
- .mr-xl-2 {
+ .mr-xl-2,
+ .mx-xl-2 {
margin-right: 0.5rem !important;
}
- .mb-xl-2 {
+ .mb-xl-2,
+ .my-xl-2 {
margin-bottom: 0.5rem !important;
}
- .ml-xl-2 {
- margin-left: 0.5rem !important;
- }
+ .ml-xl-2,
.mx-xl-2 {
- margin-right: 0.5rem !important;
margin-left: 0.5rem !important;
}
- .my-xl-2 {
- margin-top: 0.5rem !important;
- margin-bottom: 0.5rem !important;
- }
.m-xl-3 {
margin: 1rem !important;
}
- .mt-xl-3 {
+ .mt-xl-3,
+ .my-xl-3 {
margin-top: 1rem !important;
}
- .mr-xl-3 {
+ .mr-xl-3,
+ .mx-xl-3 {
margin-right: 1rem !important;
}
- .mb-xl-3 {
+ .mb-xl-3,
+ .my-xl-3 {
margin-bottom: 1rem !important;
}
- .ml-xl-3 {
- margin-left: 1rem !important;
- }
+ .ml-xl-3,
.mx-xl-3 {
- margin-right: 1rem !important;
margin-left: 1rem !important;
}
- .my-xl-3 {
- margin-top: 1rem !important;
- margin-bottom: 1rem !important;
- }
.m-xl-4 {
margin: 1.5rem !important;
}
- .mt-xl-4 {
+ .mt-xl-4,
+ .my-xl-4 {
margin-top: 1.5rem !important;
}
- .mr-xl-4 {
+ .mr-xl-4,
+ .mx-xl-4 {
margin-right: 1.5rem !important;
}
- .mb-xl-4 {
+ .mb-xl-4,
+ .my-xl-4 {
margin-bottom: 1.5rem !important;
}
- .ml-xl-4 {
- margin-left: 1.5rem !important;
- }
+ .ml-xl-4,
.mx-xl-4 {
- margin-right: 1.5rem !important;
margin-left: 1.5rem !important;
}
- .my-xl-4 {
- margin-top: 1.5rem !important;
- margin-bottom: 1.5rem !important;
- }
.m-xl-5 {
margin: 3rem !important;
}
- .mt-xl-5 {
+ .mt-xl-5,
+ .my-xl-5 {
margin-top: 3rem !important;
}
- .mr-xl-5 {
+ .mr-xl-5,
+ .mx-xl-5 {
margin-right: 3rem !important;
}
- .mb-xl-5 {
+ .mb-xl-5,
+ .my-xl-5 {
margin-bottom: 3rem !important;
}
- .ml-xl-5 {
- margin-left: 3rem !important;
- }
+ .ml-xl-5,
.mx-xl-5 {
- margin-right: 3rem !important;
margin-left: 3rem !important;
}
- .my-xl-5 {
- margin-top: 3rem !important;
- margin-bottom: 3rem !important;
- }
.p-xl-0 {
padding: 0 !important;
}
- .pt-xl-0 {
+ .pt-xl-0,
+ .py-xl-0 {
padding-top: 0 !important;
}
- .pr-xl-0 {
+ .pr-xl-0,
+ .px-xl-0 {
padding-right: 0 !important;
}
- .pb-xl-0 {
+ .pb-xl-0,
+ .py-xl-0 {
padding-bottom: 0 !important;
}
- .pl-xl-0 {
- padding-left: 0 !important;
- }
+ .pl-xl-0,
.px-xl-0 {
- padding-right: 0 !important;
padding-left: 0 !important;
}
- .py-xl-0 {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- }
.p-xl-1 {
padding: 0.25rem !important;
}
- .pt-xl-1 {
+ .pt-xl-1,
+ .py-xl-1 {
padding-top: 0.25rem !important;
}
- .pr-xl-1 {
+ .pr-xl-1,
+ .px-xl-1 {
padding-right: 0.25rem !important;
}
- .pb-xl-1 {
+ .pb-xl-1,
+ .py-xl-1 {
padding-bottom: 0.25rem !important;
}
- .pl-xl-1 {
- padding-left: 0.25rem !important;
- }
+ .pl-xl-1,
.px-xl-1 {
- padding-right: 0.25rem !important;
padding-left: 0.25rem !important;
}
- .py-xl-1 {
- padding-top: 0.25rem !important;
- padding-bottom: 0.25rem !important;
- }
.p-xl-2 {
padding: 0.5rem !important;
}
- .pt-xl-2 {
+ .pt-xl-2,
+ .py-xl-2 {
padding-top: 0.5rem !important;
}
- .pr-xl-2 {
+ .pr-xl-2,
+ .px-xl-2 {
padding-right: 0.5rem !important;
}
- .pb-xl-2 {
+ .pb-xl-2,
+ .py-xl-2 {
padding-bottom: 0.5rem !important;
}
- .pl-xl-2 {
- padding-left: 0.5rem !important;
- }
+ .pl-xl-2,
.px-xl-2 {
- padding-right: 0.5rem !important;
padding-left: 0.5rem !important;
}
- .py-xl-2 {
- padding-top: 0.5rem !important;
- padding-bottom: 0.5rem !important;
- }
.p-xl-3 {
padding: 1rem !important;
}
- .pt-xl-3 {
+ .pt-xl-3,
+ .py-xl-3 {
padding-top: 1rem !important;
}
- .pr-xl-3 {
+ .pr-xl-3,
+ .px-xl-3 {
padding-right: 1rem !important;
}
- .pb-xl-3 {
+ .pb-xl-3,
+ .py-xl-3 {
padding-bottom: 1rem !important;
}
- .pl-xl-3 {
- padding-left: 1rem !important;
- }
+ .pl-xl-3,
.px-xl-3 {
- padding-right: 1rem !important;
padding-left: 1rem !important;
}
- .py-xl-3 {
- padding-top: 1rem !important;
- padding-bottom: 1rem !important;
- }
.p-xl-4 {
padding: 1.5rem !important;
}
- .pt-xl-4 {
+ .pt-xl-4,
+ .py-xl-4 {
padding-top: 1.5rem !important;
}
- .pr-xl-4 {
+ .pr-xl-4,
+ .px-xl-4 {
padding-right: 1.5rem !important;
}
- .pb-xl-4 {
+ .pb-xl-4,
+ .py-xl-4 {
padding-bottom: 1.5rem !important;
}
- .pl-xl-4 {
- padding-left: 1.5rem !important;
- }
+ .pl-xl-4,
.px-xl-4 {
- padding-right: 1.5rem !important;
padding-left: 1.5rem !important;
}
- .py-xl-4 {
- padding-top: 1.5rem !important;
- padding-bottom: 1.5rem !important;
- }
.p-xl-5 {
padding: 3rem !important;
}
- .pt-xl-5 {
+ .pt-xl-5,
+ .py-xl-5 {
padding-top: 3rem !important;
}
- .pr-xl-5 {
+ .pr-xl-5,
+ .px-xl-5 {
padding-right: 3rem !important;
}
- .pb-xl-5 {
+ .pb-xl-5,
+ .py-xl-5 {
padding-bottom: 3rem !important;
}
- .pl-xl-5 {
- padding-left: 3rem !important;
- }
+ .pl-xl-5,
.px-xl-5 {
- padding-right: 3rem !important;
padding-left: 3rem !important;
}
- .py-xl-5 {
- padding-top: 3rem !important;
- padding-bottom: 3rem !important;
- }
.m-xl-auto {
margin: auto !important;
}
- .mt-xl-auto {
+ .mt-xl-auto,
+ .my-xl-auto {
margin-top: auto !important;
}
- .mr-xl-auto {
+ .mr-xl-auto,
+ .mx-xl-auto {
margin-right: auto !important;
}
- .mb-xl-auto {
+ .mb-xl-auto,
+ .my-xl-auto {
margin-bottom: auto !important;
}
- .ml-xl-auto {
- margin-left: auto !important;
- }
+ .ml-xl-auto,
.mx-xl-auto {
- margin-right: auto !important;
margin-left: auto !important;
}
- .my-xl-auto {
- margin-top: auto !important;
- margin-bottom: auto !important;
- }
}
.text-justify {
@@ -8105,16 +8285,20 @@ a.bg-dark:focus, a.bg-dark:hover {
text-transform: capitalize !important;
}
+.font-weight-light {
+ font-weight: 300 !important;
+}
+
.font-weight-normal {
- font-weight: normal;
+ font-weight: 400 !important;
}
.font-weight-bold {
- font-weight: bold;
+ font-weight: 700 !important;
}
.font-italic {
- font-style: italic;
+ font-style: italic !important;
}
.text-white {
@@ -8234,7 +8418,7 @@ a.text-dark:focus, a.text-dark:hover {
}
.btn-secondary:focus, .btn-secondary.focus {
- box-shadow: 0 0 0 3px rgba(206, 212, 218, 0.5);
+ box-shadow: 0 0 0 0.2rem rgba(206, 212, 218, 0.5);
}
.btn-secondary.disabled, .btn-secondary:disabled {
@@ -8242,11 +8426,12 @@ a.text-dark:focus, a.text-dark:hover {
border-color: #ced4da;
}
-.btn-secondary:active, .btn-secondary.active,
+.btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
- background-color: #ececec;
- background-image: none;
- border-color: #b1bbc4;
+ color: #111;
+ background-color: #e6e6e6;
+ border-color: #aab4bf;
+ box-shadow: 0 0 0 0.2rem rgba(206, 212, 218, 0.5);
}
/*
@@ -8300,7 +8485,7 @@ Todo: check, if this is needed? (It doesn't work with the build system)
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link {
- color: white;
+ color: #fff;
}
.tobago-bar.navbar-dark .navbar-brand > .tobago-link:hover, .tobago-bar.navbar-dark .navbar-brand > .tobago-link:focus {
@@ -8512,8 +8697,8 @@ table.tobago-gridLayout > tbody > tr:first-child > td {
/* image ----------------------------------------------------------- */
.tobago-image-markup-disabled {
- -webkit-filter: blur(2px) contrast(0.5) brightness(1.2);
- filter: blur(2px) contrast(0.5) brightness(1.2);
+ -webkit-filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
+ filter: grayscale(1) blur(2px) contrast(0.5) brightness(1.2);
}
/* in ----------------------------------------------------------- */
@@ -8895,14 +9080,14 @@ h1 > .fa:first-child, h2 > .fa:first-child, h3 > .fa:first-child, h4 > .fa:first
/* inline */
.tobago-selectBooleanCheckbox.form-check {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
margin-bottom: 0;
}
.tobago-selectManyCheckbox-inline, .tobago-selectOneRadio-inline {
- padding-top: calc(0.5rem - 1px * 2);
- padding-bottom: calc(0.5rem - 1px * 2);
+ padding-top: calc(0.375rem - 1px * 2);
+ padding-bottom: calc(0.375rem - 1px * 2);
}
.tobago-selectManyCheckbox-inline .form-check.form-check-inline, .tobago-selectOneRadio-inline .form-check.form-check-inline {
diff --git a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css.map b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css.map
index 207c266..9d06cad 100644
--- a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css.map
+++ b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.css.map
@@ -1 +1 @@
-{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixi [...]
\ No newline at end of file
+{"version":3,"sources":["bootstrap.css","../../scss/bootstrap.scss","../../scss/_custom.scss","../../scss/_root.scss","../../scss/_print.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_gri [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css
index 29d1aa4..d609b87 100644
--- a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css
+++ b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */@media print{*,::after,::before{text-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}abbr[title]::after{content:" (" attr(title) ")"}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.badge{border:1px solid #000}.table{border-collapse:collapse!important}.table td, [...]
+ */:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#868e96;--gray-dark:#343a40;--primary:#007bff;--secondary:#868e96;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-s [...]
/*# sourceMappingURL=bootstrap.min.css.map */
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css.map b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css.map
index 0772723..6cae71c 100644
--- a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css.map
+++ b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/css/bootstrap.min.css.map
@@ -1 +1 @@
-{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../s [...]
\ No newline at end of file
+{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_root.scss","../../scss/_print.scss","dist/css/bootstrap.css","../../scss/_reboot.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/mixins/_transition.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_br [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/bootstrap.js b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/bootstrap.js
index 7597fb3..630a9e0 100644
--- a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/bootstrap.js
+++ b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/bootstrap.js
@@ -1,63 +1,39 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-
-if (typeof jQuery === 'undefined') {
- throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
-}
-
-(function ($) {
- var version = $.fn.jquery.split(' ')[0].split('.')
- if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 4)) {
- throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')
- }
-})(jQuery);
-
-(function () {
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap = (function (exports,$,Popper) {
+'use strict';
-var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) [...]
-
-function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
-
-function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
+Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): util.js
+ * Bootstrap (v4.0.0-beta.2): util.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Util = function ($) {
-
+var Util = function () {
/**
* ------------------------------------------------------------------------
* Private TransitionEnd Helpers
* ------------------------------------------------------------------------
*/
-
var transition = false;
-
var MAX_UID = 1000000;
-
var TransitionEndEvent = {
WebkitTransition: 'webkitTransitionEnd',
MozTransition: 'transitionend',
OTransition: 'oTransitionEnd otransitionend',
- transition: 'transitionend'
+ transition: 'transitionend' // shoutout AngusCroll (https://goo.gl/pxwQGp)
- // shoutout AngusCroll (https://goo.gl/pxwQGp)
- };function toType(obj) {
- return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
- }
+ };
- function isElement(obj) {
- return (obj[0] || obj).nodeType;
+ function toType(obj) {
+ return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
}
function getSpecialTransitionEndEvent() {
@@ -68,7 +44,8 @@ var Util = function ($) {
if ($(event.target).is(this)) {
return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
}
- return undefined;
+
+ return undefined; // eslint-disable-line no-undefined
}
};
}
@@ -81,7 +58,7 @@ var Util = function ($) {
var el = document.createElement('bootstrap');
for (var name in TransitionEndEvent) {
- if (el.style[name] !== undefined) {
+ if (typeof el.style[name] !== 'undefined') {
return {
end: TransitionEndEvent[name]
};
@@ -95,55 +72,51 @@ var Util = function ($) {
var _this = this;
var called = false;
-
$(this).one(Util.TRANSITION_END, function () {
called = true;
});
-
setTimeout(function () {
if (!called) {
Util.triggerTransitionEnd(_this);
}
}, duration);
-
return this;
}
function setTransitionEndSupport() {
transition = transitionEndTest();
-
$.fn.emulateTransitionEnd = transitionEndEmulator;
if (Util.supportsTransitionEnd()) {
$.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
}
}
-
/**
* --------------------------------------------------------------------------
* Public Util Api
* --------------------------------------------------------------------------
*/
- var Util = {
+ var Util = {
TRANSITION_END: 'bsTransitionEnd',
-
getUID: function getUID(prefix) {
do {
// eslint-disable-next-line no-bitwise
prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
+
return prefix;
},
getSelectorFromElement: function getSelectorFromElement(element) {
var selector = element.getAttribute('data-target');
+
if (!selector || selector === '#') {
selector = element.getAttribute('href') || '';
}
try {
- var $selector = $(selector);
+ var $selector = $(document).find(selector);
return $selector.length > 0 ? selector : null;
} catch (error) {
return null;
@@ -158,64 +131,85 @@ var Util = function ($) {
supportsTransitionEnd: function supportsTransitionEnd() {
return Boolean(transition);
},
+ isElement: function isElement(obj) {
+ return (obj[0] || obj).nodeType;
+ },
typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) {
for (var property in configTypes) {
- if (configTypes.hasOwnProperty(property)) {
+ if (Object.prototype.hasOwnProperty.call(configTypes, property)) {
var expectedTypes = configTypes[property];
var value = config[property];
- var valueType = value && isElement(value) ? 'element' : toType(value);
+ var valueType = value && Util.isElement(value) ? 'element' : toType(value);
if (!new RegExp(expectedTypes).test(valueType)) {
- throw new Error(componentName.toUpperCase() + ': ' + ('Option "' + property + '" provided type "' + valueType + '" ') + ('but expected type "' + expectedTypes + '".'));
+ throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\"."));
}
}
}
}
};
-
setTransitionEndSupport();
-
return Util;
-}(jQuery);
+}($);
+
+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);
+ }
+}
+
+function _createClass(Constructor, protoProps, staticProps) {
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
+ if (staticProps) _defineProperties(Constructor, staticProps);
+ return Constructor;
+}
+
+var createClass = _createClass;
+
+function _inheritsLoose(subClass, superClass) {
+ subClass.prototype = Object.create(superClass.prototype);
+ subClass.prototype.constructor = subClass;
+ subClass.__proto__ = superClass;
+}
+
+var inheritsLoose = _inheritsLoose;
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): alert.js
+ * Bootstrap (v4.0.0-beta.2): alert.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Alert = function ($) {
-
+var Alert = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'alert';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.alert';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 150;
-
var Selector = {
DISMISS: '[data-dismiss="alert"]'
};
-
var Event = {
- CLOSE: 'close' + EVENT_KEY,
- CLOSED: 'closed' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ CLOSE: "close" + EVENT_KEY,
+ CLOSED: "closed" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
ALERT: 'alert',
FADE: 'fade',
SHOW: 'show'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -223,21 +217,23 @@ var Alert = function ($) {
*/
};
- var Alert = function () {
- function Alert(element) {
- _classCallCheck(this, Alert);
+ var Alert =
+ /*#__PURE__*/
+ function () {
+ function Alert(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Alert.prototype;
- Alert.prototype.close = function close(element) {
+ // public
+ _proto.close = function close(element) {
element = element || this._element;
var rootElement = this._getRootElement(element);
+
var customEvent = this._triggerCloseEvent(rootElement);
if (customEvent.isDefaultPrevented()) {
@@ -247,14 +243,13 @@ var Alert = function ($) {
this._removeElement(rootElement);
};
- Alert.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // private
- // private
- Alert.prototype._getRootElement = function _getRootElement(element) {
+ _proto._getRootElement = function _getRootElement(element) {
var selector = Util.getSelectorFromElement(element);
var parent = false;
@@ -263,39 +258,38 @@ var Alert = function ($) {
}
if (!parent) {
- parent = $(element).closest('.' + ClassName.ALERT)[0];
+ parent = $(element).closest("." + ClassName.ALERT)[0];
}
return parent;
};
- Alert.prototype._triggerCloseEvent = function _triggerCloseEvent(element) {
+ _proto._triggerCloseEvent = function _triggerCloseEvent(element) {
var closeEvent = $.Event(Event.CLOSE);
-
$(element).trigger(closeEvent);
return closeEvent;
};
- Alert.prototype._removeElement = function _removeElement(element) {
- var _this2 = this;
+ _proto._removeElement = function _removeElement(element) {
+ var _this = this;
$(element).removeClass(ClassName.SHOW);
if (!Util.supportsTransitionEnd() || !$(element).hasClass(ClassName.FADE)) {
this._destroyElement(element);
+
return;
}
$(element).one(Util.TRANSITION_END, function (event) {
- return _this2._destroyElement(element, event);
+ return _this._destroyElement(element, event);
}).emulateTransitionEnd(TRANSITION_DURATION);
};
- Alert.prototype._destroyElement = function _destroyElement(element) {
+ _proto._destroyElement = function _destroyElement(element) {
$(element).detach().trigger(Event.CLOSED).remove();
- };
+ }; // static
- // static
Alert._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -323,24 +317,22 @@ var Alert = function ($) {
};
};
- _createClass(Alert, null, [{
- key: 'VERSION',
+ createClass(Alert, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Alert;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
+ $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()));
/**
* ------------------------------------------------------------------------
* jQuery
@@ -349,42 +341,39 @@ var Alert = function ($) {
$.fn[NAME] = Alert._jQueryInterface;
$.fn[NAME].Constructor = Alert;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Alert._jQueryInterface;
};
return Alert;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): button.js
+ * Bootstrap (v4.0.0-beta.2): button.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Button = function ($) {
-
+var Button = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'button';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.button';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
-
var ClassName = {
ACTIVE: 'active',
BUTTON: 'btn',
FOCUS: 'focus'
};
-
var Selector = {
DATA_TOGGLE_CARROT: '[data-toggle^="button"]',
DATA_TOGGLE: '[data-toggle="buttons"]',
@@ -392,11 +381,9 @@ var Button = function ($) {
ACTIVE: '.active',
BUTTON: '.btn'
};
-
var Event = {
- 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)
-
+ 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)
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -404,18 +391,19 @@ var Button = function ($) {
*/
};
- var Button = function () {
- function Button(element) {
- _classCallCheck(this, Button);
+ var Button =
+ /*#__PURE__*/
+ function () {
+ function Button(element) {
this._element = element;
- }
+ } // getters
- // getters
- // public
+ var _proto = Button.prototype;
- Button.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
var triggerChangeEvent = true;
var addAriaPressed = true;
var rootElement = $(this._element).closest(Selector.DATA_TOGGLE)[0];
@@ -440,6 +428,7 @@ var Button = function ($) {
if (input.hasAttribute('disabled') || rootElement.hasAttribute('disabled') || input.classList.contains('disabled') || rootElement.classList.contains('disabled')) {
return;
}
+
input.checked = !$(this._element).hasClass(ClassName.ACTIVE);
$(input).trigger('change');
}
@@ -458,12 +447,11 @@ var Button = function ($) {
}
};
- Button.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
this._element = null;
- };
+ }; // static
- // static
Button._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -480,25 +468,23 @@ var Button = function ($) {
});
};
- _createClass(Button, null, [{
- key: 'VERSION',
+ createClass(Button, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}]);
-
return Button;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) {
event.preventDefault();
-
var button = event.target;
if (!$(button).hasClass(ClassName.BUTTON)) {
@@ -510,7 +496,6 @@ var Button = function ($) {
var button = $(event.target).closest(Selector.BUTTON)[0];
$(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type));
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -519,38 +504,39 @@ var Button = function ($) {
$.fn[NAME] = Button._jQueryInterface;
$.fn[NAME].Constructor = Button;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Button._jQueryInterface;
};
return Button;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): carousel.js
+ * Bootstrap (v4.0.0-beta.2): carousel.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Carousel = function ($) {
-
+var Carousel = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'carousel';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.carousel';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
var ARROW_LEFT_KEYCODE = 37; // KeyboardEvent.which value for left arrow key
+
var ARROW_RIGHT_KEYCODE = 39; // KeyboardEvent.which value for right arrow key
+
var TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch
var Default = {
@@ -560,7 +546,6 @@ var Carousel = function ($) {
pause: 'hover',
wrap: true
};
-
var DefaultType = {
interval: '(number|boolean)',
keyboard: 'boolean',
@@ -568,25 +553,22 @@ var Carousel = function ($) {
pause: '(string|boolean)',
wrap: 'boolean'
};
-
var Direction = {
NEXT: 'next',
PREV: 'prev',
LEFT: 'left',
RIGHT: 'right'
};
-
var Event = {
- SLIDE: 'slide' + EVENT_KEY,
- SLID: 'slid' + EVENT_KEY,
- KEYDOWN: 'keydown' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY,
- TOUCHEND: 'touchend' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SLIDE: "slide" + EVENT_KEY,
+ SLID: "slid" + EVENT_KEY,
+ KEYDOWN: "keydown" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY,
+ TOUCHEND: "touchend" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
CAROUSEL: 'carousel',
ACTIVE: 'active',
@@ -597,7 +579,6 @@ var Carousel = function ($) {
PREV: 'carousel-item-prev',
ITEM: 'carousel-item'
};
-
var Selector = {
ACTIVE: '.active',
ACTIVE_ITEM: '.active.carousel-item',
@@ -606,7 +587,6 @@ var Carousel = function ($) {
INDICATORS: '.carousel-indicators',
DATA_SLIDE: '[data-slide], [data-slide-to]',
DATA_RIDE: '[data-ride="carousel"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -614,50 +594,49 @@ var Carousel = function ($) {
*/
};
- var Carousel = function () {
- function Carousel(element, config) {
- _classCallCheck(this, Carousel);
+ var Carousel =
+ /*#__PURE__*/
+ function () {
+ function Carousel(element, config) {
this._items = null;
this._interval = null;
this._activeElement = null;
-
this._isPaused = false;
this._isSliding = false;
-
this.touchTimeout = null;
-
this._config = this._getConfig(config);
this._element = $(element)[0];
this._indicatorsElement = $(this._element).find(Selector.INDICATORS)[0];
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Carousel.prototype;
- Carousel.prototype.next = function next() {
+ // public
+ _proto.next = function next() {
if (!this._isSliding) {
this._slide(Direction.NEXT);
}
};
- Carousel.prototype.nextWhenVisible = function nextWhenVisible() {
+ _proto.nextWhenVisible = function nextWhenVisible() {
// Don't call next when the page isn't visible
- if (!document.hidden) {
+ // or the carousel or its parent isn't visible
+ if (!document.hidden && $(this._element).is(':visible') && $(this._element).css('visibility') !== 'hidden') {
this.next();
}
};
- Carousel.prototype.prev = function prev() {
+ _proto.prev = function prev() {
if (!this._isSliding) {
this._slide(Direction.PREV);
}
};
- Carousel.prototype.pause = function pause(event) {
+ _proto.pause = function pause(event) {
if (!event) {
this._isPaused = true;
}
@@ -671,7 +650,7 @@ var Carousel = function ($) {
this._interval = null;
};
- Carousel.prototype.cycle = function cycle(event) {
+ _proto.cycle = function cycle(event) {
if (!event) {
this._isPaused = false;
}
@@ -686,8 +665,8 @@ var Carousel = function ($) {
}
};
- Carousel.prototype.to = function to(index) {
- var _this3 = this;
+ _proto.to = function to(index) {
+ var _this = this;
this._activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
@@ -699,7 +678,7 @@ var Carousel = function ($) {
if (this._isSliding) {
$(this._element).one(Event.SLID, function () {
- return _this3.to(index);
+ return _this.to(index);
});
return;
}
@@ -715,10 +694,9 @@ var Carousel = function ($) {
this._slide(direction, this._items[index]);
};
- Carousel.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$(this._element).off(EVENT_KEY);
$.removeData(this._element, DATA_KEY);
-
this._items = null;
this._config = null;
this._element = null;
@@ -727,31 +705,31 @@ var Carousel = function ($) {
this._isSliding = null;
this._activeElement = null;
this._indicatorsElement = null;
- };
+ }; // private
- // private
- Carousel.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Carousel.prototype._addEventListeners = function _addEventListeners() {
- var _this4 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this2 = this;
if (this._config.keyboard) {
$(this._element).on(Event.KEYDOWN, function (event) {
- return _this4._keydown(event);
+ return _this2._keydown(event);
});
}
if (this._config.pause === 'hover') {
$(this._element).on(Event.MOUSEENTER, function (event) {
- return _this4.pause(event);
+ return _this2.pause(event);
}).on(Event.MOUSELEAVE, function (event) {
- return _this4.cycle(event);
+ return _this2.cycle(event);
});
+
if ('ontouchstart' in document.documentElement) {
// if it's a touch-enabled device, mouseenter/leave are fired as
// part of the mouse compatibility events on first tap - the carousel
@@ -761,19 +739,21 @@ var Carousel = function ($) {
// is NOT fired) and after a timeout (to allow for mouse compatibility
// events to fire) we explicitly restart cycling
$(this._element).on(Event.TOUCHEND, function () {
- _this4.pause();
- if (_this4.touchTimeout) {
- clearTimeout(_this4.touchTimeout);
+ _this2.pause();
+
+ if (_this2.touchTimeout) {
+ clearTimeout(_this2.touchTimeout);
}
- _this4.touchTimeout = setTimeout(function (event) {
- return _this4.cycle(event);
- }, TOUCHEVENT_COMPAT_WAIT + _this4._config.interval);
+
+ _this2.touchTimeout = setTimeout(function (event) {
+ return _this2.cycle(event);
+ }, TOUCHEVENT_COMPAT_WAIT + _this2._config.interval);
});
}
}
};
- Carousel.prototype._keydown = function _keydown(event) {
+ _proto._keydown = function _keydown(event) {
if (/input|textarea/i.test(event.target.tagName)) {
return;
}
@@ -783,24 +763,28 @@ var Carousel = function ($) {
event.preventDefault();
this.prev();
break;
+
case ARROW_RIGHT_KEYCODE:
event.preventDefault();
this.next();
break;
+
default:
return;
}
};
- Carousel.prototype._getItemIndex = function _getItemIndex(element) {
+ _proto._getItemIndex = function _getItemIndex(element) {
this._items = $.makeArray($(element).parent().find(Selector.ITEM));
return this._items.indexOf(element);
};
- Carousel.prototype._getItemByDirection = function _getItemByDirection(direction, activeElement) {
+ _proto._getItemByDirection = function _getItemByDirection(direction, activeElement) {
var isNextDirection = direction === Direction.NEXT;
var isPrevDirection = direction === Direction.PREV;
+
var activeIndex = this._getItemIndex(activeElement);
+
var lastItemIndex = this._items.length - 1;
var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex;
@@ -810,26 +794,25 @@ var Carousel = function ($) {
var delta = direction === Direction.PREV ? -1 : 1;
var itemIndex = (activeIndex + delta) % this._items.length;
-
return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex];
};
- Carousel.prototype._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
+ _proto._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {
var targetIndex = this._getItemIndex(relatedTarget);
+
var fromIndex = this._getItemIndex($(this._element).find(Selector.ACTIVE_ITEM)[0]);
+
var slideEvent = $.Event(Event.SLIDE, {
relatedTarget: relatedTarget,
direction: eventDirectionName,
from: fromIndex,
to: targetIndex
});
-
$(this._element).trigger(slideEvent);
-
return slideEvent;
};
- Carousel.prototype._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
+ _proto._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {
if (this._indicatorsElement) {
$(this._indicatorsElement).find(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
@@ -841,18 +824,21 @@ var Carousel = function ($) {
}
};
- Carousel.prototype._slide = function _slide(direction, element) {
- var _this5 = this;
+ _proto._slide = function _slide(direction, element) {
+ var _this3 = this;
var activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0];
+
var activeElementIndex = this._getItemIndex(activeElement);
+
var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement);
+
var nextElementIndex = this._getItemIndex(nextElement);
- var isCycling = Boolean(this._interval);
- var directionalClassName = void 0;
- var orderClassName = void 0;
- var eventDirectionName = void 0;
+ var isCycling = Boolean(this._interval);
+ var directionalClassName;
+ var orderClassName;
+ var eventDirectionName;
if (direction === Direction.NEXT) {
directionalClassName = ClassName.LEFT;
@@ -870,6 +856,7 @@ var Carousel = function ($) {
}
var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);
+
if (slideEvent.isDefaultPrevented()) {
return;
}
@@ -895,29 +882,21 @@ var Carousel = function ($) {
});
if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.SLIDE)) {
-
$(nextElement).addClass(orderClassName);
-
Util.reflow(nextElement);
-
$(activeElement).addClass(directionalClassName);
$(nextElement).addClass(directionalClassName);
-
$(activeElement).one(Util.TRANSITION_END, function () {
- $(nextElement).removeClass(directionalClassName + ' ' + orderClassName).addClass(ClassName.ACTIVE);
-
- $(activeElement).removeClass(ClassName.ACTIVE + ' ' + orderClassName + ' ' + directionalClassName);
-
- _this5._isSliding = false;
-
+ $(nextElement).removeClass(directionalClassName + " " + orderClassName).addClass(ClassName.ACTIVE);
+ $(activeElement).removeClass(ClassName.ACTIVE + " " + orderClassName + " " + directionalClassName);
+ _this3._isSliding = false;
setTimeout(function () {
- return $(_this5._element).trigger(slidEvent);
+ return $(_this3._element).trigger(slidEvent);
}, 0);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
$(activeElement).removeClass(ClassName.ACTIVE);
$(nextElement).addClass(ClassName.ACTIVE);
-
this._isSliding = false;
$(this._element).trigger(slidEvent);
}
@@ -925,16 +904,16 @@ var Carousel = function ($) {
if (isCycling) {
this.cycle();
}
- };
+ }; // static
- // static
Carousel._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
+
var _config = $.extend({}, Default, $(this).data());
- if ((typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object') {
+ if (typeof config === 'object') {
$.extend(_config, config);
}
@@ -948,9 +927,10 @@ var Carousel = function ($) {
if (typeof config === 'number') {
data.to(config);
} else if (typeof action === 'string') {
- if (data[action] === undefined) {
- throw new Error('No method named "' + action + '"');
+ if (typeof data[action] === 'undefined') {
+ throw new Error("No method named \"" + action + "\"");
}
+
data[action]();
} else if (_config.interval) {
data.pause();
@@ -988,36 +968,34 @@ var Carousel = function ($) {
event.preventDefault();
};
- _createClass(Carousel, null, [{
- key: 'VERSION',
+ createClass(Carousel, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Carousel;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler);
$(window).on(Event.LOAD_DATA_API, function () {
$(Selector.DATA_RIDE).each(function () {
var $carousel = $(this);
+
Carousel._jQueryInterface.call($carousel, $carousel.data());
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1026,71 +1004,63 @@ var Carousel = function ($) {
$.fn[NAME] = Carousel._jQueryInterface;
$.fn[NAME].Constructor = Carousel;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Carousel._jQueryInterface;
};
return Carousel;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): collapse.js
+ * Bootstrap (v4.0.0-beta.2): collapse.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Collapse = function ($) {
-
+var Collapse = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'collapse';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.collapse';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 600;
-
var Default = {
toggle: true,
parent: ''
};
-
var DefaultType = {
toggle: 'boolean',
- parent: 'string'
+ parent: '(string|element)'
};
-
var Event = {
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SHOW: 'show',
COLLAPSE: 'collapse',
COLLAPSING: 'collapsing',
COLLAPSED: 'collapsed'
};
-
var Dimension = {
WIDTH: 'width',
HEIGHT: 'height'
};
-
var Selector = {
ACTIVES: '.show, .collapsing',
DATA_TOGGLE: '[data-toggle="collapse"]'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1098,18 +1068,21 @@ var Collapse = function ($) {
*/
};
- var Collapse = function () {
- function Collapse(element, config) {
- _classCallCheck(this, Collapse);
+ var Collapse =
+ /*#__PURE__*/
+ function () {
+ function Collapse(element, config) {
this._isTransitioning = false;
this._element = element;
this._config = this._getConfig(config);
- this._triggerArray = $.makeArray($('[data-toggle="collapse"][href="#' + element.id + '"],' + ('[data-toggle="collapse"][data-target="#' + element.id + '"]')));
+ this._triggerArray = $.makeArray($("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
var tabToggles = $(Selector.DATA_TOGGLE);
+
for (var i = 0; i < tabToggles.length; i++) {
var elem = tabToggles[i];
var selector = Util.getSelectorFromElement(elem);
+
if (selector !== null && $(selector).filter(element).length > 0) {
this._triggerArray.push(elem);
}
@@ -1124,13 +1097,13 @@ var Collapse = function ($) {
if (this._config.toggle) {
this.toggle();
}
- }
+ } // getters
- // getters
- // public
+ var _proto = Collapse.prototype;
- Collapse.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if ($(this._element).hasClass(ClassName.SHOW)) {
this.hide();
} else {
@@ -1138,18 +1111,19 @@ var Collapse = function ($) {
}
};
- Collapse.prototype.show = function show() {
- var _this6 = this;
+ _proto.show = function show() {
+ var _this = this;
if (this._isTransitioning || $(this._element).hasClass(ClassName.SHOW)) {
return;
}
- var actives = void 0;
- var activesData = void 0;
+ var actives;
+ var activesData;
if (this._parent) {
actives = $.makeArray($(this._parent).children().children(Selector.ACTIVES));
+
if (!actives.length) {
actives = null;
}
@@ -1157,6 +1131,7 @@ var Collapse = function ($) {
if (actives) {
activesData = $(actives).data(DATA_KEY);
+
if (activesData && activesData._isTransitioning) {
return;
}
@@ -1164,12 +1139,14 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.SHOW);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
if (actives) {
Collapse._jQueryInterface.call($(actives), 'hide');
+
if (!activesData) {
$(actives).data(DATA_KEY, null);
}
@@ -1178,7 +1155,6 @@ var Collapse = function ($) {
var dimension = this._getDimension();
$(this._element).removeClass(ClassName.COLLAPSE).addClass(ClassName.COLLAPSING);
-
this._element.style[dimension] = 0;
if (this._triggerArray.length) {
@@ -1188,13 +1164,12 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- $(_this6._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
-
- _this6._element.style[dimension] = '';
+ $(_this._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW);
+ _this._element.style[dimension] = '';
- _this6.setTransitioning(false);
+ _this.setTransitioning(false);
- $(_this6._element).trigger(Event.SHOWN);
+ $(_this._element).trigger(Event.SHOWN);
};
if (!Util.supportsTransitionEnd()) {
@@ -1203,15 +1178,13 @@ var Collapse = function ($) {
}
var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);
- var scrollSize = 'scroll' + capitalizedDimension;
-
+ var scrollSize = "scroll" + capitalizedDimension;
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
-
- this._element.style[dimension] = this._element[scrollSize] + 'px';
+ this._element.style[dimension] = this._element[scrollSize] + "px";
};
- Collapse.prototype.hide = function hide() {
- var _this7 = this;
+ _proto.hide = function hide() {
+ var _this2 = this;
if (this._isTransitioning || !$(this._element).hasClass(ClassName.SHOW)) {
return;
@@ -1219,24 +1192,25 @@ var Collapse = function ($) {
var startEvent = $.Event(Event.HIDE);
$(this._element).trigger(startEvent);
+
if (startEvent.isDefaultPrevented()) {
return;
}
var dimension = this._getDimension();
- this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + 'px';
-
+ this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + "px";
Util.reflow(this._element);
-
$(this._element).addClass(ClassName.COLLAPSING).removeClass(ClassName.COLLAPSE).removeClass(ClassName.SHOW);
if (this._triggerArray.length) {
for (var i = 0; i < this._triggerArray.length; i++) {
var trigger = this._triggerArray[i];
var selector = Util.getSelectorFromElement(trigger);
+
if (selector !== null) {
var $elem = $(selector);
+
if (!$elem.hasClass(ClassName.SHOW)) {
$(trigger).addClass(ClassName.COLLAPSED).attr('aria-expanded', false);
}
@@ -1247,8 +1221,9 @@ var Collapse = function ($) {
this.setTransitioning(true);
var complete = function complete() {
- _this7.setTransitioning(false);
- $(_this7._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
+ _this2.setTransitioning(false);
+
+ $(_this2._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN);
};
this._element.style[dimension] = '';
@@ -1261,48 +1236,56 @@ var Collapse = function ($) {
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
};
- Collapse.prototype.setTransitioning = function setTransitioning(isTransitioning) {
+ _proto.setTransitioning = function setTransitioning(isTransitioning) {
this._isTransitioning = isTransitioning;
};
- Collapse.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
this._config = null;
this._parent = null;
this._element = null;
this._triggerArray = null;
this._isTransitioning = null;
- };
+ }; // private
- // private
- Collapse.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
config.toggle = Boolean(config.toggle); // coerce string values
+
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Collapse.prototype._getDimension = function _getDimension() {
+ _proto._getDimension = function _getDimension() {
var hasWidth = $(this._element).hasClass(Dimension.WIDTH);
return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT;
};
- Collapse.prototype._getParent = function _getParent() {
- var _this8 = this;
+ _proto._getParent = function _getParent() {
+ var _this3 = this;
+
+ var parent = null;
- var parent = $(this._config.parent)[0];
- var selector = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]';
+ if (Util.isElement(this._config.parent)) {
+ parent = this._config.parent; // it's a jQuery object
+
+ if (typeof this._config.parent.jquery !== 'undefined') {
+ parent = this._config.parent[0];
+ }
+ } else {
+ parent = $(this._config.parent)[0];
+ }
+ var selector = "[data-toggle=\"collapse\"][data-parent=\"" + this._config.parent + "\"]";
$(parent).find(selector).each(function (i, element) {
- _this8._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
+ _this3._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
});
-
return parent;
};
- Collapse.prototype._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
+ _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {
if (element) {
var isOpen = $(element).hasClass(ClassName.SHOW);
@@ -1310,9 +1293,8 @@ var Collapse = function ($) {
$(triggerArray).toggleClass(ClassName.COLLAPSED, !isOpen).attr('aria-expanded', isOpen);
}
}
- };
+ }; // static
- // static
Collapse._getTargetFromElement = function _getTargetFromElement(element) {
var selector = Util.getSelectorFromElement(element);
@@ -1323,7 +1305,8 @@ var Collapse = function ($) {
return this.each(function () {
var $this = $(this);
var data = $this.data(DATA_KEY);
- var _config = $.extend({}, Default, $this.data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Default, $this.data(), typeof config === 'object' && config);
if (!data && _config.toggle && /show|hide/.test(config)) {
_config.toggle = false;
@@ -1335,37 +1318,38 @@ var Collapse = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Collapse, null, [{
- key: 'VERSION',
+ createClass(Collapse, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Collapse;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- if (!/input|textarea/i.test(event.target.tagName)) {
+ // preventDefault only for <a> elements (which change the URL) not inside the collapsible element
+ if (event.currentTarget.tagName === 'A') {
event.preventDefault();
}
@@ -1375,10 +1359,10 @@ var Collapse = function ($) {
var $target = $(this);
var data = $target.data(DATA_KEY);
var config = data ? 'toggle' : $trigger.data();
+
Collapse._jQueryInterface.call($target, config);
});
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1387,25 +1371,23 @@ var Collapse = function ($) {
$.fn[NAME] = Collapse._jQueryInterface;
$.fn[NAME].Constructor = Collapse;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Collapse._jQueryInterface;
};
return Collapse;
-}(jQuery);
-
-/* global Popper */
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): dropdown.js
+ * Bootstrap (v4.0.0-beta.2): dropdown.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Dropdown = function ($) {
-
+var Dropdown = function () {
/**
* Check for Popper dependency
* Popper - https://popper.js.org
@@ -1413,38 +1395,42 @@ var Dropdown = function ($) {
if (typeof Popper === 'undefined') {
throw new Error('Bootstrap dropdown require Popper.js (https://popper.js.org)');
}
-
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
+
var NAME = 'dropdown';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.dropdown';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key
+
var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key
+
var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key
+
var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key
+
var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key
+
var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse)
- var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + '|' + ARROW_DOWN_KEYCODE + '|' + ESCAPE_KEYCODE);
+ var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + "|" + ARROW_DOWN_KEYCODE + "|" + ESCAPE_KEYCODE);
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY,
- KEYDOWN_DATA_API: 'keydown' + EVENT_KEY + DATA_API_KEY,
- KEYUP_DATA_API: 'keyup' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY,
+ KEYDOWN_DATA_API: "keydown" + EVENT_KEY + DATA_API_KEY,
+ KEYUP_DATA_API: "keyup" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
DISABLED: 'disabled',
SHOW: 'show',
@@ -1452,7 +1438,6 @@ var Dropdown = function ($) {
MENURIGHT: 'dropdown-menu-right',
MENULEFT: 'dropdown-menu-left'
};
-
var Selector = {
DATA_TOGGLE: '[data-toggle="dropdown"]',
FORM_CHILD: '.dropdown form',
@@ -1460,25 +1445,19 @@ var Dropdown = function ($) {
NAVBAR_NAV: '.navbar-nav',
VISIBLE_ITEMS: '.dropdown-menu .dropdown-item:not(.disabled)'
};
-
var AttachmentMap = {
TOP: 'top-start',
TOPEND: 'top-end',
BOTTOM: 'bottom-start',
BOTTOMEND: 'bottom-end'
};
-
var Default = {
- placement: AttachmentMap.BOTTOM,
offset: 0,
flip: true
};
-
var DefaultType = {
- placement: 'string',
- offset: '(number|string)',
+ offset: '(number|string|function)',
flip: 'boolean'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1486,10 +1465,11 @@ var Dropdown = function ($) {
*/
};
- var Dropdown = function () {
- function Dropdown(element, config) {
- _classCallCheck(this, Dropdown);
+ var Dropdown =
+ /*#__PURE__*/
+ function () {
+ function Dropdown(element, config) {
this._element = element;
this._popper = null;
this._config = this._getConfig(config);
@@ -1497,18 +1477,19 @@ var Dropdown = function ($) {
this._inNavbar = this._detectNavbar();
this._addEventListeners();
- }
+ } // getters
- // getters
- // public
+ var _proto = Dropdown.prototype;
- Dropdown.prototype.toggle = function toggle() {
+ // public
+ _proto.toggle = function toggle() {
if (this._element.disabled || $(this._element).hasClass(ClassName.DISABLED)) {
return;
}
var parent = Dropdown._getParentFromElement(this._element);
+
var isActive = $(this._menu).hasClass(ClassName.SHOW);
Dropdown._clearMenus();
@@ -1521,135 +1502,147 @@ var Dropdown = function ($) {
relatedTarget: this._element
};
var showEvent = $.Event(Event.SHOW, relatedTarget);
-
$(parent).trigger(showEvent);
if (showEvent.isDefaultPrevented()) {
return;
}
- 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
+
if ($(parent).hasClass(ClassName.DROPUP)) {
if ($(this._menu).hasClass(ClassName.MENULEFT) || $(this._menu).hasClass(ClassName.MENURIGHT)) {
element = parent;
}
}
- this._popper = new Popper(element, this._menu, this._getPopperConfig());
- // if this is a touch-enabled device we add extra
+ this._popper = new Popper(element, this._menu, this._getPopperConfig()); // if this is a touch-enabled device we add extra
// empty mouseover listeners to the body's immediate children;
// only needed because of broken event delegation on iOS
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
+
if ('ontouchstart' in document.documentElement && !$(parent).closest(Selector.NAVBAR_NAV).length) {
$('body').children().on('mouseover', null, $.noop);
}
this._element.focus();
+
this._element.setAttribute('aria-expanded', true);
$(this._menu).toggleClass(ClassName.SHOW);
$(parent).toggleClass(ClassName.SHOW).trigger($.Event(Event.SHOWN, relatedTarget));
};
- Dropdown.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
$(this._element).off(EVENT_KEY);
this._element = null;
this._menu = null;
+
if (this._popper !== null) {
this._popper.destroy();
}
+
this._popper = null;
};
- Dropdown.prototype.update = function update() {
+ _proto.update = function update() {
this._inNavbar = this._detectNavbar();
+
if (this._popper !== null) {
this._popper.scheduleUpdate();
}
- };
+ }; // private
- // private
- Dropdown.prototype._addEventListeners = function _addEventListeners() {
- var _this9 = this;
+ _proto._addEventListeners = function _addEventListeners() {
+ var _this = this;
$(this._element).on(Event.CLICK, function (event) {
event.preventDefault();
event.stopPropagation();
- _this9.toggle();
+
+ _this.toggle();
});
};
- Dropdown.prototype._getConfig = function _getConfig(config) {
- var elementData = $(this._element).data();
- if (elementData.placement !== undefined) {
- elementData.placement = AttachmentMap[elementData.placement.toUpperCase()];
- }
-
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, this.constructor.Default, $(this._element).data(), config);
-
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
-
return config;
};
- Dropdown.prototype._getMenuElement = function _getMenuElement() {
+ _proto._getMenuElement = function _getMenuElement() {
if (!this._menu) {
var parent = Dropdown._getParentFromElement(this._element);
+
this._menu = $(parent).find(Selector.MENU)[0];
}
+
return this._menu;
};
- Dropdown.prototype._getPlacement = function _getPlacement() {
+ _proto._getPlacement = function _getPlacement() {
var $parentDropdown = $(this._element).parent();
- var placement = this._config.placement;
+ var placement = AttachmentMap.BOTTOM; // Handle dropup
- // Handle dropup
- if ($parentDropdown.hasClass(ClassName.DROPUP) || this._config.placement === AttachmentMap.TOP) {
+ if ($parentDropdown.hasClass(ClassName.DROPUP)) {
placement = AttachmentMap.TOP;
+
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.TOPEND;
}
} else if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.BOTTOMEND;
}
+
return placement;
};
- Dropdown.prototype._detectNavbar = function _detectNavbar() {
+ _proto._detectNavbar = function _detectNavbar() {
return $(this._element).closest('.navbar').length > 0;
};
- Dropdown.prototype._getPopperConfig = function _getPopperConfig() {
+ _proto._getPopperConfig = function _getPopperConfig() {
+ var _this2 = this;
+
+ var offsetConf = {};
+
+ if (typeof this._config.offset === 'function') {
+ offsetConf.fn = function (data) {
+ data.offsets = $.extend({}, data.offsets, _this2._config.offset(data.offsets) || {});
+ return data;
+ };
+ } else {
+ offsetConf.offset = this._config.offset;
+ }
+
var popperConfig = {
placement: this._getPlacement(),
modifiers: {
- offset: {
- offset: this._config.offset
- },
+ offset: offsetConf,
flip: {
enabled: this._config.flip
}
- }
+ } // Disable Popper.js for Dropdown in Navbar
+
+ };
- // Disable Popper.js for Dropdown in Navbar
- };if (this._inNavbar) {
+ if (this._inNavbar) {
popperConfig.modifiers.applyStyle = {
enabled: !this._inNavbar
};
}
+
return popperConfig;
- };
+ }; // static
- // static
Dropdown._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+
+ var _config = typeof config === 'object' ? config : null;
if (!data) {
data = new Dropdown(this, _config);
@@ -1657,9 +1650,10 @@ var Dropdown = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
@@ -1671,8 +1665,10 @@ var Dropdown = function ($) {
}
var toggles = $.makeArray($(Selector.DATA_TOGGLE));
+
for (var i = 0; i < toggles.length; i++) {
var parent = Dropdown._getParentFromElement(toggles[i]);
+
var context = $(toggles[i]).data(DATA_KEY);
var relatedTarget = {
relatedTarget: toggles[i]
@@ -1683,6 +1679,7 @@ var Dropdown = function ($) {
}
var dropdownMenu = context._menu;
+
if (!$(parent).hasClass(ClassName.SHOW)) {
continue;
}
@@ -1693,25 +1690,25 @@ var Dropdown = function ($) {
var hideEvent = $.Event(Event.HIDE, relatedTarget);
$(parent).trigger(hideEvent);
+
if (hideEvent.isDefaultPrevented()) {
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
+
+
if ('ontouchstart' in document.documentElement) {
$('body').children().off('mouseover', null, $.noop);
}
toggles[i].setAttribute('aria-expanded', 'false');
-
$(dropdownMenu).removeClass(ClassName.SHOW);
$(parent).removeClass(ClassName.SHOW).trigger($.Event(Event.HIDDEN, relatedTarget));
}
};
Dropdown._getParentFromElement = function _getParentFromElement(element) {
- var parent = void 0;
+ var parent;
var selector = Util.getSelectorFromElement(element);
if (selector) {
@@ -1734,10 +1731,10 @@ var Dropdown = function ($) {
}
var parent = Dropdown._getParentFromElement(this);
+
var isActive = $(parent).hasClass(ClassName.SHOW);
if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
-
if (event.which === ESCAPE_KEYCODE) {
var toggle = $(parent).find(Selector.DATA_TOGGLE)[0];
$(toggle).trigger('focus');
@@ -1772,40 +1769,39 @@ var Dropdown = function ($) {
items[index].focus();
};
- _createClass(Dropdown, null, [{
- key: 'VERSION',
+ createClass(Dropdown, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}, {
- key: 'DefaultType',
+ key: "DefaultType",
get: function get() {
return DefaultType;
}
}]);
-
return Dropdown;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
- $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + ' ' + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+
+ $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + " " + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
event.preventDefault();
event.stopPropagation();
+
Dropdown._jQueryInterface.call($(this), 'toggle');
}).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) {
e.stopPropagation();
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -1814,33 +1810,32 @@ var Dropdown = function ($) {
$.fn[NAME] = Dropdown._jQueryInterface;
$.fn[NAME].Constructor = Dropdown;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Dropdown._jQueryInterface;
};
return Dropdown;
-}(jQuery);
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): modal.js
+ * Bootstrap (v4.0.0-beta.2): modal.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Modal = function ($) {
-
+var Modal = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
var NAME = 'modal';
- var VERSION = '4.0.0-beta';
+ var VERSION = '4.0.0-beta.2';
var DATA_KEY = 'bs.modal';
- var EVENT_KEY = '.' + DATA_KEY;
+ var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
var TRANSITION_DURATION = 300;
@@ -1853,28 +1848,25 @@ var Modal = function ($) {
focus: true,
show: true
};
-
var DefaultType = {
backdrop: '(boolean|string)',
keyboard: 'boolean',
focus: 'boolean',
show: 'boolean'
};
-
var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- RESIZE: 'resize' + EVENT_KEY,
- CLICK_DISMISS: 'click.dismiss' + EVENT_KEY,
- KEYDOWN_DISMISS: 'keydown.dismiss' + EVENT_KEY,
- MOUSEUP_DISMISS: 'mouseup.dismiss' + EVENT_KEY,
- MOUSEDOWN_DISMISS: 'mousedown.dismiss' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ RESIZE: "resize" + EVENT_KEY,
+ CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
+ KEYDOWN_DISMISS: "keydown.dismiss" + EVENT_KEY,
+ MOUSEUP_DISMISS: "mouseup.dismiss" + EVENT_KEY,
+ MOUSEDOWN_DISMISS: "mousedown.dismiss" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
};
-
var ClassName = {
SCROLLBAR_MEASURER: 'modal-scrollbar-measure',
BACKDROP: 'modal-backdrop',
@@ -1882,14 +1874,13 @@ var Modal = function ($) {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
DIALOG: '.modal-dialog',
DATA_TOGGLE: '[data-toggle="modal"]',
DATA_DISMISS: '[data-dismiss="modal"]',
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
+ STICKY_CONTENT: '.sticky-top',
NAVBAR_TOGGLER: '.navbar-toggler'
-
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -1897,10 +1888,11 @@ var Modal = function ($) {
*/
};
- var Modal = function () {
- function Modal(element, config) {
- _classCallCheck(this, Modal);
+ var Modal =
+ /*#__PURE__*/
+ function () {
+ function Modal(element, config) {
this._config = this._getConfig(config);
this._element = element;
this._dialog = $(element).find(Selector.DIALOG)[0];
@@ -1910,20 +1902,20 @@ var Modal = function ($) {
this._ignoreBackdropClick = false;
this._originalBodyPadding = 0;
this._scrollbarWidth = 0;
- }
+ } // getters
- // getters
- // public
+ var _proto = Modal.prototype;
- Modal.prototype.toggle = function toggle(relatedTarget) {
+ // public
+ _proto.toggle = function toggle(relatedTarget) {
return this._isShown ? this.hide() : this.show(relatedTarget);
};
- Modal.prototype.show = function show(relatedTarget) {
- var _this10 = this;
+ _proto.show = function show(relatedTarget) {
+ var _this = this;
- if (this._isTransitioning) {
+ if (this._isTransitioning || this._isShown) {
return;
}
@@ -1934,7 +1926,6 @@ var Modal = function ($) {
var showEvent = $.Event(Event.SHOW, {
relatedTarget: relatedTarget
});
-
$(this._element).trigger(showEvent);
if (this._isShown || showEvent.isDefaultPrevented()) {
@@ -1944,32 +1935,35 @@ var Modal = function ($) {
this._isShown = true;
this._checkScrollbar();
+
this._setScrollbar();
+ this._adjustDialog();
+
$(document.body).addClass(ClassName.OPEN);
this._setEscapeEvent();
+
this._setResizeEvent();
$(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function (event) {
- return _this10.hide(event);
+ return _this.hide(event);
});
-
$(this._dialog).on(Event.MOUSEDOWN_DISMISS, function () {
- $(_this10._element).one(Event.MOUSEUP_DISMISS, function (event) {
- if ($(event.target).is(_this10._element)) {
- _this10._ignoreBackdropClick = true;
+ $(_this._element).one(Event.MOUSEUP_DISMISS, function (event) {
+ if ($(event.target).is(_this._element)) {
+ _this._ignoreBackdropClick = true;
}
});
});
this._showBackdrop(function () {
- return _this10._showElement(relatedTarget);
+ return _this._showElement(relatedTarget);
});
};
- Modal.prototype.hide = function hide(event) {
- var _this11 = this;
+ _proto.hide = function hide(event) {
+ var _this2 = this;
if (event) {
event.preventDefault();
@@ -1979,14 +1973,7 @@ var Modal = function ($) {
return;
}
- var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
-
- if (transition) {
- this._isTransitioning = true;
- }
-
var hideEvent = $.Event(Event.HIDE);
-
$(this._element).trigger(hideEvent);
if (!this._isShown || hideEvent.isDefaultPrevented()) {
@@ -1994,32 +1981,33 @@ var Modal = function ($) {
}
this._isShown = false;
+ var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
+
+ if (transition) {
+ this._isTransitioning = true;
+ }
this._setEscapeEvent();
+
this._setResizeEvent();
$(document).off(Event.FOCUSIN);
-
$(this._element).removeClass(ClassName.SHOW);
-
$(this._element).off(Event.CLICK_DISMISS);
$(this._dialog).off(Event.MOUSEDOWN_DISMISS);
if (transition) {
-
$(this._element).one(Util.TRANSITION_END, function (event) {
- return _this11._hideModal(event);
+ return _this2._hideModal(event);
}).emulateTransitionEnd(TRANSITION_DURATION);
} else {
this._hideModal();
}
};
- Modal.prototype.dispose = function dispose() {
+ _proto.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
-
$(window, document, this._element, this._backdrop).off(EVENT_KEY);
-
this._config = null;
this._element = null;
this._dialog = null;
@@ -2030,20 +2018,19 @@ var Modal = function ($) {
this._scrollbarWidth = null;
};
- Modal.prototype.handleUpdate = function handleUpdate() {
+ _proto.handleUpdate = function handleUpdate() {
this._adjustDialog();
- };
+ }; // private
- // private
- Modal.prototype._getConfig = function _getConfig(config) {
+ _proto._getConfig = function _getConfig(config) {
config = $.extend({}, Default, config);
Util.typeCheckConfig(NAME, config, DefaultType);
return config;
};
- Modal.prototype._showElement = function _showElement(relatedTarget) {
- var _this12 = this;
+ _proto._showElement = function _showElement(relatedTarget) {
+ var _this3 = this;
var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE);
@@ -2053,7 +2040,9 @@ var Modal = function ($) {
}
this._element.style.display = 'block';
+
this._element.removeAttribute('aria-hidden');
+
this._element.scrollTop = 0;
if (transition) {
@@ -2071,11 +2060,12 @@ var Modal = function ($) {
});
var transitionComplete = function transitionComplete() {
- if (_this12._config.focus) {
- _this12._element.focus();
+ if (_this3._config.focus) {
+ _this3._element.focus();
}
- _this12._isTransitioning = false;
- $(_this12._element).trigger(shownEvent);
+
+ _this3._isTransitioning = false;
+ $(_this3._element).trigger(shownEvent);
};
if (transition) {
@@ -2085,25 +2075,26 @@ var Modal = function ($) {
}
};
- Modal.prototype._enforceFocus = function _enforceFocus() {
- var _this13 = this;
+ _proto._enforceFocus = function _enforceFocus() {
+ var _this4 = this;
$(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) {
- if (document !== event.target && _this13._element !== event.target && !$(_this13._element).has(event.target).length) {
- _this13._element.focus();
+ if (document !== event.target && _this4._element !== event.target && !$(_this4._element).has(event.target).length) {
+ _this4._element.focus();
}
});
};
- Modal.prototype._setEscapeEvent = function _setEscapeEvent() {
- var _this14 = this;
+ _proto._setEscapeEvent = function _setEscapeEvent() {
+ var _this5 = this;
if (this._isShown && this._config.keyboard) {
$(this._element).on(Event.KEYDOWN_DISMISS, function (event) {
if (event.which === ESCAPE_KEYCODE) {
event.preventDefault();
- _this14.hide();
+
+ _this5.hide();
}
});
} else if (!this._isShown) {
@@ -2111,47 +2102,52 @@ var Modal = function ($) {
}
};
- Modal.prototype._setResizeEvent = function _setResizeEvent() {
- var _this15 = this;
+ _proto._setResizeEvent = function _setResizeEvent() {
+ var _this6 = this;
if (this._isShown) {
$(window).on(Event.RESIZE, function (event) {
- return _this15.handleUpdate(event);
+ return _this6.handleUpdate(event);
});
} else {
$(window).off(Event.RESIZE);
}
};
- Modal.prototype._hideModal = function _hideModal() {
- var _this16 = this;
+ _proto._hideModal = function _hideModal() {
+ var _this7 = this;
this._element.style.display = 'none';
+
this._element.setAttribute('aria-hidden', true);
+
this._isTransitioning = false;
+
this._showBackdrop(function () {
$(document.body).removeClass(ClassName.OPEN);
- _this16._resetAdjustments();
- _this16._resetScrollbar();
- $(_this16._element).trigger(Event.HIDDEN);
+
+ _this7._resetAdjustments();
+
+ _this7._resetScrollbar();
+
+ $(_this7._element).trigger(Event.HIDDEN);
});
};
- Modal.prototype._removeBackdrop = function _removeBackdrop() {
+ _proto._removeBackdrop = function _removeBackdrop() {
if (this._backdrop) {
$(this._backdrop).remove();
this._backdrop = null;
}
};
- Modal.prototype._showBackdrop = function _showBackdrop(callback) {
- var _this17 = this;
+ _proto._showBackdrop = function _showBackdrop(callback) {
+ var _this8 = this;
var animate = $(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : '';
if (this._isShown && this._config.backdrop) {
var doAnimate = Util.supportsTransitionEnd() && animate;
-
this._backdrop = document.createElement('div');
this._backdrop.className = ClassName.BACKDROP;
@@ -2160,19 +2156,20 @@ var Modal = function ($) {
}
$(this._backdrop).appendTo(document.body);
-
$(this._element).on(Event.CLICK_DISMISS, function (event) {
- if (_this17._ignoreBackdropClick) {
- _this17._ignoreBackdropClick = false;
+ if (_this8._ignoreBackdropClick) {
+ _this8._ignoreBackdropClick = false;
return;
}
+
if (event.target !== event.currentTarget) {
return;
}
- if (_this17._config.backdrop === 'static') {
- _this17._element.focus();
+
+ if (_this8._config.backdrop === 'static') {
+ _this8._element.focus();
} else {
- _this17.hide();
+ _this8.hide();
}
});
@@ -2196,7 +2193,8 @@ var Modal = function ($) {
$(this._backdrop).removeClass(ClassName.SHOW);
var callbackRemove = function callbackRemove() {
- _this17._removeBackdrop();
+ _this8._removeBackdrop();
+
if (callback) {
callback();
}
@@ -2210,88 +2208,92 @@ var Modal = function ($) {
} else if (callback) {
callback();
}
- };
-
- // ----------------------------------------------------------------------
+ }; // ----------------------------------------------------------------------
// the following methods are used to handle overflowing modals
// todo (fat): these should probably be refactored out of modal.js
// ----------------------------------------------------------------------
- Modal.prototype._adjustDialog = function _adjustDialog() {
+
+ _proto._adjustDialog = function _adjustDialog() {
var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;
if (!this._isBodyOverflowing && isModalOverflowing) {
- this._element.style.paddingLeft = this._scrollbarWidth + 'px';
+ this._element.style.paddingLeft = this._scrollbarWidth + "px";
}
if (this._isBodyOverflowing && !isModalOverflowing) {
- this._element.style.paddingRight = this._scrollbarWidth + 'px';
+ this._element.style.paddingRight = this._scrollbarWidth + "px";
}
};
- Modal.prototype._resetAdjustments = function _resetAdjustments() {
+ _proto._resetAdjustments = function _resetAdjustments() {
this._element.style.paddingLeft = '';
this._element.style.paddingRight = '';
};
- Modal.prototype._checkScrollbar = function _checkScrollbar() {
- this._isBodyOverflowing = document.body.clientWidth < window.innerWidth;
+ _proto._checkScrollbar = function _checkScrollbar() {
+ var rect = document.body.getBoundingClientRect();
+ this._isBodyOverflowing = rect.left + rect.right < window.innerWidth;
this._scrollbarWidth = this._getScrollbarWidth();
};
- Modal.prototype._setScrollbar = function _setScrollbar() {
- var _this18 = this;
+ _proto._setScrollbar = function _setScrollbar() {
+ var _this9 = this;
if (this._isBodyOverflowing) {
// Note: DOMNode.style.paddingRight returns the actual value or '' if not set
// while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set
-
// Adjust fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var actualPadding = $(element)[0].style.paddingRight;
var calculatedPadding = $(element).css('padding-right');
- $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this9._scrollbarWidth + "px");
+ }); // Adjust sticky content margin
+
+ $(Selector.STICKY_CONTENT).each(function (index, element) {
+ var actualMargin = $(element)[0].style.marginRight;
+ var calculatedMargin = $(element).css('margin-right');
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) - _this9._scrollbarWidth + "px");
+ }); // Adjust navbar-toggler margin
- // Adjust navbar-toggler margin
$(Selector.NAVBAR_TOGGLER).each(function (index, element) {
var actualMargin = $(element)[0].style.marginRight;
var calculatedMargin = $(element).css('margin-right');
- $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this18._scrollbarWidth + 'px');
- });
+ $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this9._scrollbarWidth + "px");
+ }); // Adjust body padding
- // Adjust body padding
var actualPadding = document.body.style.paddingRight;
var calculatedPadding = $('body').css('padding-right');
- $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + 'px');
+ $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
}
};
- Modal.prototype._resetScrollbar = function _resetScrollbar() {
+ _proto._resetScrollbar = function _resetScrollbar() {
// Restore fixed content padding
$(Selector.FIXED_CONTENT).each(function (index, element) {
var padding = $(element).data('padding-right');
+
if (typeof padding !== 'undefined') {
$(element).css('padding-right', padding).removeData('padding-right');
}
- });
+ }); // Restore sticky content and navbar-toggler margin
- // Restore navbar-toggler margin
- $(Selector.NAVBAR_TOGGLER).each(function (index, element) {
+ $(Selector.STICKY_CONTENT + ", " + Selector.NAVBAR_TOGGLER).each(function (index, element) {
var margin = $(element).data('margin-right');
+
if (typeof margin !== 'undefined') {
$(element).css('margin-right', margin).removeData('margin-right');
}
- });
+ }); // Restore body padding
- // Restore body padding
var padding = $('body').data('padding-right');
+
if (typeof padding !== 'undefined') {
$('body').css('padding-right', padding).removeData('padding-right');
}
};
- Modal.prototype._getScrollbarWidth = function _getScrollbarWidth() {
+ _proto._getScrollbarWidth = function _getScrollbarWidth() {
// thx d.walsh
var scrollDiv = document.createElement('div');
scrollDiv.className = ClassName.SCROLLBAR_MEASURER;
@@ -2299,14 +2301,14 @@ var Modal = function ($) {
var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth;
document.body.removeChild(scrollDiv);
return scrollbarWidth;
- };
+ }; // static
- // static
Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = $.extend({}, Modal.Default, $(this).data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config);
+
+ var _config = $.extend({}, Modal.Default, $(this).data(), typeof config === 'object' && config);
if (!data) {
data = new Modal(this, _config);
@@ -2314,9 +2316,10 @@ var Modal = function ($) {
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config](relatedTarget);
} else if (_config.show) {
data.show(relatedTarget);
@@ -2324,31 +2327,30 @@ var Modal = function ($) {
});
};
- _createClass(Modal, null, [{
- key: 'VERSION',
+ createClass(Modal, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
}]);
-
return Modal;
}();
-
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
+
$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- var _this19 = this;
+ var _this10 = this;
- var target = void 0;
+ var target;
var selector = Util.getSelectorFromElement(this);
if (selector) {
@@ -2368,15 +2370,14 @@ var Modal = function ($) {
}
$target.one(Event.HIDDEN, function () {
- if ($(_this19).is(':visible')) {
- _this19.focus();
+ if ($(_this10).is(':visible')) {
+ _this10.focus();
}
});
});
Modal._jQueryInterface.call($(target), config, this);
});
-
/**
* ------------------------------------------------------------------------
* jQuery
@@ -2385,75 +2386,108 @@ var Modal = function ($) {
$.fn[NAME] = Modal._jQueryInterface;
$.fn[NAME].Constructor = Modal;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
return Modal._jQueryInterface;
};
return Modal;
-}(jQuery);
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): scrollspy.js
+ * Bootstrap (v4.0.0-beta.2): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var ScrollSpy = function ($) {
-
+var Tooltip = function () {
+ /**
+ * Check for Popper dependency
+ * Popper - https://popper.js.org
+ */
+ if (typeof Popper === 'undefined') {
+ throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
+ }
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
- var NAME = 'scrollspy';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.scrollspy';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var NAME = 'tooltip';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tooltip';
+ var EVENT_KEY = "." + DATA_KEY;
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var TRANSITION_DURATION = 150;
+ var CLASS_PREFIX = 'bs-tooltip';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var DefaultType = {
+ animation: 'boolean',
+ template: 'string',
+ title: '(string|element|function)',
+ trigger: 'string',
+ delay: '(number|object)',
+ html: 'boolean',
+ selector: '(string|boolean)',
+ placement: '(string|function)',
+ offset: '(number|string)',
+ container: '(string|element|boolean)',
+ fallbackPlacement: '(string|array)'
+ };
+ var AttachmentMap = {
+ AUTO: 'auto',
+ TOP: 'top',
+ RIGHT: 'right',
+ BOTTOM: 'bottom',
+ LEFT: 'left'
+ };
var Default = {
- offset: 10,
- method: 'auto',
- target: ''
+ animation: true,
+ template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
+ trigger: 'hover focus',
+ title: '',
+ delay: 0,
+ html: false,
+ selector: false,
+ placement: 'top',
+ offset: 0,
+ container: false,
+ fallbackPlacement: 'flip'
};
-
- var DefaultType = {
- offset: 'number',
- method: 'string',
- target: '(string|element)'
+ var HoverState = {
+ SHOW: 'show',
+ OUT: 'out'
};
-
var Event = {
- ACTIVATE: 'activate' + EVENT_KEY,
- SCROLL: 'scroll' + EVENT_KEY,
- LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
};
-
var ClassName = {
- DROPDOWN_ITEM: 'dropdown-item',
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active'
+ FADE: 'fade',
+ SHOW: 'show'
};
-
var Selector = {
- DATA_SPY: '[data-spy="scroll"]',
- ACTIVE: '.active',
- NAV_LIST_GROUP: '.nav, .list-group',
- NAV_LINKS: '.nav-link',
- LIST_ITEMS: '.list-group-item',
- DROPDOWN: '.dropdown',
- DROPDOWN_ITEMS: '.dropdown-item',
- DROPDOWN_TOGGLE: '.dropdown-toggle'
+ TOOLTIP: '.tooltip',
+ TOOLTIP_INNER: '.tooltip-inner',
+ ARROW: '.arrow'
};
-
- var OffsetMethod = {
- OFFSET: 'offset',
- POSITION: 'position'
-
+ var Trigger = {
+ HOVER: 'hover',
+ FOCUS: 'focus',
+ CLICK: 'click',
+ MANUAL: 'manual'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -2461,607 +2495,615 @@ var ScrollSpy = function ($) {
*/
};
- var ScrollSpy = function () {
- function ScrollSpy(element, config) {
- var _this20 = this;
- _classCallCheck(this, ScrollSpy);
+ var Tooltip =
+ /*#__PURE__*/
+ function () {
+ function Tooltip(element, config) {
+ // private
+ this._isEnabled = true;
+ this._timeout = 0;
+ this._hoverState = '';
+ this._activeTrigger = {};
+ this._popper = null; // protected
- this._element = element;
- this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
- this._targets = [];
- this._activeTarget = null;
- this._scrollHeight = 0;
+ this.element = element;
+ this.config = this._getConfig(config);
+ this.tip = null;
- $(this._scrollElement).on(Event.SCROLL, function (event) {
- return _this20._process(event);
- });
+ this._setListeners();
+ } // getters
- this.refresh();
- this._process();
- }
- // getters
+ var _proto = Tooltip.prototype;
// public
+ _proto.enable = function enable() {
+ this._isEnabled = true;
+ };
- ScrollSpy.prototype.refresh = function refresh() {
- var _this21 = this;
-
- var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
-
- var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ _proto.disable = function disable() {
+ this._isEnabled = false;
+ };
- var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ _proto.toggleEnabled = function toggleEnabled() {
+ this._isEnabled = !this._isEnabled;
+ };
- this._offsets = [];
- this._targets = [];
+ _proto.toggle = function toggle(event) {
+ if (!this._isEnabled) {
+ return;
+ }
- this._scrollHeight = this._getScrollHeight();
+ if (event) {
+ var dataKey = this.constructor.DATA_KEY;
+ var context = $(event.currentTarget).data(dataKey);
- var targets = $.makeArray($(this._selector));
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- targets.map(function (element) {
- var target = void 0;
- var targetSelector = Util.getSelectorFromElement(element);
+ context._activeTrigger.click = !context._activeTrigger.click;
- if (targetSelector) {
- target = $(targetSelector)[0];
+ if (context._isWithActiveTrigger()) {
+ context._enter(null, context);
+ } else {
+ context._leave(null, context);
}
+ } else {
+ if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
+ this._leave(null, this);
- if (target) {
- var targetBCR = target.getBoundingClientRect();
- if (targetBCR.width || targetBCR.height) {
- // todo (fat): remove sketch reliance on jQuery position/offset
- return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
- }
+ return;
}
- return null;
- }).filter(function (item) {
- return item;
- }).sort(function (a, b) {
- return a[0] - b[0];
- }).forEach(function (item) {
- _this21._offsets.push(item[0]);
- _this21._targets.push(item[1]);
- });
- };
-
- ScrollSpy.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- $(this._scrollElement).off(EVENT_KEY);
- this._element = null;
- this._scrollElement = null;
- this._config = null;
- this._selector = null;
- this._offsets = null;
- this._targets = null;
- this._activeTarget = null;
- this._scrollHeight = null;
+ this._enter(null, this);
+ }
};
- // private
-
- ScrollSpy.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, Default, config);
+ _proto.dispose = function dispose() {
+ clearTimeout(this._timeout);
+ $.removeData(this.element, this.constructor.DATA_KEY);
+ $(this.element).off(this.constructor.EVENT_KEY);
+ $(this.element).closest('.modal').off('hide.bs.modal');
- if (typeof config.target !== 'string') {
- var id = $(config.target).attr('id');
- if (!id) {
- id = Util.getUID(NAME);
- $(config.target).attr('id', id);
- }
- config.target = '#' + id;
+ if (this.tip) {
+ $(this.tip).remove();
}
- Util.typeCheckConfig(NAME, config, DefaultType);
+ this._isEnabled = null;
+ this._timeout = null;
+ this._hoverState = null;
+ this._activeTrigger = null;
- return config;
- };
+ if (this._popper !== null) {
+ this._popper.destroy();
+ }
- ScrollSpy.prototype._getScrollTop = function _getScrollTop() {
- return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ this._popper = null;
+ this.element = null;
+ this.config = null;
+ this.tip = null;
};
- ScrollSpy.prototype._getScrollHeight = function _getScrollHeight() {
- return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
- };
+ _proto.show = function show() {
+ var _this = this;
- ScrollSpy.prototype._getOffsetHeight = function _getOffsetHeight() {
- return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
- };
+ if ($(this.element).css('display') === 'none') {
+ throw new Error('Please use show on visible elements');
+ }
- ScrollSpy.prototype._process = function _process() {
- var scrollTop = this._getScrollTop() + this._config.offset;
- var scrollHeight = this._getScrollHeight();
- var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
+ var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this._scrollHeight !== scrollHeight) {
- this.refresh();
- }
+ if (this.isWithContent() && this._isEnabled) {
+ $(this.element).trigger(showEvent);
+ var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
- if (scrollTop >= maxScroll) {
- var target = this._targets[this._targets.length - 1];
+ if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ return;
+ }
- if (this._activeTarget !== target) {
- this._activate(target);
+ var tip = this.getTipElement();
+ var tipId = Util.getUID(this.constructor.NAME);
+ tip.setAttribute('id', tipId);
+ this.element.setAttribute('aria-describedby', tipId);
+ this.setContent();
+
+ if (this.config.animation) {
+ $(tip).addClass(ClassName.FADE);
}
- return;
- }
- if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
- this._activeTarget = null;
- this._clear();
- return;
- }
+ var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
- for (var i = this._offsets.length; i--;) {
- var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (this._offsets[i + 1] === undefined || scrollTop < this._offsets[i + 1]);
+ var attachment = this._getAttachment(placement);
- if (isActiveTarget) {
- this._activate(this._targets[i]);
+ this.addAttachmentClass(attachment);
+ var container = this.config.container === false ? document.body : $(this.config.container);
+ $(tip).data(this.constructor.DATA_KEY, this);
+
+ if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
+ $(tip).appendTo(container);
}
- }
- };
- ScrollSpy.prototype._activate = function _activate(target) {
- this._activeTarget = target;
+ $(this.element).trigger(this.constructor.Event.INSERTED);
+ this._popper = new Popper(this.element, tip, {
+ placement: attachment,
+ modifiers: {
+ offset: {
+ offset: this.config.offset
+ },
+ flip: {
+ behavior: this.config.fallbackPlacement
+ },
+ arrow: {
+ element: Selector.ARROW
+ }
+ },
+ onCreate: function onCreate(data) {
+ if (data.originalPlacement !== data.placement) {
+ _this._handlePopperPlacementChange(data);
+ }
+ },
+ onUpdate: function onUpdate(data) {
+ _this._handlePopperPlacementChange(data);
+ }
+ });
+ $(tip).addClass(ClassName.SHOW); // if this is a touch-enabled device we add extra
+ // empty mouseover listeners to the body's immediate children;
+ // only needed because of broken event delegation on iOS
+ // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- this._clear();
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().on('mouseover', null, $.noop);
+ }
- var queries = this._selector.split(',');
- queries = queries.map(function (selector) {
- return selector + '[data-target="' + target + '"],' + (selector + '[href="' + target + '"]');
- });
+ var complete = function complete() {
+ if (_this.config.animation) {
+ _this._fixTransition();
+ }
- var $link = $(queries.join(','));
+ var prevHoverState = _this._hoverState;
+ _this._hoverState = null;
+ $(_this.element).trigger(_this.constructor.Event.SHOWN);
- if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
- $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- $link.addClass(ClassName.ACTIVE);
- } else {
- // Set triggered link as active
- $link.addClass(ClassName.ACTIVE);
- // Set triggered links parents as active
- // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE);
- }
+ if (prevHoverState === HoverState.OUT) {
+ _this._leave(null, _this);
+ }
+ };
- $(this._scrollElement).trigger(Event.ACTIVATE, {
- relatedTarget: target
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+ }
};
- ScrollSpy.prototype._clear = function _clear() {
- $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
- };
+ _proto.hide = function hide(callback) {
+ var _this2 = this;
- // static
+ var tip = this.getTipElement();
+ var hideEvent = $.Event(this.constructor.Event.HIDE);
- ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
+ var complete = function complete() {
+ if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) {
+ tip.parentNode.removeChild(tip);
+ }
- if (!data) {
- data = new ScrollSpy(this, _config);
- $(this).data(DATA_KEY, data);
+ _this2._cleanTipClass();
+
+ _this2.element.removeAttribute('aria-describedby');
+
+ $(_this2.element).trigger(_this2.constructor.Event.HIDDEN);
+
+ if (_this2._popper !== null) {
+ _this2._popper.destroy();
}
- if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
- }
- data[config]();
+ if (callback) {
+ callback();
}
- });
- };
+ };
- _createClass(ScrollSpy, null, [{
- key: 'VERSION',
- get: function get() {
- return VERSION;
- }
- }, {
- key: 'Default',
- get: function get() {
- return Default;
+ $(this.element).trigger(hideEvent);
+
+ if (hideEvent.isDefaultPrevented()) {
+ return;
}
- }]);
- return ScrollSpy;
- }();
+ $(tip).removeClass(ClassName.SHOW); // if this is a touch-enabled device we remove the extra
+ // empty mouseover listeners we added for iOS support
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
+ if ('ontouchstart' in document.documentElement) {
+ $('body').children().off('mouseover', null, $.noop);
+ }
- $(window).on(Event.LOAD_DATA_API, function () {
- var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+ this._activeTrigger[Trigger.CLICK] = false;
+ this._activeTrigger[Trigger.FOCUS] = false;
+ this._activeTrigger[Trigger.HOVER] = false;
- for (var i = scrollSpys.length; i--;) {
- var $spy = $(scrollSpys[i]);
- ScrollSpy._jQueryInterface.call($spy, $spy.data());
- }
- });
+ if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
- */
+ this._hoverState = '';
+ };
- $.fn[NAME] = ScrollSpy._jQueryInterface;
- $.fn[NAME].Constructor = ScrollSpy;
- $.fn[NAME].noConflict = function () {
- $.fn[NAME] = JQUERY_NO_CONFLICT;
- return ScrollSpy._jQueryInterface;
- };
+ _proto.update = function update() {
+ if (this._popper !== null) {
+ this._popper.scheduleUpdate();
+ }
+ }; // protected
- return ScrollSpy;
-}(jQuery);
-/**
- * --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tab.js
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * --------------------------------------------------------------------------
- */
+ _proto.isWithContent = function isWithContent() {
+ return Boolean(this.getTitle());
+ };
-var Tab = function ($) {
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
+ };
- /**
- * ------------------------------------------------------------------------
- * Constants
- * ------------------------------------------------------------------------
- */
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
+ };
- var NAME = 'tab';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tab';
- var EVENT_KEY = '.' + DATA_KEY;
- var DATA_API_KEY = '.data-api';
- var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement());
+ this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ };
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY
- };
+ _proto.setElementContent = function setElementContent($element, content) {
+ var html = this.config.html;
- var ClassName = {
- DROPDOWN_MENU: 'dropdown-menu',
- ACTIVE: 'active',
- DISABLED: 'disabled',
- FADE: 'fade',
- SHOW: 'show'
- };
+ if (typeof content === 'object' && (content.nodeType || content.jquery)) {
+ // content is a DOM node or a jQuery
+ if (html) {
+ if (!$(content).parent().is($element)) {
+ $element.empty().append(content);
+ }
+ } else {
+ $element.text($(content).text());
+ }
+ } else {
+ $element[html ? 'html' : 'text'](content);
+ }
+ };
- var Selector = {
- DROPDOWN: '.dropdown',
- NAV_LIST_GROUP: '.nav, .list-group',
- ACTIVE: '.active',
- DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
- DROPDOWN_TOGGLE: '.dropdown-toggle',
- DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
+ _proto.getTitle = function getTitle() {
+ var title = this.element.getAttribute('data-original-title');
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
+ if (!title) {
+ title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
+ }
- };
- var Tab = function () {
- function Tab(element) {
- _classCallCheck(this, Tab);
+ return title;
+ }; // private
- this._element = element;
- }
- // getters
+ _proto._getAttachment = function _getAttachment(placement) {
+ return AttachmentMap[placement.toUpperCase()];
+ };
- // public
+ _proto._setListeners = function _setListeners() {
+ var _this3 = this;
+
+ var triggers = this.config.trigger.split(' ');
+ triggers.forEach(function (trigger) {
+ if (trigger === 'click') {
+ $(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) {
+ return _this3.toggle(event);
+ });
+ } else if (trigger !== Trigger.MANUAL) {
+ var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN;
+ var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT;
+ $(_this3.element).on(eventIn, _this3.config.selector, function (event) {
+ return _this3._enter(event);
+ }).on(eventOut, _this3.config.selector, function (event) {
+ return _this3._leave(event);
+ });
+ }
- Tab.prototype.show = function show() {
- var _this22 = this;
+ $(_this3.element).closest('.modal').on('hide.bs.modal', function () {
+ return _this3.hide();
+ });
+ });
- if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
- return;
+ if (this.config.selector) {
+ this.config = $.extend({}, this.config, {
+ trigger: 'manual',
+ selector: ''
+ });
+ } else {
+ this._fixTitle();
}
+ };
- var target = void 0;
- var previous = void 0;
- var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
- var selector = Util.getSelectorFromElement(this._element);
+ _proto._fixTitle = function _fixTitle() {
+ var titleType = typeof this.element.getAttribute('data-original-title');
- if (listElement) {
- previous = $.makeArray($(listElement).find(Selector.ACTIVE));
- previous = previous[previous.length - 1];
+ if (this.element.getAttribute('title') || titleType !== 'string') {
+ this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
+ this.element.setAttribute('title', '');
}
+ };
- var hideEvent = $.Event(Event.HIDE, {
- relatedTarget: this._element
- });
-
- var showEvent = $.Event(Event.SHOW, {
- relatedTarget: previous
- });
+ _proto._enter = function _enter(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- if (previous) {
- $(previous).trigger(hideEvent);
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
}
- $(this._element).trigger(showEvent);
+ if (event) {
+ context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
+ }
- if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
+ context._hoverState = HoverState.SHOW;
return;
}
- if (selector) {
- target = $(selector)[0];
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.SHOW;
+
+ if (!context.config.delay || !context.config.delay.show) {
+ context.show();
+ return;
}
- this._activate(this._element, listElement);
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.SHOW) {
+ context.show();
+ }
+ }, context.config.delay.show);
+ };
- var complete = function complete() {
- var hiddenEvent = $.Event(Event.HIDDEN, {
- relatedTarget: _this22._element
- });
+ _proto._leave = function _leave(event, context) {
+ var dataKey = this.constructor.DATA_KEY;
+ context = context || $(event.currentTarget).data(dataKey);
- var shownEvent = $.Event(Event.SHOWN, {
- relatedTarget: previous
- });
+ if (!context) {
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
+ $(event.currentTarget).data(dataKey, context);
+ }
- $(previous).trigger(hiddenEvent);
- $(_this22._element).trigger(shownEvent);
- };
+ if (event) {
+ context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
+ }
- if (target) {
- this._activate(target, target.parentNode, complete);
- } else {
- complete();
+ if (context._isWithActiveTrigger()) {
+ return;
}
- };
- Tab.prototype.dispose = function dispose() {
- $.removeData(this._element, DATA_KEY);
- this._element = null;
+ clearTimeout(context._timeout);
+ context._hoverState = HoverState.OUT;
+
+ if (!context.config.delay || !context.config.delay.hide) {
+ context.hide();
+ return;
+ }
+
+ context._timeout = setTimeout(function () {
+ if (context._hoverState === HoverState.OUT) {
+ context.hide();
+ }
+ }, context.config.delay.hide);
};
- // private
+ _proto._isWithActiveTrigger = function _isWithActiveTrigger() {
+ for (var trigger in this._activeTrigger) {
+ if (this._activeTrigger[trigger]) {
+ return true;
+ }
+ }
- Tab.prototype._activate = function _activate(element, container, callback) {
- var _this23 = this;
+ return false;
+ };
- var active = $(container).find(Selector.ACTIVE)[0];
- var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
- var complete = function complete() {
- return _this23._transitionComplete(element, active, isTransitioning, callback);
- };
+ if (typeof config.delay === 'number') {
+ config.delay = {
+ show: config.delay,
+ hide: config.delay
+ };
+ }
- if (active && isTransitioning) {
- $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
+ if (typeof config.title === 'number') {
+ config.title = config.title.toString();
}
- if (active) {
- $(active).removeClass(ClassName.SHOW);
+ if (typeof config.content === 'number') {
+ config.content = config.content.toString();
}
- };
- Tab.prototype._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
- if (active) {
- $(active).removeClass(ClassName.ACTIVE);
+ Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ return config;
+ };
- var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
+ _proto._getDelegateConfig = function _getDelegateConfig() {
+ var config = {};
- if (dropdownChild) {
- $(dropdownChild).removeClass(ClassName.ACTIVE);
+ if (this.config) {
+ for (var key in this.config) {
+ if (this.constructor.Default[key] !== this.config[key]) {
+ config[key] = this.config[key];
+ }
}
-
- active.setAttribute('aria-expanded', false);
}
- $(element).addClass(ClassName.ACTIVE);
- element.setAttribute('aria-expanded', true);
+ return config;
+ };
- if (isTransitioning) {
- Util.reflow(element);
- $(element).addClass(ClassName.SHOW);
- } else {
- $(element).removeClass(ClassName.FADE);
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
+
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
+ };
- if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
+ this._cleanTipClass();
- var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
- if (dropdownElement) {
- $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
- }
+ this.addAttachmentClass(this._getAttachment(data.placement));
+ };
- element.setAttribute('aria-expanded', true);
- }
+ _proto._fixTransition = function _fixTransition() {
+ var tip = this.getTipElement();
+ var initConfigAnimation = this.config.animation;
- if (callback) {
- callback();
+ if (tip.getAttribute('x-placement') !== null) {
+ return;
}
- };
- // static
+ $(tip).removeClass(ClassName.FADE);
+ this.config.animation = false;
+ this.hide();
+ this.show();
+ this.config.animation = initConfigAnimation;
+ }; // static
+
- Tab._jQueryInterface = function _jQueryInterface(config) {
+ Tooltip._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
- var $this = $(this);
- var data = $this.data(DATA_KEY);
+ var data = $(this).data(DATA_KEY);
+
+ var _config = typeof config === 'object' && config;
+
+ if (!data && /dispose|hide/.test(config)) {
+ return;
+ }
if (!data) {
- data = new Tab(this);
- $this.data(DATA_KEY, data);
+ data = new Tooltip(this, _config);
+ $(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tab, null, [{
- key: 'VERSION',
+ createClass(Tooltip, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }]);
-
- return Tab;
- }();
-
- /**
- * ------------------------------------------------------------------------
- * Data Api implementation
- * ------------------------------------------------------------------------
- */
-
- $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
- event.preventDefault();
- Tab._jQueryInterface.call($(this), 'show');
- });
-
- /**
- * ------------------------------------------------------------------------
- * jQuery
- * ------------------------------------------------------------------------
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Tooltip;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tab._jQueryInterface;
- $.fn[NAME].Constructor = Tab;
+
+ $.fn[NAME] = Tooltip._jQueryInterface;
+ $.fn[NAME].Constructor = Tooltip;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tab._jQueryInterface;
+ return Tooltip._jQueryInterface;
};
- return Tab;
-}(jQuery);
-
-/* global Popper */
+ return Tooltip;
+}($, Popper);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): tooltip.js
+ * Bootstrap (v4.0.0-beta.2): popover.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Tooltip = function ($) {
-
- /**
- * Check for Popper dependency
- * Popper - https://popper.js.org
- */
- if (typeof Popper === 'undefined') {
- throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)');
- }
-
+var Popover = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'tooltip';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.tooltip';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'popover';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.popover';
+ var EVENT_KEY = "." + DATA_KEY;
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var TRANSITION_DURATION = 150;
- var CLASS_PREFIX = 'bs-tooltip';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var DefaultType = {
- animation: 'boolean',
- template: 'string',
- title: '(string|element|function)',
- trigger: 'string',
- delay: '(number|object)',
- html: 'boolean',
- selector: '(string|boolean)',
- placement: '(string|function)',
- offset: '(number|string)',
- container: '(string|element|boolean)',
- fallbackPlacement: '(string|array)'
- };
-
- var AttachmentMap = {
- AUTO: 'auto',
- TOP: 'top',
- RIGHT: 'right',
- BOTTOM: 'bottom',
- LEFT: 'left'
- };
-
- var Default = {
- animation: true,
- template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
- trigger: 'hover focus',
- title: '',
- delay: 0,
- html: false,
- selector: false,
- placement: 'top',
- offset: 0,
- container: false,
- fallbackPlacement: 'flip'
- };
-
- var HoverState = {
- SHOW: 'show',
- OUT: 'out'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
- };
-
+ var CLASS_PREFIX = 'bs-popover';
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
+ var Default = $.extend({}, Tooltip.Default, {
+ placement: 'right',
+ trigger: 'click',
+ content: '',
+ template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
+ });
+ var DefaultType = $.extend({}, Tooltip.DefaultType, {
+ content: '(string|element|function)'
+ });
var ClassName = {
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TOOLTIP: '.tooltip',
- TOOLTIP_INNER: '.tooltip-inner',
- ARROW: '.arrow'
+ TITLE: '.popover-header',
+ CONTENT: '.popover-body'
};
-
- var Trigger = {
- HOVER: 'hover',
- FOCUS: 'focus',
- CLICK: 'click',
- MANUAL: 'manual'
-
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ INSERTED: "inserted" + EVENT_KEY,
+ CLICK: "click" + EVENT_KEY,
+ FOCUSIN: "focusin" + EVENT_KEY,
+ FOCUSOUT: "focusout" + EVENT_KEY,
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3069,625 +3111,490 @@ var Tooltip = function ($) {
*/
};
- var Tooltip = function () {
- function Tooltip(element, config) {
- _classCallCheck(this, Tooltip);
- // private
- this._isEnabled = true;
- this._timeout = 0;
- this._hoverState = '';
- this._activeTrigger = {};
- this._popper = null;
+ var Popover =
+ /*#__PURE__*/
+ function (_Tooltip) {
+ inheritsLoose(Popover, _Tooltip);
- // protected
- this.element = element;
- this.config = this._getConfig(config);
- this.tip = null;
-
- this._setListeners();
+ function Popover() {
+ return _Tooltip.apply(this, arguments) || this;
}
- // getters
-
- // public
+ var _proto = Popover.prototype;
- Tooltip.prototype.enable = function enable() {
- this._isEnabled = true;
+ // overrides
+ _proto.isWithContent = function isWithContent() {
+ return this.getTitle() || this._getContent();
};
- Tooltip.prototype.disable = function disable() {
- this._isEnabled = false;
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
+ $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
};
- Tooltip.prototype.toggleEnabled = function toggleEnabled() {
- this._isEnabled = !this._isEnabled;
+ _proto.getTipElement = function getTipElement() {
+ this.tip = this.tip || $(this.config.template)[0];
+ return this.tip;
};
- Tooltip.prototype.toggle = function toggle(event) {
- if (event) {
- var dataKey = this.constructor.DATA_KEY;
- var context = $(event.currentTarget).data(dataKey);
+ _proto.setContent = function setContent() {
+ var $tip = $(this.getTipElement()); // we use append for html objects to maintain js events
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
-
- context._activeTrigger.click = !context._activeTrigger.click;
-
- if (context._isWithActiveTrigger()) {
- context._enter(null, context);
- } else {
- context._leave(null, context);
- }
- } else {
+ this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
+ this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
+ }; // private
- if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
- this._leave(null, this);
- return;
- }
- this._enter(null, this);
- }
+ _proto._getContent = function _getContent() {
+ return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
};
- Tooltip.prototype.dispose = function dispose() {
- clearTimeout(this._timeout);
-
- $.removeData(this.element, this.constructor.DATA_KEY);
-
- $(this.element).off(this.constructor.EVENT_KEY);
- $(this.element).closest('.modal').off('hide.bs.modal');
-
- if (this.tip) {
- $(this.tip).remove();
- }
+ _proto._cleanTipClass = function _cleanTipClass() {
+ var $tip = $(this.getTipElement());
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- this._isEnabled = null;
- this._timeout = null;
- this._hoverState = null;
- this._activeTrigger = null;
- if (this._popper !== null) {
- this._popper.destroy();
+ if (tabClass !== null && tabClass.length > 0) {
+ $tip.removeClass(tabClass.join(''));
}
- this._popper = null;
-
- this.element = null;
- this.config = null;
- this.tip = null;
- };
+ }; // static
- Tooltip.prototype.show = function show() {
- var _this24 = this;
- if ($(this.element).css('display') === 'none') {
- throw new Error('Please use show on visible elements');
- }
-
- var showEvent = $.Event(this.constructor.Event.SHOW);
- if (this.isWithContent() && this._isEnabled) {
- $(this.element).trigger(showEvent);
+ Popover._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var data = $(this).data(DATA_KEY);
- var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
+ var _config = typeof config === 'object' ? config : null;
- if (showEvent.isDefaultPrevented() || !isInTheDom) {
+ if (!data && /destroy|hide/.test(config)) {
return;
}
- var tip = this.getTipElement();
- var tipId = Util.getUID(this.constructor.NAME);
-
- tip.setAttribute('id', tipId);
- this.element.setAttribute('aria-describedby', tipId);
-
- this.setContent();
-
- if (this.config.animation) {
- $(tip).addClass(ClassName.FADE);
- }
-
- var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
-
- var attachment = this._getAttachment(placement);
- this.addAttachmentClass(attachment);
-
- var container = this.config.container === false ? document.body : $(this.config.container);
-
- $(tip).data(this.constructor.DATA_KEY, this);
-
- if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
- $(tip).appendTo(container);
- }
-
- $(this.element).trigger(this.constructor.Event.INSERTED);
-
- this._popper = new Popper(this.element, tip, {
- placement: attachment,
- modifiers: {
- offset: {
- offset: this.config.offset
- },
- flip: {
- behavior: this.config.fallbackPlacement
- },
- arrow: {
- element: Selector.ARROW
- }
- },
- onCreate: function onCreate(data) {
- if (data.originalPlacement !== data.placement) {
- _this24._handlePopperPlacementChange(data);
- }
- },
- onUpdate: function onUpdate(data) {
- _this24._handlePopperPlacementChange(data);
- }
- });
-
- $(tip).addClass(ClassName.SHOW);
-
- // if this is a touch-enabled device we add extra
- // empty mouseover listeners to the body's immediate children;
- // only needed because of broken event delegation on iOS
- // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
- if ('ontouchstart' in document.documentElement) {
- $('body').children().on('mouseover', null, $.noop);
+ if (!data) {
+ data = new Popover(this, _config);
+ $(this).data(DATA_KEY, data);
}
- var complete = function complete() {
- if (_this24.config.animation) {
- _this24._fixTransition();
- }
- var prevHoverState = _this24._hoverState;
- _this24._hoverState = null;
-
- $(_this24.element).trigger(_this24.constructor.Event.SHOWN);
-
- if (prevHoverState === HoverState.OUT) {
- _this24._leave(null, _this24);
+ if (typeof config === 'string') {
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
- };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
- $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION);
- } else {
- complete();
+ data[config]();
}
- }
+ });
};
- Tooltip.prototype.hide = function hide(callback) {
- var _this25 = this;
-
- var tip = this.getTipElement();
- var hideEvent = $.Event(this.constructor.Event.HIDE);
- var complete = function complete() {
- if (_this25._hoverState !== HoverState.SHOW && tip.parentNode) {
- tip.parentNode.removeChild(tip);
- }
+ createClass(Popover, null, [{
+ key: "VERSION",
+ // getters
+ get: function get() {
+ return VERSION;
+ }
+ }, {
+ key: "Default",
+ get: function get() {
+ return Default;
+ }
+ }, {
+ key: "NAME",
+ get: function get() {
+ return NAME;
+ }
+ }, {
+ key: "DATA_KEY",
+ get: function get() {
+ return DATA_KEY;
+ }
+ }, {
+ key: "Event",
+ get: function get() {
+ return Event;
+ }
+ }, {
+ key: "EVENT_KEY",
+ get: function get() {
+ return EVENT_KEY;
+ }
+ }, {
+ key: "DefaultType",
+ get: function get() {
+ return DefaultType;
+ }
+ }]);
+ return Popover;
+ }(Tooltip);
+ /**
+ * ------------------------------------------------------------------------
+ * jQuery
+ * ------------------------------------------------------------------------
+ */
- _this25._cleanTipClass();
- _this25.element.removeAttribute('aria-describedby');
- $(_this25.element).trigger(_this25.constructor.Event.HIDDEN);
- if (_this25._popper !== null) {
- _this25._popper.destroy();
- }
- if (callback) {
- callback();
- }
- };
+ $.fn[NAME] = Popover._jQueryInterface;
+ $.fn[NAME].Constructor = Popover;
- $(this.element).trigger(hideEvent);
+ $.fn[NAME].noConflict = function () {
+ $.fn[NAME] = JQUERY_NO_CONFLICT;
+ return Popover._jQueryInterface;
+ };
- if (hideEvent.isDefaultPrevented()) {
- return;
- }
+ return Popover;
+}($);
- $(tip).removeClass(ClassName.SHOW);
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-beta.2): scrollspy.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
- // if this is a touch-enabled device we remove the extra
- // empty mouseover listeners we added for iOS support
- if ('ontouchstart' in document.documentElement) {
- $('body').children().off('mouseover', null, $.noop);
- }
+var ScrollSpy = function () {
+ /**
+ * ------------------------------------------------------------------------
+ * Constants
+ * ------------------------------------------------------------------------
+ */
+ var NAME = 'scrollspy';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.scrollspy';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
+ var JQUERY_NO_CONFLICT = $.fn[NAME];
+ var Default = {
+ offset: 10,
+ method: 'auto',
+ target: ''
+ };
+ var DefaultType = {
+ offset: 'number',
+ method: 'string',
+ target: '(string|element)'
+ };
+ var Event = {
+ ACTIVATE: "activate" + EVENT_KEY,
+ SCROLL: "scroll" + EVENT_KEY,
+ LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY
+ };
+ var ClassName = {
+ DROPDOWN_ITEM: 'dropdown-item',
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active'
+ };
+ var Selector = {
+ DATA_SPY: '[data-spy="scroll"]',
+ ACTIVE: '.active',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ NAV_LINKS: '.nav-link',
+ NAV_ITEMS: '.nav-item',
+ LIST_ITEMS: '.list-group-item',
+ DROPDOWN: '.dropdown',
+ DROPDOWN_ITEMS: '.dropdown-item',
+ DROPDOWN_TOGGLE: '.dropdown-toggle'
+ };
+ var OffsetMethod = {
+ OFFSET: 'offset',
+ POSITION: 'position'
+ /**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
- this._activeTrigger[Trigger.CLICK] = false;
- this._activeTrigger[Trigger.FOCUS] = false;
- this._activeTrigger[Trigger.HOVER] = false;
+ };
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ var ScrollSpy =
+ /*#__PURE__*/
+ function () {
+ function ScrollSpy(element, config) {
+ var _this = this;
- $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
- } else {
- complete();
- }
+ this._element = element;
+ this._scrollElement = element.tagName === 'BODY' ? window : 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._offsets = [];
+ this._targets = [];
+ this._activeTarget = null;
+ this._scrollHeight = 0;
+ $(this._scrollElement).on(Event.SCROLL, function (event) {
+ return _this._process(event);
+ });
+ this.refresh();
- this._hoverState = '';
- };
+ this._process();
+ } // getters
- Tooltip.prototype.update = function update() {
- if (this._popper !== null) {
- this._popper.scheduleUpdate();
- }
- };
- // protected
+ var _proto = ScrollSpy.prototype;
- Tooltip.prototype.isWithContent = function isWithContent() {
- return Boolean(this.getTitle());
- };
+ // public
+ _proto.refresh = function refresh() {
+ var _this2 = this;
- Tooltip.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET;
+ var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;
+ var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0;
+ this._offsets = [];
+ this._targets = [];
+ this._scrollHeight = this._getScrollHeight();
+ var targets = $.makeArray($(this._selector));
+ targets.map(function (element) {
+ var target;
+ var targetSelector = Util.getSelectorFromElement(element);
- Tooltip.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ if (targetSelector) {
+ target = $(targetSelector)[0];
+ }
- Tooltip.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
- this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (target) {
+ var targetBCR = target.getBoundingClientRect();
- Tooltip.prototype.setElementContent = function setElementContent($element, content) {
- var html = this.config.html;
- if ((typeof content === 'undefined' ? 'undefined' : _typeof(content)) === 'object' && (content.nodeType || content.jquery)) {
- // content is a DOM node or a jQuery
- if (html) {
- if (!$(content).parent().is($element)) {
- $element.empty().append(content);
+ if (targetBCR.width || targetBCR.height) {
+ // todo (fat): remove sketch reliance on jQuery position/offset
+ return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
}
- } else {
- $element.text($(content).text());
}
- } else {
- $element[html ? 'html' : 'text'](content);
- }
- };
-
- Tooltip.prototype.getTitle = function getTitle() {
- var title = this.element.getAttribute('data-original-title');
- if (!title) {
- title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
- }
+ return null;
+ }).filter(function (item) {
+ return item;
+ }).sort(function (a, b) {
+ return a[0] - b[0];
+ }).forEach(function (item) {
+ _this2._offsets.push(item[0]);
- return title;
+ _this2._targets.push(item[1]);
+ });
};
- // private
-
- Tooltip.prototype._getAttachment = function _getAttachment(placement) {
- return AttachmentMap[placement.toUpperCase()];
- };
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ $(this._scrollElement).off(EVENT_KEY);
+ this._element = null;
+ this._scrollElement = null;
+ this._config = null;
+ this._selector = null;
+ this._offsets = null;
+ this._targets = null;
+ this._activeTarget = null;
+ this._scrollHeight = null;
+ }; // private
- Tooltip.prototype._setListeners = function _setListeners() {
- var _this26 = this;
- var triggers = this.config.trigger.split(' ');
+ _proto._getConfig = function _getConfig(config) {
+ config = $.extend({}, Default, config);
- triggers.forEach(function (trigger) {
- if (trigger === 'click') {
- $(_this26.element).on(_this26.constructor.Event.CLICK, _this26.config.selector, function (event) {
- return _this26.toggle(event);
- });
- } else if (trigger !== Trigger.MANUAL) {
- var eventIn = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSEENTER : _this26.constructor.Event.FOCUSIN;
- var eventOut = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSELEAVE : _this26.constructor.Event.FOCUSOUT;
+ if (typeof config.target !== 'string') {
+ var id = $(config.target).attr('id');
- $(_this26.element).on(eventIn, _this26.config.selector, function (event) {
- return _this26._enter(event);
- }).on(eventOut, _this26.config.selector, function (event) {
- return _this26._leave(event);
- });
+ if (!id) {
+ id = Util.getUID(NAME);
+ $(config.target).attr('id', id);
}
- $(_this26.element).closest('.modal').on('hide.bs.modal', function () {
- return _this26.hide();
- });
- });
-
- if (this.config.selector) {
- this.config = $.extend({}, this.config, {
- trigger: 'manual',
- selector: ''
- });
- } else {
- this._fixTitle();
+ config.target = "#" + id;
}
- };
- Tooltip.prototype._fixTitle = function _fixTitle() {
- var titleType = _typeof(this.element.getAttribute('data-original-title'));
- if (this.element.getAttribute('title') || titleType !== 'string') {
- this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
- this.element.setAttribute('title', '');
- }
+ Util.typeCheckConfig(NAME, config, DefaultType);
+ return config;
};
- Tooltip.prototype._enter = function _enter(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
+ _proto._getScrollTop = function _getScrollTop() {
+ return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;
+ };
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ _proto._getScrollHeight = function _getScrollHeight() {
+ return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
+ };
- if (event) {
- context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
- }
+ _proto._getOffsetHeight = function _getOffsetHeight() {
+ return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;
+ };
- if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
- context._hoverState = HoverState.SHOW;
- return;
- }
+ _proto._process = function _process() {
+ var scrollTop = this._getScrollTop() + this._config.offset;
- clearTimeout(context._timeout);
+ var scrollHeight = this._getScrollHeight();
- context._hoverState = HoverState.SHOW;
+ var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();
- if (!context.config.delay || !context.config.delay.show) {
- context.show();
- return;
+ if (this._scrollHeight !== scrollHeight) {
+ this.refresh();
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.SHOW) {
- context.show();
- }
- }, context.config.delay.show);
- };
-
- Tooltip.prototype._leave = function _leave(event, context) {
- var dataKey = this.constructor.DATA_KEY;
-
- context = context || $(event.currentTarget).data(dataKey);
-
- if (!context) {
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
- $(event.currentTarget).data(dataKey, context);
- }
+ if (scrollTop >= maxScroll) {
+ var target = this._targets[this._targets.length - 1];
- if (event) {
- context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
- }
+ if (this._activeTarget !== target) {
+ this._activate(target);
+ }
- if (context._isWithActiveTrigger()) {
return;
}
- clearTimeout(context._timeout);
+ if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {
+ this._activeTarget = null;
- context._hoverState = HoverState.OUT;
+ this._clear();
- if (!context.config.delay || !context.config.delay.hide) {
- context.hide();
return;
}
- context._timeout = setTimeout(function () {
- if (context._hoverState === HoverState.OUT) {
- context.hide();
- }
- }, context.config.delay.hide);
- };
+ for (var i = this._offsets.length; i--;) {
+ var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]);
- Tooltip.prototype._isWithActiveTrigger = function _isWithActiveTrigger() {
- for (var trigger in this._activeTrigger) {
- if (this._activeTrigger[trigger]) {
- return true;
+ if (isActiveTarget) {
+ this._activate(this._targets[i]);
}
}
-
- return false;
};
- Tooltip.prototype._getConfig = function _getConfig(config) {
- config = $.extend({}, this.constructor.Default, $(this.element).data(), config);
-
- if (config.delay && typeof config.delay === 'number') {
- config.delay = {
- show: config.delay,
- hide: config.delay
- };
- }
-
- if (config.title && typeof config.title === 'number') {
- config.title = config.title.toString();
- }
+ _proto._activate = function _activate(target) {
+ this._activeTarget = target;
- if (config.content && typeof config.content === 'number') {
- config.content = config.content.toString();
- }
+ this._clear();
- Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
+ var queries = this._selector.split(','); // eslint-disable-next-line arrow-body-style
- return config;
- };
- Tooltip.prototype._getDelegateConfig = function _getDelegateConfig() {
- var config = {};
+ queries = queries.map(function (selector) {
+ return selector + "[data-target=\"" + target + "\"]," + (selector + "[href=\"" + target + "\"]");
+ });
+ var $link = $(queries.join(','));
- if (this.config) {
- for (var key in this.config) {
- if (this.constructor.Default[key] !== this.config[key]) {
- config[key] = this.config[key];
- }
- }
- }
+ if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
+ $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
+ $link.addClass(ClassName.ACTIVE);
+ } else {
+ // Set triggered link as active
+ $link.addClass(ClassName.ACTIVE); // Set triggered links parents as active
+ // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor
- return config;
- };
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ", " + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); // Handle special case when .nav-link is inside .nav-item
- Tooltip.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_ITEMS).children(Selector.NAV_LINKS).addClass(ClassName.ACTIVE);
}
- };
- Tooltip.prototype._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
- this._cleanTipClass();
- this.addAttachmentClass(this._getAttachment(data.placement));
+ $(this._scrollElement).trigger(Event.ACTIVATE, {
+ relatedTarget: target
+ });
};
- Tooltip.prototype._fixTransition = function _fixTransition() {
- var tip = this.getTipElement();
- var initConfigAnimation = this.config.animation;
- if (tip.getAttribute('x-placement') !== null) {
- return;
- }
- $(tip).removeClass(ClassName.FADE);
- this.config.animation = false;
- this.hide();
- this.show();
- this.config.animation = initConfigAnimation;
- };
+ _proto._clear = function _clear() {
+ $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
+ }; // static
- // static
- Tooltip._jQueryInterface = function _jQueryInterface(config) {
+ ScrollSpy._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config;
- if (!data && /dispose|hide/.test(config)) {
- return;
- }
+ var _config = typeof config === 'object' && config;
if (!data) {
- data = new Tooltip(this, _config);
+ data = new ScrollSpy(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Tooltip, null, [{
- key: 'VERSION',
+ createClass(ScrollSpy, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
}, {
- key: 'Default',
+ key: "Default",
get: function get() {
return Default;
}
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
-
- return Tooltip;
+ return ScrollSpy;
}();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
+
+
+ $(window).on(Event.LOAD_DATA_API, function () {
+ var scrollSpys = $.makeArray($(Selector.DATA_SPY));
+
+ for (var i = scrollSpys.length; i--;) {
+ var $spy = $(scrollSpys[i]);
+ ScrollSpy._jQueryInterface.call($spy, $spy.data());
+ }
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Tooltip._jQueryInterface;
- $.fn[NAME].Constructor = Tooltip;
+ $.fn[NAME] = ScrollSpy._jQueryInterface;
+ $.fn[NAME].Constructor = ScrollSpy;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Tooltip._jQueryInterface;
+ return ScrollSpy._jQueryInterface;
};
- return Tooltip;
-}(jQuery);
+ return ScrollSpy;
+}($);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v4.0.0-beta): popover.js
+ * Bootstrap (v4.0.0-beta.2): tab.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
-var Popover = function ($) {
-
+var Tab = function () {
/**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------
*/
-
- var NAME = 'popover';
- var VERSION = '4.0.0-beta';
- var DATA_KEY = 'bs.popover';
- var EVENT_KEY = '.' + DATA_KEY;
+ var NAME = 'tab';
+ var VERSION = '4.0.0-beta.2';
+ var DATA_KEY = 'bs.tab';
+ var EVENT_KEY = "." + DATA_KEY;
+ var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $.fn[NAME];
- var CLASS_PREFIX = 'bs-popover';
- var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g');
-
- var Default = $.extend({}, Tooltip.Default, {
- placement: 'right',
- trigger: 'click',
- content: '',
- template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>'
- });
-
- var DefaultType = $.extend({}, Tooltip.DefaultType, {
- content: '(string|element|function)'
- });
-
+ var TRANSITION_DURATION = 150;
+ var Event = {
+ HIDE: "hide" + EVENT_KEY,
+ HIDDEN: "hidden" + EVENT_KEY,
+ SHOW: "show" + EVENT_KEY,
+ SHOWN: "shown" + EVENT_KEY,
+ CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
+ };
var ClassName = {
+ DROPDOWN_MENU: 'dropdown-menu',
+ ACTIVE: 'active',
+ DISABLED: 'disabled',
FADE: 'fade',
SHOW: 'show'
};
-
var Selector = {
- TITLE: '.popover-header',
- CONTENT: '.popover-body'
- };
-
- var Event = {
- HIDE: 'hide' + EVENT_KEY,
- HIDDEN: 'hidden' + EVENT_KEY,
- SHOW: 'show' + EVENT_KEY,
- SHOWN: 'shown' + EVENT_KEY,
- INSERTED: 'inserted' + EVENT_KEY,
- CLICK: 'click' + EVENT_KEY,
- FOCUSIN: 'focusin' + EVENT_KEY,
- FOCUSOUT: 'focusout' + EVENT_KEY,
- MOUSEENTER: 'mouseenter' + EVENT_KEY,
- MOUSELEAVE: 'mouseleave' + EVENT_KEY
-
+ DROPDOWN: '.dropdown',
+ NAV_LIST_GROUP: '.nav, .list-group',
+ ACTIVE: '.active',
+ ACTIVE_UL: '> li > .active',
+ DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
+ DROPDOWN_TOGGLE: '.dropdown-toggle',
+ DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active'
/**
* ------------------------------------------------------------------------
* Class Definition
@@ -3695,137 +3602,249 @@ var Popover = function ($) {
*/
};
- var Popover = function (_Tooltip) {
- _inherits(Popover, _Tooltip);
- function Popover() {
- _classCallCheck(this, Popover);
+ var Tab =
+ /*#__PURE__*/
+ function () {
+ function Tab(element) {
+ this._element = element;
+ } // getters
- return _possibleConstructorReturn(this, _Tooltip.apply(this, arguments));
- }
- // overrides
+ var _proto = Tab.prototype;
- Popover.prototype.isWithContent = function isWithContent() {
- return this.getTitle() || this._getContent();
- };
+ // public
+ _proto.show = function show() {
+ var _this = this;
- Popover.prototype.addAttachmentClass = function addAttachmentClass(attachment) {
- $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment);
- };
+ if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
+ return;
+ }
- Popover.prototype.getTipElement = function getTipElement() {
- return this.tip = this.tip || $(this.config.template)[0];
- };
+ var target;
+ var previous;
+ var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];
+ var selector = Util.getSelectorFromElement(this._element);
- Popover.prototype.setContent = function setContent() {
- var $tip = $(this.getTipElement());
+ if (listElement) {
+ var itemSelector = listElement.nodeName === 'UL' ? Selector.ACTIVE_UL : Selector.ACTIVE;
+ previous = $.makeArray($(listElement).find(itemSelector));
+ previous = previous[previous.length - 1];
+ }
- // we use append for html objects to maintain js events
- this.setElementContent($tip.find(Selector.TITLE), this.getTitle());
- this.setElementContent($tip.find(Selector.CONTENT), this._getContent());
+ var hideEvent = $.Event(Event.HIDE, {
+ relatedTarget: this._element
+ });
+ var showEvent = $.Event(Event.SHOW, {
+ relatedTarget: previous
+ });
- $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW);
- };
+ if (previous) {
+ $(previous).trigger(hideEvent);
+ }
- // private
+ $(this._element).trigger(showEvent);
- Popover.prototype._getContent = function _getContent() {
- return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content);
+ if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {
+ return;
+ }
+
+ if (selector) {
+ target = $(selector)[0];
+ }
+
+ this._activate(this._element, listElement);
+
+ var complete = function complete() {
+ var hiddenEvent = $.Event(Event.HIDDEN, {
+ relatedTarget: _this._element
+ });
+ var shownEvent = $.Event(Event.SHOWN, {
+ relatedTarget: previous
+ });
+ $(previous).trigger(hiddenEvent);
+ $(_this._element).trigger(shownEvent);
+ };
+
+ if (target) {
+ this._activate(target, target.parentNode, complete);
+ } else {
+ complete();
+ }
};
- Popover.prototype._cleanTipClass = function _cleanTipClass() {
- var $tip = $(this.getTipElement());
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
- if (tabClass !== null && tabClass.length > 0) {
- $tip.removeClass(tabClass.join(''));
+ _proto.dispose = function dispose() {
+ $.removeData(this._element, DATA_KEY);
+ this._element = null;
+ }; // private
+
+
+ _proto._activate = function _activate(element, container, callback) {
+ var _this2 = this;
+
+ var activeElements;
+
+ if (container.nodeName === 'UL') {
+ activeElements = $(container).find(Selector.ACTIVE_UL);
+ } else {
+ activeElements = $(container).children(Selector.ACTIVE);
+ }
+
+ var active = activeElements[0];
+ var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE);
+
+ var complete = function complete() {
+ return _this2._transitionComplete(element, active, isTransitioning, callback);
+ };
+
+ if (active && isTransitioning) {
+ $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);
+ } else {
+ complete();
+ }
+
+ if (active) {
+ $(active).removeClass(ClassName.SHOW);
}
};
- // static
+ _proto._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) {
+ if (active) {
+ $(active).removeClass(ClassName.ACTIVE);
+ var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];
- Popover._jQueryInterface = function _jQueryInterface(config) {
- return this.each(function () {
- var data = $(this).data(DATA_KEY);
- var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null;
+ if (dropdownChild) {
+ $(dropdownChild).removeClass(ClassName.ACTIVE);
+ }
- if (!data && /destroy|hide/.test(config)) {
- return;
+ if (active.getAttribute('role') === 'tab') {
+ active.setAttribute('aria-selected', false);
+ }
+ }
+
+ $(element).addClass(ClassName.ACTIVE);
+
+ if (element.getAttribute('role') === 'tab') {
+ element.setAttribute('aria-selected', true);
+ }
+
+ if (isTransitioning) {
+ Util.reflow(element);
+ $(element).addClass(ClassName.SHOW);
+ } else {
+ $(element).removeClass(ClassName.FADE);
+ }
+
+ if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {
+ var dropdownElement = $(element).closest(Selector.DROPDOWN)[0];
+
+ if (dropdownElement) {
+ $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE);
}
+ element.setAttribute('aria-expanded', true);
+ }
+
+ if (callback) {
+ callback();
+ }
+ }; // static
+
+
+ Tab._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var $this = $(this);
+ var data = $this.data(DATA_KEY);
+
if (!data) {
- data = new Popover(this, _config);
- $(this).data(DATA_KEY, data);
+ data = new Tab(this);
+ $this.data(DATA_KEY, data);
}
if (typeof config === 'string') {
- if (data[config] === undefined) {
- throw new Error('No method named "' + config + '"');
+ if (typeof data[config] === 'undefined') {
+ throw new Error("No method named \"" + config + "\"");
}
+
data[config]();
}
});
};
- _createClass(Popover, null, [{
- key: 'VERSION',
-
-
- // getters
-
+ createClass(Tab, null, [{
+ key: "VERSION",
get: function get() {
return VERSION;
}
- }, {
- key: 'Default',
- get: function get() {
- return Default;
- }
- }, {
- key: 'NAME',
- get: function get() {
- return NAME;
- }
- }, {
- key: 'DATA_KEY',
- get: function get() {
- return DATA_KEY;
- }
- }, {
- key: 'Event',
- get: function get() {
- return Event;
- }
- }, {
- key: 'EVENT_KEY',
- get: function get() {
- return EVENT_KEY;
- }
- }, {
- key: 'DefaultType',
- get: function get() {
- return DefaultType;
- }
}]);
+ return Tab;
+ }();
+ /**
+ * ------------------------------------------------------------------------
+ * Data Api implementation
+ * ------------------------------------------------------------------------
+ */
- return Popover;
- }(Tooltip);
+ $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
+ event.preventDefault();
+
+ Tab._jQueryInterface.call($(this), 'show');
+ });
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
- $.fn[NAME] = Popover._jQueryInterface;
- $.fn[NAME].Constructor = Popover;
+ $.fn[NAME] = Tab._jQueryInterface;
+ $.fn[NAME].Constructor = Tab;
+
$.fn[NAME].noConflict = function () {
$.fn[NAME] = JQUERY_NO_CONFLICT;
- return Popover._jQueryInterface;
+ return Tab._jQueryInterface;
};
- return Popover;
-}(jQuery);
+ return Tab;
+}($);
+
+/**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v4.0.0-alpha.6): index.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * --------------------------------------------------------------------------
+ */
+(function () {
+ if (typeof $ === 'undefined') {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');
+ }
-})();
\ No newline at end of file
+ var version = $.fn.jquery.split(' ')[0].split('.');
+ var minMajor = 1;
+ var ltMajor = 2;
+ var minMinor = 9;
+ var minPatch = 1;
+ var maxMajor = 4;
+
+ 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 v1.9.1 but less than v4.0.0');
+ }
+})($);
+
+exports.Util = Util;
+exports.Alert = Alert;
+exports.Button = Button;
+exports.Carousel = Carousel;
+exports.Collapse = Collapse;
+exports.Dropdown = Dropdown;
+exports.Modal = Modal;
+exports.Popover = Popover;
+exports.Scrollspy = ScrollSpy;
+exports.Tab = Tab;
+exports.Tooltip = Tooltip;
+
+return exports;
+
+}({},$,Popper));
+//# sourceMappingURL=bootstrap.js.map
diff --git a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/bootstrap.min.js b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/bootstrap.min.js
index e187476..27aace3 100644
--- a/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/bootstrap.min.js
+++ b/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/bootstrap.min.js
@@ -1,6 +1,7 @@
/*!
- * Bootstrap v4.0.0-beta (https://getbootstrap.com)
- * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- */
-if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(t){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function t(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object [...]
\ No newline at end of file
+ * Bootstrap v4.0.0-beta.2 (https://getbootstrap.com)
+ * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+var bootstrap=function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){function t(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(){return{bindType:r.end,delegateType:r.end,handle:function(t){if(e(t.target).is(this) [...]
+//# sourceMappingURL=bootstrap.min.js.map
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.