docs: Released 4.1.0

This commit is contained in:
Federico Zivolo 2018-01-23 13:39:09 +01:00
parent 6821b53b3a
commit 363c5746db
6 changed files with 19 additions and 9 deletions

View File

@ -31,14 +31,14 @@ social_logo_path: /assets/brand/bootstrap-social-logo.png
social_image_path: /assets/brand/bootstrap-social.png social_image_path: /assets/brand/bootstrap-social.png
# Custom vars # Custom vars
current_version: 4.0.0 current_version: 4.1.0
docs_version: 4.0 docs_version: 4.0
repo: https://github.com/FezVrasta/bootstrap-material-design repo: https://github.com/FezVrasta/bootstrap-material-design
spectrum: https://spectrum.chat/bootstrap-md spectrum: https://spectrum.chat/bootstrap-md
download: download:
source: https://github.com/FezVrasta/bootstrap-material-design/releases source: https://github.com/FezVrasta/bootstrap-material-design/releases
dist: https://github.com/FezVrasta/bootstrap-material-design/archive/v4.0.0.zip dist: https://github.com/FezVrasta/bootstrap-material-design/archive/v4.1.0.zip
blog: https://blog.getbootstrap.com blog: https://blog.getbootstrap.com
expo: https://expo.getbootstrap.com expo: https://expo.getbootstrap.com
@ -48,9 +48,9 @@ mdbootstrap: https://mdbootstrap.com/product/material-design-for-bootstrap-
cdn: cdn:
# See https://www.srihash.org for info on how to generate the hashes # See https://www.srihash.org for info on how to generate the hashes
css: https://unpkg.com/bootstrap-material-design@4.0.0/dist/css/bootstrap-material-design.min.css css: https://unpkg.com/bootstrap-material-design@4.1.0/dist/css/bootstrap-material-design.min.css
css_hash: "sha384-R80DC0KVBO4GSTw+wZ5x2zn2pu4POSErBkf8/fSFhPXHxvHJydT0CSgAP2Yo2r4I" css_hash: "sha384-R80DC0KVBO4GSTw+wZ5x2zn2pu4POSErBkf8/fSFhPXHxvHJydT0CSgAP2Yo2r4I"
js: https://unpkg.com/bootstrap-material-design@4.0.0/dist/js/bootstrap-material-design.js js: https://unpkg.com/bootstrap-material-design@4.1.0/dist/js/bootstrap-material-design.js
js_hash: "sha384-3xciOSDAlaXneEmyOo0ME/2grfpqzhhTcM4cE32Ce9+8DW/04AGoTACzQpphYGYe" js_hash: "sha384-3xciOSDAlaXneEmyOo0ME/2grfpqzhhTcM4cE32Ce9+8DW/04AGoTACzQpphYGYe"
jquery: https://code.jquery.com/jquery-3.2.1.slim.min.js jquery: https://code.jquery.com/jquery-3.2.1.slim.min.js
jquery_hash: "sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" jquery_hash: "sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"

View File

@ -10,7 +10,7 @@
font-weight: normal; } font-weight: normal; }
/*! /*!
* Bootstrap v4.0.0 (https://getbootstrap.com) * Bootstrap v4.1.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors * Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc. * Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)

View File

@ -7,7 +7,7 @@
*/.card{font-size:.875rem;font-weight:400} */.card{font-size:.875rem;font-weight:400}
/*! /*!
* Bootstrap v4.0.0 (https://getbootstrap.com) * Bootstrap v4.1.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors * Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc. * Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)

View File

@ -130,3 +130,13 @@ Bootstrap's plugins don't fall back particularly gracefully when JavaScript is d
All Bootstrap's JavaScript files depend on `util.js` and it has to be included alongside the other JavaScript files. If you're using the compiled (or minified) `bootstrap.js`, there is no need to include this—it's already there. All Bootstrap's JavaScript files depend on `util.js` and it has to be included alongside the other JavaScript files. If you're using the compiled (or minified) `bootstrap.js`, there is no need to include this—it's already there.
`util.js` includes utility functions and a basic helper for `transitionEnd` events as well as a CSS transition emulator. It's used by the other plugins to check for CSS transition support and to catch hanging transitions. `util.js` includes utility functions and a basic helper for `transitionEnd` events as well as a CSS transition emulator. It's used by the other plugins to check for CSS transition support and to catch hanging transitions.
## Dynamically generated elements
If you use Material Design for Bootstrap on a project handled by Angular, React or other frameworks
that dynamically generate and append new elements to the document, you'll need to manually
call the Material Design for Bootstrap javascript functions to initialize new elements such
as inputs.
Alternatively, you can include [arrive.js](https://github.com/uzairfarooq/arrive) before the MDB
javascript to automatically initialize any dynamically generated element.

View File

@ -46,7 +46,7 @@ npm install bootstrap-material-design@{{ site.current_version }}
{% endhighlight %} {% endhighlight %}
{% highlight sh %} {% highlight sh %}
gem install bootstrap-material-design -v 4.0.0 gem install bootstrap-material-design -v 4.1.0
{% endhighlight %} {% endhighlight %}
{% highlight sh %} {% highlight sh %}

View File

@ -10,7 +10,7 @@ import Util from 'bootstrap/js/src/util';
/** /**
* -------------------------------------------------------------------------- * --------------------------------------------------------------------------
* Bootstrap (v4.0.0): dropdown.js * Bootstrap (v4.1.0): dropdown.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* -------------------------------------------------------------------------- * --------------------------------------------------------------------------
*/ */
@ -32,7 +32,7 @@ const Dropdown = (($) => {
*/ */
const NAME = 'dropdown' const NAME = 'dropdown'
const VERSION = '4.0.0' const VERSION = '4.1.0'
const DATA_KEY = 'bs.dropdown' const DATA_KEY = 'bs.dropdown'
const EVENT_KEY = `.${DATA_KEY}` const EVENT_KEY = `.${DATA_KEY}`
const DATA_API_KEY = '.data-api' const DATA_API_KEY = '.data-api'