diff --git a/.babelrc b/.babelrc
index 85bf7f17..bea32a4a 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,3 +1,3 @@
{
- presets: [ "es2015-rollup" ]
+ "presets": [ "es2015" ]
}
diff --git a/js/.eslintrc b/.eslintrc
similarity index 99%
rename from js/.eslintrc
rename to .eslintrc
index 8a3b043d..269959c9 100644
--- a/js/.eslintrc
+++ b/.eslintrc
@@ -4,7 +4,8 @@
"extends": "eslint:recommended",
"env": {
"browser": true,
- "jquery": true
+ "jquery": true,
+ "es6": true
}
//,
// "rules": {
diff --git a/.gitignore b/.gitignore
index e5e2682d..dc0d27e6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,18 +1,15 @@
# Ignore the root dist as buildcontrol will place it on it's own branch (same for gh-pages)
/dist
-
-# Ignore docs dist files
-docs/dist/**/*
-docs/assets/css/*
-docs/assets/js/dist/*
-docs/assets/js/docs.*
-js/dist/**/*
+/build
# Ignore docs files
_gh_pages
_site
+# Ignore docs dist files
+docs/dist/**/*
+
# Ignore ruby files
.ruby-version
.bundle
diff --git a/scss/.scss-lint.yml b/.scss-lint.yml
similarity index 100%
rename from scss/.scss-lint.yml
rename to .scss-lint.yml
diff --git a/.travis.yml b/.travis.yml
index 979c77ac..28d7a46d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,9 @@
branches:
except:
- v4-dist
- # remove this later
+ # remove the following later:
- v4-dev
+ - v4-gulp
sudo: false # use the container infrastructure
language: node_js
diff --git a/Gruntfile.js b/Gruntfile.js
deleted file mode 100644
index be011d03..00000000
--- a/Gruntfile.js
+++ /dev/null
@@ -1,638 +0,0 @@
-module.exports = function (grunt) {
- 'use strict';
-
- // Force use of Unix newlines
- grunt.util.linefeed = '\n';
-
- RegExp.quote = function (string) {
- return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&');
- };
-
- var referenceDocNotice =
- '$1\n\n'
- + '[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs\n\n'
- + '{% callout info %}\n**Bootstrap Reference Documentation** \n'
- + 'This is a part of the reference documentation from Bootstrap. \n'
- + 'It is included here to demonstrate rendering with Material Design for Bootstrap default styling. \n'
- + 'See the Material Design section for more elements and customization options.\n'
- + '{% endcallout %}'
- + '\n\n$2'
-
- var fs = require('fs');
- var path = require('path');
- var glob = require('glob');
- var isTravis = require('is-travis');
- var npmShrinkwrap = require('npm-shrinkwrap');
- var mq4HoverShim = require('mq4-hover-shim');
- var autoprefixer = require('autoprefixer')({
- browsers: [
- //
- // Official browser support policy:
- // http://v4-alpha.getbootstrap.com/getting-started/browsers-devices/#supported-browsers
- //
- 'Chrome >= 35', // Exact version number here is kinda arbitrary
- // Rather than using Autoprefixer's native "Firefox ESR" version specifier string,
- // we deliberately hardcode the number. This is to avoid unwittingly severely breaking the previous ESR in the event that:
- // (a) we happen to ship a new Bootstrap release soon after the release of a new ESR,
- // such that folks haven't yet had a reasonable amount of time to upgrade; and
- // (b) the new ESR has unprefixed CSS properties/values whose absence would severely break webpages
- // (e.g. `box-sizing`, as opposed to `background: linear-gradient(...)`).
- // Since they've been unprefixed, Autoprefixer will stop prefixing them,
- // thus causing them to not work in the previous ESR (where the prefixes were required).
- 'Firefox >= 31', // Current Firefox Extended Support Release (ESR)
- // Note: Edge versions in Autoprefixer & Can I Use refer to the EdgeHTML rendering engine version,
- // NOT the Edge app version shown in Edge's "About" screen.
- // For example, at the time of writing, Edge 20 on an up-to-date system uses EdgeHTML 12.
- // See also https://github.com/Fyrd/caniuse/issues/1928
- 'Edge >= 12',
- 'Explorer >= 9',
- // Out of leniency, we prefix these 1 version further back than the official policy.
- 'iOS >= 8',
- 'Safari >= 8',
- // The following remain NOT officially supported, but we're lenient and include their prefixes to avoid severely breaking in them.
- 'Android 2.3',
- 'Android >= 4',
- 'Opera >= 12'
- ]
- });
-
- // Project configuration.
- grunt.initConfig({
-
- // Metadata.
- pkg: grunt.file.readJSON('package.json'),
- banner: '/*!\n' +
- ' * Bootstrap Material Design v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
- ' * Copyright 2014-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
- ' * Licensed under MIT (https://github.com/FezVrasta/bootstrap-material-design/blob/master/LICENSE)\n' +
- ' */\n',
-
- // Task configuration.
- clean: {
- dist: 'dist',
- 'dist-css': 'dist/css',
- 'dist-js': 'dist/js',
- 'docs-dist-js': 'docs/dist/js',
- 'docs-dist-css': 'docs/dist/css'
- },
-
- sass: {
- options: {
- includePaths: ['scss', 'node_modules'],
- precision: 6,
- sourceComments: true,
- sourceMap: true,
- outputStyle: 'expanded'
- },
- core: {
- files: {
- 'dist/css/<%= pkg.name %>.css': 'scss/<%= pkg.name %>.scss'
- }
- },
- docs: {
- files: {
- 'docs/dist/css/docs.css': 'docs/assets/scss/docs.scss'
- }
- }
- },
-
- eslint: {
- options: {
- configFile: 'js/.eslintrc'
- },
- target: ['js/src/*.js', 'docs/assets/js/src/*.js']
- },
-
- jscs: {
- options: {
- config: 'js/.jscsrc'
- },
- grunt: {
- src: ['Gruntfile.js', 'grunt/*.js']
- },
- core: {
- src: 'js/src/*.js'
- },
- test: {
- src: 'js/tests/unit/*.js'
- },
- docs: {
- options: {
- requireCamelCaseOrUpperCaseIdentifiers: null
- },
- src: ['docs/assets/js/src/*.js', 'docs/assets/js/*.js', '!docs/assets/js/*.min.js']
- }
- },
-
- stamp: {
- options: {
- banner: '<%= banner %>\n'
- },
- core: {
- files: {
- src: 'dist/js/*.js'
- }
- }
- },
-
- //concat: {
- // options: {
- // stripBanners: false,
- // sourceMap: true
- // },
-
- uglify: {
- options: {
- compress: {
- warnings: true
- },
- mangle: false,
- preserveComments: /^!|@preserve|@license|@cc_on/i
- },
-
- dist: {
- files: {
- 'dist/js/bootstrap-material-design.iife.min.js': 'dist/js/bootstrap-material-design.iife.js',
- 'dist/js/bootstrap-material-design.umd.min.js': 'dist/js/bootstrap-material-design.umd.js'
- //,
- //'dist/js/bootstrap-material-design.es.min.js': 'dist/js/bootstrap-material-design.es.js'
- }
- },
-
- 'docs-vendor': {
- options: {
- compress: false
- },
- src: 'docs/assets/js/vendor/*.js',
- //dest: 'docs/assets/js/docs.min.js'
- dest: 'docs/dist/js/docs-vendor.min.js'
- },
- docs: {
- files: {
- 'docs/dist/js/docs.iife.min.js': 'docs/dist/js/docs.iife.js'
- }
- }
- },
-
- qunit: {
- options: {
- inject: 'js/tests/unit/phantom.js'
- },
- files: 'js/tests/index.html'
- },
-
- // CSS build configuration
- scsslint: {
- options: {
- bundleExec: true,
- config: 'scss/.scss-lint.yml',
- reporterOutput: null
- },
- core: {
- src: ['scss/*.scss', '!scss/_normalize.scss']
- },
- docs: {
- src: ['docs/assets/scss/*.scss', '!scss/_normalize.scss', '!docs/assets/scss/docs.scss']
- }
- },
-
- postcss: {
- core: {
- options: {
- map: true,
- processors: [
- mq4HoverShim.postprocessorFor({hoverSelectorPrefix: '.bs-true-hover '}),
- autoprefixer
- ]
- },
- src: 'dist/css/*.css'
- },
- docs: {
- options: {
- processors: [
- autoprefixer
- ]
- },
- src: 'docs/dist/css/*.css'
- },
- examples: {
- options: {
- processors: [
- autoprefixer
- ]
- },
- expand: true,
- cwd: 'docs/examples/',
- src: ['**/*.css'],
- dest: 'docs/examples/'
- }
- },
-
- cssmin: {
- options: {
- // TODO: disable `zeroUnits` optimization once clean-css 3.2 is released
- // and then simplify the fix for https://github.com/twbs/bootstrap/issues/14837 accordingly
- compatibility: 'ie9',
- keepSpecialComments: '*',
- sourceMap: true,
- advanced: false
- },
- core: {
- files: [
- {
- expand: true,
- cwd: 'dist/css',
- src: ['*.css', '!*.min.css'],
- dest: 'dist/css',
- ext: '.min.css'
- }
- ]
- },
- docs: {
- files: [
- {
- expand: true,
- cwd: 'docs/dist/css',
- src: ['*.css', '!*.min.css'],
- dest: 'docs/dist/css',
- ext: '.min.css'
- }
- ]
- }
- },
-
- copy: {
- 'dist-to-docs': { // for example templates
- expand: true,
- cwd: 'dist',
- src: [
- 'js/*.iife*',
- 'css/*.*'
- ],
- dest: 'docs/dist/'
- },
- 'bs-docs-js-vendor': {
- expand: true,
- cwd: '../bootstrap/docs/assets/js/vendor',
- src: [
- '**/*',
- '!tether.min.js',
- '!jquery.min.js'
- ],
- dest: 'docs/assets/js/vendor/'
- },
- 'bs-docs-plugins': {
- expand: true,
- cwd: '../bootstrap/docs/_plugins',
- src: ['**/*', '!bridge.rb'],
- dest: 'docs/_plugins/'
- },
-
- 'bs-docs-scss': {
- options: {
- // https://regex101.com/r/hG8lU4/1
- process: function (content, srcpath) {
- return content.replace(/([\s\S]+)/mg, '// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs\n\n$1');
- }
- },
- expand: true,
- cwd: '../bootstrap/docs/assets/scss',
- src: [
- '**/*',
- '!docs.scss' // keep variable customizations
- ],
- dest: 'docs/assets/scss/'
- },
- 'bs-docs-components': {
- options: {
- // //https://regex101.com/r/cZ7aO8/2
- process: function (content, srcpath) {
- return content.replace(/(---[\s\S]+?---)([\s\S]+)/mg, referenceDocNotice);
- }
- },
- expand: true,
- cwd: '../bootstrap/docs/components',
- src: [
- '**/*'
- ],
- dest: 'docs/components/'
- },
- 'bs-docs-getting-started': {
- options: {
- // https://regex101.com/r/cZ7aO8/2
- process: function (content, srcpath) {
- return content
- // insert docs reference
- .replace(/(---[\s\S]+?---)([\s\S]+)/mg, referenceDocNotice)
- // remove sample text 'display' as this is a particular style and is confusing
- .replace(/Fancy display heading/, 'Fancy heading');
- }
- },
- expand: true,
- cwd: '../bootstrap/docs/getting-started',
- src: [
- 'browsers-devices.md' // only one file
- ],
- dest: 'docs/getting-started/'
- },
- 'bs-docs-content': {
- options: {
- // https://regex101.com/r/cZ7aO8/2
- process: function (content, srcpath) {
- return content
- // insert docs reference
- .replace(/(---[\s\S]+?---)([\s\S]+)/mg, referenceDocNotice)
- // remove sample text 'display' as this is a particular style and is confusing
- .replace(/Fancy display heading/, 'Fancy heading');
- }
- },
- expand: true,
- cwd: '../bootstrap/docs/content',
- src: [
- '**/*'
- ],
- dest: 'docs/content/'
- }
- },
-
- connect: {
- server: {
- options: {
- port: 3000,
- base: '.'
- }
- }
- },
-
- jekyll: {
- options: {
- bundleExec: true,
- config: '_config.yml',
- incremental: false
- },
- docs: {},
- github: {
- options: {
- //raw: 'github: true'
- raw: 'baseurl: "/bootstrap-material-design"'
- }
- }
- },
-
- htmllint: {
- options: {
- ignore: [
- 'Element “img” is missing required attribute “src”.',
- 'Attribute “autocomplete” is only allowed when the input type is “color”, “date”, “datetime”, “datetime-local”, “email”, “month”, “number”, “password”, “range”, “search”, “tel”, “text”, “time”, “url”, or “week”.',
- 'Attribute “autocomplete” not allowed on element “button” at this point.',
- 'Element “div” not allowed as child of element “progress” in this context. (Suppressing further errors from this subtree.)',
- 'Consider using the “h1” element as a top-level heading only (all “h1” elements are treated as top-level headings by many screen readers and other tools).',
- 'The “datetime” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.'
- ]
- },
- src: ['_gh_pages/**/*.html', 'js/tests/visual/*.html']
- },
-
- watch: {
- corejs: {
- files: 'js/src/*.js',
- tasks: ['dist-js']
- },
- docsjs: { // watch both the source and docs js
- files: ['js/src/*.js', 'docs/assets/js/src/*.js'],
- tasks: ['docs-js']
- },
- core: {
- files: 'scss/**/*.scss',
- tasks: ['dist-css']
- },
- docs: { // watch both the source and docs scss
- files: ['docs/assets/scss/**/*.scss', 'scss/**/*.scss'],
- tasks: ['scsslint:docs', 'sass:docs', 'postcss:docs']
- }
- },
-
- 'saucelabs-qunit': {
- all: {
- options: {
- build: process.env.TRAVIS_JOB_ID,
- concurrency: 10,
- maxRetries: 3,
- maxPollRetries: 4,
- urls: ['http://127.0.0.1:3000/js/tests/index.html?hidepassed'],
- browsers: grunt.file.readYAML('grunt/sauce_browsers.yml')
- }
- }
- },
-
- exec: {
- npmUpdate: {
- command: 'npm update'
- },
- 'rollup-docs-iife': {
- command: 'rollup -c grunt/rollup.docs.iife.config.js'
- },
- 'rollup-iife': {
- command: 'rollup -c grunt/rollup.iife.config.js'
- },
- 'rollup-umd': {
- command: 'rollup -c grunt/rollup.umd.config.js'
- },
- 'rollup-es2015': {
- command: 'rollup -c grunt/rollup.es.config.js'
- }
- },
-
- buildcontrol: {
- options: {
- commit: true,
- push: true,
- remote: 'git@github.com:FezVrasta/bootstrap-material-design.git'
- },
- pages: {
- options: {
- // FIXME: remove this when we are ready!!!
- remote: 'git@github.com:rosskevin/bootstrap-material-design.git',
- dir: '_gh_pages',
- branch: 'gh-pages',
- message: 'Built from commit %sourceCommit% on branch %sourceBranch%'
- }
- },
- dist: {
- options: {
- dir: 'dist',
- branch: 'v4-dist',
- message: 'dist from commit %sourceCommit% on branch %sourceBranch%'
- }
- }
- },
-
- compress: {
- main: {
- options: {
- archive: 'bootstrap-material-design-<%= pkg.version %>-dist.zip',
- mode: 'zip',
- level: 9,
- pretty: true
- },
- files: [
- {
- expand: true,
- cwd: 'dist/',
- src: ['**'],
- dest: 'bootstrap-material-design-<%= pkg.version %>-dist'
- }
- ]
- }
- }
-
- });
-
- // These plugins provide necessary tasks.
- require('load-grunt-tasks')(grunt);
- require('time-grunt')(grunt);
-
- // Docs HTML validation task
- grunt.registerTask('validate-html', ['jekyll:docs', 'htmllint']);
-
- var runSubset = function (subset) {
- return !process.env.MDB_TEST || process.env.MDB_TEST === subset;
- };
- var isUndefOrNonZero = function (val) {
- return val === undefined || val !== '0';
- };
-
- // Test task.
- var testSubtasks = [];
- // Skip core tests if running a different subset of the test suite
- if (runSubset('core') &&
- // Skip core tests if this is a Savage build
- process.env.TRAVIS_REPO_SLUG !== 'twbs-savage/bootstrap') {
- testSubtasks = testSubtasks.concat(['dist-css', 'dist-js', 'test-scss', 'test-js', 'docs']);
- }
- // Skip HTML validation if running a different subset of the test suite
- if (runSubset('validate-html') &&
- isTravis &&
- // Skip HTML5 validator when [skip validator] is in the commit message
- isUndefOrNonZero(process.env.MDB_DO_VALIDATOR)) {
- testSubtasks.push('validate-html');
- }
- // Only run Sauce Labs tests if there's a Sauce access key
- if (typeof process.env.SAUCE_ACCESS_KEY !== 'undefined' &&
- // Skip Sauce if running a different subset of the test suite
- runSubset('sauce-js-unit') &&
- // Skip Sauce on Travis when [skip sauce] is in the commit message
- isUndefOrNonZero(process.env.MDB_DO_SAUCE)) {
- testSubtasks.push('babel:core');
- testSubtasks.push('connect');
- testSubtasks.push('saucelabs-qunit');
- }
- grunt.registerTask('test', testSubtasks);
- grunt.registerTask('test-js', ['eslint'/*, 'jscs:core', 'jscs:test', 'jscs:grunt'*/, 'qunit']);
-
- // JS distribution task.
- grunt.registerTask('dist-js', [
- 'clean:dist-js',
- 'eslint',
- //'jscs:grunt',
- //'jscs:core',
- //'jscs:test',
- 'exec:rollup-iife',
- 'exec:rollup-umd',
- 'exec:rollup-es2015',
- 'stamp',
- 'uglify:dist',
- 'copy:dist-to-docs'
- ]);
- grunt.registerTask('docs-js', [
- 'clean:docs-dist-js',
- 'copy:dist-to-docs', // ensure dist is present after cleaning
- 'eslint',
- //'jscs:docs',
- 'exec:rollup-docs-iife',
- 'uglify:docs',
- 'uglify:docs-vendor'
- ]);
-
-
- grunt.registerTask('test-scss', ['scsslint:core']);
-
- // CSS distribution task.
- grunt.registerTask('sass-compile', ['sass:core', 'sass:docs']);
-
- grunt.registerTask('dist-css', [
- 'scsslint:core',
- 'clean:dist-css',
- 'sass-compile',
- 'postcss:core',
- 'cssmin:core',
- 'copy:dist-to-docs'
- ]);
-
- grunt.registerTask('docs-css', [
- 'scsslint:docs',
- 'clean:docs-dist-css',
- 'copy:dist-to-docs', // ensure dist is present after cleaning
- 'sass:docs',
- 'postcss:docs',
- 'postcss:examples',
- 'cssmin:docs'
- ]);
-
- // Full distribution task.
- grunt.registerTask('dist', ['clean:dist', 'dist-css', 'dist-js', 'docs']);
-
- // Default task.
- grunt.registerTask('default', ['clean:dist', 'test']);
- //------
- // Docs tasks
-
- // Independent task to be run when we are ready to sync the bootstrap repo's docs locally.
- // Should be automated with no need for intervention (other than pulling the right bootstrap release locally)
- grunt.registerTask('docs-copy-bootstrap-docs', [
- 'copy:bs-docs-js-vendor',
- 'copy:bs-docs-scss',
- 'copy:bs-docs-getting-started',
- 'copy:bs-docs-components',
- 'copy:bs-docs-content',
- 'copy:bs-docs-plugins'
- ]);
-
- grunt.registerTask('docs', ['docs-css', 'docs-js']);
- //------
-
- //------
- // Release and publish
- grunt.registerTask('prep-release', [
- //'update-shrinkwrap',
- 'dist',
- 'jekyll:github' // build site from scratch
- //'compress' // compress zip
- ]);
- grunt.registerTask('publish', [
- 'prep-release', // build all including dist, docs, site
- 'buildcontrol:dist', // push dist
- 'buildcontrol:pages' // push site
- ]);
- //------
-
- // Task for updating the cached npm packages used by the Travis build (which are controlled by test-infra/npm-shrinkwrap.json).
- // This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.
- grunt.registerTask('update-shrinkwrap', ['exec:npmUpdate', '_update-shrinkwrap']);
- grunt.registerTask('_update-shrinkwrap', function () {
- var done = this.async();
- npmShrinkwrap({dev: true, dirname: __dirname}, function (err) {
- if (err) {
- grunt.fail.warn(err);
- }
- var dest = 'grunt/npm-shrinkwrap.json';
- fs.renameSync('npm-shrinkwrap.json', dest);
- grunt.log.writeln('File ' + dest.cyan + ' updated.');
- done();
- });
- });
-
- //grunt.registerTask('debug', function () {
- // console.log('');
- //});
-};
diff --git a/LICENSE.md b/LICENSE.md
index 14411236..4199bf6f 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2015-2016, Federico Zivolo
+Copyright (c) 2015-2016, Federico Zivolo and contributors - https://github.com/FezVrasta/bootstrap-material-design
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -23,10 +23,8 @@ SOFTWARE.
## Acknowledgements:
-### Bootstrap
-Some original Bootstrap tooling code and documentation http://getbootstrap.com
-Copyright (c) 2011-2016 Twitter, Inc
+- Some original Bootstrap code and documentation http://getbootstrap.com
+`Copyright (c) 2011-2015 Twitter, Inc`
-### MDL
-Some original MDL code http://www.getmdl.io/
-Copyright 2015 Google Inc. All Rights Reserved.
+- Some original MDL code http://www.getmdl.io/
+`Copyright 2015 Google Inc. All Rights Reserved.`
diff --git a/_config.yml b/_config.yml
index e7b88534..c5d5b709 100644
--- a/_config.yml
+++ b/_config.yml
@@ -47,20 +47,22 @@ url: "http://rosskevin.github.io"
#
cdn:
# # See https://www.srihash.org for info on how to generate the hashes
- css: https://cdn.rawgit.com/fezvrasta/bootstrap-material-design/v4-dist/css/bootstrap-material-design.css
+ css: https://cdn.rawgit.com/FezVrasta/bootstrap-material-design/dist/dist/bootstrap-material-design.min.css
# css_hash: "sha384-XXXXXXXX"
- js: https://cdn.rawgit.com/fezvrasta/bootstrap-material-design/v4-dist/js/bootstrap-material-design
+ js: https://cdn.rawgit.com/fezvrasta/bootstrap-material-design/dist/dist/bootstrap-material-design
# js_hash: "sha384-XXXXXXXX"
# fonts
- font_roboto: http://fonts.googleapis.com/css?family=Roboto:300,400,500,700
+ font_roboto: https://fonts.googleapis.com/css?family=Roboto:300,400,500,700
font_icons: https://fonts.googleapis.com/icon?family=Material+Icons
# VERSION is substituted in variables.rb and these are made available as site.data.cdn.*
- jquery: https://ajax.googleapis.com/ajax/libs/jquery/VERSION/jquery
+ jquery: https://code.jquery.com/jquery-VERSION
bootstrap: https://cdn.rawgit.com/twbs/bootstrap/VERSION/dist/js/bootstrap
tether: https://cdn.rawgit.com/HubSpot/tether/vVERSION/dist/js/tether
+ 'ie10-viewport-bug-workaround': https://maxcdn.bootstrapcdn.com/js/ie10-viewport-bug-workaround.js
+
#twitter:
diff --git a/docs/_includes/footer-example.html b/docs/_includes/footer-example.html
index fc380844..f53c64c4 100644
--- a/docs/_includes/footer-example.html
+++ b/docs/_includes/footer-example.html
@@ -3,17 +3,16 @@
-
+
{% else %}
-
+
{% endif %}
-
-
+
+
{% if site.data.minified %}
-
-
+
{% else %}
-
-
+
{% endif %}
-
+
+
+
{% if page.layout == "docs" %}
diff --git a/docs/_includes/header-example.html b/docs/_includes/header-example.html
index b2d2e262..d72fcbef 100644
--- a/docs/_includes/header-example.html
+++ b/docs/_includes/header-example.html
@@ -6,7 +6,7 @@
{% if site.data.minified %}
-
+
{% else %}
-
+
{% endif %}
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
index 528c804c..57b3fa7e 100644
--- a/docs/_includes/header.html
+++ b/docs/_includes/header.html
@@ -6,9 +6,9 @@
{% if site.data.minified %}
-
+
{% else %}
-
+
{% endif %}
diff --git a/docs/assets/js/src/index.js b/docs/assets/js/src/index.js
index bb902b73..6d3243f0 100644
--- a/docs/assets/js/src/index.js
+++ b/docs/assets/js/src/index.js
@@ -1,6 +1,6 @@
import Style from './style'
import Clipboard from 'clipboard'
-import anchors from 'anchor'
+import anchors from 'anchor-js'
// import all the mdb code
import '../../../../js/src/index' // eslint-disable-line no-unused-vars
diff --git a/docs/assets/js/vendor/jekyll-search.js b/docs/assets/js/vendor/jekyll-search.js
deleted file mode 100644
index 32eba0f3..00000000
--- a/docs/assets/js/vendor/jekyll-search.js
+++ /dev/null
@@ -1 +0,0 @@
-!function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o=0)}}module.exports=new LiteralSearchStrategy},{}],5:[function(require,module,exports){function setOptions(_opt){opt=_opt||{},opt.templatePattern=_opt.templatePattern||/\{(.*?)\}/g}function render(t,data){return t.replace(opt.templatePattern,function(match,prop){return data[prop]||match})}module.exports={render:render,setOptions:setOptions};var opt={};opt.templatePattern=/\{(.*?)\}/g},{}],6:[function(require,module,exports){!function(window,document,undefined){"use strict";function initWithJSON(json){store.put(opt.json),registerInput()}function initWithURL(url){jsonLoader.load(url,function(err,json){err?throwError("failed to get JSON ("+url+")"):(store.put(json),registerInput())})}function throwError(message){throw new Error("SimpleJekyllSearch --- "+message)}function validateOptions(_opt){for(var i=0;i{title}',noResultsText:"No results found",limit:10,fuzzy:!1,exclude:[]};window.SimpleJekyllSearch=function(_opt){opt=validateOptions(_opt),store.setOptions(_opt),isJSON(opt.json)?initWithJSON(opt.json):initWithURL(opt.json)},window.SimpleJekyllSearch.init=window.SimpleJekyllSearch}(window,document)},{"./JSONLoader":1,"./Repository":2,"./Templater":5}]},{},[6]);
\ No newline at end of file
diff --git a/docs/assets/scss/_ads.scss b/docs/assets/scss/_ads.scss
index 6c7ca977..aae5657f 100644
--- a/docs/assets/scss/_ads.scss
+++ b/docs/assets/scss/_ads.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// scss-lint:disable ImportantRule
diff --git a/docs/assets/scss/_anchor.scss b/docs/assets/scss/_anchor.scss
index edb1884a..1db50828 100644
--- a/docs/assets/scss/_anchor.scss
+++ b/docs/assets/scss/_anchor.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
.anchorjs-link {
color: inherit;
diff --git a/docs/assets/scss/_booticon.scss b/docs/assets/scss/_booticon.scss
index 48f2b47c..bae412be 100644
--- a/docs/assets/scss/_booticon.scss
+++ b/docs/assets/scss/_booticon.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
//
// Bootstrap "B" Booticon
diff --git a/docs/assets/scss/_brand.scss b/docs/assets/scss/_brand.scss
index 9d403a41..4f332808 100644
--- a/docs/assets/scss/_brand.scss
+++ b/docs/assets/scss/_brand.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
//
// Brand guidelines
diff --git a/docs/assets/scss/_browser-bugs.scss b/docs/assets/scss/_browser-bugs.scss
index 72ce6f63..83ade4c9 100644
--- a/docs/assets/scss/_browser-bugs.scss
+++ b/docs/assets/scss/_browser-bugs.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// Wall of Browser Bugs
//
diff --git a/docs/assets/scss/_buttons.scss b/docs/assets/scss/_buttons.scss
index 4ff0c9db..3af856bf 100644
--- a/docs/assets/scss/_buttons.scss
+++ b/docs/assets/scss/_buttons.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// Buttons
//
diff --git a/docs/assets/scss/_callouts.scss b/docs/assets/scss/_callouts.scss
index 0a3b2900..00637cba 100644
--- a/docs/assets/scss/_callouts.scss
+++ b/docs/assets/scss/_callouts.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
//
// Callouts
diff --git a/docs/assets/scss/_clipboard-js.scss b/docs/assets/scss/_clipboard-js.scss
index a5507f4b..fa1c3ce8 100644
--- a/docs/assets/scss/_clipboard-js.scss
+++ b/docs/assets/scss/_clipboard-js.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// clipboard.js
//
diff --git a/docs/assets/scss/_component-examples.scss b/docs/assets/scss/_component-examples.scss
index 4981d9df..3b7942bb 100644
--- a/docs/assets/scss/_component-examples.scss
+++ b/docs/assets/scss/_component-examples.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// scss-lint:disable QualifyingElement
diff --git a/docs/assets/scss/_content.scss b/docs/assets/scss/_content.scss
index 647c2ff9..5ad7ce7e 100644
--- a/docs/assets/scss/_content.scss
+++ b/docs/assets/scss/_content.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// scss-lint:disable IdSelector, NestingDepth, SelectorDepth
diff --git a/docs/assets/scss/_examples.scss b/docs/assets/scss/_examples.scss
index 55f5fb1a..38c35cf1 100644
--- a/docs/assets/scss/_examples.scss
+++ b/docs/assets/scss/_examples.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
//
// Examples
diff --git a/docs/assets/scss/_featured-sites.scss b/docs/assets/scss/_featured-sites.scss
index 0985ae67..53e88948 100644
--- a/docs/assets/scss/_featured-sites.scss
+++ b/docs/assets/scss/_featured-sites.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
.bd-featured-sites {
margin-right: -1px;
diff --git a/docs/assets/scss/_featurettes.scss b/docs/assets/scss/_featurettes.scss
index 6e4601f2..9c921fce 100644
--- a/docs/assets/scss/_featurettes.scss
+++ b/docs/assets/scss/_featurettes.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
.bd-featurette {
padding-top: 3rem;
diff --git a/docs/assets/scss/_footer.scss b/docs/assets/scss/_footer.scss
index cbd4e5a3..de211467 100644
--- a/docs/assets/scss/_footer.scss
+++ b/docs/assets/scss/_footer.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
//
// Footer
diff --git a/docs/assets/scss/_masthead.scss b/docs/assets/scss/_masthead.scss
index 3049e88d..f4231d5b 100644
--- a/docs/assets/scss/_masthead.scss
+++ b/docs/assets/scss/_masthead.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// scss-lint:disable ImportantRule
diff --git a/docs/assets/scss/_nav.scss b/docs/assets/scss/_nav.scss
index c3a1925f..721438eb 100644
--- a/docs/assets/scss/_nav.scss
+++ b/docs/assets/scss/_nav.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
//
// Main navbar
diff --git a/docs/assets/scss/_page-header.scss b/docs/assets/scss/_page-header.scss
index c17867b5..d622ce2e 100644
--- a/docs/assets/scss/_page-header.scss
+++ b/docs/assets/scss/_page-header.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// scss-lint:disable ImportantRule
diff --git a/docs/assets/scss/_responsive-tests.scss b/docs/assets/scss/_responsive-tests.scss
index 21927ce1..1b53545d 100644
--- a/docs/assets/scss/_responsive-tests.scss
+++ b/docs/assets/scss/_responsive-tests.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// scss-lint:disable ImportantRule
diff --git a/docs/assets/scss/_sidebar.scss b/docs/assets/scss/_sidebar.scss
index 7073a757..476665aa 100644
--- a/docs/assets/scss/_sidebar.scss
+++ b/docs/assets/scss/_sidebar.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
//
// Side navigation
diff --git a/docs/assets/scss/_skiplink.scss b/docs/assets/scss/_skiplink.scss
index d71aa872..3b21302b 100644
--- a/docs/assets/scss/_skiplink.scss
+++ b/docs/assets/scss/_skiplink.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
// scss-lint:disable IdSelector
diff --git a/docs/assets/scss/_syntax.scss b/docs/assets/scss/_syntax.scss
index 1a5a3836..b0851817 100644
--- a/docs/assets/scss/_syntax.scss
+++ b/docs/assets/scss/_syntax.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
.hll { background-color: #ffc; }
.c { color: #999; }
diff --git a/docs/assets/scss/_team.scss b/docs/assets/scss/_team.scss
index 932926ef..55db5487 100644
--- a/docs/assets/scss/_team.scss
+++ b/docs/assets/scss/_team.scss
@@ -1,4 +1,4 @@
-// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
.bd-team {
margin-bottom: 1.5rem;
diff --git a/docs/assets/scss/mdb/_clipboard-js.scss b/docs/assets/scss/mdb/_clipboard-js.scss
index 112fffa9..145cdb60 100644
--- a/docs/assets/scss/mdb/_clipboard-js.scss
+++ b/docs/assets/scss/mdb/_clipboard-js.scss
@@ -1,7 +1,7 @@
.btn-clipboard {
//color: #818a91;
- border-radius: $border-radius;
text-transform: uppercase;
+ border-radius: $border-radius;
&:hover {
color: $gray; // #fff;
diff --git a/docs/assets/scss/mdb/_drawer.scss b/docs/assets/scss/mdb/_drawer.scss
index c2c621c5..e70bca83 100644
--- a/docs/assets/scss/mdb/_drawer.scss
+++ b/docs/assets/scss/mdb/_drawer.scss
@@ -1,8 +1,8 @@
.bd-example[data-example-id*="drawer-"] {
+ min-height: 235px;
padding-top: 0;
padding-right: 0;
padding-left: 0;
- min-height: 235px;
}
.bd-example[data-example-id*="drawer-1"] {
diff --git a/docs/assets/scss/mdb/_sidebar.scss b/docs/assets/scss/mdb/_sidebar.scss
index 0d5c14c0..28caed9d 100644
--- a/docs/assets/scss/mdb/_sidebar.scss
+++ b/docs/assets/scss/mdb/_sidebar.scss
@@ -1,8 +1,8 @@
.mdb-toc-item-reference {
+ padding: .25rem .75rem;
margin-top: 1rem;
//margin-bottom: 1rem;
- padding: .25rem .75rem;
}
.bd-search {
diff --git a/docs/components/alerts.md b/docs/components/alerts.md
index 559b93ae..70c73bc9 100644
--- a/docs/components/alerts.md
+++ b/docs/components/alerts.md
@@ -4,17 +4,18 @@ title: Alerts
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
## Contents
diff --git a/docs/components/breadcrumb.md b/docs/components/breadcrumb.md
index b3759c0d..3139bcac 100644
--- a/docs/components/breadcrumb.md
+++ b/docs/components/breadcrumb.md
@@ -4,17 +4,18 @@ title: Breadcrumb
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Indicate the current page's location within a navigational hierarchy. Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content).
{% example html %}
diff --git a/docs/components/button-dropdown.md b/docs/components/button-dropdown.md
index 1139d260..8a025f94 100644
--- a/docs/components/button-dropdown.md
+++ b/docs/components/button-dropdown.md
@@ -4,17 +4,18 @@ title: Button dropdown
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Use any button to trigger a dropdown menu by placing it within a `.btn-group` and providing the proper dropdown menu markup.
{% callout danger %}
diff --git a/docs/components/button-group.md b/docs/components/button-group.md
index 42991787..a37d2d6e 100644
--- a/docs/components/button-group.md
+++ b/docs/components/button-group.md
@@ -4,17 +4,18 @@ title: Button group
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with [our buttons plugin]({{ site.baseurl }}/components/buttons/#button-plugin).
## Contents
diff --git a/docs/components/buttons.md b/docs/components/buttons.md
index 37dfd54a..e8f26528 100644
--- a/docs/components/buttons.md
+++ b/docs/components/buttons.md
@@ -5,17 +5,18 @@ group: components
redirect_from: "/components/"
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Use Bootstrap's custom button styles for actions in forms, dialogs, and more. Includes support for a handful of contextual variations, sizes, states, and more.
## Contents
diff --git a/docs/components/card.md b/docs/components/card.md
index 0a316516..ac5a24ff 100644
--- a/docs/components/card.md
+++ b/docs/components/card.md
@@ -4,17 +4,18 @@ title: Cards
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
A **card** is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options.
If you're familiar with Bootstrap 3, cards replace our old panels, wells, and thumbnails. Similar functionality to those components is available as modifier classes for cards.
diff --git a/docs/components/carousel.md b/docs/components/carousel.md
index ceeb4461..302a8a08 100644
--- a/docs/components/carousel.md
+++ b/docs/components/carousel.md
@@ -4,17 +4,18 @@ title: Carousel
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
A slideshow component for cycling through elements—images or slides of text—like a carousel. In browsers where the [Page Visibility API](http://www.w3.org/TR/page-visibility/) is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.). **Nested carousels are not supported.**
## Contents
diff --git a/docs/components/collapse.md b/docs/components/collapse.md
index 72117570..61cb6e88 100644
--- a/docs/components/collapse.md
+++ b/docs/components/collapse.md
@@ -4,17 +4,18 @@ title: Collapse
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
The Bootstrap collapse plugin allows you to toggle content on your pages with a bit of JavaScript and some classes. Flexible plugin that utilizes a handful of classes (from the **required [transitions plugin]({{ site.baseurl }}/components/transitions/)**) for easy toggle behavior.
## Contents
diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md
index 78134dc6..622e1a10 100644
--- a/docs/components/dropdowns.md
+++ b/docs/components/dropdowns.md
@@ -4,17 +4,18 @@ title: Dropdowns
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. They're toggled by clicking, not by hovering; this is [an intentional design decision.](http://markdotto.com/2012/02/27/bootstrap-explained-dropdowns/)
## Contents
diff --git a/docs/components/forms.md b/docs/components/forms.md
index ba612461..31ab04a5 100644
--- a/docs/components/forms.md
+++ b/docs/components/forms.md
@@ -4,17 +4,18 @@ title: Forms
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Bootstrap provides several form control styles, layout options, and custom components for creating a wide variety of forms.
## Contents
diff --git a/docs/components/input-group.md b/docs/components/input-group.md
index 98764050..7d75d21d 100644
--- a/docs/components/input-group.md
+++ b/docs/components/input-group.md
@@ -4,17 +4,18 @@ title: Input group
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Easily extend form controls by adding text, buttons, or button groups on either side of textual ``s.
## Contents
diff --git a/docs/components/jumbotron.md b/docs/components/jumbotron.md
index f1f1d34a..103e35e0 100644
--- a/docs/components/jumbotron.md
+++ b/docs/components/jumbotron.md
@@ -4,17 +4,18 @@ title: Jumbotron
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
A lightweight, flexible component that can optionally extend the entire viewport to showcase key marketing messages on your site.
## Example
diff --git a/docs/components/list-group.md b/docs/components/list-group.md
index c627c707..51c80253 100644
--- a/docs/components/list-group.md
+++ b/docs/components/list-group.md
@@ -4,17 +4,18 @@ title: List group
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.
## Contents
diff --git a/docs/components/modal.md b/docs/components/modal.md
index e5bf5c5c..9cd2648a 100644
--- a/docs/components/modal.md
+++ b/docs/components/modal.md
@@ -4,17 +4,18 @@ title: Modal
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.
## Contents
diff --git a/docs/components/navbar.md b/docs/components/navbar.md
index 60debe4b..bd9fae6e 100644
--- a/docs/components/navbar.md
+++ b/docs/components/navbar.md
@@ -4,17 +4,18 @@ title: Navbar
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
The navbar is a simple wrapper for positioning branding, navigation, and other elements into a concise navigation header. It's easily extensible and, with the help of our collapse plugin, it can easily integrate offscreen content.
## Contents
diff --git a/docs/components/navs.md b/docs/components/navs.md
index 2ffd55af..07f0d797 100644
--- a/docs/components/navs.md
+++ b/docs/components/navs.md
@@ -4,17 +4,18 @@ title: Navs
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Navigation available in Bootstrap share general markup and styles, from the base `.nav` class to the active and disabled states. Swap modifier classes to switch between each style.
## Contents
diff --git a/docs/components/pagination.md b/docs/components/pagination.md
index e94751bb..44a54117 100644
--- a/docs/components/pagination.md
+++ b/docs/components/pagination.md
@@ -4,17 +4,18 @@ title: Pagination
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Provide pagination links for your site or app with the multi-page pagination component.
## Contents
diff --git a/docs/components/popovers.md b/docs/components/popovers.md
index e0259cbe..3af9803e 100644
--- a/docs/components/popovers.md
+++ b/docs/components/popovers.md
@@ -4,17 +4,18 @@ title: Popovers
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Add small overlay content, like those found in iOS, to any element for housing secondary information.
## Contents
diff --git a/docs/components/progress.md b/docs/components/progress.md
index 8056f473..f2bd1548 100644
--- a/docs/components/progress.md
+++ b/docs/components/progress.md
@@ -4,17 +4,18 @@ title: Progress
group: components
---
-[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
+[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy:bs-docs
{% callout info %}
-**Bootstrap Reference Documentation**
-This is a part of the reference documentation from Bootstrap.
-It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
+**Bootstrap Reference Documentation**
+This is a part of the reference documentation from Bootstrap.
+It is included here to demonstrate rendering with Material Design for Bootstrap default styling.
See the Material Design section for more elements and customization options.
{% endcallout %}
+
Stylize [the HTML5 `