From e2b6badb86571d482c9653e05cedda10aae12127 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 31 Dec 2016 12:20:32 -0800 Subject: v4: Rip out IE compatibility mode meta tags (#21483) * Remove IE compatibility mode meta tag from docs, examples, and JS tests as we no longer support IE9 and IE8 * update and remove some IE bits from our supported browser page * update introduction.md to match * reword starter template intro --- docs/_includes/header.html | 1 - 1 file changed, 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/header.html b/docs/_includes/header.html index 11076af46..57415be54 100644 --- a/docs/_includes/header.html +++ b/docs/_includes/header.html @@ -1,5 +1,4 @@ - -- cgit v1.2.3 From 5eb67091b5f97868e825fcc72dae7a4ad4545463 Mon Sep 17 00:00:00 2001 From: Christian Oliff <christianoliff@yahoo.com> Date: Mon, 16 Jan 2017 14:44:27 +0900 Subject: Update Search input to type="search" (#21617) This is semantically correct and works just as well. --- docs/_includes/nav-docs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html index 2b44c8acc..05a9c0b85 100644 --- a/docs/_includes/nav-docs.html +++ b/docs/_includes/nav-docs.html @@ -1,5 +1,5 @@ <form class="bd-search hidden-sm-down"> - <input type="text" class="form-control" id="search-input" placeholder="Search..." autocomplete="off"> + <input type="search" class="form-control" id="search-input" placeholder="Search..." autocomplete="off"> <div class="dropdown-menu bd-search-results" id="search-results"></div> </form> -- cgit v1.2.3 From f5745ab8464c18587d5dc6fcb4b0f5230169c8a0 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" <redux@splintered.co.uk> Date: Thu, 26 Jan 2017 11:12:39 +0000 Subject: Add aria-label to docs search field --- docs/_includes/nav-docs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html index 05a9c0b85..94d46537d 100644 --- a/docs/_includes/nav-docs.html +++ b/docs/_includes/nav-docs.html @@ -1,5 +1,5 @@ <form class="bd-search hidden-sm-down"> - <input type="search" class="form-control" id="search-input" placeholder="Search..." autocomplete="off"> + <input type="search" class="form-control" id="search-input" placeholder="Search..." aria-label="Search for..." autocomplete="off"> <div class="dropdown-menu bd-search-results" id="search-results"></div> </form> -- cgit v1.2.3 From 20389c10daee25976bdc4eaec03bcfa08604c67f Mon Sep 17 00:00:00 2001 From: Waldson Moura <mourawaldson@gmail.com> Date: Wed, 8 Feb 2017 00:22:48 -0300 Subject: Fix fallback jquery filename (#21940) --- docs/_includes/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index bfd657efe..68626962f 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -12,7 +12,7 @@ </footer> <script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script> -<script>window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/js/vendor/jquery.min.js"><\/script>')</script> +<script>window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/js/vendor/jquery-slim.min.js"><\/script>')</script> <script src="{{ site.baseurl }}/assets/js/vendor/tether.min.js"></script> -- cgit v1.2.3 From c6fdac94154c4493d422e1441a5e52219b976219 Mon Sep 17 00:00:00 2001 From: Mark Otto <markdotto@gmail.com> Date: Fri, 3 Mar 2017 12:59:14 -0800 Subject: update instances of old classes in the docs --- docs/_includes/nav-docs.html | 2 +- docs/_includes/nav-home.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/_includes') diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html index 94d46537d..89ca747a9 100644 --- a/docs/_includes/nav-docs.html +++ b/docs/_includes/nav-docs.html @@ -1,4 +1,4 @@ -<form class="bd-search hidden-sm-down"> +<form class="bd-search d-none d-sm-block"> <input type="search" class="form-control" id="search-input" placeholder="Search..." aria-label="Search for..." autocomplete="off"> <div class="dropdown-menu bd-search-results" id="search-results"></div> </form> diff --git a/docs/_includes/nav-home.html b/docs/_includes/nav-home.html index 3ba8520e0..513a34bdc 100644 --- a/docs/_includes/nav-home.html +++ b/docs/_includes/nav-home.html @@ -25,7 +25,7 @@ </nav> {% endcomment %} - <div class="d-flex justify-content-between hidden-lg-up"> + <div class="d-flex justify-content-between d-lg-none"> <a class="navbar-brand" href="{{ site.baseurl }}/"> Bootstrap </a> -- cgit v1.2.3 From cab6f7d16ca64dfcb0de002940d085c8cfe8b304 Mon Sep 17 00:00:00 2001 From: Bardi Harborow <bardi@bardiharborow.com> Date: Tue, 21 Mar 2017 18:18:11 +1100 Subject: More config tweaks. --- docs/_includes/footer.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/_includes') diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index 68626962f..b8603f0d7 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -25,9 +25,10 @@ {% if site.github %} <script src="{{ site.baseurl }}/assets/js/docs.min.js"></script> {% else %} - {% for file in site.data.configBridge.paths.docsJs %} - <script src="{{ site.baseurl }}/{{ file }}"></script> - {% endfor %} + <script src="{{ site.baseurl }}/assets/js/vendor/anchor.min.js"></script> + <script src="{{ site.baseurl }}/assets/js/vendor/clipboard.min.js"></script> + <script src="{{ site.baseurl }}/assets/js/vendor/holder.min.js"></script> + <script src="{{ site.baseurl }}/assets/js/src/application.js"></script> {% endif %} <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> -- cgit v1.2.3 From 90c5f6230b0861d70adeee84040da5ba049a9769 Mon Sep 17 00:00:00 2001 From: Mark Otto <markdotto@gmail.com> Date: Tue, 21 Mar 2017 22:00:46 -0700 Subject: rename from .navbar-toggleable to .navbar-expand to reflect mobile first approach everywhere else --- docs/_includes/nav-home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/nav-home.html b/docs/_includes/nav-home.html index 513a34bdc..d92fab069 100644 --- a/docs/_includes/nav-home.html +++ b/docs/_includes/nav-home.html @@ -1,4 +1,4 @@ -<header class="navbar navbar-light navbar-toggleable-md bd-navbar"> +<header class="navbar navbar-light navbar-expand-md bd-navbar"> <nav class="container"> {% comment %} <nav class="nav navbar-nav float-right"> -- cgit v1.2.3 From 48c5efa4c3c439d8720b8475ec3e372c6974a12a Mon Sep 17 00:00:00 2001 From: Pierre Vanduynslager <pierre.denis.vanduynslager@gmail.com> Date: Tue, 28 Mar 2017 17:43:16 -0400 Subject: Fix JS components console error "Error: <Component> is transitioning" --- docs/_includes/callout-danger-async-methods.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/_includes/callout-danger-async-methods.md (limited to 'docs/_includes') diff --git a/docs/_includes/callout-danger-async-methods.md b/docs/_includes/callout-danger-async-methods.md new file mode 100644 index 000000000..f7a76aa4d --- /dev/null +++ b/docs/_includes/callout-danger-async-methods.md @@ -0,0 +1,7 @@ +{% callout danger %} +#### Asynchronous methods and transitions + +All API methods are **asynchronous** and start a **transition**. They returns to the caller as soon as the transition is started but **before it ends**. In addition, a method call on a **transitioning component will be ignored**. + +[See our Javascript documentation for more informations.]({{ site.baseurl }}/getting-started/javascript/#content) +{% endcallout %} -- cgit v1.2.3 From d5fabf8de50710c5a09ecd91f4b9e961e67d7937 Mon Sep 17 00:00:00 2001 From: Johann-S <johann.servoire@gmail.com> Date: Tue, 18 Apr 2017 14:02:24 +0200 Subject: Remove totaly Tether from documentation + dependencies --- docs/_includes/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes') diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index b8603f0d7..2c17fb925 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -14,7 +14,7 @@ <script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script> <script>window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/js/vendor/jquery-slim.min.js"><\/script>')</script> -<script src="{{ site.baseurl }}/assets/js/vendor/tether.min.js"></script> +<script src="{{ site.baseurl }}/assets/js/vendor/popper.min.js"></script> {% if site.github %} <script src="{{ site.baseurl }}/dist/js/bootstrap.min.js"></script> -- cgit v1.2.3 From 733c0926810a467782895f2f15ee2384f7c6c330 Mon Sep 17 00:00:00 2001 From: Mark Otto <markd.otto@gmail.com> Date: Fri, 26 May 2017 20:54:12 -0700 Subject: Drop CSS icons for SVGs (#22708) * add the svg icon as a partial so we can include it easily * add the icon to the homepage * drop .bd-booticon for svgs here * rip out the import for .bd-booticon sass file * Delete _booticon.scss * indentation * Update bootstrap-icon.html * remove those --- docs/_includes/bootstrap-icon.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/_includes/bootstrap-icon.html (limited to 'docs/_includes') diff --git a/docs/_includes/bootstrap-icon.html b/docs/_includes/bootstrap-icon.html new file mode 100644 index 000000000..42500d270 --- /dev/null +++ b/docs/_includes/bootstrap-icon.html @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 612 612" width="128" height="128"><g id="solid"><g id="bg"><path fill="#fff" d="M510,5a97.3,97.3,0,0,1,97,97V510a97.3,97.3,0,0,1-97,97H102A97.3,97.3,0,0,1,5,510V102A97.3,97.3,0,0,1,102,5H510m0-5H102C45.9,0,0,45.9,0,102V510c0,56.1,45.9,102,102,102H510c56.1,0,102-45.9,102-102V102C612,45.9,566.1,0,510,0h0Z"/></g></g><path fill="#fff" d="M196.77,471.5V154.43H320.92c54.27,0,91,31.64,91,79.1,0,33-24.17,63.72-54.71,69.21v1.76c43.07,5.49,70.75,35.82,70.75,78,0,55.81-40,89-107.45,89H196.77Zm39.55-180.4H299.6c46.8,0,72.29-18.68,72.29-53,0-31.42-21.53-48.78-60-48.78H236.32V291.1Zm78.22,145.46c47.68,0,72.73-19.34,72.73-56s-25.93-55.37-76.46-55.37H236.32v111.4h78.22Z"/></svg> -- cgit v1.2.3 From db44e4b311317ef760f8412cc33c84146959b248 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela <tagliala.dev@gmail.com> Date: Wed, 12 Apr 2017 16:06:52 +0200 Subject: Update nav and navbar HTML markup According to the docs, you just need to apply the `navbar-nav` to an `<ul>` tag in a list-based navbar. In fact, `navbar-nav` seems to override all the css properties set by `nav`. Also, `nav-item` class should be used only for `<li>` tags, or in conjunction with `<a>` tags to entirely avoid the list-based approach. This commit removes the redundant `nav` class from `navbar-nav` `<ul>` tags, moves `nav-item` from `<a>` tags to `<li>` tags and properly adds `nav-item` class to `<li>` tags where missing. Refs: * https://v4-alpha.getbootstrap.com/components/navs/ * https://v4-alpha.getbootstrap.com/components/navbar/#nav --- docs/_includes/nav-home.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/_includes') diff --git a/docs/_includes/nav-home.html b/docs/_includes/nav-home.html index d92fab069..7802e5663 100644 --- a/docs/_includes/nav-home.html +++ b/docs/_includes/nav-home.html @@ -35,24 +35,24 @@ </div> <div class="collapse navbar-collapse" id="bd-main-nav"> - <ul class="nav navbar-nav"> + <ul class="navbar-nav"> <li class="nav-item active"> - <a class="nav-item nav-link {% if page.layout == "home" %}active{% endif %}" href="{{ site.baseurl }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Bootstrap</a> + <a class="nav-link {% if page.layout == "home" %}active{% endif %}" href="{{ site.baseurl }}/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Bootstrap');">Bootstrap</a> </li> <li class="nav-item"> - <a class="nav-item nav-link {% if page.layout == "docs" %}active{% endif %}" href="{{ site.baseurl }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a> + <a class="nav-link {% if page.layout == "docs" %}active{% endif %}" href="{{ site.baseurl }}/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a> </li> <li class="nav-item"> - <a class="nav-item nav-link {% if page.title == "Examples" %}active{% endif %}" href="{{ site.baseurl }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a> + <a class="nav-link {% if page.title == "Examples" %}active{% endif %}" href="{{ site.baseurl }}/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a> </li> <li class="nav-item"> - <a class="nav-item nav-link" href="{{ site.themes }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');">Themes</a> + <a class="nav-link" href="{{ site.themes }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');">Themes</a> </li> <li class="nav-item"> - <a class="nav-item nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a> + <a class="nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a> </li> <li class="nav-item"> - <a class="nav-item nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a> + <a class="nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a> </li> </ul> </div> -- cgit v1.2.3